diff --git a/dist/assets/index-DyhCWkvI.js b/dist/assets/index-2KtPK1Wm.js similarity index 73% rename from dist/assets/index-DyhCWkvI.js rename to dist/assets/index-2KtPK1Wm.js index 303c7d9..fb4874a 100644 --- a/dist/assets/index-DyhCWkvI.js +++ b/dist/assets/index-2KtPK1Wm.js @@ -1,4 +1,4 @@ -function Wk(e,t){for(var r=0;rn[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"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();function Bk(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rl(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Pw={exports:{}},T0={},Ow={exports:{}},Ue={};/** +function Wk(e,t){for(var r=0;rn[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"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();function Bk(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ml(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Px={exports:{}},Tp={},Ox={exports:{}},Ue={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function Wk(e,t){for(var r=0;r>>1,Y=H[q];if(0>>1;qo(se,B))reo(pe,se)?(H[q]=pe,H[re]=B,q=re):(H[q]=se,H[ce]=B,q=ce);else if(reo(pe,B))H[q]=pe,H[re]=B,q=re;else break e}}return V}function o(H,V){var B=H.sortIndex-V.sortIndex;return B!==0?B:H.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var f=[],g=[],m=1,w=null,P=3,O=!1,C=!1,b=!1,y=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,s=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function u(H){for(var V=r(g);V!==null;){if(V.callback===null)n(g);else if(V.startTime<=H)n(g),V.sortIndex=V.expirationTime,t(f,V);else break;V=r(g)}}function d(H){if(b=!1,u(H),!C)if(r(f)!==null)C=!0,G(h);else{var V=r(g);V!==null&&X(d,V.startTime-H)}}function h(H,V){C=!1,b&&(b=!1,c(k),k=-1),O=!0;var B=P;try{for(u(V),w=r(f);w!==null&&(!(w.expirationTime>V)||H&&!R());){var q=w.callback;if(typeof q=="function"){w.callback=null,P=w.priorityLevel;var Y=q(w.expirationTime<=V);V=e.unstable_now(),typeof Y=="function"?w.callback=Y:w===r(f)&&n(f),u(V)}else n(f);w=r(f)}if(w!==null)var ne=!0;else{var ce=r(g);ce!==null&&X(d,ce.startTime-V),ne=!1}return ne}finally{w=null,P=B,O=!1}}var v=!1,_=null,k=-1,T=5,E=-1;function R(){return!(e.unstable_now()-EH||125q?(H.sortIndex=B,t(g,H),r(f)===null&&H===r(g)&&(b?(c(k),k=-1):b=!0,X(d,B-q))):(H.sortIndex=Y,t(f,H),C||O||(C=!0,G(h))),H},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(H){var V=P;return function(){var B=P;P=V;try{return H.apply(this,arguments)}finally{P=B}}}})(Dw);jw.exports=Dw;var fM=jw.exports;/** + */(function(e){function t(H,V){var B=H.length;H.push(V);e:for(;0>>1,Y=H[q];if(0>>1;qo(se,B))reo(pe,se)?(H[q]=pe,H[re]=B,q=re):(H[q]=se,H[ce]=B,q=ce);else if(reo(pe,B))H[q]=pe,H[re]=B,q=re;else break e}}return V}function o(H,V){var B=H.sortIndex-V.sortIndex;return B!==0?B:H.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var f=[],g=[],m=1,w=null,P=3,O=!1,C=!1,b=!1,y=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,s=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function u(H){for(var V=r(g);V!==null;){if(V.callback===null)n(g);else if(V.startTime<=H)n(g),V.sortIndex=V.expirationTime,t(f,V);else break;V=r(g)}}function d(H){if(b=!1,u(H),!C)if(r(f)!==null)C=!0,G(h);else{var V=r(g);V!==null&&X(d,V.startTime-H)}}function h(H,V){C=!1,b&&(b=!1,c(k),k=-1),O=!0;var B=P;try{for(u(V),w=r(f);w!==null&&(!(w.expirationTime>V)||H&&!M());){var q=w.callback;if(typeof q=="function"){w.callback=null,P=w.priorityLevel;var Y=q(w.expirationTime<=V);V=e.unstable_now(),typeof Y=="function"?w.callback=Y:w===r(f)&&n(f),u(V)}else n(f);w=r(f)}if(w!==null)var ne=!0;else{var ce=r(g);ce!==null&&X(d,ce.startTime-V),ne=!1}return ne}finally{w=null,P=B,O=!1}}var v=!1,_=null,k=-1,T=5,E=-1;function M(){return!(e.unstable_now()-EH||125q?(H.sortIndex=B,t(g,H),r(f)===null&&H===r(g)&&(b?(c(k),k=-1):b=!0,X(d,B-q))):(H.sortIndex=Y,t(f,H),C||O||(C=!0,G(h))),H},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(H){var V=P;return function(){var B=P;P=V;try{return H.apply(this,arguments)}finally{P=B}}}})(Dx);jx.exports=Dx;var fR=jx.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function Wk(e,t){for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ig=Object.prototype.hasOwnProperty,pM=/^[: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]*$/,n5={},o5={};function hM(e){return Ig.call(o5,e)?!0:Ig.call(n5,e)?!1:pM.test(e)?o5[e]=!0:(n5[e]=!0,!1)}function gM(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function mM(e,t,r,n){if(t===null||typeof t>"u"||gM(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 mr(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Xt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Xt[e]=new mr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Xt[t]=new mr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Xt[e]=new mr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Xt[e]=new mr(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){Xt[e]=new mr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Xt[e]=new mr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Xt[e]=new mr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Xt[e]=new mr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Xt[e]=new mr(e,5,!1,e.toLowerCase(),null,!1,!1)});var Tv=/[\-:]([a-z])/g;function Ev(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(Tv,Ev);Xt[t]=new mr(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(Tv,Ev);Xt[t]=new mr(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(Tv,Ev);Xt[t]=new mr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Xt[e]=new mr(e,1,!1,e.toLowerCase(),null,!1,!1)});Xt.xlinkHref=new mr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Xt[e]=new mr(e,1,!1,e.toLowerCase(),null,!0,!0)});function kv(e,t,r,n){var o=Xt.hasOwnProperty(t)?Xt[t]:null;(o!==null?o.type!==0:n||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ig=Object.prototype.hasOwnProperty,pR=/^[: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]*$/,nw={},ow={};function hR(e){return Ig.call(ow,e)?!0:Ig.call(nw,e)?!1:pR.test(e)?ow[e]=!0:(nw[e]=!0,!1)}function gR(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function mR(e,t,r,n){if(t===null||typeof t>"u"||gR(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 mr(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Xt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Xt[e]=new mr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Xt[t]=new mr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Xt[e]=new mr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Xt[e]=new mr(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){Xt[e]=new mr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Xt[e]=new mr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Xt[e]=new mr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Xt[e]=new mr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Xt[e]=new mr(e,5,!1,e.toLowerCase(),null,!1,!1)});var Tv=/[\-:]([a-z])/g;function Ev(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(Tv,Ev);Xt[t]=new mr(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(Tv,Ev);Xt[t]=new mr(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(Tv,Ev);Xt[t]=new mr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Xt[e]=new mr(e,1,!1,e.toLowerCase(),null,!1,!1)});Xt.xlinkHref=new mr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Xt[e]=new mr(e,1,!1,e.toLowerCase(),null,!0,!0)});function kv(e,t,r,n){var o=Xt.hasOwnProperty(t)?Xt[t]:null;(o!==null?o.type!==0:n||!(2l||o[i]!==a[l]){var f=` -`+o[i].replace(" at new "," at ");return e.displayName&&f.includes("")&&(f=f.replace("",e.displayName)),f}while(1<=i&&0<=l);break}}}finally{Eh=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Cs(e):""}function vM(e){switch(e.tag){case 5:return Cs(e.type);case 16:return Cs("Lazy");case 13:return Cs("Suspense");case 19:return Cs("SuspenseList");case 0:case 2:case 15:return e=kh(e.type,!1),e;case 11:return e=kh(e.type.render,!1),e;case 1:return e=kh(e.type,!0),e;default:return""}}function Fg(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 Mi:return"Fragment";case ki:return"Portal";case Ng:return"Profiler";case Mv:return"StrictMode";case jg:return"Suspense";case Dg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Vw:return(e.displayName||"Context")+".Consumer";case zw:return(e._context.displayName||"Context")+".Provider";case Rv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Av:return t=e.displayName||null,t!==null?t:Fg(e.type)||"Memo";case Ho:t=e._payload,e=e._init;try{return Fg(e(t))}catch{}}return null}function bM(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 Fg(t);case 8:return t===Mv?"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 ca(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Uw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yM(e){var t=Uw(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){n=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vc(e){e._valueTracker||(e._valueTracker=yM(e))}function Ww(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Uw(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function nf(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 Lg(e,t){var r=t.checked;return _t({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function i5(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ca(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Bw(e,t){t=t.checked,t!=null&&kv(e,"checked",t,!1)}function zg(e,t){Bw(e,t);var r=ca(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Vg(e,t.type,r):t.hasOwnProperty("defaultValue")&&Vg(e,t.type,ca(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function l5(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Vg(e,t,r){(t!=="number"||nf(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ps=Array.isArray;function Bi(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=$c.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ru(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ls={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},wM=["Webkit","ms","Moz","O"];Object.keys(Ls).forEach(function(e){wM.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ls[t]=Ls[e]})});function Kw(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ls.hasOwnProperty(e)&&Ls[e]?(""+t).trim():t+"px"}function Xw(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=Kw(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var _M=_t({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 Wg(e,t){if(t){if(_M[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(he(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(he(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(he(61))}if(t.style!=null&&typeof t.style!="object")throw Error(he(62))}}function Bg(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 Hg=null;function Iv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gg=null,Hi=null,Gi=null;function c5(e){if(e=Uu(e)){if(typeof Gg!="function")throw Error(he(280));var t=e.stateNode;t&&(t=A0(t),Gg(e.stateNode,e.type,t))}}function Yw(e){Hi?Gi?Gi.push(e):Gi=[e]:Hi=e}function Zw(){if(Hi){var e=Hi,t=Gi;if(Gi=Hi=null,c5(e),t)for(e=0;e>>=0,e===0?32:31-(AM(e)/IM|0)|0}var Uc=64,Wc=4194304;function Os(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 sf(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=r&268435455;if(i!==0){var l=i&~o;l!==0?n=Os(l):(a&=i,a!==0&&(n=Os(a)))}else i=r&~o,i!==0?n=Os(i):a!==0&&(n=Os(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Vu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Cn(t),e[t]=r}function FM(e,t){var r=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 n=e.eventTimes;for(e=e.expirationTimes;0=Vs),y5=" ",w5=!1;function v6(e,t){switch(e){case"keyup":return dR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function b6(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ri=!1;function pR(e,t){switch(e){case"compositionend":return b6(t);case"keypress":return t.which!==32?null:(w5=!0,y5);case"textInput":return e=t.data,e===y5&&w5?null:e;default:return null}}function hR(e,t){if(Ri)return e==="compositionend"||!$v&&v6(e,t)?(e=g6(),bd=Lv=Yo=null,Ri=!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:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=P5(r)}}function x6(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?x6(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function C6(){for(var e=window,t=nf();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=nf(e.document)}return t}function Uv(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 CR(e){var t=C6(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&x6(r.ownerDocument.documentElement,r)){if(n!==null&&Uv(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=O5(r,a);var i=O5(r,n);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(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Ai=null,Jg=null,Us=null,Qg=!1;function S5(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Qg||Ai==null||Ai!==nf(n)||(n=Ai,"selectionStart"in n&&Uv(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Us&&su(Us,n)||(Us=n,n=df(Jg,"onSelect"),0ji||(e.current=am[ji],am[ji]=null,ji--)}function nt(e,t){ji++,am[ji]=e.current,e.current=t}var da={},lr=ga(da),Sr=ga(!1),Da=da;function ll(e,t){var r=e.type.contextTypes;if(!r)return da;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Tr(e){return e=e.childContextTypes,e!=null}function pf(){lt(Sr),lt(lr)}function I5(e,t,r){if(lr.current!==da)throw Error(he(168));nt(lr,t),nt(Sr,r)}function A6(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(he(108,bM(e)||"Unknown",o));return _t({},r,n)}function hf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||da,Da=lr.current,nt(lr,e),nt(Sr,Sr.current),!0}function N5(e,t,r){var n=e.stateNode;if(!n)throw Error(he(169));r?(e=A6(e,t,Da),n.__reactInternalMemoizedMergedChildContext=e,lt(Sr),lt(lr),nt(lr,e)):lt(Sr),nt(Sr,r)}var lo=null,I0=!1,Wh=!1;function I6(e){lo===null?lo=[e]:lo.push(e)}function jR(e){I0=!0,I6(e)}function ma(){if(!Wh&&lo!==null){Wh=!0;var e=0,t=et;try{var r=lo;for(et=1;e>=i,o-=i,so=1<<32-Cn(t)+o|r<k?(T=_,_=null):T=_.sibling;var E=P(c,_,u[k],d);if(E===null){_===null&&(_=T);break}e&&_&&E.alternate===null&&t(c,_),s=a(E,s,k),v===null?h=E:v.sibling=E,v=E,_=T}if(k===u.length)return r(c,_),pt&&Pa(c,k),h;if(_===null){for(;kk?(T=_,_=null):T=_.sibling;var R=P(c,_,E.value,d);if(R===null){_===null&&(_=T);break}e&&_&&R.alternate===null&&t(c,_),s=a(R,s,k),v===null?h=R:v.sibling=R,v=R,_=T}if(E.done)return r(c,_),pt&&Pa(c,k),h;if(_===null){for(;!E.done;k++,E=u.next())E=w(c,E.value,d),E!==null&&(s=a(E,s,k),v===null?h=E:v.sibling=E,v=E);return pt&&Pa(c,k),h}for(_=n(c,_);!E.done;k++,E=u.next())E=O(_,c,k,E.value,d),E!==null&&(e&&E.alternate!==null&&_.delete(E.key===null?k:E.key),s=a(E,s,k),v===null?h=E:v.sibling=E,v=E);return e&&_.forEach(function(A){return t(c,A)}),pt&&Pa(c,k),h}function y(c,s,u,d){if(typeof u=="object"&&u!==null&&u.type===Mi&&u.key===null&&(u=u.props.children),typeof u=="object"&&u!==null){switch(u.$$typeof){case zc:e:{for(var h=u.key,v=s;v!==null;){if(v.key===h){if(h=u.type,h===Mi){if(v.tag===7){r(c,v.sibling),s=o(v,u.props.children),s.return=c,c=s;break e}}else if(v.elementType===h||typeof h=="object"&&h!==null&&h.$$typeof===Ho&&$5(h)===v.type){r(c,v.sibling),s=o(v,u.props),s.ref=gs(c,v,u),s.return=c,c=s;break e}r(c,v);break}else t(c,v);v=v.sibling}u.type===Mi?(s=Aa(u.props.children,c.mode,d,u.key),s.return=c,c=s):(d=Sd(u.type,u.key,u.props,null,c.mode,d),d.ref=gs(c,s,u),d.return=c,c=d)}return i(c);case ki:e:{for(v=u.key;s!==null;){if(s.key===v)if(s.tag===4&&s.stateNode.containerInfo===u.containerInfo&&s.stateNode.implementation===u.implementation){r(c,s.sibling),s=o(s,u.children||[]),s.return=c,c=s;break e}else{r(c,s);break}else t(c,s);s=s.sibling}s=Zh(u,c.mode,d),s.return=c,c=s}return i(c);case Ho:return v=u._init,y(c,s,v(u._payload),d)}if(Ps(u))return C(c,s,u,d);if(cs(u))return b(c,s,u,d);Yc(c,u)}return typeof u=="string"&&u!==""||typeof u=="number"?(u=""+u,s!==null&&s.tag===6?(r(c,s.sibling),s=o(s,u),s.return=c,c=s):(r(c,s),s=Yh(u,c.mode,d),s.return=c,c=s),i(c)):r(c,s)}return y}var ul=$6(!0),U6=$6(!1),Wu={},Gn=ga(Wu),fu=ga(Wu),pu=ga(Wu);function ka(e){if(e===Wu)throw Error(he(174));return e}function Zv(e,t){switch(nt(pu,t),nt(fu,e),nt(Gn,Wu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ug(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ug(t,e)}lt(Gn),nt(Gn,t)}function cl(){lt(Gn),lt(fu),lt(pu)}function W6(e){ka(pu.current);var t=ka(Gn.current),r=Ug(t,e.type);t!==r&&(nt(fu,e),nt(Gn,r))}function Jv(e){fu.current===e&&(lt(Gn),lt(fu))}var bt=ga(0);function wf(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.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 Bh=[];function Qv(){for(var e=0;er?r:4,e(!0);var n=Hh.transition;Hh.transition={};try{e(!1),t()}finally{et=r,Hh.transition=n}}function a_(){return ln().memoizedState}function zR(e,t,r){var n=ia(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},i_(e))l_(t,r);else if(r=F6(e,t,r,n),r!==null){var o=hr();Pn(r,e,n,o),s_(r,t,n)}}function VR(e,t,r){var n=ia(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(i_(e))l_(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,l=a(i,r);if(o.hasEagerState=!0,o.eagerState=l,Tn(l,i)){var f=t.interleaved;f===null?(o.next=o,Xv(t)):(o.next=f.next,f.next=o),t.interleaved=o;return}}catch{}finally{}r=F6(e,t,o,n),r!==null&&(o=hr(),Pn(r,e,n,o),s_(r,t,n))}}function i_(e){var t=e.alternate;return e===wt||t!==null&&t===wt}function l_(e,t){Ws=_f=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function s_(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,jv(e,r)}}var xf={readContext:an,useCallback:Qt,useContext:Qt,useEffect:Qt,useImperativeHandle:Qt,useInsertionEffect:Qt,useLayoutEffect:Qt,useMemo:Qt,useReducer:Qt,useRef:Qt,useState:Qt,useDebugValue:Qt,useDeferredValue:Qt,useTransition:Qt,useMutableSource:Qt,useSyncExternalStore:Qt,useId:Qt,unstable_isNewReconciler:!1},$R={readContext:an,useCallback:function(e,t){return zn().memoizedState=[e,t===void 0?null:t],e},useContext:an,useEffect:W5,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,xd(4194308,4,e_.bind(null,t,e),r)},useLayoutEffect:function(e,t){return xd(4194308,4,e,t)},useInsertionEffect:function(e,t){return xd(4,2,e,t)},useMemo:function(e,t){var r=zn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=zn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=zR.bind(null,wt,e),[n.memoizedState,e]},useRef:function(e){var t=zn();return e={current:e},t.memoizedState=e},useState:U5,useDebugValue:ob,useDeferredValue:function(e){return zn().memoizedState=e},useTransition:function(){var e=U5(!1),t=e[0];return e=LR.bind(null,e[1]),zn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=wt,o=zn();if(pt){if(r===void 0)throw Error(he(407));r=r()}else{if(r=t(),Wt===null)throw Error(he(349));La&30||G6(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,W5(K6.bind(null,n,a,e),[e]),n.flags|=2048,mu(9,q6.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=zn(),t=Wt.identifierPrefix;if(pt){var r=uo,n=so;r=(n&~(1<<32-Cn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=hu++,0")&&(f=f.replace("",e.displayName)),f}while(1<=i&&0<=l);break}}}finally{Eh=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Cs(e):""}function vR(e){switch(e.tag){case 5:return Cs(e.type);case 16:return Cs("Lazy");case 13:return Cs("Suspense");case 19:return Cs("SuspenseList");case 0:case 2:case 15:return e=kh(e.type,!1),e;case 11:return e=kh(e.type.render,!1),e;case 1:return e=kh(e.type,!0),e;default:return""}}function Fg(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 Ri:return"Fragment";case ki:return"Portal";case Ng:return"Profiler";case Rv:return"StrictMode";case jg:return"Suspense";case Dg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Vx:return(e.displayName||"Context")+".Consumer";case zx:return(e._context.displayName||"Context")+".Provider";case Mv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Av:return t=e.displayName||null,t!==null?t:Fg(e.type)||"Memo";case Ho:t=e._payload,e=e._init;try{return Fg(e(t))}catch{}}return null}function bR(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 Fg(t);case 8:return t===Rv?"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 ca(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ux(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yR(e){var t=Ux(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){n=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vc(e){e._valueTracker||(e._valueTracker=yR(e))}function Wx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Ux(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function nf(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 Lg(e,t){var r=t.checked;return _t({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function iw(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ca(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Bx(e,t){t=t.checked,t!=null&&kv(e,"checked",t,!1)}function zg(e,t){Bx(e,t);var r=ca(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Vg(e,t.type,r):t.hasOwnProperty("defaultValue")&&Vg(e,t.type,ca(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function lw(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Vg(e,t,r){(t!=="number"||nf(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ps=Array.isArray;function Bi(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=$c.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ru(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ls={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},wR=["Webkit","ms","Moz","O"];Object.keys(Ls).forEach(function(e){wR.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ls[t]=Ls[e]})});function Kx(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ls.hasOwnProperty(e)&&Ls[e]?(""+t).trim():t+"px"}function Xx(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=Kx(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var _R=_t({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 Wg(e,t){if(t){if(_R[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(he(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(he(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(he(61))}if(t.style!=null&&typeof t.style!="object")throw Error(he(62))}}function Bg(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 Hg=null;function Iv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gg=null,Hi=null,Gi=null;function cw(e){if(e=Uu(e)){if(typeof Gg!="function")throw Error(he(280));var t=e.stateNode;t&&(t=Ap(t),Gg(e.stateNode,e.type,t))}}function Yx(e){Hi?Gi?Gi.push(e):Gi=[e]:Hi=e}function Jx(){if(Hi){var e=Hi,t=Gi;if(Gi=Hi=null,cw(e),t)for(e=0;e>>=0,e===0?32:31-(AR(e)/IR|0)|0}var Uc=64,Wc=4194304;function Os(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 sf(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=r&268435455;if(i!==0){var l=i&~o;l!==0?n=Os(l):(a&=i,a!==0&&(n=Os(a)))}else i=r&~o,i!==0?n=Os(i):a!==0&&(n=Os(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Vu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Cn(t),e[t]=r}function FR(e,t){var r=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 n=e.eventTimes;for(e=e.expirationTimes;0=Vs),yw=" ",ww=!1;function v4(e,t){switch(e){case"keyup":return dM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function b4(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mi=!1;function pM(e,t){switch(e){case"compositionend":return b4(t);case"keypress":return t.which!==32?null:(ww=!0,yw);case"textInput":return e=t.data,e===yw&&ww?null:e;default:return null}}function hM(e,t){if(Mi)return e==="compositionend"||!$v&&v4(e,t)?(e=g4(),bd=Lv=Yo=null,Mi=!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:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Pw(r)}}function x4(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?x4(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function C4(){for(var e=window,t=nf();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=nf(e.document)}return t}function Uv(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 CM(e){var t=C4(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&x4(r.ownerDocument.documentElement,r)){if(n!==null&&Uv(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=Ow(r,a);var i=Ow(r,n);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(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Ai=null,Qg=null,Us=null,Zg=!1;function Sw(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Zg||Ai==null||Ai!==nf(n)||(n=Ai,"selectionStart"in n&&Uv(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Us&&su(Us,n)||(Us=n,n=df(Qg,"onSelect"),0ji||(e.current=am[ji],am[ji]=null,ji--)}function nt(e,t){ji++,am[ji]=e.current,e.current=t}var da={},lr=ga(da),Sr=ga(!1),Da=da;function ll(e,t){var r=e.type.contextTypes;if(!r)return da;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Tr(e){return e=e.childContextTypes,e!=null}function pf(){lt(Sr),lt(lr)}function Iw(e,t,r){if(lr.current!==da)throw Error(he(168));nt(lr,t),nt(Sr,r)}function A4(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(he(108,bR(e)||"Unknown",o));return _t({},r,n)}function hf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||da,Da=lr.current,nt(lr,e),nt(Sr,Sr.current),!0}function Nw(e,t,r){var n=e.stateNode;if(!n)throw Error(he(169));r?(e=A4(e,t,Da),n.__reactInternalMemoizedMergedChildContext=e,lt(Sr),lt(lr),nt(lr,e)):lt(Sr),nt(Sr,r)}var lo=null,Ip=!1,Wh=!1;function I4(e){lo===null?lo=[e]:lo.push(e)}function jM(e){Ip=!0,I4(e)}function ma(){if(!Wh&&lo!==null){Wh=!0;var e=0,t=et;try{var r=lo;for(et=1;e>=i,o-=i,so=1<<32-Cn(t)+o|r<k?(T=_,_=null):T=_.sibling;var E=P(c,_,u[k],d);if(E===null){_===null&&(_=T);break}e&&_&&E.alternate===null&&t(c,_),s=a(E,s,k),v===null?h=E:v.sibling=E,v=E,_=T}if(k===u.length)return r(c,_),pt&&Pa(c,k),h;if(_===null){for(;kk?(T=_,_=null):T=_.sibling;var M=P(c,_,E.value,d);if(M===null){_===null&&(_=T);break}e&&_&&M.alternate===null&&t(c,_),s=a(M,s,k),v===null?h=M:v.sibling=M,v=M,_=T}if(E.done)return r(c,_),pt&&Pa(c,k),h;if(_===null){for(;!E.done;k++,E=u.next())E=w(c,E.value,d),E!==null&&(s=a(E,s,k),v===null?h=E:v.sibling=E,v=E);return pt&&Pa(c,k),h}for(_=n(c,_);!E.done;k++,E=u.next())E=O(_,c,k,E.value,d),E!==null&&(e&&E.alternate!==null&&_.delete(E.key===null?k:E.key),s=a(E,s,k),v===null?h=E:v.sibling=E,v=E);return e&&_.forEach(function(A){return t(c,A)}),pt&&Pa(c,k),h}function y(c,s,u,d){if(typeof u=="object"&&u!==null&&u.type===Ri&&u.key===null&&(u=u.props.children),typeof u=="object"&&u!==null){switch(u.$$typeof){case zc:e:{for(var h=u.key,v=s;v!==null;){if(v.key===h){if(h=u.type,h===Ri){if(v.tag===7){r(c,v.sibling),s=o(v,u.props.children),s.return=c,c=s;break e}}else if(v.elementType===h||typeof h=="object"&&h!==null&&h.$$typeof===Ho&&$w(h)===v.type){r(c,v.sibling),s=o(v,u.props),s.ref=gs(c,v,u),s.return=c,c=s;break e}r(c,v);break}else t(c,v);v=v.sibling}u.type===Ri?(s=Aa(u.props.children,c.mode,d,u.key),s.return=c,c=s):(d=Sd(u.type,u.key,u.props,null,c.mode,d),d.ref=gs(c,s,u),d.return=c,c=d)}return i(c);case ki:e:{for(v=u.key;s!==null;){if(s.key===v)if(s.tag===4&&s.stateNode.containerInfo===u.containerInfo&&s.stateNode.implementation===u.implementation){r(c,s.sibling),s=o(s,u.children||[]),s.return=c,c=s;break e}else{r(c,s);break}else t(c,s);s=s.sibling}s=Jh(u,c.mode,d),s.return=c,c=s}return i(c);case Ho:return v=u._init,y(c,s,v(u._payload),d)}if(Ps(u))return C(c,s,u,d);if(cs(u))return b(c,s,u,d);Yc(c,u)}return typeof u=="string"&&u!==""||typeof u=="number"?(u=""+u,s!==null&&s.tag===6?(r(c,s.sibling),s=o(s,u),s.return=c,c=s):(r(c,s),s=Yh(u,c.mode,d),s.return=c,c=s),i(c)):r(c,s)}return y}var ul=$4(!0),U4=$4(!1),Wu={},Gn=ga(Wu),fu=ga(Wu),pu=ga(Wu);function ka(e){if(e===Wu)throw Error(he(174));return e}function Jv(e,t){switch(nt(pu,t),nt(fu,e),nt(Gn,Wu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ug(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ug(t,e)}lt(Gn),nt(Gn,t)}function cl(){lt(Gn),lt(fu),lt(pu)}function W4(e){ka(pu.current);var t=ka(Gn.current),r=Ug(t,e.type);t!==r&&(nt(fu,e),nt(Gn,r))}function Qv(e){fu.current===e&&(lt(Gn),lt(fu))}var bt=ga(0);function wf(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.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 Bh=[];function Zv(){for(var e=0;er?r:4,e(!0);var n=Hh.transition;Hh.transition={};try{e(!1),t()}finally{et=r,Hh.transition=n}}function a3(){return ln().memoizedState}function zM(e,t,r){var n=ia(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},i3(e))l3(t,r);else if(r=F4(e,t,r,n),r!==null){var o=hr();Pn(r,e,n,o),s3(r,t,n)}}function VM(e,t,r){var n=ia(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(i3(e))l3(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,l=a(i,r);if(o.hasEagerState=!0,o.eagerState=l,Tn(l,i)){var f=t.interleaved;f===null?(o.next=o,Xv(t)):(o.next=f.next,f.next=o),t.interleaved=o;return}}catch{}finally{}r=F4(e,t,o,n),r!==null&&(o=hr(),Pn(r,e,n,o),s3(r,t,n))}}function i3(e){var t=e.alternate;return e===wt||t!==null&&t===wt}function l3(e,t){Ws=_f=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function s3(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,jv(e,r)}}var xf={readContext:an,useCallback:Zt,useContext:Zt,useEffect:Zt,useImperativeHandle:Zt,useInsertionEffect:Zt,useLayoutEffect:Zt,useMemo:Zt,useReducer:Zt,useRef:Zt,useState:Zt,useDebugValue:Zt,useDeferredValue:Zt,useTransition:Zt,useMutableSource:Zt,useSyncExternalStore:Zt,useId:Zt,unstable_isNewReconciler:!1},$M={readContext:an,useCallback:function(e,t){return zn().memoizedState=[e,t===void 0?null:t],e},useContext:an,useEffect:Ww,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,xd(4194308,4,e3.bind(null,t,e),r)},useLayoutEffect:function(e,t){return xd(4194308,4,e,t)},useInsertionEffect:function(e,t){return xd(4,2,e,t)},useMemo:function(e,t){var r=zn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=zn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=zM.bind(null,wt,e),[n.memoizedState,e]},useRef:function(e){var t=zn();return e={current:e},t.memoizedState=e},useState:Uw,useDebugValue:ob,useDeferredValue:function(e){return zn().memoizedState=e},useTransition:function(){var e=Uw(!1),t=e[0];return e=LM.bind(null,e[1]),zn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=wt,o=zn();if(pt){if(r===void 0)throw Error(he(407));r=r()}else{if(r=t(),Wt===null)throw Error(he(349));La&30||G4(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,Ww(K4.bind(null,n,a,e),[e]),n.flags|=2048,mu(9,q4.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=zn(),t=Wt.identifierPrefix;if(pt){var r=uo,n=so;r=(n&~(1<<32-Cn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=hu++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[Wn]=t,e[du]=n,v_(e,t,!1,!1),t.stateNode=e;e:{switch(i=Bg(r,n),r){case"dialog":ot("cancel",e),ot("close",e),o=n;break;case"iframe":case"object":case"embed":ot("load",e),o=n;break;case"video":case"audio":for(o=0;ofl&&(t.flags|=128,n=!0,ms(a,!1),t.lanes=4194304)}else{if(!n)if(e=wf(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ms(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!pt)return er(t),null}else 2*Tt()-a.renderingStartTime>fl&&r!==1073741824&&(t.flags|=128,n=!0,ms(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Tt(),t.sibling=null,r=bt.current,nt(bt,n?r&1|2:r&1),t):(er(t),null);case 22:case 23:return cb(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Nr&1073741824&&(er(t),t.subtreeFlags&6&&(t.flags|=8192)):er(t),null;case 24:return null;case 25:return null}throw Error(he(156,t.tag))}function XR(e,t){switch(Bv(t),t.tag){case 1:return Tr(t.type)&&pf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cl(),lt(Sr),lt(lr),Qv(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Jv(t),null;case 13:if(lt(bt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(he(340));sl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return lt(bt),null;case 4:return cl(),null;case 10:return Kv(t.type._context),null;case 22:case 23:return cb(),null;case 24:return null;default:return null}}var Jc=!1,ar=!1,YR=typeof WeakSet=="function"?WeakSet:Set,we=null;function zi(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){St(e,t,n)}else r.current=null}function vm(e,t,r){try{r()}catch(n){St(e,t,n)}}var J5=!1;function ZR(e,t){if(em=uf,e=C6(),Uv(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,l=-1,f=-1,g=0,m=0,w=e,P=null;t:for(;;){for(var O;w!==r||o!==0&&w.nodeType!==3||(l=i+o),w!==a||n!==0&&w.nodeType!==3||(f=i+n),w.nodeType===3&&(i+=w.nodeValue.length),(O=w.firstChild)!==null;)P=w,w=O;for(;;){if(w===e)break t;if(P===r&&++g===o&&(l=i),P===a&&++m===n&&(f=i),(O=w.nextSibling)!==null)break;w=P,P=w.parentNode}w=O}r=l===-1||f===-1?null:{start:l,end:f}}else r=null}r=r||{start:0,end:0}}else r=null;for(tm={focusedElem:e,selectionRange:r},uf=!1,we=t;we!==null;)if(t=we,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,we=e;else for(;we!==null;){t=we;try{var C=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(C!==null){var b=C.memoizedProps,y=C.memoizedState,c=t.stateNode,s=c.getSnapshotBeforeUpdate(t.elementType===t.type?b:bn(t.type,b),y);c.__reactInternalSnapshotBeforeUpdate=s}break;case 3:var u=t.stateNode.containerInfo;u.nodeType===1?u.textContent="":u.nodeType===9&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(he(163))}}catch(d){St(t,t.return,d)}if(e=t.sibling,e!==null){e.return=t.return,we=e;break}we=t.return}return C=J5,J5=!1,C}function Bs(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&vm(t,r,a)}o=o.next}while(o!==n)}}function D0(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function bm(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function w_(e){var t=e.alternate;t!==null&&(e.alternate=null,w_(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Wn],delete t[du],delete t[om],delete t[IR],delete t[NR])),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 __(e){return e.tag===5||e.tag===3||e.tag===4}function Q5(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||__(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 ym(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ff));else if(n!==4&&(e=e.child,e!==null))for(ym(e,t,r),e=e.sibling;e!==null;)ym(e,t,r),e=e.sibling}function wm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(wm(e,t,r),e=e.sibling;e!==null;)wm(e,t,r),e=e.sibling}var Gt=null,yn=!1;function zo(e,t,r){for(r=r.child;r!==null;)x_(e,t,r),r=r.sibling}function x_(e,t,r){if(Hn&&typeof Hn.onCommitFiberUnmount=="function")try{Hn.onCommitFiberUnmount(E0,r)}catch{}switch(r.tag){case 5:ar||zi(r,t);case 6:var n=Gt,o=yn;Gt=null,zo(e,t,r),Gt=n,yn=o,Gt!==null&&(yn?(e=Gt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Gt.removeChild(r.stateNode));break;case 18:Gt!==null&&(yn?(e=Gt,r=r.stateNode,e.nodeType===8?Uh(e.parentNode,r):e.nodeType===1&&Uh(e,r),iu(e)):Uh(Gt,r.stateNode));break;case 4:n=Gt,o=yn,Gt=r.stateNode.containerInfo,yn=!0,zo(e,t,r),Gt=n,yn=o;break;case 0:case 11:case 14:case 15:if(!ar&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&vm(r,t,i),o=o.next}while(o!==n)}zo(e,t,r);break;case 1:if(!ar&&(zi(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(l){St(r,t,l)}zo(e,t,r);break;case 21:zo(e,t,r);break;case 22:r.mode&1?(ar=(n=ar)||r.memoizedState!==null,zo(e,t,r),ar=n):zo(e,t,r);break;default:zo(e,t,r)}}function e3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new YR),t.forEach(function(n){var o=iA.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function pn(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=i),n&=~a}if(n=o,n=Tt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*QR(n/1960))-n,10e?16:e,Zo===null)var n=!1;else{if(e=Zo,Zo=null,Of=0,Ge&6)throw Error(he(331));var o=Ge;for(Ge|=4,we=e.current;we!==null;){var a=we,i=a.child;if(we.flags&16){var l=a.deletions;if(l!==null){for(var f=0;fTt()-sb?Ra(e,0):lb|=r),Er(e,t)}function M_(e,t){t===0&&(e.mode&1?(t=Wc,Wc<<=1,!(Wc&130023424)&&(Wc=4194304)):t=1);var r=hr();e=bo(e,t),e!==null&&(Vu(e,t,r),Er(e,r))}function aA(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),M_(e,r)}function iA(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(he(314))}n!==null&&n.delete(t),M_(e,r)}var R_;R_=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Sr.current)Cr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Cr=!1,qR(e,t,r);Cr=!!(e.flags&131072)}else Cr=!1,pt&&t.flags&1048576&&N6(t,mf,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Cd(e,t),e=t.pendingProps;var o=ll(t,lr.current);Ki(t,r),o=tb(null,t,n,e,o,r);var a=rb();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,Tr(n)?(a=!0,hf(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Yv(t),o.updater=N0,t.stateNode=o,o._reactInternals=t,cm(t,n,e,r),t=pm(null,t,n,!0,a,r)):(t.tag=0,pt&&a&&Wv(t),pr(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Cd(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=sA(n),e=bn(n,e),o){case 0:t=fm(null,t,n,e,r);break e;case 1:t=X5(null,t,n,e,r);break e;case 11:t=q5(null,t,n,e,r);break e;case 14:t=K5(null,t,n,bn(n.type,e),r);break e}throw Error(he(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:bn(n,o),fm(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:bn(n,o),X5(e,t,n,o,r);case 3:e:{if(h_(t),e===null)throw Error(he(387));n=t.pendingProps,a=t.memoizedState,o=a.element,L6(e,t),yf(t,n,null,r);var i=t.memoizedState;if(n=i.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=dl(Error(he(423)),t),t=Y5(e,t,n,r,o);break e}else if(n!==o){o=dl(Error(he(424)),t),t=Y5(e,t,n,r,o);break e}else for(Dr=na(t.stateNode.containerInfo.firstChild),Fr=t,pt=!0,_n=null,r=U6(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(sl(),n===o){t=yo(e,t,r);break e}pr(e,t,n,r)}t=t.child}return t;case 5:return W6(t),e===null&&lm(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,rm(n,o)?i=null:a!==null&&rm(n,a)&&(t.flags|=32),p_(e,t),pr(e,t,i,r),t.child;case 6:return e===null&&lm(t),null;case 13:return g_(e,t,r);case 4:return Zv(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ul(t,null,n,r):pr(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:bn(n,o),q5(e,t,n,o,r);case 7:return pr(e,t,t.pendingProps,r),t.child;case 8:return pr(e,t,t.pendingProps.children,r),t.child;case 12:return pr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,nt(vf,n._currentValue),n._currentValue=i,a!==null)if(Tn(a.value,i)){if(a.children===o.children&&!Sr.current){t=yo(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){i=a.child;for(var f=l.firstContext;f!==null;){if(f.context===n){if(a.tag===1){f=co(-1,r&-r),f.tag=2;var g=a.updateQueue;if(g!==null){g=g.shared;var m=g.pending;m===null?f.next=f:(f.next=m.next,m.next=f),g.pending=f}}a.lanes|=r,f=a.alternate,f!==null&&(f.lanes|=r),sm(a.return,r,t),l.lanes|=r;break}f=f.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(he(341));i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),sm(i,r,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}pr(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Ki(t,r),o=an(o),n=n(o),t.flags|=1,pr(e,t,n,r),t.child;case 14:return n=t.type,o=bn(n,t.pendingProps),o=bn(n.type,o),K5(e,t,n,o,r);case 15:return d_(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:bn(n,o),Cd(e,t),t.tag=1,Tr(n)?(e=!0,hf(t)):e=!1,Ki(t,r),V6(t,n,o),cm(t,n,o,r),pm(null,t,n,!0,e,r);case 19:return m_(e,t,r);case 22:return f_(e,t,r)}throw Error(he(156,t.tag))};function A_(e,t){return o6(e,t)}function lA(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function en(e,t,r,n){return new lA(e,t,r,n)}function fb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sA(e){if(typeof e=="function")return fb(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Rv)return 11;if(e===Av)return 14}return 2}function la(e,t){var r=e.alternate;return r===null?(r=en(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Sd(e,t,r,n,o,a){var i=2;if(n=e,typeof e=="function")fb(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Mi:return Aa(r.children,o,a,t);case Mv:i=8,o|=8;break;case Ng:return e=en(12,r,t,o|2),e.elementType=Ng,e.lanes=a,e;case jg:return e=en(13,r,t,o),e.elementType=jg,e.lanes=a,e;case Dg:return e=en(19,r,t,o),e.elementType=Dg,e.lanes=a,e;case $w:return L0(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zw:i=10;break e;case Vw:i=9;break e;case Rv:i=11;break e;case Av:i=14;break e;case Ho:i=16,n=null;break e}throw Error(he(130,e==null?e:typeof e,""))}return t=en(i,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function Aa(e,t,r,n){return e=en(7,e,n,t),e.lanes=r,e}function L0(e,t,r,n){return e=en(22,e,n,t),e.elementType=$w,e.lanes=r,e.stateNode={isHidden:!1},e}function Yh(e,t,r){return e=en(6,e,null,t),e.lanes=r,e}function Zh(e,t,r){return t=en(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function uA(e,t,r,n,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=Rh(0),this.expirationTimes=Rh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rh(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function pb(e,t,r,n,o,a,i,l,f){return e=new uA(e,t,r,l,f),t===1?(t=1,a===!0&&(t|=8)):t=0,a=en(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yv(a),e}function cA(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(D_)}catch(e){console.error(e)}}D_(),Nw.exports=Ur;var wo=Nw.exports,s3=wo;Ag.createRoot=s3.createRoot,Ag.hydrateRoot=s3.hydrateRoot;/** +`+a.stack}return{value:e,source:t,stack:o,digest:null}}function Kh(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function dm(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var BM=typeof WeakMap=="function"?WeakMap:Map;function u3(e,t,r){r=co(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Pf||(Pf=!0,_m=n),dm(e,t)},r}function c3(e,t,r){r=co(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){dm(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){dm(e,t),typeof n!="function"&&(aa===null?aa=new Set([this]):aa.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function Bw(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new BM;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=oA.bind(null,e,t,r),t.then(e,e))}function Hw(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 Gw(e,t,r,n,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=co(-1,1),t.tag=2,oa(r,t,1))),r.lanes|=1),e)}var HM=Po.ReactCurrentOwner,Cr=!1;function pr(e,t,r,n){t.child=e===null?U4(t,null,r,n):ul(t,e.child,r,n)}function qw(e,t,r,n,o){r=r.render;var a=t.ref;return Ki(t,o),n=tb(e,t,r,n,a,o),r=rb(),e!==null&&!Cr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,yo(e,t,o)):(pt&&r&&Wv(t),t.flags|=1,pr(e,t,n,o),t.child)}function Kw(e,t,r,n,o){if(e===null){var a=r.type;return typeof a=="function"&&!fb(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,d3(e,t,a,n,o)):(e=Sd(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&o)){var i=a.memoizedProps;if(r=r.compare,r=r!==null?r:su,r(i,n)&&e.ref===t.ref)return yo(e,t,o)}return t.flags|=1,e=la(a,n),e.ref=t.ref,e.return=t,t.child=e}function d3(e,t,r,n,o){if(e!==null){var a=e.memoizedProps;if(su(a,n)&&e.ref===t.ref)if(Cr=!1,t.pendingProps=n=a,(e.lanes&o)!==0)e.flags&131072&&(Cr=!0);else return t.lanes=e.lanes,yo(e,t,o)}return fm(e,t,r,n,o)}function f3(e,t,r){var n=t.pendingProps,o=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},nt(Vi,Nr),Nr|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,nt(Vi,Nr),Nr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,nt(Vi,Nr),Nr|=n}else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,nt(Vi,Nr),Nr|=n;return pr(e,t,o,r),t.child}function p3(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function fm(e,t,r,n,o){var a=Tr(r)?Da:lr.current;return a=ll(t,a),Ki(t,o),r=tb(e,t,r,n,a,o),n=rb(),e!==null&&!Cr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,yo(e,t,o)):(pt&&n&&Wv(t),t.flags|=1,pr(e,t,r,o),t.child)}function Xw(e,t,r,n,o){if(Tr(r)){var a=!0;hf(t)}else a=!1;if(Ki(t,o),t.stateNode===null)Cd(e,t),V4(t,r,n),cm(t,r,n,o),n=!0;else if(e===null){var i=t.stateNode,l=t.memoizedProps;i.props=l;var f=i.context,g=r.contextType;typeof g=="object"&&g!==null?g=an(g):(g=Tr(r)?Da:lr.current,g=ll(t,g));var m=r.getDerivedStateFromProps,w=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function";w||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==n||f!==g)&&Vw(t,i,n,g),Go=!1;var P=t.memoizedState;i.state=P,yf(t,n,i,o),f=t.memoizedState,l!==n||P!==f||Sr.current||Go?(typeof m=="function"&&(um(t,r,m,n),f=t.memoizedState),(l=Go||zw(t,r,l,n,P,f,g))?(w||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=n,t.memoizedState=f),i.props=n,i.state=f,i.context=g,n=l):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,L4(e,t),l=t.memoizedProps,g=t.type===t.elementType?l:bn(t.type,l),i.props=g,w=t.pendingProps,P=i.context,f=r.contextType,typeof f=="object"&&f!==null?f=an(f):(f=Tr(r)?Da:lr.current,f=ll(t,f));var O=r.getDerivedStateFromProps;(m=typeof O=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==w||P!==f)&&Vw(t,i,n,f),Go=!1,P=t.memoizedState,i.state=P,yf(t,n,i,o);var C=t.memoizedState;l!==w||P!==C||Sr.current||Go?(typeof O=="function"&&(um(t,r,O,n),C=t.memoizedState),(g=Go||zw(t,r,g,n,P,C,f)||!1)?(m||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,C,f),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,C,f)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&P===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&P===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=C),i.props=n,i.state=C,i.context=f,n=g):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&P===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&P===e.memoizedState||(t.flags|=1024),n=!1)}return pm(e,t,r,n,a,o)}function pm(e,t,r,n,o,a){p3(e,t);var i=(t.flags&128)!==0;if(!n&&!i)return o&&Nw(t,r,!1),yo(e,t,a);n=t.stateNode,HM.current=t;var l=i&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&i?(t.child=ul(t,e.child,null,a),t.child=ul(t,null,l,a)):pr(e,t,l,a),t.memoizedState=n.state,o&&Nw(t,r,!0),t.child}function h3(e){var t=e.stateNode;t.pendingContext?Iw(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Iw(e,t.context,!1),Jv(e,t.containerInfo)}function Yw(e,t,r,n,o){return sl(),Hv(o),t.flags|=256,pr(e,t,r,n),t.child}var hm={dehydrated:null,treeContext:null,retryLane:0};function gm(e){return{baseLanes:e,cachePool:null,transitions:null}}function g3(e,t,r){var n=t.pendingProps,o=bt.current,a=!1,i=(t.flags&128)!==0,l;if((l=i)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),nt(bt,o&1),e===null)return lm(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=n.children,e=n.fallback,a?(n=t.mode,a=t.child,i={mode:"hidden",children:i},!(n&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=Lp(i,n,0,null),e=Aa(e,n,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=gm(r),t.memoizedState=hm,e):ab(t,i));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return GM(e,t,i,n,l,o,r);if(a){a=n.fallback,i=t.mode,o=e.child,l=o.sibling;var f={mode:"hidden",children:n.children};return!(i&1)&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=f,t.deletions=null):(n=la(o,f),n.subtreeFlags=o.subtreeFlags&14680064),l!==null?a=la(l,a):(a=Aa(a,i,r,null),a.flags|=2),a.return=t,n.return=t,n.sibling=a,t.child=n,n=a,a=t.child,i=e.child.memoizedState,i=i===null?gm(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~r,t.memoizedState=hm,n}return a=e.child,e=a.sibling,n=la(a,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function ab(e,t){return t=Lp({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Jc(e,t,r,n){return n!==null&&Hv(n),ul(t,e.child,null,r),e=ab(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function GM(e,t,r,n,o,a,i){if(r)return t.flags&256?(t.flags&=-257,n=Kh(Error(he(422))),Jc(e,t,i,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=n.fallback,o=t.mode,n=Lp({mode:"visible",children:n.children},o,0,null),a=Aa(a,o,i,null),a.flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,t.mode&1&&ul(t,e.child,null,i),t.child.memoizedState=gm(i),t.memoizedState=hm,a);if(!(t.mode&1))return Jc(e,t,i,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var l=n.dgst;return n=l,a=Error(he(419)),n=Kh(a,n,void 0),Jc(e,t,i,n)}if(l=(i&e.childLanes)!==0,Cr||l){if(n=Wt,n!==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&(n.suspendedLanes|i)?0:o,o!==0&&o!==a.retryLane&&(a.retryLane=o,bo(e,o),Pn(n,e,o,-1))}return db(),n=Kh(Error(he(421))),Jc(e,t,i,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=aA.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,Dr=na(o.nextSibling),Fr=t,pt=!0,_n=null,e!==null&&(Jr[Qr++]=so,Jr[Qr++]=uo,Jr[Qr++]=Fa,so=e.id,uo=e.overflow,Fa=t),t=ab(t,n.children),t.flags|=4096,t)}function Jw(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),sm(e.return,t,r)}function Xh(e,t,r,n,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o)}function m3(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(pr(e,t,n.children,r),n=bt.current,n&2)n=n&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&&Jw(e,r,t);else if(e.tag===19)Jw(e,r,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}n&=1}if(nt(bt,n),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&wf(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Xh(t,!1,o,r,a);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&wf(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Xh(t,!0,r,null,a);break;case"together":Xh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Cd(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function yo(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),za|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(he(153));if(t.child!==null){for(e=t.child,r=la(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=la(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function qM(e,t,r){switch(t.tag){case 3:h3(t),sl();break;case 5:W4(t);break;case 1:Tr(t.type)&&hf(t);break;case 4:Jv(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;nt(vf,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(nt(bt,bt.current&1),t.flags|=128,null):r&t.child.childLanes?g3(e,t,r):(nt(bt,bt.current&1),e=yo(e,t,r),e!==null?e.sibling:null);nt(bt,bt.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return m3(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),nt(bt,bt.current),n)break;return null;case 22:case 23:return t.lanes=0,f3(e,t,r)}return yo(e,t,r)}var v3,mm,b3,y3;v3=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};mm=function(){};b3=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,ka(Gn.current);var a=null;switch(r){case"input":o=Lg(e,o),n=Lg(e,n),a=[];break;case"select":o=_t({},o,{value:void 0}),n=_t({},n,{value:void 0}),a=[];break;case"textarea":o=$g(e,o),n=$g(e,n),a=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=ff)}Wg(r,n);var i;r=null;for(g in o)if(!n.hasOwnProperty(g)&&o.hasOwnProperty(g)&&o[g]!=null)if(g==="style"){var l=o[g];for(i in l)l.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else g!=="dangerouslySetInnerHTML"&&g!=="children"&&g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(tu.hasOwnProperty(g)?a||(a=[]):(a=a||[]).push(g,null));for(g in n){var f=n[g];if(l=o!=null?o[g]:void 0,n.hasOwnProperty(g)&&f!==l&&(f!=null||l!=null))if(g==="style")if(l){for(i in l)!l.hasOwnProperty(i)||f&&f.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in f)f.hasOwnProperty(i)&&l[i]!==f[i]&&(r||(r={}),r[i]=f[i])}else r||(a||(a=[]),a.push(g,r)),r=f;else g==="dangerouslySetInnerHTML"?(f=f?f.__html:void 0,l=l?l.__html:void 0,f!=null&&l!==f&&(a=a||[]).push(g,f)):g==="children"?typeof f!="string"&&typeof f!="number"||(a=a||[]).push(g,""+f):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&(tu.hasOwnProperty(g)?(f!=null&&g==="onScroll"&&ot("scroll",e),a||l===f||(a=[])):(a=a||[]).push(g,f))}r&&(a=a||[]).push("style",r);var g=a;(t.updateQueue=g)&&(t.flags|=4)}};y3=function(e,t,r,n){r!==n&&(t.flags|=4)};function ms(e,t){if(!pt)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function er(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function KM(e,t,r){var n=t.pendingProps;switch(Bv(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return er(t),null;case 1:return Tr(t.type)&&pf(),er(t),null;case 3:return n=t.stateNode,cl(),lt(Sr),lt(lr),Zv(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Xc(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,_n!==null&&(Pm(_n),_n=null))),mm(e,t),er(t),null;case 5:Qv(t);var o=ka(pu.current);if(r=t.type,e!==null&&t.stateNode!=null)b3(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(he(166));return er(t),null}if(e=ka(Gn.current),Xc(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[Wn]=t,n[du]=a,e=(t.mode&1)!==0,r){case"dialog":ot("cancel",n),ot("close",n);break;case"iframe":case"object":case"embed":ot("load",n);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[Wn]=t,e[du]=n,v3(e,t,!1,!1),t.stateNode=e;e:{switch(i=Bg(r,n),r){case"dialog":ot("cancel",e),ot("close",e),o=n;break;case"iframe":case"object":case"embed":ot("load",e),o=n;break;case"video":case"audio":for(o=0;ofl&&(t.flags|=128,n=!0,ms(a,!1),t.lanes=4194304)}else{if(!n)if(e=wf(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ms(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!pt)return er(t),null}else 2*Tt()-a.renderingStartTime>fl&&r!==1073741824&&(t.flags|=128,n=!0,ms(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Tt(),t.sibling=null,r=bt.current,nt(bt,n?r&1|2:r&1),t):(er(t),null);case 22:case 23:return cb(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Nr&1073741824&&(er(t),t.subtreeFlags&6&&(t.flags|=8192)):er(t),null;case 24:return null;case 25:return null}throw Error(he(156,t.tag))}function XM(e,t){switch(Bv(t),t.tag){case 1:return Tr(t.type)&&pf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cl(),lt(Sr),lt(lr),Zv(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qv(t),null;case 13:if(lt(bt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(he(340));sl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return lt(bt),null;case 4:return cl(),null;case 10:return Kv(t.type._context),null;case 22:case 23:return cb(),null;case 24:return null;default:return null}}var Qc=!1,ar=!1,YM=typeof WeakSet=="function"?WeakSet:Set,we=null;function zi(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){St(e,t,n)}else r.current=null}function vm(e,t,r){try{r()}catch(n){St(e,t,n)}}var Qw=!1;function JM(e,t){if(em=uf,e=C4(),Uv(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,l=-1,f=-1,g=0,m=0,w=e,P=null;t:for(;;){for(var O;w!==r||o!==0&&w.nodeType!==3||(l=i+o),w!==a||n!==0&&w.nodeType!==3||(f=i+n),w.nodeType===3&&(i+=w.nodeValue.length),(O=w.firstChild)!==null;)P=w,w=O;for(;;){if(w===e)break t;if(P===r&&++g===o&&(l=i),P===a&&++m===n&&(f=i),(O=w.nextSibling)!==null)break;w=P,P=w.parentNode}w=O}r=l===-1||f===-1?null:{start:l,end:f}}else r=null}r=r||{start:0,end:0}}else r=null;for(tm={focusedElem:e,selectionRange:r},uf=!1,we=t;we!==null;)if(t=we,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,we=e;else for(;we!==null;){t=we;try{var C=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(C!==null){var b=C.memoizedProps,y=C.memoizedState,c=t.stateNode,s=c.getSnapshotBeforeUpdate(t.elementType===t.type?b:bn(t.type,b),y);c.__reactInternalSnapshotBeforeUpdate=s}break;case 3:var u=t.stateNode.containerInfo;u.nodeType===1?u.textContent="":u.nodeType===9&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(he(163))}}catch(d){St(t,t.return,d)}if(e=t.sibling,e!==null){e.return=t.return,we=e;break}we=t.return}return C=Qw,Qw=!1,C}function Bs(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&vm(t,r,a)}o=o.next}while(o!==n)}}function Dp(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function bm(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function w3(e){var t=e.alternate;t!==null&&(e.alternate=null,w3(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Wn],delete t[du],delete t[om],delete t[IM],delete t[NM])),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 _3(e){return e.tag===5||e.tag===3||e.tag===4}function Zw(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_3(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 ym(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ff));else if(n!==4&&(e=e.child,e!==null))for(ym(e,t,r),e=e.sibling;e!==null;)ym(e,t,r),e=e.sibling}function wm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(wm(e,t,r),e=e.sibling;e!==null;)wm(e,t,r),e=e.sibling}var Gt=null,yn=!1;function zo(e,t,r){for(r=r.child;r!==null;)x3(e,t,r),r=r.sibling}function x3(e,t,r){if(Hn&&typeof Hn.onCommitFiberUnmount=="function")try{Hn.onCommitFiberUnmount(Ep,r)}catch{}switch(r.tag){case 5:ar||zi(r,t);case 6:var n=Gt,o=yn;Gt=null,zo(e,t,r),Gt=n,yn=o,Gt!==null&&(yn?(e=Gt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Gt.removeChild(r.stateNode));break;case 18:Gt!==null&&(yn?(e=Gt,r=r.stateNode,e.nodeType===8?Uh(e.parentNode,r):e.nodeType===1&&Uh(e,r),iu(e)):Uh(Gt,r.stateNode));break;case 4:n=Gt,o=yn,Gt=r.stateNode.containerInfo,yn=!0,zo(e,t,r),Gt=n,yn=o;break;case 0:case 11:case 14:case 15:if(!ar&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&vm(r,t,i),o=o.next}while(o!==n)}zo(e,t,r);break;case 1:if(!ar&&(zi(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(l){St(r,t,l)}zo(e,t,r);break;case 21:zo(e,t,r);break;case 22:r.mode&1?(ar=(n=ar)||r.memoizedState!==null,zo(e,t,r),ar=n):zo(e,t,r);break;default:zo(e,t,r)}}function e5(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new YM),t.forEach(function(n){var o=iA.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function pn(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=i),n&=~a}if(n=o,n=Tt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*ZM(n/1960))-n,10e?16:e,Jo===null)var n=!1;else{if(e=Jo,Jo=null,Of=0,Ge&6)throw Error(he(331));var o=Ge;for(Ge|=4,we=e.current;we!==null;){var a=we,i=a.child;if(we.flags&16){var l=a.deletions;if(l!==null){for(var f=0;fTt()-sb?Ma(e,0):lb|=r),Er(e,t)}function R3(e,t){t===0&&(e.mode&1?(t=Wc,Wc<<=1,!(Wc&130023424)&&(Wc=4194304)):t=1);var r=hr();e=bo(e,t),e!==null&&(Vu(e,t,r),Er(e,r))}function aA(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),R3(e,r)}function iA(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(he(314))}n!==null&&n.delete(t),R3(e,r)}var M3;M3=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Sr.current)Cr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Cr=!1,qM(e,t,r);Cr=!!(e.flags&131072)}else Cr=!1,pt&&t.flags&1048576&&N4(t,mf,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Cd(e,t),e=t.pendingProps;var o=ll(t,lr.current);Ki(t,r),o=tb(null,t,n,e,o,r);var a=rb();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,Tr(n)?(a=!0,hf(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Yv(t),o.updater=Np,t.stateNode=o,o._reactInternals=t,cm(t,n,e,r),t=pm(null,t,n,!0,a,r)):(t.tag=0,pt&&a&&Wv(t),pr(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Cd(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=sA(n),e=bn(n,e),o){case 0:t=fm(null,t,n,e,r);break e;case 1:t=Xw(null,t,n,e,r);break e;case 11:t=qw(null,t,n,e,r);break e;case 14:t=Kw(null,t,n,bn(n.type,e),r);break e}throw Error(he(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:bn(n,o),fm(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:bn(n,o),Xw(e,t,n,o,r);case 3:e:{if(h3(t),e===null)throw Error(he(387));n=t.pendingProps,a=t.memoizedState,o=a.element,L4(e,t),yf(t,n,null,r);var i=t.memoizedState;if(n=i.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=dl(Error(he(423)),t),t=Yw(e,t,n,r,o);break e}else if(n!==o){o=dl(Error(he(424)),t),t=Yw(e,t,n,r,o);break e}else for(Dr=na(t.stateNode.containerInfo.firstChild),Fr=t,pt=!0,_n=null,r=U4(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(sl(),n===o){t=yo(e,t,r);break e}pr(e,t,n,r)}t=t.child}return t;case 5:return W4(t),e===null&&lm(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,rm(n,o)?i=null:a!==null&&rm(n,a)&&(t.flags|=32),p3(e,t),pr(e,t,i,r),t.child;case 6:return e===null&&lm(t),null;case 13:return g3(e,t,r);case 4:return Jv(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ul(t,null,n,r):pr(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:bn(n,o),qw(e,t,n,o,r);case 7:return pr(e,t,t.pendingProps,r),t.child;case 8:return pr(e,t,t.pendingProps.children,r),t.child;case 12:return pr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,nt(vf,n._currentValue),n._currentValue=i,a!==null)if(Tn(a.value,i)){if(a.children===o.children&&!Sr.current){t=yo(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){i=a.child;for(var f=l.firstContext;f!==null;){if(f.context===n){if(a.tag===1){f=co(-1,r&-r),f.tag=2;var g=a.updateQueue;if(g!==null){g=g.shared;var m=g.pending;m===null?f.next=f:(f.next=m.next,m.next=f),g.pending=f}}a.lanes|=r,f=a.alternate,f!==null&&(f.lanes|=r),sm(a.return,r,t),l.lanes|=r;break}f=f.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(he(341));i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),sm(i,r,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}pr(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Ki(t,r),o=an(o),n=n(o),t.flags|=1,pr(e,t,n,r),t.child;case 14:return n=t.type,o=bn(n,t.pendingProps),o=bn(n.type,o),Kw(e,t,n,o,r);case 15:return d3(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:bn(n,o),Cd(e,t),t.tag=1,Tr(n)?(e=!0,hf(t)):e=!1,Ki(t,r),V4(t,n,o),cm(t,n,o,r),pm(null,t,n,!0,e,r);case 19:return m3(e,t,r);case 22:return f3(e,t,r)}throw Error(he(156,t.tag))};function A3(e,t){return o4(e,t)}function lA(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function en(e,t,r,n){return new lA(e,t,r,n)}function fb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sA(e){if(typeof e=="function")return fb(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Mv)return 11;if(e===Av)return 14}return 2}function la(e,t){var r=e.alternate;return r===null?(r=en(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Sd(e,t,r,n,o,a){var i=2;if(n=e,typeof e=="function")fb(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ri:return Aa(r.children,o,a,t);case Rv:i=8,o|=8;break;case Ng:return e=en(12,r,t,o|2),e.elementType=Ng,e.lanes=a,e;case jg:return e=en(13,r,t,o),e.elementType=jg,e.lanes=a,e;case Dg:return e=en(19,r,t,o),e.elementType=Dg,e.lanes=a,e;case $x:return Lp(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zx:i=10;break e;case Vx:i=9;break e;case Mv:i=11;break e;case Av:i=14;break e;case Ho:i=16,n=null;break e}throw Error(he(130,e==null?e:typeof e,""))}return t=en(i,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function Aa(e,t,r,n){return e=en(7,e,n,t),e.lanes=r,e}function Lp(e,t,r,n){return e=en(22,e,n,t),e.elementType=$x,e.lanes=r,e.stateNode={isHidden:!1},e}function Yh(e,t,r){return e=en(6,e,null,t),e.lanes=r,e}function Jh(e,t,r){return t=en(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function uA(e,t,r,n,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=Mh(0),this.expirationTimes=Mh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mh(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function pb(e,t,r,n,o,a,i,l,f){return e=new uA(e,t,r,l,f),t===1?(t=1,a===!0&&(t|=8)):t=0,a=en(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yv(a),e}function cA(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(D3)}catch(e){console.error(e)}}D3(),Nx.exports=Ur;var wo=Nx.exports,s5=wo;Ag.createRoot=s5.createRoot,Ag.hydrateRoot=s5.hydrateRoot;/** * @remix-run/router v1.15.1 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function bu(){return bu=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function F_(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function mA(){return Math.random().toString(36).substr(2,8)}function c3(e,t){return{usr:e.state,key:e.key,idx:t}}function Om(e,t,r,n){return r===void 0&&(r=null),bu({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jl(t):t,{state:r,key:t&&t.key||n||mA()})}function Ef(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function jl(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function vA(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,l=Jo.Pop,f=null,g=m();g==null&&(g=0,i.replaceState(bu({},i.state,{idx:g}),""));function m(){return(i.state||{idx:null}).idx}function w(){l=Jo.Pop;let y=m(),c=y==null?null:y-g;g=y,f&&f({action:l,location:b.location,delta:c})}function P(y,c){l=Jo.Push;let s=Om(b.location,y,c);r&&r(s,y),g=m()+1;let u=c3(s,g),d=b.createHref(s);try{i.pushState(u,"",d)}catch(h){if(h instanceof DOMException&&h.name==="DataCloneError")throw h;o.location.assign(d)}a&&f&&f({action:l,location:b.location,delta:1})}function O(y,c){l=Jo.Replace;let s=Om(b.location,y,c);r&&r(s,y),g=m();let u=c3(s,g),d=b.createHref(s);i.replaceState(u,"",d),a&&f&&f({action:l,location:b.location,delta:0})}function C(y){let c=o.location.origin!=="null"?o.location.origin:o.location.href,s=typeof y=="string"?y:Ef(y);return s=s.replace(/ $/,"%20"),At(c,"No window.location.(origin|href) available to create URL for href: "+s),new URL(s,c)}let b={get action(){return l},get location(){return e(o,i)},listen(y){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(u3,w),f=y,()=>{o.removeEventListener(u3,w),f=null}},createHref(y){return t(o,y)},createURL:C,encodeLocation(y){let c=C(y);return{pathname:c.pathname,search:c.search,hash:c.hash}},push:P,replace:O,go(y){return i.go(y)}};return b}var d3;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(d3||(d3={}));function bA(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?jl(t):t,o=vb(n.pathname||"/",r);if(o==null)return null;let a=L_(e);yA(a);let i=null;for(let l=0;i==null&&l{let f={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};f.relativePath.startsWith("/")&&(At(f.relativePath.startsWith(n),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(n.length));let g=sa([n,f.relativePath]),m=r.concat(f);a.children&&a.children.length>0&&(At(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),L_(a.children,t,m,g)),!(a.path==null&&!a.index)&&t.push({path:g,score:SA(g,a.index),routesMeta:m})};return e.forEach((a,i)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))o(a,i);else for(let f of z_(a.path))o(a,i,f)}),t}function z_(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return o?[a,""]:[a];let i=z_(n.join("/")),l=[];return l.push(...i.map(f=>f===""?a:[a,f].join("/"))),o&&l.push(...i),l.map(f=>e.startsWith("/")&&f===""?"/":f)}function yA(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:TA(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const wA=/^:[\w-]+$/,_A=3,xA=2,CA=1,PA=10,OA=-2,f3=e=>e==="*";function SA(e,t){let r=e.split("/"),n=r.length;return r.some(f3)&&(n+=OA),t&&(n+=xA),r.filter(o=>!f3(o)).reduce((o,a)=>o+(wA.test(a)?_A:a===""?CA:PA),n)}function TA(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function EA(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let i=0;i{let{paramName:P,isOptional:O}=m;if(P==="*"){let b=l[w]||"";i=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const C=l[w];return O&&!C?g[P]=void 0:g[P]=(C||"").replace(/%2F/g,"/"),g},{}),pathname:a,pathnameBase:i,pattern:e}}function MA(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),F_(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,l,f)=>(n.push({paramName:l,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function RA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return F_(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function vb(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function AA(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?jl(e):e;return{pathname:r?r.startsWith("/")?r:IA(r,t):t,search:DA(n),hash:FA(o)}}function IA(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Jh(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function NA(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function V_(e,t){let r=NA(e);return t?r.map((n,o)=>o===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function $_(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=jl(e):(o=bu({},e),At(!o.pathname||!o.pathname.includes("?"),Jh("?","pathname","search",o)),At(!o.pathname||!o.pathname.includes("#"),Jh("#","pathname","hash",o)),At(!o.search||!o.search.includes("#"),Jh("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,l;if(i==null)l=r;else{let w=t.length-1;if(!n&&i.startsWith("..")){let P=i.split("/");for(;P[0]==="..";)P.shift(),w-=1;o.pathname=P.join("/")}l=w>=0?t[w]:"/"}let f=AA(o,l),g=i&&i!=="/"&&i.endsWith("/"),m=(a||i===".")&&r.endsWith("/");return!f.pathname.endsWith("/")&&(g||m)&&(f.pathname+="/"),f}const sa=e=>e.join("/").replace(/\/\/+/g,"/"),jA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),DA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,FA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function LA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const U_=["post","put","patch","delete"];new Set(U_);const zA=["get",...U_];new Set(zA);/** + */function bu(){return bu=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function F3(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function mA(){return Math.random().toString(36).substr(2,8)}function c5(e,t){return{usr:e.state,key:e.key,idx:t}}function Om(e,t,r,n){return r===void 0&&(r=null),bu({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jl(t):t,{state:r,key:t&&t.key||n||mA()})}function Ef(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function jl(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function vA(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,l=Qo.Pop,f=null,g=m();g==null&&(g=0,i.replaceState(bu({},i.state,{idx:g}),""));function m(){return(i.state||{idx:null}).idx}function w(){l=Qo.Pop;let y=m(),c=y==null?null:y-g;g=y,f&&f({action:l,location:b.location,delta:c})}function P(y,c){l=Qo.Push;let s=Om(b.location,y,c);r&&r(s,y),g=m()+1;let u=c5(s,g),d=b.createHref(s);try{i.pushState(u,"",d)}catch(h){if(h instanceof DOMException&&h.name==="DataCloneError")throw h;o.location.assign(d)}a&&f&&f({action:l,location:b.location,delta:1})}function O(y,c){l=Qo.Replace;let s=Om(b.location,y,c);r&&r(s,y),g=m();let u=c5(s,g),d=b.createHref(s);i.replaceState(u,"",d),a&&f&&f({action:l,location:b.location,delta:0})}function C(y){let c=o.location.origin!=="null"?o.location.origin:o.location.href,s=typeof y=="string"?y:Ef(y);return s=s.replace(/ $/,"%20"),At(c,"No window.location.(origin|href) available to create URL for href: "+s),new URL(s,c)}let b={get action(){return l},get location(){return e(o,i)},listen(y){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(u5,w),f=y,()=>{o.removeEventListener(u5,w),f=null}},createHref(y){return t(o,y)},createURL:C,encodeLocation(y){let c=C(y);return{pathname:c.pathname,search:c.search,hash:c.hash}},push:P,replace:O,go(y){return i.go(y)}};return b}var d5;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(d5||(d5={}));function bA(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?jl(t):t,o=vb(n.pathname||"/",r);if(o==null)return null;let a=L3(e);yA(a);let i=null;for(let l=0;i==null&&l{let f={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};f.relativePath.startsWith("/")&&(At(f.relativePath.startsWith(n),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(n.length));let g=sa([n,f.relativePath]),m=r.concat(f);a.children&&a.children.length>0&&(At(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),L3(a.children,t,m,g)),!(a.path==null&&!a.index)&&t.push({path:g,score:SA(g,a.index),routesMeta:m})};return e.forEach((a,i)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))o(a,i);else for(let f of z3(a.path))o(a,i,f)}),t}function z3(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return o?[a,""]:[a];let i=z3(n.join("/")),l=[];return l.push(...i.map(f=>f===""?a:[a,f].join("/"))),o&&l.push(...i),l.map(f=>e.startsWith("/")&&f===""?"/":f)}function yA(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:TA(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const wA=/^:[\w-]+$/,_A=3,xA=2,CA=1,PA=10,OA=-2,f5=e=>e==="*";function SA(e,t){let r=e.split("/"),n=r.length;return r.some(f5)&&(n+=OA),t&&(n+=xA),r.filter(o=>!f5(o)).reduce((o,a)=>o+(wA.test(a)?_A:a===""?CA:PA),n)}function TA(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function EA(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let i=0;i{let{paramName:P,isOptional:O}=m;if(P==="*"){let b=l[w]||"";i=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const C=l[w];return O&&!C?g[P]=void 0:g[P]=(C||"").replace(/%2F/g,"/"),g},{}),pathname:a,pathnameBase:i,pattern:e}}function RA(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),F3(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,l,f)=>(n.push({paramName:l,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function MA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return F3(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function vb(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function AA(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?jl(e):e;return{pathname:r?r.startsWith("/")?r:IA(r,t):t,search:DA(n),hash:FA(o)}}function IA(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Qh(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function NA(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function V3(e,t){let r=NA(e);return t?r.map((n,o)=>o===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function $3(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=jl(e):(o=bu({},e),At(!o.pathname||!o.pathname.includes("?"),Qh("?","pathname","search",o)),At(!o.pathname||!o.pathname.includes("#"),Qh("#","pathname","hash",o)),At(!o.search||!o.search.includes("#"),Qh("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,l;if(i==null)l=r;else{let w=t.length-1;if(!n&&i.startsWith("..")){let P=i.split("/");for(;P[0]==="..";)P.shift(),w-=1;o.pathname=P.join("/")}l=w>=0?t[w]:"/"}let f=AA(o,l),g=i&&i!=="/"&&i.endsWith("/"),m=(a||i===".")&&r.endsWith("/");return!f.pathname.endsWith("/")&&(g||m)&&(f.pathname+="/"),f}const sa=e=>e.join("/").replace(/\/\/+/g,"/"),jA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),DA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,FA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function LA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const U3=["post","put","patch","delete"];new Set(U3);const zA=["get",...U3];new Set(zA);/** * React Router v6.22.1 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function yu(){return yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),F.useCallback(function(g,m){if(m===void 0&&(m={}),!l.current)return;if(typeof g=="number"){n.go(g);return}let w=$_(g,JSON.parse(i),a,m.relative==="path");e==null&&t!=="/"&&(w.pathname=w.pathname==="/"?t:sa([t,w.pathname])),(m.replace?n.replace:n.push)(w,m.state,m)},[t,n,i,a,e])}function H_(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=F.useContext(Xa),{matches:o}=F.useContext(Ya),{pathname:a}=B0(),i=JSON.stringify(V_(o,n.v7_relativeSplatPath));return F.useMemo(()=>$_(e,JSON.parse(i),a,r==="path"),[e,i,a,r])}function BA(e,t){return HA(e,t)}function HA(e,t,r,n){Bu()||At(!1);let{navigator:o}=F.useContext(Xa),{matches:a}=F.useContext(Ya),i=a[a.length-1],l=i?i.params:{};i&&i.pathname;let f=i?i.pathnameBase:"/";i&&i.route;let g=B0(),m;if(t){var w;let y=typeof t=="string"?jl(t):t;f==="/"||(w=y.pathname)!=null&&w.startsWith(f)||At(!1),m=y}else m=g;let P=m.pathname||"/",O=P;if(f!=="/"){let y=f.replace(/^\//,"").split("/");O="/"+P.replace(/^\//,"").split("/").slice(y.length).join("/")}let C=bA(e,{pathname:O}),b=YA(C&&C.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:sa([f,o.encodeLocation?o.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?f:sa([f,o.encodeLocation?o.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,r,n);return t&&b?F.createElement(W0.Provider,{value:{location:yu({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:Jo.Pop}},b):b}function GA(){let e=eI(),t=LA(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},t),r?F.createElement("pre",{style:o},r):null,null)}const qA=F.createElement(GA,null);class KA extends F.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?F.createElement(Ya.Provider,{value:this.props.routeContext},F.createElement(W_.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function XA(e){let{routeContext:t,match:r,children:n}=e,o=F.useContext(bb);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),F.createElement(Ya.Provider,{value:t},n)}function YA(e,t,r,n){var o;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let i=e,l=(o=r)==null?void 0:o.errors;if(l!=null){let m=i.findIndex(w=>w.route.id&&(l==null?void 0:l[w.route.id]));m>=0||At(!1),i=i.slice(0,Math.min(i.length,m+1))}let f=!1,g=-1;if(r&&n&&n.v7_partialHydration)for(let m=0;m=0?i=i.slice(0,g+1):i=[i[0]];break}}}return i.reduceRight((m,w,P)=>{let O,C=!1,b=null,y=null;r&&(O=l&&w.route.id?l[w.route.id]:void 0,b=w.route.errorElement||qA,f&&(g<0&&P===0?(rI("route-fallback",!1),C=!0,y=null):g===P&&(C=!0,y=w.route.hydrateFallbackElement||null)));let c=t.concat(i.slice(0,P+1)),s=()=>{let u;return O?u=b:C?u=y:w.route.Component?u=F.createElement(w.route.Component,null):w.route.element?u=w.route.element:u=m,F.createElement(XA,{match:w,routeContext:{outlet:m,matches:c,isDataRoute:r!=null},children:u})};return r&&(w.route.ErrorBoundary||w.route.errorElement||P===0)?F.createElement(KA,{location:r.location,revalidation:r.revalidation,component:b,error:O,children:s(),routeContext:{outlet:null,matches:c,isDataRoute:!0}}):s()},null)}var G_=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(G_||{}),kf=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(kf||{});function ZA(e){let t=F.useContext(bb);return t||At(!1),t}function JA(e){let t=F.useContext(VA);return t||At(!1),t}function QA(e){let t=F.useContext(Ya);return t||At(!1),t}function q_(e){let t=QA(),r=t.matches[t.matches.length-1];return r.route.id||At(!1),r.route.id}function eI(){var e;let t=F.useContext(W_),r=JA(kf.UseRouteError),n=q_(kf.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function tI(){let{router:e}=ZA(G_.UseNavigateStable),t=q_(kf.UseNavigateStable),r=F.useRef(!1);return B_(()=>{r.current=!0}),F.useCallback(function(o,a){a===void 0&&(a={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,yu({fromRouteId:t},a)))},[e,t])}const p3={};function rI(e,t,r){!t&&!p3[e]&&(p3[e]=!0)}function Ts(e){At(!1)}function nI(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Jo.Pop,navigator:a,static:i=!1,future:l}=e;Bu()&&At(!1);let f=t.replace(/^\/*/,"/"),g=F.useMemo(()=>({basename:f,navigator:a,static:i,future:yu({v7_relativeSplatPath:!1},l)}),[f,l,a,i]);typeof n=="string"&&(n=jl(n));let{pathname:m="/",search:w="",hash:P="",state:O=null,key:C="default"}=n,b=F.useMemo(()=>{let y=vb(m,f);return y==null?null:{location:{pathname:y,search:w,hash:P,state:O,key:C},navigationType:o}},[f,m,w,P,O,C,o]);return b==null?null:F.createElement(Xa.Provider,{value:g},F.createElement(W0.Provider,{children:r,value:b}))}function oI(e){let{children:t,location:r}=e;return BA(Sm(t),r)}new Promise(()=>{});function Sm(e,t){t===void 0&&(t=[]);let r=[];return F.Children.forEach(e,(n,o)=>{if(!F.isValidElement(n))return;let a=[...t,o];if(n.type===F.Fragment){r.push.apply(r,Sm(n.props.children,a));return}n.type!==Ts&&At(!1),!n.props.index||!n.props.children||At(!1);let i={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(i.children=Sm(n.props.children,a)),r.push(i)}),r}/** + */function yu(){return yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),F.useCallback(function(g,m){if(m===void 0&&(m={}),!l.current)return;if(typeof g=="number"){n.go(g);return}let w=$3(g,JSON.parse(i),a,m.relative==="path");e==null&&t!=="/"&&(w.pathname=w.pathname==="/"?t:sa([t,w.pathname])),(m.replace?n.replace:n.push)(w,m.state,m)},[t,n,i,a,e])}function H3(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=F.useContext(Xa),{matches:o}=F.useContext(Ya),{pathname:a}=Bp(),i=JSON.stringify(V3(o,n.v7_relativeSplatPath));return F.useMemo(()=>$3(e,JSON.parse(i),a,r==="path"),[e,i,a,r])}function BA(e,t){return HA(e,t)}function HA(e,t,r,n){Bu()||At(!1);let{navigator:o}=F.useContext(Xa),{matches:a}=F.useContext(Ya),i=a[a.length-1],l=i?i.params:{};i&&i.pathname;let f=i?i.pathnameBase:"/";i&&i.route;let g=Bp(),m;if(t){var w;let y=typeof t=="string"?jl(t):t;f==="/"||(w=y.pathname)!=null&&w.startsWith(f)||At(!1),m=y}else m=g;let P=m.pathname||"/",O=P;if(f!=="/"){let y=f.replace(/^\//,"").split("/");O="/"+P.replace(/^\//,"").split("/").slice(y.length).join("/")}let C=bA(e,{pathname:O}),b=YA(C&&C.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:sa([f,o.encodeLocation?o.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?f:sa([f,o.encodeLocation?o.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,r,n);return t&&b?F.createElement(Wp.Provider,{value:{location:yu({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:Qo.Pop}},b):b}function GA(){let e=eI(),t=LA(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},t),r?F.createElement("pre",{style:o},r):null,null)}const qA=F.createElement(GA,null);class KA extends F.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?F.createElement(Ya.Provider,{value:this.props.routeContext},F.createElement(W3.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function XA(e){let{routeContext:t,match:r,children:n}=e,o=F.useContext(bb);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),F.createElement(Ya.Provider,{value:t},n)}function YA(e,t,r,n){var o;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let i=e,l=(o=r)==null?void 0:o.errors;if(l!=null){let m=i.findIndex(w=>w.route.id&&(l==null?void 0:l[w.route.id]));m>=0||At(!1),i=i.slice(0,Math.min(i.length,m+1))}let f=!1,g=-1;if(r&&n&&n.v7_partialHydration)for(let m=0;m=0?i=i.slice(0,g+1):i=[i[0]];break}}}return i.reduceRight((m,w,P)=>{let O,C=!1,b=null,y=null;r&&(O=l&&w.route.id?l[w.route.id]:void 0,b=w.route.errorElement||qA,f&&(g<0&&P===0?(rI("route-fallback",!1),C=!0,y=null):g===P&&(C=!0,y=w.route.hydrateFallbackElement||null)));let c=t.concat(i.slice(0,P+1)),s=()=>{let u;return O?u=b:C?u=y:w.route.Component?u=F.createElement(w.route.Component,null):w.route.element?u=w.route.element:u=m,F.createElement(XA,{match:w,routeContext:{outlet:m,matches:c,isDataRoute:r!=null},children:u})};return r&&(w.route.ErrorBoundary||w.route.errorElement||P===0)?F.createElement(KA,{location:r.location,revalidation:r.revalidation,component:b,error:O,children:s(),routeContext:{outlet:null,matches:c,isDataRoute:!0}}):s()},null)}var G3=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(G3||{}),kf=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(kf||{});function JA(e){let t=F.useContext(bb);return t||At(!1),t}function QA(e){let t=F.useContext(VA);return t||At(!1),t}function ZA(e){let t=F.useContext(Ya);return t||At(!1),t}function q3(e){let t=ZA(),r=t.matches[t.matches.length-1];return r.route.id||At(!1),r.route.id}function eI(){var e;let t=F.useContext(W3),r=QA(kf.UseRouteError),n=q3(kf.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function tI(){let{router:e}=JA(G3.UseNavigateStable),t=q3(kf.UseNavigateStable),r=F.useRef(!1);return B3(()=>{r.current=!0}),F.useCallback(function(o,a){a===void 0&&(a={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,yu({fromRouteId:t},a)))},[e,t])}const p5={};function rI(e,t,r){!t&&!p5[e]&&(p5[e]=!0)}function Ts(e){At(!1)}function nI(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Qo.Pop,navigator:a,static:i=!1,future:l}=e;Bu()&&At(!1);let f=t.replace(/^\/*/,"/"),g=F.useMemo(()=>({basename:f,navigator:a,static:i,future:yu({v7_relativeSplatPath:!1},l)}),[f,l,a,i]);typeof n=="string"&&(n=jl(n));let{pathname:m="/",search:w="",hash:P="",state:O=null,key:C="default"}=n,b=F.useMemo(()=>{let y=vb(m,f);return y==null?null:{location:{pathname:y,search:w,hash:P,state:O,key:C},navigationType:o}},[f,m,w,P,O,C,o]);return b==null?null:F.createElement(Xa.Provider,{value:g},F.createElement(Wp.Provider,{children:r,value:b}))}function oI(e){let{children:t,location:r}=e;return BA(Sm(t),r)}new Promise(()=>{});function Sm(e,t){t===void 0&&(t=[]);let r=[];return F.Children.forEach(e,(n,o)=>{if(!F.isValidElement(n))return;let a=[...t,o];if(n.type===F.Fragment){r.push.apply(r,Sm(n.props.children,a));return}n.type!==Ts&&At(!1),!n.props.index||!n.props.children||At(!1);let i={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(i.children=Sm(n.props.children,a)),r.push(i)}),r}/** * React Router DOM v6.22.1 * * Copyright (c) Remix Software Inc. @@ -64,25 +64,25 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Tm(){return Tm=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function iI(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lI(e,t){return e.button===0&&(!t||t==="_self")&&!iI(e)}const sI=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],uI="6";try{window.__reactRouterVersion=uI}catch{}const cI="startTransition",h3=al[cI];function dI(e){let{basename:t,children:r,future:n,window:o}=e,a=F.useRef();a.current==null&&(a.current=gA({window:o,v5Compat:!0}));let i=a.current,[l,f]=F.useState({action:i.action,location:i.location}),{v7_startTransition:g}=n||{},m=F.useCallback(w=>{g&&h3?h3(()=>f(w)):f(w)},[f,g]);return F.useLayoutEffect(()=>i.listen(m),[i,m]),F.createElement(nI,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:i,future:n})}const fI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pI=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Em=F.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:a,replace:i,state:l,target:f,to:g,preventScrollReset:m,unstable_viewTransition:w}=t,P=aI(t,sI),{basename:O}=F.useContext(Xa),C,b=!1;if(typeof g=="string"&&pI.test(g)&&(C=g,fI))try{let u=new URL(window.location.href),d=g.startsWith("//")?new URL(u.protocol+g):new URL(g),h=vb(d.pathname,O);d.origin===u.origin&&h!=null?g=h+d.search+d.hash:b=!0}catch{}let y=$A(g,{relative:o}),c=hI(g,{replace:i,state:l,target:f,preventScrollReset:m,relative:o,unstable_viewTransition:w});function s(u){n&&n(u),u.defaultPrevented||c(u)}return F.createElement("a",Tm({},P,{href:C||y,onClick:b||a?n:s,ref:r,target:f}))});var g3;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(g3||(g3={}));var m3;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(m3||(m3={}));function hI(e,t){let{target:r,replace:n,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l}=t===void 0?{}:t,f=UA(),g=B0(),m=H_(e,{relative:i});return F.useCallback(w=>{if(lI(w,r)){w.preventDefault();let P=n!==void 0?n:Ef(g)===Ef(m);f(e,{replace:P,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l})}},[g,f,m,n,o,r,e,a,i,l])}var K_=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(o,a){return o[0]===r?(n=a,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,a=this.__entries__;o0},e.prototype.connect_=function(){!km||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),wI?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!km||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=yI.some(function(a){return!!~n.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),X_=function(e,t){for(var r=0,n=Object.keys(t);r"u"||!(Element instanceof Object))){if(!(t instanceof pl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new kI(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof pl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new MI(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Z_=typeof WeakMap<"u"?new WeakMap:new K_,J_=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=_I.getInstance(),n=new RI(t,r,this);Z_.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){J_.prototype[e]=function(){var t;return(t=Z_.get(this))[e].apply(t,arguments)}});var Q_=function(){return typeof Mf.ResizeObserver<"u"?Mf.ResizeObserver:J_}(),wn={Linear:{None:function(e){return e}},Quadratic:{In:function(e){return e*e},Out:function(e){return e*(2-e)},InOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}},Cubic:{In:function(e){return e*e*e},Out:function(e){return--e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}},Quartic:{In:function(e){return e*e*e*e},Out:function(e){return 1- --e*e*e*e},InOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}},Quintic:{In:function(e){return e*e*e*e*e},Out:function(e){return--e*e*e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}},Sinusoidal:{In:function(e){return 1-Math.cos(e*Math.PI/2)},Out:function(e){return Math.sin(e*Math.PI/2)},InOut:function(e){return .5*(1-Math.cos(Math.PI*e))}},Exponential:{In:function(e){return e===0?0:Math.pow(1024,e-1)},Out:function(e){return e===1?1:1-Math.pow(2,-10*e)},InOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)}},Circular:{In:function(e){return 1-Math.sqrt(1-e*e)},Out:function(e){return Math.sqrt(1- --e*e)},InOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}},Elastic:{In:function(e){return e===0?0:e===1?1:-Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI)},Out:function(e){return e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1},InOut:function(e){return e===0?0:e===1?1:(e*=2,e<1?-.5*Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI):.5*Math.pow(2,-10*(e-1))*Math.sin((e-1.1)*5*Math.PI)+1)}},Back:{In:function(e){var t=1.70158;return e*e*((t+1)*e-t)},Out:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},InOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}},Bounce:{In:function(e){return 1-wn.Bounce.Out(1-e)},Out:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},InOut:function(e){return e<.5?wn.Bounce.In(e*2)*.5:wn.Bounce.Out(e*2-1)*.5+.5}}},Es;typeof self>"u"&&typeof process<"u"&&process.hrtime?Es=function(){var e=process.hrtime();return e[0]*1e3+e[1]/1e6}:typeof self<"u"&&self.performance!==void 0&&self.performance.now!==void 0?Es=self.performance.now.bind(self.performance):Date.now!==void 0?Es=Date.now:Es=function(){return new Date().getTime()};var Oi=Es,yb=function(){function e(){this._tweens={},this._tweensAddedDuringUpdate={}}return e.prototype.getAll=function(){var t=this;return Object.keys(this._tweens).map(function(r){return t._tweens[r]})},e.prototype.removeAll=function(){this._tweens={}},e.prototype.add=function(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t},e.prototype.remove=function(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]},e.prototype.update=function(t,r){t===void 0&&(t=Oi()),r===void 0&&(r=!1);var n=Object.keys(this._tweens);if(n.length===0)return!1;for(;n.length>0;){this._tweensAddedDuringUpdate={};for(var o=0;o1?a(e[r],e[r-1],r-n):a(e[o],e[o+1>r?r:o+1],n-o)},Bezier:function(e,t){for(var r=0,n=e.length-1,o=Math.pow,a=ks.Utils.Bernstein,i=0;i<=n;i++)r+=o(1-t,n-i)*o(t,i)*e[i]*a(n,i);return r},CatmullRom:function(e,t){var r=e.length-1,n=r*t,o=Math.floor(n),a=ks.Utils.CatmullRom;return e[0]===e[r]?(t<0&&(o=Math.floor(n=r*(1+t))),a(e[(o-1+r)%r],e[o],e[(o+1)%r],e[(o+2)%r],n-o)):t<0?e[0]-(a(e[0],e[0],e[1],e[1],-n)-e[0]):t>1?e[r]-(a(e[r],e[r],e[r-1],e[r-1],n-r)-e[r]):a(e[o?o-1:0],e[o],e[r1;n--)r*=n;return e[t]=r,r}}(),CatmullRom:function(e,t,r,n,o){var a=(r-e)*.5,i=(n-t)*.5,l=o*o,f=o*l;return(2*t-2*r+a+i)*f+(-3*t+3*r-2*a-i)*l+a*o+t}}},AI=function(){function e(){}return e.nextId=function(){return e._nextId++},e._nextId=0,e}(),e8=new yb,t8=function(){function e(t,r){r===void 0&&(r=e8),this._object=t,this._group=r,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=wn.Linear.None,this._interpolationFunction=ks.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._id=AI.nextId(),this._isChainStopped=!1,this._goToEnd=!1}return e.prototype.getId=function(){return this._id},e.prototype.isPlaying=function(){return this._isPlaying},e.prototype.isPaused=function(){return this._isPaused},e.prototype.to=function(t,r){return this._valuesEnd=Object.create(t),r!==void 0&&(this._duration=r),this},e.prototype.duration=function(t){return this._duration=t,this},e.prototype.start=function(t){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(var r in this._valuesStartRepeat)this._swapEndStartRepeatValues(r),this._valuesStart[r]=this._valuesStartRepeat[r]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t!==void 0?typeof t=="string"?Oi()+parseFloat(t):t:Oi(),this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this},e.prototype._setupProperties=function(t,r,n,o){for(var a in n){var i=t[a],l=Array.isArray(i),f=l?"array":typeof i,g=!l&&Array.isArray(n[a]);if(!(f==="undefined"||f==="function")){if(g){var m=n[a];if(m.length===0)continue;m=m.map(this._handleRelativeValue.bind(this,i)),n[a]=[i].concat(m)}if((f==="object"||l)&&i&&!g){r[a]=l?[]:{};for(var w in i)r[a][w]=i[w];o[a]=l?[]:{},this._setupProperties(i,r[a],n[a],o[a])}else typeof r[a]>"u"&&(r[a]=i),l||(r[a]*=1),g?o[a]=n[a].slice().reverse():o[a]=r[a]||0}}},e.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},e.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},e.prototype.pause=function(t){return t===void 0&&(t=Oi()),this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=t,this._group&&this._group.remove(this),this)},e.prototype.resume=function(t){return t===void 0&&(t=Oi()),!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this)},e.prototype.stopChainedTweens=function(){for(var t=0,r=this._chainedTweens.length;ta)return!1;r&&this.start(t)}if(this._goToEnd=!1,t1?1:o;var i=this._easingFunction(o);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,i),this._onUpdateCallback&&this._onUpdateCallback(this._object,o),o===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var l=0,f=this._chainedTweens.length;l=Me.Children.count(i)-l&&!a,g={"data-type":"next","aria-label":"Next Slide",disabled:f,onClick:n};if(o)return Me.cloneElement(o,wu({className:(o.props.className||"")+" nav "+(f?"disabled":"")},g));var m="nav default-nav "+(f?"disabled":"");return Me.createElement("button",Object.assign({type:"button",className:m},g),Me.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},Me.createElement("path",{d:"M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z"})))},NI=function(t,r,n){return Me.createElement("li",{key:r},Me.createElement("button",Object.assign({type:"button",className:"each-slideshow-indicator "+(t?"active":"")},n)))},jI=function(t,r,n,o){return Me.cloneElement(o,wu({className:o.props.className+" "+(t?"active":""),key:r},n))},i8=function(t,r,n,o){var a=t.children,i=t.indicators,l=1;o?l=o==null?void 0:o.settings.slidesToScroll:"slidesToScroll"in t&&(l=t.slidesToScroll||1);var f=Math.ceil(Me.Children.count(a)/l);return Me.createElement("ul",{className:"indicators"},Array.from({length:f},function(g,m){var w={"data-key":m,"aria-label":"Go to slide "+(m+1),onClick:n},P=Math.floor((r+l-1)/l)===m;return typeof i=="function"?jI(P,m,w,i(m)):NI(P,m,w)}))},G0={duration:5e3,transitionDuration:1e3,defaultIndex:0,infinite:!0,autoplay:!0,indicators:!1,arrows:!0,pauseOnHover:!0,easing:"linear",canSwipe:!0,cssClass:"",responsive:[]},wb=Me.forwardRef(function(e,t){var r=F.useState(r8(e.children,e.defaultIndex)),n=r[0],o=r[1],a=F.useRef(null),i=F.useRef(null),l=F.useRef(new yb),f=F.useRef(),g=F.useRef(),m=F.useMemo(function(){return Me.Children.count(e.children)},[e.children]),w=F.useCallback(function(){if(i.current&&a.current){var k=a.current.clientWidth,T=k*m;i.current.style.width=T+"px";for(var E=0;E1&&(R||n0)return;d=be,ve-=d,g.current.style.transform=h+"(-"+ve+"px)"}}},D=function(){if(!(!e.infinite&&n===C-P)){var ae=H(n+P);pe(ae)}},$=function(){if(!(!e.infinite&&n===0)){var ae=n-P;ae%P&&(ae=Math.ceil(ae/P)*P),pe(ae)}},G=function(ae){var ge=ae.currentTarget;if(ge.dataset.key){var ve=parseInt(ge.dataset.key);X(ve*P)}},X=function(ae){pe(H(ae))},H=function(ae){return aeC&&(C-P)%P?C-P:ae},V=function(){u?se():e.pauseOnHover&&e.autoplay&&(y.current=setTimeout(D,e.duration))},B=function(ae){var ge=ae.currentTarget.dataset;ge.type==="next"?D():$()},q=function(){return Me.Children.toArray(e.children).slice(-O).map(function(ae,ge){return Me.createElement("div",{"data-index":ge-O,"aria-roledescription":"slide","aria-hidden":"true",key:ge-O},ae)})},Y=function(){if(!(!e.infinite&&O===P))return Me.Children.toArray(e.children).slice(0,O).map(function(ae,ge){return Me.createElement("div",{"data-index":C+ge,"aria-roledescription":"slide","aria-hidden":"true",key:C+ge},ae)})},ne=function(){var ae=e.vertical?"clientHeight":"clientWidth";e.vertical?g.current&&l(g.current.children[0][ae]):f.current&&l(f.current[ae])},ce=function(ae){e.canSwipe&&(window.TouchEvent&&ae.nativeEvent instanceof TouchEvent?s=ae.nativeEvent.touches[0][_]:s=ae.nativeEvent[v],clearTimeout(y.current),u=!0)},se=function(){e.canSwipe&&(u=!1,Math.abs(d)/i>.2?d<0?D():$():Math.abs(d)>0&&pe(n,300))},re=function le(){requestAnimationFrame(le),m.current.update()},pe=function(ae,ge){var ve=ge||e.transitionDuration,be=n,Pe=m.current.getAll();if(f.current){var Le=e.vertical?"clientHeight":"clientWidth",Xe=f.current[Le]/O;if(!Pe.length){clearTimeout(y.current);var mt={margin:-Xe*(be+oe())+d},ze=new t8(mt,m.current).to({margin:-Xe*(ae+oe())},ve).onUpdate(function(xt){g.current&&(g.current.style.transform=h+"("+xt.margin+"px)")});ze.easing(n8(e.easing)),re();var Ye=ae;Ye<0?Ye=C-P:Ye>=C&&(Ye=0),ze.onStart(function(){typeof e.onStartChange=="function"&&e.onStartChange(n,Ye)}),ze.onComplete(function(){d=0,typeof e.onChange=="function"&&e.onChange(n,Ye),o(Ye)}),ze.start()}}},ue=function(ae){return ae=n},oe=function(){return e.infinite?O:0},fe={transform:h+"(-"+(n+oe())*b+"px)"};return Me.createElement("div",{dir:"ltr","aria-roledescription":"carousel"},Me.createElement("div",{className:"react-slideshow-container",onMouseEnter:A,onMouseOver:A,onMouseLeave:V,onMouseDown:ce,onMouseUp:se,onMouseMove:N,onTouchStart:ce,onTouchEnd:se,onTouchCancel:se,onTouchMove:N},e.arrows&&o8(e,n,B),Me.createElement("div",{className:"react-slideshow-wrapper slide "+(e.cssClass||""),ref:f},Me.createElement("div",{className:"images-wrap "+(e.vertical?"vertical":"horizontal"),style:fe,ref:g},e.infinite&&q(),(Me.Children.map(e.children,function(le){return le})||[]).map(function(le,ae){var ge=ue(ae);return Me.createElement("div",{"data-index":ae,key:ae,className:ge?"active":"","aria-roledescription":"slide","aria-hidden":ge?"false":"true"},le)}),Y())),e.arrows&&a8(e,n,B)),!!e.indicators&&i8(e,n,G,w))});LI.defaultProps=G0;const zI="/assets/defaultImage-LEy8p1Wq.jpg",VI=()=>Q.jsx(Q.Fragment,{children:Q.jsxs("div",{className:"mb-4 mt-8 flex flex-col justify-evenly items-center h-[40vh] bg-[#858585] bg-opacity-10 shadow-gray-700 rounded-3xl]",children:[Q.jsx("h2",{className:"bg-gradient-to-r from-red-500 to-blue-500 text-transparent bg-clip-text laptop:text-[60px] font-mono p-4 md:text-[76px] sm:text-[46px] mobile:text-[28px] small_mobile:text-[25px] text-center",children:"Create Stunning Images with AI"}),Q.jsx("div",{className:"",children:Q.jsxs(Em,{to:"/generate_image",children:[" ",Q.jsx("h3",{className:"btn",children:"Get Started"})]})})]})});var _b={},l8={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(l8);var xb=l8.exports,Qh={};function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[r]=s8(e[r])}),t}function fo(e,t,r={clone:!0}){const n=r.clone?Ve({},e):e;return Sa(e)&&Sa(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Sa(t[o])&&o in e&&Sa(e[o])?n[o]=fo(e[o],t[o],r):r.clone?n[o]=Sa(t[o])?s8(t[o]):t[o]:n[o]=t[o])}),n}var u8={exports:{}},$I="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",UI=$I,WI=UI;function c8(){}function d8(){}d8.resetWarningCache=c8;var BI=function(){function e(n,o,a,i,l,f){if(f!==WI){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:d8,resetWarningCache:c8};return r.PropTypes=r,r};u8.exports=BI();var Ee=u8.exports;function hl(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rr==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function GI(e,t=166){let r;function n(...o){const a=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(a,t)}return n.clear=()=>{clearTimeout(r)},n}function qI(e,t){return()=>null}function KI(e,t){var r,n;return F.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function f8(e){return e&&e.ownerDocument||document}function XI(e){return f8(e).defaultView||window}function YI(e,t){return()=>null}function p8(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const ZI=typeof window<"u"?F.useLayoutEffect:F.useEffect,h8=ZI;let y3=0;function JI(e){const[t,r]=F.useState(e),n=e||t;return F.useEffect(()=>{t==null&&(y3+=1,r(`mui-${y3}`))},[t]),n}const w3=al.useId;function QI(e){if(w3!==void 0){const t=w3();return e??t}return JI(e)}function eN(e,t,r,n,o){return null}function tN({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=F.useRef(e!==void 0),[a,i]=F.useState(t),l=o?e:a,f=F.useCallback(g=>{o||i(g)},[]);return[l,f]}function rN(e){const t=F.useRef(e);return h8(()=>{t.current=e}),F.useRef((...r)=>(0,t.current)(...r)).current}function nN(...e){return F.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{p8(r,t)})},e)}class Cb{constructor(){this.currentId=0,this.clear=()=>{this.currentId!==0&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new Cb}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,r()},t)}}let q0=!0,Mm=!1;const oN=new Cb,aN={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function iN(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&aN[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function lN(e){e.metaKey||e.altKey||e.ctrlKey||(q0=!0)}function eg(){q0=!1}function sN(){this.visibilityState==="hidden"&&Mm&&(q0=!0)}function uN(e){e.addEventListener("keydown",lN,!0),e.addEventListener("mousedown",eg,!0),e.addEventListener("pointerdown",eg,!0),e.addEventListener("touchstart",eg,!0),e.addEventListener("visibilitychange",sN,!0)}function cN(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return q0||iN(t)}function dN(){const e=F.useCallback(o=>{o!=null&&uN(o.ownerDocument)},[]),t=F.useRef(!1);function r(){return t.current?(Mm=!0,oN.start(100,()=>{Mm=!1}),t.current=!1,!0):!1}function n(o){return cN(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function g8(e,t){const r=Ve({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=Ve({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},!a||!Object.keys(a)?r[n]=o:!o||!Object.keys(o)?r[n]=a:(r[n]=Ve({},a),Object.keys(o).forEach(i=>{r[n][i]=g8(o[i],a[i])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function fN(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((a,i)=>{if(i){const l=t(i);l!==""&&a.push(l),r&&r[i]&&a.push(r[i])}return a},[]).join(" ")}),n}const _3=e=>e,pN=()=>{let e=_3;return{configure(t){e=t},generate(t){return e(t)},reset(){e=_3}}},m8=pN(),hN={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function v8(e,t,r="Mui"){const n=hN[t];return n?`${r}-${n}`:`${m8.generate(e)}-${t}`}function gN(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=v8(e,o,r)}),n}function mN(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Yn(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a=0)&&(r[o]=e[o]);return r}function b8(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t0?qt(Dl,--kr):0,gl--,kt===10&&(gl=1,X0--),kt}function Lr(){return kt=kr2||xu(kt)>3?"":" "}function IN(e,t){for(;--t&&Lr()&&!(kt<48||kt>102||kt>57&&kt<65||kt>70&&kt<97););return Hu(e,Td()+(t<6&&qn()==32&&Lr()==32))}function Am(e){for(;Lr();)switch(kt){case e:return kr;case 34:case 39:e!==34&&e!==39&&Am(kt);break;case 40:e===41&&Am(e);break;case 92:Lr();break}return kr}function NN(e,t){for(;Lr()&&e+kt!==57;)if(e+kt===84&&qn()===47)break;return"/*"+Hu(t,kr-1)+"*"+K0(e===47?e:Lr())}function jN(e){for(;!xu(qn());)Lr();return Hu(e,kr)}function DN(e){return O8(kd("",null,null,null,[""],e=P8(e),0,[0],e))}function kd(e,t,r,n,o,a,i,l,f){for(var g=0,m=0,w=i,P=0,O=0,C=0,b=1,y=1,c=1,s=0,u="",d=o,h=a,v=n,_=u;y;)switch(C=s,s=Lr()){case 40:if(C!=108&&qt(_,w-1)==58){Rm(_+=Ke(Ed(s),"&","&\f"),"&\f")!=-1&&(c=-1);break}case 34:case 39:case 91:_+=Ed(s);break;case 9:case 10:case 13:case 32:_+=AN(C);break;case 92:_+=IN(Td()-1,7);continue;case 47:switch(qn()){case 42:case 47:td(FN(NN(Lr(),Td()),t,r),f);break;default:_+="/"}break;case 123*b:l[g++]=Vn(_)*c;case 125*b:case 59:case 0:switch(s){case 0:case 125:y=0;case 59+m:c==-1&&(_=Ke(_,/\f/g,"")),O>0&&Vn(_)-w&&td(O>32?C3(_+";",n,r,w-1):C3(Ke(_," ","")+";",n,r,w-2),f);break;case 59:_+=";";default:if(td(v=x3(_,t,r,g,m,o,l,u,d=[],h=[],w),a),s===123)if(m===0)kd(_,t,v,v,d,a,w,l,h);else switch(P===99&&qt(_,3)===110?100:P){case 100:case 108:case 109:case 115:kd(e,v,v,n&&td(x3(e,v,v,0,0,o,l,u,o,d=[],w),h),o,h,w,l,n?d:h);break;default:kd(_,v,v,v,[""],h,0,l,h)}}g=m=O=0,b=c=1,u=_="",w=i;break;case 58:w=1+Vn(_),O=C;default:if(b<1){if(s==123)--b;else if(s==125&&b++==0&&RN()==125)continue}switch(_+=K0(s),s*b){case 38:c=m>0?1:(_+="\f",-1);break;case 44:l[g++]=(Vn(_)-1)*c,c=1;break;case 64:qn()===45&&(_+=Ed(Lr())),P=qn(),m=w=Vn(u=_+=jN(Td())),s++;break;case 45:C===45&&Vn(_)==2&&(b=0)}}return a}function x3(e,t,r,n,o,a,i,l,f,g,m){for(var w=o-1,P=o===0?a:[""],O=Sb(P),C=0,b=0,y=0;C0?P[c]+" "+s:Ke(s,/&\f/g,P[c])))&&(f[y++]=u);return Y0(e,t,r,o===0?Pb:l,f,g,m)}function FN(e,t,r){return Y0(e,t,r,w8,K0(MN()),_u(e,2,-2),0)}function C3(e,t,r,n){return Y0(e,t,r,Ob,_u(e,0,n),_u(e,n+1,-1),n)}function Yi(e,t){for(var r="",n=Sb(e),o=0;o6)switch(qt(e,t+1)){case 109:if(qt(e,t+4)!==45)break;case 102:return Ke(e,/(.+:)(.+)-([^]+)/,"$1"+qe+"$2-$3$1"+Af+(qt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rm(e,"stretch")?S8(Ke(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qt(e,t+1)!==115)break;case 6444:switch(qt(e,Vn(e)-3-(~Rm(e,"!important")&&10))){case 107:return Ke(e,":",":"+qe)+e;case 101:return Ke(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+qe+(qt(e,14)===45?"inline-":"")+"box$3$1"+qe+"$2$3$1"+tr+"$2box$3")+e}break;case 5936:switch(qt(e,t+11)){case 114:return qe+e+tr+Ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qe+e+tr+Ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qe+e+tr+Ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return qe+e+tr+e+e}return e}var GN=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ob:t.return=S8(t.value,t.length);break;case _8:return Yi([bs(t,{value:Ke(t.value,"@","@"+qe)})],o);case Pb:if(t.length)return kN(t.props,function(a){switch(EN(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yi([bs(t,{props:[Ke(a,/:(read-\w+)/,":"+Af+"$1")]})],o);case"::placeholder":return Yi([bs(t,{props:[Ke(a,/:(plac\w+)/,":"+qe+"input-$1")]}),bs(t,{props:[Ke(a,/:(plac\w+)/,":"+Af+"$1")]}),bs(t,{props:[Ke(a,/:(plac\w+)/,tr+"input-$1")]})],o)}return""})}},qN=[GN],KN=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(b){var y=b.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var o=t.stylisPlugins||qN,a={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var y=b.getAttribute("data-emotion").split(" "),c=1;c=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var QN={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ej=/[A-Z]|^ms/g,tj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,E8=function(t){return t.charCodeAt(1)===45},O3=function(t){return t!=null&&typeof t!="boolean"},tg=y8(function(e){return E8(e)?e:e.replace(ej,"-$&").toLowerCase()}),S3=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(tj,function(n,o,a){return $n={name:o,styles:a,next:$n},o})}return QN[t]!==1&&!E8(t)&&typeof r=="number"&&r!==0?r+"px":r};function Cu(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return $n={name:r.name,styles:r.styles,next:$n},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)$n={name:n.name,styles:n.styles,next:$n},n=n.next;var o=r.styles+";";return o}return rj(e,t,r)}case"function":{if(e!==void 0){var a=$n,i=r(e);return $n=a,Cu(e,t,i)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function rj(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?sj:uj},k3=function(t,r,n){var o;if(r){var a=r.shouldForwardProp;o=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},cj=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return T8(r,n,o),ij(function(){return ZN(r,n,o)}),null},dj=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,a,i;r!==void 0&&(a=r.label,i=r.target);var l=k3(t,r,n),f=l||E3(o),g=!f("as");return function(){var m=arguments,w=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&w.push("label:"+a+";"),m[0]==null||m[0].raw===void 0)w.push.apply(w,m);else{w.push(m[0][0]);for(var P=m.length,O=1;O{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},gj=["values","unit","step"],mj=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>Ve({},r,{[n.key]:n.val}),{})};function vj(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Yn(e,gj),a=mj(t),i=Object.keys(a);function l(P){return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${r})`}function f(P){return`@media (max-width:${(typeof t[P]=="number"?t[P]:P)-n/100}${r})`}function g(P,O){const C=i.indexOf(O);return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${r}) and (max-width:${(C!==-1&&typeof t[i[C]]=="number"?t[i[C]]:O)-n/100}${r})`}function m(P){return i.indexOf(P)+1`@media (min-width:${Tb[e]}px)`};function _o(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const a=n.breakpoints||M3;return t.reduce((i,l,f)=>(i[a.up(a.keys[f])]=r(t[f]),i),{})}if(typeof t=="object"){const a=n.breakpoints||M3;return Object.keys(t).reduce((i,l)=>{if(Object.keys(a.values||Tb).indexOf(l)!==-1){const f=a.up(l);i[f]=r(t[l],l)}else{const f=l;i[f]=t[f]}return i},{})}return r(t)}function wj(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const a=e.up(o);return n[a]={},n},{}))||{}}function _j(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Z0(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function If(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Z0(e,r)||n,t&&(o=t(o,n,e)),o}function Et(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=i=>{if(i[t]==null)return null;const l=i[t],f=i.theme,g=Z0(f,n)||{};return _o(i,l,w=>{let P=If(g,o,w);return w===P&&typeof w=="string"&&(P=If(g,o,`${t}${w==="default"?"":$a(w)}`,w)),r===!1?P:{[r]:P}})};return a.propTypes={},a.filterProps=[t],a}function xj(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Cj={m:"margin",p:"padding"},Pj={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},R3={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Oj=xj(e=>{if(e.length>2)if(R3[e])e=R3[e];else return[e];const[t,r]=e.split(""),n=Cj[t],o=Pj[r]||"";return Array.isArray(o)?o.map(a=>n+a):[n+o]}),Eb=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],kb=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Eb,...kb];function Gu(e,t,r,n){var o;const a=(o=Z0(e,t,!1))!=null?o:r;return typeof a=="number"?i=>typeof i=="string"?i:a*i:Array.isArray(a)?i=>typeof i=="string"?i:a[i]:typeof a=="function"?a:()=>{}}function R8(e){return Gu(e,"spacing",8)}function qu(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Sj(e,t){return r=>e.reduce((n,o)=>(n[o]=qu(t,r),n),{})}function Tj(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Oj(r),a=Sj(o,n),i=e[r];return _o(e,i,a)}function A8(e,t){const r=R8(e.theme);return Object.keys(e).map(n=>Tj(e,t,n,r)).reduce(qs,{})}function Pt(e){return A8(e,Eb)}Pt.propTypes={};Pt.filterProps=Eb;function Ot(e){return A8(e,kb)}Ot.propTypes={};Ot.filterProps=kb;function Ej(e=8){if(e.mui)return e;const t=R8({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(a=>{const i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return r.mui=!0,r}function J0(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(a=>{n[a]=o}),n),{}),r=n=>Object.keys(n).reduce((o,a)=>t[a]?qs(o,t[a](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Qr(e){return typeof e!="number"?e:`${e}px solid`}function cn(e,t){return Et({prop:e,themeKey:"borders",transform:t})}const kj=cn("border",Qr),Mj=cn("borderTop",Qr),Rj=cn("borderRight",Qr),Aj=cn("borderBottom",Qr),Ij=cn("borderLeft",Qr),Nj=cn("borderColor"),jj=cn("borderTopColor"),Dj=cn("borderRightColor"),Fj=cn("borderBottomColor"),Lj=cn("borderLeftColor"),zj=cn("outline",Qr),Vj=cn("outlineColor"),Q0=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Gu(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:qu(t,n)});return _o(e,e.borderRadius,r)}return null};Q0.propTypes={};Q0.filterProps=["borderRadius"];J0(kj,Mj,Rj,Aj,Ij,Nj,jj,Dj,Fj,Lj,Q0,zj,Vj);const ep=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Gu(e.theme,"spacing",8),r=n=>({gap:qu(t,n)});return _o(e,e.gap,r)}return null};ep.propTypes={};ep.filterProps=["gap"];const tp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Gu(e.theme,"spacing",8),r=n=>({columnGap:qu(t,n)});return _o(e,e.columnGap,r)}return null};tp.propTypes={};tp.filterProps=["columnGap"];const rp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Gu(e.theme,"spacing",8),r=n=>({rowGap:qu(t,n)});return _o(e,e.rowGap,r)}return null};rp.propTypes={};rp.filterProps=["rowGap"];const $j=Et({prop:"gridColumn"}),Uj=Et({prop:"gridRow"}),Wj=Et({prop:"gridAutoFlow"}),Bj=Et({prop:"gridAutoColumns"}),Hj=Et({prop:"gridAutoRows"}),Gj=Et({prop:"gridTemplateColumns"}),qj=Et({prop:"gridTemplateRows"}),Kj=Et({prop:"gridTemplateAreas"}),Xj=Et({prop:"gridArea"});J0(ep,tp,rp,$j,Uj,Wj,Bj,Hj,Gj,qj,Kj,Xj);function Zi(e,t){return t==="grey"?t:e}const Yj=Et({prop:"color",themeKey:"palette",transform:Zi}),Zj=Et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zi}),Jj=Et({prop:"backgroundColor",themeKey:"palette",transform:Zi});J0(Yj,Zj,Jj);function jr(e){return e<=1&&e!==0?`${e*100}%`:e}const Qj=Et({prop:"width",transform:jr}),Mb=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const a=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Tb[r];return a?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:jr(r)}};return _o(e,e.maxWidth,t)}return null};Mb.filterProps=["maxWidth"];const eD=Et({prop:"minWidth",transform:jr}),tD=Et({prop:"height",transform:jr}),rD=Et({prop:"maxHeight",transform:jr}),nD=Et({prop:"minHeight",transform:jr});Et({prop:"size",cssProperty:"width",transform:jr});Et({prop:"size",cssProperty:"height",transform:jr});const oD=Et({prop:"boxSizing"});J0(Qj,Mb,eD,tD,rD,nD,oD);const aD={border:{themeKey:"borders",transform:Qr},borderTop:{themeKey:"borders",transform:Qr},borderRight:{themeKey:"borders",transform:Qr},borderBottom:{themeKey:"borders",transform:Qr},borderLeft:{themeKey:"borders",transform:Qr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Q0},color:{themeKey:"palette",transform:Zi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zi},backgroundColor:{themeKey:"palette",transform:Zi},p:{style:Ot},pt:{style:Ot},pr:{style:Ot},pb:{style:Ot},pl:{style:Ot},px:{style:Ot},py:{style:Ot},padding:{style:Ot},paddingTop:{style:Ot},paddingRight:{style:Ot},paddingBottom:{style:Ot},paddingLeft:{style:Ot},paddingX:{style:Ot},paddingY:{style:Ot},paddingInline:{style:Ot},paddingInlineStart:{style:Ot},paddingInlineEnd:{style:Ot},paddingBlock:{style:Ot},paddingBlockStart:{style:Ot},paddingBlockEnd:{style:Ot},m:{style:Pt},mt:{style:Pt},mr:{style:Pt},mb:{style:Pt},ml:{style:Pt},mx:{style:Pt},my:{style:Pt},margin:{style:Pt},marginTop:{style:Pt},marginRight:{style:Pt},marginBottom:{style:Pt},marginLeft:{style:Pt},marginX:{style:Pt},marginY:{style:Pt},marginInline:{style:Pt},marginInlineStart:{style:Pt},marginInlineEnd:{style:Pt},marginBlock:{style:Pt},marginBlockStart:{style:Pt},marginBlockEnd:{style:Pt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ep},rowGap:{style:rp},columnGap:{style:tp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:jr},maxWidth:{style:Mb},minWidth:{transform:jr},height:{transform:jr},maxHeight:{transform:jr},minHeight:{transform:jr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Rb=aD;function iD(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function lD(e,t){return typeof e=="function"?e(t):e}function sD(){function e(r,n,o,a){const i={[r]:n,theme:o},l=a[r];if(!l)return{[r]:n};const{cssProperty:f=r,themeKey:g,transform:m,style:w}=l;if(n==null)return null;if(g==="typography"&&n==="inherit")return{[r]:n};const P=Z0(o,g)||{};return w?w(i):_o(i,n,C=>{let b=If(P,m,C);return C===b&&typeof C=="string"&&(b=If(P,m,`${r}${C==="default"?"":$a(C)}`,C)),f===!1?b:{[f]:b}})}function t(r){var n;const{sx:o,theme:a={}}=r||{};if(!o)return null;const i=(n=a.unstable_sxConfig)!=null?n:Rb;function l(f){let g=f;if(typeof f=="function")g=f(a);else if(typeof f!="object")return f;if(!g)return null;const m=wj(a.breakpoints),w=Object.keys(m);let P=m;return Object.keys(g).forEach(O=>{const C=lD(g[O],a);if(C!=null)if(typeof C=="object")if(i[O])P=qs(P,e(O,C,a,i));else{const b=_o({theme:a},C,y=>({[O]:y}));iD(b,C)?P[O]=t({sx:C,theme:a}):P=qs(P,b)}else P=qs(P,e(O,C,a,i))}),_j(w,P)}return Array.isArray(o)?o.map(l):l(o)}return t}const np=sD();np.filterProps=["sx"];function uD(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const cD=["breakpoints","palette","spacing","shape"];function Ab(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={}}=e,i=Yn(e,cD),l=vj(r),f=Ej(o);let g=fo({breakpoints:l,direction:"ltr",components:{},palette:Ve({mode:"light"},n),spacing:f,shape:Ve({},yj,a)},i);return g.applyStyles=uD,g=t.reduce((m,w)=>fo(m,w),g),g.unstable_sxConfig=Ve({},Rb,i==null?void 0:i.unstable_sxConfig),g.unstable_sx=function(w){return np({sx:w,theme:this})},g}function dD(e){return Object.keys(e).length===0}function fD(e=null){const t=F.useContext(M8);return!t||dD(t)?e:t}const pD=Ab();function hD(e=pD){return fD(e)}const gD=["ownerState"],mD=["variants"],vD=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function bD(e){return Object.keys(e).length===0}function yD(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Md(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const wD=Ab(),_D=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function rd({defaultTheme:e,theme:t,themeId:r}){return bD(t)?e:t[r]||t}function xD(e){return e?(t,r)=>r[e]:null}function Rd(e,t){let{ownerState:r}=t,n=Yn(t,gD);const o=typeof e=="function"?e(Ve({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>Rd(a,Ve({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let l=Yn(o,mD);return a.forEach(f=>{let g=!0;typeof f.props=="function"?g=f.props(Ve({ownerState:r},n)):Object.keys(f.props).forEach(m=>{(r==null?void 0:r[m])!==f.props[m]&&n[m]!==f.props[m]&&(g=!1)}),g&&(Array.isArray(l)||(l=[l]),l.push(typeof f.style=="function"?f.style(Ve({ownerState:r},n)):f.style))}),l}return o}function CD(e={}){const{themeId:t,defaultTheme:r=wD,rootShouldForwardProp:n=Md,slotShouldForwardProp:o=Md}=e,a=i=>np(Ve({},i,{theme:rd(Ve({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,l={})=>{hj(i,h=>h.filter(v=>!(v!=null&&v.__mui_systemSx)));const{name:f,slot:g,skipVariantsResolver:m,skipSx:w,overridesResolver:P=xD(_D(g))}=l,O=Yn(l,vD),C=m!==void 0?m:g&&g!=="Root"&&g!=="root"||!1,b=w||!1;let y,c=Md;g==="Root"||g==="root"?c=n:g?c=o:yD(i)&&(c=void 0);const s=pj(i,Ve({shouldForwardProp:c,label:y},O)),u=h=>typeof h=="function"&&h.__emotion_real!==h||Sa(h)?v=>Rd(h,Ve({},v,{theme:rd({theme:v.theme,defaultTheme:r,themeId:t})})):h,d=(h,...v)=>{let _=u(h);const k=v?v.map(u):[];f&&P&&k.push(R=>{const A=rd(Ve({},R,{defaultTheme:r,themeId:t}));if(!A.components||!A.components[f]||!A.components[f].styleOverrides)return null;const N=A.components[f].styleOverrides,D={};return Object.entries(N).forEach(([$,G])=>{D[$]=Rd(G,Ve({},R,{theme:A}))}),P(R,D)}),f&&!C&&k.push(R=>{var A;const N=rd(Ve({},R,{defaultTheme:r,themeId:t})),D=N==null||(A=N.components)==null||(A=A[f])==null?void 0:A.variants;return Rd({variants:D},Ve({},R,{theme:N}))}),b||k.push(a);const T=k.length-v.length;if(Array.isArray(h)&&T>0){const R=new Array(T).fill("");_=[...h,...R],_.raw=[...h.raw,...R]}const E=s(_,...k);return i.muiName&&(E.muiName=i.muiName),E};return s.withConfig&&(d.withConfig=s.withConfig),d}}function PD(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:g8(t.components[r].defaultProps,n)}function OD({props:e,name:t,defaultTheme:r,themeId:n}){let o=hD(r);return n&&(o=o[n]||o),PD({theme:o,name:t,props:e})}function I8(e,t=0,r=1){return mN(e,t,r)}function SD(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ml(e){if(e.type)return e;if(e.charAt(0)==="#")return ml(SD(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(hl(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(hl(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}function Ib(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function TD(e){e=ml(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(g,m=(g+r/30)%12)=>o-a*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const f=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",f.push(t[3])),Ib({type:l,values:f})}function A3(e){e=ml(e);let t=e.type==="hsl"||e.type==="hsla"?ml(TD(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ED(e,t){const r=A3(e),n=A3(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function kD(e,t){if(e=ml(e),t=I8(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ib(e)}function MD(e,t){if(e=ml(e),t=I8(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ib(e)}function RD(e,t){return Ve({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const AD={black:"#000",white:"#fff"},Pu=AD,ID={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ND=ID,jD={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},bi=jD,DD={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},yi=DD,FD={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ys=FD,LD={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},wi=LD,zD={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},_i=zD,VD={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},xi=VD,$D=["mode","contrastThreshold","tonalOffset"],I3={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Pu.white,default:Pu.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},rg={text:{primary:Pu.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Pu.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function N3(e,t,r,n){const o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=MD(e.main,o):t==="dark"&&(e.dark=kD(e.main,a)))}function UD(e="light"){return e==="dark"?{main:wi[200],light:wi[50],dark:wi[400]}:{main:wi[700],light:wi[400],dark:wi[800]}}function WD(e="light"){return e==="dark"?{main:bi[200],light:bi[50],dark:bi[400]}:{main:bi[500],light:bi[300],dark:bi[700]}}function BD(e="light"){return e==="dark"?{main:yi[500],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[400],dark:yi[800]}}function HD(e="light"){return e==="dark"?{main:_i[400],light:_i[300],dark:_i[700]}:{main:_i[700],light:_i[500],dark:_i[900]}}function GD(e="light"){return e==="dark"?{main:xi[400],light:xi[300],dark:xi[700]}:{main:xi[800],light:xi[500],dark:xi[900]}}function qD(e="light"){return e==="dark"?{main:ys[400],light:ys[300],dark:ys[700]}:{main:"#ed6c02",light:ys[500],dark:ys[900]}}function KD(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Yn(e,$D),a=e.primary||UD(t),i=e.secondary||WD(t),l=e.error||BD(t),f=e.info||HD(t),g=e.success||GD(t),m=e.warning||qD(t);function w(b){return ED(b,rg.text.primary)>=r?rg.text.primary:I3.text.primary}const P=({color:b,name:y,mainShade:c=500,lightShade:s=300,darkShade:u=700})=>{if(b=Ve({},b),!b.main&&b[c]&&(b.main=b[c]),!b.hasOwnProperty("main"))throw new Error(hl(11,y?` (${y})`:"",c));if(typeof b.main!="string")throw new Error(hl(12,y?` (${y})`:"",JSON.stringify(b.main)));return N3(b,"light",s,n),N3(b,"dark",u,n),b.contrastText||(b.contrastText=w(b.main)),b},O={dark:rg,light:I3};return fo(Ve({common:Ve({},Pu),mode:t,primary:P({color:a,name:"primary"}),secondary:P({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:l,name:"error"}),warning:P({color:m,name:"warning"}),info:P({color:f,name:"info"}),success:P({color:g,name:"success"}),grey:ND,contrastThreshold:r,getContrastText:w,augmentColor:P,tonalOffset:n},O[t]),o)}const XD=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function YD(e){return Math.round(e*1e5)/1e5}const j3={textTransform:"uppercase"},D3='"Roboto", "Helvetica", "Arial", sans-serif';function ZD(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=D3,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:f=700,htmlFontSize:g=16,allVariants:m,pxToRem:w}=r,P=Yn(r,XD),O=o/14,C=w||(c=>`${c/g*O}rem`),b=(c,s,u,d,h)=>Ve({fontFamily:n,fontWeight:c,fontSize:C(s),lineHeight:u},n===D3?{letterSpacing:`${YD(d/s)}em`}:{},h,m),y={h1:b(a,96,1.167,-1.5),h2:b(a,60,1.2,-.5),h3:b(i,48,1.167,0),h4:b(i,34,1.235,.25),h5:b(i,24,1.334,0),h6:b(l,20,1.6,.15),subtitle1:b(i,16,1.75,.15),subtitle2:b(l,14,1.57,.1),body1:b(i,16,1.5,.15),body2:b(i,14,1.43,.15),button:b(l,14,1.75,.4,j3),caption:b(i,12,1.66,.4),overline:b(i,12,2.66,1,j3),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return fo(Ve({htmlFontSize:g,pxToRem:C,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:f},y),P,{clone:!1})}const JD=.2,QD=.14,eF=.12;function ft(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${JD})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${QD})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${eF})`].join(",")}const tF=["none",ft(0,2,1,-1,0,1,1,0,0,1,3,0),ft(0,3,1,-2,0,2,2,0,0,1,5,0),ft(0,3,3,-2,0,3,4,0,0,1,8,0),ft(0,2,4,-1,0,4,5,0,0,1,10,0),ft(0,3,5,-1,0,5,8,0,0,1,14,0),ft(0,3,5,-1,0,6,10,0,0,1,18,0),ft(0,4,5,-2,0,7,10,1,0,2,16,1),ft(0,5,5,-3,0,8,10,1,0,3,14,2),ft(0,5,6,-3,0,9,12,1,0,3,16,2),ft(0,6,6,-3,0,10,14,1,0,4,18,3),ft(0,6,7,-4,0,11,15,1,0,4,20,3),ft(0,7,8,-4,0,12,17,2,0,5,22,4),ft(0,7,8,-4,0,13,19,2,0,5,24,4),ft(0,7,9,-4,0,14,21,2,0,5,26,4),ft(0,8,9,-5,0,15,22,2,0,6,28,5),ft(0,8,10,-5,0,16,24,2,0,6,30,5),ft(0,8,11,-5,0,17,26,2,0,6,32,5),ft(0,9,11,-5,0,18,28,2,0,7,34,6),ft(0,9,12,-6,0,19,29,2,0,7,36,6),ft(0,10,13,-6,0,20,31,3,0,8,38,7),ft(0,10,13,-6,0,21,33,3,0,8,40,7),ft(0,10,14,-6,0,22,35,3,0,8,42,7),ft(0,11,14,-7,0,23,36,3,0,9,44,8),ft(0,11,15,-7,0,24,38,3,0,9,46,8)],rF=["duration","easing","delay"],nF={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},oF={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function F3(e){return`${Math.round(e)}ms`}function aF(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function iF(e){const t=Ve({},nF,e.easing),r=Ve({},oF,e.duration);return Ve({getAutoHeightDuration:aF,create:(o=["all"],a={})=>{const{duration:i=r.standard,easing:l=t.easeInOut,delay:f=0}=a;return Yn(a,rF),(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof i=="string"?i:F3(i)} ${l} ${typeof f=="string"?f:F3(f)}`).join(",")}},e,{easing:t,duration:r})}const lF={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},sF=lF,uF=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function cF(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,i=Yn(e,uF);if(e.vars)throw new Error(hl(18));const l=KD(n),f=Ab(e);let g=fo(f,{mixins:RD(f.breakpoints,r),palette:l,shadows:tF.slice(),typography:ZD(l,a),transitions:iF(o),zIndex:Ve({},sF)});return g=fo(g,i),g=t.reduce((m,w)=>fo(m,w),g),g.unstable_sxConfig=Ve({},Rb,i==null?void 0:i.unstable_sxConfig),g.unstable_sx=function(w){return np({sx:w,theme:this})},g}const dF=cF(),N8=dF,j8="$$material";function fF({props:e,name:t}){return OD({props:e,name:t,defaultTheme:N8,themeId:j8})}const pF=e=>Md(e)&&e!=="classes",hF=CD({themeId:j8,defaultTheme:N8,rootShouldForwardProp:pF});function gF(e){return v8("MuiSvgIcon",e)}gN("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const mF=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],vF=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${$a(t)}`,`fontSize${$a(r)}`]};return fN(o,gF,n)},bF=hF("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${$a(r.color)}`],t[`fontSize${$a(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,a,i,l,f,g,m,w,P,O,C;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((a=e.typography)==null||(i=a.pxToRem)==null?void 0:i.call(a,20))||"1.25rem",medium:((l=e.typography)==null||(f=l.pxToRem)==null?void 0:f.call(l,24))||"1.5rem",large:((g=e.typography)==null||(m=g.pxToRem)==null?void 0:m.call(g,35))||"2.1875rem"}[t.fontSize],color:(w=(P=(e.vars||e).palette)==null||(P=P[t.color])==null?void 0:P.main)!=null?w:{action:(O=(e.vars||e).palette)==null||(O=O.action)==null?void 0:O.active,disabled:(C=(e.vars||e).palette)==null||(C=C.action)==null?void 0:C.disabled,inherit:void 0}[t.color]}}),Nm=F.forwardRef(function(t,r){const n=fF({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:i="inherit",component:l="svg",fontSize:f="medium",htmlColor:g,inheritViewBox:m=!1,titleAccess:w,viewBox:P="0 0 24 24"}=n,O=Yn(n,mF),C=F.isValidElement(o)&&o.type==="svg",b=Ve({},n,{color:i,component:l,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:P,hasSvgAsChild:C}),y={};m||(y.viewBox=P);const c=vF(b);return Q.jsxs(bF,Ve({as:l,className:vN(c.root,a),focusable:"false",color:g,"aria-hidden":w?void 0:!0,role:w?"img":void 0,ref:r},y,O,C&&o.props,{ownerState:b,children:[C?o.props.children:o,w?Q.jsx("title",{children:w}):null]}))});Nm.muiName="SvgIcon";function yF(e,t){function r(n,o){return Q.jsx(Nm,Ve({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=Nm.muiName,F.memo(F.forwardRef(r))}const wF={configure:e=>{m8.configure(e)}},_F=Object.freeze(Object.defineProperty({__proto__:null,capitalize:$a,createChainedFunction:HI,createSvgIcon:yF,debounce:GI,deprecatedPropType:qI,isMuiElement:KI,ownerDocument:f8,ownerWindow:XI,requirePropFactory:YI,setRef:p8,unstable_ClassNameGenerator:wF,unstable_useEnhancedEffect:h8,unstable_useId:QI,unsupportedProp:eN,useControlled:tN,useEventCallback:rN,useForkRef:nN,useIsFocusVisible:dN},Symbol.toStringTag,{value:"Module"})),xF=Rl(_F);var L3;function Nb(){return L3||(L3=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=xF}(Qh)),Qh}var CF=xb;Object.defineProperty(_b,"__esModule",{value:!0});var D8=_b.default=void 0,PF=CF(Nb()),OF=Q;D8=_b.default=(0,PF.default)((0,OF.jsx)("path",{d:"M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66.19-.34.05-.08.07-.12C8.48 10.94 10.42 7.54 13 3h1l-1 7h3.5c.49 0 .56.33.47.51l-.07.15C12.96 17.55 11 21 11 21"}),"Bolt");var jb={},SF=xb;Object.defineProperty(jb,"__esModule",{value:!0});var F8=jb.default=void 0,TF=SF(Nb()),z3=Q;F8=jb.default=(0,TF.default)([(0,z3.jsx)("path",{d:"M13 8.57c-.79 0-1.43.64-1.43 1.43s.64 1.43 1.43 1.43 1.43-.64 1.43-1.43-.64-1.43-1.43-1.43"},"0"),(0,z3.jsx)("path",{d:"M13 3C9.25 3 6.2 5.94 6.02 9.64L4.1 12.2c-.25.33-.01.8.4.8H6v3c0 1.1.9 2 2 2h1v3h7v-4.68c2.36-1.12 4-3.53 4-6.32 0-3.87-3.13-7-7-7m3 7c0 .13-.01.26-.02.39l.83.66c.08.06.1.16.05.25l-.8 1.39c-.05.09-.16.12-.24.09l-.99-.4c-.21.16-.43.29-.67.39L14 13.83c-.01.1-.1.17-.2.17h-1.6c-.1 0-.18-.07-.2-.17l-.15-1.06c-.25-.1-.47-.23-.68-.39l-.99.4c-.09.03-.2 0-.25-.09l-.8-1.39c-.05-.08-.03-.19.05-.25l.84-.66c-.01-.13-.02-.26-.02-.39s.02-.27.04-.39l-.85-.66c-.08-.06-.1-.16-.05-.26l.8-1.38c.05-.09.15-.12.24-.09l1 .4c.2-.15.43-.29.67-.39L12 6.17c.02-.1.1-.17.2-.17h1.6c.1 0 .18.07.2.17l.15 1.06c.24.1.46.23.67.39l1-.4c.09-.03.2 0 .24.09l.8 1.38c.05.09.03.2-.05.26l-.85.66c.03.12.04.25.04.39"},"1")],"Psychology");var Db={},EF=xb;Object.defineProperty(Db,"__esModule",{value:!0});var L8=Db.default=void 0,kF=EF(Nb()),MF=Q;L8=Db.default=(0,kF.default)((0,MF.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16"}),"MonetizationOn");const RF=()=>{const e=[{icon:Q.jsx(D8,{fontSize:"large"}),title:"Fast and Easy",description:"Create stunning images in seconds."},{icon:Q.jsx(F8,{fontSize:"large"}),title:"AI Powered",description:"We use OpenAI's GPT-3 to generate images."},{icon:Q.jsx(L8,{fontSize:"large"}),title:"Free to Use",description:" Our tool is free to use and you can create unlimited images."}];return Q.jsx("div",{className:"flex rounded-[3000px] items-center justify-between pt-8 sm:flex-row mobile:flex-col mobile:gap-5 ",children:e.map((t,r)=>Q.jsxs("div",{className:"flex flex-col justify-around items-center h-60 bg-[#858585] bg-opacity-10 shadow-gray-700 rounded-xl mobile:w-screen md:w-[320px] lg:w-[400px]",children:[Q.jsx("h2",{className:"bg-gradient-to-r from-red-500 to-blue-500 text-transparent bg-clip-text laptop:text-[40px] font-mono p-4 md:text-[76px] sm:text-[46px] mobile:text-[28px] small_mobile:text-[25px] text-center",children:t.title}),Q.jsx("div",{className:"flex justify-center items-center",children:t.icon}),Q.jsx("div",{className:"",children:Q.jsx("h3",{className:"w-auto m-auto text-center",children:t.description})})]},r))})},AF=()=>Q.jsx("section",{className:"py-12 bg-none sm:py-16 lg:py-20",children:Q.jsx("div",{className:"px-4 mx-auto max-w-7xl sm:px-6 lg:px-8",children:Q.jsxs("div",{className:"flex flex-col items-center",children:[Q.jsxs("div",{className:"text-center",children:[Q.jsx("p",{className:"text-lg font-medium text-gray-600 font-pj",children:"2,157 people have said how good Rareblocks"}),Q.jsx("h2",{className:"mt-4 text-3xl font-bold text-gray-900 sm:text-4xl xl:text-5xl font-pj",children:"Our happy clients say about us"})]}),Q.jsx("div",{className:"mt-8 text-center md:mt-16 md:order-3",children:Q.jsx("a",{href:"#",title:"",className:"pb-2 text-base font-bold leading-7 text-gray-900 transition-all duration-200 border-b-2 border-gray-900 hover:border-gray-600 font-pj focus:outline-none focus:ring-1 focus:ring-gray-900 focus:ring-offset-2 hover:text-gray-600",children:" Check all 2,157 reviews "})}),Q.jsxs("div",{className:"relative mt-10 md:mt-24 md:order-2",children:[Q.jsx("div",{className:"absolute -inset-x-1 inset-y-16 md:-inset-x-2 md:-inset-y-6",children:Q.jsx("div",{className:"w-full h-full max-w-5xl mx-auto rounded-3xl opacity-30 blur-lg filter",style:{background:"linear-gradient(90deg, #44ff9a -0.55%, #44b0ff 22.86%, #8b44ff 48.36%, #ff6644 73.33%, #ebff70 99.34%)"}})}),Q.jsxs("div",{className:"relative grid max-w-lg grid-cols-1 gap-6 mx-auto md:max-w-none lg:gap-10 md:grid-cols-3",children:[Q.jsx("div",{className:"flex flex-col overflow-hidden shadow-xl",children:Q.jsxs("div",{className:"flex flex-col justify-between flex-1 p-6 bg-[#858585] bg-opacity-10 lg:py-8 lg:px-7",children:[Q.jsxs("div",{className:"flex-1",children:[Q.jsxs("div",{className:"flex items-center",children:[Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})})]}),Q.jsx("blockquote",{className:"flex-1 mt-8",children:Q.jsx("p",{className:"text-lg leading-relaxed text-gray-900 font-pj",children:"“You made it so simple. My new site is so much faster and easier to work with than my old site. I just choose the page, make the change.”"})})]}),Q.jsxs("div",{className:"flex items-center mt-8",children:[Q.jsx("img",{className:"flex-shrink-0 object-cover rounded-full w-11 h-11",src:"https://cdn.rareblocks.xyz/collection/clarity/images/testimonial/4/avatar-male-1.png",alt:""}),Q.jsxs("div",{className:"ml-4",children:[Q.jsx("p",{className:"text-base font-bold text-gray-900 font-pj",children:"Leslie Alexander"}),Q.jsx("p",{className:"mt-0.5 text-sm font-pj text-gray-600",children:"Freelance React Developer"})]})]})]})}),Q.jsx("div",{className:"flex flex-col overflow-hidden shadow-xl",children:Q.jsxs("div",{className:"flex flex-col justify-between flex-1 p-6 bg-[#858585] bg-opacity-10 lg:py-8 lg:px-7",children:[Q.jsxs("div",{className:"flex-1",children:[Q.jsxs("div",{className:"flex items-center",children:[Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})})]}),Q.jsx("blockquote",{className:"flex-1 mt-8",children:Q.jsx("p",{className:"text-lg leading-relaxed text-gray-900 font-pj",children:"“Simply the best. Better than all the rest. I’d recommend this product to beginners and advanced users.”"})})]}),Q.jsxs("div",{className:"flex items-center mt-8",children:[Q.jsx("img",{className:"flex-shrink-0 object-cover rounded-full w-11 h-11",src:"https://cdn.rareblocks.xyz/collection/clarity/images/testimonial/4/avatar-male-2.png",alt:""}),Q.jsxs("div",{className:"ml-4",children:[Q.jsx("p",{className:"text-base font-bold text-gray-900 font-pj",children:"Jacob Jones"}),Q.jsx("p",{className:"mt-0.5 text-sm font-pj text-gray-600",children:"Digital Marketer"})]})]})]})}),Q.jsx("div",{className:"flex flex-col overflow-hidden shadow-xl",children:Q.jsxs("div",{className:"flex flex-col justify-between flex-1 p-6 bg-[#858585] bg-opacity-10 lg:py-8 lg:px-7",children:[Q.jsxs("div",{className:"flex-1",children:[Q.jsxs("div",{className:"flex items-center",children:[Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Q.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Q.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})})]}),Q.jsx("blockquote",{className:"flex-1 mt-8",children:Q.jsx("p",{className:"text-lg leading-relaxed text-gray-900 font-pj",children:"“I cannot believe that I have got a brand new landing page after getting Omega. It was super easy to edit and publish.”"})})]}),Q.jsxs("div",{className:"flex items-center mt-8",children:[Q.jsx("img",{className:"flex-shrink-0 object-cover rounded-full w-11 h-11",src:"https://cdn.rareblocks.xyz/collection/clarity/images/testimonial/4/avatar-female.png",alt:""}),Q.jsxs("div",{className:"ml-4",children:[Q.jsx("p",{className:"text-base font-bold text-gray-900 font-pj",children:"Jenny Wilson"}),Q.jsx("p",{className:"mt-0.5 text-sm font-pj text-gray-600",children:"Graphic Designer"})]})]})]})})]})]})]})})}),IF=()=>Q.jsxs(Q.Fragment,{children:[Q.jsx(VI,{}),Q.jsx(RF,{}),Q.jsx(AF,{})]});function z8(e,t){return function(){return e.apply(t,arguments)}}const{toString:NF}=Object.prototype,{getPrototypeOf:Fb}=Object,op=(e=>t=>{const r=NF.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Qn=e=>(e=e.toLowerCase(),t=>op(t)===e),ap=e=>t=>typeof t===e,{isArray:Fl}=Array,Ou=ap("undefined");function jF(e){return e!==null&&!Ou(e)&&e.constructor!==null&&!Ou(e.constructor)&&on(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const V8=Qn("ArrayBuffer");function DF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&V8(e.buffer),t}const FF=ap("string"),on=ap("function"),$8=ap("number"),ip=e=>e!==null&&typeof e=="object",LF=e=>e===!0||e===!1,Ad=e=>{if(op(e)!=="object")return!1;const t=Fb(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},zF=Qn("Date"),VF=Qn("File"),$F=Qn("Blob"),UF=Qn("FileList"),WF=e=>ip(e)&&on(e.pipe),BF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||on(e.append)&&((t=op(e))==="formdata"||t==="object"&&on(e.toString)&&e.toString()==="[object FormData]"))},HF=Qn("URLSearchParams"),GF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ku(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),Fl(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}const W8=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,B8=e=>!Ou(e)&&e!==W8;function jm(){const{caseless:e}=B8(this)&&this||{},t={},r=(n,o)=>{const a=e&&U8(t,o)||o;Ad(t[a])&&Ad(n)?t[a]=jm(t[a],n):Ad(n)?t[a]=jm({},n):Fl(n)?t[a]=n.slice():t[a]=n};for(let n=0,o=arguments.length;n(Ku(t,(o,a)=>{r&&on(o)?e[a]=z8(o,r):e[a]=o},{allOwnKeys:n}),e),KF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),XF=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},YF=(e,t,r,n)=>{let o,a,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=r!==!1&&Fb(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},ZF=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},JF=e=>{if(!e)return null;if(Fl(e))return e;let t=e.length;if(!$8(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},QF=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Fb(Uint8Array)),eL=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},tL=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},rL=Qn("HTMLFormElement"),nL=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),V3=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),oL=Qn("RegExp"),H8=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Ku(r,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(n[a]=i||o)}),Object.defineProperties(e,n)},aL=e=>{H8(e,(t,r)=>{if(on(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(on(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},iL=(e,t)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return Fl(e)?n(e):n(String(e).split(t)),r},lL=()=>{},sL=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ng="abcdefghijklmnopqrstuvwxyz",$3="0123456789",G8={DIGIT:$3,ALPHA:ng,ALPHA_DIGIT:ng+ng.toUpperCase()+$3},uL=(e=16,t=G8.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function cL(e){return!!(e&&on(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const dL=e=>{const t=new Array(10),r=(n,o)=>{if(ip(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const a=Fl(n)?[]:{};return Ku(n,(i,l)=>{const f=r(i,o+1);!Ou(f)&&(a[l]=f)}),t[o]=void 0,a}}return n};return r(e,0)},fL=Qn("AsyncFunction"),pL=e=>e&&(ip(e)||on(e))&&on(e.then)&&on(e.catch),de={isArray:Fl,isArrayBuffer:V8,isBuffer:jF,isFormData:BF,isArrayBufferView:DF,isString:FF,isNumber:$8,isBoolean:LF,isObject:ip,isPlainObject:Ad,isUndefined:Ou,isDate:zF,isFile:VF,isBlob:$F,isRegExp:oL,isFunction:on,isStream:WF,isURLSearchParams:HF,isTypedArray:QF,isFileList:UF,forEach:Ku,merge:jm,extend:qF,trim:GF,stripBOM:KF,inherits:XF,toFlatObject:YF,kindOf:op,kindOfTest:Qn,endsWith:ZF,toArray:JF,forEachEntry:eL,matchAll:tL,isHTMLForm:rL,hasOwnProperty:V3,hasOwnProp:V3,reduceDescriptors:H8,freezeMethods:aL,toObjectSet:iL,toCamelCase:nL,noop:lL,toFiniteNumber:sL,findKey:U8,global:W8,isContextDefined:B8,ALPHABET:G8,generateString:uL,isSpecCompliantForm:cL,toJSONObject:dL,isAsyncFn:fL,isThenable:pL};function Be(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}de.inherits(Be,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const q8=Be.prototype,K8={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{K8[e]={value:e}});Object.defineProperties(Be,K8);Object.defineProperty(q8,"isAxiosError",{value:!0});Be.from=(e,t,r,n,o,a)=>{const i=Object.create(q8);return de.toFlatObject(e,i,function(f){return f!==Error.prototype},l=>l!=="isAxiosError"),Be.call(i,e.message,t,r,n,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const hL=null;function Dm(e){return de.isPlainObject(e)||de.isArray(e)}function X8(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function U3(e,t,r){return e?e.concat(t).map(function(o,a){return o=X8(o),!r&&a?"["+o+"]":o}).join(r?".":""):t}function gL(e){return de.isArray(e)&&!e.some(Dm)}const mL=de.toFlatObject(de,{},null,function(t){return/^is[A-Z]/.test(t)});function lp(e,t,r){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=de.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,y){return!de.isUndefined(y[b])});const n=r.metaTokens,o=r.visitor||m,a=r.dots,i=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&de.isSpecCompliantForm(t);if(!de.isFunction(o))throw new TypeError("visitor must be a function");function g(C){if(C===null)return"";if(de.isDate(C))return C.toISOString();if(!f&&de.isBlob(C))throw new Be("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(C)||de.isTypedArray(C)?f&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function m(C,b,y){let c=C;if(C&&!y&&typeof C=="object"){if(de.endsWith(b,"{}"))b=n?b:b.slice(0,-2),C=JSON.stringify(C);else if(de.isArray(C)&&gL(C)||(de.isFileList(C)||de.endsWith(b,"[]"))&&(c=de.toArray(C)))return b=X8(b),c.forEach(function(u,d){!(de.isUndefined(u)||u===null)&&t.append(i===!0?U3([b],d,a):i===null?b:b+"[]",g(u))}),!1}return Dm(C)?!0:(t.append(U3(y,b,a),g(C)),!1)}const w=[],P=Object.assign(mL,{defaultVisitor:m,convertValue:g,isVisitable:Dm});function O(C,b){if(!de.isUndefined(C)){if(w.indexOf(C)!==-1)throw Error("Circular reference detected in "+b.join("."));w.push(C),de.forEach(C,function(c,s){(!(de.isUndefined(c)||c===null)&&o.call(t,c,de.isString(s)?s.trim():s,b,P))===!0&&O(c,b?b.concat(s):[s])}),w.pop()}}if(!de.isObject(e))throw new TypeError("data must be an object");return O(e),t}function W3(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Lb(e,t){this._pairs=[],e&&lp(e,this,t)}const Y8=Lb.prototype;Y8.append=function(t,r){this._pairs.push([t,r])};Y8.toString=function(t){const r=t?function(n){return t.call(this,n,W3)}:W3;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function vL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Z8(e,t,r){if(!t)return e;const n=r&&r.encode||vL,o=r&&r.serialize;let a;if(o?a=o(t,r):a=de.isURLSearchParams(t)?t.toString():new Lb(t,r).toString(n),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class B3{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){de.forEach(this.handlers,function(n){n!==null&&t(n)})}}const J8={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bL=typeof URLSearchParams<"u"?URLSearchParams:Lb,yL=typeof FormData<"u"?FormData:null,wL=typeof Blob<"u"?Blob:null,_L={isBrowser:!0,classes:{URLSearchParams:bL,FormData:yL,Blob:wL},protocols:["http","https","file","blob","url","data"]},Q8=typeof window<"u"&&typeof document<"u",xL=(e=>Q8&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),CL=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PL=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Q8,hasStandardBrowserEnv:xL,hasStandardBrowserWebWorkerEnv:CL},Symbol.toStringTag,{value:"Module"})),Bn={...PL,..._L};function OL(e,t){return lp(e,new Bn.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,a){return Bn.isNode&&de.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function SL(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function TL(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n=r.length;return i=!i&&de.isArray(o)?o.length:i,f?(de.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!l):((!o[i]||!de.isObject(o[i]))&&(o[i]=[]),t(r,n,o[i],a)&&de.isArray(o[i])&&(o[i]=TL(o[i])),!l)}if(de.isFormData(e)&&de.isFunction(e.entries)){const r={};return de.forEachEntry(e,(n,o)=>{t(SL(n),o,r,0)}),r}return null}function EL(e,t,r){if(de.isString(e))try{return(t||JSON.parse)(e),de.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const zb={transitional:J8,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,a=de.isObject(t);if(a&&de.isHTMLForm(t)&&(t=new FormData(t)),de.isFormData(t))return o?JSON.stringify(ex(t)):t;if(de.isArrayBuffer(t)||de.isBuffer(t)||de.isStream(t)||de.isFile(t)||de.isBlob(t))return t;if(de.isArrayBufferView(t))return t.buffer;if(de.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return OL(t,this.formSerializer).toString();if((l=de.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return lp(l?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||o?(r.setContentType("application/json",!1),EL(t)):t}],transformResponse:[function(t){const r=this.transitional||zb.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&de.isString(t)&&(n&&!this.responseType||o)){const i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?Be.from(l,Be.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bn.classes.FormData,Blob:Bn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],e=>{zb.headers[e]={}});const Vb=zb,kL=de.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ML=e=>{const t={};let r,n,o;return e&&e.split(` -`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&kL[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},H3=Symbol("internals");function ws(e){return e&&String(e).trim().toLowerCase()}function Id(e){return e===!1||e==null?e:de.isArray(e)?e.map(Id):String(e)}function RL(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const AL=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function og(e,t,r,n,o){if(de.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!de.isString(t)){if(de.isString(n))return t.indexOf(n)!==-1;if(de.isRegExp(n))return n.test(t)}}function IL(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function NL(e,t){const r=de.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}class sp{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function a(l,f,g){const m=ws(f);if(!m)throw new Error("header name must be a non-empty string");const w=de.findKey(o,m);(!w||o[w]===void 0||g===!0||g===void 0&&o[w]!==!1)&&(o[w||f]=Id(l))}const i=(l,f)=>de.forEach(l,(g,m)=>a(g,m,f));return de.isPlainObject(t)||t instanceof this.constructor?i(t,r):de.isString(t)&&(t=t.trim())&&!AL(t)?i(ML(t),r):t!=null&&a(r,t,n),this}get(t,r){if(t=ws(t),t){const n=de.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return RL(o);if(de.isFunction(r))return r.call(this,o,n);if(de.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=ws(t),t){const n=de.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||og(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function a(i){if(i=ws(i),i){const l=de.findKey(n,i);l&&(!r||og(n,n[l],l,r))&&(delete n[l],o=!0)}}return de.isArray(t)?t.forEach(a):a(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const a=r[n];(!t||og(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const r=this,n={};return de.forEach(this,(o,a)=>{const i=de.findKey(n,a);if(i){r[i]=Id(o),delete r[a];return}const l=t?IL(a):String(a).trim();l!==a&&delete r[a],r[l]=Id(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return de.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&de.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[H3]=this[H3]={accessors:{}}).accessors,o=this.prototype;function a(i){const l=ws(i);n[l]||(NL(o,i),n[l]=!0)}return de.isArray(t)?t.forEach(a):a(t),this}}sp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);de.reduceDescriptors(sp.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});de.freezeMethods(sp);const po=sp;function ag(e,t){const r=this||Vb,n=t||r,o=po.from(n.headers);let a=n.data;return de.forEach(e,function(l){a=l.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function tx(e){return!!(e&&e.__CANCEL__)}function Xu(e,t,r){Be.call(this,e??"canceled",Be.ERR_CANCELED,t,r),this.name="CanceledError"}de.inherits(Xu,Be,{__CANCEL__:!0});function jL(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Be("Request failed with status code "+r.status,[Be.ERR_BAD_REQUEST,Be.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const DL=Bn.hasStandardBrowserEnv?{write(e,t,r,n,o,a){const i=[e+"="+encodeURIComponent(t)];de.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),de.isString(n)&&i.push("path="+n),de.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function FL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function LL(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function rx(e,t){return e&&!FL(t)?LL(e,t):t}const zL=Bn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){const l=de.isString(i)?o(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function VL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $L(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(f){const g=Date.now(),m=n[a];i||(i=g),r[o]=f,n[o]=g;let w=a,P=0;for(;w!==o;)P+=r[w++],w=w%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),g-i{const a=o.loaded,i=o.lengthComputable?o.total:void 0,l=a-r,f=n(l),g=a<=i;r=a;const m={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:f||void 0,estimated:f&&i&&g?(i-a)/f:void 0,event:o};m[t?"download":"upload"]=!0,e(m)}}const UL=typeof XMLHttpRequest<"u",WL=UL&&function(e){return new Promise(function(r,n){let o=e.data;const a=po.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,f;function g(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let m;if(de.isFormData(o)){if(Bn.hasStandardBrowserEnv||Bn.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((m=a.getContentType())!==!1){const[b,...y]=m?m.split(";").map(c=>c.trim()).filter(Boolean):[];a.setContentType([b||"multipart/form-data",...y].join("; "))}}let w=new XMLHttpRequest;if(e.auth){const b=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(b+":"+y))}const P=rx(e.baseURL,e.url);w.open(e.method.toUpperCase(),Z8(P,e.params,e.paramsSerializer),!0),w.timeout=e.timeout;function O(){if(!w)return;const b=po.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),c={data:!i||i==="text"||i==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:b,config:e,request:w};jL(function(u){r(u),g()},function(u){n(u),g()},c),w=null}if("onloadend"in w?w.onloadend=O:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(O)},w.onabort=function(){w&&(n(new Be("Request aborted",Be.ECONNABORTED,e,w)),w=null)},w.onerror=function(){n(new Be("Network Error",Be.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const c=e.transitional||J8;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),n(new Be(y,c.clarifyTimeoutError?Be.ETIMEDOUT:Be.ECONNABORTED,e,w)),w=null},Bn.hasStandardBrowserEnv&&(l&&de.isFunction(l)&&(l=l(e)),l||l!==!1&&zL(P))){const b=e.xsrfHeaderName&&e.xsrfCookieName&&DL.read(e.xsrfCookieName);b&&a.set(e.xsrfHeaderName,b)}o===void 0&&a.setContentType(null),"setRequestHeader"in w&&de.forEach(a.toJSON(),function(y,c){w.setRequestHeader(c,y)}),de.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),i&&i!=="json"&&(w.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&w.addEventListener("progress",G3(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&w.upload&&w.upload.addEventListener("progress",G3(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=b=>{w&&(n(!b||b.type?new Xu(null,e,w):b),w.abort(),w=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const C=VL(P);if(C&&Bn.protocols.indexOf(C)===-1){n(new Be("Unsupported protocol "+C+":",Be.ERR_BAD_REQUEST,e));return}w.send(o||null)})},Fm={http:hL,xhr:WL};de.forEach(Fm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const q3=e=>`- ${e}`,BL=e=>de.isFunction(e)||e===null||e===!1,nx={getAdapter:e=>{e=de.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let a=0;a`adapter ${l} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since : -`+a.map(q3).join(` -`):" "+q3(a[0]):"as no adapter specified";throw new Be("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:Fm};function ig(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xu(null,e)}function K3(e){return ig(e),e.headers=po.from(e.headers),e.data=ag.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),nx.getAdapter(e.adapter||Vb.adapter)(e).then(function(n){return ig(e),n.data=ag.call(e,e.transformResponse,n),n.headers=po.from(n.headers),n},function(n){return tx(n)||(ig(e),n&&n.response&&(n.response.data=ag.call(e,e.transformResponse,n.response),n.response.headers=po.from(n.response.headers))),Promise.reject(n)})}const X3=e=>e instanceof po?e.toJSON():e;function vl(e,t){t=t||{};const r={};function n(g,m,w){return de.isPlainObject(g)&&de.isPlainObject(m)?de.merge.call({caseless:w},g,m):de.isPlainObject(m)?de.merge({},m):de.isArray(m)?m.slice():m}function o(g,m,w){if(de.isUndefined(m)){if(!de.isUndefined(g))return n(void 0,g,w)}else return n(g,m,w)}function a(g,m){if(!de.isUndefined(m))return n(void 0,m)}function i(g,m){if(de.isUndefined(m)){if(!de.isUndefined(g))return n(void 0,g)}else return n(void 0,m)}function l(g,m,w){if(w in t)return n(g,m);if(w in e)return n(void 0,g)}const f={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(g,m)=>o(X3(g),X3(m),!0)};return de.forEach(Object.keys(Object.assign({},e,t)),function(m){const w=f[m]||o,P=w(e[m],t[m],m);de.isUndefined(P)&&w!==l||(r[m]=P)}),r}const ox="1.6.7",$b={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$b[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Y3={};$b.transitional=function(t,r,n){function o(a,i){return"[Axios v"+ox+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,l)=>{if(t===!1)throw new Be(o(i," has been removed"+(r?" in "+r:"")),Be.ERR_DEPRECATED);return r&&!Y3[i]&&(Y3[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,l):!0}};function HL(e,t,r){if(typeof e!="object")throw new Be("options must be an object",Be.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const l=e[a],f=l===void 0||i(l,a,e);if(f!==!0)throw new Be("option "+a+" must be "+f,Be.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Be("Unknown option "+a,Be.ERR_BAD_OPTION)}}const Lm={assertOptions:HL,validators:$b},Vo=Lm.validators;class Nf{constructor(t){this.defaults=t,this.interceptors={request:new B3,response:new B3}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=` -`+a):n.stack=a}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=vl(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&Lm.assertOptions(n,{silentJSONParsing:Vo.transitional(Vo.boolean),forcedJSONParsing:Vo.transitional(Vo.boolean),clarifyTimeoutError:Vo.transitional(Vo.boolean)},!1),o!=null&&(de.isFunction(o)?r.paramsSerializer={serialize:o}:Lm.assertOptions(o,{encode:Vo.function,serialize:Vo.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&de.merge(a.common,a[r.method]);a&&de.forEach(["delete","get","head","post","put","patch","common"],C=>{delete a[C]}),r.headers=po.concat(i,a);const l=[];let f=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(r)===!1||(f=f&&b.synchronous,l.unshift(b.fulfilled,b.rejected))});const g=[];this.interceptors.response.forEach(function(b){g.push(b.fulfilled,b.rejected)});let m,w=0,P;if(!f){const C=[K3.bind(this),void 0];for(C.unshift.apply(C,l),C.push.apply(C,g),P=C.length,m=Promise.resolve(r);w{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(l=>{n.subscribe(l),a=l}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,l){n.reason||(n.reason=new Xu(a,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Ub(function(o){t=o}),cancel:t}}}const GL=Ub;function qL(e){return function(r){return e.apply(null,r)}}function KL(e){return de.isObject(e)&&e.isAxiosError===!0}const zm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(zm).forEach(([e,t])=>{zm[t]=e});const XL=zm;function ax(e){const t=new Nd(e),r=z8(Nd.prototype.request,t);return de.extend(r,Nd.prototype,t,{allOwnKeys:!0}),de.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return ax(vl(e,o))},r}const It=ax(Vb);It.Axios=Nd;It.CanceledError=Xu;It.CancelToken=GL;It.isCancel=tx;It.VERSION=ox;It.toFormData=lp;It.AxiosError=Be;It.Cancel=It.CanceledError;It.all=function(t){return Promise.all(t)};It.spread=qL;It.isAxiosError=KL;It.mergeConfig=vl;It.AxiosHeaders=po;It.formToJSON=e=>ex(de.isHTMLForm(e)?new FormData(e):e);It.getAdapter=nx.getAdapter;It.HttpStatusCode=XL;It.default=It;var YL={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"};const ZL=()=>{const[e,t]=F.useState("/"),r=F.useRef(null),[n,o]=F.useState(!1),a=async()=>{if(r.current.value===""){alert("Please enter a description");return}o(!0);try{const g=(await It.post("https://api.openai.com/v1/images/generations",{prompt:`${r.current.value}`,n:1,size:"512x512"},{headers:{"Content-Type":"application/json",Authorization:`Bearer ${YL.OPENAI_API_KEY}`}})).data.data[0].url;t(g),o(!1)}catch(l){console.error("Error generating image:",l.response.data),alert("Failed to generate image. Please try again later.")}},i=()=>{if(e!=="/"){const l=document.createElement("a");l.href=e,l.download=`${r.current.value}.jpg`,l.click()}else alert("No image to download. Please generate an image first.")};return Q.jsxs("div",{className:"flex flex-col items-center justify-center mt-8 mb-4 gap-4",children:[Q.jsxs("div",{className:"text-4xl font-medium pb-6",children:["AI Image ",Q.jsx("span",{className:"text-pink-500",children:"Generator"})]}),Q.jsxs("div",{className:"flex flex-col",children:[Q.jsx("img",{className:"min-w-[200px] h-auto rounded-md max-w-[300px]",src:e==="/"?zI:e,alt:"generated-image"}),Q.jsxs("div",{className:"loading",children:[Q.jsx("div",{className:n?"loading-bar-full":"loading-bar"}),Q.jsx("div",{className:n?"loading-text":"display-none",children:"Loading ..."})]})]}),Q.jsx("div",{className:"flex flex-col w-full max-w-screen-md items-center justify-center bg-gray-900 p-4 rounded-md",children:Q.jsx("input",{ref:r,type:"text",placeholder:"Describe what you would like to see",className:"w-full h-12 bg-transparent border-none outline-none text-white placeholder-white text-lg px-4 mr-2"})}),Q.jsxs("div",{className:"flex flex-row gap-20",children:[Q.jsx("button",{className:"mt-4 bg-[#DE1B89] hover:bg-[#c448c8] text-white font-bold py-2 px-4 rounded",onClick:a,children:"Generate"}),Q.jsx("button",{className:"mt-4 bg-[#DE1B89] hover:bg-[#c448c8] text-white font-bold py-2 px-4 rounded",onClick:i,children:"Download Image"})]})]})},JL=()=>Q.jsx("div",{children:Q.jsx(ZL,{})});function QL({title:e,titleId:t,...r},n){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?F.createElement("title",{id:t},e):null,F.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm8.25 5.25a.75.75 0 0 1 .75-.75h8.25a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const ez=F.forwardRef(QL),tz=ez;function rz({title:e,titleId:t,...r},n){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?F.createElement("title",{id:t},e):null,F.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const nz=F.forwardRef(rz),oz=nz,jf="sharethis",az={display:"inline-block",width:"50px",height:"50px",position:"relative",overflow:"hidden",verticalAlign:"middle"},ix={position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},iz={...ix,borderRadius:"50%",fillRule:"evenodd"},Z3={transition:"fill 170ms ease-in-out",fill:"transparent"},lx=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return new RegExp("(?:[/.]|^)($SOCIALS)([.]|$|/)".replace("$SOCIALS",e.join("|").replace(/\./gu,"\\.")),"u")},jd=new Map,J3=new Set;let sx=lx();function xe(e,t){return jd.set(e,t),J3.add(e),sx=lx([...J3].sort((r,n)=>n.length-r.length)),t}function lz(e){var t;return e?e.startsWith("mailto:")?"mailto":((t=e.match(sx))==null?void 0:t[1])||jf:jf}const sz=F.forwardRef(function(t,r){const{as:n="a",href:o,url:a,network:i,bgColor:l,fgColor:f,className:g,label:m,children:w,fallback:P,defaultSVG:O,...C}=t,b=i||lz(a),y=m||t["aria-label"]||b,c=(typeof P=="string"?jd.get(P):P||O)||jd.get(jf),{color:s,path:u}=b===jf?c:jd.get(b)||{};return F.createElement(n,{href:o||a,className:`social-icon${g?` ${g}`:""}`,...C,style:{...az,...C.style},"aria-label":y,ref:r},F.createElement("span",{className:"social-container",style:ix},F.createElement("svg",{role:"img","aria-label":`${y} social icon`,className:"social-svg",viewBox:"0 0 64 64",style:iz},F.createElement("g",{className:"social-svg-icon",style:{...Z3,fill:f||"white"}},F.createElement("path",{d:`M0,0H64V64H0Z${u}`})),F.createElement("g",{className:"social-svg-mask",style:{...Z3,fill:l||s}},F.createElement("path",{d:u})))),w)});xe("bandsintown",{color:"#1B8793",path:"M0,0v64h64V0H0z M32.6,24.7h5.6v7.8h-5.6V24.7z M25.8,24.7h5.6v7.8h-5.6V24.7z M44.9,46H19.1V18h5.6v22.4h14.6 v-1.1H25.8v-5.6h19V46z M44.9,32.6h-5.6V18h5.6V32.6z"});xe("behance",{color:"#007CFF",path:"M40.4,30.1c-0.6,0-1.1,0.1-1.5,0.3c-0.4,0.2-0.7,0.4-0.9,0.7c-0.2,0.3-0.4,0.6-0.5,0.9c-0.1,0.3-0.2,0.6-0.2,0.9 h6c-0.1-0.9-0.4-1.6-0.8-2.1C42,30.3,41.3,30.1,40.4,30.1z M25.5,32.8h-4.4v5.1h4.3c0.4,0,0.8,0,1.1-0.1c0.4-0.1,0.7-0.2,1-0.4 c0.3-0.2,0.5-0.4,0.7-0.7c0.2-0.3,0.2-0.7,0.2-1.2c0-1-0.3-1.6-0.8-2C27.1,33,26.4,32.8,25.5,32.8z M27,29.5 c0.5-0.3,0.7-0.9,0.7-1.7c0-0.4-0.1-0.8-0.2-1.1c-0.2-0.3-0.4-0.5-0.6-0.6c-0.3-0.2-0.6-0.3-0.9-0.3c-0.3-0.1-0.7-0.1-1-0.1h-3.8 v4.3h4.1C25.9,30.1,26.5,29.9,27,29.5z M0,0v64h64V0H0z M36.6,23.8h7.5v1.8h-7.5V23.8z M31.9,38.1c-0.4,0.7-0.9,1.2-1.5,1.7 c-0.6,0.4-1.3,0.8-2.1,1c-0.8,0.2-1.6,0.3-2.4,0.3H17V22.6h8.7c0.9,0,1.7,0.1,2.4,0.2c0.7,0.2,1.3,0.4,1.9,0.8 c0.5,0.4,0.9,0.8,1.2,1.4c0.3,0.6,0.4,1.3,0.4,2.2c0,0.9-0.2,1.7-0.6,2.3c-0.4,0.6-1,1.1-1.9,1.5c1.1,0.3,2,0.9,2.5,1.7 c0.6,0.8,0.8,1.8,0.8,3C32.5,36.6,32.3,37.4,31.9,38.1z M47,35.3h-9.6c0,1.1,0.4,2.1,0.9,2.6c0.5,0.5,1.3,0.8,2.4,0.8 c0.7,0,1.4-0.2,1.9-0.6c0.5-0.4,0.9-0.8,1-1.2h3.2c-0.5,1.6-1.3,2.8-2.4,3.4c-1.1,0.7-2.4,1-3.9,1c-1.1,0-2-0.2-2.9-0.5 c-0.8-0.3-1.6-0.8-2.2-1.4c-0.6-0.6-1-1.4-1.4-2.2c-0.3-0.9-0.5-1.8-0.5-2.8c0-1,0.2-1.9,0.5-2.8c0.3-0.9,0.8-1.6,1.4-2.2 c0.6-0.6,1.3-1.1,2.2-1.5c0.8-0.4,1.8-0.5,2.8-0.5c1.1,0,2.1,0.2,3,0.7c0.8,0.4,1.5,1,2.1,1.8c0.5,0.7,0.9,1.6,1.2,2.5 C47,33.2,47,34.2,47,35.3z"});xe("clubhouse",{color:"#1F1F1A",path:"M 0,0 V 64.27148 H 64.20312 V 0 H 1.001e-5 Z m 32.693684,15.452619 c 1.27718,0 2.240357,0.566853 2.804266,1.842808 0.823991,-0.538737 1.956541,-0.738389 2.919569,-0.483198 1.305505,0.340258 2.09998,1.248591 2.581494,4.029931 0.169943,0.88157 0.423211,1.959586 0.734772,2.895283 0.396547,1.193483 0.850396,2.128008 1.64348,3.517386 0.25492,0.425325 0.56587,0.907892 0.877441,1.361573 l 0.25599,-0.510593 c 0.764769,-1.562086 2.268722,-3.092871 4.449707,-3.092871 0.937283,0 1.956371,0.340778 2.522861,1.304841 0.368222,0.538738 0.51005,1.161271 0.51005,1.699998 0,0.737228 -0.311791,1.475257 -0.566711,2.04235 -0.05665,0.113423 -0.08405,0.169233 -0.08405,0.197588 -0.651457,1.361022 -1.530128,3.066279 -1.530128,5.051106 0,5.758575 -2.126815,8.709949 -3.769644,10.241095 -1.673717,1.562096 -4.279294,2.89334 -7.312595,2.89334 -2.152659,0 -4.392786,-0.623564 -6.233884,-1.842808 -2.52088,-1.672925 -4.052579,-4.255815 -5.440479,-6.524188 -1.135552,-1.89976 -1.957612,-3.429885 -3.175569,-6.324637 -0.708108,-1.616213 -1.359355,-3.292143 -1.897519,-5.07849 -0.481514,-1.562086 -0.227775,-2.696042 0.392795,-3.43327 0.625712,-0.765573 1.505114,-1.134657 2.468151,-1.191369 0.169943,0 0.340087,9.92e-4 0.51004,0.02935 -0.141628,-0.567093 -0.19933,-1.04971 -0.19933,-1.475035 0,-1.845633 1.447863,-3.206335 3.402264,-3.206335 0.254909,0 0.510129,0.02741 0.736723,0.08412 -0.02831,-0.311903 -0.05667,-0.566443 -0.05667,-0.821624 0,-2.015766 1.644201,-3.206344 3.456973,-3.206344 z m 0,1.703915 c -0.82141,0 -1.811542,0.424944 -1.811542,1.502419 0,0.708872 0.196478,1.757701 0.394746,2.605757 0.339897,0.824869 0.397848,1.335882 0.822721,3.122229 0.25492,1.051694 0.56586,1.958545 0.87743,2.752474 0.368222,0.966637 0.792665,1.789452 1.38748,2.895283 0.283245,0.538738 0.426284,0.538808 1.106076,0.170204 0.538165,-0.283557 1.330068,-0.625107 1.924884,-0.823596 -1.019688,-2.211663 -1.869364,-4.056965 -2.294226,-5.616467 -0.113302,-0.45368 -0.51009,-2.271558 -0.623392,-3.065487 -0.08498,-0.793929 -0.169112,-1.473373 -0.367391,-2.210591 -0.226594,-0.907351 -0.538725,-1.332225 -1.416786,-1.332225 z m 4.869847,1.252016 c -0.444783,-0.004 -0.918103,0.139976 -1.215505,0.395167 -0.311571,0.283556 -0.425003,0.508879 -0.340027,1.132684 0.141618,1.363596 0.368462,2.413467 0.623382,3.405886 0.594825,2.325075 1.585068,4.141861 2.094897,5.219336 0.169953,0.368614 0.312791,0.511554 0.596026,0.483199 0.396548,-0.02835 0.622521,-0.05769 0.877441,-0.02935 0.339886,0.02836 0.596026,0.227066 0.596026,0.567324 0,0.283557 -0.142858,0.39717 -0.652697,0.510593 -1.048004,0.226835 -2.380734,0.594998 -3.683657,1.332225 -1.107237,0.626379 -2.070825,1.392333 -2.948885,2.498164 -0.08497,0.113413 -0.171044,0.170194 -0.312672,0.170194 -0.198268,0 -0.367451,-0.227026 -0.537394,-0.453861 -0.169953,-0.226835 -0.283355,-0.39719 -0.283355,-0.567314 0,-0.198489 0.08508,-0.368864 0.283355,-0.624055 0.311571,-0.425325 0.680053,-0.736616 0.680053,-0.935106 0,-0.141768 -0.25414,-0.481395 -0.480734,-0.878365 -0.368211,-0.680506 -0.991923,-2.044713 -1.416786,-3.065477 -0.651456,-1.559512 -1.105205,-3.546242 -1.360124,-4.765496 -0.311571,-1.332666 -0.793695,-1.701951 -1.530138,-1.701951 -1.019679,0 -1.69819,0.595058 -1.69819,1.50242 0,0.598023 0.197528,1.391431 0.594075,2.695742 0.25492,0.85064 0.510139,1.70122 0.736733,2.296669 0.368212,1.023348 0.82092,2.158136 1.217467,3.065487 0.368212,0.822285 0.905866,1.787249 1.160786,2.269276 0.141627,0.255191 0.396707,0.679915 0.396707,0.935106 0,0.45367 -0.338265,0.70817 -0.791453,0.70817 -0.25492,0 -0.481814,-0.113623 -0.736734,-0.510592 -0.31157,-0.456255 -0.991943,-1.787449 -1.473457,-2.779868 -0.368221,-0.822284 -0.991883,-2.299033 -1.303454,-3.319797 -0.509839,-1.616213 -0.849445,-2.240909 -1.727506,-2.212553 -0.509839,0.02836 -0.935212,0.19872 -1.246782,0.567313 -0.311571,0.39698 -0.338946,1.020544 -0.08403,1.842819 0.538164,1.729635 1.162926,3.316982 1.834984,4.943512 1.192213,2.807121 1.957573,4.256616 3.062227,6.099664 1.387901,2.268374 2.749446,4.53816 4.930441,5.984249 1.557853,1.020774 3.458684,1.561115 5.299772,1.561115 2.577531,0 4.761948,-1.137122 6.149858,-2.441433 1.418797,-1.304321 3.230279,-3.858234 3.230279,-8.993005 0,-2.35344 1.020339,-4.399215 1.64348,-5.731892 0.169943,-0.340248 0.537394,-1.048759 0.537394,-1.559151 0,-0.226835 -0.05574,-0.538067 -0.197368,-0.764902 -0.25492,-0.396959 -0.651917,-0.53993 -1.133421,-0.53993 -1.503783,0 -2.467401,1.13601 -3.005566,2.128429 -0.226594,0.425315 -0.395776,0.877583 -0.537394,1.359609 -0.311571,1.04913 -0.623751,1.475327 -1.530138,2.212554 -0.481524,0.425315 -1.074949,0.963632 -1.414835,1.388957 -0.56649,0.768148 -0.737774,1.420658 -0.879391,2.441433 -0.02833,0.255191 -0.509309,0.367772 -1.104125,0.367772 -0.339886,0 -0.453368,-0.112702 -0.453368,-0.651439 0,-0.567094 0.198519,-1.417624 0.623391,-2.183207 0.594806,-1.049119 1.246053,-1.617074 1.897519,-2.155812 0.651457,-0.538738 0.850116,-0.765032 0.963428,-1.1053 -0.594826,-0.796503 -1.160986,-1.618157 -1.614184,-2.412085 -0.8214,-1.44609 -1.359304,-2.526069 -1.784177,-3.83039 -0.339886,-1.023348 -0.623442,-2.215849 -0.793395,-3.151556 -0.339896,-1.987401 -0.679342,-2.496281 -1.330808,-2.666405 -0.134544,-0.03545 -0.279704,-0.05345 -0.427965,-0.05478 z m -23.055586,0.313004 c 0.206483,-0.01374 0.436929,0.05248 0.697642,0.187803 0.805962,0.420166 3.650389,2.637057 4.193697,3.075263 0.525297,0.422751 0.453358,0.641613 0.177837,1.185509 -0.275521,0.543896 -0.532792,0.68286 -1.02204,0.528191 -0.978485,-0.309318 -3.882226,-2.069914 -4.63926,-2.523594 -0.684935,-0.412435 -0.773404,-0.783492 -0.297043,-1.68827 0.263945,-0.499424 0.545019,-0.741995 0.889167,-0.764902 z m -1.79005,9.450772 c 0.138776,-0.01402 0.295842,-0.005 0.469007,0.01174 0.80339,0.07732 4.523847,0.681658 5.116081,0.864673 0.612836,0.190747 0.698063,0.469356 0.623392,1.005519 -0.09527,0.695981 -0.409294,0.828315 -0.810994,0.841205 -0.854878,0.0232 -4.406584,-0.129408 -5.217698,-0.209327 -0.705536,-0.06959 -0.991813,-0.381254 -0.914561,-1.404602 0.06179,-0.823577 0.318475,-1.067159 0.734773,-1.109208 z m 7.767934,7.596215 c 0.308149,0.01849 0.539465,0.218412 0.71328,0.653403 0.25492,0.636685 0.08016,0.890865 -0.463153,1.228539 -0.599959,0.371187 -3.78014,2.038984 -4.498554,2.304491 -0.51241,0.190748 -1.068275,0.145625 -1.395294,-0.823596 -0.40169,-1.198631 0.161989,-1.481997 0.965369,-1.7939 0.710689,-0.275814 3.659244,-1.344215 4.344179,-1.529804 0.120376,-0.03222 0.231457,-0.04529 0.334173,-0.03913 z"});xe("codepen",{color:"#151515",path:"M0,0v64h64V0H0z M32,48c-8.8,0-16-7.2-16-16c0-8.8,7.2-16,16-16s16,7.2,16,16C48,40.8,40.8,48,32,48z M32.5,22.3 c-0.3-0.2-0.6-0.2-0.9,0l-9.1,5.9c-0.2,0.2-0.4,0.4-0.4,0.7v6.2c0,0.3,0.1,0.6,0.4,0.7l9.1,5.9c0.3,0.2,0.6,0.2,0.9,0l9.1-5.9 c0.2-0.2,0.4-0.4,0.4-0.7v-6.2c0-0.3-0.1-0.6-0.4-0.7L32.5,22.3z M32.8,24.5l6.8,4.5l-3,2l-3.7-2.5V24.5z M31.2,24.5v4L27.4,31l-3-2 L31.2,24.5z M23.8,30.6l2.1,1.4l-2.1,1.4V30.6z M31.2,39.5L24.4,35l3-2l3.7,2.5V39.5z M32,34l-3-2l3-2l3,2L32,34z M32.8,39.5v-4 l3.7-2.5l3,2L32.8,39.5z M40.2,33.4L38.1,32l2.1-1.4V33.4z"});xe("developer.mozilla",{color:"#236ab4",path:"M0 0v64h64V0H0Zm32 48.35h-3.69v-32.7l-10.15 32.7h-4.15l10.11-32.7H32v32.7Zm18 0h-3.69v-32.7l-10.12 32.7h-4.15l10.11-32.7H50v32.7Z"});xe("discord",{color:"#5865F2",path:"M0 0V64H64V0H0ZM36.9029 18.5C39.4494 18.9308 41.9284 19.6936 44.2767 20.7686C48.322 26.6834 50.332 33.3544 49.5898 41.0515C46.8565 43.0726 43.7952 44.6075 40.5406 45.5888C39.8077 44.6054 39.1597 43.5615 38.6036 42.4684C39.663 42.0725 40.6855 41.5843 41.6594 41.0094C41.4064 40.8379 41.1562 40.6467 40.9117 40.4471C38.0833 41.7772 34.9963 42.4669 31.8708 42.4669C28.7453 42.4669 25.6583 41.7772 22.83 40.4471C22.5882 40.6327 22.338 40.8238 22.0822 41.0094C23.0542 41.5833 24.0749 42.0706 25.1324 42.4656C24.5756 43.5592 23.9277 44.604 23.1954 45.5888C19.9435 44.6035 16.8847 43.0679 14.1518 41.0487C13.5193 34.4115 14.7843 27.6786 19.4509 20.7743C21.8015 19.699 24.2822 18.9345 26.8303 18.5C27.1786 19.123 27.4939 19.7639 27.7749 20.4201C30.4874 20.0113 33.2458 20.0113 35.9583 20.4201C36.2391 19.7638 36.5544 19.1229 36.9029 18.5Z M25.9335 36.9669C24.1709 36.9669 22.7147 35.3673 22.7147 33.3994C22.7147 31.4316 24.1203 29.8179 25.9279 29.8179C27.7355 29.8179 29.1805 31.4316 29.1496 33.3994C29.1186 35.3673 27.7299 36.9669 25.9335 36.9669Z M37.8081 36.9669C36.0426 36.9669 34.5921 35.3673 34.5921 33.3994C34.5921 31.4316 35.9977 29.8179 37.8081 29.8179C39.6185 29.8179 41.0522 31.4316 41.0213 33.3994C40.9904 35.3673 39.6044 36.9669 37.8081 36.9669Z"});xe("dribbble",{color:"#ea4c89",path:"M34.3,34.3c-7.7,2.7-10.5,8-10.7,8.5c2.3,1.8,5.2,2.9,8.4,2.9c1.9,0,3.7-0.4,5.3-1.1 C37.1,43.4,36.3,39.2,34.3,34.3C34.4,34.2,34.4,34.3,34.3,34.3z M31.3,27.6c-2.3-4-4.7-7.4-5.1-7.9c-3.8,1.8-6.7,5.3-7.6,9.6 C19.2,29.2,24.9,29.3,31.3,27.6z M33,32.1c0.2-0.1,0.4-0.1,0.5-0.2c-0.3-0.8-0.7-1.6-1.1-2.3c-6.8,2-13.4,2-14,1.9 c0,0.1,0,0.3,0,0.4c0,3.5,1.3,6.7,3.5,9.1C22.2,40.6,25.9,34.4,33,32.1z M41.1,21.8c-2.4-2.1-5.6-3.4-9.1-3.4 c-1.1,0-2.2,0.1-3.2,0.4c0.4,0.5,2.9,3.9,5.1,8C38.8,24.9,40.8,22.1,41.1,21.8z M34.9,28.8c0.3,0.7,0.6,1.3,0.9,2 c0.1,0.2,0.2,0.5,0.3,0.7c4.5-0.6,9.1,0.3,9.5,0.4c0-3.2-1.2-6.2-3.1-8.5C42.3,23.8,40,26.7,34.9,28.8z M37,33.6 c1.8,4.9,2.5,8.9,2.7,9.7c3.1-2.1,5.2-5.4,5.9-9.2C45,34,41.3,32.9,37,33.6z M0,0v64h64V0H0z M32,48c-8.8,0-16-7.2-16-16 s7.2-16,16-16s16,7.2,16,16S40.8,48,32,48z"});xe("dropbox",{color:"#1081DE",path:"M0,0v64h64V0H0z M41.5,41.2L32,46.9l-9.4-5.7v-2.1l2.8,1.8l6.6-5.5l6.6,5.5l2.8-1.8V41.2z M48,33.7l-9.4,6.1 L32,34.3l-6.6,5.5L16,33.7l6.5-5.2L16,23.3l9.4-6.1l6.6,5.5l6.6-5.5l9.4,6.1l-6.5,5.2L48,33.7z M22.5,28.5l9.5,5.9l9.5-5.9L32,22.6 L22.5,28.5z"});xe("email",{color:"#7f7f7f",path:"M41.1,25H22.9l9.1,7.1L41.1,25z M44,26.6l-12,9.3l-12-9.3V39h24V26.6z M0,0v64h64V0H0z M47,42H17V22h30V42z"});xe("facebook",{color:"#3b5998",path:"M0,0v64h64V0H0z M39.6,22l-2.8,0c-2.2,0-2.6,1.1-2.6,2.6V28h5.3l-0.7,5.3h-4.6V47h-5.5V33.3H24V28h4.6V24 c0-4.6,2.8-7,6.9-7c2,0,3.6,0.1,4.1,0.2V22z"});xe("fivehundredpix",{color:"#222222",path:"M33.3,31.3c-0.4-0.2-0.7-0.4-1.1-0.6c-0.3-0.1-0.8-0.1-0.9-0.1c-1.1,0-1.9,0.6-2.2,2.1v0.9c0,0.1,0.1,0.4,0.2,0.7 c0.3,0.9,1.4,1.3,2.1,1.3s1.2-0.2,1.9-0.6c0.5-0.3,1-0.7,1.4-1.1c0.2-0.2,0.5-0.5,0.5-0.6C35.3,32.8,33.7,31.6,33.3,31.3z M42.8,30.6c-1.3,0-2.4,1-3.8,2.6c1.3,1.5,2.6,2.3,3.9,2.3c1.5,0,2.2-1.1,2.2-2.4C45.2,31.7,44.3,30.6,42.8,30.6z M0,0v64h64V0H0z M42.9,38.5c-2,0-3.8-1-5.7-3.3c-2.2,2.4-3.7,3.3-5.7,3.3c-1.8,0-3.7-0.7-4.8-3.1c-1.2,2.5-3.3,3.2-5.1,3.2c-1.6,0-3.8-0.4-5-2.5 C16.5,36,16,34.8,16,34.5v-0.7h3c0.1,1.6,1.3,2.2,2.4,2.2c1.3,0,2.4-0.9,2.6-2.6v-0.7c-0.2-1.8-1.3-2.4-2.6-2.4 c-0.8,0-1.6,0.2-2.3,1.2h-2.7v-0.2l1.5-8h8.4v2.5h-6.2l-0.6,3.3c1-0.9,2-1.1,2.9-1.1c1.4,0,3.2,0.6,4.1,2.6c1-2.4,3-3.2,4.7-3.2 c2,0,3.9,1,5.8,3.5c2.1-2.6,3.7-3.5,5.8-3.5c3.3,0,5.1,2.4,5.1,5.4C48,35.9,46.2,38.5,42.9,38.5z"});xe("flickr",{color:"#0063db",path:"M38,27c-2.8,0-5,2.2-5,5s2.2,5,5,5s5-2.2,5-5S40.8,27,38,27z M0,0v64h64V0H0z M32,48c-8.8,0-16-7.2-16-16 s7.2-16,16-16s16,7.2,16,16S40.8,48,32,48z M26,27c-2.8,0-5,2.2-5,5s2.2,5,5,5s5-2.2,5-5S28.8,27,26,27z"});xe("foursquare",{color:"#0072b1",path:"M39.7,20.4c-0.5,0-13.3,0-13.3,0c-0.6,0-1,0.5-1,1v20.5c0,0.1,0,0.1,0.1,0c0,0,4.9-5.9,5.4-6.5 c0.5-0.7,0.8-0.8,1.6-0.8c0,0,3.9,0,4.5,0c0.6,0,1-0.5,1-0.8c0.1-0.3,0.6-3,0.7-3.6c0.1-0.5-0.4-1.1-0.9-1.1c-0.5,0-5.5,0-5.5,0 c-0.7,0-1.2-0.5-1.2-1.2v-0.8c0-0.7,0.5-1.2,1.2-1.2c0,0,6,0,6.4,0c0.5,0,0.9-0.4,1-0.8l0.7-3.6C40.6,20.9,40.2,20.4,39.7,20.4z M0,0v64h64V0H0z M44,20.9l-1,5.2c-0.8,4.2-1.8,9-1.9,9.5c-0.2,0.9-0.6,2.4-2.7,2.4h-5.1c-0.2,0-0.2,0-0.4,0.2 c-0.1,0.1-7.9,9.2-7.9,9.2c-0.6,0.7-1.6,0.6-2,0.4c-0.4-0.1-1-0.6-1-1.8c0,0,0-25.2,0-26.3c0-1.1,0.7-2.8,3-2.8c2.3,0,16.5,0,16.5,0 C43.9,17,44.6,18.4,44,20.9z"});xe("github",{color:"#24292e",path:"M0,0v64h64V0H0z M37.1,47.2c-0.8,0.2-1.1-0.3-1.1-0.8c0-0.5,0-2.3,0-4.4c0-1.5-0.5-2.5-1.1-3 c3.6-0.4,7.3-1.7,7.3-7.9c0-1.7-0.6-3.2-1.6-4.3c0.2-0.4,0.7-2-0.2-4.2c0,0-1.3-0.4-4.4,1.6c-1.3-0.4-2.6-0.5-4-0.5 c-1.4,0-2.7,0.2-4,0.5c-3.1-2.1-4.4-1.6-4.4-1.6c-0.9,2.2-0.3,3.8-0.2,4.2c-1,1.1-1.6,2.5-1.6,4.3c0,6.1,3.7,7.5,7.3,7.9 c-0.5,0.4-0.9,1.1-1,2.1c-0.9,0.4-3.2,1.1-4.7-1.3c0,0-0.8-1.5-2.5-1.6c0,0-1.6,0-0.1,1c0,0,1,0.5,1.8,2.3c0,0,0.9,3.1,5.4,2.1 c0,1.3,0,2.3,0,2.7c0,0.4-0.3,0.9-1.1,0.8C20.6,45.1,16,39.1,16,32c0-8.8,7.2-16,16-16c8.8,0,16,7.2,16,16 C48,39.1,43.4,45.1,37.1,47.2z"});xe("gitlab",{color:"#f96424",path:"m0 0v64h64v-64h-64zm50.402 32.559l-1.9688-6.0664v0.007812-0.007812-0.003907l-3.9141-12.035c-0.21484-0.63672-0.80469-1.0586-1.4766-1.0547-0.67969 0.003906-1.25 0.42187-1.4609 1.0625l-3.7148 11.426h-11.719l-3.7227-11.426c-0.21094-0.64063-0.78125-1.0586-1.4609-1.0625h-0.007813c-0.66406 0-1.2578 0.42187-1.4727 1.0625l-3.9023 12.027v0.003907s0 0.003906-0.003906 0.007812c0.003906-0.003906 0.003906-0.007812 0.003906-0.007812l-1.9805 6.0664c-0.29687 0.91406 0.027344 1.9102 0.80469 2.4766l17.082 12.402c0.003907 0 0.007813 0 0.007813 0.003906 0.007812 0.003906 0.015625 0.011719 0.023437 0.015625-0.007812-0.003906-0.011719-0.011719-0.019531-0.015625l0.003906 0.003906h0.003906c0.023438 0.019532 0.050782 0.035157 0.082032 0.050782l0.007812 0.007812h0.003906l0.003907 0.003906h0.007812c0 0.003907 0 0.003907 0.003907 0.003907 0.003906 0 0.003906 0.003906 0.007812 0.003906 0.015625 0.007813 0.03125 0.011719 0.046875 0.019531 0.015625 0.003906 0.027344 0.011719 0.042969 0.015625v0.003907h0.007812c0.003906 0.003906 0.007813 0.003906 0.011719 0.003906h0.003906c0 0.003906 0.007813 0.003906 0.011719 0.003906h0.003906c0.019532 0.007812 0.039063 0.011719 0.0625 0.015625 0.007813 0.003906 0.015625 0.007813 0.023438 0.007813h0.003906c0.003906 0 0.003906 0.003906 0.007812 0.003906h0.015626c0.003906 0 0.003906 0 0.007812 0.003906h0.003906c0.039063 0.003906 0.082032 0.007812 0.12109 0.007812h0.003906c0.039063 0 0.082032-0.003906 0.12109-0.007812h0.003906c0.003906-0.003906 0.007813-0.003906 0.011719-0.003906h0.011719c0.003906 0 0.007812-0.003906 0.007812-0.003906h0.003906c0.007813-0.003907 0.015626-0.003907 0.027344-0.007813 0.019532-0.003906 0.039063-0.007813 0.0625-0.015625h0.003906c0.003907 0 0.007813 0 0.011719-0.003906h0.003907s0.003906 0 0.007812-0.003906h0.007812v-0.003907c0.015626-0.003906 0.03125-0.011719 0.046876-0.015625 0.015624-0.007812 0.027343-0.011718 0.042968-0.019531 0.003906 0 0.007813-0.003906 0.007813-0.003906h0.003906c0.003906-0.003907 0.003906-0.003907 0.007813-0.003907 0.003906 0 0.003906-0.003906 0.007812-0.003906 0.003906-0.003906 0.007812-0.003906 0.011719-0.007812 0.027343-0.015625 0.054687-0.03125 0.082031-0.050782 0 0 0.003906 0 0.003906-0.003906h0.003906c0.003907-0.003906 0.003907-0.003906 0.007813-0.003906l17.086-12.402c0.77734-0.56641 1.1016-1.5625 0.80078-2.4766zm-7.3516-16.98l3.3516 10.309h-6.6992zm2.7656 12.051l-1.3672 1.75-10.086 12.91 4.7695-14.66zm-14.645 19.371c0.003906 0.003906 0.003906 0.003906 0.003906 0.007812 0-0.003906 0-0.003906-0.003906-0.007812zm-1.5273-4.707l-11.445-14.664h6.6797zm-8.6875-26.715l3.3555 10.309h-6.7031zm-5.5234 18.047c-0.16797-0.12109-0.23438-0.33203-0.17188-0.52734l1.4727-4.5117 10.773 13.805zm16.027 13.789c-0.003907-0.003906-0.007813-0.007812-0.011719-0.007812v-0.003906c-0.007813-0.003906-0.015625-0.011719-0.019531-0.015625-0.015626-0.011719-0.027344-0.023438-0.039063-0.035157 0.003906 0 0.003906 0.003907 0.003906 0.003907s0.003907 0 0.003907 0.003906c0.027343 0.023437 0.050781 0.046875 0.078124 0.066406h0.003907s0 0.003907 0.003906 0.003907c-0.007813-0.003907-0.015625-0.011719-0.023437-0.015626zm0.54297-3.5039l-2.8047-8.625-2.4844-7.6562h10.586zm0.57422 3.4766c-0.007813 0.003906-0.015625 0.011719-0.019531 0.015625-0.003906 0-0.003906 0-0.003906 0.003906-0.003907 0-0.007813 0.003906-0.007813 0.007812-0.007813 0.003907-0.015625 0.011719-0.023437 0.015626 0 0 0-0.003907 0.003906-0.003907 0.027344-0.019531 0.054687-0.042969 0.078125-0.066406l0.003906-0.003906s0.003906 0 0.003906-0.003907c-0.011719 0.011719-0.023437 0.023438-0.035156 0.035157zm15.996-13.762l-12.074 8.7617 10.781-13.797 1.4648 4.5078c0.0625 0.19531-0.003906 0.40625-0.17188 0.52734z"});xe("google",{color:"#dd4b39",path:"M0,0v64h64V0H0z M31.3,19.1c0.3,0.3,0.6,0.7,0.9,1.2c0.3,0.4,0.5,0.9,0.7,1.5c0.2,0.6,0.3,1.3,0.3,2.1 c0,1.4-0.3,2.6-0.9,3.4c-0.3,0.4-0.6,0.8-0.9,1.2c-0.4,0.4-0.8,0.7-1.2,1.1c-0.2,0.2-0.5,0.5-0.7,0.8c-0.2,0.3-0.4,0.7-0.4,1.1 c0,0.4,0.1,0.8,0.4,1c0.2,0.3,0.4,0.5,0.6,0.7l1.4,1.1c0.8,0.7,1.6,1.5,2.2,2.3c0.6,0.8,0.9,2,0.9,3.3c0,1.9-0.9,3.7-2.6,5.2 c-1.8,1.6-4.3,2.4-7.7,2.4c-2.8,0-4.9-0.6-6.3-1.8c-1.4-1.1-2.1-2.4-2.1-3.9c0-0.7,0.2-1.6,0.7-2.5c0.4-0.9,1.2-1.7,2.4-2.4 c1.3-0.7,2.7-1.2,4.1-1.5c1.4-0.2,2.6-0.3,3.5-0.4c-0.3-0.4-0.5-0.8-0.8-1.2c-0.3-0.4-0.4-0.9-0.4-1.5c0-0.4,0-0.6,0.2-0.9 c0.1-0.2,0.2-0.5,0.2-0.7c-0.5,0.1-0.9,0.1-1.3,0.1c-2.1,0-3.8-0.7-4.9-2c-1.2-1.2-1.8-2.7-1.8-4.3c0-2,0.8-3.8,2.5-5.4 c1.1-0.9,2.3-1.6,3.5-1.8c1.2-0.2,2.3-0.4,3.4-0.4h8L33,18.4h-2.5C30.7,18.6,31,18.8,31.3,19.1z M48,32h-4.3v4.2h-2.5V32H37v-2.5 h4.2v-4.3h2.5v4.3H48V32z M27.1,19.1c-0.6-0.5-1.4-0.7-2.2-0.7c-1.1,0-2,0.5-2.7,1.3c-0.6,0.9-0.9,1.9-0.9,3c0,1.5,0.4,3,1.3,4.5 c0.4,0.7,0.9,1.4,1.6,1.9c0.6,0.5,1.4,0.8,2.2,0.8c1.1,0,1.9-0.4,2.6-1.1c0.3-0.5,0.6-1,0.7-1.6c0.1-0.5,0.1-1,0.1-1.4 c0-1.6-0.4-3.2-1.2-4.8C28.2,20.2,27.7,19.5,27.1,19.1z M26.9,36.2c-0.2,0-0.7,0-1.6,0.1c-0.8,0.1-1.7,0.3-2.5,0.6 c-0.2,0.1-0.5,0.2-0.9,0.4c-0.4,0.2-0.7,0.4-1.1,0.7c-0.4,0.3-0.7,0.7-0.9,1.2c-0.3,0.5-0.4,1.1-0.4,1.8c0,1.4,0.6,2.6,1.9,3.5 c1.2,0.9,2.9,1.4,5,1.4c1.9,0,3.3-0.4,4.3-1.3c1-0.8,1.5-1.8,1.5-3.1c0-1-0.3-1.9-1-2.7c-0.7-0.7-1.8-1.6-3.3-2.6 C27.5,36.2,27.2,36.2,26.9,36.2z"});xe("google_play",{color:"#40BBC1",path:"M0,0v64h64V0H0z M40.4,27.1l-3.6,3.6L24.5,18.4L40.4,27.1z M22,44.5V19.4c0-0.4,0.1-0.7,0.2-0.9L35.6,32 L22.2,45.4C22.1,45.2,22,44.9,22,44.5z M24.4,45.6l12.4-12.4l3.6,3.6L24.4,45.6z M47.1,33.2l-5,2.8l-4-4l3.9-3.9l5.1,2.8 C48.3,31.4,48.3,32.5,47.1,33.2z"});xe("groupme",{color:"#00aff0",path:"M0,0v64h64V0H0z M40.321,39.43448a10.40049,9.51724 0 0 1 -16.64078,0a2.60012,2.37931 0 1 0 -4.16019,2.85517a15.60073,14.27586 0 0 0 24.96117,0a2.60012,2.37931 0 0 0 -4.16019,-2.85517zm-17.42081,-12.84828a2.60012,2.37931 0 0 0 0,4.75862l1.30006,0l0,1.18966a2.60012,2.37931 0 0 0 5.20024,0l0,-1.18966l5.20024,0l0,1.18966a2.60012,2.37931 0 0 0 5.20024,0l0,-1.18966l1.30006,0a2.60012,2.37931 0 0 0 0,-4.75862l-1.30006,0l0,-4.75862l1.30006,0a2.60012,2.37931 0 0 0 0,-4.75862l-1.30006,0l0,-1.18966a2.60012,2.37931 0 0 0 -5.20024,0l0,1.18966l-5.20024,0l0,-1.18966a2.60012,2.37931 0 0 0 -5.20024,0l0,1.18966l-1.30006,0a2.60012,2.37931 0 0 0 0,4.75862l1.30006,0l0,4.75862l-1.30006,0zm6.5003,-4.75862l5.20024,0l0,4.75862l-5.20024,0l0,-4.75862z"});xe("instagram",{color:"#e94475",path:"M0,0v64h64V0H0z M 39.88,25.89 C 40.86,25.89 41.65,25.10 41.65,24.12 41.65,23.14 40.86,22.35 39.88,22.35 38.90,22.35 38.11,23.14 38.11,24.12 38.11,25.10 38.90,25.89 39.88,25.89 Z M 32.00,24.42 C 27.82,24.42 24.42,27.81 24.42,32.00 24.42,36.19 27.82,39.58 32.00,39.58 36.18,39.58 39.58,36.18 39.58,32.00 39.58,27.82 36.18,24.42 32.00,24.42 Z M 32.00,36.92 C 29.28,36.92 27.08,34.72 27.08,32.00 27.08,29.28 29.28,27.08 32.00,27.08 34.72,27.08 36.92,29.28 36.92,32.00 36.92,34.72 34.72,36.92 32.00,36.92 Z M 32.00,19.90 C 35.94,19.90 36.41,19.92 37.96,19.99 39.41,20.05 40.19,20.29 40.71,20.50 41.40,20.77 41.89,21.08 42.41,21.60 42.92,22.12 43.24,22.61 43.51,23.30 43.71,23.82 43.95,24.60 44.02,26.04 44.09,27.60 44.11,28.06 44.11,32.01 44.11,35.95 44.09,36.41 44.02,37.97 43.95,39.41 43.71,40.19 43.51,40.71 43.24,41.40 42.92,41.90 42.41,42.41 41.89,42.93 41.40,43.25 40.71,43.51 40.19,43.71 39.41,43.96 37.96,44.02 36.41,44.09 35.94,44.11 32.00,44.11 28.06,44.11 27.59,44.09 26.04,44.02 24.59,43.96 23.81,43.72 23.29,43.51 22.60,43.24 22.11,42.93 21.59,42.41 21.08,41.90 20.76,41.40 20.49,40.71 20.29,40.19 20.05,39.41 19.98,37.97 19.91,36.41 19.89,35.95 19.89,32.01 19.89,28.06 19.91,27.60 19.98,26.04 20.05,24.60 20.29,23.82 20.49,23.30 20.76,22.61 21.08,22.12 21.59,21.60 22.11,21.08 22.60,20.76 23.29,20.50 23.81,20.30 24.59,20.05 26.04,19.99 27.59,19.91 28.06,19.90 32.00,19.90 Z M 32.00,17.24 C 27.99,17.24 27.49,17.26 25.91,17.33 24.34,17.40 23.27,17.65 22.33,18.01 21.36,18.39 20.54,18.90 19.72,19.72 18.90,20.54 18.39,21.37 18.01,22.33 17.65,23.27 17.40,24.34 17.33,25.92 17.26,27.49 17.24,27.99 17.24,32.00 17.24,36.01 17.26,36.51 17.33,38.09 17.40,39.66 17.65,40.73 18.01,41.67 18.39,42.65 18.90,43.47 19.72,44.29 20.54,45.11 21.37,45.61 22.33,45.99 23.27,46.36 24.34,46.61 25.92,46.68 27.49,46.75 27.99,46.77 32.01,46.77 36.02,46.77 36.52,46.75 38.09,46.68 39.66,46.61 40.74,46.36 41.68,45.99 42.65,45.62 43.47,45.11 44.29,44.29 45.11,43.47 45.62,42.64 46.00,41.67 46.36,40.74 46.61,39.66 46.68,38.09 46.75,36.51 46.77,36.01 46.77,32.00 46.77,27.99 46.75,27.49 46.68,25.91 46.61,24.34 46.36,23.27 46.00,22.33 45.62,21.35 45.11,20.53 44.29,19.71 43.47,18.89 42.65,18.39 41.68,18.01 40.74,17.64 39.67,17.39 38.09,17.32 36.51,17.26 36.01,17.24 32.00,17.24 Z"});xe("itch.io",{color:"#fa5c5c",path:"M 0 0 L 0 64 L 64 64 L 64 0 L 0 0 z M 32 16 C 36.482469 15.999275 39.489763 16.027944 43.828125 16.197266 C 45.223688 17.11826 47.973899 20.631595 48 21.552734 L 48 23.076172 C 48 25.008914 46.375769 26.707031 44.900391 26.707031 C 43.128974 26.707031 41.652344 25.07576 41.652344 23.138672 C 41.652344 25.07576 40.226756 26.707031 38.455078 26.707031 C 36.68353 26.707031 35.302734 25.07576 35.302734 23.138672 C 35.302734 25.07576 33.787432 26.707031 32.015625 26.707031 L 31.984375 26.707031 C 30.212699 26.707031 28.697266 25.07576 28.697266 23.138672 C 28.697266 25.07576 27.316728 26.707031 25.544922 26.707031 C 23.773245 26.707031 22.347656 25.07576 22.347656 23.138672 C 22.347526 25.07576 20.871157 26.707031 19.099609 26.707031 C 17.624234 26.707031 16 25.008624 16 23.076172 L 16 21.552734 C 16.026082 20.63174 18.776052 17.11855 20.171875 16.197266 C 21.406769 16.077682 27.517662 16.000435 32 16 z M 28.673828 25.796875 A 3.6505562 4.0580007 0 0 0 29.292969 26.689453 A 3.7155025 4.1301957 0 0 0 31.894531 27.867188 C 31.930136 27.867188 31.964779 27.866621 32 27.865234 C 32.035221 27.866088 32.07219 27.867188 32.107422 27.867188 A 3.7155025 4.1301957 0 0 0 34.708984 26.689453 A 3.6502954 4.0577109 0 0 0 35.326172 25.796875 A 3.6548598 4.0627847 0 0 0 35.949219 26.689453 C 36.617985 27.416189 37.534472 27.867188 38.544922 27.867188 A 3.7141985 4.1287462 0 0 0 41.146484 26.689453 C 41.388792 26.425753 41.573442 26.142952 41.742188 25.814453 C 41.910814 26.143677 42.1458 26.425338 42.388672 26.689453 A 3.7168066 4.1316454 0 0 0 44.990234 27.867188 C 45.112172 27.867188 45.239291 27.830162 45.341797 27.791016 C 45.484209 29.439616 45.543344 31.01503 45.564453 32.164062 L 45.566406 32.169922 C 45.569073 32.753426 45.571445 33.23411 45.574219 33.900391 C 45.546831 37.359375 45.881298 45.110721 44.201172 47.015625 C 41.597581 47.690463 36.806287 47.998187 32 48 C 27.193582 47.998115 22.402421 47.690463 19.798828 47.015625 C 18.118702 45.110865 18.455126 37.359375 18.427734 33.900391 C 18.430401 33.233965 18.432987 32.753281 18.435547 32.169922 L 18.435547 32.164062 C 18.456799 31.015319 18.515782 29.439616 18.658203 27.791016 C 18.760709 27.830151 18.887947 27.867188 19.009766 27.867188 A 3.7168066 4.1316454 0 0 0 21.611328 26.689453 C 21.85416 26.425316 22.089324 26.143533 22.257812 25.814453 C 22.426437 26.142953 22.611207 26.425606 22.853516 26.689453 A 3.7144592 4.129036 0 0 0 25.455078 27.867188 C 26.465659 27.867188 27.382014 27.416332 28.050781 26.689453 A 3.6548598 4.0627847 0 0 0 28.673828 25.796875 z M 37.998047 29.636719 L 37.998047 29.638672 L 37.996094 29.638672 C 36.938044 29.640989 35.998583 29.639715 34.833984 31.052734 C 33.917302 30.94591 32.958545 30.891191 32 30.892578 C 31.041455 30.890977 30.082567 30.945897 29.166016 31.052734 C 28.001416 29.63986 27.061956 29.641019 26.003906 29.638672 L 26.001953 29.638672 C 25.502078 29.638672 23.502722 29.638165 22.109375 33.988281 L 20.613281 39.955078 C 19.504239 44.394801 20.966648 44.503759 22.792969 44.507812 C 25.50128 44.395752 27.001953 42.209586 27.001953 40.023438 C 28.501065 40.296565 30.250885 40.433594 32 40.433594 C 33.748987 40.433449 35.498804 40.296562 36.998047 40.023438 C 36.998047 42.209586 38.496636 44.395759 41.205078 44.507812 C 43.031397 44.503898 44.495762 44.39464 43.386719 39.955078 L 41.890625 33.988281 C 40.497278 29.638166 38.497925 29.636719 37.998047 29.636719 z M 32 33.056641 C 32 33.056641 34.851013 35.967594 35.363281 37.001953 L 33.498047 36.919922 L 33.498047 38.728516 C 33.498047 38.813166 32.749101 38.778784 32 38.740234 C 31.250641 38.778805 30.501953 38.813177 30.501953 38.728516 L 30.501953 36.919922 L 28.636719 37.001953 C 29.148854 35.967594 31.997653 33.059414 32 33.056641 z "});xe("itunes",{color:"#E049D1",path:"M0,0v64h64V0H0z M42.5,40c0,2.2-1.8,4-4,4h-2c-1.9,0-3.4-1.5-3.4-3.4s1.5-3.4,3.4-3.4h2.8c0.8,0,1.4-0.6,1.4-1.4 v-11c0-0.5-0.4-0.9-0.9-0.9c-0.1,0-0.1,0-0.2,0l-12.1,2.4c-0.4,0.1-0.7,0.4-0.7,0.9V43c0,2.2-1.8,4-4,4h-2c-1.9,0-3.4-1.5-3.4-3.4 c0-1.9,1.5-3.4,3.4-3.4h2.8c0.8,0,1.4-0.6,1.4-1.4V21.3c0-0.7,0.5-1.2,1.1-1.4l14.7-3c0.1,0,0.2,0,0.3,0c0.8,0,1.4,0.6,1.4,1.4V40z"});xe("leetcode",{color:"#E7A41F",path:"M0 0H64V64H0V0ZM42.0505 42.0701C41.2043 41.1924 39.8301 41.1901 38.9812 42.065L35.2116 45.9499C33.4064 47.8103 30.4336 47.8376 28.595 46.0099L21.8371 39.1709C20.0126 37.3244 19.6935 34.4303 21.2767 32.6807L27.4861 26.0554C29.1514 24.2149 32.5276 23.9936 34.4576 25.6045L39.9647 30.2012C40.8973 30.9797 42.2638 30.8291 43.0167 29.8648C43.7696 28.9006 43.624 27.4879 42.6913 26.7094L37.1842 22.1126C35.98 21.1076 34.5353 20.472 33.023 20.1957L36.5 16.5C37.3491 15.5894 37.4474 14.2364 36.5397 13.3845C35.6321 12.5326 34.208 12.5802 33.3589 13.4908L24.3163 22.9895L18.2527 29.6904C15.0006 33.2842 15.3449 38.8805 18.8008 42.3779C23.9956 47.6352 25.5703 49.2288 25.5907 49.249C29.1271 52.7645 34.7982 52.7125 38.276 49.1283L42.0456 45.2434C42.8945 44.3685 42.8967 42.9478 42.0505 42.0701ZM27.6535 36.054C27.6535 37.2933 28.6251 38.2979 29.8238 38.2979H45.8298C47.0284 38.2979 48.0001 37.2933 48.0001 36.054C48.0001 34.8148 47.0284 33.8101 45.8298 33.8101H29.8238C28.6251 33.8101 27.6535 34.8148 27.6535 36.054Z"});xe("linkedin",{color:"#007fb1",path:"M0,0v64h64V0H0z M25.8,44h-5.4V26.6h5.4V44z M23.1,24.3c-1.7,0-3.1-1.4-3.1-3.1c0-1.7,1.4-3.1,3.1-3.1 c1.7,0,3.1,1.4,3.1,3.1C26.2,22.9,24.8,24.3,23.1,24.3z M46,44h-5.4v-8.4c0-2,0-4.6-2.8-4.6c-2.8,0-3.2,2.2-3.2,4.5V44h-5.4V26.6 h5.2V29h0.1c0.7-1.4,2.5-2.8,5.1-2.8c5.5,0,6.5,3.6,6.5,8.3V44z"});xe("linktree",{color:"#39e09b",path:"M0,0v64h64V0H0z M27.43603,19.38636c-0.60084,-0.94849 -2.16195,-0.94849 -2.76234,0l-10.32917,16.44343c-0.48058,0.84332 0.24007,1.79182 1.32104,1.79182l6.96599,0l0,6.21877c0,0.63259 0.60084,1.15962 1.32149,1.15962l4.08339,0c0.72065,0 1.32104,-0.52703 1.32104,-1.15962l0,-6.21877l-1.92144,0c-0.84091,0 -1.4413,-0.52703 -1.56156,-1.15962c0,-0.21073 0,-0.42147 0.12026,-0.63454l5.7652,-9.17021l-4.3239,-7.27088zm9.12794,0c0.60084,-0.94849 2.16195,-0.94849 2.76234,0l10.32917,16.44343c0.48058,0.84332 -0.24007,1.79182 -1.32104,1.79182l-6.84618,0l0,6.21877c0,0.63259 -0.60039,1.15962 -1.32238,1.15962l-4.32257,0c-0.72065,0 -1.32104,-0.52703 -1.32104,-1.15962l0,-6.21877l1.92188,0c0.84046,0 1.44086,-0.52703 1.56111,-1.15962c0,-0.21073 0,-0.42147 -0.12026,-0.63454l-5.76476,-9.16786l4.44371,-7.27322z"});xe("mailto",{color:"#7f7f7f",path:"M41.1,25H22.9l9.1,7.1L41.1,25z M44,26.6l-12,9.3l-12-9.3V39h24V26.6z M0,0v64h64V0H0z M47,42H17V22h30V42z"});xe("mastodon",{color:"#17063B",path:"M -0.13476562,-0.13476562 V 64.40625 H 64.542969 V -0.13476562 Z M 31.910156,16 c 4.393659,-0.01635 8.819314,0.462327 11.212891,1.488281 0,0 4.875,2.042137 4.875,8.992188 0,0 0.06408,5.125699 -0.683594,8.6875 -0.477112,2.260168 -4.218698,4.733622 -8.515625,5.21289 -1.53898,0.170881 -7.129606,1.013405 -13.685547,-0.480468 -0.0015,0.332416 0.02181,0.666347 0.06836,0.996093 0.507659,3.545781 3.767366,3.759249 6.861328,3.859375 3.123054,0.09345 5.646484,-0.722656 5.646484,-0.722656 l 0.128906,2.638672 c 0,0 -1.923363,1.093335 -5.814453,1.294922 -2.1441,0.113475 -4.810874,-0.04949 -7.912109,-0.814453 C 15.994012,45.143157 16,34.753512 16,26.480469 16,19.530418 20.882812,17.488281 20.882812,17.488281 23.152736,16.527743 27.516498,16.01635 31.910156,16 Z m -4.703125,5.300781 c -1.505342,-0.03705 -3.027216,0.508604 -4.015625,1.53125 -1.802265,1.918407 -1.40625,3.173566 -1.40625,11.816407 h 3.56836 v -7.513672 c 0,-3.517747 4.882812,-3.65096 4.882812,0.490234 v 4.353516 h 3.53711 V 27.625 c 0,-4.141195 4.886718,-4.006027 4.886718,-0.488281 v 7.515625 h 3.560547 v -0.0039 c 0,-8.636166 0.403288,-9.883315 -1.40625,-11.816407 -1.962273,-2.031882 -6.087649,-2.196273 -7.927734,0.429688 l -0.882813,1.382812 -0.886718,-1.382812 c -0.916407,-1.305638 -2.404814,-1.923888 -3.910157,-1.960938 z"});xe("matrix",{color:"#000000",path:"M 0 0 L 0 64 L 64 64 L 64 0 L 0 0 z M 16 16 L 19.039062 16 L 19.039062 16.732422 L 16.841797 16.732422 L 16.841797 47.267578 L 19.039062 47.267578 L 19.039062 48 L 16 48 L 16 16 z M 44.960938 16 L 48 16 L 48 48 L 44.960938 48 L 44.960938 47.267578 L 47.158203 47.267578 L 47.158203 16.732422 L 44.960938 16.732422 L 44.960938 16 z M 29.767578 26.103516 C 30.487577 26.103516 31.144855 26.247438 31.742188 26.523438 C 32.339521 26.80077 32.78823 27.298668 33.101562 28 C 33.440229 27.501333 33.901802 27.059068 34.480469 26.677734 C 35.059135 26.295069 35.74635 26.103516 36.541016 26.103516 C 37.145015 26.103516 37.703371 26.178175 38.220703 26.326172 C 38.738037 26.472838 39.175589 26.70787 39.544922 27.033203 C 39.912922 27.35987 40.196916 27.778116 40.40625 28.300781 C 40.608916 28.823448 40.712891 29.45274 40.712891 30.191406 L 40.712891 37.828125 L 37.582031 37.828125 L 37.582031 31.359375 C 37.582031 30.978042 37.568402 30.614677 37.539062 30.277344 A 2.34 2.34 0 0 0 37.298828 29.396484 A 1.4746667 1.4746667 0 0 0 36.714844 28.800781 C 36.456177 28.654114 36.105301 28.578125 35.667969 28.578125 C 35.225302 28.578125 34.868323 28.663408 34.597656 28.830078 A 1.84 1.84 0 0 0 33.957031 29.496094 A 2.5946667 2.5946667 0 0 0 33.648438 30.423828 A 7.4133333 7.4133333 0 0 0 33.568359 31.470703 L 33.568359 37.828125 L 30.435547 37.828125 L 30.435547 31.427734 C 30.435547 31.089068 30.430809 30.757781 30.412109 30.425781 A 2.7653333 2.7653333 0 0 0 30.220703 29.507812 A 1.4026667 1.4026667 0 0 0 29.667969 28.837891 C 29.409302 28.671225 29.033296 28.583984 28.529297 28.583984 C 28.381297 28.583984 28.183359 28.616924 27.943359 28.683594 C 27.70336 28.751594 27.464948 28.87326 27.238281 29.058594 C 27.010281 29.242594 26.812344 29.507563 26.652344 29.851562 C 26.492344 30.196895 26.412109 30.652891 26.412109 31.212891 L 26.412109 37.833984 L 23.279297 37.833984 L 23.279297 26.414062 L 26.232422 26.414062 L 26.232422 27.955078 L 26.277344 27.955078 C 26.689343 27.364412 27.188912 26.909843 27.767578 26.589844 C 28.344911 26.263177 29.015579 26.103516 29.767578 26.103516 z"});xe("medium",{color:"#000000",path:"M 0 0 L 0 64 L 64 64 L 64 0 L 0 0 z M 25.025391 22.914062 C 30.009825 22.914062 34.050781 26.981531 34.050781 32 C 34.050781 37.018468 30.009518 41.085937 25.025391 41.085938 C 20.041264 41.085938 16 37.017549 16 32 C 16 26.982451 20.040957 22.914063 25.025391 22.914062 z M 39.4375 23.445312 C 41.929721 23.445312 43.949219 27.274963 43.949219 32 L 43.951172 32 C 43.951172 36.72381 41.92972 40.554688 39.4375 40.554688 C 36.945279 40.554688 34.925781 36.72381 34.925781 32 C 34.925781 27.276189 36.94528 23.445312 39.4375 23.445312 z M 46.412109 24.335938 C 47.288434 24.335938 48 27.767392 48 32 C 48 36.231381 47.288741 39.664062 46.412109 39.664062 C 45.535478 39.664062 44.826172 36.2323 44.826172 32 C 44.826172 27.767699 45.535784 24.335938 46.412109 24.335938 z "});xe("meetup",{color:"#E51937",path:"M0,0v64h64V0H0z M47.8,44.3c-0.4,0.2-2.5,0.9-3.9,1c-0.6,0.1-1.1-0.6-1.4-1.5c-1.5-4.6-3.5-11.8-5.2-16.6 c0,3.7-0.3,10.8-0.4,12c-0.1,1.7-0.4,3.7-1.8,3.9c-1.1,0.2-2.4,0.4-4,0.4c-1.3,0-1.8-0.9-2.4-1.8c-1-1.4-3.1-4.8-4.1-6.9 c0.3,2.3,0.7,4.7,0.9,5.8c0.1,0.8,0,1.5-0.6,1.9c-1,0.7-3.2,1.4-4.1,1.4c-0.8,0-1.5-0.8-1.6-1.6c-0.7-3.4-1.2-8-1.1-11.1 c0-2.8,0-5.9,0.2-8.3c0-0.7,0.3-1.1,0.9-1.4c1.2-0.5,3-0.6,4.7-0.3c0.8,0.1,1,0.8,1.4,1.4c1.7,2.8,3.8,6.7,5.7,10.6 c0-6.3,1.9-11.9,3.5-15.3c0.5-1.1,0.9-1.4,1.9-1.4c1.3,0,2.9,0.2,4.1,0.4c1.1,0.2,1.5,1.6,1.7,2.5c1.2,4.5,4.7,18.7,5.5,22.4 C47.8,42.8,48.3,44,47.8,44.3z"});xe("opensea",{color:"#2081E2",path:"M 0,0 H 64 V 64 H 0 Z m 33,12.800782 c 0.499712,0 0.955746,0.203124 1.28125,0.535156 0.32544,0.332096 0.527344,0.786664 0.527344,1.292968 v 3.101562 l 0.375,0.10547 c 0.02956,0.01 0.05964,0.02325 0.08594,0.04297 0.0921,0.06906 0.222944,0.17188 0.390624,0.296876 0.13152,0.10516 0.274368,0.23176 0.445312,0.36328 0.338624,0.272832 0.743662,0.626834 1.1875,1.03125 0.11834,0.10188 0.234628,0.207284 0.339844,0.3125 0.572096,0.532608 1.2127,1.157226 1.82422,1.847656 0.17094,0.19398 0.336868,0.390554 0.507812,0.597656 0.17094,0.210432 0.353958,0.417834 0.511718,0.625 0.207168,0.27616 0.42711,0.560176 0.621094,0.859376 0.09204,0.14138 0.200286,0.288312 0.289062,0.429688 0.249856,0.378048 0.469256,0.768924 0.679688,1.160156 0.08876,0.1808 0.1789,0.376328 0.257812,0.570312 0.233408,0.522752 0.420728,1.057236 0.539064,1.589844 0.03616,0.11508 0.06104,0.239754 0.07422,0.351562 v 0.02734 c 0.03942,0.15776 0.05329,0.32515 0.06641,0.496094 0.0526,0.545792 0.02459,1.09157 -0.09375,1.640624 -0.04934,0.233472 -0.112506,0.45403 -0.191406,0.6875 -0.07892,0.223552 -0.159826,0.455494 -0.261718,0.675782 -0.19724,0.45696 -0.430872,0.912452 -0.707032,1.339844 -0.08876,0.15782 -0.191656,0.326552 -0.296876,0.484374 -0.115078,0.16762 -0.234626,0.32591 -0.339842,0.48047 -0.14464,0.19724 -0.299208,0.405716 -0.457032,0.589844 -0.14138,0.19398 -0.287488,0.38765 -0.445312,0.558594 -0.220288,0.25971 -0.42815,0.50545 -0.648438,0.742186 -0.13146,0.1545 -0.273264,0.31175 -0.417968,0.453126 -0.14132,0.15776 -0.28645,0.298168 -0.41797,0.429688 -0.220224,0.220288 -0.404034,0.39378 -0.558594,0.535156 l -0.36328,0.33203 c -0.0526,0.04602 -0.122994,0.07031 -0.195312,0.07031 h -2.800782 v 3.59375 h 3.527344 c 0.789054,0 1.535698,-0.280074 2.140624,-0.79297 0.207104,-0.1808 1.11121,-0.960338 2.179688,-2.140624 0.03616,-0.03948 0.08412,-0.06891 0.136718,-0.08203 l 9.734376,-2.816406 c 0.18086,-0.0526 0.36328,0.08662 0.36328,0.277344 v 2.058594 c 0,0.11834 -0.07056,0.223514 -0.17578,0.26953 -0.644352,0.27616 -2.852284,1.29076 -3.769532,2.566406 -2.340862,3.25811 -4.127116,7.91797 -8.125,7.91797 H 24.140624 c -5.911226,0 -10.699218,-4.807216 -10.699218,-10.738282 v -0.191406 c 0,-0.15782 0.12734,-0.285156 0.285156,-0.285156 h 9.296876 c 0.18406,0 0.317164,0.170758 0.30078,0.351562 -0.0658,0.604928 0.04602,1.222982 0.332032,1.785156 0.55232,1.121152 1.697434,1.820314 2.933594,1.820314 h 4.605468 v -3.59375 h -4.55078 c -0.233408,0 -0.373066,-0.270282 -0.238282,-0.460938 0.04928,-0.07564 0.104922,-0.153424 0.164062,-0.242188 0.43072,-0.61152 1.044732,-1.562868 1.65625,-2.64453 0.417536,-0.729856 0.822934,-1.5066 1.148438,-2.289064 0.0658,-0.14138 0.119276,-0.288312 0.171876,-0.429688 0.08876,-0.249854 0.18036,-0.481434 0.246092,-0.714842 0.0658,-0.19732 0.119276,-0.403674 0.171876,-0.597658 0.15456,-0.664126 0.21875,-1.3678 0.21875,-2.097656 0,-0.286014 -0.01284,-0.585078 -0.03906,-0.871092 -0.0132,-0.31232 -0.05034,-0.625182 -0.08984,-0.9375 -0.0263,-0.27616 -0.07629,-0.549922 -0.128906,-0.835938 -0.06572,-0.417536 -0.160406,-0.8324 -0.265626,-1.25 L 29.625,23.929688 c -0.07892,-0.28608 -0.14625,-0.561642 -0.238282,-0.847656 -0.259774,-0.8976 -0.555446,-1.771222 -0.871094,-2.589844 -0.115058,-0.3255 -0.247386,-0.6369 -0.378906,-0.94922 -0.19392,-0.470142 -0.393418,-0.896364 -0.574218,-1.30078 -0.09204,-0.18412 -0.171084,-0.352494 -0.25,-0.523438 -0.08876,-0.19398 -0.177436,-0.390154 -0.269532,-0.574218 -0.06572,-0.14138 -0.142712,-0.270824 -0.195312,-0.402344 l -0.5625,-1.039064 c -0.07892,-0.141378 0.05253,-0.308376 0.207032,-0.265624 l 3.51953,0.953124 h 0.0078 c 0.0066,0 0.0083,0.0039 0.01172,0.0039 l 0.464844,0.128906 0.511718,0.14453 0.1875,0.05078 v -2.089844 c 0,-1.009342 0.8052,-1.828124 1.804688,-1.828124 z m -8.488282,6.902342 c 0.09822,0.007 0.192266,0.06442 0.238282,0.16797 1.390718,3.116732 2.58952,6.993068 2.027344,9.40625 -0.24,0.992894 -0.896944,2.33928 -1.63672,3.582032 -0.0953,0.180858 -0.200692,0.356398 -0.3125,0.527342 -0.0526,0.07892 -0.139018,0.125 -0.234374,0.125 h -8.5625 c -0.230144,0 -0.363852,-0.250108 -0.242188,-0.4375 L 15.925782,32.859376 24.25,19.835938 c 0.06083,-0.09533 0.163502,-0.139798 0.261718,-0.132814 z"});xe("patreon",{color:"#000000",path:"M0,0H64V64H0ZM 52.8531 23.4586 C 52.8449 17.7383 48.3906 13.0488 43.1625 11.359 C 36.6711 9.259 28.1098 9.5625 21.9109 12.4855 C 14.3996 16.032 12.0398 23.7977 11.9523 31.5414 C 11.8812 37.9098 12.5156 54.6797 21.9738 54.8 C 29.0039 54.8875 30.0512 45.8312 33.3023 41.4699 c 2.3133 -3.1035 5.2937 -3.9785 8.9605 -4.8863 c 6.3027 -1.5613 10.5984 -6.5352 10.5902 -13.125 z m 0 0"});xe("pinterest",{color:"#cb2128",path:"M0,0v64h64V0H0z M32,48c-1.6,0-3.1-0.2-4.5-0.7c0.6-1,1.3-2.2,1.6-3.4c0.2-0.7,1.1-4.4,1.1-4.4 c0.6,1.1,2.2,2,3.9,2c5.1,0,8.6-4.7,8.6-11c0-4.7-4-9.2-10.1-9.2c-7.6,0-11.4,5.5-11.4,10c0,2.8,1,5.2,3.3,6.1 c0.4,0.1,0.7,0,0.8-0.4c0.1-0.3,0.2-1,0.3-1.3c0.1-0.4,0.1-0.5-0.2-0.9c-0.6-0.8-1.1-1.7-1.1-3.1c0-4,3-7.7,7.9-7.7 c4.3,0,6.7,2.6,6.7,6.1c0,4.6-2,8.5-5.1,8.5c-1.7,0-2.9-1.4-2.5-3.1c0.5-2,1.4-4.2,1.4-5.7c0-1.3-0.7-2.4-2.2-2.4 c-1.7,0-3.1,1.8-3.1,4.1c0,1.5,0.5,2.5,0.5,2.5s-1.8,7.4-2.1,8.7c-0.3,1.2-0.3,2.6-0.3,3.7C19.9,44.2,16,38.6,16,32 c0-8.8,7.2-16,16-16c8.8,0,16,7.2,16,16C48,40.8,40.8,48,32,48z"});xe("pixiv",{color:"#0097fa",path:"M0,0v64h64V0H0z M 33.552734 16.46875 C 21.708875 16.46875 13.650391 25.615234 13.650391 25.615234 L 15.919922 29.220703 C 15.919922 29.220703 17.180054 29.327146 16.511719 27.203125 C 17.085451 26.116698 18.210086 24.658325 20.404297 22.970703 L 20.404297 46.978516 C 19.458253 47.247074 18.209962 47.747072 19.064453 48.601562 L 25.582031 48.601562 C 26.442627 47.740968 25.088743 47.222673 24.261719 46.978516 L 24.261719 41.316406 C 24.261719 41.316406 28.730963 43.072266 33.552734 43.072266 C 37.78552 43.072266 41.640263 41.811762 44.505859 39.535156 C 47.374506 37.270752 49.218055 33.892818 49.208984 30.029297 C 49.227296 26.306156 47.618647 22.755613 44.798828 20.320312 C 42.006468 17.881962 38.093741 16.472656 33.552734 16.472656 L 33.552734 16.46875 z M 33.15625 18.496094 C 36.757322 18.499147 39.580706 19.856689 41.494141 21.925781 C 43.401491 24.000973 44.442052 26.756349 44.451172 29.966797 C 44.438968 33.091793 43.327375 35.664185 41.34375 37.638672 C 39.363164 39.597898 36.479609 40.833984 33.15625 40.833984 L 33.134766 40.833984 C 29.436041 40.833984 26.318602 40.114744 24.261719 39.101562 L 24.261719 21.087891 C 26.523068 19.482668 30.189947 18.489893 33.15625 18.496094 z "});xe("ravelry",{color:"#EE6E62",path:"M 0,0 H 64 V 64 H 0 Z m 42.692268,28.943187 c 0,0 -2.183968,-0.39738 -3.751944,-0.39738 -3.583932,0 -4.423932,1.986862 -4.423932,4.938744 v 12.48877 h -9.68784 v -25.43168 h 9.68784 v 4.257542 c 1.175992,-3.576324 3.527958,-4.825204 8.175876,-4.825204 z"});xe("rdio",{color:"#0475C5",path:"M0,0v64h64V0H0z M43.9,30.5c0.1,0.5,0.1,1,0.1,1.5V32c0,6.4-5.1,11.6-12,11.6c-6.9,0-12-5.1-12-11.5V32 c0-6.4,5.1-11.6,12-11.6c1.2,0,2.3,0.2,3.4,0.5v6.8c-0.2-0.1-0.4-0.2-0.6-0.3c-3-1-6.2,0.4-7.7,2.9l0,0.1c-1.5,2.5-0.8,5.3,2.1,6.3 c3,1,6.2-0.4,7.7-2.9l0-0.1c0.5-0.8,0.8-1.7,0.8-2.6h0v-9.3c0.2,0.1,0.3,0.2,0.5,0.3c0.1,0.1,0.3,0.2,0.4,0.2c1.5,1,5.4,3.5,8.7,3.4 C49,25.8,47.5,29.5,43.9,30.5z"});xe("reddit",{color:"#FF4500",path:"M0,0v64h64V0H0z M 53.34375 32 C 53.277344 30.160156 52.136719 28.53125 50.429688 27.839844 C 48.722656 27.148438 46.769531 27.523438 45.441406 28.800781 C 41.800781 26.324219 37.519531 24.957031 33.121094 24.863281 L 35.199219 14.878906 L 42.046875 16.320312 C 42.214844 17.882812 43.496094 19.09375 45.066406 19.171875 C 46.636719 19.253906 48.03125 18.183594 48.359375 16.644531 C 48.6875 15.105469 47.847656 13.558594 46.382812 12.992188 C 44.914062 12.425781 43.253906 13.007812 42.464844 14.367188 L 34.625 12.800781 C 34.363281 12.742188 34.09375 12.792969 33.871094 12.9375 C 33.648438 13.082031 33.492188 13.308594 33.441406 13.566406 L 31.070312 24.671875 C 26.617188 24.738281 22.277344 26.105469 18.59375 28.609375 C 17.242188 27.339844 15.273438 26.988281 13.570312 27.707031 C 11.863281 28.429688 10.746094 30.089844 10.71875 31.941406 C 10.691406 33.789062 11.757812 35.484375 13.441406 36.257812 C 13.402344 36.726562 13.402344 37.195312 13.441406 37.664062 C 13.441406 44.832031 21.792969 50.65625 32.097656 50.65625 C 42.398438 50.65625 50.753906 44.832031 50.753906 37.664062 C 50.789062 37.195312 50.789062 36.726562 50.753906 36.257812 C 52.363281 35.453125 53.371094 33.800781 53.34375 32 Z M 21.34375 35.199219 C 21.34375 33.433594 22.777344 32 24.542969 32 C 26.3125 32 27.742188 33.433594 27.742188 35.199219 C 27.742188 36.96875 26.3125 38.398438 24.542969 38.398438 C 22.777344 38.398438 21.34375 36.96875 21.34375 35.199219 Z M 39.9375 44 C 37.664062 45.710938 34.871094 46.582031 32.03125 46.464844 C 29.191406 46.582031 26.398438 45.710938 24.128906 44 C 23.847656 43.65625 23.871094 43.15625 24.183594 42.839844 C 24.5 42.527344 25 42.503906 25.34375 42.785156 C 27.269531 44.195312 29.617188 44.90625 32 44.800781 C 34.386719 44.929688 36.746094 44.242188 38.6875 42.847656 C 39.042969 42.503906 39.605469 42.511719 39.953125 42.863281 C 40.296875 43.21875 40.289062 43.785156 39.9375 44.128906 Z M 39.359375 38.527344 C 37.59375 38.527344 36.160156 37.09375 36.160156 35.328125 C 36.160156 33.5625 37.59375 32.128906 39.359375 32.128906 C 41.128906 32.128906 42.558594 33.5625 42.558594 35.328125 C 42.59375 36.203125 42.269531 37.054688 41.65625 37.6875 C 41.046875 38.316406 40.203125 38.664062 39.328125 38.65625 Z M 39.359375 38.527344"});xe("rss",{color:"#EF8733",path:"M0,0v64h64V0H0z M24,44c-2.2,0-4-1.8-4-4c0-2.2,1.8-4,4-4s4,1.8,4,4C28,42.2,26.2,44,24,44z M35,43 c-1.1,0-2-0.9-2-2c0-5.5-4.5-10-10-10c-1.1,0-2-0.9-2-2s0.9-2,2-2c7.7,0,14,6.3,14,14C37,42.1,36.1,43,35,43z M44,43 c-1.1,0-2-0.9-2-2c0-10.5-8.5-19-19-19c-1.1,0-2-0.9-2-2s0.9-2,2-2c12.7,0,23,10.3,23,23C46,42.1,45.1,43,44,43z"});xe("sharethis",{color:"#00BF00",path:"M0,0L64,0L64,64L0,64L0,0ZM28.3875,32.0001C28.3875,32.0843 28.3683,32.1632 28.3633,32.2471L37.1647,36.6464C37.9182,36.0083 38.8823,35.61 39.9474,35.61C42.3418,35.6105 44.2821,37.5509 44.2821,39.945C44.2821,42.3418 42.3417,44.2821 39.9474,44.2821C37.551,44.2821 35.6127,42.3417 35.6127,39.945C35.6127,39.8587 35.6319,39.7816 35.6367,39.698L26.8353,35.2984C26.0795,35.9341 25.1177,36.3324 24.0526,36.3324C21.6584,36.3324 19.7179,34.3941 19.7179,32.0001C19.7179,29.6036 21.6584,27.6628 24.0526,27.6628C25.1176,27.6628 26.0798,28.0635 26.8353,28.6992L35.6367,24.2997C35.6319,24.2156 35.6127,24.1365 35.6127,24.0502C35.6127,21.6584 37.551,19.7179 39.9474,19.7179C42.3418,19.7179 44.2821,21.6584 44.2821,24.0502C44.2821,26.4466 42.3417,28.3875 39.9474,28.3875C38.88,28.3875 37.9178,27.9868 37.1647,27.3487L28.3633,31.7506C28.368,31.8347 28.3875,31.9138 28.3875,32.0001Z"});xe("slack",{color:"#4A164A",path:"M 0,0 V 64 H 64 V 0 Z m 12.636243,37.559371 c 0,5.066505 8,5.066505 8,0 v -3.79988 h -4 c -2.209139,0 -4,1.701265 -4,3.79988 z m 25.28,-6.34579 c 2.209139,0 4,-1.701264 4,-3.79988 v -10.12667 c 0,-5.066504 -8,-5.066504 -8,0 v 10.12667 c -1.11e-4,2.113546 1.815256,3.821016 4.04,3.79988 z m 14.64,-3.79988 c 0,-5.066504 -8,-5.066504 -8,0 v 3.79988 h 4 c 2.240314,0.04257 4.080448,-1.671223 4.08,-3.79988 z m -25.24,6.34579 c -2.209139,0 -4,1.701265 -4,3.79988 v 10.12667 c 0,5.066505 8,5.066505 8,0 v -10.12667 c 0,-2.098615 -1.790861,-3.79988 -4,-3.79988 z m 10.64,10.12667 h -4 v 3.79988 c 0,3.385567 4.308554,5.080452 6.828283,2.686785 2.51973,-2.393667 0.735584,-6.486665 -2.828283,-6.486665 z m 10.68,-10.12667 h -10.68 c -5.324679,0.0082 -5.324679,7.591545 0,7.59975 h 10.68 c 5.324679,-0.0082 5.324679,-7.591544 0,-7.59975 z m -21.32,-10.14567 h -10.68 c -5.341983,-0.0082 -5.341983,7.607983 0,7.59975 h 10.68 c 5.324679,-0.0082 5.324679,-7.591544 0,-7.59975 z m 0,-10.12667 c -5.324679,0.0082 -5.324679,7.591545 0,7.59975 h 4 v -3.79988 c 0,-2.125738 -1.803765,-3.79987 -4,-3.79987 z"});xe("smugmug",{color:"#8cca1e",path:"M0,0v64h64V0H0z M36.1,19.8c0.2-1.3,1.3-2.6,3.2-2.8c2.4-0.2,3.8,1.3,3.8,2.8c0,1.3-1.2,2.6-3.8,2.8 C36.9,22.7,35.9,21.3,36.1,19.8z M22.5,20.2c0.2-1.4,1.4-2.8,3.3-2.8c2.3,0,3.5,1.1,3.6,2.4c0.2,1.5-1.1,3.1-3.9,3.1 C23.1,23,22.3,21.6,22.5,20.2z M28.8,47c-10.9,0-12-17.5-6.9-17.5c12.1-0.3,12.5-0.3,19-1C51.7,27.4,39.2,47,28.8,47z M40.3,31.6 c-3.9,0-6.8,0.5-17.8,0.9c-1.6,0.1-2.9,11.4,6.6,11.4C36.6,43.9,44.3,31.6,40.3,31.6z"});xe("snapchat",{color:"#FFC91B",path:"M0,0v64h64V0H0z M47.927,39.545c-0.326,0.76-1.702,1.318-4.21,1.707c-0.083,0.113-0.17,0.511-0.223,0.754c-0.054,0.245-0.108,0.487-0.183,0.743c-0.104,0.357-0.367,0.554-0.74,0.554h-0.018l-0.019,0c-0.177,0-0.421-0.03-0.723-0.089c-0.482-0.094-1.022-0.181-1.706-0.181c-0.397,0-0.809,0.034-1.222,0.103c-0.809,0.135-1.496,0.62-2.293,1.184c-1.139,0.805-2.43,1.718-4.392,1.718c-0.088,0-0.171-0.003-0.234-0.006c-0.054,0.004-0.108,0.006-0.162,0.006c-1.962,0-3.253-0.912-4.393-1.718c-0.796-0.562-1.483-1.048-2.292-1.183c-0.414-0.069-0.826-0.103-1.223-0.103c-0.716,0-1.288,0.112-1.706,0.193c-0.278,0.055-0.519,0.102-0.723,0.102c-0.505,0-0.701-0.308-0.776-0.565c-0.077-0.262-0.131-0.51-0.183-0.751c-0.053-0.244-0.14-0.644-0.224-0.758c-2.507-0.389-3.884-0.948-4.21-1.711c-0.041-0.097-0.065-0.197-0.071-0.298c-0.019-0.338,0.22-0.637,0.555-0.692c4.349-0.716,6.308-5.181,6.389-5.371c0.005-0.011,0.01-0.021,0.015-0.032c0.232-0.471,0.284-0.866,0.154-1.172c-0.251-0.592-1.177-0.885-1.789-1.08c-0.17-0.054-0.331-0.105-0.464-0.157c-1.482-0.585-1.688-1.258-1.601-1.719c0.122-0.64,0.903-1.07,1.555-1.07c0.189,0,0.359,0.035,0.507,0.104c0.557,0.261,1.053,0.394,1.472,0.394c0.314,0,0.513-0.075,0.622-0.136c-0.015-0.257-0.032-0.523-0.048-0.779c-0.136-2.173-0.307-4.877,0.403-6.469c2.111-4.732,6.585-5.1,7.905-5.1c0.041,0,0.554-0.005,0.554-0.005c0.025-0.001,0.051-0.001,0.078-0.001h0.001c1.324,0,5.807,0.368,7.919,5.103c0.711,1.593,0.54,4.299,0.403,6.474l-0.006,0.092c-0.015,0.237-0.029,0.464-0.042,0.685c0.099,0.055,0.272,0.121,0.537,0.134c0.4-0.018,0.863-0.149,1.379-0.391c0.219-0.103,0.454-0.124,0.613-0.124c0.232,0,0.468,0.045,0.667,0.128l0.002,0.001c0.592,0.212,0.965,0.638,0.974,1.117c0.011,0.609-0.533,1.135-1.617,1.564c-0.132,0.052-0.293,0.103-0.465,0.158c-0.612,0.194-1.538,0.488-1.788,1.079c-0.13,0.306-0.079,0.701,0.154,1.172c0.005,0.011,0.01,0.021,0.015,0.032c0.081,0.189,2.038,4.654,6.389,5.371c0.334,0.055,0.573,0.353,0.555,0.691C47.993,39.347,47.969,39.448,47.927,39.545z"});xe("soundcloud",{color:"#FF5700",path:"M0,0v64h64V0H0z M18.5,36.3c0,0.7-0.6,1.2-1.2,1.2c-0.7,0-1.2-0.6-1.2-1.2v-4.9c0-0.6,0.6-1.1,1.2-1.1 c0.7,0,1.2,0.5,1.2,1.1V36.3z M23.4,37.5c0,0.7-0.6,1.2-1.2,1.2S21,38.2,21,37.5V29c0-0.6,0.6-1.1,1.2-1.1s1.2,0.5,1.2,1.1V37.5z M28.4,37.5c0,0.7-0.6,1.2-1.2,1.2c-0.7,0-1.2-0.6-1.2-1.2V26.2c0-0.6,0.6-1.1,1.2-1.1c0.7,0,1.2,0.5,1.2,1.1V37.5z M43.6,38.7 c0,0-12.1,0-12.2,0c-0.3,0-0.5-0.2-0.5-0.5V24.3c0-0.3,0.1-0.4,0.4-0.5c0.9-0.3,1.8-0.5,2.8-0.5c4,0,7.4,3.1,7.7,7.1 c0.5-0.2,1.1-0.3,1.7-0.3c2.4,0,4.4,2,4.4,4.4C48,36.8,46,38.7,43.6,38.7z"});xe("spotify",{color:"#2EBD59",path:"M39,37.7c-4.2-2.6-9.4-3.2-15.5-1.8c-0.5,0.1-0.9,0.7-0.8,1.2c0.1,0.5,0.7,0.9,1.2,0.7c5.6-1.3,10.3-0.8,14.1,1.5 c0.5,0.3,1.1,0.1,1.4-0.3C39.6,38.6,39.5,38,39,37.7z M40.9,33c-4.9-3-12.2-3.9-18-2.1c-0.7,0.2-1,0.9-0.8,1.6 c0.2,0.7,0.9,1,1.6,0.8c5.1-1.5,11.6-0.8,15.9,1.9c0.6,0.4,1.4,0.2,1.7-0.4C41.7,34.1,41.5,33.4,40.9,33z M0,0v64h64V0H0z M32,48 c-8.8,0-16-7.2-16-16c0-8.8,7.2-16,16-16c8.8,0,16,7.2,16,16C48,40.8,40.8,48,32,48z M43,27.6c-5.9-3.5-15.3-3.9-21-2.1 c-0.8,0.2-1.2,1.1-1,1.9c0.2,0.8,1.1,1.2,1.9,1c4.9-1.5,13.4-1.2,18.6,1.9c0.7,0.4,1.6,0.2,2.1-0.5C43.9,29,43.7,28,43,27.6z"});xe("squarespace",{color:"#1C1C1C",path:"M0,0v64h64V0H0z M39.6,21.1c0.6,0.6,0.6,1.6,0,2.2c-0.6,0.6-1.6,0.6-2.2,0c-1.2-1.2-3.2-1.2-4.4,0l-9.8,9.8 c-0.6,0.6-1.6,0.6-2.2,0c-0.6-0.6-0.6-1.6,0-2.2l9.8-9.8C33.3,18.7,37.2,18.7,39.6,21.1z M17.8,36.4c-2.4-2.4-2.4-6.3,0-8.7l7.5-7.5 c1.2-1.2,3.2-1.2,4.4,0L20,29.8c-1.2,1.2-1.2,3.2,0,4.4c1.2,1.2,3.2,1.2,4.4,0l9.8-9.8c0.6-0.6,1.6-0.6,2.2,0c0.6,0.6,0.6,1.6,0,2.2 l-9.8,9.8C24.1,38.8,20.2,38.8,17.8,36.4z M24.4,42.9c-0.6-0.6-0.6-1.6,0-2.2c0.6-0.6,1.6-0.6,2.2,0c1.2,1.2,3.2,1.2,4.4,0l9.8-9.8 c0.6-0.6,1.6-0.6,2.2,0c0.6,0.6,0.6,1.6,0,2.2l-9.8,9.8C30.7,45.3,26.8,45.3,24.4,42.9z M46.2,36.4l-7.5,7.5c-1.2,1.2-3.2,1.2-4.4,0 l9.6-9.6c1.2-1.2,1.2-3.2,0-4.4c-1.2-1.2-3.2-1.2-4.4,0l-9.8,9.8c-0.6,0.6-1.6,0.6-2.2,0c-0.6-0.6-0.6-1.6,0-2.2l9.8-9.8 c2.4-2.4,6.3-2.4,8.7,0C48.6,30,48.6,34,46.2,36.4z"});xe("stackoverflow",{color:"#ed803d",path:"M64 0V64H0V0H64ZM46.1451 37.2649H42.7989V47.3034H19.3758V37.2649H16.0297V50.6495H46.1451V37.2649ZM39.4566 39.7243L23.0225 36.2702L23.7133 32.9834L40.1475 36.439L39.4566 39.7243ZM40.4209 35.4912L25.1972 28.401L26.615 25.3563L41.8391 32.4465L40.4209 35.4912ZM42.3161 31.6796L29.4097 20.932L31.5591 18.3512L44.4655 29.0985L42.3161 31.6796ZM35.0455 14.9923L37.7407 12.9877L47.7633 26.4638L45.0681 28.4682L35.0455 14.9923ZM39.4527 43.9572H22.7219V40.6111H39.4527V43.9572Z"});xe("t.me",{color:"#49a9e9",path:"M0,0v64h64V0H0z M 11.886719 33.476562 C 15.617188 31.421875 19.78125 29.707031 23.671875 27.980469 C 30.367188 25.15625 37.085938 22.382812 43.875 19.800781 C 45.199219 19.359375 47.570312 18.929688 47.804688 20.886719 C 47.675781 23.660156 47.152344 26.414062 46.792969 29.167969 C 45.878906 35.222656 44.824219 41.261719 43.796875 47.300781 C 43.441406 49.308594 40.921875 50.351562 39.308594 49.0625 C 35.4375 46.449219 31.53125 43.855469 27.710938 41.179688 C 26.457031 39.90625 27.617188 38.078125 28.738281 37.167969 C 31.925781 34.023438 35.3125 31.351562 38.335938 28.046875 C 39.152344 26.074219 36.742188 27.734375 35.945312 28.246094 C 31.578125 31.253906 27.316406 34.449219 22.710938 37.09375 C 20.359375 38.390625 17.617188 37.28125 15.265625 36.558594 C 13.15625 35.6875 10.066406 34.808594 11.886719 33.476562 Z M 11.886719 33.476562"});xe("telegram",{color:"#49a9e9",path:"M0,0v64h64V0H0z M 11.886719 33.476562 C 15.617188 31.421875 19.78125 29.707031 23.671875 27.980469 C 30.367188 25.15625 37.085938 22.382812 43.875 19.800781 C 45.199219 19.359375 47.570312 18.929688 47.804688 20.886719 C 47.675781 23.660156 47.152344 26.414062 46.792969 29.167969 C 45.878906 35.222656 44.824219 41.261719 43.796875 47.300781 C 43.441406 49.308594 40.921875 50.351562 39.308594 49.0625 C 35.4375 46.449219 31.53125 43.855469 27.710938 41.179688 C 26.457031 39.90625 27.617188 38.078125 28.738281 37.167969 C 31.925781 34.023438 35.3125 31.351562 38.335938 28.046875 C 39.152344 26.074219 36.742188 27.734375 35.945312 28.246094 C 31.578125 31.253906 27.316406 34.449219 22.710938 37.09375 C 20.359375 38.390625 17.617188 37.28125 15.265625 36.558594 C 13.15625 35.6875 10.066406 34.808594 11.886719 33.476562 Z M 11.886719 33.476562"});xe("threads",{color:"#000000",path:"m0 0v64h64v-64zm32.279693 15.750063h.01.01c3.717982.026 6.827018.981574 9.241756 2.840564 2.271739 1.748492 3.872044 4.237441 4.752789 7.402927l-2.763203.771633c-1.494993-5.362474-5.278256-8.102555-11.245227-8.144805-3.938982.02925-6.917957 1.266171-8.854947 3.677659-1.810242 2.258739-2.74729 5.522479-2.78304 9.70196.03575 4.179479.971532 7.443219 2.785024 9.701958 1.936989 2.414738 4.917948 3.65166 8.85693 3.67766 3.552233-.026 5.901954-.854914 7.855194-2.769154 2.22949-2.18399 2.190822-4.864913 1.475825-6.496406-.419248-.961995-1.183491-1.760713-2.213736-2.36846-.259999 1.829741-.842653 3.311462-1.739649 4.429457-1.199244 1.491744-2.898844 2.307003-5.050334 2.424002-1.628243.08775-3.198094-.295302-4.413588-1.085048-1.439744-.932746-2.281429-2.355402-2.372428-4.012893-.08775-1.611993.553147-3.094574 1.801141-4.173569 1.192745-1.030245 2.869481-1.635817 4.85197-1.749566 1.459244-.08125 2.827279-.01559 4.088273.192413-.169093-1.004246-.506734-1.803131-1.013732-2.378378-.695497-.792997-1.770159-1.196301-3.193652-1.206051h-.03967c-1.143994 0-2.697598.315013-3.685594 1.787255l-2.378379-1.594843c1.325994-1.969489 3.476985-3.056781 6.063973-3.056781h.05752c4.325729.026 6.904174 2.676316 7.160922 7.297793.14625.06175.291417.125429.434417.190429 2.01824.948996 3.49402 2.386458 4.270766 4.157699 1.078995 2.466739 1.179283 6.48629-2.096702 9.694025-2.505811 2.450487-5.543308 3.559145-9.852788 3.588395h-.01-.01c-4.848907-.0325-8.576761-1.63082-11.0825-4.750806-2.226239-2.778736-3.376819-6.64277-3.415819-11.485246v-.02381c.039-4.845724 1.190298-8.706508 3.419788-11.485244 2.502487-3.123235 6.232874-4.722273 11.078601-4.754773zm1.368708 16.668484c-.328249 0-.660488.01026-1.001735.02976-2.486239.13975-4.037168 1.280317-3.949418 2.902058.091 1.699742 1.967148 2.489764 3.77089 2.392265 1.657492-.08775 3.81552-.734569 4.179519-5.024548-.916496-.198252-1.920261-.299532-2.999256-.299532z"});xe("tiktok",{color:"#000000",path:"M 0 0 L 0 64 L 64 64 L 64 0 L 0 0 z M 32.78125 16 L 38.275391 16 C 38.266721 16 38.210919 16.525885 38.349609 17.339844 L 38.341797 17.339844 C 38.507788 18.320459 38.959422 19.720964 40.166016 21.101562 A 8.8574793 8.8575582 0 0 0 41.783203 22.476562 A 7.2842381 7.2843028 0 0 0 42.414062 22.84375 C 43.819312 23.544381 45.19123 23.756924 45.867188 23.683594 L 45.867188 29.140625 C 45.867188 29.140625 43.937775 29.059668 42.505859 28.679688 C 40.509978 28.145715 39.230469 27.326172 39.230469 27.326172 C 39.230469 27.326172 38.342051 26.739219 38.275391 26.699219 L 38.275391 37.972656 C 38.275391 38.599293 38.110585 40.16734 37.613281 41.474609 A 10.563379 10.563472 0 0 1 35.769531 44.537109 C 35.769531 44.537109 34.543209 46.057509 32.388672 47.078125 C 30.446121 47.998744 28.737199 47.977377 28.226562 47.998047 C 28.226563 47.998047 25.275743 48.116502 22.615234 46.308594 L 22.601562 46.294922 L 22.601562 46.308594 A 11.168009 11.168108 0 0 1 20.220703 44.0625 C 19.378754 42.988556 18.86184 41.71511 18.728516 41.341797 L 18.728516 41.328125 C 18.516528 40.694159 18.072012 39.16028 18.138672 37.679688 C 18.244666 35.071156 19.121529 33.464433 19.353516 33.064453 A 10.785366 10.785461 0 0 1 21.705078 30.162109 A 10.208733 10.208824 0 0 1 29.572266 27.861328 L 29.566406 33.457031 A 4.5930634 4.5931041 0 0 0 28.138672 33.230469 C 25.578158 33.230469 23.501953 35.319903 23.501953 37.898438 C 23.501953 40.476973 25.578158 42.564453 28.138672 42.564453 A 4.5863967 4.5864374 0 0 0 30.412109 41.964844 A 4.6663919 4.6664333 0 0 0 32.759766 38.259766 L 32.759766 38.248047 C 32.763066 38.232047 32.763672 38.216512 32.763672 38.201172 C 32.765672 38.163839 32.769531 38.132316 32.769531 38.097656 C 32.781531 37.819002 32.78125 37.535319 32.78125 37.25 L 32.78125 16 z "});xe("tumblr",{color:"#2c4762",path:"M0,0v64h64V0H0z M35.4,47c-6.5,0.1-9-4.7-9-8v-9.8h-3v-3.9c4.6-1.6,5.6-5.7,5.9-8.1c0-0.2,0.1-0.2,0.2-0.2 c0.1,0,4.4,0,4.4,0v7.6h6v4.5h-6v9.3c0,1.3,0.5,3,2.9,3c0.8,0,1.9-0.3,2.4-0.5l1.4,4.3C40.1,46,37.6,47,35.4,47z"});xe("twitch",{color:"#6441A5",path:"M0,0v64h64V0H0z M47,35.8l-7.6,7.6h-5.7l-3.8,3.8H26v-3.8h-7V23.1l1.9-5.1H47V35.8z M29.2,42.8L33,39h7l4.5-4.5 v-14h-21V39h5.7V42.8z M37.5,25.6H40v7.6h-2.5V25.6z M30.5,25.6H33v7.6h-2.5V25.6z"});xe("twitter",{color:"#00aced",path:"M0,0v64h64V0H0z M44.7,25.5c0,0.3,0,0.6,0,0.8C44.7,35,38.1,45,26.1,45c-3.7,0-7.2-1.1-10.1-2.9 c0.5,0.1,1,0.1,1.6,0.1c3.1,0,5.9-1,8.2-2.8c-2.9-0.1-5.3-2-6.1-4.6c0.4,0.1,0.8,0.1,1.2,0.1c0.6,0,1.2-0.1,1.7-0.2 c-3-0.6-5.3-3.3-5.3-6.4c0,0,0-0.1,0-0.1c0.9,0.5,1.9,0.8,3,0.8c-1.8-1.2-2.9-3.2-2.9-5.5c0-1.2,0.3-2.3,0.9-3.3 c3.2,4,8.1,6.6,13.5,6.9c-0.1-0.5-0.2-1-0.2-1.5c0-3.6,2.9-6.6,6.6-6.6c1.9,0,3.6,0.8,4.8,2.1c1.5-0.3,2.9-0.8,4.2-1.6 c-0.5,1.5-1.5,2.8-2.9,3.6c1.3-0.2,2.6-0.5,3.8-1C47.1,23.4,46,24.5,44.7,25.5z"});xe("upwork",{color:"#3da800",path:"M 0,0 H 64 V 64 H 0 Z m 24.9375,17.111328 h 5.599609 c 1.1,3.8 3.09961,8.19961 5.59961,12.09961 1.6,-5.5 5.60039,-9 10.90039,-9 6.1,0 11.09961,5.001562 11.09961,11.101562 0,6.4 -4.99961,11.398438 -11.09961,11.398438 -3,-10e-7 -5.499218,-0.799219 -7.699218,-2.199219 L 36.9375,52.412109 h -5.701172 l 3.5,-16.300781 c -1.5,-2.1 -2.9,-4.499219 -4,-6.699219 v 2.5 c 0,6.1 -4.898437,11 -10.898437,11 -6,0 -10.900391,-4.9 -10.900391,-11 V 17.210938 h 5.400391 V 31.8125 c 0,2.9 2.398828,5.298828 5.298828,5.298828 2.9,0 5.300781,-2.398828 5.300781,-5.298828 z m 22.199219,8.800781 c -4.1,0 -5.398828,4.000391 -5.798828,6.400391 v 0.09961 l -0.601563,2.199219 c 1.8,1.5 4.100781,2.5 6.300781,2.5 2.9,0 5.599219,-2.499609 5.699219,-5.599609 0,-3.1 -2.499609,-5.59961 -5.599609,-5.59961 z"});xe("vevo",{color:"#ED1A3B",path:"M0,0v64h64V0H0z M34.2,41.9c-1.4,2.1-2.9,3.1-5,3.1c0,0-3,0.2-4.1-3.4L20,21h8.1l3,12.3c1.4-2.1,5.1-7.7,5.1-7.7 c1.4-1.9,2.2-4.6,6.8-4.6c0.2,0,5,0,5,0L34.2,41.9z"});xe("vimeo",{color:"#1ab7ea",path:"M0,0v64h64V0H0z M40.9,37c-4.1,5.3-7.5,8-10.4,8c-1.7,0-3.2-1.6-4.4-4.8c-0.8-3-1.6-5.9-2.4-8.9 c-0.9-3.2-1.9-4.8-2.9-4.8c-0.2,0-1,0.5-2.4,1.4L17,26c1.5-1.3,2.9-2.6,4.4-3.9c2-1.7,3.5-2.6,4.4-2.7c2.3-0.2,3.8,1.4,4.3,4.8 c0.6,3.7,1,6,1.2,6.9c0.7,3.1,1.4,4.6,2.2,4.6c0.6,0,1.6-1,2.8-3c1.3-2,1.9-3.5,2-4.5c0.2-1.7-0.5-2.6-2-2.6c-0.7,0-1.5,0.2-2.2,0.5 c1.5-4.8,4.3-7.2,8.4-7c3.1,0.1,4.5,2.1,4.4,6C46.9,27.9,44.8,31.9,40.9,37z"});xe("vine",{color:"#00BF8F",path:"M0,0v64h64V0H0z M38.4,21.5c-1.2,0-2.1,1.2-2.1,3.4c0,4.6,2.9,7.2,6.7,7.2c0.7,0,1.4-0.1,2.2-0.3v3.6 c-1.3,0.3-2.5,0.4-3.6,0.4c-2.5,5.3-7,9.8-8.6,10.7c-1,0.5-1.9,0.6-2.9-0.1c-1.9-1.1-8.9-6.9-11.2-25H24c1.3,10.9,4.4,16.5,7.9,20.7 c1.9-1.9,3.7-4.4,5.2-7.3c-3.4-1.7-5.5-5.5-5.5-10c0-4.5,2.6-7.9,7-7.9c4.3,0,6.6,2.7,6.6,7.3c0,1.7-0.4,3.7-1,5.2 c-3.2,0.6-4.4-1.4-4.4-1.4c0.2-0.8,0.6-2.1,0.6-3.3C40.3,22.6,39.5,21.5,38.4,21.5z"});xe("vk",{color:"#45668e",path:"M0,0v64h64V0H0z M44.94,44.84h-0.2c-2.17-.36-3.66-1.92-4.92-3.37C39.1,40.66,38,38.81,36.7,39c-1.85.3-.93,3.52-1.71,4.9-0.62,1.11-3.29.91-5.12,0.71-5.79-.62-8.75-3.77-11.35-7.14A64.13,64.13,0,0,1,11.6,26a10.59,10.59,0,0,1-1.51-4.49C11,20.7,12.56,21,14.11,21c1.31,0,3.36-.29,4.32.2C19,21.46,19.57,23,20,24a37.18,37.18,0,0,0,3.31,5.82c0.56,0.81,1.41,2.35,2.41,2.14s1.06-2.63,1.1-4.18c0-1.77,0-4-.5-4.9S25,22,24.15,21.47c0.73-1.49,2.72-1.63,5.12-1.63,2,0,4.84-.23,5.62,1.12s0.25,3.85.2,5.71c-0.06,2.09-.41,4.25,1,5.21,1.09-.12,1.68-1.2,2.31-2A28,28,0,0,0,41.72,24c0.44-1,.91-2.65,1.71-3,1.21-.47,3.15-0.1,4.92-0.1,1.46,0,4.05-.41,4.52.61,0.39,0.85-.75,3-1.1,3.57a61.88,61.88,0,0,1-4.12,5.61c-0.58.78-1.78,2-1.71,3.27,0.05,0.94,1,1.67,1.71,2.35a33.12,33.12,0,0,1,3.92,4.18c0.47,0.62,1.5,2,1.4,2.76C52.66,45.81,46.88,44.24,44.94,44.84Z"});xe("vsco",{color:"#83878A",path:"M0,0v64h64V0H0z M18.5,34.5c-1.4,0-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5c1.4,0,2.5,1.1,2.5,2.5 C20.9,33.4,19.8,34.5,18.5,34.5z M25.1,41.1c-1.4,0-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5c1.4,0,2.5,1.1,2.5,2.5 C27.6,40,26.5,41.1,25.1,41.1z M25.2,27.7c-1.4,0-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5c1.4,0,2.5,1.1,2.5,2.5 C27.7,26.6,26.6,27.7,25.2,27.7z M32,48c-1.4,0-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5c1.4,0,2.5,1.1,2.5,2.5 C34.5,46.9,33.4,48,32,48z M29.5,31.9c0-1.4,1.1-2.5,2.5-2.5c1.4,0,2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5 C30.6,34.4,29.5,33.3,29.5,31.9z M32,20.9c-1.4,0-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5c1.4,0,2.5,1.1,2.5,2.5 C34.5,19.8,33.4,20.9,32,20.9z M38.7,22.7c1.4,0,2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5c-1.4,0-2.5-1.1-2.5-2.5 C36.2,23.8,37.3,22.7,38.7,22.7z M38.8,41.2c-1.4,0-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5c1.4,0,2.5,1.1,2.5,2.5 C41.2,40.1,40.1,41.2,38.8,41.2z M45.5,34.5c-1.4,0-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5c1.4,0,2.5,1.1,2.5,2.5 C48,33.4,46.9,34.5,45.5,34.5z"});xe("wechat",{color:"#00c80f",path:"M65.6,65.6H-1.6V-1.6H65.6V65.6z M49.738,46.043c2.846-2.061,4.662-5.107,4.662-8.498 c0-6.207-6.043-11.244-13.492-11.244c-7.453,0-13.494,5.037-13.494,11.244c0,6.213,6.041,11.246,13.494,11.246 c1.537,0,3.025-0.221,4.402-0.615l0.395-0.059c0.262,0,0.498,0.078,0.717,0.207l2.955,1.707l0.26,0.082 c0.252,0,0.451-0.203,0.451-0.449l-0.074-0.328l-0.605-2.271l-0.047-0.287C49.361,46.477,49.508,46.211,49.738,46.043L49.738,46.043 z M25.793,13.887C16.85,13.887,9.6,19.93,9.6,27.383c0,4.066,2.182,7.723,5.596,10.197c0.275,0.195,0.453,0.518,0.453,0.879 l-0.055,0.344l-0.732,2.725l-0.086,0.393c0,0.301,0.24,0.541,0.539,0.541l0.311-0.1l3.545-2.049c0.27-0.152,0.551-0.248,0.861-0.248 l0.475,0.068c1.654,0.479,3.439,0.742,5.287,0.742l0.891-0.021c-0.354-1.053-0.543-2.16-0.543-3.309 c0-6.793,6.611-12.305,14.768-12.305l0.879,0.021C40.564,18.818,33.871,13.887,25.793,13.887z M36.408,35.746 c-0.996,0-1.799-0.805-1.799-1.799c0-0.992,0.803-1.799,1.799-1.799s1.799,0.807,1.799,1.799 C38.207,34.941,37.404,35.746,36.408,35.746z M45.404,35.746c-0.996,0-1.799-0.805-1.799-1.799c0-0.992,0.803-1.799,1.799-1.799 s1.799,0.807,1.799,1.799C47.203,34.941,46.4,35.746,45.404,35.746z M20.395,25.221c-1.189,0-2.158-0.965-2.158-2.158 s0.969-2.158,2.158-2.158c1.193,0,2.162,0.965,2.162,2.158S21.588,25.221,20.395,25.221z M31.191,25.221 c-1.193,0-2.158-0.965-2.158-2.158s0.965-2.158,2.158-2.158s2.158,0.965,2.158,2.158S32.385,25.221,31.191,25.221z"});xe("whatsapp",{color:"#25D366",path:"M0,0v64h64V0H0z M 48 31.589844 C 48 40.195312 40.96875 47.175781 32.289062 47.175781 C 29.535156 47.175781 26.949219 46.472656 24.695312 45.234375 L 16 48 L 18.835938 39.636719 C 17.40625 37.289062 16.582031 34.53125 16.582031 31.589844 C 16.582031 22.980469 23.613281 16 32.289062 16 C 40.96875 16 48 22.980469 48 31.589844 Z M 32.289062 18.484375 C 25.007812 18.484375 19.082031 24.363281 19.082031 31.589844 C 19.082031 34.457031 20.019531 37.109375 21.597656 39.269531 L 19.949219 44.136719 L 25.023438 42.527344 C 27.109375 43.894531 29.609375 44.691406 32.292969 44.691406 C 39.574219 44.691406 45.5 38.816406 45.5 31.589844 C 45.5 24.363281 39.574219 18.484375 32.289062 18.484375 Z M 40.222656 35.179688 C 40.125 35.019531 39.871094 34.921875 39.484375 34.730469 C 39.101562 34.542969 37.207031 33.617188 36.855469 33.488281 C 36.5 33.363281 36.242188 33.296875 35.988281 33.679688 C 35.730469 34.0625 34.992188 34.921875 34.769531 35.179688 C 34.542969 35.433594 34.320312 35.464844 33.933594 35.273438 C 33.546875 35.082031 32.308594 34.679688 30.835938 33.378906 C 29.691406 32.367188 28.917969 31.117188 28.695312 30.734375 C 28.472656 30.351562 28.671875 30.144531 28.863281 29.953125 C 29.039062 29.78125 29.25 29.507812 29.441406 29.285156 C 29.636719 29.0625 29.699219 28.902344 29.828125 28.648438 C 29.957031 28.390625 29.890625 28.167969 29.792969 27.976562 C 29.699219 27.785156 28.925781 25.90625 28.605469 25.140625 C 28.285156 24.375 27.964844 24.503906 27.742188 24.503906 C 27.515625 24.503906 27.257812 24.472656 27.003906 24.472656 C 26.746094 24.472656 26.328125 24.566406 25.976562 24.949219 C 25.621094 25.332031 24.628906 26.257812 24.628906 28.136719 C 24.628906 30.015625 26.007812 31.832031 26.199219 32.085938 C 26.394531 32.34375 28.863281 36.324219 32.777344 37.855469 C 36.691406 39.386719 36.691406 38.875 37.398438 38.8125 C 38.105469 38.746094 39.675781 37.886719 40 36.996094 C 40.320312 36.101562 40.320312 35.335938 40.222656 35.179688 Z M 40.222656 35.179688"});xe("x",{color:"#000000",path:"M 0 0 L 0 64 L 64 64 L 64 0 L 0 0 z M 16 17.537109 L 26.125 17.537109 L 33.117188 26.779297 L 41.201172 17.537109 L 46.109375 17.537109 L 35.388672 29.789062 L 48 46.462891 L 38.125 46.462891 L 30.390625 36.351562 L 21.541016 46.462891 L 16.632812 46.462891 L 28.097656 33.357422 L 16 17.537109 z M 21.730469 20.320312 L 39.480469 43.525391 L 42.199219 43.525391 L 24.648438 20.320312 L 21.730469 20.320312 z "});xe("xiaohongshu",{color:"#ff2741",path:"M8.4935-.0059h47.7847c4.5518 0 8.5958 3.9527 8.7151 8.4994v47.7873a8.9081 8.9081 90 01-8.7177 8.7024h-47.767a8.9208 8.9208 90 01-8.5044-8.7228v-47.7467c.1092-4.4756 4.0136-8.3927 8.4892-8.5197zm4.2471 23.2133c-.033 5.0443-.0152 10.0911-.0406 15.1379a.5331.5331 90 01-.5407.66c-.6067.0355-1.216.0152-1.8253.0203.4087 1.0155.8504 1.9954 1.3074 2.9778 1.1475-.0381 2.4574.2006 3.4373-.5509.8809-.655 1.1627-1.8202 1.1449-2.8687 0-5.1255 0-10.2536-.0228-15.3791-1.1525-.0051-2.3076-.0076-3.4602.0025zm14.2367-.2285q-1.2896 2.9626-2.63 5.8998c-.2539.5864-.561 1.3632-.0279 1.8938.6829.6194 1.6857.3808 2.5234.4366-.5813 1.4673-1.3455 2.861-1.8354 4.3639-.2716.7413.4062 1.4953 1.1475 1.5029 1.3429.0914 2.691 0 4.0364.0355.4392-.9825.8809-1.9624 1.3125-2.9499-.7844 0-1.5765.0558-2.3482-.099.8352-2.0969 1.8253-4.1253 2.7113-6.1968-1.084-.1269-2.3102.2259-3.3002-.1955.4823-1.6247 1.3607-3.1149 1.9801-4.6965-1.1932-.0051-2.3812-.0127-3.5693.0051zm18.4686.0127 0 1.3226c-.7768 0-1.5536 0-2.3305 0q0 1.777 0 3.5363c.7794 0 1.5562 0 2.333.0152q.0305 1.5232 0 3.0667c-1.1678.0228-2.3381 0-3.5059.0178-.0152 1.1779-.0127 2.3533 0 3.5287 1.1703.0127 2.3432 0 3.5135 0 0 2.5031 0 5.0087 0 7.5118 1.1728 0 2.3432 0 3.516 0q0-3.7546 0-7.5067c1.711 0 3.4195-.0254 5.1306 0 .6017-.0508 1.2896.3706 1.2693 1.0332a28.0951 28.0951 90 010 2.8128.5737.5737 90 01-.5382.6067c-.9774.0711-1.9573 0-2.9372.033.4316 1.0155.8504 2.0309 1.3404 3.0337 1.612-.0838 3.582.3224 4.8107-1.0155 1.1678-1.0815.8174-2.7925.8657-4.204-.0736-1.4851.2894-3.1631-.6321-4.4629-.7844-1.1018-2.1985-1.4013-3.4729-1.4242-.0762-1.777.3478-3.8562-.9596-5.3007-1.2185-1.3658-3.1809-1.3709-4.8666-1.3049l0-1.3201c-1.1932.0127-2.366.0152-3.5363.0203zm-12.5459 1.3252q0 1.777 0 3.5338c.7362 0 1.4699 0 2.2061 0 0 3.5312 0 7.065 0 10.5963-1.0535.0178-2.1096 0-3.1631.0127-.5458 1.1728-1.0789 2.3508-1.6095 3.5287 3.9298.0152 7.8698 0 11.7894 0q0-1.7618 0-3.5287c-1.1297 0-2.2619 0-3.3916-.0127q0-5.3007 0-10.6039c.7387 0 1.4749 0 2.2137 0 0-1.1779 0-2.3584 0-3.5363-2.6757.0051-5.3591 0-8.0449.0102zm23.1904.3249c-.985.7464-.6626 2.1121-.7057 3.1758.6575 0 1.3176.0355 1.9751-.0228 1.0561-.0965 1.8507-1.3277 1.4267-2.3229-.3326-1.0916-1.8075-1.5663-2.696-.8301zm-49.2318 3.2063c-.1777 2.3152-.3579 4.6279-.5255 6.9432a5.6155 5.6155 90 01-.3351 1.5384c.594 1.3582 1.1881 2.7163 1.8227 4.0618 1.4216-1.9014 1.9497-4.2979 2.0969-6.6258.1244-1.9801.3453-3.9577.4163-5.9404-1.1652.0406-2.3229.0127-3.4754.0228zm11.7107 0q.2539 3.2215.5077 6.4405c.1853 2.1528.7413 4.3461 2.0563 6.0927.627-1.3429 1.2262-2.6986 1.8202-4.0618a5.5012 5.5012 90 01-.3554-1.546c-.1675-2.3076-.3503-4.6152-.528-6.9229q-1.7567-.0102-3.5084-.0025zm4.3563 13.8838c1.7974.5306 3.7013.1675 5.5469.2666.5433-1.1754 1.084-2.3533 1.612-3.5363-1.8456-.0711-3.7242.1929-5.5342-.2716q-.8301 1.7644-1.6323 3.5414zm26.0159-13.8711c.7616.1092 1.777-.3097 2.3584.3046.0965.9266.0254 1.8583.0355 2.7925-.7895 0-1.5816 0-2.3711 0q-.0228-1.5486-.0228-3.0971z"});xe("xing",{color:"#0698A0",path:"M 1.0083902,0 C 0.44946431,0 0,0.45011773 0,1.0098561 V 63.119918 c 0,0.559739 0.44946431,1.009854 1.0083902,1.009854 H 63.028294 c 0.558927,0 1.008389,-0.450115 1.008389,-1.009854 V 1.0098561 C 64.036683,0.45011773 63.587221,0 63.028294,0 Z M 41.719213,16.032443 h 5.481656 c 0.326889,0 0.585119,0.105269 0.723067,0.295519 0.14291,0.197377 0.138788,0.458887 -0.01172,0.714336 L 35.89752,35.145338 c -0.0075,0.0093 -0.0075,0.0217 0,0.03132 l 7.650867,11.910818 c 0.151797,0.256506 0.155957,0.516607 0.01172,0.714336 -0.138364,0.190268 -0.394222,0.295518 -0.721112,0.295518 h -5.419121 c -0.831457,0 -1.247702,-0.470971 -1.516494,-0.880688 0,0 -7.68983,-12.023947 -7.709494,-12.055646 0.385003,-0.580373 12.073323,-18.247864 12.073323,-18.247864 0.290963,-0.445701 0.641863,-0.880689 1.452004,-0.880689 z m -22.794309,6.333129 h 5.424983 c 0.832293,0 1.240585,0.456915 1.510631,0.866989 0,0 3.708497,5.513801 3.730652,5.544422 -0.219465,0.329912 -5.85687,8.828413 -5.85687,8.828413 -0.277571,0.426818 -0.667971,0.89243 -1.479364,0.89243 H 16.828 c -0.326482,0 -0.571443,-0.124863 -0.709391,-0.315094 -0.142967,-0.197388 -0.150489,-0.453015 0,-0.708465 l 5.765021,-8.671842 c 0.0063,-0.0096 0.0063,-0.01511 0,-0.02545 l -3.668117,-5.41329 c -0.151744,-0.257231 -0.174235,-0.512689 -0.03127,-0.710422 0.137949,-0.191321 0.413762,-0.287691 0.740659,-0.287691 z"});xe("yelp",{color:"#B90C04",path:"M0,0v64h64V0H0z M22.4,37.9c-0.4,0-0.7-0.2-0.9-0.6c-0.1-0.3-0.2-0.7-0.3-1.3c-0.2-1.7,0-4.2,0.5-5 c0.2-0.4,0.6-0.6,1-0.6c0.3,0,0.5,0.1,5.5,2.1c0,0,1.5,0.6,1.5,0.6c0.5,0.2,0.9,0.7,0.8,1.4c0,0.6-0.4,1.1-0.9,1.2 c0,0-2.1,0.7-2.1,0.7C22.8,37.9,22.7,37.9,22.4,37.9z M33,41c0,4.9,0,5-0.1,5.3c-0.1,0.4-0.4,0.6-0.9,0.7c-1.2,0.2-5.1-1.2-6-2.2 c-0.2-0.2-0.3-0.4-0.3-0.6c0-0.2,0-0.3,0.1-0.4c0.1-0.2,0.2-0.4,3.7-4.5c0,0,1-1.2,1-1.2c0.3-0.4,1-0.6,1.5-0.4 c0.6,0.2,0.9,0.7,0.9,1.2C33,38.8,33,41,33,41z M32.2,30.8c-0.3,0.1-1,0.3-2-1.2c0,0-6.4-10.1-6.5-10.4c-0.1-0.3,0-0.7,0.3-1.1 c1-1,6.1-2.4,7.5-2.1c0.4,0.1,0.7,0.4,0.9,0.8c0.1,0.4,0.7,9.8,0.8,11.9C33.2,30.5,32.4,30.7,32.2,30.8z M35.4,31.3 c0,0,1.3-1.8,1.3-1.8c2.8-3.9,3-4.1,3.2-4.2c0.3-0.2,0.7-0.2,1.1,0c1.1,0.5,3.4,3.9,3.5,5.2c0,0,0,0,0,0c0,0.4-0.1,0.8-0.5,1 c-0.2,0.1-0.4,0.2-5.7,1.5c-0.8,0.2-1.3,0.3-1.6,0.4c0,0,0,0,0,0c-0.5,0.1-1.1-0.1-1.4-0.6C35.1,32.3,35.1,31.7,35.4,31.3z M44.7,39.6c-0.2,1.3-2.7,4.5-3.9,5c-0.4,0.2-0.8,0.1-1.1-0.1c-0.2-0.2-0.4-0.5-3.2-5l-0.8-1.3c-0.3-0.5-0.3-1.1,0.1-1.6 c0.4-0.5,0.9-0.6,1.4-0.5c0,0,2.1,0.7,2.1,0.7c4.6,1.5,4.8,1.6,5,1.7C44.7,38.8,44.8,39.2,44.7,39.6z"});xe("youtube",{color:"#ff3333",path:"M0,0v64h64V0H0z M47,33.1c0,2.4-0.3,4.9-0.3,4.9s-0.3,2.1-1.2,3c-1.1,1.2-2.4,1.2-3,1.3 C38.3,42.5,32,42.6,32,42.6s-7.8-0.1-10.2-0.3c-0.7-0.1-2.2-0.1-3.3-1.3c-0.9-0.9-1.2-3-1.2-3S17,35.6,17,33.1v-2.3 c0-2.4,0.3-4.9,0.3-4.9s0.3-2.1,1.2-3c1.1-1.2,2.4-1.2,3-1.3c4.2-0.3,10.5-0.3,10.5-0.3h0c0,0,6.3,0,10.5,0.3c0.6,0.1,1.9,0.1,3,1.3 c0.9,0.9,1.2,3,1.2,3s0.3,2.4,0.3,4.9V33.1z M28.9,35.9l8.1-4.2l-8.1-4.2L28.9,35.9z"});const uz=()=>{const e=[{name:"About",link:"about"},{name:"Pricing",link:"projects"},{name:"Login",link:"contact"}],[t,r]=F.useState(!1),n=()=>{r(o=>!o)};return Q.jsx("div",{className:"sticky top-0 left-0 w-full h-16 bg-[#e1f0ff] bg-opacity-85 border-b-2 border-[#101010] z-50 flex justify-center items-center ",children:Q.jsxs("div",{className:"md:flex items-center justify-between py-4 md:px-10 px-2 w-full max-w-7xl",children:[Q.jsx("div",{className:"font-bold text-2xl cursor-pointer flex items-center gap-1",children:Q.jsx("span",{className:"text-primary text-black",children:Q.jsx(sz,{url:"https://www.github.com/preston176/AI-GEN",bgColor:"none",fgColor:"black"})})}),Q.jsx("div",{className:"font-bold text-2xl cursor-pointer flex items-center gap-1",children:Q.jsxs(Em,{to:"/",children:[" ",Q.jsx("span",{className:"text-primary text-black",children:"AI Gen"})]})}),Q.jsx("div",{onClick:n,className:"w-7 h-7 right-8 top-6 cursor-pointer md:hidden text-black absolute",children:t?Q.jsx(oz,{}):Q.jsx(tz,{})}),Q.jsx("ul",{className:`md:flex md:items-center md:pd-0 md:static md:z-auto left-0 w-full md:w-auto mt-4 md:pl-0 pl-9 bg-slate-400 sm:bg-transparent transition-all duration-500 ease-in-out mobile-menu ${t?"open":""}`,children:e.map((o,a)=>Q.jsx("li",{className:"md:ml-8 md:my-0 my:7 font-semibold",children:o.link.startsWith("http")?Q.jsx("a",{href:o.link,className:"text-black transition-all duration-500 hover:text-primary",target:"_blank",rel:"noopener noreferrer",children:o.name}):Q.jsx(Em,{to:o.link,activeClass:"active",smooth:!0,spy:!0,className:"text-black transition-all duration-500 hover:text-primary",children:o.name})},a))})]})})};var Ms={},ux={},cx={exports:{}};/*! + */function Tm(){return Tm=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function iI(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lI(e,t){return e.button===0&&(!t||t==="_self")&&!iI(e)}const sI=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],uI="6";try{window.__reactRouterVersion=uI}catch{}const cI="startTransition",h5=al[cI];function dI(e){let{basename:t,children:r,future:n,window:o}=e,a=F.useRef();a.current==null&&(a.current=gA({window:o,v5Compat:!0}));let i=a.current,[l,f]=F.useState({action:i.action,location:i.location}),{v7_startTransition:g}=n||{},m=F.useCallback(w=>{g&&h5?h5(()=>f(w)):f(w)},[f,g]);return F.useLayoutEffect(()=>i.listen(m),[i,m]),F.createElement(nI,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:i,future:n})}const fI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pI=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Em=F.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:a,replace:i,state:l,target:f,to:g,preventScrollReset:m,unstable_viewTransition:w}=t,P=aI(t,sI),{basename:O}=F.useContext(Xa),C,b=!1;if(typeof g=="string"&&pI.test(g)&&(C=g,fI))try{let u=new URL(window.location.href),d=g.startsWith("//")?new URL(u.protocol+g):new URL(g),h=vb(d.pathname,O);d.origin===u.origin&&h!=null?g=h+d.search+d.hash:b=!0}catch{}let y=$A(g,{relative:o}),c=hI(g,{replace:i,state:l,target:f,preventScrollReset:m,relative:o,unstable_viewTransition:w});function s(u){n&&n(u),u.defaultPrevented||c(u)}return F.createElement("a",Tm({},P,{href:C||y,onClick:b||a?n:s,ref:r,target:f}))});var g5;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(g5||(g5={}));var m5;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(m5||(m5={}));function hI(e,t){let{target:r,replace:n,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l}=t===void 0?{}:t,f=UA(),g=Bp(),m=H3(e,{relative:i});return F.useCallback(w=>{if(lI(w,r)){w.preventDefault();let P=n!==void 0?n:Ef(g)===Ef(m);f(e,{replace:P,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l})}},[g,f,m,n,o,r,e,a,i,l])}var K3=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(o,a){return o[0]===r?(n=a,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,a=this.__entries__;o0},e.prototype.connect_=function(){!km||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),wI?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!km||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=yI.some(function(a){return!!~n.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),X3=function(e,t){for(var r=0,n=Object.keys(t);r"u"||!(Element instanceof Object))){if(!(t instanceof pl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new kI(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof pl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new RI(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),J3=typeof WeakMap<"u"?new WeakMap:new K3,Q3=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=_I.getInstance(),n=new MI(t,r,this);J3.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Q3.prototype[e]=function(){var t;return(t=J3.get(this))[e].apply(t,arguments)}});var Z3=function(){return typeof Rf.ResizeObserver<"u"?Rf.ResizeObserver:Q3}(),wn={Linear:{None:function(e){return e}},Quadratic:{In:function(e){return e*e},Out:function(e){return e*(2-e)},InOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}},Cubic:{In:function(e){return e*e*e},Out:function(e){return--e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}},Quartic:{In:function(e){return e*e*e*e},Out:function(e){return 1- --e*e*e*e},InOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}},Quintic:{In:function(e){return e*e*e*e*e},Out:function(e){return--e*e*e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}},Sinusoidal:{In:function(e){return 1-Math.cos(e*Math.PI/2)},Out:function(e){return Math.sin(e*Math.PI/2)},InOut:function(e){return .5*(1-Math.cos(Math.PI*e))}},Exponential:{In:function(e){return e===0?0:Math.pow(1024,e-1)},Out:function(e){return e===1?1:1-Math.pow(2,-10*e)},InOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)}},Circular:{In:function(e){return 1-Math.sqrt(1-e*e)},Out:function(e){return Math.sqrt(1- --e*e)},InOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}},Elastic:{In:function(e){return e===0?0:e===1?1:-Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI)},Out:function(e){return e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1},InOut:function(e){return e===0?0:e===1?1:(e*=2,e<1?-.5*Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI):.5*Math.pow(2,-10*(e-1))*Math.sin((e-1.1)*5*Math.PI)+1)}},Back:{In:function(e){var t=1.70158;return e*e*((t+1)*e-t)},Out:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},InOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}},Bounce:{In:function(e){return 1-wn.Bounce.Out(1-e)},Out:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},InOut:function(e){return e<.5?wn.Bounce.In(e*2)*.5:wn.Bounce.Out(e*2-1)*.5+.5}}},Es;typeof self>"u"&&typeof process<"u"&&process.hrtime?Es=function(){var e=process.hrtime();return e[0]*1e3+e[1]/1e6}:typeof self<"u"&&self.performance!==void 0&&self.performance.now!==void 0?Es=self.performance.now.bind(self.performance):Date.now!==void 0?Es=Date.now:Es=function(){return new Date().getTime()};var Oi=Es,yb=function(){function e(){this._tweens={},this._tweensAddedDuringUpdate={}}return e.prototype.getAll=function(){var t=this;return Object.keys(this._tweens).map(function(r){return t._tweens[r]})},e.prototype.removeAll=function(){this._tweens={}},e.prototype.add=function(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t},e.prototype.remove=function(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]},e.prototype.update=function(t,r){t===void 0&&(t=Oi()),r===void 0&&(r=!1);var n=Object.keys(this._tweens);if(n.length===0)return!1;for(;n.length>0;){this._tweensAddedDuringUpdate={};for(var o=0;o1?a(e[r],e[r-1],r-n):a(e[o],e[o+1>r?r:o+1],n-o)},Bezier:function(e,t){for(var r=0,n=e.length-1,o=Math.pow,a=ks.Utils.Bernstein,i=0;i<=n;i++)r+=o(1-t,n-i)*o(t,i)*e[i]*a(n,i);return r},CatmullRom:function(e,t){var r=e.length-1,n=r*t,o=Math.floor(n),a=ks.Utils.CatmullRom;return e[0]===e[r]?(t<0&&(o=Math.floor(n=r*(1+t))),a(e[(o-1+r)%r],e[o],e[(o+1)%r],e[(o+2)%r],n-o)):t<0?e[0]-(a(e[0],e[0],e[1],e[1],-n)-e[0]):t>1?e[r]-(a(e[r],e[r],e[r-1],e[r-1],n-r)-e[r]):a(e[o?o-1:0],e[o],e[r1;n--)r*=n;return e[t]=r,r}}(),CatmullRom:function(e,t,r,n,o){var a=(r-e)*.5,i=(n-t)*.5,l=o*o,f=o*l;return(2*t-2*r+a+i)*f+(-3*t+3*r-2*a-i)*l+a*o+t}}},AI=function(){function e(){}return e.nextId=function(){return e._nextId++},e._nextId=0,e}(),eC=new yb,tC=function(){function e(t,r){r===void 0&&(r=eC),this._object=t,this._group=r,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=wn.Linear.None,this._interpolationFunction=ks.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._id=AI.nextId(),this._isChainStopped=!1,this._goToEnd=!1}return e.prototype.getId=function(){return this._id},e.prototype.isPlaying=function(){return this._isPlaying},e.prototype.isPaused=function(){return this._isPaused},e.prototype.to=function(t,r){return this._valuesEnd=Object.create(t),r!==void 0&&(this._duration=r),this},e.prototype.duration=function(t){return this._duration=t,this},e.prototype.start=function(t){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(var r in this._valuesStartRepeat)this._swapEndStartRepeatValues(r),this._valuesStart[r]=this._valuesStartRepeat[r]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t!==void 0?typeof t=="string"?Oi()+parseFloat(t):t:Oi(),this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this},e.prototype._setupProperties=function(t,r,n,o){for(var a in n){var i=t[a],l=Array.isArray(i),f=l?"array":typeof i,g=!l&&Array.isArray(n[a]);if(!(f==="undefined"||f==="function")){if(g){var m=n[a];if(m.length===0)continue;m=m.map(this._handleRelativeValue.bind(this,i)),n[a]=[i].concat(m)}if((f==="object"||l)&&i&&!g){r[a]=l?[]:{};for(var w in i)r[a][w]=i[w];o[a]=l?[]:{},this._setupProperties(i,r[a],n[a],o[a])}else typeof r[a]>"u"&&(r[a]=i),l||(r[a]*=1),g?o[a]=n[a].slice().reverse():o[a]=r[a]||0}}},e.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},e.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},e.prototype.pause=function(t){return t===void 0&&(t=Oi()),this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=t,this._group&&this._group.remove(this),this)},e.prototype.resume=function(t){return t===void 0&&(t=Oi()),!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this)},e.prototype.stopChainedTweens=function(){for(var t=0,r=this._chainedTweens.length;ta)return!1;r&&this.start(t)}if(this._goToEnd=!1,t1?1:o;var i=this._easingFunction(o);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,i),this._onUpdateCallback&&this._onUpdateCallback(this._object,o),o===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var l=0,f=this._chainedTweens.length;l=Re.Children.count(i)-l&&!a,g={"data-type":"next","aria-label":"Next Slide",disabled:f,onClick:n};if(o)return Re.cloneElement(o,wu({className:(o.props.className||"")+" nav "+(f?"disabled":"")},g));var m="nav default-nav "+(f?"disabled":"");return Re.createElement("button",Object.assign({type:"button",className:m},g),Re.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},Re.createElement("path",{d:"M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z"})))},NI=function(t,r,n){return Re.createElement("li",{key:r},Re.createElement("button",Object.assign({type:"button",className:"each-slideshow-indicator "+(t?"active":"")},n)))},jI=function(t,r,n,o){return Re.cloneElement(o,wu({className:o.props.className+" "+(t?"active":""),key:r},n))},iC=function(t,r,n,o){var a=t.children,i=t.indicators,l=1;o?l=o==null?void 0:o.settings.slidesToScroll:"slidesToScroll"in t&&(l=t.slidesToScroll||1);var f=Math.ceil(Re.Children.count(a)/l);return Re.createElement("ul",{className:"indicators"},Array.from({length:f},function(g,m){var w={"data-key":m,"aria-label":"Go to slide "+(m+1),onClick:n},P=Math.floor((r+l-1)/l)===m;return typeof i=="function"?jI(P,m,w,i(m)):NI(P,m,w)}))},Gp={duration:5e3,transitionDuration:1e3,defaultIndex:0,infinite:!0,autoplay:!0,indicators:!1,arrows:!0,pauseOnHover:!0,easing:"linear",canSwipe:!0,cssClass:"",responsive:[]},wb=Re.forwardRef(function(e,t){var r=F.useState(rC(e.children,e.defaultIndex)),n=r[0],o=r[1],a=F.useRef(null),i=F.useRef(null),l=F.useRef(new yb),f=F.useRef(),g=F.useRef(),m=F.useMemo(function(){return Re.Children.count(e.children)},[e.children]),w=F.useCallback(function(){if(i.current&&a.current){var k=a.current.clientWidth,T=k*m;i.current.style.width=T+"px";for(var E=0;E1&&(M||n0)return;d=be,ve-=d,g.current.style.transform=h+"(-"+ve+"px)"}}},D=function(){if(!(!e.infinite&&n===C-P)){var ae=H(n+P);pe(ae)}},$=function(){if(!(!e.infinite&&n===0)){var ae=n-P;ae%P&&(ae=Math.ceil(ae/P)*P),pe(ae)}},G=function(ae){var ge=ae.currentTarget;if(ge.dataset.key){var ve=parseInt(ge.dataset.key);X(ve*P)}},X=function(ae){pe(H(ae))},H=function(ae){return aeC&&(C-P)%P?C-P:ae},V=function(){u?se():e.pauseOnHover&&e.autoplay&&(y.current=setTimeout(D,e.duration))},B=function(ae){var ge=ae.currentTarget.dataset;ge.type==="next"?D():$()},q=function(){return Re.Children.toArray(e.children).slice(-O).map(function(ae,ge){return Re.createElement("div",{"data-index":ge-O,"aria-roledescription":"slide","aria-hidden":"true",key:ge-O},ae)})},Y=function(){if(!(!e.infinite&&O===P))return Re.Children.toArray(e.children).slice(0,O).map(function(ae,ge){return Re.createElement("div",{"data-index":C+ge,"aria-roledescription":"slide","aria-hidden":"true",key:C+ge},ae)})},ne=function(){var ae=e.vertical?"clientHeight":"clientWidth";e.vertical?g.current&&l(g.current.children[0][ae]):f.current&&l(f.current[ae])},ce=function(ae){e.canSwipe&&(window.TouchEvent&&ae.nativeEvent instanceof TouchEvent?s=ae.nativeEvent.touches[0][_]:s=ae.nativeEvent[v],clearTimeout(y.current),u=!0)},se=function(){e.canSwipe&&(u=!1,Math.abs(d)/i>.2?d<0?D():$():Math.abs(d)>0&&pe(n,300))},re=function le(){requestAnimationFrame(le),m.current.update()},pe=function(ae,ge){var ve=ge||e.transitionDuration,be=n,Pe=m.current.getAll();if(f.current){var Le=e.vertical?"clientHeight":"clientWidth",Xe=f.current[Le]/O;if(!Pe.length){clearTimeout(y.current);var mt={margin:-Xe*(be+oe())+d},ze=new tC(mt,m.current).to({margin:-Xe*(ae+oe())},ve).onUpdate(function(xt){g.current&&(g.current.style.transform=h+"("+xt.margin+"px)")});ze.easing(nC(e.easing)),re();var Ye=ae;Ye<0?Ye=C-P:Ye>=C&&(Ye=0),ze.onStart(function(){typeof e.onStartChange=="function"&&e.onStartChange(n,Ye)}),ze.onComplete(function(){d=0,typeof e.onChange=="function"&&e.onChange(n,Ye),o(Ye)}),ze.start()}}},ue=function(ae){return ae=n},oe=function(){return e.infinite?O:0},fe={transform:h+"(-"+(n+oe())*b+"px)"};return Re.createElement("div",{dir:"ltr","aria-roledescription":"carousel"},Re.createElement("div",{className:"react-slideshow-container",onMouseEnter:A,onMouseOver:A,onMouseLeave:V,onMouseDown:ce,onMouseUp:se,onMouseMove:N,onTouchStart:ce,onTouchEnd:se,onTouchCancel:se,onTouchMove:N},e.arrows&&oC(e,n,B),Re.createElement("div",{className:"react-slideshow-wrapper slide "+(e.cssClass||""),ref:f},Re.createElement("div",{className:"images-wrap "+(e.vertical?"vertical":"horizontal"),style:fe,ref:g},e.infinite&&q(),(Re.Children.map(e.children,function(le){return le})||[]).map(function(le,ae){var ge=ue(ae);return Re.createElement("div",{"data-index":ae,key:ae,className:ge?"active":"","aria-roledescription":"slide","aria-hidden":ge?"false":"true"},le)}),Y())),e.arrows&&aC(e,n,B)),!!e.indicators&&iC(e,n,G,w))});LI.defaultProps=Gp;const zI="/assets/defaultImage-LEy8p1Wq.jpg",VI=()=>Z.jsx(Z.Fragment,{children:Z.jsxs("div",{className:"mb-4 mt-8 flex flex-col justify-evenly items-center h-[40vh] bg-[#858585] bg-opacity-10 shadow-gray-700 rounded-3xl]",children:[Z.jsx("h2",{className:"bg-gradient-to-r from-red-500 to-blue-500 text-transparent bg-clip-text laptop:text-[60px] font-mono p-4 md:text-[76px] sm:text-[46px] mobile:text-[28px] small_mobile:text-[25px] text-center",children:"Create Stunning Images with AI"}),Z.jsx("div",{className:"",children:Z.jsxs(Em,{to:"/generate_image",children:[" ",Z.jsx("h3",{className:"btn",children:"Get Started"})]})})]})});var _b={},lC={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(lC);var xb=lC.exports,Zh={};function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[r]=sC(e[r])}),t}function fo(e,t,r={clone:!0}){const n=r.clone?Ve({},e):e;return Sa(e)&&Sa(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Sa(t[o])&&o in e&&Sa(e[o])?n[o]=fo(e[o],t[o],r):r.clone?n[o]=Sa(t[o])?sC(t[o]):t[o]:n[o]=t[o])}),n}var uC={exports:{}},$I="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",UI=$I,WI=UI;function cC(){}function dC(){}dC.resetWarningCache=cC;var BI=function(){function e(n,o,a,i,l,f){if(f!==WI){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:dC,resetWarningCache:cC};return r.PropTypes=r,r};uC.exports=BI();var Ee=uC.exports;function hl(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rr==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function GI(e,t=166){let r;function n(...o){const a=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(a,t)}return n.clear=()=>{clearTimeout(r)},n}function qI(e,t){return()=>null}function KI(e,t){var r,n;return F.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function fC(e){return e&&e.ownerDocument||document}function XI(e){return fC(e).defaultView||window}function YI(e,t){return()=>null}function pC(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const JI=typeof window<"u"?F.useLayoutEffect:F.useEffect,hC=JI;let y5=0;function QI(e){const[t,r]=F.useState(e),n=e||t;return F.useEffect(()=>{t==null&&(y5+=1,r(`mui-${y5}`))},[t]),n}const w5=al.useId;function ZI(e){if(w5!==void 0){const t=w5();return e??t}return QI(e)}function eN(e,t,r,n,o){return null}function tN({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=F.useRef(e!==void 0),[a,i]=F.useState(t),l=o?e:a,f=F.useCallback(g=>{o||i(g)},[]);return[l,f]}function rN(e){const t=F.useRef(e);return hC(()=>{t.current=e}),F.useRef((...r)=>(0,t.current)(...r)).current}function nN(...e){return F.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{pC(r,t)})},e)}class Cb{constructor(){this.currentId=0,this.clear=()=>{this.currentId!==0&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new Cb}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,r()},t)}}let qp=!0,Rm=!1;const oN=new Cb,aN={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function iN(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&aN[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function lN(e){e.metaKey||e.altKey||e.ctrlKey||(qp=!0)}function eg(){qp=!1}function sN(){this.visibilityState==="hidden"&&Rm&&(qp=!0)}function uN(e){e.addEventListener("keydown",lN,!0),e.addEventListener("mousedown",eg,!0),e.addEventListener("pointerdown",eg,!0),e.addEventListener("touchstart",eg,!0),e.addEventListener("visibilitychange",sN,!0)}function cN(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return qp||iN(t)}function dN(){const e=F.useCallback(o=>{o!=null&&uN(o.ownerDocument)},[]),t=F.useRef(!1);function r(){return t.current?(Rm=!0,oN.start(100,()=>{Rm=!1}),t.current=!1,!0):!1}function n(o){return cN(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function gC(e,t){const r=Ve({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=Ve({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},!a||!Object.keys(a)?r[n]=o:!o||!Object.keys(o)?r[n]=a:(r[n]=Ve({},a),Object.keys(o).forEach(i=>{r[n][i]=gC(o[i],a[i])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function fN(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((a,i)=>{if(i){const l=t(i);l!==""&&a.push(l),r&&r[i]&&a.push(r[i])}return a},[]).join(" ")}),n}const _5=e=>e,pN=()=>{let e=_5;return{configure(t){e=t},generate(t){return e(t)},reset(){e=_5}}},mC=pN(),hN={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function vC(e,t,r="Mui"){const n=hN[t];return n?`${r}-${n}`:`${mC.generate(e)}-${t}`}function gN(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=vC(e,o,r)}),n}function mN(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Yn(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a=0)&&(r[o]=e[o]);return r}function bC(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t0?qt(Dl,--kr):0,gl--,kt===10&&(gl=1,Xp--),kt}function Lr(){return kt=kr2||xu(kt)>3?"":" "}function IN(e,t){for(;--t&&Lr()&&!(kt<48||kt>102||kt>57&&kt<65||kt>70&&kt<97););return Hu(e,Td()+(t<6&&qn()==32&&Lr()==32))}function Am(e){for(;Lr();)switch(kt){case e:return kr;case 34:case 39:e!==34&&e!==39&&Am(kt);break;case 40:e===41&&Am(e);break;case 92:Lr();break}return kr}function NN(e,t){for(;Lr()&&e+kt!==57;)if(e+kt===84&&qn()===47)break;return"/*"+Hu(t,kr-1)+"*"+Kp(e===47?e:Lr())}function jN(e){for(;!xu(qn());)Lr();return Hu(e,kr)}function DN(e){return OC(kd("",null,null,null,[""],e=PC(e),0,[0],e))}function kd(e,t,r,n,o,a,i,l,f){for(var g=0,m=0,w=i,P=0,O=0,C=0,b=1,y=1,c=1,s=0,u="",d=o,h=a,v=n,_=u;y;)switch(C=s,s=Lr()){case 40:if(C!=108&&qt(_,w-1)==58){Mm(_+=Ke(Ed(s),"&","&\f"),"&\f")!=-1&&(c=-1);break}case 34:case 39:case 91:_+=Ed(s);break;case 9:case 10:case 13:case 32:_+=AN(C);break;case 92:_+=IN(Td()-1,7);continue;case 47:switch(qn()){case 42:case 47:td(FN(NN(Lr(),Td()),t,r),f);break;default:_+="/"}break;case 123*b:l[g++]=Vn(_)*c;case 125*b:case 59:case 0:switch(s){case 0:case 125:y=0;case 59+m:c==-1&&(_=Ke(_,/\f/g,"")),O>0&&Vn(_)-w&&td(O>32?C5(_+";",n,r,w-1):C5(Ke(_," ","")+";",n,r,w-2),f);break;case 59:_+=";";default:if(td(v=x5(_,t,r,g,m,o,l,u,d=[],h=[],w),a),s===123)if(m===0)kd(_,t,v,v,d,a,w,l,h);else switch(P===99&&qt(_,3)===110?100:P){case 100:case 108:case 109:case 115:kd(e,v,v,n&&td(x5(e,v,v,0,0,o,l,u,o,d=[],w),h),o,h,w,l,n?d:h);break;default:kd(_,v,v,v,[""],h,0,l,h)}}g=m=O=0,b=c=1,u=_="",w=i;break;case 58:w=1+Vn(_),O=C;default:if(b<1){if(s==123)--b;else if(s==125&&b++==0&&MN()==125)continue}switch(_+=Kp(s),s*b){case 38:c=m>0?1:(_+="\f",-1);break;case 44:l[g++]=(Vn(_)-1)*c,c=1;break;case 64:qn()===45&&(_+=Ed(Lr())),P=qn(),m=w=Vn(u=_+=jN(Td())),s++;break;case 45:C===45&&Vn(_)==2&&(b=0)}}return a}function x5(e,t,r,n,o,a,i,l,f,g,m){for(var w=o-1,P=o===0?a:[""],O=Sb(P),C=0,b=0,y=0;C0?P[c]+" "+s:Ke(s,/&\f/g,P[c])))&&(f[y++]=u);return Yp(e,t,r,o===0?Pb:l,f,g,m)}function FN(e,t,r){return Yp(e,t,r,wC,Kp(RN()),_u(e,2,-2),0)}function C5(e,t,r,n){return Yp(e,t,r,Ob,_u(e,0,n),_u(e,n+1,-1),n)}function Yi(e,t){for(var r="",n=Sb(e),o=0;o6)switch(qt(e,t+1)){case 109:if(qt(e,t+4)!==45)break;case 102:return Ke(e,/(.+:)(.+)-([^]+)/,"$1"+qe+"$2-$3$1"+Af+(qt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Mm(e,"stretch")?SC(Ke(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qt(e,t+1)!==115)break;case 6444:switch(qt(e,Vn(e)-3-(~Mm(e,"!important")&&10))){case 107:return Ke(e,":",":"+qe)+e;case 101:return Ke(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+qe+(qt(e,14)===45?"inline-":"")+"box$3$1"+qe+"$2$3$1"+tr+"$2box$3")+e}break;case 5936:switch(qt(e,t+11)){case 114:return qe+e+tr+Ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qe+e+tr+Ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qe+e+tr+Ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return qe+e+tr+e+e}return e}var GN=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ob:t.return=SC(t.value,t.length);break;case _C:return Yi([bs(t,{value:Ke(t.value,"@","@"+qe)})],o);case Pb:if(t.length)return kN(t.props,function(a){switch(EN(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yi([bs(t,{props:[Ke(a,/:(read-\w+)/,":"+Af+"$1")]})],o);case"::placeholder":return Yi([bs(t,{props:[Ke(a,/:(plac\w+)/,":"+qe+"input-$1")]}),bs(t,{props:[Ke(a,/:(plac\w+)/,":"+Af+"$1")]}),bs(t,{props:[Ke(a,/:(plac\w+)/,tr+"input-$1")]})],o)}return""})}},qN=[GN],KN=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(b){var y=b.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var o=t.stylisPlugins||qN,a={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var y=b.getAttribute("data-emotion").split(" "),c=1;c=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ZN={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ej=/[A-Z]|^ms/g,tj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,EC=function(t){return t.charCodeAt(1)===45},O5=function(t){return t!=null&&typeof t!="boolean"},tg=yC(function(e){return EC(e)?e:e.replace(ej,"-$&").toLowerCase()}),S5=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(tj,function(n,o,a){return $n={name:o,styles:a,next:$n},o})}return ZN[t]!==1&&!EC(t)&&typeof r=="number"&&r!==0?r+"px":r};function Cu(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return $n={name:r.name,styles:r.styles,next:$n},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)$n={name:n.name,styles:n.styles,next:$n},n=n.next;var o=r.styles+";";return o}return rj(e,t,r)}case"function":{if(e!==void 0){var a=$n,i=r(e);return $n=a,Cu(e,t,i)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function rj(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?sj:uj},k5=function(t,r,n){var o;if(r){var a=r.shouldForwardProp;o=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},cj=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return TC(r,n,o),ij(function(){return JN(r,n,o)}),null},dj=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,a,i;r!==void 0&&(a=r.label,i=r.target);var l=k5(t,r,n),f=l||E5(o),g=!f("as");return function(){var m=arguments,w=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&w.push("label:"+a+";"),m[0]==null||m[0].raw===void 0)w.push.apply(w,m);else{w.push(m[0][0]);for(var P=m.length,O=1;O{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},gj=["values","unit","step"],mj=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>Ve({},r,{[n.key]:n.val}),{})};function vj(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Yn(e,gj),a=mj(t),i=Object.keys(a);function l(P){return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${r})`}function f(P){return`@media (max-width:${(typeof t[P]=="number"?t[P]:P)-n/100}${r})`}function g(P,O){const C=i.indexOf(O);return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${r}) and (max-width:${(C!==-1&&typeof t[i[C]]=="number"?t[i[C]]:O)-n/100}${r})`}function m(P){return i.indexOf(P)+1`@media (min-width:${Tb[e]}px)`};function _o(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const a=n.breakpoints||R5;return t.reduce((i,l,f)=>(i[a.up(a.keys[f])]=r(t[f]),i),{})}if(typeof t=="object"){const a=n.breakpoints||R5;return Object.keys(t).reduce((i,l)=>{if(Object.keys(a.values||Tb).indexOf(l)!==-1){const f=a.up(l);i[f]=r(t[l],l)}else{const f=l;i[f]=t[f]}return i},{})}return r(t)}function wj(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const a=e.up(o);return n[a]={},n},{}))||{}}function _j(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Jp(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function If(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Jp(e,r)||n,t&&(o=t(o,n,e)),o}function Et(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=i=>{if(i[t]==null)return null;const l=i[t],f=i.theme,g=Jp(f,n)||{};return _o(i,l,w=>{let P=If(g,o,w);return w===P&&typeof w=="string"&&(P=If(g,o,`${t}${w==="default"?"":$a(w)}`,w)),r===!1?P:{[r]:P}})};return a.propTypes={},a.filterProps=[t],a}function xj(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Cj={m:"margin",p:"padding"},Pj={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},M5={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Oj=xj(e=>{if(e.length>2)if(M5[e])e=M5[e];else return[e];const[t,r]=e.split(""),n=Cj[t],o=Pj[r]||"";return Array.isArray(o)?o.map(a=>n+a):[n+o]}),Eb=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],kb=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Eb,...kb];function Gu(e,t,r,n){var o;const a=(o=Jp(e,t,!1))!=null?o:r;return typeof a=="number"?i=>typeof i=="string"?i:a*i:Array.isArray(a)?i=>typeof i=="string"?i:a[i]:typeof a=="function"?a:()=>{}}function MC(e){return Gu(e,"spacing",8)}function qu(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Sj(e,t){return r=>e.reduce((n,o)=>(n[o]=qu(t,r),n),{})}function Tj(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Oj(r),a=Sj(o,n),i=e[r];return _o(e,i,a)}function AC(e,t){const r=MC(e.theme);return Object.keys(e).map(n=>Tj(e,t,n,r)).reduce(qs,{})}function Pt(e){return AC(e,Eb)}Pt.propTypes={};Pt.filterProps=Eb;function Ot(e){return AC(e,kb)}Ot.propTypes={};Ot.filterProps=kb;function Ej(e=8){if(e.mui)return e;const t=MC({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(a=>{const i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return r.mui=!0,r}function Qp(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(a=>{n[a]=o}),n),{}),r=n=>Object.keys(n).reduce((o,a)=>t[a]?qs(o,t[a](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Zr(e){return typeof e!="number"?e:`${e}px solid`}function cn(e,t){return Et({prop:e,themeKey:"borders",transform:t})}const kj=cn("border",Zr),Rj=cn("borderTop",Zr),Mj=cn("borderRight",Zr),Aj=cn("borderBottom",Zr),Ij=cn("borderLeft",Zr),Nj=cn("borderColor"),jj=cn("borderTopColor"),Dj=cn("borderRightColor"),Fj=cn("borderBottomColor"),Lj=cn("borderLeftColor"),zj=cn("outline",Zr),Vj=cn("outlineColor"),Zp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Gu(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:qu(t,n)});return _o(e,e.borderRadius,r)}return null};Zp.propTypes={};Zp.filterProps=["borderRadius"];Qp(kj,Rj,Mj,Aj,Ij,Nj,jj,Dj,Fj,Lj,Zp,zj,Vj);const e0=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Gu(e.theme,"spacing",8),r=n=>({gap:qu(t,n)});return _o(e,e.gap,r)}return null};e0.propTypes={};e0.filterProps=["gap"];const t0=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Gu(e.theme,"spacing",8),r=n=>({columnGap:qu(t,n)});return _o(e,e.columnGap,r)}return null};t0.propTypes={};t0.filterProps=["columnGap"];const r0=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Gu(e.theme,"spacing",8),r=n=>({rowGap:qu(t,n)});return _o(e,e.rowGap,r)}return null};r0.propTypes={};r0.filterProps=["rowGap"];const $j=Et({prop:"gridColumn"}),Uj=Et({prop:"gridRow"}),Wj=Et({prop:"gridAutoFlow"}),Bj=Et({prop:"gridAutoColumns"}),Hj=Et({prop:"gridAutoRows"}),Gj=Et({prop:"gridTemplateColumns"}),qj=Et({prop:"gridTemplateRows"}),Kj=Et({prop:"gridTemplateAreas"}),Xj=Et({prop:"gridArea"});Qp(e0,t0,r0,$j,Uj,Wj,Bj,Hj,Gj,qj,Kj,Xj);function Ji(e,t){return t==="grey"?t:e}const Yj=Et({prop:"color",themeKey:"palette",transform:Ji}),Jj=Et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ji}),Qj=Et({prop:"backgroundColor",themeKey:"palette",transform:Ji});Qp(Yj,Jj,Qj);function jr(e){return e<=1&&e!==0?`${e*100}%`:e}const Zj=Et({prop:"width",transform:jr}),Rb=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const a=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Tb[r];return a?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:jr(r)}};return _o(e,e.maxWidth,t)}return null};Rb.filterProps=["maxWidth"];const eD=Et({prop:"minWidth",transform:jr}),tD=Et({prop:"height",transform:jr}),rD=Et({prop:"maxHeight",transform:jr}),nD=Et({prop:"minHeight",transform:jr});Et({prop:"size",cssProperty:"width",transform:jr});Et({prop:"size",cssProperty:"height",transform:jr});const oD=Et({prop:"boxSizing"});Qp(Zj,Rb,eD,tD,rD,nD,oD);const aD={border:{themeKey:"borders",transform:Zr},borderTop:{themeKey:"borders",transform:Zr},borderRight:{themeKey:"borders",transform:Zr},borderBottom:{themeKey:"borders",transform:Zr},borderLeft:{themeKey:"borders",transform:Zr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Zr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Zp},color:{themeKey:"palette",transform:Ji},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ji},backgroundColor:{themeKey:"palette",transform:Ji},p:{style:Ot},pt:{style:Ot},pr:{style:Ot},pb:{style:Ot},pl:{style:Ot},px:{style:Ot},py:{style:Ot},padding:{style:Ot},paddingTop:{style:Ot},paddingRight:{style:Ot},paddingBottom:{style:Ot},paddingLeft:{style:Ot},paddingX:{style:Ot},paddingY:{style:Ot},paddingInline:{style:Ot},paddingInlineStart:{style:Ot},paddingInlineEnd:{style:Ot},paddingBlock:{style:Ot},paddingBlockStart:{style:Ot},paddingBlockEnd:{style:Ot},m:{style:Pt},mt:{style:Pt},mr:{style:Pt},mb:{style:Pt},ml:{style:Pt},mx:{style:Pt},my:{style:Pt},margin:{style:Pt},marginTop:{style:Pt},marginRight:{style:Pt},marginBottom:{style:Pt},marginLeft:{style:Pt},marginX:{style:Pt},marginY:{style:Pt},marginInline:{style:Pt},marginInlineStart:{style:Pt},marginInlineEnd:{style:Pt},marginBlock:{style:Pt},marginBlockStart:{style:Pt},marginBlockEnd:{style:Pt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:e0},rowGap:{style:r0},columnGap:{style:t0},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:jr},maxWidth:{style:Rb},minWidth:{transform:jr},height:{transform:jr},maxHeight:{transform:jr},minHeight:{transform:jr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Mb=aD;function iD(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function lD(e,t){return typeof e=="function"?e(t):e}function sD(){function e(r,n,o,a){const i={[r]:n,theme:o},l=a[r];if(!l)return{[r]:n};const{cssProperty:f=r,themeKey:g,transform:m,style:w}=l;if(n==null)return null;if(g==="typography"&&n==="inherit")return{[r]:n};const P=Jp(o,g)||{};return w?w(i):_o(i,n,C=>{let b=If(P,m,C);return C===b&&typeof C=="string"&&(b=If(P,m,`${r}${C==="default"?"":$a(C)}`,C)),f===!1?b:{[f]:b}})}function t(r){var n;const{sx:o,theme:a={}}=r||{};if(!o)return null;const i=(n=a.unstable_sxConfig)!=null?n:Mb;function l(f){let g=f;if(typeof f=="function")g=f(a);else if(typeof f!="object")return f;if(!g)return null;const m=wj(a.breakpoints),w=Object.keys(m);let P=m;return Object.keys(g).forEach(O=>{const C=lD(g[O],a);if(C!=null)if(typeof C=="object")if(i[O])P=qs(P,e(O,C,a,i));else{const b=_o({theme:a},C,y=>({[O]:y}));iD(b,C)?P[O]=t({sx:C,theme:a}):P=qs(P,b)}else P=qs(P,e(O,C,a,i))}),_j(w,P)}return Array.isArray(o)?o.map(l):l(o)}return t}const n0=sD();n0.filterProps=["sx"];function uD(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const cD=["breakpoints","palette","spacing","shape"];function Ab(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={}}=e,i=Yn(e,cD),l=vj(r),f=Ej(o);let g=fo({breakpoints:l,direction:"ltr",components:{},palette:Ve({mode:"light"},n),spacing:f,shape:Ve({},yj,a)},i);return g.applyStyles=uD,g=t.reduce((m,w)=>fo(m,w),g),g.unstable_sxConfig=Ve({},Mb,i==null?void 0:i.unstable_sxConfig),g.unstable_sx=function(w){return n0({sx:w,theme:this})},g}function dD(e){return Object.keys(e).length===0}function fD(e=null){const t=F.useContext(RC);return!t||dD(t)?e:t}const pD=Ab();function hD(e=pD){return fD(e)}const gD=["ownerState"],mD=["variants"],vD=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function bD(e){return Object.keys(e).length===0}function yD(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Rd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const wD=Ab(),_D=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function rd({defaultTheme:e,theme:t,themeId:r}){return bD(t)?e:t[r]||t}function xD(e){return e?(t,r)=>r[e]:null}function Md(e,t){let{ownerState:r}=t,n=Yn(t,gD);const o=typeof e=="function"?e(Ve({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>Md(a,Ve({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let l=Yn(o,mD);return a.forEach(f=>{let g=!0;typeof f.props=="function"?g=f.props(Ve({ownerState:r},n)):Object.keys(f.props).forEach(m=>{(r==null?void 0:r[m])!==f.props[m]&&n[m]!==f.props[m]&&(g=!1)}),g&&(Array.isArray(l)||(l=[l]),l.push(typeof f.style=="function"?f.style(Ve({ownerState:r},n)):f.style))}),l}return o}function CD(e={}){const{themeId:t,defaultTheme:r=wD,rootShouldForwardProp:n=Rd,slotShouldForwardProp:o=Rd}=e,a=i=>n0(Ve({},i,{theme:rd(Ve({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,l={})=>{hj(i,h=>h.filter(v=>!(v!=null&&v.__mui_systemSx)));const{name:f,slot:g,skipVariantsResolver:m,skipSx:w,overridesResolver:P=xD(_D(g))}=l,O=Yn(l,vD),C=m!==void 0?m:g&&g!=="Root"&&g!=="root"||!1,b=w||!1;let y,c=Rd;g==="Root"||g==="root"?c=n:g?c=o:yD(i)&&(c=void 0);const s=pj(i,Ve({shouldForwardProp:c,label:y},O)),u=h=>typeof h=="function"&&h.__emotion_real!==h||Sa(h)?v=>Md(h,Ve({},v,{theme:rd({theme:v.theme,defaultTheme:r,themeId:t})})):h,d=(h,...v)=>{let _=u(h);const k=v?v.map(u):[];f&&P&&k.push(M=>{const A=rd(Ve({},M,{defaultTheme:r,themeId:t}));if(!A.components||!A.components[f]||!A.components[f].styleOverrides)return null;const N=A.components[f].styleOverrides,D={};return Object.entries(N).forEach(([$,G])=>{D[$]=Md(G,Ve({},M,{theme:A}))}),P(M,D)}),f&&!C&&k.push(M=>{var A;const N=rd(Ve({},M,{defaultTheme:r,themeId:t})),D=N==null||(A=N.components)==null||(A=A[f])==null?void 0:A.variants;return Md({variants:D},Ve({},M,{theme:N}))}),b||k.push(a);const T=k.length-v.length;if(Array.isArray(h)&&T>0){const M=new Array(T).fill("");_=[...h,...M],_.raw=[...h.raw,...M]}const E=s(_,...k);return i.muiName&&(E.muiName=i.muiName),E};return s.withConfig&&(d.withConfig=s.withConfig),d}}function PD(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:gC(t.components[r].defaultProps,n)}function OD({props:e,name:t,defaultTheme:r,themeId:n}){let o=hD(r);return n&&(o=o[n]||o),PD({theme:o,name:t,props:e})}function IC(e,t=0,r=1){return mN(e,t,r)}function SD(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ml(e){if(e.type)return e;if(e.charAt(0)==="#")return ml(SD(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(hl(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(hl(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}function Ib(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function TD(e){e=ml(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(g,m=(g+r/30)%12)=>o-a*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const f=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",f.push(t[3])),Ib({type:l,values:f})}function A5(e){e=ml(e);let t=e.type==="hsl"||e.type==="hsla"?ml(TD(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ED(e,t){const r=A5(e),n=A5(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function kD(e,t){if(e=ml(e),t=IC(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ib(e)}function RD(e,t){if(e=ml(e),t=IC(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ib(e)}function MD(e,t){return Ve({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const AD={black:"#000",white:"#fff"},Pu=AD,ID={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ND=ID,jD={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},bi=jD,DD={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},yi=DD,FD={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ys=FD,LD={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},wi=LD,zD={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},_i=zD,VD={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},xi=VD,$D=["mode","contrastThreshold","tonalOffset"],I5={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Pu.white,default:Pu.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},rg={text:{primary:Pu.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Pu.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function N5(e,t,r,n){const o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=RD(e.main,o):t==="dark"&&(e.dark=kD(e.main,a)))}function UD(e="light"){return e==="dark"?{main:wi[200],light:wi[50],dark:wi[400]}:{main:wi[700],light:wi[400],dark:wi[800]}}function WD(e="light"){return e==="dark"?{main:bi[200],light:bi[50],dark:bi[400]}:{main:bi[500],light:bi[300],dark:bi[700]}}function BD(e="light"){return e==="dark"?{main:yi[500],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[400],dark:yi[800]}}function HD(e="light"){return e==="dark"?{main:_i[400],light:_i[300],dark:_i[700]}:{main:_i[700],light:_i[500],dark:_i[900]}}function GD(e="light"){return e==="dark"?{main:xi[400],light:xi[300],dark:xi[700]}:{main:xi[800],light:xi[500],dark:xi[900]}}function qD(e="light"){return e==="dark"?{main:ys[400],light:ys[300],dark:ys[700]}:{main:"#ed6c02",light:ys[500],dark:ys[900]}}function KD(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Yn(e,$D),a=e.primary||UD(t),i=e.secondary||WD(t),l=e.error||BD(t),f=e.info||HD(t),g=e.success||GD(t),m=e.warning||qD(t);function w(b){return ED(b,rg.text.primary)>=r?rg.text.primary:I5.text.primary}const P=({color:b,name:y,mainShade:c=500,lightShade:s=300,darkShade:u=700})=>{if(b=Ve({},b),!b.main&&b[c]&&(b.main=b[c]),!b.hasOwnProperty("main"))throw new Error(hl(11,y?` (${y})`:"",c));if(typeof b.main!="string")throw new Error(hl(12,y?` (${y})`:"",JSON.stringify(b.main)));return N5(b,"light",s,n),N5(b,"dark",u,n),b.contrastText||(b.contrastText=w(b.main)),b},O={dark:rg,light:I5};return fo(Ve({common:Ve({},Pu),mode:t,primary:P({color:a,name:"primary"}),secondary:P({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:l,name:"error"}),warning:P({color:m,name:"warning"}),info:P({color:f,name:"info"}),success:P({color:g,name:"success"}),grey:ND,contrastThreshold:r,getContrastText:w,augmentColor:P,tonalOffset:n},O[t]),o)}const XD=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function YD(e){return Math.round(e*1e5)/1e5}const j5={textTransform:"uppercase"},D5='"Roboto", "Helvetica", "Arial", sans-serif';function JD(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=D5,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:f=700,htmlFontSize:g=16,allVariants:m,pxToRem:w}=r,P=Yn(r,XD),O=o/14,C=w||(c=>`${c/g*O}rem`),b=(c,s,u,d,h)=>Ve({fontFamily:n,fontWeight:c,fontSize:C(s),lineHeight:u},n===D5?{letterSpacing:`${YD(d/s)}em`}:{},h,m),y={h1:b(a,96,1.167,-1.5),h2:b(a,60,1.2,-.5),h3:b(i,48,1.167,0),h4:b(i,34,1.235,.25),h5:b(i,24,1.334,0),h6:b(l,20,1.6,.15),subtitle1:b(i,16,1.75,.15),subtitle2:b(l,14,1.57,.1),body1:b(i,16,1.5,.15),body2:b(i,14,1.43,.15),button:b(l,14,1.75,.4,j5),caption:b(i,12,1.66,.4),overline:b(i,12,2.66,1,j5),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return fo(Ve({htmlFontSize:g,pxToRem:C,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:f},y),P,{clone:!1})}const QD=.2,ZD=.14,eF=.12;function ft(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${QD})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ZD})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${eF})`].join(",")}const tF=["none",ft(0,2,1,-1,0,1,1,0,0,1,3,0),ft(0,3,1,-2,0,2,2,0,0,1,5,0),ft(0,3,3,-2,0,3,4,0,0,1,8,0),ft(0,2,4,-1,0,4,5,0,0,1,10,0),ft(0,3,5,-1,0,5,8,0,0,1,14,0),ft(0,3,5,-1,0,6,10,0,0,1,18,0),ft(0,4,5,-2,0,7,10,1,0,2,16,1),ft(0,5,5,-3,0,8,10,1,0,3,14,2),ft(0,5,6,-3,0,9,12,1,0,3,16,2),ft(0,6,6,-3,0,10,14,1,0,4,18,3),ft(0,6,7,-4,0,11,15,1,0,4,20,3),ft(0,7,8,-4,0,12,17,2,0,5,22,4),ft(0,7,8,-4,0,13,19,2,0,5,24,4),ft(0,7,9,-4,0,14,21,2,0,5,26,4),ft(0,8,9,-5,0,15,22,2,0,6,28,5),ft(0,8,10,-5,0,16,24,2,0,6,30,5),ft(0,8,11,-5,0,17,26,2,0,6,32,5),ft(0,9,11,-5,0,18,28,2,0,7,34,6),ft(0,9,12,-6,0,19,29,2,0,7,36,6),ft(0,10,13,-6,0,20,31,3,0,8,38,7),ft(0,10,13,-6,0,21,33,3,0,8,40,7),ft(0,10,14,-6,0,22,35,3,0,8,42,7),ft(0,11,14,-7,0,23,36,3,0,9,44,8),ft(0,11,15,-7,0,24,38,3,0,9,46,8)],rF=["duration","easing","delay"],nF={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},oF={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function F5(e){return`${Math.round(e)}ms`}function aF(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function iF(e){const t=Ve({},nF,e.easing),r=Ve({},oF,e.duration);return Ve({getAutoHeightDuration:aF,create:(o=["all"],a={})=>{const{duration:i=r.standard,easing:l=t.easeInOut,delay:f=0}=a;return Yn(a,rF),(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof i=="string"?i:F5(i)} ${l} ${typeof f=="string"?f:F5(f)}`).join(",")}},e,{easing:t,duration:r})}const lF={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},sF=lF,uF=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function cF(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,i=Yn(e,uF);if(e.vars)throw new Error(hl(18));const l=KD(n),f=Ab(e);let g=fo(f,{mixins:MD(f.breakpoints,r),palette:l,shadows:tF.slice(),typography:JD(l,a),transitions:iF(o),zIndex:Ve({},sF)});return g=fo(g,i),g=t.reduce((m,w)=>fo(m,w),g),g.unstable_sxConfig=Ve({},Mb,i==null?void 0:i.unstable_sxConfig),g.unstable_sx=function(w){return n0({sx:w,theme:this})},g}const dF=cF(),NC=dF,jC="$$material";function fF({props:e,name:t}){return OD({props:e,name:t,defaultTheme:NC,themeId:jC})}const pF=e=>Rd(e)&&e!=="classes",hF=CD({themeId:jC,defaultTheme:NC,rootShouldForwardProp:pF});function gF(e){return vC("MuiSvgIcon",e)}gN("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const mF=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],vF=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${$a(t)}`,`fontSize${$a(r)}`]};return fN(o,gF,n)},bF=hF("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${$a(r.color)}`],t[`fontSize${$a(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,a,i,l,f,g,m,w,P,O,C;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((a=e.typography)==null||(i=a.pxToRem)==null?void 0:i.call(a,20))||"1.25rem",medium:((l=e.typography)==null||(f=l.pxToRem)==null?void 0:f.call(l,24))||"1.5rem",large:((g=e.typography)==null||(m=g.pxToRem)==null?void 0:m.call(g,35))||"2.1875rem"}[t.fontSize],color:(w=(P=(e.vars||e).palette)==null||(P=P[t.color])==null?void 0:P.main)!=null?w:{action:(O=(e.vars||e).palette)==null||(O=O.action)==null?void 0:O.active,disabled:(C=(e.vars||e).palette)==null||(C=C.action)==null?void 0:C.disabled,inherit:void 0}[t.color]}}),Nm=F.forwardRef(function(t,r){const n=fF({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:i="inherit",component:l="svg",fontSize:f="medium",htmlColor:g,inheritViewBox:m=!1,titleAccess:w,viewBox:P="0 0 24 24"}=n,O=Yn(n,mF),C=F.isValidElement(o)&&o.type==="svg",b=Ve({},n,{color:i,component:l,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:P,hasSvgAsChild:C}),y={};m||(y.viewBox=P);const c=vF(b);return Z.jsxs(bF,Ve({as:l,className:vN(c.root,a),focusable:"false",color:g,"aria-hidden":w?void 0:!0,role:w?"img":void 0,ref:r},y,O,C&&o.props,{ownerState:b,children:[C?o.props.children:o,w?Z.jsx("title",{children:w}):null]}))});Nm.muiName="SvgIcon";function yF(e,t){function r(n,o){return Z.jsx(Nm,Ve({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=Nm.muiName,F.memo(F.forwardRef(r))}const wF={configure:e=>{mC.configure(e)}},_F=Object.freeze(Object.defineProperty({__proto__:null,capitalize:$a,createChainedFunction:HI,createSvgIcon:yF,debounce:GI,deprecatedPropType:qI,isMuiElement:KI,ownerDocument:fC,ownerWindow:XI,requirePropFactory:YI,setRef:pC,unstable_ClassNameGenerator:wF,unstable_useEnhancedEffect:hC,unstable_useId:ZI,unsupportedProp:eN,useControlled:tN,useEventCallback:rN,useForkRef:nN,useIsFocusVisible:dN},Symbol.toStringTag,{value:"Module"})),xF=Ml(_F);var L5;function Nb(){return L5||(L5=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=xF}(Zh)),Zh}var CF=xb;Object.defineProperty(_b,"__esModule",{value:!0});var DC=_b.default=void 0,PF=CF(Nb()),OF=Z;DC=_b.default=(0,PF.default)((0,OF.jsx)("path",{d:"M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66.19-.34.05-.08.07-.12C8.48 10.94 10.42 7.54 13 3h1l-1 7h3.5c.49 0 .56.33.47.51l-.07.15C12.96 17.55 11 21 11 21"}),"Bolt");var jb={},SF=xb;Object.defineProperty(jb,"__esModule",{value:!0});var FC=jb.default=void 0,TF=SF(Nb()),z5=Z;FC=jb.default=(0,TF.default)([(0,z5.jsx)("path",{d:"M13 8.57c-.79 0-1.43.64-1.43 1.43s.64 1.43 1.43 1.43 1.43-.64 1.43-1.43-.64-1.43-1.43-1.43"},"0"),(0,z5.jsx)("path",{d:"M13 3C9.25 3 6.2 5.94 6.02 9.64L4.1 12.2c-.25.33-.01.8.4.8H6v3c0 1.1.9 2 2 2h1v3h7v-4.68c2.36-1.12 4-3.53 4-6.32 0-3.87-3.13-7-7-7m3 7c0 .13-.01.26-.02.39l.83.66c.08.06.1.16.05.25l-.8 1.39c-.05.09-.16.12-.24.09l-.99-.4c-.21.16-.43.29-.67.39L14 13.83c-.01.1-.1.17-.2.17h-1.6c-.1 0-.18-.07-.2-.17l-.15-1.06c-.25-.1-.47-.23-.68-.39l-.99.4c-.09.03-.2 0-.25-.09l-.8-1.39c-.05-.08-.03-.19.05-.25l.84-.66c-.01-.13-.02-.26-.02-.39s.02-.27.04-.39l-.85-.66c-.08-.06-.1-.16-.05-.26l.8-1.38c.05-.09.15-.12.24-.09l1 .4c.2-.15.43-.29.67-.39L12 6.17c.02-.1.1-.17.2-.17h1.6c.1 0 .18.07.2.17l.15 1.06c.24.1.46.23.67.39l1-.4c.09-.03.2 0 .24.09l.8 1.38c.05.09.03.2-.05.26l-.85.66c.03.12.04.25.04.39"},"1")],"Psychology");var Db={},EF=xb;Object.defineProperty(Db,"__esModule",{value:!0});var LC=Db.default=void 0,kF=EF(Nb()),RF=Z;LC=Db.default=(0,kF.default)((0,RF.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16"}),"MonetizationOn");const MF=()=>{const e=[{icon:Z.jsx(DC,{fontSize:"large"}),title:"Fast and Easy",description:"Create stunning images in seconds."},{icon:Z.jsx(FC,{fontSize:"large"}),title:"AI Powered",description:"We use OpenAI's GPT-3 to generate images."},{icon:Z.jsx(LC,{fontSize:"large"}),title:"Free to Use",description:" Our tool is free to use and you can create unlimited images."}];return Z.jsx("div",{className:"flex rounded-[3000px] items-center justify-between pt-8 sm:flex-row mobile:flex-col mobile:gap-5 ",children:e.map((t,r)=>Z.jsxs("div",{className:"flex flex-col justify-around items-center h-60 bg-[#858585] bg-opacity-10 shadow-gray-700 rounded-xl mobile:w-screen md:w-[320px] lg:w-[400px]",children:[Z.jsx("h2",{className:"bg-gradient-to-r from-red-500 to-blue-500 text-transparent bg-clip-text laptop:text-[40px] font-mono p-4 md:text-[76px] sm:text-[46px] mobile:text-[28px] small_mobile:text-[25px] text-center",children:t.title}),Z.jsx("div",{className:"flex justify-center items-center",children:t.icon}),Z.jsx("div",{className:"",children:Z.jsx("h3",{className:"w-auto m-auto text-center",children:t.description})})]},r))})},AF=()=>Z.jsx("section",{className:"py-12 bg-none sm:py-16 lg:py-20",children:Z.jsx("div",{className:"px-4 mx-auto max-w-7xl sm:px-6 lg:px-8",children:Z.jsxs("div",{className:"flex flex-col items-center",children:[Z.jsxs("div",{className:"text-center",children:[Z.jsx("p",{className:"text-lg font-medium text-gray-600 font-pj",children:"2,157 people have said how good Rareblocks"}),Z.jsx("h2",{className:"mt-4 text-3xl font-bold text-gray-900 sm:text-4xl xl:text-5xl font-pj",children:"Our happy clients say about us"})]}),Z.jsx("div",{className:"mt-8 text-center md:mt-16 md:order-3",children:Z.jsx("a",{href:"#",title:"",className:"pb-2 text-base font-bold leading-7 text-gray-900 transition-all duration-200 border-b-2 border-gray-900 hover:border-gray-600 font-pj focus:outline-none focus:ring-1 focus:ring-gray-900 focus:ring-offset-2 hover:text-gray-600",children:" Check all 2,157 reviews "})}),Z.jsxs("div",{className:"relative mt-10 md:mt-24 md:order-2",children:[Z.jsx("div",{className:"absolute -inset-x-1 inset-y-16 md:-inset-x-2 md:-inset-y-6",children:Z.jsx("div",{className:"w-full h-full max-w-5xl mx-auto rounded-3xl opacity-30 blur-lg filter",style:{background:"linear-gradient(90deg, #44ff9a -0.55%, #44b0ff 22.86%, #8b44ff 48.36%, #ff6644 73.33%, #ebff70 99.34%)"}})}),Z.jsxs("div",{className:"relative grid max-w-lg grid-cols-1 gap-6 mx-auto md:max-w-none lg:gap-10 md:grid-cols-3",children:[Z.jsx("div",{className:"flex flex-col overflow-hidden shadow-xl",children:Z.jsxs("div",{className:"flex flex-col justify-between flex-1 p-6 bg-[#858585] bg-opacity-10 lg:py-8 lg:px-7",children:[Z.jsxs("div",{className:"flex-1",children:[Z.jsxs("div",{className:"flex items-center",children:[Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})})]}),Z.jsx("blockquote",{className:"flex-1 mt-8",children:Z.jsx("p",{className:"text-lg leading-relaxed text-gray-900 font-pj",children:"“You made it so simple. My new site is so much faster and easier to work with than my old site. I just choose the page, make the change.”"})})]}),Z.jsxs("div",{className:"flex items-center mt-8",children:[Z.jsx("img",{className:"flex-shrink-0 object-cover rounded-full w-11 h-11",src:"https://cdn.rareblocks.xyz/collection/clarity/images/testimonial/4/avatar-male-1.png",alt:""}),Z.jsxs("div",{className:"ml-4",children:[Z.jsx("p",{className:"text-base font-bold text-gray-900 font-pj",children:"Leslie Alexander"}),Z.jsx("p",{className:"mt-0.5 text-sm font-pj text-gray-600",children:"Freelance React Developer"})]})]})]})}),Z.jsx("div",{className:"flex flex-col overflow-hidden shadow-xl",children:Z.jsxs("div",{className:"flex flex-col justify-between flex-1 p-6 bg-[#858585] bg-opacity-10 lg:py-8 lg:px-7",children:[Z.jsxs("div",{className:"flex-1",children:[Z.jsxs("div",{className:"flex items-center",children:[Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})})]}),Z.jsx("blockquote",{className:"flex-1 mt-8",children:Z.jsx("p",{className:"text-lg leading-relaxed text-gray-900 font-pj",children:"“Simply the best. Better than all the rest. I’d recommend this product to beginners and advanced users.”"})})]}),Z.jsxs("div",{className:"flex items-center mt-8",children:[Z.jsx("img",{className:"flex-shrink-0 object-cover rounded-full w-11 h-11",src:"https://cdn.rareblocks.xyz/collection/clarity/images/testimonial/4/avatar-male-2.png",alt:""}),Z.jsxs("div",{className:"ml-4",children:[Z.jsx("p",{className:"text-base font-bold text-gray-900 font-pj",children:"Jacob Jones"}),Z.jsx("p",{className:"mt-0.5 text-sm font-pj text-gray-600",children:"Digital Marketer"})]})]})]})}),Z.jsx("div",{className:"flex flex-col overflow-hidden shadow-xl",children:Z.jsxs("div",{className:"flex flex-col justify-between flex-1 p-6 bg-[#858585] bg-opacity-10 lg:py-8 lg:px-7",children:[Z.jsxs("div",{className:"flex-1",children:[Z.jsxs("div",{className:"flex items-center",children:[Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),Z.jsx("svg",{className:"w-5 h-5 text-[#FDB241]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:Z.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})})]}),Z.jsx("blockquote",{className:"flex-1 mt-8",children:Z.jsx("p",{className:"text-lg leading-relaxed text-gray-900 font-pj",children:"“I cannot believe that I have got a brand new landing page after getting Omega. It was super easy to edit and publish.”"})})]}),Z.jsxs("div",{className:"flex items-center mt-8",children:[Z.jsx("img",{className:"flex-shrink-0 object-cover rounded-full w-11 h-11",src:"https://cdn.rareblocks.xyz/collection/clarity/images/testimonial/4/avatar-female.png",alt:""}),Z.jsxs("div",{className:"ml-4",children:[Z.jsx("p",{className:"text-base font-bold text-gray-900 font-pj",children:"Jenny Wilson"}),Z.jsx("p",{className:"mt-0.5 text-sm font-pj text-gray-600",children:"Graphic Designer"})]})]})]})})]})]})]})})}),IF=()=>Z.jsxs(Z.Fragment,{children:[Z.jsx(VI,{}),Z.jsx(MF,{}),Z.jsx(AF,{})]});function zC(e,t){return function(){return e.apply(t,arguments)}}const{toString:NF}=Object.prototype,{getPrototypeOf:Fb}=Object,o0=(e=>t=>{const r=NF.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Zn=e=>(e=e.toLowerCase(),t=>o0(t)===e),a0=e=>t=>typeof t===e,{isArray:Fl}=Array,Ou=a0("undefined");function jF(e){return e!==null&&!Ou(e)&&e.constructor!==null&&!Ou(e.constructor)&&on(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const VC=Zn("ArrayBuffer");function DF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&VC(e.buffer),t}const FF=a0("string"),on=a0("function"),$C=a0("number"),i0=e=>e!==null&&typeof e=="object",LF=e=>e===!0||e===!1,Ad=e=>{if(o0(e)!=="object")return!1;const t=Fb(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},zF=Zn("Date"),VF=Zn("File"),$F=Zn("Blob"),UF=Zn("FileList"),WF=e=>i0(e)&&on(e.pipe),BF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||on(e.append)&&((t=o0(e))==="formdata"||t==="object"&&on(e.toString)&&e.toString()==="[object FormData]"))},HF=Zn("URLSearchParams"),GF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ku(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),Fl(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}const WC=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,BC=e=>!Ou(e)&&e!==WC;function jm(){const{caseless:e}=BC(this)&&this||{},t={},r=(n,o)=>{const a=e&&UC(t,o)||o;Ad(t[a])&&Ad(n)?t[a]=jm(t[a],n):Ad(n)?t[a]=jm({},n):Fl(n)?t[a]=n.slice():t[a]=n};for(let n=0,o=arguments.length;n(Ku(t,(o,a)=>{r&&on(o)?e[a]=zC(o,r):e[a]=o},{allOwnKeys:n}),e),KF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),XF=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},YF=(e,t,r,n)=>{let o,a,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=r!==!1&&Fb(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},JF=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},QF=e=>{if(!e)return null;if(Fl(e))return e;let t=e.length;if(!$C(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ZF=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Fb(Uint8Array)),eL=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},tL=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},rL=Zn("HTMLFormElement"),nL=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),V5=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),oL=Zn("RegExp"),HC=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Ku(r,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(n[a]=i||o)}),Object.defineProperties(e,n)},aL=e=>{HC(e,(t,r)=>{if(on(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(on(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},iL=(e,t)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return Fl(e)?n(e):n(String(e).split(t)),r},lL=()=>{},sL=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ng="abcdefghijklmnopqrstuvwxyz",$5="0123456789",GC={DIGIT:$5,ALPHA:ng,ALPHA_DIGIT:ng+ng.toUpperCase()+$5},uL=(e=16,t=GC.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function cL(e){return!!(e&&on(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const dL=e=>{const t=new Array(10),r=(n,o)=>{if(i0(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const a=Fl(n)?[]:{};return Ku(n,(i,l)=>{const f=r(i,o+1);!Ou(f)&&(a[l]=f)}),t[o]=void 0,a}}return n};return r(e,0)},fL=Zn("AsyncFunction"),pL=e=>e&&(i0(e)||on(e))&&on(e.then)&&on(e.catch),de={isArray:Fl,isArrayBuffer:VC,isBuffer:jF,isFormData:BF,isArrayBufferView:DF,isString:FF,isNumber:$C,isBoolean:LF,isObject:i0,isPlainObject:Ad,isUndefined:Ou,isDate:zF,isFile:VF,isBlob:$F,isRegExp:oL,isFunction:on,isStream:WF,isURLSearchParams:HF,isTypedArray:ZF,isFileList:UF,forEach:Ku,merge:jm,extend:qF,trim:GF,stripBOM:KF,inherits:XF,toFlatObject:YF,kindOf:o0,kindOfTest:Zn,endsWith:JF,toArray:QF,forEachEntry:eL,matchAll:tL,isHTMLForm:rL,hasOwnProperty:V5,hasOwnProp:V5,reduceDescriptors:HC,freezeMethods:aL,toObjectSet:iL,toCamelCase:nL,noop:lL,toFiniteNumber:sL,findKey:UC,global:WC,isContextDefined:BC,ALPHABET:GC,generateString:uL,isSpecCompliantForm:cL,toJSONObject:dL,isAsyncFn:fL,isThenable:pL};function Be(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}de.inherits(Be,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const qC=Be.prototype,KC={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{KC[e]={value:e}});Object.defineProperties(Be,KC);Object.defineProperty(qC,"isAxiosError",{value:!0});Be.from=(e,t,r,n,o,a)=>{const i=Object.create(qC);return de.toFlatObject(e,i,function(f){return f!==Error.prototype},l=>l!=="isAxiosError"),Be.call(i,e.message,t,r,n,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const hL=null;function Dm(e){return de.isPlainObject(e)||de.isArray(e)}function XC(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function U5(e,t,r){return e?e.concat(t).map(function(o,a){return o=XC(o),!r&&a?"["+o+"]":o}).join(r?".":""):t}function gL(e){return de.isArray(e)&&!e.some(Dm)}const mL=de.toFlatObject(de,{},null,function(t){return/^is[A-Z]/.test(t)});function l0(e,t,r){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=de.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,y){return!de.isUndefined(y[b])});const n=r.metaTokens,o=r.visitor||m,a=r.dots,i=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&de.isSpecCompliantForm(t);if(!de.isFunction(o))throw new TypeError("visitor must be a function");function g(C){if(C===null)return"";if(de.isDate(C))return C.toISOString();if(!f&&de.isBlob(C))throw new Be("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(C)||de.isTypedArray(C)?f&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function m(C,b,y){let c=C;if(C&&!y&&typeof C=="object"){if(de.endsWith(b,"{}"))b=n?b:b.slice(0,-2),C=JSON.stringify(C);else if(de.isArray(C)&&gL(C)||(de.isFileList(C)||de.endsWith(b,"[]"))&&(c=de.toArray(C)))return b=XC(b),c.forEach(function(u,d){!(de.isUndefined(u)||u===null)&&t.append(i===!0?U5([b],d,a):i===null?b:b+"[]",g(u))}),!1}return Dm(C)?!0:(t.append(U5(y,b,a),g(C)),!1)}const w=[],P=Object.assign(mL,{defaultVisitor:m,convertValue:g,isVisitable:Dm});function O(C,b){if(!de.isUndefined(C)){if(w.indexOf(C)!==-1)throw Error("Circular reference detected in "+b.join("."));w.push(C),de.forEach(C,function(c,s){(!(de.isUndefined(c)||c===null)&&o.call(t,c,de.isString(s)?s.trim():s,b,P))===!0&&O(c,b?b.concat(s):[s])}),w.pop()}}if(!de.isObject(e))throw new TypeError("data must be an object");return O(e),t}function W5(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Lb(e,t){this._pairs=[],e&&l0(e,this,t)}const YC=Lb.prototype;YC.append=function(t,r){this._pairs.push([t,r])};YC.toString=function(t){const r=t?function(n){return t.call(this,n,W5)}:W5;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function vL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function JC(e,t,r){if(!t)return e;const n=r&&r.encode||vL,o=r&&r.serialize;let a;if(o?a=o(t,r):a=de.isURLSearchParams(t)?t.toString():new Lb(t,r).toString(n),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class B5{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){de.forEach(this.handlers,function(n){n!==null&&t(n)})}}const QC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bL=typeof URLSearchParams<"u"?URLSearchParams:Lb,yL=typeof FormData<"u"?FormData:null,wL=typeof Blob<"u"?Blob:null,_L={isBrowser:!0,classes:{URLSearchParams:bL,FormData:yL,Blob:wL},protocols:["http","https","file","blob","url","data"]},ZC=typeof window<"u"&&typeof document<"u",xL=(e=>ZC&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),CL=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PL=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ZC,hasStandardBrowserEnv:xL,hasStandardBrowserWebWorkerEnv:CL},Symbol.toStringTag,{value:"Module"})),Bn={...PL,..._L};function OL(e,t){return l0(e,new Bn.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,a){return Bn.isNode&&de.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function SL(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function TL(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n=r.length;return i=!i&&de.isArray(o)?o.length:i,f?(de.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!l):((!o[i]||!de.isObject(o[i]))&&(o[i]=[]),t(r,n,o[i],a)&&de.isArray(o[i])&&(o[i]=TL(o[i])),!l)}if(de.isFormData(e)&&de.isFunction(e.entries)){const r={};return de.forEachEntry(e,(n,o)=>{t(SL(n),o,r,0)}),r}return null}function EL(e,t,r){if(de.isString(e))try{return(t||JSON.parse)(e),de.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const zb={transitional:QC,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,a=de.isObject(t);if(a&&de.isHTMLForm(t)&&(t=new FormData(t)),de.isFormData(t))return o?JSON.stringify(eP(t)):t;if(de.isArrayBuffer(t)||de.isBuffer(t)||de.isStream(t)||de.isFile(t)||de.isBlob(t))return t;if(de.isArrayBufferView(t))return t.buffer;if(de.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return OL(t,this.formSerializer).toString();if((l=de.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return l0(l?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||o?(r.setContentType("application/json",!1),EL(t)):t}],transformResponse:[function(t){const r=this.transitional||zb.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&de.isString(t)&&(n&&!this.responseType||o)){const i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?Be.from(l,Be.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bn.classes.FormData,Blob:Bn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],e=>{zb.headers[e]={}});const Vb=zb,kL=de.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),RL=e=>{const t={};let r,n,o;return e&&e.split(` +`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&kL[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},H5=Symbol("internals");function ws(e){return e&&String(e).trim().toLowerCase()}function Id(e){return e===!1||e==null?e:de.isArray(e)?e.map(Id):String(e)}function ML(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const AL=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function og(e,t,r,n,o){if(de.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!de.isString(t)){if(de.isString(n))return t.indexOf(n)!==-1;if(de.isRegExp(n))return n.test(t)}}function IL(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function NL(e,t){const r=de.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}class s0{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function a(l,f,g){const m=ws(f);if(!m)throw new Error("header name must be a non-empty string");const w=de.findKey(o,m);(!w||o[w]===void 0||g===!0||g===void 0&&o[w]!==!1)&&(o[w||f]=Id(l))}const i=(l,f)=>de.forEach(l,(g,m)=>a(g,m,f));return de.isPlainObject(t)||t instanceof this.constructor?i(t,r):de.isString(t)&&(t=t.trim())&&!AL(t)?i(RL(t),r):t!=null&&a(r,t,n),this}get(t,r){if(t=ws(t),t){const n=de.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return ML(o);if(de.isFunction(r))return r.call(this,o,n);if(de.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=ws(t),t){const n=de.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||og(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function a(i){if(i=ws(i),i){const l=de.findKey(n,i);l&&(!r||og(n,n[l],l,r))&&(delete n[l],o=!0)}}return de.isArray(t)?t.forEach(a):a(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const a=r[n];(!t||og(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const r=this,n={};return de.forEach(this,(o,a)=>{const i=de.findKey(n,a);if(i){r[i]=Id(o),delete r[a];return}const l=t?IL(a):String(a).trim();l!==a&&delete r[a],r[l]=Id(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return de.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&de.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[H5]=this[H5]={accessors:{}}).accessors,o=this.prototype;function a(i){const l=ws(i);n[l]||(NL(o,i),n[l]=!0)}return de.isArray(t)?t.forEach(a):a(t),this}}s0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);de.reduceDescriptors(s0.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});de.freezeMethods(s0);const po=s0;function ag(e,t){const r=this||Vb,n=t||r,o=po.from(n.headers);let a=n.data;return de.forEach(e,function(l){a=l.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function tP(e){return!!(e&&e.__CANCEL__)}function Xu(e,t,r){Be.call(this,e??"canceled",Be.ERR_CANCELED,t,r),this.name="CanceledError"}de.inherits(Xu,Be,{__CANCEL__:!0});function jL(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Be("Request failed with status code "+r.status,[Be.ERR_BAD_REQUEST,Be.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const DL=Bn.hasStandardBrowserEnv?{write(e,t,r,n,o,a){const i=[e+"="+encodeURIComponent(t)];de.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),de.isString(n)&&i.push("path="+n),de.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function FL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function LL(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function rP(e,t){return e&&!FL(t)?LL(e,t):t}const zL=Bn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){const l=de.isString(i)?o(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function VL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $L(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(f){const g=Date.now(),m=n[a];i||(i=g),r[o]=f,n[o]=g;let w=a,P=0;for(;w!==o;)P+=r[w++],w=w%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),g-i{const a=o.loaded,i=o.lengthComputable?o.total:void 0,l=a-r,f=n(l),g=a<=i;r=a;const m={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:f||void 0,estimated:f&&i&&g?(i-a)/f:void 0,event:o};m[t?"download":"upload"]=!0,e(m)}}const UL=typeof XMLHttpRequest<"u",WL=UL&&function(e){return new Promise(function(r,n){let o=e.data;const a=po.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,f;function g(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let m;if(de.isFormData(o)){if(Bn.hasStandardBrowserEnv||Bn.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((m=a.getContentType())!==!1){const[b,...y]=m?m.split(";").map(c=>c.trim()).filter(Boolean):[];a.setContentType([b||"multipart/form-data",...y].join("; "))}}let w=new XMLHttpRequest;if(e.auth){const b=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(b+":"+y))}const P=rP(e.baseURL,e.url);w.open(e.method.toUpperCase(),JC(P,e.params,e.paramsSerializer),!0),w.timeout=e.timeout;function O(){if(!w)return;const b=po.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),c={data:!i||i==="text"||i==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:b,config:e,request:w};jL(function(u){r(u),g()},function(u){n(u),g()},c),w=null}if("onloadend"in w?w.onloadend=O:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(O)},w.onabort=function(){w&&(n(new Be("Request aborted",Be.ECONNABORTED,e,w)),w=null)},w.onerror=function(){n(new Be("Network Error",Be.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const c=e.transitional||QC;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),n(new Be(y,c.clarifyTimeoutError?Be.ETIMEDOUT:Be.ECONNABORTED,e,w)),w=null},Bn.hasStandardBrowserEnv&&(l&&de.isFunction(l)&&(l=l(e)),l||l!==!1&&zL(P))){const b=e.xsrfHeaderName&&e.xsrfCookieName&&DL.read(e.xsrfCookieName);b&&a.set(e.xsrfHeaderName,b)}o===void 0&&a.setContentType(null),"setRequestHeader"in w&&de.forEach(a.toJSON(),function(y,c){w.setRequestHeader(c,y)}),de.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),i&&i!=="json"&&(w.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&w.addEventListener("progress",G5(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&w.upload&&w.upload.addEventListener("progress",G5(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=b=>{w&&(n(!b||b.type?new Xu(null,e,w):b),w.abort(),w=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const C=VL(P);if(C&&Bn.protocols.indexOf(C)===-1){n(new Be("Unsupported protocol "+C+":",Be.ERR_BAD_REQUEST,e));return}w.send(o||null)})},Fm={http:hL,xhr:WL};de.forEach(Fm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const q5=e=>`- ${e}`,BL=e=>de.isFunction(e)||e===null||e===!1,nP={getAdapter:e=>{e=de.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let a=0;a`adapter ${l} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since : +`+a.map(q5).join(` +`):" "+q5(a[0]):"as no adapter specified";throw new Be("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:Fm};function ig(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xu(null,e)}function K5(e){return ig(e),e.headers=po.from(e.headers),e.data=ag.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),nP.getAdapter(e.adapter||Vb.adapter)(e).then(function(n){return ig(e),n.data=ag.call(e,e.transformResponse,n),n.headers=po.from(n.headers),n},function(n){return tP(n)||(ig(e),n&&n.response&&(n.response.data=ag.call(e,e.transformResponse,n.response),n.response.headers=po.from(n.response.headers))),Promise.reject(n)})}const X5=e=>e instanceof po?e.toJSON():e;function vl(e,t){t=t||{};const r={};function n(g,m,w){return de.isPlainObject(g)&&de.isPlainObject(m)?de.merge.call({caseless:w},g,m):de.isPlainObject(m)?de.merge({},m):de.isArray(m)?m.slice():m}function o(g,m,w){if(de.isUndefined(m)){if(!de.isUndefined(g))return n(void 0,g,w)}else return n(g,m,w)}function a(g,m){if(!de.isUndefined(m))return n(void 0,m)}function i(g,m){if(de.isUndefined(m)){if(!de.isUndefined(g))return n(void 0,g)}else return n(void 0,m)}function l(g,m,w){if(w in t)return n(g,m);if(w in e)return n(void 0,g)}const f={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(g,m)=>o(X5(g),X5(m),!0)};return de.forEach(Object.keys(Object.assign({},e,t)),function(m){const w=f[m]||o,P=w(e[m],t[m],m);de.isUndefined(P)&&w!==l||(r[m]=P)}),r}const oP="1.6.7",$b={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$b[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Y5={};$b.transitional=function(t,r,n){function o(a,i){return"[Axios v"+oP+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,l)=>{if(t===!1)throw new Be(o(i," has been removed"+(r?" in "+r:"")),Be.ERR_DEPRECATED);return r&&!Y5[i]&&(Y5[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,l):!0}};function HL(e,t,r){if(typeof e!="object")throw new Be("options must be an object",Be.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const l=e[a],f=l===void 0||i(l,a,e);if(f!==!0)throw new Be("option "+a+" must be "+f,Be.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Be("Unknown option "+a,Be.ERR_BAD_OPTION)}}const Lm={assertOptions:HL,validators:$b},Vo=Lm.validators;class Nf{constructor(t){this.defaults=t,this.interceptors={request:new B5,response:new B5}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+a):n.stack=a}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=vl(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&Lm.assertOptions(n,{silentJSONParsing:Vo.transitional(Vo.boolean),forcedJSONParsing:Vo.transitional(Vo.boolean),clarifyTimeoutError:Vo.transitional(Vo.boolean)},!1),o!=null&&(de.isFunction(o)?r.paramsSerializer={serialize:o}:Lm.assertOptions(o,{encode:Vo.function,serialize:Vo.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&de.merge(a.common,a[r.method]);a&&de.forEach(["delete","get","head","post","put","patch","common"],C=>{delete a[C]}),r.headers=po.concat(i,a);const l=[];let f=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(r)===!1||(f=f&&b.synchronous,l.unshift(b.fulfilled,b.rejected))});const g=[];this.interceptors.response.forEach(function(b){g.push(b.fulfilled,b.rejected)});let m,w=0,P;if(!f){const C=[K5.bind(this),void 0];for(C.unshift.apply(C,l),C.push.apply(C,g),P=C.length,m=Promise.resolve(r);w{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(l=>{n.subscribe(l),a=l}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,l){n.reason||(n.reason=new Xu(a,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Ub(function(o){t=o}),cancel:t}}}const GL=Ub;function qL(e){return function(r){return e.apply(null,r)}}function KL(e){return de.isObject(e)&&e.isAxiosError===!0}const zm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(zm).forEach(([e,t])=>{zm[t]=e});const XL=zm;function aP(e){const t=new Nd(e),r=zC(Nd.prototype.request,t);return de.extend(r,Nd.prototype,t,{allOwnKeys:!0}),de.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return aP(vl(e,o))},r}const It=aP(Vb);It.Axios=Nd;It.CanceledError=Xu;It.CancelToken=GL;It.isCancel=tP;It.VERSION=oP;It.toFormData=l0;It.AxiosError=Be;It.Cancel=It.CanceledError;It.all=function(t){return Promise.all(t)};It.spread=qL;It.isAxiosError=KL;It.mergeConfig=vl;It.AxiosHeaders=po;It.formToJSON=e=>eP(de.isHTMLForm(e)?new FormData(e):e);It.getAdapter=nP.getAdapter;It.HttpStatusCode=XL;It.default=It;var YL={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"};const JL=()=>{const[e,t]=F.useState("/"),r=F.useRef(null),[n,o]=F.useState(!1),a=async()=>{if(r.current.value===""){alert("Please enter a description");return}o(!0);try{const g=(await It.post("https://api.openai.com/v1/images/generations",{prompt:`${r.current.value}`,n:1,size:"512x512"},{headers:{"Content-Type":"application/json",Authorization:`Bearer ${YL.OPENAI_API_KEY}`}})).data.data[0].url;t(g),o(!1)}catch(l){console.error("Error generating image:",l.response.data),alert("Failed to generate image. Please try again later.")}},i=()=>{if(e!=="/"){const l=document.createElement("a");l.href=e,l.download=`${r.current.value}.jpg`,l.click()}else alert("No image to download. Please generate an image first.")};return Z.jsxs("div",{className:"flex flex-col items-center justify-center mt-8 mb-4 gap-4",children:[Z.jsxs("div",{className:"text-4xl font-medium pb-6",children:["AI Image ",Z.jsx("span",{className:"text-pink-500",children:"Generator"})]}),Z.jsxs("div",{className:"flex flex-col",children:[Z.jsx("img",{className:"min-w-[200px] h-auto rounded-md max-w-[300px]",src:e==="/"?zI:e,alt:"generated-image"}),Z.jsxs("div",{className:"loading",children:[Z.jsx("div",{className:n?"loading-bar-full":"loading-bar"}),Z.jsx("div",{className:n?"loading-text":"display-none",children:"Loading ..."})]})]}),Z.jsx("div",{className:"flex flex-col w-full max-w-screen-md items-center justify-center bg-gray-900 p-4 rounded-md",children:Z.jsx("input",{ref:r,type:"text",placeholder:"Describe what you would like to see",className:"w-full h-12 bg-transparent border-none outline-none text-white placeholder-white text-lg px-4 mr-2"})}),Z.jsxs("div",{className:"flex flex-row gap-20",children:[Z.jsx("button",{className:"mt-4 bg-[#DE1B89] hover:bg-[#c448c8] text-white font-bold py-2 px-4 rounded",onClick:a,children:"Generate"}),Z.jsx("button",{className:"mt-4 bg-[#DE1B89] hover:bg-[#c448c8] text-white font-bold py-2 px-4 rounded",onClick:i,children:"Download Image"})]})]})},QL=()=>Z.jsx("div",{children:Z.jsx(JL,{})});function ZL({title:e,titleId:t,...r},n){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?F.createElement("title",{id:t},e):null,F.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm8.25 5.25a.75.75 0 0 1 .75-.75h8.25a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const ez=F.forwardRef(ZL),tz=ez;function rz({title:e,titleId:t,...r},n){return F.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?F.createElement("title",{id:t},e):null,F.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const nz=F.forwardRef(rz),oz=nz,jf="sharethis",az={display:"inline-block",width:"50px",height:"50px",position:"relative",overflow:"hidden",verticalAlign:"middle"},iP={position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},iz={...iP,borderRadius:"50%",fillRule:"evenodd"},J5={transition:"fill 170ms ease-in-out",fill:"transparent"},lP=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return new RegExp("(?:[/.]|^)($SOCIALS)([.]|$|/)".replace("$SOCIALS",e.join("|").replace(/\./gu,"\\.")),"u")},jd=new Map,Q5=new Set;let sP=lP();function _e(e,t){return jd.set(e,t),Q5.add(e),sP=lP([...Q5].sort((r,n)=>n.length-r.length)),t}function lz(e){var t;return e?e.startsWith("mailto:")?"mailto":((t=e.match(sP))==null?void 0:t[1])||jf:jf}const sz=F.forwardRef(function(t,r){const{as:n="a",href:o,url:a,network:i,bgColor:l,fgColor:f,className:g,label:m,children:w,fallback:P,defaultSVG:O,...C}=t,b=i||lz(a),y=m||t["aria-label"]||b,c=(typeof P=="string"?jd.get(P):P||O)||jd.get(jf),{color:s,path:u}=b===jf?c:jd.get(b)||{};return F.createElement(n,{href:o||a,className:`social-icon${g?` ${g}`:""}`,...C,style:{...az,...C.style},"aria-label":y,ref:r},F.createElement("span",{className:"social-container",style:iP},F.createElement("svg",{role:"img","aria-label":`${y} social icon`,className:"social-svg",viewBox:"0 0 64 64",style:iz},F.createElement("g",{className:"social-svg-icon",style:{...J5,fill:f||"white"}},F.createElement("path",{d:`M0,0H64V64H0Z${u}`})),F.createElement("g",{className:"social-svg-mask",style:{...J5,fill:l||s}},F.createElement("path",{d:u})))),w)});_e("bandsintown",{color:"#1B8793",path:"M0 0v64h64V0zm32.6 24.7h5.6v7.8h-5.6zm-6.8 0h5.6v7.8h-5.6zM44.9 46H19.1V18h5.6v22.4h14.6v-1.1H25.8v-5.6h19V46zm0-13.4h-5.6V18h5.6z"});_e("behance",{color:"#007CFF",path:"M40.4 30.1q-.9 0-1.5.3c-.4.2-.7.4-.9.7s-.4.6-.5.9-.2.6-.2.9h6c-.1-.9-.4-1.6-.8-2.1-.5-.5-1.2-.7-2.1-.7m-14.9 2.7h-4.4v5.1h4.3c.4 0 .8 0 1.1-.1.4-.1.7-.2 1-.4s.5-.4.7-.7.2-.7.2-1.2c0-1-.3-1.6-.8-2-.5-.5-1.2-.7-2.1-.7m1.5-3.3c.5-.3.7-.9.7-1.7 0-.4-.1-.8-.2-1.1q-.3-.45-.6-.6-.45-.3-.9-.3c-.3-.1-.7-.1-1-.1h-3.8V30h4.1c.6.1 1.2-.1 1.7-.5M0 0v64h64V0zm36.6 23.8h7.5v1.8h-7.5zm-4.7 14.3c-.4.7-.9 1.2-1.5 1.7-.6.4-1.3.8-2.1 1q-1.2.3-2.4.3H17V22.6h8.7c.9 0 1.7.1 2.4.2.7.2 1.3.4 1.9.8.5.4.9.8 1.2 1.4s.4 1.3.4 2.2-.2 1.7-.6 2.3-1 1.1-1.9 1.5c1.1.3 2 .9 2.5 1.7.6.8.8 1.8.8 3 .1.9-.1 1.7-.5 2.4M47 35.3h-9.6c0 1.1.4 2.1.9 2.6s1.3.8 2.4.8c.7 0 1.4-.2 1.9-.6s.9-.8 1-1.2h3.2c-.5 1.6-1.3 2.8-2.4 3.4-1.1.7-2.4 1-3.9 1-1.1 0-2-.2-2.9-.5-.8-.3-1.6-.8-2.2-1.4s-1-1.4-1.4-2.2c-.3-.9-.5-1.8-.5-2.8s.2-1.9.5-2.8.8-1.6 1.4-2.2 1.3-1.1 2.2-1.5c.8-.4 1.8-.5 2.8-.5 1.1 0 2.1.2 3 .7q1.2.6 2.1 1.8c.5.7.9 1.6 1.2 2.5.3.8.3 1.8.3 2.9"});_e("bsky.app",{color:"#1185fe",path:"M0 0v64h64V0Zm45.498 17.766a2.84 2.84 0 0 1 1.354.312c.578.296.932.915 1.103 1.92.085.513.046 2.326-.086 3.666-.013.125-.038.494-.064.822-.02.322-.054.696-.067.82-.013.125-.039.434-.058.69-.027.25-.06.585-.073.736-.02.158-.046.408-.066.559-.099.92-.118 1.07-.13 1.104-.014.02-.041.244-.067.494-.171 1.662-1.354 3.376-2.938 4.263-1.261.703-2.667 1.045-4.336 1.051-.801.007-.927.041-.447.133.94.17 2.005.518 2.86.945 2.247 1.11 3.041 2.747 2.331 4.778-.118.322-.25.636-.302.695-.053.052-.092.131-.092.164 0 .066-.617 1.025-.8 1.242-.06.072-.219.264-.35.428-.355.434-1.004 1.097-1.346 1.373-.164.131-.31.25-.33.27-.184.203-1.333.946-1.938 1.261-.808.42-1.425.591-2.135.598-.722.006-.953-.033-1.439-.256-1.386-.63-2.418-2.34-3.39-5.586-.421-1.426-.54-1.826-.598-2.082-.066-.276-.131-.218-.256.223-.381 1.38-1.117 3.344-1.623 4.363-.92 1.853-1.927 2.937-3.11 3.357-.499.178-1.45.166-2.029-.025-1.452-.486-2.899-1.623-4.357-3.443-1.426-1.774-2.116-3.292-2.037-4.475.046-.69.118-.933.447-1.426.302-.453.841-.914 1.44-1.236.426-.23 1.28-.584 1.609-.676.111-.026.375-.099.592-.158.216-.066.453-.126.525-.139.867-.17 1.255-.255 1.295-.281.026-.02-.302-.04-.723-.047-.42 0-.947-.026-1.164-.053-.453-.059-1.445-.276-1.642-.36a6 6 0 0 0-.46-.17c-1.241-.441-2.378-1.33-3.087-2.427-.316-.486-.659-1.221-.73-1.576a10 10 0 0 1-.19-1.123c-.027-.217-.054-.466-.067-.558a33 33 0 0 1-.197-1.873c-.026-.29-.053-.632-.066-.756a72 72 0 0 1-.073-.756c-.02-.29-.05-.631-.064-.756-.164-1.938-.172-3.68-.008-4.238.302-1.019.73-1.466 1.623-1.715.29-.08 1.157-.078 1.531.008 1.183.25 3.576 1.655 5.008 2.93.072.065.237.21.361.322.927.828 2.543 2.522 3.358 3.521.23.29.447.553.486.592.033.04.139.17.23.289.093.118.196.25.23.29.098.104 1.065 1.43 1.486 2.042.492.71 1.201 1.847 1.378 2.229.138.282.256.387.256.236 0-.105.836-1.485 1.434-2.365 1.866-2.76 4.257-5.488 6.353-7.262.566-.473.769-.63 1.63-1.22 1.648-1.126 2.937-1.676 4.015-1.688"});_e("clubhouse",{color:"#1F1F1A",path:"M0 0v64.271h64.203V0zm32.694 15.453c1.277 0 2.24.566 2.804 1.842.824-.538 1.956-.738 2.92-.483 1.305.34 2.1 1.249 2.581 4.03.17.882.423 1.96.735 2.895.396 1.194.85 2.128 1.643 3.518.255.425.566.908.878 1.361l.256-.51c.764-1.562 2.268-3.093 4.45-3.093.937 0 1.956.34 2.522 1.305a3.04 3.04 0 0 1 .51 1.7c0 .737-.311 1.475-.566 2.042-.057.114-.084.17-.084.198-.652 1.36-1.53 3.066-1.53 5.05 0 5.76-2.127 8.71-3.77 10.242-1.674 1.562-4.28 2.893-7.313 2.893-2.152 0-4.393-.623-6.234-1.843-2.52-1.672-4.052-4.255-5.44-6.524-1.136-1.9-1.958-3.43-3.176-6.324-.708-1.617-1.36-3.293-1.897-5.079-.482-1.562-.228-2.696.393-3.433.625-.766 1.505-1.135 2.468-1.192.17 0 .34.001.51.03a6 6 0 0 1-.2-1.475c0-1.846 1.448-3.207 3.403-3.207.255 0 .51.028.736.085-.028-.312-.056-.567-.056-.822 0-2.016 1.644-3.206 3.457-3.206m0 1.704c-.822 0-1.812.424-1.812 1.502 0 .709.197 1.758.395 2.606.34.825.398 1.336.823 3.122.255 1.052.565 1.958.877 2.752.368.967.793 1.79 1.388 2.896.283.538.426.539 1.106.17.538-.284 1.33-.625 1.924-.824-1.02-2.211-1.869-4.057-2.294-5.616-.113-.454-.51-2.272-.623-3.066-.085-.794-.17-1.473-.368-2.21-.226-.908-.538-1.332-1.416-1.332m4.87 1.252c-.445-.004-.919.14-1.216.395-.312.283-.425.509-.34 1.132.142 1.364.368 2.414.623 3.406.595 2.325 1.585 4.142 2.095 5.22.17.368.313.511.596.483.397-.029.623-.058.878-.03.34.029.596.228.596.568 0 .283-.143.397-.653.51-1.048.227-2.38.595-3.684 1.333-1.107.626-2.07 1.392-2.948 2.498-.085.113-.172.17-.313.17-.198 0-.368-.227-.538-.454s-.283-.397-.283-.567c0-.199.085-.37.283-.624.312-.426.68-.737.68-.935 0-.142-.254-.482-.48-.879-.368-.68-.992-2.044-1.417-3.065-.651-1.56-1.105-3.546-1.36-4.766-.312-1.332-.794-1.702-1.53-1.702-1.02 0-1.698.595-1.698 1.503 0 .598.197 1.391.594 2.696.255.85.51 1.7.736 2.296a53 53 0 0 0 1.218 3.066c.368.822.906 1.787 1.16 2.269.142.255.397.68.397.935 0 .454-.338.708-.791.708-.255 0-.482-.113-.737-.51-.311-.457-.992-1.788-1.473-2.78-.369-.823-.992-2.3-1.304-3.32-.51-1.616-.85-2.24-1.727-2.213-.51.029-.936.2-1.247.568-.312.397-.339 1.02-.084 1.843.538 1.73 1.163 3.317 1.835 4.943 1.192 2.807 1.957 4.257 3.062 6.1 1.388 2.268 2.75 4.538 4.93 5.984 1.558 1.02 3.46 1.561 5.3 1.561 2.578 0 4.762-1.137 6.15-2.441 1.419-1.305 3.23-3.859 3.23-8.993 0-2.354 1.02-4.4 1.644-5.732.17-.34.537-1.049.537-1.56 0-.226-.055-.537-.197-.764-.255-.397-.652-.54-1.133-.54-1.504 0-2.468 1.136-3.006 2.128a7 7 0 0 0-.537 1.36c-.312 1.049-.624 1.475-1.53 2.212-.482.426-1.076.964-1.415 1.39-.567.767-.738 1.42-.88 2.44-.028.256-.51.369-1.104.369-.34 0-.453-.113-.453-.652 0-.567.198-1.418.623-2.183.595-1.05 1.246-1.617 1.898-2.156s.85-.765.963-1.105c-.595-.797-1.16-1.618-1.614-2.412-.822-1.446-1.36-2.526-1.784-3.83a25 25 0 0 1-.794-3.152c-.34-1.988-.679-2.497-1.33-2.667a1.8 1.8 0 0 0-.428-.054m-23.056.313c.206-.014.437.052.698.187.806.42 3.65 2.637 4.193 3.076.526.422.454.641.178 1.185-.275.544-.533.683-1.022.528-.978-.309-3.882-2.07-4.64-2.523-.684-.413-.773-.784-.296-1.689.264-.499.545-.742.889-.764m-1.79 9.45c.139-.014.296-.005.469.012.803.077 4.524.682 5.116.865.613.19.698.47.623 1.005-.095.696-.409.829-.81.841-.855.024-4.407-.129-5.218-.209-.706-.07-.992-.381-.915-1.404.062-.824.319-1.068.735-1.11m7.768 7.597c.308.018.54.218.713.653.255.637.08.89-.463 1.228-.6.372-3.78 2.04-4.499 2.305-.512.19-1.068.146-1.395-.824-.402-1.198.162-1.482.965-1.794.711-.275 3.66-1.344 4.345-1.53a1 1 0 0 1 .334-.038"});_e("codepen",{color:"#151515",path:"M0 0v64h64V0zm32 48c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16m.5-25.7q-.45-.3-.9 0l-9.1 5.9c-.2.2-.4.4-.4.7v6.2c0 .3.1.6.4.7l9.1 5.9q.45.3.9 0l9.1-5.9c.2-.2.4-.4.4-.7v-6.2c0-.3-.1-.6-.4-.7zm.3 2.2 6.8 4.5-3 2-3.7-2.5v-4zm-1.6 0v4L27.4 31l-3-2zm-7.4 6.1 2.1 1.4-2.1 1.4zm7.4 8.9L24.4 35l3-2 3.7 2.5v4zM32 34l-3-2 3-2 3 2zm.8 5.5v-4l3.7-2.5 3 2zm7.4-6.1L38.1 32l2.1-1.4z"});_e("developer.mozilla",{color:"#236ab4",path:"M0 0v64h64V0zm32 48.35h-3.69v-32.7l-10.15 32.7h-4.15l10.11-32.7H32zm18 0h-3.69v-32.7l-10.12 32.7h-4.15l10.11-32.7H50z"});_e("discord",{color:"#5865F2",path:"M0 0v64h64V0zm36.903 18.5a29.6 29.6 0 0 1 7.374 2.269c4.045 5.914 6.055 12.585 5.313 20.283a29.6 29.6 0 0 1-9.05 4.537 21.7 21.7 0 0 1-1.936-3.12 19.3 19.3 0 0 0 3.055-1.46 11 11 0 0 1-.747-.562 21.25 21.25 0 0 1-18.082 0c-.242.186-.492.377-.748.562a19 19 0 0 0 3.05 1.457 22 22 0 0 1-1.937 3.123 29.7 29.7 0 0 1-9.043-4.54c-.633-6.638.632-13.37 5.299-20.275a29.8 29.8 0 0 1 7.38-2.274q.522.935.944 1.92a27.5 27.5 0 0 1 8.183 0q.422-.985.945-1.92m-10.97 18.467c-1.762 0-3.218-1.6-3.218-3.568s1.405-3.581 3.213-3.581c1.807 0 3.252 1.614 3.222 3.581-.031 1.968-1.42 3.568-3.216 3.568m11.875 0c-1.765 0-3.216-1.6-3.216-3.568s1.406-3.581 3.216-3.581 3.244 1.614 3.213 3.581c-.03 1.968-1.417 3.568-3.213 3.568"});_e("dribbble",{color:"#ea4c89",path:"M34.3 34.3c-7.7 2.7-10.5 8-10.7 8.5 2.3 1.8 5.2 2.9 8.4 2.9 1.9 0 3.7-.4 5.3-1.1-.2-1.2-1-5.4-3-10.3.1-.1.1 0 0 0m-3-6.7c-2.3-4-4.7-7.4-5.1-7.9-3.8 1.8-6.7 5.3-7.6 9.6.6-.1 6.3 0 12.7-1.7m1.7 4.5c.2-.1.4-.1.5-.2-.3-.8-.7-1.6-1.1-2.3-6.8 2-13.4 2-14 1.9v.4c0 3.5 1.3 6.7 3.5 9.1.3-.4 4-6.6 11.1-8.9m8.1-10.3c-2.4-2.1-5.6-3.4-9.1-3.4-1.1 0-2.2.1-3.2.4.4.5 2.9 3.9 5.1 8 4.9-1.9 6.9-4.7 7.2-5m-6.2 7c.3.7.6 1.3.9 2 .1.2.2.5.3.7 4.5-.6 9.1.3 9.5.4 0-3.2-1.2-6.2-3.1-8.5-.2.4-2.5 3.3-7.6 5.4m2.1 4.8c1.8 4.9 2.5 8.9 2.7 9.7 3.1-2.1 5.2-5.4 5.9-9.2-.6-.1-4.3-1.2-8.6-.5M0 0v64h64V0zm32 48c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16"});_e("dropbox",{color:"#1081DE",path:"M0 0v64h64V0zm41.5 41.2L32 46.9l-9.4-5.7v-2.1l2.8 1.8 6.6-5.5 6.6 5.5 2.8-1.8v2.1zm6.5-7.5-9.4 6.1-6.6-5.5-6.6 5.5-9.4-6.1 6.5-5.2-6.5-5.2 9.4-6.1 6.6 5.5 6.6-5.5 9.4 6.1-6.5 5.2zm-25.5-5.2 9.5 5.9 9.5-5.9-9.5-5.9z"});_e("email",{color:"#7f7f7f",path:"M41.1 25H22.9l9.1 7.1zm2.9 1.6-12 9.3-12-9.3V39h24zM0 0v64h64V0zm47 42H17V22h30z"});_e("facebook",{color:"#3b5998",path:"M0 0v64h64V0zm39.6 22h-2.8c-2.2 0-2.6 1.1-2.6 2.6V28h5.3l-.7 5.3h-4.6V47h-5.5V33.3H24V28h4.6v-4c0-4.6 2.8-7 6.9-7 2 0 3.6.1 4.1.2z"});_e("fivehundredpix",{color:"#222222",path:"M33.3 31.3c-.4-.2-.7-.4-1.1-.6-.3-.1-.8-.1-.9-.1-1.1 0-1.9.6-2.2 2.1v.9c0 .1.1.4.2.7.3.9 1.4 1.3 2.1 1.3s1.2-.2 1.9-.6c.5-.3 1-.7 1.4-1.1.2-.2.5-.5.5-.6.1-.5-1.5-1.7-1.9-2m9.5-.7c-1.3 0-2.4 1-3.8 2.6 1.3 1.5 2.6 2.3 3.9 2.3 1.5 0 2.2-1.1 2.2-2.4.1-1.4-.8-2.5-2.3-2.5M0 0v64h64V0zm42.9 38.5c-2 0-3.8-1-5.7-3.3-2.2 2.4-3.7 3.3-5.7 3.3-1.8 0-3.7-.7-4.8-3.1-1.2 2.5-3.3 3.2-5.1 3.2-1.6 0-3.8-.4-5-2.5-.1-.1-.6-1.3-.6-1.6v-.7h3c.1 1.6 1.3 2.2 2.4 2.2 1.3 0 2.4-.9 2.6-2.6v-.7c-.2-1.8-1.3-2.4-2.6-2.4-.8 0-1.6.2-2.3 1.2h-2.7v-.2l1.5-8h8.4v2.5h-6.2l-.6 3.3c1-.9 2-1.1 2.9-1.1 1.4 0 3.2.6 4.1 2.6 1-2.4 3-3.2 4.7-3.2 2 0 3.9 1 5.8 3.5 2.1-2.6 3.7-3.5 5.8-3.5 3.3 0 5.1 2.4 5.1 5.4.1 3.1-1.7 5.7-5 5.7"});_e("flickr",{color:"#0063db",path:"M38 27c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5M0 0v64h64V0zm32 48c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16m-6-21c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5"});_e("foursquare",{color:"#0072b1",path:"M39.7 20.4H26.4c-.6 0-1 .5-1 1v20.5c0 .1 0 .1.1 0 0 0 4.9-5.9 5.4-6.5.5-.7.8-.8 1.6-.8H37c.6 0 1-.5 1-.8.1-.3.6-3 .7-3.6.1-.5-.4-1.1-.9-1.1h-5.5c-.7 0-1.2-.5-1.2-1.2v-.8c0-.7.5-1.2 1.2-1.2h6.4c.5 0 .9-.4 1-.8l.7-3.6c.2-.6-.2-1.1-.7-1.1M0 0v64h64V0zm44 20.9-1 5.2c-.8 4.2-1.8 9-1.9 9.5-.2.9-.6 2.4-2.7 2.4h-5.1c-.2 0-.2 0-.4.2-.1.1-7.9 9.2-7.9 9.2-.6.7-1.6.6-2 .4-.4-.1-1-.6-1-1.8V19.7c0-1.1.7-2.8 3-2.8h16.5c2.4.1 3.1 1.5 2.5 4"});_e("gitlab",{color:"#f96424",path:"M0 0v64h64V0zm50.402 32.559-1.969-6.066v.007-.011L44.52 14.454a1.54 1.54 0 0 0-1.476-1.055c-.68.004-1.25.422-1.461 1.062l-3.715 11.426h-11.72l-3.722-11.426a1.52 1.52 0 0 0-1.46-1.062h-.009c-.664 0-1.257.422-1.472 1.062L15.58 26.488v.004s0 .004-.004.008q.005-.007.004-.008l-1.98 6.067c-.297.914.027 1.91.805 2.476l17.082 12.402q.006-.001.007.004c.008.004.016.012.024.016-.008-.004-.012-.012-.02-.016l.004.004h.004q.035.028.082.051l.008.008h.004l.004.004h.008q0 .005.003.004c.004 0 .004.004.008.004q.024.009.047.02.022.006.043.015v.004h.008q.006.004.012.003h.004c0 .004.007.004.011.004h.004q.03.011.063.016.012.007.023.008h.004l.008.004h.015q.004-.001.008.004h.004q.061.006.121.007h.004q.061 0 .121-.007h.004q.006-.005.012-.004h.012q.007-.002.007-.004h.004l.028-.008.062-.016h.004q.006.001.012-.004h.004s.004 0 .008-.003h.007v-.004c.016-.004.032-.012.047-.016l.043-.02.008-.003h.004q.004-.005.008-.004l.008-.004.011-.008q.042-.023.082-.05.002.001.004-.005h.004q.004-.005.008-.004L49.6 35.035a2.21 2.21 0 0 0 .8-2.476zm-7.352-16.98 3.352 10.309h-6.7zm2.766 12.051-1.367 1.75-10.086 12.91 4.77-14.66zM31.171 47.001q.005.004.004.008.001-.004-.004-.008m-1.527-4.707L18.199 27.63h6.68zm-8.688-26.715 3.356 10.309h-6.703zm-5.523 18.047a.47.47 0 0 1-.172-.527l1.473-4.512 10.773 13.805zM31.46 47.415q-.006-.007-.012-.008v-.004q-.013-.008-.02-.015-.022-.018-.039-.036c.004 0 .004.004.004.004s.004 0 .004.004c.028.024.051.047.078.067h.004s0 .004.004.004c-.008-.004-.015-.012-.023-.016m.543-3.504-2.805-8.625-2.484-7.656H37.3zm.574 3.477q-.013.008-.02.015-.004-.001-.003.004a.01.01 0 0 0-.008.008c-.008.004-.016.012-.024.016 0 0 0-.004.004-.004a1 1 0 0 0 .078-.067l.004-.004s.004 0 .004-.003zm15.996-13.762-12.074 8.761L47.28 28.59l1.465 4.508a.47.47 0 0 1-.172.528"});_e("github",{color:"#24292e",path:"M0 0v64h64V0zm37.1 47.2c-.8.2-1.1-.3-1.1-.8V42c0-1.5-.5-2.5-1.1-3 3.6-.4 7.3-1.7 7.3-7.9 0-1.7-.6-3.2-1.6-4.3.2-.4.7-2-.2-4.2 0 0-1.3-.4-4.4 1.6-1.3-.4-2.6-.5-4-.5s-2.7.2-4 .5c-3.1-2.1-4.4-1.6-4.4-1.6-.9 2.2-.3 3.8-.2 4.2-1 1.1-1.6 2.5-1.6 4.3 0 6.1 3.7 7.5 7.3 7.9-.5.4-.9 1.1-1 2.1-.9.4-3.2 1.1-4.7-1.3 0 0-.8-1.5-2.5-1.6 0 0-1.6 0-.1 1 0 0 1 .5 1.8 2.3 0 0 .9 3.1 5.4 2.1v2.7c0 .4-.3.9-1.1.8-6.3-2-10.9-8-10.9-15.1 0-8.8 7.2-16 16-16s16 7.2 16 16c0 7.1-4.6 13.1-10.9 15.2"});_e("google",{color:"#dd4b39",path:"M0 0v64h64V0zm31.3 19.1q.45.45.9 1.2c.3.4.5.9.7 1.5q.3.9.3 2.1c0 1.4-.3 2.6-.9 3.4l-.9 1.2c-.4.4-.8.7-1.2 1.1-.2.2-.5.5-.7.8s-.4.7-.4 1.1.1.8.4 1c.2.3.4.5.6.7l1.4 1.1c.8.7 1.6 1.5 2.2 2.3s.9 2 .9 3.3c0 1.9-.9 3.7-2.6 5.2-1.8 1.6-4.3 2.4-7.7 2.4q-4.2 0-6.3-1.8-2.1-1.65-2.1-3.9c0-.7.2-1.6.7-2.5q.6-1.35 2.4-2.4c1.3-.7 2.7-1.2 4.1-1.5 1.4-.2 2.6-.3 3.5-.4-.3-.4-.5-.8-.8-1.2s-.4-.9-.4-1.5c0-.4 0-.6.2-.9.1-.2.2-.5.2-.7-.5.1-.9.1-1.3.1-2.1 0-3.8-.7-4.9-2-1.2-1.2-1.8-2.7-1.8-4.3 0-2 .8-3.8 2.5-5.4 1.1-.9 2.3-1.6 3.5-1.8s2.3-.4 3.4-.4h8L33 18.4h-2.5c.2.2.5.4.8.7M48 32h-4.3v4.2h-2.5V32H37v-2.5h4.2v-4.3h2.5v4.3H48zM27.1 19.1c-.6-.5-1.4-.7-2.2-.7-1.1 0-2 .5-2.7 1.3q-.9 1.35-.9 3c0 1.5.4 3 1.3 4.5.4.7.9 1.4 1.6 1.9.6.5 1.4.8 2.2.8 1.1 0 1.9-.4 2.6-1.1.3-.5.6-1 .7-1.6.1-.5.1-1 .1-1.4q0-2.4-1.2-4.8c-.4-.8-.9-1.5-1.5-1.9m-.2 17.1c-.2 0-.7 0-1.6.1-.8.1-1.7.3-2.5.6-.2.1-.5.2-.9.4s-.7.4-1.1.7q-.6.45-.9 1.2c-.3.5-.4 1.1-.4 1.8 0 1.4.6 2.6 1.9 3.5 1.2.9 2.9 1.4 5 1.4 1.9 0 3.3-.4 4.3-1.3 1-.8 1.5-1.8 1.5-3.1 0-1-.3-1.9-1-2.7-.7-.7-1.8-1.6-3.3-2.6z"});_e("google_play",{color:"#40BBC1",path:"M0 0v64h64V0zm40.4 27.1-3.6 3.6-12.3-12.3zM22 44.5V19.4c0-.4.1-.7.2-.9L35.6 32 22.2 45.4c-.1-.2-.2-.5-.2-.9m2.4 1.1 12.4-12.4 3.6 3.6zm22.7-12.4-5 2.8-4-4 3.9-3.9 5.1 2.8c1.2.5 1.2 1.6 0 2.3"});_e("groupme",{color:"#00aff0",path:"M0 0v64h64V0zm40.321 39.434a10.4 9.517 0 0 1-16.64 0 2.6 2.38 0 1 0-4.161 2.856 15.6 14.276 0 0 0 24.961 0 2.6 2.38 0 0 0-4.16-2.856m-17.42-12.848a2.6 2.38 0 0 0 0 4.759h1.3v1.19a2.6 2.38 0 0 0 5.2 0v-1.19h5.2v1.19a2.6 2.38 0 0 0 5.2 0v-1.19h1.3a2.6 2.38 0 0 0 0-4.759h-1.3v-4.758h1.3a2.6 2.38 0 0 0 0-4.759h-1.3v-1.19a2.6 2.38 0 0 0-5.2 0v1.19h-5.2v-1.19a2.6 2.38 0 0 0-5.2 0v1.19h-1.3a2.6 2.38 0 0 0 0 4.759h1.3v4.758zm6.5-4.758h5.2v4.758h-5.2z"});_e("instagram",{color:"#e94475",path:"M0 0v64h64V0zm39.88 25.89c.98 0 1.77-.79 1.77-1.77s-.79-1.77-1.77-1.77-1.77.79-1.77 1.77.79 1.77 1.77 1.77M32 24.42c-4.18 0-7.58 3.39-7.58 7.58s3.4 7.58 7.58 7.58 7.58-3.4 7.58-7.58-3.4-7.58-7.58-7.58m0 12.5c-2.72 0-4.92-2.2-4.92-4.92s2.2-4.92 4.92-4.92 4.92 2.2 4.92 4.92-2.2 4.92-4.92 4.92m0-17.02c3.94 0 4.41.02 5.96.09 1.45.06 2.23.3 2.75.51.69.27 1.18.58 1.7 1.1.51.52.83 1.01 1.1 1.7.2.52.44 1.3.51 2.74.07 1.56.09 2.02.09 5.97 0 3.94-.02 4.4-.09 5.96-.07 1.44-.31 2.22-.51 2.74-.27.69-.59 1.19-1.1 1.7-.52.52-1.01.84-1.7 1.1-.52.2-1.3.45-2.75.51-1.55.07-2.02.09-5.96.09s-4.41-.02-5.96-.09c-1.45-.06-2.23-.3-2.75-.51-.69-.27-1.18-.58-1.7-1.1-.51-.51-.83-1.01-1.1-1.7-.2-.52-.44-1.3-.51-2.74-.07-1.56-.09-2.02-.09-5.96 0-3.95.02-4.41.09-5.97.07-1.44.31-2.22.51-2.74.27-.69.59-1.18 1.1-1.7.52-.52 1.01-.84 1.7-1.1.52-.2 1.3-.45 2.75-.51 1.55-.08 2.02-.09 5.96-.09m0-2.66c-4.01 0-4.51.02-6.09.09-1.57.07-2.64.32-3.58.68-.97.38-1.79.89-2.61 1.71s-1.33 1.65-1.71 2.61c-.36.94-.61 2.01-.68 3.59-.07 1.57-.09 2.07-.09 6.08s.02 4.51.09 6.09c.07 1.57.32 2.64.68 3.58.38.98.89 1.8 1.71 2.62s1.65 1.32 2.61 1.7c.94.37 2.01.62 3.59.69 1.57.07 2.07.09 6.09.09 4.01 0 4.51-.02 6.08-.09s2.65-.32 3.59-.69c.97-.37 1.79-.88 2.61-1.7s1.33-1.65 1.71-2.62c.36-.93.61-2.01.68-3.58.07-1.58.09-2.08.09-6.09s-.02-4.51-.09-6.09c-.07-1.57-.32-2.64-.68-3.58-.38-.98-.89-1.8-1.71-2.62a7.3 7.3 0 0 0-2.61-1.7c-.94-.37-2.01-.62-3.59-.69-1.58-.06-2.08-.08-6.09-.08"});_e("itch.io",{color:"#fa5c5c",path:"M0 0v64h64V0zm32 16c4.482 0 7.49.028 11.828.197 1.396.921 4.146 4.435 4.172 5.356v1.523c0 1.933-1.624 3.631-3.1 3.631-1.771 0-3.248-1.631-3.248-3.568 0 1.937-1.425 3.568-3.197 3.568-1.771 0-3.152-1.631-3.152-3.568 0 1.937-1.516 3.568-3.287 3.568h-.032c-1.771 0-3.287-1.631-3.287-3.568 0 1.937-1.38 3.568-3.152 3.568s-3.197-1.631-3.197-3.568c0 1.937-1.477 3.568-3.248 3.568-1.476 0-3.1-1.698-3.1-3.63v-1.524c.026-.921 2.776-4.434 4.172-5.356C21.407 16.077 27.518 16 32 16m-3.326 9.797a3.65 4.058 0 0 0 .619.892 3.716 4.13 0 0 0 2.602 1.178q.053 0 .105-.002l.107.002a3.716 4.13 0 0 0 2.602-1.178 3.65 4.058 0 0 0 .617-.892 3.655 4.063 0 0 0 .623.892c.669.727 1.585 1.178 2.596 1.178a3.714 4.129 0 0 0 2.601-1.178c.243-.263.427-.546.596-.875.169.33.404.611.647.875a3.717 4.132 0 0 0 2.601 1.178c.122 0 .25-.037.352-.076a66 66 0 0 1 .222 4.373l.002.006.008 1.73c-.027 3.46.307 11.21-1.373 13.116-2.603.674-7.395.982-12.201.984-4.806-.002-9.598-.31-12.201-.984-1.68-1.905-1.344-9.657-1.371-13.116.002-.666.005-1.147.008-1.73v-.006c.02-1.149.08-2.724.222-4.373.103.04.23.076.352.076a3.717 4.132 0 0 0 2.601-1.178c.243-.264.478-.545.647-.875.168.329.353.612.596.875a3.714 4.129 0 0 0 2.601 1.178c1.01 0 1.927-.45 2.596-1.178a3.655 4.063 0 0 0 .623-.892m9.324 3.84v.002h-.002c-1.058.002-1.997 0-3.162 1.414a24 24 0 0 0-2.834-.16 24 24 0 0 0-2.834.16c-1.165-1.413-2.104-1.412-3.162-1.414h-.002c-.5 0-2.5 0-3.893 4.35l-1.496 5.966c-1.109 4.44.354 4.549 2.18 4.553 2.708-.112 4.209-2.298 4.209-4.485 1.5.274 3.249.41 4.998.41s3.499-.136 4.998-.41c0 2.187 1.499 4.373 4.207 4.485 1.826-.004 3.29-.113 2.182-4.553l-1.496-5.967c-1.394-4.35-3.393-4.351-3.893-4.351M32 33.057s2.851 2.91 3.363 3.945l-1.865-.082v1.809c0 .084-.749.05-1.498.011-.75.039-1.498.073-1.498-.011v-1.81l-1.865.083c.512-1.034 3.36-3.943 3.363-3.945"});_e("itunes",{color:"#E049D1",path:"M0 0v64h64V0zm42.5 40c0 2.2-1.8 4-4 4h-2c-1.9 0-3.4-1.5-3.4-3.4s1.5-3.4 3.4-3.4h2.8c.8 0 1.4-.6 1.4-1.4v-11c0-.5-.4-.9-.9-.9h-.2l-12.1 2.4c-.4.1-.7.4-.7.9V43c0 2.2-1.8 4-4 4h-2c-1.9 0-3.4-1.5-3.4-3.4s1.5-3.4 3.4-3.4h2.8c.8 0 1.4-.6 1.4-1.4V21.3c0-.7.5-1.2 1.1-1.4l14.7-3h.3c.8 0 1.4.6 1.4 1.4z"});_e("leetcode",{color:"#E7A41F",path:"M0 0h64v64H0zm42.05 42.07a2.12 2.12 0 0 0-3.069-.005l-3.77 3.885a4.65 4.65 0 0 1-6.616.06l-6.758-6.84c-1.824-1.846-2.143-4.74-.56-6.49l6.21-6.625c1.664-1.84 5.04-2.061 6.97-.45l5.508 4.596c.932.779 2.299.628 3.052-.336s.607-2.377-.326-3.156l-5.507-4.596c-1.204-1.005-2.649-1.641-4.161-1.917L36.5 16.5c.85-.91.947-2.264.04-3.116a2.245 2.245 0 0 0-3.181.107l-9.043 9.499-6.063 6.7c-3.252 3.594-2.908 9.19.548 12.688l6.79 6.871a8.887 8.887 0 0 0 12.685-.12l3.77-3.886a2.3 2.3 0 0 0 .005-3.173m-14.396-6.016c0 1.24.971 2.244 2.17 2.244H45.83c1.198 0 2.17-1.005 2.17-2.244s-.972-2.244-2.17-2.244H29.824c-1.199 0-2.17 1.005-2.17 2.244"});_e("linkedin",{color:"#007fb1",path:"M0 0v64h64V0zm25.8 44h-5.4V26.6h5.4zm-2.7-19.7c-1.7 0-3.1-1.4-3.1-3.1s1.4-3.1 3.1-3.1 3.1 1.4 3.1 3.1-1.4 3.1-3.1 3.1M46 44h-5.4v-8.4c0-2 0-4.6-2.8-4.6s-3.2 2.2-3.2 4.5V44h-5.4V26.6h5.2V29h.1c.7-1.4 2.5-2.8 5.1-2.8 5.5 0 6.5 3.6 6.5 8.3V44z"});_e("linktree",{color:"#39e09b",path:"M0 0v64h64V0zm27.436 19.386c-.6-.948-2.162-.948-2.762 0L14.344 35.83c-.48.843.24 1.792 1.322 1.792h6.966v6.218c0 .633.6 1.16 1.321 1.16h4.083c.721 0 1.321-.527 1.321-1.16v-6.218h-1.921c-.84 0-1.441-.527-1.562-1.16 0-.21 0-.421.12-.635l5.766-9.17zm9.128 0c.6-.948 2.162-.948 2.762 0l10.33 16.444c.48.843-.24 1.792-1.322 1.792h-6.846v6.218c0 .633-.6 1.16-1.322 1.16h-4.323c-.72 0-1.32-.527-1.32-1.16v-6.218h1.921c.84 0 1.441-.527 1.561-1.16 0-.21 0-.421-.12-.635L32.12 26.66z"});_e("mailto",{color:"#7f7f7f",path:"M41.1 25H22.9l9.1 7.1zm2.9 1.6-12 9.3-12-9.3V39h24zM0 0v64h64V0zm47 42H17V22h30z"});_e("mastodon",{color:"#17063B",path:"M-.135-.135v64.541h64.678V-.134ZM31.91 16c4.394-.016 8.82.462 11.213 1.488 0 0 4.875 2.042 4.875 8.992 0 0 .064 5.126-.684 8.688-.477 2.26-4.218 4.734-8.515 5.213-1.54.17-7.13 1.013-13.686-.48q-.002.5.069.995c.507 3.546 3.767 3.76 6.861 3.86 3.123.093 5.646-.723 5.646-.723l.13 2.639s-1.924 1.093-5.815 1.295c-2.144.113-4.811-.05-7.912-.815C15.994 45.143 16 34.754 16 26.48c0-6.95 4.883-8.992 4.883-8.992 2.27-.96 6.633-1.472 11.027-1.488m-4.703 5.3c-1.505-.036-3.027.51-4.016 1.532-1.802 1.918-1.406 3.174-1.406 11.816h3.569v-7.513c0-3.518 4.882-3.651 4.882.49v4.354h3.537v-4.354c0-4.141 4.887-4.006 4.887-.488v7.515h3.56v-.004c0-8.636.404-9.883-1.406-11.816-1.962-2.032-6.087-2.196-7.927.43l-.883 1.383-.887-1.383c-.916-1.306-2.405-1.924-3.91-1.961"});_e("matrix",{color:"#000000",path:"M0 0v64h64V0zm16 16h3.04v.732h-2.198v30.536h2.197V48H16zm28.96 0H48v32h-3.04v-.732h2.198V16.732h-2.197zM29.769 26.104c.72 0 1.377.143 1.974.42.598.277 1.046.775 1.36 1.476q.509-.749 1.378-1.322.87-.574 2.061-.574.904 0 1.68.222c.517.147.955.382 1.324.707.368.327.652.745.861 1.268q.306.783.307 1.89v7.637h-3.131V31.36q0-.573-.043-1.082a2.3 2.3 0 0 0-.24-.88 1.5 1.5 0 0 0-.584-.596q-.39-.222-1.047-.223-.665 0-1.07.252a1.84 1.84 0 0 0-.641.666 2.6 2.6 0 0 0-.309.928 7.4 7.4 0 0 0-.08 1.047v6.357h-3.132v-6.4c0-.339-.005-.67-.024-1.002a2.8 2.8 0 0 0-.191-.918 1.4 1.4 0 0 0-.553-.67c-.259-.167-.635-.254-1.139-.254q-.224 0-.586.1a2 2 0 0 0-.705.375q-.344.277-.586.793-.24.519-.24 1.36v6.622H23.28v-11.42h2.953v1.541h.045a4.4 4.4 0 0 1 1.49-1.365c.578-.327 1.249-.486 2-.486"});_e("medium",{color:"#000000",path:"M0 0v64h64V0zm25.025 22.914c4.985 0 9.026 4.068 9.026 9.086s-4.041 9.086-9.026 9.086S16 37.018 16 32s4.041-9.086 9.025-9.086m14.413.531c2.492 0 4.511 3.83 4.511 8.555h.002c0 4.724-2.021 8.555-4.514 8.555-2.492 0-4.511-3.831-4.511-8.555s2.02-8.555 4.511-8.555m6.974.89C47.288 24.336 48 27.768 48 32c0 4.231-.711 7.664-1.588 7.664S44.826 36.232 44.826 32s.71-7.664 1.586-7.664"});_e("meetup",{color:"#E51937",path:"M0 0v64h64V0zm47.8 44.3c-.4.2-2.5.9-3.9 1-.6.1-1.1-.6-1.4-1.5C41 39.2 39 32 37.3 27.2c0 3.7-.3 10.8-.4 12-.1 1.7-.4 3.7-1.8 3.9-1.1.2-2.4.4-4 .4-1.3 0-1.8-.9-2.4-1.8-1-1.4-3.1-4.8-4.1-6.9.3 2.3.7 4.7.9 5.8.1.8 0 1.5-.6 1.9-1 .7-3.2 1.4-4.1 1.4-.8 0-1.5-.8-1.6-1.6-.7-3.4-1.2-8-1.1-11.1 0-2.8 0-5.9.2-8.3 0-.7.3-1.1.9-1.4 1.2-.5 3-.6 4.7-.3.8.1 1 .8 1.4 1.4 1.7 2.8 3.8 6.7 5.7 10.6 0-6.3 1.9-11.9 3.5-15.3.5-1.1.9-1.4 1.9-1.4 1.3 0 2.9.2 4.1.4 1.1.2 1.5 1.6 1.7 2.5 1.2 4.5 4.7 18.7 5.5 22.4.1 1 .6 2.2.1 2.5"});_e("opensea",{color:"#2081E2",path:"M0 0h64v64H0Zm33 12.8c.5 0 .956.204 1.281.536.326.332.528.787.528 1.293v3.101l.375.106q.046.014.086.043c.092.069.222.172.39.297.132.105.275.232.445.363.34.273.744.627 1.188 1.031.118.102.235.208.34.313a27 27 0 0 1 1.824 1.847c.171.194.337.391.508.598.17.21.354.418.512.625.207.276.427.56.62.86.093.14.2.288.29.43.25.377.469.768.68 1.16.088.18.178.376.257.57a8.5 8.5 0 0 1 .54 1.59c.035.115.06.24.074.351v.027c.039.158.053.326.066.496a5.3 5.3 0 0 1-.094 1.641c-.05.234-.112.454-.191.688-.08.223-.16.455-.262.675-.197.457-.43.913-.707 1.34a8 8 0 0 1-.297.485c-.115.167-.234.326-.34.48a10 10 0 0 1-.457.59 6 6 0 0 1-.445.559c-.22.26-.428.505-.648.742a7 7 0 0 1-.418.453c-.142.158-.287.298-.418.43-.22.22-.404.393-.559.535l-.363.332a.3.3 0 0 1-.196.07h-2.8v3.594h3.527c.789 0 1.536-.28 2.14-.793.208-.181 1.112-.96 2.18-2.14a.3.3 0 0 1 .137-.083l9.734-2.816a.287.287 0 0 1 .364.277v2.059c0 .118-.07.223-.176.27-.644.275-2.852 1.29-3.77 2.566-2.34 3.258-4.127 7.918-8.125 7.918H24.14c-5.91 0-10.699-4.808-10.699-10.739v-.191c0-.158.128-.285.286-.285h9.296c.184 0 .318.17.301.351a3.17 3.17 0 0 0 .332 1.785 3.27 3.27 0 0 0 2.934 1.82h4.605v-3.593h-4.55a.294.294 0 0 1-.239-.46c.05-.077.105-.154.164-.243a33 33 0 0 0 1.657-2.645c.417-.73.822-1.506 1.148-2.289a5 5 0 0 0 .172-.43c.089-.25.18-.48.246-.714.066-.198.12-.404.172-.598a9.3 9.3 0 0 0 .219-2.098 10 10 0 0 0-.04-.87c-.013-.313-.05-.626-.09-.938a10 10 0 0 0-.128-.836 14 14 0 0 0-.266-1.25l-.035-.156c-.079-.286-.146-.562-.238-.848a32 32 0 0 0-.871-2.59c-.115-.325-.248-.637-.38-.949-.193-.47-.393-.896-.574-1.3a18 18 0 0 1-.25-.524 17 17 0 0 0-.269-.574c-.066-.142-.143-.271-.195-.403l-.563-1.039a.183.183 0 0 1 .207-.265l3.52.953h.008l.011.004.465.128.512.145.187.05v-2.09c0-1.008.805-1.827 1.805-1.827m-8.488 6.903a.28.28 0 0 1 .238.168c1.39 3.117 2.59 6.993 2.027 9.406-.24.993-.897 2.34-1.636 3.582q-.145.272-.313.528a.28.28 0 0 1-.234.125H16.03a.284.284 0 0 1-.242-.438l.137-.215 8.324-13.023a.28.28 0 0 1 .262-.133"});_e("patreon",{color:"#000000",path:"M0 0h64v64H0Zm52.853 23.459c-.008-5.72-4.462-10.41-9.69-12.1-6.492-2.1-15.053-1.796-21.252 1.127-7.511 3.546-9.871 11.312-9.959 19.055-.07 6.369.564 23.139 10.022 23.259 7.03.088 8.077-8.969 11.328-13.33 2.314-3.104 5.294-3.979 8.96-4.886 6.303-1.562 10.6-6.536 10.591-13.125m0 0"});_e("pinterest",{color:"#cb2128",path:"M0 0v64h64V0zm32 48c-1.6 0-3.1-.2-4.5-.7.6-1 1.3-2.2 1.6-3.4.2-.7 1.1-4.4 1.1-4.4.6 1.1 2.2 2 3.9 2 5.1 0 8.6-4.7 8.6-11 0-4.7-4-9.2-10.1-9.2-7.6 0-11.4 5.5-11.4 10 0 2.8 1 5.2 3.3 6.1.4.1.7 0 .8-.4.1-.3.2-1 .3-1.3.1-.4.1-.5-.2-.9-.6-.8-1.1-1.7-1.1-3.1 0-4 3-7.7 7.9-7.7 4.3 0 6.7 2.6 6.7 6.1 0 4.6-2 8.5-5.1 8.5-1.7 0-2.9-1.4-2.5-3.1.5-2 1.4-4.2 1.4-5.7 0-1.3-.7-2.4-2.2-2.4-1.7 0-3.1 1.8-3.1 4.1 0 1.5.5 2.5.5 2.5s-1.8 7.4-2.1 8.7c-.3 1.2-.3 2.6-.3 3.7C19.9 44.2 16 38.6 16 32c0-8.8 7.2-16 16-16s16 7.2 16 16-7.2 16-16 16"});_e("pixiv",{color:"#0097fa",path:"M0 0v64h64V0zm33.553 16.469c-11.844 0-19.903 9.146-19.903 9.146l2.27 3.606s1.26.106.592-2.018c.573-1.086 1.698-2.545 3.892-4.232v24.008c-.946.268-2.194.768-1.34 1.623h6.518c.86-.861-.493-1.38-1.32-1.623v-5.663s4.469 1.756 9.29 1.756c4.234 0 8.088-1.26 10.954-3.537 2.869-2.264 4.712-5.642 4.703-9.506a12.75 12.75 0 0 0-4.41-9.709c-2.793-2.438-6.705-3.847-11.246-3.847zm-.397 2.027c3.601.003 6.425 1.36 8.338 3.43 1.907 2.075 2.948 4.83 2.957 8.04-.012 3.126-1.124 5.698-3.107 7.673-1.98 1.959-4.864 3.195-8.188 3.195h-.021c-3.699 0-6.816-.72-8.873-1.732V21.088c2.261-1.605 5.928-2.598 8.894-2.592"});_e("ravelry",{color:"#EE6E62",path:"M0 0h64v64H0Zm42.692 28.943s-2.184-.397-3.752-.397c-3.584 0-4.424 1.987-4.424 4.939v12.488H24.83V20.542h9.687v4.257c1.176-3.576 3.528-4.825 8.176-4.825z"});_e("rdio",{color:"#0475C5",path:"M0 0v64h64V0zm43.9 30.5c.1.5.1 1 .1 1.5 0 6.4-5.1 11.6-12 11.6s-12-5.1-12-11.5V32c0-6.4 5.1-11.6 12-11.6 1.2 0 2.3.2 3.4.5v6.8l-.6-.3c-3-1-6.2.4-7.7 2.9v.1c-1.5 2.5-.8 5.3 2.1 6.3 3 1 6.2-.4 7.7-2.9v-.1c.5-.8.8-1.7.8-2.6v-9.3c.2.1.3.2.5.3.1.1.3.2.4.2 1.5 1 5.4 3.5 8.7 3.4 1.7.1.2 3.8-3.4 4.8"});_e("reddit",{color:"#FF4500",path:"M0 0v64h64V0zm53.344 32a4.67 4.67 0 0 0-7.903-3.2 22.77 22.77 0 0 0-12.32-3.937L35.2 14.88l6.848 1.441a3.2 3.2 0 0 0 3.02 2.852 3.2 3.2 0 1 0-2.602-4.805l-7.84-1.566a1 1 0 0 0-.754.136.98.98 0 0 0-.43.63l-2.37 11.105a22.8 22.8 0 0 0-12.477 3.937 4.672 4.672 0 1 0-5.152 7.648q-.06.704 0 1.407c0 7.168 8.351 12.992 18.656 12.992 10.3 0 18.656-5.824 18.656-12.992a9.4 9.4 0 0 0 0-1.406A4.68 4.68 0 0 0 53.344 32m-32 3.2a3.198 3.198 0 1 1 6.398 0 3.195 3.195 0 0 1-3.199 3.198c-1.766 0-3.2-1.43-3.2-3.199M39.938 44a12.3 12.3 0 0 1-7.907 2.465A12.3 12.3 0 0 1 24.13 44a.87.87 0 0 1 .055-1.16.87.87 0 0 1 1.16-.055A10.48 10.48 0 0 0 32 44.801a10.5 10.5 0 0 0 6.688-1.953.9.9 0 0 1 1.265.015.9.9 0 0 1-.016 1.266Zm-.579-5.473a3.2 3.2 0 0 1-3.199-3.199 3.198 3.198 0 1 1 6.398 0 3.2 3.2 0 0 1-3.23 3.328Zm0 0"});_e("rss",{color:"#EF8733",path:"M0 0v64h64V0zm24 44c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4m11-1c-1.1 0-2-.9-2-2 0-5.5-4.5-10-10-10-1.1 0-2-.9-2-2s.9-2 2-2c7.7 0 14 6.3 14 14 0 1.1-.9 2-2 2m9 0c-1.1 0-2-.9-2-2 0-10.5-8.5-19-19-19-1.1 0-2-.9-2-2s.9-2 2-2c12.7 0 23 10.3 23 23 0 1.1-.9 2-2 2"});_e("sharethis",{color:"#00BF00",path:"M0 0h64v64H0zm28.388 32c0 .084-.02.163-.025.247l8.802 4.4a4.3 4.3 0 0 1 2.782-1.037 4.335 4.335 0 0 1 4.335 4.335 4.335 4.335 0 1 1-8.67 0c0-.086.02-.163.025-.247l-8.802-4.4a4.3 4.3 0 0 1-2.782 1.034 4.335 4.335 0 0 1 0-8.67c1.065 0 2.027.402 2.782 1.037l8.802-4.4c-.005-.083-.024-.162-.024-.249a4.333 4.333 0 0 1 4.334-4.332 4.335 4.335 0 0 1 0 8.67 4.28 4.28 0 0 1-2.782-1.04l-8.802 4.403c.005.084.024.163.024.25"});_e("slack",{color:"#4A164A",path:"M0 0v64h64V0Zm12.636 37.56c0 5.066 8 5.066 8 0v-3.8h-4c-2.209 0-4 1.7-4 3.8m25.28-6.346c2.21 0 4-1.702 4-3.8V17.287c0-5.066-8-5.066-8 0v10.127c0 2.113 1.815 3.82 4.04 3.8zm14.64-3.8c0-5.067-8-5.067-8 0v3.8h4c2.24.042 4.08-1.672 4.08-3.8zm-25.24 6.345c-2.209 0-4 1.702-4 3.8v10.127c0 5.067 8 5.067 8 0V37.559c0-2.098-1.79-3.8-4-3.8m10.64 10.127h-4v3.8c0 3.386 4.309 5.08 6.829 2.687s.735-6.487-2.829-6.487m10.68-10.127h-10.68c-5.324.009-5.324 7.592 0 7.6h10.68c5.325-.008 5.325-7.591 0-7.6m-21.32-10.145h-10.68c-5.342-.008-5.342 7.608 0 7.6h10.68c5.325-.009 5.325-7.592 0-7.6m0-10.127c-5.324.008-5.324 7.592 0 7.6h4v-3.8c0-2.126-1.804-3.8-4-3.8"});_e("smugmug",{color:"#8cca1e",path:"M0 0v64h64V0zm36.1 19.8c.2-1.3 1.3-2.6 3.2-2.8 2.4-.2 3.8 1.3 3.8 2.8 0 1.3-1.2 2.6-3.8 2.8-2.4.1-3.4-1.3-3.2-2.8m-13.6.4c.2-1.4 1.4-2.8 3.3-2.8 2.3 0 3.5 1.1 3.6 2.4.2 1.5-1.1 3.1-3.9 3.1-2.4.1-3.2-1.3-3-2.7M28.8 47c-10.9 0-12-17.5-6.9-17.5 12.1-.3 12.5-.3 19-1C51.7 27.4 39.2 47 28.8 47m11.5-15.4c-3.9 0-6.8.5-17.8.9-1.6.1-2.9 11.4 6.6 11.4 7.5 0 15.2-12.3 11.2-12.3"});_e("snapchat",{color:"#FFC91B",path:"M0 0v64h64V0zm47.927 39.545c-.326.76-1.702 1.318-4.21 1.707-.083.113-.17.511-.223.754a11 11 0 0 1-.183.743c-.104.357-.367.554-.74.554h-.037a4 4 0 0 1-.723-.089 8.5 8.5 0 0 0-1.706-.181c-.397 0-.809.034-1.222.103-.809.135-1.496.62-2.293 1.184-1.139.805-2.43 1.718-4.392 1.718-.088 0-.171-.003-.234-.006a2 2 0 0 1-.162.006c-1.962 0-3.253-.912-4.393-1.718-.796-.562-1.483-1.048-2.292-1.183a7.5 7.5 0 0 0-1.223-.103c-.716 0-1.288.112-1.706.193-.278.055-.519.102-.723.102-.505 0-.701-.308-.776-.565-.077-.262-.131-.51-.183-.751-.053-.244-.14-.644-.224-.758-2.507-.389-3.884-.948-4.21-1.711a.9.9 0 0 1-.071-.298.664.664 0 0 1 .555-.692c4.349-.716 6.308-5.181 6.389-5.371l.015-.032c.232-.471.284-.866.154-1.172-.251-.592-1.177-.885-1.789-1.08-.17-.054-.331-.105-.464-.157-1.482-.585-1.688-1.258-1.601-1.719.122-.64.903-1.07 1.555-1.07q.284 0 .507.104c.557.261 1.053.394 1.472.394.314 0 .513-.075.622-.136l-.048-.779c-.136-2.173-.307-4.877.403-6.469 2.111-4.732 6.585-5.1 7.905-5.1l.554-.005.078-.001h.001c1.324 0 5.807.368 7.919 5.103.711 1.593.54 4.299.403 6.474l-.006.092-.042.685c.099.055.272.121.537.134.4-.018.863-.149 1.379-.391.219-.103.454-.124.613-.124.232 0 .468.045.667.128l.002.001c.592.212.965.638.974 1.117.011.609-.533 1.135-1.617 1.564-.132.052-.293.103-.465.158-.612.194-1.538.488-1.788 1.079-.13.306-.079.701.154 1.172l.015.032c.081.189 2.038 4.654 6.389 5.371a.664.664 0 0 1 .555.691.9.9 0 0 1-.071.298"});_e("soundcloud",{color:"#FF5700",path:"M0 0v64h64V0zm18.5 36.3c0 .7-.6 1.2-1.2 1.2-.7 0-1.2-.6-1.2-1.2v-4.9c0-.6.6-1.1 1.2-1.1.7 0 1.2.5 1.2 1.1zm4.9 1.2c0 .7-.6 1.2-1.2 1.2s-1.2-.5-1.2-1.2V29c0-.6.6-1.1 1.2-1.1s1.2.5 1.2 1.1zm5 0c0 .7-.6 1.2-1.2 1.2-.7 0-1.2-.6-1.2-1.2V26.2c0-.6.6-1.1 1.2-1.1.7 0 1.2.5 1.2 1.1zm15.2 1.2H31.4c-.3 0-.5-.2-.5-.5V24.3c0-.3.1-.4.4-.5.9-.3 1.8-.5 2.8-.5 4 0 7.4 3.1 7.7 7.1.5-.2 1.1-.3 1.7-.3 2.4 0 4.4 2 4.4 4.4.1 2.3-1.9 4.2-4.3 4.2"});_e("spotify",{color:"#2EBD59",path:"M39 37.7c-4.2-2.6-9.4-3.2-15.5-1.8-.5.1-.9.7-.8 1.2s.7.9 1.2.7q8.4-1.95 14.1 1.5c.5.3 1.1.1 1.4-.3.2-.4.1-1-.4-1.3m1.9-4.7c-4.9-3-12.2-3.9-18-2.1-.7.2-1 .9-.8 1.6s.9 1 1.6.8c5.1-1.5 11.6-.8 15.9 1.9.6.4 1.4.2 1.7-.4.4-.7.2-1.4-.4-1.8M0 0v64h64V0zm32 48c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16m11-20.4c-5.9-3.5-15.3-3.9-21-2.1-.8.2-1.2 1.1-1 1.9s1.1 1.2 1.9 1c4.9-1.5 13.4-1.2 18.6 1.9.7.4 1.6.2 2.1-.5.3-.8.1-1.8-.6-2.2"});_e("squarespace",{color:"#1C1C1C",path:"M0 0v64h64V0zm39.6 21.1c.6.6.6 1.6 0 2.2s-1.6.6-2.2 0c-1.2-1.2-3.2-1.2-4.4 0l-9.8 9.8c-.6.6-1.6.6-2.2 0s-.6-1.6 0-2.2l9.8-9.8c2.5-2.4 6.4-2.4 8.8 0M17.8 36.4c-2.4-2.4-2.4-6.3 0-8.7l7.5-7.5c1.2-1.2 3.2-1.2 4.4 0L20 29.8c-1.2 1.2-1.2 3.2 0 4.4s3.2 1.2 4.4 0l9.8-9.8c.6-.6 1.6-.6 2.2 0s.6 1.6 0 2.2l-9.8 9.8c-2.5 2.4-6.4 2.4-8.8 0m6.6 6.5c-.6-.6-.6-1.6 0-2.2s1.6-.6 2.2 0c1.2 1.2 3.2 1.2 4.4 0l9.8-9.8c.6-.6 1.6-.6 2.2 0s.6 1.6 0 2.2l-9.8 9.8c-2.5 2.4-6.4 2.4-8.8 0m21.8-6.5-7.5 7.5c-1.2 1.2-3.2 1.2-4.4 0l9.6-9.6c1.2-1.2 1.2-3.2 0-4.4s-3.2-1.2-4.4 0l-9.8 9.8c-.6.6-1.6.6-2.2 0s-.6-1.6 0-2.2l9.8-9.8c2.4-2.4 6.3-2.4 8.7 0 2.6 2.3 2.6 6.3.2 8.7"});_e("stackoverflow",{color:"#ed803d",path:"M64 0v64H0V0zM46.145 37.265H42.8v10.038H19.376V37.265H16.03V50.65h30.115zm-6.688 2.46L23.023 36.27l.69-3.287 16.435 3.456zm.964-4.234-15.224-7.09 1.418-3.045 15.224 7.09zm1.895-3.811L29.41 20.932l2.15-2.58 12.906 10.747zm-7.27-16.688 2.695-2.004 10.022 13.476-2.695 2.004zm4.407 28.965H22.722v-3.346h16.73z"});_e("t.me",{color:"#49a9e9",path:"M0 0v64h64V0zm11.887 33.477c3.73-2.055 7.894-3.77 11.785-5.497 6.695-2.824 13.414-5.597 20.203-8.18 1.324-.44 3.695-.87 3.93 1.087-.13 2.773-.653 5.527-1.012 8.281-.914 6.055-1.969 12.094-2.996 18.133-.356 2.008-2.875 3.05-4.488 1.761-3.871-2.613-7.778-5.207-11.598-7.882-1.254-1.274-.094-3.102 1.027-4.012 3.188-3.145 6.575-5.816 9.598-9.121.816-1.973-1.594-.313-2.39.2-4.368 3.007-8.63 6.202-13.235 8.847-2.352 1.297-5.094.187-7.445-.535-2.11-.871-5.2-1.75-3.38-3.082m0 0"});_e("telegram",{color:"#49a9e9",path:"M0 0v64h64V0zm11.887 33.477c3.73-2.055 7.894-3.77 11.785-5.497 6.695-2.824 13.414-5.597 20.203-8.18 1.324-.44 3.695-.87 3.93 1.087-.13 2.773-.653 5.527-1.012 8.281-.914 6.055-1.969 12.094-2.996 18.133-.356 2.008-2.875 3.05-4.488 1.761-3.871-2.613-7.778-5.207-11.598-7.882-1.254-1.274-.094-3.102 1.027-4.012 3.188-3.145 6.575-5.816 9.598-9.121.816-1.973-1.594-.313-2.39.2-4.368 3.007-8.63 6.202-13.235 8.847-2.352 1.297-5.094.187-7.445-.535-2.11-.871-5.2-1.75-3.38-3.082m0 0"});_e("threads",{color:"#000000",path:"M0 0v64h64V0zm32.28 15.75h.02c3.718.026 6.827.982 9.241 2.84 2.272 1.75 3.872 4.238 4.753 7.404l-2.763.771c-1.495-5.362-5.278-8.102-11.245-8.145-3.94.03-6.918 1.267-8.855 3.678-1.81 2.259-2.747 5.523-2.783 9.702.036 4.18.971 7.443 2.785 9.702 1.937 2.415 4.918 3.652 8.857 3.678 3.552-.026 5.902-.855 7.855-2.77 2.23-2.184 2.19-4.864 1.476-6.496-.42-.962-1.184-1.76-2.214-2.368-.26 1.83-.843 3.311-1.74 4.43-1.199 1.49-2.898 2.306-5.05 2.423-1.628.088-3.198-.295-4.414-1.085-1.44-.933-2.28-2.355-2.372-4.013-.088-1.612.553-3.094 1.801-4.173 1.193-1.03 2.87-1.636 4.852-1.75 1.46-.081 2.827-.016 4.088.192-.169-1.004-.506-1.803-1.013-2.378-.696-.793-1.77-1.196-3.194-1.206h-.04c-1.144 0-2.697.315-3.685 1.787l-2.379-1.595c1.326-1.97 3.477-3.056 6.064-3.056h.058c4.326.026 6.904 2.676 7.16 7.297q.22.093.435.19c2.018.95 3.494 2.387 4.271 4.159 1.079 2.466 1.18 6.486-2.097 9.694-2.505 2.45-5.543 3.559-9.852 3.588h-.02c-4.85-.033-8.577-1.63-11.083-4.75-2.226-2.78-3.377-6.644-3.416-11.486v-.024c.04-4.846 1.19-8.706 3.42-11.485 2.502-3.123 6.233-4.722 11.079-4.755m1.368 16.669q-.49 0-1.001.03c-2.487.14-4.038 1.28-3.95 2.901.091 1.7 1.967 2.49 3.771 2.393 1.658-.088 3.816-.735 4.18-5.025-.917-.198-1.92-.3-3-.3"});_e("tiktok",{color:"#000000",path:"M0 0v64h64V0zm32.781 16h5.494c-.008 0-.064.526.075 1.34h-.008c.166.98.617 2.381 1.824 3.762a8.857 8.858 0 0 0 1.617 1.375 7 7 0 0 0 .631.367c1.405.7 2.777.913 3.453.84v5.457s-1.93-.081-3.361-.461c-1.996-.534-3.276-1.354-3.276-1.354s-.888-.587-.955-.627v11.274c0 .626-.164 2.194-.662 3.502a10.6 10.6 0 0 1-1.843 3.062s-1.227 1.52-3.381 2.541c-1.943.92-3.652.9-4.162.92 0 0-2.951.119-5.612-1.69l-.013-.013v.014a11.2 11.2 0 0 1-2.381-2.246c-.842-1.074-1.36-2.348-1.492-2.721v-.014c-.212-.634-.657-2.168-.59-3.648.106-2.609.983-4.216 1.215-4.616a10.8 10.8 0 0 1 2.351-2.902 10.2 10.2 0 0 1 7.867-2.3l-.006 5.595a4.6 4.6 0 0 0-1.427-.227c-2.56 0-4.637 2.09-4.637 4.668s2.076 4.666 4.637 4.666a4.6 4.6 0 0 0 2.273-.6 4.67 4.67 0 0 0 2.348-3.704v-.012a.2.2 0 0 0 .004-.047q.005-.054.006-.103c.012-.279.011-.563.011-.848z"});_e("tumblr",{color:"#2c4762",path:"M0 0v64h64V0zm35.4 47c-6.5.1-9-4.7-9-8v-9.8h-3v-3.9c4.6-1.6 5.6-5.7 5.9-8.1 0-.2.1-.2.2-.2h4.4v7.6h6v4.5h-6v9.3c0 1.3.5 3 2.9 3 .8 0 1.9-.3 2.4-.5l1.4 4.3c-.5.8-3 1.8-5.2 1.8"});_e("twitch",{color:"#6441A5",path:"M0 0v64h64V0zm47 35.8-7.6 7.6h-5.7l-3.8 3.8H26v-3.8h-7V23.1l1.9-5.1H47zm-17.8 7L33 39h7l4.5-4.5v-14h-21V39h5.7zm8.3-17.2H40v7.6h-2.5zm-7 0H33v7.6h-2.5z"});_e("twitter",{color:"#00aced",path:"M0 0v64h64V0zm44.7 25.5v.8C44.7 35 38.1 45 26.1 45c-3.7 0-7.2-1.1-10.1-2.9.5.1 1 .1 1.6.1 3.1 0 5.9-1 8.2-2.8-2.9-.1-5.3-2-6.1-4.6.4.1.8.1 1.2.1.6 0 1.2-.1 1.7-.2-3-.6-5.3-3.3-5.3-6.4v-.1c.9.5 1.9.8 3 .8-1.8-1.2-2.9-3.2-2.9-5.5q0-1.8.9-3.3c3.2 4 8.1 6.6 13.5 6.9-.1-.5-.2-1-.2-1.5 0-3.6 2.9-6.6 6.6-6.6 1.9 0 3.6.8 4.8 2.1 1.5-.3 2.9-.8 4.2-1.6-.5 1.5-1.5 2.8-2.9 3.6 1.3-.2 2.6-.5 3.8-1-1 1.3-2.1 2.4-3.4 3.4"});_e("upwork",{color:"#3da800",path:"M0 0h64v64H0Zm24.938 17.111h5.6c1.1 3.8 3.099 8.2 5.599 12.1 1.6-5.5 5.6-9 10.9-9 6.1 0 11.1 5.002 11.1 11.102 0 6.4-5 11.398-11.1 11.398-3 0-5.5-.8-7.7-2.2l-2.4 11.901h-5.7l3.5-16.3c-1.5-2.1-2.9-4.5-4-6.7v2.5c0 6.1-4.9 11-10.9 11s-10.9-4.9-10.9-11V17.211h5.4v14.602c0 2.9 2.4 5.298 5.3 5.298s5.3-2.398 5.3-5.298zm22.199 8.801c-4.1 0-5.4 4-5.8 6.4v.1l-.6 2.2c1.8 1.5 4.1 2.5 6.3 2.5 2.9 0 5.6-2.5 5.7-5.6 0-3.1-2.5-5.6-5.6-5.6"});_e("vevo",{color:"#ED1A3B",path:"M0 0v64h64V0zm34.2 41.9c-1.4 2.1-2.9 3.1-5 3.1 0 0-3 .2-4.1-3.4L20 21h8.1l3 12.3c1.4-2.1 5.1-7.7 5.1-7.7 1.4-1.9 2.2-4.6 6.8-4.6h5z"});_e("vimeo",{color:"#1ab7ea",path:"M0 0v64h64V0zm40.9 37c-4.1 5.3-7.5 8-10.4 8-1.7 0-3.2-1.6-4.4-4.8-.8-3-1.6-5.9-2.4-8.9-.9-3.2-1.9-4.8-2.9-4.8-.2 0-1 .5-2.4 1.4L17 26c1.5-1.3 2.9-2.6 4.4-3.9 2-1.7 3.5-2.6 4.4-2.7 2.3-.2 3.8 1.4 4.3 4.8q.9 5.55 1.2 6.9c.7 3.1 1.4 4.6 2.2 4.6.6 0 1.6-1 2.8-3 1.3-2 1.9-3.5 2-4.5.2-1.7-.5-2.6-2-2.6-.7 0-1.5.2-2.2.5 1.5-4.8 4.3-7.2 8.4-7 3.1.1 4.5 2.1 4.4 6 0 2.8-2.1 6.8-6 11.9"});_e("vine",{color:"#00BF8F",path:"M0 0v64h64V0zm38.4 21.5c-1.2 0-2.1 1.2-2.1 3.4 0 4.6 2.9 7.2 6.7 7.2.7 0 1.4-.1 2.2-.3v3.6c-1.3.3-2.5.4-3.6.4-2.5 5.3-7 9.8-8.6 10.7-1 .5-1.9.6-2.9-.1-1.9-1.1-8.9-6.9-11.2-25H24c1.3 10.9 4.4 16.5 7.9 20.7 1.9-1.9 3.7-4.4 5.2-7.3-3.4-1.7-5.5-5.5-5.5-10s2.6-7.9 7-7.9c4.3 0 6.6 2.7 6.6 7.3 0 1.7-.4 3.7-1 5.2-3.2.6-4.4-1.4-4.4-1.4.2-.8.6-2.1.6-3.3-.1-2.1-.9-3.2-2-3.2"});_e("vk",{color:"#45668e",path:"M0 0v64h64V0zm44.94 44.84h-.2c-2.17-.36-3.66-1.92-4.92-3.37-.72-.81-1.82-2.66-3.12-2.47-1.85.3-.93 3.52-1.71 4.9-.62 1.11-3.29.91-5.12.71-5.79-.62-8.75-3.77-11.35-7.14A64 64 0 0 1 11.6 26a10.6 10.6 0 0 1-1.51-4.49c.91-.81 2.47-.51 4.02-.51 1.31 0 3.36-.29 4.32.2.57.26 1.14 1.8 1.57 2.8a37 37 0 0 0 3.31 5.82c.56.81 1.41 2.35 2.41 2.14s1.06-2.63 1.1-4.18c0-1.77 0-4-.5-4.9S25 22 24.15 21.47c.73-1.49 2.72-1.63 5.12-1.63 2 0 4.84-.23 5.62 1.12s.25 3.85.2 5.71c-.06 2.09-.41 4.25 1 5.21 1.09-.12 1.68-1.2 2.31-2A28 28 0 0 0 41.72 24c.44-1 .91-2.65 1.71-3 1.21-.47 3.15-.1 4.92-.1 1.46 0 4.05-.41 4.52.61.39.85-.75 3-1.1 3.57a62 62 0 0 1-4.12 5.61c-.58.78-1.78 2-1.71 3.27.05.94 1 1.67 1.71 2.35a33 33 0 0 1 3.92 4.18c.47.62 1.5 2 1.4 2.76-.31 2.56-6.09.99-8.03 1.59"});_e("vsco",{color:"#83878A",path:"M0 0v64h64V0zm18.5 34.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5S21 30.6 21 32c-.1 1.4-1.2 2.5-2.5 2.5m6.6 6.6c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5m.1-13.4c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5M32 48c-1.4 0-2.5-1.1-2.5-2.5S30.6 43 32 43s2.5 1.1 2.5 2.5S33.4 48 32 48m-2.5-16.1c0-1.4 1.1-2.5 2.5-2.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5-2.5-1.1-2.5-2.5m2.5-11c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5m6.7 1.8c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5-2.5-1.1-2.5-2.5 1.1-2.5 2.5-2.5m.1 18.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5c-.1 1.4-1.2 2.5-2.5 2.5m6.7-6.7c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5S48 30.6 48 32s-1.1 2.5-2.5 2.5"});_e("wechat",{color:"#00c80f",path:"M65.6 65.6H-1.6V-1.6h67.2zM49.738 46.043c2.846-2.061 4.662-5.107 4.662-8.498 0-6.207-6.043-11.244-13.492-11.244-7.453 0-13.494 5.037-13.494 11.244 0 6.213 6.041 11.246 13.494 11.246 1.537 0 3.025-.221 4.402-.615l.395-.059c.262 0 .498.078.717.207l2.955 1.707.26.082a.45.45 0 0 0 .451-.449l-.074-.328-.605-2.271-.047-.287a.9.9 0 0 1 .376-.735M25.793 13.887C16.85 13.887 9.6 19.93 9.6 27.383c0 4.066 2.182 7.723 5.596 10.197.275.195.453.518.453.879l-.055.344-.732 2.725-.086.393c0 .301.24.541.539.541l.311-.1 3.545-2.049c.27-.152.551-.248.861-.248l.475.068a19 19 0 0 0 5.287.742l.891-.021a10.3 10.3 0 0 1-.543-3.309c0-6.793 6.611-12.305 14.768-12.305l.879.021c-1.225-6.443-7.918-11.374-15.996-11.374m10.615 21.859a1.798 1.798 0 1 1-.001-3.6 1.798 1.798 0 0 1 .001 3.6m8.996 0a1.798 1.798 0 1 1-.001-3.6 1.798 1.798 0 0 1 .001 3.6M20.395 25.221a2.16 2.16 0 1 1 .002-4.318 2.16 2.16 0 0 1-.002 4.318m10.796 0c-1.193 0-2.158-.965-2.158-2.158s.965-2.158 2.158-2.158 2.158.965 2.158 2.158-.964 2.158-2.158 2.158"});_e("whatsapp",{color:"#25D366",path:"M0 0v64h64V0zm48 31.59c0 8.605-7.031 15.586-15.71 15.586-2.755 0-5.34-.703-7.595-1.942L16 48l2.836-8.363a15.43 15.43 0 0 1-2.254-8.047c0-8.61 7.031-15.59 15.707-15.59C40.97 16 48 22.98 48 31.59M32.29 18.484c-7.282 0-13.208 5.88-13.208 13.106 0 2.867.938 5.52 2.516 7.68l-1.649 4.867 5.074-1.61a13.2 13.2 0 0 0 7.27 2.164c7.281 0 13.207-5.875 13.207-13.101s-5.926-13.106-13.21-13.106m7.933 16.696c-.098-.16-.352-.258-.739-.45-.382-.187-2.277-1.113-2.629-1.242-.355-.125-.613-.191-.867.192-.258.383-.996 1.242-1.218 1.5-.227.254-.45.285-.836.093-.387-.191-1.625-.593-3.098-1.894-1.145-1.012-1.918-2.262-2.14-2.645-.223-.382-.024-.59.167-.78.176-.173.387-.446.578-.669.196-.223.258-.383.387-.637.129-.257.063-.48-.035-.671-.094-.192-.867-2.07-1.188-2.836s-.64-.637-.863-.637c-.226 0-.484-.031-.738-.031a1.4 1.4 0 0 0-1.027.476c-.356.383-1.348 1.309-1.348 3.188s1.379 3.695 1.57 3.949c.196.258 2.664 4.238 6.578 5.77 3.914 1.53 3.914 1.019 4.621.956.707-.066 2.278-.925 2.602-1.816.32-.894.32-1.66.223-1.816m0 0"});_e("x",{color:"#000000",path:"M0 0v64h64V0zm16 17.537h10.125l6.992 9.242 8.084-9.242h4.908L35.39 29.79 48 46.463h-9.875l-7.734-10.111-8.85 10.11h-4.908l11.465-13.105zm5.73 2.783 17.75 23.205h2.72L24.647 20.32z"});_e("xiaohongshu",{color:"#ff2741",path:"M8.494-.006h47.784c4.552 0 8.596 3.953 8.715 8.5V56.28a8.91 8.91 90 0 1-8.717 8.702H8.509A8.92 8.92 90 0 1 .004 56.26V8.514C.114 4.038 4.018.12 8.494-.006m4.247 23.213c-.033 5.045-.016 10.092-.041 15.138a.533.533 90 0 1-.54.66c-.607.036-1.217.015-1.826.02a61 61 0 0 0 1.307 2.978c1.148-.038 2.458.201 3.438-.55.88-.656 1.162-1.82 1.145-2.87 0-5.125 0-10.253-.023-15.378a263 263 0 0 0-3.46.002m14.236-.228q-1.29 2.963-2.63 5.9c-.254.586-.56 1.363-.028 1.893.683.62 1.686.381 2.524.437-.581 1.467-1.346 2.861-1.836 4.364-.271.741.407 1.495 1.148 1.503 1.343.091 2.69 0 4.036.035.44-.982.881-1.962 1.313-2.95-.785 0-1.577.056-2.348-.099.835-2.096 1.825-4.125 2.71-6.196-1.083-.127-2.31.226-3.3-.196.483-1.625 1.361-3.115 1.98-4.696-1.192-.005-2.38-.013-3.568.005zm18.469.013v1.322h-2.33v3.536c.779 0 1.556 0 2.332.016q.03 1.523 0 3.066c-1.167.023-2.338 0-3.506.018a149 149 0 0 0 0 3.529c1.17.013 2.344 0 3.514 0v7.512h3.516v-7.507c1.711 0 3.42-.025 5.13 0 .602-.05 1.29.37 1.27 1.033a28 28 90 0 1 0 2.813.574.574 90 0 1-.538.607c-.978.07-1.958 0-2.938.033.432 1.015.85 2.03 1.34 3.033 1.613-.083 3.583.323 4.812-1.015 1.167-1.082.817-2.793.865-4.204-.073-1.485.29-3.163-.632-4.463-.784-1.102-2.198-1.401-3.473-1.424-.076-1.777.348-3.856-.96-5.3-1.218-1.367-3.18-1.372-4.866-1.306v-1.32c-1.193.013-2.366.015-3.536.02zM32.9 24.317v3.534h2.206v10.596c-1.053.018-2.11 0-3.163.013a315 315 0 0 0-1.61 3.528c3.93.016 7.87 0 11.79 0V38.46c-1.13 0-2.262 0-3.392-.013V27.843h2.214v-3.536c-2.676.005-5.36 0-8.045.01m23.19.325c-.985.746-.662 2.112-.705 3.175.657 0 1.317.036 1.975-.022 1.056-.097 1.85-1.328 1.426-2.323-.332-1.092-1.807-1.567-2.696-.83M6.86 27.848c-.178 2.315-.358 4.628-.526 6.943a5.6 5.6 90 0 1-.335 1.539 156 156 0 0 0 1.823 4.061c1.421-1.901 1.95-4.298 2.097-6.625.124-1.98.345-3.958.416-5.94-1.165.04-2.323.012-3.476.022m11.71 0 .508 6.44c.185 2.153.741 4.347 2.056 6.093a172 172 0 0 0 1.82-4.062 5.5 5.5 90 0 1-.355-1.546c-.167-2.307-.35-4.615-.528-6.923q-1.757-.01-3.508-.002zm4.357 13.884c1.797.53 3.7.167 5.546.266a295 295 0 0 0 1.612-3.536c-1.845-.071-3.724.193-5.534-.272q-.83 1.765-1.632 3.542zM48.94 27.86c.762.109 1.777-.31 2.359.304.096.927.025 1.859.035 2.793h-2.37q-.024-1.549-.024-3.097"});_e("xing",{color:"#0698A0",path:"M1.008 0C.45 0 0 .45 0 1.01v62.11c0 .56.45 1.01 1.008 1.01h62.02c.56 0 1.009-.45 1.009-1.01V1.01c0-.56-.45-1.01-1.009-1.01ZM41.72 16.032h5.482c.327 0 .585.106.723.296.143.197.139.459-.012.714L35.898 35.145a.025.025 0 0 0 0 .032l7.65 11.91c.152.257.156.517.012.715-.138.19-.394.295-.721.295h-5.42c-.83 0-1.247-.47-1.516-.88l-7.71-12.056c.386-.58 12.074-18.248 12.074-18.248.291-.446.642-.88 1.452-.88m-22.794 6.334h5.425c.832 0 1.24.456 1.51.867l3.731 5.544-5.857 8.828c-.277.427-.668.893-1.48.893h-5.426c-.326 0-.571-.125-.71-.315-.142-.198-.15-.453 0-.709l5.766-8.672c.006-.01.006-.015 0-.025l-3.668-5.413c-.152-.258-.175-.513-.032-.71.138-.192.414-.288.74-.288"});_e("yelp",{color:"#B90C04",path:"M0 0v64h64V0zm22.4 37.9q-.6 0-.9-.6c-.1-.3-.2-.7-.3-1.3-.2-1.7 0-4.2.5-5 .2-.4.6-.6 1-.6.3 0 .5.1 5.5 2.1l1.5.6c.5.2.9.7.8 1.4 0 .6-.4 1.1-.9 1.2l-2.1.7c-4.7 1.5-4.8 1.5-5.1 1.5M33 41c0 4.9 0 5-.1 5.3-.1.4-.4.6-.9.7-1.2.2-5.1-1.2-6-2.2q-.3-.3-.3-.6c0-.2 0-.3.1-.4.1-.2.2-.4 3.7-4.5l1-1.2c.3-.4 1-.6 1.5-.4.6.2.9.7.9 1.2.1-.1.1 2.1.1 2.1m-.8-10.2c-.3.1-1 .3-2-1.2 0 0-6.4-10.1-6.5-10.4s0-.7.3-1.1c1-1 6.1-2.4 7.5-2.1.4.1.7.4.9.8.1.4.7 9.8.8 11.9 0 1.8-.8 2-1 2.1m3.2.5 1.3-1.8c2.8-3.9 3-4.1 3.2-4.2.3-.2.7-.2 1.1 0 1.1.5 3.4 3.9 3.5 5.2 0 .4-.1.8-.5 1-.2.1-.4.2-5.7 1.5-.8.2-1.3.3-1.6.4-.5.1-1.1-.1-1.4-.6-.2-.5-.2-1.1.1-1.5m9.3 8.3c-.2 1.3-2.7 4.5-3.9 5-.4.2-.8.1-1.1-.1-.2-.2-.4-.5-3.2-5l-.8-1.3c-.3-.5-.3-1.1.1-1.6s.9-.6 1.4-.5l2.1.7c4.6 1.5 4.8 1.6 5 1.7.4.3.5.7.4 1.1"});_e("youtube",{color:"#ff3333",path:"M0 0v64h64V0zm47 33.1c0 2.4-.3 4.9-.3 4.9s-.3 2.1-1.2 3c-1.1 1.2-2.4 1.2-3 1.3-4.2.2-10.5.3-10.5.3s-7.8-.1-10.2-.3c-.7-.1-2.2-.1-3.3-1.3-.9-.9-1.2-3-1.2-3s-.3-2.4-.3-4.9v-2.3c0-2.4.3-4.9.3-4.9s.3-2.1 1.2-3c1.1-1.2 2.4-1.2 3-1.3 4.2-.3 10.5-.3 10.5-.3s6.3 0 10.5.3c.6.1 1.9.1 3 1.3.9.9 1.2 3 1.2 3s.3 2.4.3 4.9zm-18.1 2.8 8.1-4.2-8.1-4.2z"});const uz=()=>{const e=[{name:"About",link:"about"},{name:"Pricing",link:"projects"},{name:"Login",link:"contact"}],[t,r]=F.useState(!1),n=()=>{r(o=>!o)};return Z.jsx("div",{className:"sticky top-0 left-0 w-full h-16 bg-[#e1f0ff] bg-opacity-85 border-b-2 border-[#101010] z-50 flex justify-center items-center ",children:Z.jsxs("div",{className:"md:flex items-center justify-between py-4 md:px-10 px-2 w-full max-w-7xl",children:[Z.jsx("div",{className:"font-bold text-2xl cursor-pointer flex items-center gap-1",children:Z.jsx("span",{className:"text-primary text-black",children:Z.jsx(sz,{url:"https://www.github.com/preston176/AI-GEN",bgColor:"none",fgColor:"black"})})}),Z.jsx("div",{className:"font-bold text-2xl cursor-pointer flex items-center gap-1",children:Z.jsxs(Em,{to:"/",children:[" ",Z.jsx("span",{className:"text-primary text-black",children:"AI Gen"})]})}),Z.jsx("div",{onClick:n,className:"w-7 h-7 right-8 top-6 cursor-pointer md:hidden text-black absolute",children:t?Z.jsx(oz,{}):Z.jsx(tz,{})}),Z.jsx("ul",{className:`md:flex md:items-center md:pd-0 md:static md:z-auto left-0 w-full md:w-auto mt-4 md:pl-0 pl-9 bg-slate-400 sm:bg-transparent transition-all duration-500 ease-in-out mobile-menu ${t?"open":""}`,children:e.map((o,a)=>Z.jsx("li",{className:"md:ml-8 md:my-0 my:7 font-semibold",children:o.link.startsWith("http")?Z.jsx("a",{href:o.link,className:"text-black transition-all duration-500 hover:text-primary",target:"_blank",rel:"noopener noreferrer",children:o.name}):Z.jsx(Em,{to:o.link,activeClass:"active",smooth:!0,spy:!0,className:"text-black transition-all duration-500 hover:text-primary",children:o.name})},a))})]})})};var Rs={},uP={},cP={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;oe&&(t=0,n=r,r=new Map)}return{get:function(a){var i=r.get(a);return i!==void 0?i:(i=n.get(a))!==void 0?(o(a,i),i):void 0},set:function(a,i){r.has(a)?r.set(a,i):o(a,i)}}}function fz(e){var t=e.separator||":";return function(r){for(var n=0,o=[],a=0,i=0;i1?t-1:0),n=1;nf.length)&&(g=f.length);for(var m=0,w=new Array(g);my.length)&&(c=y.length);for(var s=0,u=new Array(c);su.length)&&(d=u.length);for(var h=0,v=new Array(d);hs.length)&&(u=s.length);for(var d=0,h=new Array(u);d_.length)&&(k=_.length);for(var T=0,E=new Array(k);Td.length)&&(h=d.length);for(var v=0,_=new Array(h);vc.length)&&(s=c.length);for(var u=0,d=new Array(s);uh.length)&&(v=h.length);for(var _=0,k=new Array(v);_u.length)&&(d=u.length);for(var h=0,v=new Array(d);hO.length)&&(C=O.length);for(var b=0,y=new Array(C);bb.length)&&(y=b.length);for(var c=0,s=new Array(y);c"u"?l[g]=i.cloneUnlessOtherwiseSpecified(f,i):i.isMergeableObject(f)?l[g]=(0,t.default)(o[g],f,i):o.indexOf(f)===-1&&l.push(f)}),l}})(MC);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{MaterialTailwindTheme:function(){return m},ThemeProvider:function(){return w},useTheme:function(){return P}});var r=g(F),n=l(Ee),o=l(Yt),a=l(Bb),i=l(MC);function l(O){return O&&O.__esModule?O:{default:O}}function f(O){if(typeof WeakMap!="function")return null;var C=new WeakMap,b=new WeakMap;return(f=function(y){return y?b:C})(O)}function g(O,C){if(!C&&O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var b=f(C);if(b&&b.has(O))return b.get(O);var y={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in O)if(s!=="default"&&Object.prototype.hasOwnProperty.call(O,s)){var u=c?Object.getOwnPropertyDescriptor(O,s):null;u&&(u.get||u.set)?Object.defineProperty(y,s,u):y[s]=O[s]}return y.default=O,b&&b.set(O,y),y}var m=(0,r.createContext)(a.default);m.displayName="MaterialTailwindThemeProvider";function w(O){var C=O.value,b=C===void 0?a.default:C,y=O.children,c=(0,o.default)(a.default,b,{arrayMerge:i.default});return r.default.createElement(m.Provider,{value:c},y)}var P=function(){return(0,r.useContext)(m)};w.propTypes={value:n.default.instanceOf(Object),children:n.default.node.isRequired}})(Ce);var cp={},Ju={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(P,O){for(var C in O)Object.defineProperty(P,C,{enumerable:!0,get:O[C]})}t(e,{propTypesOpen:function(){return a},propTypesIcon:function(){return i},propTypesAnimate:function(){return l},propTypesDisabled:function(){return f},propTypesClassName:function(){return g},propTypesValue:function(){return m},propTypesChildren:function(){return w}});var r=o(Ee),n=st;function o(P){return P&&P.__esModule?P:{default:P}}var a=r.default.bool.isRequired,i=r.default.node,l=n.propTypesAnimation,f=r.default.bool,g=r.default.string,m=r.default.instanceOf(Object).isRequired,w=r.default.node.isRequired})(Ju);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var m in g)Object.defineProperty(f,m,{enumerable:!0,get:g[m]})}t(e,{AccordionContext:function(){return a},useAccordion:function(){return i},AccordionContextProvider:function(){return l}});var r=o(F),n=Ju;function o(f){return f&&f.__esModule?f:{default:f}}var a=r.default.createContext(null);a.displayName="MaterialTailwind.AccordionContext";function i(){var f=r.default.useContext(a);if(!f)throw new Error("useAccordion() must be used within an Accordion. It happens when you use AccordionHeader or AccordionBody components outside the Accordion component.");return f}var l=function(f){var g=f.value,m=f.children;return r.default.createElement(a.Provider,{value:g},m)};l.propTypes={value:n.propTypesValue,children:n.propTypesChildren},l.displayName="MaterialTailwind.AccordionContextProvider"})(cp);var RC={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{AccordionHeader:function(){return C},default:function(){return b}});var r=w(F),n=w(Ae),o=Oe,a=w(Se),i=cp,l=Ce,f=Ju;function g(y,c,s){return c in y?Object.defineProperty(y,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):y[c]=s,y}function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.className,u=y.children,d=P(y,["className","children"]),h=(0,i.useAccordion)(),v=h.open,_=h.icon,k=h.disabled,T=(0,l.useTheme)().accordion,E=T.styles.base;s=s??"";var R=(0,o.twMerge)((0,n.default)((0,a.default)(E.header.initial),g({},(0,a.default)(E.header.active),v)),s),A=(0,n.default)((0,a.default)(E.header.icon));return r.default.createElement("button",m({},d,{ref:c,type:"button",disabled:k,className:R}),u,r.default.createElement("span",{className:A},_??(v?r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},r.default.createElement("path",{fillRule:"evenodd",d:"M5 10a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1z",clipRule:"evenodd"})):r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},r.default.createElement("path",{fillRule:"evenodd",d:"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z",clipRule:"evenodd"})))))});C.propTypes={className:f.propTypesClassName,children:f.propTypesChildren},C.displayName="MaterialTailwind.AccordionHeader";var b=C})(RC);var AC={},Ht={},Wm=function(e,t){return Wm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Wm(e,t)};function IC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Wm(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ff=function(){return Ff=Object.assign||function(t){for(var r,n=1,o=arguments.length;n=0;l--)(i=e[l])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function jC(e,t){return function(r,n){t(r,n,e)}}function zz(e,t,r,n,o,a){function i(c){if(c!==void 0&&typeof c!="function")throw new TypeError("Function expected");return c}for(var l=n.kind,f=l==="getter"?"get":l==="setter"?"set":"value",g=!t&&e?n.static?e:e.prototype:null,m=t||(g?Object.getOwnPropertyDescriptor(g,n.name):{}),w,P=!1,O=r.length-1;O>=0;O--){var C={};for(var b in n)C[b]=b==="access"?{}:n[b];for(var b in n.access)C.access[b]=n.access[b];C.addInitializer=function(c){if(P)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(c||null))};var y=(0,r[O])(l==="accessor"?{get:m.get,set:m.set}:m[f],C);if(l==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(w=i(y.get))&&(m.get=w),(w=i(y.set))&&(m.set=w),(w=i(y.init))&&o.unshift(w)}else(w=i(y))&&(l==="field"?o.unshift(w):m[f]=w)}g&&Object.defineProperty(g,n.name,m),P=!0}function Vz(e,t,r){for(var n=arguments.length>2,o=0;o0&&a[a.length-1])&&(g[0]===6||g[0]===2)){r=0;continue}if(g[0]===3&&(!a||g[1]>a[0]&&g[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function i1(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,a=[],i;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(l){i={error:l}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return a}function VC(){for(var e=[],t=0;t1||l(P,O)})})}function l(P,O){try{f(n[P](O))}catch(C){w(a[0][3],C)}}function f(P){P.value instanceof yl?Promise.resolve(P.value.v).then(g,m):w(a[0][2],P)}function g(P){l("next",P)}function m(P){l("throw",P)}function w(P,O){P(O),a.shift(),a.length&&l(a[0][0],a[0][1])}}function BC(e){var t,r;return t={},n("next"),n("throw",function(o){throw o}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(o,a){t[o]=e[o]?function(i){return(r=!r)?{value:yl(e[o](i)),done:!1}:a?a(i):i}:a}}function HC(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Lf=="function"?Lf(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(i){return new Promise(function(l,f){i=e[a](i),o(l,f,i.done,i.value)})}}function o(a,i,l,f){Promise.resolve(f).then(function(g){a({value:g,done:l})},i)}}function GC(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Wz=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function qC(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&dp(t,e,r);return Wz(t,e),t}function KC(e){return e&&e.__esModule?e:{default:e}}function XC(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function YC(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r}function ZC(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function JC(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if(typeof n!="function")throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var Bz=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function QC(e){function t(n){e.error=e.hasError?new Bz(n,e.error,"An error was suppressed during disposal."):n,e.hasError=!0}function r(){for(;e.stack.length;){var n=e.stack.pop();try{var o=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(o).then(r,function(a){return t(a),r()})}catch(a){t(a)}}if(e.hasError)throw e.error}return r()}const Hz={__extends:IC,__assign:Ff,__rest:zl,__decorate:NC,__param:jC,__metadata:DC,__awaiter:FC,__generator:LC,__createBinding:dp,__exportStar:zC,__values:Lf,__read:i1,__spread:VC,__spreadArrays:$C,__spreadArray:UC,__await:yl,__asyncGenerator:WC,__asyncDelegator:BC,__asyncValues:HC,__makeTemplateObject:GC,__importStar:qC,__importDefault:KC,__classPrivateFieldGet:XC,__classPrivateFieldSet:YC,__classPrivateFieldIn:ZC,__addDisposableResource:JC,__disposeResources:QC},Gz=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:JC,get __assign(){return Ff},__asyncDelegator:BC,__asyncGenerator:WC,__asyncValues:HC,__await:yl,__awaiter:FC,__classPrivateFieldGet:XC,__classPrivateFieldIn:ZC,__classPrivateFieldSet:YC,__createBinding:dp,__decorate:NC,__disposeResources:QC,__esDecorate:zz,__exportStar:zC,__extends:IC,__generator:LC,__importDefault:KC,__importStar:qC,__makeTemplateObject:GC,__metadata:DC,__param:jC,__propKey:$z,__read:i1,__rest:zl,__runInitializers:Vz,__setFunctionName:Uz,__spread:VC,__spreadArray:UC,__spreadArrays:$C,__values:Lf,default:Hz},Symbol.toStringTag,{value:"Module"})),e7=Rl(Gz);var qz=function(){},t7=function(){};const Kz=Object.freeze(Object.defineProperty({__proto__:null,invariant:t7,warning:qz},Symbol.toStringTag,{value:"Module"})),r7=Rl(Kz);var Dt={};Object.defineProperty(Dt,"__esModule",{value:!0});const n7=(e,t)=>r=>Math.max(Math.min(r,t),e),Ks=e=>e%1?Number(e.toFixed(5)):e,Tu=/(-)?([\d]*\.?[\d])+/g,Bm=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Xz=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Qu(e){return typeof e=="string"}const ec={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},l1=Object.assign(Object.assign({},ec),{transform:n7(0,1)}),Yz=Object.assign(Object.assign({},ec),{default:1}),tc=e=>({test:t=>Qu(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Zz=tc("deg"),Ji=tc("%"),Jz=tc("px"),Qz=tc("vh"),eV=tc("vw"),tV=Object.assign(Object.assign({},Ji),{parse:e=>Ji.parse(e)/100,transform:e=>Ji.transform(e*100)}),s1=(e,t)=>r=>!!(Qu(r)&&Xz.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),o7=(e,t,r)=>n=>{if(!Qu(n))return n;const[o,a,i,l]=n.match(Tu);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},Rs={test:s1("hsl","hue"),parse:o7("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ji.transform(Ks(t))+", "+Ji.transform(Ks(r))+", "+Ks(l1.transform(n))+")"},rV=n7(0,255),Fd=Object.assign(Object.assign({},ec),{transform:e=>Math.round(rV(e))}),$i={test:s1("rgb","red"),parse:o7("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Fd.transform(e)+", "+Fd.transform(t)+", "+Fd.transform(r)+", "+Ks(l1.transform(n))+")"};function nV(e){let t="",r="",n="",o="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Hm={test:s1("#"),parse:nV,transform:$i.transform},u1={test:e=>$i.test(e)||Hm.test(e)||Rs.test(e),parse:e=>$i.test(e)?$i.parse(e):Rs.test(e)?Rs.parse(e):Hm.parse(e),transform:e=>Qu(e)?e:e.hasOwnProperty("red")?$i.transform(e):Rs.transform(e)},a7="${c}",i7="${n}";function oV(e){var t,r,n,o;return isNaN(e)&&Qu(e)&&((r=(t=e.match(Tu))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((o=(n=e.match(Bm))===null||n===void 0?void 0:n.length)!==null&&o!==void 0?o:0)>0}function l7(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(Bm);n&&(r=n.length,e=e.replace(Bm,a7),t.push(...n.map(u1.parse)));const o=e.match(Tu);return o&&(e=e.replace(Tu,i7),t.push(...o.map(ec.parse))),{values:t,numColors:r,tokenised:e}}function s7(e){return l7(e).values}function u7(e){const{values:t,numColors:r,tokenised:n}=l7(e),o=t.length;return a=>{let i=n;for(let l=0;ltypeof e=="number"?0:e;function iV(e){const t=s7(e);return u7(e)(t.map(aV))}const c7={test:oV,parse:s7,createTransformer:u7,getAnimatableNone:iV},lV=new Set(["brightness","contrast","saturate","opacity"]);function sV(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(Tu)||[];if(!n)return e;const o=r.replace(n,"");let a=lV.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}const uV=/([a-z-]*)\(.*?\)/g,cV=Object.assign(Object.assign({},c7),{getAnimatableNone:e=>{const t=e.match(uV);return t?t.map(sV).join(" "):e}});Dt.alpha=l1;Dt.color=u1;Dt.complex=c7;Dt.degrees=Zz;Dt.filter=cV;Dt.hex=Hm;Dt.hsla=Rs;Dt.number=ec;Dt.percent=Ji;Dt.progressPercentage=tV;Dt.px=Jz;Dt.rgbUnit=Fd;Dt.rgba=$i;Dt.scale=Yz;Dt.vh=Qz;Dt.vw=eV;var ke={},ei={};Object.defineProperty(ei,"__esModule",{value:!0});const d7=1/60*1e3,dV=typeof performance<"u"?()=>performance.now():()=>Date.now(),f7=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(dV()),d7);function fV(e){let t=[],r=[],n=0,o=!1,a=!1;const i=new WeakSet,l={schedule:(f,g=!1,m=!1)=>{const w=m&&o,P=w?t:r;return g&&i.add(f),P.indexOf(f)===-1&&(P.push(f),w&&o&&(n=t.length)),f},cancel:f=>{const g=r.indexOf(f);g!==-1&&r.splice(g,1),i.delete(f)},process:f=>{if(o){a=!0;return}if(o=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let g=0;g(e[t]=fV(()=>Eu=!0),e),{}),hV=rc.reduce((e,t)=>{const r=fp[t];return e[t]=(n,o=!1,a=!1)=>(Eu||bV(),r.schedule(n,o,a)),e},{}),gV=rc.reduce((e,t)=>(e[t]=fp[t].cancel,e),{}),mV=rc.reduce((e,t)=>(e[t]=()=>fp[t].process(Qi),e),{}),vV=e=>fp[e].process(Qi),p7=e=>{Eu=!1,Qi.delta=Gm?d7:Math.max(Math.min(e-Qi.timestamp,pV),1),Qi.timestamp=e,qm=!0,rc.forEach(vV),qm=!1,Eu&&(Gm=!1,f7(p7))},bV=()=>{Eu=!0,Gm=!0,qm||f7(p7)},yV=()=>Qi;ei.cancelSync=gV;ei.default=hV;ei.flushSync=mV;ei.getFrameData=yV;Object.defineProperty(ke,"__esModule",{value:!0});var h7=e7,wl=r7,xn=Dt,pp=ei;function wV(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var _V=wV(pp);const ku=(e,t,r)=>Math.min(Math.max(r,e),t),lg=.001,xV=.01,n4=10,CV=.05,PV=1;function OV({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,a;wl.warning(e<=n4*1e3,"Spring duration must be 10 seconds or less");let i=1-t;i=ku(CV,PV,i),e=ku(xV,n4,e/1e3),i<1?(o=g=>{const m=g*i,w=m*e,P=m-r,O=Km(g,i),C=Math.exp(-w);return lg-P/O*C},a=g=>{const w=g*i*e,P=w*r+r,O=Math.pow(i,2)*Math.pow(g,2)*e,C=Math.exp(-w),b=Km(Math.pow(g,2),i);return(-o(g)+lg>0?-1:1)*((P-O)*C)/b}):(o=g=>{const m=Math.exp(-g*e),w=(g-r)*e+1;return-lg+m*w},a=g=>{const m=Math.exp(-g*e),w=(r-g)*(e*e);return m*w});const l=5/e,f=TV(o,a,l);if(e=e*1e3,isNaN(f))return{stiffness:100,damping:10,duration:e};{const g=Math.pow(f,2)*n;return{stiffness:g,damping:i*2*Math.sqrt(n*g),duration:e}}}const SV=12;function TV(e,t,r){let n=r;for(let o=1;oe[r]!==void 0)}function MV(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!o4(e,kV)&&o4(e,EV)){const r=OV(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function hp(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:o}=e,a=h7.__rest(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:l,damping:f,mass:g,velocity:m,duration:w,isResolvedFromDuration:P}=MV(a),O=a4,C=a4;function b(){const y=m?-(m/1e3):0,c=r-t,s=f/(2*Math.sqrt(l*g)),u=Math.sqrt(l/g)/1e3;if(o===void 0&&(o=Math.min(Math.abs(r-t)/100,.4)),s<1){const d=Km(u,s);O=h=>{const v=Math.exp(-s*u*h);return r-v*((y+s*u*c)/d*Math.sin(d*h)+c*Math.cos(d*h))},C=h=>{const v=Math.exp(-s*u*h);return s*u*v*(Math.sin(d*h)*(y+s*u*c)/d+c*Math.cos(d*h))-v*(Math.cos(d*h)*(y+s*u*c)-d*c*Math.sin(d*h))}}else if(s===1)O=d=>r-Math.exp(-u*d)*(c+(y+u*c)*d);else{const d=u*Math.sqrt(s*s-1);O=h=>{const v=Math.exp(-s*u*h),_=Math.min(d*h,300);return r-v*((y+s*u*c)*Math.sinh(_)+d*c*Math.cosh(_))/d}}}return b(),{next:y=>{const c=O(y);if(P)i.done=y>=w;else{const s=C(y)*1e3,u=Math.abs(s)<=n,d=Math.abs(r-c)<=o;i.done=u&&d}return i.value=i.done?r:c,i},flipTarget:()=>{m=-m,[t,r]=[r,t],b()}}}hp.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const a4=e=>0,c1=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},gp=(e,t,r)=>-r*e+r*t+e;function sg(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function i4({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,a=0,i=0;if(!t)o=a=i=r;else{const l=r<.5?r*(1+t):r+t-r*t,f=2*r-l;o=sg(f,l,e+1/3),a=sg(f,l,e),i=sg(f,l,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:n}}const RV=(e,t,r)=>{const n=e*e,o=t*t;return Math.sqrt(Math.max(0,r*(o-n)+n))},AV=[xn.hex,xn.rgba,xn.hsla],l4=e=>AV.find(t=>t.test(e)),s4=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,d1=(e,t)=>{let r=l4(e),n=l4(t);wl.invariant(!!r,s4(e)),wl.invariant(!!n,s4(t));let o=r.parse(e),a=n.parse(t);r===xn.hsla&&(o=i4(o),r=xn.rgba),n===xn.hsla&&(a=i4(a),n=xn.rgba);const i=Object.assign({},o);return l=>{for(const f in i)f!=="alpha"&&(i[f]=RV(o[f],a[f],l));return i.alpha=gp(o.alpha,a.alpha,l),r.transform(i)}},IV={x:0,y:0,z:0},Xm=e=>typeof e=="number",NV=(e,t)=>r=>t(e(r)),f1=(...e)=>e.reduce(NV);function g7(e,t){return Xm(e)?r=>gp(e,t,r):xn.color.test(e)?d1(e,t):p1(e,t)}const m7=(e,t)=>{const r=[...e],n=r.length,o=e.map((a,i)=>g7(a,t[i]));return a=>{for(let i=0;i{const r=Object.assign(Object.assign({},e),t),n={};for(const o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=g7(e[o],t[o]));return o=>{for(const a in n)r[a]=n[a](o);return r}};function u4(e){const t=xn.complex.parse(e),r=t.length;let n=0,o=0,a=0;for(let i=0;i{const r=xn.complex.createTransformer(t),n=u4(e),o=u4(t);return n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers?f1(m7(n.parsed,o.parsed),r):(wl.warning(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i=>`${i>0?t:e}`)},DV=(e,t)=>r=>gp(e,t,r);function FV(e){if(typeof e=="number")return DV;if(typeof e=="string")return xn.color.test(e)?d1:p1;if(Array.isArray(e))return m7;if(typeof e=="object")return jV}function LV(e,t,r){const n=[],o=r||FV(e[0]),a=e.length-1;for(let i=0;ir(c1(e,t,n))}function VV(e,t){const r=e.length,n=r-1;return o=>{let a=0,i=!1;if(o<=e[0]?i=!0:o>=e[n]&&(a=n-1,i=!0),!i){let f=1;for(;fo||f===n);f++);a=f-1}const l=c1(e[a],e[a+1],o);return t[a](l)}}function h1(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const a=e.length;wl.invariant(a===t.length,"Both input and output ranges must be the same length"),wl.invariant(!n||!Array.isArray(n)||n.length===a-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const i=LV(t,n,o),l=a===2?zV(e,i):VV(e,i);return r?f=>l(ku(e[0],e[a-1],f)):l}const nc=e=>t=>1-e(1-t),mp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,v7=e=>t=>Math.pow(t,e),g1=e=>t=>t*t*((e+1)*t-e),b7=e=>{const t=g1(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},y7=1.525,$V=4/11,UV=8/11,WV=9/10,w7=e=>e,m1=v7(2),BV=nc(m1),_7=mp(m1),x7=e=>1-Math.sin(Math.acos(e)),C7=nc(x7),HV=mp(C7),v1=g1(y7),GV=nc(v1),qV=mp(v1),KV=b7(y7),XV=4356/361,YV=35442/1805,ZV=16061/1805,zf=e=>{if(e===1||e===0)return e;const t=e*e;return e<$V?7.5625*t:ee<.5?.5*(1-zf(1-e*2)):.5*zf(e*2-1)+.5;function e$(e,t){return e.map(()=>t||_7).splice(0,e.length-1)}function t$(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function r$(e,t){return e.map(r=>r*t)}function Xs({from:e=0,to:t=1,ease:r,offset:n,duration:o=300}){const a={done:!1,value:e},i=Array.isArray(t)?t:[e,t],l=r$(n&&n.length===i.length?n:t$(i),o);function f(){return h1(l,i,{ease:Array.isArray(r)?r:e$(i,r)})}let g=f();return{next:m=>(a.value=g(m),a.done=m>=o,a),flipTarget:()=>{i.reverse(),g=f()}}}function P7({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:o=.5,modifyTarget:a}){const i={done:!1,value:t};let l=r*e;const f=t+l,g=a===void 0?f:a(f);return g!==f&&(l=g-t),{next:m=>{const w=-l*Math.exp(-m/n);return i.done=!(w>o||w<-o),i.value=i.done?g:g+w,i},flipTarget:()=>{}}}const c4={keyframes:Xs,spring:hp,decay:P7};function n$(e){if(Array.isArray(e.to))return Xs;if(c4[e.type])return c4[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Xs:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?hp:Xs}function O7(e,t,r=0){return e-t-r}function o$(e,t,r=0,n=!0){return n?O7(t+-e,t,r):t-(e-t)+r}function a$(e,t,r,n){return n?e>=t+r:e<=-r}const i$=e=>{const t=({delta:r})=>e(r);return{start:()=>_V.default.update(t,!0),stop:()=>pp.cancelSync.update(t)}};function S7(e){var t,r,{from:n,autoplay:o=!0,driver:a=i$,elapsed:i=0,repeat:l=0,repeatType:f="loop",repeatDelay:g=0,onPlay:m,onStop:w,onComplete:P,onRepeat:O,onUpdate:C}=e,b=h7.__rest(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:y}=b,c,s=0,u=b.duration,d,h=!1,v=!0,_;const k=n$(b);!((r=(t=k).needsInterpolation)===null||r===void 0)&&r.call(t,n,y)&&(_=h1([0,100],[n,y],{clamp:!1}),n=0,y=100);const T=k(Object.assign(Object.assign({},b),{from:n,to:y}));function E(){s++,f==="reverse"?(v=s%2===0,i=o$(i,u,g,v)):(i=O7(i,u,g),f==="mirror"&&T.flipTarget()),h=!1,O&&O()}function R(){c.stop(),P&&P()}function A(D){if(v||(D=-D),i+=D,!h){const $=T.next(Math.max(0,i));d=$.value,_&&(d=_(d)),h=v?$.done:i<=0}C==null||C(d),h&&(s===0&&(u??(u=i)),s{w==null||w(),c.stop()}}}function T7(e,t){return t?e*(1e3/t):0}function l$({from:e=0,velocity:t=0,min:r,max:n,power:o=.8,timeConstant:a=750,bounceStiffness:i=500,bounceDamping:l=10,restDelta:f=1,modifyTarget:g,driver:m,onUpdate:w,onComplete:P,onStop:O}){let C;function b(u){return r!==void 0&&un}function y(u){return r===void 0?n:n===void 0||Math.abs(r-u){var h;w==null||w(d),(h=u.onUpdate)===null||h===void 0||h.call(u,d)},onComplete:P,onStop:O}))}function s(u){c(Object.assign({type:"spring",stiffness:i,damping:l,restDelta:f},u))}if(b(e))s({from:e,velocity:t,to:y(e)});else{let u=o*t+e;typeof g<"u"&&(u=g(u));const d=y(u),h=d===r?-1:1;let v,_;const k=T=>{v=_,_=T,t=T7(T-v,pp.getFrameData().delta),(h===1&&T>d||h===-1&&TC==null?void 0:C.stop()}}const E7=e=>e*180/Math.PI,s$=(e,t=IV)=>E7(Math.atan2(t.y-e.y,t.x-e.x)),u$=(e,t)=>{let r=!0;return t===void 0&&(t=e,r=!1),n=>r?n-e+t:(e=n,r=!0,t)},c$=e=>e,b1=(e=c$)=>(t,r,n)=>{const o=r-n,a=-(0-t+1)*(0-e(Math.abs(o)));return o<=0?r+a:r-a},d$=b1(),f$=b1(Math.sqrt),k7=e=>e*Math.PI/180,Vf=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Ym=e=>Vf(e)&&e.hasOwnProperty("z"),nd=(e,t)=>Math.abs(e-t);function p$(e,t){if(Xm(e)&&Xm(t))return nd(e,t);if(Vf(e)&&Vf(t)){const r=nd(e.x,t.x),n=nd(e.y,t.y),o=Ym(e)&&Ym(t)?nd(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}}const h$=(e,t,r)=>(t=k7(t),{x:r*Math.cos(t)+e.x,y:r*Math.sin(t)+e.y}),M7=(e,t=2)=>(t=Math.pow(10,t),Math.round(e*t)/t),R7=(e,t,r,n=0)=>M7(e+r*(t-e)/Math.max(n,r)),g$=(e=50)=>{let t=0,r=0;return n=>{const o=pp.getFrameData().timestamp,a=o!==r?o-r:0,i=a?R7(t,n,a,e):t;return r=o,t=i,i}},m$=e=>{if(typeof e=="number")return t=>Math.round(t/e)*e;{let t=0;const r=e.length;return n=>{let o=Math.abs(e[0]-n);for(t=1;to)return e[t-1];if(t===r-1)return a;o=i}}}};function v$(e,t){return e/(1e3/t)}const b$=(e,t,r)=>{const n=t-e;return((r-e)%n+n)%n+e},A7=(e,t)=>1-3*t+3*e,I7=(e,t)=>3*t-6*e,N7=e=>3*e,$f=(e,t,r)=>((A7(t,r)*e+I7(t,r))*e+N7(t))*e,j7=(e,t,r)=>3*A7(t,r)*e*e+2*I7(t,r)*e+N7(t),y$=1e-7,w$=10;function _$(e,t,r,n,o){let a,i,l=0;do i=t+(r-t)/2,a=$f(i,n,o)-e,a>0?r=i:t=i;while(Math.abs(a)>y$&&++l=C$?P$(i,w,e,r):P===0?w:_$(i,l,l+od,e,r)}return i=>i===0||i===1?i:$f(a(i),t,n)}const S$=(e,t="end")=>r=>{r=t==="end"?Math.min(r,.999):Math.max(r,.001);const n=r*e,o=t==="end"?Math.floor(n):Math.ceil(n);return ku(0,1,o/e)};ke.angle=s$;ke.animate=S7;ke.anticipate=KV;ke.applyOffset=u$;ke.attract=d$;ke.attractExpo=f$;ke.backIn=v1;ke.backInOut=qV;ke.backOut=GV;ke.bounceIn=JV;ke.bounceInOut=QV;ke.bounceOut=zf;ke.circIn=x7;ke.circInOut=HV;ke.circOut=C7;ke.clamp=ku;ke.createAnticipate=b7;ke.createAttractor=b1;ke.createBackIn=g1;ke.createExpoIn=v7;ke.cubicBezier=O$;ke.decay=P7;ke.degreesToRadians=k7;ke.distance=p$;ke.easeIn=m1;ke.easeInOut=_7;ke.easeOut=BV;ke.inertia=l$;ke.interpolate=h1;ke.isPoint=Vf;ke.isPoint3D=Ym;ke.keyframes=Xs;ke.linear=w7;ke.mirrorEasing=mp;ke.mix=gp;ke.mixColor=d1;ke.mixComplex=p1;ke.pipe=f1;ke.pointFromVector=h$;ke.progress=c1;ke.radiansToDegrees=E7;ke.reverseEasing=nc;ke.smooth=g$;ke.smoothFrame=R7;ke.snap=m$;ke.spring=hp;ke.steps=S$;ke.toDecimal=M7;ke.velocityPerFrame=v$;ke.velocityPerSecond=T7;ke.wrap=b$;class T${setAnimation(t){this.animation=t,t==null||t.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const ug=new WeakMap;function y1(e){return ug.has(e)||ug.set(e,{transforms:[],values:new Map}),ug.get(e)}function E$(e,t){return e.has(t)||e.set(t,new T$),e.get(t)}function D7(e,t){e.indexOf(t)===-1&&e.push(t)}function F7(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const L7=(e,t,r)=>Math.min(Math.max(r,e),t),xr={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},xo=e=>typeof e=="number",Mu=e=>Array.isArray(e)&&!xo(e[0]),k$=(e,t,r)=>{const n=t-e;return((r-e)%n+n)%n+e};function z7(e,t){return Mu(e)?e[k$(0,e.length,t)]:e}const w1=(e,t,r)=>-r*e+r*t+e,_1=()=>{},ho=e=>e,vp=(e,t,r)=>t-e===0?1:(r-e)/(t-e);function x1(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=vp(0,t,n);e.push(w1(r,1,o))}}function C1(e){const t=[0];return x1(t,e-1),t}function V7(e,t=C1(e.length),r=ho){const n=e.length,o=n-t.length;return o>0&&x1(t,o),a=>{let i=0;for(;iArray.isArray(e)&&xo(e[0]),Uf=e=>typeof e=="object"&&!!e.createAnimation,M$=e=>typeof e=="function",P1=e=>typeof e=="string",Ia={ms:e=>e*1e3,s:e=>e/1e3};function U7(e,t){return t?e*(1e3/t):0}const R$=["","X","Y","Z"],A$=["translate","scale","rotate","skew"],_l={x:"translateX",y:"translateY",z:"translateZ"},d4={syntax:"",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},I$={translate:{syntax:"",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:d4,scale:{syntax:"",initialValue:1,toDefaultUnit:ho},skew:d4},xl=new Map,bp=e=>`--motion-${e}`,Wf=["x","y","z"];A$.forEach(e=>{R$.forEach(t=>{Wf.push(e+t),xl.set(bp(e+t),I$[e])})});const N$=(e,t)=>Wf.indexOf(e)-Wf.indexOf(t),j$=new Set(Wf),yp=e=>j$.has(e),D$=(e,t)=>{_l[t]&&(t=_l[t]);const{transforms:r}=y1(e);D7(r,t),e.style.transform=W7(r)},W7=e=>e.sort(N$).reduce(F$,"").trim(),F$=(e,t)=>`${e} ${t}(var(${bp(t)}))`,Zm=e=>e.startsWith("--"),f4=new Set;function L$(e){if(!f4.has(e)){f4.add(e);try{const{syntax:t,initialValue:r}=xl.has(e)?xl.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch{}}}const B7=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,z$=1e-7,V$=12;function $$(e,t,r,n,o){let a,i,l=0;do i=t+(r-t)/2,a=B7(i,n,o)-e,a>0?r=i:t=i;while(Math.abs(a)>z$&&++l$$(a,0,1,e,r);return a=>a===0||a===1?a:B7(o(a),t,n)}const U$=(e,t="end")=>r=>{r=t==="end"?Math.min(r,.999):Math.max(r,.001);const n=r*e,o=t==="end"?Math.floor(n):Math.ceil(n);return L7(0,1,o/e)},p4={ease:As(.25,.1,.25,1),"ease-in":As(.42,0,1,1),"ease-in-out":As(.42,0,.58,1),"ease-out":As(0,0,.58,1)},W$=/\((.*?)\)/;function Jm(e){if(M$(e))return e;if($7(e))return As(...e);if(p4[e])return p4[e];if(e.startsWith("steps")){const t=W$.exec(e);if(t){const r=t[1].split(",");return U$(parseFloat(r[0]),r[1].trim())}}return ho}class B${constructor(t,r=[0,1],{easing:n,duration:o=xr.duration,delay:a=xr.delay,endDelay:i=xr.endDelay,repeat:l=xr.repeat,offset:f,direction:g="normal",autoplay:m=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=ho,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((P,O)=>{this.resolve=P,this.reject=O}),n=n||xr.easing,Uf(n)){const P=n.createAnimation(r);n=P.easing,r=P.keyframes||r,o=P.duration||o}this.repeat=l,this.easing=Mu(n)?ho:Jm(n),this.updateDuration(o);const w=V7(r,f,Mu(n)?n.map(Jm):ho);this.tick=P=>{var O;a=a;let C=0;this.pauseTime!==void 0?C=this.pauseTime:C=(P-this.startTime)*this.rate,this.t=C,C/=1e3,C=Math.max(C-a,0),this.playState==="finished"&&this.pauseTime===void 0&&(C=this.totalDuration);const b=C/this.duration;let y=Math.floor(b),c=b%1;!c&&b>=1&&(c=1),c===1&&y--;const s=y%2;(g==="reverse"||g==="alternate"&&s||g==="alternate-reverse"&&!s)&&(c=1-c);const u=C>=this.totalDuration?1:Math.min(c,1),d=w(this.easing(u));t(d),this.pauseTime===void 0&&(this.playState==="finished"||C>=this.totalDuration+i)?(this.playState="finished",(O=this.resolve)===null||O===void 0||O.call(this,d)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},m&&this.play()}play(){const t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}const h4=e=>$7(e)?H$(e):e,H$=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,g4=e=>document.createElement("div").animate(e,{duration:.001}),m4={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{g4({opacity:[1]})}catch{return!1}return!0},finished:()=>!!g4({opacity:[0,1]}).finished},cg={},zd={};for(const e in m4)zd[e]=()=>(cg[e]===void 0&&(cg[e]=m4[e]()),cg[e]);function G$(e,t){for(let r=0;rArray.isArray(e)?e:[e];function Bf(e){return _l[e]&&(e=_l[e]),yp(e)?bp(e):e}const Ui={get:(e,t)=>{t=Bf(t);let r=Zm(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&r!==0){const n=xl.get(t);n&&(r=n.initialValue)}return r},set:(e,t,r)=>{t=Bf(t),Zm(t)?e.style.setProperty(t,r):e.style[t]=r}};function G7(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}function q$(){return window.__MOTION_DEV_TOOLS_RECORD}function wp(e,t,r,n={}){const o=q$(),a=n.record!==!1&&o;let i,{duration:l=xr.duration,delay:f=xr.delay,endDelay:g=xr.endDelay,repeat:m=xr.repeat,easing:w=xr.easing,direction:P,offset:O,allowWebkitAcceleration:C=!1}=n;const b=y1(e);let y=zd.waapi();const c=yp(t);c&&D$(e,t);const s=Bf(t),u=E$(b.values,s),d=xl.get(s);return G7(u.animation,!(Uf(w)&&u.generator)&&n.record!==!1),()=>{const h=()=>{var _,k;return(k=(_=Ui.get(e,s))!==null&&_!==void 0?_:d==null?void 0:d.initialValue)!==null&&k!==void 0?k:0};let v=G$(H7(r),h);if(Uf(w)){const _=w.createAnimation(v,h,c,s,u);w=_.easing,_.keyframes!==void 0&&(v=_.keyframes),_.duration!==void 0&&(l=_.duration)}if(Zm(s)&&(zd.cssRegisterProperty()?L$(s):y=!1),y){d&&(v=v.map(T=>xo(T)?d.toDefaultUnit(T):T)),v.length===1&&(!zd.partialKeyframes()||a)&&v.unshift(h());const _={delay:Ia.ms(f),duration:Ia.ms(l),endDelay:Ia.ms(g),easing:Mu(w)?void 0:h4(w),direction:P,iterations:m+1,fill:"both"};i=e.animate({[s]:v,offset:O,easing:Mu(w)?w.map(h4):void 0},_),i.finished||(i.finished=new Promise((T,E)=>{i.onfinish=T,i.oncancel=E}));const k=v[v.length-1];i.finished.then(()=>{Ui.set(e,s,k),i.cancel()}).catch(_1),C||(i.playbackRate=1.000001)}else if(c){v=v.map(k=>typeof k=="string"?parseFloat(k):k),v.length===1&&v.unshift(parseFloat(h()));const _=k=>{d&&(k=d.toDefaultUnit(k)),Ui.set(e,s,k)};i=new B$(_,v,Object.assign(Object.assign({},n),{duration:l,easing:w}))}else{const _=v[v.length-1];Ui.set(e,s,d&&xo(_)?d.toDefaultUnit(_):_)}return a&&o(e,t,v,{duration:l,delay:f,easing:w,repeat:m,offset:O},"motion-one"),u.setAnimation(i),i}}const O1=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function _p(e,t){var r;return typeof e=="string"?t?((r=t[e])!==null&&r!==void 0||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}const K$=e=>e(),S1=(e,t,r=xr.duration)=>new Proxy({animations:e.map(K$).filter(Boolean),duration:r,options:t},Y$),X$=e=>e.animations[0],Y$={get:(e,t)=>{const r=X$(e);switch(t){case"duration":return e.duration;case"currentTime":return Ia.s((r==null?void 0:r[t])||0);case"playbackRate":case"playState":return r==null?void 0:r[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map(Z$)).catch(_1)),e.finished;case"stop":return()=>{e.animations.forEach(n=>G7(n))};case"forEachNative":return n=>{e.animations.forEach(o=>n(o,e))};default:return typeof(r==null?void 0:r[t])>"u"?void 0:()=>e.animations.forEach(n=>n[t]())}},set:(e,t,r)=>{switch(t){case"currentTime":r=Ia.ms(r);case"currentTime":case"playbackRate":for(let n=0;ne.finished;function J$(e=.1,{start:t=0,from:r=0,easing:n}={}){return(o,a)=>{const i=xo(r)?r:Q$(r,a),l=Math.abs(i-o);let f=e*l;if(n){const g=a*e;f=Jm(n)(f/g)*g}return t+f}}function Q$(e,t){if(e==="first")return 0;{const r=t-1;return e==="last"?r:r/2}}function q7(e,t,r){return typeof e=="function"?e(t,r):e}function eU(e,t,r={}){e=_p(e);const n=e.length,o=[];for(let a=0;at&&o.atwp(...a)).filter(Boolean);return S1(o,t,(r=n[0])===null||r===void 0?void 0:r[3].duration)}function aU(e,t={}){var{defaultOptions:r={}}=t,n=zl(t,["defaultOptions"]);const o=[],a=new Map,i={},l=new Map;let f=0,g=0,m=0;for(let w=0;w"0",X);R=H.easing,H.keyframes!==void 0&&(k=H.keyframes),H.duration!==void 0&&(E=H.duration)}const A=q7(b.delay,u,s)||0,N=g+A,D=N+E;let{offset:$=C1(k.length)}=T;$.length===1&&$[0]===0&&($[1]=1);const G=length-k.length;G>0&&x1($,G),k.length===1&&k.unshift(null),rU(_,k,R,$,N,D),y=Math.max(A+E,y),m=Math.max(D,m)}}f=g,g+=y}return a.forEach((w,P)=>{for(const O in w){const C=w[O];C.sort(nU);const b=[],y=[],c=[];for(let s=0;st/(2*Math.sqrt(e*r));function cU(e,t,r){return e=t||e>t&&r<=t}const K7=({stiffness:e=el.stiffness,damping:t=el.damping,mass:r=el.mass,from:n=0,to:o=1,velocity:a=0,restSpeed:i,restDistance:l}={})=>{a=a?Ia.s(a):0;const f={done:!1,hasReachedTarget:!1,current:n,target:o},g=o-n,m=Math.sqrt(e/r)/1e3,w=uU(e,t,r),P=Math.abs(g)<5;i||(i=P?.01:2),l||(l=P?.005:.5);let O;if(w<1){const C=m*Math.sqrt(1-w*w);O=b=>o-Math.exp(-w*m*b)*((-a+w*m*g)/C*Math.sin(C*b)+g*Math.cos(C*b))}else O=C=>o-Math.exp(-m*C)*(g+(-a+m*g)*C);return C=>{f.current=O(C);const b=C===0?a:T1(O,C,f.current),y=Math.abs(b)<=i,c=Math.abs(o-f.current)<=l;return f.done=y&&c,f.hasReachedTarget=cU(n,o,f.current),f}},dU=({from:e=0,velocity:t=0,power:r=.8,decay:n=.325,bounceDamping:o,bounceStiffness:a,changeTarget:i,min:l,max:f,restDistance:g=.5,restSpeed:m})=>{n=Ia.ms(n);const w={hasReachedTarget:!1,done:!1,current:e,target:e},P=_=>l!==void 0&&_f,O=_=>l===void 0?f:f===void 0||Math.abs(l-_)-C*Math.exp(-_/n),s=_=>y+c(_),u=_=>{const k=c(_),T=s(_);w.done=Math.abs(k)<=g,w.current=w.done?y:T};let d,h;const v=_=>{P(w.current)&&(d=_,h=K7({from:w.current,to:O(w.current),velocity:T1(s,_,w.current),damping:o,stiffness:a,restDistance:g,restSpeed:m}))};return v(0),_=>{let k=!1;return!h&&d===void 0&&(k=!0,u(_),v(_)),d!==void 0&&_>d?(w.hasReachedTarget=!0,h(_-d)):(w.hasReachedTarget=!1,!k&&u(_),w)}},dg=10,fU=1e4;function pU(e,t=ho){let r,n=dg,o=e(0);const a=[t(o.current)];for(;!o.done&&n{const n=new Map,o=(i=0,l=100,f=0,g=!1)=>{const m=`${i}-${l}-${f}-${g}`;return n.has(m)||n.set(m,e(Object.assign({from:i,to:l,velocity:f,restSpeed:g?.05:2,restDistance:g?.01:.5},r))),n.get(m)},a=i=>(t.has(i)||t.set(i,pU(i)),t.get(i));return{createAnimation:(i,l,f,g,m)=>{var w,P;let O;const C=i.length;if(f&&C<=2&&i.every(hU)){const y=i[C-1],c=C===1?null:i[0];let s=0,u=0;const d=m==null?void 0:m.generator;if(d){const{animation:_,generatorStartTime:k}=m,T=(_==null?void 0:_.startTime)||k||0,E=(_==null?void 0:_.currentTime)||performance.now()-T,R=d(E).current;u=(w=c)!==null&&w!==void 0?w:R,(C===1||C===2&&i[0]===null)&&(s=T1(A=>d(A).current,E,R))}else u=(P=c)!==null&&P!==void 0?P:parseFloat(l());const h=o(u,y,s,g==null?void 0:g.includes("scale")),v=a(h);O=Object.assign(Object.assign({},v),{easing:"linear"}),m&&(m.generator=h,m.generatorStartTime=performance.now())}else O={easing:"ease",duration:a(o(0,100)).overshootDuration};return O}}}}const hU=e=>typeof e!="string",gU=X7(K7),mU=X7(dU),vU={any:0,all:1};function Y7(e,t,{root:r,margin:n,amount:o="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};const a=_p(e),i=new WeakMap,l=g=>{g.forEach(m=>{const w=i.get(m.target);if(m.isIntersecting!==!!w)if(m.isIntersecting){const P=t(m);typeof P=="function"?i.set(m.target,P):f.unobserve(m.target)}else w&&(w(m),i.delete(m.target))})},f=new IntersectionObserver(l,{root:r,rootMargin:n,threshold:typeof o=="number"?o:vU[o]});return a.forEach(g=>f.observe(g)),()=>f.disconnect()}const Vd=new WeakMap;let Uo;function bU(e,t){if(t){const{inlineSize:r,blockSize:n}=t[0];return{width:r,height:n}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function yU({target:e,contentRect:t,borderBoxSize:r}){var n;(n=Vd.get(e))===null||n===void 0||n.forEach(o=>{o({target:e,contentSize:t,get size(){return bU(e,r)}})})}function wU(e){e.forEach(yU)}function _U(){typeof ResizeObserver>"u"||(Uo=new ResizeObserver(wU))}function xU(e,t){Uo||_U();const r=_p(e);return r.forEach(n=>{let o=Vd.get(n);o||(o=new Set,Vd.set(n,o)),o.add(t),Uo==null||Uo.observe(n)}),()=>{r.forEach(n=>{const o=Vd.get(n);o==null||o.delete(t),o!=null&&o.size||Uo==null||Uo.unobserve(n)})}}const $d=new Set;let Ys;function CU(){Ys=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};$d.forEach(r=>r(t))},window.addEventListener("resize",Ys)}function PU(e){return $d.add(e),Ys||CU(),()=>{$d.delete(e),!$d.size&&Ys&&(Ys=void 0)}}function Z7(e,t){return typeof e=="function"?PU(e):xU(e,t)}const OU=50,b4=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),SU=()=>({time:0,x:b4(),y:b4()}),TU={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function y4(e,t,r,n){const o=r[t],{length:a,position:i}=TU[t],l=o.current,f=r.time;o.current=e["scroll"+i],o.scrollLength=e["scroll"+a]-e["client"+a],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=vp(0,o.scrollLength,o.current);const g=n-f;o.velocity=g>OU?0:U7(o.current-l,g)}function EU(e,t,r){y4(e,"x",t,r),y4(e,"y",t,r),t.time=r}function kU(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if(n instanceof HTMLElement)r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if(n instanceof SVGGraphicsElement&&"getBBox"in n){const{top:o,left:a}=n.getBBox();for(r.x+=a,r.y+=o;n&&n.tagName!=="svg";)n=n.parentNode}return r}const J7={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Qm={start:0,center:.5,end:1};function w4(e,t,r=0){let n=0;if(Qm[e]!==void 0&&(e=Qm[e]),P1(e)){const o=parseFloat(e);e.endsWith("px")?n=o:e.endsWith("%")?e=o/100:e.endsWith("vw")?n=o/100*document.documentElement.clientWidth:e.endsWith("vh")?n=o/100*document.documentElement.clientHeight:e=o}return xo(e)&&(n=t*e),r+n}const MU=[0,0];function RU(e,t,r,n){let o=Array.isArray(e)?e:MU,a=0,i=0;return xo(e)?o=[e,e]:P1(e)&&(e=e.trim(),e.includes(" ")?o=e.split(" "):o=[e,Qm[e]?e:"0"]),a=w4(o[0],r,n),i=w4(o[1],t),a-i}const AU={x:0,y:0};function IU(e,t,r){let{offset:n=J7.All}=r;const{target:o=e,axis:a="y"}=r,i=a==="y"?"height":"width",l=o!==e?kU(o,e):AU,f=o===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:o.clientWidth,height:o.clientHeight},g={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let m=!t[a].interpolate;const w=n.length;for(let P=0;PNU(e,n.target,r),update:a=>{EU(e,r,a),(n.offset||n.target)&&IU(e,r,n)},notify:typeof t=="function"?()=>t(r):DU(t,r[o])}}function DU(e,t){return e.pause(),e.forEachNative((r,{easing:n})=>{var o,a;if(r.updateDuration)n||(r.easing=ho),r.updateDuration(1);else{const i={duration:1e3};n||(i.easing="linear"),(a=(o=r.effect)===null||o===void 0?void 0:o.updateTiming)===null||a===void 0||a.call(o,i)}}),()=>{e.currentTime=t.progress}}const _s=new WeakMap,_4=new WeakMap,fg=new WeakMap,x4=e=>e===document.documentElement?window:e;function FU(e,t={}){var{container:r=document.documentElement}=t,n=zl(t,["container"]);let o=fg.get(r);o||(o=new Set,fg.set(r,o));const a=SU(),i=jU(r,e,a,n);if(o.add(i),!_s.has(r)){const g=()=>{const w=performance.now();for(const P of o)P.measure();for(const P of o)P.update(w);for(const P of o)P.notify()};_s.set(r,g);const m=x4(r);window.addEventListener("resize",g,{passive:!0}),r!==document.documentElement&&_4.set(r,Z7(r,g)),m.addEventListener("scroll",g,{passive:!0})}const l=_s.get(r),f=requestAnimationFrame(l);return()=>{var g;typeof e!="function"&&e.stop(),cancelAnimationFrame(f);const m=fg.get(r);if(!m||(m.delete(i),m.size))return;const w=_s.get(r);_s.delete(r),w&&(x4(r).removeEventListener("scroll",w),(g=_4.get(r))===null||g===void 0||g(),window.removeEventListener("resize",w))}}function LU(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!zU(e,t):e!==t}function zU(e,t){const r=t.length;if(r!==e.length)return!1;for(let n=0;ne.getDepth()-t.getDepth(),BU=e=>e.animateUpdates(),P4=e=>e.next(),O4=(e,t)=>new CustomEvent(e,{detail:{target:t}});function ev(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:r}}))}function S4(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:r}}))}const HU={isActive:e=>!!e.inView,subscribe:(e,{enable:t,disable:r},{inViewOptions:n={}})=>{const{once:o}=n,a=zl(n,["once"]);return Y7(e,i=>{if(t(),S4(e,"viewenter",i),!o)return l=>{r(),S4(e,"viewleave",l)}},a)}},T4=(e,t,r)=>n=>{n.pointerType&&n.pointerType!=="mouse"||(r(),ev(e,t,n))},GU={isActive:e=>!!e.hover,subscribe:(e,{enable:t,disable:r})=>{const n=T4(e,"hoverstart",t),o=T4(e,"hoverend",r);return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",o),()=>{e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",o)}}},qU={isActive:e=>!!e.press,subscribe:(e,{enable:t,disable:r})=>{const n=a=>{r(),ev(e,"pressend",a),window.removeEventListener("pointerup",n)},o=a=>{t(),ev(e,"pressstart",a),window.addEventListener("pointerup",n)};return e.addEventListener("pointerdown",o),()=>{e.removeEventListener("pointerdown",o),window.removeEventListener("pointerup",n)}}},Ud={inView:HU,hover:GU,press:qU},E4=["initial","animate",...Object.keys(Ud),"exit"],tv=new WeakMap;function KU(e={},t){let r,n=t?t.getDepth()+1:0;const o={initial:!0,animate:!0},a={},i={};for(const b of E4)i[b]=typeof e[b]=="string"?e[b]:t==null?void 0:t.getContext()[b];const l=e.initial===!1?"animate":"initial";let f=C4(e[l]||i[l],e.variants)||{},g=zl(f,["transition"]);const m=Object.assign({},g);function*w(){var b,y;const c=g;g={};const s={};for(const _ of E4){if(!o[_])continue;const k=C4(e[_]);if(k)for(const T in k)T!=="transition"&&(g[T]=k[T],s[T]=O1((y=(b=k.transition)!==null&&b!==void 0?b:e.transition)!==null&&y!==void 0?y:{},T))}const u=new Set([...Object.keys(g),...Object.keys(c)]),d=[];u.forEach(_=>{var k;g[_]===void 0&&(g[_]=m[_]),LU(c[_],g[_])&&((k=m[_])!==null&&k!==void 0||(m[_]=Ui.get(r,_)),d.push(wp(r,_,g[_],s[_])))}),yield;const h=d.map(_=>_()).filter(Boolean);if(!h.length)return;const v=g;r.dispatchEvent(O4("motionstart",v)),Promise.all(h.map(_=>_.finished)).then(()=>{r.dispatchEvent(O4("motioncomplete",v))}).catch(_1)}const P=(b,y)=>()=>{o[b]=y,pg(C)},O=()=>{for(const b in Ud){const y=Ud[b].isActive(e),c=a[b];y&&!c?a[b]=Ud[b].subscribe(r,{enable:P(b,!0),disable:P(b,!1)},e):!y&&c&&(c(),delete a[b])}},C={update:b=>{r&&(e=b,O(),pg(C))},setActive:(b,y)=>{r&&(o[b]=y,pg(C))},animateUpdates:w,getDepth:()=>n,getTarget:()=>g,getOptions:()=>e,getContext:()=>i,mount:b=>(r=b,tv.set(r,C),O(),()=>{tv.delete(r),UU(C);for(const y in a)a[y]()}),isMounted:()=>!!r};return C}function Q7(e){const t={},r=[];for(let n in e){const o=e[n];yp(n)&&(_l[n]&&(n=_l[n]),r.push(n),n=bp(n));let a=Array.isArray(o)?o[0]:o;const i=xl.get(n);i&&(a=xo(o)?i.toDefaultUnit(o):o),t[n]=a}return r.length&&(t.transform=W7(r)),t}const XU=e=>`-${e.toLowerCase()}`,YU=e=>e.replace(/[A-Z]/g,XU);function ZU(e={}){const t=Q7(e);let r="";for(const n in t)r+=n.startsWith("--")?n:YU(n),r+=`: ${t[n]}; `;return r}const JU=Object.freeze(Object.defineProperty({__proto__:null,ScrollOffset:J7,animate:eU,animateStyle:wp,createMotionState:KU,createStyleString:ZU,createStyles:Q7,getAnimationData:y1,getStyleName:Bf,glide:mU,inView:Y7,mountedStates:tv,resize:Z7,scroll:FU,spring:gU,stagger:J$,style:Ui,timeline:oU,withControls:S1},Symbol.toStringTag,{value:"Module"})),QU=Rl(JU);function eW(e){var t={};return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var tW=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,rW=eW(function(e){return tW.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});const nW=Object.freeze(Object.defineProperty({__proto__:null,default:rW},Symbol.toStringTag,{value:"Module"})),oW=Rl(nW);(function(e){var t={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"};Object.defineProperty(e,"__esModule",{value:!0});var r=e7,n=F,o=r7,a=Dt,i=ke,l=ei,f=QU;function g(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}function m(p){if(p&&p.__esModule)return p;var x=Object.create(null);return p&&Object.keys(p).forEach(function(S){if(S!=="default"){var M=Object.getOwnPropertyDescriptor(p,S);Object.defineProperty(x,S,M.get?M:{enumerable:!0,get:function(){return p[S]}})}}),x.default=p,Object.freeze(x)}var w=m(n),P=g(n),O=g(l),C="production",b=typeof process>"u"||t===void 0?C:"production",y=function(p){return{isEnabled:function(x){return p.some(function(S){return!!x[S]})}}},c={measureLayout:y(["layout","layoutId","drag"]),animation:y(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:y(["exit"]),drag:y(["drag","dragControls"]),focus:y(["whileFocus"]),hover:y(["whileHover","onHoverStart","onHoverEnd"]),tap:y(["whileTap","onTap","onTapStart","onTapCancel"]),pan:y(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:y(["whileInView","onViewportEnter","onViewportLeave"])};function s(p){for(var x in p)p[x]!==null&&(x==="projectionNodeConstructor"?c.projectionNodeConstructor=p[x]:c[x].Component=p[x])}var u=n.createContext({strict:!1}),d=Object.keys(c),h=d.length;function v(p,x,S){var M=[],I=n.useContext(u);if(!x)return null;b!=="production"&&S&&I.strict&&o.invariant(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var L=0;L"u")return x;var S=new Map;return new Proxy(x,{get:function(M,I){return S.has(I)||S.set(I,x(I)),S.get(I)}})}var Lt=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function ut(p){return typeof p!="string"||p.includes("-")?!1:!!(Lt.indexOf(p)>-1||/[A-Z]/.test(p))}var We={};function ur(p){Object.assign(We,p)}var Zt=["","X","Y","Z"],vr=["translate","scale","rotate","skew"],Mn=["transformPerspective","x","y","z"];vr.forEach(function(p){return Zt.forEach(function(x){return Mn.push(p+x)})});function ai(p,x){return Mn.indexOf(p)-Mn.indexOf(x)}var br=new Set(Mn);function Mr(p){return br.has(p)}var Rn=new Set(["originX","originY","originZ"]);function Br(p){return Rn.has(p)}function An(p,x){var S=x.layout,M=x.layoutId;return Mr(p)||Br(p)||(S||M!==void 0)&&(!!We[p]||p==="opacity")}var Jt=function(p){return!!(p!==null&&typeof p=="object"&&p.getVelocity)},dc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Rr(p,x,S,M){var I=p.transform,L=p.transformKeys,z=x.enableHardwareAcceleration,j=z===void 0?!0:z,U=x.allowTransformNone,W=U===void 0?!0:U,K="";L.sort(ai);for(var Z=!1,J=L.length,ee=0;ee"u"?oT:nT;W(U,j.current,x,z)}var rT={some:0,all:1};function nT(p,x,S,M){var I=M.root,L=M.margin,z=M.amount,j=z===void 0?"some":z,U=M.once;n.useEffect(function(){if(p){var W={root:I==null?void 0:I.current,rootMargin:L,threshold:typeof j=="number"?j:rT[j]},K=function(Z){var J,ee=Z.isIntersecting;if(x.isInView!==ee&&(x.isInView=ee,!(U&&!ee&&x.hasEnteredView))){ee&&(x.hasEnteredView=!0),(J=S.animationState)===null||J===void 0||J.setActive(e.AnimationType.InView,ee);var te=S.getProps(),ie=ee?te.onViewportEnter:te.onViewportLeave;ie==null||ie(Z)}};return eT(S.getInstance(),W,K)}},[p,I,L,j])}function oT(p,x,S,M){var I=M.fallback,L=I===void 0?!0:I;n.useEffect(function(){!p||!L||(b!=="production"&&qp(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(function(){var z;x.hasEnteredView=!0;var j=S.getProps().onViewportEnter;j==null||j(null),(z=S.animationState)===null||z===void 0||z.setActive(e.AnimationType.InView,!0)}))},[p])}var Ao=function(p){return function(x){return p(x),null}},yy={inView:Ao(tT),tap:Ao(YS),focus:Ao(Ct),hover:Ao(XS)},aT=0,iT=function(){return aT++},wy=function(){return ae(iT)};function Yp(){var p=n.useContext(E);if(p===null)return[!0,null];var x=p.isPresent,S=p.onExitComplete,M=p.register,I=wy();n.useEffect(function(){return M(I)},[]);var L=function(){return S==null?void 0:S(I)};return!x&&S?[!1,L]:[!0]}function lT(){return sT(n.useContext(E))}function sT(p){return p===null?!0:p.isPresent}function _y(p,x){if(!Array.isArray(x))return!1;var S=x.length;if(S!==p.length)return!1;for(var M=0;M-1&&p.splice(S,1)}function _T(p,x,S){var M=r.__read(p),I=M.slice(0),L=x<0?I.length+x:x;if(L>=0&&LTe&&qr,Lo=Array.isArray(dt)?dt:[dt],Kr=Lo.reduce(L,{});dr===!1&&(Kr={});var ss=He.prevResolvedValues,gi=ss===void 0?{}:ss,Dc=r.__assign(r.__assign({},gi),Kr),mi=function(Re){Fo=!0,me.delete(Re),He.needsAnimating[Re]=!0};for(var yr in Dc){var Ze=Kr[yr],_e=gi[yr];ye.hasOwnProperty(yr)||(Ze!==_e?to(Ze)&&to(_e)?!_y(Ze,_e)||Do?mi(yr):He.protectedKeys[yr]=!0:Ze!==void 0?mi(yr):me.add(yr):Ze!==void 0&&me.has(yr)?mi(yr):He.protectedKeys[yr]=!0)}He.prevProp=dt,He.prevResolvedValues=Kr,He.isActive&&(ye=r.__assign(r.__assign({},ye),Kr)),I&&p.blockInitialAnimation&&(Fo=!1),Fo&&!Ar&&ie.push.apply(ie,r.__spreadArray([],r.__read(Lo.map(function(Re){return{animation:Re,options:r.__assign({type:Fe},K)}})),!1))},Ne=0;Ne=3;if(!(!ee&&!te)){var ie=J.point,me=l.getFrameData().timestamp;I.history.push(r.__assign(r.__assign({},ie),{timestamp:me}));var ye=I.handlers,Te=ye.onStart,Ie=ye.onMove;ee||(Te&&Te(I.lastMoveEvent,J),I.startEvent=I.lastMoveEvent),Ie&&Ie(I.lastMoveEvent,J)}}},this.handlePointerMove=function(J,ee){if(I.lastMoveEvent=J,I.lastMoveEventInfo=dh(ee,I.transformPagePoint),Nn(J)&&J.buttons===0){I.handlePointerUp(J,ee);return}O.default.update(I.updatePoint,!0)},this.handlePointerUp=function(J,ee){I.end();var te=I.handlers,ie=te.onEnd,me=te.onSessionEnd,ye=fh(dh(ee,I.transformPagePoint),I.history);I.startEvent&&ie&&ie(J,ye),me&&me(J,ye)},!(Mo(x)&&x.touches.length>1)){this.handlers=S,this.transformPagePoint=z;var j=Bp(x),U=dh(j,this.transformPagePoint),W=U.point,K=l.getFrameData().timestamp;this.history=[r.__assign(r.__assign({},W),{timestamp:K})];var Z=S.onSessionStart;Z&&Z(x,fh(U,this.history)),this.removeListeners=i.pipe(wa(window,"pointermove",this.handlePointerMove),wa(window,"pointerup",this.handlePointerUp),wa(window,"pointercancel",this.handlePointerUp))}}return p.prototype.updateHandlers=function(x){this.handlers=x},p.prototype.end=function(){this.removeListeners&&this.removeListeners(),l.cancelSync.update(this.updatePoint)},p}();function dh(p,x){return x?{point:x(p.point)}:p}function jy(p,x){return{x:p.x-x.x,y:p.y-x.y}}function fh(p,x){var S=p.point;return{point:S,delta:jy(S,Dy(x)),offset:jy(S,zT(x)),velocity:VT(x,.1)}}function zT(p){return p[0]}function Dy(p){return p[p.length-1]}function VT(p,x){if(p.length<2)return{x:0,y:0};for(var S=p.length-1,M=null,I=Dy(p);S>=0&&(M=p[S],!(I.timestamp-M.timestamp>Sc(x)));)S--;if(!M)return{x:0,y:0};var L=(I.timestamp-M.timestamp)/1e3;if(L===0)return{x:0,y:0};var z={x:(I.x-M.x)/L,y:(I.y-M.y)/L};return z.x===1/0&&(z.x=0),z.y===1/0&&(z.y=0),z}function jn(p){return p.max-p.min}function Fy(p,x,S){return x===void 0&&(x=0),S===void 0&&(S=.01),i.distance(p,x)I&&(p=S?i.mix(I,p,S.max):Math.min(p,I)),p}function $y(p,x,S){return{min:x!==void 0?p.min+x:void 0,max:S!==void 0?p.max+S-(p.max-p.min):void 0}}function WT(p,x){var S=x.top,M=x.left,I=x.bottom,L=x.right;return{x:$y(p.x,M,L),y:$y(p.y,S,I)}}function Uy(p,x){var S,M=x.min-p.min,I=x.max-p.max;return x.max-x.minM?S=i.progress(x.min,x.max-M,p.min):M>I&&(S=i.progress(p.min,p.max-I,x.min)),i.clamp(0,1,S)}function GT(p,x){var S={};return x.min!==void 0&&(S.min=x.min-p.min),x.max!==void 0&&(S.max=x.max-p.min),S}var ph=.35;function qT(p){return p===void 0&&(p=ph),p===!1?p=0:p===!0&&(p=ph),{x:Wy(p,"left","right"),y:Wy(p,"top","bottom")}}function Wy(p,x,S){return{min:By(p,x),max:By(p,S)}}function By(p,x){var S;return typeof p=="number"?p:(S=p[x])!==null&&S!==void 0?S:0}var Hy=function(){return{translate:0,scale:1,origin:0,originPoint:0}},is=function(){return{x:Hy(),y:Hy()}},Gy=function(){return{min:0,max:0}},zt=function(){return{x:Gy(),y:Gy()}};function Dn(p){return[p("x"),p("y")]}function qy(p){var x=p.top,S=p.left,M=p.right,I=p.bottom;return{x:{min:S,max:M},y:{min:x,max:I}}}function KT(p){var x=p.x,S=p.y;return{top:S.min,right:x.max,bottom:S.max,left:x.min}}function XT(p,x){if(!x)return p;var S=x({x:p.left,y:p.top}),M=x({x:p.right,y:p.bottom});return{top:S.y,left:S.x,bottom:M.y,right:M.x}}function hh(p){return p===void 0||p===1}function Ky(p){var x=p.scale,S=p.scaleX,M=p.scaleY;return!hh(x)||!hh(S)||!hh(M)}function Io(p){return Ky(p)||Xy(p.x)||Xy(p.y)||p.z||p.rotate||p.rotateX||p.rotateY}function Xy(p){return p&&p!=="0%"}function kc(p,x,S){var M=p-S,I=x*M;return S+I}function Yy(p,x,S,M,I){return I!==void 0&&(p=kc(p,I,M)),kc(p,S,M)+x}function gh(p,x,S,M,I){x===void 0&&(x=0),S===void 0&&(S=1),p.min=Yy(p.min,x,S,M,I),p.max=Yy(p.max,x,S,M,I)}function Zy(p,x){var S=x.x,M=x.y;gh(p.x,S.translate,S.scale,S.originPoint),gh(p.y,M.translate,M.scale,M.originPoint)}function YT(p,x,S,M){var I,L;M===void 0&&(M=!1);var z=S.length;if(z){x.x=x.y=1;for(var j,U,W=0;Wx?S="y":Math.abs(p.x)>x&&(S="x"),S}function nE(p){var x=p.dragControls,S=p.visualElement,M=ae(function(){return new tE(S)});n.useEffect(function(){return x&&x.subscribe(M)},[M,x]),n.useEffect(function(){return M.addListeners()},[M])}function oE(p){var x=p.onPan,S=p.onPanStart,M=p.onPanEnd,I=p.onPanSessionStart,L=p.visualElement,z=x||S||M||I,j=n.useRef(null),U=n.useContext(_).transformPagePoint,W={onSessionStart:I,onStart:S,onMove:x,onEnd:function(Z,J){j.current=null,M&&M(Z,J)}};n.useEffect(function(){j.current!==null&&j.current.updateHandlers(W)});function K(Z){j.current=new Ny(Z,W,{transformPagePoint:U})}Pc(L,"pointerdown",z&&K),Oc(function(){return j.current&&j.current.end()})}var e2={pan:Ao(oE),drag:Ao(nE)},Rc=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function aE(){var p=Rc.map(function(){return new rs}),x={},S={clearAllListeners:function(){return p.forEach(function(M){return M.clear()})},updatePropListeners:function(M){Rc.forEach(function(I){var L,z="on"+I,j=M[z];(L=x[I])===null||L===void 0||L.call(x),j&&(x[I]=S[z](j))})}};return p.forEach(function(M,I){S["on"+Rc[I]]=function(L){return M.add(L)},S["notify"+Rc[I]]=function(){for(var L=[],z=0;z=0?window.pageYOffset:null,W=mE(x,p,j);return L.length&&L.forEach(function(K){var Z=r.__read(K,2),J=Z[0],ee=Z[1];p.getValue(J).set(ee)}),p.syncRender(),U!==null&&window.scrollTo({top:U}),{target:W,transitionEnd:M}}else return{target:x,transitionEnd:M}};function bE(p,x,S,M){return fE(x)?vE(p,x,S,M):{target:x,transitionEnd:M}}var yE=function(p,x,S,M){var I=cE(p,x,M);return x=I.target,M=I.transitionEnd,bE(p,x,S,M)};function wE(p){return window.getComputedStyle(p)}var u2={treeType:"dom",readValueFromInstance:function(p,x){if(Mr(x)){var S=Jp(x);return S&&S.default||0}else{var M=wE(p);return(ql(x)?M.getPropertyValue(x):M[x])||0}},sortNodePosition:function(p,x){return p.compareDocumentPosition(x)&2?1:-1},getBaseTarget:function(p,x){var S;return(S=p.style)===null||S===void 0?void 0:S[x]},measureViewportBox:function(p,x){var S=x.transformPagePoint;return Qy(p,S)},resetTransform:function(p,x,S){var M=S.transformTemplate;x.style.transform=M?M({},""):"none",p.scheduleRender()},restoreTransform:function(p,x){p.style.transform=x.style.transform},removeValueFromRenderState:function(p,x){var S=x.vars,M=x.style;delete S[p],delete M[p]},makeTargetAnimatable:function(p,x,S,M){var I=S.transformValues;M===void 0&&(M=!0);var L=x.transition,z=x.transitionEnd,j=r.__rest(x,["transition","transitionEnd"]),U=Ay(j,L||{},p);if(I&&(z&&(z=I(z)),j&&(j=I(j)),U&&(U=I(U))),M){lh(p,j,U);var W=yE(p,j,U,z);z=W.transitionEnd,j=W.target}return r.__assign({transition:L,transitionEnd:z},j)},scrapeMotionValuesFromProps:di,build:function(p,x,S,M,I){p.isVisible!==void 0&&(x.style.visibility=p.isVisible?"visible":"hidden"),cr(x,S,M,I.transformTemplate)},render:Jl},_E=Ac(u2),xE=Ac(r.__assign(r.__assign({},u2),{getBaseTarget:function(p,x){return p[x]},readValueFromInstance:function(p,x){var S;return Mr(x)?((S=Jp(x))===null||S===void 0?void 0:S.default)||0:(x=Ql.has(x)?x:bc(x),p.getAttribute(x))},scrapeMotionValuesFromProps:wc,build:function(p,x,S,M,I){ui(x,S,M,I.transformTemplate)},render:yc})),bh=function(p,x){return ut(p)?xE(x,{enableHardwareAcceleration:!1}):_E(x,{enableHardwareAcceleration:!0})};function c2(p,x){return x.max===x.min?0:p/(x.max-x.min)*100}var ls={correct:function(p,x){if(!x.target)return p;if(typeof p=="string")if(a.px.test(p))p=parseFloat(p);else return p;var S=c2(p,x.target.x),M=c2(p,x.target.y);return"".concat(S,"% ").concat(M,"%")}},d2="_$css",CE={correct:function(p,x){var S=x.treeScale,M=x.projectionDelta,I=p,L=p.includes("var("),z=[];L&&(p=p.replace(r2,function(ie){return z.push(ie),d2}));var j=a.complex.parse(p);if(j.length>5)return I;var U=a.complex.createTransformer(p),W=typeof j[0]!="number"?1:0,K=M.x.scale*S.x,Z=M.y.scale*S.y;j[0+W]/=K,j[1+W]/=Z;var J=i.mix(K,Z,.5);typeof j[2+W]=="number"&&(j[2+W]/=J),typeof j[3+W]=="number"&&(j[3+W]/=J);var ee=U(j);if(L){var te=0;ee=ee.replace(d2,function(){var ie=z[te];return te++,ie})}return ee}},PE=function(p){r.__extends(x,p);function x(){return p!==null&&p.apply(this,arguments)||this}return x.prototype.componentDidMount=function(){var S=this,M=this.props,I=M.visualElement,L=M.layoutGroup,z=M.switchLayoutGroup,j=M.layoutId,U=I.projection;ur(SE),U&&(L!=null&&L.group&&L.group.add(U),z!=null&&z.register&&j&&z.register(U),U.root.didUpdate(),U.addEventListener("animationComplete",function(){S.safeToRemove()}),U.setOptions(r.__assign(r.__assign({},U.options),{onExitComplete:function(){return S.safeToRemove()}}))),ge.hasEverUpdated=!0},x.prototype.getSnapshotBeforeUpdate=function(S){var M=this,I=this.props,L=I.layoutDependency,z=I.visualElement,j=I.drag,U=I.isPresent,W=z.projection;return W&&(W.isPresent=U,j||S.layoutDependency!==L||L===void 0?W.willUpdate():this.safeToRemove(),S.isPresent!==U&&(U?W.promote():W.relegate()||O.default.postRender(function(){var K;!((K=W.getStack())===null||K===void 0)&&K.members.length||M.safeToRemove()}))),null},x.prototype.componentDidUpdate=function(){var S=this.props.visualElement.projection;S&&(S.root.didUpdate(),!S.currentAnimation&&S.isLead()&&this.safeToRemove())},x.prototype.componentWillUnmount=function(){var S=this.props,M=S.visualElement,I=S.layoutGroup,L=S.switchLayoutGroup,z=M.projection;z&&(z.scheduleCheckAfterUnmount(),I!=null&&I.group&&I.group.remove(z),L!=null&&L.deregister&&L.deregister(z))},x.prototype.safeToRemove=function(){var S=this.props.safeToRemove;S==null||S()},x.prototype.render=function(){return null},x}(P.default.Component);function OE(p){var x=r.__read(Yp(),2),S=x[0],M=x[1],I=n.useContext(Pe);return P.default.createElement(PE,r.__assign({},p,{layoutGroup:I,switchLayoutGroup:n.useContext(Le),isPresent:S,safeToRemove:M}))}var SE={borderRadius:r.__assign(r.__assign({},ls),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ls,borderTopRightRadius:ls,borderBottomLeftRadius:ls,borderBottomRightRadius:ls,boxShadow:CE},f2={measureLayout:OE};function p2(p,x,S){S===void 0&&(S={});var M=Jt(p)?p:Gr(p);return rh("",M,x,S),{stop:function(){return M.stop()},isAnimating:function(){return M.isAnimating()}}}var h2=["TopLeft","TopRight","BottomLeft","BottomRight"],TE=h2.length,g2=function(p){return typeof p=="string"?parseFloat(p):p},m2=function(p){return typeof p=="number"||a.px.test(p)};function EE(p,x,S,M,I,L){var z,j,U,W;I?(p.opacity=i.mix(0,(z=S.opacity)!==null&&z!==void 0?z:1,kE(M)),p.opacityExit=i.mix((j=x.opacity)!==null&&j!==void 0?j:1,0,ME(M))):L&&(p.opacity=i.mix((U=x.opacity)!==null&&U!==void 0?U:1,(W=S.opacity)!==null&&W!==void 0?W:1,M));for(var K=0;Kx?1:S(i.progress(p,x,M))}}function y2(p,x){p.min=x.min,p.max=x.max}function fn(p,x){y2(p.x,x.x),y2(p.y,x.y)}function w2(p,x,S,M,I){return p-=x,p=kc(p,1/S,M),I!==void 0&&(p=kc(p,1/I,M)),p}function RE(p,x,S,M,I,L,z){if(x===void 0&&(x=0),S===void 0&&(S=1),M===void 0&&(M=.5),L===void 0&&(L=p),z===void 0&&(z=p),a.percent.test(x)){x=parseFloat(x);var j=i.mix(z.min,z.max,x/100);x=j-z.min}if(typeof x=="number"){var U=i.mix(L.min,L.max,M);p===L&&(U-=x),p.min=w2(p.min,x,S,U,I),p.max=w2(p.max,x,S,U,I)}}function _2(p,x,S,M,I){var L=r.__read(S,3),z=L[0],j=L[1],U=L[2];RE(p,x[z],x[j],x[U],x.scale,M,I)}var AE=["x","scaleX","originX"],IE=["y","scaleY","originY"];function x2(p,x,S,M){_2(p.x,x,AE,S==null?void 0:S.x,M==null?void 0:M.x),_2(p.y,x,IE,S==null?void 0:S.y,M==null?void 0:M.y)}function C2(p){return p.translate===0&&p.scale===1}function P2(p){return C2(p.x)&&C2(p.y)}function O2(p,x){return p.x.min===x.x.min&&p.x.max===x.x.max&&p.y.min===x.y.min&&p.y.max===x.y.max}var NE=function(){function p(){this.members=[]}return p.prototype.add=function(x){nh(this.members,x),x.scheduleRender()},p.prototype.remove=function(x){if(oh(this.members,x),x===this.prevLead&&(this.prevLead=void 0),x===this.lead){var S=this.members[this.members.length-1];S&&this.promote(S)}},p.prototype.relegate=function(x){var S=this.members.findIndex(function(z){return x===z});if(S===0)return!1;for(var M,I=S;I>=0;I--){var L=this.members[I];if(L.isPresent!==!1){M=L;break}}return M?(this.promote(M),!0):!1},p.prototype.promote=function(x,S){var M,I=this.lead;if(x!==I&&(this.prevLead=I,this.lead=x,x.show(),I)){I.instance&&I.scheduleRender(),x.scheduleRender(),x.resumeFrom=I,S&&(x.resumeFrom.preserveOpacity=!0),I.snapshot&&(x.snapshot=I.snapshot,x.snapshot.latestValues=I.animationValues||I.latestValues,x.snapshot.isShared=!0),!((M=x.root)===null||M===void 0)&&M.isUpdating&&(x.isLayoutDirty=!0);var L=x.options.crossfade;L===!1&&I.hide()}},p.prototype.exitAnimationComplete=function(){this.members.forEach(function(x){var S,M,I,L,z;(M=(S=x.options).onExitComplete)===null||M===void 0||M.call(S),(z=(I=x.resumingFrom)===null||I===void 0?void 0:(L=I.options).onExitComplete)===null||z===void 0||z.call(L)})},p.prototype.scheduleRender=function(){this.members.forEach(function(x){x.instance&&x.scheduleRender(!1)})},p.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},p}(),jE="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function S2(p,x,S){var M=p.x.translate/x.x,I=p.y.translate/x.y,L="translate3d(".concat(M,"px, ").concat(I,"px, 0) ");if(L+="scale(".concat(1/x.x,", ").concat(1/x.y,") "),S){var z=S.rotate,j=S.rotateX,U=S.rotateY;z&&(L+="rotate(".concat(z,"deg) ")),j&&(L+="rotateX(".concat(j,"deg) ")),U&&(L+="rotateY(".concat(U,"deg) "))}var W=p.x.scale*x.x,K=p.y.scale*x.y;return L+="scale(".concat(W,", ").concat(K,")"),L===jE?"none":L}var DE=function(p,x){return p.depth-x.depth},T2=function(){function p(){this.children=[],this.isDirty=!1}return p.prototype.add=function(x){nh(this.children,x),this.isDirty=!0},p.prototype.remove=function(x){oh(this.children,x),this.isDirty=!0},p.prototype.forEach=function(x){this.isDirty&&this.children.sort(DE),this.isDirty=!1,this.children.forEach(x)},p}(),E2=1e3;function k2(p){var x=p.attachResizeListener,S=p.defaultParent,M=p.measureScroll,I=p.checkIsScrollRoot,L=p.resetTransform;return function(){function z(j,U,W){var K=this;U===void 0&&(U={}),W===void 0&&(W=S==null?void 0:S()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){K.isUpdating&&(K.isUpdating=!1,K.clearAllSnapshots())},this.updateProjection=function(){K.nodes.forEach(UE),K.nodes.forEach(WE)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=j,this.latestValues=U,this.root=W?W.root||W:this,this.path=W?r.__spreadArray(r.__spreadArray([],r.__read(W.path),!1),[W],!1):[],this.parent=W,this.depth=W?W.depth+1:0,j&&this.root.registerPotentialNode(j,this);for(var Z=0;Z=0;M--)if(p.path[M].instance){S=p.path[M];break}var I=S&&S!==p.root?S.instance:document,L=I.querySelector('[data-projection-id="'.concat(x,'"]'));L&&p.mount(L,!0)}function I2(p){p.min=Math.round(p.min),p.max=Math.round(p.max)}function N2(p){I2(p.x),I2(p.y)}var YE=k2({attachResizeListener:function(p,x){return ct(p,"resize",x)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Ca={current:void 0},yh=k2({measureScroll:function(p){return{x:p.scrollLeft,y:p.scrollTop}},defaultParent:function(){if(!Ca.current){var p=new YE(0,{});p.mount(window),p.setOptions({layoutScroll:!0}),Ca.current=p}return Ca.current},resetTransform:function(p,x){p.style.transform=x??"none"},checkIsScrollRoot:function(p){return window.getComputedStyle(p).position==="fixed"}}),j2=r.__assign(r.__assign(r.__assign(r.__assign({},ch),yy),e2),f2),wh=xt(function(p,x){return fi(p,x,j2,bh,yh)});function ZE(p){return ze(fi(p,{forwardMotionProps:!1},j2,bh,yh))}var JE=xt(fi);function D2(){var p=n.useRef(!1);return A(function(){return p.current=!0,function(){p.current=!1}},[]),p}function Nc(){var p=D2(),x=r.__read(n.useState(0),2),S=x[0],M=x[1],I=n.useCallback(function(){p.current&&M(S+1)},[S]),L=n.useCallback(function(){return O.default.postRender(I)},[I]);return[L,S]}var _h=function(p){var x=p.children,S=p.initial,M=p.isPresent,I=p.onExitComplete,L=p.custom,z=p.presenceAffectsLayout,j=ae(QE),U=wy(),W=n.useMemo(function(){return{id:U,initial:S,isPresent:M,custom:L,onExitComplete:function(K){var Z,J;j.set(K,!0);try{for(var ee=r.__values(j.values()),te=ee.next();!te.done;te=ee.next()){var ie=te.value;if(!ie)return}}catch(me){Z={error:me}}finally{try{te&&!te.done&&(J=ee.return)&&J.call(ee)}finally{if(Z)throw Z.error}}I==null||I()},register:function(K){return j.set(K,!1),function(){return j.delete(K)}}}},z?void 0:[M]);return n.useMemo(function(){j.forEach(function(K,Z){return j.set(Z,!1)})},[M]),w.useEffect(function(){!M&&!j.size&&(I==null||I())},[M]),w.createElement(E.Provider,{value:W},x)};function QE(){return new Map}var hi=function(p){return p.key||""};function ek(p,x){p.forEach(function(S){var M=hi(S);x.set(M,S)})}function tk(p){var x=[];return n.Children.forEach(p,function(S){n.isValidElement(S)&&x.push(S)}),x}var rk=function(p){var x=p.children,S=p.custom,M=p.initial,I=M===void 0?!0:M,L=p.onExitComplete,z=p.exitBeforeEnter,j=p.presenceAffectsLayout,U=j===void 0?!0:j,W=r.__read(Nc(),1),K=W[0],Z=n.useContext(Pe).forceRender;Z&&(K=Z);var J=D2(),ee=tk(x),te=ee,ie=new Set,me=n.useRef(te),ye=n.useRef(new Map).current,Te=n.useRef(!0);if(A(function(){Te.current=!1,ek(ee,ye),me.current=te}),Oc(function(){Te.current=!0,ye.clear(),ie.clear()}),Te.current)return w.createElement(w.Fragment,null,te.map(function(Fe){return w.createElement(_h,{key:hi(Fe),isPresent:!0,initial:I?void 0:!1,presenceAffectsLayout:U},Fe)}));te=r.__spreadArray([],r.__read(te),!1);for(var Ie=me.current.map(hi),Ne=ee.map(hi),je=Ie.length,tt=0;tt1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),w.createElement(w.Fragment,null,ie.size?te:te.map(function(Fe){return n.cloneElement(Fe)}))},F2=n.createContext(null),nk=function(p){return!p.isLayoutDirty&&p.willUpdate(!1)};function L2(){var p=new Set,x=new WeakMap,S=function(){return p.forEach(nk)};return{add:function(M){p.add(M),x.set(M,M.addEventListener("willUpdate",S))},remove:function(M){var I;p.delete(M),(I=x.get(M))===null||I===void 0||I(),x.delete(M),S()},dirty:S}}var z2=function(p){return p===!0},ok=function(p){return z2(p===!0)||p==="id"},V2=function(p){var x,S,M=p.children,I=p.id,L=p.inheritId,z=p.inherit,j=z===void 0?!0:z;L!==void 0&&(j=L);var U=n.useContext(Pe),W=n.useContext(F2),K=r.__read(Nc(),2),Z=K[0],J=K[1],ee=n.useRef(null),te=(x=U.id)!==null&&x!==void 0?x:W;ee.current===null&&(ok(j)&&te&&(I=I?te+"-"+I:te),ee.current={id:I,group:z2(j)&&(S=U==null?void 0:U.group)!==null&&S!==void 0?S:L2()});var ie=n.useMemo(function(){return r.__assign(r.__assign({},ee.current),{forceRender:Z})},[J]);return w.createElement(Pe.Provider,{value:ie},M)},ak=0,ik=function(p){var x=p.children;return w.useEffect(function(){o.warning(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")},[]),w.createElement(V2,{id:ae(function(){return"asl-".concat(ak++)})},x)};function lk(p){var x=p.children,S=p.isValidProp,M=r.__rest(p,["children","isValidProp"]);S&&hc(S),M=r.__assign(r.__assign({},n.useContext(_)),M),M.isStatic=ae(function(){return M.isStatic});var I=n.useMemo(function(){return M},[JSON.stringify(M.transition),M.transformPagePoint,M.reducedMotion]);return w.createElement(_.Provider,{value:I},x)}function sk(p){var x=p.children,S=p.features,M=p.strict,I=M===void 0?!1:M,L=r.__read(n.useState(!xh(S)),2),z=L[1],j=n.useRef(void 0);if(!xh(S)){var U=S.renderer,W=r.__rest(S,["renderer"]);j.current=U,s(W)}return n.useEffect(function(){xh(S)&&S().then(function(K){var Z=K.renderer,J=r.__rest(K,["renderer"]);s(J),j.current=Z,z(!0)})},[]),w.createElement(u.Provider,{value:{renderer:j.current,strict:I}},x)}function xh(p){return typeof p=="function"}var $2=n.createContext(null);function uk(p,x,S,M){if(!M)return p;var I=p.findIndex(function(K){return K.value===x});if(I===-1)return p;var L=M>0?1:-1,z=p[I+L];if(!z)return p;var j=p[I],U=z.layout,W=i.mix(U.min,U.max,.5);return L===1&&j.layout.max+S>W||L===-1&&j.layout.min+S.001?1/p:$k},Q2=!1;function Uk(p){var x=jo(1),S=jo(1),M=T();o.invariant(!!(p||M),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),o.warning(Q2,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),Q2=!0,p?(x=p.scaleX||x,S=p.scaleY||S):M&&(x=M.getValue("scaleX",1),S=M.getValue("scaleY",1));var I=jc(x,J2),L=jc(S,J2);return{scaleX:I,scaleY:L}}e.AnimatePresence=rk,e.AnimateSharedLayout=ik,e.DeprecatedLayoutGroupContext=F2,e.DragControls=Y2,e.FlatTree=T2,e.LayoutGroup=V2,e.LayoutGroupContext=Pe,e.LazyMotion=sk,e.MotionConfig=lk,e.MotionConfigContext=_,e.MotionContext=k,e.MotionValue=ky,e.PresenceContext=E,e.Reorder=wk,e.SwitchLayoutGroupContext=Le,e.addPointerEvent=wa,e.addScaleCorrector=ur,e.animate=p2,e.animateVisualElement=Ec,e.animationControls=K2,e.animations=ch,e.calcLength=jn,e.checkTargetForNewValues=lh,e.createBox=zt,e.createDomMotionComponent=ZE,e.createMotionComponent=ze,e.domAnimation=G2,e.domMax=_k,e.filterProps=si,e.isBrowser=R,e.isDragActive=Gp,e.isMotionValue=Jt,e.isValidMotionProp=eo,e.m=JE,e.makeUseVisualState=ko,e.motion=wh,e.motionValue=Gr,e.resolveMotionValue=ro,e.transform=U2,e.useAnimation=Mk,e.useAnimationControls=X2,e.useAnimationFrame=q2,e.useCycle=Rk,e.useDeprecatedAnimatedState=Vk,e.useDeprecatedInvertedScale=Uk,e.useDomEvent=vt,e.useDragControls=Nk,e.useElementScroll=Sk,e.useForceUpdate=Nc,e.useInView=Ak,e.useInstantLayoutTransition=Z2,e.useInstantTransition=Dk,e.useIsPresent=lT,e.useIsomorphicLayoutEffect=A,e.useMotionTemplate=xk,e.useMotionValue=jo,e.usePresence=Yp,e.useReducedMotion=G,e.useReducedMotionConfig=X,e.useResetProjection=Fk,e.useScroll=Ch,e.useSpring=Ck,e.useTime=kk,e.useTransform=jc,e.useUnmountEffect=Oc,e.useVelocity=Pk,e.useViewportScroll=Tk,e.useVisualElementContext=T,e.visualElement=Ac,e.wrapHandler=Hp})(Ht);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{AccordionBody:function(){return b},default:function(){return y}});var r=P(F),n=Ht,o=P(Ae),a=P(Yt),i=P(Se),l=Oe,f=cp,g=Ce,m=Ju;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.className,d=c.children,h=O(c,["className","children"]),v=(0,f.useAccordion)(),_=v.open,k=v.animate,T=(0,g.useTheme)().accordion,E=T.styles.base;u=u??"";var R=(0,l.twMerge)((0,o.default)((0,i.default)(E.body)),u),A={unmount:{height:"0px",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{height:"auto",transition:{duration:.2,times:[.4,0,.2,1]}}},N={unmount:{transition:{duration:.3,ease:"linear"}},mount:{transition:{duration:.3,ease:"linear"}}},D=(0,a.default)(A,k);return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement(n.m.div,{className:"overflow-hidden",initial:"unmount",exit:"unmount",animate:_?"mount":"unmount",variants:D},r.default.createElement(n.m.div,w({},h,{ref:s,className:R,initial:"unmount",exit:"unmount",animate:_?"mount":"unmount",variants:N}),d)))});b.propTypes={className:m.propTypesClassName,children:m.propTypesChildren},b.displayName="MaterialTailwind.AccordionBody";var y=b})(AC);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Accordion:function(){return y},AccordionHeader:function(){return g.AccordionHeader},AccordionBody:function(){return m.AccordionBody},useAccordion:function(){return l.useAccordion},default:function(){return c}});var r=O(F),n=O(Ae),o=Oe,a=O(Se),i=Ce,l=cp,f=Ju,g=RC,m=AC;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.open,h=s.icon,v=s.animate,_=s.className,k=s.disabled,T=s.children,E=C(s,["open","icon","animate","className","disabled","children"]),R=(0,i.useTheme)().accordion,A=R.defaultProps,N=R.styles.base;h=h??A.icon,v=v??A.animate,k=k??A.disabled,_=(0,o.twMerge)(A.className||"",_);var D=(0,o.twMerge)((0,n.default)((0,a.default)(N.container),w({},(0,a.default)(N.disabled),k)),_),$=r.default.useMemo(function(){return{open:d,icon:h,animate:v,disabled:k}},[d,h,v,k]);return r.default.createElement(l.AccordionContextProvider,{value:$},r.default.createElement("div",P({},E,{ref:u,className:D}),T))});y.propTypes={open:f.propTypesOpen,icon:f.propTypesIcon,animate:f.propTypesAnimate,disabled:f.propTypesDisabled,className:f.propTypesClassName,children:f.propTypesChildren},y.displayName="MaterialTailwind.Accordion";var c=Object.assign(y,{Header:g.AccordionHeader,Body:m.AccordionBody})})(ux);var eP={},ht={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n,o,a){var i=n.findIndex(function(l){return l===o});return i>=0?o:a}var r=t})(ht);var xp={},Vl=class{constructor(){this.x=0,this.y=0,this.z=0}findFurthestPoint(t,r,n,o,a,i){return this.x=t-n>r/2?0:r,this.y=o-i>a/2?0:a,this.z=Math.hypot(this.x-(t-n),this.y-(o-i)),this.z}appyStyles(t,r,n,o,a){t.classList.add("ripple"),t.style.backgroundColor=r==="dark"?"rgba(0,0,0, 0.2)":"rgba(255,255,255, 0.3)",t.style.borderRadius="50%",t.style.pointerEvents="none",t.style.position="absolute",t.style.left=a.clientX-n.left-o+"px",t.style.top=a.clientY-n.top-o+"px",t.style.width=t.style.height=o*2+"px"}applyAnimation(t){t.animate([{transform:"scale(0)",opacity:1},{transform:"scale(1.5)",opacity:0}],{duration:500,easing:"linear"})}create(t,r){const n=t.currentTarget;n.style.position="relative",n.style.overflow="hidden";const o=n.getBoundingClientRect(),a=this.findFurthestPoint(t.clientX,n.offsetWidth,o.left,t.clientY,n.offsetHeight,o.top),i=document.createElement("span");this.appyStyles(i,r,o,a,t),this.applyAnimation(i),n.appendChild(i),setTimeout(()=>i.remove(),500)}};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{IconButton:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Vl),a=P(Ae),i=Oe,l=P(ht),f=P(Se),g=Ce,m=Za;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.size,h=c.color,v=c.ripple,_=c.className,k=c.children;c.fullWidth;var T=O(c,["variant","size","color","ripple","className","children","fullWidth"]),E=(0,g.useTheme)().iconButton,R=E.valid,A=E.defaultProps,N=E.styles,D=N.base,$=N.variants,G=N.sizes;u=u??A.variant,d=d??A.size,h=h??A.color,v=v??A.ripple,_=(0,i.twMerge)(A.className||"",_);var X=v!==void 0&&new o.default,H=(0,f.default)(D),V=(0,f.default)($[(0,l.default)(R.variants,u,"filled")][(0,l.default)(R.colors,h,"gray")]),B=(0,f.default)(G[(0,l.default)(R.sizes,d,"md")]),q=(0,i.twMerge)((0,a.default)(H,B,V),_);return r.default.createElement("button",w({},T,{ref:s,className:q,type:T.type||"button",onMouseDown:function(Y){var ne=T==null?void 0:T.onMouseDown;return v&&X.create(Y,(u==="filled"||u==="gradient")&&h!=="white"?"light":"dark"),typeof ne=="function"&&ne(Y)}}),r.default.createElement("span",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform"},k))});b.propTypes={variant:n.default.oneOf(m.propTypesVariant),size:n.default.oneOf(m.propTypesSize),color:n.default.oneOf(m.propTypesColor),ripple:m.propTypesRipple,className:m.propTypesClassName,children:m.propTypesChildren},b.displayName="MaterialTailwind.IconButton";var y=b})(xp);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,d){for(var h in d)Object.defineProperty(u,h,{enumerable:!0,get:d[h]})}t(e,{Alert:function(){return c},default:function(){return s}});var r=C(F),n=C(Ee),o=Ht,a=C(Ae),i=C(Yt),l=Oe,f=C(ht),g=C(Se),m=Ce,w=Hb,P=C(xp);function O(){return O=Object.assign||function(u){for(var d=1;d=0)&&Object.prototype.propertyIsEnumerable.call(u,v)&&(h[v]=u[v])}return h}function y(u,d){if(u==null)return{};var h={},v=Object.keys(u),_,k;for(k=0;k=0)&&(h[_]=u[_]);return h}var c=r.default.forwardRef(function(u,d){var h=u.variant,v=u.color,_=u.icon,k=u.open,T=u.action,E=u.onClose,R=u.animate,A=u.className,N=u.children,D=b(u,["variant","color","icon","open","action","onClose","animate","className","children"]),$=(0,m.useTheme)().alert,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.variants;h=h??G.variant,v=v??G.color,R=R??G.animate,k=k??G.open,T=T??G.action,E=E??G.onClose,A=(0,l.twMerge)(G.className||"",A);var q=(0,g.default)(V.alert),Y=(0,g.default)(V.action),ne=(0,g.default)(B[(0,f.default)(X.variants,h,"filled")][(0,f.default)(X.colors,v,"gray")]),ce=(0,l.twMerge)((0,a.default)(q,ne),A),se=(0,a.default)(Y),re={unmount:{opacity:0},mount:{opacity:1}},pe=(0,i.default)(re,R),ue=r.default.createElement("div",{className:"shrink-0"},_),oe=o.AnimatePresence;return r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(oe,null,k&&r.default.createElement(o.m.div,O({},D,{ref:d,role:"alert",className:"".concat(ce," flex"),initial:"unmount",exit:"unmount",animate:k?"mount":"unmount",variants:pe}),_&&ue,r.default.createElement("div",{className:"".concat(_?"ml-3":""," mr-12")},N),E&&!T&&r.default.createElement(P.default,{onClick:E,size:"sm",variant:"text",color:h==="outlined"||h==="ghost"?v:"white",className:se},r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",strokeWidth:2},r.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))),T||null)))});c.propTypes={variant:n.default.oneOf(w.propTypesVariant),color:n.default.oneOf(w.propTypesColor),icon:w.propTypesIcon,open:w.propTypesOpen,action:w.propTypesAction,onClose:w.propTypesOnClose,animate:w.propTypesAnimate,className:w.propTypesClassName,children:w.propTypesChildren},c.displayName="MaterialTailwind.Alert";var s=c})(eP);var tP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Avatar:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=Oe,i=P(ht),l=P(Se),f=Ce,g=Gb;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.size,h=c.className,v=c.color,_=c.withBorder,k=O(c,["variant","size","className","color","withBorder"]),T=(0,f.useTheme)().avatar,E=T.valid,R=T.defaultProps,A=T.styles,N=A.base,D=A.variants,$=A.sizes,G=A.borderColor;u=u??R.variant,d=d??R.size,_=_??R.withBorder,v=v??R.color,h=(0,a.twMerge)(R.className||"",h);var X=(0,l.default)(D[(0,i.default)(E.variants,u,"rounded")]),H=(0,l.default)($[(0,i.default)(E.sizes,d,"md")]),V=(0,l.default)(G[(0,i.default)(E.colors,v,"gray")]),B,q=(0,a.twMerge)((0,o.default)((0,l.default)(N.initial),X,H,(B={},m(B,(0,l.default)(N.withBorder),_),m(B,V,_),B)),h);return r.default.createElement("img",w({},k,{ref:s,className:q}))});b.propTypes={variant:n.default.oneOf(g.propTypesVariant),size:n.default.oneOf(g.propTypesSize),className:g.propTypesClassName,withBorder:g.propTypesWithBorder,color:n.default.oneOf(g.propTypesColor)},b.displayName="MaterialTailwind.Avatar";var y=b})(tP);var rP={},nP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var m in g)Object.defineProperty(f,m,{enumerable:!0,get:g[m]})}t(e,{propTypesSeparator:function(){return o},propTypesFullWidth:function(){return a},propTypesClassName:function(){return i},propTypesChildren:function(){return l}});var r=n(Ee);function n(f){return f&&f.__esModule?f:{default:f}}var o=r.default.node,a=r.default.bool,i=r.default.string,l=r.default.node.isRequired})(nP);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Breadcrumbs:function(){return b},default:function(){return y}});var r=P(F),n=m(Ae),o=Oe,a=m(Se),i=Ce,l=nP;function f(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function g(){return g=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=(0,r.forwardRef)(function(c,s){var u=c.separator,d=c.fullWidth,h=c.className,v=c.children,_=O(c,["separator","fullWidth","className","children"]),k=(0,i.useTheme)().breadcrumbs,T=k.defaultProps,E=k.styles.base;u=u??T.separator,d=d??T.fullWidth,h=(0,o.twMerge)(T.className||"",h);var R=(0,n.default)((0,a.default)(E.root.initial),f({},(0,a.default)(E.root.fullWidth),d)),A=(0,o.twMerge)((0,n.default)((0,a.default)(E.list)),h),N=(0,n.default)((0,a.default)(E.item.initial)),D=(0,n.default)((0,a.default)(E.separator));return r.default.createElement("nav",{"aria-label":"breadcrumb",className:R},r.default.createElement("ol",g({},_,{ref:s,className:A}),r.Children.map(v,function($,G){if((0,r.isValidElement)($)){var X;return r.default.createElement("li",{className:(0,n.default)(N,f({},(0,a.default)(E.item.disabled),$==null||(X=$.props)===null||X===void 0?void 0:X.disabled))},$,G!==r.Children.count(v)-1&&r.default.createElement("span",{className:D},u))}return null})))});b.propTypes={separator:l.propTypesSeparator,fullWidth:l.propTypesFullWidth,className:l.propTypesClassName,children:l.propTypesChildren},b.displayName="MaterialTailwind.Breadcrumbs";var y=b})(rP);var oP={},E1={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Spinner:function(){return y},default:function(){return c}});var r=w(Ee),n=O(F),o=w(Ae),a=Oe,i=w(ht),l=w(Se),f=Ce,g=a1;function m(){return m=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=(0,n.forwardRef)(function(s,u){var d=s.color,h=s.className,v=C(s,["color","className"]),_=(0,f.useTheme)().spinner,k=_.defaultProps,T=_.valid,E=_.styles,R=E.base,A=E.colors;d=d??k.color,h=(0,a.twMerge)(k.className||"",h);var N=(0,l.default)(A[(0,i.default)(T.colors,d,"gray")]),D=(0,a.twMerge)((0,o.default)((0,l.default)(R)),h),$,G;return n.default.createElement("svg",m({},v,{ref:u,className:D,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:($=v==null?void 0:v.width)!==null&&$!==void 0?$:24,height:(G=v==null?void 0:v.height)!==null&&G!==void 0?G:24}),n.default.createElement("path",{d:"M32 3C35.8083 3 39.5794 3.75011 43.0978 5.20749C46.6163 6.66488 49.8132 8.80101 52.5061 11.4939C55.199 14.1868 57.3351 17.3837 58.7925 20.9022C60.2499 24.4206 61 28.1917 61 32C61 35.8083 60.2499 39.5794 58.7925 43.0978C57.3351 46.6163 55.199 49.8132 52.5061 52.5061C49.8132 55.199 46.6163 57.3351 43.0978 58.7925C39.5794 60.2499 35.8083 61 32 61C28.1917 61 24.4206 60.2499 20.9022 58.7925C17.3837 57.3351 14.1868 55.199 11.4939 52.5061C8.801 49.8132 6.66487 46.6163 5.20749 43.0978C3.7501 39.5794 3 35.8083 3 32C3 28.1917 3.75011 24.4206 5.2075 20.9022C6.66489 17.3837 8.80101 14.1868 11.4939 11.4939C14.1868 8.80099 17.3838 6.66487 20.9022 5.20749C24.4206 3.7501 28.1917 3 32 3L32 3Z",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),n.default.createElement("path",{d:"M32 3C36.5778 3 41.0906 4.08374 45.1692 6.16256C49.2477 8.24138 52.7762 11.2562 55.466 14.9605C58.1558 18.6647 59.9304 22.9531 60.6448 27.4748C61.3591 31.9965 60.9928 36.6232 59.5759 40.9762",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round",className:N}))});y.propTypes={color:r.default.oneOf(g.propTypesColor),className:g.propTypesClassName},y.displayName="MaterialTailwind.Spinner";var c=y})(E1);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,d){for(var h in d)Object.defineProperty(u,h,{enumerable:!0,get:d[h]})}t(e,{Button:function(){return c},default:function(){return s}});var r=C(F),n=C(Ee),o=C(Vl),a=C(Ae),i=Oe,l=C(ht),f=C(Se),g=Ce,m=C(E1),w=Za;function P(u,d,h){return d in u?Object.defineProperty(u,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):u[d]=h,u}function O(){return O=Object.assign||function(u){for(var d=1;d=0)&&Object.prototype.propertyIsEnumerable.call(u,v)&&(h[v]=u[v])}return h}function y(u,d){if(u==null)return{};var h={},v=Object.keys(u),_,k;for(k=0;k=0)&&(h[_]=u[_]);return h}var c=r.default.forwardRef(function(u,d){var h=u.variant,v=u.size,_=u.color,k=u.fullWidth,T=u.ripple,E=u.className,R=u.children,A=u.loading,N=b(u,["variant","size","color","fullWidth","ripple","className","children","loading"]),D=(0,g.useTheme)().button,$=D.valid,G=D.defaultProps,X=D.styles,H=X.base,V=X.variants,B=X.sizes;h=h??G.variant,v=v??G.size,_=_??G.color,k=k??G.fullWidth,T=T??G.ripple,E=(0,i.twMerge)(G.className||"",E);var q=T!==void 0&&new o.default,Y=(0,f.default)(H.initial),ne=(0,f.default)(V[(0,l.default)($.variants,h,"filled")][(0,l.default)($.colors,_,"gray")]),ce=(0,f.default)(B[(0,l.default)($.sizes,v,"md")]),se=(0,i.twMerge)((0,a.default)(Y,ce,ne,P({},(0,f.default)(H.fullWidth),k),{"flex items-center gap-2":A,"gap-3":v==="lg"}),E),re=(0,i.twMerge)((0,a.default)({"w-4 h-4":!0,"w-5 h-5":v==="lg"})),pe;return r.default.createElement("button",O({},N,{disabled:(pe=N.disabled)!==null&&pe!==void 0?pe:A,ref:d,className:se,type:N.type||"button",onMouseDown:function(ue){var oe=N==null?void 0:N.onMouseDown;return T&&q.create(ue,(h==="filled"||h==="gradient")&&_!=="white"?"light":"dark"),typeof oe=="function"&&oe(ue)}}),A&&r.default.createElement(m.default,{className:re}),R)});c.propTypes={variant:n.default.oneOf(w.propTypesVariant),size:n.default.oneOf(w.propTypesSize),color:n.default.oneOf(w.propTypesColor),fullWidth:w.propTypesFullWidth,ripple:w.propTypesRipple,className:w.propTypesClassName,children:w.propTypesChildren,loading:w.propTypesLoading},c.displayName="MaterialTailwind.Button";var s=c})(oP);var aP={},iP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{CardHeader:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=Oe,i=P(ht),l=P(Se),f=Ce,g=Ja;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.color,h=c.shadow,v=c.floated,_=c.className,k=c.children,T=O(c,["variant","color","shadow","floated","className","children"]),E=(0,f.useTheme)().cardHeader,R=E.defaultProps,A=E.styles,N=E.valid,D=A.base,$=A.variants;u=u??R.variant,d=d??R.color,h=h??R.shadow,v=v??R.floated,_=(0,a.twMerge)(R.className||"",_);var G=(0,l.default)(D.initial),X=(0,l.default)($[(0,i.default)(N.variants,u,"filled")][(0,i.default)(N.colors,d,"white")]),H=(0,a.twMerge)((0,o.default)(G,X,m({},(0,l.default)(D.shadow),h),m({},(0,l.default)(D.floated),v)),_);return r.default.createElement("div",w({},T,{ref:s,className:H}),k)});b.propTypes={variant:n.default.oneOf(g.propTypesVariant),color:n.default.oneOf(g.propTypesColor),shadow:g.propTypesShadow,floated:g.propTypesFloated,className:g.propTypesClassName,children:g.propTypesChildren},b.displayName="MaterialTailwind.CardHeader";var y=b})(iP);var lP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{CardBody:function(){return P},default:function(){return O}});var r=g(F),n=g(Ae),o=Oe,a=g(Se),i=Ce,l=Ja;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,i.useTheme)().cardBody,d=u.defaultProps,h=u.styles.base;y=(0,o.twMerge)(d.className||"",y);var v=(0,o.twMerge)((0,n.default)((0,a.default)(h)),y);return r.default.createElement("div",f({},s,{ref:b,className:v}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.CardBody";var O=P})(lP);var sP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,y){for(var c in y)Object.defineProperty(b,c,{enumerable:!0,get:y[c]})}t(e,{CardFooter:function(){return O},default:function(){return C}});var r=m(F),n=m(Ae),o=Oe,a=m(Se),i=Ce,l=Ja;function f(b,y,c){return y in b?Object.defineProperty(b,y,{value:c,enumerable:!0,configurable:!0,writable:!0}):b[y]=c,b}function g(){return g=Object.assign||function(b){for(var y=1;y=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.divider,s=b.className,u=b.children,d=w(b,["divider","className","children"]),h=(0,i.useTheme)().cardFooter,v=h.defaultProps,_=h.styles.base;c=c??v.divider,s=(0,o.twMerge)(v.className||"",s);var k=(0,o.twMerge)((0,n.default)((0,a.default)(_.initial),f({},(0,a.default)(_.divider),c)),s);return r.default.createElement("div",g({},d,{ref:y,className:k}),u)});O.propTypes={divider:l.propTypesDivider,className:l.propTypesClassName,children:l.propTypesChildren},O.displayName="MaterialTailwind.CardFooter";var C=O})(sP);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{Card:function(){return s},CardHeader:function(){return g.CardHeader},CardBody:function(){return m.CardBody},CardFooter:function(){return w.CardFooter},default:function(){return u}});var r=b(F),n=b(Ee),o=b(Ae),a=Oe,i=b(ht),l=b(Se),f=Ce,g=iP,m=lP,w=sP,P=Ja;function O(d,h,v){return h in d?Object.defineProperty(d,h,{value:v,enumerable:!0,configurable:!0,writable:!0}):d[h]=v,d}function C(){return C=Object.assign||function(d){for(var h=1;h=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function c(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}var s=r.default.forwardRef(function(d,h){var v=d.variant,_=d.color,k=d.shadow,T=d.className,E=d.children,R=y(d,["variant","color","shadow","className","children"]),A=(0,f.useTheme)().card,N=A.defaultProps,D=A.styles,$=A.valid,G=D.base,X=D.variants;v=v??N.variant,_=_??N.color,k=k??N.shadow,T=(0,a.twMerge)(N.className||"",T);var H=(0,l.default)(G.initial),V=(0,l.default)(X[(0,i.default)($.variants,v,"filled")][(0,i.default)($.colors,_,"white")]),B=(0,a.twMerge)((0,o.default)(H,V,O({},(0,l.default)(G.shadow),k)),T);return r.default.createElement("div",C({},R,{ref:h,className:B}),E)});s.propTypes={variant:n.default.oneOf(P.propTypesVariant),color:n.default.oneOf(P.propTypesColor),shadow:P.propTypesShadow,className:P.propTypesClassName,children:P.propTypesChildren},s.displayName="MaterialTailwind.Card";var u=Object.assign(s,{Header:g.CardHeader,Body:m.CardBody,Footer:w.CardFooter})})(aP);var uP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Checkbox:function(){return y},default:function(){return c}});var r=O(F),n=O(Ee),o=O(Vl),a=O(Ae),i=Oe,l=O(ht),f=O(Se),g=Ce,m=Qa;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.color,h=s.label,v=s.icon,_=s.ripple,k=s.className,T=s.disabled,E=s.containerProps,R=s.labelProps,A=s.iconProps,N=s.inputRef,D=C(s,["color","label","icon","ripple","className","disabled","containerProps","labelProps","iconProps","inputRef"]),$=(0,g.useTheme)().checkbox,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.colors,q=r.default.useId();d=d??G.color,h=h??G.label,v=v??G.icon,_=_??G.ripple,T=T??G.disabled,E=E??G.containerProps,R=R??G.labelProps,A=A??G.iconProps,k=(0,i.twMerge)(G.className||"",k);var Y=_!==void 0&&new o.default,ne=(0,a.default)((0,f.default)(V.root),w({},(0,f.default)(V.disabled),T)),ce=(0,i.twMerge)((0,a.default)((0,f.default)(V.container)),E==null?void 0:E.className),se=(0,i.twMerge)((0,a.default)((0,f.default)(V.input),(0,f.default)(B[(0,l.default)(X.colors,d,"gray")])),k),re=(0,i.twMerge)((0,a.default)((0,f.default)(V.label)),R==null?void 0:R.className),pe=(0,i.twMerge)((0,a.default)((0,f.default)(V.icon)),A==null?void 0:A.className);return r.default.createElement("div",{ref:u,className:ne},r.default.createElement("label",P({},E,{className:ce,htmlFor:D.id||q,onMouseDown:function(ue){var oe=E==null?void 0:E.onMouseDown;return _&&Y.create(ue,"dark"),typeof oe=="function"&&oe(ue)}}),r.default.createElement("input",P({},D,{ref:N,type:"checkbox",disabled:T,className:se,id:D.id||q})),r.default.createElement("span",{className:pe},v||r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor",stroke:"currentColor",strokeWidth:1},r.default.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})))),h&&r.default.createElement("label",P({},R,{className:re,htmlFor:D.id||q}),h))});y.propTypes={color:n.default.oneOf(m.propTypesColor),label:m.propTypesLabel,icon:m.propTypesIcon,ripple:m.propTypesRipple,className:m.propTypesClassName,disabled:m.propTypesDisabled,containerProps:m.propTypesObject,labelProps:m.propTypesObject},y.displayName="MaterialTailwind.Checkbox";var c=y})(uP);var cP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,d){for(var h in d)Object.defineProperty(u,h,{enumerable:!0,get:d[h]})}t(e,{Chip:function(){return c},default:function(){return s}});var r=C(F),n=C(Ee),o=Ht,a=C(Ae),i=C(Yt),l=Oe,f=C(ht),g=C(Se),m=Ce,w=Qb,P=C(xp);function O(){return O=Object.assign||function(u){for(var d=1;d=0)&&Object.prototype.propertyIsEnumerable.call(u,v)&&(h[v]=u[v])}return h}function y(u,d){if(u==null)return{};var h={},v=Object.keys(u),_,k;for(k=0;k=0)&&(h[_]=u[_]);return h}var c=r.default.forwardRef(function(u,d){var h=u.variant,v=u.size,_=u.color,k=u.icon,T=u.open,E=u.onClose,R=u.action,A=u.animate,N=u.className,D=u.value,$=b(u,["variant","size","color","icon","open","onClose","action","animate","className","value"]),G=(0,m.useTheme)().chip,X=G.defaultProps,H=G.valid,V=G.styles,B=V.base,q=V.variants,Y=V.sizes;h=h??X.variant,v=v??X.size,_=_??X.color,A=A??X.animate,T=T??X.open,R=R??X.action,E=E??X.onClose,N=(0,l.twMerge)(X.className||"",N);var ne=(0,g.default)(B.chip),ce=(0,g.default)(B.action),se=(0,g.default)(B.icon),re=(0,g.default)(q[(0,f.default)(H.variants,h,"filled")][(0,f.default)(H.colors,_,"gray")]),pe=(0,g.default)(Y[(0,f.default)(H.sizes,v,"md")].chip),ue=(0,g.default)(Y[(0,f.default)(H.sizes,v,"md")].action),oe=(0,g.default)(Y[(0,f.default)(H.sizes,v,"md")].icon),fe=(0,l.twMerge)((0,a.default)(ne,re,pe),N),le=(0,a.default)(ce,ue),ae=(0,a.default)(se,oe),ge=(0,a.default)({"ml-4":k&&v==="sm","ml-[18px]":k&&v==="md","ml-5":k&&v==="lg","mr-5":E}),ve={unmount:{opacity:0},mount:{opacity:1}},be=(0,i.default)(ve,A),Pe=r.default.createElement("div",{className:ae},k),Le=o.AnimatePresence;return r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(Le,null,T&&r.default.createElement(o.m.div,O({},$,{ref:d,className:fe,initial:"unmount",exit:"unmount",animate:T?"mount":"unmount",variants:be}),k&&Pe,r.default.createElement("span",{className:ge},D),E&&!R&&r.default.createElement(P.default,{onClick:E,size:"sm",variant:"text",color:h==="outlined"||h==="ghost"?_:"white",className:le},r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:(0,a.default)({"h-3.5 w-3.5":v==="sm","h-4 w-4":v==="md","h-5 w-5":v==="lg"}),strokeWidth:2},r.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))),R||null)))});c.propTypes={variant:n.default.oneOf(w.propTypesVariant),size:n.default.oneOf(w.propTypesSize),color:n.default.oneOf(w.propTypesColor),icon:w.propTypesIcon,open:w.propTypesOpen,onClose:w.propTypesOnClose,action:w.propTypesAction,animate:w.propTypesAnimate,className:w.propTypesClassName,value:w.propTypesValue},c.displayName="MaterialTailwind.Chip";var s=c})(cP);var dP={},aW=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ci=new WeakMap,ad=new WeakMap,id={},hg=0,fP=function(e){return e&&(e.host||fP(e.parentNode))},iW=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=fP(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},lW=function(e,t,r,n){var o=iW(t,Array.isArray(e)?e:[e]);id[r]||(id[r]=new WeakMap);var a=id[r],i=[],l=new Set,f=new Set(o),g=function(w){!w||l.has(w)||(l.add(w),g(w.parentNode))};o.forEach(g);var m=function(w){!w||f.has(w)||Array.prototype.forEach.call(w.children,function(P){if(l.has(P))m(P);else{var O=P.getAttribute(n),C=O!==null&&O!=="false",b=(Ci.get(P)||0)+1,y=(a.get(P)||0)+1;Ci.set(P,b),a.set(P,y),i.push(P),b===1&&C&&ad.set(P,!0),y===1&&P.setAttribute(r,"true"),C||P.setAttribute(n,"true")}})};return m(t),l.clear(),hg++,function(){i.forEach(function(w){var P=Ci.get(w)-1,O=a.get(w)-1;Ci.set(w,P),a.set(w,O),P||(ad.has(w)||w.removeAttribute(n),ad.delete(w)),O||w.removeAttribute(r)}),hg--,hg||(Ci=new WeakMap,Ci=new WeakMap,ad=new WeakMap,id={})}},sW=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||aW(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),lW(n,o,r,"aria-hidden")):function(){return null}};/*! +*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;oe&&(t=0,n=r,r=new Map)}return{get:function(a){var i=r.get(a);return i!==void 0?i:(i=n.get(a))!==void 0?(o(a,i),i):void 0},set:function(a,i){r.has(a)?r.set(a,i):o(a,i)}}}function fz(e){var t=e.separator||":";return function(r){for(var n=0,o=[],a=0,i=0;i1?t-1:0),n=1;nf.length)&&(g=f.length);for(var m=0,w=new Array(g);my.length)&&(c=y.length);for(var s=0,u=new Array(c);su.length)&&(d=u.length);for(var h=0,v=new Array(d);hs.length)&&(u=s.length);for(var d=0,h=new Array(u);d_.length)&&(k=_.length);for(var T=0,E=new Array(k);Td.length)&&(h=d.length);for(var v=0,_=new Array(h);vc.length)&&(s=c.length);for(var u=0,d=new Array(s);uh.length)&&(v=h.length);for(var _=0,k=new Array(v);_u.length)&&(d=u.length);for(var h=0,v=new Array(d);hO.length)&&(C=O.length);for(var b=0,y=new Array(C);bb.length)&&(y=b.length);for(var c=0,s=new Array(y);c"u"?l[g]=i.cloneUnlessOtherwiseSpecified(f,i):i.isMergeableObject(f)?l[g]=(0,t.default)(o[g],f,i):o.indexOf(f)===-1&&l.push(f)}),l}})(RO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{MaterialTailwindTheme:function(){return m},ThemeProvider:function(){return w},useTheme:function(){return P}});var r=g(F),n=l(Ee),o=l(Yt),a=l(Bb),i=l(RO);function l(O){return O&&O.__esModule?O:{default:O}}function f(O){if(typeof WeakMap!="function")return null;var C=new WeakMap,b=new WeakMap;return(f=function(y){return y?b:C})(O)}function g(O,C){if(!C&&O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var b=f(C);if(b&&b.has(O))return b.get(O);var y={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in O)if(s!=="default"&&Object.prototype.hasOwnProperty.call(O,s)){var u=c?Object.getOwnPropertyDescriptor(O,s):null;u&&(u.get||u.set)?Object.defineProperty(y,s,u):y[s]=O[s]}return y.default=O,b&&b.set(O,y),y}var m=(0,r.createContext)(a.default);m.displayName="MaterialTailwindThemeProvider";function w(O){var C=O.value,b=C===void 0?a.default:C,y=O.children,c=(0,o.default)(a.default,b,{arrayMerge:i.default});return r.default.createElement(m.Provider,{value:c},y)}var P=function(){return(0,r.useContext)(m)};w.propTypes={value:n.default.instanceOf(Object),children:n.default.node.isRequired}})(Ce);var c0={},Qu={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(P,O){for(var C in O)Object.defineProperty(P,C,{enumerable:!0,get:O[C]})}t(e,{propTypesOpen:function(){return a},propTypesIcon:function(){return i},propTypesAnimate:function(){return l},propTypesDisabled:function(){return f},propTypesClassName:function(){return g},propTypesValue:function(){return m},propTypesChildren:function(){return w}});var r=o(Ee),n=st;function o(P){return P&&P.__esModule?P:{default:P}}var a=r.default.bool.isRequired,i=r.default.node,l=n.propTypesAnimation,f=r.default.bool,g=r.default.string,m=r.default.instanceOf(Object).isRequired,w=r.default.node.isRequired})(Qu);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var m in g)Object.defineProperty(f,m,{enumerable:!0,get:g[m]})}t(e,{AccordionContext:function(){return a},useAccordion:function(){return i},AccordionContextProvider:function(){return l}});var r=o(F),n=Qu;function o(f){return f&&f.__esModule?f:{default:f}}var a=r.default.createContext(null);a.displayName="MaterialTailwind.AccordionContext";function i(){var f=r.default.useContext(a);if(!f)throw new Error("useAccordion() must be used within an Accordion. It happens when you use AccordionHeader or AccordionBody components outside the Accordion component.");return f}var l=function(f){var g=f.value,m=f.children;return r.default.createElement(a.Provider,{value:g},m)};l.propTypes={value:n.propTypesValue,children:n.propTypesChildren},l.displayName="MaterialTailwind.AccordionContextProvider"})(c0);var MO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{AccordionHeader:function(){return C},default:function(){return b}});var r=w(F),n=w(Ae),o=Oe,a=w(Se),i=c0,l=Ce,f=Qu;function g(y,c,s){return c in y?Object.defineProperty(y,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):y[c]=s,y}function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.className,u=y.children,d=P(y,["className","children"]),h=(0,i.useAccordion)(),v=h.open,_=h.icon,k=h.disabled,T=(0,l.useTheme)().accordion,E=T.styles.base;s=s??"";var M=(0,o.twMerge)((0,n.default)((0,a.default)(E.header.initial),g({},(0,a.default)(E.header.active),v)),s),A=(0,n.default)((0,a.default)(E.header.icon));return r.default.createElement("button",m({},d,{ref:c,type:"button",disabled:k,className:M}),u,r.default.createElement("span",{className:A},_??(v?r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},r.default.createElement("path",{fillRule:"evenodd",d:"M5 10a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1z",clipRule:"evenodd"})):r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},r.default.createElement("path",{fillRule:"evenodd",d:"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z",clipRule:"evenodd"})))))});C.propTypes={className:f.propTypesClassName,children:f.propTypesChildren},C.displayName="MaterialTailwind.AccordionHeader";var b=C})(MO);var AO={},Ht={},Wm=function(e,t){return Wm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Wm(e,t)};function IO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Wm(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ff=function(){return Ff=Object.assign||function(t){for(var r,n=1,o=arguments.length;n=0;l--)(i=e[l])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function jO(e,t){return function(r,n){t(r,n,e)}}function zz(e,t,r,n,o,a){function i(c){if(c!==void 0&&typeof c!="function")throw new TypeError("Function expected");return c}for(var l=n.kind,f=l==="getter"?"get":l==="setter"?"set":"value",g=!t&&e?n.static?e:e.prototype:null,m=t||(g?Object.getOwnPropertyDescriptor(g,n.name):{}),w,P=!1,O=r.length-1;O>=0;O--){var C={};for(var b in n)C[b]=b==="access"?{}:n[b];for(var b in n.access)C.access[b]=n.access[b];C.addInitializer=function(c){if(P)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(c||null))};var y=(0,r[O])(l==="accessor"?{get:m.get,set:m.set}:m[f],C);if(l==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(w=i(y.get))&&(m.get=w),(w=i(y.set))&&(m.set=w),(w=i(y.init))&&o.unshift(w)}else(w=i(y))&&(l==="field"?o.unshift(w):m[f]=w)}g&&Object.defineProperty(g,n.name,m),P=!0}function Vz(e,t,r){for(var n=arguments.length>2,o=0;o0&&a[a.length-1])&&(g[0]===6||g[0]===2)){r=0;continue}if(g[0]===3&&(!a||g[1]>a[0]&&g[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function iy(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,a=[],i;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(l){i={error:l}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return a}function VO(){for(var e=[],t=0;t1||l(P,O)})})}function l(P,O){try{f(n[P](O))}catch(C){w(a[0][3],C)}}function f(P){P.value instanceof yl?Promise.resolve(P.value.v).then(g,m):w(a[0][2],P)}function g(P){l("next",P)}function m(P){l("throw",P)}function w(P,O){P(O),a.shift(),a.length&&l(a[0][0],a[0][1])}}function BO(e){var t,r;return t={},n("next"),n("throw",function(o){throw o}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(o,a){t[o]=e[o]?function(i){return(r=!r)?{value:yl(e[o](i)),done:!1}:a?a(i):i}:a}}function HO(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Lf=="function"?Lf(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(i){return new Promise(function(l,f){i=e[a](i),o(l,f,i.done,i.value)})}}function o(a,i,l,f){Promise.resolve(f).then(function(g){a({value:g,done:l})},i)}}function GO(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Wz=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function qO(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&d0(t,e,r);return Wz(t,e),t}function KO(e){return e&&e.__esModule?e:{default:e}}function XO(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function YO(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r}function JO(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function QO(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if(typeof n!="function")throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var Bz=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function ZO(e){function t(n){e.error=e.hasError?new Bz(n,e.error,"An error was suppressed during disposal."):n,e.hasError=!0}function r(){for(;e.stack.length;){var n=e.stack.pop();try{var o=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(o).then(r,function(a){return t(a),r()})}catch(a){t(a)}}if(e.hasError)throw e.error}return r()}const Hz={__extends:IO,__assign:Ff,__rest:zl,__decorate:NO,__param:jO,__metadata:DO,__awaiter:FO,__generator:LO,__createBinding:d0,__exportStar:zO,__values:Lf,__read:iy,__spread:VO,__spreadArrays:$O,__spreadArray:UO,__await:yl,__asyncGenerator:WO,__asyncDelegator:BO,__asyncValues:HO,__makeTemplateObject:GO,__importStar:qO,__importDefault:KO,__classPrivateFieldGet:XO,__classPrivateFieldSet:YO,__classPrivateFieldIn:JO,__addDisposableResource:QO,__disposeResources:ZO},Gz=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:QO,get __assign(){return Ff},__asyncDelegator:BO,__asyncGenerator:WO,__asyncValues:HO,__await:yl,__awaiter:FO,__classPrivateFieldGet:XO,__classPrivateFieldIn:JO,__classPrivateFieldSet:YO,__createBinding:d0,__decorate:NO,__disposeResources:ZO,__esDecorate:zz,__exportStar:zO,__extends:IO,__generator:LO,__importDefault:KO,__importStar:qO,__makeTemplateObject:GO,__metadata:DO,__param:jO,__propKey:$z,__read:iy,__rest:zl,__runInitializers:Vz,__setFunctionName:Uz,__spread:VO,__spreadArray:UO,__spreadArrays:$O,__values:Lf,default:Hz},Symbol.toStringTag,{value:"Module"})),eS=Ml(Gz);var qz=function(){},tS=function(){};const Kz=Object.freeze(Object.defineProperty({__proto__:null,invariant:tS,warning:qz},Symbol.toStringTag,{value:"Module"})),rS=Ml(Kz);var Dt={};Object.defineProperty(Dt,"__esModule",{value:!0});const nS=(e,t)=>r=>Math.max(Math.min(r,t),e),Ks=e=>e%1?Number(e.toFixed(5)):e,Tu=/(-)?([\d]*\.?[\d])+/g,Bm=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Xz=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Zu(e){return typeof e=="string"}const ec={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ly=Object.assign(Object.assign({},ec),{transform:nS(0,1)}),Yz=Object.assign(Object.assign({},ec),{default:1}),tc=e=>({test:t=>Zu(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Jz=tc("deg"),Qi=tc("%"),Qz=tc("px"),Zz=tc("vh"),eV=tc("vw"),tV=Object.assign(Object.assign({},Qi),{parse:e=>Qi.parse(e)/100,transform:e=>Qi.transform(e*100)}),sy=(e,t)=>r=>!!(Zu(r)&&Xz.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),oS=(e,t,r)=>n=>{if(!Zu(n))return n;const[o,a,i,l]=n.match(Tu);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},Ms={test:sy("hsl","hue"),parse:oS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Qi.transform(Ks(t))+", "+Qi.transform(Ks(r))+", "+Ks(ly.transform(n))+")"},rV=nS(0,255),Fd=Object.assign(Object.assign({},ec),{transform:e=>Math.round(rV(e))}),$i={test:sy("rgb","red"),parse:oS("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Fd.transform(e)+", "+Fd.transform(t)+", "+Fd.transform(r)+", "+Ks(ly.transform(n))+")"};function nV(e){let t="",r="",n="",o="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Hm={test:sy("#"),parse:nV,transform:$i.transform},uy={test:e=>$i.test(e)||Hm.test(e)||Ms.test(e),parse:e=>$i.test(e)?$i.parse(e):Ms.test(e)?Ms.parse(e):Hm.parse(e),transform:e=>Zu(e)?e:e.hasOwnProperty("red")?$i.transform(e):Ms.transform(e)},aS="${c}",iS="${n}";function oV(e){var t,r,n,o;return isNaN(e)&&Zu(e)&&((r=(t=e.match(Tu))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((o=(n=e.match(Bm))===null||n===void 0?void 0:n.length)!==null&&o!==void 0?o:0)>0}function lS(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(Bm);n&&(r=n.length,e=e.replace(Bm,aS),t.push(...n.map(uy.parse)));const o=e.match(Tu);return o&&(e=e.replace(Tu,iS),t.push(...o.map(ec.parse))),{values:t,numColors:r,tokenised:e}}function sS(e){return lS(e).values}function uS(e){const{values:t,numColors:r,tokenised:n}=lS(e),o=t.length;return a=>{let i=n;for(let l=0;ltypeof e=="number"?0:e;function iV(e){const t=sS(e);return uS(e)(t.map(aV))}const cS={test:oV,parse:sS,createTransformer:uS,getAnimatableNone:iV},lV=new Set(["brightness","contrast","saturate","opacity"]);function sV(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(Tu)||[];if(!n)return e;const o=r.replace(n,"");let a=lV.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}const uV=/([a-z-]*)\(.*?\)/g,cV=Object.assign(Object.assign({},cS),{getAnimatableNone:e=>{const t=e.match(uV);return t?t.map(sV).join(" "):e}});Dt.alpha=ly;Dt.color=uy;Dt.complex=cS;Dt.degrees=Jz;Dt.filter=cV;Dt.hex=Hm;Dt.hsla=Ms;Dt.number=ec;Dt.percent=Qi;Dt.progressPercentage=tV;Dt.px=Qz;Dt.rgbUnit=Fd;Dt.rgba=$i;Dt.scale=Yz;Dt.vh=Zz;Dt.vw=eV;var ke={},ei={};Object.defineProperty(ei,"__esModule",{value:!0});const dS=1/60*1e3,dV=typeof performance<"u"?()=>performance.now():()=>Date.now(),fS=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(dV()),dS);function fV(e){let t=[],r=[],n=0,o=!1,a=!1;const i=new WeakSet,l={schedule:(f,g=!1,m=!1)=>{const w=m&&o,P=w?t:r;return g&&i.add(f),P.indexOf(f)===-1&&(P.push(f),w&&o&&(n=t.length)),f},cancel:f=>{const g=r.indexOf(f);g!==-1&&r.splice(g,1),i.delete(f)},process:f=>{if(o){a=!0;return}if(o=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let g=0;g(e[t]=fV(()=>Eu=!0),e),{}),hV=rc.reduce((e,t)=>{const r=f0[t];return e[t]=(n,o=!1,a=!1)=>(Eu||bV(),r.schedule(n,o,a)),e},{}),gV=rc.reduce((e,t)=>(e[t]=f0[t].cancel,e),{}),mV=rc.reduce((e,t)=>(e[t]=()=>f0[t].process(Zi),e),{}),vV=e=>f0[e].process(Zi),pS=e=>{Eu=!1,Zi.delta=Gm?dS:Math.max(Math.min(e-Zi.timestamp,pV),1),Zi.timestamp=e,qm=!0,rc.forEach(vV),qm=!1,Eu&&(Gm=!1,fS(pS))},bV=()=>{Eu=!0,Gm=!0,qm||fS(pS)},yV=()=>Zi;ei.cancelSync=gV;ei.default=hV;ei.flushSync=mV;ei.getFrameData=yV;Object.defineProperty(ke,"__esModule",{value:!0});var hS=eS,wl=rS,xn=Dt,p0=ei;function wV(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var _V=wV(p0);const ku=(e,t,r)=>Math.min(Math.max(r,e),t),lg=.001,xV=.01,n_=10,CV=.05,PV=1;function OV({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,a;wl.warning(e<=n_*1e3,"Spring duration must be 10 seconds or less");let i=1-t;i=ku(CV,PV,i),e=ku(xV,n_,e/1e3),i<1?(o=g=>{const m=g*i,w=m*e,P=m-r,O=Km(g,i),C=Math.exp(-w);return lg-P/O*C},a=g=>{const w=g*i*e,P=w*r+r,O=Math.pow(i,2)*Math.pow(g,2)*e,C=Math.exp(-w),b=Km(Math.pow(g,2),i);return(-o(g)+lg>0?-1:1)*((P-O)*C)/b}):(o=g=>{const m=Math.exp(-g*e),w=(g-r)*e+1;return-lg+m*w},a=g=>{const m=Math.exp(-g*e),w=(r-g)*(e*e);return m*w});const l=5/e,f=TV(o,a,l);if(e=e*1e3,isNaN(f))return{stiffness:100,damping:10,duration:e};{const g=Math.pow(f,2)*n;return{stiffness:g,damping:i*2*Math.sqrt(n*g),duration:e}}}const SV=12;function TV(e,t,r){let n=r;for(let o=1;oe[r]!==void 0)}function RV(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!o_(e,kV)&&o_(e,EV)){const r=OV(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function h0(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:o}=e,a=hS.__rest(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:l,damping:f,mass:g,velocity:m,duration:w,isResolvedFromDuration:P}=RV(a),O=a_,C=a_;function b(){const y=m?-(m/1e3):0,c=r-t,s=f/(2*Math.sqrt(l*g)),u=Math.sqrt(l/g)/1e3;if(o===void 0&&(o=Math.min(Math.abs(r-t)/100,.4)),s<1){const d=Km(u,s);O=h=>{const v=Math.exp(-s*u*h);return r-v*((y+s*u*c)/d*Math.sin(d*h)+c*Math.cos(d*h))},C=h=>{const v=Math.exp(-s*u*h);return s*u*v*(Math.sin(d*h)*(y+s*u*c)/d+c*Math.cos(d*h))-v*(Math.cos(d*h)*(y+s*u*c)-d*c*Math.sin(d*h))}}else if(s===1)O=d=>r-Math.exp(-u*d)*(c+(y+u*c)*d);else{const d=u*Math.sqrt(s*s-1);O=h=>{const v=Math.exp(-s*u*h),_=Math.min(d*h,300);return r-v*((y+s*u*c)*Math.sinh(_)+d*c*Math.cosh(_))/d}}}return b(),{next:y=>{const c=O(y);if(P)i.done=y>=w;else{const s=C(y)*1e3,u=Math.abs(s)<=n,d=Math.abs(r-c)<=o;i.done=u&&d}return i.value=i.done?r:c,i},flipTarget:()=>{m=-m,[t,r]=[r,t],b()}}}h0.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const a_=e=>0,cy=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},g0=(e,t,r)=>-r*e+r*t+e;function sg(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function i_({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,a=0,i=0;if(!t)o=a=i=r;else{const l=r<.5?r*(1+t):r+t-r*t,f=2*r-l;o=sg(f,l,e+1/3),a=sg(f,l,e),i=sg(f,l,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:n}}const MV=(e,t,r)=>{const n=e*e,o=t*t;return Math.sqrt(Math.max(0,r*(o-n)+n))},AV=[xn.hex,xn.rgba,xn.hsla],l_=e=>AV.find(t=>t.test(e)),s_=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,dy=(e,t)=>{let r=l_(e),n=l_(t);wl.invariant(!!r,s_(e)),wl.invariant(!!n,s_(t));let o=r.parse(e),a=n.parse(t);r===xn.hsla&&(o=i_(o),r=xn.rgba),n===xn.hsla&&(a=i_(a),n=xn.rgba);const i=Object.assign({},o);return l=>{for(const f in i)f!=="alpha"&&(i[f]=MV(o[f],a[f],l));return i.alpha=g0(o.alpha,a.alpha,l),r.transform(i)}},IV={x:0,y:0,z:0},Xm=e=>typeof e=="number",NV=(e,t)=>r=>t(e(r)),fy=(...e)=>e.reduce(NV);function gS(e,t){return Xm(e)?r=>g0(e,t,r):xn.color.test(e)?dy(e,t):py(e,t)}const mS=(e,t)=>{const r=[...e],n=r.length,o=e.map((a,i)=>gS(a,t[i]));return a=>{for(let i=0;i{const r=Object.assign(Object.assign({},e),t),n={};for(const o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=gS(e[o],t[o]));return o=>{for(const a in n)r[a]=n[a](o);return r}};function u_(e){const t=xn.complex.parse(e),r=t.length;let n=0,o=0,a=0;for(let i=0;i{const r=xn.complex.createTransformer(t),n=u_(e),o=u_(t);return n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers?fy(mS(n.parsed,o.parsed),r):(wl.warning(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i=>`${i>0?t:e}`)},DV=(e,t)=>r=>g0(e,t,r);function FV(e){if(typeof e=="number")return DV;if(typeof e=="string")return xn.color.test(e)?dy:py;if(Array.isArray(e))return mS;if(typeof e=="object")return jV}function LV(e,t,r){const n=[],o=r||FV(e[0]),a=e.length-1;for(let i=0;ir(cy(e,t,n))}function VV(e,t){const r=e.length,n=r-1;return o=>{let a=0,i=!1;if(o<=e[0]?i=!0:o>=e[n]&&(a=n-1,i=!0),!i){let f=1;for(;fo||f===n);f++);a=f-1}const l=cy(e[a],e[a+1],o);return t[a](l)}}function hy(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const a=e.length;wl.invariant(a===t.length,"Both input and output ranges must be the same length"),wl.invariant(!n||!Array.isArray(n)||n.length===a-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const i=LV(t,n,o),l=a===2?zV(e,i):VV(e,i);return r?f=>l(ku(e[0],e[a-1],f)):l}const nc=e=>t=>1-e(1-t),m0=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vS=e=>t=>Math.pow(t,e),gy=e=>t=>t*t*((e+1)*t-e),bS=e=>{const t=gy(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},yS=1.525,$V=4/11,UV=8/11,WV=9/10,wS=e=>e,my=vS(2),BV=nc(my),_S=m0(my),xS=e=>1-Math.sin(Math.acos(e)),CS=nc(xS),HV=m0(CS),vy=gy(yS),GV=nc(vy),qV=m0(vy),KV=bS(yS),XV=4356/361,YV=35442/1805,JV=16061/1805,zf=e=>{if(e===1||e===0)return e;const t=e*e;return e<$V?7.5625*t:ee<.5?.5*(1-zf(1-e*2)):.5*zf(e*2-1)+.5;function e$(e,t){return e.map(()=>t||_S).splice(0,e.length-1)}function t$(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function r$(e,t){return e.map(r=>r*t)}function Xs({from:e=0,to:t=1,ease:r,offset:n,duration:o=300}){const a={done:!1,value:e},i=Array.isArray(t)?t:[e,t],l=r$(n&&n.length===i.length?n:t$(i),o);function f(){return hy(l,i,{ease:Array.isArray(r)?r:e$(i,r)})}let g=f();return{next:m=>(a.value=g(m),a.done=m>=o,a),flipTarget:()=>{i.reverse(),g=f()}}}function PS({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:o=.5,modifyTarget:a}){const i={done:!1,value:t};let l=r*e;const f=t+l,g=a===void 0?f:a(f);return g!==f&&(l=g-t),{next:m=>{const w=-l*Math.exp(-m/n);return i.done=!(w>o||w<-o),i.value=i.done?g:g+w,i},flipTarget:()=>{}}}const c_={keyframes:Xs,spring:h0,decay:PS};function n$(e){if(Array.isArray(e.to))return Xs;if(c_[e.type])return c_[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Xs:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?h0:Xs}function OS(e,t,r=0){return e-t-r}function o$(e,t,r=0,n=!0){return n?OS(t+-e,t,r):t-(e-t)+r}function a$(e,t,r,n){return n?e>=t+r:e<=-r}const i$=e=>{const t=({delta:r})=>e(r);return{start:()=>_V.default.update(t,!0),stop:()=>p0.cancelSync.update(t)}};function SS(e){var t,r,{from:n,autoplay:o=!0,driver:a=i$,elapsed:i=0,repeat:l=0,repeatType:f="loop",repeatDelay:g=0,onPlay:m,onStop:w,onComplete:P,onRepeat:O,onUpdate:C}=e,b=hS.__rest(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:y}=b,c,s=0,u=b.duration,d,h=!1,v=!0,_;const k=n$(b);!((r=(t=k).needsInterpolation)===null||r===void 0)&&r.call(t,n,y)&&(_=hy([0,100],[n,y],{clamp:!1}),n=0,y=100);const T=k(Object.assign(Object.assign({},b),{from:n,to:y}));function E(){s++,f==="reverse"?(v=s%2===0,i=o$(i,u,g,v)):(i=OS(i,u,g),f==="mirror"&&T.flipTarget()),h=!1,O&&O()}function M(){c.stop(),P&&P()}function A(D){if(v||(D=-D),i+=D,!h){const $=T.next(Math.max(0,i));d=$.value,_&&(d=_(d)),h=v?$.done:i<=0}C==null||C(d),h&&(s===0&&(u??(u=i)),s{w==null||w(),c.stop()}}}function TS(e,t){return t?e*(1e3/t):0}function l$({from:e=0,velocity:t=0,min:r,max:n,power:o=.8,timeConstant:a=750,bounceStiffness:i=500,bounceDamping:l=10,restDelta:f=1,modifyTarget:g,driver:m,onUpdate:w,onComplete:P,onStop:O}){let C;function b(u){return r!==void 0&&un}function y(u){return r===void 0?n:n===void 0||Math.abs(r-u){var h;w==null||w(d),(h=u.onUpdate)===null||h===void 0||h.call(u,d)},onComplete:P,onStop:O}))}function s(u){c(Object.assign({type:"spring",stiffness:i,damping:l,restDelta:f},u))}if(b(e))s({from:e,velocity:t,to:y(e)});else{let u=o*t+e;typeof g<"u"&&(u=g(u));const d=y(u),h=d===r?-1:1;let v,_;const k=T=>{v=_,_=T,t=TS(T-v,p0.getFrameData().delta),(h===1&&T>d||h===-1&&TC==null?void 0:C.stop()}}const ES=e=>e*180/Math.PI,s$=(e,t=IV)=>ES(Math.atan2(t.y-e.y,t.x-e.x)),u$=(e,t)=>{let r=!0;return t===void 0&&(t=e,r=!1),n=>r?n-e+t:(e=n,r=!0,t)},c$=e=>e,by=(e=c$)=>(t,r,n)=>{const o=r-n,a=-(0-t+1)*(0-e(Math.abs(o)));return o<=0?r+a:r-a},d$=by(),f$=by(Math.sqrt),kS=e=>e*Math.PI/180,Vf=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Ym=e=>Vf(e)&&e.hasOwnProperty("z"),nd=(e,t)=>Math.abs(e-t);function p$(e,t){if(Xm(e)&&Xm(t))return nd(e,t);if(Vf(e)&&Vf(t)){const r=nd(e.x,t.x),n=nd(e.y,t.y),o=Ym(e)&&Ym(t)?nd(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}}const h$=(e,t,r)=>(t=kS(t),{x:r*Math.cos(t)+e.x,y:r*Math.sin(t)+e.y}),RS=(e,t=2)=>(t=Math.pow(10,t),Math.round(e*t)/t),MS=(e,t,r,n=0)=>RS(e+r*(t-e)/Math.max(n,r)),g$=(e=50)=>{let t=0,r=0;return n=>{const o=p0.getFrameData().timestamp,a=o!==r?o-r:0,i=a?MS(t,n,a,e):t;return r=o,t=i,i}},m$=e=>{if(typeof e=="number")return t=>Math.round(t/e)*e;{let t=0;const r=e.length;return n=>{let o=Math.abs(e[0]-n);for(t=1;to)return e[t-1];if(t===r-1)return a;o=i}}}};function v$(e,t){return e/(1e3/t)}const b$=(e,t,r)=>{const n=t-e;return((r-e)%n+n)%n+e},AS=(e,t)=>1-3*t+3*e,IS=(e,t)=>3*t-6*e,NS=e=>3*e,$f=(e,t,r)=>((AS(t,r)*e+IS(t,r))*e+NS(t))*e,jS=(e,t,r)=>3*AS(t,r)*e*e+2*IS(t,r)*e+NS(t),y$=1e-7,w$=10;function _$(e,t,r,n,o){let a,i,l=0;do i=t+(r-t)/2,a=$f(i,n,o)-e,a>0?r=i:t=i;while(Math.abs(a)>y$&&++l=C$?P$(i,w,e,r):P===0?w:_$(i,l,l+od,e,r)}return i=>i===0||i===1?i:$f(a(i),t,n)}const S$=(e,t="end")=>r=>{r=t==="end"?Math.min(r,.999):Math.max(r,.001);const n=r*e,o=t==="end"?Math.floor(n):Math.ceil(n);return ku(0,1,o/e)};ke.angle=s$;ke.animate=SS;ke.anticipate=KV;ke.applyOffset=u$;ke.attract=d$;ke.attractExpo=f$;ke.backIn=vy;ke.backInOut=qV;ke.backOut=GV;ke.bounceIn=QV;ke.bounceInOut=ZV;ke.bounceOut=zf;ke.circIn=xS;ke.circInOut=HV;ke.circOut=CS;ke.clamp=ku;ke.createAnticipate=bS;ke.createAttractor=by;ke.createBackIn=gy;ke.createExpoIn=vS;ke.cubicBezier=O$;ke.decay=PS;ke.degreesToRadians=kS;ke.distance=p$;ke.easeIn=my;ke.easeInOut=_S;ke.easeOut=BV;ke.inertia=l$;ke.interpolate=hy;ke.isPoint=Vf;ke.isPoint3D=Ym;ke.keyframes=Xs;ke.linear=wS;ke.mirrorEasing=m0;ke.mix=g0;ke.mixColor=dy;ke.mixComplex=py;ke.pipe=fy;ke.pointFromVector=h$;ke.progress=cy;ke.radiansToDegrees=ES;ke.reverseEasing=nc;ke.smooth=g$;ke.smoothFrame=MS;ke.snap=m$;ke.spring=h0;ke.steps=S$;ke.toDecimal=RS;ke.velocityPerFrame=v$;ke.velocityPerSecond=TS;ke.wrap=b$;class T${setAnimation(t){this.animation=t,t==null||t.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const ug=new WeakMap;function yy(e){return ug.has(e)||ug.set(e,{transforms:[],values:new Map}),ug.get(e)}function E$(e,t){return e.has(t)||e.set(t,new T$),e.get(t)}function DS(e,t){e.indexOf(t)===-1&&e.push(t)}function FS(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const LS=(e,t,r)=>Math.min(Math.max(r,e),t),xr={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},xo=e=>typeof e=="number",Ru=e=>Array.isArray(e)&&!xo(e[0]),k$=(e,t,r)=>{const n=t-e;return((r-e)%n+n)%n+e};function zS(e,t){return Ru(e)?e[k$(0,e.length,t)]:e}const wy=(e,t,r)=>-r*e+r*t+e,_y=()=>{},ho=e=>e,v0=(e,t,r)=>t-e===0?1:(r-e)/(t-e);function xy(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=v0(0,t,n);e.push(wy(r,1,o))}}function Cy(e){const t=[0];return xy(t,e-1),t}function VS(e,t=Cy(e.length),r=ho){const n=e.length,o=n-t.length;return o>0&&xy(t,o),a=>{let i=0;for(;iArray.isArray(e)&&xo(e[0]),Uf=e=>typeof e=="object"&&!!e.createAnimation,R$=e=>typeof e=="function",Py=e=>typeof e=="string",Ia={ms:e=>e*1e3,s:e=>e/1e3};function US(e,t){return t?e*(1e3/t):0}const M$=["","X","Y","Z"],A$=["translate","scale","rotate","skew"],_l={x:"translateX",y:"translateY",z:"translateZ"},d_={syntax:"",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},I$={translate:{syntax:"",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:d_,scale:{syntax:"",initialValue:1,toDefaultUnit:ho},skew:d_},xl=new Map,b0=e=>`--motion-${e}`,Wf=["x","y","z"];A$.forEach(e=>{M$.forEach(t=>{Wf.push(e+t),xl.set(b0(e+t),I$[e])})});const N$=(e,t)=>Wf.indexOf(e)-Wf.indexOf(t),j$=new Set(Wf),y0=e=>j$.has(e),D$=(e,t)=>{_l[t]&&(t=_l[t]);const{transforms:r}=yy(e);DS(r,t),e.style.transform=WS(r)},WS=e=>e.sort(N$).reduce(F$,"").trim(),F$=(e,t)=>`${e} ${t}(var(${b0(t)}))`,Jm=e=>e.startsWith("--"),f_=new Set;function L$(e){if(!f_.has(e)){f_.add(e);try{const{syntax:t,initialValue:r}=xl.has(e)?xl.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch{}}}const BS=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,z$=1e-7,V$=12;function $$(e,t,r,n,o){let a,i,l=0;do i=t+(r-t)/2,a=BS(i,n,o)-e,a>0?r=i:t=i;while(Math.abs(a)>z$&&++l$$(a,0,1,e,r);return a=>a===0||a===1?a:BS(o(a),t,n)}const U$=(e,t="end")=>r=>{r=t==="end"?Math.min(r,.999):Math.max(r,.001);const n=r*e,o=t==="end"?Math.floor(n):Math.ceil(n);return LS(0,1,o/e)},p_={ease:As(.25,.1,.25,1),"ease-in":As(.42,0,1,1),"ease-in-out":As(.42,0,.58,1),"ease-out":As(0,0,.58,1)},W$=/\((.*?)\)/;function Qm(e){if(R$(e))return e;if($S(e))return As(...e);if(p_[e])return p_[e];if(e.startsWith("steps")){const t=W$.exec(e);if(t){const r=t[1].split(",");return U$(parseFloat(r[0]),r[1].trim())}}return ho}class B${constructor(t,r=[0,1],{easing:n,duration:o=xr.duration,delay:a=xr.delay,endDelay:i=xr.endDelay,repeat:l=xr.repeat,offset:f,direction:g="normal",autoplay:m=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=ho,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((P,O)=>{this.resolve=P,this.reject=O}),n=n||xr.easing,Uf(n)){const P=n.createAnimation(r);n=P.easing,r=P.keyframes||r,o=P.duration||o}this.repeat=l,this.easing=Ru(n)?ho:Qm(n),this.updateDuration(o);const w=VS(r,f,Ru(n)?n.map(Qm):ho);this.tick=P=>{var O;a=a;let C=0;this.pauseTime!==void 0?C=this.pauseTime:C=(P-this.startTime)*this.rate,this.t=C,C/=1e3,C=Math.max(C-a,0),this.playState==="finished"&&this.pauseTime===void 0&&(C=this.totalDuration);const b=C/this.duration;let y=Math.floor(b),c=b%1;!c&&b>=1&&(c=1),c===1&&y--;const s=y%2;(g==="reverse"||g==="alternate"&&s||g==="alternate-reverse"&&!s)&&(c=1-c);const u=C>=this.totalDuration?1:Math.min(c,1),d=w(this.easing(u));t(d),this.pauseTime===void 0&&(this.playState==="finished"||C>=this.totalDuration+i)?(this.playState="finished",(O=this.resolve)===null||O===void 0||O.call(this,d)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},m&&this.play()}play(){const t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}const h_=e=>$S(e)?H$(e):e,H$=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,g_=e=>document.createElement("div").animate(e,{duration:.001}),m_={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{g_({opacity:[1]})}catch{return!1}return!0},finished:()=>!!g_({opacity:[0,1]}).finished},cg={},zd={};for(const e in m_)zd[e]=()=>(cg[e]===void 0&&(cg[e]=m_[e]()),cg[e]);function G$(e,t){for(let r=0;rArray.isArray(e)?e:[e];function Bf(e){return _l[e]&&(e=_l[e]),y0(e)?b0(e):e}const Ui={get:(e,t)=>{t=Bf(t);let r=Jm(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&r!==0){const n=xl.get(t);n&&(r=n.initialValue)}return r},set:(e,t,r)=>{t=Bf(t),Jm(t)?e.style.setProperty(t,r):e.style[t]=r}};function GS(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}function q$(){return window.__MOTION_DEV_TOOLS_RECORD}function w0(e,t,r,n={}){const o=q$(),a=n.record!==!1&&o;let i,{duration:l=xr.duration,delay:f=xr.delay,endDelay:g=xr.endDelay,repeat:m=xr.repeat,easing:w=xr.easing,direction:P,offset:O,allowWebkitAcceleration:C=!1}=n;const b=yy(e);let y=zd.waapi();const c=y0(t);c&&D$(e,t);const s=Bf(t),u=E$(b.values,s),d=xl.get(s);return GS(u.animation,!(Uf(w)&&u.generator)&&n.record!==!1),()=>{const h=()=>{var _,k;return(k=(_=Ui.get(e,s))!==null&&_!==void 0?_:d==null?void 0:d.initialValue)!==null&&k!==void 0?k:0};let v=G$(HS(r),h);if(Uf(w)){const _=w.createAnimation(v,h,c,s,u);w=_.easing,_.keyframes!==void 0&&(v=_.keyframes),_.duration!==void 0&&(l=_.duration)}if(Jm(s)&&(zd.cssRegisterProperty()?L$(s):y=!1),y){d&&(v=v.map(T=>xo(T)?d.toDefaultUnit(T):T)),v.length===1&&(!zd.partialKeyframes()||a)&&v.unshift(h());const _={delay:Ia.ms(f),duration:Ia.ms(l),endDelay:Ia.ms(g),easing:Ru(w)?void 0:h_(w),direction:P,iterations:m+1,fill:"both"};i=e.animate({[s]:v,offset:O,easing:Ru(w)?w.map(h_):void 0},_),i.finished||(i.finished=new Promise((T,E)=>{i.onfinish=T,i.oncancel=E}));const k=v[v.length-1];i.finished.then(()=>{Ui.set(e,s,k),i.cancel()}).catch(_y),C||(i.playbackRate=1.000001)}else if(c){v=v.map(k=>typeof k=="string"?parseFloat(k):k),v.length===1&&v.unshift(parseFloat(h()));const _=k=>{d&&(k=d.toDefaultUnit(k)),Ui.set(e,s,k)};i=new B$(_,v,Object.assign(Object.assign({},n),{duration:l,easing:w}))}else{const _=v[v.length-1];Ui.set(e,s,d&&xo(_)?d.toDefaultUnit(_):_)}return a&&o(e,t,v,{duration:l,delay:f,easing:w,repeat:m,offset:O},"motion-one"),u.setAnimation(i),i}}const Oy=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function _0(e,t){var r;return typeof e=="string"?t?((r=t[e])!==null&&r!==void 0||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}const K$=e=>e(),Sy=(e,t,r=xr.duration)=>new Proxy({animations:e.map(K$).filter(Boolean),duration:r,options:t},Y$),X$=e=>e.animations[0],Y$={get:(e,t)=>{const r=X$(e);switch(t){case"duration":return e.duration;case"currentTime":return Ia.s((r==null?void 0:r[t])||0);case"playbackRate":case"playState":return r==null?void 0:r[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map(J$)).catch(_y)),e.finished;case"stop":return()=>{e.animations.forEach(n=>GS(n))};case"forEachNative":return n=>{e.animations.forEach(o=>n(o,e))};default:return typeof(r==null?void 0:r[t])>"u"?void 0:()=>e.animations.forEach(n=>n[t]())}},set:(e,t,r)=>{switch(t){case"currentTime":r=Ia.ms(r);case"currentTime":case"playbackRate":for(let n=0;ne.finished;function Q$(e=.1,{start:t=0,from:r=0,easing:n}={}){return(o,a)=>{const i=xo(r)?r:Z$(r,a),l=Math.abs(i-o);let f=e*l;if(n){const g=a*e;f=Qm(n)(f/g)*g}return t+f}}function Z$(e,t){if(e==="first")return 0;{const r=t-1;return e==="last"?r:r/2}}function qS(e,t,r){return typeof e=="function"?e(t,r):e}function eU(e,t,r={}){e=_0(e);const n=e.length,o=[];for(let a=0;at&&o.atw0(...a)).filter(Boolean);return Sy(o,t,(r=n[0])===null||r===void 0?void 0:r[3].duration)}function aU(e,t={}){var{defaultOptions:r={}}=t,n=zl(t,["defaultOptions"]);const o=[],a=new Map,i={},l=new Map;let f=0,g=0,m=0;for(let w=0;w"0",X);M=H.easing,H.keyframes!==void 0&&(k=H.keyframes),H.duration!==void 0&&(E=H.duration)}const A=qS(b.delay,u,s)||0,N=g+A,D=N+E;let{offset:$=Cy(k.length)}=T;$.length===1&&$[0]===0&&($[1]=1);const G=length-k.length;G>0&&xy($,G),k.length===1&&k.unshift(null),rU(_,k,M,$,N,D),y=Math.max(A+E,y),m=Math.max(D,m)}}f=g,g+=y}return a.forEach((w,P)=>{for(const O in w){const C=w[O];C.sort(nU);const b=[],y=[],c=[];for(let s=0;st/(2*Math.sqrt(e*r));function cU(e,t,r){return e=t||e>t&&r<=t}const KS=({stiffness:e=el.stiffness,damping:t=el.damping,mass:r=el.mass,from:n=0,to:o=1,velocity:a=0,restSpeed:i,restDistance:l}={})=>{a=a?Ia.s(a):0;const f={done:!1,hasReachedTarget:!1,current:n,target:o},g=o-n,m=Math.sqrt(e/r)/1e3,w=uU(e,t,r),P=Math.abs(g)<5;i||(i=P?.01:2),l||(l=P?.005:.5);let O;if(w<1){const C=m*Math.sqrt(1-w*w);O=b=>o-Math.exp(-w*m*b)*((-a+w*m*g)/C*Math.sin(C*b)+g*Math.cos(C*b))}else O=C=>o-Math.exp(-m*C)*(g+(-a+m*g)*C);return C=>{f.current=O(C);const b=C===0?a:Ty(O,C,f.current),y=Math.abs(b)<=i,c=Math.abs(o-f.current)<=l;return f.done=y&&c,f.hasReachedTarget=cU(n,o,f.current),f}},dU=({from:e=0,velocity:t=0,power:r=.8,decay:n=.325,bounceDamping:o,bounceStiffness:a,changeTarget:i,min:l,max:f,restDistance:g=.5,restSpeed:m})=>{n=Ia.ms(n);const w={hasReachedTarget:!1,done:!1,current:e,target:e},P=_=>l!==void 0&&_f,O=_=>l===void 0?f:f===void 0||Math.abs(l-_)-C*Math.exp(-_/n),s=_=>y+c(_),u=_=>{const k=c(_),T=s(_);w.done=Math.abs(k)<=g,w.current=w.done?y:T};let d,h;const v=_=>{P(w.current)&&(d=_,h=KS({from:w.current,to:O(w.current),velocity:Ty(s,_,w.current),damping:o,stiffness:a,restDistance:g,restSpeed:m}))};return v(0),_=>{let k=!1;return!h&&d===void 0&&(k=!0,u(_),v(_)),d!==void 0&&_>d?(w.hasReachedTarget=!0,h(_-d)):(w.hasReachedTarget=!1,!k&&u(_),w)}},dg=10,fU=1e4;function pU(e,t=ho){let r,n=dg,o=e(0);const a=[t(o.current)];for(;!o.done&&n{const n=new Map,o=(i=0,l=100,f=0,g=!1)=>{const m=`${i}-${l}-${f}-${g}`;return n.has(m)||n.set(m,e(Object.assign({from:i,to:l,velocity:f,restSpeed:g?.05:2,restDistance:g?.01:.5},r))),n.get(m)},a=i=>(t.has(i)||t.set(i,pU(i)),t.get(i));return{createAnimation:(i,l,f,g,m)=>{var w,P;let O;const C=i.length;if(f&&C<=2&&i.every(hU)){const y=i[C-1],c=C===1?null:i[0];let s=0,u=0;const d=m==null?void 0:m.generator;if(d){const{animation:_,generatorStartTime:k}=m,T=(_==null?void 0:_.startTime)||k||0,E=(_==null?void 0:_.currentTime)||performance.now()-T,M=d(E).current;u=(w=c)!==null&&w!==void 0?w:M,(C===1||C===2&&i[0]===null)&&(s=Ty(A=>d(A).current,E,M))}else u=(P=c)!==null&&P!==void 0?P:parseFloat(l());const h=o(u,y,s,g==null?void 0:g.includes("scale")),v=a(h);O=Object.assign(Object.assign({},v),{easing:"linear"}),m&&(m.generator=h,m.generatorStartTime=performance.now())}else O={easing:"ease",duration:a(o(0,100)).overshootDuration};return O}}}}const hU=e=>typeof e!="string",gU=XS(KS),mU=XS(dU),vU={any:0,all:1};function YS(e,t,{root:r,margin:n,amount:o="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};const a=_0(e),i=new WeakMap,l=g=>{g.forEach(m=>{const w=i.get(m.target);if(m.isIntersecting!==!!w)if(m.isIntersecting){const P=t(m);typeof P=="function"?i.set(m.target,P):f.unobserve(m.target)}else w&&(w(m),i.delete(m.target))})},f=new IntersectionObserver(l,{root:r,rootMargin:n,threshold:typeof o=="number"?o:vU[o]});return a.forEach(g=>f.observe(g)),()=>f.disconnect()}const Vd=new WeakMap;let Uo;function bU(e,t){if(t){const{inlineSize:r,blockSize:n}=t[0];return{width:r,height:n}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function yU({target:e,contentRect:t,borderBoxSize:r}){var n;(n=Vd.get(e))===null||n===void 0||n.forEach(o=>{o({target:e,contentSize:t,get size(){return bU(e,r)}})})}function wU(e){e.forEach(yU)}function _U(){typeof ResizeObserver>"u"||(Uo=new ResizeObserver(wU))}function xU(e,t){Uo||_U();const r=_0(e);return r.forEach(n=>{let o=Vd.get(n);o||(o=new Set,Vd.set(n,o)),o.add(t),Uo==null||Uo.observe(n)}),()=>{r.forEach(n=>{const o=Vd.get(n);o==null||o.delete(t),o!=null&&o.size||Uo==null||Uo.unobserve(n)})}}const $d=new Set;let Ys;function CU(){Ys=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};$d.forEach(r=>r(t))},window.addEventListener("resize",Ys)}function PU(e){return $d.add(e),Ys||CU(),()=>{$d.delete(e),!$d.size&&Ys&&(Ys=void 0)}}function JS(e,t){return typeof e=="function"?PU(e):xU(e,t)}const OU=50,b_=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),SU=()=>({time:0,x:b_(),y:b_()}),TU={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function y_(e,t,r,n){const o=r[t],{length:a,position:i}=TU[t],l=o.current,f=r.time;o.current=e["scroll"+i],o.scrollLength=e["scroll"+a]-e["client"+a],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=v0(0,o.scrollLength,o.current);const g=n-f;o.velocity=g>OU?0:US(o.current-l,g)}function EU(e,t,r){y_(e,"x",t,r),y_(e,"y",t,r),t.time=r}function kU(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if(n instanceof HTMLElement)r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if(n instanceof SVGGraphicsElement&&"getBBox"in n){const{top:o,left:a}=n.getBBox();for(r.x+=a,r.y+=o;n&&n.tagName!=="svg";)n=n.parentNode}return r}const QS={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Zm={start:0,center:.5,end:1};function w_(e,t,r=0){let n=0;if(Zm[e]!==void 0&&(e=Zm[e]),Py(e)){const o=parseFloat(e);e.endsWith("px")?n=o:e.endsWith("%")?e=o/100:e.endsWith("vw")?n=o/100*document.documentElement.clientWidth:e.endsWith("vh")?n=o/100*document.documentElement.clientHeight:e=o}return xo(e)&&(n=t*e),r+n}const RU=[0,0];function MU(e,t,r,n){let o=Array.isArray(e)?e:RU,a=0,i=0;return xo(e)?o=[e,e]:Py(e)&&(e=e.trim(),e.includes(" ")?o=e.split(" "):o=[e,Zm[e]?e:"0"]),a=w_(o[0],r,n),i=w_(o[1],t),a-i}const AU={x:0,y:0};function IU(e,t,r){let{offset:n=QS.All}=r;const{target:o=e,axis:a="y"}=r,i=a==="y"?"height":"width",l=o!==e?kU(o,e):AU,f=o===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:o.clientWidth,height:o.clientHeight},g={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let m=!t[a].interpolate;const w=n.length;for(let P=0;PNU(e,n.target,r),update:a=>{EU(e,r,a),(n.offset||n.target)&&IU(e,r,n)},notify:typeof t=="function"?()=>t(r):DU(t,r[o])}}function DU(e,t){return e.pause(),e.forEachNative((r,{easing:n})=>{var o,a;if(r.updateDuration)n||(r.easing=ho),r.updateDuration(1);else{const i={duration:1e3};n||(i.easing="linear"),(a=(o=r.effect)===null||o===void 0?void 0:o.updateTiming)===null||a===void 0||a.call(o,i)}}),()=>{e.currentTime=t.progress}}const _s=new WeakMap,__=new WeakMap,fg=new WeakMap,x_=e=>e===document.documentElement?window:e;function FU(e,t={}){var{container:r=document.documentElement}=t,n=zl(t,["container"]);let o=fg.get(r);o||(o=new Set,fg.set(r,o));const a=SU(),i=jU(r,e,a,n);if(o.add(i),!_s.has(r)){const g=()=>{const w=performance.now();for(const P of o)P.measure();for(const P of o)P.update(w);for(const P of o)P.notify()};_s.set(r,g);const m=x_(r);window.addEventListener("resize",g,{passive:!0}),r!==document.documentElement&&__.set(r,JS(r,g)),m.addEventListener("scroll",g,{passive:!0})}const l=_s.get(r),f=requestAnimationFrame(l);return()=>{var g;typeof e!="function"&&e.stop(),cancelAnimationFrame(f);const m=fg.get(r);if(!m||(m.delete(i),m.size))return;const w=_s.get(r);_s.delete(r),w&&(x_(r).removeEventListener("scroll",w),(g=__.get(r))===null||g===void 0||g(),window.removeEventListener("resize",w))}}function LU(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!zU(e,t):e!==t}function zU(e,t){const r=t.length;if(r!==e.length)return!1;for(let n=0;ne.getDepth()-t.getDepth(),BU=e=>e.animateUpdates(),P_=e=>e.next(),O_=(e,t)=>new CustomEvent(e,{detail:{target:t}});function ev(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:r}}))}function S_(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:r}}))}const HU={isActive:e=>!!e.inView,subscribe:(e,{enable:t,disable:r},{inViewOptions:n={}})=>{const{once:o}=n,a=zl(n,["once"]);return YS(e,i=>{if(t(),S_(e,"viewenter",i),!o)return l=>{r(),S_(e,"viewleave",l)}},a)}},T_=(e,t,r)=>n=>{n.pointerType&&n.pointerType!=="mouse"||(r(),ev(e,t,n))},GU={isActive:e=>!!e.hover,subscribe:(e,{enable:t,disable:r})=>{const n=T_(e,"hoverstart",t),o=T_(e,"hoverend",r);return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",o),()=>{e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",o)}}},qU={isActive:e=>!!e.press,subscribe:(e,{enable:t,disable:r})=>{const n=a=>{r(),ev(e,"pressend",a),window.removeEventListener("pointerup",n)},o=a=>{t(),ev(e,"pressstart",a),window.addEventListener("pointerup",n)};return e.addEventListener("pointerdown",o),()=>{e.removeEventListener("pointerdown",o),window.removeEventListener("pointerup",n)}}},Ud={inView:HU,hover:GU,press:qU},E_=["initial","animate",...Object.keys(Ud),"exit"],tv=new WeakMap;function KU(e={},t){let r,n=t?t.getDepth()+1:0;const o={initial:!0,animate:!0},a={},i={};for(const b of E_)i[b]=typeof e[b]=="string"?e[b]:t==null?void 0:t.getContext()[b];const l=e.initial===!1?"animate":"initial";let f=C_(e[l]||i[l],e.variants)||{},g=zl(f,["transition"]);const m=Object.assign({},g);function*w(){var b,y;const c=g;g={};const s={};for(const _ of E_){if(!o[_])continue;const k=C_(e[_]);if(k)for(const T in k)T!=="transition"&&(g[T]=k[T],s[T]=Oy((y=(b=k.transition)!==null&&b!==void 0?b:e.transition)!==null&&y!==void 0?y:{},T))}const u=new Set([...Object.keys(g),...Object.keys(c)]),d=[];u.forEach(_=>{var k;g[_]===void 0&&(g[_]=m[_]),LU(c[_],g[_])&&((k=m[_])!==null&&k!==void 0||(m[_]=Ui.get(r,_)),d.push(w0(r,_,g[_],s[_])))}),yield;const h=d.map(_=>_()).filter(Boolean);if(!h.length)return;const v=g;r.dispatchEvent(O_("motionstart",v)),Promise.all(h.map(_=>_.finished)).then(()=>{r.dispatchEvent(O_("motioncomplete",v))}).catch(_y)}const P=(b,y)=>()=>{o[b]=y,pg(C)},O=()=>{for(const b in Ud){const y=Ud[b].isActive(e),c=a[b];y&&!c?a[b]=Ud[b].subscribe(r,{enable:P(b,!0),disable:P(b,!1)},e):!y&&c&&(c(),delete a[b])}},C={update:b=>{r&&(e=b,O(),pg(C))},setActive:(b,y)=>{r&&(o[b]=y,pg(C))},animateUpdates:w,getDepth:()=>n,getTarget:()=>g,getOptions:()=>e,getContext:()=>i,mount:b=>(r=b,tv.set(r,C),O(),()=>{tv.delete(r),UU(C);for(const y in a)a[y]()}),isMounted:()=>!!r};return C}function ZS(e){const t={},r=[];for(let n in e){const o=e[n];y0(n)&&(_l[n]&&(n=_l[n]),r.push(n),n=b0(n));let a=Array.isArray(o)?o[0]:o;const i=xl.get(n);i&&(a=xo(o)?i.toDefaultUnit(o):o),t[n]=a}return r.length&&(t.transform=WS(r)),t}const XU=e=>`-${e.toLowerCase()}`,YU=e=>e.replace(/[A-Z]/g,XU);function JU(e={}){const t=ZS(e);let r="";for(const n in t)r+=n.startsWith("--")?n:YU(n),r+=`: ${t[n]}; `;return r}const QU=Object.freeze(Object.defineProperty({__proto__:null,ScrollOffset:QS,animate:eU,animateStyle:w0,createMotionState:KU,createStyleString:JU,createStyles:ZS,getAnimationData:yy,getStyleName:Bf,glide:mU,inView:YS,mountedStates:tv,resize:JS,scroll:FU,spring:gU,stagger:Q$,style:Ui,timeline:oU,withControls:Sy},Symbol.toStringTag,{value:"Module"})),ZU=Ml(QU);function eW(e){var t={};return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var tW=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,rW=eW(function(e){return tW.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});const nW=Object.freeze(Object.defineProperty({__proto__:null,default:rW},Symbol.toStringTag,{value:"Module"})),oW=Ml(nW);(function(e){var t={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"};Object.defineProperty(e,"__esModule",{value:!0});var r=eS,n=F,o=rS,a=Dt,i=ke,l=ei,f=ZU;function g(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}function m(p){if(p&&p.__esModule)return p;var x=Object.create(null);return p&&Object.keys(p).forEach(function(S){if(S!=="default"){var R=Object.getOwnPropertyDescriptor(p,S);Object.defineProperty(x,S,R.get?R:{enumerable:!0,get:function(){return p[S]}})}}),x.default=p,Object.freeze(x)}var w=m(n),P=g(n),O=g(l),C="production",b=typeof process>"u"||t===void 0?C:"production",y=function(p){return{isEnabled:function(x){return p.some(function(S){return!!x[S]})}}},c={measureLayout:y(["layout","layoutId","drag"]),animation:y(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:y(["exit"]),drag:y(["drag","dragControls"]),focus:y(["whileFocus"]),hover:y(["whileHover","onHoverStart","onHoverEnd"]),tap:y(["whileTap","onTap","onTapStart","onTapCancel"]),pan:y(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:y(["whileInView","onViewportEnter","onViewportLeave"])};function s(p){for(var x in p)p[x]!==null&&(x==="projectionNodeConstructor"?c.projectionNodeConstructor=p[x]:c[x].Component=p[x])}var u=n.createContext({strict:!1}),d=Object.keys(c),h=d.length;function v(p,x,S){var R=[],I=n.useContext(u);if(!x)return null;b!=="production"&&S&&I.strict&&o.invariant(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var L=0;L"u")return x;var S=new Map;return new Proxy(x,{get:function(R,I){return S.has(I)||S.set(I,x(I)),S.get(I)}})}var Lt=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function ut(p){return typeof p!="string"||p.includes("-")?!1:!!(Lt.indexOf(p)>-1||/[A-Z]/.test(p))}var We={};function ur(p){Object.assign(We,p)}var Jt=["","X","Y","Z"],vr=["translate","scale","rotate","skew"],Rn=["transformPerspective","x","y","z"];vr.forEach(function(p){return Jt.forEach(function(x){return Rn.push(p+x)})});function ai(p,x){return Rn.indexOf(p)-Rn.indexOf(x)}var br=new Set(Rn);function Rr(p){return br.has(p)}var Mn=new Set(["originX","originY","originZ"]);function Br(p){return Mn.has(p)}function An(p,x){var S=x.layout,R=x.layoutId;return Rr(p)||Br(p)||(S||R!==void 0)&&(!!We[p]||p==="opacity")}var Qt=function(p){return!!(p!==null&&typeof p=="object"&&p.getVelocity)},dc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Mr(p,x,S,R){var I=p.transform,L=p.transformKeys,z=x.enableHardwareAcceleration,j=z===void 0?!0:z,U=x.allowTransformNone,W=U===void 0?!0:U,K="";L.sort(ai);for(var J=!1,Q=L.length,ee=0;ee"u"?oE:nE;W(U,j.current,x,z)}var rE={some:0,all:1};function nE(p,x,S,R){var I=R.root,L=R.margin,z=R.amount,j=z===void 0?"some":z,U=R.once;n.useEffect(function(){if(p){var W={root:I==null?void 0:I.current,rootMargin:L,threshold:typeof j=="number"?j:rE[j]},K=function(J){var Q,ee=J.isIntersecting;if(x.isInView!==ee&&(x.isInView=ee,!(U&&!ee&&x.hasEnteredView))){ee&&(x.hasEnteredView=!0),(Q=S.animationState)===null||Q===void 0||Q.setActive(e.AnimationType.InView,ee);var te=S.getProps(),ie=ee?te.onViewportEnter:te.onViewportLeave;ie==null||ie(J)}};return eE(S.getInstance(),W,K)}},[p,I,L,j])}function oE(p,x,S,R){var I=R.fallback,L=I===void 0?!0:I;n.useEffect(function(){!p||!L||(b!=="production"&&q0(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(function(){var z;x.hasEnteredView=!0;var j=S.getProps().onViewportEnter;j==null||j(null),(z=S.animationState)===null||z===void 0||z.setActive(e.AnimationType.InView,!0)}))},[p])}var Ao=function(p){return function(x){return p(x),null}},y1={inView:Ao(tE),tap:Ao(Y7),focus:Ao(Ct),hover:Ao(X7)},aE=0,iE=function(){return aE++},w1=function(){return ae(iE)};function Y0(){var p=n.useContext(E);if(p===null)return[!0,null];var x=p.isPresent,S=p.onExitComplete,R=p.register,I=w1();n.useEffect(function(){return R(I)},[]);var L=function(){return S==null?void 0:S(I)};return!x&&S?[!1,L]:[!0]}function lE(){return sE(n.useContext(E))}function sE(p){return p===null?!0:p.isPresent}function _1(p,x){if(!Array.isArray(x))return!1;var S=x.length;if(S!==p.length)return!1;for(var R=0;R-1&&p.splice(S,1)}function _E(p,x,S){var R=r.__read(p),I=R.slice(0),L=x<0?I.length+x:x;if(L>=0&&LTe&&qr,Lo=Array.isArray(dt)?dt:[dt],Kr=Lo.reduce(L,{});dr===!1&&(Kr={});var ss=He.prevResolvedValues,gi=ss===void 0?{}:ss,Dc=r.__assign(r.__assign({},gi),Kr),mi=function(Me){Fo=!0,me.delete(Me),He.needsAnimating[Me]=!0};for(var yr in Dc){var Je=Kr[yr],xe=gi[yr];ye.hasOwnProperty(yr)||(Je!==xe?to(Je)&&to(xe)?!_1(Je,xe)||Do?mi(yr):He.protectedKeys[yr]=!0:Je!==void 0?mi(yr):me.add(yr):Je!==void 0&&me.has(yr)?mi(yr):He.protectedKeys[yr]=!0)}He.prevProp=dt,He.prevResolvedValues=Kr,He.isActive&&(ye=r.__assign(r.__assign({},ye),Kr)),I&&p.blockInitialAnimation&&(Fo=!1),Fo&&!Ar&&ie.push.apply(ie,r.__spreadArray([],r.__read(Lo.map(function(Me){return{animation:Me,options:r.__assign({type:Fe},K)}})),!1))},Ne=0;Ne=3;if(!(!ee&&!te)){var ie=Q.point,me=l.getFrameData().timestamp;I.history.push(r.__assign(r.__assign({},ie),{timestamp:me}));var ye=I.handlers,Te=ye.onStart,Ie=ye.onMove;ee||(Te&&Te(I.lastMoveEvent,Q),I.startEvent=I.lastMoveEvent),Ie&&Ie(I.lastMoveEvent,Q)}}},this.handlePointerMove=function(Q,ee){if(I.lastMoveEvent=Q,I.lastMoveEventInfo=dh(ee,I.transformPagePoint),Nn(Q)&&Q.buttons===0){I.handlePointerUp(Q,ee);return}O.default.update(I.updatePoint,!0)},this.handlePointerUp=function(Q,ee){I.end();var te=I.handlers,ie=te.onEnd,me=te.onSessionEnd,ye=fh(dh(ee,I.transformPagePoint),I.history);I.startEvent&&ie&&ie(Q,ye),me&&me(Q,ye)},!(Ro(x)&&x.touches.length>1)){this.handlers=S,this.transformPagePoint=z;var j=B0(x),U=dh(j,this.transformPagePoint),W=U.point,K=l.getFrameData().timestamp;this.history=[r.__assign(r.__assign({},W),{timestamp:K})];var J=S.onSessionStart;J&&J(x,fh(U,this.history)),this.removeListeners=i.pipe(wa(window,"pointermove",this.handlePointerMove),wa(window,"pointerup",this.handlePointerUp),wa(window,"pointercancel",this.handlePointerUp))}}return p.prototype.updateHandlers=function(x){this.handlers=x},p.prototype.end=function(){this.removeListeners&&this.removeListeners(),l.cancelSync.update(this.updatePoint)},p}();function dh(p,x){return x?{point:x(p.point)}:p}function j1(p,x){return{x:p.x-x.x,y:p.y-x.y}}function fh(p,x){var S=p.point;return{point:S,delta:j1(S,D1(x)),offset:j1(S,zE(x)),velocity:VE(x,.1)}}function zE(p){return p[0]}function D1(p){return p[p.length-1]}function VE(p,x){if(p.length<2)return{x:0,y:0};for(var S=p.length-1,R=null,I=D1(p);S>=0&&(R=p[S],!(I.timestamp-R.timestamp>Sc(x)));)S--;if(!R)return{x:0,y:0};var L=(I.timestamp-R.timestamp)/1e3;if(L===0)return{x:0,y:0};var z={x:(I.x-R.x)/L,y:(I.y-R.y)/L};return z.x===1/0&&(z.x=0),z.y===1/0&&(z.y=0),z}function jn(p){return p.max-p.min}function F1(p,x,S){return x===void 0&&(x=0),S===void 0&&(S=.01),i.distance(p,x)I&&(p=S?i.mix(I,p,S.max):Math.min(p,I)),p}function $1(p,x,S){return{min:x!==void 0?p.min+x:void 0,max:S!==void 0?p.max+S-(p.max-p.min):void 0}}function WE(p,x){var S=x.top,R=x.left,I=x.bottom,L=x.right;return{x:$1(p.x,R,L),y:$1(p.y,S,I)}}function U1(p,x){var S,R=x.min-p.min,I=x.max-p.max;return x.max-x.minR?S=i.progress(x.min,x.max-R,p.min):R>I&&(S=i.progress(p.min,p.max-I,x.min)),i.clamp(0,1,S)}function GE(p,x){var S={};return x.min!==void 0&&(S.min=x.min-p.min),x.max!==void 0&&(S.max=x.max-p.min),S}var ph=.35;function qE(p){return p===void 0&&(p=ph),p===!1?p=0:p===!0&&(p=ph),{x:W1(p,"left","right"),y:W1(p,"top","bottom")}}function W1(p,x,S){return{min:B1(p,x),max:B1(p,S)}}function B1(p,x){var S;return typeof p=="number"?p:(S=p[x])!==null&&S!==void 0?S:0}var H1=function(){return{translate:0,scale:1,origin:0,originPoint:0}},is=function(){return{x:H1(),y:H1()}},G1=function(){return{min:0,max:0}},zt=function(){return{x:G1(),y:G1()}};function Dn(p){return[p("x"),p("y")]}function q1(p){var x=p.top,S=p.left,R=p.right,I=p.bottom;return{x:{min:S,max:R},y:{min:x,max:I}}}function KE(p){var x=p.x,S=p.y;return{top:S.min,right:x.max,bottom:S.max,left:x.min}}function XE(p,x){if(!x)return p;var S=x({x:p.left,y:p.top}),R=x({x:p.right,y:p.bottom});return{top:S.y,left:S.x,bottom:R.y,right:R.x}}function hh(p){return p===void 0||p===1}function K1(p){var x=p.scale,S=p.scaleX,R=p.scaleY;return!hh(x)||!hh(S)||!hh(R)}function Io(p){return K1(p)||X1(p.x)||X1(p.y)||p.z||p.rotate||p.rotateX||p.rotateY}function X1(p){return p&&p!=="0%"}function kc(p,x,S){var R=p-S,I=x*R;return S+I}function Y1(p,x,S,R,I){return I!==void 0&&(p=kc(p,I,R)),kc(p,S,R)+x}function gh(p,x,S,R,I){x===void 0&&(x=0),S===void 0&&(S=1),p.min=Y1(p.min,x,S,R,I),p.max=Y1(p.max,x,S,R,I)}function J1(p,x){var S=x.x,R=x.y;gh(p.x,S.translate,S.scale,S.originPoint),gh(p.y,R.translate,R.scale,R.originPoint)}function YE(p,x,S,R){var I,L;R===void 0&&(R=!1);var z=S.length;if(z){x.x=x.y=1;for(var j,U,W=0;Wx?S="y":Math.abs(p.x)>x&&(S="x"),S}function n9(p){var x=p.dragControls,S=p.visualElement,R=ae(function(){return new t9(S)});n.useEffect(function(){return x&&x.subscribe(R)},[R,x]),n.useEffect(function(){return R.addListeners()},[R])}function o9(p){var x=p.onPan,S=p.onPanStart,R=p.onPanEnd,I=p.onPanSessionStart,L=p.visualElement,z=x||S||R||I,j=n.useRef(null),U=n.useContext(_).transformPagePoint,W={onSessionStart:I,onStart:S,onMove:x,onEnd:function(J,Q){j.current=null,R&&R(J,Q)}};n.useEffect(function(){j.current!==null&&j.current.updateHandlers(W)});function K(J){j.current=new N1(J,W,{transformPagePoint:U})}Pc(L,"pointerdown",z&&K),Oc(function(){return j.current&&j.current.end()})}var e2={pan:Ao(o9),drag:Ao(n9)},Mc=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function a9(){var p=Mc.map(function(){return new rs}),x={},S={clearAllListeners:function(){return p.forEach(function(R){return R.clear()})},updatePropListeners:function(R){Mc.forEach(function(I){var L,z="on"+I,j=R[z];(L=x[I])===null||L===void 0||L.call(x),j&&(x[I]=S[z](j))})}};return p.forEach(function(R,I){S["on"+Mc[I]]=function(L){return R.add(L)},S["notify"+Mc[I]]=function(){for(var L=[],z=0;z=0?window.pageYOffset:null,W=m9(x,p,j);return L.length&&L.forEach(function(K){var J=r.__read(K,2),Q=J[0],ee=J[1];p.getValue(Q).set(ee)}),p.syncRender(),U!==null&&window.scrollTo({top:U}),{target:W,transitionEnd:R}}else return{target:x,transitionEnd:R}};function b9(p,x,S,R){return f9(x)?v9(p,x,S,R):{target:x,transitionEnd:R}}var y9=function(p,x,S,R){var I=c9(p,x,R);return x=I.target,R=I.transitionEnd,b9(p,x,S,R)};function w9(p){return window.getComputedStyle(p)}var u2={treeType:"dom",readValueFromInstance:function(p,x){if(Rr(x)){var S=Q0(x);return S&&S.default||0}else{var R=w9(p);return(ql(x)?R.getPropertyValue(x):R[x])||0}},sortNodePosition:function(p,x){return p.compareDocumentPosition(x)&2?1:-1},getBaseTarget:function(p,x){var S;return(S=p.style)===null||S===void 0?void 0:S[x]},measureViewportBox:function(p,x){var S=x.transformPagePoint;return Z1(p,S)},resetTransform:function(p,x,S){var R=S.transformTemplate;x.style.transform=R?R({},""):"none",p.scheduleRender()},restoreTransform:function(p,x){p.style.transform=x.style.transform},removeValueFromRenderState:function(p,x){var S=x.vars,R=x.style;delete S[p],delete R[p]},makeTargetAnimatable:function(p,x,S,R){var I=S.transformValues;R===void 0&&(R=!0);var L=x.transition,z=x.transitionEnd,j=r.__rest(x,["transition","transitionEnd"]),U=A1(j,L||{},p);if(I&&(z&&(z=I(z)),j&&(j=I(j)),U&&(U=I(U))),R){lh(p,j,U);var W=y9(p,j,U,z);z=W.transitionEnd,j=W.target}return r.__assign({transition:L,transitionEnd:z},j)},scrapeMotionValuesFromProps:di,build:function(p,x,S,R,I){p.isVisible!==void 0&&(x.style.visibility=p.isVisible?"visible":"hidden"),cr(x,S,R,I.transformTemplate)},render:Ql},_9=Ac(u2),x9=Ac(r.__assign(r.__assign({},u2),{getBaseTarget:function(p,x){return p[x]},readValueFromInstance:function(p,x){var S;return Rr(x)?((S=Q0(x))===null||S===void 0?void 0:S.default)||0:(x=Zl.has(x)?x:bc(x),p.getAttribute(x))},scrapeMotionValuesFromProps:wc,build:function(p,x,S,R,I){ui(x,S,R,I.transformTemplate)},render:yc})),bh=function(p,x){return ut(p)?x9(x,{enableHardwareAcceleration:!1}):_9(x,{enableHardwareAcceleration:!0})};function c2(p,x){return x.max===x.min?0:p/(x.max-x.min)*100}var ls={correct:function(p,x){if(!x.target)return p;if(typeof p=="string")if(a.px.test(p))p=parseFloat(p);else return p;var S=c2(p,x.target.x),R=c2(p,x.target.y);return"".concat(S,"% ").concat(R,"%")}},d2="_$css",C9={correct:function(p,x){var S=x.treeScale,R=x.projectionDelta,I=p,L=p.includes("var("),z=[];L&&(p=p.replace(r2,function(ie){return z.push(ie),d2}));var j=a.complex.parse(p);if(j.length>5)return I;var U=a.complex.createTransformer(p),W=typeof j[0]!="number"?1:0,K=R.x.scale*S.x,J=R.y.scale*S.y;j[0+W]/=K,j[1+W]/=J;var Q=i.mix(K,J,.5);typeof j[2+W]=="number"&&(j[2+W]/=Q),typeof j[3+W]=="number"&&(j[3+W]/=Q);var ee=U(j);if(L){var te=0;ee=ee.replace(d2,function(){var ie=z[te];return te++,ie})}return ee}},P9=function(p){r.__extends(x,p);function x(){return p!==null&&p.apply(this,arguments)||this}return x.prototype.componentDidMount=function(){var S=this,R=this.props,I=R.visualElement,L=R.layoutGroup,z=R.switchLayoutGroup,j=R.layoutId,U=I.projection;ur(S9),U&&(L!=null&&L.group&&L.group.add(U),z!=null&&z.register&&j&&z.register(U),U.root.didUpdate(),U.addEventListener("animationComplete",function(){S.safeToRemove()}),U.setOptions(r.__assign(r.__assign({},U.options),{onExitComplete:function(){return S.safeToRemove()}}))),ge.hasEverUpdated=!0},x.prototype.getSnapshotBeforeUpdate=function(S){var R=this,I=this.props,L=I.layoutDependency,z=I.visualElement,j=I.drag,U=I.isPresent,W=z.projection;return W&&(W.isPresent=U,j||S.layoutDependency!==L||L===void 0?W.willUpdate():this.safeToRemove(),S.isPresent!==U&&(U?W.promote():W.relegate()||O.default.postRender(function(){var K;!((K=W.getStack())===null||K===void 0)&&K.members.length||R.safeToRemove()}))),null},x.prototype.componentDidUpdate=function(){var S=this.props.visualElement.projection;S&&(S.root.didUpdate(),!S.currentAnimation&&S.isLead()&&this.safeToRemove())},x.prototype.componentWillUnmount=function(){var S=this.props,R=S.visualElement,I=S.layoutGroup,L=S.switchLayoutGroup,z=R.projection;z&&(z.scheduleCheckAfterUnmount(),I!=null&&I.group&&I.group.remove(z),L!=null&&L.deregister&&L.deregister(z))},x.prototype.safeToRemove=function(){var S=this.props.safeToRemove;S==null||S()},x.prototype.render=function(){return null},x}(P.default.Component);function O9(p){var x=r.__read(Y0(),2),S=x[0],R=x[1],I=n.useContext(Pe);return P.default.createElement(P9,r.__assign({},p,{layoutGroup:I,switchLayoutGroup:n.useContext(Le),isPresent:S,safeToRemove:R}))}var S9={borderRadius:r.__assign(r.__assign({},ls),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ls,borderTopRightRadius:ls,borderBottomLeftRadius:ls,borderBottomRightRadius:ls,boxShadow:C9},f2={measureLayout:O9};function p2(p,x,S){S===void 0&&(S={});var R=Qt(p)?p:Gr(p);return rh("",R,x,S),{stop:function(){return R.stop()},isAnimating:function(){return R.isAnimating()}}}var h2=["TopLeft","TopRight","BottomLeft","BottomRight"],T9=h2.length,g2=function(p){return typeof p=="string"?parseFloat(p):p},m2=function(p){return typeof p=="number"||a.px.test(p)};function E9(p,x,S,R,I,L){var z,j,U,W;I?(p.opacity=i.mix(0,(z=S.opacity)!==null&&z!==void 0?z:1,k9(R)),p.opacityExit=i.mix((j=x.opacity)!==null&&j!==void 0?j:1,0,R9(R))):L&&(p.opacity=i.mix((U=x.opacity)!==null&&U!==void 0?U:1,(W=S.opacity)!==null&&W!==void 0?W:1,R));for(var K=0;Kx?1:S(i.progress(p,x,R))}}function y2(p,x){p.min=x.min,p.max=x.max}function fn(p,x){y2(p.x,x.x),y2(p.y,x.y)}function w2(p,x,S,R,I){return p-=x,p=kc(p,1/S,R),I!==void 0&&(p=kc(p,1/I,R)),p}function M9(p,x,S,R,I,L,z){if(x===void 0&&(x=0),S===void 0&&(S=1),R===void 0&&(R=.5),L===void 0&&(L=p),z===void 0&&(z=p),a.percent.test(x)){x=parseFloat(x);var j=i.mix(z.min,z.max,x/100);x=j-z.min}if(typeof x=="number"){var U=i.mix(L.min,L.max,R);p===L&&(U-=x),p.min=w2(p.min,x,S,U,I),p.max=w2(p.max,x,S,U,I)}}function _2(p,x,S,R,I){var L=r.__read(S,3),z=L[0],j=L[1],U=L[2];M9(p,x[z],x[j],x[U],x.scale,R,I)}var A9=["x","scaleX","originX"],I9=["y","scaleY","originY"];function x2(p,x,S,R){_2(p.x,x,A9,S==null?void 0:S.x,R==null?void 0:R.x),_2(p.y,x,I9,S==null?void 0:S.y,R==null?void 0:R.y)}function C2(p){return p.translate===0&&p.scale===1}function P2(p){return C2(p.x)&&C2(p.y)}function O2(p,x){return p.x.min===x.x.min&&p.x.max===x.x.max&&p.y.min===x.y.min&&p.y.max===x.y.max}var N9=function(){function p(){this.members=[]}return p.prototype.add=function(x){nh(this.members,x),x.scheduleRender()},p.prototype.remove=function(x){if(oh(this.members,x),x===this.prevLead&&(this.prevLead=void 0),x===this.lead){var S=this.members[this.members.length-1];S&&this.promote(S)}},p.prototype.relegate=function(x){var S=this.members.findIndex(function(z){return x===z});if(S===0)return!1;for(var R,I=S;I>=0;I--){var L=this.members[I];if(L.isPresent!==!1){R=L;break}}return R?(this.promote(R),!0):!1},p.prototype.promote=function(x,S){var R,I=this.lead;if(x!==I&&(this.prevLead=I,this.lead=x,x.show(),I)){I.instance&&I.scheduleRender(),x.scheduleRender(),x.resumeFrom=I,S&&(x.resumeFrom.preserveOpacity=!0),I.snapshot&&(x.snapshot=I.snapshot,x.snapshot.latestValues=I.animationValues||I.latestValues,x.snapshot.isShared=!0),!((R=x.root)===null||R===void 0)&&R.isUpdating&&(x.isLayoutDirty=!0);var L=x.options.crossfade;L===!1&&I.hide()}},p.prototype.exitAnimationComplete=function(){this.members.forEach(function(x){var S,R,I,L,z;(R=(S=x.options).onExitComplete)===null||R===void 0||R.call(S),(z=(I=x.resumingFrom)===null||I===void 0?void 0:(L=I.options).onExitComplete)===null||z===void 0||z.call(L)})},p.prototype.scheduleRender=function(){this.members.forEach(function(x){x.instance&&x.scheduleRender(!1)})},p.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},p}(),j9="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function S2(p,x,S){var R=p.x.translate/x.x,I=p.y.translate/x.y,L="translate3d(".concat(R,"px, ").concat(I,"px, 0) ");if(L+="scale(".concat(1/x.x,", ").concat(1/x.y,") "),S){var z=S.rotate,j=S.rotateX,U=S.rotateY;z&&(L+="rotate(".concat(z,"deg) ")),j&&(L+="rotateX(".concat(j,"deg) ")),U&&(L+="rotateY(".concat(U,"deg) "))}var W=p.x.scale*x.x,K=p.y.scale*x.y;return L+="scale(".concat(W,", ").concat(K,")"),L===j9?"none":L}var D9=function(p,x){return p.depth-x.depth},T2=function(){function p(){this.children=[],this.isDirty=!1}return p.prototype.add=function(x){nh(this.children,x),this.isDirty=!0},p.prototype.remove=function(x){oh(this.children,x),this.isDirty=!0},p.prototype.forEach=function(x){this.isDirty&&this.children.sort(D9),this.isDirty=!1,this.children.forEach(x)},p}(),E2=1e3;function k2(p){var x=p.attachResizeListener,S=p.defaultParent,R=p.measureScroll,I=p.checkIsScrollRoot,L=p.resetTransform;return function(){function z(j,U,W){var K=this;U===void 0&&(U={}),W===void 0&&(W=S==null?void 0:S()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){K.isUpdating&&(K.isUpdating=!1,K.clearAllSnapshots())},this.updateProjection=function(){K.nodes.forEach(U9),K.nodes.forEach(W9)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=j,this.latestValues=U,this.root=W?W.root||W:this,this.path=W?r.__spreadArray(r.__spreadArray([],r.__read(W.path),!1),[W],!1):[],this.parent=W,this.depth=W?W.depth+1:0,j&&this.root.registerPotentialNode(j,this);for(var J=0;J=0;R--)if(p.path[R].instance){S=p.path[R];break}var I=S&&S!==p.root?S.instance:document,L=I.querySelector('[data-projection-id="'.concat(x,'"]'));L&&p.mount(L,!0)}function I2(p){p.min=Math.round(p.min),p.max=Math.round(p.max)}function N2(p){I2(p.x),I2(p.y)}var Y9=k2({attachResizeListener:function(p,x){return ct(p,"resize",x)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Ca={current:void 0},yh=k2({measureScroll:function(p){return{x:p.scrollLeft,y:p.scrollTop}},defaultParent:function(){if(!Ca.current){var p=new Y9(0,{});p.mount(window),p.setOptions({layoutScroll:!0}),Ca.current=p}return Ca.current},resetTransform:function(p,x){p.style.transform=x??"none"},checkIsScrollRoot:function(p){return window.getComputedStyle(p).position==="fixed"}}),j2=r.__assign(r.__assign(r.__assign(r.__assign({},ch),y1),e2),f2),wh=xt(function(p,x){return fi(p,x,j2,bh,yh)});function J9(p){return ze(fi(p,{forwardMotionProps:!1},j2,bh,yh))}var Q9=xt(fi);function D2(){var p=n.useRef(!1);return A(function(){return p.current=!0,function(){p.current=!1}},[]),p}function Nc(){var p=D2(),x=r.__read(n.useState(0),2),S=x[0],R=x[1],I=n.useCallback(function(){p.current&&R(S+1)},[S]),L=n.useCallback(function(){return O.default.postRender(I)},[I]);return[L,S]}var _h=function(p){var x=p.children,S=p.initial,R=p.isPresent,I=p.onExitComplete,L=p.custom,z=p.presenceAffectsLayout,j=ae(Z9),U=w1(),W=n.useMemo(function(){return{id:U,initial:S,isPresent:R,custom:L,onExitComplete:function(K){var J,Q;j.set(K,!0);try{for(var ee=r.__values(j.values()),te=ee.next();!te.done;te=ee.next()){var ie=te.value;if(!ie)return}}catch(me){J={error:me}}finally{try{te&&!te.done&&(Q=ee.return)&&Q.call(ee)}finally{if(J)throw J.error}}I==null||I()},register:function(K){return j.set(K,!1),function(){return j.delete(K)}}}},z?void 0:[R]);return n.useMemo(function(){j.forEach(function(K,J){return j.set(J,!1)})},[R]),w.useEffect(function(){!R&&!j.size&&(I==null||I())},[R]),w.createElement(E.Provider,{value:W},x)};function Z9(){return new Map}var hi=function(p){return p.key||""};function ek(p,x){p.forEach(function(S){var R=hi(S);x.set(R,S)})}function tk(p){var x=[];return n.Children.forEach(p,function(S){n.isValidElement(S)&&x.push(S)}),x}var rk=function(p){var x=p.children,S=p.custom,R=p.initial,I=R===void 0?!0:R,L=p.onExitComplete,z=p.exitBeforeEnter,j=p.presenceAffectsLayout,U=j===void 0?!0:j,W=r.__read(Nc(),1),K=W[0],J=n.useContext(Pe).forceRender;J&&(K=J);var Q=D2(),ee=tk(x),te=ee,ie=new Set,me=n.useRef(te),ye=n.useRef(new Map).current,Te=n.useRef(!0);if(A(function(){Te.current=!1,ek(ee,ye),me.current=te}),Oc(function(){Te.current=!0,ye.clear(),ie.clear()}),Te.current)return w.createElement(w.Fragment,null,te.map(function(Fe){return w.createElement(_h,{key:hi(Fe),isPresent:!0,initial:I?void 0:!1,presenceAffectsLayout:U},Fe)}));te=r.__spreadArray([],r.__read(te),!1);for(var Ie=me.current.map(hi),Ne=ee.map(hi),je=Ie.length,tt=0;tt1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),w.createElement(w.Fragment,null,ie.size?te:te.map(function(Fe){return n.cloneElement(Fe)}))},F2=n.createContext(null),nk=function(p){return!p.isLayoutDirty&&p.willUpdate(!1)};function L2(){var p=new Set,x=new WeakMap,S=function(){return p.forEach(nk)};return{add:function(R){p.add(R),x.set(R,R.addEventListener("willUpdate",S))},remove:function(R){var I;p.delete(R),(I=x.get(R))===null||I===void 0||I(),x.delete(R),S()},dirty:S}}var z2=function(p){return p===!0},ok=function(p){return z2(p===!0)||p==="id"},V2=function(p){var x,S,R=p.children,I=p.id,L=p.inheritId,z=p.inherit,j=z===void 0?!0:z;L!==void 0&&(j=L);var U=n.useContext(Pe),W=n.useContext(F2),K=r.__read(Nc(),2),J=K[0],Q=K[1],ee=n.useRef(null),te=(x=U.id)!==null&&x!==void 0?x:W;ee.current===null&&(ok(j)&&te&&(I=I?te+"-"+I:te),ee.current={id:I,group:z2(j)&&(S=U==null?void 0:U.group)!==null&&S!==void 0?S:L2()});var ie=n.useMemo(function(){return r.__assign(r.__assign({},ee.current),{forceRender:J})},[Q]);return w.createElement(Pe.Provider,{value:ie},R)},ak=0,ik=function(p){var x=p.children;return w.useEffect(function(){o.warning(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")},[]),w.createElement(V2,{id:ae(function(){return"asl-".concat(ak++)})},x)};function lk(p){var x=p.children,S=p.isValidProp,R=r.__rest(p,["children","isValidProp"]);S&&hc(S),R=r.__assign(r.__assign({},n.useContext(_)),R),R.isStatic=ae(function(){return R.isStatic});var I=n.useMemo(function(){return R},[JSON.stringify(R.transition),R.transformPagePoint,R.reducedMotion]);return w.createElement(_.Provider,{value:I},x)}function sk(p){var x=p.children,S=p.features,R=p.strict,I=R===void 0?!1:R,L=r.__read(n.useState(!xh(S)),2),z=L[1],j=n.useRef(void 0);if(!xh(S)){var U=S.renderer,W=r.__rest(S,["renderer"]);j.current=U,s(W)}return n.useEffect(function(){xh(S)&&S().then(function(K){var J=K.renderer,Q=r.__rest(K,["renderer"]);s(Q),j.current=J,z(!0)})},[]),w.createElement(u.Provider,{value:{renderer:j.current,strict:I}},x)}function xh(p){return typeof p=="function"}var $2=n.createContext(null);function uk(p,x,S,R){if(!R)return p;var I=p.findIndex(function(K){return K.value===x});if(I===-1)return p;var L=R>0?1:-1,z=p[I+L];if(!z)return p;var j=p[I],U=z.layout,W=i.mix(U.min,U.max,.5);return L===1&&j.layout.max+S>W||L===-1&&j.layout.min+S.001?1/p:$k},Z2=!1;function Uk(p){var x=jo(1),S=jo(1),R=T();o.invariant(!!(p||R),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),o.warning(Z2,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),Z2=!0,p?(x=p.scaleX||x,S=p.scaleY||S):R&&(x=R.getValue("scaleX",1),S=R.getValue("scaleY",1));var I=jc(x,Q2),L=jc(S,Q2);return{scaleX:I,scaleY:L}}e.AnimatePresence=rk,e.AnimateSharedLayout=ik,e.DeprecatedLayoutGroupContext=F2,e.DragControls=Y2,e.FlatTree=T2,e.LayoutGroup=V2,e.LayoutGroupContext=Pe,e.LazyMotion=sk,e.MotionConfig=lk,e.MotionConfigContext=_,e.MotionContext=k,e.MotionValue=k1,e.PresenceContext=E,e.Reorder=wk,e.SwitchLayoutGroupContext=Le,e.addPointerEvent=wa,e.addScaleCorrector=ur,e.animate=p2,e.animateVisualElement=Ec,e.animationControls=K2,e.animations=ch,e.calcLength=jn,e.checkTargetForNewValues=lh,e.createBox=zt,e.createDomMotionComponent=J9,e.createMotionComponent=ze,e.domAnimation=G2,e.domMax=_k,e.filterProps=si,e.isBrowser=M,e.isDragActive=G0,e.isMotionValue=Qt,e.isValidMotionProp=eo,e.m=Q9,e.makeUseVisualState=ko,e.motion=wh,e.motionValue=Gr,e.resolveMotionValue=ro,e.transform=U2,e.useAnimation=Rk,e.useAnimationControls=X2,e.useAnimationFrame=q2,e.useCycle=Mk,e.useDeprecatedAnimatedState=Vk,e.useDeprecatedInvertedScale=Uk,e.useDomEvent=vt,e.useDragControls=Nk,e.useElementScroll=Sk,e.useForceUpdate=Nc,e.useInView=Ak,e.useInstantLayoutTransition=J2,e.useInstantTransition=Dk,e.useIsPresent=lE,e.useIsomorphicLayoutEffect=A,e.useMotionTemplate=xk,e.useMotionValue=jo,e.usePresence=Y0,e.useReducedMotion=G,e.useReducedMotionConfig=X,e.useResetProjection=Fk,e.useScroll=Ch,e.useSpring=Ck,e.useTime=kk,e.useTransform=jc,e.useUnmountEffect=Oc,e.useVelocity=Pk,e.useViewportScroll=Tk,e.useVisualElementContext=T,e.visualElement=Ac,e.wrapHandler=H0})(Ht);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{AccordionBody:function(){return b},default:function(){return y}});var r=P(F),n=Ht,o=P(Ae),a=P(Yt),i=P(Se),l=Oe,f=c0,g=Ce,m=Qu;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.className,d=c.children,h=O(c,["className","children"]),v=(0,f.useAccordion)(),_=v.open,k=v.animate,T=(0,g.useTheme)().accordion,E=T.styles.base;u=u??"";var M=(0,l.twMerge)((0,o.default)((0,i.default)(E.body)),u),A={unmount:{height:"0px",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{height:"auto",transition:{duration:.2,times:[.4,0,.2,1]}}},N={unmount:{transition:{duration:.3,ease:"linear"}},mount:{transition:{duration:.3,ease:"linear"}}},D=(0,a.default)(A,k);return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement(n.m.div,{className:"overflow-hidden",initial:"unmount",exit:"unmount",animate:_?"mount":"unmount",variants:D},r.default.createElement(n.m.div,w({},h,{ref:s,className:M,initial:"unmount",exit:"unmount",animate:_?"mount":"unmount",variants:N}),d)))});b.propTypes={className:m.propTypesClassName,children:m.propTypesChildren},b.displayName="MaterialTailwind.AccordionBody";var y=b})(AO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Accordion:function(){return y},AccordionHeader:function(){return g.AccordionHeader},AccordionBody:function(){return m.AccordionBody},useAccordion:function(){return l.useAccordion},default:function(){return c}});var r=O(F),n=O(Ae),o=Oe,a=O(Se),i=Ce,l=c0,f=Qu,g=MO,m=AO;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.open,h=s.icon,v=s.animate,_=s.className,k=s.disabled,T=s.children,E=C(s,["open","icon","animate","className","disabled","children"]),M=(0,i.useTheme)().accordion,A=M.defaultProps,N=M.styles.base;h=h??A.icon,v=v??A.animate,k=k??A.disabled,_=(0,o.twMerge)(A.className||"",_);var D=(0,o.twMerge)((0,n.default)((0,a.default)(N.container),w({},(0,a.default)(N.disabled),k)),_),$=r.default.useMemo(function(){return{open:d,icon:h,animate:v,disabled:k}},[d,h,v,k]);return r.default.createElement(l.AccordionContextProvider,{value:$},r.default.createElement("div",P({},E,{ref:u,className:D}),T))});y.propTypes={open:f.propTypesOpen,icon:f.propTypesIcon,animate:f.propTypesAnimate,disabled:f.propTypesDisabled,className:f.propTypesClassName,children:f.propTypesChildren},y.displayName="MaterialTailwind.Accordion";var c=Object.assign(y,{Header:g.AccordionHeader,Body:m.AccordionBody})})(uP);var eT={},ht={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n,o,a){var i=n.findIndex(function(l){return l===o});return i>=0?o:a}var r=t})(ht);var x0={},Vl=class{constructor(){this.x=0,this.y=0,this.z=0}findFurthestPoint(t,r,n,o,a,i){return this.x=t-n>r/2?0:r,this.y=o-i>a/2?0:a,this.z=Math.hypot(this.x-(t-n),this.y-(o-i)),this.z}appyStyles(t,r,n,o,a){t.classList.add("ripple"),t.style.backgroundColor=r==="dark"?"rgba(0,0,0, 0.2)":"rgba(255,255,255, 0.3)",t.style.borderRadius="50%",t.style.pointerEvents="none",t.style.position="absolute",t.style.left=a.clientX-n.left-o+"px",t.style.top=a.clientY-n.top-o+"px",t.style.width=t.style.height=o*2+"px"}applyAnimation(t){t.animate([{transform:"scale(0)",opacity:1},{transform:"scale(1.5)",opacity:0}],{duration:500,easing:"linear"})}create(t,r){const n=t.currentTarget;n.style.position="relative",n.style.overflow="hidden";const o=n.getBoundingClientRect(),a=this.findFurthestPoint(t.clientX,n.offsetWidth,o.left,t.clientY,n.offsetHeight,o.top),i=document.createElement("span");this.appyStyles(i,r,o,a,t),this.applyAnimation(i),n.appendChild(i),setTimeout(()=>i.remove(),500)}};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{IconButton:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Vl),a=P(Ae),i=Oe,l=P(ht),f=P(Se),g=Ce,m=Ja;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.size,h=c.color,v=c.ripple,_=c.className,k=c.children;c.fullWidth;var T=O(c,["variant","size","color","ripple","className","children","fullWidth"]),E=(0,g.useTheme)().iconButton,M=E.valid,A=E.defaultProps,N=E.styles,D=N.base,$=N.variants,G=N.sizes;u=u??A.variant,d=d??A.size,h=h??A.color,v=v??A.ripple,_=(0,i.twMerge)(A.className||"",_);var X=v!==void 0&&new o.default,H=(0,f.default)(D),V=(0,f.default)($[(0,l.default)(M.variants,u,"filled")][(0,l.default)(M.colors,h,"gray")]),B=(0,f.default)(G[(0,l.default)(M.sizes,d,"md")]),q=(0,i.twMerge)((0,a.default)(H,B,V),_);return r.default.createElement("button",w({},T,{ref:s,className:q,type:T.type||"button",onMouseDown:function(Y){var ne=T==null?void 0:T.onMouseDown;return v&&X.create(Y,(u==="filled"||u==="gradient")&&h!=="white"?"light":"dark"),typeof ne=="function"&&ne(Y)}}),r.default.createElement("span",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform"},k))});b.propTypes={variant:n.default.oneOf(m.propTypesVariant),size:n.default.oneOf(m.propTypesSize),color:n.default.oneOf(m.propTypesColor),ripple:m.propTypesRipple,className:m.propTypesClassName,children:m.propTypesChildren},b.displayName="MaterialTailwind.IconButton";var y=b})(x0);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,d){for(var h in d)Object.defineProperty(u,h,{enumerable:!0,get:d[h]})}t(e,{Alert:function(){return c},default:function(){return s}});var r=C(F),n=C(Ee),o=Ht,a=C(Ae),i=C(Yt),l=Oe,f=C(ht),g=C(Se),m=Ce,w=Hb,P=C(x0);function O(){return O=Object.assign||function(u){for(var d=1;d=0)&&Object.prototype.propertyIsEnumerable.call(u,v)&&(h[v]=u[v])}return h}function y(u,d){if(u==null)return{};var h={},v=Object.keys(u),_,k;for(k=0;k=0)&&(h[_]=u[_]);return h}var c=r.default.forwardRef(function(u,d){var h=u.variant,v=u.color,_=u.icon,k=u.open,T=u.action,E=u.onClose,M=u.animate,A=u.className,N=u.children,D=b(u,["variant","color","icon","open","action","onClose","animate","className","children"]),$=(0,m.useTheme)().alert,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.variants;h=h??G.variant,v=v??G.color,M=M??G.animate,k=k??G.open,T=T??G.action,E=E??G.onClose,A=(0,l.twMerge)(G.className||"",A);var q=(0,g.default)(V.alert),Y=(0,g.default)(V.action),ne=(0,g.default)(B[(0,f.default)(X.variants,h,"filled")][(0,f.default)(X.colors,v,"gray")]),ce=(0,l.twMerge)((0,a.default)(q,ne),A),se=(0,a.default)(Y),re={unmount:{opacity:0},mount:{opacity:1}},pe=(0,i.default)(re,M),ue=r.default.createElement("div",{className:"shrink-0"},_),oe=o.AnimatePresence;return r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(oe,null,k&&r.default.createElement(o.m.div,O({},D,{ref:d,role:"alert",className:"".concat(ce," flex"),initial:"unmount",exit:"unmount",animate:k?"mount":"unmount",variants:pe}),_&&ue,r.default.createElement("div",{className:"".concat(_?"ml-3":""," mr-12")},N),E&&!T&&r.default.createElement(P.default,{onClick:E,size:"sm",variant:"text",color:h==="outlined"||h==="ghost"?v:"white",className:se},r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6",strokeWidth:2},r.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))),T||null)))});c.propTypes={variant:n.default.oneOf(w.propTypesVariant),color:n.default.oneOf(w.propTypesColor),icon:w.propTypesIcon,open:w.propTypesOpen,action:w.propTypesAction,onClose:w.propTypesOnClose,animate:w.propTypesAnimate,className:w.propTypesClassName,children:w.propTypesChildren},c.displayName="MaterialTailwind.Alert";var s=c})(eT);var tT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Avatar:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=Oe,i=P(ht),l=P(Se),f=Ce,g=Gb;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.size,h=c.className,v=c.color,_=c.withBorder,k=O(c,["variant","size","className","color","withBorder"]),T=(0,f.useTheme)().avatar,E=T.valid,M=T.defaultProps,A=T.styles,N=A.base,D=A.variants,$=A.sizes,G=A.borderColor;u=u??M.variant,d=d??M.size,_=_??M.withBorder,v=v??M.color,h=(0,a.twMerge)(M.className||"",h);var X=(0,l.default)(D[(0,i.default)(E.variants,u,"rounded")]),H=(0,l.default)($[(0,i.default)(E.sizes,d,"md")]),V=(0,l.default)(G[(0,i.default)(E.colors,v,"gray")]),B,q=(0,a.twMerge)((0,o.default)((0,l.default)(N.initial),X,H,(B={},m(B,(0,l.default)(N.withBorder),_),m(B,V,_),B)),h);return r.default.createElement("img",w({},k,{ref:s,className:q}))});b.propTypes={variant:n.default.oneOf(g.propTypesVariant),size:n.default.oneOf(g.propTypesSize),className:g.propTypesClassName,withBorder:g.propTypesWithBorder,color:n.default.oneOf(g.propTypesColor)},b.displayName="MaterialTailwind.Avatar";var y=b})(tT);var rT={},nT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var m in g)Object.defineProperty(f,m,{enumerable:!0,get:g[m]})}t(e,{propTypesSeparator:function(){return o},propTypesFullWidth:function(){return a},propTypesClassName:function(){return i},propTypesChildren:function(){return l}});var r=n(Ee);function n(f){return f&&f.__esModule?f:{default:f}}var o=r.default.node,a=r.default.bool,i=r.default.string,l=r.default.node.isRequired})(nT);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Breadcrumbs:function(){return b},default:function(){return y}});var r=P(F),n=m(Ae),o=Oe,a=m(Se),i=Ce,l=nT;function f(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function g(){return g=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=(0,r.forwardRef)(function(c,s){var u=c.separator,d=c.fullWidth,h=c.className,v=c.children,_=O(c,["separator","fullWidth","className","children"]),k=(0,i.useTheme)().breadcrumbs,T=k.defaultProps,E=k.styles.base;u=u??T.separator,d=d??T.fullWidth,h=(0,o.twMerge)(T.className||"",h);var M=(0,n.default)((0,a.default)(E.root.initial),f({},(0,a.default)(E.root.fullWidth),d)),A=(0,o.twMerge)((0,n.default)((0,a.default)(E.list)),h),N=(0,n.default)((0,a.default)(E.item.initial)),D=(0,n.default)((0,a.default)(E.separator));return r.default.createElement("nav",{"aria-label":"breadcrumb",className:M},r.default.createElement("ol",g({},_,{ref:s,className:A}),r.Children.map(v,function($,G){if((0,r.isValidElement)($)){var X;return r.default.createElement("li",{className:(0,n.default)(N,f({},(0,a.default)(E.item.disabled),$==null||(X=$.props)===null||X===void 0?void 0:X.disabled))},$,G!==r.Children.count(v)-1&&r.default.createElement("span",{className:D},u))}return null})))});b.propTypes={separator:l.propTypesSeparator,fullWidth:l.propTypesFullWidth,className:l.propTypesClassName,children:l.propTypesChildren},b.displayName="MaterialTailwind.Breadcrumbs";var y=b})(rT);var oT={},Ey={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Spinner:function(){return y},default:function(){return c}});var r=w(Ee),n=O(F),o=w(Ae),a=Oe,i=w(ht),l=w(Se),f=Ce,g=ay;function m(){return m=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=(0,n.forwardRef)(function(s,u){var d=s.color,h=s.className,v=C(s,["color","className"]),_=(0,f.useTheme)().spinner,k=_.defaultProps,T=_.valid,E=_.styles,M=E.base,A=E.colors;d=d??k.color,h=(0,a.twMerge)(k.className||"",h);var N=(0,l.default)(A[(0,i.default)(T.colors,d,"gray")]),D=(0,a.twMerge)((0,o.default)((0,l.default)(M)),h),$,G;return n.default.createElement("svg",m({},v,{ref:u,className:D,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:($=v==null?void 0:v.width)!==null&&$!==void 0?$:24,height:(G=v==null?void 0:v.height)!==null&&G!==void 0?G:24}),n.default.createElement("path",{d:"M32 3C35.8083 3 39.5794 3.75011 43.0978 5.20749C46.6163 6.66488 49.8132 8.80101 52.5061 11.4939C55.199 14.1868 57.3351 17.3837 58.7925 20.9022C60.2499 24.4206 61 28.1917 61 32C61 35.8083 60.2499 39.5794 58.7925 43.0978C57.3351 46.6163 55.199 49.8132 52.5061 52.5061C49.8132 55.199 46.6163 57.3351 43.0978 58.7925C39.5794 60.2499 35.8083 61 32 61C28.1917 61 24.4206 60.2499 20.9022 58.7925C17.3837 57.3351 14.1868 55.199 11.4939 52.5061C8.801 49.8132 6.66487 46.6163 5.20749 43.0978C3.7501 39.5794 3 35.8083 3 32C3 28.1917 3.75011 24.4206 5.2075 20.9022C6.66489 17.3837 8.80101 14.1868 11.4939 11.4939C14.1868 8.80099 17.3838 6.66487 20.9022 5.20749C24.4206 3.7501 28.1917 3 32 3L32 3Z",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),n.default.createElement("path",{d:"M32 3C36.5778 3 41.0906 4.08374 45.1692 6.16256C49.2477 8.24138 52.7762 11.2562 55.466 14.9605C58.1558 18.6647 59.9304 22.9531 60.6448 27.4748C61.3591 31.9965 60.9928 36.6232 59.5759 40.9762",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round",className:N}))});y.propTypes={color:r.default.oneOf(g.propTypesColor),className:g.propTypesClassName},y.displayName="MaterialTailwind.Spinner";var c=y})(Ey);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,d){for(var h in d)Object.defineProperty(u,h,{enumerable:!0,get:d[h]})}t(e,{Button:function(){return c},default:function(){return s}});var r=C(F),n=C(Ee),o=C(Vl),a=C(Ae),i=Oe,l=C(ht),f=C(Se),g=Ce,m=C(Ey),w=Ja;function P(u,d,h){return d in u?Object.defineProperty(u,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):u[d]=h,u}function O(){return O=Object.assign||function(u){for(var d=1;d=0)&&Object.prototype.propertyIsEnumerable.call(u,v)&&(h[v]=u[v])}return h}function y(u,d){if(u==null)return{};var h={},v=Object.keys(u),_,k;for(k=0;k=0)&&(h[_]=u[_]);return h}var c=r.default.forwardRef(function(u,d){var h=u.variant,v=u.size,_=u.color,k=u.fullWidth,T=u.ripple,E=u.className,M=u.children,A=u.loading,N=b(u,["variant","size","color","fullWidth","ripple","className","children","loading"]),D=(0,g.useTheme)().button,$=D.valid,G=D.defaultProps,X=D.styles,H=X.base,V=X.variants,B=X.sizes;h=h??G.variant,v=v??G.size,_=_??G.color,k=k??G.fullWidth,T=T??G.ripple,E=(0,i.twMerge)(G.className||"",E);var q=T!==void 0&&new o.default,Y=(0,f.default)(H.initial),ne=(0,f.default)(V[(0,l.default)($.variants,h,"filled")][(0,l.default)($.colors,_,"gray")]),ce=(0,f.default)(B[(0,l.default)($.sizes,v,"md")]),se=(0,i.twMerge)((0,a.default)(Y,ce,ne,P({},(0,f.default)(H.fullWidth),k),{"flex items-center gap-2":A,"gap-3":v==="lg"}),E),re=(0,i.twMerge)((0,a.default)({"w-4 h-4":!0,"w-5 h-5":v==="lg"})),pe;return r.default.createElement("button",O({},N,{disabled:(pe=N.disabled)!==null&&pe!==void 0?pe:A,ref:d,className:se,type:N.type||"button",onMouseDown:function(ue){var oe=N==null?void 0:N.onMouseDown;return T&&q.create(ue,(h==="filled"||h==="gradient")&&_!=="white"?"light":"dark"),typeof oe=="function"&&oe(ue)}}),A&&r.default.createElement(m.default,{className:re}),M)});c.propTypes={variant:n.default.oneOf(w.propTypesVariant),size:n.default.oneOf(w.propTypesSize),color:n.default.oneOf(w.propTypesColor),fullWidth:w.propTypesFullWidth,ripple:w.propTypesRipple,className:w.propTypesClassName,children:w.propTypesChildren,loading:w.propTypesLoading},c.displayName="MaterialTailwind.Button";var s=c})(oT);var aT={},iT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{CardHeader:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=Oe,i=P(ht),l=P(Se),f=Ce,g=Qa;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.color,h=c.shadow,v=c.floated,_=c.className,k=c.children,T=O(c,["variant","color","shadow","floated","className","children"]),E=(0,f.useTheme)().cardHeader,M=E.defaultProps,A=E.styles,N=E.valid,D=A.base,$=A.variants;u=u??M.variant,d=d??M.color,h=h??M.shadow,v=v??M.floated,_=(0,a.twMerge)(M.className||"",_);var G=(0,l.default)(D.initial),X=(0,l.default)($[(0,i.default)(N.variants,u,"filled")][(0,i.default)(N.colors,d,"white")]),H=(0,a.twMerge)((0,o.default)(G,X,m({},(0,l.default)(D.shadow),h),m({},(0,l.default)(D.floated),v)),_);return r.default.createElement("div",w({},T,{ref:s,className:H}),k)});b.propTypes={variant:n.default.oneOf(g.propTypesVariant),color:n.default.oneOf(g.propTypesColor),shadow:g.propTypesShadow,floated:g.propTypesFloated,className:g.propTypesClassName,children:g.propTypesChildren},b.displayName="MaterialTailwind.CardHeader";var y=b})(iT);var lT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{CardBody:function(){return P},default:function(){return O}});var r=g(F),n=g(Ae),o=Oe,a=g(Se),i=Ce,l=Qa;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,i.useTheme)().cardBody,d=u.defaultProps,h=u.styles.base;y=(0,o.twMerge)(d.className||"",y);var v=(0,o.twMerge)((0,n.default)((0,a.default)(h)),y);return r.default.createElement("div",f({},s,{ref:b,className:v}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.CardBody";var O=P})(lT);var sT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,y){for(var c in y)Object.defineProperty(b,c,{enumerable:!0,get:y[c]})}t(e,{CardFooter:function(){return O},default:function(){return C}});var r=m(F),n=m(Ae),o=Oe,a=m(Se),i=Ce,l=Qa;function f(b,y,c){return y in b?Object.defineProperty(b,y,{value:c,enumerable:!0,configurable:!0,writable:!0}):b[y]=c,b}function g(){return g=Object.assign||function(b){for(var y=1;y=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.divider,s=b.className,u=b.children,d=w(b,["divider","className","children"]),h=(0,i.useTheme)().cardFooter,v=h.defaultProps,_=h.styles.base;c=c??v.divider,s=(0,o.twMerge)(v.className||"",s);var k=(0,o.twMerge)((0,n.default)((0,a.default)(_.initial),f({},(0,a.default)(_.divider),c)),s);return r.default.createElement("div",g({},d,{ref:y,className:k}),u)});O.propTypes={divider:l.propTypesDivider,className:l.propTypesClassName,children:l.propTypesChildren},O.displayName="MaterialTailwind.CardFooter";var C=O})(sT);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{Card:function(){return s},CardHeader:function(){return g.CardHeader},CardBody:function(){return m.CardBody},CardFooter:function(){return w.CardFooter},default:function(){return u}});var r=b(F),n=b(Ee),o=b(Ae),a=Oe,i=b(ht),l=b(Se),f=Ce,g=iT,m=lT,w=sT,P=Qa;function O(d,h,v){return h in d?Object.defineProperty(d,h,{value:v,enumerable:!0,configurable:!0,writable:!0}):d[h]=v,d}function C(){return C=Object.assign||function(d){for(var h=1;h=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function c(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}var s=r.default.forwardRef(function(d,h){var v=d.variant,_=d.color,k=d.shadow,T=d.className,E=d.children,M=y(d,["variant","color","shadow","className","children"]),A=(0,f.useTheme)().card,N=A.defaultProps,D=A.styles,$=A.valid,G=D.base,X=D.variants;v=v??N.variant,_=_??N.color,k=k??N.shadow,T=(0,a.twMerge)(N.className||"",T);var H=(0,l.default)(G.initial),V=(0,l.default)(X[(0,i.default)($.variants,v,"filled")][(0,i.default)($.colors,_,"white")]),B=(0,a.twMerge)((0,o.default)(H,V,O({},(0,l.default)(G.shadow),k)),T);return r.default.createElement("div",C({},M,{ref:h,className:B}),E)});s.propTypes={variant:n.default.oneOf(P.propTypesVariant),color:n.default.oneOf(P.propTypesColor),shadow:P.propTypesShadow,className:P.propTypesClassName,children:P.propTypesChildren},s.displayName="MaterialTailwind.Card";var u=Object.assign(s,{Header:g.CardHeader,Body:m.CardBody,Footer:w.CardFooter})})(aT);var uT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Checkbox:function(){return y},default:function(){return c}});var r=O(F),n=O(Ee),o=O(Vl),a=O(Ae),i=Oe,l=O(ht),f=O(Se),g=Ce,m=Za;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.color,h=s.label,v=s.icon,_=s.ripple,k=s.className,T=s.disabled,E=s.containerProps,M=s.labelProps,A=s.iconProps,N=s.inputRef,D=C(s,["color","label","icon","ripple","className","disabled","containerProps","labelProps","iconProps","inputRef"]),$=(0,g.useTheme)().checkbox,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.colors,q=r.default.useId();d=d??G.color,h=h??G.label,v=v??G.icon,_=_??G.ripple,T=T??G.disabled,E=E??G.containerProps,M=M??G.labelProps,A=A??G.iconProps,k=(0,i.twMerge)(G.className||"",k);var Y=_!==void 0&&new o.default,ne=(0,a.default)((0,f.default)(V.root),w({},(0,f.default)(V.disabled),T)),ce=(0,i.twMerge)((0,a.default)((0,f.default)(V.container)),E==null?void 0:E.className),se=(0,i.twMerge)((0,a.default)((0,f.default)(V.input),(0,f.default)(B[(0,l.default)(X.colors,d,"gray")])),k),re=(0,i.twMerge)((0,a.default)((0,f.default)(V.label)),M==null?void 0:M.className),pe=(0,i.twMerge)((0,a.default)((0,f.default)(V.icon)),A==null?void 0:A.className);return r.default.createElement("div",{ref:u,className:ne},r.default.createElement("label",P({},E,{className:ce,htmlFor:D.id||q,onMouseDown:function(ue){var oe=E==null?void 0:E.onMouseDown;return _&&Y.create(ue,"dark"),typeof oe=="function"&&oe(ue)}}),r.default.createElement("input",P({},D,{ref:N,type:"checkbox",disabled:T,className:se,id:D.id||q})),r.default.createElement("span",{className:pe},v||r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-3.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor",stroke:"currentColor",strokeWidth:1},r.default.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})))),h&&r.default.createElement("label",P({},M,{className:re,htmlFor:D.id||q}),h))});y.propTypes={color:n.default.oneOf(m.propTypesColor),label:m.propTypesLabel,icon:m.propTypesIcon,ripple:m.propTypesRipple,className:m.propTypesClassName,disabled:m.propTypesDisabled,containerProps:m.propTypesObject,labelProps:m.propTypesObject},y.displayName="MaterialTailwind.Checkbox";var c=y})(uT);var cT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,d){for(var h in d)Object.defineProperty(u,h,{enumerable:!0,get:d[h]})}t(e,{Chip:function(){return c},default:function(){return s}});var r=C(F),n=C(Ee),o=Ht,a=C(Ae),i=C(Yt),l=Oe,f=C(ht),g=C(Se),m=Ce,w=Zb,P=C(x0);function O(){return O=Object.assign||function(u){for(var d=1;d=0)&&Object.prototype.propertyIsEnumerable.call(u,v)&&(h[v]=u[v])}return h}function y(u,d){if(u==null)return{};var h={},v=Object.keys(u),_,k;for(k=0;k=0)&&(h[_]=u[_]);return h}var c=r.default.forwardRef(function(u,d){var h=u.variant,v=u.size,_=u.color,k=u.icon,T=u.open,E=u.onClose,M=u.action,A=u.animate,N=u.className,D=u.value,$=b(u,["variant","size","color","icon","open","onClose","action","animate","className","value"]),G=(0,m.useTheme)().chip,X=G.defaultProps,H=G.valid,V=G.styles,B=V.base,q=V.variants,Y=V.sizes;h=h??X.variant,v=v??X.size,_=_??X.color,A=A??X.animate,T=T??X.open,M=M??X.action,E=E??X.onClose,N=(0,l.twMerge)(X.className||"",N);var ne=(0,g.default)(B.chip),ce=(0,g.default)(B.action),se=(0,g.default)(B.icon),re=(0,g.default)(q[(0,f.default)(H.variants,h,"filled")][(0,f.default)(H.colors,_,"gray")]),pe=(0,g.default)(Y[(0,f.default)(H.sizes,v,"md")].chip),ue=(0,g.default)(Y[(0,f.default)(H.sizes,v,"md")].action),oe=(0,g.default)(Y[(0,f.default)(H.sizes,v,"md")].icon),fe=(0,l.twMerge)((0,a.default)(ne,re,pe),N),le=(0,a.default)(ce,ue),ae=(0,a.default)(se,oe),ge=(0,a.default)({"ml-4":k&&v==="sm","ml-[18px]":k&&v==="md","ml-5":k&&v==="lg","mr-5":E}),ve={unmount:{opacity:0},mount:{opacity:1}},be=(0,i.default)(ve,A),Pe=r.default.createElement("div",{className:ae},k),Le=o.AnimatePresence;return r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(Le,null,T&&r.default.createElement(o.m.div,O({},$,{ref:d,className:fe,initial:"unmount",exit:"unmount",animate:T?"mount":"unmount",variants:be}),k&&Pe,r.default.createElement("span",{className:ge},D),E&&!M&&r.default.createElement(P.default,{onClick:E,size:"sm",variant:"text",color:h==="outlined"||h==="ghost"?_:"white",className:le},r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:(0,a.default)({"h-3.5 w-3.5":v==="sm","h-4 w-4":v==="md","h-5 w-5":v==="lg"}),strokeWidth:2},r.default.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))),M||null)))});c.propTypes={variant:n.default.oneOf(w.propTypesVariant),size:n.default.oneOf(w.propTypesSize),color:n.default.oneOf(w.propTypesColor),icon:w.propTypesIcon,open:w.propTypesOpen,onClose:w.propTypesOnClose,action:w.propTypesAction,animate:w.propTypesAnimate,className:w.propTypesClassName,value:w.propTypesValue},c.displayName="MaterialTailwind.Chip";var s=c})(cT);var dT={},aW=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ci=new WeakMap,ad=new WeakMap,id={},hg=0,fT=function(e){return e&&(e.host||fT(e.parentNode))},iW=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=fT(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},lW=function(e,t,r,n){var o=iW(t,Array.isArray(e)?e:[e]);id[r]||(id[r]=new WeakMap);var a=id[r],i=[],l=new Set,f=new Set(o),g=function(w){!w||l.has(w)||(l.add(w),g(w.parentNode))};o.forEach(g);var m=function(w){!w||f.has(w)||Array.prototype.forEach.call(w.children,function(P){if(l.has(P))m(P);else{var O=P.getAttribute(n),C=O!==null&&O!=="false",b=(Ci.get(P)||0)+1,y=(a.get(P)||0)+1;Ci.set(P,b),a.set(P,y),i.push(P),b===1&&C&&ad.set(P,!0),y===1&&P.setAttribute(r,"true"),C||P.setAttribute(n,"true")}})};return m(t),l.clear(),hg++,function(){i.forEach(function(w){var P=Ci.get(w)-1,O=a.get(w)-1;Ci.set(w,P),a.set(w,O),P||(ad.has(w)||w.removeAttribute(n),ad.delete(w)),O||w.removeAttribute(r)}),hg--,hg||(Ci=new WeakMap,Ci=new WeakMap,ad=new WeakMap,id={})}},sW=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||aW(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),lW(n,o,r,"aria-hidden")):function(){return null}};/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE -*/var uW=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],rv=uW.join(","),pP=typeof Element>"u",Ru=pP?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Hf=!pP&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},Gf=function e(t,r){var n;r===void 0&&(r=!0);var o=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),a=o===""||o==="true",i=a||r&&t&&e(t.parentNode);return i},cW=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},dW=function(t,r,n){if(Gf(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(rv));return r&&Ru.call(t,rv)&&o.unshift(t),o=o.filter(n),o},fW=function e(t,r,n){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!Gf(i,!1))if(i.tagName==="SLOT"){var l=i.assignedElements(),f=l.length?l:i.children,g=e(f,!0,n);n.flatten?o.push.apply(o,g):o.push({scopeParent:i,candidates:g})}else{var m=Ru.call(i,rv);m&&n.filter(i)&&(r||!t.includes(i))&&o.push(i);var w=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),P=!Gf(w,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(w&&P){var O=e(w===!0?i.children:w.children,!0,n);n.flatten?o.push.apply(o,O):o.push({scopeParent:i,candidates:O})}else a.unshift.apply(a,i.children)}}return o},hP=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},gP=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||cW(t))&&!hP(t)?0:t.tabIndex},pW=function(t,r){var n=gP(t);return n<0&&r&&!hP(t)?0:n},hW=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},mP=function(t){return t.tagName==="INPUT"},gW=function(t){return mP(t)&&t.type==="hidden"},mW=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},vW=function(t,r){for(var n=0;nsummary:first-of-type"),i=a?t.parentElement:t;if(Ru.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof o=="function"){for(var l=t;t;){var f=t.parentElement,g=Hf(t);if(f&&!f.shadowRoot&&o(f)===!0)return k4(t);t.assignedSlot?t=t.assignedSlot:!f&&g!==t.ownerDocument?t=g.host:t=f}t=l}if(_W(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return k4(t);return!1},CW=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n=0)},SW=function e(t){var r=[],n=[];return t.forEach(function(o,a){var i=!!o.scopeParent,l=i?o.scopeParent:o,f=pW(l,i),g=i?e(o.candidates):l;f===0?i?r.push.apply(r,g):r.push(l):n.push({documentOrder:a,tabIndex:f,item:o,isScope:i,content:g})}),n.sort(hW).reduce(function(o,a){return a.isScope?o.push.apply(o,a.content):o.push(a.content),o},[]).concat(r)},qf=function(t,r){r=r||{};var n;return r.getShadowRoot?n=fW([t],r.includeContainer,{filter:M4.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:OW}):n=dW(t,r.includeContainer,M4.bind(null,r)),SW(n)};const vP=["top","right","bottom","left"],R4=["start","end"],A4=vP.reduce((e,t)=>e.concat(t,t+"-"+R4[0],t+"-"+R4[1]),[]),En=Math.min,ir=Math.max,Kf=Math.round,ld=Math.floor,fa=e=>({x:e,y:e}),TW={left:"right",right:"left",bottom:"top",top:"bottom"},EW={start:"end",end:"start"};function nv(e,t,r){return ir(e,En(t,r))}function kn(e,t){return typeof e=="function"?e(t):e}function $r(e){return e.split("-")[0]}function On(e){return e.split("-")[1]}function k1(e){return e==="x"?"y":"x"}function M1(e){return e==="y"?"height":"width"}function ti(e){return["top","bottom"].includes($r(e))?"y":"x"}function R1(e){return k1(ti(e))}function bP(e,t,r){r===void 0&&(r=!1);const n=On(e),o=R1(e),a=M1(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Yf(i)),[i,Yf(i)]}function kW(e){const t=Yf(e);return[Xf(e),t,Xf(t)]}function Xf(e){return e.replace(/start|end/g,t=>EW[t])}function MW(e,t,r){const n=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:i;default:return[]}}function RW(e,t,r,n){const o=On(e);let a=MW($r(e),r==="start",n);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(Xf)))),a}function Yf(e){return e.replace(/left|right|bottom|top/g,t=>TW[t])}function AW(e){return{top:0,right:0,bottom:0,left:0,...e}}function A1(e){return typeof e!="number"?AW(e):{top:e,right:e,bottom:e,left:e}}function Cl(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function I4(e,t,r){let{reference:n,floating:o}=e;const a=ti(t),i=R1(t),l=M1(i),f=$r(t),g=a==="y",m=n.x+n.width/2-o.width/2,w=n.y+n.height/2-o.height/2,P=n[l]/2-o[l]/2;let O;switch(f){case"top":O={x:m,y:n.y-o.height};break;case"bottom":O={x:m,y:n.y+n.height};break;case"right":O={x:n.x+n.width,y:w};break;case"left":O={x:n.x-o.width,y:w};break;default:O={x:n.x,y:n.y}}switch(On(t)){case"start":O[i]-=P*(r&&g?-1:1);break;case"end":O[i]+=P*(r&&g?-1:1);break}return O}const IW=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,l=a.filter(Boolean),f=await(i.isRTL==null?void 0:i.isRTL(t));let g=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:w}=I4(g,n,f),P=n,O={},C=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:i,elements:l,middlewareData:f}=t,{element:g,padding:m=0}=kn(e,t)||{};if(g==null)return{};const w=A1(m),P={x:r,y:n},O=R1(o),C=M1(O),b=await i.getDimensions(g),y=O==="y",c=y?"top":"left",s=y?"bottom":"right",u=y?"clientHeight":"clientWidth",d=a.reference[C]+a.reference[O]-P[O]-a.floating[C],h=P[O]-a.reference[O],v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(g));let _=v?v[u]:0;(!_||!await(i.isElement==null?void 0:i.isElement(v)))&&(_=l.floating[u]||a.floating[C]);const k=d/2-h/2,T=_/2-b[C]/2-1,E=En(w[c],T),R=En(w[s],T),A=E,N=_-b[C]-R,D=_/2-b[C]/2+k,$=nv(A,D,N),G=!f.arrow&&On(o)!=null&&D!==$&&a.reference[C]/2-(DOn(o)===e),...r.filter(o=>On(o)!==e)]:r.filter(o=>$r(o)===o)).filter(o=>e?On(o)===e||(t?Xf(o)!==o:!1):!0)}const DW=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,o;const{rects:a,middlewareData:i,placement:l,platform:f,elements:g}=t,{crossAxis:m=!1,alignment:w,allowedPlacements:P=A4,autoAlignment:O=!0,...C}=kn(e,t),b=w!==void 0||P===A4?jW(w||null,O,P):P,y=await Kn(t,C),c=((r=i.autoPlacement)==null?void 0:r.index)||0,s=b[c];if(s==null)return{};const u=bP(s,a,await(f.isRTL==null?void 0:f.isRTL(g.floating)));if(l!==s)return{reset:{placement:b[0]}};const d=[y[$r(s)],y[u[0]],y[u[1]]],h=[...((n=i.autoPlacement)==null?void 0:n.overflows)||[],{placement:s,overflows:d}],v=b[c+1];if(v)return{data:{index:c+1,overflows:h},reset:{placement:v}};const _=h.map(E=>{const R=On(E.placement);return[E.placement,R&&m?E.overflows.slice(0,2).reduce((A,N)=>A+N,0):E.overflows[0],E.overflows]}).sort((E,R)=>E[1]-R[1]),T=((o=_.filter(E=>E[2].slice(0,On(E[0])?2:3).every(R=>R<=0))[0])==null?void 0:o[0])||_[0][0];return T!==l?{data:{index:c+1,overflows:h},reset:{placement:T}}:{}}}},FW=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:i,initialPlacement:l,platform:f,elements:g}=t,{mainAxis:m=!0,crossAxis:w=!0,fallbackPlacements:P,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:b=!0,...y}=kn(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const c=$r(o),s=$r(l)===l,u=await(f.isRTL==null?void 0:f.isRTL(g.floating)),d=P||(s||!b?[Yf(l)]:kW(l));!P&&C!=="none"&&d.push(...RW(l,b,C,u));const h=[l,...d],v=await Kn(t,y),_=[];let k=((n=a.flip)==null?void 0:n.overflows)||[];if(m&&_.push(v[c]),w){const A=bP(o,i,u);_.push(v[A[0]],v[A[1]])}if(k=[...k,{placement:o,overflows:_}],!_.every(A=>A<=0)){var T,E;const A=(((T=a.flip)==null?void 0:T.index)||0)+1,N=h[A];if(N)return{data:{index:A,overflows:k},reset:{placement:N}};let D=(E=k.filter($=>$.overflows[0]<=0).sort(($,G)=>$.overflows[1]-G.overflows[1])[0])==null?void 0:E.placement;if(!D)switch(O){case"bestFit":{var R;const $=(R=k.map(G=>[G.placement,G.overflows.filter(X=>X>0).reduce((X,H)=>X+H,0)]).sort((G,X)=>G[1]-X[1])[0])==null?void 0:R[0];$&&(D=$);break}case"initialPlacement":D=l;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function N4(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function j4(e){return vP.some(t=>e[t]>=0)}const LW=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=kn(e,t);switch(n){case"referenceHidden":{const a=await Kn(t,{...o,elementContext:"reference"}),i=N4(a,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:j4(i)}}}case"escaped":{const a=await Kn(t,{...o,altBoundary:!0}),i=N4(a,r.floating);return{data:{escapedOffsets:i,escaped:j4(i)}}}default:return{}}}}};function yP(e){const t=En(...e.map(a=>a.left)),r=En(...e.map(a=>a.top)),n=ir(...e.map(a=>a.right)),o=ir(...e.map(a=>a.bottom));return{x:t,y:r,width:n-t,height:o-r}}function zW(e){const t=e.slice().sort((o,a)=>o.y-a.y),r=[];let n=null;for(let o=0;on.height/2?r.push([a]):r[r.length-1].push(a),n=a}return r.map(o=>Cl(yP(o)))}const VW=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:o,platform:a,strategy:i}=t,{padding:l=2,x:f,y:g}=kn(e,t),m=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(n.reference))||[]),w=zW(m),P=Cl(yP(m)),O=A1(l);function C(){if(w.length===2&&w[0].left>w[1].right&&f!=null&&g!=null)return w.find(y=>f>y.left-O.left&&fy.top-O.top&&g=2){if(ti(r)==="y"){const E=w[0],R=w[w.length-1],A=$r(r)==="top",N=E.top,D=R.bottom,$=A?E.left:R.left,G=A?E.right:R.right,X=G-$,H=D-N;return{top:N,bottom:D,left:$,right:G,width:X,height:H,x:$,y:N}}const y=$r(r)==="left",c=ir(...w.map(E=>E.right)),s=En(...w.map(E=>E.left)),u=w.filter(E=>y?E.left===s:E.right===c),d=u[0].top,h=u[u.length-1].bottom,v=s,_=c,k=_-v,T=h-d;return{top:d,bottom:h,left:v,right:_,width:k,height:T,x:v,y:d}}return P}const b=await a.getElementRects({reference:{getBoundingClientRect:C},floating:n.floating,strategy:i});return o.reference.x!==b.reference.x||o.reference.y!==b.reference.y||o.reference.width!==b.reference.width||o.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}};async function $W(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=$r(r),l=On(r),f=ti(r)==="y",g=["left","top"].includes(i)?-1:1,m=a&&f?-1:1,w=kn(t,e);let{mainAxis:P,crossAxis:O,alignmentAxis:C}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return l&&typeof C=="number"&&(O=l==="end"?C*-1:C),f?{x:O*m,y:P*g}:{x:P*g,y:O*m}}const wP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:i,middlewareData:l}=t,f=await $W(t,e);return i===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+f.x,y:a+f.y,data:{...f,placement:i}}}}},UW=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:y=>{let{x:c,y:s}=y;return{x:c,y:s}}},...f}=kn(e,t),g={x:r,y:n},m=await Kn(t,f),w=ti($r(o)),P=k1(w);let O=g[P],C=g[w];if(a){const y=P==="y"?"top":"left",c=P==="y"?"bottom":"right",s=O+m[y],u=O-m[c];O=nv(s,O,u)}if(i){const y=w==="y"?"top":"left",c=w==="y"?"bottom":"right",s=C+m[y],u=C-m[c];C=nv(s,C,u)}const b=l.fn({...t,[P]:O,[w]:C});return{...b,data:{x:b.x-r,y:b.y-n}}}}},WW=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:f=!0,crossAxis:g=!0}=kn(e,t),m={x:r,y:n},w=ti(o),P=k1(w);let O=m[P],C=m[w];const b=kn(l,t),y=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(f){const u=P==="y"?"height":"width",d=a.reference[P]-a.floating[u]+y.mainAxis,h=a.reference[P]+a.reference[u]-y.mainAxis;Oh&&(O=h)}if(g){var c,s;const u=P==="y"?"width":"height",d=["top","left"].includes($r(o)),h=a.reference[w]-a.floating[u]+(d&&((c=i.offset)==null?void 0:c[w])||0)+(d?0:y.crossAxis),v=a.reference[w]+a.reference[u]+(d?0:((s=i.offset)==null?void 0:s[w])||0)-(d?y.crossAxis:0);Cv&&(C=v)}return{[P]:O,[w]:C}}}},BW=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i=()=>{},...l}=kn(e,t),f=await Kn(t,l),g=$r(r),m=On(r),w=ti(r)==="y",{width:P,height:O}=n.floating;let C,b;g==="top"||g==="bottom"?(C=g,b=m===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(b=g,C=m==="end"?"top":"bottom");const y=O-f[C],c=P-f[b],s=!t.middlewareData.shift;let u=y,d=c;if(w){const v=P-f.left-f.right;d=m||s?En(c,v):v}else{const v=O-f.top-f.bottom;u=m||s?En(y,v):v}if(s&&!m){const v=ir(f.left,0),_=ir(f.right,0),k=ir(f.top,0),T=ir(f.bottom,0);w?d=P-2*(v!==0||_!==0?v+_:ir(f.left,f.right)):u=O-2*(k!==0||T!==0?k+T:ir(f.top,f.bottom))}await i({...t,availableWidth:d,availableHeight:u});const h=await o.getDimensions(a.floating);return P!==h.width||O!==h.height?{reset:{rects:!0}}:{}}}};function pa(e){return _P(e)?(e.nodeName||"").toLowerCase():"#document"}function zr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function So(e){var t;return(t=(_P(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _P(e){return e instanceof Node||e instanceof zr(e).Node}function Co(e){return e instanceof Element||e instanceof zr(e).Element}function Zn(e){return e instanceof HTMLElement||e instanceof zr(e).HTMLElement}function D4(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof zr(e).ShadowRoot}function oc(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=sn(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function HW(e){return["table","td","th"].includes(pa(e))}function I1(e){const t=N1(),r=sn(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function GW(e){let t=Pl(e);for(;Zn(t)&&!Cp(t);){if(I1(t))return t;t=Pl(t)}return null}function N1(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Cp(e){return["html","body","#document"].includes(pa(e))}function sn(e){return zr(e).getComputedStyle(e)}function Pp(e){return Co(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pl(e){if(pa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||D4(e)&&e.host||So(e);return D4(t)?t.host:t}function xP(e){const t=Pl(e);return Cp(t)?e.ownerDocument?e.ownerDocument.body:e.body:Zn(t)&&oc(t)?t:xP(t)}function go(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=xP(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),i=zr(o);return a?t.concat(i,i.visualViewport||[],oc(o)?o:[],i.frameElement&&r?go(i.frameElement):[]):t.concat(o,go(o,[],r))}function CP(e){const t=sn(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Zn(e),a=o?e.offsetWidth:r,i=o?e.offsetHeight:n,l=Kf(r)!==a||Kf(n)!==i;return l&&(r=a,n=i),{width:r,height:n,$:l}}function j1(e){return Co(e)?e:e.contextElement}function tl(e){const t=j1(e);if(!Zn(t))return fa(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=CP(t);let i=(a?Kf(r.width):r.width)/n,l=(a?Kf(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const qW=fa(0);function PP(e){const t=zr(e);return!N1()||!t.visualViewport?qW:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function KW(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==zr(e)?!1:t}function Ua(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),a=j1(e);let i=fa(1);t&&(n?Co(n)&&(i=tl(n)):i=tl(e));const l=KW(a,r,n)?PP(a):fa(0);let f=(o.left+l.x)/i.x,g=(o.top+l.y)/i.y,m=o.width/i.x,w=o.height/i.y;if(a){const P=zr(a),O=n&&Co(n)?zr(n):n;let C=P,b=C.frameElement;for(;b&&n&&O!==C;){const y=tl(b),c=b.getBoundingClientRect(),s=sn(b),u=c.left+(b.clientLeft+parseFloat(s.paddingLeft))*y.x,d=c.top+(b.clientTop+parseFloat(s.paddingTop))*y.y;f*=y.x,g*=y.y,m*=y.x,w*=y.y,f+=u,g+=d,C=zr(b),b=C.frameElement}}return Cl({width:m,height:w,x:f,y:g})}const XW=[":popover-open",":modal"];function OP(e){return XW.some(t=>{try{return e.matches(t)}catch{return!1}})}function YW(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a=o==="fixed",i=So(n),l=t?OP(t.floating):!1;if(n===i||l&&a)return r;let f={scrollLeft:0,scrollTop:0},g=fa(1);const m=fa(0),w=Zn(n);if((w||!w&&!a)&&((pa(n)!=="body"||oc(i))&&(f=Pp(n)),Zn(n))){const P=Ua(n);g=tl(n),m.x=P.x+n.clientLeft,m.y=P.y+n.clientTop}return{width:r.width*g.x,height:r.height*g.y,x:r.x*g.x-f.scrollLeft*g.x+m.x,y:r.y*g.y-f.scrollTop*g.y+m.y}}function ZW(e){return Array.from(e.getClientRects())}function SP(e){return Ua(So(e)).left+Pp(e).scrollLeft}function JW(e){const t=So(e),r=Pp(e),n=e.ownerDocument.body,o=ir(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=ir(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+SP(e);const l=-r.scrollTop;return sn(n).direction==="rtl"&&(i+=ir(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:i,y:l}}function QW(e,t){const r=zr(e),n=So(e),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,l=0,f=0;if(o){a=o.width,i=o.height;const g=N1();(!g||g&&t==="fixed")&&(l=o.offsetLeft,f=o.offsetTop)}return{width:a,height:i,x:l,y:f}}function eB(e,t){const r=Ua(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=Zn(e)?tl(e):fa(1),i=e.clientWidth*a.x,l=e.clientHeight*a.y,f=o*a.x,g=n*a.y;return{width:i,height:l,x:f,y:g}}function F4(e,t,r){let n;if(t==="viewport")n=QW(e,r);else if(t==="document")n=JW(So(e));else if(Co(t))n=eB(t,r);else{const o=PP(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Cl(n)}function TP(e,t){const r=Pl(e);return r===t||!Co(r)||Cp(r)?!1:sn(r).position==="fixed"||TP(r,t)}function tB(e,t){const r=t.get(e);if(r)return r;let n=go(e,[],!1).filter(l=>Co(l)&&pa(l)!=="body"),o=null;const a=sn(e).position==="fixed";let i=a?Pl(e):e;for(;Co(i)&&!Cp(i);){const l=sn(i),f=I1(i);!f&&l.position==="fixed"&&(o=null),(a?!f&&!o:!f&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||oc(i)&&!f&&TP(e,i))?n=n.filter(m=>m!==i):o=l,i=Pl(i)}return t.set(e,n),n}function rB(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?tB(t,this._c):[].concat(r),n],l=i[0],f=i.reduce((g,m)=>{const w=F4(t,m,o);return g.top=ir(w.top,g.top),g.right=En(w.right,g.right),g.bottom=En(w.bottom,g.bottom),g.left=ir(w.left,g.left),g},F4(t,l,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function nB(e){const{width:t,height:r}=CP(e);return{width:t,height:r}}function oB(e,t,r){const n=Zn(t),o=So(t),a=r==="fixed",i=Ua(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const f=fa(0);if(n||!n&&!a)if((pa(t)!=="body"||oc(o))&&(l=Pp(t)),n){const w=Ua(t,!0,a,t);f.x=w.x+t.clientLeft,f.y=w.y+t.clientTop}else o&&(f.x=SP(o));const g=i.left+l.scrollLeft-f.x,m=i.top+l.scrollTop-f.y;return{x:g,y:m,width:i.width,height:i.height}}function L4(e,t){return!Zn(e)||sn(e).position==="fixed"?null:t?t(e):e.offsetParent}function EP(e,t){const r=zr(e);if(!Zn(e)||OP(e))return r;let n=L4(e,t);for(;n&&HW(n)&&sn(n).position==="static";)n=L4(n,t);return n&&(pa(n)==="html"||pa(n)==="body"&&sn(n).position==="static"&&!I1(n))?r:n||GW(e)||r}const aB=async function(e){const t=this.getOffsetParent||EP,r=this.getDimensions;return{reference:oB(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await r(e.floating)}}};function iB(e){return sn(e).direction==="rtl"}const kP={convertOffsetParentRelativeRectToViewportRelativeRect:YW,getDocumentElement:So,getClippingRect:rB,getOffsetParent:EP,getElementRects:aB,getClientRects:ZW,getDimensions:nB,getScale:tl,isElement:Co,isRTL:iB};function lB(e,t){let r=null,n;const o=So(e);function a(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function i(l,f){l===void 0&&(l=!1),f===void 0&&(f=1),a();const{left:g,top:m,width:w,height:P}=e.getBoundingClientRect();if(l||t(),!w||!P)return;const O=ld(m),C=ld(o.clientWidth-(g+w)),b=ld(o.clientHeight-(m+P)),y=ld(g),s={rootMargin:-O+"px "+-C+"px "+-b+"px "+-y+"px",threshold:ir(0,En(1,f))||1};let u=!0;function d(h){const v=h[0].intersectionRatio;if(v!==f){if(!u)return i();v?i(!1,v):n=setTimeout(()=>{i(!1,1e-7)},100)}u=!1}try{r=new IntersectionObserver(d,{...s,root:o.ownerDocument})}catch{r=new IntersectionObserver(d,s)}r.observe(e)}return i(!0),a}function sB(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,g=j1(e),m=o||a?[...g?go(g):[],...go(t)]:[];m.forEach(c=>{o&&c.addEventListener("scroll",r,{passive:!0}),a&&c.addEventListener("resize",r)});const w=g&&l?lB(g,r):null;let P=-1,O=null;i&&(O=new ResizeObserver(c=>{let[s]=c;s&&s.target===g&&O&&(O.unobserve(t),cancelAnimationFrame(P),P=requestAnimationFrame(()=>{var u;(u=O)==null||u.observe(t)})),r()}),g&&!f&&O.observe(g),O.observe(t));let C,b=f?Ua(e):null;f&&y();function y(){const c=Ua(e);b&&(c.x!==b.x||c.y!==b.y||c.width!==b.width||c.height!==b.height)&&r(),b=c,C=requestAnimationFrame(y)}return r(),()=>{var c;m.forEach(s=>{o&&s.removeEventListener("scroll",r),a&&s.removeEventListener("resize",r)}),w==null||w(),(c=O)==null||c.disconnect(),O=null,f&&cancelAnimationFrame(C)}}const uB=DW,cB=UW,dB=FW,fB=BW,pB=LW,z4=NW,hB=VW,gB=WW,MP=(e,t,r)=>{const n=new Map,o={platform:kP,...r},a={...o.platform,_c:n};return IW(e,t,{...o,platform:a})},mB=e=>{const{element:t,padding:r}=e;function n(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return n(t)?t.current!=null?z4({element:t.current,padding:r}).fn(o):{}:t?z4({element:t,padding:r}).fn(o):{}}}};var Wd=typeof document<"u"?F.useLayoutEffect:F.useEffect;function Zf(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Zf(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Zf(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function V4(e){const t=F.useRef(e);return Wd(()=>{t.current=e}),t}function vB(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,whileElementsMounted:a,open:i}=e,[l,f]=F.useState({x:null,y:null,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[g,m]=F.useState(n);Zf(g,n)||m(n);const w=F.useRef(null),P=F.useRef(null),O=F.useRef(l),C=V4(a),b=V4(o),[y,c]=F.useState(null),[s,u]=F.useState(null),d=F.useCallback(E=>{w.current!==E&&(w.current=E,c(E))},[]),h=F.useCallback(E=>{P.current!==E&&(P.current=E,u(E))},[]),v=F.useCallback(()=>{if(!w.current||!P.current)return;const E={placement:t,strategy:r,middleware:g};b.current&&(E.platform=b.current),MP(w.current,P.current,E).then(R=>{const A={...R,isPositioned:!0};_.current&&!Zf(O.current,A)&&(O.current=A,wo.flushSync(()=>{f(A)}))})},[g,t,r,b]);Wd(()=>{i===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,f(E=>({...E,isPositioned:!1})))},[i]);const _=F.useRef(!1);Wd(()=>(_.current=!0,()=>{_.current=!1}),[]),Wd(()=>{if(y&&s){if(C.current)return C.current(y,s,v);v()}},[y,s,v,C]);const k=F.useMemo(()=>({reference:w,floating:P,setReference:d,setFloating:h}),[d,h]),T=F.useMemo(()=>({reference:y,floating:s}),[y,s]);return F.useMemo(()=>({...l,update:v,refs:k,elements:T,reference:d,floating:h}),[l,v,k,T,d,h])}var yt=typeof document<"u"?F.useLayoutEffect:F.useEffect;let gg=!1,bB=0;const $4=()=>"floating-ui-"+bB++;function yB(){const[e,t]=F.useState(()=>gg?$4():void 0);return yt(()=>{e==null&&t($4())},[]),F.useEffect(()=>{gg||(gg=!0)},[]),e}const wB=al.useId,Au=wB||yB;function RP(){const e=new Map;return{emit(t,r){var n;(n=e.get(t))==null||n.forEach(o=>o(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){e.set(t,(e.get(t)||[]).filter(n=>n!==r))}}}const AP=F.createContext(null),IP=F.createContext(null),$l=()=>{var e;return((e=F.useContext(AP))==null?void 0:e.id)||null},ri=()=>F.useContext(IP),_B=e=>{const t=Au(),r=ri(),n=$l(),o=e||n;return yt(()=>{const a={id:t,parentId:o};return r==null||r.addNode(a),()=>{r==null||r.removeNode(a)}},[r,t,o]),t},xB=e=>{let{children:t,id:r}=e;const n=$l();return F.createElement(AP.Provider,{value:F.useMemo(()=>({id:r,parentId:n}),[r,n])},t)},CB=e=>{let{children:t}=e;const r=F.useRef([]),n=F.useCallback(i=>{r.current=[...r.current,i]},[]),o=F.useCallback(i=>{r.current=r.current.filter(l=>l!==i)},[]),a=F.useState(()=>RP())[0];return F.createElement(IP.Provider,{value:F.useMemo(()=>({nodesRef:r,addNode:n,removeNode:o,events:a}),[r,n,o,a])},t)};function Pr(e){return(e==null?void 0:e.ownerDocument)||document}function D1(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function NP(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:r,version:n}=t;return r+"/"+n}).join(" "):navigator.userAgent}function F1(e){return Pr(e).defaultView||window}function tn(e){return e?e instanceof F1(e).Element:!1}function Wa(e){return e?e instanceof F1(e).HTMLElement:!1}function PB(e){if(typeof ShadowRoot>"u")return!1;const t=F1(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function jP(e){if(e.mozInputSource===0&&e.isTrusted)return!0;const t=/Android/i;return(t.test(D1())||t.test(NP()))&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function DP(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType!=="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0}function ov(){return/apple/i.test(navigator.vendor)}function FP(){return D1().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function Jf(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function rn(e){const t=F.useRef(e);return yt(()=>{t.current=e}),t}const U4="data-floating-ui-safe-polygon";function Bd(e,t,r){return r&&!Jf(r)?0:typeof e=="number"?e:e==null?void 0:e[t]}const OB=function(e,t){let{enabled:r=!0,delay:n=0,handleClose:o=null,mouseOnly:a=!1,restMs:i=0,move:l=!0}=t===void 0?{}:t;const{open:f,onOpenChange:g,dataRef:m,events:w,elements:{domReference:P,floating:O},refs:C}=e,b=ri(),y=$l(),c=rn(o),s=rn(n),u=F.useRef(),d=F.useRef(),h=F.useRef(),v=F.useRef(),_=F.useRef(!0),k=F.useRef(!1),T=F.useRef(()=>{}),E=F.useCallback(()=>{var D;const $=(D=m.current.openEvent)==null?void 0:D.type;return($==null?void 0:$.includes("mouse"))&&$!=="mousedown"},[m]);F.useEffect(()=>{if(!r)return;function D(){clearTimeout(d.current),clearTimeout(v.current),_.current=!0}return w.on("dismiss",D),()=>{w.off("dismiss",D)}},[r,w]),F.useEffect(()=>{if(!r||!c.current||!f)return;function D(){E()&&g(!1)}const $=Pr(O).documentElement;return $.addEventListener("mouseleave",D),()=>{$.removeEventListener("mouseleave",D)}},[O,f,g,r,c,m,E]);const R=F.useCallback(function(D){D===void 0&&(D=!0);const $=Bd(s.current,"close",u.current);$&&!h.current?(clearTimeout(d.current),d.current=setTimeout(()=>g(!1),$)):D&&(clearTimeout(d.current),g(!1))},[s,g]),A=F.useCallback(()=>{T.current(),h.current=void 0},[]),N=F.useCallback(()=>{if(k.current){const D=Pr(C.floating.current).body;D.style.pointerEvents="",D.removeAttribute(U4),k.current=!1}},[C]);return F.useEffect(()=>{if(!r)return;function D(){return m.current.openEvent?["click","mousedown"].includes(m.current.openEvent.type):!1}function $(H){if(clearTimeout(d.current),_.current=!1,a&&!Jf(u.current)||i>0&&Bd(s.current,"open")===0)return;m.current.openEvent=H;const V=Bd(s.current,"open",u.current);V?d.current=setTimeout(()=>{g(!0)},V):g(!0)}function G(H){if(D())return;T.current();const V=Pr(O);if(clearTimeout(v.current),c.current){clearTimeout(d.current),h.current=c.current({...e,tree:b,x:H.clientX,y:H.clientY,onClose(){N(),A(),R()}});const B=h.current;V.addEventListener("mousemove",B),T.current=()=>{V.removeEventListener("mousemove",B)};return}R()}function X(H){D()||c.current==null||c.current({...e,tree:b,x:H.clientX,y:H.clientY,onClose(){A(),R()}})(H)}if(tn(P)){const H=P;return f&&H.addEventListener("mouseleave",X),O==null||O.addEventListener("mouseleave",X),l&&H.addEventListener("mousemove",$,{once:!0}),H.addEventListener("mouseenter",$),H.addEventListener("mouseleave",G),()=>{f&&H.removeEventListener("mouseleave",X),O==null||O.removeEventListener("mouseleave",X),l&&H.removeEventListener("mousemove",$),H.removeEventListener("mouseenter",$),H.removeEventListener("mouseleave",G)}}},[P,O,r,e,a,i,l,R,A,N,g,f,b,s,c,m]),yt(()=>{var D;if(r&&f&&(D=c.current)!=null&&D.__options.blockPointerEvents&&E()){const X=Pr(O).body;if(X.setAttribute(U4,""),X.style.pointerEvents="none",k.current=!0,tn(P)&&O){var $,G;const H=P,V=b==null||($=b.nodesRef.current.find(B=>B.id===y))==null||(G=$.context)==null?void 0:G.elements.floating;return V&&(V.style.pointerEvents=""),H.style.pointerEvents="auto",O.style.pointerEvents="auto",()=>{H.style.pointerEvents="",O.style.pointerEvents=""}}}},[r,f,y,O,P,b,c,m,E]),yt(()=>{f||(u.current=void 0,A(),N())},[f,A,N]),F.useEffect(()=>()=>{A(),clearTimeout(d.current),clearTimeout(v.current),N()},[r,A,N]),F.useMemo(()=>{if(!r)return{};function D($){u.current=$.pointerType}return{reference:{onPointerDown:D,onPointerEnter:D,onMouseMove(){f||i===0||(clearTimeout(v.current),v.current=setTimeout(()=>{_.current||g(!0)},i))}},floating:{onMouseEnter(){clearTimeout(d.current)},onMouseLeave(){w.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),R(!1)}}}},[w,r,i,f,g,R])},LP=F.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),zP=()=>F.useContext(LP),SB=e=>{let{children:t,delay:r,timeoutMs:n=0}=e;const[o,a]=F.useReducer((f,g)=>({...f,...g}),{delay:r,timeoutMs:n,initialDelay:r,currentId:null,isInstantPhase:!1}),i=F.useRef(null),l=F.useCallback(f=>{a({currentId:f})},[]);return yt(()=>{o.currentId?i.current===null?i.current=o.currentId:a({isInstantPhase:!0}):(a({isInstantPhase:!1}),i.current=null)},[o.currentId]),F.createElement(LP.Provider,{value:F.useMemo(()=>({...o,setState:a,setCurrentId:l}),[o,a,l])},t)},TB=(e,t)=>{let{open:r,onOpenChange:n}=e,{id:o}=t;const{currentId:a,setCurrentId:i,initialDelay:l,setState:f,timeoutMs:g}=zP();F.useEffect(()=>{a&&(f({delay:{open:1,close:Bd(l,"close")}}),a!==o&&n(!1))},[o,n,f,a,l]),F.useEffect(()=>{function m(){n(!1),f({delay:l,currentId:null})}if(!r&&a===o)if(g){const w=window.setTimeout(m,g);return()=>{clearTimeout(w)}}else m()},[r,f,a,o,n,l,g]),F.useEffect(()=>{r&&i(o)},[r,i,o])};function Iu(){return Iu=Object.assign||function(e){for(var t=1;te==null?void 0:e.focus({preventScroll:r});o?a():W4=requestAnimationFrame(a)}function EB(e,t){var r;let n=[],o=(r=e.find(a=>a.id===t))==null?void 0:r.parentId;for(;o;){const a=e.find(i=>i.id===o);o=a==null?void 0:a.parentId,a&&(n=n.concat(a))}return n}function Zs(e,t){let r=e.filter(o=>{var a;return o.parentId===t&&((a=o.context)==null?void 0:a.open)})||[],n=r;for(;n.length;)n=e.filter(o=>{var a;return(a=n)==null?void 0:a.some(i=>{var l;return o.parentId===i.id&&((l=o.context)==null?void 0:l.open)})})||[],r=r.concat(n);return r}function Op(e){return"composedPath"in e?e.composedPath()[0]:e.target}const kB="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function VP(e){return Wa(e)&&e.matches(kB)}function Yr(e){e.preventDefault(),e.stopPropagation()}const Qf=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function $P(e,t){const r=qf(e,Qf());t==="prev"&&r.reverse();const n=r.indexOf(Ba(Pr(e)));return r.slice(n+1)[0]}function UP(){return $P(document.body,"next")}function WP(){return $P(document.body,"prev")}function Js(e,t){const r=t||e.currentTarget,n=e.relatedTarget;return!n||!wr(r,n)}function MB(e){qf(e,Qf()).forEach(r=>{r.dataset.tabindex=r.getAttribute("tabindex")||"",r.setAttribute("tabindex","-1")})}function RB(e){e.querySelectorAll("[data-tabindex]").forEach(r=>{const n=r.dataset.tabindex;delete r.dataset.tabindex,n?r.setAttribute("tabindex",n):r.removeAttribute("tabindex")})}const AB=al.useInsertionEffect,IB=AB||(e=>e());function Ul(e){const t=F.useRef(()=>{});return IB(()=>{t.current=e}),F.useCallback(function(){for(var r=arguments.length,n=new Array(r),o=0;o(ov()&&a("button"),document.addEventListener("keydown",B4),()=>{document.removeEventListener("keydown",B4)}),[]),F.createElement("span",Iu({},t,{ref:r,tabIndex:0,role:o,"aria-hidden":o?void 0:!0,"data-floating-ui-focus-guard":"",style:L1,onFocus:i=>{ov()&&FP()&&!NB(i)?(i.persist(),z1=window.setTimeout(()=>{n(i)},50)):n(i)}}))}),BP=F.createContext(null),HP=function(e){let{id:t,enabled:r=!0}=e===void 0?{}:e;const[n,o]=F.useState(null),a=Au(),i=GP();return yt(()=>{if(!r)return;const l=t?document.getElementById(t):null;if(l)l.setAttribute("data-floating-ui-portal",""),o(l);else{const f=document.createElement("div");t!==""&&(f.id=t||a),f.setAttribute("data-floating-ui-portal",""),o(f);const g=(i==null?void 0:i.portalNode)||document.body;return g.appendChild(f),()=>{g.removeChild(f)}}},[t,i,a,r]),n},jB=e=>{let{children:t,id:r,root:n=null,preserveTabOrder:o=!0}=e;const a=HP({id:r,enabled:!n}),[i,l]=F.useState(null),f=F.useRef(null),g=F.useRef(null),m=F.useRef(null),w=F.useRef(null),P=!!i&&!i.modal&&!!(n||a)&&o;return F.useEffect(()=>{if(!a||!o||i!=null&&i.modal)return;function O(C){a&&Js(C)&&(C.type==="focusin"?RB:MB)(a)}return a.addEventListener("focusin",O,!0),a.addEventListener("focusout",O,!0),()=>{a.removeEventListener("focusin",O,!0),a.removeEventListener("focusout",O,!0)}},[a,o,i==null?void 0:i.modal]),F.createElement(BP.Provider,{value:F.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:f,afterOutsideRef:g,beforeInsideRef:m,afterInsideRef:w,portalNode:a,setFocusManagerState:l}),[o,a])},P&&a&&F.createElement(e0,{"data-type":"outside",ref:f,onFocus:O=>{if(Js(O,a)){var C;(C=m.current)==null||C.focus()}else{const b=WP()||(i==null?void 0:i.refs.domReference.current);b==null||b.focus()}}}),P&&a&&F.createElement("span",{"aria-owns":a.id,style:L1}),n?wo.createPortal(t,n):a?wo.createPortal(t,a):null,P&&a&&F.createElement(e0,{"data-type":"outside",ref:g,onFocus:O=>{if(Js(O,a)){var C;(C=w.current)==null||C.focus()}else{const b=UP()||(i==null?void 0:i.refs.domReference.current);b==null||b.focus(),i!=null&&i.closeOnFocusOut&&(i==null||i.onOpenChange(!1))}}}))},GP=()=>F.useContext(BP),DB=F.forwardRef(function(t,r){return F.createElement("button",Iu({},t,{type:"button",ref:r,tabIndex:-1,style:L1}))});function FB(e){let{context:t,children:r,order:n=["content"],guards:o=!0,initialFocus:a=0,returnFocus:i=!0,modal:l=!0,visuallyHiddenDismiss:f=!1,closeOnFocusOut:g=!0}=e;const{refs:m,nodeId:w,onOpenChange:P,events:O,dataRef:C,elements:{domReference:b,floating:y}}=t,c=rn(n),s=ri(),u=GP(),[d,h]=F.useState(null),v=typeof a=="number"&&a<0,_=F.useRef(null),k=F.useRef(null),T=F.useRef(!1),E=F.useRef(null),R=F.useRef(!1),A=u!=null,N=b&&b.getAttribute("role")==="combobox"&&VP(b),D=F.useCallback(function(H){return H===void 0&&(H=y),H?qf(H,Qf()):[]},[y]),$=F.useCallback(H=>{const V=D(H);return c.current.map(B=>b&&B==="reference"?b:y&&B==="floating"?y:V).filter(Boolean).flat()},[b,y,c,D]);F.useEffect(()=>{if(!l)return;function H(B){if(B.key==="Tab"){D().length===0&&!N&&Yr(B);const q=$(),Y=Op(B);c.current[0]==="reference"&&Y===b&&(Yr(B),B.shiftKey?Wo(q[q.length-1]):Wo(q[1])),c.current[1]==="floating"&&Y===y&&B.shiftKey&&(Yr(B),Wo(q[0]))}}const V=Pr(y);return V.addEventListener("keydown",H),()=>{V.removeEventListener("keydown",H)}},[b,y,l,c,m,N,D,$]),F.useEffect(()=>{if(!g)return;function H(){R.current=!0,setTimeout(()=>{R.current=!1})}function V(B){const q=B.relatedTarget,Y=!(wr(b,q)||wr(y,q)||wr(q,y)||wr(u==null?void 0:u.portalNode,q)||q!=null&&q.hasAttribute("data-floating-ui-focus-guard")||s&&(Zs(s.nodesRef.current,w).find(ne=>{var ce,se;return wr((ce=ne.context)==null?void 0:ce.elements.floating,q)||wr((se=ne.context)==null?void 0:se.elements.domReference,q)})||EB(s.nodesRef.current,w).find(ne=>{var ce,se;return((ce=ne.context)==null?void 0:ce.elements.floating)===q||((se=ne.context)==null?void 0:se.elements.domReference)===q})));q&&Y&&!R.current&&q!==E.current&&(T.current=!0,setTimeout(()=>P(!1)))}if(y&&Wa(b))return b.addEventListener("focusout",V),b.addEventListener("pointerdown",H),!l&&y.addEventListener("focusout",V),()=>{b.removeEventListener("focusout",V),b.removeEventListener("pointerdown",H),!l&&y.removeEventListener("focusout",V)}},[b,y,l,w,s,u,P,g]),F.useEffect(()=>{var H;const V=Array.from((u==null||(H=u.portalNode)==null?void 0:H.querySelectorAll("[data-floating-ui-portal]"))||[]);function B(){return[_.current,k.current].filter(Boolean)}if(y&&l){const q=[y,...V,...B()],Y=sW(c.current.includes("reference")||N?q.concat(b||[]):q);return()=>{Y()}}},[b,y,l,c,u,N]),F.useEffect(()=>{if(l&&!o&&y){const H=[],V=Qf(),B=qf(Pr(y).body,V),q=$(),Y=B.filter(ne=>!q.includes(ne));return Y.forEach((ne,ce)=>{H[ce]=ne.getAttribute("tabindex"),ne.setAttribute("tabindex","-1")}),()=>{Y.forEach((ne,ce)=>{const se=H[ce];se==null?ne.removeAttribute("tabindex"):ne.setAttribute("tabindex",se)})}}},[y,l,o,$]),yt(()=>{if(!y)return;const H=Pr(y);let V=i,B=!1;const q=Ba(H),Y=C.current;E.current=q;const ne=$(y),ce=(typeof a=="number"?ne[a]:a.current)||y;!v&&Wo(ce,{preventScroll:ce===y});function se(re){if(re.type==="escapeKey"&&m.domReference.current&&(E.current=m.domReference.current),["referencePress","escapeKey"].includes(re.type))return;const pe=re.data.returnFocus;typeof pe=="object"?(V=!0,B=pe.preventScroll):V=pe}return O.on("dismiss",se),()=>{if(O.off("dismiss",se),wr(y,Ba(H))&&m.domReference.current&&(E.current=m.domReference.current),V&&Wa(E.current)&&!T.current)if(!m.domReference.current||R.current)Wo(E.current,{cancelPrevious:!1,preventScroll:B});else{var re;Y.__syncReturnFocus=!0,(re=E.current)==null||re.focus({preventScroll:B}),setTimeout(()=>{delete Y.__syncReturnFocus})}}},[y,$,a,i,C,m,O,v]),yt(()=>{if(u)return u.setFocusManagerState({...t,modal:l,closeOnFocusOut:g}),()=>{u.setFocusManagerState(null)}},[u,l,g,t]),yt(()=>{if(v||!y)return;function H(){h(D().length)}if(H(),typeof MutationObserver=="function"){const V=new MutationObserver(H);return V.observe(y,{childList:!0,subtree:!0}),()=>{V.disconnect()}}},[y,D,v,m]);const G=o&&(A||l)&&!N;function X(H){return f&&l?F.createElement(DB,{ref:H==="start"?_:k,onClick:()=>P(!1)},typeof f=="string"?f:"Dismiss"):null}return F.createElement(F.Fragment,null,G&&F.createElement(e0,{"data-type":"inside",ref:u==null?void 0:u.beforeInsideRef,onFocus:H=>{if(l){const B=$();Wo(n[0]==="reference"?B[0]:B[B.length-1])}else if(u!=null&&u.preserveTabOrder&&u.portalNode)if(T.current=!1,Js(H,u.portalNode)){const B=UP()||b;B==null||B.focus()}else{var V;(V=u.beforeOutsideRef.current)==null||V.focus()}}}),N?null:X("start"),F.cloneElement(r,d===0||n.includes("floating")?{tabIndex:0}:{}),X("end"),G&&F.createElement(e0,{"data-type":"inside",ref:u==null?void 0:u.afterInsideRef,onFocus:H=>{if(l)Wo($()[0]);else if(u!=null&&u.preserveTabOrder&&u.portalNode)if(T.current=!0,Js(H,u.portalNode)){const B=WP()||b;B==null||B.focus()}else{var V;(V=u.afterOutsideRef.current)==null||V.focus()}}}))}const sd="data-floating-ui-scroll-lock",LB=F.forwardRef(function(t,r){let{lockScroll:n=!1,...o}=t;return yt(()=>{var a,i;if(!n||document.body.hasAttribute(sd))return;document.body.setAttribute(sd,"");const g=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",m=window.innerWidth-document.documentElement.clientWidth;if(!/iP(hone|ad|od)|iOS/.test(D1()))return Object.assign(document.body.style,{overflow:"hidden",[g]:m+"px"}),()=>{document.body.removeAttribute(sd),Object.assign(document.body.style,{overflow:"",[g]:""})};const w=((a=window.visualViewport)==null?void 0:a.offsetLeft)||0,P=((i=window.visualViewport)==null?void 0:i.offsetTop)||0,O=window.pageXOffset,C=window.pageYOffset;return Object.assign(document.body.style,{position:"fixed",overflow:"hidden",top:-(C-Math.floor(P))+"px",left:-(O-Math.floor(w))+"px",right:"0",[g]:m+"px"}),()=>{Object.assign(document.body.style,{position:"",overflow:"",top:"",left:"",right:"",[g]:""}),document.body.removeAttribute(sd),window.scrollTo(O,C)}},[n]),F.createElement("div",Iu({ref:r},o,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...o.style}}))});function H4(e){return Wa(e.target)&&e.target.tagName==="BUTTON"}function G4(e){return VP(e)}const zB=function(e,t){let{open:r,onOpenChange:n,dataRef:o,elements:{domReference:a}}=e,{enabled:i=!0,event:l="click",toggle:f=!0,ignoreMouse:g=!1,keyboardHandlers:m=!0}=t===void 0?{}:t;const w=F.useRef();return F.useMemo(()=>i?{reference:{onPointerDown(P){w.current=P.pointerType},onMouseDown(P){P.button===0&&(Jf(w.current,!0)&&g||l!=="click"&&(r?f&&(!o.current.openEvent||o.current.openEvent.type==="mousedown")&&n(!1):(P.preventDefault(),n(!0)),o.current.openEvent=P.nativeEvent))},onClick(P){if(!o.current.__syncReturnFocus){if(l==="mousedown"&&w.current){w.current=void 0;return}Jf(w.current,!0)&&g||(r?f&&(!o.current.openEvent||o.current.openEvent.type==="click")&&n(!1):n(!0),o.current.openEvent=P.nativeEvent)}},onKeyDown(P){w.current=void 0,m&&(H4(P)||(P.key===" "&&!G4(a)&&P.preventDefault(),P.key==="Enter"&&(r?f&&n(!1):n(!0))))},onKeyUp(P){m&&(H4(P)||G4(a)||P.key===" "&&(r?f&&n(!1):n(!0)))}}}:{},[i,o,l,g,m,a,f,r,n])};function Hd(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return r.target!=null&&t.contains(r.target)}const VB={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},$B={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},UB=function(e){var t,r;return e===void 0&&(e=!0),{escapeKeyBubbles:typeof e=="boolean"?e:(t=e.escapeKey)!=null?t:!0,outsidePressBubbles:typeof e=="boolean"?e:(r=e.outsidePress)!=null?r:!0}},WB=function(e,t){let{open:r,onOpenChange:n,events:o,nodeId:a,elements:{reference:i,domReference:l,floating:f},dataRef:g}=e,{enabled:m=!0,escapeKey:w=!0,outsidePress:P=!0,outsidePressEvent:O="pointerdown",referencePress:C=!1,referencePressEvent:b="pointerdown",ancestorScroll:y=!1,bubbles:c=!0}=t===void 0?{}:t;const s=ri(),u=$l()!=null,d=Ul(typeof P=="function"?P:()=>!1),h=typeof P=="function"?d:P,v=F.useRef(!1),{escapeKeyBubbles:_,outsidePressBubbles:k}=UB(c);return F.useEffect(()=>{if(!r||!m)return;g.current.__escapeKeyBubbles=_,g.current.__outsidePressBubbles=k;function T(D){if(D.key==="Escape"){const $=s?Zs(s.nodesRef.current,a):[];if($.length>0){let G=!0;if($.forEach(X=>{var H;if((H=X.context)!=null&&H.open&&!X.context.dataRef.current.__escapeKeyBubbles){G=!1;return}}),!G)return}o.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),n(!1)}}function E(D){const $=v.current;if(v.current=!1,$||typeof h=="function"&&!h(D))return;const G=Op(D);if(Wa(G)&&f){const V=f.ownerDocument.defaultView||window,B=G.scrollWidth>G.clientWidth,q=G.scrollHeight>G.clientHeight;let Y=q&&D.offsetX>G.clientWidth;if(q&&V.getComputedStyle(G).direction==="rtl"&&(Y=D.offsetX<=G.offsetWidth-G.clientWidth),Y||B&&D.offsetY>G.clientHeight)return}const X=s&&Zs(s.nodesRef.current,a).some(V=>{var B;return Hd(D,(B=V.context)==null?void 0:B.elements.floating)});if(Hd(D,f)||Hd(D,l)||X)return;const H=s?Zs(s.nodesRef.current,a):[];if(H.length>0){let V=!0;if(H.forEach(B=>{var q;if((q=B.context)!=null&&q.open&&!B.context.dataRef.current.__outsidePressBubbles){V=!1;return}}),!V)return}o.emit("dismiss",{type:"outsidePress",data:{returnFocus:u?{preventScroll:!0}:jP(D)||DP(D)}}),n(!1)}function R(){n(!1)}const A=Pr(f);w&&A.addEventListener("keydown",T),h&&A.addEventListener(O,E);let N=[];return y&&(tn(l)&&(N=go(l)),tn(f)&&(N=N.concat(go(f))),!tn(i)&&i&&i.contextElement&&(N=N.concat(go(i.contextElement)))),N=N.filter(D=>{var $;return D!==(($=A.defaultView)==null?void 0:$.visualViewport)}),N.forEach(D=>{D.addEventListener("scroll",R,{passive:!0})}),()=>{w&&A.removeEventListener("keydown",T),h&&A.removeEventListener(O,E),N.forEach(D=>{D.removeEventListener("scroll",R)})}},[g,f,l,i,w,h,O,o,s,a,r,n,y,m,_,k,u]),F.useEffect(()=>{v.current=!1},[h,O]),F.useMemo(()=>m?{reference:{[VB[b]]:()=>{C&&(o.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),n(!1))}},floating:{[$B[O]]:()=>{v.current=!0}}}:{},[m,o,C,O,b,n])},BB=function(e,t){let{open:r,onOpenChange:n,dataRef:o,events:a,refs:i,elements:{floating:l,domReference:f}}=e,{enabled:g=!0,keyboardOnly:m=!0}=t===void 0?{}:t;const w=F.useRef(""),P=F.useRef(!1),O=F.useRef();return F.useEffect(()=>{if(!g)return;const b=Pr(l).defaultView||window;function y(){!r&&Wa(f)&&f===Ba(Pr(f))&&(P.current=!0)}return b.addEventListener("blur",y),()=>{b.removeEventListener("blur",y)}},[l,f,r,g]),F.useEffect(()=>{if(!g)return;function C(b){(b.type==="referencePress"||b.type==="escapeKey")&&(P.current=!0)}return a.on("dismiss",C),()=>{a.off("dismiss",C)}},[a,g]),F.useEffect(()=>()=>{clearTimeout(O.current)},[]),F.useMemo(()=>g?{reference:{onPointerDown(C){let{pointerType:b}=C;w.current=b,P.current=!!(b&&m)},onMouseLeave(){P.current=!1},onFocus(C){var b;P.current||C.type==="focus"&&((b=o.current.openEvent)==null?void 0:b.type)==="mousedown"&&o.current.openEvent&&Hd(o.current.openEvent,f)||(o.current.openEvent=C.nativeEvent,n(!0))},onBlur(C){P.current=!1;const b=C.relatedTarget,y=tn(b)&&b.hasAttribute("data-floating-ui-focus-guard")&&b.getAttribute("data-type")==="outside";O.current=setTimeout(()=>{wr(i.floating.current,b)||wr(f,b)||y||n(!1)})}}}:{},[g,m,f,i,o,n])};let q4=!1;const V1="ArrowUp",Sp="ArrowDown",Ol="ArrowLeft",ac="ArrowRight";function ud(e,t,r){return Math.floor(e/t)!==r}function xs(e,t){return t<0||t>=e.current.length}function nr(e,t){let{startingIndex:r=-1,decrement:n=!1,disabledIndices:o,amount:a=1}=t===void 0?{}:t;const i=e.current;let l=r;do{var f,g;l=l+(n?-a:a)}while(l>=0&&l<=i.length-1&&(o?o.includes(l):i[l]==null||(f=i[l])!=null&&f.hasAttribute("disabled")||((g=i[l])==null?void 0:g.getAttribute("aria-disabled"))==="true"));return l}function Tp(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function K4(e,t){return Tp(t,e===V1||e===Sp,e===Ol||e===ac)}function mg(e,t,r){return Tp(t,e===Sp,r?e===Ol:e===ac)||e==="Enter"||e==" "||e===""}function HB(e,t,r){return Tp(t,r?e===Ol:e===ac,e===Sp)}function GB(e,t,r){return Tp(t,r?e===ac:e===Ol,e===V1)}function vg(e,t){return nr(e,{disabledIndices:t})}function X4(e,t){return nr(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}const qB=function(e,t){let{open:r,onOpenChange:n,refs:o,elements:{domReference:a}}=e,{listRef:i,activeIndex:l,onNavigate:f=()=>{},enabled:g=!0,selectedIndex:m=null,allowEscape:w=!1,loop:P=!1,nested:O=!1,rtl:C=!1,virtual:b=!1,focusItemOnOpen:y="auto",focusItemOnHover:c=!0,openOnArrowKeyDown:s=!0,disabledIndices:u=void 0,orientation:d="vertical",cols:h=1,scrollItemIntoView:v=!0}=t===void 0?{listRef:{current:[]},activeIndex:null,onNavigate:()=>{}}:t;const _=$l(),k=ri(),T=Ul(f),E=F.useRef(y),R=F.useRef(m??-1),A=F.useRef(null),N=F.useRef(!0),D=F.useRef(T),$=F.useRef(r),G=F.useRef(!1),X=F.useRef(!1),H=rn(u),V=rn(r),B=rn(v),[q,Y]=F.useState(),ne=F.useCallback(function(re,pe,ue){ue===void 0&&(ue=!1);const oe=re.current[pe.current];b?Y(oe==null?void 0:oe.id):Wo(oe,{preventScroll:!0,sync:FP()&&ov()?q4||G.current:!1}),requestAnimationFrame(()=>{const fe=B.current;fe&&oe&&(ue||!N.current)&&(oe.scrollIntoView==null||oe.scrollIntoView(typeof fe=="boolean"?{block:"nearest",inline:"nearest"}:fe))})},[b,B]);yt(()=>{document.createElement("div").focus({get preventScroll(){return q4=!0,!1}})},[]),yt(()=>{g&&(r?E.current&&m!=null&&(X.current=!0,T(m)):$.current&&(R.current=-1,D.current(null)))},[g,r,m,T]),yt(()=>{if(g&&r)if(l==null){if(G.current=!1,m!=null)return;$.current&&(R.current=-1,ne(i,R)),!$.current&&E.current&&(A.current!=null||E.current===!0&&A.current==null)&&(R.current=A.current==null||mg(A.current,d,C)||O?vg(i,H.current):X4(i,H.current),T(R.current))}else xs(i,l)||(R.current=l,ne(i,R,X.current),X.current=!1)},[g,r,l,m,O,i,d,C,T,ne,H]),yt(()=>{if(g&&$.current&&!r){var re,pe;const ue=k==null||(re=k.nodesRef.current.find(oe=>oe.id===_))==null||(pe=re.context)==null?void 0:pe.elements.floating;ue&&!wr(ue,Ba(Pr(ue)))&&ue.focus({preventScroll:!0})}},[g,r,k,_]),yt(()=>{A.current=null,D.current=T,$.current=r});const ce=l!=null,se=F.useMemo(()=>{function re(ue){if(!r)return;const oe=i.current.indexOf(ue);oe!==-1&&T(oe)}return{onFocus(ue){let{currentTarget:oe}=ue;re(oe)},onClick:ue=>{let{currentTarget:oe}=ue;return oe.focus({preventScroll:!0})},...c&&{onMouseMove(ue){let{currentTarget:oe}=ue;re(oe)},onPointerLeave(){if(N.current&&(R.current=-1,ne(i,R),wo.flushSync(()=>T(null)),!b)){var ue;(ue=o.floating.current)==null||ue.focus({preventScroll:!0})}}}}},[r,o,ne,c,i,T,b]);return F.useMemo(()=>{if(!g)return{};const re=H.current;function pe(le){if(N.current=!1,G.current=!0,!V.current&&le.currentTarget===o.floating.current)return;if(O&&GB(le.key,d,C)){Yr(le),n(!1),Wa(a)&&a.focus();return}const ae=R.current,ge=vg(i,re),ve=X4(i,re);if(le.key==="Home"&&(R.current=ge,T(R.current)),le.key==="End"&&(R.current=ve,T(R.current)),h>1){const be=R.current;if(le.key===V1){if(Yr(le),be===-1)R.current=ve;else if(R.current=nr(i,{startingIndex:be,amount:h,decrement:!0,disabledIndices:re}),P&&(be-hPe?Xe:Xe-h}xs(i,R.current)&&(R.current=be),T(R.current)}if(le.key===Sp&&(Yr(le),be===-1?R.current=ge:(R.current=nr(i,{startingIndex:be,amount:h,disabledIndices:re}),P&&be+h>ve&&(R.current=nr(i,{startingIndex:be%h-h,amount:h,disabledIndices:re}))),xs(i,R.current)&&(R.current=be),T(R.current)),d==="both"){const Pe=Math.floor(be/h);le.key===ac&&(Yr(le),be%h!==h-1?(R.current=nr(i,{startingIndex:be,disabledIndices:re}),P&&ud(R.current,h,Pe)&&(R.current=nr(i,{startingIndex:be-be%h-1,disabledIndices:re}))):P&&(R.current=nr(i,{startingIndex:be-be%h-1,disabledIndices:re})),ud(R.current,h,Pe)&&(R.current=be)),le.key===Ol&&(Yr(le),be%h!==0?(R.current=nr(i,{startingIndex:be,disabledIndices:re,decrement:!0}),P&&ud(R.current,h,Pe)&&(R.current=nr(i,{startingIndex:be+(h-be%h),decrement:!0,disabledIndices:re}))):P&&(R.current=nr(i,{startingIndex:be+(h-be%h),decrement:!0,disabledIndices:re})),ud(R.current,h,Pe)&&(R.current=be));const Le=Math.floor(ve/h)===Pe;xs(i,R.current)&&(P&&Le?R.current=le.key===Ol?ve:nr(i,{startingIndex:be-be%h-1,disabledIndices:re}):R.current=be),T(R.current);return}}if(K4(le.key,d)){if(Yr(le),r&&!b&&Ba(le.currentTarget.ownerDocument)===le.currentTarget){R.current=mg(le.key,d,C)?ge:ve,T(R.current);return}mg(le.key,d,C)?P?R.current=ae>=ve?w&&ae!==i.current.length?-1:ge:nr(i,{startingIndex:ae,disabledIndices:re}):R.current=Math.min(ve,nr(i,{startingIndex:ae,disabledIndices:re})):P?R.current=ae<=ge?w&&ae!==-1?i.current.length:ve:nr(i,{startingIndex:ae,decrement:!0,disabledIndices:re}):R.current=Math.max(ge,nr(i,{startingIndex:ae,decrement:!0,disabledIndices:re})),xs(i,R.current)?T(null):T(R.current)}}function ue(le){y==="auto"&&jP(le.nativeEvent)&&(E.current=!0)}function oe(le){E.current=y,y==="auto"&&DP(le.nativeEvent)&&(E.current=!0)}const fe=b&&r&&ce&&{"aria-activedescendant":q};return{reference:{...fe,onKeyDown(le){N.current=!1;const ae=le.key.indexOf("Arrow")===0;if(b&&r)return pe(le);if(!r&&!s&&ae)return;if((ae||le.key==="Enter"||le.key===" "||le.key==="")&&(A.current=le.key),O){HB(le.key,d,C)&&(Yr(le),r?(R.current=vg(i,re),T(R.current)):n(!0));return}K4(le.key,d)&&(m!=null&&(R.current=m),Yr(le),!r&&s?n(!0):pe(le),r&&T(R.current))},onFocus(){r&&T(null)},onPointerDown:oe,onMouseDown:ue,onClick:ue},floating:{"aria-orientation":d==="both"?void 0:d,...fe,onKeyDown:pe,onPointerMove(){N.current=!0}},item:se}},[a,o,q,H,V,i,g,d,C,b,r,ce,O,m,s,w,h,P,y,T,n,se])};function KB(e){return F.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})},e)}const XB=function(e,t){let{open:r}=e,{enabled:n=!0,role:o="dialog"}=t===void 0?{}:t;const a=Au(),i=Au();return F.useMemo(()=>{const l={id:a,role:o};return n?o==="tooltip"?{reference:{"aria-describedby":r?a:void 0},floating:l}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":o==="alertdialog"?"dialog":o,"aria-controls":r?a:void 0,...o==="listbox"&&{role:"combobox"},...o==="menu"&&{id:i}},floating:{...l,...o==="menu"&&{"aria-labelledby":i}}}:{}},[n,o,r,a,i])},Y4=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,r)=>(r?"-":"")+t.toLowerCase());function YB(e,t){const[r,n]=F.useState(e);return e&&!r&&n(!0),F.useEffect(()=>{if(!e){const o=setTimeout(()=>n(!1),t);return()=>clearTimeout(o)}},[e,t]),r}function qP(e,t){let{open:r,elements:{floating:n}}=e,{duration:o=250}=t===void 0?{}:t;const i=(typeof o=="number"?o:o.close)||0,[l,f]=F.useState(!1),[g,m]=F.useState("unmounted"),w=YB(r,i);return yt(()=>{l&&!w&&m("unmounted")},[l,w]),yt(()=>{if(n)if(r){m("initial");const P=requestAnimationFrame(()=>{m("open")});return()=>{cancelAnimationFrame(P)}}else f(!0),m("close")},[r,n]),{isMounted:w,status:g}}function ZB(e,t){let{initial:r={opacity:0},open:n,close:o,common:a,duration:i=250}=t===void 0?{}:t;const l=e.placement,f=l.split("-")[0],[g,m]=F.useState({}),{isMounted:w,status:P}=qP(e,{duration:i}),O=rn(r),C=rn(n),b=rn(o),y=rn(a),c=typeof i=="number",s=(c?i:i.open)||0,u=(c?i:i.close)||0;return yt(()=>{const d={side:f,placement:l},h=O.current,v=b.current,_=C.current,k=y.current,T=typeof h=="function"?h(d):h,E=typeof v=="function"?v(d):v,R=typeof k=="function"?k(d):k,A=(typeof _=="function"?_(d):_)||Object.keys(T).reduce((N,D)=>(N[D]="",N),{});if(P==="initial"&&m(N=>({transitionProperty:N.transitionProperty,...R,...T})),P==="open"&&m({transitionProperty:Object.keys(A).map(Y4).join(","),transitionDuration:s+"ms",...R,...A}),P==="close"){const N=E||T;m({transitionProperty:Object.keys(N).map(Y4).join(","),transitionDuration:u+"ms",...R,...N})}},[f,l,u,b,O,C,y,s,P]),{isMounted:w,styles:g}}const JB=function(e,t){var r;let{open:n,dataRef:o}=e,{listRef:a,activeIndex:i,onMatch:l=()=>{},enabled:f=!0,findMatch:g=null,resetMs:m=1e3,ignoreKeys:w=[],selectedIndex:P=null}=t===void 0?{listRef:{current:[]},activeIndex:null}:t;const O=F.useRef(),C=F.useRef(""),b=F.useRef((r=P??i)!=null?r:-1),y=F.useRef(null),c=Ul(l),s=rn(g),u=rn(w);return yt(()=>{n&&(clearTimeout(O.current),y.current=null,C.current="")},[n]),yt(()=>{if(n&&C.current===""){var d;b.current=(d=P??i)!=null?d:-1}},[n,P,i]),F.useMemo(()=>{if(!f)return{};function d(h){const v=Op(h.nativeEvent);if(tn(v)&&(Ba(Pr(v))!==h.currentTarget&&v.closest('[role="dialog"],[role="menu"],[role="listbox"],[role="tree"],[role="grid"]')!==h.currentTarget))return;C.current.length>0&&C.current[0]!==" "&&(o.current.typing=!0,h.key===" "&&Yr(h));const _=a.current;if(_==null||u.current.includes(h.key)||h.key.length!==1||h.ctrlKey||h.metaKey||h.altKey)return;_.every(N=>{var D,$;return N?((D=N[0])==null?void 0:D.toLocaleLowerCase())!==(($=N[1])==null?void 0:$.toLocaleLowerCase()):!0})&&C.current===h.key&&(C.current="",b.current=y.current),C.current+=h.key,clearTimeout(O.current),O.current=setTimeout(()=>{C.current="",b.current=y.current,o.current.typing=!1},m);const T=b.current,E=[..._.slice((T||0)+1),..._.slice(0,(T||0)+1)],R=s.current?s.current(E,C.current):E.find(N=>(N==null?void 0:N.toLocaleLowerCase().indexOf(C.current.toLocaleLowerCase()))===0),A=R?_.indexOf(R):-1;A!==-1&&(c(A),y.current=A)}return{reference:{onKeyDown:d},floating:{onKeyDown:d}}},[f,o,a,m,u,s,c])};function Z4(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const QB=e=>({name:"inner",options:e,async fn(t){const{listRef:r,overflowRef:n,onFallbackChange:o,offset:a=0,index:i=0,minItemsVisible:l=4,referenceOverflowThreshold:f=0,scrollRef:g,...m}=e,{rects:w,elements:{floating:P}}=t,O=r.current[i];if(!O)return{};const C={...t,...await wP(-O.offsetTop-w.reference.height/2-O.offsetHeight/2-a).fn(t)},b=(g==null?void 0:g.current)||P,y=await Kn(Z4(C,b.scrollHeight),m),c=await Kn(C,{...m,elementContext:"reference"}),s=Math.max(0,y.top),u=C.y+s,d=Math.max(0,b.scrollHeight-s-Math.max(0,y.bottom));return b.style.maxHeight=d+"px",b.scrollTop=s,o&&(b.offsetHeight=-f||c.bottom>=-f?wo.flushSync(()=>o(!0)):wo.flushSync(()=>o(!1))),n&&(n.current=await Kn(Z4({...C,y:u},b.offsetHeight),m)),{y:u}}}),eH=(e,t)=>{let{open:r,elements:n}=e,{enabled:o=!0,overflowRef:a,scrollRef:i,onChange:l}=t;const f=Ul(l),g=F.useRef(!1),m=F.useRef(null),w=F.useRef(null);return F.useEffect(()=>{if(!o)return;function P(C){if(C.ctrlKey||!O||a.current==null)return;const b=C.deltaY,y=a.current.top>=-.5,c=a.current.bottom>=-.5,s=O.scrollHeight-O.clientHeight,u=b<0?-1:1,d=b<0?"max":"min";O.scrollHeight<=O.clientHeight||(!y&&b>0||!c&&b<0?(C.preventDefault(),wo.flushSync(()=>{f(h=>h+Math[d](b,s*u))})):/firefox/i.test(NP())&&(O.scrollTop+=b))}const O=(i==null?void 0:i.current)||n.floating;if(r&&O)return O.addEventListener("wheel",P),requestAnimationFrame(()=>{m.current=O.scrollTop,a.current!=null&&(w.current={...a.current})}),()=>{m.current=null,w.current=null,O.removeEventListener("wheel",P)}},[o,r,n.floating,a,i,f]),F.useMemo(()=>o?{floating:{onKeyDown(){g.current=!0},onWheel(){g.current=!1},onPointerMove(){g.current=!1},onScroll(){const P=(i==null?void 0:i.current)||n.floating;if(!(!a.current||!P||!g.current)){if(m.current!==null){const O=P.scrollTop-m.current;(a.current.bottom<-.5&&O<-1||a.current.top<-.5&&O>1)&&wo.flushSync(()=>f(C=>C+O))}requestAnimationFrame(()=>{m.current=P.scrollTop})}}}}:{},[o,a,n.floating,i,f])};function tH(e,t){const[r,n]=e;let o=!1;const a=t.length;for(let i=0,l=a-1;i=n!=w>=n&&r<=(m-f)*(n-g)/(w-g)+f&&(o=!o)}return o}function rH(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function nH(e){let{restMs:t=0,buffer:r=.5,blockPointerEvents:n=!1}=e===void 0?{}:e,o,a=!1,i=!1;const l=f=>{let{x:g,y:m,placement:w,elements:P,onClose:O,nodeId:C,tree:b}=f;return function(c){function s(){clearTimeout(o),O()}if(clearTimeout(o),!P.domReference||!P.floating||w==null||g==null||m==null)return;const{clientX:u,clientY:d}=c,h=[u,d],v=Op(c),_=c.type==="mouseleave",k=wr(P.floating,v),T=wr(P.domReference,v),E=P.domReference.getBoundingClientRect(),R=P.floating.getBoundingClientRect(),A=w.split("-")[0],N=g>R.right-R.width/2,D=m>R.bottom-R.height/2,$=rH(h,E);if(k&&(i=!0),T&&(i=!1),T&&!_){i=!0;return}if(_&&tn(c.relatedTarget)&&wr(P.floating,c.relatedTarget)||b&&Zs(b.nodesRef.current,C).some(V=>{let{context:B}=V;return B==null?void 0:B.open}))return;if(A==="top"&&m>=E.bottom-1||A==="bottom"&&m<=E.top+1||A==="left"&&g>=E.right-1||A==="right"&&g<=E.left+1)return s();let G=[];switch(A){case"top":G=[[R.left,E.top+1],[R.left,R.bottom-1],[R.right,R.bottom-1],[R.right,E.top+1]],a=u>=R.left&&u<=R.right&&d>=R.top&&d<=E.top+1;break;case"bottom":G=[[R.left,R.top+1],[R.left,E.bottom-1],[R.right,E.bottom-1],[R.right,R.top+1]],a=u>=R.left&&u<=R.right&&d>=E.bottom-1&&d<=R.bottom;break;case"left":G=[[R.right-1,R.bottom],[R.right-1,R.top],[E.left+1,R.top],[E.left+1,R.bottom]],a=u>=R.left&&u<=E.left+1&&d>=R.top&&d<=R.bottom;break;case"right":G=[[E.right-1,R.bottom],[E.right-1,R.top],[R.left+1,R.top],[R.left+1,R.bottom]],a=u>=E.right-1&&u<=R.right&&d>=R.top&&d<=R.bottom;break}function X(V){let[B,q]=V;const Y=R.width>E.width,ne=R.height>E.height;switch(A){case"top":{const ce=[Y?B+r/2:N?B+r*4:B-r*4,q+r+1],se=[Y?B-r/2:N?B+r*4:B-r*4,q+r+1],re=[[R.left,N||Y?R.bottom-r:R.top],[R.right,N?Y?R.bottom-r:R.top:R.bottom-r]];return[ce,se,...re]}case"bottom":{const ce=[Y?B+r/2:N?B+r*4:B-r*4,q-r],se=[Y?B-r/2:N?B+r*4:B-r*4,q-r],re=[[R.left,N||Y?R.top+r:R.bottom],[R.right,N?Y?R.top+r:R.bottom:R.top+r]];return[ce,se,...re]}case"left":{const ce=[B+r+1,ne?q+r/2:D?q+r*4:q-r*4],se=[B+r+1,ne?q-r/2:D?q+r*4:q-r*4];return[...[[D||ne?R.right-r:R.left,R.top],[D?ne?R.right-r:R.left:R.right-r,R.bottom]],ce,se]}case"right":{const ce=[B-r,ne?q+r/2:D?q+r*4:q-r*4],se=[B-r,ne?q-r/2:D?q+r*4:q-r*4],re=[[D||ne?R.left+r:R.right,R.top],[D?ne?R.left+r:R.right:R.left+r,R.bottom]];return[ce,se,...re]}}}const H=a?G:X([g,m]);if(!a){if(i&&!$)return s();tH([u,d],H)?t&&!i&&(o=setTimeout(s,t)):s()}}};return l.__options={blockPointerEvents:n},l}function oH(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:r,nodeId:n}=e,o=vB(e),a=ri(),i=F.useRef(null),l=F.useRef({}),f=F.useState(()=>RP())[0],[g,m]=F.useState(null),w=F.useCallback(c=>{const s=tn(c)?{getBoundingClientRect:()=>c.getBoundingClientRect(),contextElement:c}:c;o.refs.setReference(s)},[o.refs]),P=F.useCallback(c=>{(tn(c)||c===null)&&(i.current=c,m(c)),(tn(o.refs.reference.current)||o.refs.reference.current===null||c!==null&&!tn(c))&&o.refs.setReference(c)},[o.refs]),O=F.useMemo(()=>({...o.refs,setReference:P,setPositionReference:w,domReference:i}),[o.refs,P,w]),C=F.useMemo(()=>({...o.elements,domReference:g}),[o.elements,g]),b=Ul(r),y=F.useMemo(()=>({...o,refs:O,elements:C,dataRef:l,nodeId:n,events:f,open:t,onOpenChange:b}),[o,n,f,t,b,O,C]);return yt(()=>{const c=a==null?void 0:a.nodesRef.current.find(s=>s.id===n);c&&(c.context=y)}),F.useMemo(()=>({...o,context:y,refs:O,reference:P,positionReference:w}),[o,O,y,P,w])}function bg(e,t,r){const n=new Map;return{...r==="floating"&&{tabIndex:-1},...e,...t.map(o=>o?o[r]:null).concat(e).reduce((o,a)=>(a&&Object.entries(a).forEach(i=>{let[l,f]=i;if(l.indexOf("on")===0){if(n.has(l)||n.set(l,[]),typeof f=="function"){var g;(g=n.get(l))==null||g.push(f),o[l]=function(){for(var m,w=arguments.length,P=new Array(w),O=0;OC(...P))}}}else o[l]=f}),o),{})}}const aH=function(e){e===void 0&&(e=[]);const t=e,r=F.useCallback(a=>bg(a,e,"reference"),t),n=F.useCallback(a=>bg(a,e,"floating"),t),o=F.useCallback(a=>bg(a,e,"item"),e.map(a=>a==null?void 0:a.item));return F.useMemo(()=>({getReferenceProps:r,getFloatingProps:n,getItemProps:o}),[r,n,o])},iH=Object.freeze(Object.defineProperty({__proto__:null,FloatingDelayGroup:SB,FloatingFocusManager:FB,FloatingNode:xB,FloatingOverlay:LB,FloatingPortal:jB,FloatingTree:CB,arrow:mB,autoPlacement:uB,autoUpdate:sB,computePosition:MP,detectOverflow:Kn,flip:dB,getOverflowAncestors:go,hide:pB,inline:hB,inner:QB,limitShift:gB,offset:wP,platform:kP,safePolygon:nH,shift:cB,size:fB,useClick:zB,useDelayGroup:TB,useDelayGroupContext:zP,useDismiss:WB,useFloating:oH,useFloatingNodeId:_B,useFloatingParentNodeId:$l,useFloatingPortalNode:HP,useFloatingTree:ri,useFocus:BB,useHover:OB,useId:Au,useInnerOffset:eH,useInteractions:aH,useListNavigation:qB,useMergeRefs:KB,useRole:XB,useTransitionStatus:qP,useTransitionStyles:ZB,useTypeahead:JB},Symbol.toStringTag,{value:"Module"})),Ft=Rl(iH);var KP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{DialogHeader:function(){return P},default:function(){return O}});var r=g(F),n=g(Ae),o=Oe,a=g(Se),i=Ce,l=Ll;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,i.useTheme)().dialogHeader,d=u.defaultProps,h=u.styles.base;y=(0,o.twMerge)(d.className||"",y);var v=(0,o.twMerge)((0,n.default)((0,a.default)(h)),y);return r.default.createElement("div",f({},s,{ref:b,className:v}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.DialogHeader";var O=P})(KP);var XP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,y){for(var c in y)Object.defineProperty(b,c,{enumerable:!0,get:y[c]})}t(e,{DialogBody:function(){return O},default:function(){return C}});var r=m(F),n=m(Ae),o=Oe,a=m(Se),i=Ce,l=Ll;function f(b,y,c){return y in b?Object.defineProperty(b,y,{value:c,enumerable:!0,configurable:!0,writable:!0}):b[y]=c,b}function g(){return g=Object.assign||function(b){for(var y=1;y=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.divider,s=b.className,u=b.children,d=w(b,["divider","className","children"]),h=(0,i.useTheme)().dialogBody,v=h.defaultProps,_=h.styles.base;s=(0,o.twMerge)(v.className||"",s);var k=(0,o.twMerge)((0,n.default)((0,a.default)(_.initial),f({},(0,a.default)(_.divider),c)),s);return r.default.createElement("div",g({},d,{ref:y,className:k}),u)});O.propTypes={divider:l.propTypesDivider,className:l.propTypesClassName,children:l.propTypesChildren},O.displayName="MaterialTailwind.DialogBody";var C=O})(XP);var YP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{DialogFooter:function(){return P},default:function(){return O}});var r=g(F),n=g(Ae),o=Oe,a=g(Se),i=Ce,l=Ll;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,i.useTheme)().dialogFooter,d=u.defaultProps,h=u.styles.base;y=(0,o.twMerge)(d.className||"",y);var v=(0,o.twMerge)((0,n.default)((0,a.default)(h)),y);return r.default.createElement("div",f({},s,{ref:b,className:v}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.DialogFooter";var O=P})(YP);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(E,R){for(var A in R)Object.defineProperty(E,A,{enumerable:!0,get:R[A]})}t(e,{Dialog:function(){return k},DialogHeader:function(){return O.DialogHeader},DialogBody:function(){return C.DialogBody},DialogFooter:function(){return b.DialogFooter},default:function(){return T}});var r=s(F),n=s(Ee),o=Ft,a=Ht,i=s(Ae),l=s(Yt),f=Oe,g=s(ht),m=s(Se),w=Ce,P=Ll,O=KP,C=XP,b=YP;function y(E,R,A){return R in E?Object.defineProperty(E,R,{value:A,enumerable:!0,configurable:!0,writable:!0}):E[R]=A,E}function c(){return c=Object.assign||function(E){for(var R=1;R=0)&&Object.prototype.propertyIsEnumerable.call(E,N)&&(A[N]=E[N])}return A}function _(E,R){if(E==null)return{};var A={},N=Object.keys(E),D,$;for($=0;$=0)&&(A[D]=E[D]);return A}var k=r.default.forwardRef(function(E,R){var A=E.open,N=E.handler,D=E.size,$=E.dismiss,G=E.animate,X=E.className,H=E.children,V=v(E,["open","handler","size","dismiss","animate","className","children"]),B=(0,w.useTheme)().dialog,q=B.defaultProps,Y=B.valid,ne=B.styles,ce=ne.base,se=ne.sizes;N=N??void 0,D=D??q.size,$=$??q.dismiss,G=G??q.animate,X=(0,f.twMerge)(q.className||"",X);var re=(0,i.default)((0,m.default)(ce.backdrop)),pe=(0,f.twMerge)((0,i.default)((0,m.default)(ce.container),(0,m.default)(se[(0,g.default)(Y.sizes,D,"md")])),X),ue={unmount:{opacity:0,y:-50,transition:{duration:.3}},mount:{opacity:1,y:0,transition:{duration:.3}}},oe={unmount:{opacity:0,transition:{delay:.2}},mount:{opacity:1}},fe=(0,l.default)(ue,G),le=(0,o.useFloating)({open:A,onOpenChange:N}),ae=le.floating,ge=le.context,ve=(0,o.useId)(),be="".concat(ve,"-label"),Pe="".concat(ve,"-description"),Le=(0,o.useInteractions)([(0,o.useClick)(ge),(0,o.useRole)(ge),(0,o.useDismiss)(ge,$)]).getFloatingProps,Xe=(0,o.useMergeRefs)([R,ae]),mt=a.AnimatePresence;return r.default.createElement(a.LazyMotion,{features:a.domAnimation},r.default.createElement(o.FloatingPortal,null,r.default.createElement(mt,null,A&&r.default.createElement(o.FloatingOverlay,{style:{zIndex:9999},lockScroll:!0},r.default.createElement(o.FloatingFocusManager,{context:ge},r.default.createElement(a.m.div,{className:D==="xxl"?"":re,initial:"unmount",exit:"unmount",animate:A?"mount":"unmount",variants:oe,transition:{duration:.2}},r.default.createElement(a.m.div,c({},Le(h(u({},V),{ref:Xe,className:pe,"aria-labelledby":be,"aria-describedby":Pe})),{initial:"unmount",exit:"unmount",animate:A?"mount":"unmount",variants:fe}),H)))))))});k.propTypes={open:P.propTypesOpen,handler:P.propTypesHandler,size:n.default.oneOf(P.propTypesSize),dismiss:P.propTypesDismiss,animate:P.propTypesAnimate,className:P.propTypesClassName,children:P.propTypesChildren},k.displayName="MaterialTailwind.Dialog";var T=Object.assign(k,{Header:O.DialogHeader,Body:C.DialogBody,Footer:b.DialogFooter})})(dP);var ZP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Input:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=P(ht),i=P(Se),l=Ce,f=Yu,g=Oe;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.color,h=c.size,v=c.label,_=c.error,k=c.success,T=c.icon,E=c.containerProps,R=c.labelProps,A=c.className,N=c.shrink,D=c.inputRef,$=O(c,["variant","color","size","label","error","success","icon","containerProps","labelProps","className","shrink","inputRef"]),G=(0,l.useTheme)().input,X=G.defaultProps,H=G.valid,V=G.styles,B=V.base,q=V.variants;u=u??X.variant,h=h??X.size,d=d??X.color,v=v??X.label,R=R??X.labelProps,E=E??X.containerProps,N=N??X.shrink,T=T??X.icon,A=(0,g.twMerge)(X.className||"",A);var Y=q[(0,a.default)(H.variants,u,"outlined")],ne=Y.sizes[(0,a.default)(H.sizes,h,"md")],ce=(0,i.default)(Y.error.input),se=(0,i.default)(Y.success.input),re=(0,i.default)(Y.shrink.input),pe=(0,i.default)(Y.colors.input[(0,a.default)(H.colors,d,"gray")]),ue=(0,i.default)(Y.error.label),oe=(0,i.default)(Y.success.label),fe=(0,i.default)(Y.shrink.label),le=(0,i.default)(Y.colors.label[(0,a.default)(H.colors,d,"gray")]),ae=(0,o.default)((0,i.default)(B.container),(0,i.default)(ne.container),E==null?void 0:E.className),ge=(0,o.default)((0,i.default)(B.input),(0,i.default)(Y.base.input),(0,i.default)(ne.input),m({},(0,i.default)(Y.base.inputWithIcon),T),m({},pe,!_&&!k),m({},ce,_),m({},se,k),m({},re,N),A),ve=(0,o.default)((0,i.default)(B.label),(0,i.default)(Y.base.label),(0,i.default)(ne.label),m({},le,!_&&!k),m({},ue,_),m({},oe,k),m({},fe,N),R==null?void 0:R.className),be=(0,o.default)((0,i.default)(B.icon),(0,i.default)(Y.base.icon),(0,i.default)(ne.icon)),Pe=(0,o.default)((0,i.default)(B.asterisk));return r.default.createElement("div",w({},E,{ref:s,className:ae}),T&&r.default.createElement("div",{className:be},T),r.default.createElement("input",w({},$,{ref:D,className:ge,placeholder:($==null?void 0:$.placeholder)||" "})),r.default.createElement("label",w({},R,{className:ve}),v," ",$.required?r.default.createElement("span",{className:Pe},"*"):""))});b.propTypes={variant:n.default.oneOf(f.propTypesVariant),size:n.default.oneOf(f.propTypesSize),color:n.default.oneOf(f.propTypesColor),label:f.propTypesLabel,error:f.propTypesError,success:f.propTypesSuccess,icon:f.propTypesIcon,labelProps:f.propTypesLabelProps,containerProps:f.propTypesContainerProps,shrink:f.propTypesShrink,className:f.propTypesClassName},b.displayName="MaterialTailwind.Input";var y=b})(ZP);var JP={},ic={},Wl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{propTypesOpen:function(){return a},propTypesHandler:function(){return i},propTypesPlacement:function(){return l},propTypesOffset:function(){return f},propTypesDismiss:function(){return g},propTypesAnimate:function(){return m},propTypesLockScroll:function(){return w},propTypesDisabled:function(){return P},propTypesClassName:function(){return O},propTypesChildren:function(){return C},propTypesContextValue:function(){return b}});var r=o(Ee),n=st;function o(y){return y&&y.__esModule?y:{default:y}}var a=r.default.bool,i=r.default.func,l=n.propTypesPlacements,f=n.propTypesOffsetType,g=r.default.shape({itemPress:r.default.bool,enabled:r.default.bool,escapeKey:r.default.bool,referencePress:r.default.bool,referencePressEvent:r.default.oneOf(["pointerdown","mousedown","click"]),outsidePress:r.default.oneOfType([r.default.bool,r.default.func]),outsidePressEvent:r.default.oneOf(["pointerdown","mousedown","click"]),ancestorScroll:r.default.bool,bubbles:r.default.oneOfType([r.default.bool,r.default.shape({escapeKey:r.default.bool,outsidePress:r.default.bool})])}),m=n.propTypesAnimation,w=r.default.bool,P=r.default.bool,O=r.default.string,C=r.default.node.isRequired,b=r.default.shape({open:r.default.bool.isRequired,handler:r.default.func.isRequired,setInternalOpen:r.default.func.isRequired,strategy:r.default.oneOf(["fixed","absolute"]).isRequired,x:r.default.number.isRequired,y:r.default.number.isRequired,reference:r.default.func.isRequired,floating:r.default.func.isRequired,listItemsRef:r.default.instanceOf(Object).isRequired,getReferenceProps:r.default.func.isRequired,getFloatingProps:r.default.func.isRequired,getItemProps:r.default.func.isRequired,appliedAnimation:m.isRequired,lockScroll:r.default.bool.isRequired,context:r.default.instanceOf(Object).isRequired,tree:r.default.any.isRequired,allowHover:r.default.bool.isRequired,activeIndex:r.default.number.isRequired,setActiveIndex:r.default.func.isRequired,nested:r.default.bool.isRequired})})(Wl);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var m in g)Object.defineProperty(f,m,{enumerable:!0,get:g[m]})}t(e,{MenuContext:function(){return a},useMenu:function(){return i},MenuContextProvider:function(){return l}});var r=o(F),n=Wl;function o(f){return f&&f.__esModule?f:{default:f}}var a=r.default.createContext(null);a.displayName="MaterialTailwind.MenuContext";function i(){var f=r.default.useContext(a);if(!f)throw new Error("useMenu() must be used within a Menu. It happens when you use MenuCore, MenuHandler, MenuItem or MenuList components outside the Menu component.");return f}var l=function(f){var g=f.value,m=f.children;return r.default.createElement(a.Provider,{value:g},m)};l.prototypes={value:n.propTypesContextValue,children:n.propTypesChildren},l.displayName="MaterialTailwind.MenuContextProvider"})(ic);var QP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{MenuCore:function(){return y},default:function(){return c}});var r=w(F),n=w(Ee),o=Ft,a=w(Yt),i=Ce,l=ic,f=Wl;function g(s,u){(u==null||u>s.length)&&(u=s.length);for(var d=0,h=new Array(u);d=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.children,s=w(b,["children"]),u=(0,o.useMenu)(),d=u.getReferenceProps,h=u.reference,v=u.nested,_=(0,n.useMergeRefs)([y,h]);return r.default.cloneElement(c,f({},d(f(m(f({},s),{ref:_,onClick:function(T){T.stopPropagation()}}),v&&{role:"menuitem"}))))});O.propTypes={children:a.propTypesChildren},O.displayName="MaterialTailwind.MenuHandler";var C=O})(eO);var tO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{MenuList:function(){return b},default:function(){return y}});var r=P(F),n=Ft,o=Ht,a=P(Ae),i=Oe,l=P(Se),f=Ce,g=ic,m=Wl;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.children,d=c.className,h=O(c,["children","className"]),v=(0,f.useTheme)().menu,_=v.styles.base,k=(0,g.useMenu)(),T=k.open,E=k.handler,R=k.strategy,A=k.x,N=k.y,D=k.floating,$=k.listItemsRef,G=k.getFloatingProps,X=k.getItemProps,H=k.appliedAnimation,V=k.lockScroll,B=k.context,q=k.activeIndex,Y=k.tree,ne=k.allowHover,ce=k.internalAllowHover,se=k.setActiveIndex,re=k.nested;d=d??"";var pe=(0,i.twMerge)((0,a.default)((0,l.default)(_.menu)),d),ue=(0,n.useMergeRefs)([s,D]),oe=o.AnimatePresence,fe=r.default.createElement(o.m.div,w({},h,{ref:ue,style:{position:R,top:N??0,left:A??0},className:pe},G({onKeyDown:function(ae){ae.key==="Tab"&&(E(!1),ae.shiftKey&&ae.preventDefault())}}),{initial:"unmount",exit:"unmount",animate:T?"mount":"unmount",variants:H}),r.default.Children.map(u,function(le,ae){return r.default.isValidElement(le)&&r.default.cloneElement(le,X({tabIndex:q===ae?0:-1,role:"menuitem",className:le.props.className,ref:function(ve){$.current[ae]=ve},onClick:function(ve){if(le.props.onClick){var be,Pe;(Pe=(be=le.props).onClick)===null||Pe===void 0||Pe.call(be,ve)}Y==null||Y.events.emit("click")},onMouseEnter:function(){(ne&&T||ce&&T)&&se(ae)}}))}));return r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(n.FloatingPortal,null,r.default.createElement(oe,null,T&&r.default.createElement(r.default.Fragment,null,V?r.default.createElement(n.FloatingOverlay,{lockScroll:!0},r.default.createElement(n.FloatingFocusManager,{context:B,modal:!re,initialFocus:re?-1:0,returnFocus:!re,visuallyHiddenDismiss:!0},fe)):r.default.createElement(n.FloatingFocusManager,{context:B,modal:!re,initialFocus:re?-1:0,returnFocus:!re,visuallyHiddenDismiss:!0},fe)))))});b.propTypes={className:m.propTypesClassName,children:m.propTypesChildren},b.displayName="MaterialTailwind.MenuList";var y=b})(tO);var rO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,y){for(var c in y)Object.defineProperty(b,c,{enumerable:!0,get:y[c]})}t(e,{MenuItem:function(){return O},default:function(){return C}});var r=m(F),n=m(Ae),o=Oe,a=m(Se),i=Ce,l=Wl;function f(b,y,c){return y in b?Object.defineProperty(b,y,{value:c,enumerable:!0,configurable:!0,writable:!0}):b[y]=c,b}function g(){return g=Object.assign||function(b){for(var y=1;y=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.className,s=c===void 0?"":c,u=b.disabled,d=u===void 0?!1:u,h=b.children,v=w(b,["className","disabled","children"]),_=(0,i.useTheme)().menu,k=_.styles.base,T=(0,o.twMerge)((0,n.default)((0,a.default)(k.item.initial),f({},(0,a.default)(k.item.disabled),d)),s);return r.default.createElement("button",g({},v,{ref:y,role:"menuitem",className:T}),h)});O.propTypes={className:l.propTypesClassName,disabled:l.propTypesDisabled,children:l.propTypesChildren},O.displayName="MaterialTailwind.MenuItem";var C=O})(rO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{Menu:function(){return w},MenuHandler:function(){return i.MenuHandler},MenuList:function(){return l.MenuList},MenuItem:function(){return f.MenuItem},useMenu:function(){return o.useMenu},default:function(){return P}});var r=m(F),n=Ft,o=ic,a=QP,i=eO,l=tO,f=rO;function g(){return g=Object.assign||function(O){for(var C=1;C=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.open,d=c.animate,h=c.className,v=c.children,_=O(c,["open","animate","className","children"]),k;console.error(` will be deprecated in the future versions of @material-tailwind/react use instead. +*/var uW=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],rv=uW.join(","),pT=typeof Element>"u",Mu=pT?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Hf=!pT&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},Gf=function e(t,r){var n;r===void 0&&(r=!0);var o=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),a=o===""||o==="true",i=a||r&&t&&e(t.parentNode);return i},cW=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},dW=function(t,r,n){if(Gf(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(rv));return r&&Mu.call(t,rv)&&o.unshift(t),o=o.filter(n),o},fW=function e(t,r,n){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!Gf(i,!1))if(i.tagName==="SLOT"){var l=i.assignedElements(),f=l.length?l:i.children,g=e(f,!0,n);n.flatten?o.push.apply(o,g):o.push({scopeParent:i,candidates:g})}else{var m=Mu.call(i,rv);m&&n.filter(i)&&(r||!t.includes(i))&&o.push(i);var w=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),P=!Gf(w,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(w&&P){var O=e(w===!0?i.children:w.children,!0,n);n.flatten?o.push.apply(o,O):o.push({scopeParent:i,candidates:O})}else a.unshift.apply(a,i.children)}}return o},hT=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},gT=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||cW(t))&&!hT(t)?0:t.tabIndex},pW=function(t,r){var n=gT(t);return n<0&&r&&!hT(t)?0:n},hW=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},mT=function(t){return t.tagName==="INPUT"},gW=function(t){return mT(t)&&t.type==="hidden"},mW=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},vW=function(t,r){for(var n=0;nsummary:first-of-type"),i=a?t.parentElement:t;if(Mu.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof o=="function"){for(var l=t;t;){var f=t.parentElement,g=Hf(t);if(f&&!f.shadowRoot&&o(f)===!0)return k_(t);t.assignedSlot?t=t.assignedSlot:!f&&g!==t.ownerDocument?t=g.host:t=f}t=l}if(_W(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return k_(t);return!1},CW=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n=0)},SW=function e(t){var r=[],n=[];return t.forEach(function(o,a){var i=!!o.scopeParent,l=i?o.scopeParent:o,f=pW(l,i),g=i?e(o.candidates):l;f===0?i?r.push.apply(r,g):r.push(l):n.push({documentOrder:a,tabIndex:f,item:o,isScope:i,content:g})}),n.sort(hW).reduce(function(o,a){return a.isScope?o.push.apply(o,a.content):o.push(a.content),o},[]).concat(r)},qf=function(t,r){r=r||{};var n;return r.getShadowRoot?n=fW([t],r.includeContainer,{filter:R_.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:OW}):n=dW(t,r.includeContainer,R_.bind(null,r)),SW(n)};const vT=["top","right","bottom","left"],M_=["start","end"],A_=vT.reduce((e,t)=>e.concat(t,t+"-"+M_[0],t+"-"+M_[1]),[]),En=Math.min,ir=Math.max,Kf=Math.round,ld=Math.floor,fa=e=>({x:e,y:e}),TW={left:"right",right:"left",bottom:"top",top:"bottom"},EW={start:"end",end:"start"};function nv(e,t,r){return ir(e,En(t,r))}function kn(e,t){return typeof e=="function"?e(t):e}function $r(e){return e.split("-")[0]}function On(e){return e.split("-")[1]}function ky(e){return e==="x"?"y":"x"}function Ry(e){return e==="y"?"height":"width"}function ti(e){return["top","bottom"].includes($r(e))?"y":"x"}function My(e){return ky(ti(e))}function bT(e,t,r){r===void 0&&(r=!1);const n=On(e),o=My(e),a=Ry(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Yf(i)),[i,Yf(i)]}function kW(e){const t=Yf(e);return[Xf(e),t,Xf(t)]}function Xf(e){return e.replace(/start|end/g,t=>EW[t])}function RW(e,t,r){const n=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:i;default:return[]}}function MW(e,t,r,n){const o=On(e);let a=RW($r(e),r==="start",n);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(Xf)))),a}function Yf(e){return e.replace(/left|right|bottom|top/g,t=>TW[t])}function AW(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ay(e){return typeof e!="number"?AW(e):{top:e,right:e,bottom:e,left:e}}function Cl(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function I_(e,t,r){let{reference:n,floating:o}=e;const a=ti(t),i=My(t),l=Ry(i),f=$r(t),g=a==="y",m=n.x+n.width/2-o.width/2,w=n.y+n.height/2-o.height/2,P=n[l]/2-o[l]/2;let O;switch(f){case"top":O={x:m,y:n.y-o.height};break;case"bottom":O={x:m,y:n.y+n.height};break;case"right":O={x:n.x+n.width,y:w};break;case"left":O={x:n.x-o.width,y:w};break;default:O={x:n.x,y:n.y}}switch(On(t)){case"start":O[i]-=P*(r&&g?-1:1);break;case"end":O[i]+=P*(r&&g?-1:1);break}return O}const IW=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,l=a.filter(Boolean),f=await(i.isRTL==null?void 0:i.isRTL(t));let g=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:w}=I_(g,n,f),P=n,O={},C=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:i,elements:l,middlewareData:f}=t,{element:g,padding:m=0}=kn(e,t)||{};if(g==null)return{};const w=Ay(m),P={x:r,y:n},O=My(o),C=Ry(O),b=await i.getDimensions(g),y=O==="y",c=y?"top":"left",s=y?"bottom":"right",u=y?"clientHeight":"clientWidth",d=a.reference[C]+a.reference[O]-P[O]-a.floating[C],h=P[O]-a.reference[O],v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(g));let _=v?v[u]:0;(!_||!await(i.isElement==null?void 0:i.isElement(v)))&&(_=l.floating[u]||a.floating[C]);const k=d/2-h/2,T=_/2-b[C]/2-1,E=En(w[c],T),M=En(w[s],T),A=E,N=_-b[C]-M,D=_/2-b[C]/2+k,$=nv(A,D,N),G=!f.arrow&&On(o)!=null&&D!==$&&a.reference[C]/2-(DOn(o)===e),...r.filter(o=>On(o)!==e)]:r.filter(o=>$r(o)===o)).filter(o=>e?On(o)===e||(t?Xf(o)!==o:!1):!0)}const DW=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,o;const{rects:a,middlewareData:i,placement:l,platform:f,elements:g}=t,{crossAxis:m=!1,alignment:w,allowedPlacements:P=A_,autoAlignment:O=!0,...C}=kn(e,t),b=w!==void 0||P===A_?jW(w||null,O,P):P,y=await Kn(t,C),c=((r=i.autoPlacement)==null?void 0:r.index)||0,s=b[c];if(s==null)return{};const u=bT(s,a,await(f.isRTL==null?void 0:f.isRTL(g.floating)));if(l!==s)return{reset:{placement:b[0]}};const d=[y[$r(s)],y[u[0]],y[u[1]]],h=[...((n=i.autoPlacement)==null?void 0:n.overflows)||[],{placement:s,overflows:d}],v=b[c+1];if(v)return{data:{index:c+1,overflows:h},reset:{placement:v}};const _=h.map(E=>{const M=On(E.placement);return[E.placement,M&&m?E.overflows.slice(0,2).reduce((A,N)=>A+N,0):E.overflows[0],E.overflows]}).sort((E,M)=>E[1]-M[1]),T=((o=_.filter(E=>E[2].slice(0,On(E[0])?2:3).every(M=>M<=0))[0])==null?void 0:o[0])||_[0][0];return T!==l?{data:{index:c+1,overflows:h},reset:{placement:T}}:{}}}},FW=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:i,initialPlacement:l,platform:f,elements:g}=t,{mainAxis:m=!0,crossAxis:w=!0,fallbackPlacements:P,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:b=!0,...y}=kn(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const c=$r(o),s=$r(l)===l,u=await(f.isRTL==null?void 0:f.isRTL(g.floating)),d=P||(s||!b?[Yf(l)]:kW(l));!P&&C!=="none"&&d.push(...MW(l,b,C,u));const h=[l,...d],v=await Kn(t,y),_=[];let k=((n=a.flip)==null?void 0:n.overflows)||[];if(m&&_.push(v[c]),w){const A=bT(o,i,u);_.push(v[A[0]],v[A[1]])}if(k=[...k,{placement:o,overflows:_}],!_.every(A=>A<=0)){var T,E;const A=(((T=a.flip)==null?void 0:T.index)||0)+1,N=h[A];if(N)return{data:{index:A,overflows:k},reset:{placement:N}};let D=(E=k.filter($=>$.overflows[0]<=0).sort(($,G)=>$.overflows[1]-G.overflows[1])[0])==null?void 0:E.placement;if(!D)switch(O){case"bestFit":{var M;const $=(M=k.map(G=>[G.placement,G.overflows.filter(X=>X>0).reduce((X,H)=>X+H,0)]).sort((G,X)=>G[1]-X[1])[0])==null?void 0:M[0];$&&(D=$);break}case"initialPlacement":D=l;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function N_(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function j_(e){return vT.some(t=>e[t]>=0)}const LW=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=kn(e,t);switch(n){case"referenceHidden":{const a=await Kn(t,{...o,elementContext:"reference"}),i=N_(a,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:j_(i)}}}case"escaped":{const a=await Kn(t,{...o,altBoundary:!0}),i=N_(a,r.floating);return{data:{escapedOffsets:i,escaped:j_(i)}}}default:return{}}}}};function yT(e){const t=En(...e.map(a=>a.left)),r=En(...e.map(a=>a.top)),n=ir(...e.map(a=>a.right)),o=ir(...e.map(a=>a.bottom));return{x:t,y:r,width:n-t,height:o-r}}function zW(e){const t=e.slice().sort((o,a)=>o.y-a.y),r=[];let n=null;for(let o=0;on.height/2?r.push([a]):r[r.length-1].push(a),n=a}return r.map(o=>Cl(yT(o)))}const VW=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:o,platform:a,strategy:i}=t,{padding:l=2,x:f,y:g}=kn(e,t),m=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(n.reference))||[]),w=zW(m),P=Cl(yT(m)),O=Ay(l);function C(){if(w.length===2&&w[0].left>w[1].right&&f!=null&&g!=null)return w.find(y=>f>y.left-O.left&&fy.top-O.top&&g=2){if(ti(r)==="y"){const E=w[0],M=w[w.length-1],A=$r(r)==="top",N=E.top,D=M.bottom,$=A?E.left:M.left,G=A?E.right:M.right,X=G-$,H=D-N;return{top:N,bottom:D,left:$,right:G,width:X,height:H,x:$,y:N}}const y=$r(r)==="left",c=ir(...w.map(E=>E.right)),s=En(...w.map(E=>E.left)),u=w.filter(E=>y?E.left===s:E.right===c),d=u[0].top,h=u[u.length-1].bottom,v=s,_=c,k=_-v,T=h-d;return{top:d,bottom:h,left:v,right:_,width:k,height:T,x:v,y:d}}return P}const b=await a.getElementRects({reference:{getBoundingClientRect:C},floating:n.floating,strategy:i});return o.reference.x!==b.reference.x||o.reference.y!==b.reference.y||o.reference.width!==b.reference.width||o.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}};async function $W(e,t){const{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=$r(r),l=On(r),f=ti(r)==="y",g=["left","top"].includes(i)?-1:1,m=a&&f?-1:1,w=kn(t,e);let{mainAxis:P,crossAxis:O,alignmentAxis:C}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return l&&typeof C=="number"&&(O=l==="end"?C*-1:C),f?{x:O*m,y:P*g}:{x:P*g,y:O*m}}const wT=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:i,middlewareData:l}=t,f=await $W(t,e);return i===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+f.x,y:a+f.y,data:{...f,placement:i}}}}},UW=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:y=>{let{x:c,y:s}=y;return{x:c,y:s}}},...f}=kn(e,t),g={x:r,y:n},m=await Kn(t,f),w=ti($r(o)),P=ky(w);let O=g[P],C=g[w];if(a){const y=P==="y"?"top":"left",c=P==="y"?"bottom":"right",s=O+m[y],u=O-m[c];O=nv(s,O,u)}if(i){const y=w==="y"?"top":"left",c=w==="y"?"bottom":"right",s=C+m[y],u=C-m[c];C=nv(s,C,u)}const b=l.fn({...t,[P]:O,[w]:C});return{...b,data:{x:b.x-r,y:b.y-n}}}}},WW=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:f=!0,crossAxis:g=!0}=kn(e,t),m={x:r,y:n},w=ti(o),P=ky(w);let O=m[P],C=m[w];const b=kn(l,t),y=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(f){const u=P==="y"?"height":"width",d=a.reference[P]-a.floating[u]+y.mainAxis,h=a.reference[P]+a.reference[u]-y.mainAxis;Oh&&(O=h)}if(g){var c,s;const u=P==="y"?"width":"height",d=["top","left"].includes($r(o)),h=a.reference[w]-a.floating[u]+(d&&((c=i.offset)==null?void 0:c[w])||0)+(d?0:y.crossAxis),v=a.reference[w]+a.reference[u]+(d?0:((s=i.offset)==null?void 0:s[w])||0)-(d?y.crossAxis:0);Cv&&(C=v)}return{[P]:O,[w]:C}}}},BW=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i=()=>{},...l}=kn(e,t),f=await Kn(t,l),g=$r(r),m=On(r),w=ti(r)==="y",{width:P,height:O}=n.floating;let C,b;g==="top"||g==="bottom"?(C=g,b=m===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(b=g,C=m==="end"?"top":"bottom");const y=O-f[C],c=P-f[b],s=!t.middlewareData.shift;let u=y,d=c;if(w){const v=P-f.left-f.right;d=m||s?En(c,v):v}else{const v=O-f.top-f.bottom;u=m||s?En(y,v):v}if(s&&!m){const v=ir(f.left,0),_=ir(f.right,0),k=ir(f.top,0),T=ir(f.bottom,0);w?d=P-2*(v!==0||_!==0?v+_:ir(f.left,f.right)):u=O-2*(k!==0||T!==0?k+T:ir(f.top,f.bottom))}await i({...t,availableWidth:d,availableHeight:u});const h=await o.getDimensions(a.floating);return P!==h.width||O!==h.height?{reset:{rects:!0}}:{}}}};function pa(e){return _T(e)?(e.nodeName||"").toLowerCase():"#document"}function zr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function So(e){var t;return(t=(_T(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _T(e){return e instanceof Node||e instanceof zr(e).Node}function Co(e){return e instanceof Element||e instanceof zr(e).Element}function Jn(e){return e instanceof HTMLElement||e instanceof zr(e).HTMLElement}function D_(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof zr(e).ShadowRoot}function oc(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=sn(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function HW(e){return["table","td","th"].includes(pa(e))}function Iy(e){const t=Ny(),r=sn(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function GW(e){let t=Pl(e);for(;Jn(t)&&!C0(t);){if(Iy(t))return t;t=Pl(t)}return null}function Ny(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function C0(e){return["html","body","#document"].includes(pa(e))}function sn(e){return zr(e).getComputedStyle(e)}function P0(e){return Co(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pl(e){if(pa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||D_(e)&&e.host||So(e);return D_(t)?t.host:t}function xT(e){const t=Pl(e);return C0(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jn(t)&&oc(t)?t:xT(t)}function go(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=xT(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),i=zr(o);return a?t.concat(i,i.visualViewport||[],oc(o)?o:[],i.frameElement&&r?go(i.frameElement):[]):t.concat(o,go(o,[],r))}function CT(e){const t=sn(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Jn(e),a=o?e.offsetWidth:r,i=o?e.offsetHeight:n,l=Kf(r)!==a||Kf(n)!==i;return l&&(r=a,n=i),{width:r,height:n,$:l}}function jy(e){return Co(e)?e:e.contextElement}function tl(e){const t=jy(e);if(!Jn(t))return fa(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=CT(t);let i=(a?Kf(r.width):r.width)/n,l=(a?Kf(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const qW=fa(0);function PT(e){const t=zr(e);return!Ny()||!t.visualViewport?qW:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function KW(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==zr(e)?!1:t}function Ua(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),a=jy(e);let i=fa(1);t&&(n?Co(n)&&(i=tl(n)):i=tl(e));const l=KW(a,r,n)?PT(a):fa(0);let f=(o.left+l.x)/i.x,g=(o.top+l.y)/i.y,m=o.width/i.x,w=o.height/i.y;if(a){const P=zr(a),O=n&&Co(n)?zr(n):n;let C=P,b=C.frameElement;for(;b&&n&&O!==C;){const y=tl(b),c=b.getBoundingClientRect(),s=sn(b),u=c.left+(b.clientLeft+parseFloat(s.paddingLeft))*y.x,d=c.top+(b.clientTop+parseFloat(s.paddingTop))*y.y;f*=y.x,g*=y.y,m*=y.x,w*=y.y,f+=u,g+=d,C=zr(b),b=C.frameElement}}return Cl({width:m,height:w,x:f,y:g})}const XW=[":popover-open",":modal"];function OT(e){return XW.some(t=>{try{return e.matches(t)}catch{return!1}})}function YW(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a=o==="fixed",i=So(n),l=t?OT(t.floating):!1;if(n===i||l&&a)return r;let f={scrollLeft:0,scrollTop:0},g=fa(1);const m=fa(0),w=Jn(n);if((w||!w&&!a)&&((pa(n)!=="body"||oc(i))&&(f=P0(n)),Jn(n))){const P=Ua(n);g=tl(n),m.x=P.x+n.clientLeft,m.y=P.y+n.clientTop}return{width:r.width*g.x,height:r.height*g.y,x:r.x*g.x-f.scrollLeft*g.x+m.x,y:r.y*g.y-f.scrollTop*g.y+m.y}}function JW(e){return Array.from(e.getClientRects())}function ST(e){return Ua(So(e)).left+P0(e).scrollLeft}function QW(e){const t=So(e),r=P0(e),n=e.ownerDocument.body,o=ir(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=ir(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+ST(e);const l=-r.scrollTop;return sn(n).direction==="rtl"&&(i+=ir(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:i,y:l}}function ZW(e,t){const r=zr(e),n=So(e),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,l=0,f=0;if(o){a=o.width,i=o.height;const g=Ny();(!g||g&&t==="fixed")&&(l=o.offsetLeft,f=o.offsetTop)}return{width:a,height:i,x:l,y:f}}function eB(e,t){const r=Ua(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=Jn(e)?tl(e):fa(1),i=e.clientWidth*a.x,l=e.clientHeight*a.y,f=o*a.x,g=n*a.y;return{width:i,height:l,x:f,y:g}}function F_(e,t,r){let n;if(t==="viewport")n=ZW(e,r);else if(t==="document")n=QW(So(e));else if(Co(t))n=eB(t,r);else{const o=PT(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Cl(n)}function TT(e,t){const r=Pl(e);return r===t||!Co(r)||C0(r)?!1:sn(r).position==="fixed"||TT(r,t)}function tB(e,t){const r=t.get(e);if(r)return r;let n=go(e,[],!1).filter(l=>Co(l)&&pa(l)!=="body"),o=null;const a=sn(e).position==="fixed";let i=a?Pl(e):e;for(;Co(i)&&!C0(i);){const l=sn(i),f=Iy(i);!f&&l.position==="fixed"&&(o=null),(a?!f&&!o:!f&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||oc(i)&&!f&&TT(e,i))?n=n.filter(m=>m!==i):o=l,i=Pl(i)}return t.set(e,n),n}function rB(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?tB(t,this._c):[].concat(r),n],l=i[0],f=i.reduce((g,m)=>{const w=F_(t,m,o);return g.top=ir(w.top,g.top),g.right=En(w.right,g.right),g.bottom=En(w.bottom,g.bottom),g.left=ir(w.left,g.left),g},F_(t,l,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function nB(e){const{width:t,height:r}=CT(e);return{width:t,height:r}}function oB(e,t,r){const n=Jn(t),o=So(t),a=r==="fixed",i=Ua(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const f=fa(0);if(n||!n&&!a)if((pa(t)!=="body"||oc(o))&&(l=P0(t)),n){const w=Ua(t,!0,a,t);f.x=w.x+t.clientLeft,f.y=w.y+t.clientTop}else o&&(f.x=ST(o));const g=i.left+l.scrollLeft-f.x,m=i.top+l.scrollTop-f.y;return{x:g,y:m,width:i.width,height:i.height}}function L_(e,t){return!Jn(e)||sn(e).position==="fixed"?null:t?t(e):e.offsetParent}function ET(e,t){const r=zr(e);if(!Jn(e)||OT(e))return r;let n=L_(e,t);for(;n&&HW(n)&&sn(n).position==="static";)n=L_(n,t);return n&&(pa(n)==="html"||pa(n)==="body"&&sn(n).position==="static"&&!Iy(n))?r:n||GW(e)||r}const aB=async function(e){const t=this.getOffsetParent||ET,r=this.getDimensions;return{reference:oB(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await r(e.floating)}}};function iB(e){return sn(e).direction==="rtl"}const kT={convertOffsetParentRelativeRectToViewportRelativeRect:YW,getDocumentElement:So,getClippingRect:rB,getOffsetParent:ET,getElementRects:aB,getClientRects:JW,getDimensions:nB,getScale:tl,isElement:Co,isRTL:iB};function lB(e,t){let r=null,n;const o=So(e);function a(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function i(l,f){l===void 0&&(l=!1),f===void 0&&(f=1),a();const{left:g,top:m,width:w,height:P}=e.getBoundingClientRect();if(l||t(),!w||!P)return;const O=ld(m),C=ld(o.clientWidth-(g+w)),b=ld(o.clientHeight-(m+P)),y=ld(g),s={rootMargin:-O+"px "+-C+"px "+-b+"px "+-y+"px",threshold:ir(0,En(1,f))||1};let u=!0;function d(h){const v=h[0].intersectionRatio;if(v!==f){if(!u)return i();v?i(!1,v):n=setTimeout(()=>{i(!1,1e-7)},100)}u=!1}try{r=new IntersectionObserver(d,{...s,root:o.ownerDocument})}catch{r=new IntersectionObserver(d,s)}r.observe(e)}return i(!0),a}function sB(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,g=jy(e),m=o||a?[...g?go(g):[],...go(t)]:[];m.forEach(c=>{o&&c.addEventListener("scroll",r,{passive:!0}),a&&c.addEventListener("resize",r)});const w=g&&l?lB(g,r):null;let P=-1,O=null;i&&(O=new ResizeObserver(c=>{let[s]=c;s&&s.target===g&&O&&(O.unobserve(t),cancelAnimationFrame(P),P=requestAnimationFrame(()=>{var u;(u=O)==null||u.observe(t)})),r()}),g&&!f&&O.observe(g),O.observe(t));let C,b=f?Ua(e):null;f&&y();function y(){const c=Ua(e);b&&(c.x!==b.x||c.y!==b.y||c.width!==b.width||c.height!==b.height)&&r(),b=c,C=requestAnimationFrame(y)}return r(),()=>{var c;m.forEach(s=>{o&&s.removeEventListener("scroll",r),a&&s.removeEventListener("resize",r)}),w==null||w(),(c=O)==null||c.disconnect(),O=null,f&&cancelAnimationFrame(C)}}const uB=DW,cB=UW,dB=FW,fB=BW,pB=LW,z_=NW,hB=VW,gB=WW,RT=(e,t,r)=>{const n=new Map,o={platform:kT,...r},a={...o.platform,_c:n};return IW(e,t,{...o,platform:a})},mB=e=>{const{element:t,padding:r}=e;function n(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return n(t)?t.current!=null?z_({element:t.current,padding:r}).fn(o):{}:t?z_({element:t,padding:r}).fn(o):{}}}};var Wd=typeof document<"u"?F.useLayoutEffect:F.useEffect;function Jf(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Jf(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Jf(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function V_(e){const t=F.useRef(e);return Wd(()=>{t.current=e}),t}function vB(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,whileElementsMounted:a,open:i}=e,[l,f]=F.useState({x:null,y:null,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[g,m]=F.useState(n);Jf(g,n)||m(n);const w=F.useRef(null),P=F.useRef(null),O=F.useRef(l),C=V_(a),b=V_(o),[y,c]=F.useState(null),[s,u]=F.useState(null),d=F.useCallback(E=>{w.current!==E&&(w.current=E,c(E))},[]),h=F.useCallback(E=>{P.current!==E&&(P.current=E,u(E))},[]),v=F.useCallback(()=>{if(!w.current||!P.current)return;const E={placement:t,strategy:r,middleware:g};b.current&&(E.platform=b.current),RT(w.current,P.current,E).then(M=>{const A={...M,isPositioned:!0};_.current&&!Jf(O.current,A)&&(O.current=A,wo.flushSync(()=>{f(A)}))})},[g,t,r,b]);Wd(()=>{i===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,f(E=>({...E,isPositioned:!1})))},[i]);const _=F.useRef(!1);Wd(()=>(_.current=!0,()=>{_.current=!1}),[]),Wd(()=>{if(y&&s){if(C.current)return C.current(y,s,v);v()}},[y,s,v,C]);const k=F.useMemo(()=>({reference:w,floating:P,setReference:d,setFloating:h}),[d,h]),T=F.useMemo(()=>({reference:y,floating:s}),[y,s]);return F.useMemo(()=>({...l,update:v,refs:k,elements:T,reference:d,floating:h}),[l,v,k,T,d,h])}var yt=typeof document<"u"?F.useLayoutEffect:F.useEffect;let gg=!1,bB=0;const $_=()=>"floating-ui-"+bB++;function yB(){const[e,t]=F.useState(()=>gg?$_():void 0);return yt(()=>{e==null&&t($_())},[]),F.useEffect(()=>{gg||(gg=!0)},[]),e}const wB=al.useId,Au=wB||yB;function MT(){const e=new Map;return{emit(t,r){var n;(n=e.get(t))==null||n.forEach(o=>o(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){e.set(t,(e.get(t)||[]).filter(n=>n!==r))}}}const AT=F.createContext(null),IT=F.createContext(null),$l=()=>{var e;return((e=F.useContext(AT))==null?void 0:e.id)||null},ri=()=>F.useContext(IT),_B=e=>{const t=Au(),r=ri(),n=$l(),o=e||n;return yt(()=>{const a={id:t,parentId:o};return r==null||r.addNode(a),()=>{r==null||r.removeNode(a)}},[r,t,o]),t},xB=e=>{let{children:t,id:r}=e;const n=$l();return F.createElement(AT.Provider,{value:F.useMemo(()=>({id:r,parentId:n}),[r,n])},t)},CB=e=>{let{children:t}=e;const r=F.useRef([]),n=F.useCallback(i=>{r.current=[...r.current,i]},[]),o=F.useCallback(i=>{r.current=r.current.filter(l=>l!==i)},[]),a=F.useState(()=>MT())[0];return F.createElement(IT.Provider,{value:F.useMemo(()=>({nodesRef:r,addNode:n,removeNode:o,events:a}),[r,n,o,a])},t)};function Pr(e){return(e==null?void 0:e.ownerDocument)||document}function Dy(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function NT(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:r,version:n}=t;return r+"/"+n}).join(" "):navigator.userAgent}function Fy(e){return Pr(e).defaultView||window}function tn(e){return e?e instanceof Fy(e).Element:!1}function Wa(e){return e?e instanceof Fy(e).HTMLElement:!1}function PB(e){if(typeof ShadowRoot>"u")return!1;const t=Fy(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function jT(e){if(e.mozInputSource===0&&e.isTrusted)return!0;const t=/Android/i;return(t.test(Dy())||t.test(NT()))&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function DT(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType!=="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0}function ov(){return/apple/i.test(navigator.vendor)}function FT(){return Dy().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function Qf(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function rn(e){const t=F.useRef(e);return yt(()=>{t.current=e}),t}const U_="data-floating-ui-safe-polygon";function Bd(e,t,r){return r&&!Qf(r)?0:typeof e=="number"?e:e==null?void 0:e[t]}const OB=function(e,t){let{enabled:r=!0,delay:n=0,handleClose:o=null,mouseOnly:a=!1,restMs:i=0,move:l=!0}=t===void 0?{}:t;const{open:f,onOpenChange:g,dataRef:m,events:w,elements:{domReference:P,floating:O},refs:C}=e,b=ri(),y=$l(),c=rn(o),s=rn(n),u=F.useRef(),d=F.useRef(),h=F.useRef(),v=F.useRef(),_=F.useRef(!0),k=F.useRef(!1),T=F.useRef(()=>{}),E=F.useCallback(()=>{var D;const $=(D=m.current.openEvent)==null?void 0:D.type;return($==null?void 0:$.includes("mouse"))&&$!=="mousedown"},[m]);F.useEffect(()=>{if(!r)return;function D(){clearTimeout(d.current),clearTimeout(v.current),_.current=!0}return w.on("dismiss",D),()=>{w.off("dismiss",D)}},[r,w]),F.useEffect(()=>{if(!r||!c.current||!f)return;function D(){E()&&g(!1)}const $=Pr(O).documentElement;return $.addEventListener("mouseleave",D),()=>{$.removeEventListener("mouseleave",D)}},[O,f,g,r,c,m,E]);const M=F.useCallback(function(D){D===void 0&&(D=!0);const $=Bd(s.current,"close",u.current);$&&!h.current?(clearTimeout(d.current),d.current=setTimeout(()=>g(!1),$)):D&&(clearTimeout(d.current),g(!1))},[s,g]),A=F.useCallback(()=>{T.current(),h.current=void 0},[]),N=F.useCallback(()=>{if(k.current){const D=Pr(C.floating.current).body;D.style.pointerEvents="",D.removeAttribute(U_),k.current=!1}},[C]);return F.useEffect(()=>{if(!r)return;function D(){return m.current.openEvent?["click","mousedown"].includes(m.current.openEvent.type):!1}function $(H){if(clearTimeout(d.current),_.current=!1,a&&!Qf(u.current)||i>0&&Bd(s.current,"open")===0)return;m.current.openEvent=H;const V=Bd(s.current,"open",u.current);V?d.current=setTimeout(()=>{g(!0)},V):g(!0)}function G(H){if(D())return;T.current();const V=Pr(O);if(clearTimeout(v.current),c.current){clearTimeout(d.current),h.current=c.current({...e,tree:b,x:H.clientX,y:H.clientY,onClose(){N(),A(),M()}});const B=h.current;V.addEventListener("mousemove",B),T.current=()=>{V.removeEventListener("mousemove",B)};return}M()}function X(H){D()||c.current==null||c.current({...e,tree:b,x:H.clientX,y:H.clientY,onClose(){A(),M()}})(H)}if(tn(P)){const H=P;return f&&H.addEventListener("mouseleave",X),O==null||O.addEventListener("mouseleave",X),l&&H.addEventListener("mousemove",$,{once:!0}),H.addEventListener("mouseenter",$),H.addEventListener("mouseleave",G),()=>{f&&H.removeEventListener("mouseleave",X),O==null||O.removeEventListener("mouseleave",X),l&&H.removeEventListener("mousemove",$),H.removeEventListener("mouseenter",$),H.removeEventListener("mouseleave",G)}}},[P,O,r,e,a,i,l,M,A,N,g,f,b,s,c,m]),yt(()=>{var D;if(r&&f&&(D=c.current)!=null&&D.__options.blockPointerEvents&&E()){const X=Pr(O).body;if(X.setAttribute(U_,""),X.style.pointerEvents="none",k.current=!0,tn(P)&&O){var $,G;const H=P,V=b==null||($=b.nodesRef.current.find(B=>B.id===y))==null||(G=$.context)==null?void 0:G.elements.floating;return V&&(V.style.pointerEvents=""),H.style.pointerEvents="auto",O.style.pointerEvents="auto",()=>{H.style.pointerEvents="",O.style.pointerEvents=""}}}},[r,f,y,O,P,b,c,m,E]),yt(()=>{f||(u.current=void 0,A(),N())},[f,A,N]),F.useEffect(()=>()=>{A(),clearTimeout(d.current),clearTimeout(v.current),N()},[r,A,N]),F.useMemo(()=>{if(!r)return{};function D($){u.current=$.pointerType}return{reference:{onPointerDown:D,onPointerEnter:D,onMouseMove(){f||i===0||(clearTimeout(v.current),v.current=setTimeout(()=>{_.current||g(!0)},i))}},floating:{onMouseEnter(){clearTimeout(d.current)},onMouseLeave(){w.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),M(!1)}}}},[w,r,i,f,g,M])},LT=F.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),zT=()=>F.useContext(LT),SB=e=>{let{children:t,delay:r,timeoutMs:n=0}=e;const[o,a]=F.useReducer((f,g)=>({...f,...g}),{delay:r,timeoutMs:n,initialDelay:r,currentId:null,isInstantPhase:!1}),i=F.useRef(null),l=F.useCallback(f=>{a({currentId:f})},[]);return yt(()=>{o.currentId?i.current===null?i.current=o.currentId:a({isInstantPhase:!0}):(a({isInstantPhase:!1}),i.current=null)},[o.currentId]),F.createElement(LT.Provider,{value:F.useMemo(()=>({...o,setState:a,setCurrentId:l}),[o,a,l])},t)},TB=(e,t)=>{let{open:r,onOpenChange:n}=e,{id:o}=t;const{currentId:a,setCurrentId:i,initialDelay:l,setState:f,timeoutMs:g}=zT();F.useEffect(()=>{a&&(f({delay:{open:1,close:Bd(l,"close")}}),a!==o&&n(!1))},[o,n,f,a,l]),F.useEffect(()=>{function m(){n(!1),f({delay:l,currentId:null})}if(!r&&a===o)if(g){const w=window.setTimeout(m,g);return()=>{clearTimeout(w)}}else m()},[r,f,a,o,n,l,g]),F.useEffect(()=>{r&&i(o)},[r,i,o])};function Iu(){return Iu=Object.assign||function(e){for(var t=1;te==null?void 0:e.focus({preventScroll:r});o?a():W_=requestAnimationFrame(a)}function EB(e,t){var r;let n=[],o=(r=e.find(a=>a.id===t))==null?void 0:r.parentId;for(;o;){const a=e.find(i=>i.id===o);o=a==null?void 0:a.parentId,a&&(n=n.concat(a))}return n}function Js(e,t){let r=e.filter(o=>{var a;return o.parentId===t&&((a=o.context)==null?void 0:a.open)})||[],n=r;for(;n.length;)n=e.filter(o=>{var a;return(a=n)==null?void 0:a.some(i=>{var l;return o.parentId===i.id&&((l=o.context)==null?void 0:l.open)})})||[],r=r.concat(n);return r}function O0(e){return"composedPath"in e?e.composedPath()[0]:e.target}const kB="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function VT(e){return Wa(e)&&e.matches(kB)}function Yr(e){e.preventDefault(),e.stopPropagation()}const Zf=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function $T(e,t){const r=qf(e,Zf());t==="prev"&&r.reverse();const n=r.indexOf(Ba(Pr(e)));return r.slice(n+1)[0]}function UT(){return $T(document.body,"next")}function WT(){return $T(document.body,"prev")}function Qs(e,t){const r=t||e.currentTarget,n=e.relatedTarget;return!n||!wr(r,n)}function RB(e){qf(e,Zf()).forEach(r=>{r.dataset.tabindex=r.getAttribute("tabindex")||"",r.setAttribute("tabindex","-1")})}function MB(e){e.querySelectorAll("[data-tabindex]").forEach(r=>{const n=r.dataset.tabindex;delete r.dataset.tabindex,n?r.setAttribute("tabindex",n):r.removeAttribute("tabindex")})}const AB=al.useInsertionEffect,IB=AB||(e=>e());function Ul(e){const t=F.useRef(()=>{});return IB(()=>{t.current=e}),F.useCallback(function(){for(var r=arguments.length,n=new Array(r),o=0;o(ov()&&a("button"),document.addEventListener("keydown",B_),()=>{document.removeEventListener("keydown",B_)}),[]),F.createElement("span",Iu({},t,{ref:r,tabIndex:0,role:o,"aria-hidden":o?void 0:!0,"data-floating-ui-focus-guard":"",style:Ly,onFocus:i=>{ov()&&FT()&&!NB(i)?(i.persist(),zy=window.setTimeout(()=>{n(i)},50)):n(i)}}))}),BT=F.createContext(null),HT=function(e){let{id:t,enabled:r=!0}=e===void 0?{}:e;const[n,o]=F.useState(null),a=Au(),i=GT();return yt(()=>{if(!r)return;const l=t?document.getElementById(t):null;if(l)l.setAttribute("data-floating-ui-portal",""),o(l);else{const f=document.createElement("div");t!==""&&(f.id=t||a),f.setAttribute("data-floating-ui-portal",""),o(f);const g=(i==null?void 0:i.portalNode)||document.body;return g.appendChild(f),()=>{g.removeChild(f)}}},[t,i,a,r]),n},jB=e=>{let{children:t,id:r,root:n=null,preserveTabOrder:o=!0}=e;const a=HT({id:r,enabled:!n}),[i,l]=F.useState(null),f=F.useRef(null),g=F.useRef(null),m=F.useRef(null),w=F.useRef(null),P=!!i&&!i.modal&&!!(n||a)&&o;return F.useEffect(()=>{if(!a||!o||i!=null&&i.modal)return;function O(C){a&&Qs(C)&&(C.type==="focusin"?MB:RB)(a)}return a.addEventListener("focusin",O,!0),a.addEventListener("focusout",O,!0),()=>{a.removeEventListener("focusin",O,!0),a.removeEventListener("focusout",O,!0)}},[a,o,i==null?void 0:i.modal]),F.createElement(BT.Provider,{value:F.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:f,afterOutsideRef:g,beforeInsideRef:m,afterInsideRef:w,portalNode:a,setFocusManagerState:l}),[o,a])},P&&a&&F.createElement(ep,{"data-type":"outside",ref:f,onFocus:O=>{if(Qs(O,a)){var C;(C=m.current)==null||C.focus()}else{const b=WT()||(i==null?void 0:i.refs.domReference.current);b==null||b.focus()}}}),P&&a&&F.createElement("span",{"aria-owns":a.id,style:Ly}),n?wo.createPortal(t,n):a?wo.createPortal(t,a):null,P&&a&&F.createElement(ep,{"data-type":"outside",ref:g,onFocus:O=>{if(Qs(O,a)){var C;(C=w.current)==null||C.focus()}else{const b=UT()||(i==null?void 0:i.refs.domReference.current);b==null||b.focus(),i!=null&&i.closeOnFocusOut&&(i==null||i.onOpenChange(!1))}}}))},GT=()=>F.useContext(BT),DB=F.forwardRef(function(t,r){return F.createElement("button",Iu({},t,{type:"button",ref:r,tabIndex:-1,style:Ly}))});function FB(e){let{context:t,children:r,order:n=["content"],guards:o=!0,initialFocus:a=0,returnFocus:i=!0,modal:l=!0,visuallyHiddenDismiss:f=!1,closeOnFocusOut:g=!0}=e;const{refs:m,nodeId:w,onOpenChange:P,events:O,dataRef:C,elements:{domReference:b,floating:y}}=t,c=rn(n),s=ri(),u=GT(),[d,h]=F.useState(null),v=typeof a=="number"&&a<0,_=F.useRef(null),k=F.useRef(null),T=F.useRef(!1),E=F.useRef(null),M=F.useRef(!1),A=u!=null,N=b&&b.getAttribute("role")==="combobox"&&VT(b),D=F.useCallback(function(H){return H===void 0&&(H=y),H?qf(H,Zf()):[]},[y]),$=F.useCallback(H=>{const V=D(H);return c.current.map(B=>b&&B==="reference"?b:y&&B==="floating"?y:V).filter(Boolean).flat()},[b,y,c,D]);F.useEffect(()=>{if(!l)return;function H(B){if(B.key==="Tab"){D().length===0&&!N&&Yr(B);const q=$(),Y=O0(B);c.current[0]==="reference"&&Y===b&&(Yr(B),B.shiftKey?Wo(q[q.length-1]):Wo(q[1])),c.current[1]==="floating"&&Y===y&&B.shiftKey&&(Yr(B),Wo(q[0]))}}const V=Pr(y);return V.addEventListener("keydown",H),()=>{V.removeEventListener("keydown",H)}},[b,y,l,c,m,N,D,$]),F.useEffect(()=>{if(!g)return;function H(){M.current=!0,setTimeout(()=>{M.current=!1})}function V(B){const q=B.relatedTarget,Y=!(wr(b,q)||wr(y,q)||wr(q,y)||wr(u==null?void 0:u.portalNode,q)||q!=null&&q.hasAttribute("data-floating-ui-focus-guard")||s&&(Js(s.nodesRef.current,w).find(ne=>{var ce,se;return wr((ce=ne.context)==null?void 0:ce.elements.floating,q)||wr((se=ne.context)==null?void 0:se.elements.domReference,q)})||EB(s.nodesRef.current,w).find(ne=>{var ce,se;return((ce=ne.context)==null?void 0:ce.elements.floating)===q||((se=ne.context)==null?void 0:se.elements.domReference)===q})));q&&Y&&!M.current&&q!==E.current&&(T.current=!0,setTimeout(()=>P(!1)))}if(y&&Wa(b))return b.addEventListener("focusout",V),b.addEventListener("pointerdown",H),!l&&y.addEventListener("focusout",V),()=>{b.removeEventListener("focusout",V),b.removeEventListener("pointerdown",H),!l&&y.removeEventListener("focusout",V)}},[b,y,l,w,s,u,P,g]),F.useEffect(()=>{var H;const V=Array.from((u==null||(H=u.portalNode)==null?void 0:H.querySelectorAll("[data-floating-ui-portal]"))||[]);function B(){return[_.current,k.current].filter(Boolean)}if(y&&l){const q=[y,...V,...B()],Y=sW(c.current.includes("reference")||N?q.concat(b||[]):q);return()=>{Y()}}},[b,y,l,c,u,N]),F.useEffect(()=>{if(l&&!o&&y){const H=[],V=Zf(),B=qf(Pr(y).body,V),q=$(),Y=B.filter(ne=>!q.includes(ne));return Y.forEach((ne,ce)=>{H[ce]=ne.getAttribute("tabindex"),ne.setAttribute("tabindex","-1")}),()=>{Y.forEach((ne,ce)=>{const se=H[ce];se==null?ne.removeAttribute("tabindex"):ne.setAttribute("tabindex",se)})}}},[y,l,o,$]),yt(()=>{if(!y)return;const H=Pr(y);let V=i,B=!1;const q=Ba(H),Y=C.current;E.current=q;const ne=$(y),ce=(typeof a=="number"?ne[a]:a.current)||y;!v&&Wo(ce,{preventScroll:ce===y});function se(re){if(re.type==="escapeKey"&&m.domReference.current&&(E.current=m.domReference.current),["referencePress","escapeKey"].includes(re.type))return;const pe=re.data.returnFocus;typeof pe=="object"?(V=!0,B=pe.preventScroll):V=pe}return O.on("dismiss",se),()=>{if(O.off("dismiss",se),wr(y,Ba(H))&&m.domReference.current&&(E.current=m.domReference.current),V&&Wa(E.current)&&!T.current)if(!m.domReference.current||M.current)Wo(E.current,{cancelPrevious:!1,preventScroll:B});else{var re;Y.__syncReturnFocus=!0,(re=E.current)==null||re.focus({preventScroll:B}),setTimeout(()=>{delete Y.__syncReturnFocus})}}},[y,$,a,i,C,m,O,v]),yt(()=>{if(u)return u.setFocusManagerState({...t,modal:l,closeOnFocusOut:g}),()=>{u.setFocusManagerState(null)}},[u,l,g,t]),yt(()=>{if(v||!y)return;function H(){h(D().length)}if(H(),typeof MutationObserver=="function"){const V=new MutationObserver(H);return V.observe(y,{childList:!0,subtree:!0}),()=>{V.disconnect()}}},[y,D,v,m]);const G=o&&(A||l)&&!N;function X(H){return f&&l?F.createElement(DB,{ref:H==="start"?_:k,onClick:()=>P(!1)},typeof f=="string"?f:"Dismiss"):null}return F.createElement(F.Fragment,null,G&&F.createElement(ep,{"data-type":"inside",ref:u==null?void 0:u.beforeInsideRef,onFocus:H=>{if(l){const B=$();Wo(n[0]==="reference"?B[0]:B[B.length-1])}else if(u!=null&&u.preserveTabOrder&&u.portalNode)if(T.current=!1,Qs(H,u.portalNode)){const B=UT()||b;B==null||B.focus()}else{var V;(V=u.beforeOutsideRef.current)==null||V.focus()}}}),N?null:X("start"),F.cloneElement(r,d===0||n.includes("floating")?{tabIndex:0}:{}),X("end"),G&&F.createElement(ep,{"data-type":"inside",ref:u==null?void 0:u.afterInsideRef,onFocus:H=>{if(l)Wo($()[0]);else if(u!=null&&u.preserveTabOrder&&u.portalNode)if(T.current=!0,Qs(H,u.portalNode)){const B=WT()||b;B==null||B.focus()}else{var V;(V=u.afterOutsideRef.current)==null||V.focus()}}}))}const sd="data-floating-ui-scroll-lock",LB=F.forwardRef(function(t,r){let{lockScroll:n=!1,...o}=t;return yt(()=>{var a,i;if(!n||document.body.hasAttribute(sd))return;document.body.setAttribute(sd,"");const g=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",m=window.innerWidth-document.documentElement.clientWidth;if(!/iP(hone|ad|od)|iOS/.test(Dy()))return Object.assign(document.body.style,{overflow:"hidden",[g]:m+"px"}),()=>{document.body.removeAttribute(sd),Object.assign(document.body.style,{overflow:"",[g]:""})};const w=((a=window.visualViewport)==null?void 0:a.offsetLeft)||0,P=((i=window.visualViewport)==null?void 0:i.offsetTop)||0,O=window.pageXOffset,C=window.pageYOffset;return Object.assign(document.body.style,{position:"fixed",overflow:"hidden",top:-(C-Math.floor(P))+"px",left:-(O-Math.floor(w))+"px",right:"0",[g]:m+"px"}),()=>{Object.assign(document.body.style,{position:"",overflow:"",top:"",left:"",right:"",[g]:""}),document.body.removeAttribute(sd),window.scrollTo(O,C)}},[n]),F.createElement("div",Iu({ref:r},o,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...o.style}}))});function H_(e){return Wa(e.target)&&e.target.tagName==="BUTTON"}function G_(e){return VT(e)}const zB=function(e,t){let{open:r,onOpenChange:n,dataRef:o,elements:{domReference:a}}=e,{enabled:i=!0,event:l="click",toggle:f=!0,ignoreMouse:g=!1,keyboardHandlers:m=!0}=t===void 0?{}:t;const w=F.useRef();return F.useMemo(()=>i?{reference:{onPointerDown(P){w.current=P.pointerType},onMouseDown(P){P.button===0&&(Qf(w.current,!0)&&g||l!=="click"&&(r?f&&(!o.current.openEvent||o.current.openEvent.type==="mousedown")&&n(!1):(P.preventDefault(),n(!0)),o.current.openEvent=P.nativeEvent))},onClick(P){if(!o.current.__syncReturnFocus){if(l==="mousedown"&&w.current){w.current=void 0;return}Qf(w.current,!0)&&g||(r?f&&(!o.current.openEvent||o.current.openEvent.type==="click")&&n(!1):n(!0),o.current.openEvent=P.nativeEvent)}},onKeyDown(P){w.current=void 0,m&&(H_(P)||(P.key===" "&&!G_(a)&&P.preventDefault(),P.key==="Enter"&&(r?f&&n(!1):n(!0))))},onKeyUp(P){m&&(H_(P)||G_(a)||P.key===" "&&(r?f&&n(!1):n(!0)))}}}:{},[i,o,l,g,m,a,f,r,n])};function Hd(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return r.target!=null&&t.contains(r.target)}const VB={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},$B={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},UB=function(e){var t,r;return e===void 0&&(e=!0),{escapeKeyBubbles:typeof e=="boolean"?e:(t=e.escapeKey)!=null?t:!0,outsidePressBubbles:typeof e=="boolean"?e:(r=e.outsidePress)!=null?r:!0}},WB=function(e,t){let{open:r,onOpenChange:n,events:o,nodeId:a,elements:{reference:i,domReference:l,floating:f},dataRef:g}=e,{enabled:m=!0,escapeKey:w=!0,outsidePress:P=!0,outsidePressEvent:O="pointerdown",referencePress:C=!1,referencePressEvent:b="pointerdown",ancestorScroll:y=!1,bubbles:c=!0}=t===void 0?{}:t;const s=ri(),u=$l()!=null,d=Ul(typeof P=="function"?P:()=>!1),h=typeof P=="function"?d:P,v=F.useRef(!1),{escapeKeyBubbles:_,outsidePressBubbles:k}=UB(c);return F.useEffect(()=>{if(!r||!m)return;g.current.__escapeKeyBubbles=_,g.current.__outsidePressBubbles=k;function T(D){if(D.key==="Escape"){const $=s?Js(s.nodesRef.current,a):[];if($.length>0){let G=!0;if($.forEach(X=>{var H;if((H=X.context)!=null&&H.open&&!X.context.dataRef.current.__escapeKeyBubbles){G=!1;return}}),!G)return}o.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),n(!1)}}function E(D){const $=v.current;if(v.current=!1,$||typeof h=="function"&&!h(D))return;const G=O0(D);if(Wa(G)&&f){const V=f.ownerDocument.defaultView||window,B=G.scrollWidth>G.clientWidth,q=G.scrollHeight>G.clientHeight;let Y=q&&D.offsetX>G.clientWidth;if(q&&V.getComputedStyle(G).direction==="rtl"&&(Y=D.offsetX<=G.offsetWidth-G.clientWidth),Y||B&&D.offsetY>G.clientHeight)return}const X=s&&Js(s.nodesRef.current,a).some(V=>{var B;return Hd(D,(B=V.context)==null?void 0:B.elements.floating)});if(Hd(D,f)||Hd(D,l)||X)return;const H=s?Js(s.nodesRef.current,a):[];if(H.length>0){let V=!0;if(H.forEach(B=>{var q;if((q=B.context)!=null&&q.open&&!B.context.dataRef.current.__outsidePressBubbles){V=!1;return}}),!V)return}o.emit("dismiss",{type:"outsidePress",data:{returnFocus:u?{preventScroll:!0}:jT(D)||DT(D)}}),n(!1)}function M(){n(!1)}const A=Pr(f);w&&A.addEventListener("keydown",T),h&&A.addEventListener(O,E);let N=[];return y&&(tn(l)&&(N=go(l)),tn(f)&&(N=N.concat(go(f))),!tn(i)&&i&&i.contextElement&&(N=N.concat(go(i.contextElement)))),N=N.filter(D=>{var $;return D!==(($=A.defaultView)==null?void 0:$.visualViewport)}),N.forEach(D=>{D.addEventListener("scroll",M,{passive:!0})}),()=>{w&&A.removeEventListener("keydown",T),h&&A.removeEventListener(O,E),N.forEach(D=>{D.removeEventListener("scroll",M)})}},[g,f,l,i,w,h,O,o,s,a,r,n,y,m,_,k,u]),F.useEffect(()=>{v.current=!1},[h,O]),F.useMemo(()=>m?{reference:{[VB[b]]:()=>{C&&(o.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),n(!1))}},floating:{[$B[O]]:()=>{v.current=!0}}}:{},[m,o,C,O,b,n])},BB=function(e,t){let{open:r,onOpenChange:n,dataRef:o,events:a,refs:i,elements:{floating:l,domReference:f}}=e,{enabled:g=!0,keyboardOnly:m=!0}=t===void 0?{}:t;const w=F.useRef(""),P=F.useRef(!1),O=F.useRef();return F.useEffect(()=>{if(!g)return;const b=Pr(l).defaultView||window;function y(){!r&&Wa(f)&&f===Ba(Pr(f))&&(P.current=!0)}return b.addEventListener("blur",y),()=>{b.removeEventListener("blur",y)}},[l,f,r,g]),F.useEffect(()=>{if(!g)return;function C(b){(b.type==="referencePress"||b.type==="escapeKey")&&(P.current=!0)}return a.on("dismiss",C),()=>{a.off("dismiss",C)}},[a,g]),F.useEffect(()=>()=>{clearTimeout(O.current)},[]),F.useMemo(()=>g?{reference:{onPointerDown(C){let{pointerType:b}=C;w.current=b,P.current=!!(b&&m)},onMouseLeave(){P.current=!1},onFocus(C){var b;P.current||C.type==="focus"&&((b=o.current.openEvent)==null?void 0:b.type)==="mousedown"&&o.current.openEvent&&Hd(o.current.openEvent,f)||(o.current.openEvent=C.nativeEvent,n(!0))},onBlur(C){P.current=!1;const b=C.relatedTarget,y=tn(b)&&b.hasAttribute("data-floating-ui-focus-guard")&&b.getAttribute("data-type")==="outside";O.current=setTimeout(()=>{wr(i.floating.current,b)||wr(f,b)||y||n(!1)})}}}:{},[g,m,f,i,o,n])};let q_=!1;const Vy="ArrowUp",S0="ArrowDown",Ol="ArrowLeft",ac="ArrowRight";function ud(e,t,r){return Math.floor(e/t)!==r}function xs(e,t){return t<0||t>=e.current.length}function nr(e,t){let{startingIndex:r=-1,decrement:n=!1,disabledIndices:o,amount:a=1}=t===void 0?{}:t;const i=e.current;let l=r;do{var f,g;l=l+(n?-a:a)}while(l>=0&&l<=i.length-1&&(o?o.includes(l):i[l]==null||(f=i[l])!=null&&f.hasAttribute("disabled")||((g=i[l])==null?void 0:g.getAttribute("aria-disabled"))==="true"));return l}function T0(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function K_(e,t){return T0(t,e===Vy||e===S0,e===Ol||e===ac)}function mg(e,t,r){return T0(t,e===S0,r?e===Ol:e===ac)||e==="Enter"||e==" "||e===""}function HB(e,t,r){return T0(t,r?e===Ol:e===ac,e===S0)}function GB(e,t,r){return T0(t,r?e===ac:e===Ol,e===Vy)}function vg(e,t){return nr(e,{disabledIndices:t})}function X_(e,t){return nr(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}const qB=function(e,t){let{open:r,onOpenChange:n,refs:o,elements:{domReference:a}}=e,{listRef:i,activeIndex:l,onNavigate:f=()=>{},enabled:g=!0,selectedIndex:m=null,allowEscape:w=!1,loop:P=!1,nested:O=!1,rtl:C=!1,virtual:b=!1,focusItemOnOpen:y="auto",focusItemOnHover:c=!0,openOnArrowKeyDown:s=!0,disabledIndices:u=void 0,orientation:d="vertical",cols:h=1,scrollItemIntoView:v=!0}=t===void 0?{listRef:{current:[]},activeIndex:null,onNavigate:()=>{}}:t;const _=$l(),k=ri(),T=Ul(f),E=F.useRef(y),M=F.useRef(m??-1),A=F.useRef(null),N=F.useRef(!0),D=F.useRef(T),$=F.useRef(r),G=F.useRef(!1),X=F.useRef(!1),H=rn(u),V=rn(r),B=rn(v),[q,Y]=F.useState(),ne=F.useCallback(function(re,pe,ue){ue===void 0&&(ue=!1);const oe=re.current[pe.current];b?Y(oe==null?void 0:oe.id):Wo(oe,{preventScroll:!0,sync:FT()&&ov()?q_||G.current:!1}),requestAnimationFrame(()=>{const fe=B.current;fe&&oe&&(ue||!N.current)&&(oe.scrollIntoView==null||oe.scrollIntoView(typeof fe=="boolean"?{block:"nearest",inline:"nearest"}:fe))})},[b,B]);yt(()=>{document.createElement("div").focus({get preventScroll(){return q_=!0,!1}})},[]),yt(()=>{g&&(r?E.current&&m!=null&&(X.current=!0,T(m)):$.current&&(M.current=-1,D.current(null)))},[g,r,m,T]),yt(()=>{if(g&&r)if(l==null){if(G.current=!1,m!=null)return;$.current&&(M.current=-1,ne(i,M)),!$.current&&E.current&&(A.current!=null||E.current===!0&&A.current==null)&&(M.current=A.current==null||mg(A.current,d,C)||O?vg(i,H.current):X_(i,H.current),T(M.current))}else xs(i,l)||(M.current=l,ne(i,M,X.current),X.current=!1)},[g,r,l,m,O,i,d,C,T,ne,H]),yt(()=>{if(g&&$.current&&!r){var re,pe;const ue=k==null||(re=k.nodesRef.current.find(oe=>oe.id===_))==null||(pe=re.context)==null?void 0:pe.elements.floating;ue&&!wr(ue,Ba(Pr(ue)))&&ue.focus({preventScroll:!0})}},[g,r,k,_]),yt(()=>{A.current=null,D.current=T,$.current=r});const ce=l!=null,se=F.useMemo(()=>{function re(ue){if(!r)return;const oe=i.current.indexOf(ue);oe!==-1&&T(oe)}return{onFocus(ue){let{currentTarget:oe}=ue;re(oe)},onClick:ue=>{let{currentTarget:oe}=ue;return oe.focus({preventScroll:!0})},...c&&{onMouseMove(ue){let{currentTarget:oe}=ue;re(oe)},onPointerLeave(){if(N.current&&(M.current=-1,ne(i,M),wo.flushSync(()=>T(null)),!b)){var ue;(ue=o.floating.current)==null||ue.focus({preventScroll:!0})}}}}},[r,o,ne,c,i,T,b]);return F.useMemo(()=>{if(!g)return{};const re=H.current;function pe(le){if(N.current=!1,G.current=!0,!V.current&&le.currentTarget===o.floating.current)return;if(O&&GB(le.key,d,C)){Yr(le),n(!1),Wa(a)&&a.focus();return}const ae=M.current,ge=vg(i,re),ve=X_(i,re);if(le.key==="Home"&&(M.current=ge,T(M.current)),le.key==="End"&&(M.current=ve,T(M.current)),h>1){const be=M.current;if(le.key===Vy){if(Yr(le),be===-1)M.current=ve;else if(M.current=nr(i,{startingIndex:be,amount:h,decrement:!0,disabledIndices:re}),P&&(be-hPe?Xe:Xe-h}xs(i,M.current)&&(M.current=be),T(M.current)}if(le.key===S0&&(Yr(le),be===-1?M.current=ge:(M.current=nr(i,{startingIndex:be,amount:h,disabledIndices:re}),P&&be+h>ve&&(M.current=nr(i,{startingIndex:be%h-h,amount:h,disabledIndices:re}))),xs(i,M.current)&&(M.current=be),T(M.current)),d==="both"){const Pe=Math.floor(be/h);le.key===ac&&(Yr(le),be%h!==h-1?(M.current=nr(i,{startingIndex:be,disabledIndices:re}),P&&ud(M.current,h,Pe)&&(M.current=nr(i,{startingIndex:be-be%h-1,disabledIndices:re}))):P&&(M.current=nr(i,{startingIndex:be-be%h-1,disabledIndices:re})),ud(M.current,h,Pe)&&(M.current=be)),le.key===Ol&&(Yr(le),be%h!==0?(M.current=nr(i,{startingIndex:be,disabledIndices:re,decrement:!0}),P&&ud(M.current,h,Pe)&&(M.current=nr(i,{startingIndex:be+(h-be%h),decrement:!0,disabledIndices:re}))):P&&(M.current=nr(i,{startingIndex:be+(h-be%h),decrement:!0,disabledIndices:re})),ud(M.current,h,Pe)&&(M.current=be));const Le=Math.floor(ve/h)===Pe;xs(i,M.current)&&(P&&Le?M.current=le.key===Ol?ve:nr(i,{startingIndex:be-be%h-1,disabledIndices:re}):M.current=be),T(M.current);return}}if(K_(le.key,d)){if(Yr(le),r&&!b&&Ba(le.currentTarget.ownerDocument)===le.currentTarget){M.current=mg(le.key,d,C)?ge:ve,T(M.current);return}mg(le.key,d,C)?P?M.current=ae>=ve?w&&ae!==i.current.length?-1:ge:nr(i,{startingIndex:ae,disabledIndices:re}):M.current=Math.min(ve,nr(i,{startingIndex:ae,disabledIndices:re})):P?M.current=ae<=ge?w&&ae!==-1?i.current.length:ve:nr(i,{startingIndex:ae,decrement:!0,disabledIndices:re}):M.current=Math.max(ge,nr(i,{startingIndex:ae,decrement:!0,disabledIndices:re})),xs(i,M.current)?T(null):T(M.current)}}function ue(le){y==="auto"&&jT(le.nativeEvent)&&(E.current=!0)}function oe(le){E.current=y,y==="auto"&&DT(le.nativeEvent)&&(E.current=!0)}const fe=b&&r&&ce&&{"aria-activedescendant":q};return{reference:{...fe,onKeyDown(le){N.current=!1;const ae=le.key.indexOf("Arrow")===0;if(b&&r)return pe(le);if(!r&&!s&&ae)return;if((ae||le.key==="Enter"||le.key===" "||le.key==="")&&(A.current=le.key),O){HB(le.key,d,C)&&(Yr(le),r?(M.current=vg(i,re),T(M.current)):n(!0));return}K_(le.key,d)&&(m!=null&&(M.current=m),Yr(le),!r&&s?n(!0):pe(le),r&&T(M.current))},onFocus(){r&&T(null)},onPointerDown:oe,onMouseDown:ue,onClick:ue},floating:{"aria-orientation":d==="both"?void 0:d,...fe,onKeyDown:pe,onPointerMove(){N.current=!0}},item:se}},[a,o,q,H,V,i,g,d,C,b,r,ce,O,m,s,w,h,P,y,T,n,se])};function KB(e){return F.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})},e)}const XB=function(e,t){let{open:r}=e,{enabled:n=!0,role:o="dialog"}=t===void 0?{}:t;const a=Au(),i=Au();return F.useMemo(()=>{const l={id:a,role:o};return n?o==="tooltip"?{reference:{"aria-describedby":r?a:void 0},floating:l}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":o==="alertdialog"?"dialog":o,"aria-controls":r?a:void 0,...o==="listbox"&&{role:"combobox"},...o==="menu"&&{id:i}},floating:{...l,...o==="menu"&&{"aria-labelledby":i}}}:{}},[n,o,r,a,i])},Y_=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,r)=>(r?"-":"")+t.toLowerCase());function YB(e,t){const[r,n]=F.useState(e);return e&&!r&&n(!0),F.useEffect(()=>{if(!e){const o=setTimeout(()=>n(!1),t);return()=>clearTimeout(o)}},[e,t]),r}function qT(e,t){let{open:r,elements:{floating:n}}=e,{duration:o=250}=t===void 0?{}:t;const i=(typeof o=="number"?o:o.close)||0,[l,f]=F.useState(!1),[g,m]=F.useState("unmounted"),w=YB(r,i);return yt(()=>{l&&!w&&m("unmounted")},[l,w]),yt(()=>{if(n)if(r){m("initial");const P=requestAnimationFrame(()=>{m("open")});return()=>{cancelAnimationFrame(P)}}else f(!0),m("close")},[r,n]),{isMounted:w,status:g}}function JB(e,t){let{initial:r={opacity:0},open:n,close:o,common:a,duration:i=250}=t===void 0?{}:t;const l=e.placement,f=l.split("-")[0],[g,m]=F.useState({}),{isMounted:w,status:P}=qT(e,{duration:i}),O=rn(r),C=rn(n),b=rn(o),y=rn(a),c=typeof i=="number",s=(c?i:i.open)||0,u=(c?i:i.close)||0;return yt(()=>{const d={side:f,placement:l},h=O.current,v=b.current,_=C.current,k=y.current,T=typeof h=="function"?h(d):h,E=typeof v=="function"?v(d):v,M=typeof k=="function"?k(d):k,A=(typeof _=="function"?_(d):_)||Object.keys(T).reduce((N,D)=>(N[D]="",N),{});if(P==="initial"&&m(N=>({transitionProperty:N.transitionProperty,...M,...T})),P==="open"&&m({transitionProperty:Object.keys(A).map(Y_).join(","),transitionDuration:s+"ms",...M,...A}),P==="close"){const N=E||T;m({transitionProperty:Object.keys(N).map(Y_).join(","),transitionDuration:u+"ms",...M,...N})}},[f,l,u,b,O,C,y,s,P]),{isMounted:w,styles:g}}const QB=function(e,t){var r;let{open:n,dataRef:o}=e,{listRef:a,activeIndex:i,onMatch:l=()=>{},enabled:f=!0,findMatch:g=null,resetMs:m=1e3,ignoreKeys:w=[],selectedIndex:P=null}=t===void 0?{listRef:{current:[]},activeIndex:null}:t;const O=F.useRef(),C=F.useRef(""),b=F.useRef((r=P??i)!=null?r:-1),y=F.useRef(null),c=Ul(l),s=rn(g),u=rn(w);return yt(()=>{n&&(clearTimeout(O.current),y.current=null,C.current="")},[n]),yt(()=>{if(n&&C.current===""){var d;b.current=(d=P??i)!=null?d:-1}},[n,P,i]),F.useMemo(()=>{if(!f)return{};function d(h){const v=O0(h.nativeEvent);if(tn(v)&&(Ba(Pr(v))!==h.currentTarget&&v.closest('[role="dialog"],[role="menu"],[role="listbox"],[role="tree"],[role="grid"]')!==h.currentTarget))return;C.current.length>0&&C.current[0]!==" "&&(o.current.typing=!0,h.key===" "&&Yr(h));const _=a.current;if(_==null||u.current.includes(h.key)||h.key.length!==1||h.ctrlKey||h.metaKey||h.altKey)return;_.every(N=>{var D,$;return N?((D=N[0])==null?void 0:D.toLocaleLowerCase())!==(($=N[1])==null?void 0:$.toLocaleLowerCase()):!0})&&C.current===h.key&&(C.current="",b.current=y.current),C.current+=h.key,clearTimeout(O.current),O.current=setTimeout(()=>{C.current="",b.current=y.current,o.current.typing=!1},m);const T=b.current,E=[..._.slice((T||0)+1),..._.slice(0,(T||0)+1)],M=s.current?s.current(E,C.current):E.find(N=>(N==null?void 0:N.toLocaleLowerCase().indexOf(C.current.toLocaleLowerCase()))===0),A=M?_.indexOf(M):-1;A!==-1&&(c(A),y.current=A)}return{reference:{onKeyDown:d},floating:{onKeyDown:d}}},[f,o,a,m,u,s,c])};function J_(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const ZB=e=>({name:"inner",options:e,async fn(t){const{listRef:r,overflowRef:n,onFallbackChange:o,offset:a=0,index:i=0,minItemsVisible:l=4,referenceOverflowThreshold:f=0,scrollRef:g,...m}=e,{rects:w,elements:{floating:P}}=t,O=r.current[i];if(!O)return{};const C={...t,...await wT(-O.offsetTop-w.reference.height/2-O.offsetHeight/2-a).fn(t)},b=(g==null?void 0:g.current)||P,y=await Kn(J_(C,b.scrollHeight),m),c=await Kn(C,{...m,elementContext:"reference"}),s=Math.max(0,y.top),u=C.y+s,d=Math.max(0,b.scrollHeight-s-Math.max(0,y.bottom));return b.style.maxHeight=d+"px",b.scrollTop=s,o&&(b.offsetHeight=-f||c.bottom>=-f?wo.flushSync(()=>o(!0)):wo.flushSync(()=>o(!1))),n&&(n.current=await Kn(J_({...C,y:u},b.offsetHeight),m)),{y:u}}}),eH=(e,t)=>{let{open:r,elements:n}=e,{enabled:o=!0,overflowRef:a,scrollRef:i,onChange:l}=t;const f=Ul(l),g=F.useRef(!1),m=F.useRef(null),w=F.useRef(null);return F.useEffect(()=>{if(!o)return;function P(C){if(C.ctrlKey||!O||a.current==null)return;const b=C.deltaY,y=a.current.top>=-.5,c=a.current.bottom>=-.5,s=O.scrollHeight-O.clientHeight,u=b<0?-1:1,d=b<0?"max":"min";O.scrollHeight<=O.clientHeight||(!y&&b>0||!c&&b<0?(C.preventDefault(),wo.flushSync(()=>{f(h=>h+Math[d](b,s*u))})):/firefox/i.test(NT())&&(O.scrollTop+=b))}const O=(i==null?void 0:i.current)||n.floating;if(r&&O)return O.addEventListener("wheel",P),requestAnimationFrame(()=>{m.current=O.scrollTop,a.current!=null&&(w.current={...a.current})}),()=>{m.current=null,w.current=null,O.removeEventListener("wheel",P)}},[o,r,n.floating,a,i,f]),F.useMemo(()=>o?{floating:{onKeyDown(){g.current=!0},onWheel(){g.current=!1},onPointerMove(){g.current=!1},onScroll(){const P=(i==null?void 0:i.current)||n.floating;if(!(!a.current||!P||!g.current)){if(m.current!==null){const O=P.scrollTop-m.current;(a.current.bottom<-.5&&O<-1||a.current.top<-.5&&O>1)&&wo.flushSync(()=>f(C=>C+O))}requestAnimationFrame(()=>{m.current=P.scrollTop})}}}}:{},[o,a,n.floating,i,f])};function tH(e,t){const[r,n]=e;let o=!1;const a=t.length;for(let i=0,l=a-1;i=n!=w>=n&&r<=(m-f)*(n-g)/(w-g)+f&&(o=!o)}return o}function rH(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function nH(e){let{restMs:t=0,buffer:r=.5,blockPointerEvents:n=!1}=e===void 0?{}:e,o,a=!1,i=!1;const l=f=>{let{x:g,y:m,placement:w,elements:P,onClose:O,nodeId:C,tree:b}=f;return function(c){function s(){clearTimeout(o),O()}if(clearTimeout(o),!P.domReference||!P.floating||w==null||g==null||m==null)return;const{clientX:u,clientY:d}=c,h=[u,d],v=O0(c),_=c.type==="mouseleave",k=wr(P.floating,v),T=wr(P.domReference,v),E=P.domReference.getBoundingClientRect(),M=P.floating.getBoundingClientRect(),A=w.split("-")[0],N=g>M.right-M.width/2,D=m>M.bottom-M.height/2,$=rH(h,E);if(k&&(i=!0),T&&(i=!1),T&&!_){i=!0;return}if(_&&tn(c.relatedTarget)&&wr(P.floating,c.relatedTarget)||b&&Js(b.nodesRef.current,C).some(V=>{let{context:B}=V;return B==null?void 0:B.open}))return;if(A==="top"&&m>=E.bottom-1||A==="bottom"&&m<=E.top+1||A==="left"&&g>=E.right-1||A==="right"&&g<=E.left+1)return s();let G=[];switch(A){case"top":G=[[M.left,E.top+1],[M.left,M.bottom-1],[M.right,M.bottom-1],[M.right,E.top+1]],a=u>=M.left&&u<=M.right&&d>=M.top&&d<=E.top+1;break;case"bottom":G=[[M.left,M.top+1],[M.left,E.bottom-1],[M.right,E.bottom-1],[M.right,M.top+1]],a=u>=M.left&&u<=M.right&&d>=E.bottom-1&&d<=M.bottom;break;case"left":G=[[M.right-1,M.bottom],[M.right-1,M.top],[E.left+1,M.top],[E.left+1,M.bottom]],a=u>=M.left&&u<=E.left+1&&d>=M.top&&d<=M.bottom;break;case"right":G=[[E.right-1,M.bottom],[E.right-1,M.top],[M.left+1,M.top],[M.left+1,M.bottom]],a=u>=E.right-1&&u<=M.right&&d>=M.top&&d<=M.bottom;break}function X(V){let[B,q]=V;const Y=M.width>E.width,ne=M.height>E.height;switch(A){case"top":{const ce=[Y?B+r/2:N?B+r*4:B-r*4,q+r+1],se=[Y?B-r/2:N?B+r*4:B-r*4,q+r+1],re=[[M.left,N||Y?M.bottom-r:M.top],[M.right,N?Y?M.bottom-r:M.top:M.bottom-r]];return[ce,se,...re]}case"bottom":{const ce=[Y?B+r/2:N?B+r*4:B-r*4,q-r],se=[Y?B-r/2:N?B+r*4:B-r*4,q-r],re=[[M.left,N||Y?M.top+r:M.bottom],[M.right,N?Y?M.top+r:M.bottom:M.top+r]];return[ce,se,...re]}case"left":{const ce=[B+r+1,ne?q+r/2:D?q+r*4:q-r*4],se=[B+r+1,ne?q-r/2:D?q+r*4:q-r*4];return[...[[D||ne?M.right-r:M.left,M.top],[D?ne?M.right-r:M.left:M.right-r,M.bottom]],ce,se]}case"right":{const ce=[B-r,ne?q+r/2:D?q+r*4:q-r*4],se=[B-r,ne?q-r/2:D?q+r*4:q-r*4],re=[[D||ne?M.left+r:M.right,M.top],[D?ne?M.left+r:M.right:M.left+r,M.bottom]];return[ce,se,...re]}}}const H=a?G:X([g,m]);if(!a){if(i&&!$)return s();tH([u,d],H)?t&&!i&&(o=setTimeout(s,t)):s()}}};return l.__options={blockPointerEvents:n},l}function oH(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:r,nodeId:n}=e,o=vB(e),a=ri(),i=F.useRef(null),l=F.useRef({}),f=F.useState(()=>MT())[0],[g,m]=F.useState(null),w=F.useCallback(c=>{const s=tn(c)?{getBoundingClientRect:()=>c.getBoundingClientRect(),contextElement:c}:c;o.refs.setReference(s)},[o.refs]),P=F.useCallback(c=>{(tn(c)||c===null)&&(i.current=c,m(c)),(tn(o.refs.reference.current)||o.refs.reference.current===null||c!==null&&!tn(c))&&o.refs.setReference(c)},[o.refs]),O=F.useMemo(()=>({...o.refs,setReference:P,setPositionReference:w,domReference:i}),[o.refs,P,w]),C=F.useMemo(()=>({...o.elements,domReference:g}),[o.elements,g]),b=Ul(r),y=F.useMemo(()=>({...o,refs:O,elements:C,dataRef:l,nodeId:n,events:f,open:t,onOpenChange:b}),[o,n,f,t,b,O,C]);return yt(()=>{const c=a==null?void 0:a.nodesRef.current.find(s=>s.id===n);c&&(c.context=y)}),F.useMemo(()=>({...o,context:y,refs:O,reference:P,positionReference:w}),[o,O,y,P,w])}function bg(e,t,r){const n=new Map;return{...r==="floating"&&{tabIndex:-1},...e,...t.map(o=>o?o[r]:null).concat(e).reduce((o,a)=>(a&&Object.entries(a).forEach(i=>{let[l,f]=i;if(l.indexOf("on")===0){if(n.has(l)||n.set(l,[]),typeof f=="function"){var g;(g=n.get(l))==null||g.push(f),o[l]=function(){for(var m,w=arguments.length,P=new Array(w),O=0;OC(...P))}}}else o[l]=f}),o),{})}}const aH=function(e){e===void 0&&(e=[]);const t=e,r=F.useCallback(a=>bg(a,e,"reference"),t),n=F.useCallback(a=>bg(a,e,"floating"),t),o=F.useCallback(a=>bg(a,e,"item"),e.map(a=>a==null?void 0:a.item));return F.useMemo(()=>({getReferenceProps:r,getFloatingProps:n,getItemProps:o}),[r,n,o])},iH=Object.freeze(Object.defineProperty({__proto__:null,FloatingDelayGroup:SB,FloatingFocusManager:FB,FloatingNode:xB,FloatingOverlay:LB,FloatingPortal:jB,FloatingTree:CB,arrow:mB,autoPlacement:uB,autoUpdate:sB,computePosition:RT,detectOverflow:Kn,flip:dB,getOverflowAncestors:go,hide:pB,inline:hB,inner:ZB,limitShift:gB,offset:wT,platform:kT,safePolygon:nH,shift:cB,size:fB,useClick:zB,useDelayGroup:TB,useDelayGroupContext:zT,useDismiss:WB,useFloating:oH,useFloatingNodeId:_B,useFloatingParentNodeId:$l,useFloatingPortalNode:HT,useFloatingTree:ri,useFocus:BB,useHover:OB,useId:Au,useInnerOffset:eH,useInteractions:aH,useListNavigation:qB,useMergeRefs:KB,useRole:XB,useTransitionStatus:qT,useTransitionStyles:JB,useTypeahead:QB},Symbol.toStringTag,{value:"Module"})),Ft=Ml(iH);var KT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{DialogHeader:function(){return P},default:function(){return O}});var r=g(F),n=g(Ae),o=Oe,a=g(Se),i=Ce,l=Ll;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,i.useTheme)().dialogHeader,d=u.defaultProps,h=u.styles.base;y=(0,o.twMerge)(d.className||"",y);var v=(0,o.twMerge)((0,n.default)((0,a.default)(h)),y);return r.default.createElement("div",f({},s,{ref:b,className:v}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.DialogHeader";var O=P})(KT);var XT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,y){for(var c in y)Object.defineProperty(b,c,{enumerable:!0,get:y[c]})}t(e,{DialogBody:function(){return O},default:function(){return C}});var r=m(F),n=m(Ae),o=Oe,a=m(Se),i=Ce,l=Ll;function f(b,y,c){return y in b?Object.defineProperty(b,y,{value:c,enumerable:!0,configurable:!0,writable:!0}):b[y]=c,b}function g(){return g=Object.assign||function(b){for(var y=1;y=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.divider,s=b.className,u=b.children,d=w(b,["divider","className","children"]),h=(0,i.useTheme)().dialogBody,v=h.defaultProps,_=h.styles.base;s=(0,o.twMerge)(v.className||"",s);var k=(0,o.twMerge)((0,n.default)((0,a.default)(_.initial),f({},(0,a.default)(_.divider),c)),s);return r.default.createElement("div",g({},d,{ref:y,className:k}),u)});O.propTypes={divider:l.propTypesDivider,className:l.propTypesClassName,children:l.propTypesChildren},O.displayName="MaterialTailwind.DialogBody";var C=O})(XT);var YT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{DialogFooter:function(){return P},default:function(){return O}});var r=g(F),n=g(Ae),o=Oe,a=g(Se),i=Ce,l=Ll;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,i.useTheme)().dialogFooter,d=u.defaultProps,h=u.styles.base;y=(0,o.twMerge)(d.className||"",y);var v=(0,o.twMerge)((0,n.default)((0,a.default)(h)),y);return r.default.createElement("div",f({},s,{ref:b,className:v}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.DialogFooter";var O=P})(YT);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(E,M){for(var A in M)Object.defineProperty(E,A,{enumerable:!0,get:M[A]})}t(e,{Dialog:function(){return k},DialogHeader:function(){return O.DialogHeader},DialogBody:function(){return C.DialogBody},DialogFooter:function(){return b.DialogFooter},default:function(){return T}});var r=s(F),n=s(Ee),o=Ft,a=Ht,i=s(Ae),l=s(Yt),f=Oe,g=s(ht),m=s(Se),w=Ce,P=Ll,O=KT,C=XT,b=YT;function y(E,M,A){return M in E?Object.defineProperty(E,M,{value:A,enumerable:!0,configurable:!0,writable:!0}):E[M]=A,E}function c(){return c=Object.assign||function(E){for(var M=1;M=0)&&Object.prototype.propertyIsEnumerable.call(E,N)&&(A[N]=E[N])}return A}function _(E,M){if(E==null)return{};var A={},N=Object.keys(E),D,$;for($=0;$=0)&&(A[D]=E[D]);return A}var k=r.default.forwardRef(function(E,M){var A=E.open,N=E.handler,D=E.size,$=E.dismiss,G=E.animate,X=E.className,H=E.children,V=v(E,["open","handler","size","dismiss","animate","className","children"]),B=(0,w.useTheme)().dialog,q=B.defaultProps,Y=B.valid,ne=B.styles,ce=ne.base,se=ne.sizes;N=N??void 0,D=D??q.size,$=$??q.dismiss,G=G??q.animate,X=(0,f.twMerge)(q.className||"",X);var re=(0,i.default)((0,m.default)(ce.backdrop)),pe=(0,f.twMerge)((0,i.default)((0,m.default)(ce.container),(0,m.default)(se[(0,g.default)(Y.sizes,D,"md")])),X),ue={unmount:{opacity:0,y:-50,transition:{duration:.3}},mount:{opacity:1,y:0,transition:{duration:.3}}},oe={unmount:{opacity:0,transition:{delay:.2}},mount:{opacity:1}},fe=(0,l.default)(ue,G),le=(0,o.useFloating)({open:A,onOpenChange:N}),ae=le.floating,ge=le.context,ve=(0,o.useId)(),be="".concat(ve,"-label"),Pe="".concat(ve,"-description"),Le=(0,o.useInteractions)([(0,o.useClick)(ge),(0,o.useRole)(ge),(0,o.useDismiss)(ge,$)]).getFloatingProps,Xe=(0,o.useMergeRefs)([M,ae]),mt=a.AnimatePresence;return r.default.createElement(a.LazyMotion,{features:a.domAnimation},r.default.createElement(o.FloatingPortal,null,r.default.createElement(mt,null,A&&r.default.createElement(o.FloatingOverlay,{style:{zIndex:9999},lockScroll:!0},r.default.createElement(o.FloatingFocusManager,{context:ge},r.default.createElement(a.m.div,{className:D==="xxl"?"":re,initial:"unmount",exit:"unmount",animate:A?"mount":"unmount",variants:oe,transition:{duration:.2}},r.default.createElement(a.m.div,c({},Le(h(u({},V),{ref:Xe,className:pe,"aria-labelledby":be,"aria-describedby":Pe})),{initial:"unmount",exit:"unmount",animate:A?"mount":"unmount",variants:fe}),H)))))))});k.propTypes={open:P.propTypesOpen,handler:P.propTypesHandler,size:n.default.oneOf(P.propTypesSize),dismiss:P.propTypesDismiss,animate:P.propTypesAnimate,className:P.propTypesClassName,children:P.propTypesChildren},k.displayName="MaterialTailwind.Dialog";var T=Object.assign(k,{Header:O.DialogHeader,Body:C.DialogBody,Footer:b.DialogFooter})})(dT);var JT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Input:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=P(ht),i=P(Se),l=Ce,f=Yu,g=Oe;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.color,h=c.size,v=c.label,_=c.error,k=c.success,T=c.icon,E=c.containerProps,M=c.labelProps,A=c.className,N=c.shrink,D=c.inputRef,$=O(c,["variant","color","size","label","error","success","icon","containerProps","labelProps","className","shrink","inputRef"]),G=(0,l.useTheme)().input,X=G.defaultProps,H=G.valid,V=G.styles,B=V.base,q=V.variants;u=u??X.variant,h=h??X.size,d=d??X.color,v=v??X.label,M=M??X.labelProps,E=E??X.containerProps,N=N??X.shrink,T=T??X.icon,A=(0,g.twMerge)(X.className||"",A);var Y=q[(0,a.default)(H.variants,u,"outlined")],ne=Y.sizes[(0,a.default)(H.sizes,h,"md")],ce=(0,i.default)(Y.error.input),se=(0,i.default)(Y.success.input),re=(0,i.default)(Y.shrink.input),pe=(0,i.default)(Y.colors.input[(0,a.default)(H.colors,d,"gray")]),ue=(0,i.default)(Y.error.label),oe=(0,i.default)(Y.success.label),fe=(0,i.default)(Y.shrink.label),le=(0,i.default)(Y.colors.label[(0,a.default)(H.colors,d,"gray")]),ae=(0,o.default)((0,i.default)(B.container),(0,i.default)(ne.container),E==null?void 0:E.className),ge=(0,o.default)((0,i.default)(B.input),(0,i.default)(Y.base.input),(0,i.default)(ne.input),m({},(0,i.default)(Y.base.inputWithIcon),T),m({},pe,!_&&!k),m({},ce,_),m({},se,k),m({},re,N),A),ve=(0,o.default)((0,i.default)(B.label),(0,i.default)(Y.base.label),(0,i.default)(ne.label),m({},le,!_&&!k),m({},ue,_),m({},oe,k),m({},fe,N),M==null?void 0:M.className),be=(0,o.default)((0,i.default)(B.icon),(0,i.default)(Y.base.icon),(0,i.default)(ne.icon)),Pe=(0,o.default)((0,i.default)(B.asterisk));return r.default.createElement("div",w({},E,{ref:s,className:ae}),T&&r.default.createElement("div",{className:be},T),r.default.createElement("input",w({},$,{ref:D,className:ge,placeholder:($==null?void 0:$.placeholder)||" "})),r.default.createElement("label",w({},M,{className:ve}),v," ",$.required?r.default.createElement("span",{className:Pe},"*"):""))});b.propTypes={variant:n.default.oneOf(f.propTypesVariant),size:n.default.oneOf(f.propTypesSize),color:n.default.oneOf(f.propTypesColor),label:f.propTypesLabel,error:f.propTypesError,success:f.propTypesSuccess,icon:f.propTypesIcon,labelProps:f.propTypesLabelProps,containerProps:f.propTypesContainerProps,shrink:f.propTypesShrink,className:f.propTypesClassName},b.displayName="MaterialTailwind.Input";var y=b})(JT);var QT={},ic={},Wl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{propTypesOpen:function(){return a},propTypesHandler:function(){return i},propTypesPlacement:function(){return l},propTypesOffset:function(){return f},propTypesDismiss:function(){return g},propTypesAnimate:function(){return m},propTypesLockScroll:function(){return w},propTypesDisabled:function(){return P},propTypesClassName:function(){return O},propTypesChildren:function(){return C},propTypesContextValue:function(){return b}});var r=o(Ee),n=st;function o(y){return y&&y.__esModule?y:{default:y}}var a=r.default.bool,i=r.default.func,l=n.propTypesPlacements,f=n.propTypesOffsetType,g=r.default.shape({itemPress:r.default.bool,enabled:r.default.bool,escapeKey:r.default.bool,referencePress:r.default.bool,referencePressEvent:r.default.oneOf(["pointerdown","mousedown","click"]),outsidePress:r.default.oneOfType([r.default.bool,r.default.func]),outsidePressEvent:r.default.oneOf(["pointerdown","mousedown","click"]),ancestorScroll:r.default.bool,bubbles:r.default.oneOfType([r.default.bool,r.default.shape({escapeKey:r.default.bool,outsidePress:r.default.bool})])}),m=n.propTypesAnimation,w=r.default.bool,P=r.default.bool,O=r.default.string,C=r.default.node.isRequired,b=r.default.shape({open:r.default.bool.isRequired,handler:r.default.func.isRequired,setInternalOpen:r.default.func.isRequired,strategy:r.default.oneOf(["fixed","absolute"]).isRequired,x:r.default.number.isRequired,y:r.default.number.isRequired,reference:r.default.func.isRequired,floating:r.default.func.isRequired,listItemsRef:r.default.instanceOf(Object).isRequired,getReferenceProps:r.default.func.isRequired,getFloatingProps:r.default.func.isRequired,getItemProps:r.default.func.isRequired,appliedAnimation:m.isRequired,lockScroll:r.default.bool.isRequired,context:r.default.instanceOf(Object).isRequired,tree:r.default.any.isRequired,allowHover:r.default.bool.isRequired,activeIndex:r.default.number.isRequired,setActiveIndex:r.default.func.isRequired,nested:r.default.bool.isRequired})})(Wl);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var m in g)Object.defineProperty(f,m,{enumerable:!0,get:g[m]})}t(e,{MenuContext:function(){return a},useMenu:function(){return i},MenuContextProvider:function(){return l}});var r=o(F),n=Wl;function o(f){return f&&f.__esModule?f:{default:f}}var a=r.default.createContext(null);a.displayName="MaterialTailwind.MenuContext";function i(){var f=r.default.useContext(a);if(!f)throw new Error("useMenu() must be used within a Menu. It happens when you use MenuCore, MenuHandler, MenuItem or MenuList components outside the Menu component.");return f}var l=function(f){var g=f.value,m=f.children;return r.default.createElement(a.Provider,{value:g},m)};l.prototypes={value:n.propTypesContextValue,children:n.propTypesChildren},l.displayName="MaterialTailwind.MenuContextProvider"})(ic);var ZT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{MenuCore:function(){return y},default:function(){return c}});var r=w(F),n=w(Ee),o=Ft,a=w(Yt),i=Ce,l=ic,f=Wl;function g(s,u){(u==null||u>s.length)&&(u=s.length);for(var d=0,h=new Array(u);d=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.children,s=w(b,["children"]),u=(0,o.useMenu)(),d=u.getReferenceProps,h=u.reference,v=u.nested,_=(0,n.useMergeRefs)([y,h]);return r.default.cloneElement(c,f({},d(f(m(f({},s),{ref:_,onClick:function(T){T.stopPropagation()}}),v&&{role:"menuitem"}))))});O.propTypes={children:a.propTypesChildren},O.displayName="MaterialTailwind.MenuHandler";var C=O})(e8);var t8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{MenuList:function(){return b},default:function(){return y}});var r=P(F),n=Ft,o=Ht,a=P(Ae),i=Oe,l=P(Se),f=Ce,g=ic,m=Wl;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.children,d=c.className,h=O(c,["children","className"]),v=(0,f.useTheme)().menu,_=v.styles.base,k=(0,g.useMenu)(),T=k.open,E=k.handler,M=k.strategy,A=k.x,N=k.y,D=k.floating,$=k.listItemsRef,G=k.getFloatingProps,X=k.getItemProps,H=k.appliedAnimation,V=k.lockScroll,B=k.context,q=k.activeIndex,Y=k.tree,ne=k.allowHover,ce=k.internalAllowHover,se=k.setActiveIndex,re=k.nested;d=d??"";var pe=(0,i.twMerge)((0,a.default)((0,l.default)(_.menu)),d),ue=(0,n.useMergeRefs)([s,D]),oe=o.AnimatePresence,fe=r.default.createElement(o.m.div,w({},h,{ref:ue,style:{position:M,top:N??0,left:A??0},className:pe},G({onKeyDown:function(ae){ae.key==="Tab"&&(E(!1),ae.shiftKey&&ae.preventDefault())}}),{initial:"unmount",exit:"unmount",animate:T?"mount":"unmount",variants:H}),r.default.Children.map(u,function(le,ae){return r.default.isValidElement(le)&&r.default.cloneElement(le,X({tabIndex:q===ae?0:-1,role:"menuitem",className:le.props.className,ref:function(ve){$.current[ae]=ve},onClick:function(ve){if(le.props.onClick){var be,Pe;(Pe=(be=le.props).onClick)===null||Pe===void 0||Pe.call(be,ve)}Y==null||Y.events.emit("click")},onMouseEnter:function(){(ne&&T||ce&&T)&&se(ae)}}))}));return r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(n.FloatingPortal,null,r.default.createElement(oe,null,T&&r.default.createElement(r.default.Fragment,null,V?r.default.createElement(n.FloatingOverlay,{lockScroll:!0},r.default.createElement(n.FloatingFocusManager,{context:B,modal:!re,initialFocus:re?-1:0,returnFocus:!re,visuallyHiddenDismiss:!0},fe)):r.default.createElement(n.FloatingFocusManager,{context:B,modal:!re,initialFocus:re?-1:0,returnFocus:!re,visuallyHiddenDismiss:!0},fe)))))});b.propTypes={className:m.propTypesClassName,children:m.propTypesChildren},b.displayName="MaterialTailwind.MenuList";var y=b})(t8);var r8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,y){for(var c in y)Object.defineProperty(b,c,{enumerable:!0,get:y[c]})}t(e,{MenuItem:function(){return O},default:function(){return C}});var r=m(F),n=m(Ae),o=Oe,a=m(Se),i=Ce,l=Wl;function f(b,y,c){return y in b?Object.defineProperty(b,y,{value:c,enumerable:!0,configurable:!0,writable:!0}):b[y]=c,b}function g(){return g=Object.assign||function(b){for(var y=1;y=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.className,s=c===void 0?"":c,u=b.disabled,d=u===void 0?!1:u,h=b.children,v=w(b,["className","disabled","children"]),_=(0,i.useTheme)().menu,k=_.styles.base,T=(0,o.twMerge)((0,n.default)((0,a.default)(k.item.initial),f({},(0,a.default)(k.item.disabled),d)),s);return r.default.createElement("button",g({},v,{ref:y,role:"menuitem",className:T}),h)});O.propTypes={className:l.propTypesClassName,disabled:l.propTypesDisabled,children:l.propTypesChildren},O.displayName="MaterialTailwind.MenuItem";var C=O})(r8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{Menu:function(){return w},MenuHandler:function(){return i.MenuHandler},MenuList:function(){return l.MenuList},MenuItem:function(){return f.MenuItem},useMenu:function(){return o.useMenu},default:function(){return P}});var r=m(F),n=Ft,o=ic,a=ZT,i=e8,l=t8,f=r8;function g(){return g=Object.assign||function(O){for(var C=1;C=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.open,d=c.animate,h=c.className,v=c.children,_=O(c,["open","animate","className","children"]),k;console.error(` will be deprecated in the future versions of @material-tailwind/react use instead. More details: https://www.material-tailwind.com/docs/react/collapse - `);var T=r.default.useRef(null),E=(0,g.useTheme)().navbar,R=E.styles,A=R.base.mobileNav;d=d??{},h=h??"";var N=(0,l.twMerge)((0,i.default)((0,f.default)(A)),h),D={unmount:{height:0,opacity:0,transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}},mount:{opacity:1,height:"".concat((k=T.current)===null||k===void 0?void 0:k.scrollHeight,"px"),transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}}},$=(0,a.default)(D,d),G=n.AnimatePresence,X=(0,o.useMergeRefs)([s,T]);return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement(G,null,r.default.createElement(n.m.div,w({},_,{ref:X,className:N,initial:"unmount",exit:"unmount",animate:u?"mount":"unmount",variants:$}),v)))});b.displayName="MaterialTailwind.MobileNav",b.propTypes={open:m.propTypesOpen,animate:m.propTypesAnimate,className:m.propTypesClassName,children:m.propTypesChildren};var y=b})(oO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Navbar:function(){return y},MobileNav:function(){return g.MobileNav},default:function(){return c}});var r=O(F),n=O(Ee),o=O(Ae),a=Oe,i=O(ht),l=O(Se),f=Ce,g=oO,m=up;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.variant,h=s.color,v=s.shadow,_=s.blurred,k=s.fullWidth,T=s.className,E=s.children,R=C(s,["variant","color","shadow","blurred","fullWidth","className","children"]),A=(0,f.useTheme)().navbar,N=A.defaultProps,D=A.valid,$=A.styles,G=$.base,X=$.variants;d=d??N.variant,h=h??N.color,v=v??N.shadow,_=_??N.blurred,k=k??N.fullWidth,T=(0,a.twMerge)(N.className||"",T);var H,V=(0,o.default)((0,l.default)(G.navbar.initial),(H={},w(H,(0,l.default)(G.navbar.shadow),v),w(H,(0,l.default)(G.navbar.blurred),_&&h==="white"),w(H,(0,l.default)(G.navbar.fullWidth),k),H)),B=(0,o.default)((0,l.default)(X[(0,i.default)(D.variants,d,"filled")][(0,i.default)(D.colors,h,"white")])),q=(0,a.twMerge)((0,o.default)(V,B),T);return r.default.createElement("nav",P({},R,{ref:u,className:q}),E)});y.propTypes={variant:n.default.oneOf(m.propTypesVariant),color:n.default.oneOf(m.propTypesColor),shadow:m.propTypesShadow,blurred:m.propTypesBlurred,fullWidth:m.propTypesFullWidth,className:m.propTypesClassName,children:m.propTypesChildren},y.displayName="MaterialTailwind.Navbar";var c=Object.assign(y,{MobileNav:g.MobileNav})})(nO);var aO={},Ep={},Bl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{propTypesOpen:function(){return a},propTypesHandler:function(){return i},propTypesPlacement:function(){return l},propTypesOffset:function(){return f},propTypesDismiss:function(){return g},propTypesAnimate:function(){return m},propTypesContent:function(){return w},propTypesInteractive:function(){return P},propTypesClassName:function(){return O},propTypesChildren:function(){return C},propTypesContextValue:function(){return b}});var r=o(Ee),n=st;function o(y){return y&&y.__esModule?y:{default:y}}var a=r.default.bool,i=r.default.func,l=n.propTypesPlacements,f=n.propTypesOffsetType,g=n.propTypesDismissType,m=n.propTypesAnimation,w=r.default.node,P=r.default.bool,O=r.default.string,C=r.default.node.isRequired,b=r.default.shape({open:r.default.bool.isRequired,strategy:r.default.oneOf(["fixed","absolute"]).isRequired,x:r.default.number,y:r.default.number,context:r.default.instanceOf(Object).isRequired,reference:r.default.func.isRequired,floating:r.default.func.isRequired,getReferenceProps:r.default.func.isRequired,getFloatingProps:r.default.func.isRequired,appliedAnimation:m.isRequired,labelId:r.default.string.isRequired,descriptionId:r.default.string.isRequired}).isRequired})(Bl);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var m in g)Object.defineProperty(f,m,{enumerable:!0,get:g[m]})}t(e,{PopoverContext:function(){return a},usePopover:function(){return i},PopoverContextProvider:function(){return l}});var r=o(F),n=Bl;function o(f){return f&&f.__esModule?f:{default:f}}var a=r.default.createContext(null);a.displayName="MaterialTailwind.PopoverContext";function i(){var f=r.default.useContext(a);if(!f)throw new Error("usePopover() must be used within a Popover. It happens when you use PopoverHandler or PopoverContent components outside the Popover component.");return f}var l=function(f){var g=f.value,m=f.children;return r.default.createElement(a.Provider,{value:g},m)};l.propTypes={value:n.propTypesContextValue,children:n.propTypesChildren},l.displayName="MaterialTailwind.PopoverContextProvider"})(Ep);var iO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,y){for(var c in y)Object.defineProperty(b,c,{enumerable:!0,get:y[c]})}t(e,{PopoverHandler:function(){return O},default:function(){return C}});var r=l(F),n=Ft,o=Ep,a=Bl;function i(b,y,c){return y in b?Object.defineProperty(b,y,{value:c,enumerable:!0,configurable:!0,writable:!0}):b[y]=c,b}function l(b){return b&&b.__esModule?b:{default:b}}function f(b){for(var y=1;y=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.children,s=w(b,["children"]),u=(0,o.usePopover)(),d=u.getReferenceProps,h=u.reference,v=(0,n.useMergeRefs)([y,h]);return r.default.cloneElement(c,f({},d(m(f({},s),{ref:v}))))});O.propTypes={children:a.propTypesChildren},O.displayName="MaterialTailwind.PopoverHandler";var C=O})(iO);var lO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,v){for(var _ in v)Object.defineProperty(h,_,{enumerable:!0,get:v[_]})}t(e,{PopoverContent:function(){return u},default:function(){return d}});var r=O(F),n=Ft,o=Ht,a=O(Ae),i=Oe,l=O(Se),f=Ce,g=Ep,m=Bl;function w(h,v,_){return v in h?Object.defineProperty(h,v,{value:_,enumerable:!0,configurable:!0,writable:!0}):h[v]=_,h}function P(){return P=Object.assign||function(h){for(var v=1;v=0)&&Object.prototype.propertyIsEnumerable.call(h,k)&&(_[k]=h[k])}return _}function s(h,v){if(h==null)return{};var _={},k=Object.keys(h),T,E;for(E=0;E=0)&&(_[T]=h[T]);return _}var u=r.default.forwardRef(function(h,v){var _=h.children,k=h.className,T=c(h,["children","className"]),E=(0,f.useTheme)().popover,R=E.defaultProps,A=E.styles.base,N=(0,g.usePopover)(),D=N.open,$=N.strategy,G=N.x,X=N.y,H=N.context,V=N.floating,B=N.getFloatingProps,q=N.appliedAnimation,Y=N.labelId,ne=N.descriptionId;k=(0,i.twMerge)(R.className||"",k);var ce=(0,i.twMerge)((0,a.default)((0,l.default)(A)),k),se=(0,n.useMergeRefs)([v,V]),re=o.AnimatePresence;return r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(n.FloatingPortal,null,r.default.createElement(re,null,D&&r.default.createElement(n.FloatingFocusManager,{context:H},r.default.createElement(o.m.div,P({},B(y(C({},T),{ref:se,className:ce,style:{position:$,top:X??"",left:G??""},"aria-labelledby":Y,"aria-describedby":ne})),{initial:"unmount",exit:"unmount",animate:D?"mount":"unmount",variants:q}),_)))))});u.propTypes={className:m.propTypesClassName,children:m.propTypesChildren},u.displayName="MaterialTailwind.PopoverContent";var d=u})(lO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{Popover:function(){return s},PopoverHandler:function(){return g.PopoverHandler},PopoverContent:function(){return m.PopoverContent},usePopover:function(){return l.usePopover},default:function(){return u}});var r=O(F),n=O(Ee),o=Ft,a=O(Yt),i=Ce,l=Ep,f=Bl,g=iO,m=lO;function w(d,h){(h==null||h>d.length)&&(h=d.length);for(var v=0,_=new Array(h);v=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.color,h=c.size,v=c.value,_=c.label,k=c.className,T=c.barProps,E=O(c,["variant","color","size","value","label","className","barProps"]),R=(0,f.useTheme)().progress,A=R.defaultProps,N=R.valid,D=R.styles,$=D.base,G=D.variants,X=D.sizes;u=u??A.variant,d=d??A.color,h=h??A.size,_=_??A.label,T=T??A.barProps,k=(0,a.twMerge)(A.className||"",k);var H=(0,l.default)(G[(0,i.default)(N.variants,u,"filled")][(0,i.default)(N.colors,d,"gray")]),V=(0,l.default)(X[(0,i.default)(N.sizes,h,"md")].container.initial),B=(0,o.default)((0,l.default)($.container.initial),V),q=(0,l.default)(X[(0,i.default)(N.sizes,h,"md")].container.withLabel),Y=(0,o.default)((0,l.default)($.container.withLabel),q),ne=(0,l.default)(X[(0,i.default)(N.sizes,h,"md")].bar),ce=(0,o.default)((0,l.default)($.bar),ne),se=(0,a.twMerge)((0,o.default)(B,m({},Y,_)),k),re=(0,a.twMerge)((0,o.default)(ce,H),T==null?void 0:T.className);return r.default.createElement("div",w({},E,{ref:s,className:se}),r.default.createElement("div",w({},T,{className:re,style:{width:"".concat(v,"%")}}),_&&"".concat(v,"% ").concat(typeof _=="string"?_:"")))});b.propTypes={variant:n.default.oneOf(g.propTypesVariant),color:n.default.oneOf(g.propTypesColor),size:n.default.oneOf(g.propTypesSize),value:g.propTypesValue,label:g.propTypesLabel,barProps:g.propTypesBarProps,className:g.propTypesClassName},b.displayName="MaterialTailwind.Progress";var y=b})(sO);var uO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Radio:function(){return y},default:function(){return c}});var r=O(F),n=O(Ee),o=O(Vl),a=O(Ae),i=Oe,l=O(ht),f=O(Se),g=Ce,m=Qa;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.color,h=s.label,v=s.icon,_=s.ripple,k=s.className,T=s.disabled,E=s.containerProps,R=s.labelProps,A=s.iconProps,N=s.inputRef,D=C(s,["color","label","icon","ripple","className","disabled","containerProps","labelProps","iconProps","inputRef"]),$=(0,g.useTheme)().radio,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.colors,q=r.default.useId();d=d??G.color,h=h??G.label,v=v??G.icon,_=_??G.ripple,T=T??G.disabled,E=E??G.containerProps,R=R??G.labelProps,A=A??G.iconProps,k=(0,i.twMerge)(G.className||"",k);var Y=_!==void 0&&new o.default,ne=(0,a.default)((0,f.default)(V.root),w({},(0,f.default)(V.disabled),T)),ce=(0,i.twMerge)((0,a.default)((0,f.default)(V.container)),E==null?void 0:E.className),se=(0,i.twMerge)((0,a.default)((0,f.default)(V.input),(0,f.default)(B[(0,l.default)(X.colors,d,"gray")])),k),re=(0,i.twMerge)((0,a.default)((0,f.default)(V.label)),R==null?void 0:R.className),pe=(0,a.default)((0,a.default)((0,f.default)(V.icon)),B[(0,l.default)(X.colors,d,"gray")].color,A==null?void 0:A.className);return r.default.createElement("div",{ref:u,className:ne},r.default.createElement("label",P({},E,{className:ce,htmlFor:D.id||q,onMouseDown:function(ue){var oe=E==null?void 0:E.onMouseDown;return _&&Y.create(ue,"dark"),typeof oe=="function"&&oe(ue)}}),r.default.createElement("input",P({},D,{ref:N,type:"radio",disabled:T,className:se,id:D.id||q})),r.default.createElement("span",{className:pe},v||r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-3.5 w-3.5",viewBox:"0 0 16 16",fill:"currentColor"},r.default.createElement("circle",{"data-name":"ellipse",cx:"8",cy:"8",r:"8"})))),h&&r.default.createElement("label",P({},R,{className:re,htmlFor:D.id||q}),h))});y.propTypes={color:n.default.oneOf(m.propTypesColor),label:m.propTypesLabel,icon:m.propTypesIcon,ripple:m.propTypesRipple,className:m.propTypesClassName,disabled:m.propTypesDisabled,containerProps:m.propTypesObject,labelProps:m.propTypesObject},y.displayName="MaterialTailwind.Radio";var c=y})(uO);var cO={},$1={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(m,w){for(var P in w)Object.defineProperty(m,P,{enumerable:!0,get:w[P]})}t(e,{SelectContext:function(){return i},useSelect:function(){return l},usePrevious:function(){return f},SelectContextProvider:function(){return g}});var r=a(F),n=Ht,o=Zu;function a(m){return m&&m.__esModule?m:{default:m}}var i=r.default.createContext(null);i.displayName="MaterialTailwind.SelectContext";function l(){var m=r.default.useContext(i);if(m===null)throw new Error("useSelect() must be used within a Select. It happens when you use SelectOption component outside the Select component.");return m}function f(m){var w=r.default.useRef();return(0,n.useIsomorphicLayoutEffect)(function(){w.current=m},[m]),w.current}var g=function(m){var w=m.value,P=m.children;return r.default.createElement(i.Provider,{value:w},P)};g.propTypes={value:o.propTypesContextValue,children:o.propTypesChildren},g.displayName="MaterialTailwind.SelectContextProvider"})($1);var dO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{SelectOption:function(){return C},default:function(){return b}});var r=w(F),n=w(Ae),o=Oe,a=w(Se),i=Ce,l=$1,f=Zu;function g(y,c,s){return c in y?Object.defineProperty(y,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):y[c]=s,y}function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=function(y){var c=function(){H(v),q(d),B(!1),ne(null)},s=function(ae){(ae.key==="Enter"||ae.key===" "&&!se.current.typing)&&(ae.preventDefault(),c())},u=y.value,d=u===void 0?"":u,h=y.index,v=h===void 0?0:h,_=y.disabled,k=_===void 0?!1:_,T=y.className,E=T===void 0?"":T,R=y.children,A=P(y,["value","index","disabled","className","children"]),N=(0,i.useTheme)().select,D=N.styles,$=D.base,G=(0,l.useSelect)(),X=G.selectedIndex,H=G.setSelectedIndex,V=G.listRef,B=G.setOpen,q=G.onChange,Y=G.activeIndex,ne=G.setActiveIndex,ce=G.getItemProps,se=G.dataRef,re=(0,a.default)($.option.initial),pe=(0,a.default)($.option.active),ue=(0,a.default)($.option.disabled),oe,fe=(0,o.twMerge)((0,n.default)(re,(oe={},g(oe,pe,X===v),g(oe,ue,k),oe)),E??"");return r.default.createElement("li",m({},A,{role:"option",ref:function(le){return V.current[v]=le},className:fe,disabled:k,tabIndex:Y===v?0:1,"aria-selected":Y===v&&X===v,"data-selected":X===v},ce({onClick:function(le){var ae=A==null?void 0:A.onClick;typeof ae=="function"&&(ae(le),c()),c()},onKeyDown:function(le){var ae=A==null?void 0:A.onKeyDown;typeof ae=="function"&&(ae(le),s(le)),s(le)}})),R)};C.propTypes={value:f.propTypesValue,index:f.propTypesIndex,disabled:f.propTypesDisabled,className:f.propTypesClassName,children:f.propTypesChildren},C.displayName="MaterialTailwind.SelectOption";var b=C})(dO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(V,B){for(var q in B)Object.defineProperty(V,q,{enumerable:!0,get:B[q]})}t(e,{Select:function(){return X},Option:function(){return C.SelectOption},useSelect:function(){return P.useSelect},usePrevious:function(){return P.usePrevious},default:function(){return H}});var r=d(F),n=d(Ee),o=Ft,a=Ht,i=d(Ae),l=Oe,f=d(Yt),g=d(ht),m=d(Se),w=Ce,P=$1,O=Zu,C=dO;function b(V,B){(B==null||B>V.length)&&(B=V.length);for(var q=0,Y=new Array(B);q=0)&&Object.prototype.propertyIsEnumerable.call(V,Y)&&(q[Y]=V[Y])}return q}function N(V,B){if(V==null)return{};var q={},Y=Object.keys(V),ne,ce;for(ce=0;ce=0)&&(q[ne]=V[ne]);return q}function D(V,B){return y(V)||v(V,B)||G(V,B)||_()}function $(V){return c(V)||h(V)||G(V)||k()}function G(V,B){if(V){if(typeof V=="string")return b(V,B);var q=Object.prototype.toString.call(V).slice(8,-1);if(q==="Object"&&V.constructor&&(q=V.constructor.name),q==="Map"||q==="Set")return Array.from(q);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return b(V,B)}}var X=r.default.forwardRef(function(V,B){var q=V.variant,Y=V.color,ne=V.size,ce=V.label,se=V.error,re=V.success,pe=V.arrow,ue=V.value,oe=V.onChange,fe=V.selected,le=V.offset,ae=V.dismiss,ge=V.animate,ve=V.lockScroll,be=V.labelProps,Pe=V.menuProps,Le=V.className,Xe=V.disabled,mt=V.name,ze=V.children,Ye=V.containerProps,xt=A(V,["variant","color","size","label","error","success","arrow","value","onChange","selected","offset","dismiss","animate","lockScroll","labelProps","menuProps","className","disabled","name","children","containerProps"]),Lt,ut=(0,w.useTheme)().select,We=ut.defaultProps,ur=ut.valid,Zt=ut.styles,vr=Zt.base,Mn=Zt.variants,ai=D(r.default.useState("close"),2),br=ai[0],Mr=ai[1];q=q??We.variant,Y=Y??We.color,ne=ne??We.size,ce=ce??We.label,se=se??We.error,re=re??We.success,pe=pe??We.arrow,ue=ue??We.value,oe=oe??We.onChange,fe=fe??We.selected,le=le??We.offset,ae=ae??We.dismiss,ge=ge??We.animate,be=be??We.labelProps,Pe=Pe??We.menuProps;var Rn;Ye=(Rn=(0,f.default)(Ye,(We==null?void 0:We.containerProps)||{}))!==null&&Rn!==void 0?Rn:We.containerProps,Le=(0,l.twMerge)(We.className||"",Le),ze=Array.isArray(ze)?ze:[ze];var Br=r.default.useRef([]),An,Jt=r.default.useRef($((An=r.default.Children.map(ze,function(ct){var vt=ct.props;return vt==null?void 0:vt.value}))!==null&&An!==void 0?An:[])),dc=D(r.default.useState(!1),2),Rr=dc[0],fc=dc[1],ql=D(r.default.useState(null),2),In=ql[0],ii=ql[1],Kl=D(r.default.useState(0),2),cr=Kl[0],ba=Kl[1],Xl=D(r.default.useState(!1),2),pc=Xl[0],Eo=Xl[1],Yl=(0,P.usePrevious)(In),ya=(0,o.useFloating)({placement:"bottom-start",open:Rr,onOpenChange:fc,whileElementsMounted:o.autoUpdate,middleware:[(0,o.offset)(5),(0,o.flip)({padding:10}),(0,o.size)({apply:function(vt){var Ct=vt.rects,Nn=vt.elements,Mo,Ro;Object.assign(Nn==null||(Mo=Nn.floating)===null||Mo===void 0?void 0:Mo.style,{width:"".concat(Ct==null||(Ro=Ct.reference)===null||Ro===void 0?void 0:Ro.width,"px"),zIndex:99})},padding:20})]}),eo=ya.x,li=ya.y,hc=ya.strategy,si=ya.refs,dn=ya.context;r.default.useEffect(function(){ba(Math.max(0,Jt.current.indexOf(ue)+1))},[ue]);var Fp=si.floating,Zl=(0,o.useInteractions)([(0,o.useClick)(dn),(0,o.useRole)(dn,{role:"listbox"}),(0,o.useDismiss)(dn,T({},ae)),(0,o.useListNavigation)(dn,{listRef:Br,activeIndex:In,selectedIndex:cr,onNavigate:ii,loop:!0}),(0,o.useTypeahead)(dn,{listRef:Jt,activeIndex:In,selectedIndex:cr,onMatch:Rr?ii:ba})]),Lp=Zl.getReferenceProps,zp=Zl.getFloatingProps,ui=Zl.getItemProps;(0,a.useIsomorphicLayoutEffect)(function(){var ct=Fp.current;if(Rr&&pc&&ct){var vt=In!=null?Br.current[In]:cr!=null?Br.current[cr]:null;if(vt&&Yl!=null){var Ct,Nn,Mo=(Nn=(Ct=Br.current[Yl])===null||Ct===void 0?void 0:Ct.offsetHeight)!==null&&Nn!==void 0?Nn:0,Ro=ct.offsetHeight,ts=vt.offsetTop,Cc=ts+Mo;tsRo+ct.scrollTop&&(ct.scrollTop+=Cc-Ro-ct.scrollTop+5)}}},[Rr,pc,Yl,In]);var gc=r.default.useMemo(function(){return{selectedIndex:cr,setSelectedIndex:ba,listRef:Br,setOpen:fc,onChange:oe||function(){},activeIndex:In,setActiveIndex:ii,getItemProps:ui,dataRef:dn.dataRef}},[cr,oe,In,ui,dn.dataRef]);r.default.useEffect(function(){Mr(Rr?"open":!Rr&&cr||!Rr&&ue?"withValue":"close")},[Rr,ue,cr,fe]);var Hr=Mn[(0,g.default)(ur.variants,q,"outlined")],ci=Hr.sizes[(0,g.default)(ur.sizes,ne,"md")],mc=Hr.error.select,vc=Hr.success.select,bc=Hr.colors.select[(0,g.default)(ur.colors,Y,"gray")],Jl=Hr.error.label,Ql=Hr.success.label,yc=Hr.colors.label[(0,g.default)(ur.colors,Y,"gray")],di=Hr.states[br],wc=(0,i.default)((0,m.default)(vr.container),(0,m.default)(ci.container),Ye==null?void 0:Ye.className),es=(0,l.twMerge)((0,i.default)((0,m.default)(vr.select),(0,m.default)(Hr.base.select),(0,m.default)(di.select),(0,m.default)(ci.select),s({},(0,m.default)(bc[br]),!se&&!re),s({},(0,m.default)(mc.initial),se),s({},(0,m.default)(mc.states[br]),se),s({},(0,m.default)(vc.initial),re),s({},(0,m.default)(vc.states[br]),re)),Le),to,Vp=(0,l.twMerge)((0,i.default)((0,m.default)(vr.label),(0,m.default)(Hr.base.label),(0,m.default)(di.label),(0,m.default)(ci.label.initial),(0,m.default)(ci.label.states[br]),s({},(0,m.default)(yc[br]),!se&&!re),s({},(0,m.default)(Jl.initial),se),s({},(0,m.default)(Jl.states[br]),se),s({},(0,m.default)(Ql.initial),re),s({},(0,m.default)(Ql.states[br]),re)),(to=be.className)!==null&&to!==void 0?to:""),_c=(0,i.default)((0,m.default)(vr.arrow.initial),s({},(0,m.default)(vr.arrow.active),Rr)),ro,xc=(0,l.twMerge)((0,i.default)((0,m.default)(vr.menu)),(ro=Pe.className)!==null&&ro!==void 0?ro:""),ko=(0,i.default)("absolute top-2/4 -translate-y-2/4",q==="outlined"?"left-3 pt-0.5":"left-0 pt-3"),$p={unmount:{opacity:0,transformOrigin:"top",transform:"scale(0.95)",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{opacity:1,transformOrigin:"top",transform:"scale(1)",transition:{duration:.2,times:[.4,0,.2,1]}}},Up=(0,f.default)($p,ge),Wp=a.AnimatePresence;r.default.useEffect(function(){ue&&!oe&&console.error("Warning: You provided a `value` prop to a select component without an `onChange` handler. This will render a read-only select. If the field should be mutable use `onChange` handler with `value` together.")},[ue,oe]);var fi=r.default.createElement(o.FloatingFocusManager,{context:dn,modal:!1},r.default.createElement(a.m.ul,u({},zp(R(T({},Pe),{ref:si.setFloating,role:"listbox",className:xc,style:{position:hc,top:li??0,left:eo??0,overflow:"auto"},onPointerEnter:function(vt){var Ct=Pe==null?void 0:Pe.onPointerEnter;typeof Ct=="function"&&(Ct(vt),Eo(!1)),Eo(!1)},onPointerMove:function(vt){var Ct=Pe==null?void 0:Pe.onPointerMove;typeof Ct=="function"&&(Ct(vt),Eo(!1)),Eo(!1)},onKeyDown:function(vt){var Ct=Pe==null?void 0:Pe.onKeyDown;typeof Ct=="function"&&(Ct(vt),Eo(!0)),Eo(!0)}})),{initial:"unmount",exit:"unmount",animate:Rr?"mount":"unmount",variants:Up}),r.default.Children.map(ze,function(ct,vt){var Ct;return r.default.isValidElement(ct)&&r.default.cloneElement(ct,R(T({},ct.props),{index:((Ct=ct.props)===null||Ct===void 0?void 0:Ct.index)||vt+1,id:"material-tailwind-select-".concat(vt)}))})));return r.default.createElement(P.SelectContextProvider,{value:gc},r.default.createElement("div",u({},Ye,{ref:B,className:wc}),r.default.createElement("button",u({type:"button"},Lp(R(T({},xt),{ref:si.setReference,className:es,disabled:Xe,name:mt}))),typeof fe=="function"?r.default.createElement("span",{className:ko},fe(ze[cr-1],cr-1)):ue&&!oe?r.default.createElement("span",{className:ko},ue):r.default.createElement("span",u({},(Lt=ze[cr-1])===null||Lt===void 0?void 0:Lt.props,{className:ko})),r.default.createElement("div",{className:_c},pe??r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},r.default.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})))),r.default.createElement("label",u({},be,{className:Vp}),ce),r.default.createElement(a.LazyMotion,{features:a.domAnimation},r.default.createElement(Wp,null,Rr&&r.default.createElement(r.default.Fragment,null,ve?r.default.createElement(o.FloatingOverlay,{lockScroll:!0},fi):fi)))))});X.propTypes={variant:n.default.oneOf(O.propTypesVariant),color:n.default.oneOf(O.propTypesColor),size:n.default.oneOf(O.propTypesSize),label:O.propTypesLabel,error:O.propTypesError,success:O.propTypesSuccess,arrow:O.propTypesArrow,value:O.propTypesValue,onChange:O.propTypesOnChange,selected:O.propTypesSelected,offset:O.propTypesOffset,dismiss:O.propTypesDismiss,animate:O.propTypesAnimate,lockScroll:O.propTypesLockScroll,labelProps:O.propTypesLabelProps,menuProps:O.propTypesMenuProps,className:O.propTypesClassName,disabled:O.propTypesDisabled,name:O.propTypesName,children:O.propTypesChildren,containerProps:O.propTypesContainerProps},X.displayName="MaterialTailwind.Select";var H=Object.assign(X,{Option:C.SelectOption})})(cO);var fO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Switch:function(){return y},default:function(){return c}});var r=O(F),n=O(Ee),o=O(Vl),a=O(Ae),i=Oe,l=O(ht),f=O(Se),g=Ce,m=Qa;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.color,h=s.label,v=s.ripple,_=s.className,k=s.disabled,T=s.containerProps,E=s.circleProps,R=s.labelProps,A=s.inputRef,N=C(s,["color","label","ripple","className","disabled","containerProps","circleProps","labelProps","inputRef"]),D=(0,g.useTheme)(),$=D.switch,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.colors,q=r.default.useId();d=d??G.color,v=v??G.ripple,k=k??G.disabled,T=T??G.containerProps,R=R??G.labelProps,E=E??G.circleProps,_=(0,i.twMerge)(G.className||"",_);var Y=v!==void 0&&new o.default,ne=(0,a.default)((0,f.default)(V.root),w({},(0,f.default)(V.disabled),k)),ce=(0,i.twMerge)((0,a.default)((0,f.default)(V.container)),T==null?void 0:T.className),se=(0,i.twMerge)((0,a.default)((0,f.default)(V.input),(0,f.default)(B[(0,l.default)(X.colors,d,"gray")])),_),re=(0,i.twMerge)((0,a.default)((0,f.default)(V.circle),B[(0,l.default)(X.colors,d,"gray")].circle,B[(0,l.default)(X.colors,d,"gray")].before),E==null?void 0:E.className),pe=(0,a.default)((0,f.default)(V.ripple)),ue=(0,i.twMerge)((0,a.default)((0,f.default)(V.label)),R==null?void 0:R.className);return r.default.createElement("div",{ref:u,className:ne},r.default.createElement("div",P({},T,{className:ce}),r.default.createElement("input",P({},N,{ref:A,type:"checkbox",disabled:k,id:N.id||q,className:se})),r.default.createElement("label",P({},E,{htmlFor:N.id||q,className:re}),v&&r.default.createElement("div",{className:pe,onMouseDown:function(oe){var fe=T==null?void 0:T.onMouseDown;return v&&Y.create(oe,"dark"),typeof fe=="function"&&fe(oe)}}))),h&&r.default.createElement("label",P({},R,{htmlFor:N.id||q,className:ue}),h))});y.propTypes={color:n.default.oneOf(m.propTypesColor),label:m.propTypesLabel,ripple:m.propTypesRipple,className:m.propTypesClassName,disabled:m.propTypesDisabled,containerProps:m.propTypesObject,labelProps:m.propTypesObject,circleProps:m.propTypesObject},y.displayName="MaterialTailwind.Switch";var c=y})(fO);var pO={},Hl={},ni={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{propTypesId:function(){return a},propTypesValue:function(){return i},propTypesAnimate:function(){return l},propTypesDisabled:function(){return f},propTypesClassName:function(){return g},propTypesOrientation:function(){return m},propTypesIndicator:function(){return w},propTypesChildren:function(){return P}});var r=o(Ee),n=st;function o(O){return O&&O.__esModule?O:{default:O}}var a=r.default.string,i=r.default.oneOfType([r.default.string,r.default.number]).isRequired,l=n.propTypesAnimation,f=r.default.bool,g=r.default.string,m=r.default.oneOf(["horizontal","vertical"]),w=r.default.instanceOf(Object),P=r.default.node.isRequired})(ni);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(T,E){for(var R in E)Object.defineProperty(T,R,{enumerable:!0,get:E[R]})}t(e,{TabsContext:function(){return y},useTabs:function(){return c},TabsContextProvider:function(){return s},setId:function(){return u},setActive:function(){return d},setAnimation:function(){return h},setIndicator:function(){return v},setIsInitial:function(){return _},setOrientation:function(){return k}});var r=l(F),n=ni;function o(T,E){(E==null||E>T.length)&&(E=T.length);for(var R=0,A=new Array(E);R=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.value,d=c.className,h=c.activeClassName,v=c.disabled,_=c.children,k=O(c,["value","className","activeClassName","disabled","children"]),T=(0,l.useTheme)(),E=T.tab,R=E.defaultProps,A=E.styles.base,N=(0,f.useTabs)(),D=N.state,$=N.dispatch,G=D.id,X=D.active,H=D.indicatorProps;v=v??R.disabled,d=(0,a.twMerge)(R.className||"",d),h=(0,a.twMerge)(R.activeClassName||"",h);var V,B=(0,a.twMerge)((0,o.default)((0,i.default)(A.tab.initial),(V={},m(V,(0,i.default)(A.tab.disabled),v),m(V,h,X===u),V)),d),q,Y=(0,a.twMerge)((0,o.default)((0,i.default)(A.indicator)),(q=H==null?void 0:H.className)!==null&&q!==void 0?q:"");return r.default.createElement("li",w({},k,{ref:s,role:"tab",className:B,onClick:function(ne){var ce=k==null?void 0:k.onClick;typeof ce=="function"&&((0,f.setActive)($,u),(0,f.setIsInitial)($,!1),ce(ne)),(0,f.setIsInitial)($,!1),(0,f.setActive)($,u)},"data-value":u}),r.default.createElement("div",{className:"z-20 text-inherit"},_),X===u&&r.default.createElement(n.motion.div,w({},H,{transition:{duration:.5},className:Y,layoutId:G})))});b.propTypes={value:g.propTypesValue,className:g.propTypesClassName,disabled:g.propTypesDisabled,children:g.propTypesChildren},b.displayName="MaterialTailwind.Tab";var y=b})(hO);var gO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{TabsBody:function(){return b},default:function(){return y}});var r=P(F),n=Ht,o=P(Yt),a=P(Ae),i=Oe,l=P(Se),f=Ce,g=Hl,m=ni;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.animate,d=c.className,h=c.children,v=O(c,["animate","className","children"]),_=(0,f.useTheme)().tabsBody,k=_.defaultProps,T=_.styles.base,E=(0,g.useTabs)().dispatch;u=u??k.animate,d=(0,i.twMerge)(k.className||"",d);var R=(0,i.twMerge)((0,a.default)((0,l.default)(T)),d),A=r.default.useMemo(function(){return{initial:{opacity:0,position:"absolute",top:"0",left:"0",zIndex:1,transition:{duration:0}},unmount:{opacity:0,position:"absolute",top:"0",left:"0",zIndex:1,transition:{duration:.5,times:[.4,0,.2,1]}},mount:{opacity:1,position:"relative",zIndex:2,transition:{duration:.5,times:[.4,0,.2,1]}}}},[]),N=r.default.useMemo(function(){return(0,o.default)(A,u)},[u,A]);return(0,n.useIsomorphicLayoutEffect)(function(){(0,g.setAnimation)(E,N)},[N,E]),r.default.createElement("div",w({},v,{ref:s,className:R}),h)});b.propTypes={animate:m.propTypesAnimate,className:m.propTypesClassName,children:m.propTypesChildren},b.displayName="MaterialTailwind.TabsBody";var y=b})(gO);var mO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{TabsHeader:function(){return C},default:function(){return b}});var r=w(F),n=w(Ae),o=Oe,a=w(Se),i=Ce,l=Hl,f=ni;function g(y,c,s){return c in y?Object.defineProperty(y,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):y[c]=s,y}function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.indicatorProps,u=y.className,d=y.children,h=P(y,["indicatorProps","className","children"]),v=(0,i.useTheme)().tabsHeader,_=v.defaultProps,k=v.styles,T=(0,l.useTabs)(),E=T.state,R=T.dispatch,A=E.orientation;r.default.useEffect(function(){(0,l.setIndicator)(R,s)},[R,s]),u=(0,o.twMerge)(_.className||"",u);var N=(0,o.twMerge)((0,n.default)((0,a.default)(k.base),g({},k[A]&&(0,a.default)(k[A]),A)),u);return r.default.createElement("nav",null,r.default.createElement("ul",m({},h,{ref:c,role:"tablist",className:N}),d))});C.propTypes={indicatorProps:f.propTypesIndicator,className:f.propTypesClassName,children:f.propTypesChildren},C.displayName="MaterialTailwind.TabsHeader";var b=C})(mO);var vO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{TabPanel:function(){return C},default:function(){return b}});var r=w(F),n=Ht,o=w(Ae),a=Oe,i=w(Se),l=Ce,f=Hl,g=ni;function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.value,u=y.className,d=y.children,h=P(y,["value","className","children"]),v=(0,l.useTheme)().tabPanel,_=v.defaultProps,k=v.styles.base,T=(0,f.useTabs)().state,E=T.active,R=T.appliedAnimation,A=T.isInitial;u=(0,a.twMerge)(_.className||"",u);var N=(0,a.twMerge)((0,o.default)((0,i.default)(k)),u),D=n.AnimatePresence;return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement(D,{exitBeforeEnter:!0},r.default.createElement(n.m.div,m({},h,{ref:c,role:"tabpanel",className:N,initial:"unmount",exit:"unmount",animate:E===s?"mount":A?"initial":"unmount",variants:R,"data-value":s}),d)))});C.propTypes={value:g.propTypesValue,className:g.propTypesClassName,children:g.propTypesChildren},C.displayName="MaterialTailwind.TabPanel";var b=C})(vO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{Tabs:function(){return s},Tab:function(){return f.Tab},TabsBody:function(){return g.TabsBody},TabsHeader:function(){return m.TabsHeader},TabPanel:function(){return w.TabPanel},useTabs:function(){return l.useTabs},default:function(){return u}});var r=b(F),n=b(Ae),o=Oe,a=b(Se),i=Ce,l=Hl,f=hO,g=gO,m=mO,w=vO,P=ni;function O(d,h,v){return h in d?Object.defineProperty(d,h,{value:v,enumerable:!0,configurable:!0,writable:!0}):d[h]=v,d}function C(){return C=Object.assign||function(d){for(var h=1;h=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function c(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}var s=r.default.forwardRef(function(d,h){var v=d.value,_=d.className,k=d.orientation,T=d.children,E=y(d,["value","className","orientation","children"]),R=(0,i.useTheme)().tabs,A=R.defaultProps,N=R.styles,D=r.default.useId();k=k??A.orientation,_=(0,o.twMerge)(A.className||"",_);var $=(0,o.twMerge)((0,n.default)((0,a.default)(N.base),O({},N[k]&&(0,a.default)(N[k]),k)),_);return r.default.createElement(l.TabsContextProvider,{id:D,value:v,orientation:k},r.default.createElement("div",C({},E,{ref:h,className:$}),T))});s.propTypes={id:P.propTypesId,value:P.propTypesValue,className:P.propTypesClassName,orientation:P.propTypesOrientation,children:P.propTypesChildren},s.displayName="MaterialTailwind.Tabs";var u=Object.assign(s,{Tab:f.Tab,Body:g.TabsBody,Header:m.TabsHeader,Panel:w.TabPanel})})(pO);var bO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Textarea:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=P(ht),i=P(Se),l=Ce,f=Yu,g=Oe;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.color,h=c.size,v=c.label,_=c.error,k=c.success,T=c.resize,E=c.labelProps,R=c.containerProps,A=c.shrink,N=c.className,D=O(c,["variant","color","size","label","error","success","resize","labelProps","containerProps","shrink","className"]),$=(0,l.useTheme)().textarea,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.variants;u=u??G.variant,h=h??G.size,d=d??G.color,v=v??G.label,E=E??G.labelProps,R=R??G.containerProps,A=A??G.shrink,N=(0,g.twMerge)(G.className||"",N);var q=B[(0,a.default)(X.variants,u,"outlined")],Y=(0,i.default)(q.error.textarea),ne=(0,i.default)(q.success.textarea),ce=(0,i.default)(q.shrink.textarea),se=(0,i.default)(q.colors.textarea[(0,a.default)(X.colors,d,"gray")]),re=(0,i.default)(q.error.label),pe=(0,i.default)(q.success.label),ue=(0,i.default)(q.shrink.label),oe=(0,i.default)(q.colors.label[(0,a.default)(X.colors,d,"gray")]),fe=(0,o.default)((0,i.default)(V.container),R==null?void 0:R.className),le=(0,o.default)((0,i.default)(V.textarea),(0,i.default)(q.base.textarea),(0,i.default)(q.sizes[(0,a.default)(X.sizes,h,"md")].textarea),m({},se,!_&&!k),m({},Y,_),m({},ne,k),m({},ce,A),T?"":"!resize-none",N),ae=(0,o.default)((0,i.default)(V.label),(0,i.default)(q.base.label),(0,i.default)(q.sizes[(0,a.default)(X.sizes,h,"md")].label),m({},oe,!_&&!k),m({},re,_),m({},pe,k),m({},ue,A),E==null?void 0:E.className),ge=(0,o.default)((0,i.default)(V.asterisk));return r.default.createElement("div",{ref:s,className:fe},r.default.createElement("textarea",w({},D,{className:le,placeholder:(D==null?void 0:D.placeholder)||" "})),r.default.createElement("label",{className:ae},v," ",D.required?r.default.createElement("span",{className:ge},"*"):""))});b.propTypes={variant:n.default.oneOf(f.propTypesVariant),size:n.default.oneOf(f.propTypesSize),color:n.default.oneOf(f.propTypesColor),label:f.propTypesLabel,error:f.propTypesError,success:f.propTypesSuccess,resize:f.propTypesResize,labelProps:f.propTypesLabelProps,containerProps:f.propTypesContainerProps,shrink:f.propTypesShrink,className:f.propTypesClassName},b.displayName="MaterialTailwind.Textarea";var y=b})(bO);var yO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(A,N){for(var D in N)Object.defineProperty(A,D,{enumerable:!0,get:N[D]})}t(e,{Tooltip:function(){return E},default:function(){return R}});var r=y(F),n=y(Ee),o=Ft,a=Ht,i=y(Ae),l=Oe,f=y(Yt),g=y(Se),m=Ce,w=Bl;function P(A,N){(N==null||N>A.length)&&(N=A.length);for(var D=0,$=new Array(N);D=0)&&Object.prototype.propertyIsEnumerable.call(A,$)&&(D[$]=A[$])}return D}function _(A,N){if(A==null)return{};var D={},$=Object.keys(A),G,X;for(X=0;X<$.length;X++)G=$[X],!(N.indexOf(G)>=0)&&(D[G]=A[G]);return D}function k(A,N){return O(A)||c(A,N)||T(A,N)||s()}function T(A,N){if(A){if(typeof A=="string")return P(A,N);var D=Object.prototype.toString.call(A).slice(8,-1);if(D==="Object"&&A.constructor&&(D=A.constructor.name),D==="Map"||D==="Set")return Array.from(D);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return P(A,N)}}var E=r.default.forwardRef(function(A,N){var D=A.open,$=A.handler,G=A.content,X=A.interactive,H=A.placement,V=A.offset,B=A.dismiss,q=A.animate,Y=A.className,ne=A.children,ce=v(A,["open","handler","content","interactive","placement","offset","dismiss","animate","className","children"]),se=(0,m.useTheme)().tooltip,re=se.defaultProps,pe=se.styles.base,ue=k(r.default.useState(!1),2),oe=ue[0],fe=ue[1];D=D??oe,$=$??fe,X=X??re.interactive,H=H??re.placement,V=V??re.offset,B=B??re.dismiss,q=q??re.animate,Y=(0,l.twMerge)(re.className||"",Y);var le=(0,l.twMerge)((0,i.default)((0,g.default)(pe)),Y),ae={unmount:{opacity:0},mount:{opacity:1}},ge=(0,f.default)(ae,q),ve=(0,o.useFloating)({open:D,onOpenChange:$,middleware:[(0,o.offset)(V),(0,o.flip)(),(0,o.shift)()],placement:H}),be=ve.x,Pe=ve.y,Le=ve.reference,Xe=ve.floating,mt=ve.strategy,ze=ve.refs,Ye=ve.update,xt=ve.context,Lt=(0,o.useInteractions)([(0,o.useClick)(xt,{enabled:X}),(0,o.useFocus)(xt),(0,o.useHover)(xt),(0,o.useRole)(xt,{role:"tooltip"}),(0,o.useDismiss)(xt,B)]),ut=Lt.getReferenceProps,We=Lt.getFloatingProps;r.default.useEffect(function(){if(ze.reference.current&&ze.floating.current&&D)return(0,o.autoUpdate)(ze.reference.current,ze.floating.current,Ye)},[D,Ye,ze.reference,ze.floating]);var ur=(0,o.useMergeRefs)([N,Xe]),Zt=(0,o.useMergeRefs)([N,Le]),vr=a.AnimatePresence;return r.default.createElement(r.default.Fragment,null,typeof ne=="string"?r.default.createElement("span",b({},ut({ref:Zt})),ne):r.default.cloneElement(ne,u({},ut(h(u({},ne==null?void 0:ne.props),{ref:Zt})))),r.default.createElement(a.LazyMotion,{features:a.domAnimation},r.default.createElement(o.FloatingPortal,null,r.default.createElement(vr,null,D&&r.default.createElement(a.m.div,b({},We(h(u({},ce),{ref:ur,className:le,style:{position:mt,top:Pe??"",left:be??""}})),{initial:"unmount",exit:"unmount",animate:D?"mount":"unmount",variants:ge}),G)))))});E.propTypes={open:w.propTypesOpen,handler:w.propTypesHandler,content:w.propTypesContent,interactive:w.propTypesInteractive,placement:n.default.oneOf(w.propTypesPlacement),offset:w.propTypesOffset,dismiss:w.propTypesDismiss,animate:w.propTypesAnimate,className:w.propTypesClassName,children:w.propTypesChildren},E.displayName="MaterialTailwind.Tooltip";var R=E})(yO);var wO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,d){for(var h in d)Object.defineProperty(u,h,{enumerable:!0,get:d[h]})}t(e,{Typography:function(){return c},default:function(){return s}});var r=w(F),n=w(Ee),o=w(Ae),a=Oe,i=w(ht),l=w(Se),f=Ce,g=t1;function m(u,d,h){return d in u?Object.defineProperty(u,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):u[d]=h,u}function w(u){return u&&u.__esModule?u:{default:u}}function P(u){for(var d=1;d=0)&&Object.prototype.propertyIsEnumerable.call(u,v)&&(h[v]=u[v])}return h}function y(u,d){if(u==null)return{};var h={},v=Object.keys(u),_,k;for(k=0;k=0)&&(h[_]=u[_]);return h}var c=r.default.forwardRef(function(u,d){var h=u.variant,v=u.color,_=u.textGradient,k=u.as,T=u.className,E=u.children,R=b(u,["variant","color","textGradient","as","className","children"]),A=(0,f.useTheme)().typography,N=A.defaultProps,D=A.valid,$=A.styles,G=$.variants,X=$.colors,H=$.textGradient;h=h??N.variant,v=v??N.color,_=_||N.textGradient,k=k??void 0,T=(0,a.twMerge)(N.className||"",T);var V=(0,l.default)(G[(0,i.default)(D.variants,h,"paragraph")]),B=X[(0,i.default)(D.colors,v,"inherit")],q=(0,l.default)(H),Y=(0,a.twMerge)((0,o.default)(V,m({},B.color,!_),m({},q,_),m({},B.gradient,_)),T),ne;switch(h){case"h1":ne=r.default.createElement(k||"h1",C(P({},R),{ref:d,className:Y}),E);break;case"h2":ne=r.default.createElement(k||"h2",C(P({},R),{ref:d,className:Y}),E);break;case"h3":ne=r.default.createElement(k||"h3",C(P({},R),{ref:d,className:Y}),E);break;case"h4":ne=r.default.createElement(k||"h4",C(P({},R),{ref:d,className:Y}),E);break;case"h5":ne=r.default.createElement(k||"h5",C(P({},R),{ref:d,className:Y}),E);break;case"h6":ne=r.default.createElement(k||"h6",C(P({},R),{ref:d,className:Y}),E);break;case"lead":ne=r.default.createElement(k||"p",C(P({},R),{ref:d,className:Y}),E);break;case"paragraph":ne=r.default.createElement(k||"p",C(P({},R),{ref:d,className:Y}),E);break;case"small":ne=r.default.createElement(k||"p",C(P({},R),{ref:d,className:Y}),E);break;default:ne=r.default.createElement(k||"p",C(P({},R),{ref:d,className:Y}),E);break}return ne});c.propTypes={variant:n.default.oneOf(g.propTypesVariant),color:n.default.oneOf(g.propTypesColor),as:g.propTypesAs,textGradient:g.propTypesTextGradient,className:g.propTypesClassName,children:g.propTypesChildren},c.displayName="MaterialTailwind.Typography";var s=c})(wO);var _O={},xO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(g,m){for(var w in m)Object.defineProperty(g,w,{enumerable:!0,get:m[w]})}t(e,{propTypesClassName:function(){return a},propTypesChildren:function(){return i},propTypesOpen:function(){return l},propTypesAnimate:function(){return f}});var r=o(Ee),n=st;function o(g){return g&&g.__esModule?g:{default:g}}var a=r.default.string,i=r.default.node.isRequired,l=r.default.bool.isRequired,f=n.propTypesAnimation})(xO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Collapse:function(){return b},default:function(){return y}});var r=P(F),n=Ht,o=Ft,a=P(Yt),i=P(Ae),l=Oe,f=P(Se),g=Ce,m=xO;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.open,d=c.animate,h=c.className,v=c.children,_=O(c,["open","animate","className","children"]),k=r.default.useRef(null),T=(0,g.useTheme)().collapse,E=T.styles,R=E.base;d=d??{},h=h??"";var A=(0,l.twMerge)((0,i.default)((0,f.default)(R)),h),N={unmount:{height:"0px",transition:{duration:.3,times:[.4,0,.2,1]}},mount:{height:"auto",transition:{duration:.3,times:[.4,0,.2,1]}}},D=(0,a.default)(N,d),$=n.AnimatePresence,G=(0,o.useMergeRefs)([s,k]);return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement($,null,r.default.createElement(n.m.div,w({},_,{ref:G,className:A,initial:"unmount",exit:"unmount",animate:u?"mount":"unmount",variants:D}),v)))});b.displayName="MaterialTailwind.Collapse",b.propTypes={open:m.propTypesOpen,animate:m.propTypesAnimate,className:m.propTypesClassName,children:m.propTypesChildren};var y=b})(_O);var CO={},lc={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(g,m){for(var w in m)Object.defineProperty(g,w,{enumerable:!0,get:m[w]})}t(e,{propTypesClassName:function(){return o},propTypesDisabled:function(){return a},propTypesSelected:function(){return i},propTypesRipple:function(){return l},propTypesChildren:function(){return f}});var r=n(Ee);function n(g){return g&&g.__esModule?g:{default:g}}var o=r.default.string,a=r.default.bool,i=r.default.bool,l=r.default.bool,f=r.default.node.isRequired})(lc);var PO={},U1={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{ListItemPrefix:function(){return P},default:function(){return O}});var r=g(F),n=Ce,o=g(Ae),a=Oe,i=g(Se),l=lc;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,n.useTheme)().list,d=u.styles.base,h=(0,a.twMerge)((0,o.default)((0,i.default)(d.itemPrefix)),y);return r.default.createElement("div",f({},s,{ref:b,className:h}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.ListItemPrefix";var O=P})(U1);var W1={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{ListItemSuffix:function(){return P},default:function(){return O}});var r=g(F),n=Ce,o=g(Ae),a=Oe,i=g(Se),l=lc;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,n.useTheme)().list,d=u.styles.base,h=(0,a.twMerge)((0,o.default)((0,i.default)(d.itemSuffix)),y);return r.default.createElement("div",f({},s,{ref:b,className:h}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.ListItemSuffix";var O=P})(W1);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{ListItem:function(){return y},ListItemPrefix:function(){return g.ListItemPrefix},ListItemSuffix:function(){return m.ListItemSuffix},default:function(){return c}});var r=O(F),n=Ce,o=O(Vl),a=O(Ae),i=Oe,l=O(Se),f=lc,g=U1,m=W1;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.className,h=s.disabled,v=s.selected,_=s.ripple,k=s.children,T=C(s,["className","disabled","selected","ripple","children"]),E=(0,n.useTheme)().list,R=E.defaultProps,A=E.styles.base;_=_??R.ripple;var N=_!==void 0&&new o.default,D,$=(0,i.twMerge)((0,a.default)((0,l.default)(A.item.initial),(D={},w(D,(0,l.default)(A.item.disabled),h),w(D,(0,l.default)(A.item.selected),v&&!h),D)),d);return r.default.createElement("div",P({},T,{ref:u,role:"button",tabIndex:0,className:$,onMouseDown:function(G){var X=T==null?void 0:T.onMouseDown;return _&&N.create(G,"dark"),typeof X=="function"&&X(G)}}),k)});y.propTypes={className:f.propTypesClassName,selected:f.propTypesSelected,disabled:f.propTypesDisabled,ripple:f.propTypesRipple,children:f.propTypesChildren},y.displayName="MaterialTailwind.ListItem";var c=Object.assign(y,{Prefix:g.ListItemPrefix,Suffix:m.ListItemSuffix})})(PO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{List:function(){return b},ListItem:function(){return f.ListItem},ListItemPrefix:function(){return g.ListItemPrefix},ListItemSuffix:function(){return m.ListItemSuffix},default:function(){return y}});var r=P(F),n=Ce,o=P(Ae),a=Oe,i=P(Se),l=lc,f=PO,g=U1,m=W1;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.className,d=c.children,h=O(c,["className","children"]),v=(0,n.useTheme)().list,_=v.defaultProps,k=v.styles.base;u=(0,a.twMerge)(_.className||"",u);var T=(0,a.twMerge)((0,o.default)((0,i.default)(k.list)),u);return r.default.createElement("nav",w({},h,{ref:s,className:T}),d)});b.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},b.displayName="MaterialTailwind.List";var y=Object.assign(b,{Item:f.ListItem,ItemPrefix:g.ListItemPrefix,ItemSuffix:m.ListItemSuffix})})(CO);var OO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{ButtonGroup:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=Oe,i=P(ht),l=P(Se),f=Ce,g=Za;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.size,h=c.color,v=c.fullWidth,_=c.ripple,k=c.className,T=c.children,E=O(c,["variant","size","color","fullWidth","ripple","className","children"]),R=(0,f.useTheme)().buttonGroup,A=R.defaultProps,N=R.styles,D=R.valid,$=N.base,G=N.dividerColor;u=u??A.variant,d=d??A.size,h=h??A.color,_=_??A.ripple,v=v??A.fullWidth,k=(0,a.twMerge)(A.className||"",k);var X,H=(0,a.twMerge)((0,o.default)((0,l.default)($.initial),(X={},m(X,(0,l.default)($.fullWidth),v),m(X,"divide-x",u!=="outlined"),m(X,(0,l.default)(G[(0,i.default)(D.colors,h,"gray")]),u!=="outlined"),X)),k);return r.default.createElement("div",w({},E,{ref:s,className:H}),r.default.Children.map(T,function(V,B){var q;return r.default.isValidElement(V)&&r.default.cloneElement(V,{variant:u,size:d,color:h,ripple:_,fullWidth:v,className:(0,a.twMerge)((0,o.default)({"rounded-r-none":B!==r.default.Children.count(T)-1,"border-r-0":B!==r.default.Children.count(T)-1,"rounded-l-none":B!==0}),(q=V.props)===null||q===void 0?void 0:q.className)})}))});b.propTypes={variant:n.default.oneOf(g.propTypesVariant),size:n.default.oneOf(g.propTypesSize),color:n.default.oneOf(g.propTypesColor),fullWidth:g.propTypesFullWidth,ripple:g.propTypesRipple,className:g.propTypesClassName,children:g.propTypesChildren},b.displayName="MaterialTailwind.ButtonGroup";var y=b})(OO);var SO={},TO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{propTypesClassName:function(){return o},propTypesPrevArrow:function(){return a},propTypesNextArrow:function(){return i},propTypesNavigation:function(){return l},propTypesAutoplay:function(){return f},propTypesAutoplayDelay:function(){return g},propTypesTransition:function(){return m},propTypesLoop:function(){return w},propTypesChildren:function(){return P},propTypesSlideRef:function(){return O}});var r=n(Ee);function n(C){return C&&C.__esModule?C:{default:C}}var o=r.default.string,a=r.default.func,i=r.default.func,l=r.default.func,f=r.default.bool,g=r.default.number,m=r.default.object,w=r.default.bool,P=r.default.node.isRequired,O=r.default.oneOfType([r.default.func,r.default.shape({current:r.default.any})])})(TO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(v,_){for(var k in _)Object.defineProperty(v,k,{enumerable:!0,get:_[k]})}t(e,{Carousel:function(){return d},default:function(){return h}});var r=O(F),n=Ht,o=Ft,a=O(Ae),i=Oe,l=O(Se),f=Ce,g=TO;function m(v,_){(_==null||_>v.length)&&(_=v.length);for(var k=0,T=new Array(_);k<_;k++)T[k]=v[k];return T}function w(v){if(Array.isArray(v))return v}function P(){return P=Object.assign||function(v){for(var _=1;_=0)&&Object.prototype.propertyIsEnumerable.call(v,T)&&(k[T]=v[T])}return k}function c(v,_){if(v==null)return{};var k={},T=Object.keys(v),E,R;for(R=0;R=0)&&(k[E]=v[E]);return k}function s(v,_){return w(v)||C(v,_)||u(v,_)||b()}function u(v,_){if(v){if(typeof v=="string")return m(v,_);var k=Object.prototype.toString.call(v).slice(8,-1);if(k==="Object"&&v.constructor&&(k=v.constructor.name),k==="Map"||k==="Set")return Array.from(k);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return m(v,_)}}var d=r.default.forwardRef(function(v,_){var k=v.children,T=v.prevArrow,E=v.nextArrow,R=v.navigation,A=v.autoplay,N=v.autoplayDelay,D=v.transition,$=v.loop,G=v.className,X=v.slideRef,H=y(v,["children","prevArrow","nextArrow","navigation","autoplay","autoplayDelay","transition","loop","className","slideRef"]),V=(0,f.useTheme)().carousel,B=V.defaultProps,q=V.styles.base,Y=(0,n.useMotionValue)(0),ne=r.default.useRef(null),ce=s(r.default.useState(0),2),se=ce[0],re=ce[1],pe=r.default.Children.toArray(k);T=T??B.prevArrow,E=E??B.nextArrow,R=R??B.navigation,A=A??B.autoplay,N=N??B.autoplayDelay,D=D??B.transition,$=$??B.loop,G=(0,i.twMerge)(B.className||"",G);var ue=(0,i.twMerge)((0,a.default)((0,l.default)(q.carousel)),G),oe=(0,i.twMerge)((0,a.default)((0,l.default)(q.slide))),fe=r.default.useCallback(function(){var ve;return-se*(((ve=ne.current)===null||ve===void 0?void 0:ve.clientWidth)||0)},[se]),le=r.default.useCallback(function(){var ve=$?0:se;re(se+1===pe.length?ve:se+1)},[se,$,pe.length]),ae=function(){var ve=$?pe.length-1:0;re(se-1<0?ve:se-1)};r.default.useEffect(function(){var ve=(0,n.animate)(Y,fe(),D);return ve.stop},[fe,se,Y,D]),r.default.useEffect(function(){window.addEventListener("resize",function(){(0,n.animate)(Y,fe(),D)})},[fe,D,Y]),r.default.useEffect(function(){if(A){var ve=setInterval(function(){return le()},N);return function(){return clearInterval(ve)}}},[A,le,N]);var ge=(0,o.useMergeRefs)([ne,_]);return r.default.createElement("div",P({},H,{ref:ge,className:ue}),pe.map(function(ve,be){return r.default.createElement(n.LazyMotion,{key:be,features:n.domAnimation},r.default.createElement(n.m.div,{ref:X,className:oe,style:{x:Y,left:"".concat(be*100,"%"),right:"".concat(be*100,"%")}},ve))}),T&&T({loop:$,handlePrev:ae,activeIndex:se,firstIndex:se===0}),E&&E({loop:$,handleNext:le,activeIndex:se,lastIndex:se===pe.length-1}),R&&R({setActiveIndex:re,activeIndex:se,length:pe.length}))});d.propTypes={className:g.propTypesClassName,children:g.propTypesChildren,nextArrow:g.propTypesNextArrow,prevArrow:g.propTypesPrevArrow,navigation:g.propTypesNavigation,autoplay:g.propTypesAutoplay,autoplayDelay:g.propTypesAutoplayDelay,transition:g.propTypesTransition,loop:g.propTypesLoop,slideRef:g.propTypesSlideRef},d.displayName="MaterialTailwind.Carousel";var h=d})(SO);var EO={},kO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{propTypesOpen:function(){return a},propTypesSize:function(){return i},propTypesOverlay:function(){return l},propTypesChildren:function(){return f},propTypesPlacement:function(){return g},propTypesOverlayProps:function(){return m},propTypesClassName:function(){return w},propTypesOnClose:function(){return P},propTypesDismiss:function(){return O},propTypesTransition:function(){return C},propTypesOverlayRef:function(){return b}});var r=o(Ee),n=st;function o(y){return y&&y.__esModule?y:{default:y}}var a=r.default.bool.isRequired,i=r.default.number,l=r.default.bool,f=r.default.node.isRequired,g=["top","right","bottom","left"],m=r.default.object,w=r.default.string,P=r.default.func,O=n.propTypesDismissType,C=r.default.object,b=r.default.oneOfType([r.default.func,r.default.shape({current:r.default.any})])})(kO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{Drawer:function(){return s},default:function(){return u}});var r=C(F),n=C(Ee),o=Ht,a=Ft,i=C(Yt),l=C(Ae),f=Oe,g=C(Se),m=Ce,w=kO;function P(d,h,v){return h in d?Object.defineProperty(d,h,{value:v,enumerable:!0,configurable:!0,writable:!0}):d[h]=v,d}function O(){return O=Object.assign||function(d){for(var h=1;h=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function c(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}var s=r.default.forwardRef(function(d,h){var v=d.open,_=d.size,k=d.overlay,T=d.children,E=d.placement,R=d.overlayProps,A=d.className,N=d.onClose,D=d.dismiss,$=d.transition,G=d.overlayRef,X=y(d,["open","size","overlay","children","placement","overlayProps","className","onClose","dismiss","transition","overlayRef"]),H=(0,m.useTheme)().drawer,V=H.defaultProps,B=H.styles.base,q=(0,o.useAnimation)();_=_??V.size,k=k??V.overlay,E=E??V.placement,R=R??V.overlayProps,N=N??V.onClose;var Y;D=(Y=(0,i.default)(V.dismiss,D||{}))!==null&&Y!==void 0?Y:V.dismiss,$=$??V.transition,A=(0,f.twMerge)(V.className||"",A);var ne=(0,f.twMerge)((0,l.default)((0,g.default)(B.drawer),{"top-0 right-0":E==="right","bottom-0 left-0":E==="bottom","top-0 left-0":E==="top"||E==="left"}),A),ce=(0,f.twMerge)((0,l.default)((0,g.default)(B.overlay)),R==null?void 0:R.className),se=(0,a.useFloating)({open:v,onOpenChange:N}).context,re=(0,a.useInteractions)([(0,a.useDismiss)(se,D)]).getFloatingProps;r.default.useEffect(function(){q.start(v?"open":"close")},[v,q,E]);var pe={open:{x:0,y:0},close:{x:E==="left"?-_:E==="right"?_:0,y:E==="top"?-_:E==="bottom"?_:0}},ue={unmount:{opacity:0,transition:{delay:.3}},mount:{opacity:1}};return r.default.createElement(r.default.Fragment,null,r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(o.AnimatePresence,null,k&&v&&r.default.createElement(o.m.div,{ref:G,className:ce,initial:"unmount",exit:"unmount",animate:v?"mount":"unmount",variants:ue,transition:{duration:.3}})),r.default.createElement(o.m.div,O({},re(b({ref:h},X)),{className:ne,style:{maxWidth:E==="left"||E==="right"?_:"100%",maxHeight:E==="top"||E==="bottom"?_:"100%",height:E==="left"||E==="right"?"100vh":"100%"},initial:"close",animate:q,variants:pe,transition:$}),T)))});s.propTypes={open:w.propTypesOpen,size:w.propTypesSize,overlay:w.propTypesOverlay,children:w.propTypesChildren,placement:n.default.oneOf(w.propTypesPlacement),overlayProps:w.propTypesOverlayProps,className:w.propTypesClassName,onClose:w.propTypesOnClose,dismiss:w.propTypesDismiss,transition:w.propTypesTransition,overlayRef:w.propTypesOverlayRef},s.displayName="MaterialTailwind.Drawer";var u=s})(EO);var MO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Badge:function(){return y},default:function(){return c}});var r=O(F),n=O(Ee),o=O(Yt),a=O(Ae),i=Oe,l=O(ht),f=O(Se),g=Ce,m=r1;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.color,h=s.invisible,v=s.withBorder,_=s.overlap,k=s.placement,T=s.className,E=s.content,R=s.children,A=s.containerProps,N=s.containerRef,D=C(s,["color","invisible","withBorder","overlap","placement","className","content","children","containerProps","containerRef"]),$=(0,g.useTheme)().badge,G=$.valid,X=$.defaultProps,H=$.styles,V=H.base,B=H.placements,q=H.colors;d=d??X.color,h=h??X.invisible,v=v??X.withBorder,_=_??X.overlap,k=k??X.placement,T=(0,i.twMerge)(X.className||"",T);var Y;A=(Y=(0,o.default)(A,X.containerProps||{}))!==null&&Y!==void 0?Y:X.containerProps;var ne=(0,f.default)(V.badge.initial),ce=(0,f.default)(V.badge.withBorder),se=(0,f.default)(V.badge.withContent),re=(0,f.default)(q[(0,l.default)(G.colors,d,"red")]),pe=(0,f.default)(B[(0,l.default)(G.placements,k,"top-end")][(0,l.default)(G.overlaps,_,"square")]),ue,oe=(0,i.twMerge)((0,a.default)(ne,pe,re,(ue={},w(ue,ce,v),w(ue,se,E),ue)),T),fe=(0,i.twMerge)((0,a.default)((0,f.default)(V.container),A==null?void 0:A.className));return r.default.createElement("div",P({ref:N},A,{className:fe}),R,!h&&r.default.createElement("span",P({},D,{ref:u,className:oe}),E))});y.propTypes={color:n.default.oneOf(m.propTypesColor),invisible:m.propTypesInvisible,withBorder:m.propTypesWithBorder,overlap:n.default.oneOf(m.propTypesOverlap),className:m.propTypesClassName,content:m.propTypesContent,children:m.propTypesChildren,placement:n.default.oneOf(m.propTypesPlacement),containerProps:m.propTypesContainerProps,containerRef:m.propTypesContainerRef},y.displayName="MaterialTailwind.Badge";var c=y})(MO);var RO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(E,R){for(var A in R)Object.defineProperty(E,A,{enumerable:!0,get:R[A]})}t(e,{Rating:function(){return k},default:function(){return T}});var r=C(F),n=C(Ee),o=C(Ae),a=Oe,i=C(ht),l=C(Se),f=Ce,g=n1;function m(E,R){(R==null||R>E.length)&&(R=E.length);for(var A=0,N=new Array(R);A=0)&&Object.prototype.propertyIsEnumerable.call(E,N)&&(A[N]=E[N])}return A}function d(E,R){if(E==null)return{};var A={},N=Object.keys(E),D,$;for($=0;$=0)&&(A[D]=E[D]);return A}function h(E,R){return w(E)||y(E,R)||_(E,R)||c()}function v(E){return P(E)||b(E)||_(E)||s()}function _(E,R){if(E){if(typeof E=="string")return m(E,R);var A=Object.prototype.toString.call(E).slice(8,-1);if(A==="Object"&&E.constructor&&(A=E.constructor.name),A==="Map"||A==="Set")return Array.from(A);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return m(E,R)}}var k=r.default.forwardRef(function(E,R){var A=E.count,N=E.value,D=E.ratedIcon,$=E.unratedIcon,G=E.ratedColor,X=E.unratedColor,H=E.className,V=E.onChange,B=E.readonly,q=u(E,["count","value","ratedIcon","unratedIcon","ratedColor","unratedColor","className","onChange","readonly"]),Y,ne,ce=(0,f.useTheme)().rating,se=ce.valid,re=ce.defaultProps,pe=ce.styles,ue=pe.base,oe=pe.colors;A=A??re.count,N=N??re.value,D=D??re.ratedIcon,D=D??re.ratedIcon,$=$??re.unratedIcon,G=G??re.ratedColor,X=X??re.unratedColor,V=V??re.onChange,B=B??re.readonly,H=(0,a.twMerge)(re.className||"",H);var fe=h(r.default.useState(function(){return v(Array(N).fill("rated")).concat(v(Array(A-N).fill("un_rated")))}),2),le=fe[0],ae=fe[1],ge=h(r.default.useState(function(){return v(Array(A).fill("un_rated"))}),2),ve=ge[0],be=ge[1],Pe=h(r.default.useState(!1),2),Le=Pe[0],Xe=Pe[1],mt=(0,l.default)(oe[(0,i.default)(se.colors,G,"yellow")]),ze=(0,l.default)(oe[(0,i.default)(se.colors,X,"blue-gray")]),Ye=(0,a.twMerge)((0,o.default)((0,l.default)(ue.rating),H)),xt=(0,l.default)(ue.icon),Lt=D,ut=$,We=r.default.isValidElement(D)&&r.default.cloneElement(Lt,{className:(0,a.twMerge)((0,o.default)(xt,mt,Lt==null||(Y=Lt.props)===null||Y===void 0?void 0:Y.className))}),ur=r.default.isValidElement(D)&&r.default.cloneElement(ut,{className:(0,a.twMerge)((0,o.default)(xt,ze,ut==null||(ne=ut.props)===null||ne===void 0?void 0:ne.className))}),Zt=!r.default.isValidElement(D)&&r.default.createElement(D,{className:(0,a.twMerge)((0,o.default)(xt,mt))}),vr=!r.default.isValidElement(D)&&r.default.createElement($,{className:(0,a.twMerge)((0,o.default)(xt,ze))}),Mn=function(ai){return ai.map(function(br,Mr){return r.default.createElement("span",{key:Mr,onClick:function(){if(!B){var Rn=le.map(function(Br,An){return An<=Mr?"rated":"un_rated"});ae(Rn),V&&typeof V=="function"&&V(Rn.filter(function(Br){return Br==="rated"}).length)}},onMouseEnter:function(){if(!B){var Rn=ve.map(function(Br,An){return An<=Mr?"rated":"un_rated"});Xe(!0),be(Rn)}},onMouseLeave:function(){return!B&&Xe(!1)}},r.default.isValidElement(br==="rated"?D:$)?br==="rated"?We:ur:br==="rated"?Zt:vr)})};return r.default.createElement("div",O({},q,{ref:R,className:Ye}),Mn(Le?ve:le))});k.propTypes={count:g.propTypesCount,value:g.propTypesValue,ratedIcon:g.propTypesRatedIcon,unratedIcon:g.propTypesUnratedIcon,ratedColor:n.default.oneOf(g.propTypesColor),unratedColor:n.default.oneOf(g.propTypesColor),className:g.propTypesClassName,onChange:g.propTypesOnChange,readonly:g.propTypesReadonly},k.displayName="MaterialTailwind.Rating";var T=k})(RO);var AO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(_,k){for(var T in k)Object.defineProperty(_,T,{enumerable:!0,get:k[T]})}t(e,{Slider:function(){return h},default:function(){return v}});var r=C(F),n=C(Ee),o=C(Yt),a=C(Ae),i=Oe,l=C(ht),f=C(Se),g=Ce,m=o1;function w(_,k){(k==null||k>_.length)&&(k=_.length);for(var T=0,E=new Array(k);T=0)&&Object.prototype.propertyIsEnumerable.call(_,E)&&(T[E]=_[E])}return T}function s(_,k){if(_==null)return{};var T={},E=Object.keys(_),R,A;for(A=0;A=0)&&(T[R]=_[R]);return T}function u(_,k){return P(_)||b(_,k)||d(_,k)||y()}function d(_,k){if(_){if(typeof _=="string")return w(_,k);var T=Object.prototype.toString.call(_).slice(8,-1);if(T==="Object"&&_.constructor&&(T=_.constructor.name),T==="Map"||T==="Set")return Array.from(T);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return w(_,k)}}var h=r.default.forwardRef(function(_,k){var T=_.color,E=_.size,R=_.className,A=_.trackClassName,N=_.thumbClassName,D=_.barClassName,$=_.value,G=_.defaultValue,X=_.onChange,H=_.min,V=_.max,B=_.step,q=_.inputRef,Y=_.inputProps,ne=c(_,["color","size","className","trackClassName","thumbClassName","barClassName","value","defaultValue","onChange","min","max","step","inputRef","inputProps"]),ce=(0,g.useTheme)().slider,se=ce.valid,re=ce.defaultProps,pe=ce.styles,ue=pe.base,oe=pe.sizes,fe=pe.colors,le=u(r.default.useState(G||0),2),ae=le[0],ge=le[1];r.default.useMemo(function(){G&&ge(G)},[G]),T=T??re.color,E=E??re.size,H=H??re.min,V=V??re.max,B=B??re.step,R=(0,i.twMerge)(re.className||"",R);var ve;N=(ve=(0,a.default)(re.thumbClassName,N))!==null&&ve!==void 0?ve:re.thumbClassName;var be;A=(be=(0,a.default)(re.trackClassName,A))!==null&&be!==void 0?be:re.trackClassName;var Pe;D=(Pe=(0,a.default)(re.barClassName,D))!==null&&Pe!==void 0?Pe:re.barClassName;var Le;Y=(Le=(0,o.default)(Y,(re==null?void 0:re.inputProps)||{}))!==null&&Le!==void 0?Le:re.inputProps;var Xe=(0,i.twMerge)((0,a.default)((0,f.default)(ue.container),(0,f.default)(fe[(0,l.default)(se.colors,T,"gray")]),(0,f.default)(oe[(0,l.default)(se.sizes,E,"md")].container),R)),mt=(0,i.twMerge)((0,a.default)((0,f.default)(ue.bar),D)),ze=(0,a.default)((0,f.default)(ue.track),(0,f.default)(oe[(0,l.default)(se.sizes,E,"md")].track)),Ye=(0,a.default)((0,f.default)(ue.thumb),(0,f.default)(oe[(0,l.default)(se.sizes,E,"md")].thumb)),xt=(0,a.default)((0,f.default)(ue.slider),(0,i.twMerge)(ze,A),(0,i.twMerge)(Ye,N));return r.default.createElement("div",O({},ne,{ref:k,className:Xe}),r.default.createElement("label",{className:mt,style:{width:"".concat($||ae,"%")}}),r.default.createElement("input",O({ref:q,type:"range",max:V,min:H,step:B,className:xt},$?{value:$}:null,{defaultValue:G,onChange:function(Lt){return X?X(Lt):ge(Number(Lt.target.value))}})))});h.propTypes={color:n.default.oneOf(m.propTypesColor),size:n.default.oneOf(m.propTypesSize),className:m.propTypesClassName,trackClassName:m.propTypesTrackClassName,thumbClassName:m.propTypesThumbClassName,barClassName:m.propTypesBarClassName,defaultValue:m.propTypesDefaultValue,value:m.propTypesValue,onChange:m.propTypesOnChange,min:m.propTypesMin,max:m.propTypesMax,step:m.propTypesStep,inputRef:m.propTypesInputRef,inputProps:m.propTypesInputProps},h.displayName="MaterialTailwind.Slider";var v=h})(AO);var IO={},sc={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,v){for(var _ in v)Object.defineProperty(h,_,{enumerable:!0,get:v[_]})}t(e,{useTimelineItem:function(){return s},TimelineItem:function(){return u},default:function(){return d}});var r=m(F),n=Oe,o=m(Se),a=Ce,i=Oo;function l(h,v){(v==null||v>h.length)&&(v=h.length);for(var _=0,k=new Array(v);_=0)&&Object.prototype.propertyIsEnumerable.call(h,k)&&(_[k]=h[k])}return _}function C(h,v){if(h==null)return{};var _={},k=Object.keys(h),T,E;for(E=0;E=0)&&(_[T]=h[T]);return _}function b(h,v){return f(h)||w(h,v)||y(h,v)||P()}function y(h,v){if(h){if(typeof h=="string")return l(h,v);var _=Object.prototype.toString.call(h).slice(8,-1);if(_==="Object"&&h.constructor&&(_=h.constructor.name),_==="Map"||_==="Set")return Array.from(_);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return l(h,v)}}var c=r.default.createContext(0);c.displayName="MaterialTailwind.TimelineItemContext";function s(){var h=r.default.useContext(c);if(!h)throw new Error("useTimelineItemContext() must be used within a TimelineItem. It happens when you use TimelineIcon, TimelineConnector or TimelineBody components outside the TimelineItem component.");return h}var u=r.default.forwardRef(function(h,v){var _=h.className,k=h.children,T=O(h,["className","children"]),E=(0,a.useTheme)().timelineItem,R=E.styles,A=R.base,N=b(r.default.useState(0),2),D=N[0],$=N[1],G=r.default.useMemo(function(){return[D,$]},[D,$]),X=(0,n.twMerge)((0,o.default)(A),_);return r.default.createElement(c.Provider,{value:G},r.default.createElement("li",g({ref:v},T,{className:X}),k))});u.propTypes={className:i.propTypeClassName,children:i.propTypeChildren.isRequired},u.displayName="MaterialTailwind.TimelineItem";var d=u})(sc);var NO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(_,k){for(var T in k)Object.defineProperty(_,T,{enumerable:!0,get:k[T]})}t(e,{TimelineIcon:function(){return h},default:function(){return v}});var r=C(F),n=C(Ee),o=Ft,a=Oe,i=C(ht),l=C(Se),f=Ce,g=sc,m=Oo;function w(_,k){(k==null||k>_.length)&&(k=_.length);for(var T=0,E=new Array(k);T=0)&&Object.prototype.propertyIsEnumerable.call(_,E)&&(T[E]=_[E])}return T}function s(_,k){if(_==null)return{};var T={},E=Object.keys(_),R,A;for(A=0;A=0)&&(T[R]=_[R]);return T}function u(_,k){return P(_)||b(_,k)||d(_,k)||y()}function d(_,k){if(_){if(typeof _=="string")return w(_,k);var T=Object.prototype.toString.call(_).slice(8,-1);if(T==="Object"&&_.constructor&&(T=_.constructor.name),T==="Map"||T==="Set")return Array.from(T);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return w(_,k)}}var h=r.default.forwardRef(function(_,k){var T=_.color,E=_.variant,R=_.className,A=_.children,N=c(_,["color","variant","className","children"]),D=(0,f.useTheme)().timelineIcon,$=D.styles,G=D.valid,X=$.base,H=$.variants,V=u((0,g.useTimelineItem)(),2),B=V[1],q=r.default.useRef(null),Y=(0,o.useMergeRefs)([k,q]);r.default.useEffect(function(){var se=q.current;if(se){var re=se.getBoundingClientRect().width;return B(re),function(){B(0)}}},[B,R,A]);var ne=(0,l.default)(H[(0,i.default)(G.variants,E,"filled")][(0,i.default)(G.colors,T,"gray")]),ce=(0,a.twMerge)((0,l.default)(X),ne,R);return r.default.createElement("span",O({ref:Y},N,{className:ce}),A)});h.propTypes={children:m.propTypeChildren,className:m.propTypeClassName,color:n.default.oneOf(m.propTypeColor),variant:n.default.oneOf(m.propTypeVariant)},h.displayName="MaterialTailwind.TimelineIcon";var v=h})(NO);var jO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{TimelineHeader:function(){return s},default:function(){return u}});var r=w(F),n=Oe,o=w(Se),a=Ce,i=sc,l=Oo;function f(d,h){(h==null||h>d.length)&&(h=d.length);for(var v=0,_=new Array(h);v=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function b(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}function y(d,h){return g(d)||P(d,h)||c(d,h)||O()}function c(d,h){if(d){if(typeof d=="string")return f(d,h);var v=Object.prototype.toString.call(d).slice(8,-1);if(v==="Object"&&d.constructor&&(v=d.constructor.name),v==="Map"||v==="Set")return Array.from(v);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return f(d,h)}}var s=r.default.forwardRef(function(d,h){var v=d.className,_=d.children,k=C(d,["className","children"]),T=(0,a.useTheme)().timelineBody,E=T.styles,R=E.base,A=y((0,i.useTimelineItem)(),1),N=A[0],D=(0,n.twMerge)((0,o.default)(R),v);return r.default.createElement("div",m({},k,{ref:h,className:D}),r.default.createElement("span",{className:"pointer-events-none invisible h-full flex-shrink-0",style:{width:"".concat(N,"px")}}),r.default.createElement("div",null,_))});s.propTypes={children:l.propTypeChildren,className:l.propTypeClassName},s.displayName="MaterialTailwind.TimelineHeader";var u=s})(jO);var DO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{TimelineHeader:function(){return w},default:function(){return P}});var r=f(F),n=Oe,o=f(Se),a=Ce,i=Oo;function l(){return l=Object.assign||function(O){for(var C=1;C=0)&&Object.prototype.propertyIsEnumerable.call(O,y)&&(b[y]=O[y])}return b}function m(O,C){if(O==null)return{};var b={},y=Object.keys(O),c,s;for(s=0;s=0)&&(b[c]=O[c]);return b}var w=r.default.forwardRef(function(O,C){var b=O.className,y=O.children,c=g(O,["className","children"]),s=(0,a.useTheme)().timelineHeader,u=s.styles,d=u.base,h=(0,n.twMerge)((0,o.default)(d),b);return r.default.createElement("div",l({},c,{ref:C,className:h}),y)});w.propTypes={children:i.propTypeChildren,className:i.propTypeClassName},w.displayName="MaterialTailwind.TimelineHeader";var P=w})(DO);var FO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{TimelineConnector:function(){return s},default:function(){return u}});var r=w(F),n=Oe,o=w(Se),a=Ce,i=sc,l=Oo;function f(d,h){(h==null||h>d.length)&&(h=d.length);for(var v=0,_=new Array(h);v=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function b(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}function y(d,h){return g(d)||P(d,h)||c(d,h)||O()}function c(d,h){if(d){if(typeof d=="string")return f(d,h);var v=Object.prototype.toString.call(d).slice(8,-1);if(v==="Object"&&d.constructor&&(v=d.constructor.name),v==="Map"||v==="Set")return Array.from(v);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return f(d,h)}}var s=r.default.forwardRef(function(d,h){var v=d.className,_=d.children,k=C(d,["className","children"]),T,E=(0,a.useTheme)().timelineConnector,R=E.styles,A=R.base,N=y((0,i.useTimelineItem)(),1),D=N[0],$=(0,o.default)(A.line),G=(0,n.twMerge)((0,o.default)(A.container),v);return r.default.createElement("span",m({},k,{ref:h,className:G,style:{top:"".concat(D,"px"),width:"".concat(D,"px"),opacity:D?1:0,height:"calc(100% - ".concat(D,"px)")}}),_&&r.default.isValidElement(_)?r.default.cloneElement(_,{className:(0,n.twMerge)($,(T=_.props)===null||T===void 0?void 0:T.className)}):r.default.createElement("span",{className:$}))});s.propTypes={children:l.propTypeChildren,className:l.propTypeClassName},s.displayName="MaterialTailwind.TimelineConnector";var u=s})(FO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Timeline:function(){return y},TimelineItem:function(){return l.default},TimelineIcon:function(){return f.default},TimelineBody:function(){return g.default},TimelineHeader:function(){return m.default},TimelineConnector:function(){return w.default},default:function(){return c}});var r=O(F),n=Oe,o=O(Se),a=Ce,i=Oo,l=O(sc),f=O(NO),g=O(jO),m=O(DO),w=O(FO);function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.className,h=s.children,v=C(s,["className","children"]),_=(0,a.useTheme)().timeline,k=_.styles,T=k.base,E=(0,n.twMerge)((0,o.default)(T),d);return r.default.createElement("ul",P({ref:u},v,{className:E}),h)});y.propTypes={className:i.propTypeClassName,children:i.propTypeChildren},y.displayName="MaterialTailwind.Timeline";var c=Object.assign(y,{Item:l.default,Icon:f.default,Header:m.default,Body:g.default,Connector:w.default})})(IO);var LO={},zO={},B1={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(g,m){for(var w in m)Object.defineProperty(g,w,{enumerable:!0,get:m[w]})}t(e,{propTypesActiveStep:function(){return o},propTypesIsLastStep:function(){return a},propTypesIsFirstStep:function(){return i},propTypesChildren:function(){return l},propTypesClassName:function(){return f}});var r=n(Ee);function n(g){return g&&g.__esModule?g:{default:g}}var o=r.default.number,a=r.default.func,i=r.default.func,l=r.default.node,f=r.default.string})(B1);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{Step:function(){return w},default:function(){return P}});var r=f(F),n=Oe,o=f(Se),a=Ce,i=B1;function l(){return l=Object.assign||function(O){for(var C=1;C=0)&&Object.prototype.propertyIsEnumerable.call(O,y)&&(b[y]=O[y])}return b}function m(O,C){if(O==null)return{};var b={},y=Object.keys(O),c,s;for(s=0;s=0)&&(b[c]=O[c]);return b}var w=r.default.forwardRef(function(O,C){var b=O.className;O.activeClassName,O.completedClassName;var y=O.children,c=g(O,["className","activeClassName","completedClassName","children"]),s=(0,a.useTheme)().step,u=s.styles.base,d=(0,n.twMerge)((0,o.default)(u.initial),b);return r.default.createElement("div",l({},c,{ref:C,className:d}),y)});w.propTypes={className:i.propTypesClassName,activeClassName:i.propTypesClassName,completedClassName:i.propTypesClassName,children:i.propTypesChildren},w.displayName="MaterialTailwind.Step";var P=w})(zO);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(T,E){for(var R in E)Object.defineProperty(T,R,{enumerable:!0,get:E[R]})}t(e,{Stepper:function(){return _},Step:function(){return l.default},default:function(){return k}});var r=O(F),n=Ft,o=Oe,a=O(Se),i=Ce,l=O(zO),f=B1;function g(T,E){(E==null||E>T.length)&&(E=T.length);for(var R=0,A=new Array(E);R=0)&&Object.prototype.propertyIsEnumerable.call(T,A)&&(R[A]=T[A])}return R}function d(T,E){if(T==null)return{};var R={},A=Object.keys(T),N,D;for(D=0;D=0)&&(R[N]=T[N]);return R}function h(T,E){return m(T)||C(T,E)||v(T,E)||b()}function v(T,E){if(T){if(typeof T=="string")return g(T,E);var R=Object.prototype.toString.call(T).slice(8,-1);if(R==="Object"&&T.constructor&&(R=T.constructor.name),R==="Map"||R==="Set")return Array.from(R);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return g(T,E)}}var _=r.default.forwardRef(function(T,E){var R=T.activeStep,A=T.isFirstStep,N=T.isLastStep,D=T.className,$=T.lineClassName,G=T.activeLineClassName,X=T.children,H=u(T,["activeStep","isFirstStep","isLastStep","className","lineClassName","activeLineClassName","children"]),V=(0,i.useTheme)(),B=V.stepper,q=V.step,Y=B.styles.base,ne=q.styles,ce=ne.base,se=r.default.useRef(null),re=h(r.default.useState(0),2),pe=re[0],ue=re[1],oe=R===0,fe=Array.isArray(X)&&R===X.length-1,le=Array.isArray(X)&&R>X.length-1;r.default.useEffect(function(){if(se.current){var Xe=X,mt=se.current.getBoundingClientRect().width,ze=mt/(Xe.length-1);ue(ze)}},[X]);var ae=r.default.useMemo(function(){if(!le)return pe*R},[R,le,pe]);(0,n.useMergeRefs)([E,se]);var ge=(0,o.twMerge)((0,a.default)(Y.stepper),D),ve=(0,o.twMerge)((0,a.default)(Y.line.initial),$),be=(0,o.twMerge)(ve,(0,a.default)(Y.line.active),G),Pe=(0,a.default)(ce.active),Le=(0,a.default)(ce.completed);return r.default.useEffect(function(){N&&typeof N=="function"&&N(fe),A&&typeof A=="function"&&A(oe)},[A,oe,N,fe]),r.default.createElement("div",P({},H,{ref:se,className:ge}),r.default.createElement("div",{className:ve}),r.default.createElement("div",{className:be,style:{width:"".concat(ae,"px")}}),Array.isArray(X)?X.map(function(Xe,mt){var ze,Ye;return r.default.cloneElement(Xe,s(y({key:mt},Xe.props),{className:(0,o.twMerge)(Xe.props.className,mt===R?(0,o.twMerge)(Pe,(ze=Xe.props)===null||ze===void 0?void 0:ze.activeClassName):mt=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.children,u=P(y,["children"]),d,h=(0,o.useSpeedDial)(),v=h.getReferenceProps,_=h.refs,k=(0,n.useMergeRefs)([c,_.setReference]);return r.default.cloneElement(s,g({},v(w(g({},u),{ref:k,className:(0,a.twMerge)(s==null||(d=s.props)===null||d===void 0?void 0:d.className,u==null?void 0:u.className)}))))});C.propTypes={children:i.propTypesChildren},C.displayName="MaterialTailwind.SpeedDialHandler";var b=C}(wg)),wg}var _g={},Q4;function sH(){return Q4||(Q4=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{SpeedDialContent:function(){return C},default:function(){return b}});var r=w(F),n=Ht,o=Ft,a=H1(),i=Ce,l=Oe,f=w(Se),g=uc;function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.children,u=y.className,d=P(y,["children","className"]),h=(0,i.useTheme)(),v=h.speedDialContent.styles,_=(0,a.useSpeedDial)(),k=_.x,T=_.y,E=_.refs,R=_.open,A=_.strategy,N=_.getFloatingProps,D=_.animation,$=(0,o.useMergeRefs)([c,E.setFloating]),G=(0,l.twMerge)((0,f.default)(v),u),X=n.AnimatePresence;return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement(X,null,R&&r.default.createElement("div",m({},d,{ref:$,className:G,style:{position:A,top:T??0,left:k??0}},N()),r.default.Children.map(s,function(H){return r.default.createElement(n.m.div,{initial:"unmount",exit:"unmount",animate:R?"mount":"unmount",variants:D},H)}))))});C.propTypes={children:g.propTypesChildren,className:g.propTypesClassName},C.displayName="MaterialTailwind.SpeedDialContent";var b=C}(_g)),_g}var VO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{SpeedDialAction:function(){return w},default:function(){return P}});var r=f(F),n=Ce,o=Oe,a=f(Se),i=uc;function l(){return l=Object.assign||function(O){for(var C=1;C=0)&&Object.prototype.propertyIsEnumerable.call(O,y)&&(b[y]=O[y])}return b}function m(O,C){if(O==null)return{};var b={},y=Object.keys(O),c,s;for(s=0;s=0)&&(b[c]=O[c]);return b}var w=r.default.forwardRef(function(O,C){var b=O.className,y=O.children,c=g(O,["className","children"]),s=(0,n.useTheme)(),u=s.speedDialAction.styles,d=(0,o.twMerge)((0,a.default)(u),b);return r.default.createElement("button",l({},c,{ref:C,className:d}),y)});w.propTypes={children:i.propTypesChildren,className:i.propTypesClassName},w.displayName="SpeedDialAction";var P=w})(VO);var ew;function H1(){return ew||(ew=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,v){for(var _ in v)Object.defineProperty(h,_,{enumerable:!0,get:v[_]})}t(e,{SpeedDialContext:function(){return c},useSpeedDial:function(){return s},SpeedDial:function(){return u},SpeedDialHandler:function(){return l.default},SpeedDialContent:function(){return f.default},SpeedDialAction:function(){return g.default},default:function(){return d}});var r=P(F),n=Ft,o=Ce,a=P(Yt),i=uc,l=P(lH()),f=P(sH()),g=P(VO);function m(h,v){(v==null||v>h.length)&&(v=h.length);for(var _=0,k=new Array(v);_.");return h}function u(h){var v=h.open,_=h.handler,k=h.placement,T=h.offset,E=h.dismiss,R=h.animate,A=h.children,N=(0,o.useTheme)(),D=N.speedDial.defaultProps,$=b(r.default.useState(!1),2),G=$[0],X=$[1];v=v??G,_=_??X,k=k??D.placement,T=T??D.offset,E=E??D.dismiss,R=R??D.animate;var H={unmount:{opacity:0,transform:"scale(0.5)",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{opacity:1,transform:"scale(1)",transition:{duration:.2,times:[.4,0,.2,1]}}},V=(0,a.default)(H,R),B=(0,n.useFloatingNodeId)(),q=(0,n.useFloating)({open:v,nodeId:B,placement:k,onOpenChange:_,whileElementsMounted:n.autoUpdate,middleware:[(0,n.offset)(T),(0,n.flip)(),(0,n.shift)()]}),Y=q.x,ne=q.y,ce=q.strategy,se=q.refs,re=q.context,pe=(0,n.useInteractions)([(0,n.useHover)(re,{handleClose:(0,n.safePolygon)()}),(0,n.useDismiss)(re,E)]),ue=pe.getReferenceProps,oe=pe.getFloatingProps,fe=r.default.useMemo(function(){return{x:Y,y:ne,strategy:ce,refs:se,open:v,context:re,getReferenceProps:ue,getFloatingProps:oe,animation:V}},[re,oe,ue,se,ce,Y,ne,v,V]);return r.default.createElement(c.Provider,{value:fe},r.default.createElement("div",{className:"group"},r.default.createElement(n.FloatingNode,{id:B},A)))}u.propTypes={open:i.propTypesOpen,handler:i.propTypesHanlder,placement:i.propTypesPlacement,offset:i.propTypesOffset,dismiss:i.propTypesDismiss,className:i.propTypesClassName,children:i.propTypesChildren,animate:i.propTypesAnimate},u.displayName="MaterialTailwind.SpeedDial";var d=Object.assign(u,{Handler:l.default,Content:f.default,Action:g.default})}(yg)),yg}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),t(ux,e),t(eP,e),t(tP,e),t(rP,e),t(oP,e),t(aP,e),t(uP,e),t(cP,e),t(dP,e),t(xp,e),t(ZP,e),t(JP,e),t(nO,e),t(aO,e),t(sO,e),t(uO,e),t(cO,e),t(fO,e),t(pO,e),t(bO,e),t(yO,e),t(wO,e),t(_O,e),t(CO,e),t(OO,e),t(SO,e),t(EO,e),t(MO,e),t(RO,e),t(AO,e),t(E1,e),t(IO,e),t(LO,e),t(H1(),e),t(Ce,e),t(Bb,e);function t(r,n){return Object.keys(r).forEach(function(o){o!=="default"&&!Object.prototype.hasOwnProperty.call(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:function(){return r[o]}})}),r}})(Ms);function uH(){return Q.jsxs("footer",{className:"w-full bg-[#e1f0ff] p-8",children:[Q.jsxs("div",{className:"flex flex-row flex-wrap items-center justify-center gap-y-6 gap-x-12 bg-[#e1f0ff] text-center md:justify-between",children:[Q.jsx("img",{src:"https://docs.material-tailwind.com/img/logo-ct-dark.png",alt:"logo-ct",className:"w-10"}),Q.jsxs("ul",{className:"flex flex-wrap items-center gap-y-2 gap-x-8",children:[Q.jsx("li",{children:Q.jsx(Ms.Typography,{as:"a",href:"about",color:"blue-gray",className:"font-normal transition-colors hover:text-blue-500 focus:text-blue-500",children:"About Us"})}),Q.jsx("li",{children:Q.jsx(Ms.Typography,{as:"a",href:"https://github.com/preston176/AI-Gen",color:"blue-gray",className:"font-normal transition-colors hover:text-blue-500 focus:text-blue-500",children:"Contribute"})}),Q.jsx("li",{children:Q.jsx(Ms.Typography,{as:"a",href:"#",color:"blue-gray",className:"font-normal transition-colors hover:text-blue-500 focus:text-blue-500",children:"Contact Us"})})]})]}),Q.jsx("hr",{className:"my-8 border-blue-gray-50"}),Q.jsx(Ms.Typography,{color:"blue-gray",className:"text-center font-normal",children:"© 2024 AI Gen"})]})}var Or=function(){return Or=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0?Ut(Gl,--un):0,Tl--,Mt===10&&(Tl=1,Mp--),Mt}function Sn(){return Mt=un2||lv(Mt)>3?"":" "}function yH(e,t){for(;--t&&Sn()&&!(Mt<48||Mt>102||Mt>57&&Mt<65||Mt>70&&Mt<97););return Ap(e,qd()+(t<6&&Na()==32&&Sn()==32))}function sv(e){for(;Sn();)switch(Mt){case e:return un;case 34:case 39:e!==34&&e!==39&&sv(Mt);break;case 40:e===41&&sv(e);break;case 92:Sn();break}return un}function wH(e,t){for(;Sn()&&e+Mt!==57;)if(e+Mt===84&&Na()===47)break;return"/*"+Ap(t,un-1)+"*"+q1(e===47?e:Sn())}function _H(e){for(;!lv(Na());)Sn();return Ap(e,un)}function xH(e){return vH(Kd("",null,null,null,[""],e=mH(e),0,[0],e))}function Kd(e,t,r,n,o,a,i,l,f){for(var g=0,m=0,w=i,P=0,O=0,C=0,b=1,y=1,c=1,s=0,u="",d=o,h=a,v=n,_=u;y;)switch(C=s,s=Sn()){case 40:if(C!=108&&Ut(_,w-1)==58){Gd(_+=De(xg(s),"&","&\f"),"&\f",WO(g?l[g-1]:0))!=-1&&(c=-1);break}case 34:case 39:case 91:_+=xg(s);break;case 9:case 10:case 13:case 32:_+=bH(C);break;case 92:_+=yH(qd()-1,7);continue;case 47:switch(Na()){case 42:case 47:Is(CH(wH(Sn(),qd()),t,r,f),f);break;default:_+="/"}break;case 123*b:l[g++]=Un(_)*c;case 125*b:case 59:case 0:switch(s){case 0:case 125:y=0;case 59+m:c==-1&&(_=De(_,/\f/g,"")),O>0&&Un(_)-w&&Is(O>32?nw(_+";",n,r,w-1,f):nw(De(_," ","")+";",n,r,w-2,f),f);break;case 59:_+=";";default:if(Is(v=rw(_,t,r,g,m,o,l,u,d=[],h=[],w,a),a),s===123)if(m===0)Kd(_,t,v,v,d,a,w,l,h);else switch(P===99&&Ut(_,3)===110?100:P){case 100:case 108:case 109:case 115:Kd(e,v,v,n&&Is(rw(e,v,v,0,0,o,l,u,o,d=[],w,h),h),o,h,w,l,n?d:h);break;default:Kd(_,v,v,v,[""],h,0,l,h)}}g=m=O=0,b=c=1,u=_="",w=i;break;case 58:w=1+Un(_),O=C;default:if(b<1){if(s==123)--b;else if(s==125&&b++==0&&gH()==125)continue}switch(_+=q1(s),s*b){case 38:c=m>0?1:(_+="\f",-1);break;case 44:l[g++]=(Un(_)-1)*c,c=1;break;case 64:Na()===45&&(_+=xg(Sn())),P=Na(),m=w=Un(u=_+=_H(qd())),s++;break;case 45:C===45&&Un(_)==2&&(b=0)}}return a}function rw(e,t,r,n,o,a,i,l,f,g,m,w){for(var P=o-1,O=o===0?a:[""],C=HO(O),b=0,y=0,c=0;b0?O[s]+" "+u:De(u,/&\f/g,O[s])))&&(f[c++]=d);return Rp(e,t,r,o===0?kp:l,f,g,m,w)}function CH(e,t,r,n){return Rp(e,t,r,$O,q1(hH()),Sl(e,2,-2),0,n)}function nw(e,t,r,n,o){return Rp(e,t,r,G1,Sl(e,0,n),Sl(e,n+1,-1),n,o)}function qO(e,t,r){switch(fH(e,t)){case 5103:return Je+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Je+e+e;case 4789:return Qs+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Je+e+Qs+e+it+e+e;case 5936:switch(Ut(e,t+11)){case 114:return Je+e+it+De(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Je+e+it+De(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Je+e+it+De(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Je+e+it+e+e;case 6165:return Je+e+it+"flex-"+e+e;case 5187:return Je+e+De(e,/(\w+).+(:[^]+)/,Je+"box-$1$2"+it+"flex-$1$2")+e;case 5443:return Je+e+it+"flex-item-"+De(e,/flex-|-self/g,"")+(io(e,/flex-|baseline/)?"":it+"grid-row-"+De(e,/flex-|-self/g,""))+e;case 4675:return Je+e+it+"flex-line-pack"+De(e,/align-content|flex-|-self/g,"")+e;case 5548:return Je+e+it+De(e,"shrink","negative")+e;case 5292:return Je+e+it+De(e,"basis","preferred-size")+e;case 6060:return Je+"box-"+De(e,"-grow","")+Je+e+it+De(e,"grow","positive")+e;case 4554:return Je+De(e,/([^-])(transform)/g,"$1"+Je+"$2")+e;case 6187:return De(De(De(e,/(zoom-|grab)/,Je+"$1"),/(image-set)/,Je+"$1"),e,"")+e;case 5495:case 3959:return De(e,/(image-set\([^]*)/,Je+"$1$`$1");case 4968:return De(De(e,/(.+:)(flex-)?(.*)/,Je+"box-pack:$3"+it+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Je+e+e;case 4200:if(!io(e,/flex-|baseline/))return it+"grid-column-align"+Sl(e,t)+e;break;case 2592:case 3360:return it+De(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,io(n.props,/grid-\w+-end/)})?~Gd(e+(r=r[t].value),"span",0)?e:it+De(e,"-start","")+e+it+"grid-row-span:"+(~Gd(r,"span",0)?io(r,/\d+/):+io(r,/\d+/)-+io(e,/\d+/))+";":it+De(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return io(n.props,/grid-\w+-start/)})?e:it+De(De(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return De(e,/(.+)-inline(.+)/,Je+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Un(e)-1-t>6)switch(Ut(e,t+1)){case 109:if(Ut(e,t+4)!==45)break;case 102:return De(e,/(.+:)(.+)-([^]+)/,"$1"+Je+"$2-$3$1"+Qs+(Ut(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gd(e,"stretch",0)?qO(De(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return De(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,a,i,l,f,g){return it+o+":"+a+g+(i?it+o+"-span:"+(l?f:+f-+a)+g:"")+e});case 4949:if(Ut(e,t+6)===121)return De(e,":",":"+Je)+e;break;case 6444:switch(Ut(e,Ut(e,14)===45?18:11)){case 120:return De(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Je+(Ut(e,14)===45?"inline-":"")+"box$3$1"+Je+"$2$3$1"+it+"$2box$3")+e;case 100:return De(e,":",":"+it)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return De(e,"scroll-","scroll-snap-")+e}return e}function t0(e,t){for(var r="",n=0;n-1&&!e.return)switch(e.type){case G1:e.return=qO(e.value,e.length,r);return;case UO:return t0([Bo(e,{value:De(e.value,"@","@"+Je)})],n);case kp:if(e.length)return pH(r=e.props,function(o){switch(io(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Pi(Bo(e,{props:[De(o,/:(read-\w+)/,":"+Qs+"$1")]})),Pi(Bo(e,{props:[o]})),iv(e,{props:tw(r,n)});break;case"::placeholder":Pi(Bo(e,{props:[De(o,/:(plac\w+)/,":"+Je+"input-$1")]})),Pi(Bo(e,{props:[De(o,/:(plac\w+)/,":"+Qs+"$1")]})),Pi(Bo(e,{props:[De(o,/:(plac\w+)/,it+"input-$1")]})),Pi(Bo(e,{props:[o]})),iv(e,{props:tw(r,n)});break}return""})}}var EH={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ir={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"},El=typeof process<"u"&&Ir!==void 0&&(Ir.REACT_APP_SC_ATTR||Ir.SC_ATTR)||"data-styled",KO="active",XO="data-styled-version",Ip="6.1.8",K1=`/*!sc*/ -`,X1=typeof window<"u"&&"HTMLElement"in window,kH=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Ir!==void 0&&Ir.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Ir.REACT_APP_SC_DISABLE_SPEEDY!==""?Ir.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Ir.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Ir!==void 0&&Ir.SC_DISABLE_SPEEDY!==void 0&&Ir.SC_DISABLE_SPEEDY!==""&&Ir.SC_DISABLE_SPEEDY!=="false"&&Ir.SC_DISABLE_SPEEDY),Np=Object.freeze([]),kl=Object.freeze({});function MH(e,t,r){return r===void 0&&(r=kl),e.theme!==r.theme&&e.theme||t||r.theme}var YO=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),RH=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,AH=/(^-|-$)/g;function ow(e){return e.replace(RH,"-").replace(AH,"")}var IH=/(a)(d)/gi,cd=52,aw=function(e){return String.fromCharCode(e+(e>25?39:97))};function uv(e){var t,r="";for(t=Math.abs(e);t>cd;t=t/cd|0)r=aw(t%cd)+r;return(aw(t%cd)+r).replace(IH,"$1-$2")}var Cg,ZO=5381,Wi=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},JO=function(e){return Wi(ZO,e)};function QO(e){return uv(JO(e)>>>0)}function NH(e){return e.displayName||e.name||"Component"}function Pg(e){return typeof e=="string"&&!0}var eS=typeof Symbol=="function"&&Symbol.for,tS=eS?Symbol.for("react.memo"):60115,jH=eS?Symbol.for("react.forward_ref"):60112,DH={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},FH={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},rS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},LH=((Cg={})[jH]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Cg[tS]=rS,Cg);function iw(e){return("type"in(t=e)&&t.type.$$typeof)===tS?rS:"$$typeof"in e?LH[e.$$typeof]:DH;var t}var zH=Object.defineProperty,VH=Object.getOwnPropertyNames,lw=Object.getOwnPropertySymbols,$H=Object.getOwnPropertyDescriptor,UH=Object.getPrototypeOf,sw=Object.prototype;function nS(e,t,r){if(typeof t!="string"){if(sw){var n=UH(t);n&&n!==sw&&nS(e,n,r)}var o=VH(t);lw&&(o=o.concat(lw(t)));for(var a=iw(e),i=iw(t),l=0;l0?" Args: ".concat(t.join(", ")):""))}var WH=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,a=o;t>=a;)if((a<<=1)<0)throw cc(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=o;i=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),a=o+n,i=o;i=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(y+="".concat(c,","))}),f+="".concat(C).concat(b,'{content:"').concat(y,'"}').concat(K1)},m=0;m0?".".concat(t):P},m=f.slice();m.push(function(P){P.type===kp&&P.value.includes("&")&&(P.props[0]=P.props[0].replace(eG,r).replace(n,g))}),i.prefix&&m.push(TH),m.push(PH);var w=function(P,O,C,b){O===void 0&&(O=""),C===void 0&&(C=""),b===void 0&&(b="&"),t=b,r=O,n=new RegExp("\\".concat(r,"\\b"),"g");var y=P.replace(tG,""),c=xH(C||O?"".concat(C," ").concat(O," { ").concat(y," }"):y);i.namespace&&(c=iS(c,i.namespace));var s=[];return t0(c,OH(m.concat(SH(function(u){return s.push(u)})))),s};return w.hash=f.length?f.reduce(function(P,O){return O.name||cc(15),Wi(P,O.name)},ZO).toString():"",w}var nG=new aS,fv=rG(),lS=Me.createContext({shouldForwardProp:void 0,styleSheet:nG,stylis:fv});lS.Consumer;Me.createContext(void 0);function cw(){return F.useContext(lS)}var sS=function(){function e(t,r){var n=this;this.inject=function(o,a){a===void 0&&(a=fv);var i=n.name+a.hash;o.hasNameForId(n.id,i)||o.insertRules(n.id,i,a(n.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Z1(this,function(){throw cc(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=fv),this.name+t.hash},e}(),oG=function(e){return e>="A"&&e<="Z"};function dw(e){for(var t="",r=0;r>>0);if(!r.hasNameForId(this.componentId,i)){var l=n(a,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,l)}o=Ma(o,i),this.staticRulesId=i}else{for(var f=Wi(this.baseHash,n.hash),g="",m=0;m>>0);r.hasNameForId(this.componentId,O)||r.insertRules(this.componentId,O,n(g,".".concat(O),void 0,this.componentId)),o=Ma(o,O)}}return o},e}(),dS=Me.createContext(void 0);dS.Consumer;var Og={};function sG(e,t,r){var n=Y1(e),o=e,a=!Pg(e),i=t.attrs,l=i===void 0?Np:i,f=t.componentId,g=f===void 0?function(d,h){var v=typeof d!="string"?"sc":ow(d);Og[v]=(Og[v]||0)+1;var _="".concat(v,"-").concat(QO(Ip+v+Og[v]));return h?"".concat(h,"-").concat(_):_}(t.displayName,t.parentComponentId):f,m=t.displayName,w=m===void 0?function(d){return Pg(d)?"styled.".concat(d):"Styled(".concat(NH(d),")")}(e):m,P=t.displayName&&t.componentId?"".concat(ow(t.displayName),"-").concat(t.componentId):t.componentId||g,O=n&&o.attrs?o.attrs.concat(l).filter(Boolean):l,C=t.shouldForwardProp;if(n&&o.shouldForwardProp){var b=o.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;C=function(d,h){return b(d,h)&&y(d,h)}}else C=b}var c=new lG(r,P,n?o.componentStyle:void 0);function s(d,h){return function(v,_,k){var T=v.attrs,E=v.componentStyle,R=v.defaultProps,A=v.foldedComponentIds,N=v.styledComponentId,D=v.target,$=Me.useContext(dS),G=cw(),X=v.shouldForwardProp||G.shouldForwardProp,H=MH(_,$,R)||kl,V=function(se,re,pe){for(var ue,oe=Or(Or({},re),{className:void 0,theme:pe}),fe=0;fe=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.variant,h=s.color,v=s.shadow,_=s.blurred,k=s.fullWidth,T=s.className,E=s.children,M=C(s,["variant","color","shadow","blurred","fullWidth","className","children"]),A=(0,f.useTheme)().navbar,N=A.defaultProps,D=A.valid,$=A.styles,G=$.base,X=$.variants;d=d??N.variant,h=h??N.color,v=v??N.shadow,_=_??N.blurred,k=k??N.fullWidth,T=(0,a.twMerge)(N.className||"",T);var H,V=(0,o.default)((0,l.default)(G.navbar.initial),(H={},w(H,(0,l.default)(G.navbar.shadow),v),w(H,(0,l.default)(G.navbar.blurred),_&&h==="white"),w(H,(0,l.default)(G.navbar.fullWidth),k),H)),B=(0,o.default)((0,l.default)(X[(0,i.default)(D.variants,d,"filled")][(0,i.default)(D.colors,h,"white")])),q=(0,a.twMerge)((0,o.default)(V,B),T);return r.default.createElement("nav",P({},M,{ref:u,className:q}),E)});y.propTypes={variant:n.default.oneOf(m.propTypesVariant),color:n.default.oneOf(m.propTypesColor),shadow:m.propTypesShadow,blurred:m.propTypesBlurred,fullWidth:m.propTypesFullWidth,className:m.propTypesClassName,children:m.propTypesChildren},y.displayName="MaterialTailwind.Navbar";var c=Object.assign(y,{MobileNav:g.MobileNav})})(n8);var a8={},E0={},Bl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{propTypesOpen:function(){return a},propTypesHandler:function(){return i},propTypesPlacement:function(){return l},propTypesOffset:function(){return f},propTypesDismiss:function(){return g},propTypesAnimate:function(){return m},propTypesContent:function(){return w},propTypesInteractive:function(){return P},propTypesClassName:function(){return O},propTypesChildren:function(){return C},propTypesContextValue:function(){return b}});var r=o(Ee),n=st;function o(y){return y&&y.__esModule?y:{default:y}}var a=r.default.bool,i=r.default.func,l=n.propTypesPlacements,f=n.propTypesOffsetType,g=n.propTypesDismissType,m=n.propTypesAnimation,w=r.default.node,P=r.default.bool,O=r.default.string,C=r.default.node.isRequired,b=r.default.shape({open:r.default.bool.isRequired,strategy:r.default.oneOf(["fixed","absolute"]).isRequired,x:r.default.number,y:r.default.number,context:r.default.instanceOf(Object).isRequired,reference:r.default.func.isRequired,floating:r.default.func.isRequired,getReferenceProps:r.default.func.isRequired,getFloatingProps:r.default.func.isRequired,appliedAnimation:m.isRequired,labelId:r.default.string.isRequired,descriptionId:r.default.string.isRequired}).isRequired})(Bl);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var m in g)Object.defineProperty(f,m,{enumerable:!0,get:g[m]})}t(e,{PopoverContext:function(){return a},usePopover:function(){return i},PopoverContextProvider:function(){return l}});var r=o(F),n=Bl;function o(f){return f&&f.__esModule?f:{default:f}}var a=r.default.createContext(null);a.displayName="MaterialTailwind.PopoverContext";function i(){var f=r.default.useContext(a);if(!f)throw new Error("usePopover() must be used within a Popover. It happens when you use PopoverHandler or PopoverContent components outside the Popover component.");return f}var l=function(f){var g=f.value,m=f.children;return r.default.createElement(a.Provider,{value:g},m)};l.propTypes={value:n.propTypesContextValue,children:n.propTypesChildren},l.displayName="MaterialTailwind.PopoverContextProvider"})(E0);var i8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,y){for(var c in y)Object.defineProperty(b,c,{enumerable:!0,get:y[c]})}t(e,{PopoverHandler:function(){return O},default:function(){return C}});var r=l(F),n=Ft,o=E0,a=Bl;function i(b,y,c){return y in b?Object.defineProperty(b,y,{value:c,enumerable:!0,configurable:!0,writable:!0}):b[y]=c,b}function l(b){return b&&b.__esModule?b:{default:b}}function f(b){for(var y=1;y=0)&&Object.prototype.propertyIsEnumerable.call(b,s)&&(c[s]=b[s])}return c}function P(b,y){if(b==null)return{};var c={},s=Object.keys(b),u,d;for(d=0;d=0)&&(c[u]=b[u]);return c}var O=r.default.forwardRef(function(b,y){var c=b.children,s=w(b,["children"]),u=(0,o.usePopover)(),d=u.getReferenceProps,h=u.reference,v=(0,n.useMergeRefs)([y,h]);return r.default.cloneElement(c,f({},d(m(f({},s),{ref:v}))))});O.propTypes={children:a.propTypesChildren},O.displayName="MaterialTailwind.PopoverHandler";var C=O})(i8);var l8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,v){for(var _ in v)Object.defineProperty(h,_,{enumerable:!0,get:v[_]})}t(e,{PopoverContent:function(){return u},default:function(){return d}});var r=O(F),n=Ft,o=Ht,a=O(Ae),i=Oe,l=O(Se),f=Ce,g=E0,m=Bl;function w(h,v,_){return v in h?Object.defineProperty(h,v,{value:_,enumerable:!0,configurable:!0,writable:!0}):h[v]=_,h}function P(){return P=Object.assign||function(h){for(var v=1;v=0)&&Object.prototype.propertyIsEnumerable.call(h,k)&&(_[k]=h[k])}return _}function s(h,v){if(h==null)return{};var _={},k=Object.keys(h),T,E;for(E=0;E=0)&&(_[T]=h[T]);return _}var u=r.default.forwardRef(function(h,v){var _=h.children,k=h.className,T=c(h,["children","className"]),E=(0,f.useTheme)().popover,M=E.defaultProps,A=E.styles.base,N=(0,g.usePopover)(),D=N.open,$=N.strategy,G=N.x,X=N.y,H=N.context,V=N.floating,B=N.getFloatingProps,q=N.appliedAnimation,Y=N.labelId,ne=N.descriptionId;k=(0,i.twMerge)(M.className||"",k);var ce=(0,i.twMerge)((0,a.default)((0,l.default)(A)),k),se=(0,n.useMergeRefs)([v,V]),re=o.AnimatePresence;return r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(n.FloatingPortal,null,r.default.createElement(re,null,D&&r.default.createElement(n.FloatingFocusManager,{context:H},r.default.createElement(o.m.div,P({},B(y(C({},T),{ref:se,className:ce,style:{position:$,top:X??"",left:G??""},"aria-labelledby":Y,"aria-describedby":ne})),{initial:"unmount",exit:"unmount",animate:D?"mount":"unmount",variants:q}),_)))))});u.propTypes={className:m.propTypesClassName,children:m.propTypesChildren},u.displayName="MaterialTailwind.PopoverContent";var d=u})(l8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{Popover:function(){return s},PopoverHandler:function(){return g.PopoverHandler},PopoverContent:function(){return m.PopoverContent},usePopover:function(){return l.usePopover},default:function(){return u}});var r=O(F),n=O(Ee),o=Ft,a=O(Yt),i=Ce,l=E0,f=Bl,g=i8,m=l8;function w(d,h){(h==null||h>d.length)&&(h=d.length);for(var v=0,_=new Array(h);v=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.color,h=c.size,v=c.value,_=c.label,k=c.className,T=c.barProps,E=O(c,["variant","color","size","value","label","className","barProps"]),M=(0,f.useTheme)().progress,A=M.defaultProps,N=M.valid,D=M.styles,$=D.base,G=D.variants,X=D.sizes;u=u??A.variant,d=d??A.color,h=h??A.size,_=_??A.label,T=T??A.barProps,k=(0,a.twMerge)(A.className||"",k);var H=(0,l.default)(G[(0,i.default)(N.variants,u,"filled")][(0,i.default)(N.colors,d,"gray")]),V=(0,l.default)(X[(0,i.default)(N.sizes,h,"md")].container.initial),B=(0,o.default)((0,l.default)($.container.initial),V),q=(0,l.default)(X[(0,i.default)(N.sizes,h,"md")].container.withLabel),Y=(0,o.default)((0,l.default)($.container.withLabel),q),ne=(0,l.default)(X[(0,i.default)(N.sizes,h,"md")].bar),ce=(0,o.default)((0,l.default)($.bar),ne),se=(0,a.twMerge)((0,o.default)(B,m({},Y,_)),k),re=(0,a.twMerge)((0,o.default)(ce,H),T==null?void 0:T.className);return r.default.createElement("div",w({},E,{ref:s,className:se}),r.default.createElement("div",w({},T,{className:re,style:{width:"".concat(v,"%")}}),_&&"".concat(v,"% ").concat(typeof _=="string"?_:"")))});b.propTypes={variant:n.default.oneOf(g.propTypesVariant),color:n.default.oneOf(g.propTypesColor),size:n.default.oneOf(g.propTypesSize),value:g.propTypesValue,label:g.propTypesLabel,barProps:g.propTypesBarProps,className:g.propTypesClassName},b.displayName="MaterialTailwind.Progress";var y=b})(s8);var u8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Radio:function(){return y},default:function(){return c}});var r=O(F),n=O(Ee),o=O(Vl),a=O(Ae),i=Oe,l=O(ht),f=O(Se),g=Ce,m=Za;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.color,h=s.label,v=s.icon,_=s.ripple,k=s.className,T=s.disabled,E=s.containerProps,M=s.labelProps,A=s.iconProps,N=s.inputRef,D=C(s,["color","label","icon","ripple","className","disabled","containerProps","labelProps","iconProps","inputRef"]),$=(0,g.useTheme)().radio,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.colors,q=r.default.useId();d=d??G.color,h=h??G.label,v=v??G.icon,_=_??G.ripple,T=T??G.disabled,E=E??G.containerProps,M=M??G.labelProps,A=A??G.iconProps,k=(0,i.twMerge)(G.className||"",k);var Y=_!==void 0&&new o.default,ne=(0,a.default)((0,f.default)(V.root),w({},(0,f.default)(V.disabled),T)),ce=(0,i.twMerge)((0,a.default)((0,f.default)(V.container)),E==null?void 0:E.className),se=(0,i.twMerge)((0,a.default)((0,f.default)(V.input),(0,f.default)(B[(0,l.default)(X.colors,d,"gray")])),k),re=(0,i.twMerge)((0,a.default)((0,f.default)(V.label)),M==null?void 0:M.className),pe=(0,a.default)((0,a.default)((0,f.default)(V.icon)),B[(0,l.default)(X.colors,d,"gray")].color,A==null?void 0:A.className);return r.default.createElement("div",{ref:u,className:ne},r.default.createElement("label",P({},E,{className:ce,htmlFor:D.id||q,onMouseDown:function(ue){var oe=E==null?void 0:E.onMouseDown;return _&&Y.create(ue,"dark"),typeof oe=="function"&&oe(ue)}}),r.default.createElement("input",P({},D,{ref:N,type:"radio",disabled:T,className:se,id:D.id||q})),r.default.createElement("span",{className:pe},v||r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-3.5 w-3.5",viewBox:"0 0 16 16",fill:"currentColor"},r.default.createElement("circle",{"data-name":"ellipse",cx:"8",cy:"8",r:"8"})))),h&&r.default.createElement("label",P({},M,{className:re,htmlFor:D.id||q}),h))});y.propTypes={color:n.default.oneOf(m.propTypesColor),label:m.propTypesLabel,icon:m.propTypesIcon,ripple:m.propTypesRipple,className:m.propTypesClassName,disabled:m.propTypesDisabled,containerProps:m.propTypesObject,labelProps:m.propTypesObject},y.displayName="MaterialTailwind.Radio";var c=y})(u8);var c8={},$y={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(m,w){for(var P in w)Object.defineProperty(m,P,{enumerable:!0,get:w[P]})}t(e,{SelectContext:function(){return i},useSelect:function(){return l},usePrevious:function(){return f},SelectContextProvider:function(){return g}});var r=a(F),n=Ht,o=Ju;function a(m){return m&&m.__esModule?m:{default:m}}var i=r.default.createContext(null);i.displayName="MaterialTailwind.SelectContext";function l(){var m=r.default.useContext(i);if(m===null)throw new Error("useSelect() must be used within a Select. It happens when you use SelectOption component outside the Select component.");return m}function f(m){var w=r.default.useRef();return(0,n.useIsomorphicLayoutEffect)(function(){w.current=m},[m]),w.current}var g=function(m){var w=m.value,P=m.children;return r.default.createElement(i.Provider,{value:w},P)};g.propTypes={value:o.propTypesContextValue,children:o.propTypesChildren},g.displayName="MaterialTailwind.SelectContextProvider"})($y);var d8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{SelectOption:function(){return C},default:function(){return b}});var r=w(F),n=w(Ae),o=Oe,a=w(Se),i=Ce,l=$y,f=Ju;function g(y,c,s){return c in y?Object.defineProperty(y,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):y[c]=s,y}function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=function(y){var c=function(){H(v),q(d),B(!1),ne(null)},s=function(ae){(ae.key==="Enter"||ae.key===" "&&!se.current.typing)&&(ae.preventDefault(),c())},u=y.value,d=u===void 0?"":u,h=y.index,v=h===void 0?0:h,_=y.disabled,k=_===void 0?!1:_,T=y.className,E=T===void 0?"":T,M=y.children,A=P(y,["value","index","disabled","className","children"]),N=(0,i.useTheme)().select,D=N.styles,$=D.base,G=(0,l.useSelect)(),X=G.selectedIndex,H=G.setSelectedIndex,V=G.listRef,B=G.setOpen,q=G.onChange,Y=G.activeIndex,ne=G.setActiveIndex,ce=G.getItemProps,se=G.dataRef,re=(0,a.default)($.option.initial),pe=(0,a.default)($.option.active),ue=(0,a.default)($.option.disabled),oe,fe=(0,o.twMerge)((0,n.default)(re,(oe={},g(oe,pe,X===v),g(oe,ue,k),oe)),E??"");return r.default.createElement("li",m({},A,{role:"option",ref:function(le){return V.current[v]=le},className:fe,disabled:k,tabIndex:Y===v?0:1,"aria-selected":Y===v&&X===v,"data-selected":X===v},ce({onClick:function(le){var ae=A==null?void 0:A.onClick;typeof ae=="function"&&(ae(le),c()),c()},onKeyDown:function(le){var ae=A==null?void 0:A.onKeyDown;typeof ae=="function"&&(ae(le),s(le)),s(le)}})),M)};C.propTypes={value:f.propTypesValue,index:f.propTypesIndex,disabled:f.propTypesDisabled,className:f.propTypesClassName,children:f.propTypesChildren},C.displayName="MaterialTailwind.SelectOption";var b=C})(d8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(V,B){for(var q in B)Object.defineProperty(V,q,{enumerable:!0,get:B[q]})}t(e,{Select:function(){return X},Option:function(){return C.SelectOption},useSelect:function(){return P.useSelect},usePrevious:function(){return P.usePrevious},default:function(){return H}});var r=d(F),n=d(Ee),o=Ft,a=Ht,i=d(Ae),l=Oe,f=d(Yt),g=d(ht),m=d(Se),w=Ce,P=$y,O=Ju,C=d8;function b(V,B){(B==null||B>V.length)&&(B=V.length);for(var q=0,Y=new Array(B);q=0)&&Object.prototype.propertyIsEnumerable.call(V,Y)&&(q[Y]=V[Y])}return q}function N(V,B){if(V==null)return{};var q={},Y=Object.keys(V),ne,ce;for(ce=0;ce=0)&&(q[ne]=V[ne]);return q}function D(V,B){return y(V)||v(V,B)||G(V,B)||_()}function $(V){return c(V)||h(V)||G(V)||k()}function G(V,B){if(V){if(typeof V=="string")return b(V,B);var q=Object.prototype.toString.call(V).slice(8,-1);if(q==="Object"&&V.constructor&&(q=V.constructor.name),q==="Map"||q==="Set")return Array.from(q);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return b(V,B)}}var X=r.default.forwardRef(function(V,B){var q=V.variant,Y=V.color,ne=V.size,ce=V.label,se=V.error,re=V.success,pe=V.arrow,ue=V.value,oe=V.onChange,fe=V.selected,le=V.offset,ae=V.dismiss,ge=V.animate,ve=V.lockScroll,be=V.labelProps,Pe=V.menuProps,Le=V.className,Xe=V.disabled,mt=V.name,ze=V.children,Ye=V.containerProps,xt=A(V,["variant","color","size","label","error","success","arrow","value","onChange","selected","offset","dismiss","animate","lockScroll","labelProps","menuProps","className","disabled","name","children","containerProps"]),Lt,ut=(0,w.useTheme)().select,We=ut.defaultProps,ur=ut.valid,Jt=ut.styles,vr=Jt.base,Rn=Jt.variants,ai=D(r.default.useState("close"),2),br=ai[0],Rr=ai[1];q=q??We.variant,Y=Y??We.color,ne=ne??We.size,ce=ce??We.label,se=se??We.error,re=re??We.success,pe=pe??We.arrow,ue=ue??We.value,oe=oe??We.onChange,fe=fe??We.selected,le=le??We.offset,ae=ae??We.dismiss,ge=ge??We.animate,be=be??We.labelProps,Pe=Pe??We.menuProps;var Mn;Ye=(Mn=(0,f.default)(Ye,(We==null?void 0:We.containerProps)||{}))!==null&&Mn!==void 0?Mn:We.containerProps,Le=(0,l.twMerge)(We.className||"",Le),ze=Array.isArray(ze)?ze:[ze];var Br=r.default.useRef([]),An,Qt=r.default.useRef($((An=r.default.Children.map(ze,function(ct){var vt=ct.props;return vt==null?void 0:vt.value}))!==null&&An!==void 0?An:[])),dc=D(r.default.useState(!1),2),Mr=dc[0],fc=dc[1],ql=D(r.default.useState(null),2),In=ql[0],ii=ql[1],Kl=D(r.default.useState(0),2),cr=Kl[0],ba=Kl[1],Xl=D(r.default.useState(!1),2),pc=Xl[0],Eo=Xl[1],Yl=(0,P.usePrevious)(In),ya=(0,o.useFloating)({placement:"bottom-start",open:Mr,onOpenChange:fc,whileElementsMounted:o.autoUpdate,middleware:[(0,o.offset)(5),(0,o.flip)({padding:10}),(0,o.size)({apply:function(vt){var Ct=vt.rects,Nn=vt.elements,Ro,Mo;Object.assign(Nn==null||(Ro=Nn.floating)===null||Ro===void 0?void 0:Ro.style,{width:"".concat(Ct==null||(Mo=Ct.reference)===null||Mo===void 0?void 0:Mo.width,"px"),zIndex:99})},padding:20})]}),eo=ya.x,li=ya.y,hc=ya.strategy,si=ya.refs,dn=ya.context;r.default.useEffect(function(){ba(Math.max(0,Qt.current.indexOf(ue)+1))},[ue]);var F0=si.floating,Jl=(0,o.useInteractions)([(0,o.useClick)(dn),(0,o.useRole)(dn,{role:"listbox"}),(0,o.useDismiss)(dn,T({},ae)),(0,o.useListNavigation)(dn,{listRef:Br,activeIndex:In,selectedIndex:cr,onNavigate:ii,loop:!0}),(0,o.useTypeahead)(dn,{listRef:Qt,activeIndex:In,selectedIndex:cr,onMatch:Mr?ii:ba})]),L0=Jl.getReferenceProps,z0=Jl.getFloatingProps,ui=Jl.getItemProps;(0,a.useIsomorphicLayoutEffect)(function(){var ct=F0.current;if(Mr&&pc&&ct){var vt=In!=null?Br.current[In]:cr!=null?Br.current[cr]:null;if(vt&&Yl!=null){var Ct,Nn,Ro=(Nn=(Ct=Br.current[Yl])===null||Ct===void 0?void 0:Ct.offsetHeight)!==null&&Nn!==void 0?Nn:0,Mo=ct.offsetHeight,ts=vt.offsetTop,Cc=ts+Ro;tsMo+ct.scrollTop&&(ct.scrollTop+=Cc-Mo-ct.scrollTop+5)}}},[Mr,pc,Yl,In]);var gc=r.default.useMemo(function(){return{selectedIndex:cr,setSelectedIndex:ba,listRef:Br,setOpen:fc,onChange:oe||function(){},activeIndex:In,setActiveIndex:ii,getItemProps:ui,dataRef:dn.dataRef}},[cr,oe,In,ui,dn.dataRef]);r.default.useEffect(function(){Rr(Mr?"open":!Mr&&cr||!Mr&&ue?"withValue":"close")},[Mr,ue,cr,fe]);var Hr=Rn[(0,g.default)(ur.variants,q,"outlined")],ci=Hr.sizes[(0,g.default)(ur.sizes,ne,"md")],mc=Hr.error.select,vc=Hr.success.select,bc=Hr.colors.select[(0,g.default)(ur.colors,Y,"gray")],Ql=Hr.error.label,Zl=Hr.success.label,yc=Hr.colors.label[(0,g.default)(ur.colors,Y,"gray")],di=Hr.states[br],wc=(0,i.default)((0,m.default)(vr.container),(0,m.default)(ci.container),Ye==null?void 0:Ye.className),es=(0,l.twMerge)((0,i.default)((0,m.default)(vr.select),(0,m.default)(Hr.base.select),(0,m.default)(di.select),(0,m.default)(ci.select),s({},(0,m.default)(bc[br]),!se&&!re),s({},(0,m.default)(mc.initial),se),s({},(0,m.default)(mc.states[br]),se),s({},(0,m.default)(vc.initial),re),s({},(0,m.default)(vc.states[br]),re)),Le),to,V0=(0,l.twMerge)((0,i.default)((0,m.default)(vr.label),(0,m.default)(Hr.base.label),(0,m.default)(di.label),(0,m.default)(ci.label.initial),(0,m.default)(ci.label.states[br]),s({},(0,m.default)(yc[br]),!se&&!re),s({},(0,m.default)(Ql.initial),se),s({},(0,m.default)(Ql.states[br]),se),s({},(0,m.default)(Zl.initial),re),s({},(0,m.default)(Zl.states[br]),re)),(to=be.className)!==null&&to!==void 0?to:""),_c=(0,i.default)((0,m.default)(vr.arrow.initial),s({},(0,m.default)(vr.arrow.active),Mr)),ro,xc=(0,l.twMerge)((0,i.default)((0,m.default)(vr.menu)),(ro=Pe.className)!==null&&ro!==void 0?ro:""),ko=(0,i.default)("absolute top-2/4 -translate-y-2/4",q==="outlined"?"left-3 pt-0.5":"left-0 pt-3"),$0={unmount:{opacity:0,transformOrigin:"top",transform:"scale(0.95)",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{opacity:1,transformOrigin:"top",transform:"scale(1)",transition:{duration:.2,times:[.4,0,.2,1]}}},U0=(0,f.default)($0,ge),W0=a.AnimatePresence;r.default.useEffect(function(){ue&&!oe&&console.error("Warning: You provided a `value` prop to a select component without an `onChange` handler. This will render a read-only select. If the field should be mutable use `onChange` handler with `value` together.")},[ue,oe]);var fi=r.default.createElement(o.FloatingFocusManager,{context:dn,modal:!1},r.default.createElement(a.m.ul,u({},z0(M(T({},Pe),{ref:si.setFloating,role:"listbox",className:xc,style:{position:hc,top:li??0,left:eo??0,overflow:"auto"},onPointerEnter:function(vt){var Ct=Pe==null?void 0:Pe.onPointerEnter;typeof Ct=="function"&&(Ct(vt),Eo(!1)),Eo(!1)},onPointerMove:function(vt){var Ct=Pe==null?void 0:Pe.onPointerMove;typeof Ct=="function"&&(Ct(vt),Eo(!1)),Eo(!1)},onKeyDown:function(vt){var Ct=Pe==null?void 0:Pe.onKeyDown;typeof Ct=="function"&&(Ct(vt),Eo(!0)),Eo(!0)}})),{initial:"unmount",exit:"unmount",animate:Mr?"mount":"unmount",variants:U0}),r.default.Children.map(ze,function(ct,vt){var Ct;return r.default.isValidElement(ct)&&r.default.cloneElement(ct,M(T({},ct.props),{index:((Ct=ct.props)===null||Ct===void 0?void 0:Ct.index)||vt+1,id:"material-tailwind-select-".concat(vt)}))})));return r.default.createElement(P.SelectContextProvider,{value:gc},r.default.createElement("div",u({},Ye,{ref:B,className:wc}),r.default.createElement("button",u({type:"button"},L0(M(T({},xt),{ref:si.setReference,className:es,disabled:Xe,name:mt}))),typeof fe=="function"?r.default.createElement("span",{className:ko},fe(ze[cr-1],cr-1)):ue&&!oe?r.default.createElement("span",{className:ko},ue):r.default.createElement("span",u({},(Lt=ze[cr-1])===null||Lt===void 0?void 0:Lt.props,{className:ko})),r.default.createElement("div",{className:_c},pe??r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},r.default.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})))),r.default.createElement("label",u({},be,{className:V0}),ce),r.default.createElement(a.LazyMotion,{features:a.domAnimation},r.default.createElement(W0,null,Mr&&r.default.createElement(r.default.Fragment,null,ve?r.default.createElement(o.FloatingOverlay,{lockScroll:!0},fi):fi)))))});X.propTypes={variant:n.default.oneOf(O.propTypesVariant),color:n.default.oneOf(O.propTypesColor),size:n.default.oneOf(O.propTypesSize),label:O.propTypesLabel,error:O.propTypesError,success:O.propTypesSuccess,arrow:O.propTypesArrow,value:O.propTypesValue,onChange:O.propTypesOnChange,selected:O.propTypesSelected,offset:O.propTypesOffset,dismiss:O.propTypesDismiss,animate:O.propTypesAnimate,lockScroll:O.propTypesLockScroll,labelProps:O.propTypesLabelProps,menuProps:O.propTypesMenuProps,className:O.propTypesClassName,disabled:O.propTypesDisabled,name:O.propTypesName,children:O.propTypesChildren,containerProps:O.propTypesContainerProps},X.displayName="MaterialTailwind.Select";var H=Object.assign(X,{Option:C.SelectOption})})(c8);var f8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Switch:function(){return y},default:function(){return c}});var r=O(F),n=O(Ee),o=O(Vl),a=O(Ae),i=Oe,l=O(ht),f=O(Se),g=Ce,m=Za;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.color,h=s.label,v=s.ripple,_=s.className,k=s.disabled,T=s.containerProps,E=s.circleProps,M=s.labelProps,A=s.inputRef,N=C(s,["color","label","ripple","className","disabled","containerProps","circleProps","labelProps","inputRef"]),D=(0,g.useTheme)(),$=D.switch,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.colors,q=r.default.useId();d=d??G.color,v=v??G.ripple,k=k??G.disabled,T=T??G.containerProps,M=M??G.labelProps,E=E??G.circleProps,_=(0,i.twMerge)(G.className||"",_);var Y=v!==void 0&&new o.default,ne=(0,a.default)((0,f.default)(V.root),w({},(0,f.default)(V.disabled),k)),ce=(0,i.twMerge)((0,a.default)((0,f.default)(V.container)),T==null?void 0:T.className),se=(0,i.twMerge)((0,a.default)((0,f.default)(V.input),(0,f.default)(B[(0,l.default)(X.colors,d,"gray")])),_),re=(0,i.twMerge)((0,a.default)((0,f.default)(V.circle),B[(0,l.default)(X.colors,d,"gray")].circle,B[(0,l.default)(X.colors,d,"gray")].before),E==null?void 0:E.className),pe=(0,a.default)((0,f.default)(V.ripple)),ue=(0,i.twMerge)((0,a.default)((0,f.default)(V.label)),M==null?void 0:M.className);return r.default.createElement("div",{ref:u,className:ne},r.default.createElement("div",P({},T,{className:ce}),r.default.createElement("input",P({},N,{ref:A,type:"checkbox",disabled:k,id:N.id||q,className:se})),r.default.createElement("label",P({},E,{htmlFor:N.id||q,className:re}),v&&r.default.createElement("div",{className:pe,onMouseDown:function(oe){var fe=T==null?void 0:T.onMouseDown;return v&&Y.create(oe,"dark"),typeof fe=="function"&&fe(oe)}}))),h&&r.default.createElement("label",P({},M,{htmlFor:N.id||q,className:ue}),h))});y.propTypes={color:n.default.oneOf(m.propTypesColor),label:m.propTypesLabel,ripple:m.propTypesRipple,className:m.propTypesClassName,disabled:m.propTypesDisabled,containerProps:m.propTypesObject,labelProps:m.propTypesObject,circleProps:m.propTypesObject},y.displayName="MaterialTailwind.Switch";var c=y})(f8);var p8={},Hl={},ni={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{propTypesId:function(){return a},propTypesValue:function(){return i},propTypesAnimate:function(){return l},propTypesDisabled:function(){return f},propTypesClassName:function(){return g},propTypesOrientation:function(){return m},propTypesIndicator:function(){return w},propTypesChildren:function(){return P}});var r=o(Ee),n=st;function o(O){return O&&O.__esModule?O:{default:O}}var a=r.default.string,i=r.default.oneOfType([r.default.string,r.default.number]).isRequired,l=n.propTypesAnimation,f=r.default.bool,g=r.default.string,m=r.default.oneOf(["horizontal","vertical"]),w=r.default.instanceOf(Object),P=r.default.node.isRequired})(ni);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(T,E){for(var M in E)Object.defineProperty(T,M,{enumerable:!0,get:E[M]})}t(e,{TabsContext:function(){return y},useTabs:function(){return c},TabsContextProvider:function(){return s},setId:function(){return u},setActive:function(){return d},setAnimation:function(){return h},setIndicator:function(){return v},setIsInitial:function(){return _},setOrientation:function(){return k}});var r=l(F),n=ni;function o(T,E){(E==null||E>T.length)&&(E=T.length);for(var M=0,A=new Array(E);M=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.value,d=c.className,h=c.activeClassName,v=c.disabled,_=c.children,k=O(c,["value","className","activeClassName","disabled","children"]),T=(0,l.useTheme)(),E=T.tab,M=E.defaultProps,A=E.styles.base,N=(0,f.useTabs)(),D=N.state,$=N.dispatch,G=D.id,X=D.active,H=D.indicatorProps;v=v??M.disabled,d=(0,a.twMerge)(M.className||"",d),h=(0,a.twMerge)(M.activeClassName||"",h);var V,B=(0,a.twMerge)((0,o.default)((0,i.default)(A.tab.initial),(V={},m(V,(0,i.default)(A.tab.disabled),v),m(V,h,X===u),V)),d),q,Y=(0,a.twMerge)((0,o.default)((0,i.default)(A.indicator)),(q=H==null?void 0:H.className)!==null&&q!==void 0?q:"");return r.default.createElement("li",w({},k,{ref:s,role:"tab",className:B,onClick:function(ne){var ce=k==null?void 0:k.onClick;typeof ce=="function"&&((0,f.setActive)($,u),(0,f.setIsInitial)($,!1),ce(ne)),(0,f.setIsInitial)($,!1),(0,f.setActive)($,u)},"data-value":u}),r.default.createElement("div",{className:"z-20 text-inherit"},_),X===u&&r.default.createElement(n.motion.div,w({},H,{transition:{duration:.5},className:Y,layoutId:G})))});b.propTypes={value:g.propTypesValue,className:g.propTypesClassName,disabled:g.propTypesDisabled,children:g.propTypesChildren},b.displayName="MaterialTailwind.Tab";var y=b})(h8);var g8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{TabsBody:function(){return b},default:function(){return y}});var r=P(F),n=Ht,o=P(Yt),a=P(Ae),i=Oe,l=P(Se),f=Ce,g=Hl,m=ni;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.animate,d=c.className,h=c.children,v=O(c,["animate","className","children"]),_=(0,f.useTheme)().tabsBody,k=_.defaultProps,T=_.styles.base,E=(0,g.useTabs)().dispatch;u=u??k.animate,d=(0,i.twMerge)(k.className||"",d);var M=(0,i.twMerge)((0,a.default)((0,l.default)(T)),d),A=r.default.useMemo(function(){return{initial:{opacity:0,position:"absolute",top:"0",left:"0",zIndex:1,transition:{duration:0}},unmount:{opacity:0,position:"absolute",top:"0",left:"0",zIndex:1,transition:{duration:.5,times:[.4,0,.2,1]}},mount:{opacity:1,position:"relative",zIndex:2,transition:{duration:.5,times:[.4,0,.2,1]}}}},[]),N=r.default.useMemo(function(){return(0,o.default)(A,u)},[u,A]);return(0,n.useIsomorphicLayoutEffect)(function(){(0,g.setAnimation)(E,N)},[N,E]),r.default.createElement("div",w({},v,{ref:s,className:M}),h)});b.propTypes={animate:m.propTypesAnimate,className:m.propTypesClassName,children:m.propTypesChildren},b.displayName="MaterialTailwind.TabsBody";var y=b})(g8);var m8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{TabsHeader:function(){return C},default:function(){return b}});var r=w(F),n=w(Ae),o=Oe,a=w(Se),i=Ce,l=Hl,f=ni;function g(y,c,s){return c in y?Object.defineProperty(y,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):y[c]=s,y}function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.indicatorProps,u=y.className,d=y.children,h=P(y,["indicatorProps","className","children"]),v=(0,i.useTheme)().tabsHeader,_=v.defaultProps,k=v.styles,T=(0,l.useTabs)(),E=T.state,M=T.dispatch,A=E.orientation;r.default.useEffect(function(){(0,l.setIndicator)(M,s)},[M,s]),u=(0,o.twMerge)(_.className||"",u);var N=(0,o.twMerge)((0,n.default)((0,a.default)(k.base),g({},k[A]&&(0,a.default)(k[A]),A)),u);return r.default.createElement("nav",null,r.default.createElement("ul",m({},h,{ref:c,role:"tablist",className:N}),d))});C.propTypes={indicatorProps:f.propTypesIndicator,className:f.propTypesClassName,children:f.propTypesChildren},C.displayName="MaterialTailwind.TabsHeader";var b=C})(m8);var v8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{TabPanel:function(){return C},default:function(){return b}});var r=w(F),n=Ht,o=w(Ae),a=Oe,i=w(Se),l=Ce,f=Hl,g=ni;function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.value,u=y.className,d=y.children,h=P(y,["value","className","children"]),v=(0,l.useTheme)().tabPanel,_=v.defaultProps,k=v.styles.base,T=(0,f.useTabs)().state,E=T.active,M=T.appliedAnimation,A=T.isInitial;u=(0,a.twMerge)(_.className||"",u);var N=(0,a.twMerge)((0,o.default)((0,i.default)(k)),u),D=n.AnimatePresence;return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement(D,{exitBeforeEnter:!0},r.default.createElement(n.m.div,m({},h,{ref:c,role:"tabpanel",className:N,initial:"unmount",exit:"unmount",animate:E===s?"mount":A?"initial":"unmount",variants:M,"data-value":s}),d)))});C.propTypes={value:g.propTypesValue,className:g.propTypesClassName,children:g.propTypesChildren},C.displayName="MaterialTailwind.TabPanel";var b=C})(v8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{Tabs:function(){return s},Tab:function(){return f.Tab},TabsBody:function(){return g.TabsBody},TabsHeader:function(){return m.TabsHeader},TabPanel:function(){return w.TabPanel},useTabs:function(){return l.useTabs},default:function(){return u}});var r=b(F),n=b(Ae),o=Oe,a=b(Se),i=Ce,l=Hl,f=h8,g=g8,m=m8,w=v8,P=ni;function O(d,h,v){return h in d?Object.defineProperty(d,h,{value:v,enumerable:!0,configurable:!0,writable:!0}):d[h]=v,d}function C(){return C=Object.assign||function(d){for(var h=1;h=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function c(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}var s=r.default.forwardRef(function(d,h){var v=d.value,_=d.className,k=d.orientation,T=d.children,E=y(d,["value","className","orientation","children"]),M=(0,i.useTheme)().tabs,A=M.defaultProps,N=M.styles,D=r.default.useId();k=k??A.orientation,_=(0,o.twMerge)(A.className||"",_);var $=(0,o.twMerge)((0,n.default)((0,a.default)(N.base),O({},N[k]&&(0,a.default)(N[k]),k)),_);return r.default.createElement(l.TabsContextProvider,{id:D,value:v,orientation:k},r.default.createElement("div",C({},E,{ref:h,className:$}),T))});s.propTypes={id:P.propTypesId,value:P.propTypesValue,className:P.propTypesClassName,orientation:P.propTypesOrientation,children:P.propTypesChildren},s.displayName="MaterialTailwind.Tabs";var u=Object.assign(s,{Tab:f.Tab,Body:g.TabsBody,Header:m.TabsHeader,Panel:w.TabPanel})})(p8);var b8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Textarea:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=P(ht),i=P(Se),l=Ce,f=Yu,g=Oe;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.color,h=c.size,v=c.label,_=c.error,k=c.success,T=c.resize,E=c.labelProps,M=c.containerProps,A=c.shrink,N=c.className,D=O(c,["variant","color","size","label","error","success","resize","labelProps","containerProps","shrink","className"]),$=(0,l.useTheme)().textarea,G=$.defaultProps,X=$.valid,H=$.styles,V=H.base,B=H.variants;u=u??G.variant,h=h??G.size,d=d??G.color,v=v??G.label,E=E??G.labelProps,M=M??G.containerProps,A=A??G.shrink,N=(0,g.twMerge)(G.className||"",N);var q=B[(0,a.default)(X.variants,u,"outlined")],Y=(0,i.default)(q.error.textarea),ne=(0,i.default)(q.success.textarea),ce=(0,i.default)(q.shrink.textarea),se=(0,i.default)(q.colors.textarea[(0,a.default)(X.colors,d,"gray")]),re=(0,i.default)(q.error.label),pe=(0,i.default)(q.success.label),ue=(0,i.default)(q.shrink.label),oe=(0,i.default)(q.colors.label[(0,a.default)(X.colors,d,"gray")]),fe=(0,o.default)((0,i.default)(V.container),M==null?void 0:M.className),le=(0,o.default)((0,i.default)(V.textarea),(0,i.default)(q.base.textarea),(0,i.default)(q.sizes[(0,a.default)(X.sizes,h,"md")].textarea),m({},se,!_&&!k),m({},Y,_),m({},ne,k),m({},ce,A),T?"":"!resize-none",N),ae=(0,o.default)((0,i.default)(V.label),(0,i.default)(q.base.label),(0,i.default)(q.sizes[(0,a.default)(X.sizes,h,"md")].label),m({},oe,!_&&!k),m({},re,_),m({},pe,k),m({},ue,A),E==null?void 0:E.className),ge=(0,o.default)((0,i.default)(V.asterisk));return r.default.createElement("div",{ref:s,className:fe},r.default.createElement("textarea",w({},D,{className:le,placeholder:(D==null?void 0:D.placeholder)||" "})),r.default.createElement("label",{className:ae},v," ",D.required?r.default.createElement("span",{className:ge},"*"):""))});b.propTypes={variant:n.default.oneOf(f.propTypesVariant),size:n.default.oneOf(f.propTypesSize),color:n.default.oneOf(f.propTypesColor),label:f.propTypesLabel,error:f.propTypesError,success:f.propTypesSuccess,resize:f.propTypesResize,labelProps:f.propTypesLabelProps,containerProps:f.propTypesContainerProps,shrink:f.propTypesShrink,className:f.propTypesClassName},b.displayName="MaterialTailwind.Textarea";var y=b})(b8);var y8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(A,N){for(var D in N)Object.defineProperty(A,D,{enumerable:!0,get:N[D]})}t(e,{Tooltip:function(){return E},default:function(){return M}});var r=y(F),n=y(Ee),o=Ft,a=Ht,i=y(Ae),l=Oe,f=y(Yt),g=y(Se),m=Ce,w=Bl;function P(A,N){(N==null||N>A.length)&&(N=A.length);for(var D=0,$=new Array(N);D=0)&&Object.prototype.propertyIsEnumerable.call(A,$)&&(D[$]=A[$])}return D}function _(A,N){if(A==null)return{};var D={},$=Object.keys(A),G,X;for(X=0;X<$.length;X++)G=$[X],!(N.indexOf(G)>=0)&&(D[G]=A[G]);return D}function k(A,N){return O(A)||c(A,N)||T(A,N)||s()}function T(A,N){if(A){if(typeof A=="string")return P(A,N);var D=Object.prototype.toString.call(A).slice(8,-1);if(D==="Object"&&A.constructor&&(D=A.constructor.name),D==="Map"||D==="Set")return Array.from(D);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return P(A,N)}}var E=r.default.forwardRef(function(A,N){var D=A.open,$=A.handler,G=A.content,X=A.interactive,H=A.placement,V=A.offset,B=A.dismiss,q=A.animate,Y=A.className,ne=A.children,ce=v(A,["open","handler","content","interactive","placement","offset","dismiss","animate","className","children"]),se=(0,m.useTheme)().tooltip,re=se.defaultProps,pe=se.styles.base,ue=k(r.default.useState(!1),2),oe=ue[0],fe=ue[1];D=D??oe,$=$??fe,X=X??re.interactive,H=H??re.placement,V=V??re.offset,B=B??re.dismiss,q=q??re.animate,Y=(0,l.twMerge)(re.className||"",Y);var le=(0,l.twMerge)((0,i.default)((0,g.default)(pe)),Y),ae={unmount:{opacity:0},mount:{opacity:1}},ge=(0,f.default)(ae,q),ve=(0,o.useFloating)({open:D,onOpenChange:$,middleware:[(0,o.offset)(V),(0,o.flip)(),(0,o.shift)()],placement:H}),be=ve.x,Pe=ve.y,Le=ve.reference,Xe=ve.floating,mt=ve.strategy,ze=ve.refs,Ye=ve.update,xt=ve.context,Lt=(0,o.useInteractions)([(0,o.useClick)(xt,{enabled:X}),(0,o.useFocus)(xt),(0,o.useHover)(xt),(0,o.useRole)(xt,{role:"tooltip"}),(0,o.useDismiss)(xt,B)]),ut=Lt.getReferenceProps,We=Lt.getFloatingProps;r.default.useEffect(function(){if(ze.reference.current&&ze.floating.current&&D)return(0,o.autoUpdate)(ze.reference.current,ze.floating.current,Ye)},[D,Ye,ze.reference,ze.floating]);var ur=(0,o.useMergeRefs)([N,Xe]),Jt=(0,o.useMergeRefs)([N,Le]),vr=a.AnimatePresence;return r.default.createElement(r.default.Fragment,null,typeof ne=="string"?r.default.createElement("span",b({},ut({ref:Jt})),ne):r.default.cloneElement(ne,u({},ut(h(u({},ne==null?void 0:ne.props),{ref:Jt})))),r.default.createElement(a.LazyMotion,{features:a.domAnimation},r.default.createElement(o.FloatingPortal,null,r.default.createElement(vr,null,D&&r.default.createElement(a.m.div,b({},We(h(u({},ce),{ref:ur,className:le,style:{position:mt,top:Pe??"",left:be??""}})),{initial:"unmount",exit:"unmount",animate:D?"mount":"unmount",variants:ge}),G)))))});E.propTypes={open:w.propTypesOpen,handler:w.propTypesHandler,content:w.propTypesContent,interactive:w.propTypesInteractive,placement:n.default.oneOf(w.propTypesPlacement),offset:w.propTypesOffset,dismiss:w.propTypesDismiss,animate:w.propTypesAnimate,className:w.propTypesClassName,children:w.propTypesChildren},E.displayName="MaterialTailwind.Tooltip";var M=E})(y8);var w8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(u,d){for(var h in d)Object.defineProperty(u,h,{enumerable:!0,get:d[h]})}t(e,{Typography:function(){return c},default:function(){return s}});var r=w(F),n=w(Ee),o=w(Ae),a=Oe,i=w(ht),l=w(Se),f=Ce,g=ty;function m(u,d,h){return d in u?Object.defineProperty(u,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):u[d]=h,u}function w(u){return u&&u.__esModule?u:{default:u}}function P(u){for(var d=1;d=0)&&Object.prototype.propertyIsEnumerable.call(u,v)&&(h[v]=u[v])}return h}function y(u,d){if(u==null)return{};var h={},v=Object.keys(u),_,k;for(k=0;k=0)&&(h[_]=u[_]);return h}var c=r.default.forwardRef(function(u,d){var h=u.variant,v=u.color,_=u.textGradient,k=u.as,T=u.className,E=u.children,M=b(u,["variant","color","textGradient","as","className","children"]),A=(0,f.useTheme)().typography,N=A.defaultProps,D=A.valid,$=A.styles,G=$.variants,X=$.colors,H=$.textGradient;h=h??N.variant,v=v??N.color,_=_||N.textGradient,k=k??void 0,T=(0,a.twMerge)(N.className||"",T);var V=(0,l.default)(G[(0,i.default)(D.variants,h,"paragraph")]),B=X[(0,i.default)(D.colors,v,"inherit")],q=(0,l.default)(H),Y=(0,a.twMerge)((0,o.default)(V,m({},B.color,!_),m({},q,_),m({},B.gradient,_)),T),ne;switch(h){case"h1":ne=r.default.createElement(k||"h1",C(P({},M),{ref:d,className:Y}),E);break;case"h2":ne=r.default.createElement(k||"h2",C(P({},M),{ref:d,className:Y}),E);break;case"h3":ne=r.default.createElement(k||"h3",C(P({},M),{ref:d,className:Y}),E);break;case"h4":ne=r.default.createElement(k||"h4",C(P({},M),{ref:d,className:Y}),E);break;case"h5":ne=r.default.createElement(k||"h5",C(P({},M),{ref:d,className:Y}),E);break;case"h6":ne=r.default.createElement(k||"h6",C(P({},M),{ref:d,className:Y}),E);break;case"lead":ne=r.default.createElement(k||"p",C(P({},M),{ref:d,className:Y}),E);break;case"paragraph":ne=r.default.createElement(k||"p",C(P({},M),{ref:d,className:Y}),E);break;case"small":ne=r.default.createElement(k||"p",C(P({},M),{ref:d,className:Y}),E);break;default:ne=r.default.createElement(k||"p",C(P({},M),{ref:d,className:Y}),E);break}return ne});c.propTypes={variant:n.default.oneOf(g.propTypesVariant),color:n.default.oneOf(g.propTypesColor),as:g.propTypesAs,textGradient:g.propTypesTextGradient,className:g.propTypesClassName,children:g.propTypesChildren},c.displayName="MaterialTailwind.Typography";var s=c})(w8);var _8={},x8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(g,m){for(var w in m)Object.defineProperty(g,w,{enumerable:!0,get:m[w]})}t(e,{propTypesClassName:function(){return a},propTypesChildren:function(){return i},propTypesOpen:function(){return l},propTypesAnimate:function(){return f}});var r=o(Ee),n=st;function o(g){return g&&g.__esModule?g:{default:g}}var a=r.default.string,i=r.default.node.isRequired,l=r.default.bool.isRequired,f=n.propTypesAnimation})(x8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{Collapse:function(){return b},default:function(){return y}});var r=P(F),n=Ht,o=Ft,a=P(Yt),i=P(Ae),l=Oe,f=P(Se),g=Ce,m=x8;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.open,d=c.animate,h=c.className,v=c.children,_=O(c,["open","animate","className","children"]),k=r.default.useRef(null),T=(0,g.useTheme)().collapse,E=T.styles,M=E.base;d=d??{},h=h??"";var A=(0,l.twMerge)((0,i.default)((0,f.default)(M)),h),N={unmount:{height:"0px",transition:{duration:.3,times:[.4,0,.2,1]}},mount:{height:"auto",transition:{duration:.3,times:[.4,0,.2,1]}}},D=(0,a.default)(N,d),$=n.AnimatePresence,G=(0,o.useMergeRefs)([s,k]);return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement($,null,r.default.createElement(n.m.div,w({},_,{ref:G,className:A,initial:"unmount",exit:"unmount",animate:u?"mount":"unmount",variants:D}),v)))});b.displayName="MaterialTailwind.Collapse",b.propTypes={open:m.propTypesOpen,animate:m.propTypesAnimate,className:m.propTypesClassName,children:m.propTypesChildren};var y=b})(_8);var C8={},lc={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(g,m){for(var w in m)Object.defineProperty(g,w,{enumerable:!0,get:m[w]})}t(e,{propTypesClassName:function(){return o},propTypesDisabled:function(){return a},propTypesSelected:function(){return i},propTypesRipple:function(){return l},propTypesChildren:function(){return f}});var r=n(Ee);function n(g){return g&&g.__esModule?g:{default:g}}var o=r.default.string,a=r.default.bool,i=r.default.bool,l=r.default.bool,f=r.default.node.isRequired})(lc);var P8={},Uy={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{ListItemPrefix:function(){return P},default:function(){return O}});var r=g(F),n=Ce,o=g(Ae),a=Oe,i=g(Se),l=lc;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,n.useTheme)().list,d=u.styles.base,h=(0,a.twMerge)((0,o.default)((0,i.default)(d.itemPrefix)),y);return r.default.createElement("div",f({},s,{ref:b,className:h}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.ListItemPrefix";var O=P})(Uy);var Wy={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{ListItemSuffix:function(){return P},default:function(){return O}});var r=g(F),n=Ce,o=g(Ae),a=Oe,i=g(Se),l=lc;function f(){return f=Object.assign||function(C){for(var b=1;b=0)&&Object.prototype.propertyIsEnumerable.call(C,c)&&(y[c]=C[c])}return y}function w(C,b){if(C==null)return{};var y={},c=Object.keys(C),s,u;for(u=0;u=0)&&(y[s]=C[s]);return y}var P=r.default.forwardRef(function(C,b){var y=C.className,c=C.children,s=m(C,["className","children"]),u=(0,n.useTheme)().list,d=u.styles.base,h=(0,a.twMerge)((0,o.default)((0,i.default)(d.itemSuffix)),y);return r.default.createElement("div",f({},s,{ref:b,className:h}),c)});P.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},P.displayName="MaterialTailwind.ListItemSuffix";var O=P})(Wy);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{ListItem:function(){return y},ListItemPrefix:function(){return g.ListItemPrefix},ListItemSuffix:function(){return m.ListItemSuffix},default:function(){return c}});var r=O(F),n=Ce,o=O(Vl),a=O(Ae),i=Oe,l=O(Se),f=lc,g=Uy,m=Wy;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.className,h=s.disabled,v=s.selected,_=s.ripple,k=s.children,T=C(s,["className","disabled","selected","ripple","children"]),E=(0,n.useTheme)().list,M=E.defaultProps,A=E.styles.base;_=_??M.ripple;var N=_!==void 0&&new o.default,D,$=(0,i.twMerge)((0,a.default)((0,l.default)(A.item.initial),(D={},w(D,(0,l.default)(A.item.disabled),h),w(D,(0,l.default)(A.item.selected),v&&!h),D)),d);return r.default.createElement("div",P({},T,{ref:u,role:"button",tabIndex:0,className:$,onMouseDown:function(G){var X=T==null?void 0:T.onMouseDown;return _&&N.create(G,"dark"),typeof X=="function"&&X(G)}}),k)});y.propTypes={className:f.propTypesClassName,selected:f.propTypesSelected,disabled:f.propTypesDisabled,ripple:f.propTypesRipple,children:f.propTypesChildren},y.displayName="MaterialTailwind.ListItem";var c=Object.assign(y,{Prefix:g.ListItemPrefix,Suffix:m.ListItemSuffix})})(P8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{List:function(){return b},ListItem:function(){return f.ListItem},ListItemPrefix:function(){return g.ListItemPrefix},ListItemSuffix:function(){return m.ListItemSuffix},default:function(){return y}});var r=P(F),n=Ce,o=P(Ae),a=Oe,i=P(Se),l=lc,f=P8,g=Uy,m=Wy;function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.className,d=c.children,h=O(c,["className","children"]),v=(0,n.useTheme)().list,_=v.defaultProps,k=v.styles.base;u=(0,a.twMerge)(_.className||"",u);var T=(0,a.twMerge)((0,o.default)((0,i.default)(k.list)),u);return r.default.createElement("nav",w({},h,{ref:s,className:T}),d)});b.propTypes={className:l.propTypesClassName,children:l.propTypesChildren},b.displayName="MaterialTailwind.List";var y=Object.assign(b,{Item:f.ListItem,ItemPrefix:g.ListItemPrefix,ItemSuffix:m.ListItemSuffix})})(C8);var O8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,s){for(var u in s)Object.defineProperty(c,u,{enumerable:!0,get:s[u]})}t(e,{ButtonGroup:function(){return b},default:function(){return y}});var r=P(F),n=P(Ee),o=P(Ae),a=Oe,i=P(ht),l=P(Se),f=Ce,g=Ja;function m(c,s,u){return s in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c}function w(){return w=Object.assign||function(c){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function C(c,s){if(c==null)return{};var u={},d=Object.keys(c),h,v;for(v=0;v=0)&&(u[h]=c[h]);return u}var b=r.default.forwardRef(function(c,s){var u=c.variant,d=c.size,h=c.color,v=c.fullWidth,_=c.ripple,k=c.className,T=c.children,E=O(c,["variant","size","color","fullWidth","ripple","className","children"]),M=(0,f.useTheme)().buttonGroup,A=M.defaultProps,N=M.styles,D=M.valid,$=N.base,G=N.dividerColor;u=u??A.variant,d=d??A.size,h=h??A.color,_=_??A.ripple,v=v??A.fullWidth,k=(0,a.twMerge)(A.className||"",k);var X,H=(0,a.twMerge)((0,o.default)((0,l.default)($.initial),(X={},m(X,(0,l.default)($.fullWidth),v),m(X,"divide-x",u!=="outlined"),m(X,(0,l.default)(G[(0,i.default)(D.colors,h,"gray")]),u!=="outlined"),X)),k);return r.default.createElement("div",w({},E,{ref:s,className:H}),r.default.Children.map(T,function(V,B){var q;return r.default.isValidElement(V)&&r.default.cloneElement(V,{variant:u,size:d,color:h,ripple:_,fullWidth:v,className:(0,a.twMerge)((0,o.default)({"rounded-r-none":B!==r.default.Children.count(T)-1,"border-r-0":B!==r.default.Children.count(T)-1,"rounded-l-none":B!==0}),(q=V.props)===null||q===void 0?void 0:q.className)})}))});b.propTypes={variant:n.default.oneOf(g.propTypesVariant),size:n.default.oneOf(g.propTypesSize),color:n.default.oneOf(g.propTypesColor),fullWidth:g.propTypesFullWidth,ripple:g.propTypesRipple,className:g.propTypesClassName,children:g.propTypesChildren},b.displayName="MaterialTailwind.ButtonGroup";var y=b})(O8);var S8={},T8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C,b){for(var y in b)Object.defineProperty(C,y,{enumerable:!0,get:b[y]})}t(e,{propTypesClassName:function(){return o},propTypesPrevArrow:function(){return a},propTypesNextArrow:function(){return i},propTypesNavigation:function(){return l},propTypesAutoplay:function(){return f},propTypesAutoplayDelay:function(){return g},propTypesTransition:function(){return m},propTypesLoop:function(){return w},propTypesChildren:function(){return P},propTypesSlideRef:function(){return O}});var r=n(Ee);function n(C){return C&&C.__esModule?C:{default:C}}var o=r.default.string,a=r.default.func,i=r.default.func,l=r.default.func,f=r.default.bool,g=r.default.number,m=r.default.object,w=r.default.bool,P=r.default.node.isRequired,O=r.default.oneOfType([r.default.func,r.default.shape({current:r.default.any})])})(T8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(v,_){for(var k in _)Object.defineProperty(v,k,{enumerable:!0,get:_[k]})}t(e,{Carousel:function(){return d},default:function(){return h}});var r=O(F),n=Ht,o=Ft,a=O(Ae),i=Oe,l=O(Se),f=Ce,g=T8;function m(v,_){(_==null||_>v.length)&&(_=v.length);for(var k=0,T=new Array(_);k<_;k++)T[k]=v[k];return T}function w(v){if(Array.isArray(v))return v}function P(){return P=Object.assign||function(v){for(var _=1;_=0)&&Object.prototype.propertyIsEnumerable.call(v,T)&&(k[T]=v[T])}return k}function c(v,_){if(v==null)return{};var k={},T=Object.keys(v),E,M;for(M=0;M=0)&&(k[E]=v[E]);return k}function s(v,_){return w(v)||C(v,_)||u(v,_)||b()}function u(v,_){if(v){if(typeof v=="string")return m(v,_);var k=Object.prototype.toString.call(v).slice(8,-1);if(k==="Object"&&v.constructor&&(k=v.constructor.name),k==="Map"||k==="Set")return Array.from(k);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return m(v,_)}}var d=r.default.forwardRef(function(v,_){var k=v.children,T=v.prevArrow,E=v.nextArrow,M=v.navigation,A=v.autoplay,N=v.autoplayDelay,D=v.transition,$=v.loop,G=v.className,X=v.slideRef,H=y(v,["children","prevArrow","nextArrow","navigation","autoplay","autoplayDelay","transition","loop","className","slideRef"]),V=(0,f.useTheme)().carousel,B=V.defaultProps,q=V.styles.base,Y=(0,n.useMotionValue)(0),ne=r.default.useRef(null),ce=s(r.default.useState(0),2),se=ce[0],re=ce[1],pe=r.default.Children.toArray(k);T=T??B.prevArrow,E=E??B.nextArrow,M=M??B.navigation,A=A??B.autoplay,N=N??B.autoplayDelay,D=D??B.transition,$=$??B.loop,G=(0,i.twMerge)(B.className||"",G);var ue=(0,i.twMerge)((0,a.default)((0,l.default)(q.carousel)),G),oe=(0,i.twMerge)((0,a.default)((0,l.default)(q.slide))),fe=r.default.useCallback(function(){var ve;return-se*(((ve=ne.current)===null||ve===void 0?void 0:ve.clientWidth)||0)},[se]),le=r.default.useCallback(function(){var ve=$?0:se;re(se+1===pe.length?ve:se+1)},[se,$,pe.length]),ae=function(){var ve=$?pe.length-1:0;re(se-1<0?ve:se-1)};r.default.useEffect(function(){var ve=(0,n.animate)(Y,fe(),D);return ve.stop},[fe,se,Y,D]),r.default.useEffect(function(){window.addEventListener("resize",function(){(0,n.animate)(Y,fe(),D)})},[fe,D,Y]),r.default.useEffect(function(){if(A){var ve=setInterval(function(){return le()},N);return function(){return clearInterval(ve)}}},[A,le,N]);var ge=(0,o.useMergeRefs)([ne,_]);return r.default.createElement("div",P({},H,{ref:ge,className:ue}),pe.map(function(ve,be){return r.default.createElement(n.LazyMotion,{key:be,features:n.domAnimation},r.default.createElement(n.m.div,{ref:X,className:oe,style:{x:Y,left:"".concat(be*100,"%"),right:"".concat(be*100,"%")}},ve))}),T&&T({loop:$,handlePrev:ae,activeIndex:se,firstIndex:se===0}),E&&E({loop:$,handleNext:le,activeIndex:se,lastIndex:se===pe.length-1}),M&&M({setActiveIndex:re,activeIndex:se,length:pe.length}))});d.propTypes={className:g.propTypesClassName,children:g.propTypesChildren,nextArrow:g.propTypesNextArrow,prevArrow:g.propTypesPrevArrow,navigation:g.propTypesNavigation,autoplay:g.propTypesAutoplay,autoplayDelay:g.propTypesAutoplayDelay,transition:g.propTypesTransition,loop:g.propTypesLoop,slideRef:g.propTypesSlideRef},d.displayName="MaterialTailwind.Carousel";var h=d})(S8);var E8={},k8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{propTypesOpen:function(){return a},propTypesSize:function(){return i},propTypesOverlay:function(){return l},propTypesChildren:function(){return f},propTypesPlacement:function(){return g},propTypesOverlayProps:function(){return m},propTypesClassName:function(){return w},propTypesOnClose:function(){return P},propTypesDismiss:function(){return O},propTypesTransition:function(){return C},propTypesOverlayRef:function(){return b}});var r=o(Ee),n=st;function o(y){return y&&y.__esModule?y:{default:y}}var a=r.default.bool.isRequired,i=r.default.number,l=r.default.bool,f=r.default.node.isRequired,g=["top","right","bottom","left"],m=r.default.object,w=r.default.string,P=r.default.func,O=n.propTypesDismissType,C=r.default.object,b=r.default.oneOfType([r.default.func,r.default.shape({current:r.default.any})])})(k8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{Drawer:function(){return s},default:function(){return u}});var r=C(F),n=C(Ee),o=Ht,a=Ft,i=C(Yt),l=C(Ae),f=Oe,g=C(Se),m=Ce,w=k8;function P(d,h,v){return h in d?Object.defineProperty(d,h,{value:v,enumerable:!0,configurable:!0,writable:!0}):d[h]=v,d}function O(){return O=Object.assign||function(d){for(var h=1;h=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function c(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}var s=r.default.forwardRef(function(d,h){var v=d.open,_=d.size,k=d.overlay,T=d.children,E=d.placement,M=d.overlayProps,A=d.className,N=d.onClose,D=d.dismiss,$=d.transition,G=d.overlayRef,X=y(d,["open","size","overlay","children","placement","overlayProps","className","onClose","dismiss","transition","overlayRef"]),H=(0,m.useTheme)().drawer,V=H.defaultProps,B=H.styles.base,q=(0,o.useAnimation)();_=_??V.size,k=k??V.overlay,E=E??V.placement,M=M??V.overlayProps,N=N??V.onClose;var Y;D=(Y=(0,i.default)(V.dismiss,D||{}))!==null&&Y!==void 0?Y:V.dismiss,$=$??V.transition,A=(0,f.twMerge)(V.className||"",A);var ne=(0,f.twMerge)((0,l.default)((0,g.default)(B.drawer),{"top-0 right-0":E==="right","bottom-0 left-0":E==="bottom","top-0 left-0":E==="top"||E==="left"}),A),ce=(0,f.twMerge)((0,l.default)((0,g.default)(B.overlay)),M==null?void 0:M.className),se=(0,a.useFloating)({open:v,onOpenChange:N}).context,re=(0,a.useInteractions)([(0,a.useDismiss)(se,D)]).getFloatingProps;r.default.useEffect(function(){q.start(v?"open":"close")},[v,q,E]);var pe={open:{x:0,y:0},close:{x:E==="left"?-_:E==="right"?_:0,y:E==="top"?-_:E==="bottom"?_:0}},ue={unmount:{opacity:0,transition:{delay:.3}},mount:{opacity:1}};return r.default.createElement(r.default.Fragment,null,r.default.createElement(o.LazyMotion,{features:o.domAnimation},r.default.createElement(o.AnimatePresence,null,k&&v&&r.default.createElement(o.m.div,{ref:G,className:ce,initial:"unmount",exit:"unmount",animate:v?"mount":"unmount",variants:ue,transition:{duration:.3}})),r.default.createElement(o.m.div,O({},re(b({ref:h},X)),{className:ne,style:{maxWidth:E==="left"||E==="right"?_:"100%",maxHeight:E==="top"||E==="bottom"?_:"100%",height:E==="left"||E==="right"?"100vh":"100%"},initial:"close",animate:q,variants:pe,transition:$}),T)))});s.propTypes={open:w.propTypesOpen,size:w.propTypesSize,overlay:w.propTypesOverlay,children:w.propTypesChildren,placement:n.default.oneOf(w.propTypesPlacement),overlayProps:w.propTypesOverlayProps,className:w.propTypesClassName,onClose:w.propTypesOnClose,dismiss:w.propTypesDismiss,transition:w.propTypesTransition,overlayRef:w.propTypesOverlayRef},s.displayName="MaterialTailwind.Drawer";var u=s})(E8);var R8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Badge:function(){return y},default:function(){return c}});var r=O(F),n=O(Ee),o=O(Yt),a=O(Ae),i=Oe,l=O(ht),f=O(Se),g=Ce,m=ry;function w(s,u,d){return u in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s}function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.color,h=s.invisible,v=s.withBorder,_=s.overlap,k=s.placement,T=s.className,E=s.content,M=s.children,A=s.containerProps,N=s.containerRef,D=C(s,["color","invisible","withBorder","overlap","placement","className","content","children","containerProps","containerRef"]),$=(0,g.useTheme)().badge,G=$.valid,X=$.defaultProps,H=$.styles,V=H.base,B=H.placements,q=H.colors;d=d??X.color,h=h??X.invisible,v=v??X.withBorder,_=_??X.overlap,k=k??X.placement,T=(0,i.twMerge)(X.className||"",T);var Y;A=(Y=(0,o.default)(A,X.containerProps||{}))!==null&&Y!==void 0?Y:X.containerProps;var ne=(0,f.default)(V.badge.initial),ce=(0,f.default)(V.badge.withBorder),se=(0,f.default)(V.badge.withContent),re=(0,f.default)(q[(0,l.default)(G.colors,d,"red")]),pe=(0,f.default)(B[(0,l.default)(G.placements,k,"top-end")][(0,l.default)(G.overlaps,_,"square")]),ue,oe=(0,i.twMerge)((0,a.default)(ne,pe,re,(ue={},w(ue,ce,v),w(ue,se,E),ue)),T),fe=(0,i.twMerge)((0,a.default)((0,f.default)(V.container),A==null?void 0:A.className));return r.default.createElement("div",P({ref:N},A,{className:fe}),M,!h&&r.default.createElement("span",P({},D,{ref:u,className:oe}),E))});y.propTypes={color:n.default.oneOf(m.propTypesColor),invisible:m.propTypesInvisible,withBorder:m.propTypesWithBorder,overlap:n.default.oneOf(m.propTypesOverlap),className:m.propTypesClassName,content:m.propTypesContent,children:m.propTypesChildren,placement:n.default.oneOf(m.propTypesPlacement),containerProps:m.propTypesContainerProps,containerRef:m.propTypesContainerRef},y.displayName="MaterialTailwind.Badge";var c=y})(R8);var M8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(E,M){for(var A in M)Object.defineProperty(E,A,{enumerable:!0,get:M[A]})}t(e,{Rating:function(){return k},default:function(){return T}});var r=C(F),n=C(Ee),o=C(Ae),a=Oe,i=C(ht),l=C(Se),f=Ce,g=ny;function m(E,M){(M==null||M>E.length)&&(M=E.length);for(var A=0,N=new Array(M);A=0)&&Object.prototype.propertyIsEnumerable.call(E,N)&&(A[N]=E[N])}return A}function d(E,M){if(E==null)return{};var A={},N=Object.keys(E),D,$;for($=0;$=0)&&(A[D]=E[D]);return A}function h(E,M){return w(E)||y(E,M)||_(E,M)||c()}function v(E){return P(E)||b(E)||_(E)||s()}function _(E,M){if(E){if(typeof E=="string")return m(E,M);var A=Object.prototype.toString.call(E).slice(8,-1);if(A==="Object"&&E.constructor&&(A=E.constructor.name),A==="Map"||A==="Set")return Array.from(A);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return m(E,M)}}var k=r.default.forwardRef(function(E,M){var A=E.count,N=E.value,D=E.ratedIcon,$=E.unratedIcon,G=E.ratedColor,X=E.unratedColor,H=E.className,V=E.onChange,B=E.readonly,q=u(E,["count","value","ratedIcon","unratedIcon","ratedColor","unratedColor","className","onChange","readonly"]),Y,ne,ce=(0,f.useTheme)().rating,se=ce.valid,re=ce.defaultProps,pe=ce.styles,ue=pe.base,oe=pe.colors;A=A??re.count,N=N??re.value,D=D??re.ratedIcon,D=D??re.ratedIcon,$=$??re.unratedIcon,G=G??re.ratedColor,X=X??re.unratedColor,V=V??re.onChange,B=B??re.readonly,H=(0,a.twMerge)(re.className||"",H);var fe=h(r.default.useState(function(){return v(Array(N).fill("rated")).concat(v(Array(A-N).fill("un_rated")))}),2),le=fe[0],ae=fe[1],ge=h(r.default.useState(function(){return v(Array(A).fill("un_rated"))}),2),ve=ge[0],be=ge[1],Pe=h(r.default.useState(!1),2),Le=Pe[0],Xe=Pe[1],mt=(0,l.default)(oe[(0,i.default)(se.colors,G,"yellow")]),ze=(0,l.default)(oe[(0,i.default)(se.colors,X,"blue-gray")]),Ye=(0,a.twMerge)((0,o.default)((0,l.default)(ue.rating),H)),xt=(0,l.default)(ue.icon),Lt=D,ut=$,We=r.default.isValidElement(D)&&r.default.cloneElement(Lt,{className:(0,a.twMerge)((0,o.default)(xt,mt,Lt==null||(Y=Lt.props)===null||Y===void 0?void 0:Y.className))}),ur=r.default.isValidElement(D)&&r.default.cloneElement(ut,{className:(0,a.twMerge)((0,o.default)(xt,ze,ut==null||(ne=ut.props)===null||ne===void 0?void 0:ne.className))}),Jt=!r.default.isValidElement(D)&&r.default.createElement(D,{className:(0,a.twMerge)((0,o.default)(xt,mt))}),vr=!r.default.isValidElement(D)&&r.default.createElement($,{className:(0,a.twMerge)((0,o.default)(xt,ze))}),Rn=function(ai){return ai.map(function(br,Rr){return r.default.createElement("span",{key:Rr,onClick:function(){if(!B){var Mn=le.map(function(Br,An){return An<=Rr?"rated":"un_rated"});ae(Mn),V&&typeof V=="function"&&V(Mn.filter(function(Br){return Br==="rated"}).length)}},onMouseEnter:function(){if(!B){var Mn=ve.map(function(Br,An){return An<=Rr?"rated":"un_rated"});Xe(!0),be(Mn)}},onMouseLeave:function(){return!B&&Xe(!1)}},r.default.isValidElement(br==="rated"?D:$)?br==="rated"?We:ur:br==="rated"?Jt:vr)})};return r.default.createElement("div",O({},q,{ref:M,className:Ye}),Rn(Le?ve:le))});k.propTypes={count:g.propTypesCount,value:g.propTypesValue,ratedIcon:g.propTypesRatedIcon,unratedIcon:g.propTypesUnratedIcon,ratedColor:n.default.oneOf(g.propTypesColor),unratedColor:n.default.oneOf(g.propTypesColor),className:g.propTypesClassName,onChange:g.propTypesOnChange,readonly:g.propTypesReadonly},k.displayName="MaterialTailwind.Rating";var T=k})(M8);var A8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(_,k){for(var T in k)Object.defineProperty(_,T,{enumerable:!0,get:k[T]})}t(e,{Slider:function(){return h},default:function(){return v}});var r=C(F),n=C(Ee),o=C(Yt),a=C(Ae),i=Oe,l=C(ht),f=C(Se),g=Ce,m=oy;function w(_,k){(k==null||k>_.length)&&(k=_.length);for(var T=0,E=new Array(k);T=0)&&Object.prototype.propertyIsEnumerable.call(_,E)&&(T[E]=_[E])}return T}function s(_,k){if(_==null)return{};var T={},E=Object.keys(_),M,A;for(A=0;A=0)&&(T[M]=_[M]);return T}function u(_,k){return P(_)||b(_,k)||d(_,k)||y()}function d(_,k){if(_){if(typeof _=="string")return w(_,k);var T=Object.prototype.toString.call(_).slice(8,-1);if(T==="Object"&&_.constructor&&(T=_.constructor.name),T==="Map"||T==="Set")return Array.from(T);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return w(_,k)}}var h=r.default.forwardRef(function(_,k){var T=_.color,E=_.size,M=_.className,A=_.trackClassName,N=_.thumbClassName,D=_.barClassName,$=_.value,G=_.defaultValue,X=_.onChange,H=_.min,V=_.max,B=_.step,q=_.inputRef,Y=_.inputProps,ne=c(_,["color","size","className","trackClassName","thumbClassName","barClassName","value","defaultValue","onChange","min","max","step","inputRef","inputProps"]),ce=(0,g.useTheme)().slider,se=ce.valid,re=ce.defaultProps,pe=ce.styles,ue=pe.base,oe=pe.sizes,fe=pe.colors,le=u(r.default.useState(G||0),2),ae=le[0],ge=le[1];r.default.useMemo(function(){G&&ge(G)},[G]),T=T??re.color,E=E??re.size,H=H??re.min,V=V??re.max,B=B??re.step,M=(0,i.twMerge)(re.className||"",M);var ve;N=(ve=(0,a.default)(re.thumbClassName,N))!==null&&ve!==void 0?ve:re.thumbClassName;var be;A=(be=(0,a.default)(re.trackClassName,A))!==null&&be!==void 0?be:re.trackClassName;var Pe;D=(Pe=(0,a.default)(re.barClassName,D))!==null&&Pe!==void 0?Pe:re.barClassName;var Le;Y=(Le=(0,o.default)(Y,(re==null?void 0:re.inputProps)||{}))!==null&&Le!==void 0?Le:re.inputProps;var Xe=(0,i.twMerge)((0,a.default)((0,f.default)(ue.container),(0,f.default)(fe[(0,l.default)(se.colors,T,"gray")]),(0,f.default)(oe[(0,l.default)(se.sizes,E,"md")].container),M)),mt=(0,i.twMerge)((0,a.default)((0,f.default)(ue.bar),D)),ze=(0,a.default)((0,f.default)(ue.track),(0,f.default)(oe[(0,l.default)(se.sizes,E,"md")].track)),Ye=(0,a.default)((0,f.default)(ue.thumb),(0,f.default)(oe[(0,l.default)(se.sizes,E,"md")].thumb)),xt=(0,a.default)((0,f.default)(ue.slider),(0,i.twMerge)(ze,A),(0,i.twMerge)(Ye,N));return r.default.createElement("div",O({},ne,{ref:k,className:Xe}),r.default.createElement("label",{className:mt,style:{width:"".concat($||ae,"%")}}),r.default.createElement("input",O({ref:q,type:"range",max:V,min:H,step:B,className:xt},$?{value:$}:null,{defaultValue:G,onChange:function(Lt){return X?X(Lt):ge(Number(Lt.target.value))}})))});h.propTypes={color:n.default.oneOf(m.propTypesColor),size:n.default.oneOf(m.propTypesSize),className:m.propTypesClassName,trackClassName:m.propTypesTrackClassName,thumbClassName:m.propTypesThumbClassName,barClassName:m.propTypesBarClassName,defaultValue:m.propTypesDefaultValue,value:m.propTypesValue,onChange:m.propTypesOnChange,min:m.propTypesMin,max:m.propTypesMax,step:m.propTypesStep,inputRef:m.propTypesInputRef,inputProps:m.propTypesInputProps},h.displayName="MaterialTailwind.Slider";var v=h})(A8);var I8={},sc={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,v){for(var _ in v)Object.defineProperty(h,_,{enumerable:!0,get:v[_]})}t(e,{useTimelineItem:function(){return s},TimelineItem:function(){return u},default:function(){return d}});var r=m(F),n=Oe,o=m(Se),a=Ce,i=Oo;function l(h,v){(v==null||v>h.length)&&(v=h.length);for(var _=0,k=new Array(v);_=0)&&Object.prototype.propertyIsEnumerable.call(h,k)&&(_[k]=h[k])}return _}function C(h,v){if(h==null)return{};var _={},k=Object.keys(h),T,E;for(E=0;E=0)&&(_[T]=h[T]);return _}function b(h,v){return f(h)||w(h,v)||y(h,v)||P()}function y(h,v){if(h){if(typeof h=="string")return l(h,v);var _=Object.prototype.toString.call(h).slice(8,-1);if(_==="Object"&&h.constructor&&(_=h.constructor.name),_==="Map"||_==="Set")return Array.from(_);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return l(h,v)}}var c=r.default.createContext(0);c.displayName="MaterialTailwind.TimelineItemContext";function s(){var h=r.default.useContext(c);if(!h)throw new Error("useTimelineItemContext() must be used within a TimelineItem. It happens when you use TimelineIcon, TimelineConnector or TimelineBody components outside the TimelineItem component.");return h}var u=r.default.forwardRef(function(h,v){var _=h.className,k=h.children,T=O(h,["className","children"]),E=(0,a.useTheme)().timelineItem,M=E.styles,A=M.base,N=b(r.default.useState(0),2),D=N[0],$=N[1],G=r.default.useMemo(function(){return[D,$]},[D,$]),X=(0,n.twMerge)((0,o.default)(A),_);return r.default.createElement(c.Provider,{value:G},r.default.createElement("li",g({ref:v},T,{className:X}),k))});u.propTypes={className:i.propTypeClassName,children:i.propTypeChildren.isRequired},u.displayName="MaterialTailwind.TimelineItem";var d=u})(sc);var N8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(_,k){for(var T in k)Object.defineProperty(_,T,{enumerable:!0,get:k[T]})}t(e,{TimelineIcon:function(){return h},default:function(){return v}});var r=C(F),n=C(Ee),o=Ft,a=Oe,i=C(ht),l=C(Se),f=Ce,g=sc,m=Oo;function w(_,k){(k==null||k>_.length)&&(k=_.length);for(var T=0,E=new Array(k);T=0)&&Object.prototype.propertyIsEnumerable.call(_,E)&&(T[E]=_[E])}return T}function s(_,k){if(_==null)return{};var T={},E=Object.keys(_),M,A;for(A=0;A=0)&&(T[M]=_[M]);return T}function u(_,k){return P(_)||b(_,k)||d(_,k)||y()}function d(_,k){if(_){if(typeof _=="string")return w(_,k);var T=Object.prototype.toString.call(_).slice(8,-1);if(T==="Object"&&_.constructor&&(T=_.constructor.name),T==="Map"||T==="Set")return Array.from(T);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return w(_,k)}}var h=r.default.forwardRef(function(_,k){var T=_.color,E=_.variant,M=_.className,A=_.children,N=c(_,["color","variant","className","children"]),D=(0,f.useTheme)().timelineIcon,$=D.styles,G=D.valid,X=$.base,H=$.variants,V=u((0,g.useTimelineItem)(),2),B=V[1],q=r.default.useRef(null),Y=(0,o.useMergeRefs)([k,q]);r.default.useEffect(function(){var se=q.current;if(se){var re=se.getBoundingClientRect().width;return B(re),function(){B(0)}}},[B,M,A]);var ne=(0,l.default)(H[(0,i.default)(G.variants,E,"filled")][(0,i.default)(G.colors,T,"gray")]),ce=(0,a.twMerge)((0,l.default)(X),ne,M);return r.default.createElement("span",O({ref:Y},N,{className:ce}),A)});h.propTypes={children:m.propTypeChildren,className:m.propTypeClassName,color:n.default.oneOf(m.propTypeColor),variant:n.default.oneOf(m.propTypeVariant)},h.displayName="MaterialTailwind.TimelineIcon";var v=h})(N8);var j8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{TimelineHeader:function(){return s},default:function(){return u}});var r=w(F),n=Oe,o=w(Se),a=Ce,i=sc,l=Oo;function f(d,h){(h==null||h>d.length)&&(h=d.length);for(var v=0,_=new Array(h);v=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function b(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}function y(d,h){return g(d)||P(d,h)||c(d,h)||O()}function c(d,h){if(d){if(typeof d=="string")return f(d,h);var v=Object.prototype.toString.call(d).slice(8,-1);if(v==="Object"&&d.constructor&&(v=d.constructor.name),v==="Map"||v==="Set")return Array.from(v);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return f(d,h)}}var s=r.default.forwardRef(function(d,h){var v=d.className,_=d.children,k=C(d,["className","children"]),T=(0,a.useTheme)().timelineBody,E=T.styles,M=E.base,A=y((0,i.useTimelineItem)(),1),N=A[0],D=(0,n.twMerge)((0,o.default)(M),v);return r.default.createElement("div",m({},k,{ref:h,className:D}),r.default.createElement("span",{className:"pointer-events-none invisible h-full flex-shrink-0",style:{width:"".concat(N,"px")}}),r.default.createElement("div",null,_))});s.propTypes={children:l.propTypeChildren,className:l.propTypeClassName},s.displayName="MaterialTailwind.TimelineHeader";var u=s})(j8);var D8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{TimelineHeader:function(){return w},default:function(){return P}});var r=f(F),n=Oe,o=f(Se),a=Ce,i=Oo;function l(){return l=Object.assign||function(O){for(var C=1;C=0)&&Object.prototype.propertyIsEnumerable.call(O,y)&&(b[y]=O[y])}return b}function m(O,C){if(O==null)return{};var b={},y=Object.keys(O),c,s;for(s=0;s=0)&&(b[c]=O[c]);return b}var w=r.default.forwardRef(function(O,C){var b=O.className,y=O.children,c=g(O,["className","children"]),s=(0,a.useTheme)().timelineHeader,u=s.styles,d=u.base,h=(0,n.twMerge)((0,o.default)(d),b);return r.default.createElement("div",l({},c,{ref:C,className:h}),y)});w.propTypes={children:i.propTypeChildren,className:i.propTypeClassName},w.displayName="MaterialTailwind.TimelineHeader";var P=w})(D8);var F8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,h){for(var v in h)Object.defineProperty(d,v,{enumerable:!0,get:h[v]})}t(e,{TimelineConnector:function(){return s},default:function(){return u}});var r=w(F),n=Oe,o=w(Se),a=Ce,i=sc,l=Oo;function f(d,h){(h==null||h>d.length)&&(h=d.length);for(var v=0,_=new Array(h);v=0)&&Object.prototype.propertyIsEnumerable.call(d,_)&&(v[_]=d[_])}return v}function b(d,h){if(d==null)return{};var v={},_=Object.keys(d),k,T;for(T=0;T<_.length;T++)k=_[T],!(h.indexOf(k)>=0)&&(v[k]=d[k]);return v}function y(d,h){return g(d)||P(d,h)||c(d,h)||O()}function c(d,h){if(d){if(typeof d=="string")return f(d,h);var v=Object.prototype.toString.call(d).slice(8,-1);if(v==="Object"&&d.constructor&&(v=d.constructor.name),v==="Map"||v==="Set")return Array.from(v);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return f(d,h)}}var s=r.default.forwardRef(function(d,h){var v=d.className,_=d.children,k=C(d,["className","children"]),T,E=(0,a.useTheme)().timelineConnector,M=E.styles,A=M.base,N=y((0,i.useTimelineItem)(),1),D=N[0],$=(0,o.default)(A.line),G=(0,n.twMerge)((0,o.default)(A.container),v);return r.default.createElement("span",m({},k,{ref:h,className:G,style:{top:"".concat(D,"px"),width:"".concat(D,"px"),opacity:D?1:0,height:"calc(100% - ".concat(D,"px)")}}),_&&r.default.isValidElement(_)?r.default.cloneElement(_,{className:(0,n.twMerge)($,(T=_.props)===null||T===void 0?void 0:T.className)}):r.default.createElement("span",{className:$}))});s.propTypes={children:l.propTypeChildren,className:l.propTypeClassName},s.displayName="MaterialTailwind.TimelineConnector";var u=s})(F8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,u){for(var d in u)Object.defineProperty(s,d,{enumerable:!0,get:u[d]})}t(e,{Timeline:function(){return y},TimelineItem:function(){return l.default},TimelineIcon:function(){return f.default},TimelineBody:function(){return g.default},TimelineHeader:function(){return m.default},TimelineConnector:function(){return w.default},default:function(){return c}});var r=O(F),n=Oe,o=O(Se),a=Ce,i=Oo,l=O(sc),f=O(N8),g=O(j8),m=O(D8),w=O(F8);function P(){return P=Object.assign||function(s){for(var u=1;u=0)&&Object.prototype.propertyIsEnumerable.call(s,h)&&(d[h]=s[h])}return d}function b(s,u){if(s==null)return{};var d={},h=Object.keys(s),v,_;for(_=0;_=0)&&(d[v]=s[v]);return d}var y=r.default.forwardRef(function(s,u){var d=s.className,h=s.children,v=C(s,["className","children"]),_=(0,a.useTheme)().timeline,k=_.styles,T=k.base,E=(0,n.twMerge)((0,o.default)(T),d);return r.default.createElement("ul",P({ref:u},v,{className:E}),h)});y.propTypes={className:i.propTypeClassName,children:i.propTypeChildren},y.displayName="MaterialTailwind.Timeline";var c=Object.assign(y,{Item:l.default,Icon:f.default,Header:m.default,Body:g.default,Connector:w.default})})(I8);var L8={},z8={},By={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(g,m){for(var w in m)Object.defineProperty(g,w,{enumerable:!0,get:m[w]})}t(e,{propTypesActiveStep:function(){return o},propTypesIsLastStep:function(){return a},propTypesIsFirstStep:function(){return i},propTypesChildren:function(){return l},propTypesClassName:function(){return f}});var r=n(Ee);function n(g){return g&&g.__esModule?g:{default:g}}var o=r.default.number,a=r.default.func,i=r.default.func,l=r.default.node,f=r.default.string})(By);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{Step:function(){return w},default:function(){return P}});var r=f(F),n=Oe,o=f(Se),a=Ce,i=By;function l(){return l=Object.assign||function(O){for(var C=1;C=0)&&Object.prototype.propertyIsEnumerable.call(O,y)&&(b[y]=O[y])}return b}function m(O,C){if(O==null)return{};var b={},y=Object.keys(O),c,s;for(s=0;s=0)&&(b[c]=O[c]);return b}var w=r.default.forwardRef(function(O,C){var b=O.className;O.activeClassName,O.completedClassName;var y=O.children,c=g(O,["className","activeClassName","completedClassName","children"]),s=(0,a.useTheme)().step,u=s.styles.base,d=(0,n.twMerge)((0,o.default)(u.initial),b);return r.default.createElement("div",l({},c,{ref:C,className:d}),y)});w.propTypes={className:i.propTypesClassName,activeClassName:i.propTypesClassName,completedClassName:i.propTypesClassName,children:i.propTypesChildren},w.displayName="MaterialTailwind.Step";var P=w})(z8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(T,E){for(var M in E)Object.defineProperty(T,M,{enumerable:!0,get:E[M]})}t(e,{Stepper:function(){return _},Step:function(){return l.default},default:function(){return k}});var r=O(F),n=Ft,o=Oe,a=O(Se),i=Ce,l=O(z8),f=By;function g(T,E){(E==null||E>T.length)&&(E=T.length);for(var M=0,A=new Array(E);M=0)&&Object.prototype.propertyIsEnumerable.call(T,A)&&(M[A]=T[A])}return M}function d(T,E){if(T==null)return{};var M={},A=Object.keys(T),N,D;for(D=0;D=0)&&(M[N]=T[N]);return M}function h(T,E){return m(T)||C(T,E)||v(T,E)||b()}function v(T,E){if(T){if(typeof T=="string")return g(T,E);var M=Object.prototype.toString.call(T).slice(8,-1);if(M==="Object"&&T.constructor&&(M=T.constructor.name),M==="Map"||M==="Set")return Array.from(M);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return g(T,E)}}var _=r.default.forwardRef(function(T,E){var M=T.activeStep,A=T.isFirstStep,N=T.isLastStep,D=T.className,$=T.lineClassName,G=T.activeLineClassName,X=T.children,H=u(T,["activeStep","isFirstStep","isLastStep","className","lineClassName","activeLineClassName","children"]),V=(0,i.useTheme)(),B=V.stepper,q=V.step,Y=B.styles.base,ne=q.styles,ce=ne.base,se=r.default.useRef(null),re=h(r.default.useState(0),2),pe=re[0],ue=re[1],oe=M===0,fe=Array.isArray(X)&&M===X.length-1,le=Array.isArray(X)&&M>X.length-1;r.default.useEffect(function(){if(se.current){var Xe=X,mt=se.current.getBoundingClientRect().width,ze=mt/(Xe.length-1);ue(ze)}},[X]);var ae=r.default.useMemo(function(){if(!le)return pe*M},[M,le,pe]);(0,n.useMergeRefs)([E,se]);var ge=(0,o.twMerge)((0,a.default)(Y.stepper),D),ve=(0,o.twMerge)((0,a.default)(Y.line.initial),$),be=(0,o.twMerge)(ve,(0,a.default)(Y.line.active),G),Pe=(0,a.default)(ce.active),Le=(0,a.default)(ce.completed);return r.default.useEffect(function(){N&&typeof N=="function"&&N(fe),A&&typeof A=="function"&&A(oe)},[A,oe,N,fe]),r.default.createElement("div",P({},H,{ref:se,className:ge}),r.default.createElement("div",{className:ve}),r.default.createElement("div",{className:be,style:{width:"".concat(ae,"px")}}),Array.isArray(X)?X.map(function(Xe,mt){var ze,Ye;return r.default.cloneElement(Xe,s(y({key:mt},Xe.props),{className:(0,o.twMerge)(Xe.props.className,mt===M?(0,o.twMerge)(Pe,(ze=Xe.props)===null||ze===void 0?void 0:ze.activeClassName):mt=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.children,u=P(y,["children"]),d,h=(0,o.useSpeedDial)(),v=h.getReferenceProps,_=h.refs,k=(0,n.useMergeRefs)([c,_.setReference]);return r.default.cloneElement(s,g({},v(w(g({},u),{ref:k,className:(0,a.twMerge)(s==null||(d=s.props)===null||d===void 0?void 0:d.className,u==null?void 0:u.className)}))))});C.propTypes={children:i.propTypesChildren},C.displayName="MaterialTailwind.SpeedDialHandler";var b=C}(wg)),wg}var _g={},Z_;function sH(){return Z_||(Z_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(y,c){for(var s in c)Object.defineProperty(y,s,{enumerable:!0,get:c[s]})}t(e,{SpeedDialContent:function(){return C},default:function(){return b}});var r=w(F),n=Ht,o=Ft,a=Hy(),i=Ce,l=Oe,f=w(Se),g=uc;function m(){return m=Object.assign||function(y){for(var c=1;c=0)&&Object.prototype.propertyIsEnumerable.call(y,u)&&(s[u]=y[u])}return s}function O(y,c){if(y==null)return{};var s={},u=Object.keys(y),d,h;for(h=0;h=0)&&(s[d]=y[d]);return s}var C=r.default.forwardRef(function(y,c){var s=y.children,u=y.className,d=P(y,["children","className"]),h=(0,i.useTheme)(),v=h.speedDialContent.styles,_=(0,a.useSpeedDial)(),k=_.x,T=_.y,E=_.refs,M=_.open,A=_.strategy,N=_.getFloatingProps,D=_.animation,$=(0,o.useMergeRefs)([c,E.setFloating]),G=(0,l.twMerge)((0,f.default)(v),u),X=n.AnimatePresence;return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement(X,null,M&&r.default.createElement("div",m({},d,{ref:$,className:G,style:{position:A,top:T??0,left:k??0}},N()),r.default.Children.map(s,function(H){return r.default.createElement(n.m.div,{initial:"unmount",exit:"unmount",animate:M?"mount":"unmount",variants:D},H)}))))});C.propTypes={children:g.propTypesChildren,className:g.propTypesClassName},C.displayName="MaterialTailwind.SpeedDialContent";var b=C}(_g)),_g}var V8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(O,C){for(var b in C)Object.defineProperty(O,b,{enumerable:!0,get:C[b]})}t(e,{SpeedDialAction:function(){return w},default:function(){return P}});var r=f(F),n=Ce,o=Oe,a=f(Se),i=uc;function l(){return l=Object.assign||function(O){for(var C=1;C=0)&&Object.prototype.propertyIsEnumerable.call(O,y)&&(b[y]=O[y])}return b}function m(O,C){if(O==null)return{};var b={},y=Object.keys(O),c,s;for(s=0;s=0)&&(b[c]=O[c]);return b}var w=r.default.forwardRef(function(O,C){var b=O.className,y=O.children,c=g(O,["className","children"]),s=(0,n.useTheme)(),u=s.speedDialAction.styles,d=(0,o.twMerge)((0,a.default)(u),b);return r.default.createElement("button",l({},c,{ref:C,className:d}),y)});w.propTypes={children:i.propTypesChildren,className:i.propTypesClassName},w.displayName="SpeedDialAction";var P=w})(V8);var ex;function Hy(){return ex||(ex=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(h,v){for(var _ in v)Object.defineProperty(h,_,{enumerable:!0,get:v[_]})}t(e,{SpeedDialContext:function(){return c},useSpeedDial:function(){return s},SpeedDial:function(){return u},SpeedDialHandler:function(){return l.default},SpeedDialContent:function(){return f.default},SpeedDialAction:function(){return g.default},default:function(){return d}});var r=P(F),n=Ft,o=Ce,a=P(Yt),i=uc,l=P(lH()),f=P(sH()),g=P(V8);function m(h,v){(v==null||v>h.length)&&(v=h.length);for(var _=0,k=new Array(v);_.");return h}function u(h){var v=h.open,_=h.handler,k=h.placement,T=h.offset,E=h.dismiss,M=h.animate,A=h.children,N=(0,o.useTheme)(),D=N.speedDial.defaultProps,$=b(r.default.useState(!1),2),G=$[0],X=$[1];v=v??G,_=_??X,k=k??D.placement,T=T??D.offset,E=E??D.dismiss,M=M??D.animate;var H={unmount:{opacity:0,transform:"scale(0.5)",transition:{duration:.2,times:[.4,0,.2,1]}},mount:{opacity:1,transform:"scale(1)",transition:{duration:.2,times:[.4,0,.2,1]}}},V=(0,a.default)(H,M),B=(0,n.useFloatingNodeId)(),q=(0,n.useFloating)({open:v,nodeId:B,placement:k,onOpenChange:_,whileElementsMounted:n.autoUpdate,middleware:[(0,n.offset)(T),(0,n.flip)(),(0,n.shift)()]}),Y=q.x,ne=q.y,ce=q.strategy,se=q.refs,re=q.context,pe=(0,n.useInteractions)([(0,n.useHover)(re,{handleClose:(0,n.safePolygon)()}),(0,n.useDismiss)(re,E)]),ue=pe.getReferenceProps,oe=pe.getFloatingProps,fe=r.default.useMemo(function(){return{x:Y,y:ne,strategy:ce,refs:se,open:v,context:re,getReferenceProps:ue,getFloatingProps:oe,animation:V}},[re,oe,ue,se,ce,Y,ne,v,V]);return r.default.createElement(c.Provider,{value:fe},r.default.createElement("div",{className:"group"},r.default.createElement(n.FloatingNode,{id:B},A)))}u.propTypes={open:i.propTypesOpen,handler:i.propTypesHanlder,placement:i.propTypesPlacement,offset:i.propTypesOffset,dismiss:i.propTypesDismiss,className:i.propTypesClassName,children:i.propTypesChildren,animate:i.propTypesAnimate},u.displayName="MaterialTailwind.SpeedDial";var d=Object.assign(u,{Handler:l.default,Content:f.default,Action:g.default})}(yg)),yg}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),t(uP,e),t(eT,e),t(tT,e),t(rT,e),t(oT,e),t(aT,e),t(uT,e),t(cT,e),t(dT,e),t(x0,e),t(JT,e),t(QT,e),t(n8,e),t(a8,e),t(s8,e),t(u8,e),t(c8,e),t(f8,e),t(p8,e),t(b8,e),t(y8,e),t(w8,e),t(_8,e),t(C8,e),t(O8,e),t(S8,e),t(E8,e),t(R8,e),t(M8,e),t(A8,e),t(Ey,e),t(I8,e),t(L8,e),t(Hy(),e),t(Ce,e),t(Bb,e);function t(r,n){return Object.keys(r).forEach(function(o){o!=="default"&&!Object.prototype.hasOwnProperty.call(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:function(){return r[o]}})}),r}})(Rs);function uH(){return Z.jsxs("footer",{className:"w-full bg-[#e1f0ff] p-8",children:[Z.jsxs("div",{className:"flex flex-row flex-wrap items-center justify-center gap-y-6 gap-x-12 bg-[#e1f0ff] text-center md:justify-between",children:[Z.jsx("img",{src:"https://docs.material-tailwind.com/img/logo-ct-dark.png",alt:"logo-ct",className:"w-10"}),Z.jsxs("ul",{className:"flex flex-wrap items-center gap-y-2 gap-x-8",children:[Z.jsx("li",{children:Z.jsx(Rs.Typography,{as:"a",href:"about",color:"blue-gray",className:"font-normal transition-colors hover:text-blue-500 focus:text-blue-500",children:"About Us"})}),Z.jsx("li",{children:Z.jsx(Rs.Typography,{as:"a",href:"https://github.com/preston176/AI-Gen",color:"blue-gray",className:"font-normal transition-colors hover:text-blue-500 focus:text-blue-500",children:"Contribute"})}),Z.jsx("li",{children:Z.jsx(Rs.Typography,{as:"a",href:"#",color:"blue-gray",className:"font-normal transition-colors hover:text-blue-500 focus:text-blue-500",children:"Contact Us"})})]})]}),Z.jsx("hr",{className:"my-8 border-blue-gray-50"}),Z.jsx(Rs.Typography,{color:"blue-gray",className:"text-center font-normal",children:"© 2024 AI Gen"})]})}var Or=function(){return Or=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0?Ut(Gl,--un):0,Tl--,Rt===10&&(Tl=1,R0--),Rt}function Sn(){return Rt=un2||lv(Rt)>3?"":" "}function yH(e,t){for(;--t&&Sn()&&!(Rt<48||Rt>102||Rt>57&&Rt<65||Rt>70&&Rt<97););return A0(e,qd()+(t<6&&Na()==32&&Sn()==32))}function sv(e){for(;Sn();)switch(Rt){case e:return un;case 34:case 39:e!==34&&e!==39&&sv(Rt);break;case 40:e===41&&sv(e);break;case 92:Sn();break}return un}function wH(e,t){for(;Sn()&&e+Rt!==57;)if(e+Rt===84&&Na()===47)break;return"/*"+A0(t,un-1)+"*"+qy(e===47?e:Sn())}function _H(e){for(;!lv(Na());)Sn();return A0(e,un)}function xH(e){return vH(Kd("",null,null,null,[""],e=mH(e),0,[0],e))}function Kd(e,t,r,n,o,a,i,l,f){for(var g=0,m=0,w=i,P=0,O=0,C=0,b=1,y=1,c=1,s=0,u="",d=o,h=a,v=n,_=u;y;)switch(C=s,s=Sn()){case 40:if(C!=108&&Ut(_,w-1)==58){Gd(_+=De(xg(s),"&","&\f"),"&\f",W8(g?l[g-1]:0))!=-1&&(c=-1);break}case 34:case 39:case 91:_+=xg(s);break;case 9:case 10:case 13:case 32:_+=bH(C);break;case 92:_+=yH(qd()-1,7);continue;case 47:switch(Na()){case 42:case 47:Is(CH(wH(Sn(),qd()),t,r,f),f);break;default:_+="/"}break;case 123*b:l[g++]=Un(_)*c;case 125*b:case 59:case 0:switch(s){case 0:case 125:y=0;case 59+m:c==-1&&(_=De(_,/\f/g,"")),O>0&&Un(_)-w&&Is(O>32?nx(_+";",n,r,w-1,f):nx(De(_," ","")+";",n,r,w-2,f),f);break;case 59:_+=";";default:if(Is(v=rx(_,t,r,g,m,o,l,u,d=[],h=[],w,a),a),s===123)if(m===0)Kd(_,t,v,v,d,a,w,l,h);else switch(P===99&&Ut(_,3)===110?100:P){case 100:case 108:case 109:case 115:Kd(e,v,v,n&&Is(rx(e,v,v,0,0,o,l,u,o,d=[],w,h),h),o,h,w,l,n?d:h);break;default:Kd(_,v,v,v,[""],h,0,l,h)}}g=m=O=0,b=c=1,u=_="",w=i;break;case 58:w=1+Un(_),O=C;default:if(b<1){if(s==123)--b;else if(s==125&&b++==0&&gH()==125)continue}switch(_+=qy(s),s*b){case 38:c=m>0?1:(_+="\f",-1);break;case 44:l[g++]=(Un(_)-1)*c,c=1;break;case 64:Na()===45&&(_+=xg(Sn())),P=Na(),m=w=Un(u=_+=_H(qd())),s++;break;case 45:C===45&&Un(_)==2&&(b=0)}}return a}function rx(e,t,r,n,o,a,i,l,f,g,m,w){for(var P=o-1,O=o===0?a:[""],C=H8(O),b=0,y=0,c=0;b0?O[s]+" "+u:De(u,/&\f/g,O[s])))&&(f[c++]=d);return M0(e,t,r,o===0?k0:l,f,g,m,w)}function CH(e,t,r,n){return M0(e,t,r,$8,qy(hH()),Sl(e,2,-2),0,n)}function nx(e,t,r,n,o){return M0(e,t,r,Gy,Sl(e,0,n),Sl(e,n+1,-1),n,o)}function q8(e,t,r){switch(fH(e,t)){case 5103:return Qe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Qe+e+e;case 4789:return Zs+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Qe+e+Zs+e+it+e+e;case 5936:switch(Ut(e,t+11)){case 114:return Qe+e+it+De(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Qe+e+it+De(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Qe+e+it+De(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Qe+e+it+e+e;case 6165:return Qe+e+it+"flex-"+e+e;case 5187:return Qe+e+De(e,/(\w+).+(:[^]+)/,Qe+"box-$1$2"+it+"flex-$1$2")+e;case 5443:return Qe+e+it+"flex-item-"+De(e,/flex-|-self/g,"")+(io(e,/flex-|baseline/)?"":it+"grid-row-"+De(e,/flex-|-self/g,""))+e;case 4675:return Qe+e+it+"flex-line-pack"+De(e,/align-content|flex-|-self/g,"")+e;case 5548:return Qe+e+it+De(e,"shrink","negative")+e;case 5292:return Qe+e+it+De(e,"basis","preferred-size")+e;case 6060:return Qe+"box-"+De(e,"-grow","")+Qe+e+it+De(e,"grow","positive")+e;case 4554:return Qe+De(e,/([^-])(transform)/g,"$1"+Qe+"$2")+e;case 6187:return De(De(De(e,/(zoom-|grab)/,Qe+"$1"),/(image-set)/,Qe+"$1"),e,"")+e;case 5495:case 3959:return De(e,/(image-set\([^]*)/,Qe+"$1$`$1");case 4968:return De(De(e,/(.+:)(flex-)?(.*)/,Qe+"box-pack:$3"+it+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Qe+e+e;case 4200:if(!io(e,/flex-|baseline/))return it+"grid-column-align"+Sl(e,t)+e;break;case 2592:case 3360:return it+De(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,io(n.props,/grid-\w+-end/)})?~Gd(e+(r=r[t].value),"span",0)?e:it+De(e,"-start","")+e+it+"grid-row-span:"+(~Gd(r,"span",0)?io(r,/\d+/):+io(r,/\d+/)-+io(e,/\d+/))+";":it+De(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return io(n.props,/grid-\w+-start/)})?e:it+De(De(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return De(e,/(.+)-inline(.+)/,Qe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Un(e)-1-t>6)switch(Ut(e,t+1)){case 109:if(Ut(e,t+4)!==45)break;case 102:return De(e,/(.+:)(.+)-([^]+)/,"$1"+Qe+"$2-$3$1"+Zs+(Ut(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gd(e,"stretch",0)?q8(De(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return De(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,a,i,l,f,g){return it+o+":"+a+g+(i?it+o+"-span:"+(l?f:+f-+a)+g:"")+e});case 4949:if(Ut(e,t+6)===121)return De(e,":",":"+Qe)+e;break;case 6444:switch(Ut(e,Ut(e,14)===45?18:11)){case 120:return De(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Qe+(Ut(e,14)===45?"inline-":"")+"box$3$1"+Qe+"$2$3$1"+it+"$2box$3")+e;case 100:return De(e,":",":"+it)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return De(e,"scroll-","scroll-snap-")+e}return e}function tp(e,t){for(var r="",n=0;n-1&&!e.return)switch(e.type){case Gy:e.return=q8(e.value,e.length,r);return;case U8:return tp([Bo(e,{value:De(e.value,"@","@"+Qe)})],n);case k0:if(e.length)return pH(r=e.props,function(o){switch(io(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Pi(Bo(e,{props:[De(o,/:(read-\w+)/,":"+Zs+"$1")]})),Pi(Bo(e,{props:[o]})),iv(e,{props:tx(r,n)});break;case"::placeholder":Pi(Bo(e,{props:[De(o,/:(plac\w+)/,":"+Qe+"input-$1")]})),Pi(Bo(e,{props:[De(o,/:(plac\w+)/,":"+Zs+"$1")]})),Pi(Bo(e,{props:[De(o,/:(plac\w+)/,it+"input-$1")]})),Pi(Bo(e,{props:[o]})),iv(e,{props:tx(r,n)});break}return""})}}var EH={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ir={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"},El=typeof process<"u"&&Ir!==void 0&&(Ir.REACT_APP_SC_ATTR||Ir.SC_ATTR)||"data-styled",K8="active",X8="data-styled-version",I0="6.1.8",Ky=`/*!sc*/ +`,Xy=typeof window<"u"&&"HTMLElement"in window,kH=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Ir!==void 0&&Ir.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Ir.REACT_APP_SC_DISABLE_SPEEDY!==""?Ir.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Ir.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Ir!==void 0&&Ir.SC_DISABLE_SPEEDY!==void 0&&Ir.SC_DISABLE_SPEEDY!==""&&Ir.SC_DISABLE_SPEEDY!=="false"&&Ir.SC_DISABLE_SPEEDY),N0=Object.freeze([]),kl=Object.freeze({});function RH(e,t,r){return r===void 0&&(r=kl),e.theme!==r.theme&&e.theme||t||r.theme}var Y8=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),MH=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,AH=/(^-|-$)/g;function ox(e){return e.replace(MH,"-").replace(AH,"")}var IH=/(a)(d)/gi,cd=52,ax=function(e){return String.fromCharCode(e+(e>25?39:97))};function uv(e){var t,r="";for(t=Math.abs(e);t>cd;t=t/cd|0)r=ax(t%cd)+r;return(ax(t%cd)+r).replace(IH,"$1-$2")}var Cg,J8=5381,Wi=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Q8=function(e){return Wi(J8,e)};function Z8(e){return uv(Q8(e)>>>0)}function NH(e){return e.displayName||e.name||"Component"}function Pg(e){return typeof e=="string"&&!0}var e7=typeof Symbol=="function"&&Symbol.for,t7=e7?Symbol.for("react.memo"):60115,jH=e7?Symbol.for("react.forward_ref"):60112,DH={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},FH={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},LH=((Cg={})[jH]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Cg[t7]=r7,Cg);function ix(e){return("type"in(t=e)&&t.type.$$typeof)===t7?r7:"$$typeof"in e?LH[e.$$typeof]:DH;var t}var zH=Object.defineProperty,VH=Object.getOwnPropertyNames,lx=Object.getOwnPropertySymbols,$H=Object.getOwnPropertyDescriptor,UH=Object.getPrototypeOf,sx=Object.prototype;function n7(e,t,r){if(typeof t!="string"){if(sx){var n=UH(t);n&&n!==sx&&n7(e,n,r)}var o=VH(t);lx&&(o=o.concat(lx(t)));for(var a=ix(e),i=ix(t),l=0;l0?" Args: ".concat(t.join(", ")):""))}var WH=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,a=o;t>=a;)if((a<<=1)<0)throw cc(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=o;i=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),a=o+n,i=o;i=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(y+="".concat(c,","))}),f+="".concat(C).concat(b,'{content:"').concat(y,'"}').concat(Ky)},m=0;m0?".".concat(t):P},m=f.slice();m.push(function(P){P.type===k0&&P.value.includes("&")&&(P.props[0]=P.props[0].replace(eG,r).replace(n,g))}),i.prefix&&m.push(TH),m.push(PH);var w=function(P,O,C,b){O===void 0&&(O=""),C===void 0&&(C=""),b===void 0&&(b="&"),t=b,r=O,n=new RegExp("\\".concat(r,"\\b"),"g");var y=P.replace(tG,""),c=xH(C||O?"".concat(C," ").concat(O," { ").concat(y," }"):y);i.namespace&&(c=i7(c,i.namespace));var s=[];return tp(c,OH(m.concat(SH(function(u){return s.push(u)})))),s};return w.hash=f.length?f.reduce(function(P,O){return O.name||cc(15),Wi(P,O.name)},J8).toString():"",w}var nG=new a7,fv=rG(),l7=Re.createContext({shouldForwardProp:void 0,styleSheet:nG,stylis:fv});l7.Consumer;Re.createContext(void 0);function cx(){return F.useContext(l7)}var s7=function(){function e(t,r){var n=this;this.inject=function(o,a){a===void 0&&(a=fv);var i=n.name+a.hash;o.hasNameForId(n.id,i)||o.insertRules(n.id,i,a(n.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Jy(this,function(){throw cc(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=fv),this.name+t.hash},e}(),oG=function(e){return e>="A"&&e<="Z"};function dx(e){for(var t="",r=0;r>>0);if(!r.hasNameForId(this.componentId,i)){var l=n(a,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,l)}o=Ra(o,i),this.staticRulesId=i}else{for(var f=Wi(this.baseHash,n.hash),g="",m=0;m>>0);r.hasNameForId(this.componentId,O)||r.insertRules(this.componentId,O,n(g,".".concat(O),void 0,this.componentId)),o=Ra(o,O)}}return o},e}(),d7=Re.createContext(void 0);d7.Consumer;var Og={};function sG(e,t,r){var n=Yy(e),o=e,a=!Pg(e),i=t.attrs,l=i===void 0?N0:i,f=t.componentId,g=f===void 0?function(d,h){var v=typeof d!="string"?"sc":ox(d);Og[v]=(Og[v]||0)+1;var _="".concat(v,"-").concat(Z8(I0+v+Og[v]));return h?"".concat(h,"-").concat(_):_}(t.displayName,t.parentComponentId):f,m=t.displayName,w=m===void 0?function(d){return Pg(d)?"styled.".concat(d):"Styled(".concat(NH(d),")")}(e):m,P=t.displayName&&t.componentId?"".concat(ox(t.displayName),"-").concat(t.componentId):t.componentId||g,O=n&&o.attrs?o.attrs.concat(l).filter(Boolean):l,C=t.shouldForwardProp;if(n&&o.shouldForwardProp){var b=o.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;C=function(d,h){return b(d,h)&&y(d,h)}}else C=b}var c=new lG(r,P,n?o.componentStyle:void 0);function s(d,h){return function(v,_,k){var T=v.attrs,E=v.componentStyle,M=v.defaultProps,A=v.foldedComponentIds,N=v.styledComponentId,D=v.target,$=Re.useContext(d7),G=cx(),X=v.shouldForwardProp||G.shouldForwardProp,H=RH(_,$,M)||kl,V=function(se,re,pe){for(var ue,oe=Or(Or({},re),{className:void 0,theme:pe}),fe=0;fee.$visible?"flex":"none"}; -`,fG="http://www.w3.org/2000/svg",vn=242.776657104492,pG=1.6,hG=J1` +`,fG="http://www.w3.org/2000/svg",vn=242.776657104492,pG=1.6,hG=Qy` 12.5% { stroke-dasharray: ${vn*.14}px, ${vn}px; stroke-dashoffset: -${vn*.11}px; @@ -99,7 +99,7 @@ More details: https://www.material-tailwind.com/docs/react/collapse stroke-dasharray: ${vn*.01}px, ${vn}; stroke-dashoffset: 0; animation: ${hG} ${pG}s linear infinite; -`;const gG=J1` +`;const gG=Qy` to { transform: rotate(360deg); } @@ -153,7 +153,7 @@ to { &:nth-child(12n + 11) { stroke-opacity: 0.92; } -`;const mG=({height:e=80,width:t=80,radius:r=9,color:n=uG,ariaLabel:o="three-dots-loading",wrapperStyle:a,wrapperClass:i,visible:l=!0})=>Q.jsx(dG,{style:a,$visible:l,className:i,"data-testid":"three-dots-loading","aria-label":o,...cG,children:Q.jsxs("svg",{width:t,height:e,viewBox:"0 0 120 30",xmlns:fG,fill:n,"data-testid":"three-dots-svg",children:[Q.jsxs("circle",{cx:"15",cy:"15",r:Number(r)+6,children:[Q.jsx("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),Q.jsx("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]}),Q.jsxs("circle",{cx:"60",cy:"15",r,attributeName:"fill-opacity",from:"1",to:"0.3",children:[Q.jsx("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),Q.jsx("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})]}),Q.jsxs("circle",{cx:"105",cy:"15",r:Number(r)+6,children:[Q.jsx("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),Q.jsx("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]})]})}),vG=J1` +`;const mG=({height:e=80,width:t=80,radius:r=9,color:n=uG,ariaLabel:o="three-dots-loading",wrapperStyle:a,wrapperClass:i,visible:l=!0})=>Z.jsx(dG,{style:a,$visible:l,className:i,"data-testid":"three-dots-loading","aria-label":o,...cG,children:Z.jsxs("svg",{width:t,height:e,viewBox:"0 0 120 30",xmlns:fG,fill:n,"data-testid":"three-dots-svg",children:[Z.jsxs("circle",{cx:"15",cy:"15",r:Number(r)+6,children:[Z.jsx("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),Z.jsx("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]}),Z.jsxs("circle",{cx:"60",cy:"15",r,attributeName:"fill-opacity",from:"1",to:"0.3",children:[Z.jsx("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),Z.jsx("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})]}),Z.jsxs("circle",{cx:"105",cy:"15",r:Number(r)+6,children:[Z.jsx("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),Z.jsx("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]})]})}),vG=Qy` to { stroke-dashoffset: 136; } @@ -162,14 +162,14 @@ to { animation: ${vG} 2.5s cubic-bezier(0.35, 0.04, 0.63, 0.95) infinite; `;oi.svg` transform-origin: 50% 65%; -`;const Ti="4.28.0";let hw=!1,eu,hS,gS,hv,mS,vS,bS,yS,wS;function bG(e,t={auto:!1}){if(hw)throw new Error(`you must \`import 'openai/shims/${e.kind}'\` before importing anything else from openai`);if(eu)throw new Error(`can't \`import 'openai/shims/${e.kind}'\` after \`import 'openai/shims/${eu}'\``);hw=t.auto,eu=e.kind,hS=e.fetch,e.Request,e.Response,e.Headers,gS=e.FormData,e.Blob,hv=e.File,mS=e.ReadableStream,vS=e.getMultipartRequestOptions,bS=e.getDefaultAgent,yS=e.fileFromPath,wS=e.isFsReadStream}class yG{constructor(t){this.body=t}get[Symbol.toStringTag](){return"MultipartBody"}}function wG({manuallyImported:e}={}){const t=e?"You may need to use polyfills":"Add one of these imports before your first `import … from 'openai'`:\n- `import 'openai/shims/node'` (if you're running on Node)\n- `import 'openai/shims/web'` (otherwise)\n";let r,n,o,a;try{r=fetch,n=Request,o=Response,a=Headers}catch(i){throw new Error(`this environment is missing the following Web Fetch API type: ${i.message}. ${t}`)}return{kind:"web",fetch:r,Request:n,Response:o,Headers:a,FormData:typeof FormData<"u"?FormData:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'FormData' is undefined. ${t}`)}},Blob:typeof Blob<"u"?Blob:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'Blob' is undefined. ${t}`)}},File:typeof File<"u"?File:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'File' is undefined. ${t}`)}},ReadableStream:typeof ReadableStream<"u"?ReadableStream:class{constructor(){throw new Error(`streaming isn't supported in this environment yet as 'ReadableStream' is undefined. ${t}`)}},getMultipartRequestOptions:async(i,l)=>({...l,body:new yG(i)}),getDefaultAgent:i=>{},fileFromPath:()=>{throw new Error("The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/openai/openai-node#file-uploads")},isFsReadStream:i=>!1}}eu||bG(wG(),{auto:!0});class Qe extends Error{}class sr extends Qe{constructor(t,r,n,o){super(`${sr.makeMessage(t,r,n)}`),this.status=t,this.headers=o;const a=r;this.error=a,this.code=a==null?void 0:a.code,this.param=a==null?void 0:a.param,this.type=a==null?void 0:a.type}static makeMessage(t,r,n){const o=r!=null&&r.message?typeof r.message=="string"?r.message:JSON.stringify(r.message):r?JSON.stringify(r):n;return t&&o?`${t} ${o}`:t?`${t} status code (no body)`:o||"(no status code or body)"}static generate(t,r,n,o){if(!t)return new jp({cause:mv(r)});const a=r==null?void 0:r.error;return t===400?new _S(t,a,n,o):t===401?new xS(t,a,n,o):t===403?new CS(t,a,n,o):t===404?new PS(t,a,n,o):t===409?new OS(t,a,n,o):t===422?new SS(t,a,n,o):t===429?new TS(t,a,n,o):t>=500?new ES(t,a,n,o):new sr(t,a,n,o)}}class Ha extends sr{constructor({message:t}={}){super(void 0,void 0,t||"Request was aborted.",void 0),this.status=void 0}}class jp extends sr{constructor({message:t,cause:r}){super(void 0,void 0,t||"Connection error.",void 0),this.status=void 0,r&&(this.cause=r)}}class Q1 extends jp{constructor({message:t}={}){super({message:t??"Request timed out."})}}class _S extends sr{constructor(){super(...arguments),this.status=400}}class xS extends sr{constructor(){super(...arguments),this.status=401}}class CS extends sr{constructor(){super(...arguments),this.status=403}}class PS extends sr{constructor(){super(...arguments),this.status=404}}class OS extends sr{constructor(){super(...arguments),this.status=409}}class SS extends sr{constructor(){super(...arguments),this.status=422}}class TS extends sr{constructor(){super(...arguments),this.status=429}}class ES extends sr{}class Qo{constructor(t,r){this.iterator=t,this.controller=r}static fromSSEResponse(t,r){let n=!1;const o=new _G;async function*a(){if(!t.body)throw r.abort(),new Qe("Attempted to iterate over a response with no body");const l=new Ga,f=gw(t.body);for await(const g of f)for(const m of l.decode(g)){const w=o.decode(m);w&&(yield w)}for(const g of l.flush()){const m=o.decode(g);m&&(yield m)}}async function*i(){if(n)throw new Error("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let l=!1;try{for await(const f of a())if(!l){if(f.data.startsWith("[DONE]")){l=!0;continue}if(f.event===null){let g;try{g=JSON.parse(f.data)}catch(m){throw console.error("Could not parse message into JSON:",f.data),console.error("From chunk:",f.raw),m}if(g&&g.error)throw new sr(void 0,g.error,void 0,void 0);yield g}}l=!0}catch(f){if(f instanceof Error&&f.name==="AbortError")return;throw f}finally{l||r.abort()}}return new Qo(i,r)}static fromReadableStream(t,r){let n=!1;async function*o(){const i=new Ga,l=gw(t);for await(const f of l)for(const g of i.decode(f))yield g;for(const f of i.flush())yield f}async function*a(){if(n)throw new Error("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let i=!1;try{for await(const l of o())i||l&&(yield JSON.parse(l));i=!0}catch(l){if(l instanceof Error&&l.name==="AbortError")return;throw l}finally{i||r.abort()}}return new Qo(a,r)}[Symbol.asyncIterator](){return this.iterator()}tee(){const t=[],r=[],n=this.iterator(),o=a=>({next:()=>{if(a.length===0){const i=n.next();t.push(i),r.push(i)}return a.shift()}});return[new Qo(()=>o(t),this.controller),new Qo(()=>o(r),this.controller)]}toReadableStream(){const t=this;let r;const n=new TextEncoder;return new mS({async start(){r=t[Symbol.asyncIterator]()},async pull(o){try{const{value:a,done:i}=await r.next();if(i)return o.close();const l=n.encode(JSON.stringify(a)+` +`;const Ti="4.28.0";let hx=!1,eu,h7,g7,hv,m7,v7,b7,y7,w7;function bG(e,t={auto:!1}){if(hx)throw new Error(`you must \`import 'openai/shims/${e.kind}'\` before importing anything else from openai`);if(eu)throw new Error(`can't \`import 'openai/shims/${e.kind}'\` after \`import 'openai/shims/${eu}'\``);hx=t.auto,eu=e.kind,h7=e.fetch,e.Request,e.Response,e.Headers,g7=e.FormData,e.Blob,hv=e.File,m7=e.ReadableStream,v7=e.getMultipartRequestOptions,b7=e.getDefaultAgent,y7=e.fileFromPath,w7=e.isFsReadStream}class yG{constructor(t){this.body=t}get[Symbol.toStringTag](){return"MultipartBody"}}function wG({manuallyImported:e}={}){const t=e?"You may need to use polyfills":"Add one of these imports before your first `import … from 'openai'`:\n- `import 'openai/shims/node'` (if you're running on Node)\n- `import 'openai/shims/web'` (otherwise)\n";let r,n,o,a;try{r=fetch,n=Request,o=Response,a=Headers}catch(i){throw new Error(`this environment is missing the following Web Fetch API type: ${i.message}. ${t}`)}return{kind:"web",fetch:r,Request:n,Response:o,Headers:a,FormData:typeof FormData<"u"?FormData:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'FormData' is undefined. ${t}`)}},Blob:typeof Blob<"u"?Blob:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'Blob' is undefined. ${t}`)}},File:typeof File<"u"?File:class{constructor(){throw new Error(`file uploads aren't supported in this environment yet as 'File' is undefined. ${t}`)}},ReadableStream:typeof ReadableStream<"u"?ReadableStream:class{constructor(){throw new Error(`streaming isn't supported in this environment yet as 'ReadableStream' is undefined. ${t}`)}},getMultipartRequestOptions:async(i,l)=>({...l,body:new yG(i)}),getDefaultAgent:i=>{},fileFromPath:()=>{throw new Error("The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/openai/openai-node#file-uploads")},isFsReadStream:i=>!1}}eu||bG(wG(),{auto:!0});class Ze extends Error{}class sr extends Ze{constructor(t,r,n,o){super(`${sr.makeMessage(t,r,n)}`),this.status=t,this.headers=o;const a=r;this.error=a,this.code=a==null?void 0:a.code,this.param=a==null?void 0:a.param,this.type=a==null?void 0:a.type}static makeMessage(t,r,n){const o=r!=null&&r.message?typeof r.message=="string"?r.message:JSON.stringify(r.message):r?JSON.stringify(r):n;return t&&o?`${t} ${o}`:t?`${t} status code (no body)`:o||"(no status code or body)"}static generate(t,r,n,o){if(!t)return new j0({cause:mv(r)});const a=r==null?void 0:r.error;return t===400?new _7(t,a,n,o):t===401?new x7(t,a,n,o):t===403?new C7(t,a,n,o):t===404?new P7(t,a,n,o):t===409?new O7(t,a,n,o):t===422?new S7(t,a,n,o):t===429?new T7(t,a,n,o):t>=500?new E7(t,a,n,o):new sr(t,a,n,o)}}class Ha extends sr{constructor({message:t}={}){super(void 0,void 0,t||"Request was aborted.",void 0),this.status=void 0}}class j0 extends sr{constructor({message:t,cause:r}){super(void 0,void 0,t||"Connection error.",void 0),this.status=void 0,r&&(this.cause=r)}}class Zy extends j0{constructor({message:t}={}){super({message:t??"Request timed out."})}}class _7 extends sr{constructor(){super(...arguments),this.status=400}}class x7 extends sr{constructor(){super(...arguments),this.status=401}}class C7 extends sr{constructor(){super(...arguments),this.status=403}}class P7 extends sr{constructor(){super(...arguments),this.status=404}}class O7 extends sr{constructor(){super(...arguments),this.status=409}}class S7 extends sr{constructor(){super(...arguments),this.status=422}}class T7 extends sr{constructor(){super(...arguments),this.status=429}}class E7 extends sr{}class Zo{constructor(t,r){this.iterator=t,this.controller=r}static fromSSEResponse(t,r){let n=!1;const o=new _G;async function*a(){if(!t.body)throw r.abort(),new Ze("Attempted to iterate over a response with no body");const l=new Ga,f=gx(t.body);for await(const g of f)for(const m of l.decode(g)){const w=o.decode(m);w&&(yield w)}for(const g of l.flush()){const m=o.decode(g);m&&(yield m)}}async function*i(){if(n)throw new Error("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let l=!1;try{for await(const f of a())if(!l){if(f.data.startsWith("[DONE]")){l=!0;continue}if(f.event===null){let g;try{g=JSON.parse(f.data)}catch(m){throw console.error("Could not parse message into JSON:",f.data),console.error("From chunk:",f.raw),m}if(g&&g.error)throw new sr(void 0,g.error,void 0,void 0);yield g}}l=!0}catch(f){if(f instanceof Error&&f.name==="AbortError")return;throw f}finally{l||r.abort()}}return new Zo(i,r)}static fromReadableStream(t,r){let n=!1;async function*o(){const i=new Ga,l=gx(t);for await(const f of l)for(const g of i.decode(f))yield g;for(const f of i.flush())yield f}async function*a(){if(n)throw new Error("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let i=!1;try{for await(const l of o())i||l&&(yield JSON.parse(l));i=!0}catch(l){if(l instanceof Error&&l.name==="AbortError")return;throw l}finally{i||r.abort()}}return new Zo(a,r)}[Symbol.asyncIterator](){return this.iterator()}tee(){const t=[],r=[],n=this.iterator(),o=a=>({next:()=>{if(a.length===0){const i=n.next();t.push(i),r.push(i)}return a.shift()}});return[new Zo(()=>o(t),this.controller),new Zo(()=>o(r),this.controller)]}toReadableStream(){const t=this;let r;const n=new TextEncoder;return new m7({async start(){r=t[Symbol.asyncIterator]()},async pull(o){try{const{value:a,done:i}=await r.next();if(i)return o.close();const l=n.encode(JSON.stringify(a)+` `);o.enqueue(l)}catch(a){o.error(a)}},async cancel(){var o;await((o=r.return)==null?void 0:o.call(r))}})}}class _G{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(t){if(t.endsWith("\r")&&(t=t.substring(0,t.length-1)),!t){if(!this.event&&!this.data.length)return null;const a={event:this.event,data:this.data.join(` -`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],a}if(this.chunks.push(t),t.startsWith(":"))return null;let[r,n,o]=xG(t,":");return o.startsWith(" ")&&(o=o.substring(1)),r==="event"?this.event=o:r==="data"&&this.data.push(o),null}}class Ga{constructor(){this.buffer=[],this.trailingCR=!1}decode(t){let r=this.decodeText(t);if(this.trailingCR&&(r="\r"+r,this.trailingCR=!1),r.endsWith("\r")&&(this.trailingCR=!0,r=r.slice(0,-1)),!r)return[];const n=Ga.NEWLINE_CHARS.has(r[r.length-1]||"");let o=r.split(Ga.NEWLINE_REGEXP);return o.length===1&&!n?(this.buffer.push(o[0]),[]):(this.buffer.length>0&&(o=[this.buffer.join("")+o[0],...o.slice(1)],this.buffer=[]),n||(this.buffer=[o.pop()||""]),o)}decodeText(t){if(t==null)return"";if(typeof t=="string")return t;if(typeof Buffer<"u"){if(t instanceof Buffer)return t.toString();if(t instanceof Uint8Array)return Buffer.from(t).toString();throw new Qe(`Unexpected: received non-Uint8Array (${t.constructor.name}) stream chunk in an environment with a global "Buffer" defined, which this library assumes to be Node. Please report this error.`)}if(typeof TextDecoder<"u"){if(t instanceof Uint8Array||t instanceof ArrayBuffer)return this.textDecoder??(this.textDecoder=new TextDecoder("utf8")),this.textDecoder.decode(t);throw new Qe(`Unexpected: received non-Uint8Array/ArrayBuffer (${t.constructor.name}) in a web platform. Please report this error.`)}throw new Qe("Unexpected: neither Buffer nor TextDecoder are available as globals. Please report this error.")}flush(){if(!this.buffer.length&&!this.trailingCR)return[];const t=[this.buffer.join("")];return this.buffer=[],this.trailingCR=!1,t}}Ga.NEWLINE_CHARS=new Set([` -`,"\r","\v","\f","","","","…","\u2028","\u2029"]);Ga.NEWLINE_REGEXP=/\r\n|[\n\r\x0b\x0c\x1c\x1d\x1e\x85\u2028\u2029]/g;function xG(e,t){const r=e.indexOf(t);return r!==-1?[e.substring(0,r),t,e.substring(r+t.length)]:[e,"",""]}function gw(e){if(e[Symbol.asyncIterator])return e;const t=e.getReader();return{async next(){try{const r=await t.read();return r!=null&&r.done&&t.releaseLock(),r}catch(r){throw t.releaseLock(),r}},async return(){const r=t.cancel();return t.releaseLock(),await r,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}const kS=e=>e!=null&&typeof e=="object"&&typeof e.url=="string"&&typeof e.blob=="function",CG=e=>e!=null&&typeof e=="object"&&typeof e.name=="string"&&typeof e.lastModified=="number"&&MS(e),MS=e=>e!=null&&typeof e=="object"&&typeof e.size=="number"&&typeof e.type=="string"&&typeof e.text=="function"&&typeof e.slice=="function"&&typeof e.arrayBuffer=="function",PG=e=>CG(e)||kS(e)||wS(e);async function RS(e,t,r={}){var o;if(e=await e,kS(e)){const a=await e.blob();return t||(t=new URL(e.url).pathname.split(/[\\/]/).pop()??"unknown_file"),new hv([a],t,r)}const n=await OG(e);if(t||(t=TG(e)??"unknown_file"),!r.type){const a=(o=n[0])==null?void 0:o.type;typeof a=="string"&&(r={...r,type:a})}return new hv(n,t,r)}async function OG(e){var r;let t=[];if(typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer)t.push(e);else if(MS(e))t.push(await e.arrayBuffer());else if(EG(e))for await(const n of e)t.push(n);else throw new Error(`Unexpected data type: ${typeof e}; constructor: ${(r=e==null?void 0:e.constructor)==null?void 0:r.name}; props: ${SG(e)}`);return t}function SG(e){return`[${Object.getOwnPropertyNames(e).map(r=>`"${r}"`).join(", ")}]`}function TG(e){var t;return Sg(e.name)||Sg(e.filename)||((t=Sg(e.path))==null?void 0:t.split(/[\\/]/).pop())}const Sg=e=>{if(typeof e=="string")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return String(e)},EG=e=>e!=null&&typeof e=="object"&&typeof e[Symbol.asyncIterator]=="function",mw=e=>e&&typeof e=="object"&&e.body&&e[Symbol.toStringTag]==="MultipartBody",Du=async e=>{const t=await kG(e.body);return vS(t,e)},kG=async e=>{const t=new gS;return await Promise.all(Object.entries(e||{}).map(([r,n])=>gv(t,r,n))),t},gv=async(e,t,r)=>{if(r!==void 0){if(r==null)throw new TypeError(`Received null for "${t}"; to pass null in FormData, you must use the string 'null'`);if(typeof r=="string"||typeof r=="number"||typeof r=="boolean")e.append(t,String(r));else if(PG(r)){const n=await RS(r);e.append(t,n)}else if(Array.isArray(r))await Promise.all(r.map(n=>gv(e,t+"[]",n)));else if(typeof r=="object")await Promise.all(Object.entries(r).map(([n,o])=>gv(e,`${t}[${n}]`,o)));else throw new TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${r} instead`)}};var Zd={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"},MG=function(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r},RG=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},fd;async function AS(e){const{response:t}=e;if(e.options.stream)return rl("response",t.status,t.url,t.headers,t.body),e.options.__streamClass?e.options.__streamClass.fromSSEResponse(t,e.controller):Qo.fromSSEResponse(t,e.controller);if(t.status===204)return null;if(e.options.__binaryResponse)return t;const r=t.headers.get("content-type");if((r==null?void 0:r.includes("application/json"))||(r==null?void 0:r.includes("application/vnd.api+json"))){const a=await t.json();return rl("response",t.status,t.url,t.headers,a),a}const o=await t.text();return rl("response",t.status,t.url,t.headers,o),o}class Dp extends Promise{constructor(t,r=AS){super(n=>{n(null)}),this.responsePromise=t,this.parseResponse=r}_thenUnwrap(t){return new Dp(this.responsePromise,async r=>t(await this.parseResponse(r)))}asResponse(){return this.responsePromise.then(t=>t.response)}async withResponse(){const[t,r]=await Promise.all([this.parse(),this.asResponse()]);return{data:t,response:r}}parse(){return this.parsedPromise||(this.parsedPromise=this.responsePromise.then(this.parseResponse)),this.parsedPromise}then(t,r){return this.parse().then(t,r)}catch(t){return this.parse().catch(t)}finally(t){return this.parse().finally(t)}}class AG{constructor({baseURL:t,maxRetries:r=2,timeout:n=6e5,httpAgent:o,fetch:a}){this.baseURL=t,this.maxRetries=Tg("maxRetries",r),this.timeout=Tg("timeout",n),this.httpAgent=o,this.fetch=a??hS}authHeaders(t){return{}}defaultHeaders(t){return{Accept:"application/json","Content-Type":"application/json","User-Agent":this.getUserAgent(),...LG(),...this.authHeaders(t)}}validateHeaders(t,r){}defaultIdempotencyKey(){return`stainless-node-retry-${UG()}`}get(t,r){return this.methodRequest("get",t,r)}post(t,r){return this.methodRequest("post",t,r)}patch(t,r){return this.methodRequest("patch",t,r)}put(t,r){return this.methodRequest("put",t,r)}delete(t,r){return this.methodRequest("delete",t,r)}methodRequest(t,r,n){return this.request(Promise.resolve(n).then(o=>({method:t,path:r,...o})))}getAPIList(t,r,n){return this.requestAPIList(r,{method:"get",path:t,...n})}calculateContentLength(t){if(typeof t=="string"){if(typeof Buffer<"u")return Buffer.byteLength(t,"utf8").toString();if(typeof TextEncoder<"u")return new TextEncoder().encode(t).length.toString()}return null}buildRequest(t){var C;const{method:r,path:n,query:o,headers:a={}}=t,i=mw(t.body)?t.body.body:t.body?JSON.stringify(t.body,null,2):null,l=this.calculateContentLength(i),f=this.buildURL(n,o);"timeout"in t&&Tg("timeout",t.timeout);const g=t.timeout??this.timeout,m=t.httpAgent??this.httpAgent??bS(f),w=g+1e3;typeof((C=m==null?void 0:m.options)==null?void 0:C.timeout)=="number"&&w>(m.options.timeout??0)&&(m.options.timeout=w),this.idempotencyHeader&&r!=="get"&&(t.idempotencyKey||(t.idempotencyKey=this.defaultIdempotencyKey()),a[this.idempotencyHeader]=t.idempotencyKey);const P=this.buildHeaders({options:t,headers:a,contentLength:l});return{req:{method:r,...i&&{body:i},headers:P,...m&&{agent:m},signal:t.signal??null},url:f,timeout:g}}buildHeaders({options:t,headers:r,contentLength:n}){const o={};n&&(o["content-length"]=n);const a=this.defaultHeaders(t);return ww(o,a),ww(o,r),mw(t.body)&&eu!=="node"&&delete o["content-type"],this.validateHeaders(o,r),o}async prepareOptions(t){}async prepareRequest(t,{url:r,options:n}){}parseHeaders(t){return t?Symbol.iterator in t?Object.fromEntries(Array.from(t).map(r=>[...r])):{...t}:{}}makeStatusError(t,r,n,o){return sr.generate(t,r,n,o)}request(t,r=null){return new Dp(this.makeRequest(t,r))}async makeRequest(t,r){var m,w;const n=await t;r==null&&(r=n.maxRetries??this.maxRetries),await this.prepareOptions(n);const{req:o,url:a,timeout:i}=this.buildRequest(n);if(await this.prepareRequest(o,{url:a,options:n}),rl("request",a,n,o.headers),(m=n.signal)!=null&&m.aborted)throw new Ha;const l=new AbortController,f=await this.fetchWithTimeout(a,o,i,l).catch(mv);if(f instanceof Error){if((w=n.signal)!=null&&w.aborted)throw new Ha;if(r)return this.retryRequest(n,r);throw f.name==="AbortError"?new Q1:new jp({cause:f})}const g=NG(f.headers);if(!f.ok){if(r&&this.shouldRetry(f)){const c=`retrying, ${r} attempts remaining`;return rl(`response (error; ${c})`,f.status,a,g),this.retryRequest(n,r,g)}const P=await f.text().catch(c=>mv(c).message),O=zG(P),C=O?void 0:P;throw rl(`response (error; ${r?"(error; no more retries left)":"(error; not retryable)"})`,f.status,a,g,C),this.makeStatusError(f.status,O,C,g)}return{response:f,options:n,controller:l}}requestAPIList(t,r){const n=this.makeRequest(r,null);return new IG(this,n,t)}buildURL(t,r){const n=$G(t)?new URL(t):new URL(this.baseURL+(this.baseURL.endsWith("/")&&t.startsWith("/")?t.slice(1):t)),o=this.defaultQuery();return jS(o)||(r={...o,...r}),typeof r=="object"&&r&&!Array.isArray(r)&&(n.search=this.stringifyQuery(r)),n.toString()}stringifyQuery(t){return Object.entries(t).filter(([r,n])=>typeof n<"u").map(([r,n])=>{if(typeof n=="string"||typeof n=="number"||typeof n=="boolean")return`${encodeURIComponent(r)}=${encodeURIComponent(n)}`;if(n===null)return`${encodeURIComponent(r)}=`;throw new Qe(`Cannot stringify type ${typeof n}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}async fetchWithTimeout(t,r,n,o){const{signal:a,...i}=r||{};a&&a.addEventListener("abort",()=>o.abort());const l=setTimeout(()=>o.abort(),n);return this.getRequestClient().fetch.call(void 0,t,{signal:o.signal,...i}).finally(()=>{clearTimeout(l)})}getRequestClient(){return{fetch:this.fetch}}shouldRetry(t){const r=t.headers.get("x-should-retry");return r==="true"?!0:r==="false"?!1:t.status===408||t.status===409||t.status===429||t.status>=500}async retryRequest(t,r,n){let o;const a=n==null?void 0:n["retry-after-ms"];if(a){const l=parseFloat(a);Number.isNaN(l)||(o=l)}const i=n==null?void 0:n["retry-after"];if(i&&!o){const l=parseFloat(i);Number.isNaN(l)?o=Date.parse(i)-Date.now():o=l*1e3}if(!(o&&0<=o&&o<60*1e3)){const l=t.maxRetries??this.maxRetries;o=this.calculateDefaultRetryTimeoutMillis(r,l)}return await NS(o),this.makeRequest(t,r-1)}calculateDefaultRetryTimeoutMillis(t,r){const a=r-t,i=Math.min(.5*Math.pow(2,a),8),l=1-Math.random()*.25;return i*l*1e3}getUserAgent(){return`${this.constructor.name}/JS ${Ti}`}}class IS{constructor(t,r,n,o){fd.set(this,void 0),MG(this,fd,t,"f"),this.options=o,this.response=r,this.body=n}hasNextPage(){return this.getPaginatedItems().length?this.nextPageInfo()!=null:!1}async getNextPage(){const t=this.nextPageInfo();if(!t)throw new Qe("No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.");const r={...this.options};if("params"in t&&typeof r.query=="object")r.query={...r.query,...t.params};else if("url"in t){const n=[...Object.entries(r.query||{}),...t.url.searchParams.entries()];for(const[o,a]of n)t.url.searchParams.set(o,a);r.query=void 0,r.path=t.url.toString()}return await RG(this,fd,"f").requestAPIList(this.constructor,r)}async*iterPages(){let t=this;for(yield t;t.hasNextPage();)t=await t.getNextPage(),yield t}async*[(fd=new WeakMap,Symbol.asyncIterator)](){for await(const t of this.iterPages())for(const r of t.getPaginatedItems())yield r}}class IG extends Dp{constructor(t,r,n){super(r,async o=>new n(t,o.response,await AS(o),o.options))}async*[Symbol.asyncIterator](){const t=await this;for await(const r of t)yield r}}const NG=e=>new Proxy(Object.fromEntries(e.entries()),{get(t,r){const n=r.toString();return t[n.toLowerCase()]||t[n]}}),jG={method:!0,path:!0,query:!0,body:!0,headers:!0,maxRetries:!0,stream:!0,timeout:!0,httpAgent:!0,signal:!0,idempotencyKey:!0,__binaryResponse:!0,__streamClass:!0},Jn=e=>typeof e=="object"&&e!==null&&!jS(e)&&Object.keys(e).every(t=>DS(jG,t)),DG=()=>{if(typeof Deno<"u"&&Deno.build!=null)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":bw(Deno.build.os),"X-Stainless-Arch":vw(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":Deno.version};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":process.version};if(Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":bw(process.platform),"X-Stainless-Arch":vw(process.arch),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":process.version};const e=FG();return e?{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${e.browser}`,"X-Stainless-Runtime-Version":e.version}:{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}};function FG(){if(typeof navigator>"u"||!navigator)return null;const e=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(const{key:t,pattern:r}of e){const n=r.exec(navigator.userAgent);if(n){const o=n[1]||0,a=n[2]||0,i=n[3]||0;return{browser:t,version:`${o}.${a}.${i}`}}}return null}const vw=e=>e==="x32"?"x32":e==="x86_64"||e==="x64"?"x64":e==="arm"?"arm":e==="aarch64"||e==="arm64"?"arm64":e?`other:${e}`:"unknown",bw=e=>(e=e.toLowerCase(),e.includes("ios")?"iOS":e==="android"?"Android":e==="darwin"?"MacOS":e==="win32"?"Windows":e==="freebsd"?"FreeBSD":e==="openbsd"?"OpenBSD":e==="linux"?"Linux":e?`Other:${e}`:"Unknown");let yw;const LG=()=>yw??(yw=DG()),zG=e=>{try{return JSON.parse(e)}catch{return}},VG=new RegExp("^(?:[a-z]+:)?//","i"),$G=e=>VG.test(e),NS=e=>new Promise(t=>setTimeout(t,e)),Tg=(e,t)=>{if(typeof t!="number"||!Number.isInteger(t))throw new Qe(`${e} must be an integer`);if(t<0)throw new Qe(`${e} must be a positive integer`);return t},mv=e=>e instanceof Error?e:new Error(e),Eg=e=>{var t,r,n,o;if(typeof process<"u")return((t=Zd==null?void 0:Zd[e])==null?void 0:t.trim())??void 0;if(typeof Deno<"u")return(o=(n=(r=Deno.env)==null?void 0:r.get)==null?void 0:n.call(r,e))==null?void 0:o.trim()};function jS(e){if(!e)return!0;for(const t in e)return!1;return!0}function DS(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ww(e,t){for(const r in t){if(!DS(t,r))continue;const n=r.toLowerCase();if(!n)continue;const o=t[r];o===null?delete e[n]:o!==void 0&&(e[n]=o)}}function rl(e,...t){typeof process<"u"&&Zd.DEBUG==="true"&&console.log(`OpenAI:DEBUG:${e}`,...t)}const UG=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}),WG=()=>typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u";class ey extends IS{constructor(t,r,n,o){super(t,r,n,o),this.data=n.data||[],this.object=n.object}getPaginatedItems(){return this.data??[]}nextPageParams(){return null}nextPageInfo(){return null}}class To extends IS{constructor(t,r,n,o){super(t,r,n,o),this.data=n.data||[]}getPaginatedItems(){return this.data??[]}nextPageParams(){const t=this.nextPageInfo();if(!t)return null;if("params"in t)return t.params;const r=Object.fromEntries(t.url.searchParams);return Object.keys(r).length?r:null}nextPageInfo(){var n;const t=this.getPaginatedItems();if(!t.length)return null;const r=(n=t[t.length-1])==null?void 0:n.id;return r?{params:{after:r}}:null}}class gt{constructor(t){this._client=t}}let n0=class extends gt{create(t,r){return this._client.post("/chat/completions",{body:t,...r,stream:t.stream??!1})}};n0||(n0={});let o0=class extends gt{constructor(){super(...arguments),this.completions=new n0(this._client)}};(function(e){e.Completions=n0})(o0||(o0={}));class a0 extends gt{create(t,r){return this._client.post("/audio/speech",{body:t,...r,__binaryResponse:!0})}}a0||(a0={});class i0 extends gt{create(t,r){return this._client.post("/audio/transcriptions",Du({body:t,...r}))}}i0||(i0={});class l0 extends gt{create(t,r){return this._client.post("/audio/translations",Du({body:t,...r}))}}l0||(l0={});class s0 extends gt{constructor(){super(...arguments),this.transcriptions=new i0(this._client),this.translations=new l0(this._client),this.speech=new a0(this._client)}}(function(e){e.Transcriptions=i0,e.Translations=l0,e.Speech=a0})(s0||(s0={}));let u0=class extends gt{create(t,r,n){return this._client.post(`/assistants/${t}/files`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}retrieve(t,r,n){return this._client.get(`/assistants/${t}/files/${r}`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}list(t,r={},n){return Jn(r)?this.list(t,{},r):this._client.getAPIList(`/assistants/${t}/files`,ty,{query:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}del(t,r,n){return this._client.delete(`/assistants/${t}/files/${r}`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}};class ty extends To{}(function(e){e.AssistantFilesPage=ty})(u0||(u0={}));class c0 extends gt{constructor(){super(...arguments),this.files=new u0(this._client)}create(t,r){return this._client.post("/assistants",{body:t,...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}retrieve(t,r){return this._client.get(`/assistants/${t}`,{...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}update(t,r,n){return this._client.post(`/assistants/${t}`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}list(t={},r){return Jn(t)?this.list({},t):this._client.getAPIList("/assistants",ry,{query:t,...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}del(t,r){return this._client.delete(`/assistants/${t}`,{...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}}class ry extends To{}(function(e){e.AssistantsPage=ry,e.Files=u0,e.AssistantFilesPage=ty})(c0||(c0={}));function _w(e){return typeof e.parse=="function"}const nl=e=>(e==null?void 0:e.role)==="assistant",FS=e=>(e==null?void 0:e.role)==="function",LS=e=>(e==null?void 0:e.role)==="tool";var hn=function(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r},$e=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},or,Jd,Qd,Ns,js,ef,Ds,oo,Fs,tf,rf,Ei,vv,d0,bv,yv,wv,_v,zS,xv;const xw=10;class VS{constructor(){or.add(this),this.controller=new AbortController,Jd.set(this,void 0),Qd.set(this,()=>{}),Ns.set(this,()=>{}),js.set(this,void 0),ef.set(this,()=>{}),Ds.set(this,()=>{}),oo.set(this,{}),this._chatCompletions=[],this.messages=[],Fs.set(this,!1),tf.set(this,!1),rf.set(this,!1),Ei.set(this,!1),_v.set(this,t=>{if(hn(this,tf,!0,"f"),t instanceof Error&&t.name==="AbortError"&&(t=new Ha),t instanceof Ha)return hn(this,rf,!0,"f"),this._emit("abort",t);if(t instanceof Qe)return this._emit("error",t);if(t instanceof Error){const r=new Qe(t.message);return r.cause=t,this._emit("error",r)}return this._emit("error",new Qe(String(t)))}),hn(this,Jd,new Promise((t,r)=>{hn(this,Qd,t,"f"),hn(this,Ns,r,"f")}),"f"),hn(this,js,new Promise((t,r)=>{hn(this,ef,t,"f"),hn(this,Ds,r,"f")}),"f"),$e(this,Jd,"f").catch(()=>{}),$e(this,js,"f").catch(()=>{})}_run(t){setTimeout(()=>{t().then(()=>{this._emitFinal(),this._emit("end")},$e(this,_v,"f"))},0)}_addChatCompletion(t){var n;this._chatCompletions.push(t),this._emit("chatCompletion",t);const r=(n=t.choices[0])==null?void 0:n.message;return r&&this._addMessage(r),t}_addMessage(t,r=!0){if("content"in t||(t.content=null),this.messages.push(t),r){if(this._emit("message",t),(FS(t)||LS(t))&&t.content)this._emit("functionCallResult",t.content);else if(nl(t)&&t.function_call)this._emit("functionCall",t.function_call);else if(nl(t)&&t.tool_calls)for(const n of t.tool_calls)n.type==="function"&&this._emit("functionCall",n.function)}}_connected(){this.ended||($e(this,Qd,"f").call(this),this._emit("connect"))}get ended(){return $e(this,Fs,"f")}get errored(){return $e(this,tf,"f")}get aborted(){return $e(this,rf,"f")}abort(){this.controller.abort()}on(t,r){return($e(this,oo,"f")[t]||($e(this,oo,"f")[t]=[])).push({listener:r}),this}off(t,r){const n=$e(this,oo,"f")[t];if(!n)return this;const o=n.findIndex(a=>a.listener===r);return o>=0&&n.splice(o,1),this}once(t,r){return($e(this,oo,"f")[t]||($e(this,oo,"f")[t]=[])).push({listener:r,once:!0}),this}emitted(t){return new Promise((r,n)=>{hn(this,Ei,!0,"f"),t!=="error"&&this.once("error",n),this.once(t,r)})}async done(){hn(this,Ei,!0,"f"),await $e(this,js,"f")}async finalChatCompletion(){await this.done();const t=this._chatCompletions[this._chatCompletions.length-1];if(!t)throw new Qe("stream ended without producing a ChatCompletion");return t}async finalContent(){return await this.done(),$e(this,or,"m",vv).call(this)}async finalMessage(){return await this.done(),$e(this,or,"m",d0).call(this)}async finalFunctionCall(){return await this.done(),$e(this,or,"m",bv).call(this)}async finalFunctionCallResult(){return await this.done(),$e(this,or,"m",yv).call(this)}async totalUsage(){return await this.done(),$e(this,or,"m",wv).call(this)}allChatCompletions(){return[...this._chatCompletions]}_emit(t,...r){if($e(this,Fs,"f"))return;t==="end"&&(hn(this,Fs,!0,"f"),$e(this,ef,"f").call(this));const n=$e(this,oo,"f")[t];if(n&&($e(this,oo,"f")[t]=n.filter(o=>!o.once),n.forEach(({listener:o})=>o(...r))),t==="abort"){const o=r[0];!$e(this,Ei,"f")&&!(n!=null&&n.length)&&Promise.reject(o),$e(this,Ns,"f").call(this,o),$e(this,Ds,"f").call(this,o),this._emit("end");return}if(t==="error"){const o=r[0];!$e(this,Ei,"f")&&!(n!=null&&n.length)&&Promise.reject(o),$e(this,Ns,"f").call(this,o),$e(this,Ds,"f").call(this,o),this._emit("end")}}_emitFinal(){const t=this._chatCompletions[this._chatCompletions.length-1];t&&this._emit("finalChatCompletion",t);const r=$e(this,or,"m",d0).call(this);r&&this._emit("finalMessage",r);const n=$e(this,or,"m",vv).call(this);n&&this._emit("finalContent",n);const o=$e(this,or,"m",bv).call(this);o&&this._emit("finalFunctionCall",o);const a=$e(this,or,"m",yv).call(this);a!=null&&this._emit("finalFunctionCallResult",a),this._chatCompletions.some(i=>i.usage)&&this._emit("totalUsage",$e(this,or,"m",wv).call(this))}async _createChatCompletion(t,r,n){const o=n==null?void 0:n.signal;o&&(o.aborted&&this.controller.abort(),o.addEventListener("abort",()=>this.controller.abort())),$e(this,or,"m",zS).call(this,r);const a=await t.create({...r,stream:!1},{...n,signal:this.controller.signal});return this._connected(),this._addChatCompletion(a)}async _runChatCompletion(t,r,n){for(const o of r.messages)this._addMessage(o,!1);return await this._createChatCompletion(t,r,n)}async _runFunctions(t,r,n){var P;const o="function",{function_call:a="auto",stream:i,...l}=r,f=typeof a!="string"&&(a==null?void 0:a.name),{maxChatCompletions:g=xw}=n||{},m={};for(const O of r.functions)m[O.name||O.function.name]=O;const w=r.functions.map(O=>({name:O.name||O.function.name,parameters:O.parameters,description:O.description}));for(const O of r.messages)this._addMessage(O,!1);for(let O=0;OJSON.stringify(_.name)).join(", ")}. Please try again`;this._addMessage({role:o,name:y,content:v});continue}let u;try{u=_w(s)?await s.parse(c):c}catch(v){this._addMessage({role:o,name:y,content:v instanceof Error?v.message:String(v)});continue}const d=await s.function(u,this),h=$e(this,or,"m",xv).call(this,d);if(this._addMessage({role:o,name:y,content:h}),f)return}}async _runTools(t,r,n){var P,O;const o="tool",{tool_choice:a="auto",stream:i,...l}=r,f=typeof a!="string"&&((P=a==null?void 0:a.function)==null?void 0:P.name),{maxChatCompletions:g=xw}=n||{},m={};for(const C of r.tools)C.type==="function"&&(m[C.function.name||C.function.function.name]=C.function);const w="tools"in r?r.tools.map(C=>C.type==="function"?{type:"function",function:{name:C.function.name||C.function.function.name,parameters:C.function.parameters,description:C.function.description}}:C):void 0;for(const C of r.messages)this._addMessage(C,!1);for(let C=0;CJSON.stringify(E.function.name)).join(", ")}. Please try again`;this._addMessage({role:o,tool_call_id:s,content:T});continue}let v;try{v=_w(h)?await h.parse(d):d}catch(T){const E=T instanceof Error?T.message:String(T);this._addMessage({role:o,tool_call_id:s,content:E});continue}const _=await h.function(v,this),k=$e(this,or,"m",xv).call(this,_);if(this._addMessage({role:o,tool_call_id:s,content:k}),f)return}}}}Jd=new WeakMap,Qd=new WeakMap,Ns=new WeakMap,js=new WeakMap,ef=new WeakMap,Ds=new WeakMap,oo=new WeakMap,Fs=new WeakMap,tf=new WeakMap,rf=new WeakMap,Ei=new WeakMap,_v=new WeakMap,or=new WeakSet,vv=function(){return $e(this,or,"m",d0).call(this).content??null},d0=function(){let t=this.messages.length;for(;t-- >0;){const r=this.messages[t];if(nl(r))return{...r,content:r.content??null}}throw new Qe("stream ended without producing a ChatCompletionMessage with role=assistant")},bv=function(){var t,r;for(let n=this.messages.length-1;n>=0;n--){const o=this.messages[n];if(nl(o)&&(o!=null&&o.function_call))return o.function_call;if(nl(o)&&((t=o==null?void 0:o.tool_calls)!=null&&t.length))return(r=o.tool_calls.at(-1))==null?void 0:r.function}},yv=function(){for(let t=this.messages.length-1;t>=0;t--){const r=this.messages[t];if(FS(r)&&r.content!=null||LS(r)&&r.content!=null&&this.messages.some(n=>{var o;return n.role==="assistant"&&((o=n.tool_calls)==null?void 0:o.some(a=>a.type==="function"&&a.id===r.tool_call_id))}))return r.content}},wv=function(){const t={completion_tokens:0,prompt_tokens:0,total_tokens:0};for(const{usage:r}of this._chatCompletions)r&&(t.completion_tokens+=r.completion_tokens,t.prompt_tokens+=r.prompt_tokens,t.total_tokens+=r.total_tokens);return t},zS=function(t){if(t.n!=null&&t.n>1)throw new Qe("ChatCompletion convenience helpers only support n=1 at this time. To use n>1, please use chat.completions.create() directly.")},xv=function(t){return typeof t=="string"?t:t===void 0?"undefined":JSON.stringify(t)};class Fu extends VS{static runFunctions(t,r,n){const o=new Fu,a={...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"runFunctions"}};return o._run(()=>o._runFunctions(t,r,a)),o}static runTools(t,r,n){const o=new Fu,a={...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"runTools"}};return o._run(()=>o._runTools(t,r,a)),o}_addMessage(t){super._addMessage(t),nl(t)&&t.content&&this._emit("content",t.content)}}var gn=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},kg=function(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r},Ln,$o,Mg,Rg,pd,Cw;class Lu extends VS{constructor(){super(...arguments),Ln.add(this),$o.set(this,void 0)}get currentChatCompletionSnapshot(){return gn(this,$o,"f")}static fromReadableStream(t){const r=new Lu;return r._run(()=>r._fromReadableStream(t)),r}static createChatCompletion(t,r,n){const o=new Lu;return o._run(()=>o._runChatCompletion(t,{...r,stream:!0},{...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"stream"}})),o}async _createChatCompletion(t,r,n){var i;const o=n==null?void 0:n.signal;o&&(o.aborted&&this.controller.abort(),o.addEventListener("abort",()=>this.controller.abort())),gn(this,Ln,"m",Mg).call(this);const a=await t.create({...r,stream:!0},{...n,signal:this.controller.signal});this._connected();for await(const l of a)gn(this,Ln,"m",Rg).call(this,l);if((i=a.controller.signal)!=null&&i.aborted)throw new Ha;return this._addChatCompletion(gn(this,Ln,"m",pd).call(this))}async _fromReadableStream(t,r){var i;const n=r==null?void 0:r.signal;n&&(n.aborted&&this.controller.abort(),n.addEventListener("abort",()=>this.controller.abort())),gn(this,Ln,"m",Mg).call(this),this._connected();const o=Qo.fromReadableStream(t,this.controller);let a;for await(const l of o)a&&a!==l.id&&this._addChatCompletion(gn(this,Ln,"m",pd).call(this)),gn(this,Ln,"m",Rg).call(this,l),a=l.id;if((i=o.controller.signal)!=null&&i.aborted)throw new Ha;return this._addChatCompletion(gn(this,Ln,"m",pd).call(this))}[($o=new WeakMap,Ln=new WeakSet,Mg=function(){this.ended||kg(this,$o,void 0,"f")},Rg=function(r){var i,l,f;if(this.ended)return;const n=gn(this,Ln,"m",Cw).call(this,r);this._emit("chunk",r,n);const o=(l=(i=r.choices[0])==null?void 0:i.delta)==null?void 0:l.content,a=(f=n.choices[0])==null?void 0:f.message;o!=null&&(a==null?void 0:a.role)==="assistant"&&(a!=null&&a.content)&&this._emit("content",o,a.content)},pd=function(){if(this.ended)throw new Qe("stream has ended, this shouldn't happen");const r=gn(this,$o,"f");if(!r)throw new Qe("request ended without sending any chunks");return kg(this,$o,void 0,"f"),BG(r)},Cw=function(r){var n,o,a;let i=gn(this,$o,"f");const{choices:l,...f}=r;i?Object.assign(i,f):i=kg(this,$o,{...f,choices:[]},"f");for(const{delta:g,finish_reason:m,index:w,logprobs:P=null,...O}of r.choices){let C=i.choices[w];if(C||(C=i.choices[w]={finish_reason:m,index:w,message:{},logprobs:P,...O}),P)if(!C.logprobs)C.logprobs=Object.assign({},P);else{const{content:d,...h}=P;Object.assign(C.logprobs,h),d&&((n=C.logprobs).content??(n.content=[]),C.logprobs.content.push(...d))}if(m&&(C.finish_reason=m),Object.assign(C,O),!g)continue;const{content:b,function_call:y,role:c,tool_calls:s,...u}=g;if(Object.assign(C.message,u),b&&(C.message.content=(C.message.content||"")+b),c&&(C.message.role=c),y&&(C.message.function_call?(y.name&&(C.message.function_call.name=y.name),y.arguments&&((o=C.message.function_call).arguments??(o.arguments=""),C.message.function_call.arguments+=y.arguments)):C.message.function_call=y),s){C.message.tool_calls||(C.message.tool_calls=[]);for(const{index:d,id:h,type:v,function:_,...k}of s){const T=(a=C.message.tool_calls)[d]??(a[d]={});Object.assign(T,k),h&&(T.id=h),v&&(T.type=v),_&&(T.function??(T.function={arguments:""})),_!=null&&_.name&&(T.function.name=_.name),_!=null&&_.arguments&&(T.function.arguments+=_.arguments)}}}return i},Symbol.asyncIterator)](){const t=[],r=[];let n=!1;return this.on("chunk",o=>{const a=r.shift();a?a(o):t.push(o)}),this.on("end",()=>{n=!0;for(const o of r)o(void 0);r.length=0}),{next:async()=>t.length?{value:t.shift(),done:!1}:n?{value:void 0,done:!0}:new Promise(a=>r.push(a)).then(a=>a?{value:a,done:!1}:{value:void 0,done:!0})}}toReadableStream(){return new Qo(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}function BG(e){const{id:t,choices:r,created:n,model:o,system_fingerprint:a,...i}=e;return{...i,id:t,choices:r.map(({message:l,finish_reason:f,index:g,logprobs:m,...w})=>{if(!f)throw new Qe(`missing finish_reason for choice ${g}`);const{content:P=null,function_call:O,tool_calls:C,...b}=l,y=l.role;if(!y)throw new Qe(`missing role for choice ${g}`);if(O){const{arguments:c,name:s}=O;if(c==null)throw new Qe(`missing function_call.arguments for choice ${g}`);if(!s)throw new Qe(`missing function_call.name for choice ${g}`);return{...w,message:{content:P,function_call:{arguments:c,name:s},role:y},finish_reason:f,index:g,logprobs:m}}return C?{...w,index:g,finish_reason:f,logprobs:m,message:{...b,role:y,content:P,tool_calls:C.map((c,s)=>{const{function:u,type:d,id:h,...v}=c,{arguments:_,name:k,...T}=u||{};if(h==null)throw new Qe(`missing choices[${g}].tool_calls[${s}].id -${hd(e)}`);if(d==null)throw new Qe(`missing choices[${g}].tool_calls[${s}].type -${hd(e)}`);if(k==null)throw new Qe(`missing choices[${g}].tool_calls[${s}].function.name -${hd(e)}`);if(_==null)throw new Qe(`missing choices[${g}].tool_calls[${s}].function.arguments -${hd(e)}`);return{...v,id:h,type:d,function:{...T,name:k,arguments:_}}})}}:{...w,message:{...b,content:P,role:y},finish_reason:f,index:g,logprobs:m}}),created:n,model:o,object:"chat.completion",...a?{system_fingerprint:a}:{}}}function hd(e){return JSON.stringify(e)}class ol extends Lu{static fromReadableStream(t){const r=new ol;return r._run(()=>r._fromReadableStream(t)),r}static runFunctions(t,r,n){const o=new ol,a={...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"runFunctions"}};return o._run(()=>o._runFunctions(t,r,a)),o}static runTools(t,r,n){const o=new ol,a={...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"runTools"}};return o._run(()=>o._runTools(t,r,a)),o}}let $S=class extends gt{runFunctions(t,r){return t.stream?ol.runFunctions(this._client.chat.completions,t,r):Fu.runFunctions(this._client.chat.completions,t,r)}runTools(t,r){return t.stream?ol.runTools(this._client.chat.completions,t,r):Fu.runTools(this._client.chat.completions,t,r)}stream(t,r){return Lu.createChatCompletion(this._client.chat.completions,t,r)}};class f0 extends gt{constructor(){super(...arguments),this.completions=new $S(this._client)}}(function(e){e.Completions=$S})(f0||(f0={}));let p0=class extends gt{retrieve(t,r,n,o){return this._client.get(`/threads/${t}/messages/${r}/files/${n}`,{...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}list(t,r,n={},o){return Jn(n)?this.list(t,r,{},n):this._client.getAPIList(`/threads/${t}/messages/${r}/files`,ny,{query:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}};class ny extends To{}(function(e){e.MessageFilesPage=ny})(p0||(p0={}));class h0 extends gt{constructor(){super(...arguments),this.files=new p0(this._client)}create(t,r,n){return this._client.post(`/threads/${t}/messages`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}retrieve(t,r,n){return this._client.get(`/threads/${t}/messages/${r}`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}update(t,r,n,o){return this._client.post(`/threads/${t}/messages/${r}`,{body:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}list(t,r={},n){return Jn(r)?this.list(t,{},r):this._client.getAPIList(`/threads/${t}/messages`,oy,{query:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}}class oy extends To{}(function(e){e.ThreadMessagesPage=oy,e.Files=p0,e.MessageFilesPage=ny})(h0||(h0={}));class g0 extends gt{retrieve(t,r,n,o){return this._client.get(`/threads/${t}/runs/${r}/steps/${n}`,{...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}list(t,r,n={},o){return Jn(n)?this.list(t,r,{},n):this._client.getAPIList(`/threads/${t}/runs/${r}/steps`,ay,{query:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}}class ay extends To{}(function(e){e.RunStepsPage=ay})(g0||(g0={}));class m0 extends gt{constructor(){super(...arguments),this.steps=new g0(this._client)}create(t,r,n){return this._client.post(`/threads/${t}/runs`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}retrieve(t,r,n){return this._client.get(`/threads/${t}/runs/${r}`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}update(t,r,n,o){return this._client.post(`/threads/${t}/runs/${r}`,{body:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}list(t,r={},n){return Jn(r)?this.list(t,{},r):this._client.getAPIList(`/threads/${t}/runs`,iy,{query:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}cancel(t,r,n){return this._client.post(`/threads/${t}/runs/${r}/cancel`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}submitToolOutputs(t,r,n,o){return this._client.post(`/threads/${t}/runs/${r}/submit_tool_outputs`,{body:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}}class iy extends To{}(function(e){e.RunsPage=iy,e.Steps=g0,e.RunStepsPage=ay})(m0||(m0={}));class v0 extends gt{constructor(){super(...arguments),this.runs=new m0(this._client),this.messages=new h0(this._client)}create(t={},r){return Jn(t)?this.create({},t):this._client.post("/threads",{body:t,...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}retrieve(t,r){return this._client.get(`/threads/${t}`,{...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}update(t,r,n){return this._client.post(`/threads/${t}`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}del(t,r){return this._client.delete(`/threads/${t}`,{...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}createAndRun(t,r){return this._client.post("/threads/runs",{body:t,...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}}(function(e){e.Runs=m0,e.RunsPage=iy,e.Messages=h0,e.ThreadMessagesPage=oy})(v0||(v0={}));class b0 extends gt{constructor(){super(...arguments),this.chat=new f0(this._client),this.assistants=new c0(this._client),this.threads=new v0(this._client)}}(function(e){e.Chat=f0,e.Assistants=c0,e.AssistantsPage=ry,e.Threads=v0})(b0||(b0={}));class y0 extends gt{create(t,r){return this._client.post("/completions",{body:t,...r,stream:t.stream??!1})}}y0||(y0={});class w0 extends gt{create(t,r){return this._client.post("/embeddings",{body:t,...r})}}w0||(w0={});class _0 extends gt{create(t,r){return this._client.post("/files",Du({body:t,...r}))}retrieve(t,r){return this._client.get(`/files/${t}`,r)}list(t={},r){return Jn(t)?this.list({},t):this._client.getAPIList("/files",ly,{query:t,...r})}del(t,r){return this._client.delete(`/files/${t}`,r)}content(t,r){return this._client.get(`/files/${t}/content`,{...r,__binaryResponse:!0})}retrieveContent(t,r){return this._client.get(`/files/${t}/content`,{...r,headers:{Accept:"application/json",...r==null?void 0:r.headers}})}async waitForProcessing(t,{pollInterval:r=5e3,maxWait:n=30*60*1e3}={}){const o=new Set(["processed","error","deleted"]),a=Date.now();let i=await this.retrieve(t);for(;!i.status||!o.has(i.status);)if(await NS(r),i=await this.retrieve(t),Date.now()-a>n)throw new Q1({message:`Giving up on waiting for file ${t} to finish processing after ${n} milliseconds.`});return i}}class ly extends ey{}(function(e){e.FileObjectsPage=ly})(_0||(_0={}));class x0 extends gt{create(t,r){return this._client.post("/fine_tuning/jobs",{body:t,...r})}retrieve(t,r){return this._client.get(`/fine_tuning/jobs/${t}`,r)}list(t={},r){return Jn(t)?this.list({},t):this._client.getAPIList("/fine_tuning/jobs",sy,{query:t,...r})}cancel(t,r){return this._client.post(`/fine_tuning/jobs/${t}/cancel`,r)}listEvents(t,r={},n){return Jn(r)?this.listEvents(t,{},r):this._client.getAPIList(`/fine_tuning/jobs/${t}/events`,uy,{query:r,...n})}}class sy extends To{}class uy extends To{}(function(e){e.FineTuningJobsPage=sy,e.FineTuningJobEventsPage=uy})(x0||(x0={}));class C0 extends gt{constructor(){super(...arguments),this.jobs=new x0(this._client)}}(function(e){e.Jobs=x0,e.FineTuningJobsPage=sy,e.FineTuningJobEventsPage=uy})(C0||(C0={}));class P0 extends gt{createVariation(t,r){return this._client.post("/images/variations",Du({body:t,...r}))}edit(t,r){return this._client.post("/images/edits",Du({body:t,...r}))}generate(t,r){return this._client.post("/images/generations",{body:t,...r})}}P0||(P0={});class O0 extends gt{retrieve(t,r){return this._client.get(`/models/${t}`,r)}list(t){return this._client.getAPIList("/models",cy,t)}del(t,r){return this._client.delete(`/models/${t}`,r)}}class cy extends ey{}(function(e){e.ModelsPage=cy})(O0||(O0={}));class S0 extends gt{create(t,r){return this._client.post("/moderations",{body:t,...r})}}S0||(S0={});var US;class Bt extends AG{constructor({baseURL:t=Eg("OPENAI_BASE_URL"),apiKey:r=Eg("OPENAI_API_KEY"),organization:n=Eg("OPENAI_ORG_ID")??null,...o}={}){if(r===void 0)throw new Qe("The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).");const a={apiKey:r,organization:n,...o,baseURL:t||"https://api.openai.com/v1"};if(!a.dangerouslyAllowBrowser&&WG())throw new Qe(`It looks like you're running in a browser-like environment. +`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],a}if(this.chunks.push(t),t.startsWith(":"))return null;let[r,n,o]=xG(t,":");return o.startsWith(" ")&&(o=o.substring(1)),r==="event"?this.event=o:r==="data"&&this.data.push(o),null}}class Ga{constructor(){this.buffer=[],this.trailingCR=!1}decode(t){let r=this.decodeText(t);if(this.trailingCR&&(r="\r"+r,this.trailingCR=!1),r.endsWith("\r")&&(this.trailingCR=!0,r=r.slice(0,-1)),!r)return[];const n=Ga.NEWLINE_CHARS.has(r[r.length-1]||"");let o=r.split(Ga.NEWLINE_REGEXP);return o.length===1&&!n?(this.buffer.push(o[0]),[]):(this.buffer.length>0&&(o=[this.buffer.join("")+o[0],...o.slice(1)],this.buffer=[]),n||(this.buffer=[o.pop()||""]),o)}decodeText(t){if(t==null)return"";if(typeof t=="string")return t;if(typeof Buffer<"u"){if(t instanceof Buffer)return t.toString();if(t instanceof Uint8Array)return Buffer.from(t).toString();throw new Ze(`Unexpected: received non-Uint8Array (${t.constructor.name}) stream chunk in an environment with a global "Buffer" defined, which this library assumes to be Node. Please report this error.`)}if(typeof TextDecoder<"u"){if(t instanceof Uint8Array||t instanceof ArrayBuffer)return this.textDecoder??(this.textDecoder=new TextDecoder("utf8")),this.textDecoder.decode(t);throw new Ze(`Unexpected: received non-Uint8Array/ArrayBuffer (${t.constructor.name}) in a web platform. Please report this error.`)}throw new Ze("Unexpected: neither Buffer nor TextDecoder are available as globals. Please report this error.")}flush(){if(!this.buffer.length&&!this.trailingCR)return[];const t=[this.buffer.join("")];return this.buffer=[],this.trailingCR=!1,t}}Ga.NEWLINE_CHARS=new Set([` +`,"\r","\v","\f","","","","…","\u2028","\u2029"]);Ga.NEWLINE_REGEXP=/\r\n|[\n\r\x0b\x0c\x1c\x1d\x1e\x85\u2028\u2029]/g;function xG(e,t){const r=e.indexOf(t);return r!==-1?[e.substring(0,r),t,e.substring(r+t.length)]:[e,"",""]}function gx(e){if(e[Symbol.asyncIterator])return e;const t=e.getReader();return{async next(){try{const r=await t.read();return r!=null&&r.done&&t.releaseLock(),r}catch(r){throw t.releaseLock(),r}},async return(){const r=t.cancel();return t.releaseLock(),await r,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}const k7=e=>e!=null&&typeof e=="object"&&typeof e.url=="string"&&typeof e.blob=="function",CG=e=>e!=null&&typeof e=="object"&&typeof e.name=="string"&&typeof e.lastModified=="number"&&R7(e),R7=e=>e!=null&&typeof e=="object"&&typeof e.size=="number"&&typeof e.type=="string"&&typeof e.text=="function"&&typeof e.slice=="function"&&typeof e.arrayBuffer=="function",PG=e=>CG(e)||k7(e)||w7(e);async function M7(e,t,r={}){var o;if(e=await e,k7(e)){const a=await e.blob();return t||(t=new URL(e.url).pathname.split(/[\\/]/).pop()??"unknown_file"),new hv([a],t,r)}const n=await OG(e);if(t||(t=TG(e)??"unknown_file"),!r.type){const a=(o=n[0])==null?void 0:o.type;typeof a=="string"&&(r={...r,type:a})}return new hv(n,t,r)}async function OG(e){var r;let t=[];if(typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer)t.push(e);else if(R7(e))t.push(await e.arrayBuffer());else if(EG(e))for await(const n of e)t.push(n);else throw new Error(`Unexpected data type: ${typeof e}; constructor: ${(r=e==null?void 0:e.constructor)==null?void 0:r.name}; props: ${SG(e)}`);return t}function SG(e){return`[${Object.getOwnPropertyNames(e).map(r=>`"${r}"`).join(", ")}]`}function TG(e){var t;return Sg(e.name)||Sg(e.filename)||((t=Sg(e.path))==null?void 0:t.split(/[\\/]/).pop())}const Sg=e=>{if(typeof e=="string")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return String(e)},EG=e=>e!=null&&typeof e=="object"&&typeof e[Symbol.asyncIterator]=="function",mx=e=>e&&typeof e=="object"&&e.body&&e[Symbol.toStringTag]==="MultipartBody",Du=async e=>{const t=await kG(e.body);return v7(t,e)},kG=async e=>{const t=new g7;return await Promise.all(Object.entries(e||{}).map(([r,n])=>gv(t,r,n))),t},gv=async(e,t,r)=>{if(r!==void 0){if(r==null)throw new TypeError(`Received null for "${t}"; to pass null in FormData, you must use the string 'null'`);if(typeof r=="string"||typeof r=="number"||typeof r=="boolean")e.append(t,String(r));else if(PG(r)){const n=await M7(r);e.append(t,n)}else if(Array.isArray(r))await Promise.all(r.map(n=>gv(e,t+"[]",n)));else if(typeof r=="object")await Promise.all(Object.entries(r).map(([n,o])=>gv(e,`${t}[${n}]`,o)));else throw new TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${r} instead`)}};var Jd={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"},RG=function(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r},MG=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},fd;async function A7(e){const{response:t}=e;if(e.options.stream)return rl("response",t.status,t.url,t.headers,t.body),e.options.__streamClass?e.options.__streamClass.fromSSEResponse(t,e.controller):Zo.fromSSEResponse(t,e.controller);if(t.status===204)return null;if(e.options.__binaryResponse)return t;const r=t.headers.get("content-type");if((r==null?void 0:r.includes("application/json"))||(r==null?void 0:r.includes("application/vnd.api+json"))){const a=await t.json();return rl("response",t.status,t.url,t.headers,a),a}const o=await t.text();return rl("response",t.status,t.url,t.headers,o),o}class D0 extends Promise{constructor(t,r=A7){super(n=>{n(null)}),this.responsePromise=t,this.parseResponse=r}_thenUnwrap(t){return new D0(this.responsePromise,async r=>t(await this.parseResponse(r)))}asResponse(){return this.responsePromise.then(t=>t.response)}async withResponse(){const[t,r]=await Promise.all([this.parse(),this.asResponse()]);return{data:t,response:r}}parse(){return this.parsedPromise||(this.parsedPromise=this.responsePromise.then(this.parseResponse)),this.parsedPromise}then(t,r){return this.parse().then(t,r)}catch(t){return this.parse().catch(t)}finally(t){return this.parse().finally(t)}}class AG{constructor({baseURL:t,maxRetries:r=2,timeout:n=6e5,httpAgent:o,fetch:a}){this.baseURL=t,this.maxRetries=Tg("maxRetries",r),this.timeout=Tg("timeout",n),this.httpAgent=o,this.fetch=a??h7}authHeaders(t){return{}}defaultHeaders(t){return{Accept:"application/json","Content-Type":"application/json","User-Agent":this.getUserAgent(),...LG(),...this.authHeaders(t)}}validateHeaders(t,r){}defaultIdempotencyKey(){return`stainless-node-retry-${UG()}`}get(t,r){return this.methodRequest("get",t,r)}post(t,r){return this.methodRequest("post",t,r)}patch(t,r){return this.methodRequest("patch",t,r)}put(t,r){return this.methodRequest("put",t,r)}delete(t,r){return this.methodRequest("delete",t,r)}methodRequest(t,r,n){return this.request(Promise.resolve(n).then(o=>({method:t,path:r,...o})))}getAPIList(t,r,n){return this.requestAPIList(r,{method:"get",path:t,...n})}calculateContentLength(t){if(typeof t=="string"){if(typeof Buffer<"u")return Buffer.byteLength(t,"utf8").toString();if(typeof TextEncoder<"u")return new TextEncoder().encode(t).length.toString()}return null}buildRequest(t){var C;const{method:r,path:n,query:o,headers:a={}}=t,i=mx(t.body)?t.body.body:t.body?JSON.stringify(t.body,null,2):null,l=this.calculateContentLength(i),f=this.buildURL(n,o);"timeout"in t&&Tg("timeout",t.timeout);const g=t.timeout??this.timeout,m=t.httpAgent??this.httpAgent??b7(f),w=g+1e3;typeof((C=m==null?void 0:m.options)==null?void 0:C.timeout)=="number"&&w>(m.options.timeout??0)&&(m.options.timeout=w),this.idempotencyHeader&&r!=="get"&&(t.idempotencyKey||(t.idempotencyKey=this.defaultIdempotencyKey()),a[this.idempotencyHeader]=t.idempotencyKey);const P=this.buildHeaders({options:t,headers:a,contentLength:l});return{req:{method:r,...i&&{body:i},headers:P,...m&&{agent:m},signal:t.signal??null},url:f,timeout:g}}buildHeaders({options:t,headers:r,contentLength:n}){const o={};n&&(o["content-length"]=n);const a=this.defaultHeaders(t);return wx(o,a),wx(o,r),mx(t.body)&&eu!=="node"&&delete o["content-type"],this.validateHeaders(o,r),o}async prepareOptions(t){}async prepareRequest(t,{url:r,options:n}){}parseHeaders(t){return t?Symbol.iterator in t?Object.fromEntries(Array.from(t).map(r=>[...r])):{...t}:{}}makeStatusError(t,r,n,o){return sr.generate(t,r,n,o)}request(t,r=null){return new D0(this.makeRequest(t,r))}async makeRequest(t,r){var m,w;const n=await t;r==null&&(r=n.maxRetries??this.maxRetries),await this.prepareOptions(n);const{req:o,url:a,timeout:i}=this.buildRequest(n);if(await this.prepareRequest(o,{url:a,options:n}),rl("request",a,n,o.headers),(m=n.signal)!=null&&m.aborted)throw new Ha;const l=new AbortController,f=await this.fetchWithTimeout(a,o,i,l).catch(mv);if(f instanceof Error){if((w=n.signal)!=null&&w.aborted)throw new Ha;if(r)return this.retryRequest(n,r);throw f.name==="AbortError"?new Zy:new j0({cause:f})}const g=NG(f.headers);if(!f.ok){if(r&&this.shouldRetry(f)){const c=`retrying, ${r} attempts remaining`;return rl(`response (error; ${c})`,f.status,a,g),this.retryRequest(n,r,g)}const P=await f.text().catch(c=>mv(c).message),O=zG(P),C=O?void 0:P;throw rl(`response (error; ${r?"(error; no more retries left)":"(error; not retryable)"})`,f.status,a,g,C),this.makeStatusError(f.status,O,C,g)}return{response:f,options:n,controller:l}}requestAPIList(t,r){const n=this.makeRequest(r,null);return new IG(this,n,t)}buildURL(t,r){const n=$G(t)?new URL(t):new URL(this.baseURL+(this.baseURL.endsWith("/")&&t.startsWith("/")?t.slice(1):t)),o=this.defaultQuery();return j7(o)||(r={...o,...r}),typeof r=="object"&&r&&!Array.isArray(r)&&(n.search=this.stringifyQuery(r)),n.toString()}stringifyQuery(t){return Object.entries(t).filter(([r,n])=>typeof n<"u").map(([r,n])=>{if(typeof n=="string"||typeof n=="number"||typeof n=="boolean")return`${encodeURIComponent(r)}=${encodeURIComponent(n)}`;if(n===null)return`${encodeURIComponent(r)}=`;throw new Ze(`Cannot stringify type ${typeof n}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}async fetchWithTimeout(t,r,n,o){const{signal:a,...i}=r||{};a&&a.addEventListener("abort",()=>o.abort());const l=setTimeout(()=>o.abort(),n);return this.getRequestClient().fetch.call(void 0,t,{signal:o.signal,...i}).finally(()=>{clearTimeout(l)})}getRequestClient(){return{fetch:this.fetch}}shouldRetry(t){const r=t.headers.get("x-should-retry");return r==="true"?!0:r==="false"?!1:t.status===408||t.status===409||t.status===429||t.status>=500}async retryRequest(t,r,n){let o;const a=n==null?void 0:n["retry-after-ms"];if(a){const l=parseFloat(a);Number.isNaN(l)||(o=l)}const i=n==null?void 0:n["retry-after"];if(i&&!o){const l=parseFloat(i);Number.isNaN(l)?o=Date.parse(i)-Date.now():o=l*1e3}if(!(o&&0<=o&&o<60*1e3)){const l=t.maxRetries??this.maxRetries;o=this.calculateDefaultRetryTimeoutMillis(r,l)}return await N7(o),this.makeRequest(t,r-1)}calculateDefaultRetryTimeoutMillis(t,r){const a=r-t,i=Math.min(.5*Math.pow(2,a),8),l=1-Math.random()*.25;return i*l*1e3}getUserAgent(){return`${this.constructor.name}/JS ${Ti}`}}class I7{constructor(t,r,n,o){fd.set(this,void 0),RG(this,fd,t,"f"),this.options=o,this.response=r,this.body=n}hasNextPage(){return this.getPaginatedItems().length?this.nextPageInfo()!=null:!1}async getNextPage(){const t=this.nextPageInfo();if(!t)throw new Ze("No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.");const r={...this.options};if("params"in t&&typeof r.query=="object")r.query={...r.query,...t.params};else if("url"in t){const n=[...Object.entries(r.query||{}),...t.url.searchParams.entries()];for(const[o,a]of n)t.url.searchParams.set(o,a);r.query=void 0,r.path=t.url.toString()}return await MG(this,fd,"f").requestAPIList(this.constructor,r)}async*iterPages(){let t=this;for(yield t;t.hasNextPage();)t=await t.getNextPage(),yield t}async*[(fd=new WeakMap,Symbol.asyncIterator)](){for await(const t of this.iterPages())for(const r of t.getPaginatedItems())yield r}}class IG extends D0{constructor(t,r,n){super(r,async o=>new n(t,o.response,await A7(o),o.options))}async*[Symbol.asyncIterator](){const t=await this;for await(const r of t)yield r}}const NG=e=>new Proxy(Object.fromEntries(e.entries()),{get(t,r){const n=r.toString();return t[n.toLowerCase()]||t[n]}}),jG={method:!0,path:!0,query:!0,body:!0,headers:!0,maxRetries:!0,stream:!0,timeout:!0,httpAgent:!0,signal:!0,idempotencyKey:!0,__binaryResponse:!0,__streamClass:!0},Qn=e=>typeof e=="object"&&e!==null&&!j7(e)&&Object.keys(e).every(t=>D7(jG,t)),DG=()=>{if(typeof Deno<"u"&&Deno.build!=null)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":bx(Deno.build.os),"X-Stainless-Arch":vx(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":Deno.version};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":process.version};if(Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":bx(process.platform),"X-Stainless-Arch":vx(process.arch),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":process.version};const e=FG();return e?{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${e.browser}`,"X-Stainless-Runtime-Version":e.version}:{"X-Stainless-Lang":"js","X-Stainless-Package-Version":Ti,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}};function FG(){if(typeof navigator>"u"||!navigator)return null;const e=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(const{key:t,pattern:r}of e){const n=r.exec(navigator.userAgent);if(n){const o=n[1]||0,a=n[2]||0,i=n[3]||0;return{browser:t,version:`${o}.${a}.${i}`}}}return null}const vx=e=>e==="x32"?"x32":e==="x86_64"||e==="x64"?"x64":e==="arm"?"arm":e==="aarch64"||e==="arm64"?"arm64":e?`other:${e}`:"unknown",bx=e=>(e=e.toLowerCase(),e.includes("ios")?"iOS":e==="android"?"Android":e==="darwin"?"MacOS":e==="win32"?"Windows":e==="freebsd"?"FreeBSD":e==="openbsd"?"OpenBSD":e==="linux"?"Linux":e?`Other:${e}`:"Unknown");let yx;const LG=()=>yx??(yx=DG()),zG=e=>{try{return JSON.parse(e)}catch{return}},VG=new RegExp("^(?:[a-z]+:)?//","i"),$G=e=>VG.test(e),N7=e=>new Promise(t=>setTimeout(t,e)),Tg=(e,t)=>{if(typeof t!="number"||!Number.isInteger(t))throw new Ze(`${e} must be an integer`);if(t<0)throw new Ze(`${e} must be a positive integer`);return t},mv=e=>e instanceof Error?e:new Error(e),Eg=e=>{var t,r,n,o;if(typeof process<"u")return((t=Jd==null?void 0:Jd[e])==null?void 0:t.trim())??void 0;if(typeof Deno<"u")return(o=(n=(r=Deno.env)==null?void 0:r.get)==null?void 0:n.call(r,e))==null?void 0:o.trim()};function j7(e){if(!e)return!0;for(const t in e)return!1;return!0}function D7(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function wx(e,t){for(const r in t){if(!D7(t,r))continue;const n=r.toLowerCase();if(!n)continue;const o=t[r];o===null?delete e[n]:o!==void 0&&(e[n]=o)}}function rl(e,...t){typeof process<"u"&&Jd.DEBUG==="true"&&console.log(`OpenAI:DEBUG:${e}`,...t)}const UG=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}),WG=()=>typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u";class e1 extends I7{constructor(t,r,n,o){super(t,r,n,o),this.data=n.data||[],this.object=n.object}getPaginatedItems(){return this.data??[]}nextPageParams(){return null}nextPageInfo(){return null}}class To extends I7{constructor(t,r,n,o){super(t,r,n,o),this.data=n.data||[]}getPaginatedItems(){return this.data??[]}nextPageParams(){const t=this.nextPageInfo();if(!t)return null;if("params"in t)return t.params;const r=Object.fromEntries(t.url.searchParams);return Object.keys(r).length?r:null}nextPageInfo(){var n;const t=this.getPaginatedItems();if(!t.length)return null;const r=(n=t[t.length-1])==null?void 0:n.id;return r?{params:{after:r}}:null}}class gt{constructor(t){this._client=t}}let np=class extends gt{create(t,r){return this._client.post("/chat/completions",{body:t,...r,stream:t.stream??!1})}};np||(np={});let op=class extends gt{constructor(){super(...arguments),this.completions=new np(this._client)}};(function(e){e.Completions=np})(op||(op={}));class ap extends gt{create(t,r){return this._client.post("/audio/speech",{body:t,...r,__binaryResponse:!0})}}ap||(ap={});class ip extends gt{create(t,r){return this._client.post("/audio/transcriptions",Du({body:t,...r}))}}ip||(ip={});class lp extends gt{create(t,r){return this._client.post("/audio/translations",Du({body:t,...r}))}}lp||(lp={});class sp extends gt{constructor(){super(...arguments),this.transcriptions=new ip(this._client),this.translations=new lp(this._client),this.speech=new ap(this._client)}}(function(e){e.Transcriptions=ip,e.Translations=lp,e.Speech=ap})(sp||(sp={}));let up=class extends gt{create(t,r,n){return this._client.post(`/assistants/${t}/files`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}retrieve(t,r,n){return this._client.get(`/assistants/${t}/files/${r}`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}list(t,r={},n){return Qn(r)?this.list(t,{},r):this._client.getAPIList(`/assistants/${t}/files`,t1,{query:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}del(t,r,n){return this._client.delete(`/assistants/${t}/files/${r}`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}};class t1 extends To{}(function(e){e.AssistantFilesPage=t1})(up||(up={}));class cp extends gt{constructor(){super(...arguments),this.files=new up(this._client)}create(t,r){return this._client.post("/assistants",{body:t,...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}retrieve(t,r){return this._client.get(`/assistants/${t}`,{...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}update(t,r,n){return this._client.post(`/assistants/${t}`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}list(t={},r){return Qn(t)?this.list({},t):this._client.getAPIList("/assistants",r1,{query:t,...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}del(t,r){return this._client.delete(`/assistants/${t}`,{...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}}class r1 extends To{}(function(e){e.AssistantsPage=r1,e.Files=up,e.AssistantFilesPage=t1})(cp||(cp={}));function _x(e){return typeof e.parse=="function"}const nl=e=>(e==null?void 0:e.role)==="assistant",F7=e=>(e==null?void 0:e.role)==="function",L7=e=>(e==null?void 0:e.role)==="tool";var hn=function(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r},$e=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},or,Qd,Zd,Ns,js,ef,Ds,oo,Fs,tf,rf,Ei,vv,dp,bv,yv,wv,_v,z7,xv;const xx=10;class V7{constructor(){or.add(this),this.controller=new AbortController,Qd.set(this,void 0),Zd.set(this,()=>{}),Ns.set(this,()=>{}),js.set(this,void 0),ef.set(this,()=>{}),Ds.set(this,()=>{}),oo.set(this,{}),this._chatCompletions=[],this.messages=[],Fs.set(this,!1),tf.set(this,!1),rf.set(this,!1),Ei.set(this,!1),_v.set(this,t=>{if(hn(this,tf,!0,"f"),t instanceof Error&&t.name==="AbortError"&&(t=new Ha),t instanceof Ha)return hn(this,rf,!0,"f"),this._emit("abort",t);if(t instanceof Ze)return this._emit("error",t);if(t instanceof Error){const r=new Ze(t.message);return r.cause=t,this._emit("error",r)}return this._emit("error",new Ze(String(t)))}),hn(this,Qd,new Promise((t,r)=>{hn(this,Zd,t,"f"),hn(this,Ns,r,"f")}),"f"),hn(this,js,new Promise((t,r)=>{hn(this,ef,t,"f"),hn(this,Ds,r,"f")}),"f"),$e(this,Qd,"f").catch(()=>{}),$e(this,js,"f").catch(()=>{})}_run(t){setTimeout(()=>{t().then(()=>{this._emitFinal(),this._emit("end")},$e(this,_v,"f"))},0)}_addChatCompletion(t){var n;this._chatCompletions.push(t),this._emit("chatCompletion",t);const r=(n=t.choices[0])==null?void 0:n.message;return r&&this._addMessage(r),t}_addMessage(t,r=!0){if("content"in t||(t.content=null),this.messages.push(t),r){if(this._emit("message",t),(F7(t)||L7(t))&&t.content)this._emit("functionCallResult",t.content);else if(nl(t)&&t.function_call)this._emit("functionCall",t.function_call);else if(nl(t)&&t.tool_calls)for(const n of t.tool_calls)n.type==="function"&&this._emit("functionCall",n.function)}}_connected(){this.ended||($e(this,Zd,"f").call(this),this._emit("connect"))}get ended(){return $e(this,Fs,"f")}get errored(){return $e(this,tf,"f")}get aborted(){return $e(this,rf,"f")}abort(){this.controller.abort()}on(t,r){return($e(this,oo,"f")[t]||($e(this,oo,"f")[t]=[])).push({listener:r}),this}off(t,r){const n=$e(this,oo,"f")[t];if(!n)return this;const o=n.findIndex(a=>a.listener===r);return o>=0&&n.splice(o,1),this}once(t,r){return($e(this,oo,"f")[t]||($e(this,oo,"f")[t]=[])).push({listener:r,once:!0}),this}emitted(t){return new Promise((r,n)=>{hn(this,Ei,!0,"f"),t!=="error"&&this.once("error",n),this.once(t,r)})}async done(){hn(this,Ei,!0,"f"),await $e(this,js,"f")}async finalChatCompletion(){await this.done();const t=this._chatCompletions[this._chatCompletions.length-1];if(!t)throw new Ze("stream ended without producing a ChatCompletion");return t}async finalContent(){return await this.done(),$e(this,or,"m",vv).call(this)}async finalMessage(){return await this.done(),$e(this,or,"m",dp).call(this)}async finalFunctionCall(){return await this.done(),$e(this,or,"m",bv).call(this)}async finalFunctionCallResult(){return await this.done(),$e(this,or,"m",yv).call(this)}async totalUsage(){return await this.done(),$e(this,or,"m",wv).call(this)}allChatCompletions(){return[...this._chatCompletions]}_emit(t,...r){if($e(this,Fs,"f"))return;t==="end"&&(hn(this,Fs,!0,"f"),$e(this,ef,"f").call(this));const n=$e(this,oo,"f")[t];if(n&&($e(this,oo,"f")[t]=n.filter(o=>!o.once),n.forEach(({listener:o})=>o(...r))),t==="abort"){const o=r[0];!$e(this,Ei,"f")&&!(n!=null&&n.length)&&Promise.reject(o),$e(this,Ns,"f").call(this,o),$e(this,Ds,"f").call(this,o),this._emit("end");return}if(t==="error"){const o=r[0];!$e(this,Ei,"f")&&!(n!=null&&n.length)&&Promise.reject(o),$e(this,Ns,"f").call(this,o),$e(this,Ds,"f").call(this,o),this._emit("end")}}_emitFinal(){const t=this._chatCompletions[this._chatCompletions.length-1];t&&this._emit("finalChatCompletion",t);const r=$e(this,or,"m",dp).call(this);r&&this._emit("finalMessage",r);const n=$e(this,or,"m",vv).call(this);n&&this._emit("finalContent",n);const o=$e(this,or,"m",bv).call(this);o&&this._emit("finalFunctionCall",o);const a=$e(this,or,"m",yv).call(this);a!=null&&this._emit("finalFunctionCallResult",a),this._chatCompletions.some(i=>i.usage)&&this._emit("totalUsage",$e(this,or,"m",wv).call(this))}async _createChatCompletion(t,r,n){const o=n==null?void 0:n.signal;o&&(o.aborted&&this.controller.abort(),o.addEventListener("abort",()=>this.controller.abort())),$e(this,or,"m",z7).call(this,r);const a=await t.create({...r,stream:!1},{...n,signal:this.controller.signal});return this._connected(),this._addChatCompletion(a)}async _runChatCompletion(t,r,n){for(const o of r.messages)this._addMessage(o,!1);return await this._createChatCompletion(t,r,n)}async _runFunctions(t,r,n){var P;const o="function",{function_call:a="auto",stream:i,...l}=r,f=typeof a!="string"&&(a==null?void 0:a.name),{maxChatCompletions:g=xx}=n||{},m={};for(const O of r.functions)m[O.name||O.function.name]=O;const w=r.functions.map(O=>({name:O.name||O.function.name,parameters:O.parameters,description:O.description}));for(const O of r.messages)this._addMessage(O,!1);for(let O=0;OJSON.stringify(_.name)).join(", ")}. Please try again`;this._addMessage({role:o,name:y,content:v});continue}let u;try{u=_x(s)?await s.parse(c):c}catch(v){this._addMessage({role:o,name:y,content:v instanceof Error?v.message:String(v)});continue}const d=await s.function(u,this),h=$e(this,or,"m",xv).call(this,d);if(this._addMessage({role:o,name:y,content:h}),f)return}}async _runTools(t,r,n){var P,O;const o="tool",{tool_choice:a="auto",stream:i,...l}=r,f=typeof a!="string"&&((P=a==null?void 0:a.function)==null?void 0:P.name),{maxChatCompletions:g=xx}=n||{},m={};for(const C of r.tools)C.type==="function"&&(m[C.function.name||C.function.function.name]=C.function);const w="tools"in r?r.tools.map(C=>C.type==="function"?{type:"function",function:{name:C.function.name||C.function.function.name,parameters:C.function.parameters,description:C.function.description}}:C):void 0;for(const C of r.messages)this._addMessage(C,!1);for(let C=0;CJSON.stringify(E.function.name)).join(", ")}. Please try again`;this._addMessage({role:o,tool_call_id:s,content:T});continue}let v;try{v=_x(h)?await h.parse(d):d}catch(T){const E=T instanceof Error?T.message:String(T);this._addMessage({role:o,tool_call_id:s,content:E});continue}const _=await h.function(v,this),k=$e(this,or,"m",xv).call(this,_);if(this._addMessage({role:o,tool_call_id:s,content:k}),f)return}}}}Qd=new WeakMap,Zd=new WeakMap,Ns=new WeakMap,js=new WeakMap,ef=new WeakMap,Ds=new WeakMap,oo=new WeakMap,Fs=new WeakMap,tf=new WeakMap,rf=new WeakMap,Ei=new WeakMap,_v=new WeakMap,or=new WeakSet,vv=function(){return $e(this,or,"m",dp).call(this).content??null},dp=function(){let t=this.messages.length;for(;t-- >0;){const r=this.messages[t];if(nl(r))return{...r,content:r.content??null}}throw new Ze("stream ended without producing a ChatCompletionMessage with role=assistant")},bv=function(){var t,r;for(let n=this.messages.length-1;n>=0;n--){const o=this.messages[n];if(nl(o)&&(o!=null&&o.function_call))return o.function_call;if(nl(o)&&((t=o==null?void 0:o.tool_calls)!=null&&t.length))return(r=o.tool_calls.at(-1))==null?void 0:r.function}},yv=function(){for(let t=this.messages.length-1;t>=0;t--){const r=this.messages[t];if(F7(r)&&r.content!=null||L7(r)&&r.content!=null&&this.messages.some(n=>{var o;return n.role==="assistant"&&((o=n.tool_calls)==null?void 0:o.some(a=>a.type==="function"&&a.id===r.tool_call_id))}))return r.content}},wv=function(){const t={completion_tokens:0,prompt_tokens:0,total_tokens:0};for(const{usage:r}of this._chatCompletions)r&&(t.completion_tokens+=r.completion_tokens,t.prompt_tokens+=r.prompt_tokens,t.total_tokens+=r.total_tokens);return t},z7=function(t){if(t.n!=null&&t.n>1)throw new Ze("ChatCompletion convenience helpers only support n=1 at this time. To use n>1, please use chat.completions.create() directly.")},xv=function(t){return typeof t=="string"?t:t===void 0?"undefined":JSON.stringify(t)};class Fu extends V7{static runFunctions(t,r,n){const o=new Fu,a={...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"runFunctions"}};return o._run(()=>o._runFunctions(t,r,a)),o}static runTools(t,r,n){const o=new Fu,a={...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"runTools"}};return o._run(()=>o._runTools(t,r,a)),o}_addMessage(t){super._addMessage(t),nl(t)&&t.content&&this._emit("content",t.content)}}var gn=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},kg=function(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r},Ln,$o,Rg,Mg,pd,Cx;class Lu extends V7{constructor(){super(...arguments),Ln.add(this),$o.set(this,void 0)}get currentChatCompletionSnapshot(){return gn(this,$o,"f")}static fromReadableStream(t){const r=new Lu;return r._run(()=>r._fromReadableStream(t)),r}static createChatCompletion(t,r,n){const o=new Lu;return o._run(()=>o._runChatCompletion(t,{...r,stream:!0},{...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"stream"}})),o}async _createChatCompletion(t,r,n){var i;const o=n==null?void 0:n.signal;o&&(o.aborted&&this.controller.abort(),o.addEventListener("abort",()=>this.controller.abort())),gn(this,Ln,"m",Rg).call(this);const a=await t.create({...r,stream:!0},{...n,signal:this.controller.signal});this._connected();for await(const l of a)gn(this,Ln,"m",Mg).call(this,l);if((i=a.controller.signal)!=null&&i.aborted)throw new Ha;return this._addChatCompletion(gn(this,Ln,"m",pd).call(this))}async _fromReadableStream(t,r){var i;const n=r==null?void 0:r.signal;n&&(n.aborted&&this.controller.abort(),n.addEventListener("abort",()=>this.controller.abort())),gn(this,Ln,"m",Rg).call(this),this._connected();const o=Zo.fromReadableStream(t,this.controller);let a;for await(const l of o)a&&a!==l.id&&this._addChatCompletion(gn(this,Ln,"m",pd).call(this)),gn(this,Ln,"m",Mg).call(this,l),a=l.id;if((i=o.controller.signal)!=null&&i.aborted)throw new Ha;return this._addChatCompletion(gn(this,Ln,"m",pd).call(this))}[($o=new WeakMap,Ln=new WeakSet,Rg=function(){this.ended||kg(this,$o,void 0,"f")},Mg=function(r){var i,l,f;if(this.ended)return;const n=gn(this,Ln,"m",Cx).call(this,r);this._emit("chunk",r,n);const o=(l=(i=r.choices[0])==null?void 0:i.delta)==null?void 0:l.content,a=(f=n.choices[0])==null?void 0:f.message;o!=null&&(a==null?void 0:a.role)==="assistant"&&(a!=null&&a.content)&&this._emit("content",o,a.content)},pd=function(){if(this.ended)throw new Ze("stream has ended, this shouldn't happen");const r=gn(this,$o,"f");if(!r)throw new Ze("request ended without sending any chunks");return kg(this,$o,void 0,"f"),BG(r)},Cx=function(r){var n,o,a;let i=gn(this,$o,"f");const{choices:l,...f}=r;i?Object.assign(i,f):i=kg(this,$o,{...f,choices:[]},"f");for(const{delta:g,finish_reason:m,index:w,logprobs:P=null,...O}of r.choices){let C=i.choices[w];if(C||(C=i.choices[w]={finish_reason:m,index:w,message:{},logprobs:P,...O}),P)if(!C.logprobs)C.logprobs=Object.assign({},P);else{const{content:d,...h}=P;Object.assign(C.logprobs,h),d&&((n=C.logprobs).content??(n.content=[]),C.logprobs.content.push(...d))}if(m&&(C.finish_reason=m),Object.assign(C,O),!g)continue;const{content:b,function_call:y,role:c,tool_calls:s,...u}=g;if(Object.assign(C.message,u),b&&(C.message.content=(C.message.content||"")+b),c&&(C.message.role=c),y&&(C.message.function_call?(y.name&&(C.message.function_call.name=y.name),y.arguments&&((o=C.message.function_call).arguments??(o.arguments=""),C.message.function_call.arguments+=y.arguments)):C.message.function_call=y),s){C.message.tool_calls||(C.message.tool_calls=[]);for(const{index:d,id:h,type:v,function:_,...k}of s){const T=(a=C.message.tool_calls)[d]??(a[d]={});Object.assign(T,k),h&&(T.id=h),v&&(T.type=v),_&&(T.function??(T.function={arguments:""})),_!=null&&_.name&&(T.function.name=_.name),_!=null&&_.arguments&&(T.function.arguments+=_.arguments)}}}return i},Symbol.asyncIterator)](){const t=[],r=[];let n=!1;return this.on("chunk",o=>{const a=r.shift();a?a(o):t.push(o)}),this.on("end",()=>{n=!0;for(const o of r)o(void 0);r.length=0}),{next:async()=>t.length?{value:t.shift(),done:!1}:n?{value:void 0,done:!0}:new Promise(a=>r.push(a)).then(a=>a?{value:a,done:!1}:{value:void 0,done:!0})}}toReadableStream(){return new Zo(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}function BG(e){const{id:t,choices:r,created:n,model:o,system_fingerprint:a,...i}=e;return{...i,id:t,choices:r.map(({message:l,finish_reason:f,index:g,logprobs:m,...w})=>{if(!f)throw new Ze(`missing finish_reason for choice ${g}`);const{content:P=null,function_call:O,tool_calls:C,...b}=l,y=l.role;if(!y)throw new Ze(`missing role for choice ${g}`);if(O){const{arguments:c,name:s}=O;if(c==null)throw new Ze(`missing function_call.arguments for choice ${g}`);if(!s)throw new Ze(`missing function_call.name for choice ${g}`);return{...w,message:{content:P,function_call:{arguments:c,name:s},role:y},finish_reason:f,index:g,logprobs:m}}return C?{...w,index:g,finish_reason:f,logprobs:m,message:{...b,role:y,content:P,tool_calls:C.map((c,s)=>{const{function:u,type:d,id:h,...v}=c,{arguments:_,name:k,...T}=u||{};if(h==null)throw new Ze(`missing choices[${g}].tool_calls[${s}].id +${hd(e)}`);if(d==null)throw new Ze(`missing choices[${g}].tool_calls[${s}].type +${hd(e)}`);if(k==null)throw new Ze(`missing choices[${g}].tool_calls[${s}].function.name +${hd(e)}`);if(_==null)throw new Ze(`missing choices[${g}].tool_calls[${s}].function.arguments +${hd(e)}`);return{...v,id:h,type:d,function:{...T,name:k,arguments:_}}})}}:{...w,message:{...b,content:P,role:y},finish_reason:f,index:g,logprobs:m}}),created:n,model:o,object:"chat.completion",...a?{system_fingerprint:a}:{}}}function hd(e){return JSON.stringify(e)}class ol extends Lu{static fromReadableStream(t){const r=new ol;return r._run(()=>r._fromReadableStream(t)),r}static runFunctions(t,r,n){const o=new ol,a={...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"runFunctions"}};return o._run(()=>o._runFunctions(t,r,a)),o}static runTools(t,r,n){const o=new ol,a={...n,headers:{...n==null?void 0:n.headers,"X-Stainless-Helper-Method":"runTools"}};return o._run(()=>o._runTools(t,r,a)),o}}let $7=class extends gt{runFunctions(t,r){return t.stream?ol.runFunctions(this._client.chat.completions,t,r):Fu.runFunctions(this._client.chat.completions,t,r)}runTools(t,r){return t.stream?ol.runTools(this._client.chat.completions,t,r):Fu.runTools(this._client.chat.completions,t,r)}stream(t,r){return Lu.createChatCompletion(this._client.chat.completions,t,r)}};class fp extends gt{constructor(){super(...arguments),this.completions=new $7(this._client)}}(function(e){e.Completions=$7})(fp||(fp={}));let pp=class extends gt{retrieve(t,r,n,o){return this._client.get(`/threads/${t}/messages/${r}/files/${n}`,{...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}list(t,r,n={},o){return Qn(n)?this.list(t,r,{},n):this._client.getAPIList(`/threads/${t}/messages/${r}/files`,n1,{query:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}};class n1 extends To{}(function(e){e.MessageFilesPage=n1})(pp||(pp={}));class hp extends gt{constructor(){super(...arguments),this.files=new pp(this._client)}create(t,r,n){return this._client.post(`/threads/${t}/messages`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}retrieve(t,r,n){return this._client.get(`/threads/${t}/messages/${r}`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}update(t,r,n,o){return this._client.post(`/threads/${t}/messages/${r}`,{body:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}list(t,r={},n){return Qn(r)?this.list(t,{},r):this._client.getAPIList(`/threads/${t}/messages`,o1,{query:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}}class o1 extends To{}(function(e){e.ThreadMessagesPage=o1,e.Files=pp,e.MessageFilesPage=n1})(hp||(hp={}));class gp extends gt{retrieve(t,r,n,o){return this._client.get(`/threads/${t}/runs/${r}/steps/${n}`,{...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}list(t,r,n={},o){return Qn(n)?this.list(t,r,{},n):this._client.getAPIList(`/threads/${t}/runs/${r}/steps`,a1,{query:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}}class a1 extends To{}(function(e){e.RunStepsPage=a1})(gp||(gp={}));class mp extends gt{constructor(){super(...arguments),this.steps=new gp(this._client)}create(t,r,n){return this._client.post(`/threads/${t}/runs`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}retrieve(t,r,n){return this._client.get(`/threads/${t}/runs/${r}`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}update(t,r,n,o){return this._client.post(`/threads/${t}/runs/${r}`,{body:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}list(t,r={},n){return Qn(r)?this.list(t,{},r):this._client.getAPIList(`/threads/${t}/runs`,i1,{query:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}cancel(t,r,n){return this._client.post(`/threads/${t}/runs/${r}/cancel`,{...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}submitToolOutputs(t,r,n,o){return this._client.post(`/threads/${t}/runs/${r}/submit_tool_outputs`,{body:n,...o,headers:{"OpenAI-Beta":"assistants=v1",...o==null?void 0:o.headers}})}}class i1 extends To{}(function(e){e.RunsPage=i1,e.Steps=gp,e.RunStepsPage=a1})(mp||(mp={}));class vp extends gt{constructor(){super(...arguments),this.runs=new mp(this._client),this.messages=new hp(this._client)}create(t={},r){return Qn(t)?this.create({},t):this._client.post("/threads",{body:t,...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}retrieve(t,r){return this._client.get(`/threads/${t}`,{...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}update(t,r,n){return this._client.post(`/threads/${t}`,{body:r,...n,headers:{"OpenAI-Beta":"assistants=v1",...n==null?void 0:n.headers}})}del(t,r){return this._client.delete(`/threads/${t}`,{...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}createAndRun(t,r){return this._client.post("/threads/runs",{body:t,...r,headers:{"OpenAI-Beta":"assistants=v1",...r==null?void 0:r.headers}})}}(function(e){e.Runs=mp,e.RunsPage=i1,e.Messages=hp,e.ThreadMessagesPage=o1})(vp||(vp={}));class bp extends gt{constructor(){super(...arguments),this.chat=new fp(this._client),this.assistants=new cp(this._client),this.threads=new vp(this._client)}}(function(e){e.Chat=fp,e.Assistants=cp,e.AssistantsPage=r1,e.Threads=vp})(bp||(bp={}));class yp extends gt{create(t,r){return this._client.post("/completions",{body:t,...r,stream:t.stream??!1})}}yp||(yp={});class wp extends gt{create(t,r){return this._client.post("/embeddings",{body:t,...r})}}wp||(wp={});class _p extends gt{create(t,r){return this._client.post("/files",Du({body:t,...r}))}retrieve(t,r){return this._client.get(`/files/${t}`,r)}list(t={},r){return Qn(t)?this.list({},t):this._client.getAPIList("/files",l1,{query:t,...r})}del(t,r){return this._client.delete(`/files/${t}`,r)}content(t,r){return this._client.get(`/files/${t}/content`,{...r,__binaryResponse:!0})}retrieveContent(t,r){return this._client.get(`/files/${t}/content`,{...r,headers:{Accept:"application/json",...r==null?void 0:r.headers}})}async waitForProcessing(t,{pollInterval:r=5e3,maxWait:n=30*60*1e3}={}){const o=new Set(["processed","error","deleted"]),a=Date.now();let i=await this.retrieve(t);for(;!i.status||!o.has(i.status);)if(await N7(r),i=await this.retrieve(t),Date.now()-a>n)throw new Zy({message:`Giving up on waiting for file ${t} to finish processing after ${n} milliseconds.`});return i}}class l1 extends e1{}(function(e){e.FileObjectsPage=l1})(_p||(_p={}));class xp extends gt{create(t,r){return this._client.post("/fine_tuning/jobs",{body:t,...r})}retrieve(t,r){return this._client.get(`/fine_tuning/jobs/${t}`,r)}list(t={},r){return Qn(t)?this.list({},t):this._client.getAPIList("/fine_tuning/jobs",s1,{query:t,...r})}cancel(t,r){return this._client.post(`/fine_tuning/jobs/${t}/cancel`,r)}listEvents(t,r={},n){return Qn(r)?this.listEvents(t,{},r):this._client.getAPIList(`/fine_tuning/jobs/${t}/events`,u1,{query:r,...n})}}class s1 extends To{}class u1 extends To{}(function(e){e.FineTuningJobsPage=s1,e.FineTuningJobEventsPage=u1})(xp||(xp={}));class Cp extends gt{constructor(){super(...arguments),this.jobs=new xp(this._client)}}(function(e){e.Jobs=xp,e.FineTuningJobsPage=s1,e.FineTuningJobEventsPage=u1})(Cp||(Cp={}));class Pp extends gt{createVariation(t,r){return this._client.post("/images/variations",Du({body:t,...r}))}edit(t,r){return this._client.post("/images/edits",Du({body:t,...r}))}generate(t,r){return this._client.post("/images/generations",{body:t,...r})}}Pp||(Pp={});class Op extends gt{retrieve(t,r){return this._client.get(`/models/${t}`,r)}list(t){return this._client.getAPIList("/models",c1,t)}del(t,r){return this._client.delete(`/models/${t}`,r)}}class c1 extends e1{}(function(e){e.ModelsPage=c1})(Op||(Op={}));class Sp extends gt{create(t,r){return this._client.post("/moderations",{body:t,...r})}}Sp||(Sp={});var U7;class Bt extends AG{constructor({baseURL:t=Eg("OPENAI_BASE_URL"),apiKey:r=Eg("OPENAI_API_KEY"),organization:n=Eg("OPENAI_ORG_ID")??null,...o}={}){if(r===void 0)throw new Ze("The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).");const a={apiKey:r,organization:n,...o,baseURL:t||"https://api.openai.com/v1"};if(!a.dangerouslyAllowBrowser&&WG())throw new Ze(`It looks like you're running in a browser-like environment. This is disabled by default, as it risks exposing your secret API credentials to attackers. If you understand the risks and have appropriate mitigations in place, @@ -178,4 +178,4 @@ you can set the \`dangerouslyAllowBrowser\` option to \`true\`, e.g., new OpenAI({ apiKey, dangerouslyAllowBrowser: true }); https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety -`);super({baseURL:a.baseURL,timeout:a.timeout??6e5,httpAgent:a.httpAgent,maxRetries:a.maxRetries,fetch:a.fetch}),this.completions=new y0(this),this.chat=new o0(this),this.embeddings=new w0(this),this.files=new _0(this),this.images=new P0(this),this.audio=new s0(this),this.moderations=new S0(this),this.models=new O0(this),this.fineTuning=new C0(this),this.beta=new b0(this),this._options=a,this.apiKey=r,this.organization=n}defaultQuery(){return this._options.defaultQuery}defaultHeaders(t){return{...super.defaultHeaders(t),"OpenAI-Organization":this.organization,...this._options.defaultHeaders}}authHeaders(t){return{Authorization:`Bearer ${this.apiKey}`}}}US=Bt;Bt.OpenAI=US;Bt.OpenAIError=Qe;Bt.APIError=sr;Bt.APIConnectionError=jp;Bt.APIConnectionTimeoutError=Q1;Bt.APIUserAbortError=Ha;Bt.NotFoundError=PS;Bt.ConflictError=OS;Bt.RateLimitError=TS;Bt.BadRequestError=_S;Bt.AuthenticationError=xS;Bt.InternalServerError=ES;Bt.PermissionDeniedError=CS;Bt.UnprocessableEntityError=SS;(function(e){e.toFile=RS,e.fileFromPath=yS,e.Page=ey,e.CursorPage=To,e.Completions=y0,e.Chat=o0,e.Embeddings=w0,e.Files=_0,e.FileObjectsPage=ly,e.Images=P0,e.Audio=s0,e.Moderations=S0,e.Models=O0,e.ModelsPage=cy,e.FineTuning=C0,e.Beta=b0})(Bt||(Bt={}));const HG=Bt;var GG={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"};const qG=()=>{const[e,t]=F.useState([]),[r,n]=F.useState(!1);F.useEffect(()=>{const a=new HG({apiKey:GG.OPENAI_API_KEY,dangerouslyAllowBrowser:!0});async function i(){try{const l=await a.models.list();t(l.data)}catch(l){console.error("Error loading models:",l)}}i()},[]);const o=()=>{n(!r)};return Q.jsxs("div",{children:[Q.jsx("h2",{className:"text-center font-bold text-[2rem] py-2",children:"About"}),Q.jsx("p",{className:"font-bold text-center text-[1.4rem]",children:"Welcome to this AI Gen Project! "}),Q.jsx("p",{className:"text-[1.2rem]",children:"We are passionate about harnessing the power of AI to create innovative solutions for generating images, audio, and more. Our project leverages cutting-edge technology provided by OpenAI to enable users to explore the realm of artificial intelligence in creative ways."}),Q.jsxs("div",{className:"models-used",children:[Q.jsx("h3",{className:"text-[1.5rem] font-semibold mb-4 text-center",children:"Models used:"}),e.length===0?Q.jsx("div",{className:"flex flex-col m-auto",children:Q.jsx(mG,{color:"#000",height:50,width:100})}):Q.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:e.slice(0,r?e.length:6).map((a,i)=>Q.jsxs("div",{className:"bg-white rounded-lg shadow-md p-4 ",children:[Q.jsx("h4",{className:"text-xl font-semibold mb-2 bg-gradient-to-r from-red-500 to-blue-500 text-transparent bg-clip-text",children:a.id}),Q.jsxs("p",{className:"text-sm font-medium mb-1",children:["Object: ",a.object]}),Q.jsxs("p",{className:"text-sm font-medium mb-1",children:["Created: ",new Date(a.created*1e3).toLocaleString()]}),Q.jsxs("p",{className:"text-sm font-medium",children:["Owned by: ",a.owned_by]})]},i))}),e.length>6&&Q.jsx("button",{className:"text-blue-500 font-semibold mt-4 m-auto flex flex-col",onClick:o,children:r?"Show Less":"View More"})]})]})},KG=()=>Q.jsx(Q.Fragment,{children:Q.jsx(dI,{children:Q.jsxs("div",{className:"mx-auto max-w-7xl",children:[Q.jsx(uz,{}),Q.jsxs(oI,{children:[Q.jsx(Ts,{path:"/",element:Q.jsx(IF,{})}),Q.jsx(Ts,{path:"/generate_image",element:Q.jsx(JL,{})}),Q.jsx(Ts,{path:"/about",element:Q.jsx(qG,{})}),Q.jsx(Ts,{path:"*",element:Q.jsx("h1",{children:"Not Found"})})]}),Q.jsx(uH,{})]})})});Ag.createRoot(document.getElementById("root")).render(Q.jsx(Me.StrictMode,{children:Q.jsx(KG,{})})); +`);super({baseURL:a.baseURL,timeout:a.timeout??6e5,httpAgent:a.httpAgent,maxRetries:a.maxRetries,fetch:a.fetch}),this.completions=new yp(this),this.chat=new op(this),this.embeddings=new wp(this),this.files=new _p(this),this.images=new Pp(this),this.audio=new sp(this),this.moderations=new Sp(this),this.models=new Op(this),this.fineTuning=new Cp(this),this.beta=new bp(this),this._options=a,this.apiKey=r,this.organization=n}defaultQuery(){return this._options.defaultQuery}defaultHeaders(t){return{...super.defaultHeaders(t),"OpenAI-Organization":this.organization,...this._options.defaultHeaders}}authHeaders(t){return{Authorization:`Bearer ${this.apiKey}`}}}U7=Bt;Bt.OpenAI=U7;Bt.OpenAIError=Ze;Bt.APIError=sr;Bt.APIConnectionError=j0;Bt.APIConnectionTimeoutError=Zy;Bt.APIUserAbortError=Ha;Bt.NotFoundError=P7;Bt.ConflictError=O7;Bt.RateLimitError=T7;Bt.BadRequestError=_7;Bt.AuthenticationError=x7;Bt.InternalServerError=E7;Bt.PermissionDeniedError=C7;Bt.UnprocessableEntityError=S7;(function(e){e.toFile=M7,e.fileFromPath=y7,e.Page=e1,e.CursorPage=To,e.Completions=yp,e.Chat=op,e.Embeddings=wp,e.Files=_p,e.FileObjectsPage=l1,e.Images=Pp,e.Audio=sp,e.Moderations=Sp,e.Models=Op,e.ModelsPage=c1,e.FineTuning=Cp,e.Beta=bp})(Bt||(Bt={}));const HG=Bt;var GG={ACLOCAL_PATH:"C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal",ALLUSERSPROFILE:"C:\\ProgramData",APPDATA:"C:\\Users\\User\\AppData\\Roaming",ChocolateyInstall:"C:\\ProgramData\\chocolatey",ChocolateyLastPathUpdate:"133473179112501713",COLOR:"1",COLORTERM:"truecolor",COMMONPROGRAMFILES:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"HP17",COMSPEC:"C:\\Windows\\system32\\cmd.exe",CONFIG_SITE:"C:/Program Files/Git/etc/config.site",DISPLAY:"needs-to-be-defined",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",EDITOR:"C:\\Windows\\notepad.exe",EFC_7672:"1",EXEPATH:"C:\\Program Files\\Git\\bin",FPS_BROWSER_APP_PROFILE_STRING:"Internet Explorer",FPS_BROWSER_USER_PROFILE_STRING:"Default",GIT_ASKPASS:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",HOME:"C:\\Users\\User",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\User",HOSTNAME:"hp17",INFOPATH:"C:\\Program Files\\Git\\mingw64\\local\\info;C:\\Program Files\\Git\\mingw64\\share\\info;C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info",INIT_CWD:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",JD2_HOME:"C:\\Users\\User\\AppData\\Local\\JDownloader 2.0",LANG:"en_US.UTF-8",LOCALAPPDATA:"C:\\Users\\User\\AppData\\Local",LOGONSERVER:"\\\\HP17",MANPATH:"C:\\Program Files\\Git\\mingw64\\local\\man;C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man",MINGW_CHOST:"x86_64-w64-mingw32",MINGW_PACKAGE_PREFIX:"mingw-w64-x86_64",MINGW_PREFIX:"C:/Program Files/Git/mingw64",MSYS:"disable_pcon",MSYSTEM:"MINGW64",MSYSTEM_CARCH:"x86_64",MSYSTEM_CHOST:"x86_64-w64-mingw32",MSYSTEM_PREFIX:"C:/Program Files/Git/mingw64",NODE:"C:\\Program Files\\nodejs\\node.exe",NODE_ENV:"production",npm_command:"run-script",npm_config_cache:"C:\\Users\\User\\AppData\\Local\\npm-cache",npm_config_globalconfig:"C:\\Users\\User\\AppData\\Roaming\\npm\\etc\\npmrc",npm_config_global_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_init_module:"C:\\Users\\User\\.npm-init.js",npm_config_local_prefix:"C:\\Users\\User\\Desktop\\projects\\AI-Gen",npm_config_node_gyp:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",npm_config_noproxy:"",npm_config_npm_version:"10.4.0",npm_config_prefix:"C:\\Users\\User\\AppData\\Roaming\\npm",npm_config_userconfig:"C:\\Users\\User\\.npmrc",npm_config_user_agent:"npm/10.4.0 node/v20.10.0 win32 x64 workspaces/false",npm_execpath:"C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",npm_lifecycle_event:"build",npm_lifecycle_script:"vite build",npm_node_execpath:"C:\\Program Files\\nodejs\\node.exe",npm_package_json:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\package.json",npm_package_name:"ai-gen",npm_package_version:"0.0.0",NUMBER_OF_PROCESSORS:"8",OneDrive:"C:\\Users\\User\\OneDrive",OPENAI_API_KEY:"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",ORIGINAL_PATH:"C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools",ORIGINAL_TEMP:"D:/Temp",ORIGINAL_TMP:"D:/Temp",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",OS:"Windows_NT",PATH:"C:\\Users\\User\\Desktop\\projects\\AI-Gen\\node_modules\\.bin;C:\\Users\\User\\Desktop\\projects\\node_modules\\.bin;C:\\Users\\User\\Desktop\\node_modules\\.bin;C:\\Users\\User\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\User\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\User\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\User\\bin;C:\\Program Files\\Python312\\Scripts;C:\\Program Files\\Python312;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet;D:\\Docker\\resources\\bin;C:\\Users\\User\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\User\\AppData\\Roaming\\npm;C:\\Users\\User\\.dotnet\\tools;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW",PKG_CONFIG_PATH:"C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig",PKG_CONFIG_SYSTEM_INCLUDE_PATH:"C:/Program Files/Git/mingw64/include",PKG_CONFIG_SYSTEM_LIBRARY_PATH:"C:/Program Files/Git/mingw64/lib",PLINK_PROTOCOL:"ssh",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 142 Stepping 12, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"8e0c",ProgramData:"C:\\ProgramData",PROGRAMFILES:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PWD:"C:/Users/User/Desktop/projects/AI-Gen",SESSIONNAME:"Console",SHELL:"C:\\Program Files\\Git\\usr\\bin\\bash.exe",SHLVL:"2",SSH_ASKPASS:"C:/Program Files/Git/mingw64/bin/git-askpass.exe",SYSTEMDRIVE:"C:",SYSTEMROOT:"C:\\Windows",TEMP:"D:\\Temp",TERM:"xterm-256color",TERM_PROGRAM:"vscode",TERM_PROGRAM_VERSION:"1.86.2",TMP:"D:\\Temp",TMPDIR:"D:\\Temp",USERDOMAIN:"HP17",USERDOMAIN_ROAMINGPROFILE:"HP17",USERNAME:"User",USERPROFILE:"C:\\Users\\User",VBOX_MSI_INSTALL_PATH:"D:\\Program Files\\Oracle\\VirtualBox\\",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",VSCODE_GIT_ASKPASS_MAIN:"c:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"C:\\Users\\User\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",VSCODE_GIT_IPC_HANDLE:"\\\\.\\pipe\\vscode-git-21b021562d-sock",WINDIR:"C:\\Windows",ZES_ENABLE_SYSMAN:"1",_:"C:/Program Files/nodejs/node.exe"};const qG=()=>{const[e,t]=F.useState([]),[r,n]=F.useState(!1);F.useEffect(()=>{const a=new HG({apiKey:GG.OPENAI_API_KEY,dangerouslyAllowBrowser:!0});async function i(){try{const l=await a.models.list();t(l.data)}catch(l){console.error("Error loading models:",l)}}i()},[]);const o=()=>{n(!r)};return Z.jsxs("div",{children:[Z.jsx("h2",{className:"text-center font-bold text-[2rem] py-2",children:"About"}),Z.jsx("p",{className:"font-bold text-center text-[1.4rem]",children:"Welcome to this AI Gen Project! "}),Z.jsx("p",{className:"text-[1.2rem]",children:"We are passionate about harnessing the power of AI to create innovative solutions for generating images, audio, and more. Our project leverages cutting-edge technology provided by OpenAI to enable users to explore the realm of artificial intelligence in creative ways."}),Z.jsxs("div",{className:"models-used",children:[Z.jsx("h3",{className:"text-[1.5rem] font-semibold mb-4 text-center",children:"Models used:"}),e.length===0?Z.jsx("div",{className:"flex flex-col m-auto",children:Z.jsx(mG,{color:"#000",height:50,width:100})}):Z.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:e.slice(0,r?e.length:6).map((a,i)=>Z.jsxs("div",{className:"bg-white rounded-lg shadow-md p-4 ",children:[Z.jsx("h4",{className:"text-xl font-semibold mb-2 bg-gradient-to-r from-red-500 to-blue-500 text-transparent bg-clip-text",children:a.id}),Z.jsxs("p",{className:"text-sm font-medium mb-1",children:["Object: ",a.object]}),Z.jsxs("p",{className:"text-sm font-medium mb-1",children:["Created: ",new Date(a.created*1e3).toLocaleString()]}),Z.jsxs("p",{className:"text-sm font-medium",children:["Owned by: ",a.owned_by]})]},i))}),e.length>6&&Z.jsx("button",{className:"text-blue-500 font-semibold mt-4 m-auto flex flex-col",onClick:o,children:r?"Show Less":"View More"})]})]})},KG=()=>Z.jsx(Z.Fragment,{children:Z.jsx(dI,{children:Z.jsxs("div",{className:"mx-auto max-w-7xl",children:[Z.jsx(uz,{}),Z.jsxs(oI,{children:[Z.jsx(Ts,{path:"/",element:Z.jsx(IF,{})}),Z.jsx(Ts,{path:"/generate_image",element:Z.jsx(QL,{})}),Z.jsx(Ts,{path:"/about",element:Z.jsx(qG,{})}),Z.jsx(Ts,{path:"*",element:Z.jsx("h1",{children:"Not Found"})})]}),Z.jsx(uH,{})]})})});Ag.createRoot(document.getElementById("root")).render(Z.jsx(Re.StrictMode,{children:Z.jsx(KG,{})})); diff --git a/dist/index.html b/dist/index.html index 449cc22..7238c07 100644 --- a/dist/index.html +++ b/dist/index.html @@ -11,7 +11,7 @@ rel="stylesheet" /> Vite + React - + diff --git a/package-lock.json b/package-lock.json index 223c145..ffc3f9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -124,6 +124,12 @@ "url": "https://opencollective.com/babel" } }, + "node_modules/@babel/core/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, "node_modules/@babel/generator": { "version": "7.23.6", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", @@ -423,22 +429,6 @@ "stylis": "4.2.0" } }, - "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" - }, - "node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@emotion/cache": { "version": "11.11.0", "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz", @@ -554,6 +544,358 @@ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz", "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==" }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz", + "integrity": "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.12.tgz", + "integrity": "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz", + "integrity": "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.12.tgz", + "integrity": "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz", + "integrity": "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz", + "integrity": "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz", + "integrity": "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz", + "integrity": "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz", + "integrity": "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz", + "integrity": "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz", + "integrity": "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz", + "integrity": "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz", + "integrity": "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz", + "integrity": "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz", + "integrity": "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz", + "integrity": "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz", + "integrity": "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz", + "integrity": "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz", + "integrity": "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz", + "integrity": "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz", + "integrity": "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz", + "integrity": "sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/win32-x64": { "version": "0.19.12", "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz", @@ -673,18 +1015,6 @@ } }, "node_modules/@floating-ui/react-dom": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.0.8.tgz", - "integrity": "sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw==", - "dependencies": { - "@floating-ui/dom": "^1.6.1" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-1.3.0.tgz", "integrity": "sha512-htwHm67Ji5E/pROEAr7f8IKFShuiCKHwUC/UY4vC3I5jiSvGFAYnSYiZO5MlGmads+QqvUkR9ANHEguGrDv72g==", @@ -943,6 +1273,18 @@ } } }, + "node_modules/@mui/base/node_modules/@floating-ui/react-dom": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.0.8.tgz", + "integrity": "sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw==", + "dependencies": { + "@floating-ui/dom": "^1.6.1" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, "node_modules/@mui/core-downloads-tracker": { "version": "5.15.10", "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.10.tgz", @@ -1021,11 +1363,6 @@ } } }, - "node_modules/@mui/material/node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" - }, "node_modules/@mui/private-theming": { "version": "5.15.9", "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.15.9.tgz", @@ -1162,11 +1499,6 @@ } } }, - "node_modules/@mui/utils/node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -1194,45 +1526,201 @@ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@remix-run/router": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.15.1.tgz", + "integrity": "sha512-zcU0gM3z+3iqj8UX45AmWY810l3oUmXM7uH4dt5xtzvMhRtYVhKGOmgOd1877dOPPepfCjUv57w+syamWIYe7w==", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.12.0.tgz", + "integrity": "sha512-+ac02NL/2TCKRrJu2wffk1kZ+RyqxVUlbjSagNgPm94frxtr+XDL12E5Ll1enWskLrtrZ2r8L3wED1orIibV/w==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.12.0.tgz", + "integrity": "sha512-OBqcX2BMe6nvjQ0Nyp7cC90cnumt8PXmO7Dp3gfAju/6YwG0Tj74z1vKrfRz7qAv23nBcYM8BCbhrsWqO7PzQQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.12.0.tgz", + "integrity": "sha512-X64tZd8dRE/QTrBIEs63kaOBG0b5GVEd3ccoLtyf6IdXtHdh8h+I56C2yC3PtC9Ucnv0CpNFJLqKFVgCYe0lOQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.12.0.tgz", + "integrity": "sha512-cc71KUZoVbUJmGP2cOuiZ9HSOP14AzBAThn3OU+9LcA1+IUqswJyR1cAJj3Mg55HbjZP6OLAIscbQsQLrpgTOg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.12.0.tgz", + "integrity": "sha512-a6w/Y3hyyO6GlpKL2xJ4IOh/7d+APaqLYdMf86xnczU3nurFTaVN9s9jOXQg97BE4nYm/7Ga51rjec5nfRdrvA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.12.0.tgz", + "integrity": "sha512-0fZBq27b+D7Ar5CQMofVN8sggOVhEtzFUwOwPppQt0k+VR+7UHMZZY4y+64WJ06XOhBTKXtQB/Sv0NwQMXyNAA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.12.0.tgz", + "integrity": "sha512-eTvzUS3hhhlgeAv6bfigekzWZjaEX9xP9HhxB0Dvrdbkk5w/b+1Sxct2ZuDxNJKzsRStSq1EaEkVSEe7A7ipgQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.12.0.tgz", + "integrity": "sha512-ix+qAB9qmrCRiaO71VFfY8rkiAZJL8zQRXveS27HS+pKdjwUfEhqo2+YF2oI+H/22Xsiski+qqwIBxVewLK7sw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.12.0.tgz", + "integrity": "sha512-TenQhZVOtw/3qKOPa7d+QgkeM6xY0LtwzR8OplmyL5LrgTWIXpTQg2Q2ycBf8jm+SFW2Wt/DTn1gf7nFp3ssVA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.12.0.tgz", + "integrity": "sha512-LfFdRhNnW0zdMvdCb5FNuWlls2WbbSridJvxOvYWgSBOYZtgBfW9UGNJG//rwMqTX1xQE9BAodvMH9tAusKDUw==", + "cpu": [ + "x64" + ], "dev": true, "optional": true, - "engines": { - "node": ">=14" - } + "os": [ + "linux" + ] }, - "node_modules/@popperjs/core": { - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.12.0.tgz", + "integrity": "sha512-JPDxovheWNp6d7AHCgsUlkuCKvtu3RB55iNEkaQcf0ttsDU/JZF+iQnYcQJSk/7PtT4mjjVG8N1kpwnI9SLYaw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/@remix-run/router": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.15.1.tgz", - "integrity": "sha512-zcU0gM3z+3iqj8UX45AmWY810l3oUmXM7uH4dt5xtzvMhRtYVhKGOmgOd1877dOPPepfCjUv57w+syamWIYe7w==", - "engines": { - "node": ">=14.0.0" - } + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.12.0.tgz", + "integrity": "sha512-fjtuvMWRGJn1oZacG8IPnzIV6GF2/XG+h71FKn76OYFqySXInJtseAqdprVTDTyqPxQOG9Exak5/E9Z3+EJ8ZA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.11.0.tgz", - "integrity": "sha512-f3I7h9oTg79UitEco9/2bzwdciYkWr8pITs3meSDSlr1TdvQ7IxkQaaYN2YqZXX5uZhiYL+VuYDmHwNzhx+HOg==", + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.12.0.tgz", + "integrity": "sha512-ZYmr5mS2wd4Dew/JjT0Fqi2NPB/ZhZ2VvPp7SmvPZb4Y1CG/LRcS6tcRo2cYU7zLK5A7cdbhWnnWmUjoI4qapg==", "cpu": [ "x64" ], @@ -1322,9 +1810,9 @@ "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==" }, "node_modules/@types/react": { - "version": "18.2.55", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.55.tgz", - "integrity": "sha512-Y2Tz5P4yz23brwm2d7jNon39qoAtMMmalOQv6+fEFt1mT+FcM3D841wDpoUvFXhaYenuROCy3FZYqdTjM7qVyA==", + "version": "18.2.57", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.57.tgz", + "integrity": "sha512-ZvQsktJgSYrQiMirAN60y4O/LRevIV8hUzSOSNB6gfR3/o3wCBFQx3sPwIYtuDMeiVgsSS3UzCV26tEzgnfvQw==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -1662,10 +2150,13 @@ } }, "node_modules/available-typed-arrays": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.6.tgz", - "integrity": "sha512-j1QzY8iPNPG4o4xmO3ptzpRxTciqD3MgEHtifP/YnJpIo58Xu+ne4BejlbkuaLfXn/nz6HFiw29bLpj2PNMdGg==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", "dev": true, + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -1697,22 +2188,6 @@ "npm": ">=6" } }, - "node_modules/babel-plugin-macros/node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -1832,9 +2307,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001587", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001587.tgz", - "integrity": "sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==", + "version": "1.0.30001588", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001588.tgz", + "integrity": "sha512-+hVY9jE44uKLkH0SrUTqxjxqNTOWHsbnQDIKjwkZ3lNTzUUVdBLBGXtj/q5Mp5u98r3droaZAewQuEDzjQdZlQ==", "dev": true, "funding": [ { @@ -1864,6 +2339,14 @@ "node": ">=4" } }, + "node_modules/chalk/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/charenc": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", @@ -1961,10 +2444,9 @@ "dev": true }, "node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" }, "node_modules/cosmiconfig": { "version": "7.1.0", @@ -1981,14 +2463,6 @@ "node": ">=10" } }, - "node_modules/cosmiconfig/node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "engines": { - "node": ">= 6" - } - }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -2179,9 +2653,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.670", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.670.tgz", - "integrity": "sha512-hcijYOWjOtjKrKPtNA6tuLlA/bTLO3heFG8pQA6mLpq7dRydSWicXova5lyxDzp1iVJaYhK7J2OQlGE52KYn7A==", + "version": "1.4.677", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.677.tgz", + "integrity": "sha512-erDa3CaDzwJOpyvfKhOiJjBVNnMM0qxHq47RheVVwsSQrgBA9ZSGV9kdaOfZDPXcHzhG7lBxhj6A7KvfLJBd6Q==", "dev": true }, "node_modules/emoji-regex": { @@ -2388,11 +2862,14 @@ } }, "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "engines": { - "node": ">=0.8.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/eslint": { @@ -2513,6 +2990,23 @@ "node": ">=0.10.0" } }, + "node_modules/eslint-plugin-react/node_modules/resolve": { + "version": "2.0.0-next.5", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", + "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", + "dev": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/eslint-scope": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", @@ -2590,18 +3084,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/eslint/node_modules/globals": { "version": "13.24.0", "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", @@ -2820,9 +3302,9 @@ } }, "node_modules/flatted": { - "version": "3.2.9", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", - "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.0.tgz", + "integrity": "sha512-noqGuLw158+DuD9UPRKHpJ2hGxpFyDlYYrfM0mWt4XhT4n0lwzTLh70Tkdyy4kyTmyTT9Bv7bWAJqw7cgkEXDg==", "dev": true }, "node_modules/follow-redirects": { @@ -2969,6 +3451,20 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -3153,9 +3649,9 @@ } }, "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", "dev": true, "engines": { "node": ">= 0.4" @@ -3215,6 +3711,11 @@ "react-is": "^16.7.0" } }, + "node_modules/hoist-non-react-statics/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "node_modules/humanize-ms": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", @@ -3472,9 +3973,9 @@ } }, "node_modules/is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", "dev": true, "engines": { "node": ">= 0.4" @@ -4350,6 +4851,15 @@ "tslib": "^2.1.0" } }, + "node_modules/possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/postcss": { "version": "8.4.35", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.35.tgz", @@ -4395,23 +4905,6 @@ "postcss": "^8.0.0" } }, - "node_modules/postcss-import/node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/postcss-js": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", @@ -4467,9 +4960,9 @@ } }, "node_modules/postcss-load-config/node_modules/lilconfig": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.0.tgz", - "integrity": "sha512-p3cz0JV5vw/XeouBU3Ldnp+ZkBjE+n8ydJ4mcwBrOiXXPqNlrzGBqWs9X4MWF7f+iKUBu794Y8Hh8yawiJbCjw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz", + "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==", "dev": true, "engines": { "node": ">=14" @@ -4478,6 +4971,15 @@ "url": "https://github.com/sponsors/antonk52" } }, + "node_modules/postcss-load-config/node_modules/yaml": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "dev": true, + "engines": { + "node": ">= 14" + } + }, "node_modules/postcss-nested": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", @@ -4534,6 +5036,11 @@ "react-is": "^16.13.1" } }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", @@ -4592,9 +5099,9 @@ } }, "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" }, "node_modules/react-loader-spinner": { "version": "6.1.6", @@ -4612,11 +5119,6 @@ "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/react-loader-spinner/node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" - }, "node_modules/react-refresh": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz", @@ -4682,9 +5184,9 @@ } }, "node_modules/react-social-icons": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/react-social-icons/-/react-social-icons-6.12.0.tgz", - "integrity": "sha512-XiiWlN4F7srBy0VDDwbYip5l2UA5ttQqQIsY3tZ2ouqdyN9NDZ5ZMKBLjNPM0pNF0qjosRaP/LqgHtmUK2TFRA==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/react-social-icons/-/react-social-icons-6.14.0.tgz", + "integrity": "sha512-1/ZdA3Q28XZSB44CEeOPOZFs9/pRaXKm1NfZD33KIMVR94I7JrsbJ/hCgsQ+3BCc9TyvR3GHD+mrxwVxv9qRBw==", "dependencies": { "@babel/runtime": "^7.23.8", "react": "^18.2.0", @@ -4781,10 +5283,9 @@ "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" }, "node_modules/resolve": { - "version": "2.0.0-next.5", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", - "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", - "dev": true, + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -4831,9 +5332,9 @@ } }, "node_modules/rollup": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.11.0.tgz", - "integrity": "sha512-2xIbaXDXjf3u2tajvA5xROpib7eegJ9Y/uPlSFhXLNpK9ampCczXAhLEb5yLzJyG3LAdI1NWtNjDXiLyniNdjQ==", + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.12.0.tgz", + "integrity": "sha512-wz66wn4t1OHIJw3+XU7mJJQV/2NAfw5OAk6G6Hoo3zcvz/XOfQ52Vgi+AN4Uxoxi0KBBwk2g8zPrTDA4btSB/Q==", "dev": true, "dependencies": { "@types/estree": "1.0.5" @@ -4846,19 +5347,19 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.11.0", - "@rollup/rollup-android-arm64": "4.11.0", - "@rollup/rollup-darwin-arm64": "4.11.0", - "@rollup/rollup-darwin-x64": "4.11.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.11.0", - "@rollup/rollup-linux-arm64-gnu": "4.11.0", - "@rollup/rollup-linux-arm64-musl": "4.11.0", - "@rollup/rollup-linux-riscv64-gnu": "4.11.0", - "@rollup/rollup-linux-x64-gnu": "4.11.0", - "@rollup/rollup-linux-x64-musl": "4.11.0", - "@rollup/rollup-win32-arm64-msvc": "4.11.0", - "@rollup/rollup-win32-ia32-msvc": "4.11.0", - "@rollup/rollup-win32-x64-msvc": "4.11.0", + "@rollup/rollup-android-arm-eabi": "4.12.0", + "@rollup/rollup-android-arm64": "4.12.0", + "@rollup/rollup-darwin-arm64": "4.12.0", + "@rollup/rollup-darwin-x64": "4.12.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.12.0", + "@rollup/rollup-linux-arm64-gnu": "4.12.0", + "@rollup/rollup-linux-arm64-musl": "4.12.0", + "@rollup/rollup-linux-riscv64-gnu": "4.12.0", + "@rollup/rollup-linux-x64-gnu": "4.12.0", + "@rollup/rollup-linux-x64-musl": "4.12.0", + "@rollup/rollup-win32-arm64-msvc": "4.12.0", + "@rollup/rollup-win32-ia32-msvc": "4.12.0", + "@rollup/rollup-win32-x64-msvc": "4.12.0", "fsevents": "~2.3.2" } }, @@ -4955,14 +5456,15 @@ } }, "node_modules/set-function-name": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", - "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", "dev": true, "dependencies": { - "define-data-property": "^1.0.1", + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -5432,23 +5934,6 @@ "node": ">=14.0.0" } }, - "node_modules/tailwindcss/node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -5537,12 +6022,12 @@ } }, "node_modules/typed-array-buffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.1.tgz", - "integrity": "sha512-RSqu1UEuSlrBhHTWC8O9FnPjOduNs4M7rJ4pRKoEjtx1zUNOPN2sSXHLDX+Y2WPbHIxbvg4JFo2DNAEfPIKWoQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.6", + "call-bind": "^1.0.7", "es-errors": "^1.3.0", "is-typed-array": "^1.1.13" }, @@ -5569,16 +6054,17 @@ } }, "node_modules/typed-array-byte-offset": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", - "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", "dev": true, "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "has-proto": "^1.0.1", - "is-typed-array": "^1.1.10" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" @@ -5588,14 +6074,20 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", + "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5667,9 +6159,9 @@ "dev": true }, "node_modules/vite": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.1.2.tgz", - "integrity": "sha512-uwiFebQbTWRIGbCaTEBVAfKqgqKNKMJ2uPXsXeLIZxM8MVMjoS3j0cG8NrPxdDIadaWnPSjrkLWffLSC+uiP3Q==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.1.3.tgz", + "integrity": "sha512-UfmUD36DKkqhi/F75RrxvPpry+9+tTkrXfMNZD+SboZqBCMsxKtO52XeGzzuh7ioz+Eo/SYDBbdb0Z7vgcDJew==", "dev": true, "dependencies": { "esbuild": "^0.19.3", @@ -5974,12 +6466,11 @@ "dev": true }, "node_modules/yaml": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", - "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", - "dev": true, + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", "engines": { - "node": ">= 14" + "node": ">= 6" } }, "node_modules/yocto-queue": {