@metrifox/react-sdk 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs ADDED
@@ -0,0 +1,45 @@
1
+ "use strict";var p=require("react"),a=require("react/jsx-runtime"),Vs=require("react-dom");function ya(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if(n!=="default"){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var K=ya(p),Er=ya(Vs),Ot=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Mr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*! Axios v1.12.2 Copyright (c) 2025 Matt Zabriskie and contributors */function va(e,t){return function(){return e.apply(t,arguments)}}const{toString:v0}=Object.prototype,{getPrototypeOf:$s}=Object,{iterator:Sr,toStringTag:ba}=Symbol,Tr=(e=>t=>{const n=v0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rt=e=>(e=e.toLowerCase(),t=>Tr(t)===e),Dr=e=>t=>typeof t===e,{isArray:pn}=Array,mn=Dr("undefined");function Hn(e){return e!==null&&!mn(e)&&e.constructor!==null&&!mn(e.constructor)&&Ve(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ca=rt("ArrayBuffer");function b0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ca(e.buffer),t}const C0=Dr("string"),Ve=Dr("function"),wa=Dr("number"),Wn=e=>e!==null&&typeof e=="object",w0=e=>e===!0||e===!1,Pr=e=>{if(Tr(e)!=="object")return!1;const t=$s(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(ba in e)&&!(Sr in e)},k0=e=>{if(!Wn(e)||Hn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},j0=rt("Date"),L0=rt("File"),E0=rt("Blob"),M0=rt("FileList"),S0=e=>Wn(e)&&Ve(e.pipe),T0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ve(e.append)&&((t=Tr(e))==="formdata"||t==="object"&&Ve(e.toString)&&e.toString()==="[object FormData]"))},D0=rt("URLSearchParams"),[P0,A0,R0,N0]=["ReadableStream","Request","Response","Headers"].map(rt),F0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),pn(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{if(Hn(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(r=0;r<i;r++)l=o[r],t.call(null,e[l],l,e)}}function ka(e,t){if(Hn(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const _t=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Ot)(),ja=e=>!mn(e)&&e!==_t;function Os(){const{caseless:e,skipUndefined:t}=ja(this)&&this||{},n={},r=(s,o)=>{const i=e&&ka(n,o)||o;Pr(n[i])&&Pr(s)?n[i]=Os(n[i],s):Pr(s)?n[i]=Os({},s):pn(s)?n[i]=s.slice():(!t||!mn(s))&&(n[i]=s)};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&Zn(arguments[s],r);return n}const V0=(e,t,n,{allOwnKeys:r}={})=>(Zn(t,(s,o)=>{n&&Ve(s)?e[o]=va(s,n):e[o]=s},{allOwnKeys:r}),e),$0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),O0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},_0=(e,t,n,r)=>{let s,o,i;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&$s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},B0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},I0=e=>{if(!e)return null;if(pn(e))return e;let t=e.length;if(!wa(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},H0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$s(Uint8Array)),W0=(e,t)=>{const r=(e&&e[Sr]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Z0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},U0=rt("HTMLFormElement"),z0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),La=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),K0=rt("RegExp"),Ea=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Zn(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Y0=e=>{Ea(e,(t,n)=>{if(Ve(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ve(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},G0=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return pn(e)?r(e):r(String(e).split(t)),n},q0=()=>{},X0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function J0(e){return!!(e&&Ve(e.append)&&e[ba]==="FormData"&&e[Sr])}const Q0=e=>{const t=new Array(10),n=(r,s)=>{if(Wn(r)){if(t.indexOf(r)>=0)return;if(Hn(r))return r;if(!("toJSON"in r)){t[s]=r;const o=pn(r)?[]:{};return Zn(r,(i,l)=>{const c=n(i,s+1);!mn(c)&&(o[l]=c)}),t[s]=void 0,o}}return r};return n(e,0)},e2=rt("AsyncFunction"),t2=e=>e&&(Wn(e)||Ve(e))&&Ve(e.then)&&Ve(e.catch),Ma=((e,t)=>e?setImmediate:t?((n,r)=>(_t.addEventListener("message",({source:s,data:o})=>{s===_t&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),_t.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ve(_t.postMessage)),n2=typeof queueMicrotask<"u"?queueMicrotask.bind(_t):typeof process<"u"&&process.nextTick||Ma,r2=e=>e!=null&&Ve(e[Sr]);var S={isArray:pn,isArrayBuffer:Ca,isBuffer:Hn,isFormData:T0,isArrayBufferView:b0,isString:C0,isNumber:wa,isBoolean:w0,isObject:Wn,isPlainObject:Pr,isEmptyObject:k0,isReadableStream:P0,isRequest:A0,isResponse:R0,isHeaders:N0,isUndefined:mn,isDate:j0,isFile:L0,isBlob:E0,isRegExp:K0,isFunction:Ve,isStream:S0,isURLSearchParams:D0,isTypedArray:H0,isFileList:M0,forEach:Zn,merge:Os,extend:V0,trim:F0,stripBOM:$0,inherits:O0,toFlatObject:_0,kindOf:Tr,kindOfTest:rt,endsWith:B0,toArray:I0,forEachEntry:W0,matchAll:Z0,isHTMLForm:U0,hasOwnProperty:La,hasOwnProp:La,reduceDescriptors:Ea,freezeMethods:Y0,toObjectSet:G0,toCamelCase:z0,noop:q0,toFiniteNumber:X0,findKey:ka,global:_t,isContextDefined:ja,isSpecCompliantForm:J0,toJSONObject:Q0,isAsyncFn:e2,isThenable:t2,setImmediate:Ma,asap:n2,isIterable:r2};function ee(e,t,n,r,s){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),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}S.inherits(ee,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:S.toJSONObject(this.config),code:this.code,status:this.status}}});const Sa=ee.prototype,Ta={};["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=>{Ta[e]={value:e}}),Object.defineProperties(ee,Ta),Object.defineProperty(Sa,"isAxiosError",{value:!0}),ee.from=(e,t,n,r,s,o)=>{const i=Object.create(Sa);S.toFlatObject(e,i,function(d){return d!==Error.prototype},u=>u!=="isAxiosError");const l=e&&e.message?e.message:"Error",c=t==null&&e?e.code:t;return ee.call(i,l,c,n,r,s),e&&i.cause==null&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",o&&Object.assign(i,o),i};var s2=null;function _s(e){return S.isPlainObject(e)||S.isArray(e)}function Da(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Pa(e,t,n){return e?e.concat(t).map(function(s,o){return s=Da(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function o2(e){return S.isArray(e)&&!e.some(_s)}const i2=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function Ar(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,v){return!S.isUndefined(v[x])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(s))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(S.isDate(g))return g.toISOString();if(S.isBoolean(g))return g.toString();if(!c&&S.isBlob(g))throw new ee("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(g)||S.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,x,v){let b=g;if(g&&!v&&typeof g=="object"){if(S.endsWith(x,"{}"))x=r?x:x.slice(0,-2),g=JSON.stringify(g);else if(S.isArray(g)&&o2(g)||(S.isFileList(g)||S.endsWith(x,"[]"))&&(b=S.toArray(g)))return x=Da(x),b.forEach(function(y,k){!(S.isUndefined(y)||y===null)&&t.append(i===!0?Pa([x],k,o):i===null?x:x+"[]",u(y))}),!1}return _s(g)?!0:(t.append(Pa(v,x,o),u(g)),!1)}const f=[],h=Object.assign(i2,{defaultVisitor:d,convertValue:u,isVisitable:_s});function m(g,x){if(!S.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+x.join("."));f.push(g),S.forEach(g,function(b,C){(!(S.isUndefined(b)||b===null)&&s.call(t,b,S.isString(C)?C.trim():C,x,h))===!0&&m(b,x?x.concat(C):[C])}),f.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Aa(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Bs(e,t){this._pairs=[],e&&Ar(e,this,t)}const Ra=Bs.prototype;Ra.append=function(t,n){this._pairs.push([t,n])},Ra.toString=function(t){const n=t?function(r){return t.call(this,r,Aa)}:Aa;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function a2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Na(e,t,n){if(!t)return e;const r=n&&n.encode||a2;S.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=S.isURLSearchParams(t)?t.toString():new Bs(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class l2{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(r){r!==null&&t(r)})}}var Fa=l2,Va={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},c2=typeof URLSearchParams<"u"?URLSearchParams:Bs,u2=typeof FormData<"u"?FormData:null,d2=typeof Blob<"u"?Blob:null,f2={isBrowser:!0,classes:{URLSearchParams:c2,FormData:u2,Blob:d2},protocols:["http","https","file","blob","url","data"]};const Is=typeof window<"u"&&typeof document<"u",Hs=typeof navigator=="object"&&navigator||void 0,h2=Is&&(!Hs||["ReactNative","NativeScript","NS"].indexOf(Hs.product)<0),p2=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),m2=Is&&window.location.href||"http://localhost";var g2=Object.freeze({__proto__:null,hasBrowserEnv:Is,hasStandardBrowserWebWorkerEnv:p2,hasStandardBrowserEnv:h2,navigator:Hs,origin:m2}),Se={...g2,...f2};function x2(e,t){return Ar(e,new Se.classes.URLSearchParams,{visitor:function(n,r,s,o){return Se.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function y2(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function v2(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function $a(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),c=o>=n.length;return i=!i&&S.isArray(s)?s.length:i,c?(S.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!l):((!s[i]||!S.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&S.isArray(s[i])&&(s[i]=v2(s[i])),!l)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,s)=>{t(y2(r),s,n,0)}),n}return null}function b2(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ws={transitional:Va,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=S.isObject(t);if(o&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return s?JSON.stringify($a(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t)||S.isReadableStream(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return x2(t,this.formSerializer).toString();if((l=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ar(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),b2(t)):t}],transformResponse:[function(t){const n=this.transitional||Ws.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(S.isResponse(t)||S.isReadableStream(t))return t;if(t&&S.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,this.parseReviver)}catch(l){if(i)throw l.name==="SyntaxError"?ee.from(l,ee.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:Se.classes.FormData,Blob:Se.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{Ws.headers[e]={}});var Zs=Ws;const C2=S.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"]);var w2=e=>{const t={};let n,r,s;return e&&e.split(`
2
+ `).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&C2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};const Oa=Symbol("internals");function Un(e){return e&&String(e).trim().toLowerCase()}function Rr(e){return e===!1||e==null?e:S.isArray(e)?e.map(Rr):String(e)}function k2(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const j2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Us(e,t,n,r,s){if(S.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function L2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function E2(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class Nr{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,c,u){const d=Un(c);if(!d)throw new Error("header name must be a non-empty string");const f=S.findKey(s,d);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||c]=Rr(l))}const i=(l,c)=>S.forEach(l,(u,d)=>o(u,d,c));if(S.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(S.isString(t)&&(t=t.trim())&&!j2(t))i(w2(t),n);else if(S.isObject(t)&&S.isIterable(t)){let l={},c,u;for(const d of t){if(!S.isArray(d))throw TypeError("Object iterator must return a key-value pair");l[u=d[0]]=(c=l[u])?S.isArray(c)?[...c,d[1]]:[c,d[1]]:d[1]}i(l,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=Un(t),t){const r=S.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return k2(s);if(S.isFunction(n))return n.call(this,s,r);if(S.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Un(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Us(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=Un(i),i){const l=S.findKey(r,i);l&&(!n||Us(r,r[l],l,n))&&(delete r[l],s=!0)}}return S.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Us(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return S.forEach(this,(s,o)=>{const i=S.findKey(r,o);if(i){n[i]=Rr(s),delete n[o];return}const l=t?L2(o):String(o).trim();l!==o&&delete n[o],n[l]=Rr(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&S.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
3
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Oa]=this[Oa]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=Un(i);r[l]||(E2(s,i),r[l]=!0)}return S.isArray(t)?t.forEach(o):o(t),this}}Nr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),S.reduceDescriptors(Nr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),S.freezeMethods(Nr);var st=Nr;function zs(e,t){const n=this||Zs,r=t||n,s=st.from(r.headers);let o=r.data;return S.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function _a(e){return!!(e&&e.__CANCEL__)}function gn(e,t,n){ee.call(this,e??"canceled",ee.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(gn,ee,{__CANCEL__:!0});function Ba(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ee("Request failed with status code "+n.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function M2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function S2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[o];i||(i=u),n[s]=c,r[s]=u;let f=o,h=0;for(;f!==s;)h+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const m=d&&u-d;return m?Math.round(h*1e3/m):void 0}}function T2(e,t){let n=0,r=1e3/t,s,o;const i=(u,d=Date.now())=>{n=d,s=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?i(u,d):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-f)))},()=>s&&i(s)]}const Fr=(e,t,n=3)=>{let r=0;const s=S2(50,250);return T2(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-r,u=s(c),d=i<=l;r=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&d?(l-i)/u:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},Ia=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ha=e=>(...t)=>S.asap(()=>e(...t));var D2=Se.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Se.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Se.origin),Se.navigator&&/(msie|trident)/i.test(Se.navigator.userAgent)):()=>!0,P2=Se.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),S.isString(r)&&i.push("path="+r),S.isString(s)&&i.push("domain="+s),o===!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 A2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function R2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Wa(e,t,n){let r=!A2(t);return e&&(r||n==!1)?R2(e,t):t}const Za=e=>e instanceof st?{...e}:e;function Bt(e,t){t=t||{};const n={};function r(u,d,f,h){return S.isPlainObject(u)&&S.isPlainObject(d)?S.merge.call({caseless:h},u,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function s(u,d,f,h){if(S.isUndefined(d)){if(!S.isUndefined(u))return r(void 0,u,f,h)}else return r(u,d,f,h)}function o(u,d){if(!S.isUndefined(d))return r(void 0,d)}function i(u,d){if(S.isUndefined(d)){if(!S.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function l(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const c={url:o,method:o,data:o,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:(u,d,f)=>s(Za(u),Za(d),f,!0)};return S.forEach(Object.keys({...e,...t}),function(d){const f=c[d]||s,h=f(e[d],t[d],d);S.isUndefined(h)&&f!==l||(n[d]=h)}),n}var Ua=e=>{const t=Bt({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:l}=t;if(t.headers=i=st.from(i),t.url=Na(Wa(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),S.isFormData(n)){if(Se.hasStandardBrowserEnv||Se.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(S.isFunction(n.getHeaders)){const c=n.getHeaders(),u=["content-type","content-length"];Object.entries(c).forEach(([d,f])=>{u.includes(d.toLowerCase())&&i.set(d,f)})}}if(Se.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&D2(t.url))){const c=s&&o&&P2.read(o);c&&i.set(s,c)}return t};const N2=typeof XMLHttpRequest<"u";var F2=N2&&function(e){return new Promise(function(n,r){const s=Ua(e);let o=s.data;const i=st.from(s.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=s,d,f,h,m,g;function x(){m&&m(),g&&g(),s.cancelToken&&s.cancelToken.unsubscribe(d),s.signal&&s.signal.removeEventListener("abort",d)}let v=new XMLHttpRequest;v.open(s.method.toUpperCase(),s.url,!0),v.timeout=s.timeout;function b(){if(!v)return;const y=st.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:y,config:e,request:v};Ba(function(A){n(A),x()},function(A){r(A),x()},w),v=null}"onloadend"in v?v.onloadend=b:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(b)},v.onabort=function(){v&&(r(new ee("Request aborted",ee.ECONNABORTED,e,v)),v=null)},v.onerror=function(k){const w=k&&k.message?k.message:"Network Error",L=new ee(w,ee.ERR_NETWORK,e,v);L.event=k||null,r(L),v=null},v.ontimeout=function(){let k=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const w=s.transitional||Va;s.timeoutErrorMessage&&(k=s.timeoutErrorMessage),r(new ee(k,w.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,e,v)),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&S.forEach(i.toJSON(),function(k,w){v.setRequestHeader(w,k)}),S.isUndefined(s.withCredentials)||(v.withCredentials=!!s.withCredentials),l&&l!=="json"&&(v.responseType=s.responseType),u&&([h,g]=Fr(u,!0),v.addEventListener("progress",h)),c&&v.upload&&([f,m]=Fr(c),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",m)),(s.cancelToken||s.signal)&&(d=y=>{v&&(r(!y||y.type?new gn(null,e,v):y),v.abort(),v=null)},s.cancelToken&&s.cancelToken.subscribe(d),s.signal&&(s.signal.aborted?d():s.signal.addEventListener("abort",d)));const C=M2(s.url);if(C&&Se.protocols.indexOf(C)===-1){r(new ee("Unsupported protocol "+C+":",ee.ERR_BAD_REQUEST,e));return}v.send(o||null)})};const V2=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(u){if(!s){s=!0,l();const d=u instanceof Error?u:this.reason;r.abort(d instanceof ee?d:new gn(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,o(new ee(`timeout ${t} of ms exceeded`,ee.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>S.asap(l),c}};var $2=V2;const O2=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},_2=async function*(e,t){for await(const n of B2(e))yield*O2(n,t)},B2=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},za=(e,t,n,r)=>{const s=_2(e,t);let o=0,i,l=c=>{i||(i=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await s.next();if(u){l(),c.close();return}let f=d.byteLength;if(n){let h=o+=f;n(h)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),s.return()}},{highWaterMark:2})},Ka=64*1024,{isFunction:Vr}=S,I2=(({Request:e,Response:t})=>({Request:e,Response:t}))(S.global),{ReadableStream:Ya,TextEncoder:Ga}=S.global,qa=(e,...t)=>{try{return!!e(...t)}catch{return!1}},H2=e=>{e=S.merge.call({skipUndefined:!0},I2,e);const{fetch:t,Request:n,Response:r}=e,s=t?Vr(t):typeof fetch=="function",o=Vr(n),i=Vr(r);if(!s)return!1;const l=s&&Vr(Ya),c=s&&(typeof Ga=="function"?(g=>x=>g.encode(x))(new Ga):async g=>new Uint8Array(await new n(g).arrayBuffer())),u=o&&l&&qa(()=>{let g=!1;const x=new n(Se.origin,{body:new Ya,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!x}),d=i&&l&&qa(()=>S.isReadableStream(new r("").body)),f={stream:d&&(g=>g.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!f[g]&&(f[g]=(x,v)=>{let b=x&&x[g];if(b)return b.call(x);throw new ee(`Response type '${g}' is not supported`,ee.ERR_NOT_SUPPORT,v)})});const h=async g=>{if(g==null)return 0;if(S.isBlob(g))return g.size;if(S.isSpecCompliantForm(g))return(await new n(Se.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(S.isArrayBufferView(g)||S.isArrayBuffer(g))return g.byteLength;if(S.isURLSearchParams(g)&&(g=g+""),S.isString(g))return(await c(g)).byteLength},m=async(g,x)=>{const v=S.toFiniteNumber(g.getContentLength());return v??h(x)};return async g=>{let{url:x,method:v,data:b,signal:C,cancelToken:y,timeout:k,onDownloadProgress:w,onUploadProgress:L,responseType:A,headers:D,withCredentials:I="same-origin",fetchOptions:V}=Ua(g),O=t||fetch;A=A?(A+"").toLowerCase():"text";let z=$2([C,y&&y.toAbortSignal()],k),Z=null;const P=z&&z.unsubscribe&&(()=>{z.unsubscribe()});let F;try{if(L&&u&&v!=="get"&&v!=="head"&&(F=await m(D,b))!==0){let H=new n(x,{method:"POST",body:b,duplex:"half"}),Y;if(S.isFormData(b)&&(Y=H.headers.get("content-type"))&&D.setContentType(Y),H.body){const[_,R]=Ia(F,Fr(Ha(L)));b=za(H.body,Ka,_,R)}}S.isString(I)||(I=I?"include":"omit");const E=o&&"credentials"in n.prototype,T={...V,signal:z,method:v.toUpperCase(),headers:D.normalize().toJSON(),body:b,duplex:"half",credentials:E?I:void 0};Z=o&&new n(x,T);let M=await(o?O(Z,V):O(x,T));const $=d&&(A==="stream"||A==="response");if(d&&(w||$&&P)){const H={};["status","statusText","headers"].forEach(B=>{H[B]=M[B]});const Y=S.toFiniteNumber(M.headers.get("content-length")),[_,R]=w&&Ia(Y,Fr(Ha(w),!0))||[];M=new r(za(M.body,Ka,_,()=>{R&&R(),P&&P()}),H)}A=A||"text";let N=await f[S.findKey(f,A)||"text"](M,g);return!$&&P&&P(),await new Promise((H,Y)=>{Ba(H,Y,{data:N,headers:st.from(M.headers),status:M.status,statusText:M.statusText,config:g,request:Z})})}catch(E){throw P&&P(),E&&E.name==="TypeError"&&/Load failed|fetch/i.test(E.message)?Object.assign(new ee("Network Error",ee.ERR_NETWORK,g,Z),{cause:E.cause||E}):ee.from(E,E&&E.code,g,Z)}}},W2=new Map,Xa=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:s}=t,o=[r,s,n];let i=o.length,l=i,c,u,d=W2;for(;l--;)c=o[l],u=d.get(c),u===void 0&&d.set(c,u=l?new Map:H2(t)),d=u;return u};Xa();const Ks={http:s2,xhr:F2,fetch:{get:Xa}};S.forEach(Ks,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ja=e=>`- ${e}`,Z2=e=>S.isFunction(e)||e===null||e===!1;var Qa={getAdapter:(e,t)=>{e=S.isArray(e)?e:[e];const{length:n}=e;let r,s;const o={};for(let i=0;i<n;i++){r=e[i];let l;if(s=r,!Z2(r)&&(s=Ks[(l=String(r)).toLowerCase()],s===void 0))throw new ee(`Unknown adapter '${l}'`);if(s&&(S.isFunction(s)||(s=s.get(t))))break;o[l||"#"+i]=s}if(!s){const i=Object.entries(o).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=n?i.length>1?`since :
4
+ `+i.map(Ja).join(`
5
+ `):" "+Ja(i[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return s},adapters:Ks};function Ys(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gn(null,e)}function el(e){return Ys(e),e.headers=st.from(e.headers),e.data=zs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Qa.getAdapter(e.adapter||Zs.adapter,e)(e).then(function(r){return Ys(e),r.data=zs.call(e,e.transformResponse,r),r.headers=st.from(r.headers),r},function(r){return _a(r)||(Ys(e),r&&r.response&&(r.response.data=zs.call(e,e.transformResponse,r.response),r.response.headers=st.from(r.response.headers))),Promise.reject(r)})}const tl="1.12.2",$r={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$r[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const nl={};$r.transitional=function(t,n,r){function s(o,i){return"[Axios v"+tl+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new ee(s(i," has been removed"+(n?" in "+n:"")),ee.ERR_DEPRECATED);return n&&!nl[i]&&(nl[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}},$r.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function U2(e,t,n){if(typeof e!="object")throw new ee("options must be an object",ee.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new ee("option "+o+" must be "+c,ee.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ee("Unknown option "+o,ee.ERR_BAD_OPTION)}}var Or={assertOptions:U2,validators:$r};const lt=Or.validators;class _r{constructor(t){this.defaults=t||{},this.interceptors={request:new Fa,response:new Fa}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
6
+ `+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Bt(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Or.assertOptions(r,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),s!=null&&(S.isFunction(s)?n.paramsSerializer={serialize:s}:Or.assertOptions(s,{encode:lt.function,serialize:lt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Or.assertOptions(n,{baseUrl:lt.spelling("baseURL"),withXsrfToken:lt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&S.merge(o.common,o[n.method]);o&&S.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=st.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(c=c&&x.synchronous,l.unshift(x.fulfilled,x.rejected))});const u=[];this.interceptors.response.forEach(function(x){u.push(x.fulfilled,x.rejected)});let d,f=0,h;if(!c){const g=[el.bind(this),void 0];for(g.unshift(...l),g.push(...u),h=g.length,d=Promise.resolve(n);f<h;)d=d.then(g[f++],g[f++]);return d}h=l.length;let m=n;for(;f<h;){const g=l[f++],x=l[f++];try{m=g(m)}catch(v){x.call(this,v);break}}try{d=el.call(this,m)}catch(g){return Promise.reject(g)}for(f=0,h=u.length;f<h;)d=d.then(u[f++],u[f++]);return d}getUri(t){t=Bt(this.defaults,t);const n=Wa(t.baseURL,t.url,t.allowAbsoluteUrls);return Na(n,t.params,t.paramsSerializer)}}S.forEach(["delete","get","head","options"],function(t){_r.prototype[t]=function(n,r){return this.request(Bt(r||{},{method:t,url:n,data:(r||{}).data}))}}),S.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,l){return this.request(Bt(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}_r.prototype[t]=n(),_r.prototype[t+"Form"]=n(!0)});var Br=_r;class ua{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new gn(o,i,l),n(r.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ua(function(s){t=s}),cancel:t}}}var z2=ua;function K2(e){return function(n){return e.apply(null,n)}}function Y2(e){return S.isObject(e)&&e.isAxiosError===!0}const Gs={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(Gs).forEach(([e,t])=>{Gs[t]=e});var G2=Gs;function rl(e){const t=new Br(e),n=va(Br.prototype.request,t);return S.extend(n,Br.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return rl(Bt(e,s))},n}const ye=rl(Zs);ye.Axios=Br,ye.CanceledError=gn,ye.CancelToken=z2,ye.isCancel=_a,ye.VERSION=tl,ye.toFormData=Ar,ye.AxiosError=ee,ye.Cancel=ye.CanceledError,ye.all=function(t){return Promise.all(t)},ye.spread=K2,ye.isAxiosError=Y2,ye.mergeConfig=Bt,ye.AxiosHeaders=st,ye.formToJSON=e=>$a(S.isHTMLForm(e)?new FormData(e):e),ye.getAdapter=Qa.getAdapter,ye.HttpStatusCode=G2,ye.default=ye;var q2=ye,X2=Mr(q2);const sl=e=>{let t;const n=new Set,r=(u,d)=>{const f=typeof u=="function"?u(t):u;if(!Object.is(f,t)){const h=t;t=d??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(m=>m(t,h))}},s=()=>t,l={setState:r,getState:s,getInitialState:()=>c,subscribe:u=>(n.add(u),()=>n.delete(u))},c=t=e(r,s,l);return l},J2=e=>e?sl(e):sl,Q2=e=>e;function ef(e,t=Q2){const n=p.useSyncExternalStore(e.subscribe,p.useCallback(()=>t(e.getState()),[e,t]),p.useCallback(()=>t(e.getInitialState()),[e,t]));return p.useDebugValue(n),n}const ol=e=>{const t=J2(e),n=r=>ef(t,r);return Object.assign(n,t),n},il=e=>e?ol(e):ol,al=il(e=>({apiKey:"",baseUrl:"",setConfig:(t,n)=>e({apiKey:t,baseUrl:n})})),ll="https://api.metrifox.com/api/v1",It=()=>{const{apiKey:e,baseUrl:t}=al.getState();if(!e)throw new Error("MetriFox SDK not initialized: API key is missing. Please call metrifoxInit(apiKey) before using SDK features.");return X2.create({baseURL:t||ll,headers:{"x-api-key":e,"Content-Type":"application/json"},timeout:18e4})},tf=e=>{al.getState().setConfig(e.apiKey,e.baseUrl||ll)};function nf(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const rf=e=>{switch(e){case"success":return af;case"info":return cf;case"warning":return lf;case"error":return uf;default:return null}},sf=Array(12).fill(0),of=({visible:e,className:t})=>p.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},p.createElement("div",{className:"sonner-spinner"},sf.map((n,r)=>p.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),af=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),lf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),cf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),uf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),df=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),p.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),ff=()=>{const[e,t]=p.useState(document.hidden);return p.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let qs=1;class hf{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...s}=t,o=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:qs++,i=this.toasts.find(c=>c.id===o),l=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(c=>c.id===o?(this.publish({...c,...t,id:o,title:r}),{...c,...t,id:o,dismissible:l,title:r}):c):this.addToast({title:r,...s,dismissible:l,id:o}),o},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const s=Promise.resolve(t instanceof Function?t():t);let o=r!==void 0,i;const l=s.then(async u=>{if(i=["resolve",u],p.isValidElement(u))o=!1,this.create({id:r,type:"default",message:u});else if(mf(u)&&!u.ok){o=!1;const f=typeof n.error=="function"?await n.error(`HTTP error! status: ${u.status}`):n.error,h=typeof n.description=="function"?await n.description(`HTTP error! status: ${u.status}`):n.description,g=typeof f=="object"&&!p.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...g})}else if(u instanceof Error){o=!1;const f=typeof n.error=="function"?await n.error(u):n.error,h=typeof n.description=="function"?await n.description(u):n.description,g=typeof f=="object"&&!p.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...g})}else if(n.success!==void 0){o=!1;const f=typeof n.success=="function"?await n.success(u):n.success,h=typeof n.description=="function"?await n.description(u):n.description,g=typeof f=="object"&&!p.isValidElement(f)?f:{message:f};this.create({id:r,type:"success",description:h,...g})}}).catch(async u=>{if(i=["reject",u],n.error!==void 0){o=!1;const d=typeof n.error=="function"?await n.error(u):n.error,f=typeof n.description=="function"?await n.description(u):n.description,m=typeof d=="object"&&!p.isValidElement(d)?d:{message:d};this.create({id:r,type:"error",description:f,...m})}}).finally(()=>{o&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),c=()=>new Promise((u,d)=>l.then(()=>i[0]==="reject"?d(i[1]):u(i[1])).catch(d));return typeof r!="string"&&typeof r!="number"?{unwrap:c}:Object.assign(r,{unwrap:c})},this.custom=(t,n)=>{const r=n?.id||qs++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const $e=new hf,pf=(e,t)=>{const n=t?.id||qs++;return $e.addToast({title:e,...t,id:n}),n},mf=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",gf=pf,xf=()=>$e.toasts,yf=()=>$e.getActiveToasts(),ct=Object.assign(gf,{success:$e.success,info:$e.info,warning:$e.warning,error:$e.error,custom:$e.custom,message:$e.message,promise:$e.promise,dismiss:$e.dismiss,loading:$e.loading},{getHistory:xf,getToasts:yf});nf("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Ir(e){return e.label!==void 0}const vf=3,bf="24px",Cf="16px",cl=4e3,wf=356,kf=14,jf=45,Lf=200;function ut(...e){return e.filter(Boolean).join(" ")}function Ef(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const Mf=e=>{var t,n,r,s,o,i,l,c,u;const{invert:d,toast:f,unstyled:h,interacting:m,setHeights:g,visibleToasts:x,heights:v,index:b,toasts:C,expanded:y,removeToast:k,defaultRichColors:w,closeButton:L,style:A,cancelButtonStyle:D,actionButtonStyle:I,className:V="",descriptionClassName:O="",duration:z,position:Z,gap:P,expandByDefault:F,classNames:E,icons:T,closeButtonAriaLabel:M="Close toast"}=e,[$,N]=p.useState(null),[H,Y]=p.useState(null),[_,R]=p.useState(!1),[B,J]=p.useState(!1),[ne,X]=p.useState(!1),[oe,re]=p.useState(!1),[ae,Q]=p.useState(!1),[G,xe]=p.useState(0),[ie,ce]=p.useState(0),fe=p.useRef(f.duration||z||cl),Ie=p.useRef(null),he=p.useRef(null),et=b===0,Rs=b+1<=x,He=f.type,dn=f.dismissible!==!1,d0=f.className||"",f0=f.descriptionClassName||"",kr=p.useMemo(()=>v.findIndex(te=>te.toastId===f.id)||0,[v,f.id]),h0=p.useMemo(()=>{var te;return(te=f.closeButton)!=null?te:L},[f.closeButton,L]),da=p.useMemo(()=>f.duration||z||cl,[f.duration,z]),Ns=p.useRef(0),fn=p.useRef(0),fa=p.useRef(0),hn=p.useRef(null),[p0,m0]=Z.split("-"),ha=p.useMemo(()=>v.reduce((te,ke,Me)=>Me>=kr?te:te+ke.height,0),[v,kr]),pa=ff(),g0=f.invert||d,Fs=He==="loading";fn.current=p.useMemo(()=>kr*P+ha,[kr,ha]),p.useEffect(()=>{fe.current=da},[da]),p.useEffect(()=>{R(!0)},[]),p.useEffect(()=>{const te=he.current;if(te){const ke=te.getBoundingClientRect().height;return ce(ke),g(Me=>[{toastId:f.id,height:ke,position:f.position},...Me]),()=>g(Me=>Me.filter(We=>We.toastId!==f.id))}},[g,f.id]),p.useLayoutEffect(()=>{if(!_)return;const te=he.current,ke=te.style.height;te.style.height="auto";const Me=te.getBoundingClientRect().height;te.style.height=ke,ce(Me),g(We=>We.find(Le=>Le.toastId===f.id)?We.map(Le=>Le.toastId===f.id?{...Le,height:Me}:Le):[{toastId:f.id,height:Me,position:f.position},...We])},[_,f.title,f.description,g,f.id,f.jsx,f.action,f.cancel]);const Lt=p.useCallback(()=>{J(!0),xe(fn.current),g(te=>te.filter(ke=>ke.toastId!==f.id)),setTimeout(()=>{k(f)},Lf)},[f,k,g,fn]);p.useEffect(()=>{if(f.promise&&He==="loading"||f.duration===1/0||f.type==="loading")return;let te;return y||m||pa?(()=>{if(fa.current<Ns.current){const We=new Date().getTime()-Ns.current;fe.current=fe.current-We}fa.current=new Date().getTime()})():(()=>{fe.current!==1/0&&(Ns.current=new Date().getTime(),te=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),Lt()},fe.current))})(),()=>clearTimeout(te)},[y,m,f,He,pa,Lt]),p.useEffect(()=>{f.delete&&(Lt(),f.onDismiss==null||f.onDismiss.call(f,f))},[Lt,f.delete]);function x0(){var te;if(T?.loading){var ke;return p.createElement("div",{className:ut(E?.loader,f==null||(ke=f.classNames)==null?void 0:ke.loader,"sonner-loader"),"data-visible":He==="loading"},T.loading)}return p.createElement(of,{className:ut(E?.loader,f==null||(te=f.classNames)==null?void 0:te.loader),visible:He==="loading"})}const y0=f.icon||T?.[He]||rf(He);var ma,ga;return p.createElement("li",{tabIndex:0,ref:he,className:ut(V,d0,E?.toast,f==null||(t=f.classNames)==null?void 0:t.toast,E?.default,E?.[He],f==null||(n=f.classNames)==null?void 0:n[He]),"data-sonner-toast":"","data-rich-colors":(ma=f.richColors)!=null?ma:w,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":_,"data-promise":!!f.promise,"data-swiped":ae,"data-removed":B,"data-visible":Rs,"data-y-position":p0,"data-x-position":m0,"data-index":b,"data-front":et,"data-swiping":ne,"data-dismissible":dn,"data-type":He,"data-invert":g0,"data-swipe-out":oe,"data-swipe-direction":H,"data-expanded":!!(y||F&&_),"data-testid":f.testId,style:{"--index":b,"--toasts-before":b,"--z-index":C.length-b,"--offset":`${B?G:fn.current}px`,"--initial-height":F?"auto":`${ie}px`,...A,...f.style},onDragEnd:()=>{X(!1),N(null),hn.current=null},onPointerDown:te=>{te.button!==2&&(Fs||!dn||(Ie.current=new Date,xe(fn.current),te.target.setPointerCapture(te.pointerId),te.target.tagName!=="BUTTON"&&(X(!0),hn.current={x:te.clientX,y:te.clientY})))},onPointerUp:()=>{var te,ke,Me;if(oe||!dn)return;hn.current=null;const We=Number(((te=he.current)==null?void 0:te.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),jr=Number(((ke=he.current)==null?void 0:ke.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Le=new Date().getTime()-((Me=Ie.current)==null?void 0:Me.getTime()),ze=$==="x"?We:jr,Lr=Math.abs(ze)/Le;if(Math.abs(ze)>=jf||Lr>.11){xe(fn.current),f.onDismiss==null||f.onDismiss.call(f,f),Y($==="x"?We>0?"right":"left":jr>0?"down":"up"),Lt(),re(!0);return}else{var tt,nt;(tt=he.current)==null||tt.style.setProperty("--swipe-amount-x","0px"),(nt=he.current)==null||nt.style.setProperty("--swipe-amount-y","0px")}Q(!1),X(!1),N(null)},onPointerMove:te=>{var ke,Me,We;if(!hn.current||!dn||((ke=window.getSelection())==null?void 0:ke.toString().length)>0)return;const Le=te.clientY-hn.current.y,ze=te.clientX-hn.current.x;var Lr;const tt=(Lr=e.swipeDirections)!=null?Lr:Ef(Z);!$&&(Math.abs(ze)>1||Math.abs(Le)>1)&&N(Math.abs(ze)>Math.abs(Le)?"x":"y");let nt={x:0,y:0};const xa=$t=>1/(1.5+Math.abs($t)/20);if($==="y"){if(tt.includes("top")||tt.includes("bottom"))if(tt.includes("top")&&Le<0||tt.includes("bottom")&&Le>0)nt.y=Le;else{const $t=Le*xa(Le);nt.y=Math.abs($t)<Math.abs(Le)?$t:Le}}else if($==="x"&&(tt.includes("left")||tt.includes("right")))if(tt.includes("left")&&ze<0||tt.includes("right")&&ze>0)nt.x=ze;else{const $t=ze*xa(ze);nt.x=Math.abs($t)<Math.abs(ze)?$t:ze}(Math.abs(nt.x)>0||Math.abs(nt.y)>0)&&Q(!0),(Me=he.current)==null||Me.style.setProperty("--swipe-amount-x",`${nt.x}px`),(We=he.current)==null||We.style.setProperty("--swipe-amount-y",`${nt.y}px`)}},h0&&!f.jsx&&He!=="loading"?p.createElement("button",{"aria-label":M,"data-disabled":Fs,"data-close-button":!0,onClick:Fs||!dn?()=>{}:()=>{Lt(),f.onDismiss==null||f.onDismiss.call(f,f)},className:ut(E?.closeButton,f==null||(r=f.classNames)==null?void 0:r.closeButton)},(ga=T?.close)!=null?ga:df):null,(He||f.icon||f.promise)&&f.icon!==null&&(T?.[He]!==null||f.icon)?p.createElement("div",{"data-icon":"",className:ut(E?.icon,f==null||(s=f.classNames)==null?void 0:s.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||x0():null,f.type!=="loading"?y0:null):null,p.createElement("div",{"data-content":"",className:ut(E?.content,f==null||(o=f.classNames)==null?void 0:o.content)},p.createElement("div",{"data-title":"",className:ut(E?.title,f==null||(i=f.classNames)==null?void 0:i.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?p.createElement("div",{"data-description":"",className:ut(O,f0,E?.description,f==null||(l=f.classNames)==null?void 0:l.description)},typeof f.description=="function"?f.description():f.description):null),p.isValidElement(f.cancel)?f.cancel:f.cancel&&Ir(f.cancel)?p.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||D,onClick:te=>{Ir(f.cancel)&&dn&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,te),Lt())},className:ut(E?.cancelButton,f==null||(c=f.classNames)==null?void 0:c.cancelButton)},f.cancel.label):null,p.isValidElement(f.action)?f.action:f.action&&Ir(f.action)?p.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||I,onClick:te=>{Ir(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,te),!te.defaultPrevented&&Lt())},className:ut(E?.actionButton,f==null||(u=f.classNames)==null?void 0:u.actionButton)},f.action.label):null)};function ul(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Sf(e,t){const n={};return[e,t].forEach((r,s)=>{const o=s===1,i=o?"--mobile-offset":"--offset",l=o?Cf:bf;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${i}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=l:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}const Tf=p.forwardRef(function(t,n){const{id:r,invert:s,position:o="bottom-right",hotkey:i=["altKey","KeyT"],expand:l,closeButton:c,className:u,offset:d,mobileOffset:f,theme:h="light",richColors:m,duration:g,style:x,visibleToasts:v=vf,toastOptions:b,dir:C=ul(),gap:y=kf,icons:k,containerAriaLabel:w="Notifications"}=t,[L,A]=p.useState([]),D=p.useMemo(()=>r?L.filter(_=>_.toasterId===r):L.filter(_=>!_.toasterId),[L,r]),I=p.useMemo(()=>Array.from(new Set([o].concat(D.filter(_=>_.position).map(_=>_.position)))),[D,o]),[V,O]=p.useState([]),[z,Z]=p.useState(!1),[P,F]=p.useState(!1),[E,T]=p.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),M=p.useRef(null),$=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=p.useRef(null),H=p.useRef(!1),Y=p.useCallback(_=>{A(R=>{var B;return(B=R.find(J=>J.id===_.id))!=null&&B.delete||$e.dismiss(_.id),R.filter(({id:J})=>J!==_.id)})},[]);return p.useEffect(()=>$e.subscribe(_=>{if(_.dismiss){requestAnimationFrame(()=>{A(R=>R.map(B=>B.id===_.id?{...B,delete:!0}:B))});return}setTimeout(()=>{Vs.flushSync(()=>{A(R=>{const B=R.findIndex(J=>J.id===_.id);return B!==-1?[...R.slice(0,B),{...R[B],..._},...R.slice(B+1)]:[_,...R]})})})}),[L]),p.useEffect(()=>{if(h!=="system"){T(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?T("dark"):T("light")),typeof window>"u")return;const _=window.matchMedia("(prefers-color-scheme: dark)");try{_.addEventListener("change",({matches:R})=>{T(R?"dark":"light")})}catch{_.addListener(({matches:B})=>{try{T(B?"dark":"light")}catch(J){console.error(J)}})}},[h]),p.useEffect(()=>{L.length<=1&&Z(!1)},[L]),p.useEffect(()=>{const _=R=>{var B;if(i.every(X=>R[X]||R.code===X)){var ne;Z(!0),(ne=M.current)==null||ne.focus()}R.code==="Escape"&&(document.activeElement===M.current||(B=M.current)!=null&&B.contains(document.activeElement))&&Z(!1)};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[i]),p.useEffect(()=>{if(M.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,H.current=!1)}},[M.current]),p.createElement("section",{ref:n,"aria-label":`${w} ${$}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},I.map((_,R)=>{var B;const[J,ne]=_.split("-");return D.length?p.createElement("ol",{key:_,dir:C==="auto"?ul():C,tabIndex:-1,ref:M,className:u,"data-sonner-toaster":!0,"data-sonner-theme":E,"data-y-position":J,"data-x-position":ne,style:{"--front-toast-height":`${((B=V[0])==null?void 0:B.height)||0}px`,"--width":`${wf}px`,"--gap":`${y}px`,...x,...Sf(d,f)},onBlur:X=>{H.current&&!X.currentTarget.contains(X.relatedTarget)&&(H.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:X=>{X.target instanceof HTMLElement&&X.target.dataset.dismissible==="false"||H.current||(H.current=!0,N.current=X.relatedTarget)},onMouseEnter:()=>Z(!0),onMouseMove:()=>Z(!0),onMouseLeave:()=>{P||Z(!1)},onDragEnd:()=>Z(!1),onPointerDown:X=>{X.target instanceof HTMLElement&&X.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},D.filter(X=>!X.position&&R===0||X.position===_).map((X,oe)=>{var re,ae;return p.createElement(Mf,{key:X.id,icons:k,index:oe,toast:X,defaultRichColors:m,duration:(re=b?.duration)!=null?re:g,className:b?.className,descriptionClassName:b?.descriptionClassName,invert:s,visibleToasts:v,closeButton:(ae=b?.closeButton)!=null?ae:c,interacting:P,position:_,style:b?.style,unstyled:b?.unstyled,classNames:b?.classNames,cancelButtonStyle:b?.cancelButtonStyle,actionButtonStyle:b?.actionButtonStyle,closeButtonAriaLabel:b?.closeButtonAriaLabel,removeToast:Y,toasts:D.filter(Q=>Q.position==X.position),heights:V.filter(Q=>Q.position==X.position),setHeights:O,expandByDefault:l,gap:y,expanded:z,swipeDirections:t.swipeDirections})})):null}))}),Df=({children:e})=>a.jsxs(p.Fragment,{children:[a.jsx(Tf,{className:"backdrop-blur-md",toastOptions:{unstyled:!0,classNames:{title:"text-md font-500",description:"text-sm font-400",error:"flex items-center gap-1 bg-red-500 text-metrifox-white rounded-lg p-2",success:"flex items-center gap-1 bg-green-600 text-metrifox-white rounded-lg p-2",warning:"flex items-center gap-1 bg-amber-500 text-metrifox-white rounded-lg p-2",info:"flex items-center gap-1 bg-secondary-light text-metrifox-black rounded-lg p-2"}}}),e]}),j=({children:e,className:t="",...n})=>a.jsx("div",{className:t,...n,children:e}),dl=typeof document<"u"?p.useLayoutEffect:()=>{};var Xs;const Pf=(Xs=p.useInsertionEffect)!==null&&Xs!==void 0?Xs:dl;function Af(e){const t=p.useRef(null);return Pf(()=>{t.current=e},[e]),p.useCallback((...n)=>{const r=t.current;return r?.(...n)},[])}const Et=e=>{var t;return(t=e?.ownerDocument)!==null&&t!==void 0?t:document},Ht=e=>e&&"window"in e&&e.window===e?e:Et(e).defaultView||window;function Rf(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Nf(e){return Rf(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let Ff=!1;function Js(){return Ff}function fl(e,t){if(!Js())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:Nf(n)?n=n.host:n=n.parentNode}return!1}const Qs=(e=document)=>{var t;if(!Js())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function hl(e){return Js()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Hr(e){var t;if(typeof window>"u"||window.navigator==null)return!1;let n=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands;return Array.isArray(n)&&n.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function eo(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function xt(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const to=xt(function(){return eo(/^Mac/i)}),Vf=xt(function(){return eo(/^iPhone/i)}),$f=xt(function(){return eo(/^iPad/i)||to()&&navigator.maxTouchPoints>1}),Of=xt(function(){return Vf()||$f()});xt(function(){return to()||Of()}),xt(function(){return Hr(/AppleWebKit/i)&&!_f()});const _f=xt(function(){return Hr(/Chrome/i)}),Bf=xt(function(){return Hr(/Android/i)});xt(function(){return Hr(/Firefox/i)});function pl(){let e=p.useRef(new Map),t=p.useCallback((s,o,i,l)=>{let c=l?.once?(...u)=>{e.current.delete(i),i(...u)}:i;e.current.set(i,{type:o,eventTarget:s,fn:c,options:l}),s.addEventListener(o,c,l)},[]),n=p.useCallback((s,o,i,l)=>{var c;let u=((c=e.current.get(i))===null||c===void 0?void 0:c.fn)||i;s.removeEventListener(o,u,l),e.current.delete(i)},[]),r=p.useCallback(()=>{e.current.forEach((s,o)=>{n(s.eventTarget,s.type,o,s.options)})},[n]);return p.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function If(e){return e.pointerType===""&&e.isTrusted?!0:Bf()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function ml(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Hf(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function gl(e){let t=p.useRef({isFocused:!1,observer:null});dl(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Af(r=>{e?.(r)});return p.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let s=r.target,o=i=>{if(t.current.isFocused=!1,s.disabled){let l=ml(i);n(l)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};s.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&s.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=s===document.activeElement?null:document.activeElement;s.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),s.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(s,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let Wf=!1,zn=null,no=new Set,Kn=new Map,Wt=!1,ro=!1;const Zf={Tab:!0,Escape:!0};function so(e,t){for(let n of no)n(e,t)}function Uf(e){return!(e.metaKey||!to()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Wr(e){Wt=!0,Uf(e)&&(zn="keyboard",so("keyboard",e))}function Ke(e){zn="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Wt=!0,so("pointer",e))}function xl(e){If(e)&&(Wt=!0,zn="virtual")}function yl(e){e.target===window||e.target===document||Wf||!e.isTrusted||(!Wt&&!ro&&(zn="virtual",so("virtual",e)),Wt=!1,ro=!1)}function vl(){Wt=!1,ro=!0}function oo(e){if(typeof window>"u"||typeof document>"u"||Kn.get(Ht(e)))return;const t=Ht(e),n=Et(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Wt=!0,r.apply(this,arguments)},n.addEventListener("keydown",Wr,!0),n.addEventListener("keyup",Wr,!0),n.addEventListener("click",xl,!0),t.addEventListener("focus",yl,!0),t.addEventListener("blur",vl,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Ke,!0),n.addEventListener("pointermove",Ke,!0),n.addEventListener("pointerup",Ke,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",Ke,!0),n.addEventListener("mousemove",Ke,!0),n.addEventListener("mouseup",Ke,!0)),t.addEventListener("beforeunload",()=>{bl(e)},{once:!0}),Kn.set(t,{focus:r})}const bl=(e,t)=>{const n=Ht(e),r=Et(e);t&&r.removeEventListener("DOMContentLoaded",t),Kn.has(n)&&(n.HTMLElement.prototype.focus=Kn.get(n).focus,r.removeEventListener("keydown",Wr,!0),r.removeEventListener("keyup",Wr,!0),r.removeEventListener("click",xl,!0),n.removeEventListener("focus",yl,!0),n.removeEventListener("blur",vl,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",Ke,!0),r.removeEventListener("pointermove",Ke,!0),r.removeEventListener("pointerup",Ke,!0)):process.env.NODE_ENV==="test"&&(r.removeEventListener("mousedown",Ke,!0),r.removeEventListener("mousemove",Ke,!0),r.removeEventListener("mouseup",Ke,!0)),Kn.delete(n))};function zf(e){const t=Et(e);let n;return t.readyState!=="loading"?oo(e):(n=()=>{oo(e)},t.addEventListener("DOMContentLoaded",n)),()=>bl(e,n)}typeof document<"u"&&zf();function Cl(){return zn!=="pointer"}const Kf=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Yf(e,t,n){let r=Et(n?.target);const s=typeof window<"u"?Ht(n?.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Ht(n?.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Ht(n?.target).HTMLElement:HTMLElement,l=typeof window<"u"?Ht(n?.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof s&&!Kf.has(r.activeElement.type)||r.activeElement instanceof o||r.activeElement instanceof i&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof l&&!Zf[n.key])}function Gf(e,t,n){oo(),p.useEffect(()=>{let r=(s,o)=>{Yf(!!n?.isTextInput,s,o)&&e(Cl())};return no.add(r),()=>{no.delete(r)}},t)}function qf(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:s}=e;const o=p.useCallback(c=>{if(c.target===c.currentTarget)return r&&r(c),s&&s(!1),!0},[r,s]),i=gl(o),l=p.useCallback(c=>{const u=Et(c.target),d=u?Qs(u):Qs();c.target===c.currentTarget&&d===hl(c.nativeEvent)&&(n&&n(c),s&&s(!0),i(c))},[s,n,i]);return{focusProps:{onFocus:!t&&(n||s||r)?l:void 0,onBlur:!t&&(r||s)?o:void 0}}}function Xf(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:s}=e,o=p.useRef({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:l}=pl(),c=p.useCallback(f=>{f.currentTarget.contains(f.target)&&o.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(o.current.isFocusWithin=!1,l(),n&&n(f),s&&s(!1))},[n,s,o,l]),u=gl(c),d=p.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const h=Et(f.target),m=Qs(h);if(!o.current.isFocusWithin&&m===hl(f.nativeEvent)){r&&r(f),s&&s(!0),o.current.isFocusWithin=!0,u(f);let g=f.currentTarget;i(h,"focus",x=>{if(o.current.isFocusWithin&&!fl(g,x.target)){let v=new h.defaultView.FocusEvent("blur",{relatedTarget:x.target});Hf(v,g);let b=ml(v);c(b)}},{capture:!0})}},[r,s,u,i,c]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:c}}}let Zr=!1,Ur=0;function io(){Zr=!0,setTimeout(()=>{Zr=!1},50)}function wl(e){e.pointerType==="touch"&&io()}function Jf(){if(!(typeof document>"u"))return Ur===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",wl):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",io)),Ur++,()=>{Ur--,!(Ur>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",wl):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",io))}}function kl(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:s}=e,[o,i]=p.useState(!1),l=p.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;p.useEffect(Jf,[]);let{addGlobalListener:c,removeAllGlobalListeners:u}=pl(),{hoverProps:d,triggerHoverEnd:f}=p.useMemo(()=>{let h=(x,v)=>{if(l.pointerType=v,s||v==="touch"||l.isHovered||!x.currentTarget.contains(x.target))return;l.isHovered=!0;let b=x.currentTarget;l.target=b,c(Et(x.target),"pointerover",C=>{l.isHovered&&l.target&&!fl(l.target,C.target)&&m(C,C.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:b,pointerType:v}),n&&n(!0),i(!0)},m=(x,v)=>{let b=l.target;l.pointerType="",l.target=null,!(v==="touch"||!l.isHovered||!b)&&(l.isHovered=!1,u(),r&&r({type:"hoverend",target:b,pointerType:v}),n&&n(!1),i(!1))},g={};return typeof PointerEvent<"u"?(g.onPointerEnter=x=>{Zr&&x.pointerType==="mouse"||h(x,x.pointerType)},g.onPointerLeave=x=>{!s&&x.currentTarget.contains(x.target)&&m(x,x.pointerType)}):process.env.NODE_ENV==="test"&&(g.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},g.onMouseEnter=x=>{!l.ignoreEmulatedMouseEvents&&!Zr&&h(x,"mouse"),l.ignoreEmulatedMouseEvents=!1},g.onMouseLeave=x=>{!s&&x.currentTarget.contains(x.target)&&m(x,"mouse")}),{hoverProps:g,triggerHoverEnd:m}},[t,n,r,s,l,c,u]);return p.useEffect(()=>{s&&f({currentTarget:l.target},l.pointerType)},[s]),{hoverProps:d,isHovered:o}}function ao(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,s=p.useRef({isFocused:!1,isFocusVisible:t||Cl()}),[o,i]=p.useState(!1),[l,c]=p.useState(()=>s.current.isFocused&&s.current.isFocusVisible),u=p.useCallback(()=>c(s.current.isFocused&&s.current.isFocusVisible),[]),d=p.useCallback(m=>{s.current.isFocused=m,i(m),u()},[u]);Gf(m=>{s.current.isFocusVisible=m,u()},[],{isTextInput:n});let{focusProps:f}=qf({isDisabled:r,onFocusChange:d}),{focusWithinProps:h}=Xf({isDisabled:!r,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:l,focusProps:r?h:f}}var Qf=Object.defineProperty,e3=(e,t,n)=>t in e?Qf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lo=(e,t,n)=>(e3(e,typeof t!="symbol"?t+"":t,n),n);let t3=class{constructor(){lo(this,"current",this.detect()),lo(this,"handoffState","pending"),lo(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Zt=new t3;function xn(e){var t;return Zt.isServer?null:e==null?document:(t=e?.ownerDocument)!=null?t:document}function Ut(e){var t,n;return Zt.isServer?null:e==null?document:(n=(t=e?.getRootNode)==null?void 0:t.call(e))!=null?n:document}function zt(e){var t,n;return(n=(t=Ut(e))==null?void 0:t.activeElement)!=null?n:null}function co(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yt(){let e=[],t={addEventListener(n,r,s,o){return n.addEventListener(r,s,o),t.add(()=>n.removeEventListener(r,s,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return co(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,s){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:s}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=yt();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let s of e.splice(r,1))s()}},dispose(){for(let n of e.splice(0))n()}};return t}function zr(){let[e]=p.useState(yt);return p.useEffect(()=>()=>e.dispose(),[e]),e}let Ae=(e,t)=>{Zt.isServer?p.useEffect(e,t):p.useLayoutEffect(e,t)};function Ye(e){let t=p.useRef(e);return Ae(()=>{t.current=e},[e]),t}let se=function(e){let t=Ye(e);return p.useCallback((...n)=>t.current(...n),[t])};function n3(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function r3(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function jl({disabled:e=!1}={}){let t=p.useRef(null),[n,r]=p.useState(!1),s=zr(),o=se(()=>{t.current=null,r(!1),s.dispose()}),i=se(l=>{if(s.dispose(),t.current===null){t.current=l.currentTarget,r(!0);{let c=xn(l.currentTarget);s.addEventListener(c,"pointerup",o,!1),s.addEventListener(c,"pointermove",u=>{if(t.current){let d=n3(u);r(r3(d,t.current.getBoundingClientRect()))}},!1),s.addEventListener(c,"pointercancel",o,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:i,onPointerUp:o,onClick:o}}}function dt(e){return p.useMemo(()=>e,Object.values(e))}function Ll(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function Re(e,t,...n){if(e in t){let s=t[e];return typeof s=="function"?s(...n):s}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Re),r}var Kt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Kt||{}),s3=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(s3||{});function Oe(){let e=i3();return p.useCallback(t=>o3({mergeRefs:e,...t}),[e])}function o3({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:s,visible:o=!0,name:i,mergeRefs:l}){l=l??a3;let c=El(t,e);if(o)return Kr(c,n,r,i,l);let u=s??0;if(u&2){let{static:d=!1,...f}=c;if(d)return Kr(f,n,r,i,l)}if(u&1){let{unmount:d=!0,...f}=c;return Re(d?0:1,{0(){return null},1(){return Kr({...f,hidden:!0,style:{display:"none"}},n,r,i,l)}})}return Kr(c,n,r,i,l)}function Kr(e,t={},n,r,s){let{as:o=n,children:i,refName:l="ref",...c}=uo(e,["unmount","static"]),u=e.ref!==void 0?{[l]:e.ref}:{},d=typeof i=="function"?i(t):i;"className"in c&&c.className&&typeof c.className=="function"&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let f={};if(t){let h=!1,m=[];for(let[g,x]of Object.entries(t))typeof x=="boolean"&&(h=!0),x===!0&&m.push(g.replace(/([A-Z])/g,v=>`-${v.toLowerCase()}`));if(h){f["data-headlessui-state"]=m.join(" ");for(let g of m)f[`data-${g}`]=""}}if(Yr(o)&&(Object.keys(yn(c)).length>0||Object.keys(yn(f)).length>0))if(!p.isValidElement(d)||Array.isArray(d)&&d.length>1||c3(d)){if(Object.keys(yn(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(yn(c)).concat(Object.keys(yn(f))).map(h=>` - ${h}`).join(`
7
+ `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(h=>` - ${h}`).join(`
8
+ `)].join(`
9
+ `))}else{let h=d.props,m=h?.className,g=typeof m=="function"?(...b)=>Ll(m(...b),c.className):Ll(m,c.className),x=g?{className:g}:{},v=El(d.props,yn(uo(c,["ref"])));for(let b in f)b in v&&delete f[b];return p.cloneElement(d,Object.assign({},v,f,u,{ref:s(l3(d),u.ref)},x))}return p.createElement(o,Object.assign({},uo(c,["ref"]),!Yr(o)&&u,!Yr(o)&&f),d)}function i3(){let e=p.useRef([]),t=p.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function a3(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function El(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[s=>{var o;return(o=s?.preventDefault)==null?void 0:o.call(s)}]);for(let r in n)Object.assign(t,{[r](s,...o){let i=n[r];for(let l of i){if((s instanceof Event||s?.nativeEvent instanceof Event)&&s.defaultPrevented)return;l(s,...o)}}});return t}function Yn(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];for(let r in n)Object.assign(t,{[r](...s){let o=n[r];for(let i of o)i?.(...s)}});return t}function Ne(e){var t;return Object.assign(p.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function yn(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function uo(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function l3(e){return p.version.split(".")[0]>="19"?e.props.ref:e.ref}function Yr(e){return e===p.Fragment||e===Symbol.for("react.fragment")}function c3(e){return Yr(e.type)}let u3="span";var vn=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(vn||{});function d3(e,t){var n;let{features:r=1,...s}=e,o={ref:t,"aria-hidden":(r&2)===2?!0:(n=s["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Oe()({ourProps:o,theirProps:s,slot:{},defaultTag:u3,name:"Hidden"})}let bn=Ne(d3);function f3(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function Yt(e){return f3(e)&&"tagName"in e}function vt(e){return Yt(e)&&"accessKey"in e}function Cn(e){return Yt(e)&&"tabIndex"in e}function h3(e){return Yt(e)&&"style"in e}function p3(e){return vt(e)&&e.nodeName==="IFRAME"}function m3(e){return vt(e)&&e.nodeName==="INPUT"}function g3(e){return vt(e)&&e.nodeName==="FIELDSET"}function Ml(e){return vt(e)&&e.nodeName==="LEGEND"}function Sl(e){let t=e.parentElement,n=null;for(;t&&!g3(t);)Ml(t)&&(n=t),t=t.parentElement;let r=t?.getAttribute("disabled")==="";return r&&x3(n)?!1:r}function x3(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(Ml(t))return!1;t=t.previousElementSibling}return!0}let Tl=Symbol();function Dl(e,t=!0){return Object.assign(e,{[Tl]:t})}function _e(...e){let t=p.useRef(e);p.useEffect(()=>{t.current=e},[e]);let n=se(r=>{for(let s of t.current)s!=null&&(typeof s=="function"?s(r):s.current=r)});return e.every(r=>r==null||r?.[Tl])?void 0:n}var je=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(je||{});let y3=p.createContext(()=>{});function Pl({value:e,children:t}){return p.createElement(y3.Provider,{value:e},t)}function Al(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function v3(e,t,n=!1){let[r,s]=p.useState(()=>Al(t));return Ae(()=>{if(!t||!e)return;let o=yt();return o.requestAnimationFrame(function i(){o.requestAnimationFrame(i),s(l=>{let c=Al(t);return c.width===l.width&&c.height===l.height?l:c})}),()=>{o.dispose()}},[t,e]),n?{width:`${r.width}px`,height:`${r.height}px`}:r}let Rl=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};var b3=Object.defineProperty,C3=(e,t,n)=>t in e?b3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w3=(e,t,n)=>(C3(e,t+"",n),n),Nl=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Ge=(e,t,n)=>(Nl(e,t,"read from private field"),n?n.call(e):t.get(e)),fo=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Fl=(e,t,n,r)=>(Nl(e,t,"write to private field"),t.set(e,n),n),ft,Gn,qn;let Vl=class{constructor(t){fo(this,ft,{}),fo(this,Gn,new Rl(()=>new Set)),fo(this,qn,new Set),w3(this,"disposables",yt()),Fl(this,ft,t),Zt.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return Ge(this,ft)}subscribe(t,n){if(Zt.isServer)return()=>{};let r={selector:t,callback:n,current:t(Ge(this,ft))};return Ge(this,qn).add(r),this.disposables.add(()=>{Ge(this,qn).delete(r)})}on(t,n){return Zt.isServer?()=>{}:(Ge(this,Gn).get(t).add(n),this.disposables.add(()=>{Ge(this,Gn).get(t).delete(n)}))}send(t){let n=this.reduce(Ge(this,ft),t);if(n!==Ge(this,ft)){Fl(this,ft,n);for(let r of Ge(this,qn)){let s=r.selector(Ge(this,ft));$l(r.current,s)||(r.current=s,r.callback(s))}for(let r of Ge(this,Gn).get(t.type))r(Ge(this,ft),t)}}};ft=new WeakMap,Gn=new WeakMap,qn=new WeakMap;function $l(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:ho(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:ho(e.entries(),t.entries()):Ol(e)&&Ol(t)?ho(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function ho(e,t){do{let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}while(!0)}function Ol(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var k3=Object.defineProperty,j3=(e,t,n)=>t in e?k3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_l=(e,t,n)=>(j3(e,typeof t!="symbol"?t+"":t,n),n),L3=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(L3||{});let E3={0(e,t){let n=t.id,r=e.stack,s=e.stack.indexOf(n);if(s!==-1){let o=e.stack.slice();return o.splice(s,1),o.push(n),r=o,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(r===-1)return e;let s=e.stack.slice();return s.splice(r,1),{...e,stack:s}}},M3=class c0 extends Vl{constructor(){super(...arguments),_l(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),_l(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new c0({stack:[]})}reduce(t,n){return Re(n.type,E3,t,n)}};const Bl=new Rl(()=>M3.new());var po={exports:{}},mo={};/**
10
+ * @license React
11
+ * use-sync-external-store-with-selector.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Il;function S3(){if(Il)return mo;Il=1;var e=p;function t(c,u){return c===u&&(c!==0||1/c===1/u)||c!==c&&u!==u}var n=typeof Object.is=="function"?Object.is:t,r=e.useSyncExternalStore,s=e.useRef,o=e.useEffect,i=e.useMemo,l=e.useDebugValue;return mo.useSyncExternalStoreWithSelector=function(c,u,d,f,h){var m=s(null);if(m.current===null){var g={hasValue:!1,value:null};m.current=g}else g=m.current;m=i(function(){function v(w){if(!b){if(b=!0,C=w,w=f(w),h!==void 0&&g.hasValue){var L=g.value;if(h(L,w))return y=L}return y=w}if(L=y,n(C,w))return L;var A=f(w);return h!==void 0&&h(L,A)?(C=w,L):(C=w,y=A)}var b=!1,C,y,k=d===void 0?null:d;return[function(){return v(u())},k===null?void 0:function(){return v(k())}]},[u,d,f,h]);var x=r(c,m[0],m[1]);return o(function(){g.hasValue=!0,g.value=x},[x]),l(x),x},mo}var go={};/**
18
+ * @license React
19
+ * use-sync-external-store-with-selector.development.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var Hl;function T3(){return Hl||(Hl=1,process.env.NODE_ENV!=="production"&&function(){function e(c,u){return c===u&&(c!==0||1/c===1/u)||c!==c&&u!==u}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=p,n=typeof Object.is=="function"?Object.is:e,r=t.useSyncExternalStore,s=t.useRef,o=t.useEffect,i=t.useMemo,l=t.useDebugValue;go.useSyncExternalStoreWithSelector=function(c,u,d,f,h){var m=s(null);if(m.current===null){var g={hasValue:!1,value:null};m.current=g}else g=m.current;m=i(function(){function v(w){if(!b){if(b=!0,C=w,w=f(w),h!==void 0&&g.hasValue){var L=g.value;if(h(L,w))return y=L}return y=w}if(L=y,n(C,w))return L;var A=f(w);return h!==void 0&&h(L,A)?(C=w,L):(C=w,y=A)}var b=!1,C,y,k=d===void 0?null:d;return[function(){return v(u())},k===null?void 0:function(){return v(k())}]},[u,d,f,h]);var x=r(c,m[0],m[1]);return o(function(){g.hasValue=!0,g.value=x},[x]),l(x),x},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),go}process.env.NODE_ENV==="production"?po.exports=S3():po.exports=T3();var D3=po.exports;function Gt(e,t,n=$l){return D3.useSyncExternalStoreWithSelector(se(r=>e.subscribe(P3,r)),se(()=>e.state),se(()=>e.state),se(t),n)}function P3(e){return e}function A3(e,t){let n=p.useId(),r=Bl.get(t),[s,o]=Gt(r,p.useCallback(i=>[r.selectors.isTop(i,n),r.selectors.inStack(i,n)],[r,n]));return Ae(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),e?o?s:!0:!1}function R3(e,t,n){let r=Ye(s=>{let o=s.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&n()});p.useEffect(()=>{if(!e)return;let s=t===null?null:vt(t)?t:t.current;if(!s)return;let o=yt();if(typeof ResizeObserver<"u"){let i=new ResizeObserver(()=>r.current(s));i.observe(s),o.add(()=>i.disconnect())}if(typeof IntersectionObserver<"u"){let i=new IntersectionObserver(()=>r.current(s));i.observe(s),o.add(()=>i.disconnect())}return()=>o.dispose()},[t,r,e])}let xo=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),N3=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var we=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(we||{}),Mt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Mt||{}),F3=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(F3||{});function Gr(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(xo)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function V3(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(N3)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var yo=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(yo||{});function Wl(e,t=0){var n;return e===((n=xn(e))==null?void 0:n.body)?!1:Re(t,{0(){return e.matches(xo)},1(){let r=e;for(;r!==null;){if(r.matches(xo))return!0;r=r.parentElement}return!1}})}var $3=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))($3||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let O3=["textarea","input"].join(",");function _3(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,O3))!=null?n:!1}function wn(e,t=n=>n){return e.slice().sort((n,r)=>{let s=t(n),o=t(r);if(s===null||o===null)return 0;let i=s.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ze(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:s=[]}={}){let o=Array.isArray(e)?e.length>0?Ut(e[0]):document:Ut(e),i=Array.isArray(e)?n?wn(e):e:t&64?V3(e):Gr(e);s.length>0&&i.length>1&&(i=i.filter(m=>!s.some(g=>g!=null&&"current"in g?g?.current===m:g===m))),r=r??o?.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(r))-1;if(t&4)return Math.max(0,i.indexOf(r))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},d=0,f=i.length,h;do{if(d>=f||d+f<=0)return 0;let m=c+d;if(t&16)m=(m+f)%f;else{if(m<0)return 3;if(m>=f)return 1}h=i[m],h?.focus(u),d+=l}while(h!==zt(h));return t&6&&_3(h)&&h.select(),2}function Zl(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function B3(){return/Android/gi.test(window.navigator.userAgent)}function Ul(){return Zl()||B3()}function qr(e,t,n,r){let s=Ye(n);p.useEffect(()=>{if(!e)return;function o(i){s.current(i)}return document.addEventListener(t,o,r),()=>document.removeEventListener(t,o,r)},[e,t,r])}function zl(e,t,n,r){let s=Ye(n);p.useEffect(()=>{if(!e)return;function o(i){s.current(i)}return window.addEventListener(t,o,r),()=>window.removeEventListener(t,o,r)},[e,t,r])}const Kl=30;function I3(e,t,n){let r=Ye(n),s=p.useCallback(function(l,c){if(l.defaultPrevented)return;let u=c(l);if(u===null||!u.getRootNode().contains(u)||!u.isConnected)return;let d=function f(h){return typeof h=="function"?f(h()):Array.isArray(h)||h instanceof Set?h:[h]}(t);for(let f of d)if(f!==null&&(f.contains(u)||l.composed&&l.composedPath().includes(f)))return;return!Wl(u,yo.Loose)&&u.tabIndex!==-1&&l.preventDefault(),r.current(l,u)},[r,t]),o=p.useRef(null);qr(e,"pointerdown",l=>{var c,u;Ul()||(o.current=((u=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:u[0])||l.target)},!0),qr(e,"pointerup",l=>{if(Ul()||!o.current)return;let c=o.current;return o.current=null,s(l,()=>c)},!0);let i=p.useRef({x:0,y:0});qr(e,"touchstart",l=>{i.current.x=l.touches[0].clientX,i.current.y=l.touches[0].clientY},!0),qr(e,"touchend",l=>{let c={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(c.x-i.current.x)>=Kl||Math.abs(c.y-i.current.y)>=Kl))return s(l,()=>Cn(l.target)?l.target:null)},!0),zl(e,"blur",l=>s(l,()=>p3(window.document.activeElement)?window.document.activeElement:null),!0)}function vo(...e){return p.useMemo(()=>xn(...e),[...e])}function H3(...e){return p.useMemo(()=>Ut(...e),[...e])}function W3(e,t,n,r){let s=Ye(n);p.useEffect(()=>{e=e??window;function o(i){s.current(i)}return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)},[e,t,r])}function Yl(e,t){return p.useMemo(()=>{var n;if(e.type)return e.type;let r=(n=e.as)!=null?n:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||t?.tagName==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function Z3(e){return p.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function U3(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(s){return r.add(s),()=>r.delete(s)},dispatch(s,...o){let i=t[s].call(n,...o);i&&(n=i,r.forEach(l=>l()))}}}function z3(){let e;return{before({doc:t}){var n;let r=t.documentElement,s=(n=t.defaultView)!=null?n:window;e=Math.max(0,s.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,s=Math.max(0,r.clientWidth-r.offsetWidth),o=Math.max(0,e-s);n.style(r,"paddingRight",`${o}px`)}}}function K3(){return Zl()?{before({doc:e,d:t,meta:n}){function r(s){for(let o of n().containers)for(let i of o())if(i.contains(s))return!0;return!1}t.microTask(()=>{var s;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let l=yt();l.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>l.dispose()))}let o=(s=window.scrollY)!=null?s:window.pageYOffset,i=null;t.addEventListener(e,"click",l=>{if(Cn(l.target))try{let c=l.target.closest("a");if(!c)return;let{hash:u}=new URL(c.href),d=e.querySelector(u);Cn(d)&&!r(d)&&(i=d)}catch{}},!0),t.group(l=>{t.addEventListener(e,"touchstart",c=>{if(l.dispose(),Cn(c.target)&&h3(c.target))if(r(c.target)){let u=c.target;for(;u.parentElement&&r(u.parentElement);)u=u.parentElement;l.style(u,"overscrollBehavior","contain")}else l.style(c.target,"touchAction","none")})}),t.addEventListener(e,"touchmove",l=>{if(Cn(l.target)){if(m3(l.target))return;if(r(l.target)){let c=l.target;for(;c.parentElement&&c.dataset.headlessuiPortal!==""&&!(c.scrollHeight>c.clientHeight||c.scrollWidth>c.clientWidth);)c=c.parentElement;c.dataset.headlessuiPortal===""&&l.preventDefault()}else l.preventDefault()}},{passive:!1}),t.add(()=>{var l;let c=(l=window.scrollY)!=null?l:window.pageYOffset;o!==c&&window.scrollTo(0,o),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function Y3(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Gl(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let qt=U3(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:yt(),meta:new Set,computedMeta:{}};return r.count++,r.meta.add(t),r.computedMeta=Gl(r.meta),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=Gl(n.meta)),this},SCROLL_PREVENT(e){let t={doc:e.doc,d:e.d,meta(){return e.computedMeta}},n=[K3(),z3(),Y3()];n.forEach(({before:r})=>r?.(t)),n.forEach(({after:r})=>r?.(t))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});qt.subscribe(()=>{let e=qt.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",s=n.count!==0;(s&&!r||!s&&r)&&qt.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&qt.dispatch("TEARDOWN",n)}});function G3(e,t,n=()=>({containers:[]})){let r=Z3(qt),s=t?r.get(t):void 0,o=s?s.count>0:!1;return Ae(()=>{if(!(!t||!e))return qt.dispatch("PUSH",t,n),()=>qt.dispatch("POP",t,n)},[e,t]),o}function q3(e,t,n=()=>[document.body]){let r=A3(e,"scroll-lock");G3(r,t,s=>{var o;return{containers:[...(o=s.containers)!=null?o:[],n]}})}function X3(e=0){let[t,n]=p.useState(e),r=p.useCallback(c=>n(c),[]),s=p.useCallback(c=>n(u=>u|c),[]),o=p.useCallback(c=>(t&c)===c,[t]),i=p.useCallback(c=>n(u=>u&~c),[]),l=p.useCallback(c=>n(u=>u^c),[]);return{flags:t,setFlag:r,addFlag:s,hasFlag:o,removeFlag:i,toggleFlag:l}}var ql,Xl;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((ql=process==null?void 0:process.env)==null?void 0:ql.NODE_ENV)==="test"&&typeof((Xl=Element?.prototype)==null?void 0:Xl.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
26
+ `)),[]});var J3=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(J3||{});function Jl(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function Ql(e,t,n,r){let[s,o]=p.useState(n),{hasFlag:i,addFlag:l,removeFlag:c}=X3(e&&s?3:0),u=p.useRef(!1),d=p.useRef(!1),f=zr();return Ae(()=>{var h;if(e){if(n&&o(!0),!t){n&&l(3);return}return(h=void 0)==null||h.call(r,n),Q3(t,{inFlight:u,prepare(){d.current?d.current=!1:d.current=u.current,u.current=!0,!d.current&&(n?(l(3),c(4)):(l(4),c(2)))},run(){d.current?n?(c(3),l(4)):(c(4),l(3)):n?c(1):l(1)},done(){var m;d.current&&nh(t)||(u.current=!1,c(7),n||o(!1),(m=void 0)==null||m.call(r,n))}})}},[e,n,t,f]),e?[s,{closed:i(1),enter:i(2),leave:i(4),transition:i(2)||i(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function Q3(e,{prepare:t,run:n,done:r,inFlight:s}){let o=yt();return th(e,{prepare:t,inFlight:s}),o.nextFrame(()=>{n(),o.requestAnimationFrame(()=>{o.add(eh(e,r))})}),o.dispose}function eh(e,t){var n,r;let s=yt();if(!e)return s.dispose;let o=!1;s.add(()=>{o=!0});let i=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(l=>l instanceof CSSTransition))!=null?r:[];return i.length===0?(t(),s.dispose):(Promise.allSettled(i.map(l=>l.finished)).then(()=>{o||t()}),s.dispose)}function th(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function nh(e){var t,n;return((n=(t=e.getAnimations)==null?void 0:t.call(e))!=null?n:[]).some(r=>r instanceof CSSTransition&&r.playState!=="finished")}function Xr(){return typeof window<"u"}function kn(e){return ec(e)?(e.nodeName||"").toLowerCase():"#document"}function Ue(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ht(e){var t;return(t=(ec(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ec(e){return Xr()?e instanceof Node||e instanceof Ue(e).Node:!1}function Te(e){return Xr()?e instanceof Element||e instanceof Ue(e).Element:!1}function pt(e){return Xr()?e instanceof HTMLElement||e instanceof Ue(e).HTMLElement:!1}function tc(e){return!Xr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ue(e).ShadowRoot}const rh=new Set(["inline","contents"]);function Xn(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=ot(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!rh.has(s)}const sh=new Set(["table","td","th"]);function oh(e){return sh.has(kn(e))}const ih=[":popover-open",":modal"];function Jr(e){return ih.some(t=>{try{return e.matches(t)}catch{return!1}})}const ah=["transform","translate","scale","rotate","perspective"],lh=["transform","translate","scale","rotate","perspective","filter"],ch=["paint","layout","strict","content"];function bo(e){const t=Co(),n=Te(e)?ot(e):e;return ah.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||lh.some(r=>(n.willChange||"").includes(r))||ch.some(r=>(n.contain||"").includes(r))}function uh(e){let t=St(e);for(;pt(t)&&!jn(t);){if(bo(t))return t;if(Jr(t))return null;t=St(t)}return null}function Co(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const dh=new Set(["html","body","#document"]);function jn(e){return dh.has(kn(e))}function ot(e){return Ue(e).getComputedStyle(e)}function Qr(e){return Te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function St(e){if(kn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||tc(e)&&e.host||ht(e);return tc(t)?t.host:t}function nc(e){const t=St(e);return jn(t)?e.ownerDocument?e.ownerDocument.body:e.body:pt(t)&&Xn(t)?t:nc(t)}function Jn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=nc(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),i=Ue(s);if(o){const l=wo(i);return t.concat(i,i.visualViewport||[],Xn(s)?s:[],l&&n?Jn(l):[])}return t.concat(s,Jn(s,[],n))}function wo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fh(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const Xt=Math.min,De=Math.max,Qn=Math.round,es=Math.floor,mt=e=>({x:e,y:e}),hh={left:"right",right:"left",bottom:"top",top:"bottom"},ph={start:"end",end:"start"};function rc(e,t,n){return De(e,Xt(t,n))}function Ln(e,t){return typeof e=="function"?e(t):e}function Tt(e){return e.split("-")[0]}function er(e){return e.split("-")[1]}function sc(e){return e==="x"?"y":"x"}function oc(e){return e==="y"?"height":"width"}const mh=new Set(["top","bottom"]);function bt(e){return mh.has(Tt(e))?"y":"x"}function ic(e){return sc(bt(e))}function gh(e,t,n){n===void 0&&(n=!1);const r=er(e),s=ic(e),o=oc(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=ts(i)),[i,ts(i)]}function xh(e){const t=ts(e);return[ko(e),t,ko(t)]}function ko(e){return e.replace(/start|end/g,t=>ph[t])}const ac=["left","right"],lc=["right","left"],yh=["top","bottom"],vh=["bottom","top"];function bh(e,t,n){switch(e){case"top":case"bottom":return n?t?lc:ac:t?ac:lc;case"left":case"right":return t?yh:vh;default:return[]}}function Ch(e,t,n,r){const s=er(e);let o=bh(Tt(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(ko)))),o}function ts(e){return e.replace(/left|right|bottom|top/g,t=>hh[t])}function wh(e){return{top:0,right:0,bottom:0,left:0,...e}}function kh(e){return typeof e!="number"?wh(e):{top:e,right:e,bottom:e,left:e}}function ns(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function cc(e,t,n){let{reference:r,floating:s}=e;const o=bt(t),i=ic(t),l=oc(i),c=Tt(t),u=o==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[l]/2-s[l]/2;let m;switch(c){case"top":m={x:d,y:r.y-s.height};break;case"bottom":m={x:d,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-s.width,y:f};break;default:m={x:r.x,y:r.y}}switch(er(t)){case"start":m[i]-=h*(n&&u?-1:1);break;case"end":m[i]+=h*(n&&u?-1:1);break}return m}const jh=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,l=o.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=cc(u,r,c),h=r,m={},g=0;for(let x=0;x<l.length;x++){const{name:v,fn:b}=l[x],{x:C,y,data:k,reset:w}=await b({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:m,rects:u,platform:i,elements:{reference:e,floating:t}});d=C??d,f=y??f,m={...m,[v]:{...m[v],...k}},w&&g<=50&&(g++,typeof w=="object"&&(w.placement&&(h=w.placement),w.rects&&(u=w.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):w.rects),{x:d,y:f}=cc(u,h,c)),x=-1)}return{x:d,y:f,placement:h,strategy:s,middlewareData:m}};async function rs(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=Ln(t,e),g=kh(m),v=l[h?f==="floating"?"reference":"floating":f],b=ns(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),C=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),k=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},w=ns(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:y,strategy:c}):C);return{top:(b.top-w.top+g.top)/k.y,bottom:(w.bottom-b.bottom+g.bottom)/k.y,left:(b.left-w.left+g.left)/k.x,right:(w.right-b.right+g.right)/k.x}}const Lh=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:x=!0,...v}=Ln(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const b=Tt(s),C=bt(l),y=Tt(l)===l,k=await(c.isRTL==null?void 0:c.isRTL(u.floating)),w=h||(y||!x?[ts(l)]:xh(l)),L=g!=="none";!h&&L&&w.push(...Ch(l,x,g,k));const A=[l,...w],D=await rs(t,v),I=[];let V=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&I.push(D[b]),f){const P=gh(s,i,k);I.push(D[P[0]],D[P[1]])}if(V=[...V,{placement:s,overflows:I}],!I.every(P=>P<=0)){var O,z;const P=(((O=o.flip)==null?void 0:O.index)||0)+1,F=A[P];if(F&&(!(f==="alignment"?C!==bt(F):!1)||V.every(M=>bt(M.placement)===C?M.overflows[0]>0:!0)))return{data:{index:P,overflows:V},reset:{placement:F}};let E=(z=V.filter(T=>T.overflows[0]<=0).sort((T,M)=>T.overflows[1]-M.overflows[1])[0])==null?void 0:z.placement;if(!E)switch(m){case"bestFit":{var Z;const T=(Z=V.filter(M=>{if(L){const $=bt(M.placement);return $===C||$==="y"}return!0}).map(M=>[M.placement,M.overflows.filter($=>$>0).reduce(($,N)=>$+N,0)]).sort((M,$)=>M[1]-$[1])[0])==null?void 0:Z[0];T&&(E=T);break}case"initialPlacement":E=l;break}if(s!==E)return{reset:{placement:E}}}return{}}}},Eh=new Set(["left","top"]);async function Mh(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=Tt(n),l=er(n),c=bt(n)==="y",u=Eh.has(i)?-1:1,d=o&&c?-1:1,f=Ln(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof g=="number"&&(m=l==="end"?g*-1:g),c?{x:m*d,y:h*u}:{x:h*u,y:m*d}}const Sh=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:l}=t,c=await Mh(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:o+c.y,data:{...c,placement:i}}}}},Th=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:l={fn:v=>{let{x:b,y:C}=v;return{x:b,y:C}}},...c}=Ln(e,t),u={x:n,y:r},d=await rs(t,c),f=bt(Tt(s)),h=sc(f);let m=u[h],g=u[f];if(o){const v=h==="y"?"top":"left",b=h==="y"?"bottom":"right",C=m+d[v],y=m-d[b];m=rc(C,m,y)}if(i){const v=f==="y"?"top":"left",b=f==="y"?"bottom":"right",C=g+d[v],y=g-d[b];g=rc(C,g,y)}const x=l.fn({...t,[h]:m,[f]:g});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[h]:o,[f]:i}}}}}},Dh=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:l}=t,{apply:c=()=>{},...u}=Ln(e,t),d=await rs(t,u),f=Tt(s),h=er(s),m=bt(s)==="y",{width:g,height:x}=o.floating;let v,b;f==="top"||f==="bottom"?(v=f,b=h===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(b=f,v=h==="end"?"top":"bottom");const C=x-d.top-d.bottom,y=g-d.left-d.right,k=Xt(x-d[v],C),w=Xt(g-d[b],y),L=!t.middlewareData.shift;let A=k,D=w;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(A=C),L&&!h){const V=De(d.left,0),O=De(d.right,0),z=De(d.top,0),Z=De(d.bottom,0);m?D=g-2*(V!==0||O!==0?V+O:De(d.left,d.right)):A=x-2*(z!==0||Z!==0?z+Z:De(d.top,d.bottom))}await c({...t,availableWidth:D,availableHeight:A});const I=await i.getDimensions(l.floating);return g!==I.width||x!==I.height?{reset:{rects:!0}}:{}}}};function uc(e){const t=ot(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=pt(e),o=s?e.offsetWidth:n,i=s?e.offsetHeight:r,l=Qn(n)!==o||Qn(r)!==i;return l&&(n=o,r=i),{width:n,height:r,$:l}}function jo(e){return Te(e)?e:e.contextElement}function En(e){const t=jo(e);if(!pt(t))return mt(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=uc(t);let i=(o?Qn(n.width):n.width)/r,l=(o?Qn(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const Ph=mt(0);function dc(e){const t=Ue(e);return!Co()||!t.visualViewport?Ph:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ah(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ue(e)?!1:t}function Jt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=jo(e);let i=mt(1);t&&(r?Te(r)&&(i=En(r)):i=En(e));const l=Ah(o,n,r)?dc(o):mt(0);let c=(s.left+l.x)/i.x,u=(s.top+l.y)/i.y,d=s.width/i.x,f=s.height/i.y;if(o){const h=Ue(o),m=r&&Te(r)?Ue(r):r;let g=h,x=wo(g);for(;x&&r&&m!==g;){const v=En(x),b=x.getBoundingClientRect(),C=ot(x),y=b.left+(x.clientLeft+parseFloat(C.paddingLeft))*v.x,k=b.top+(x.clientTop+parseFloat(C.paddingTop))*v.y;c*=v.x,u*=v.y,d*=v.x,f*=v.y,c+=y,u+=k,g=Ue(x),x=wo(g)}}return ns({width:d,height:f,x:c,y:u})}function ss(e,t){const n=Qr(e).scrollLeft;return t?t.left+n:Jt(ht(e)).left+n}function fc(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-ss(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function Rh(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",i=ht(r),l=t?Jr(t.floating):!1;if(r===i||l&&o)return n;let c={scrollLeft:0,scrollTop:0},u=mt(1);const d=mt(0),f=pt(r);if((f||!f&&!o)&&((kn(r)!=="body"||Xn(i))&&(c=Qr(r)),pt(r))){const m=Jt(r);u=En(r),d.x=m.x+r.clientLeft,d.y=m.y+r.clientTop}const h=i&&!f&&!o?fc(i,c):mt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-c.scrollTop*u.y+d.y+h.y}}function Nh(e){return Array.from(e.getClientRects())}function Fh(e){const t=ht(e),n=Qr(e),r=e.ownerDocument.body,s=De(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=De(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+ss(e);const l=-n.scrollTop;return ot(r).direction==="rtl"&&(i+=De(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:i,y:l}}const hc=25;function Vh(e,t){const n=Ue(e),r=ht(e),s=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,l=0,c=0;if(s){o=s.width,i=s.height;const d=Co();(!d||d&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}const u=ss(r);if(u<=0){const d=r.ownerDocument,f=d.body,h=getComputedStyle(f),m=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,g=Math.abs(r.clientWidth-f.clientWidth-m);g<=hc&&(o-=g)}else u<=hc&&(o+=u);return{width:o,height:i,x:l,y:c}}const $h=new Set(["absolute","fixed"]);function Oh(e,t){const n=Jt(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=pt(e)?En(e):mt(1),i=e.clientWidth*o.x,l=e.clientHeight*o.y,c=s*o.x,u=r*o.y;return{width:i,height:l,x:c,y:u}}function pc(e,t,n){let r;if(t==="viewport")r=Vh(e,n);else if(t==="document")r=Fh(ht(e));else if(Te(t))r=Oh(t,n);else{const s=dc(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return ns(r)}function mc(e,t){const n=St(e);return n===t||!Te(n)||jn(n)?!1:ot(n).position==="fixed"||mc(n,t)}function _h(e,t){const n=t.get(e);if(n)return n;let r=Jn(e,[],!1).filter(l=>Te(l)&&kn(l)!=="body"),s=null;const o=ot(e).position==="fixed";let i=o?St(e):e;for(;Te(i)&&!jn(i);){const l=ot(i),c=bo(i);!c&&l.position==="fixed"&&(s=null),(o?!c&&!s:!c&&l.position==="static"&&!!s&&$h.has(s.position)||Xn(i)&&!c&&mc(e,i))?r=r.filter(d=>d!==i):s=l,i=St(i)}return t.set(e,r),r}function Bh(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?Jr(t)?[]:_h(t,this._c):[].concat(n),r],l=i[0],c=i.reduce((u,d)=>{const f=pc(t,d,s);return u.top=De(f.top,u.top),u.right=Xt(f.right,u.right),u.bottom=Xt(f.bottom,u.bottom),u.left=De(f.left,u.left),u},pc(t,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ih(e){const{width:t,height:n}=uc(e);return{width:t,height:n}}function Hh(e,t,n){const r=pt(t),s=ht(t),o=n==="fixed",i=Jt(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=mt(0);function u(){c.x=ss(s)}if(r||!r&&!o)if((kn(t)!=="body"||Xn(s))&&(l=Qr(t)),r){const m=Jt(t,!0,o,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else s&&u();o&&!r&&s&&u();const d=s&&!r&&!o?fc(s,l):mt(0),f=i.left+l.scrollLeft-c.x-d.x,h=i.top+l.scrollTop-c.y-d.y;return{x:f,y:h,width:i.width,height:i.height}}function Lo(e){return ot(e).position==="static"}function gc(e,t){if(!pt(e)||ot(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ht(e)===n&&(n=n.ownerDocument.body),n}function xc(e,t){const n=Ue(e);if(Jr(e))return n;if(!pt(e)){let s=St(e);for(;s&&!jn(s);){if(Te(s)&&!Lo(s))return s;s=St(s)}return n}let r=gc(e,t);for(;r&&oh(r)&&Lo(r);)r=gc(r,t);return r&&jn(r)&&Lo(r)&&!bo(r)?n:r||uh(e)||n}const Wh=async function(e){const t=this.getOffsetParent||xc,n=this.getDimensions,r=await n(e.floating);return{reference:Hh(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Zh(e){return ot(e).direction==="rtl"}const Uh={convertOffsetParentRelativeRectToViewportRelativeRect:Rh,getDocumentElement:ht,getClippingRect:Bh,getOffsetParent:xc,getElementRects:Wh,getClientRects:Nh,getDimensions:Ih,getScale:En,isElement:Te,isRTL:Zh};function yc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function zh(e,t){let n=null,r;const s=ht(e);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function i(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:m}=u;if(l||t(),!h||!m)return;const g=es(f),x=es(s.clientWidth-(d+h)),v=es(s.clientHeight-(f+m)),b=es(d),y={rootMargin:-g+"px "+-x+"px "+-v+"px "+-b+"px",threshold:De(0,Xt(1,c))||1};let k=!0;function w(L){const A=L[0].intersectionRatio;if(A!==c){if(!k)return i();A?i(!1,A):r=setTimeout(()=>{i(!1,1e-7)},1e3)}A===1&&!yc(u,e.getBoundingClientRect())&&i(),k=!1}try{n=new IntersectionObserver(w,{...y,root:s.ownerDocument})}catch{n=new IntersectionObserver(w,y)}n.observe(e)}return i(!0),o}function Kh(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=jo(e),d=s||o?[...u?Jn(u):[],...Jn(t)]:[];d.forEach(b=>{s&&b.addEventListener("scroll",n,{passive:!0}),o&&b.addEventListener("resize",n)});const f=u&&l?zh(u,n):null;let h=-1,m=null;i&&(m=new ResizeObserver(b=>{let[C]=b;C&&C.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=m)==null||y.observe(t)})),n()}),u&&!c&&m.observe(u),m.observe(t));let g,x=c?Jt(e):null;c&&v();function v(){const b=Jt(e);x&&!yc(x,b)&&n(),x=b,g=requestAnimationFrame(v)}return n(),()=>{var b;d.forEach(C=>{s&&C.removeEventListener("scroll",n),o&&C.removeEventListener("resize",n)}),f?.(),(b=m)==null||b.disconnect(),m=null,c&&cancelAnimationFrame(g)}}const Eo=rs,Yh=Sh,Gh=Th,qh=Lh,Xh=Dh,Jh=(e,t,n)=>{const r=new Map,s={platform:Uh,...n},o={...s.platform,_c:r};return jh(e,t,{...s,platform:o})};var Qh=typeof document<"u",e5=function(){},os=Qh?p.useLayoutEffect:e5;function is(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!is(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const o=s[r];if(!(o==="_owner"&&e.$$typeof)&&!is(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function vc(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bc(e,t){const n=vc(e);return Math.round(t*n)/n}function Mo(e){const t=K.useRef(e);return os(()=>{t.current=e}),t}function t5(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:i}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=K.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=K.useState(r);is(h,r)||m(r);const[g,x]=K.useState(null),[v,b]=K.useState(null),C=K.useCallback(M=>{M!==L.current&&(L.current=M,x(M))},[]),y=K.useCallback(M=>{M!==A.current&&(A.current=M,b(M))},[]),k=o||g,w=i||v,L=K.useRef(null),A=K.useRef(null),D=K.useRef(d),I=c!=null,V=Mo(c),O=Mo(s),z=Mo(u),Z=K.useCallback(()=>{if(!L.current||!A.current)return;const M={placement:t,strategy:n,middleware:h};O.current&&(M.platform=O.current),Jh(L.current,A.current,M).then($=>{const N={...$,isPositioned:z.current!==!1};P.current&&!is(D.current,N)&&(D.current=N,Er.flushSync(()=>{f(N)}))})},[h,t,n,O,z]);os(()=>{u===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,f(M=>({...M,isPositioned:!1})))},[u]);const P=K.useRef(!1);os(()=>(P.current=!0,()=>{P.current=!1}),[]),os(()=>{if(k&&(L.current=k),w&&(A.current=w),k&&w){if(V.current)return V.current(k,w,Z);Z()}},[k,w,Z,V,I]);const F=K.useMemo(()=>({reference:L,floating:A,setReference:C,setFloating:y}),[C,y]),E=K.useMemo(()=>({reference:k,floating:w}),[k,w]),T=K.useMemo(()=>{const M={position:n,left:0,top:0};if(!E.floating)return M;const $=bc(E.floating,d.x),N=bc(E.floating,d.y);return l?{...M,transform:"translate("+$+"px, "+N+"px)",...vc(E.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:N}},[n,l,E.floating,d.x,d.y]);return K.useMemo(()=>({...d,update:Z,refs:F,elements:E,floatingStyles:T}),[d,Z,F,E,T])}const Cc=(e,t)=>({...Yh(e),options:[e,t]}),n5=(e,t)=>({...Gh(e),options:[e,t]}),r5=(e,t)=>({...qh(e),options:[e,t]}),s5=(e,t)=>({...Xh(e),options:[e,t]}),wc={...K},o5=wc.useInsertionEffect,i5=o5||(e=>e());function kc(e){const t=K.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return i5(()=>{t.current=e}),K.useCallback(function(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return t.current==null?void 0:t.current(...r)},[])}var So=typeof document<"u"?p.useLayoutEffect:p.useEffect;let jc=!1,a5=0;const Lc=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+a5++;function l5(){const[e,t]=K.useState(()=>jc?Lc():void 0);return So(()=>{e==null&&t(Lc())},[]),K.useEffect(()=>{jc=!0},[]),e}const c5=wc.useId,u5=c5||l5;let tr;process.env.NODE_ENV!=="production"&&(tr=new Set);function d5(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const s="Floating UI: "+n.join(" ");if(!((e=tr)!=null&&e.has(s))){var o;(o=tr)==null||o.add(s),console.warn(s)}}function f5(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const s="Floating UI: "+n.join(" ");if(!((e=tr)!=null&&e.has(s))){var o;(o=tr)==null||o.add(s),console.error(s)}}function h5(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(s=>s(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(s=>s!==n))||[])}}}const p5=K.createContext(null),m5=K.createContext(null),g5=()=>{var e;return((e=K.useContext(p5))==null?void 0:e.id)||null},x5=()=>K.useContext(m5),y5="data-floating-ui-focusable";function v5(e){const{open:t=!1,onOpenChange:n,elements:r}=e,s=u5(),o=K.useRef({}),[i]=K.useState(()=>h5()),l=g5()!=null;if(process.env.NODE_ENV!=="production"){const m=r.reference;m&&!Te(m)&&f5("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,u]=K.useState(r.reference),d=kc((m,g,x)=>{o.current.openEvent=m?g:void 0,i.emit("openchange",{open:m,event:g,reason:x,nested:l}),n?.(m,g,x)}),f=K.useMemo(()=>({setPositionReference:u}),[]),h=K.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return K.useMemo(()=>({dataRef:o,open:t,onOpenChange:d,elements:h,events:i,floatingId:s,refs:f}),[t,d,h,i,s,f])}function b5(e){e===void 0&&(e={});const{nodeId:t}=e,n=v5({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,s=r.elements,[o,i]=K.useState(null),[l,c]=K.useState(null),d=s?.domReference||o,f=K.useRef(null),h=x5();So(()=>{d&&(f.current=d)},[d]);const m=t5({...e,elements:{...s,...l&&{reference:l}}}),g=K.useCallback(y=>{const k=Te(y)?{getBoundingClientRect:()=>y.getBoundingClientRect(),contextElement:y}:y;c(k),m.refs.setReference(k)},[m.refs]),x=K.useCallback(y=>{(Te(y)||y===null)&&(f.current=y,i(y)),(Te(m.refs.reference.current)||m.refs.reference.current===null||y!==null&&!Te(y))&&m.refs.setReference(y)},[m.refs]),v=K.useMemo(()=>({...m.refs,setReference:x,setPositionReference:g,domReference:f}),[m.refs,x,g]),b=K.useMemo(()=>({...m.elements,domReference:d}),[m.elements,d]),C=K.useMemo(()=>({...m,...r,refs:v,elements:b,nodeId:t}),[m,v,b,t,r]);return So(()=>{r.dataRef.current.floatingContext=C;const y=h?.nodesRef.current.find(k=>k.id===t);y&&(y.context=C)}),K.useMemo(()=>({...m,context:C,refs:v,elements:b}),[m,v,b,C])}const Ec="active",Mc="selected";function To(e,t,n){const r=new Map,s=n==="item";let o=e;if(s&&e){const{[Ec]:i,[Mc]:l,...c}=e;o=c}return{...n==="floating"&&{tabIndex:-1,[y5]:""},...o,...t.map(i=>{const l=i?i[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((i,l)=>(l&&Object.entries(l).forEach(c=>{let[u,d]=c;if(!(s&&[Ec,Mc].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof d=="function"){var f;(f=r.get(u))==null||f.push(d),i[u]=function(){for(var h,m=arguments.length,g=new Array(m),x=0;x<m;x++)g[x]=arguments[x];return(h=r.get(u))==null?void 0:h.map(v=>v(...g)).find(v=>v!==void 0)}}}else i[u]=d}),i),{})}}function C5(e){e===void 0&&(e=[]);const t=e.map(l=>l?.reference),n=e.map(l=>l?.floating),r=e.map(l=>l?.item),s=K.useCallback(l=>To(l,e,"reference"),t),o=K.useCallback(l=>To(l,e,"floating"),n),i=K.useCallback(l=>To(l,e,"item"),r);return K.useMemo(()=>({getReferenceProps:s,getFloatingProps:o,getItemProps:i}),[s,o,i])}function Sc(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const w5=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:s,offset:o=0,index:i=0,minItemsVisible:l=4,referenceOverflowThreshold:c=0,scrollRef:u,...d}=Ln(e,t),{rects:f,elements:{floating:h}}=t,m=n.current[i],g=u?.current||h,x=h.clientTop||g.clientTop,v=h.clientTop!==0,b=g.clientTop!==0,C=h===g;if(process.env.NODE_ENV!=="production"&&(t.placement.startsWith("bottom")||d5('`placement` side must be "bottom" when using the `inner`',"middleware.")),!m)return{};const y={...t,...await Cc(-m.offsetTop-h.clientTop-f.reference.height/2-m.offsetHeight/2-o).fn(t)},k=await Eo(Sc(y,g.scrollHeight+x+h.clientTop),d),w=await Eo(y,{...d,elementContext:"reference"}),L=De(0,k.top),A=y.y+L,V=(g.scrollHeight>g.clientHeight?O=>O:Qn)(De(0,g.scrollHeight+(v&&C||b?x*2:0)-L-De(0,k.bottom)));if(g.style.maxHeight=V+"px",g.scrollTop=L,s){const O=g.offsetHeight<m.offsetHeight*Xt(l,n.current.length)-1||w.top>=-c||w.bottom>=-c;Er.flushSync(()=>s(O))}return r&&(r.current=await Eo(Sc({...y,y:A},g.offsetHeight+x+h.clientTop),d)),{y:A}}});function k5(e,t){const{open:n,elements:r}=e,{enabled:s=!0,overflowRef:o,scrollRef:i,onChange:l}=t,c=kc(l),u=K.useRef(!1),d=K.useRef(null),f=K.useRef(null);K.useEffect(()=>{if(!s)return;function m(x){if(x.ctrlKey||!g||o.current==null)return;const v=x.deltaY,b=o.current.top>=-.5,C=o.current.bottom>=-.5,y=g.scrollHeight-g.clientHeight,k=v<0?-1:1,w=v<0?"max":"min";g.scrollHeight<=g.clientHeight||(!b&&v>0||!C&&v<0?(x.preventDefault(),Er.flushSync(()=>{c(L=>L+Math[w](v,y*k))})):/firefox/i.test(fh())&&(g.scrollTop+=v))}const g=i?.current||r.floating;if(n&&g)return g.addEventListener("wheel",m),requestAnimationFrame(()=>{d.current=g.scrollTop,o.current!=null&&(f.current={...o.current})}),()=>{d.current=null,f.current=null,g.removeEventListener("wheel",m)}},[s,n,r.floating,o,i,c]);const h=K.useMemo(()=>({onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){const m=i?.current||r.floating;if(!(!o.current||!m||!u.current)){if(d.current!==null){const g=m.scrollTop-d.current;(o.current.bottom<-.5&&g<-1||o.current.top<-.5&&g>1)&&Er.flushSync(()=>c(x=>x+g))}requestAnimationFrame(()=>{d.current=m.scrollTop})}}}),[r.floating,c,o,i]);return K.useMemo(()=>s?{floating:h}:{},[s,h])}let nr=p.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});nr.displayName="FloatingContext";let Do=p.createContext(null);Do.displayName="PlacementContext";function j5(e){return p.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function L5(){return p.useContext(nr).setReference}function E5(){let{getFloatingProps:e,slot:t}=p.useContext(nr);return p.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function M5(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=p.useContext(Do),n=p.useMemo(()=>e,[JSON.stringify(e,(s,o)=>{var i;return(i=o?.outerHTML)!=null?i:o})]);Ae(()=>{t?.(n??null)},[t,n]);let r=p.useContext(nr);return p.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let Tc=4;function S5({children:e,enabled:t=!0}){let[n,r]=p.useState(null),[s,o]=p.useState(0),i=p.useRef(null),[l,c]=p.useState(null);T5(l);let u=t&&n!==null&&l!==null,{to:d="bottom",gap:f=0,offset:h=0,padding:m=0,inner:g}=D5(n,l),[x,v="center"]=d.split(" ");Ae(()=>{u&&o(0)},[u]);let{refs:b,floatingStyles:C,context:y}=b5({open:u,placement:x==="selection"?v==="center"?"bottom":`bottom-${v}`:v==="center"?`${x}`:`${x}-${v}`,strategy:"absolute",transform:!1,middleware:[Cc({mainAxis:x==="selection"?0:f,crossAxis:h}),n5({padding:m}),x!=="selection"&&r5({padding:m}),x==="selection"&&g?w5({...g,padding:m,overflowRef:i,offset:s,minItemsVisible:Tc,referenceOverflowThreshold:m,onFallbackChange(O){var z,Z;if(!O)return;let P=y.elements.floating;if(!P)return;let F=parseFloat(getComputedStyle(P).scrollPaddingBottom)||0,E=Math.min(Tc,P.childElementCount),T=0,M=0;for(let $ of(Z=(z=y.elements.floating)==null?void 0:z.childNodes)!=null?Z:[])if(vt($)){let N=$.offsetTop,H=N+$.clientHeight+F,Y=P.scrollTop,_=Y+P.clientHeight;if(N>=Y&&H<=_)E--;else{M=Math.max(0,Math.min(H,_)-Math.max(N,Y)),T=$.clientHeight;break}}E>=1&&o($=>{let N=T*E-M+F;return $>=N?$:N})}}):null,s5({padding:m,apply({availableWidth:O,availableHeight:z,elements:Z}){Object.assign(Z.floating.style,{overflow:"auto",maxWidth:`${O}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${z}px)`})}})].filter(Boolean),whileElementsMounted:Kh}),[k=x,w=v]=y.placement.split("-");x==="selection"&&(k="selection");let L=p.useMemo(()=>({anchor:[k,w].filter(Boolean).join(" ")}),[k,w]),A=k5(y,{overflowRef:i,onChange:o}),{getReferenceProps:D,getFloatingProps:I}=C5([A]),V=se(O=>{c(O),b.setFloating(O)});return K.createElement(Do.Provider,{value:r},K.createElement(nr.Provider,{value:{setFloating:V,setReference:b.setReference,styles:C,getReferenceProps:D,getFloatingProps:I,slot:L}},e))}function T5(e){Ae(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,r=parseFloat(n);if(isNaN(r))return;let s=parseInt(n);isNaN(s)||r!==s&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function D5(e,t){var n,r,s;let o=Po((n=e?.gap)!=null?n:"var(--anchor-gap, 0)",t),i=Po((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",t),l=Po((s=e?.padding)!=null?s:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:i,padding:l}}function Po(e,t,n=void 0){let r=zr(),s=se((c,u)=>{if(c==null)return[n,null];if(typeof c=="number")return[c,null];if(typeof c=="string"){if(!u)return[n,null];let d=Pc(c,u);return[d,f=>{let h=Dc(c);{let m=h.map(g=>window.getComputedStyle(u).getPropertyValue(g));r.requestAnimationFrame(function g(){r.nextFrame(g);let x=!1;for(let[b,C]of h.entries()){let y=window.getComputedStyle(u).getPropertyValue(C);if(m[b]!==y){m[b]=y,x=!0;break}}if(!x)return;let v=Pc(c,u);d!==v&&(f(v),d=v)})}return r.dispose}]}return[n,null]}),o=p.useMemo(()=>s(e,t)[0],[e,t]),[i=o,l]=p.useState();return Ae(()=>{let[c,u]=s(e,t);if(l(c),!!u)return u(l)},[e,t]),i}function Dc(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),s=t[1].slice(n+1).trim();return s?[r,...Dc(s)]:[r]}return[]}function Pc(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}let as=p.createContext(null);as.displayName="OpenClosedContext";var Qt=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Qt||{});function Ac(){return p.useContext(as)}function P5({value:e,children:t}){return p.createElement(as.Provider,{value:e},t)}function A5({children:e}){return p.createElement(as.Provider,{value:null},e)}function Rc(e){let t=se(e),n=p.useRef(!1);p.useEffect(()=>(n.current=!1,()=>{n.current=!0,co(()=>{n.current&&t()})}),[t])}let R5=p.createContext(!1);function N5(){return p.useContext(R5)}function F5(e){let t=N5(),n=p.useContext(Fc),[r,s]=p.useState(()=>{var o;if(!t&&n!==null)return(o=n.current)!=null?o:null;if(Zt.isServer)return null;let i=e?.getElementById("headlessui-portal-root");if(i)return i;if(e===null)return null;let l=e.createElement("div");return l.setAttribute("id","headlessui-portal-root"),e.body.appendChild(l)});return p.useEffect(()=>{r!==null&&(e!=null&&e.body.contains(r)||e==null||e.body.appendChild(r))},[r,e]),p.useEffect(()=>{t||n!==null&&s(n.current)},[n,s,t]),r}let Nc=p.Fragment,V5=Ne(function(e,t){let{ownerDocument:n=null,...r}=e,s=p.useRef(null),o=_e(Dl(h=>{s.current=h}),t),i=vo(s.current),l=n??i,c=F5(l),u=p.useContext(Ao),d=zr(),f=Oe();return Rc(()=>{var h;c&&c.childNodes.length<=0&&((h=c.parentElement)==null||h.removeChild(c))}),c?Vs.createPortal(p.createElement("div",{"data-headlessui-portal":"",ref:h=>{d.dispose(),u&&h&&d.add(u.register(h))}},f({ourProps:{ref:o},theirProps:r,slot:{},defaultTag:Nc,name:"Portal"})),c):null});function $5(e,t){let n=_e(t),{enabled:r=!0,ownerDocument:s,...o}=e,i=Oe();return r?p.createElement(V5,{...o,ownerDocument:s,ref:n}):i({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:Nc,name:"Portal"})}let O5=p.Fragment,Fc=p.createContext(null);function _5(e,t){let{target:n,...r}=e,s={ref:_e(t)},o=Oe();return p.createElement(Fc.Provider,{value:n},o({ourProps:s,theirProps:r,defaultTag:O5,name:"Popover.Group"}))}let Ao=p.createContext(null);function B5(){let e=p.useContext(Ao),t=p.useRef([]),n=se(o=>(t.current.push(o),e&&e.register(o),()=>r(o))),r=se(o=>{let i=t.current.indexOf(o);i!==-1&&t.current.splice(i,1),e&&e.unregister(o)}),s=p.useMemo(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,p.useMemo(()=>function({children:o}){return p.createElement(Ao.Provider,{value:s},o)},[s])]}let I5=Ne($5),H5=Ne(_5),W5=Object.assign(I5,{Group:H5});function Z5({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=se(()=>{var s,o;let i=xn(n),l=[];for(let c of e)c!==null&&(Yt(c)?l.push(c):"current"in c&&Yt(c.current)&&l.push(c.current));if(t!=null&&t.current)for(let c of t.current)l.push(c);for(let c of(s=i?.querySelectorAll("html > *, body > *"))!=null?s:[])c!==document.body&&c!==document.head&&Yt(c)&&c.id!=="headlessui-portal-root"&&(n&&(c.contains(n)||c.contains((o=n?.getRootNode())==null?void 0:o.host))||l.some(u=>c.contains(u))||l.push(c));return l});return{resolveContainers:r,contains:se(s=>r().some(o=>o.contains(s)))}}let Vc=p.createContext(null);function $c({children:e,node:t}){let[n,r]=p.useState(null),s=Oc(t??n);return p.createElement(Vc.Provider,{value:s},e,s===null&&p.createElement(bn,{features:vn.Hidden,ref:o=>{var i,l;if(o){for(let c of(l=(i=xn(o))==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?l:[])if(c!==document.body&&c!==document.head&&Yt(c)&&c!=null&&c.contains(o)){r(c);break}}}}))}function Oc(e=null){var t;return(t=p.useContext(Vc))!=null?t:e}function U5(){let e=p.useRef(!1);return Ae(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Ct=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Ct||{});function _c(){let e=p.useRef(0);return zl(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}var z5=Object.defineProperty,K5=(e,t,n)=>t in e?z5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bc=(e,t,n)=>(K5(e,typeof t!="symbol"?t+"":t,n),n),ve=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ve||{}),Y5=(e=>(e[e.OpenPopover=0]="OpenPopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(Y5||{});let G5={0:e=>e.popoverState===0?e:{...e,popoverState:0,__demoMode:!1},1(e){return e.popoverState===1?e:{...e,popoverState:1,__demoMode:!1}},2(e,t){return e.button===t.button?e:{...e,button:t.button}},3(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},4(e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},5(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},q5=class u0 extends Vl{constructor(t){super(t),Bc(this,"actions",{close:()=>this.send({type:1}),refocusableClose:n=>{this.actions.close();let r=(()=>n?vt(n)?n:"current"in n&&vt(n.current)?n.current:this.state.button:this.state.button)();r?.focus()},open:()=>this.send({type:0}),setButtonId:n=>this.send({type:3,buttonId:n}),setButton:n=>this.send({type:2,button:n}),setPanelId:n=>this.send({type:5,panelId:n}),setPanel:n=>this.send({type:4,panel:n})}),Bc(this,"selectors",{isPortalled:n=>{var r;if(!n.button||!n.panel)return!1;let s=(r=xn(n.button))!=null?r:document;for(let f of s.querySelectorAll("body > *"))if(Number(f?.contains(n.button))^Number(f?.contains(n.panel)))return!0;let o=Gr(s),i=o.indexOf(n.button),l=(i+o.length-1)%o.length,c=(i+1)%o.length,u=o[l],d=o[c];return!n.panel.contains(u)&&!n.panel.contains(d)}});{let n=this.state.id,r=Bl.get(null);this.on(0,()=>r.actions.push(n)),this.on(1,()=>r.actions.pop(n))}}static new({id:t,__demoMode:n=!1}){return new u0({id:t,__demoMode:n,popoverState:n?0:1,buttons:{current:[]},button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:{current:null},afterPanelSentinel:{current:null},afterButtonSentinel:{current:null}})}reduce(t,n){return Re(n.type,G5,t,n)}};const Ic=p.createContext(null);function ls(e){let t=p.useContext(Ic);if(t===null){let n=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ls),n}return t}function X5({id:e,__demoMode:t=!1}){let n=p.useMemo(()=>q5.new({id:e,__demoMode:t}),[]);return Rc(()=>n.dispose()),n}let Ro=p.createContext(null);Ro.displayName="PopoverGroupContext";function Hc(){return p.useContext(Ro)}let cs=p.createContext(null);cs.displayName="PopoverPanelContext";function J5(){return p.useContext(cs)}let Q5="div";function e9(e,t){var n;let r=p.useId(),{__demoMode:s=!1,...o}=e,i=X5({id:r,__demoMode:s}),l=p.useRef(null),c=_e(t,Dl(P=>{l.current=P})),[u,d,f,h,m]=Gt(i,p.useCallback(P=>[P.popoverState,P.button,P.panel,P.buttonId,P.panelId],[])),g=H3((n=l.current)!=null?n:d),x=Ye(h),v=Ye(m),b=p.useMemo(()=>({buttonId:x,panelId:v,close:i.actions.close}),[x,v,i]),C=Hc(),y=C?.registerPopover,k=se(()=>{var P,F;let E=zt((P=l.current)!=null?P:d);return(F=C?.isFocusWithinPopoverGroup())!=null?F:E&&(d?.contains(E)||f?.contains(E))});p.useEffect(()=>y?.(b),[y,b]);let[w,L]=B5(),A=Oc(d),D=Z5({mainTreeNode:A,portals:w,defaultContainers:[{get current(){return i.state.button}},{get current(){return i.state.panel}}]});W3(g,"focus",P=>{var F,E,T,M,$,N;P.target!==window&&Cn(P.target)&&i.state.popoverState===ve.Open&&(k()||i.state.button&&i.state.panel&&(D.contains(P.target)||(E=(F=i.state.beforePanelSentinel.current)==null?void 0:F.contains)!=null&&E.call(F,P.target)||(M=(T=i.state.afterPanelSentinel.current)==null?void 0:T.contains)!=null&&M.call(T,P.target)||(N=($=i.state.afterButtonSentinel.current)==null?void 0:$.contains)!=null&&N.call($,P.target)||i.actions.close()))},!0);let I=u===ve.Open;I3(I,D.resolveContainers,(P,F)=>{i.actions.close(),Wl(F,yo.Loose)||(P.preventDefault(),d?.focus())});let V=dt({open:u===ve.Open,close:i.actions.refocusableClose}),O=Gt(i,p.useCallback(P=>Re(P.popoverState,{[ve.Open]:Qt.Open,[ve.Closed]:Qt.Closed}),[])),z={ref:c},Z=Oe();return p.createElement($c,{node:A},p.createElement(S5,null,p.createElement(cs.Provider,{value:null},p.createElement(Ic.Provider,{value:i},p.createElement(Pl,{value:i.actions.refocusableClose},p.createElement(P5,{value:O},p.createElement(L,null,Z({ourProps:z,theirProps:o,slot:V,defaultTag:Q5,name:"Popover"}))))))))}let t9="button";function n9(e,t){let n=p.useId(),{id:r=`headlessui-popover-button-${n}`,disabled:s=!1,autoFocus:o=!1,...i}=e,l=ls("Popover.Button"),[c,u,d,f,h,m,g]=Gt(l,p.useCallback(R=>[R.popoverState,l.selectors.isPortalled(R),R.button,R.buttonId,R.panel,R.panelId,R.afterButtonSentinel],[])),x=p.useRef(null),v=`headlessui-focus-sentinel-${p.useId()}`,b=Hc(),C=b?.closeOthers,y=J5()!==null;p.useEffect(()=>{if(!y)return l.actions.setButtonId(r),()=>l.actions.setButtonId(null)},[y,r,l]);let[k]=p.useState(()=>Symbol()),w=_e(x,t,L5(),se(R=>{if(!y){if(R)l.state.buttons.current.push(k);else{let B=l.state.buttons.current.indexOf(k);B!==-1&&l.state.buttons.current.splice(B,1)}l.state.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),R&&l.actions.setButton(R)}})),L=_e(x,t),A=se(R=>{var B,J,ne;if(y){if(l.state.popoverState===ve.Closed)return;switch(R.key){case je.Space:case je.Enter:R.preventDefault(),(J=(B=R.target).click)==null||J.call(B),l.actions.close(),(ne=l.state.button)==null||ne.focus();break}}else switch(R.key){case je.Space:case je.Enter:R.preventDefault(),R.stopPropagation(),l.state.popoverState===ve.Closed?(C?.(l.state.buttonId),l.actions.open()):l.actions.close();break;case je.Escape:if(l.state.popoverState!==ve.Open)return C?.(l.state.buttonId);if(!x.current)return;let X=zt(x.current);if(X&&!x.current.contains(X))return;R.preventDefault(),R.stopPropagation(),l.actions.close();break}}),D=se(R=>{y||R.key===je.Space&&R.preventDefault()}),I=se(R=>{var B,J;Sl(R.currentTarget)||s||(y?(l.actions.close(),(B=l.state.button)==null||B.focus()):(R.preventDefault(),R.stopPropagation(),l.state.popoverState===ve.Closed?(C?.(l.state.buttonId),l.actions.open()):l.actions.close(),(J=l.state.button)==null||J.focus()))}),V=se(R=>{R.preventDefault(),R.stopPropagation()}),{isFocusVisible:O,focusProps:z}=ao({autoFocus:o}),{isHovered:Z,hoverProps:P}=kl({isDisabled:s}),{pressed:F,pressProps:E}=jl({disabled:s}),T=c===ve.Open,M=dt({open:T,active:F||T,disabled:s,hover:Z,focus:O,autofocus:o}),$=Yl(e,d),N=Yn(y?{ref:L,type:$,onKeyDown:A,onClick:I,disabled:s||void 0,autoFocus:o}:{ref:w,id:f,type:$,"aria-expanded":c===ve.Open,"aria-controls":h?m:void 0,disabled:s||void 0,autoFocus:o,onKeyDown:A,onKeyUp:D,onClick:I,onMouseDown:V},z,P,E),H=_c(),Y=se(()=>{if(!vt(l.state.panel))return;let R=l.state.panel;function B(){Re(H.current,{[Ct.Forwards]:()=>Ze(R,we.First),[Ct.Backwards]:()=>Ze(R,we.Last)})===Mt.Error&&Ze(Gr(Ut(l.state.button)).filter(J=>J.dataset.headlessuiFocusGuard!=="true"),Re(H.current,{[Ct.Forwards]:we.Next,[Ct.Backwards]:we.Previous}),{relativeTo:l.state.button})}B()}),_=Oe();return p.createElement(p.Fragment,null,_({ourProps:N,theirProps:i,slot:M,defaultTag:t9,name:"Popover.Button"}),T&&!y&&u&&p.createElement(bn,{id:v,ref:g,features:vn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:Y}))}let r9="div",s9=Kt.RenderStrategy|Kt.Static;function Wc(e,t){let n=p.useId(),{id:r=`headlessui-popover-backdrop-${n}`,transition:s=!1,...o}=e,i=ls("Popover.Backdrop"),l=Gt(i,p.useCallback(b=>b.popoverState,[])),[c,u]=p.useState(null),d=_e(t,u),f=Ac(),[h,m]=Ql(s,c,f!==null?(f&Qt.Open)===Qt.Open:l===ve.Open),g=se(b=>{if(Sl(b.currentTarget))return b.preventDefault();i.actions.close()}),x=dt({open:l===ve.Open}),v={ref:d,id:r,"aria-hidden":!0,onClick:g,...Jl(m)};return Oe()({ourProps:v,theirProps:o,slot:x,defaultTag:r9,features:s9,visible:h,name:"Popover.Backdrop"})}let o9="div",i9=Kt.RenderStrategy|Kt.Static;function a9(e,t){let n=p.useId(),{id:r=`headlessui-popover-panel-${n}`,focus:s=!1,anchor:o,portal:i=!1,modal:l=!1,transition:c=!1,...u}=e,d=ls("Popover.Panel"),f=Gt(d,d.selectors.isPortalled),[h,m,g,x,v]=Gt(d,p.useCallback(_=>[_.popoverState,_.button,_.__demoMode,_.beforePanelSentinel,_.afterPanelSentinel],[])),b=`headlessui-focus-sentinel-before-${n}`,C=`headlessui-focus-sentinel-after-${n}`,y=p.useRef(null),k=j5(o),[w,L]=M5(k),A=E5();k&&(i=!0);let[D,I]=p.useState(null),V=_e(y,t,k?w:null,d.actions.setPanel,I),O=vo(m),z=vo(y.current);Ae(()=>(d.actions.setPanelId(r),()=>d.actions.setPanelId(null)),[r,d]);let Z=Ac(),[P,F]=Ql(c,D,Z!==null?(Z&Qt.Open)===Qt.Open:h===ve.Open);R3(P,m,d.actions.close),q3(g?!1:l&&P,z);let E=se(_=>{var R;switch(_.key){case je.Escape:if(d.state.popoverState!==ve.Open||!y.current)return;let B=zt(y.current);if(B&&!y.current.contains(B))return;_.preventDefault(),_.stopPropagation(),d.actions.close(),(R=d.state.button)==null||R.focus();break}});p.useEffect(()=>{var _;e.static||h===ve.Closed&&((_=e.unmount)==null||_)&&d.actions.setPanel(null)},[h,e.unmount,e.static,d]),p.useEffect(()=>{if(g||!s||h!==ve.Open||!y.current)return;let _=zt(y.current);y.current.contains(_)||Ze(y.current,we.First)},[g,s,y.current,h]);let T=dt({open:h===ve.Open,close:d.actions.refocusableClose}),M=Yn(k?A():{},{ref:V,id:r,onKeyDown:E,onBlur:s&&h===ve.Open?_=>{var R,B,J,ne,X;let oe=_.relatedTarget;oe&&y.current&&((R=y.current)!=null&&R.contains(oe)||(d.actions.close(),((J=(B=x.current)==null?void 0:B.contains)!=null&&J.call(B,oe)||(X=(ne=v.current)==null?void 0:ne.contains)!=null&&X.call(ne,oe))&&oe.focus({preventScroll:!0})))}:void 0,tabIndex:-1,style:{...u.style,...L,"--button-width":v3(P,m,!0).width},...Jl(F)}),$=_c(),N=se(()=>{let _=y.current;if(!_)return;function R(){Re($.current,{[Ct.Forwards]:()=>{var B;Ze(_,we.First)===Mt.Error&&((B=d.state.afterPanelSentinel.current)==null||B.focus())},[Ct.Backwards]:()=>{var B;(B=d.state.button)==null||B.focus({preventScroll:!0})}})}R()}),H=se(()=>{let _=y.current;if(!_)return;function R(){Re($.current,{[Ct.Forwards]:()=>{var B;if(!d.state.button)return;let J=(B=Ut(d.state.button))!=null?B:document.body,ne=Gr(J),X=ne.indexOf(d.state.button),oe=ne.slice(0,X+1),re=[...ne.slice(X+1),...oe];for(let ae of re.slice())if(ae.dataset.headlessuiFocusGuard==="true"||D!=null&&D.contains(ae)){let Q=re.indexOf(ae);Q!==-1&&re.splice(Q,1)}Ze(re,we.First,{sorted:!1})},[Ct.Backwards]:()=>{var B;Ze(_,we.Previous)===Mt.Error&&((B=d.state.button)==null||B.focus())}})}R()}),Y=Oe();return p.createElement(A5,null,p.createElement(cs.Provider,{value:r},p.createElement(Pl,{value:d.actions.refocusableClose},p.createElement(W5,{enabled:i?e.static||P:!1,ownerDocument:O},P&&f&&p.createElement(bn,{id:b,ref:x,features:vn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:N}),Y({ourProps:M,theirProps:u,slot:T,defaultTag:o9,features:i9,visible:P,name:"Popover.Panel"}),P&&f&&p.createElement(bn,{id:C,ref:v,features:vn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:H})))))}let l9="div";function c9(e,t){let n=p.useRef(null),r=_e(n,t),[s,o]=p.useState([]),i=se(x=>{o(v=>{let b=v.indexOf(x);if(b!==-1){let C=v.slice();return C.splice(b,1),C}return v})}),l=se(x=>(o(v=>[...v,x]),()=>i(x))),c=se(()=>{var x;let v=Ut(n.current);if(!v)return!1;let b=zt(n.current);return(x=n.current)!=null&&x.contains(b)?!0:s.some(C=>{var y,k;return((y=v.getElementById(C.buttonId.current))==null?void 0:y.contains(b))||((k=v.getElementById(C.panelId.current))==null?void 0:k.contains(b))})}),u=se(x=>{for(let v of s)v.buttonId.current!==x&&v.close()}),d=p.useMemo(()=>({registerPopover:l,unregisterPopover:i,isFocusWithinPopoverGroup:c,closeOthers:u}),[l,i,c,u]),f=dt({}),h=e,m={ref:r},g=Oe();return p.createElement($c,null,p.createElement(Ro.Provider,{value:d},g({ourProps:m,theirProps:h,slot:f,defaultTag:l9,name:"Popover.Group"})))}let u9=Ne(e9),Zc=Ne(n9),d9=Ne(Wc),f9=Ne(Wc),Uc=Ne(a9),h9=Ne(c9),p9=Object.assign(u9,{Button:Zc,Backdrop:f9,Overlay:d9,Panel:Uc,Group:h9});function m9({onFocus:e}){let[t,n]=p.useState(!0),r=U5();return t?p.createElement(bn,{as:"button",type:"button",features:vn.Focusable,onFocus:s=>{s.preventDefault();let o,i=50;function l(){if(i--<=0){o&&cancelAnimationFrame(o);return}if(e()){if(cancelAnimationFrame(o),!r.current)return;n(!1);return}o=requestAnimationFrame(l)}o=requestAnimationFrame(l)}}):null}const zc=K.createContext(null);function g9(){return{groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let s=(n=r.get(t))!=null?n:0;r.set(t,s+1);let o=Array.from(r.keys()).indexOf(t);function i(){let l=r.get(t);l>1?r.set(t,l-1):r.delete(t)}return[o,i]}}}function x9({children:e}){let t=K.useRef(g9());return K.createElement(zc.Provider,{value:t},e)}function Kc(e){let t=K.useContext(zc);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=K.useId(),[r,s]=t.current.get(e,n);return K.useEffect(()=>s,[]),r}var y9=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(y9||{}),v9=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(v9||{}),b9=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(b9||{});let C9={0(e,t){var n;let r=wn(e.tabs,d=>d.current),s=wn(e.panels,d=>d.current),o=r.filter(d=>{var f;return!((f=d.current)!=null&&f.hasAttribute("disabled"))}),i={...e,tabs:r,panels:s};if(t.index<0||t.index>r.length-1){let d=Re(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>Re(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(o.length===0)return i;let f=Re(d,{0:()=>r.indexOf(o[0]),1:()=>r.indexOf(o[o.length-1])});return{...i,selectedIndex:f===-1?e.selectedIndex:f}}let l=r.slice(0,t.index),c=[...r.slice(t.index),...l].find(d=>o.includes(d));if(!c)return i;let u=(n=r.indexOf(c))!=null?n:e.selectedIndex;return u===-1&&(u=e.selectedIndex),{...i,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=wn([...e.tabs,t.tab],o=>o.current),s=e.selectedIndex;return e.info.current.isControlled||(s=r.indexOf(n),s===-1&&(s=e.selectedIndex)),{...e,tabs:r,selectedIndex:s}},2(e,t){return{...e,tabs:e.tabs.filter(n=>n!==t.tab)}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:wn([...e.panels,t.panel],n=>n.current)}},4(e,t){return{...e,panels:e.panels.filter(n=>n!==t.panel)}}},No=p.createContext(null);No.displayName="TabsDataContext";function Mn(e){let t=p.useContext(No);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Mn),n}return t}let Fo=p.createContext(null);Fo.displayName="TabsActionsContext";function Vo(e){let t=p.useContext(Fo);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Vo),n}return t}function w9(e,t){return Re(t.type,C9,e,t)}let k9="div";function j9(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:s=!1,onChange:o,selectedIndex:i=null,...l}=e;const c=r?"vertical":"horizontal",u=s?"manual":"auto";let d=i!==null,f=Ye({isControlled:d}),h=_e(t),[m,g]=p.useReducer(w9,{info:f,selectedIndex:i??n,tabs:[],panels:[]}),x=dt({selectedIndex:m.selectedIndex}),v=Ye(o||(()=>{})),b=Ye(m.tabs),C=p.useMemo(()=>({orientation:c,activation:u,...m}),[c,u,m]),y=se(V=>(g({type:1,tab:V}),()=>g({type:2,tab:V}))),k=se(V=>(g({type:3,panel:V}),()=>g({type:4,panel:V}))),w=se(V=>{L.current!==V&&v.current(V),d||g({type:0,index:V})}),L=Ye(d?e.selectedIndex:m.selectedIndex),A=p.useMemo(()=>({registerTab:y,registerPanel:k,change:w}),[]);Ae(()=>{g({type:0,index:i??n})},[i]),Ae(()=>{if(L.current===void 0||m.tabs.length<=0)return;let V=wn(m.tabs,O=>O.current);V.some((O,z)=>m.tabs[z]!==O)&&w(V.indexOf(m.tabs[L.current]))});let D={ref:h},I=Oe();return p.createElement(x9,null,p.createElement(Fo.Provider,{value:A},p.createElement(No.Provider,{value:C},C.tabs.length<=0&&p.createElement(m9,{onFocus:()=>{var V,O;for(let z of b.current)if(((V=z.current)==null?void 0:V.tabIndex)===0)return(O=z.current)==null||O.focus(),!0;return!1}}),I({ourProps:D,theirProps:l,slot:x,defaultTag:k9,name:"Tabs"}))))}let L9="div";function E9(e,t){let{orientation:n,selectedIndex:r}=Mn("Tab.List"),s=_e(t),o=dt({selectedIndex:r}),i=e,l={ref:s,role:"tablist","aria-orientation":n};return Oe()({ourProps:l,theirProps:i,slot:o,defaultTag:L9,name:"Tabs.List"})}let M9="button";function S9(e,t){var n,r;let s=p.useId(),{id:o=`headlessui-tabs-tab-${s}`,disabled:i=!1,autoFocus:l=!1,...c}=e,{orientation:u,activation:d,selectedIndex:f,tabs:h,panels:m}=Mn("Tab"),g=Vo("Tab"),x=Mn("Tab"),[v,b]=p.useState(null),C=p.useRef(null),y=_e(C,t,b);Ae(()=>g.registerTab(C),[g,C]);let k=Kc("tabs"),w=h.indexOf(C);w===-1&&(w=k);let L=w===f,A=se(N=>{let H=N();if(H===Mt.Success&&d==="auto"){let Y=zt(C.current),_=x.tabs.findIndex(R=>R.current===Y);_!==-1&&g.change(_)}return H}),D=se(N=>{let H=h.map(Y=>Y.current).filter(Boolean);if(N.key===je.Space||N.key===je.Enter){N.preventDefault(),N.stopPropagation(),g.change(w);return}switch(N.key){case je.Home:case je.PageUp:return N.preventDefault(),N.stopPropagation(),A(()=>Ze(H,we.First));case je.End:case je.PageDown:return N.preventDefault(),N.stopPropagation(),A(()=>Ze(H,we.Last))}if(A(()=>Re(u,{vertical(){return N.key===je.ArrowUp?Ze(H,we.Previous|we.WrapAround):N.key===je.ArrowDown?Ze(H,we.Next|we.WrapAround):Mt.Error},horizontal(){return N.key===je.ArrowLeft?Ze(H,we.Previous|we.WrapAround):N.key===je.ArrowRight?Ze(H,we.Next|we.WrapAround):Mt.Error}}))===Mt.Success)return N.preventDefault()}),I=p.useRef(!1),V=se(()=>{var N;I.current||(I.current=!0,(N=C.current)==null||N.focus({preventScroll:!0}),g.change(w),co(()=>{I.current=!1}))}),O=se(N=>{N.preventDefault()}),{isFocusVisible:z,focusProps:Z}=ao({autoFocus:l}),{isHovered:P,hoverProps:F}=kl({isDisabled:i}),{pressed:E,pressProps:T}=jl({disabled:i}),M=dt({selected:L,hover:P,active:E,focus:z,autofocus:l,disabled:i}),$=Yn({ref:y,onKeyDown:D,onMouseDown:O,onClick:V,id:o,role:"tab",type:Yl(e,v),"aria-controls":(r=(n=m[w])==null?void 0:n.current)==null?void 0:r.id,"aria-selected":L,tabIndex:L?0:-1,disabled:i||void 0,autoFocus:l},Z,F,T);return Oe()({ourProps:$,theirProps:c,slot:M,defaultTag:M9,name:"Tabs.Tab"})}let T9="div";function D9(e,t){let{selectedIndex:n}=Mn("Tab.Panels"),r=_e(t),s=dt({selectedIndex:n}),o=e,i={ref:r};return Oe()({ourProps:i,theirProps:o,slot:s,defaultTag:T9,name:"Tabs.Panels"})}let P9="div",A9=Kt.RenderStrategy|Kt.Static;function R9(e,t){var n,r,s,o;let i=p.useId(),{id:l=`headlessui-tabs-panel-${i}`,tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:f,panels:h}=Mn("Tab.Panel"),m=Vo("Tab.Panel"),g=p.useRef(null),x=_e(g,t);Ae(()=>m.registerPanel(g),[m,g]);let v=Kc("panels"),b=h.indexOf(g);b===-1&&(b=v);let C=b===d,{isFocusVisible:y,focusProps:k}=ao(),w=dt({selected:C,focus:y}),L=Yn({ref:x,id:l,role:"tabpanel","aria-labelledby":(r=(n=f[b])==null?void 0:n.current)==null?void 0:r.id,tabIndex:C?c:-1},k),A=Oe();return!C&&((s=u.unmount)==null||s)&&!((o=u.static)!=null&&o)?p.createElement(bn,{"aria-hidden":"true",...L}):A({ourProps:L,theirProps:u,slot:w,defaultTag:P9,features:A9,visible:C,name:"Tabs.Panel"})}let N9=Ne(S9),Yc=Ne(j9),Gc=Ne(E9),qc=Ne(D9),Xc=Ne(R9),F9=Object.assign(N9,{Group:Yc,List:Gc,Panels:qc,Panel:Xc});const us=e=>a.jsx(Yc,{...e,children:e.children}),ds=({children:e,className:t})=>a.jsx(Gc,{className:t,children:e}),rr=({children:e,className:t,disabled:n,onClick:r,...s})=>a.jsx(F9,{onClick:r,className:t,disabled:!!n,...s,children:e}),fs=({children:e,className:t=""})=>a.jsx(qc,{className:t,children:e}),Sn=({children:e,className:t=""})=>a.jsx(Xc,{className:t,children:e});var $o={exports:{}},V9={AED:"\u062F.\u0625",AFN:"\u060B",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"$",AUD:"$",AWG:"\u0192",AZN:"\u20BC",BAM:"KM",BBD:"$",BDT:"\u09F3",BGN:"\u043B\u0432",BHD:".\u062F.\u0628",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"\u20BF",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"\xA5",CNY:"\xA5",COP:"$",COU:"COU",CRC:"\u20A1",CUC:"$",CUP:"\u20B1",CVE:"$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"\u062F\u062C",EEK:"kr",EGP:"\xA3",ERN:"Nfk",ETB:"Br",ETH:"\u039E",EUR:"\u20AC",FJD:"$",FKP:"\xA3",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHC:"\u20B5",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"\u20B9",IQD:"\u0639.\u062F",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u043B\u0432",KHR:"\u17DB",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"$",KZT:"\u20B8",LAK:"\u20AD",LBP:"\xA3",LKR:"\u20A8",LRD:"$",LSL:"M",LTC:"\u0141",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"\u0434\u0435\u043D",MMK:"K",MNT:"\u20AE",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"\u20A8",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"\u20A8",NZD:"$",OMR:"\uFDFC",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"\u20A8",PLN:"z\u0142",PYG:"Gs",QAR:"\uFDFC",RMB:"\uFFE5",RON:"lei",RSD:"\u0414\u0438\u043D.",RUB:"\u20BD",RWF:"R\u20A3",SAR:"\uFDFC",SBD:"$",SCR:"\u20A8",SDG:"\u062C.\u0633.",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SOS:"S",SRD:"$",SSP:"\xA3",STD:"Db",STN:"Db",SVC:"$",SYP:"\xA3",SZL:"E",THB:"\u0E3F",TJS:"SM",TMT:"T",TND:"\u062F.\u062A",TOP:"T$",TRL:"\u20A4",TRY:"\u20BA",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"\u043B\u0432",VEF:"Bs",VES:"Bs.S",VND:"\u20AB",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"\u0243",XCD:"$",XOF:"CFA",XPF:"\u20A3",XSU:"Sucre",XUA:"XUA",YER:"\uFDFC",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"};const Oo=V9;$o.exports=function(t){if(typeof t!="string")return;const n=t.toUpperCase();if(Object.prototype.hasOwnProperty.call(Oo,n))return Oo[n]},$o.exports.currencySymbolMap=Oo;var $9=$o.exports,O9=Mr($9);const _o={"xx-small":"px-[6px] h-[25px]","x-small":"px-[12px] h-[36px]",small:"px-[16px] h-[40px]",medium:"px-[20px] h-[52px]",large:"px-[24px] h-[60px]"},_9={small:"max-w-[518px]",medium:"max-w-[641px]",large:"max-w-[830px]",extralarge:"max-w-[940px]"},B9={small:"h-[20px] min-w-[20px] text-xs",medium:"h-[36px] min-w-[36px] text-sm"},Bo=(...e)=>e.filter(Boolean).join(" "),Io=e=>{const t=e?.includes("T"),n=new Date(e),r={month:"short",day:"numeric",year:"numeric"};t&&(r.hour="numeric",r.minute="2-digit",r.hour12=!0);let s=n.toLocaleString("en",r);return t&&(s=s.replace(/ AM| PM/,o=>o.toLowerCase()),s=s.replace(/,(?=\s\d{1,2}:\d{2})/,"")),s},Dt=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"",I9=e=>{if(!e)return{};const{address_line1:t,address_line2:n,city:r,state:s,country:o,zip_code:i}=e;return{address:[t,n,r,s,o].filter(Boolean).join(", "),zipCode:i}},Jc=e=>{if(!e)return{};const{address_line_one:t,address_line_two:n,city:r,state:s,country:o,zip_code:i}=e;return{address:[t,n,r,s,o].filter(Boolean).join(", "),zipCode:i}},Pt=e=>O9(e),H9=(e,t)=>{if(!e)return t;const{line1:n,line2:r,city:s,state:o,country:i,zip_code:l}=e,c=[n,r,s,o,i&&Dt(i),l].filter(Boolean);return c.length>0?c.join(", "):t},W9={body1:"font-regular text-[25px] leading-[120%]",body2:"font-regular text-[20px] leading-[120%]",body3:"font-light text-[20px] leading-[120%]",body4:"font-regular text-[16px] leading-[140%]",body5:"font-light text-[16px] leading-[120%]",body6:"font-regular text-[13px] leading-[120%]",body7:"font-light text-[13px] leading-[120%]",body8:"font-regular text-[10px] leading-[120%]",body9:"font-light text-[10px] leading-[120%]"},W=({variant:e,className:t,as:n="p",children:r,color:s})=>a.jsx(n,{className:Bo(W9[e],s,t),children:r}),Z9={label1:"font-medium text-[61px] leading-[120%] block",label2:"font-medium text-[49px] leading-[120%] block",label3:"font-medium text-[39px] leading-[120%] block",label4:"font-medium text-[31px] leading-[120%] block",label5:"font-medium text-[25px] leading-[120%] block",label6:"font-medium text-[20px] leading-[120%] block",label7:"font-medium text-[16px] leading-[120%] block",label8:"font-medium text-[13px] leading-[120%] block",label9:"font-medium text-[10px] leading-[120%] block"},U=({variant:e,className:t,as:n="span",children:r,color:s})=>a.jsx(n,{className:Bo(Z9[e],s,t),children:r}),U9={h1:"font-bold text-[61px] leading-[140%]",h2:"font-bold text-[49px] leading-[140%]",h3:"font-bold text-[39px] leading-[140%]",h4:"font-bold text-[31px] leading-[140%]",h5:"font-bold text-[25px] leading-[140%]",h6:"font-bold text-[20px] leading-[140%]",h7:"font-bold text-[16px] leading-[140%]",h8:"font-bold text-[13px] leading-[140%]",h9:"font-bold text-[10px] leading-[140%]"},Ho=({variant:e,className:t,as:n="h1",children:r,color:s})=>a.jsx(n,{className:Bo(U9[e],s,t),children:r}),z9=async({customerKey:e})=>{const{data:t}=await It().get(`/customers/${e}/details`);return t},K9=({customerKey:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(null),[o,i]=p.useState(!1),l=async()=>{if(!e)return s("Missing customerKey");i(!0);try{const c=await z9({customerKey:e});n(c?.data),s(null)}catch(c){s(c instanceof Error?c.message:"Failed to load customer details")}finally{i(!1)}};return p.useEffect(()=>{l()},[e]),{customerDetails:t,error:r,isLoading:o,refetch:l}},en=il(e=>({customerKey:"",setCustomerKey:t=>e({customerKey:t}),customerRefetch:()=>{},setCustomerRefetch:t=>e({customerRefetch:t}),plans:[],setPlans:t=>e({plans:t})}));var Qc={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Ot,function(){var n=1e3,r=6e4,s=36e5,o="millisecond",i="second",l="minute",c="hour",u="day",d="week",f="month",h="quarter",m="year",g="date",x="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var F=["th","st","nd","rd"],E=P%100;return"["+P+(F[(E-20)%10]||F[E]||F[0])+"]"}},y=function(P,F,E){var T=String(P);return!T||T.length>=F?P:""+Array(F+1-T.length).join(E)+P},k={s:y,z:function(P){var F=-P.utcOffset(),E=Math.abs(F),T=Math.floor(E/60),M=E%60;return(F<=0?"+":"-")+y(T,2,"0")+":"+y(M,2,"0")},m:function P(F,E){if(F.date()<E.date())return-P(E,F);var T=12*(E.year()-F.year())+(E.month()-F.month()),M=F.clone().add(T,f),$=E-M<0,N=F.clone().add(T+($?-1:1),f);return+(-(T+(E-M)/($?M-N:N-M))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:m,w:d,d:u,D:g,h:c,m:l,s:i,ms:o,Q:h}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},w="en",L={};L[w]=C;var A="$isDayjsObject",D=function(P){return P instanceof z||!(!P||!P[A])},I=function P(F,E,T){var M;if(!F)return w;if(typeof F=="string"){var $=F.toLowerCase();L[$]&&(M=$),E&&(L[$]=E,M=$);var N=F.split("-");if(!M&&N.length>1)return P(N[0])}else{var H=F.name;L[H]=F,M=H}return!T&&M&&(w=M),M||!T&&w},V=function(P,F){if(D(P))return P.clone();var E=typeof F=="object"?F:{};return E.date=P,E.args=arguments,new z(E)},O=k;O.l=I,O.i=D,O.w=function(P,F){return V(P,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var z=function(){function P(E){this.$L=I(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[A]=!0}var F=P.prototype;return F.parse=function(E){this.$d=function(T){var M=T.date,$=T.utc;if(M===null)return new Date(NaN);if(O.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var N=M.match(v);if(N){var H=N[2]-1||0,Y=(N[7]||"0").substring(0,3);return $?new Date(Date.UTC(N[1],H,N[3]||1,N[4]||0,N[5]||0,N[6]||0,Y)):new Date(N[1],H,N[3]||1,N[4]||0,N[5]||0,N[6]||0,Y)}}return new Date(M)}(E),this.init()},F.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},F.$utils=function(){return O},F.isValid=function(){return this.$d.toString()!==x},F.isSame=function(E,T){var M=V(E);return this.startOf(T)<=M&&M<=this.endOf(T)},F.isAfter=function(E,T){return V(E)<this.startOf(T)},F.isBefore=function(E,T){return this.endOf(T)<V(E)},F.$g=function(E,T,M){return O.u(E)?this[T]:this.set(M,E)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(E,T){var M=this,$=!!O.u(T)||T,N=O.p(E),H=function(oe,re){var ae=O.w(M.$u?Date.UTC(M.$y,re,oe):new Date(M.$y,re,oe),M);return $?ae:ae.endOf(u)},Y=function(oe,re){return O.w(M.toDate()[oe].apply(M.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(re)),M)},_=this.$W,R=this.$M,B=this.$D,J="set"+(this.$u?"UTC":"");switch(N){case m:return $?H(1,0):H(31,11);case f:return $?H(1,R):H(0,R+1);case d:var ne=this.$locale().weekStart||0,X=(_<ne?_+7:_)-ne;return H($?B-X:B+(6-X),R);case u:case g:return Y(J+"Hours",0);case c:return Y(J+"Minutes",1);case l:return Y(J+"Seconds",2);case i:return Y(J+"Milliseconds",3);default:return this.clone()}},F.endOf=function(E){return this.startOf(E,!1)},F.$set=function(E,T){var M,$=O.p(E),N="set"+(this.$u?"UTC":""),H=(M={},M[u]=N+"Date",M[g]=N+"Date",M[f]=N+"Month",M[m]=N+"FullYear",M[c]=N+"Hours",M[l]=N+"Minutes",M[i]=N+"Seconds",M[o]=N+"Milliseconds",M)[$],Y=$===u?this.$D+(T-this.$W):T;if($===f||$===m){var _=this.clone().set(g,1);_.$d[H](Y),_.init(),this.$d=_.set(g,Math.min(this.$D,_.daysInMonth())).$d}else H&&this.$d[H](Y);return this.init(),this},F.set=function(E,T){return this.clone().$set(E,T)},F.get=function(E){return this[O.p(E)]()},F.add=function(E,T){var M,$=this;E=Number(E);var N=O.p(T),H=function(R){var B=V($);return O.w(B.date(B.date()+Math.round(R*E)),$)};if(N===f)return this.set(f,this.$M+E);if(N===m)return this.set(m,this.$y+E);if(N===u)return H(1);if(N===d)return H(7);var Y=(M={},M[l]=r,M[c]=s,M[i]=n,M)[N]||1,_=this.$d.getTime()+E*Y;return O.w(_,this)},F.subtract=function(E,T){return this.add(-1*E,T)},F.format=function(E){var T=this,M=this.$locale();if(!this.isValid())return M.invalidDate||x;var $=E||"YYYY-MM-DDTHH:mm:ssZ",N=O.z(this),H=this.$H,Y=this.$m,_=this.$M,R=M.weekdays,B=M.months,J=M.meridiem,ne=function(re,ae,Q,G){return re&&(re[ae]||re(T,$))||Q[ae].slice(0,G)},X=function(re){return O.s(H%12||12,re,"0")},oe=J||function(re,ae,Q){var G=re<12?"AM":"PM";return Q?G.toLowerCase():G};return $.replace(b,function(re,ae){return ae||function(Q){switch(Q){case"YY":return String(T.$y).slice(-2);case"YYYY":return O.s(T.$y,4,"0");case"M":return _+1;case"MM":return O.s(_+1,2,"0");case"MMM":return ne(M.monthsShort,_,B,3);case"MMMM":return ne(B,_);case"D":return T.$D;case"DD":return O.s(T.$D,2,"0");case"d":return String(T.$W);case"dd":return ne(M.weekdaysMin,T.$W,R,2);case"ddd":return ne(M.weekdaysShort,T.$W,R,3);case"dddd":return R[T.$W];case"H":return String(H);case"HH":return O.s(H,2,"0");case"h":return X(1);case"hh":return X(2);case"a":return oe(H,Y,!0);case"A":return oe(H,Y,!1);case"m":return String(Y);case"mm":return O.s(Y,2,"0");case"s":return String(T.$s);case"ss":return O.s(T.$s,2,"0");case"SSS":return O.s(T.$ms,3,"0");case"Z":return N}return null}(re)||N.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(E,T,M){var $,N=this,H=O.p(T),Y=V(E),_=(Y.utcOffset()-this.utcOffset())*r,R=this-Y,B=function(){return O.m(N,Y)};switch(H){case m:$=B()/12;break;case f:$=B();break;case h:$=B()/3;break;case d:$=(R-_)/6048e5;break;case u:$=(R-_)/864e5;break;case c:$=R/s;break;case l:$=R/r;break;case i:$=R/n;break;default:$=R}return M?$:O.a($)},F.daysInMonth=function(){return this.endOf(f).$D},F.$locale=function(){return L[this.$L]},F.locale=function(E,T){if(!E)return this.$L;var M=this.clone(),$=I(E,T,!0);return $&&(M.$L=$),M},F.clone=function(){return O.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},P}(),Z=z.prototype;return V.prototype=Z,[["$ms",o],["$s",i],["$m",l],["$H",c],["$W",u],["$M",f],["$y",m],["$D",g]].forEach(function(P){Z[P[1]]=function(F){return this.$g(F,P[0],P[1])}}),V.extend=function(P,F){return P.$i||(P(F,z,V),P.$i=!0),V},V.locale=I,V.isDayjs=D,V.unix=function(P){return V(1e3*P)},V.en=L[w],V.Ls=L,V.p={},V})})(Qc);var Y9=Qc.exports,e1=Mr(Y9);const G9={amber:{50:"#FFF6E5",100:"#FFEDCC",500:"#FFA500",800:"#664200"},neutral:{100:"#F5F5F5",200:"#E5E5E5",400:"#A3A3A3",500:"#737373",800:"#262626",900:"#171717"},grey:{50:"#FAFAFA",100:"#F4F4F5",200:"#E4E4E7",300:"#D4D4D8",400:"#A1A1AA",500:"#71717A",600:"#52525B",700:"#3F3F46",800:"#27272A",900:"#18181B"},slate:{800:"#1E293B"},base:{danger:"#F31260",default:{600:"#52525B"}},cool:{orange:{50:"#FEF1EB",100:"#FCDFD7"}},bright:{orange:{50:"#FDEFEB"}},red:{100:"#FFE5E5",500:"#E60000",600:"#CF2140",900:"#2C030B"},pink:{100:"#FFE5F5",500:"#FF55C0",600:"#EC4899"},purple:{100:"#F0EEFE",500:"#705BFA"},green:{100:"#E9FFD4",200:"#E6F7EA",500:"#6FE200",600:"#0BB02F"},orange:{50:"#FFF6E5",100:"#FFEFD6",400:"#FFB733",500:"#FF9D00"},blue:{50:"#E5F2FF",500:"#007BFF"},metrifox:{primary:"#3D3D3D",secondary:"#DEF764",blue:"#006FEE",black:"#0F0F0F",success:"#17C964",white:"#FFFFFF",dark:"#191919",danger:"#DE1135",warning:"#F5A524"},foreground:{primary:"#0F172A",secondary:"#78716C",disabled:"#A8A29E"},stroke:{system:{primary:"#E7E5E4"}},background:{system:{primary:"#FFFFFF",disabled:"#E7E5E4",secondary:"#E8E9EE",light:"#FFFDFB"}},secondary:{light:"#FFFDFB"},rose:{50:"#FFF1F2"},lime:{50:"#F7FEE7",100:"#EDFF96",500:"#9DBD00",600:"#65A30D"},cyan:{500:"#06B6D4"}},q9={colors:G9},X9=q9.colors,J9=e=>{if(/^#([0-9A-Fa-f]{3}){1,2}$/.test(e))return e;const t=e.split("-");let n=X9;for(const r of t)if(n&&typeof n=="object"&&r in n)n=n[r];else return;return typeof n=="string"?n:void 0},Q9={"danger-filled":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M21.76 15.92 15.36 4.4C14.5 2.85 13.31 2 12 2s-2.5.85-3.36 2.4l-6.4 11.52c-.81 1.47-.9 2.88-.25 3.99.65 1.11 1.93 1.72 3.61 1.72h12.8c1.68 0 2.96-.61 3.61-1.72.65-1.11.56-2.53-.25-3.99ZM11.25 9c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9Zm1.46 8.71-.15.12c-.06.04-.12.07-.18.09-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02s-.13-.01-.2-.02a.636.636 0 0 1-.18-.06.757.757 0 0 1-.18-.09l-.15-.12c-.18-.19-.29-.45-.29-.71 0-.26.11-.52.29-.71l.15-.12c.06-.04.12-.07.18-.09.06-.03.12-.05.18-.06.13-.03.27-.03.39 0 .07.01.13.03.19.06.06.02.12.05.18.09l.15.12c.18.19.29.45.29.71 0 .26-.11.52-.29.71Z"})}),"eye-slash-filled":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M21.271 9.178c-.29-.46-.6-.89-.92-1.29a1 1 0 0 0-1.49-.09l-3 3c.22.66.26 1.42.06 2.21a4.021 4.021 0 0 1-2.9 2.9c-.79.2-1.55.16-2.21-.06l-2.46 2.46c-.5.5-.34 1.38.33 1.64 1.07.41 2.18.62 3.32.62 1.78 0 3.51-.52 5.09-1.49 1.61-1 3.06-2.47 4.23-4.34.95-1.51.9-4.05-.05-5.56ZM14.02 9.98l-4.04 4.04c-.51-.52-.84-1.24-.84-2.02 0-1.57 1.28-2.86 2.86-2.86.78 0 1.5.33 2.02.84Z"}),a.jsx("path",{d:"m18.25 5.75-3.39 3.39A3.986 3.986 0 0 0 12 7.96c-2.24 0-4.04 1.81-4.04 4.04 0 1.12.45 2.13 1.18 2.86l-3.38 3.39h-.01c-1.11-.9-2.13-2.05-3-3.41-1-1.57-1-4.12 0-5.69C3.91 7.33 5.33 5.9 6.91 4.92c1.58-.96 3.31-1.49 5.09-1.49 2.23 0 4.39.82 6.25 2.32ZM14.858 11.998c0 1.57-1.28 2.86-2.86 2.86-.06 0-.11 0-.17-.02l3.01-3.01c.02.06.02.11.02.17Z"}),a.jsx("path",{d:"M21.769 2.229c-.3-.3-.79-.3-1.09 0l-18.45 18.46c-.3.3-.3.79 0 1.09a.758.758 0 0 0 1.08-.01l18.46-18.46c.31-.3.31-.78 0-1.08Z"})]}),"eye-filled":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M21.25 9.15C18.94 5.52 15.56 3.43 12 3.43c-1.78 0-3.51.52-5.09 1.49-1.58.98-3 2.41-4.16 4.23-1 1.57-1 4.12 0 5.69 2.31 3.64 5.69 5.72 9.25 5.72 1.78 0 3.51-.52 5.09-1.49 1.58-.98 3-2.41 4.16-4.23 1-1.56 1-4.12 0-5.69ZM12 16.04c-2.24 0-4.04-1.81-4.04-4.04S9.76 7.96 12 7.96s4.04 1.81 4.04 4.04-1.8 4.04-4.04 4.04Z"}),a.jsx("path",{d:"M11.998 9.14a2.855 2.855 0 0 0 0 5.71c1.57 0 2.86-1.28 2.86-2.85s-1.29-2.86-2.86-2.86Z"})]}),"check-circle-filled":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm4.78 7.7-5.67 5.67a.75.75 0 0 1-1.06 0l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.76 0 1.06Z"})}),check:a.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"#currentColor",strokeWidth:"1.6666",strokeLinecap:"round",strokeLinejoin:"round"})}),home:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 18.75c-.41 0-.75-.34-.75-.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0 .41-.34.75-.75.75Z"}),a.jsx("path",{d:"M17.6 22.56H6.4c-1.82 0-3.48-1.4-3.78-3.19L1.29 11.4c-.22-1.24.39-2.83 1.38-3.62L9.6 2.23c1.34-1.08 3.45-1.07 4.8.01l6.93 5.54c.98.79 1.58 2.38 1.38 3.62l-1.33 7.96c-.3 1.77-2 3.2-3.78 3.2ZM11.99 2.93c-.53 0-1.06.16-1.45.47L3.61 8.96c-.56.45-.96 1.49-.84 2.2l1.33 7.96c.18 1.05 1.23 1.94 2.3 1.94h11.2c1.07 0 2.12-.89 2.3-1.95l1.33-7.96c.11-.7-.29-1.76-.84-2.2l-6.93-5.54c-.4-.32-.94-.48-1.47-.48Z"})]}),task:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M17.62 9.621h-5.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h5.25a.749.749 0 1 1 0 1.5ZM7.12 10.38c-.19 0-.38-.07-.53-.22l-.75-.75a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.22.22 1.72-1.72c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-2.25 2.25a.75.75 0 0 1-.53.22ZM17.62 16.621h-5.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h5.25a.749.749 0 1 1 0 1.5ZM7.12 17.38c-.19 0-.38-.07-.53-.22l-.75-.75a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.22.22 1.72-1.72c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-2.25 2.25a.75.75 0 0 1-.53.22Z"}),a.jsx("path",{d:"M15 22.75H9c-5.43 0-7.75-2.32-7.75-7.75V9c0-5.43 2.32-7.75 7.75-7.75h6c5.43 0 7.75 2.32 7.75 7.75v6c0 5.43-2.32 7.75-7.75 7.75Zm-6-20C4.39 2.75 2.75 4.39 2.75 9v6c0 4.61 1.64 6.25 6.25 6.25h6c4.61 0 6.25-1.64 6.25-6.25V9c0-4.61-1.64-6.25-6.25-6.25H9Z"})]}),money:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M17 21.25H7c-3.65 0-5.75-2.1-5.75-5.75v-7c0-3.65 2.1-5.75 5.75-5.75h10c3.65 0 5.75 2.1 5.75 5.75v7c0 3.65-2.1 5.75-5.75 5.75Zm-10-17c-2.86 0-4.25 1.39-4.25 4.25v7c0 2.86 1.39 4.25 4.25 4.25h10c2.86 0 4.25-1.39 4.25-4.25v-7c0-2.86-1.39-4.25-4.25-4.25H7Z"}),a.jsx("path",{d:"M12 15.75c-2.07 0-3.75-1.68-3.75-3.75 0-2.07 1.68-3.75 3.75-3.75 2.07 0 3.75 1.68 3.75 3.75 0 2.07-1.68 3.75-3.75 3.75Zm0-6c-1.24 0-2.25 1.01-2.25 2.25s1.01 2.25 2.25 2.25 2.25-1.01 2.25-2.25S13.24 9.75 12 9.75ZM5.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z"})]}),people:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M18 7.912h-.13c-1.89-.06-3.3-1.52-3.3-3.32 0-1.84 1.5-3.33 3.33-3.33s3.33 1.5 3.33 3.33a3.327 3.327 0 0 1-3.22 3.33c0-.01 0-.01-.01-.01Zm-.1-5.16c-1.01 0-1.83.82-1.83 1.83 0 .99.77 1.79 1.76 1.83.01-.01.09-.01.18 0a1.832 1.832 0 0 0-.11-3.66ZM18.009 15.28c-.39 0-.78-.03-1.17-.1a.75.75 0 0 1-.61-.87.75.75 0 0 1 .87-.61c1.23.21 2.53-.02 3.4-.6.47-.31.72-.7.72-1.09 0-.39-.26-.77-.72-1.08-.87-.58-2.19-.81-3.43-.59-.41.08-.8-.2-.87-.61-.07-.41.2-.8.61-.87 1.63-.29 3.32.02 4.52.82.88.59 1.39 1.43 1.39 2.33 0 .89-.5 1.74-1.39 2.34-.91.6-2.09.93-3.32.93ZM5.97 7.91h-.02a3.324 3.324 0 0 1-3.22-3.32c0-1.84 1.5-3.34 3.33-3.34s3.33 1.5 3.33 3.33c0 1.81-1.41 3.27-3.21 3.33l-.21-.75.07.75h-.07Zm.1-1.5c.06 0 .11 0 .17.01.89-.04 1.67-.84 1.67-1.83a1.83 1.83 0 1 0-1.93 1.83c.01-.01.05-.01.09-.01ZM5.96 15.28c-1.23 0-2.41-.33-3.32-.93-.88-.59-1.39-1.44-1.39-2.34 0-.89.51-1.74 1.39-2.33 1.2-.8 2.89-1.11 4.52-.82.41.07.68.46.61.87-.07.41-.46.69-.87.61-1.24-.22-2.55.01-3.43.59-.47.31-.72.69-.72 1.08 0 .39.26.78.72 1.09.87.58 2.17.81 3.4.6.41-.07.8.21.87.61.07.41-.2.8-.61.87-.39.07-.78.1-1.17.1ZM12 15.38h-.13c-1.89-.06-3.3-1.52-3.3-3.32 0-1.84 1.5-3.33 3.33-3.33s3.33 1.5 3.33 3.33a3.327 3.327 0 0 1-3.22 3.33c0-.01 0-.01-.01-.01Zm-.1-5.16c-1.01 0-1.83.82-1.83 1.83 0 .99.77 1.79 1.76 1.83.01-.01.09-.01.18 0 .97-.05 1.72-.85 1.73-1.83 0-1-.82-1.83-1.84-1.83ZM12.001 22.759c-1.2 0-2.4-.31-3.33-.94-.88-.59-1.39-1.43-1.39-2.33 0-.89.5-1.75 1.39-2.34 1.87-1.24 4.8-1.24 6.66 0 .88.59 1.39 1.43 1.39 2.33 0 .89-.5 1.75-1.39 2.34-.93.62-2.13.94-3.33.94Zm-2.5-4.35c-.47.31-.72.7-.72 1.09 0 .39.26.77.72 1.08 1.35.91 3.64.91 4.99 0 .47-.31.72-.7.72-1.09 0-.39-.26-.77-.72-1.08-1.34-.91-3.63-.9-4.99 0Z"})}),bill:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 22.252c-.82 0-1.64-.26-2.32-.77l-5.21-3.9a3.903 3.903 0 0 1-1.55-3.1V1.762h18.16v12.72c0 1.21-.58 2.37-1.55 3.1l-5.21 3.9c-.68.51-1.5.77-2.32.77Zm-7.58-19v11.22c0 .74.36 1.45.95 1.9l5.21 3.9c.84.63 2.01.63 2.85 0l5.21-3.9c.59-.45.95-1.16.95-1.9V3.252H4.42Z"}),a.jsx("path",{d:"M22 3.25H2c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h20c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 8.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 13.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75Z"})]}),"category-2":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M19 10.75h-2c-2.42 0-3.75-1.33-3.75-3.75V5c0-2.42 1.33-3.75 3.75-3.75h2c2.42 0 3.75 1.33 3.75 3.75v2c0 2.42-1.33 3.75-3.75 3.75Zm-2-8c-1.58 0-2.25.67-2.25 2.25v2c0 1.58.67 2.25 2.25 2.25h2c1.58 0 2.25-.67 2.25-2.25V5c0-1.58-.67-2.25-2.25-2.25h-2ZM7 22.75H5c-2.42 0-3.75-1.33-3.75-3.75v-2c0-2.42 1.33-3.75 3.75-3.75h2c2.42 0 3.75 1.33 3.75 3.75v2c0 2.42-1.33 3.75-3.75 3.75Zm-2-8c-1.58 0-2.25.67-2.25 2.25v2c0 1.58.67 2.25 2.25 2.25h2c1.58 0 2.25-.67 2.25-2.25v-2c0-1.58-.67-2.25-2.25-2.25H5ZM6 10.75c-2.62 0-4.75-2.13-4.75-4.75S3.38 1.25 6 1.25 10.75 3.38 10.75 6 8.62 10.75 6 10.75Zm0-8C4.21 2.75 2.75 4.21 2.75 6S4.21 9.25 6 9.25 9.25 7.79 9.25 6 7.79 2.75 6 2.75ZM18 22.75c-2.62 0-4.75-2.13-4.75-4.75s2.13-4.75 4.75-4.75 4.75 2.13 4.75 4.75-2.13 4.75-4.75 4.75Zm0-8c-1.79 0-3.25 1.46-3.25 3.25s1.46 3.25 3.25 3.25 3.25-1.46 3.25-3.25-1.46-3.25-3.25-3.25Z"})}),"money-add":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 15.25c-1.79 0-3.25-1.46-3.25-3.25S10.21 8.75 12 8.75s3.25 1.46 3.25 3.25-1.46 3.25-3.25 3.25Zm0-5c-.96 0-1.75.79-1.75 1.75s.79 1.75 1.75 1.75 1.75-.79 1.75-1.75-.79-1.75-1.75-1.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM5 22.75c-1.66 0-3.22-.88-4.06-2.31C.49 19.72.25 18.87.25 18c0-2.62 2.13-4.75 4.75-4.75S9.75 15.38 9.75 18c0 .87-.24 1.72-.69 2.45-.84 1.42-2.4 2.3-4.06 2.3Zm0-8c-1.79 0-3.25 1.46-3.25 3.25 0 .59.16 1.17.47 1.67.58.98 1.65 1.58 2.78 1.58A3.256 3.256 0 0 0 8.25 18c0-1.79-1.46-3.25-3.25-3.25Z"}),a.jsx("path",{d:"M6.498 18.73h-2.99c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h2.99c.41 0 .75.34.75.75s-.34.75-.75.75Z"}),a.jsx("path",{d:"M5 20.26c-.41 0-.75-.34-.75-.75v-2.99c0-.41.34-.75.75-.75s.75.34.75.75v2.99c0 .42-.34.75-.75.75Z"}),a.jsx("path",{d:"M17 20.75H8.5c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H17c2.86 0 4.25-1.39 4.25-4.25V9c0-2.86-1.39-4.25-4.25-4.25H7C4.14 4.75 2.75 6.14 2.75 9v6.3c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9c0-3.65 2.1-5.75 5.75-5.75h10c3.65 0 5.75 2.1 5.75 5.75v6c0 3.65-2.1 5.75-5.75 5.75Z"})]}),"money-time":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 15.25c-1.79 0-3.25-1.46-3.25-3.25S10.21 8.75 12 8.75s3.25 1.46 3.25 3.25-1.46 3.25-3.25 3.25Zm0-5c-.96 0-1.75.79-1.75 1.75s.79 1.75 1.75 1.75 1.75-.79 1.75-1.75-.79-1.75-1.75-1.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM5 22.75C2.38 22.75.25 20.62.25 18S2.38 13.25 5 13.25 9.75 15.38 9.75 18 7.62 22.75 5 22.75Zm0-8c-1.79 0-3.25 1.46-3.25 3.25S3.21 21.25 5 21.25 8.25 19.79 8.25 18 6.79 14.75 5 14.75Z"}),a.jsx("path",{d:"M4 19.752c-.25 0-.5-.13-.64-.36-.21-.35-.1-.82.26-1.03l.76-.46c.07-.04.12-.13.12-.21v-.93c0-.41.34-.75.75-.75s.75.34.75.75v.93c0 .61-.33 1.19-.85 1.5l-.76.46c-.12.07-.26.1-.39.1Z"}),a.jsx("path",{d:"M17 20.75H8.5c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H17c2.86 0 4.25-1.39 4.25-4.25V9c0-2.86-1.39-4.25-4.25-4.25H7C4.14 4.75 2.75 6.14 2.75 9v6.2c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9c0-3.65 2.1-5.75 5.75-5.75h10c3.65 0 5.75 2.1 5.75 5.75v6c0 3.65-2.1 5.75-5.75 5.75Z"})]}),"arrow-down":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M17.919 8.18H6.079c-.96 0-1.44 1.16-.76 1.84l5.18 5.18c.83.83 2.18.83 3.01 0l1.97-1.97 3.21-3.21c.67-.68.19-1.84-.77-1.84z"})}),"arrow-down-linear":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",children:a.jsx("path",{stroke:"#currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"})}),"arrow-right":a.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.525 5.44167L17.5833 10.5L12.525 15.5583",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M3.41666 10.5H17.4417",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"code-circle":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M8 14.751c-.19 0-.38-.07-.53-.22l-2-2a.755.755 0 0 1 0-1.06l2-2c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-1.47 1.47 1.47 1.47c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22ZM16 14.751c-.19 0-.38-.07-.53-.22a.755.755 0 0 1 0-1.06l1.47-1.47-1.47-1.47a.755.755 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2 2c.29.29.29.77 0 1.06l-2 2c-.15.15-.34.22-.53.22Z"}),a.jsx("path",{d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12S6.07 1.25 12 1.25 22.75 6.07 22.75 12 17.93 22.75 12 22.75Zm0-20C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75Z"}),a.jsx("path",{d:"M11 15.08a.745.745 0 0 1-.68-1.05l2-4.67c.16-.38.6-.56.98-.39.38.16.56.6.39.99l-2 4.67c-.12.28-.4.45-.69.45Z"})]}),"note-2":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M15.808 20.179c-.26 0-.53-.01-.82-.04-.52-.04-1.11-.14-1.72-.29l-1.68-.4c-4.61-1.09-6.12-3.53-5.04-8.13l.98-4.19c.22-.95.48-1.72.8-2.36 1.72-3.55 5.01-3.23 7.35-2.68l1.67.39c2.34.55 3.82 1.42 4.65 2.75.82 1.33.95 3.04.4 5.38l-.98 4.18c-.86 3.66-2.65 5.39-5.61 5.39Zm-2.69-16.93c-1.67 0-2.73.69-3.44 2.17-.26.54-.49 1.21-.69 2.05l-.98 4.19c-.89 3.78.14 5.43 3.92 6.33l1.68.4c.54.13 1.05.21 1.51.25 2.72.27 4.07-.92 4.83-4.19l.98-4.18c.45-1.93.39-3.28-.21-4.25-.6-.97-1.78-1.63-3.72-2.08l-1.67-.39c-.83-.2-1.57-.3-2.21-.3Z"}),a.jsx("path",{d:"M8.33 22.252c-2.57 0-4.21-1.54-5.26-4.79l-1.28-3.95c-1.42-4.4-.15-6.88 4.23-8.3l1.58-.51c.52-.16.91-.27 1.26-.33.29-.06.57.05.74.28.17.23.2.53.08.79-.26.53-.49 1.2-.68 2.04l-.98 4.19c-.89 3.78.14 5.43 3.92 6.33l1.68.4c.54.13 1.05.21 1.51.25.32.03.58.25.67.56.08.31-.04.63-.3.81-.66.45-1.49.83-2.54 1.17l-1.58.52c-1.15.36-2.15.54-3.05.54Zm-.55-16.03-1.29.42c-3.57 1.15-4.42 2.83-3.27 6.41l1.28 3.95c1.16 3.57 2.84 4.43 6.41 3.28l1.58-.52c.06-.02.11-.04.17-.06l-1.06-.25c-4.61-1.09-6.12-3.53-5.04-8.13l.98-4.19c.07-.32.15-.63.24-.91ZM17.49 10.512c-.06 0-.12-.01-.19-.02l-4.85-1.23a.75.75 0 0 1 .37-1.45l4.85 1.23a.748.748 0 0 1-.18 1.47Z"}),a.jsx("path",{d:"M14.561 13.889c-.06 0-.12-.01-.19-.02l-2.91-.74a.75.75 0 0 1 .37-1.45l2.91.74c.4.1.64.51.54.91-.08.34-.38.56-.72.56Z"})]}),"note-add-bulk":a.jsxs("svg",{width:"73",height:"72",viewBox:"0 0 73 72",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M22.61 66H50.36C58.43 66 64.97 59.46 64.97 51.39V25.11C64.97 17.04 58.43 10.5 50.36 10.5H22.61C14.54 10.5 8 17.04 8 25.11V51.36C8 59.46 14.54 66 22.61 66Z",fill:"#currentColor"}),a.jsx("path",{d:"M25.3672 18.87C24.1072 18.87 23.1172 17.85 23.1172 16.62V8.25C23.1172 7.02 24.1072 6 25.3672 6C26.6272 6 27.6172 7.02 27.6172 8.25V16.59C27.6172 17.85 26.6272 18.87 25.3672 18.87Z",fill:"#currentColor"}),a.jsx("path",{d:"M47.6328 18.87C46.3728 18.87 45.3828 17.85 45.3828 16.62V8.25C45.3828 6.99 46.4028 6 47.6328 6C48.8928 6 49.8828 7.02 49.8828 8.25V16.59C49.8828 17.85 48.8928 18.87 47.6328 18.87Z",fill:"#currenColor"}),a.jsx("path",{d:"M36.5 44.25H31.43V39C31.43 37.77 30.41 36.75 29.18 36.75C27.95 36.75 26.93 37.77 26.93 39V44.25H21.5C20.27 44.25 19.25 45.27 19.25 46.5C19.25 47.73 20.27 48.75 21.5 48.75H26.93V54C26.93 55.23 27.95 56.25 29.18 56.25C30.41 56.25 31.43 55.23 31.43 54V48.75H36.5C37.73 48.75 38.75 47.73 38.75 46.5C38.75 45.27 37.73 44.25 36.5 44.25Z",fill:"#currentColor"})]}),gift:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M15.969 22.75h-8c-3.42 0-4.75-1.33-4.75-4.75v-8c0-.41.34-.75.75-.75h16c.41 0 .75.34.75.75v8c0 3.42-1.33 4.75-4.75 4.75Zm-11.25-12V18c0 2.58.67 3.25 3.25 3.25h8c2.58 0 3.25-.67 3.25-3.25v-7.25h-14.5Z"}),a.jsx("path",{d:"M19.5 10.75h-15c-1.75 0-2.75-1-2.75-2.75V7c0-1.75 1-2.75 2.75-2.75h15c1.7 0 2.75 1.05 2.75 2.75v1c0 1.7-1.05 2.75-2.75 2.75Zm-15-5c-.91 0-1.25.34-1.25 1.25v1c0 .91.34 1.25 1.25 1.25h15c.88 0 1.25-.37 1.25-1.25V7c0-.88-.37-1.25-1.25-1.25h-15Z"}),a.jsx("path",{d:"M11.64 5.749H6.12c-.21 0-.41-.09-.55-.24-.61-.67-.59-1.7.05-2.34l1.42-1.42c.66-.66 1.75-.66 2.41 0l2.72 2.72c.21.21.28.54.16.82-.11.28-.38.46-.69.46Zm-4.97-1.5h3.17l-1.45-1.44a.205.205 0 0 0-.29 0l-1.42 1.42c0 .01-.01.01-.01.02Z"}),a.jsx("path",{d:"M17.87 5.749h-5.52a.74.74 0 0 1-.69-.46c-.12-.28-.05-.6.16-.82l2.72-2.72c.66-.66 1.75-.66 2.41 0l1.42 1.42c.64.64.67 1.67.05 2.34-.14.15-.34.24-.55.24Zm-3.7-1.5h3.17l-.02-.02-1.42-1.42a.205.205 0 0 0-.29 0l-1.44 1.44ZM9.941 16.9a1.752 1.752 0 0 1-1.75-1.75V10c0-.41.34-.75.75-.75h6.04c.41 0 .75.34.75.75v5.13c0 .65-.35 1.24-.92 1.54-.57.31-1.26.27-1.8-.09l-.89-.6a.24.24 0 0 0-.28 0l-.94.62c-.29.2-.63.3-.96.3Zm-.25-6.15v4.39c0 .13.08.19.13.22s.15.06.26-.01l.94-.62c.59-.39 1.35-.39 1.93 0l.89.6c.11.07.21.04.26.01.05-.03.13-.09.13-.22v-4.38h-4.54v.01Z"})]}),"notification-bell":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M16.5455 4.27274C16.5455 5.62835 15.4466 6.72728 14.091 6.72728C12.7353 6.72728 11.6364 5.62835 11.6364 4.27274C11.6364 2.91713 12.7353 1.81819 14.091 1.81819C15.4466 1.81819 16.5455 2.91713 16.5455 4.27274Z"}),a.jsx("path",{d:"M10.3355 2.64766C10.2247 2.64017 10.1128 2.63637 10 2.63637C7.28883 2.63637 5.09095 4.83425 5.09095 7.54546V10.964C5.09095 11.4024 4.96118 11.831 4.71799 12.1958L3.592 13.8848C3.5024 14.0192 3.45459 14.1771 3.45459 14.3386V14.9091H16.5455V14.3386C16.5455 14.1771 16.4977 14.0192 16.4081 13.8848L15.2821 12.1958C15.0389 11.831 14.9091 11.4024 14.9091 10.964V8.28181C14.6448 8.33548 14.3712 8.36365 14.091 8.36365C11.8316 8.36365 10 6.53208 10 4.27274C10 3.69529 10.1197 3.14578 10.3355 2.64766Z"}),a.jsx("path",{d:"M10 17.7727C10.9038 17.7727 11.6364 17.0401 11.6364 16.1364H8.36368C8.36368 17.0401 9.09631 17.7727 10 17.7727Z"})]}),"book-saved":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M11.25 5.998v13.91c0 .71-.72 1.2-1.37.93-1.86-.78-4.17-1.46-5.81-1.68l-.31-.04c-.97-.12-1.76-1.01-1.76-1.98V5.248c0-1.2.97-2.17 2.17-2.17h.07c1.88.16 4.65 1.04 6.48 2.03a1 1 0 0 1 .53.89ZM19.83 3.078h-.06c-.24.02-.5.05-.77.1-1.23.2-2.69.62-4 1.14-.62.25-1.2.52-1.71.79-.33.18-.54.52-.54.89v13.91c0 .71.72 1.2 1.37.93 1.86-.78 4.17-1.46 5.81-1.68l.31-.04c.97-.12 1.76-1.01 1.76-1.98V5.248c0-1.2-.97-2.17-2.17-2.17Zm-.56 10.65c0 .39-.28.56-.62.37l-1.06-.59a.49.49 0 0 0-.41 0l-1.06.59c-.34.19-.62.02-.62-.37v-3.07c0-.46.38-.84.84-.84h2.1c.46 0 .84.38.84.84v3.07h-.01Z"})}),"message-question":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M17 2.43H7c-3 0-5 2-5 5v6c0 3 2 5 5 5v2.13c0 .8.89 1.28 1.55.83L13 18.43h4c3 0 5-2 5-5v-6c0-3-2-5-5-5ZM12 14.6a.749.749 0 1 1 0-1.5.749.749 0 1 1 0 1.5Zm1.26-4.15c-.39.26-.51.43-.51.71v.21c0 .41-.34.75-.75.75s-.75-.34-.75-.75v-.21c0-1.16.85-1.73 1.17-1.95.37-.25.49-.42.49-.68 0-.5-.41-.91-.91-.91s-.91.41-.91.91c0 .41-.34.75-.75.75s-.75-.34-.75-.75c0-1.33 1.08-2.41 2.41-2.41s2.41 1.08 2.41 2.41c0 1.14-.84 1.71-1.15 1.92Z"})}),"circle-close":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12S6.07 1.25 12 1.25 22.75 6.07 22.75 12 17.93 22.75 12 22.75Zm0-20C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75Z"}),a.jsx("path",{d:"M9.17 15.58c-.19 0-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l5.66-5.66c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06L9.7 15.36c-.14.15-.34.22-.53.22Z"}),a.jsx("path",{d:"M14.83 15.58c-.19 0-.38-.07-.53-.22L8.64 9.7a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l5.66 5.66c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22Z"})]}),"circle-close-filled":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm3.36 12.3c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22s-.38-.07-.53-.22l-2.3-2.3-2.3 2.3c-.15.15-.34.22-.53.22s-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l2.3-2.3-2.3-2.3a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 2.3-2.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-2.3 2.3 2.3 2.3Z"})}),add:a.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M4.5 8H12.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.5 12V4",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),search:a.jsx("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.1821 12.2458C10.1658 13.0361 8.88866 13.5067 7.50167 13.5067C4.18704 13.5067 1.5 10.8189 1.5 7.50335C1.5 4.18779 4.18704 1.5 7.50167 1.5C10.8163 1.5 13.5033 4.18779 13.5033 7.50335C13.5033 8.89059 13.033 10.1679 12.243 11.1845L15.2799 14.2186C15.5731 14.5115 15.5734 14.9867 15.2806 15.2799C14.9878 15.5731 14.5128 15.5734 14.2196 15.2805L11.1821 12.2458ZM12.0029 7.50335C12.0029 9.99002 9.98765 12.0059 7.50167 12.0059C5.0157 12.0059 3.00042 9.99002 3.00042 7.50335C3.00042 5.01668 5.0157 3.00084 7.50167 3.00084C9.98765 3.00084 12.0029 5.01668 12.0029 7.50335Z"})}),upload:a.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M10.2749 7.9251V9.8251C10.2749 10.0771 10.1748 10.3187 9.99661 10.4968C9.81845 10.675 9.57681 10.7751 9.32485 10.7751H2.67485C2.4229 10.7751 2.18126 10.675 2.0031 10.4968C1.82494 10.3187 1.72485 10.0771 1.72485 9.8251V7.9251M8.37485 4.6001L5.99985 2.2251M5.99985 2.2251L3.62485 4.6001M5.99985 2.2251V7.9251",stroke:"#currentColor",strokeWidth:"0.7125",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-left-linear":a.jsx("svg",{width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.99984 16.9201L1.47984 10.4001C0.709844 9.63008 0.709844 8.37008 1.47984 7.60008L7.99984 1.08008",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-right-linear":a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M5.99978 2.72418L10.3464 7.07085C10.8598 7.58418 10.8598 8.42418 10.3464 8.93751L5.99978 13.2842",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),pen:a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.0495 3.00002L4.2078 10.2417C3.94947 10.5167 3.69947 11.0584 3.64947 11.4334L3.34114 14.1333C3.2328 15.1083 3.9328 15.775 4.89947 15.6084L7.5828 15.15C7.9578 15.0834 8.4828 14.8084 8.74114 14.525L15.5828 7.28335C16.7661 6.03335 17.2995 4.60835 15.4578 2.86668C13.6245 1.14168 12.2328 1.75002 11.0495 3.00002Z",stroke:"#currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.9082 4.2085C10.2665 6.5085 12.1332 8.26683 14.4499 8.50016",stroke:"#currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.5 18.3333H17.5",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),times:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24px",height:"24px",children:a.jsx("path",{d:"M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z"})}),"arrow-up":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M18.0697 9.57L11.9997 3.5L5.92969 9.57",stroke:"#3F3F46",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 20.4999V3.66992",stroke:"#3F3F46",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"arrow-up-light":a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M13.2797 10.0334L8.93306 5.68676C8.41973 5.17342 7.57973 5.17342 7.06639 5.68676L2.71973 10.0334",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-down-light":a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M13.2807 5.9668L8.93404 10.3135C8.4207 10.8268 7.5807 10.8268 7.06737 10.3135L2.7207 5.9668",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),"settings-2-filled":a.jsx("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M13.9002 6.64679C12.6935 6.64679 12.2002 5.79345 12.8002 4.74679C13.1468 4.14012 12.9402 3.36679 12.3335 3.02012L11.1802 2.36012C10.6535 2.04679 9.9735 2.23345 9.66016 2.76012L9.58683 2.88679C8.98683 3.93345 8.00016 3.93345 7.3935 2.88679L7.32016 2.76012C7.02016 2.23345 6.34016 2.04679 5.8135 2.36012L4.66016 3.02012C4.0535 3.36679 3.84683 4.14679 4.1935 4.75345C4.80016 5.79345 4.30683 6.64679 3.10016 6.64679C2.40683 6.64679 1.8335 7.21345 1.8335 7.91345V9.08679C1.8335 9.78012 2.40016 10.3535 3.10016 10.3535C4.30683 10.3535 4.80016 11.2068 4.1935 12.2535C3.84683 12.8601 4.0535 13.6335 4.66016 13.9801L5.8135 14.6401C6.34016 14.9535 7.02016 14.7668 7.3335 14.2401L7.40683 14.1135C8.00683 13.0668 8.9935 13.0668 9.60016 14.1135L9.6735 14.2401C9.98683 14.7668 10.6668 14.9535 11.1935 14.6401L12.3468 13.9801C12.9535 13.6335 13.1602 12.8535 12.8135 12.2535C12.2068 11.2068 12.7002 10.3535 13.9068 10.3535C14.6002 10.3535 15.1735 9.78679 15.1735 9.08679V7.91345C15.1668 7.22012 14.6002 6.64679 13.9002 6.64679ZM8.50016 10.6668C7.30683 10.6668 6.3335 9.69345 6.3335 8.50012C6.3335 7.30679 7.30683 6.33345 8.50016 6.33345C9.6935 6.33345 10.6668 7.30679 10.6668 8.50012C10.6668 9.69345 9.6935 10.6668 8.50016 10.6668Z",fill:"#currentColor"})}),"settings-2":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.00049 12.8799V11.1199C2.00049 10.0799 2.85049 9.21994 3.90049 9.21994C5.71049 9.21994 6.45049 7.93994 5.54049 6.36994C5.02049 5.46994 5.33049 4.29994 6.24049 3.77994L7.97049 2.78994C8.76049 2.31994 9.78049 2.59994 10.2505 3.38994L10.3605 3.57994C11.2605 5.14994 12.7405 5.14994 13.6505 3.57994L13.7605 3.38994C14.2305 2.59994 15.2505 2.31994 16.0405 2.78994L17.7705 3.77994C18.6805 4.29994 18.9905 5.46994 18.4705 6.36994C17.5605 7.93994 18.3005 9.21994 20.1105 9.21994C21.1505 9.21994 22.0105 10.0699 22.0105 11.1199V12.8799C22.0105 13.9199 21.1605 14.7799 20.1105 14.7799C18.3005 14.7799 17.5605 16.0599 18.4705 17.6299C18.9905 18.5399 18.6805 19.6999 17.7705 20.2199L16.0405 21.2099C15.2505 21.6799 14.2305 21.3999 13.7605 20.6099L13.6505 20.4199C12.7505 18.8499 11.2705 18.8499 10.3605 20.4199L10.2505 20.6099C9.78049 21.3999 8.76049 21.6799 7.97049 21.2099L6.24049 20.2199C5.33049 19.6999 5.02049 18.5299 5.54049 17.6299C6.45049 16.0599 5.71049 14.7799 3.90049 14.7799C2.85049 14.7799 2.00049 13.9199 2.00049 12.8799Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"pen-fill":a.jsxs("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M14.5 15.1665H2.5C2.22667 15.1665 2 14.9398 2 14.6665C2 14.3932 2.22667 14.1665 2.5 14.1665H14.5C14.7733 14.1665 15 14.3932 15 14.6665C15 14.9398 14.7733 15.1665 14.5 15.1665Z",fill:"#currentColor"}),a.jsx("path",{d:"M13.1799 2.81994C11.8866 1.52661 10.6199 1.49328 9.29322 2.81994L8.48655 3.62661C8.41989 3.69328 8.39322 3.79994 8.41989 3.89328C8.92655 5.65994 10.3399 7.07328 12.1066 7.57994C12.1332 7.58661 12.1599 7.59328 12.1866 7.59328C12.2599 7.59328 12.3266 7.56661 12.3799 7.51328L13.1799 6.70661C13.8399 6.05328 14.1599 5.41994 14.1599 4.77994C14.1666 4.11994 13.8466 3.47994 13.1799 2.81994Z",fill:"#currentColor"}),a.jsx("path",{d:"M10.9066 8.18654C10.7132 8.0932 10.5266 7.99987 10.3466 7.8932C10.1999 7.80654 10.0599 7.7132 9.91989 7.6132C9.80655 7.53987 9.67322 7.4332 9.54655 7.32654C9.53322 7.31987 9.48655 7.27987 9.43322 7.22654C9.21322 7.03987 8.96655 6.79987 8.74655 6.5332C8.72655 6.51987 8.69322 6.4732 8.64655 6.4132C8.57989 6.3332 8.46655 6.19987 8.36655 6.04654C8.28655 5.94654 8.19322 5.79987 8.10655 5.6532C7.99989 5.4732 7.90655 5.2932 7.81322 5.10654C7.69085 4.84431 7.34668 4.76641 7.14206 4.97103L3.39322 8.71987C3.30655 8.80654 3.22655 8.9732 3.20655 9.08654L2.84655 11.6399C2.77989 12.0932 2.90655 12.5199 3.18655 12.8065C3.42655 13.0399 3.75989 13.1665 4.11989 13.1665C4.19989 13.1665 4.27989 13.1599 4.35989 13.1465L6.91989 12.7865C7.03989 12.7665 7.20655 12.6865 7.28655 12.5999L11.0416 8.84484C11.2421 8.64432 11.1668 8.29929 10.9066 8.18654Z",fill:"#currentColor"})]}),"document-text1-outline":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",children:[a.jsx("path",{d:"M22 10v5c0 5-2 7-7 7H9c-5 0-7-2-7-7V9c0-5 2-7 7-7h5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M22 10h-4c-3 0-4-1-4-4V2l8 8ZM7 13h6M7 17h4",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),notification:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.0186 2.91016C8.70862 2.91016 6.01862 5.60016 6.01862 8.91016V11.8002C6.01862 12.4102 5.75862 13.3402 5.44862 13.8602L4.29862 15.7702C3.58862 16.9502 4.07862 18.2602 5.37862 18.7002C9.68862 20.1402 14.3386 20.1402 18.6486 18.7002C19.8586 18.3002 20.3886 16.8702 19.7286 15.7702L18.5786 13.8602C18.2786 13.3402 18.0186 12.4102 18.0186 11.8002V8.91016C18.0186 5.61016 15.3186 2.91016 12.0186 2.91016Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round"}),a.jsx("path",{d:"M13.8699 3.19994C13.5599 3.10994 13.2399 3.03994 12.9099 2.99994C11.9499 2.87994 11.0299 2.94994 10.1699 3.19994C10.4599 2.45994 11.1799 1.93994 12.0199 1.93994C12.8599 1.93994 13.5799 2.45994 13.8699 3.19994Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M15.019 19.0601C15.019 20.7101 13.669 22.0601 12.019 22.0601C11.199 22.0601 10.439 21.7201 9.89904 21.1801C9.35904 20.6401 9.01904 19.8801 9.01904 19.0601",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10"})]}),"message-question-outline":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M17.0005 18.4302H13.0005L8.55048 21.3902C7.89048 21.8302 7.00049 21.3602 7.00049 20.5602V18.4302C4.00049 18.4302 2.00049 16.4302 2.00049 13.4302V7.43018C2.00049 4.43018 4.00049 2.43018 7.00049 2.43018H17.0005C20.0005 2.43018 22.0005 4.43018 22.0005 7.43018V13.4302C22.0005 16.4302 20.0005 18.4302 17.0005 18.4302Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.9993 11.3599V11.1499C11.9993 10.4699 12.4194 10.1099 12.8394 9.81989C13.2494 9.53989 13.6593 9.1799 13.6593 8.5199C13.6593 7.5999 12.9193 6.85986 11.9993 6.85986C11.0793 6.85986 10.3394 7.5999 10.3394 8.5199",stroke:"#currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.995 13.75H12.004",stroke:"#currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),"add-circle":a.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M15.9989 2.6665C8.65219 2.6665 2.66553 8.65317 2.66553 15.9998C2.66553 23.3465 8.65219 29.3332 15.9989 29.3332C23.3455 29.3332 29.3322 23.3465 29.3322 15.9998C29.3322 8.65317 23.3455 2.6665 15.9989 2.6665ZM21.3322 16.9998H16.9989V21.3332C16.9989 21.8798 16.5455 22.3332 15.9989 22.3332C15.4522 22.3332 14.9989 21.8798 14.9989 21.3332V16.9998H10.6655C10.1189 16.9998 9.66553 16.5465 9.66553 15.9998C9.66553 15.4532 10.1189 14.9998 10.6655 14.9998H14.9989V10.6665C14.9989 10.1198 15.4522 9.6665 15.9989 9.6665C16.5455 9.6665 16.9989 10.1198 16.9989 10.6665V14.9998H21.3322C21.8789 14.9998 22.3322 15.4532 22.3322 15.9998C22.3322 16.5465 21.8789 16.9998 21.3322 16.9998Z"})}),copy:a.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.1668 8.60016V11.4002C11.1668 13.7335 10.2335 14.6668 7.90016 14.6668H5.10016C2.76683 14.6668 1.8335 13.7335 1.8335 11.4002V8.60016C1.8335 6.26683 2.76683 5.3335 5.10016 5.3335H7.90016C10.2335 5.3335 11.1668 6.26683 11.1668 8.60016Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M15.1668 4.60016V7.40016C15.1668 9.7335 14.2335 10.6668 11.9002 10.6668H11.1668V8.60016C11.1668 6.26683 10.2335 5.3335 7.90016 5.3335H5.8335V4.60016C5.8335 2.26683 6.76683 1.3335 9.10016 1.3335H11.9002C14.2335 1.3335 15.1668 2.26683 15.1668 4.60016Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),action:a.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M8.8335 15.9456C8.8335 16.8623 9.5835 17.6123 10.5002 17.6123C11.4168 17.6123 12.1668 16.8623 12.1668 15.9456C12.1668 15.029 11.4168 14.279 10.5002 14.279C9.5835 14.279 8.8335 15.029 8.8335 15.9456Z",stroke:"#currentColor",strokeWidth:"1.5"}),a.jsx("path",{d:"M8.8335 4.27913C8.8335 5.1958 9.5835 5.9458 10.5002 5.9458C11.4168 5.9458 12.1668 5.1958 12.1668 4.27913C12.1668 3.36247 11.4168 2.61247 10.5002 2.61247C9.5835 2.61247 8.8335 3.36247 8.8335 4.27913Z",stroke:"#currentColor",strokeWidth:"1.5"}),a.jsx("path",{d:"M8.8335 10.1121C8.8335 11.0288 9.5835 11.7788 10.5002 11.7788C11.4168 11.7788 12.1668 11.0288 12.1668 10.1121C12.1668 9.19547 11.4168 8.44547 10.5002 8.44547C9.5835 8.44547 8.8335 9.19547 8.8335 10.1121Z",stroke:"#currentColor",strokeWidth:"1.5"})]}),"info-circle":a.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M10.4998 18.4455C15.0832 18.4455 18.8332 14.6955 18.8332 10.1121C18.8332 5.52881 15.0832 1.77881 10.4998 1.77881C5.9165 1.77881 2.1665 5.52881 2.1665 10.1121C2.1665 14.6955 5.9165 18.4455 10.4998 18.4455Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.5 6.77881V10.9455",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.4956 13.4458H10.5031",stroke:"#currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),"info-circle-filled":a.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M9.0013 0.666748C4.40964 0.666748 0.667969 4.40841 0.667969 9.00008C0.667969 13.5917 4.40964 17.3334 9.0013 17.3334C13.593 17.3334 17.3346 13.5917 17.3346 9.00008C17.3346 4.40841 13.593 0.666748 9.0013 0.666748ZM8.3763 5.66675C8.3763 5.32508 8.65964 5.04175 9.0013 5.04175C9.34297 5.04175 9.6263 5.32508 9.6263 5.66675V9.83342C9.6263 10.1751 9.34297 10.4584 9.0013 10.4584C8.65964 10.4584 8.3763 10.1751 8.3763 9.83342V5.66675ZM9.76797 12.6501C9.7263 12.7584 9.66797 12.8417 9.59297 12.9251C9.50964 13.0001 9.41797 13.0584 9.31797 13.1001C9.21797 13.1417 9.10964 13.1667 9.0013 13.1667C8.89297 13.1667 8.78464 13.1417 8.68464 13.1001C8.58464 13.0584 8.49297 13.0001 8.40964 12.9251C8.33464 12.8417 8.2763 12.7584 8.23464 12.6501C8.19297 12.5501 8.16797 12.4417 8.16797 12.3334C8.16797 12.2251 8.19297 12.1167 8.23464 12.0167C8.2763 11.9167 8.33464 11.8251 8.40964 11.7417C8.49297 11.6667 8.58464 11.6084 8.68464 11.5667C8.88464 11.4834 9.11797 11.4834 9.31797 11.5667C9.41797 11.6084 9.50964 11.6667 9.59297 11.7417C9.66797 11.8251 9.7263 11.9167 9.76797 12.0167C9.80964 12.1167 9.83464 12.2251 9.83464 12.3334C9.83464 12.4417 9.80964 12.5501 9.76797 12.6501Z",fill:"#currentColor"})}),"course-up-line-duotone":a.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.5",d:"M18.8332 5.9458L12.6832 12.0583C11.8523 12.8841 11.4365 13.2975 10.9207 13.2975C10.4048 13.2975 9.98984 12.8841 9.15817 12.0575L8.95817 11.8591C8.12734 11.0325 7.71067 10.6183 7.19484 10.6183C6.679 10.6183 6.26317 11.0325 5.43234 11.86L2.1665 15.1125",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M18.8333 10.5675V5.9458H14.1816",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"course-down-line-duotone":a.jsxs("svg",{width:"27",height:"27",viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsxs("g",{clipPath:"url(#clip0_13667_69012)",children:[a.jsx("path",{opacity:"0.5",d:"M20.7041 19.1552L12.6745 15.8825C11.5897 15.4404 11.0467 15.2191 10.8452 14.7443C10.6436 14.2694 10.8619 13.7259 11.2979 12.6374L11.4024 12.3758C11.8387 11.288 12.0571 10.7426 11.8556 10.2678C11.654 9.79295 11.1103 9.572 10.0239 9.13054L5.75393 7.39518",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M16.45 20.9612L20.7043 19.1554L18.8867 14.8735",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),a.jsx("defs",{children:a.jsx("clipPath",{id:"clip0_13667_69012",children:a.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(18.9102) rotate(67)"})})})]}),more:a.jsxs("svg",{width:"29",height:"21",viewBox:"0 0 29 21",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.8335 16.6667C12.8335 17.8125 13.771 18.75 14.9168 18.75C16.0627 18.75 17.0002 17.8125 17.0002 16.6667C17.0002 15.5208 16.0627 14.5833 14.9168 14.5833C13.771 14.5833 12.8335 15.5208 12.8335 16.6667Z",fill:"#currentColor"}),a.jsx("path",{d:"M12.8335 10.4997C12.8335 11.6455 13.771 12.583 14.9168 12.583C16.0627 12.583 17.0002 11.6455 17.0002 10.4997C17.0002 9.35384 16.0627 8.41634 14.9168 8.41634C13.771 8.41634 12.8335 9.35384 12.8335 10.4997Z",fill:"#currentColor"}),a.jsx("path",{d:"M12.8335 4.33366C12.8335 5.47949 13.771 6.41699 14.9168 6.41699C16.0627 6.41699 17.0002 5.47949 17.0002 4.33366C17.0002 3.18783 16.0627 2.25033 14.9168 2.25033C13.771 2.25033 12.8335 3.18783 12.8335 4.33366Z",fill:"#currentColor"})]}),"image-upload":a.jsx("svg",{width:"35",height:"34",viewBox:"0 0 35 34",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M18.3186 1.18412L18.319 1.18457L24.9824 8.0185C25.1948 8.24551 25.3142 8.55126 25.3115 8.87096C25.3088 9.192 25.1831 9.49666 24.9654 9.71996C24.7481 9.94286 24.4567 10.0669 24.1549 10.0696C23.8544 10.0723 23.5623 9.95446 23.3417 9.73735L19.5234 5.82129L18.6654 4.94133V6.17034V20.8467C18.6654 21.1714 18.5395 21.4804 18.3192 21.7063C18.0994 21.9317 17.804 22.056 17.4987 22.056C17.1934 22.056 16.898 21.9317 16.6782 21.7063C16.4579 21.4804 16.332 21.1714 16.332 20.8467V6.17034V4.94133L15.474 5.82129L11.6524 9.74079L11.6521 9.74104C11.4323 9.96683 11.1367 10.0914 10.8312 10.0916C10.5257 10.0919 10.2299 9.96771 10.0098 9.74224C9.78921 9.51635 9.663 9.20722 9.66277 8.88221C9.66255 8.55732 9.78825 8.24811 10.0084 8.02191C10.0084 8.02182 10.0085 8.02174 10.0086 8.02165L16.675 1.18457L16.6755 1.18412C16.7844 1.07207 16.9132 0.983874 17.054 0.923935C17.1949 0.864008 17.3454 0.833336 17.497 0.833336C17.6487 0.833336 17.7992 0.864008 17.94 0.923935C18.0809 0.983874 18.2096 1.07207 18.3186 1.18412ZM22.9987 20.8467V20.492H30.832C31.5793 20.492 32.2987 20.7964 32.8311 21.3424C33.3639 21.8888 33.6654 22.6326 33.6654 23.4107V30.248C33.6654 31.0261 33.3639 31.7699 32.8311 32.3163C32.2987 32.8623 31.5793 33.1667 30.832 33.1667H4.16536C3.41805 33.1667 2.69872 32.8623 2.16634 32.3163C1.63353 31.7699 1.33203 31.0261 1.33203 30.248V23.4107C1.33203 22.6326 1.63353 21.8888 2.16634 21.3424C2.69872 20.7964 3.41805 20.492 4.16536 20.492H11.9987V20.8467C11.9987 22.3353 12.5752 23.7654 13.6052 24.8218C14.6356 25.8786 16.0359 26.4747 17.4987 26.4747C18.9615 26.4747 20.3618 25.8786 21.3922 24.8218C22.4222 23.7654 22.9987 22.3353 22.9987 20.8467ZM24.9938 30.2283C25.4874 30.5666 26.0692 30.748 26.6654 30.748C27.4652 30.748 28.2295 30.422 28.7911 29.8461C29.3523 29.2706 29.6654 28.4926 29.6654 27.684C29.6654 27.0808 29.491 26.4901 29.163 25.9866C28.8349 25.483 28.3672 25.0885 27.8176 24.855C27.2678 24.6215 26.6622 24.5601 26.0777 24.6794C25.4933 24.7986 24.9583 25.0925 24.5396 25.5219C24.121 25.9512 23.8374 26.4966 23.7225 27.0886C23.6078 27.6805 23.6666 28.2941 23.8921 28.8524C24.1176 29.4109 24.5003 29.8902 24.9938 30.2283Z",fill:"#currentColor",stroke:"#currentColor"})}),folder:a.jsxs("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M21.4588 2.6665H11.5388C11.0321 2.6665 10.6055 3.09317 10.6055 3.59984C10.6055 4.1065 11.0321 4.53317 11.5388 4.53317H15.8855L17.7521 7.01317C18.1655 7.55984 18.2188 7.63984 18.9921 7.63984H23.9521C24.4588 7.63984 24.9521 7.7065 25.4321 7.83984C25.4855 8.07984 25.5121 8.31984 25.5121 8.57317V9.03984C25.5121 9.5465 25.9388 9.97317 26.4455 9.97317C26.9521 9.97317 27.3788 9.5465 27.3788 9.03984V8.55984C27.3521 5.3065 24.7121 2.6665 21.4588 2.6665Z",fill:"#currentColor"}),a.jsx("path",{d:"M27.3527 8.71984C26.7793 8.3065 26.126 7.99984 25.4193 7.8265C24.9527 7.69317 24.446 7.6265 23.9393 7.6265H18.9793C18.206 7.6265 18.1527 7.5465 17.7393 6.99984L15.8727 4.51984C15.006 3.37317 14.326 2.6665 12.1527 2.6665H9.05935C5.80602 2.6665 3.16602 5.3065 3.16602 8.55984V23.4398C3.16602 26.6932 5.80602 29.3332 9.05935 29.3332H23.9393C27.1927 29.3332 29.8327 26.6932 29.8327 23.4398V13.5198C29.8327 11.5332 28.8593 9.7865 27.3527 8.71984ZM19.606 21.3332H13.3927C12.8727 21.3332 12.4593 20.9198 12.4593 20.3998C12.4593 19.8932 12.8727 19.4665 13.3927 19.4665H19.5927C20.0993 19.4665 20.526 19.8932 20.526 20.3998C20.526 20.9198 20.1127 21.3332 19.606 21.3332Z",fill:"#currentColor"})]}),"wallet-is-empty":a.jsx("svg",{width:"366",height:"306",viewBox:"0 0 366 306",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsxs("g",{id:"Wallet is Empty",children:[a.jsx("path",{id:"Fill 1",fillRule:"evenodd",clipRule:"evenodd",d:"M246.294 291.811C246.294 294.185 215.743 296.11 178.056 296.11C140.369 296.11 109.816 294.185 109.816 291.811C109.816 289.438 140.369 287.513 178.056 287.513C215.743 287.513 246.294 289.438 246.294 291.811Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Fill 13",fillRule:"evenodd",clipRule:"evenodd",d:"M198.75 4.96247C197.407 4.6389 196.574 3.28452 196.898 1.92805C197.22 0.580921 198.578 -0.253906 199.92 0.0696541C201.269 0.395288 202.093 1.75486 201.772 3.10303C201.448 4.45846 200.1 5.28706 198.75 4.96247Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 25",d:"M14.168 170.379V173.603",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 27",d:"M7.72266 173.603L9.87191 175.752",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 29",d:"M4.5 180.051H7.72388",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 31",d:"M7.72266 186.498L9.87191 184.349",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 33",d:"M14.168 189.722V186.498",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 35",d:"M20.618 186.498L18.4688 184.349",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 37",d:"M23.8372 180.051H20.6133",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 39",d:"M20.618 173.603L18.4688 175.752",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 41",d:"M179.66 38.2V40.3493",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 43",d:"M174.293 43.5732H176.442",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 45",d:"M179.66 50.0209V47.8716",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 47",d:"M186.11 44.6478H183.961",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 49",d:"M61.4531 123.095V126.319",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 51",d:"M51.7852 132.767H55.009",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 53",d:"M60.375 141.364V138.14",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 55",d:"M70.0559 132.767H66.832",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 57",d:"M280.674 235.931C283.047 235.931 284.972 237.856 284.972 240.23C284.972 242.603 283.047 244.528 280.674 244.528C278.3 244.528 276.375 242.603 276.375 240.23",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 59",d:"M301.019 294.541C301.568 298.379 298.915 301.936 295.096 302.486C291.28 303.036 287.74 300.371 287.193 296.533C286.645 292.695 289.297 289.138 293.116 288.588",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Fill 61",fillRule:"evenodd",clipRule:"evenodd",d:"M301.102 195.095C303.707 194.271 307.7 191.045 308.624 187.573C309.462 190.642 312.975 194.271 316.146 194.546C312.578 195.827 309.166 199.631 308.624 202.618C308.256 199.572 303.537 195.539 301.102 195.095Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 63",fillRule:"evenodd",clipRule:"evenodd",d:"M31.3711 234.318C32.6742 233.907 34.6704 232.293 35.1328 230.558C35.5516 232.092 37.3076 233.907 38.8935 234.045C37.1088 234.685 35.4028 236.586 35.1328 238.08C34.9479 236.558 32.5892 234.54 31.3711 234.318Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 65",fillRule:"evenodd",clipRule:"evenodd",d:"M55.0103 91.9313C55.0103 93.7125 53.5666 95.1552 51.7864 95.1552C50.0052 95.1552 48.5625 93.7125 48.5625 91.9313C48.5625 90.1501 50.0052 88.7075 51.7864 88.7075C53.5666 88.7075 55.0103 90.1501 55.0103 91.9313Z",fill:"#D1D9E0"}),a.jsx("path",{id:"Fill 69",fillRule:"evenodd",clipRule:"evenodd",d:"M364.495 85.4829C364.495 87.8579 362.571 89.7819 360.197 89.7819C357.823 89.7819 355.898 87.8579 355.898 85.4829C355.898 83.109 357.823 81.1849 360.197 81.1849C362.571 81.1849 364.495 83.109 364.495 85.4829Z",fill:"#EBECEF"}),a.jsx("path",{id:"Stroke 73",fillRule:"evenodd",clipRule:"evenodd",d:"M117.342 69.3641C117.342 71.1453 115.899 72.588 114.118 72.588C112.337 72.588 110.895 71.1453 110.895 69.3641C110.895 67.5829 112.337 66.1403 114.118 66.1403C115.899 66.1403 117.342 67.5829 117.342 69.3641Z",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 75",fillRule:"evenodd",clipRule:"evenodd",d:"M67.2797 273.261C65.0614 274.105 62.5795 272.991 61.7356 270.773C60.8906 268.554 62.0057 266.072 64.224 265.228C66.4423 264.383 68.9242 265.498 69.7681 267.717C70.612 269.935 69.498 272.417 67.2797 273.261Z",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("g",{id:"menu",children:a.jsx("g",{id:"vuesax/bold/menu",children:a.jsxs("g",{id:"menu_2",children:[a.jsx("path",{id:"Vector",d:"M235.214 136.436C250.344 136.436 262.608 124.171 262.608 109.042C262.608 93.9123 250.344 81.6476 235.214 81.6476C220.085 81.6476 207.82 93.9123 207.82 109.042C207.82 124.171 220.085 136.436 235.214 136.436Z",fill:"#F4F4F5"}),a.jsx("path",{id:"Vector_2",d:"M132.675 136.436C147.804 136.436 160.069 124.171 160.069 109.042C160.069 93.9123 147.804 81.6476 132.675 81.6476C117.546 81.6476 105.281 93.9123 105.281 109.042C105.281 124.171 117.546 136.436 132.675 136.436Z",fill:"#F4F4F5"}),a.jsx("path",{id:"Vector_3",d:"M235.214 250.269C250.344 250.269 262.608 238.004 262.608 222.875C262.608 207.745 250.344 195.481 235.214 195.481C220.085 195.481 207.82 207.745 207.82 222.875C207.82 238.004 220.085 250.269 235.214 250.269Z",fill:"#F4F4F5"}),a.jsx("path",{id:"Vector_4",d:"M132.675 250.269C147.804 250.269 160.069 238.004 160.069 222.875C160.069 207.745 147.804 195.481 132.675 195.481C117.546 195.481 105.281 207.745 105.281 222.875C105.281 238.004 117.546 250.269 132.675 250.269Z",fill:"#F4F4F5"})]})})})]})}),"money-bulk":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{opacity:".4",d:"M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z",fill:"#currentColor"}),a.jsx("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM5.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",fill:"#currentColor"})]}),"money-time-bulk":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M5 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm1 3.68c0 .61-.33 1.19-.85 1.5l-.76.46c-.12.07-.25.11-.38.11-.25 0-.5-.13-.64-.36-.21-.35-.1-.82.26-1.03l.76-.46c.07-.04.12-.13.12-.21v-.93c0-.41.34-.75.75-.75s.75.34.75.75v.92H6Z",fill:"#currentColor"}),a.jsx("path",{opacity:".4",d:"M22 9v6c0 3.5-2 5-5 5H8.45c.35-.59.55-1.27.55-2 0-2.21-1.79-4-4-4-1.2 0-2.27.53-3 1.36V9c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5Z",fill:"#currentColor"}),a.jsx("path",{d:"M12 14.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM18.5 14.75c-.41 0-.75-.34-.75-.75v-4c0-.41.34-.75.75-.75s.75.34.75.75v4c0 .41-.34.75-.75.75Z",fill:"#currentColor"})]}),"note-1-bulk":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{opacity:".4",d:"M7.37 22h9.25a4.87 4.87 0 0 0 4.87-4.87V8.37a4.87 4.87 0 0 0-4.87-4.87H7.37A4.87 4.87 0 0 0 2.5 8.37v8.75c0 2.7 2.18 4.88 4.87 4.88Z",fill:"#currentColor"}),a.jsx("path",{d:"M8.29 6.29c-.42 0-.75-.34-.75-.75V2.75a.749.749 0 1 1 1.5 0v2.78c0 .42-.33.76-.75.76ZM15.71 6.29c-.42 0-.75-.34-.75-.75V2.75a.749.749 0 1 1 1.5 0v2.78c0 .42-.33.76-.75.76ZM14.78 13.71H7.36a.749.749 0 1 1 0-1.5h7.42a.749.749 0 1 1 0 1.5ZM12 17.422H7.36a.749.749 0 1 1 0-1.5H12a.749.749 0 1 1 0 1.5Z",fill:"#currentColor"})]}),"hamburger-menu":a.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M3.5 7H21.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M3.5 12H21.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M3.5 17H21.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),category:a.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M5.5 10H7.5C9.5 10 10.5 9 10.5 7V5C10.5 3 9.5 2 7.5 2H5.5C3.5 2 2.5 3 2.5 5V7C2.5 9 3.5 10 5.5 10Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17.5 10H19.5C21.5 10 22.5 9 22.5 7V5C22.5 3 21.5 2 19.5 2H17.5C15.5 2 14.5 3 14.5 5V7C14.5 9 15.5 10 17.5 10Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17.5 22H19.5C21.5 22 22.5 21 22.5 19V17C22.5 15 21.5 14 19.5 14H17.5C15.5 14 14.5 15 14.5 17V19C14.5 21 15.5 22 17.5 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5.5 22H7.5C9.5 22 10.5 21 10.5 19V17C10.5 15 9.5 14 7.5 14H5.5C3.5 14 2.5 15 2.5 17V19C2.5 21 3.5 22 5.5 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),group:a.jsx("svg",{width:"5",height:"21",viewBox:"0 0 5 21",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M2.5 14C3.03043 14 3.53914 14.2107 3.91421 14.5858C4.28929 14.9609 4.5 15.4696 4.5 16C4.5 16.5304 4.28929 17.0391 3.91421 17.4142C3.53914 17.7893 3.03043 18 2.5 18C1.96957 18 1.46086 17.7893 1.08579 17.4142C0.710714 17.0391 0.5 16.5304 0.5 16C0.5 15.4696 0.710714 14.9609 1.08579 14.5858C1.46086 14.2107 1.96957 14 2.5 14ZM2.5 7C3.03043 7 3.53914 7.21071 3.91421 7.58579C4.28929 7.96086 4.5 8.46957 4.5 9C4.5 9.53043 4.28929 10.0391 3.91421 10.4142C3.53914 10.7893 3.03043 11 2.5 11C1.96957 11 1.46086 10.7893 1.08579 10.4142C0.710714 10.0391 0.5 9.53043 0.5 9C0.5 8.46957 0.710714 7.96086 1.08579 7.58579C1.46086 7.21071 1.96957 7 2.5 7ZM2.5 0C3.03043 0 3.53914 0.210714 3.91421 0.585786C4.28929 0.960859 4.5 1.46957 4.5 2C4.5 2.53043 4.28929 3.03914 3.91421 3.41421C3.53914 3.78929 3.03043 4 2.5 4C1.96957 4 1.46086 3.78929 1.08579 3.41421C0.710714 3.03914 0.5 2.53043 0.5 2C0.5 1.46957 0.710714 0.960859 1.08579 0.585786C1.46086 0.210714 1.96957 0 2.5 0Z",fill:"#currentColor"})}),trash:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M21 5.98047C17.67 5.65047 14.32 5.48047 10.98 5.48047C9 5.48047 7.02 5.58047 5.04 5.78047L3 5.98047",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.5 4.97L8.72 3.66C8.88 2.71 9 2 10.69 2H13.31C15 2 15.13 2.75 15.28 3.67L15.5 4.97",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M18.8484 9.13965L18.1984 19.2096C18.0884 20.7796 17.9984 21.9996 15.2084 21.9996H8.78844C5.99844 21.9996 5.90844 20.7796 5.79844 19.2096L5.14844 9.13965",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.3281 16.5H13.6581",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.5 12.5H14.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),timer:a.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M11.4288 1.5H6.56881C3.74881 1.5 3.53131 4.035 5.05381 5.415L12.9438 12.585C14.4663 13.965 14.2488 16.5 11.4288 16.5H6.56881C3.74881 16.5 3.53131 13.965 5.05381 12.585L12.9438 5.415C14.4663 4.035 14.2488 1.5 11.4288 1.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),eye:a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.9823 10C12.9823 11.65 11.649 12.9833 9.99896 12.9833C8.34896 12.9833 7.01562 11.65 7.01562 10C7.01562 8.35 8.34896 7.01666 9.99896 7.01666C11.649 7.01666 12.9823 8.35 12.9823 10Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.0018 16.8917C12.9435 16.8917 15.6852 15.1583 17.5935 12.1583C18.3435 10.9833 18.3435 9.00834 17.5935 7.83334C15.6852 4.83334 12.9435 3.10001 10.0018 3.10001C7.06016 3.10001 4.31849 4.83334 2.41016 7.83334C1.66016 9.00834 1.66016 10.9833 2.41016 12.1583C4.31849 15.1583 7.06016 16.8917 10.0018 16.8917Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"eye-slash":a.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M15.0319 9.47188L9.97188 14.5319C9.32188 13.8819 8.92188 12.9919 8.92188 12.0019C8.92188 10.0219 10.5219 8.42188 12.5019 8.42188C13.4919 8.42188 14.3819 8.82188 15.0319 9.47188Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M18.3237 5.77047C16.5737 4.45047 14.5737 3.73047 12.5037 3.73047C8.97375 3.73047 5.68375 5.81047 3.39375 9.41047C2.49375 10.8205 2.49375 13.1905 3.39375 14.6005C4.18375 15.8405 5.10375 16.9105 6.10375 17.7705",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.92188 19.5297C10.0619 20.0097 11.2719 20.2697 12.5019 20.2697C16.0319 20.2697 19.3219 18.1897 21.6119 14.5897C22.5119 13.1797 22.5119 10.8097 21.6119 9.39969C21.2819 8.87969 20.9219 8.38969 20.5519 7.92969",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M16.0075 12.6992C15.7475 14.1092 14.5975 15.2592 13.1875 15.5192",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.97 14.5312L2.5 22.0013",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M22.5013 2L15.0312 9.47",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),repeat:a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M2.38281 3.43945H11.6095C12.7162 3.43945 13.6095 4.33279 13.6095 5.43945V7.65279",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4.48948 1.33301L2.38281 3.43966L4.48948 5.54635",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.6095 12.56H4.38281C3.27615 12.56 2.38281 11.6667 2.38281 10.56V8.34668",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.5 14.6665L13.6067 12.5598L11.5 10.4531",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"add-square":a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M11.1425 0.5H4.8575C2.1275 0.5 0.5 2.1275 0.5 4.8575V11.135C0.5 13.8725 2.1275 15.5 4.8575 15.5H11.135C13.865 15.5 15.4925 13.8725 15.4925 11.1425V4.8575C15.5 2.1275 13.8725 0.5 11.1425 0.5ZM12.5 8.5625H8.5625V12.5C8.5625 12.8075 8.3075 13.0625 8 13.0625C7.6925 13.0625 7.4375 12.8075 7.4375 12.5V8.5625H3.5C3.1925 8.5625 2.9375 8.3075 2.9375 8C2.9375 7.6925 3.1925 7.4375 3.5 7.4375H7.4375V3.5C7.4375 3.1925 7.6925 2.9375 8 2.9375C8.3075 2.9375 8.5625 3.1925 8.5625 3.5V7.4375H12.5C12.8075 7.4375 13.0625 7.6925 13.0625 8C13.0625 8.3075 12.8075 8.5625 12.5 8.5625Z",fill:"#currentColor"})}),"tick-circle":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.75 12.0019L10.58 14.8319L16.25 9.17188",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"add-square-fill":a.jsxs("svg",{width:"73",height:"72",viewBox:"0 0 73 72",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M49.07 6H23.93C13.01 6 6.5 12.51 6.5 23.43V48.54C6.5 59.49 13.01 66 23.93 66H49.04C59.96 66 66.47 59.49 66.47 48.57V23.43C66.5 12.51 59.99 6 49.07 6Z",fill:"#currentColor"}),a.jsx("path",{d:"M48.5 33.75H38.75V24C38.75 22.77 37.73 21.75 36.5 21.75C35.27 21.75 34.25 22.77 34.25 24V33.75H24.5C23.27 33.75 22.25 34.77 22.25 36C22.25 37.23 23.27 38.25 24.5 38.25H34.25V48C34.25 49.23 35.27 50.25 36.5 50.25C37.73 50.25 38.75 49.23 38.75 48V38.25H48.5C49.73 38.25 50.75 37.23 50.75 36C50.75 34.77 49.73 33.75 48.5 33.75Z",fill:"#currentColor"})]}),"arrow-down-right":a.jsxs("svg",{width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.6797 18.5004L16.8897 13.2904C17.004 13.1778 17.0947 13.0436 17.1567 12.8957C17.2186 12.7477 17.2505 12.5889 17.2505 12.4284C17.2505 12.268 17.2186 12.1092 17.1567 11.9612C17.0947 11.8132 17.004 11.679 16.8897 11.5664L11.6797 6.35742",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M0.75 1.5V8.786C0.75 9.75218 1.13381 10.6788 1.81701 11.362C2.5002 12.0452 3.42682 12.429 4.393 12.429H17.24",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),logout:a.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M17.4395 15.12L19.9995 12.56L17.4395 10",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.75977 12.5596H19.9298",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.7598 20.5C7.33977 20.5 3.75977 17.5 3.75977 12.5C3.75977 7.5 7.33977 4.5 11.7598 4.5",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),image:a.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M36.7017 28.0338L31.485 15.8338C30.535 13.6004 29.1184 12.3338 27.5017 12.2504C25.9017 12.1671 24.3517 13.2838 23.1684 15.4171L20.0017 21.1004C19.335 22.3004 18.385 23.0171 17.3517 23.1004C16.3017 23.2004 15.2517 22.6504 14.4017 21.5671L14.035 21.1004C12.8517 19.6171 11.385 18.9004 9.88503 19.0504C8.38503 19.2004 7.10169 20.2338 6.25169 21.9171L3.36836 27.6671C2.33503 29.7504 2.43503 32.1671 3.65169 34.1338C4.86836 36.1004 6.98503 37.2838 9.30169 37.2838H30.5684C32.8017 37.2838 34.885 36.1671 36.1184 34.3004C37.385 32.4338 37.585 30.0838 36.7017 28.0338Z",fill:"#currentColor"}),a.jsx("path",{d:"M11.6177 13.9659C14.7289 13.9659 17.251 11.4438 17.251 8.33255C17.251 5.22135 14.7289 2.69922 11.6177 2.69922C8.5065 2.69922 5.98438 5.22135 5.98438 8.33255C5.98438 11.4438 8.5065 13.9659 11.6177 13.9659Z",fill:"#currentColor"})]}),"error-triangle-filled":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M10.2898 3.85996L1.81978 18C1.64514 18.3024 1.55274 18.6453 1.55177 18.9945C1.55079 19.3437 1.64127 19.6871 1.8142 19.9905C1.98714 20.2939 2.2365 20.5467 2.53748 20.7238C2.83847 20.9009 3.18058 20.9961 3.52978 21H20.4698C20.819 20.9961 21.1611 20.9009 21.4621 20.7238C21.7631 20.5467 22.0124 20.2939 22.1854 19.9905C22.3583 19.6871 22.4488 19.3437 22.4478 18.9945C22.4468 18.6453 22.3544 18.3024 22.1798 18L13.7098 3.85996C13.5315 3.56607 13.2805 3.32308 12.981 3.15444C12.6814 2.98581 12.3435 2.89722 11.9998 2.89722C11.656 2.89722 11.3181 2.98581 11.0186 3.15444C10.7191 3.32308 10.468 3.56607 10.2898 3.85996Z",fill:"#currentColor"}),a.jsx("path",{d:"M12 9V13",stroke:"",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 16V16.5",stroke:"",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),archive:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M19.5 10.22V19C19.5 21 19 22 16.5 22H7.5C5 22 4.5 21 4.5 19V10.22",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5 2H19C21 2 22 3 22 5V7C22 9 21 10 19 10H5C3 10 2 9 2 7V5C2 3 3 2 5 2Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.1797 14H13.8197",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),lock:a.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M16.0015 23.1338C17.2018 23.1338 18.1748 22.1607 18.1748 20.9604C18.1748 19.7601 17.2018 18.7871 16.0015 18.7871C14.8012 18.7871 13.8281 19.7601 13.8281 20.9604C13.8281 22.1607 14.8012 23.1338 16.0015 23.1338Z",fill:"#currentColor"}),a.jsx("path",{d:"M24.3746 12.706V11.0393C24.3746 7.43935 23.508 2.66602 16.0013 2.66602C8.49464 2.66602 7.62797 7.43935 7.62797 11.0393V12.706C3.89464 13.1727 2.66797 15.066 2.66797 19.7193V22.1993C2.66797 27.666 4.33464 29.3327 9.8013 29.3327H22.2013C27.668 29.3327 29.3346 27.666 29.3346 22.1993V19.7193C29.3346 15.066 28.108 13.1727 24.3746 12.706ZM16.0013 24.986C13.7746 24.986 11.9746 23.1727 11.9746 20.9594C11.9746 18.7327 13.788 16.9327 16.0013 16.9327C18.2146 16.9327 20.028 18.746 20.028 20.9594C20.028 23.186 18.228 24.986 16.0013 24.986ZM9.8013 12.586C9.69464 12.586 9.6013 12.586 9.49464 12.586V11.0393C9.49464 7.13268 10.6013 4.53268 16.0013 4.53268C21.4013 4.53268 22.508 7.13268 22.508 11.0393V12.5993C22.4013 12.5993 22.308 12.5993 22.2013 12.5993H9.8013V12.586Z",fill:"#currentColor"})]}),"lock-outline":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M6 10V8C6 4.69 7 2 12 2C17 2 18 4.69 18 8V10",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 18.5C13.3807 18.5 14.5 17.3807 14.5 16C14.5 14.6193 13.3807 13.5 12 13.5C10.6193 13.5 9.5 14.6193 9.5 16C9.5 17.3807 10.6193 18.5 12 18.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17 22H7C3 22 2 21 2 17V15C2 11 3 10 7 10H17C21 10 22 11 22 15V17C22 21 21 22 17 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),minus:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",children:a.jsx("path",{d:"M6 12h12",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-3":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M10.4478 6.71997L6.72778 3L3.00781 6.71997",fill:"#3F3F46"}),a.jsx("path",{d:"M10.4478 6.71997L6.72778 3L3.00781 6.71997",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M6.72656 21V3",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.5469 17.28L17.2669 21L20.9869 17.28",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17.2656 3V21",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),filter:a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M3.59896 1.40039H12.399C13.1323 1.40039 13.7323 2.00039 13.7323 2.73372V4.20039C13.7323 4.73372 13.399 5.40039 13.0656 5.73372L10.199 8.26706C9.79896 8.60039 9.53229 9.26706 9.53229 9.80039V12.6671C9.53229 13.0671 9.26563 13.6004 8.93229 13.8004L7.99896 14.4004C7.13229 14.9337 5.93229 14.3337 5.93229 13.2671V9.73372C5.93229 9.26706 5.66563 8.66706 5.39896 8.33372L2.86563 5.66706C2.53229 5.33372 2.26562 4.73372 2.26562 4.33372V2.80039C2.26562 2.00039 2.86563 1.40039 3.59896 1.40039Z",stroke:"#71717A",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.28667 1.40039L4 6.66706",stroke:"#71717A",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),export:a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M8.66797 7.33385L14.1346 1.86719",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M14.6648 4.53398V1.33398H11.4648",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.33203 1.33398H5.9987C2.66536 1.33398 1.33203 2.66732 1.33203 6.00065V10.0007C1.33203 13.334 2.66536 14.6673 5.9987 14.6673H9.9987C13.332 14.6673 14.6654 13.334 14.6654 10.0007V8.66732",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),pause:a.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M7.1 13.24V3.76C7.1 2.86 6.72 2.5 5.76 2.5H3.34C2.38 2.5 2 2.86 2 3.76V13.24C2 14.14 2.38 14.5 3.34 14.5H5.76C6.72 14.5 7.1 14.14 7.1 13.24Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.9984 13.24V3.76C13.9984 2.86 13.6184 2.5 12.6584 2.5H10.2384C9.2851 2.5 8.89844 2.86 8.89844 3.76V13.24C8.89844 14.14 9.27844 14.5 10.2384 14.5H12.6584C13.6184 14.5 13.9984 14.14 13.9984 13.24Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"check-circle":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.75 11.9999L10.58 14.8299L16.25 9.16992",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"money-icon":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M14.167 17.0846H5.83366C3.33366 17.0846 1.66699 15.8346 1.66699 12.918V7.08464C1.66699 4.16797 3.33366 2.91797 5.83366 2.91797H14.167C16.667 2.91797 18.3337 4.16797 18.3337 7.08464V12.918C18.3337 15.8346 16.667 17.0846 14.167 17.0846Z",fill:"#705BFA"}),a.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",fill:"#705BFA"}),a.jsx("path",{d:"M4.58301 12.7096C4.24134 12.7096 3.95801 12.4263 3.95801 12.0846V7.91797C3.95801 7.5763 4.24134 7.29297 4.58301 7.29297C4.92467 7.29297 5.20801 7.5763 5.20801 7.91797V12.0846C5.20801 12.4263 4.92467 12.7096 4.58301 12.7096Z",fill:"#705BFA"}),a.jsx("path",{d:"M15.417 12.7096C15.0753 12.7096 14.792 12.4263 14.792 12.0846V7.91797C14.792 7.5763 15.0753 7.29297 15.417 7.29297C15.7587 7.29297 16.042 7.5763 16.042 7.91797V12.0846C16.042 12.4263 15.7587 12.7096 15.417 12.7096Z",fill:"#705BFA"})]}),"check-icon":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M9.99935 18.3346C14.6017 18.3346 18.3327 14.6037 18.3327 10.0013C18.3327 5.39893 14.6017 1.66797 9.99935 1.66797C5.39698 1.66797 1.66602 5.39893 1.66602 10.0013C1.66602 14.6037 5.39698 18.3346 9.99935 18.3346Z",fill:"#currentColor"}),a.jsx("path",{d:"M8.81719 12.9846C8.65052 12.9846 8.49219 12.918 8.37552 12.8013L6.01719 10.443C5.77552 10.2013 5.77552 9.8013 6.01719 9.55964C6.25885 9.31797 6.65885 9.31797 6.90052 9.55964L8.81719 11.4763L13.1005 7.19297C13.3422 6.9513 13.7422 6.9513 13.9839 7.19297C14.2255 7.43464 14.2255 7.83463 13.9839 8.0763L9.25885 12.8013C9.14219 12.918 8.98385 12.9846 8.81719 12.9846Z",fill:"#currentColor"})]}),"clock-icon":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M9.99935 18.3346C14.6017 18.3346 18.3327 14.6037 18.3327 10.0013C18.3327 5.39893 14.6017 1.66797 9.99935 1.66797C5.39698 1.66797 1.66602 5.39893 1.66602 10.0013C1.66602 14.6037 5.39698 18.3346 9.99935 18.3346Z",fill:"#currentColor"}),a.jsx("path",{d:"M13.0909 13.2745C12.9826 13.2745 12.8742 13.2495 12.7742 13.1828L10.1909 11.6411C9.54922 11.2578 9.07422 10.4161 9.07422 9.67448V6.25781C9.07422 5.91615 9.35755 5.63281 9.69922 5.63281C10.0409 5.63281 10.3242 5.91615 10.3242 6.25781V9.67448C10.3242 9.97448 10.5742 10.4161 10.8326 10.5661L13.4159 12.1078C13.7159 12.2828 13.8076 12.6661 13.6326 12.9661C13.5076 13.1661 13.2992 13.2745 13.0909 13.2745Z",fill:"#currentColor"})]}),chart:a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M13.491 1.66797H6.50768C3.47435 1.66797 1.66602 3.4763 1.66602 6.50964V13.4846C1.66602 16.5263 3.47435 18.3346 6.50768 18.3346H13.4827C16.516 18.3346 18.3243 16.5263 18.3243 13.493V6.50964C18.3327 3.4763 16.5243 1.66797 13.491 1.66797Z",fill:"#currentColor"}),a.jsx("path",{d:"M5.83398 11.9596C5.49232 11.9596 5.20898 11.6763 5.20898 11.3346V8.66797C5.20898 8.3263 5.49232 8.04297 5.83398 8.04297C6.17565 8.04297 6.45898 8.3263 6.45898 8.66797V11.343C6.45898 11.6846 6.17565 11.9596 5.83398 11.9596Z",fill:"#currentColor"}),a.jsx("path",{d:"M10 13.4065C9.65833 13.4065 9.375 13.1232 9.375 12.7815V7.21484C9.375 6.87318 9.65833 6.58984 10 6.58984C10.3417 6.58984 10.625 6.87318 10.625 7.21484V12.7815C10.625 13.1232 10.3417 13.4065 10 13.4065Z",fill:"#currentColor"}),a.jsx("path",{d:"M14.166 11.9596C13.8243 11.9596 13.541 11.6763 13.541 11.3346V8.66797C13.541 8.3263 13.8243 8.04297 14.166 8.04297C14.5077 8.04297 14.791 8.3263 14.791 8.66797V11.343C14.791 11.6846 14.5077 11.9596 14.166 11.9596Z",fill:"#currentColor"})]}),google:a.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M29.074 13.3887H28V13.3333H16V18.6667H23.5354C22.436 21.7713 19.482 24 16 24C11.582 24 8.00002 20.418 8.00002 16C8.00002 11.582 11.582 7.99999 16 7.99999C18.0394 7.99999 19.8947 8.76932 21.3074 10.026L25.0787 6.25466C22.6974 4.03532 19.512 2.66666 16 2.66666C8.63669 2.66666 2.66669 8.63666 2.66669 16C2.66669 23.3633 8.63669 29.3333 16 29.3333C23.3634 29.3333 29.3334 23.3633 29.3334 16C29.3334 15.106 29.2414 14.2333 29.074 13.3887Z",fill:"#FFC107"}),a.jsx("path",{d:"M4.20398 9.79399L8.58465 13.0067C9.76998 10.072 12.6406 7.99999 16 7.99999C18.0393 7.99999 19.8946 8.76932 21.3073 10.026L25.0786 6.25466C22.6973 4.03532 19.512 2.66666 16 2.66666C10.8786 2.66666 6.43731 5.55799 4.20398 9.79399Z",fill:"#FF3D00"}),a.jsx("path",{d:"M16 29.3333C19.444 29.3333 22.5733 28.0153 24.9393 25.872L20.8127 22.38C19.4293 23.4327 17.7384 24.0019 16 24C12.532 24 9.58734 21.7887 8.478 18.7027L4.13 22.0527C6.33667 26.3707 10.818 29.3333 16 29.3333Z",fill:"#4CAF50"}),a.jsx("path",{d:"M29.074 13.3887H28V13.3333H16V18.6667H23.5353C23.0095 20.1443 22.0622 21.4355 20.8107 22.3807L20.8127 22.3793L24.9393 25.8713C24.6473 26.1367 29.3333 22.6667 29.3333 16C29.3333 15.106 29.2413 14.2333 29.074 13.3887Z",fill:"#1976D2"})]}),"tick-square":a.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M5.9987 15.1673H9.9987C13.332 15.1673 14.6654 13.834 14.6654 10.5007V6.50065C14.6654 3.16732 13.332 1.83398 9.9987 1.83398H5.9987C2.66536 1.83398 1.33203 3.16732 1.33203 6.50065V10.5007C1.33203 13.834 2.66536 15.1673 5.9987 15.1673Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5.16797 8.49995L7.05464 10.3866L10.8346 6.61328",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),calendar:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M16.7502 3.56V2C16.7502 1.59 16.4102 1.25 16.0002 1.25C15.5902 1.25 15.2502 1.59 15.2502 2V3.5H8.75023V2C8.75023 1.59 8.41023 1.25 8.00023 1.25C7.59023 1.25 7.25023 1.59 7.25023 2V3.56C4.55023 3.81 3.24023 5.42 3.04023 7.81C3.02023 8.1 3.26023 8.34 3.54023 8.34H20.4602C20.7502 8.34 20.9902 8.09 20.9602 7.81C20.7602 5.42 19.4502 3.81 16.7502 3.56Z",fill:"#currentColor"}),a.jsx("path",{d:"M20 9.83984H4C3.45 9.83984 3 10.2898 3 10.8398V16.9998C3 19.9998 4.5 21.9998 8 21.9998H16C19.5 21.9998 21 19.9998 21 16.9998V10.8398C21 10.2898 20.55 9.83984 20 9.83984ZM9.21 18.2098C9.16 18.2498 9.11 18.2998 9.06 18.3298C9 18.3698 8.94 18.3998 8.88 18.4198C8.82 18.4498 8.76 18.4698 8.7 18.4798C8.63 18.4898 8.57 18.4998 8.5 18.4998C8.37 18.4998 8.24 18.4698 8.12 18.4198C7.99 18.3698 7.89 18.2998 7.79 18.2098C7.61 18.0198 7.5 17.7598 7.5 17.4998C7.5 17.2398 7.61 16.9798 7.79 16.7898C7.89 16.6998 7.99 16.6298 8.12 16.5798C8.3 16.4998 8.5 16.4798 8.7 16.5198C8.76 16.5298 8.82 16.5498 8.88 16.5798C8.94 16.5998 9 16.6298 9.06 16.6698C9.11 16.7098 9.16 16.7498 9.21 16.7898C9.39 16.9798 9.5 17.2398 9.5 17.4998C9.5 17.7598 9.39 18.0198 9.21 18.2098ZM9.21 14.7098C9.02 14.8898 8.76 14.9998 8.5 14.9998C8.24 14.9998 7.98 14.8898 7.79 14.7098C7.61 14.5198 7.5 14.2598 7.5 13.9998C7.5 13.7398 7.61 13.4798 7.79 13.2898C8.07 13.0098 8.51 12.9198 8.88 13.0798C9.01 13.1298 9.12 13.1998 9.21 13.2898C9.39 13.4798 9.5 13.7398 9.5 13.9998C9.5 14.2598 9.39 14.5198 9.21 14.7098ZM12.71 18.2098C12.52 18.3898 12.26 18.4998 12 18.4998C11.74 18.4998 11.48 18.3898 11.29 18.2098C11.11 18.0198 11 17.7598 11 17.4998C11 17.2398 11.11 16.9798 11.29 16.7898C11.66 16.4198 12.34 16.4198 12.71 16.7898C12.89 16.9798 13 17.2398 13 17.4998C13 17.7598 12.89 18.0198 12.71 18.2098ZM12.71 14.7098C12.66 14.7498 12.61 14.7898 12.56 14.8298C12.5 14.8698 12.44 14.8998 12.38 14.9198C12.32 14.9498 12.26 14.9698 12.2 14.9798C12.13 14.9898 12.07 14.9998 12 14.9998C11.74 14.9998 11.48 14.8898 11.29 14.7098C11.11 14.5198 11 14.2598 11 13.9998C11 13.7398 11.11 13.4798 11.29 13.2898C11.38 13.1998 11.49 13.1298 11.62 13.0798C11.99 12.9198 12.43 13.0098 12.71 13.2898C12.89 13.4798 13 13.7398 13 13.9998C13 14.2598 12.89 14.5198 12.71 14.7098ZM16.21 18.2098C16.02 18.3898 15.76 18.4998 15.5 18.4998C15.24 18.4998 14.98 18.3898 14.79 18.2098C14.61 18.0198 14.5 17.7598 14.5 17.4998C14.5 17.2398 14.61 16.9798 14.79 16.7898C15.16 16.4198 15.84 16.4198 16.21 16.7898C16.39 16.9798 16.5 17.2398 16.5 17.4998C16.5 17.7598 16.39 18.0198 16.21 18.2098ZM16.21 14.7098C16.16 14.7498 16.11 14.7898 16.06 14.8298C16 14.8698 15.94 14.8998 15.88 14.9198C15.82 14.9498 15.76 14.9698 15.7 14.9798C15.63 14.9898 15.56 14.9998 15.5 14.9998C15.24 14.9998 14.98 14.8898 14.79 14.7098C14.61 14.5198 14.5 14.2598 14.5 13.9998C14.5 13.7398 14.61 13.4798 14.79 13.2898C14.89 13.1998 14.99 13.1298 15.12 13.0798C15.3 12.9998 15.5 12.9798 15.7 13.0198C15.76 13.0298 15.82 13.0498 15.88 13.0798C15.94 13.0998 16 13.1298 16.06 13.1698C16.11 13.2098 16.16 13.2498 16.21 13.2898C16.39 13.4798 16.5 13.7398 16.5 13.9998C16.5 14.2598 16.39 14.5198 16.21 14.7098Z",fill:"#currentColor"})]}),refresh:a.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M15.05 21.67C19.34 20.54 22.5 16.64 22.5 12C22.5 6.48 18.06 2 12.5 2C5.83 2 2.5 7.56 2.5 7.56M2.5 7.56V3M2.5 7.56H4.51H6.94",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.5 12C2.5 17.52 6.98 22 12.5 22",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"3 3"})]}),"design-tools":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M2.95988 10.7201L3.87988 11.6201L11.6299 3.88012L10.6999 2.95012C9.91988 2.17012 9.10988 1.78012 8.30988 1.78012C7.50988 1.78012 6.69988 2.17012 5.91988 2.95012L2.95988 5.91012C1.36988 7.51012 1.36988 9.12012 2.95988 10.7201Z",fill:"#currentColor"}),a.jsx("path",{d:"M13.31 21.0701C14.88 22.6401 16.53 22.6401 18.1 21.0701L21.07 18.1101C22.63 16.5401 22.63 14.8901 21.07 13.3201L20.15 12.4001L12.4 20.1501L13.31 21.0701Z",fill:"#currentColor"}),a.jsx("path",{d:"M2.18991 20.0599C3.49991 16.7899 6.48991 12.5199 9.33991 9.72991C9.74991 12.3099 11.8099 14.3299 14.4099 14.6899C11.6099 17.5499 7.30991 20.5799 4.02991 21.8999C3.44991 22.1199 2.86991 21.9499 2.50991 21.5899C2.12991 21.2099 1.94991 20.6399 2.18991 20.0599Z",fill:"#currentColor"}),a.jsx("path",{d:"M10.2199 8.91004C10.4199 8.74004 10.6199 8.57004 10.8199 8.41004L12.6099 6.98004C12.6099 7.01004 12.6199 7.05004 12.6199 7.09004C12.7599 8.16004 13.2599 9.15004 14.0699 9.96004C14.8899 10.78 15.9099 11.28 17.0299 11.42C17.0599 11.42 17.0999 11.43 17.1299 11.43L15.6799 13.26C15.5399 13.44 15.3899 13.61 15.2299 13.79L14.5499 13.7C12.3999 13.4 10.6699 11.71 10.3299 9.57004L10.2199 8.91004Z",fill:"#currentColor"}),a.jsx("path",{d:"M13.57 6.38018C13.57 5.28018 13.99 4.23018 14.79 3.44018C15.4 2.82018 16.22 2.40018 17.22 2.28018L19.67 2.01018C21.01 1.86018 22.16 3.01018 22.01 4.36018L21.74 6.82018C21.5 9.01018 19.67 10.4102 17.73 10.4502C17.54 10.4602 17.33 10.4502 17.13 10.4302C16.28 10.3202 15.46 9.93018 14.77 9.25018C14.1 8.58018 13.72 7.79018 13.61 6.96018C13.59 6.76018 13.57 6.57018 13.57 6.38018Z",fill:"#currentColor"})]}),"design-tools-linear":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsxs("g",{clipPath:"url(#clip0_1215_17258)",children:[a.jsx("path",{d:"M1.82539 16.7168C3.10873 13.5168 6.32539 9.16677 9.01706 7.00844L10.6587 5.69177C10.8671 5.54177 11.0754 5.40844 11.3087 5.31677C11.3087 5.46677 11.3171 5.63344 11.3421 5.79177C11.4337 6.49177 11.7504 7.14177 12.3087 7.7001C12.8754 8.26677 13.5671 8.6001 14.2754 8.69177C14.4421 8.7001 14.6087 8.71677 14.7754 8.7001C14.6837 8.95844 14.5421 9.2001 14.3671 9.4001L13.0671 11.0418C10.9171 13.7334 6.55039 16.9668 3.35873 18.2418C2.86706 18.4251 2.39206 18.2918 2.09206 17.9834C1.77539 17.6751 1.62539 17.2001 1.82539 16.7168Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.3083 5.31683C11.3083 4.40016 11.6583 3.52516 12.3166 2.8585C12.8249 2.35016 13.5166 2.00016 14.3416 1.89183L16.3916 1.66683C17.5083 1.54183 18.4666 2.49183 18.3333 3.62516L18.1083 5.67516C17.9083 7.50016 16.3833 8.66683 14.7666 8.70016C14.5999 8.70849 14.4249 8.70016 14.2666 8.69183C13.5583 8.60016 12.8666 8.27516 12.2999 7.70016C11.7416 7.14183 11.4249 6.49183 11.3333 5.79183C11.3249 5.6335 11.3083 5.47516 11.3083 5.31683Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.13255 7.94163C8.13255 10.1166 9.89922 11.8833 12.0742 11.8833",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M3.23372 9.3916L2.61706 8.78327C1.37539 7.5416 1.37539 6.3166 2.61706 5.07493L5.08372 2.60827C6.30872 1.38327 7.55039 1.38327 8.77539 2.60827",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M17.4074 11.2417C18.6324 12.4834 18.6324 13.7084 17.4074 14.95L14.9408 17.4167C13.7158 18.6417 12.4741 18.6417 11.2491 17.4167L10.6324 16.8",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M10.6257 16.7915L13.709 13.7082",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M3.23255 9.3916L5.69922 6.93327",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),a.jsx("defs",{children:a.jsx("clipPath",{id:"clip0_1215_17258",children:a.jsx("rect",{width:"20",height:"20",fill:"white",transform:"matrix(-1 0 0 -1 20 20)"})})})]}),building:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M1 22H23",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M19.78 22.0098V17.5498",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M19.8001 10.8901C18.5801 10.8901 17.6001 11.8701 17.6001 13.0901V15.3601C17.6001 16.5801 18.5801 17.5601 19.8001 17.5601C21.0201 17.5601 22.0001 16.5801 22.0001 15.3601V13.0901C22.0001 11.8701 21.0201 10.8901 19.8001 10.8901Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.1001 21.9998V6.02979C2.1001 4.01979 3.10015 3.00977 5.09015 3.00977H11.3201C13.3101 3.00977 14.3001 4.01979 14.3001 6.02979V21.9998",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5.80005 8.25H10.7501",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5.80005 12H10.7501",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.25 22V18.25",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),book:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M22 16.7402V4.67019C22 3.47019 21.02 2.58019 19.83 2.68019H19.77C17.67 2.86019 14.48 3.93019 12.7 5.05019L12.53 5.16019C12.24 5.34019 11.76 5.34019 11.47 5.16019L11.22 5.01019C9.44 3.90019 6.26 2.84019 4.16 2.67019C2.97 2.57019 2 3.47019 2 4.66019V16.7402C2 17.7002 2.78 18.6002 3.74 18.7202L4.03 18.7602C6.2 19.0502 9.55 20.1502 11.47 21.2002L11.51 21.2202C11.78 21.3702 12.21 21.3702 12.47 21.2202C14.39 20.1602 17.75 19.0502 19.93 18.7602L20.26 18.7202C21.22 18.6002 22 17.7002 22 16.7402Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 5.49023V20.4902",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.75 8.49023H5.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.5 11.4902H5.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),menu:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M17.5401 8.31014C18.8987 8.31014 20.0001 7.20876 20.0001 5.85014C20.0001 4.49152 18.8987 3.39014 17.5401 3.39014C16.1814 3.39014 15.0801 4.49152 15.0801 5.85014C15.0801 7.20876 16.1814 8.31014 17.5401 8.31014Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M6.46001 8.31014C7.81863 8.31014 8.92 7.20876 8.92 5.85014C8.92 4.49152 7.81863 3.39014 6.46001 3.39014C5.10139 3.39014 4 4.49152 4 5.85014C4 7.20876 5.10139 8.31014 6.46001 8.31014Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17.5401 20.6099C18.8987 20.6099 20.0001 19.5086 20.0001 18.1499C20.0001 16.7913 18.8987 15.6899 17.5401 15.6899C16.1814 15.6899 15.0801 16.7913 15.0801 18.1499C15.0801 19.5086 16.1814 20.6099 17.5401 20.6099Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M6.46001 20.6099C7.81863 20.6099 8.92 19.5086 8.92 18.1499C8.92 16.7913 7.81863 15.6899 6.46001 15.6899C5.10139 15.6899 4 16.7913 4 18.1499C4 19.5086 5.10139 20.6099 6.46001 20.6099Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),profile:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.1601 10.87C12.0601 10.86 11.9401 10.86 11.8301 10.87C9.45006 10.79 7.56006 8.84 7.56006 6.44C7.56006 3.99 9.54006 2 12.0001 2C14.4501 2 16.4401 3.99 16.4401 6.44C16.4301 8.84 14.5401 10.79 12.1601 10.87Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.15997 14.56C4.73997 16.18 4.73997 18.82 7.15997 20.43C9.90997 22.27 14.42 22.27 17.17 20.43C19.59 18.81 19.59 16.17 17.17 14.56C14.43 12.73 9.91997 12.73 7.15997 14.56Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),scroll:a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M7.4974 18.3334H12.4974C16.6641 18.3334 18.3307 16.6667 18.3307 12.5001V7.50008C18.3307 3.33341 16.6641 1.66675 12.4974 1.66675H7.4974C3.33073 1.66675 1.66406 3.33341 1.66406 7.50008V12.5001C1.66406 16.6667 3.33073 18.3334 7.4974 18.3334Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.99844 7.4751L5.92344 9.5501C5.68177 9.79176 5.68177 10.2001 5.92344 10.4418L7.99844 12.5168",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 7.4751L14.075 9.5501C14.3167 9.79176 14.3167 10.2001 14.075 10.4418L12 12.5168",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"programming-arrows":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M15.8359 13.3333V5.41667C15.8359 4.5 15.0859 3.75 14.1693 3.75H9.58594",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.6641 1.66675L9.16406 3.75008L11.6641 5.83341",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M15.8359 18.3333C17.2167 18.3333 18.3359 17.214 18.3359 15.8333C18.3359 14.4525 17.2167 13.3333 15.8359 13.3333C14.4552 13.3333 13.3359 14.4525 13.3359 15.8333C13.3359 17.214 14.4552 18.3333 15.8359 18.3333Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4.16406 6.66675V14.5834C4.16406 15.5001 4.91406 16.2501 5.83073 16.2501H10.4141",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.33594 18.3334L10.8359 16.2501L8.33594 14.1667",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4.16406 6.66675C5.54477 6.66675 6.66406 5.54746 6.66406 4.16675C6.66406 2.78604 5.54477 1.66675 4.16406 1.66675C2.78335 1.66675 1.66406 2.78604 1.66406 4.16675C1.66406 5.54746 2.78335 6.66675 4.16406 6.66675Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"chart-square":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M8.42394 9.29175H6.21561C5.69061 9.29175 5.26562 9.71671 5.26562 10.2417V14.5084H8.42394V9.29175V9.29175Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.6307 5.5H9.36405C8.83905 5.5 8.41406 5.92501 8.41406 6.45001V14.5H11.5724V6.45001C11.5724 5.92501 11.1557 5.5 10.6307 5.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.7865 10.7083H11.5781V14.5H14.7365V11.6583C14.7281 11.1333 14.3031 10.7083 13.7865 10.7083Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.4974 18.3334H12.4974C16.6641 18.3334 18.3307 16.6667 18.3307 12.5001V7.50008C18.3307 3.33341 16.6641 1.66675 12.4974 1.66675H7.4974C3.33073 1.66675 1.66406 3.33341 1.66406 7.50008V12.5001C1.66406 16.6667 3.33073 18.3334 7.4974 18.3334Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"not-authorised":a.jsx("svg",{width:"567",height:"477",viewBox:"0 0 567 477",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsxs("g",{id:"Wallet is Empty",children:[a.jsx("path",{id:"Fill 1",fillRule:"evenodd",clipRule:"evenodd",d:"M381.279 454.698C381.279 458.397 333.675 461.397 274.952 461.397C216.228 461.397 168.621 458.397 168.621 454.698C168.621 451.001 216.228 448.001 274.952 448.001C333.675 448.001 381.279 451.001 381.279 454.698Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 3",d:"M261.521 24.3588C203.517 29.269 182.198 78.3658 199.663 106.985C211.986 127.177 232.868 154.466 271.795 147.92C310.719 141.373 313.999 105.349 293.499 100.449C272.999 95.5506 199.968 118.404 208.221 171.199C214.179 209.292 265.822 220.272 265.822 220.272",stroke:"#DCDCE2",strokeWidth:"1.74009",strokeDasharray:"6.09",fill:"none"}),a.jsx("path",{id:"Fill 13",fillRule:"evenodd",clipRule:"evenodd",d:"M307.202 7.73229C305.109 7.22812 303.812 5.11772 304.316 3.00409C304.818 0.905003 306.933 -0.395817 309.024 0.108351C311.127 0.615752 312.411 2.73423 311.911 4.83493C311.405 6.94695 309.306 8.23807 307.202 7.73229Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 25",d:"M19.5938 265.483V270.506",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 27",d:"M9.54492 270.507L12.8939 273.856",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 29",d:"M4.52344 280.554H9.54685",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 31",d:"M9.54492 290.6L12.8939 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 33",d:"M19.5938 295.623V290.6",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 35",d:"M29.64 290.6L26.291 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 37",d:"M34.6601 280.554H29.6367",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 39",d:"M29.64 270.507L26.291 273.856",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 41",d:"M277.465 59.5231V62.872",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 43",d:"M269.092 67.8953H272.441",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 45",d:"M277.465 77.9412V74.5922",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 47",d:"M287.505 69.5707H284.156",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 49",d:"M93.2695 191.806V196.829",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 51",d:"M78.1992 206.877H83.2226",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 53",d:"M91.5938 220.273V215.249",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 55",d:"M106.666 206.877H101.643",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 57",d:"M434.86 367.625C438.559 367.625 441.558 370.624 441.558 374.324C441.558 378.022 438.559 381.021 434.86 381.021C431.161 381.021 428.162 378.022 428.162 374.324",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),a.jsx("path",{id:"Stroke 59",d:"M466.564 458.951C467.419 464.931 463.286 470.473 457.335 471.33C451.388 472.187 445.872 468.035 445.02 462.055C444.167 456.074 448.298 450.531 454.249 449.674",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),a.jsx("path",{id:"Fill 61",fillRule:"evenodd",clipRule:"evenodd",d:"M466.676 303.995C470.736 302.711 476.957 297.684 478.398 292.275C479.703 297.057 485.177 302.711 490.118 303.141C484.558 305.137 479.241 311.063 478.398 315.717C477.823 310.973 470.471 304.687 466.676 303.995Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 63",fillRule:"evenodd",clipRule:"evenodd",d:"M46.3828 365.113C48.4134 364.471 51.5238 361.957 52.2443 359.253C52.8969 361.643 55.633 364.471 58.1041 364.686C55.3233 365.683 52.665 368.646 52.2443 370.974C51.9561 368.602 48.2809 365.458 46.3828 365.113Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 65",fillRule:"evenodd",clipRule:"evenodd",d:"M83.2246 143.247C83.2246 146.023 80.975 148.271 78.2011 148.271C75.4257 148.271 73.1777 146.023 73.1777 143.247C73.1777 140.472 75.4257 138.224 78.2011 138.224C80.975 138.224 83.2246 140.472 83.2246 143.247Z",fill:"#D1D9E0"}),a.jsx("path",{id:"Fill 69",fillRule:"evenodd",clipRule:"evenodd",d:"M565.472 133.198C565.472 136.899 562.474 139.897 558.775 139.897C555.074 139.897 552.076 136.899 552.076 133.198C552.076 129.499 555.074 126.501 558.775 126.501C562.474 126.501 565.472 129.499 565.472 133.198Z",fill:"#EBECEF"}),a.jsx("path",{id:"Stroke 73",fillRule:"evenodd",clipRule:"evenodd",d:"M180.344 108.083C180.344 110.858 178.094 113.106 175.32 113.106C172.545 113.106 170.297 110.858 170.297 108.083C170.297 105.308 172.545 103.06 175.32 103.06C178.094 103.06 180.344 105.308 180.344 108.083Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),a.jsx("path",{id:"Stroke 75",fillRule:"evenodd",clipRule:"evenodd",d:"M102.348 425.793C98.8919 427.108 95.0247 425.372 93.7097 421.916C92.393 418.459 94.1305 414.592 97.5871 413.277C101.044 411.96 104.911 413.698 106.226 417.154C107.541 420.611 105.805 424.478 102.348 425.793Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),a.jsx("g",{id:"lock",children:a.jsxs("g",{id:"vuesax/bold/lock",children:[a.jsx("path",{id:"Vector",d:"M284.131 335.746C297.112 335.746 307.636 325.222 307.636 312.24C307.636 299.259 297.112 288.735 284.131 288.735C271.149 288.735 260.625 299.259 260.625 312.24C260.625 325.222 271.149 335.746 284.131 335.746Z",fill:"#D4D4D8"}),a.jsx("path",{id:"Vector_2",d:"M374.69 222.977V204.951C374.69 166.015 365.316 114.39 284.128 114.39C202.94 114.39 193.567 166.015 193.567 204.951V222.977C153.189 228.024 139.922 248.501 139.922 298.829V325.652C139.922 384.776 157.948 402.802 217.072 402.802H351.184C410.308 402.802 428.334 384.776 428.334 325.652V298.829C428.334 248.501 415.067 228.024 374.69 222.977ZM284.128 355.791C260.046 355.791 240.578 336.179 240.578 312.24C240.578 288.158 260.19 268.69 284.128 268.69C308.066 268.69 327.678 288.302 327.678 312.24C327.678 336.323 308.21 355.791 284.128 355.791ZM217.072 221.679C215.919 221.679 214.909 221.679 213.755 221.679V204.951C213.755 162.699 225.725 134.578 284.128 134.578C342.532 134.578 354.501 162.699 354.501 204.951V221.823C353.347 221.823 352.338 221.823 351.184 221.823H217.072V221.679Z",fill:"#D4D4D8"})]})})]})}),"money-tick":a.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M6.09593 6.67136C6.72709 6.67136 7.23874 6.1597 7.23874 5.52855C7.23874 4.89739 6.72709 4.38574 6.09593 4.38574C5.46478 4.38574 4.95312 4.89739 4.95312 5.52855C4.95312 6.1597 5.46478 6.67136 6.09593 6.67136Z",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.07031 4.38574V6.67136",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4.71948 8.27136C4.71948 8.6142 4.62349 8.93876 4.45436 9.21303C4.13894 9.74329 3.55839 10.0999 2.89099 10.0999C2.22359 10.0999 1.64304 9.74329 1.32762 9.21303C1.15849 8.93876 1.0625 8.6142 1.0625 8.27136C1.0625 7.26112 1.88075 6.44287 2.89099 6.44287C3.90123 6.44287 4.71948 7.26112 4.71948 8.27136Z",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.17969 8.27121L2.63223 8.72376L3.60591 7.82324",stroke:"#currentColor",strokeWidth:"1.02853",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M1.52344 7.03755V4.15768C1.52344 2.55775 2.43768 1.87207 3.80905 1.87207H8.38028C9.75164 1.87207 10.6659 2.55775 10.6659 4.15768V6.90042C10.6659 8.50035 9.75164 9.18603 8.38028 9.18603H4.49473",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),download:a.jsxs("svg",{width:"19",height:"19",viewBox:"0 0 19 19",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.7653 17.1156H6.84114C3.13289 17.1156 1.54688 15.5296 1.54688 11.8213V11.7232C1.54688 8.36988 2.86855 6.75366 5.82911 6.47422C6.13121 6.45156 6.4182 6.67813 6.44841 6.98778C6.47862 7.29743 6.25205 7.57687 5.93485 7.60708C3.56338 7.82611 2.67974 8.94387 2.67974 11.7307V11.8289C2.67974 14.9027 3.76729 15.9903 6.84114 15.9903H11.7653C14.8392 15.9903 15.9267 14.9027 15.9267 11.8289V11.7307C15.9267 8.92876 15.028 7.811 12.6112 7.60708C12.3016 7.57687 12.0674 7.30499 12.0976 6.99534C12.1279 6.68569 12.3922 6.45156 12.7094 6.48177C15.7153 6.73855 17.0596 8.36233 17.0596 11.7383V11.8365C17.0596 15.5296 15.4736 17.1156 11.7653 17.1156Z",fill:"#71717A"}),a.jsx("path",{d:"M9.30081 12.1143C8.99116 12.1143 8.73438 11.8575 8.73438 11.5479V1.82034C8.73438 1.51069 8.99116 1.25391 9.30081 1.25391C9.61046 1.25391 9.86724 1.51069 9.86724 1.82034V11.5479C9.86724 11.8651 9.61046 12.1143 9.30081 12.1143Z",fill:"#292D32"}),a.jsx("path",{d:"M9.29969 12.9618C9.1562 12.9618 9.0127 12.909 8.89941 12.7957L6.36934 10.2656C6.15032 10.0466 6.15032 9.68407 6.36934 9.46505C6.58836 9.24603 6.95088 9.24603 7.1699 9.46505L9.29969 11.5948L11.4295 9.46505C11.6485 9.24603 12.011 9.24603 12.23 9.46505C12.4491 9.68407 12.4491 10.0466 12.23 10.2656L9.69997 12.7957C9.58669 12.909 9.44319 12.9618 9.29969 12.9618Z",fill:"#292D32"})]}),receipt:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M22 6V8.42C22 10 21 11 19.42 11H16V4.01C16 2.9 16.91 2 18.02 2C19.11 2.01 20.11 2.45 20.83 3.17C21.55 3.9 22 4.9 22 6Z",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2 7V21C2 21.83 2.93998 22.3 3.59998 21.8L5.31 20.52C5.71 20.22 6.27 20.26 6.63 20.62L8.28998 22.29C8.67998 22.68 9.32002 22.68 9.71002 22.29L11.39 20.61C11.74 20.26 12.3 20.22 12.69 20.52L14.4 21.8C15.06 22.29 16 21.82 16 21V4C16 2.9 16.9 2 18 2H7H6C3 2 2 3.79 2 6V7Z",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"user-add":a.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12 12.5C14.7614 12.5 17 10.2614 17 7.5C17 4.73858 14.7614 2.5 12 2.5C9.23858 2.5 7 4.73858 7 7.5C7 10.2614 9.23858 12.5 12 12.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M3.40991 22.5C3.40991 18.63 7.25991 15.5 11.9999 15.5C12.9599 15.5 13.8899 15.63 14.7599 15.87",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M22 18.5C22 18.82 21.96 19.13 21.88 19.43C21.79 19.83 21.63 20.22 21.42 20.56C20.73 21.72 19.46 22.5 18 22.5C16.97 22.5 16.04 22.11 15.34 21.47C15.04 21.21 14.78 20.9 14.58 20.56C14.21 19.96 14 19.25 14 18.5C14 17.42 14.43 16.43 15.13 15.71C15.86 14.96 16.88 14.5 18 14.5C19.18 14.5 20.25 15.01 20.97 15.83C21.61 16.54 22 17.48 22 18.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M19.49 18.48H16.51",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M18 17.02V20.01",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"logo-placeholder":a.jsxs("svg",{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("rect",{x:"0.5",y:"0.5",width:"41",height:"41",rx:"14.5",fill:"#F7FEE7"}),a.jsx("rect",{x:"0.5",y:"0.5",width:"41",height:"41",rx:"14.5",stroke:"#84CC16"}),a.jsx("path",{d:"M21.5 31.0003H13.08C11.92 31.0003 10.97 30.0703 10.97 28.9303V14.0903C10.97 11.4703 12.92 10.2803 15.31 11.4503L19.75 13.6303C20.71 14.1003 21.5 15.3503 21.5 16.4103V31.0003Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M30.97 24.0599V27.8399C30.97 29.9999 29.97 30.9999 27.81 30.9999H21.5V19.4199L21.97 19.5199L26.47 20.5299L28.5 20.9799C29.82 21.2699 30.9 21.9499 30.96 23.8699C30.97 23.9299 30.97 23.9899 30.97 24.0599Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M14.5 18H17.97",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M14.5 22H17.97",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M26.47 20.53V23.75C26.47 24.99 25.46 26 24.22 26C22.98 26 21.97 24.99 21.97 23.75V19.52L26.47 20.53Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M30.96 23.8703C30.9 25.0503 29.92 26.0003 28.72 26.0003C27.48 26.0003 26.47 24.9903 26.47 23.7503V20.5303L28.5 20.9803C29.82 21.2703 30.9 21.9503 30.96 23.8703Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),verify:a.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M6.08594 8.00005L7.6926 9.61339L10.9126 6.38672",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.66594 1.63338C8.12594 1.24005 8.87927 1.24005 9.34594 1.63338L10.3993 2.54005C10.5993 2.71338 10.9726 2.85338 11.2393 2.85338H12.3726C13.0793 2.85338 13.6593 3.43338 13.6593 4.14005V5.27338C13.6593 5.53338 13.7993 5.91338 13.9726 6.11338L14.8793 7.16671C15.2726 7.62671 15.2726 8.38005 14.8793 8.84671L13.9726 9.90005C13.7993 10.1 13.6593 10.4734 13.6593 10.74V11.8734C13.6593 12.58 13.0793 13.16 12.3726 13.16H11.2393C10.9793 13.16 10.5993 13.3 10.3993 13.4734L9.34594 14.38C8.88594 14.7734 8.1326 14.7734 7.66594 14.38L6.6126 13.4734C6.4126 13.3 6.03927 13.16 5.7726 13.16H4.61927C3.9126 13.16 3.3326 12.58 3.3326 11.8734V10.7334C3.3326 10.4734 3.1926 10.1 3.02594 9.90005L2.12594 8.84005C1.73927 8.38005 1.73927 7.63338 2.12594 7.17338L3.02594 6.11338C3.1926 5.91338 3.3326 5.54005 3.3326 5.28005V4.13338C3.3326 3.42671 3.9126 2.84671 4.61927 2.84671H5.7726C6.0326 2.84671 6.4126 2.70671 6.6126 2.53338L7.66594 1.63338Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),infinity:a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8.00057 7.99968C7.63475 8.7098 7.14429 9.34839 6.55257 9.88501C6.17966 10.258 5.70451 10.5121 5.1872 10.615C4.6699 10.718 4.13368 10.6652 3.64636 10.4634C3.15905 10.2616 2.74252 9.91983 2.44947 9.48128C2.15642 9.04273 2 8.52713 2 7.99968C2 7.47222 2.15642 6.95662 2.44947 6.51807C2.74252 6.07952 3.15905 5.73773 3.64636 5.53592C4.13368 5.33411 4.6699 5.28135 5.1872 5.38431C5.70451 5.48727 6.17966 5.74132 6.55257 6.11434C7.14429 6.65096 7.63475 7.28956 8.00057 7.99968ZM8.00057 7.99968C8.36639 7.28956 8.85685 6.65096 9.44857 6.11434C9.82148 5.74132 10.2966 5.48727 10.8139 5.38431C11.3312 5.28135 11.8675 5.33411 12.3548 5.53592C12.8421 5.73773 13.2586 6.07952 13.5517 6.51807C13.8447 6.95662 14.0011 7.47222 14.0011 7.99968C14.0011 8.52713 13.8447 9.04273 13.5517 9.48128C13.2586 9.91983 12.8421 10.2616 12.3548 10.4634C11.8675 10.6652 11.3312 10.718 10.8139 10.615C10.2966 10.5121 9.82148 10.258 9.44857 9.88501C8.85685 9.34839 8.36639 8.7098 8.00057 7.99968Z",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),anchor:a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8 14.6663C7.32222 14.6663 6.62778 14.5441 5.91667 14.2997C5.20556 14.0552 4.56111 13.7219 3.98333 13.2997C3.40556 12.8775 2.93067 12.383 2.55867 11.8163C2.18667 11.2497 2.00044 10.6441 2 9.99967V7.99967L4.66667 9.99967L3.63333 11.033C3.95556 11.5997 4.46667 12.0886 5.16667 12.4997C5.86667 12.9108 6.58889 13.1719 7.33333 13.283V7.33301H5.33333V5.99967H7.33333V5.21634C6.94444 5.0719 6.62511 4.83012 6.37533 4.49101C6.12556 4.1519 6.00044 3.7659 6 3.33301C6 2.77745 6.19444 2.30523 6.58333 1.91634C6.97222 1.52745 7.44444 1.33301 8 1.33301C8.55556 1.33301 9.02778 1.52745 9.41667 1.91634C9.80556 2.30523 10 2.77745 10 3.33301C10 3.76634 9.87511 4.15256 9.62533 4.49167C9.37556 4.83079 9.056 5.07234 8.66667 5.21634V5.99967H10.6667V7.33301H8.66667V13.283C9.41111 13.1719 10.1333 12.9108 10.8333 12.4997C11.5333 12.0886 12.0444 11.5997 12.3667 11.033L11.3333 9.99967L14 7.99967V9.99967C14 10.6441 13.814 11.2497 13.442 11.8163C13.07 12.383 12.5949 12.8775 12.0167 13.2997C11.4384 13.7219 10.794 14.0552 10.0833 14.2997C9.37267 14.5441 8.67822 14.6663 8 14.6663ZM8 3.99967C8.18889 3.99967 8.34733 3.9359 8.47533 3.80834C8.60333 3.68079 8.66711 3.52234 8.66667 3.33301C8.66622 3.14367 8.60222 2.98545 8.47467 2.85834C8.34711 2.73123 8.18889 2.66723 8 2.66634C7.81111 2.66545 7.65289 2.72945 7.52533 2.85834C7.39778 2.98723 7.33378 3.14545 7.33333 3.33301C7.33289 3.52056 7.39689 3.67901 7.52533 3.80834C7.65378 3.93767 7.812 4.00145 8 3.99967Z",fill:"#none"})}),"increment-quota":a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M6.66634 2.99967C6.66634 2.0792 5.92014 1.33301 4.99967 1.33301C4.07921 1.33301 3.33301 2.0792 3.33301 2.99967V6.33301C3.33301 7.25347 4.07921 7.99967 4.99967 7.99967C5.92014 7.99967 6.66634 7.25347 6.66634 6.33301V2.99967Z",stroke:"#currentColor",strokeWidth:"1.33333"}),a.jsx("path",{d:"M11.9485 7.33301V1.33301L9.88574 2.83301",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.667 10.667L12.667 12.667L10.667 14.667",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12.6667 12.667H5",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})]}),"override-quota":a.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M3.51643 8.61065V7.09422C3.51643 5.88767 3.99573 4.73054 4.84889 3.87738C5.70205 3.02422 6.85918 2.54492 8.06573 2.54492C9.27227 2.54492 10.4294 3.02422 11.2826 3.87738C12.1357 4.73054 12.2359 5.19868 12.615 5.95689M2 13.1599C2 13.5621 2.15977 13.9478 2.44415 14.2322C2.72854 14.5166 3.11425 14.6764 3.51643 14.6764C3.91861 14.6764 4.30432 14.5166 4.58871 14.2322C4.8731 13.9478 5.03286 13.5621 5.03286 13.1599C5.03286 12.7578 4.8731 12.372 4.58871 12.0877C4.30432 11.8033 3.91861 11.6435 3.51643 11.6435C3.11425 11.6435 2.72854 11.8033 2.44415 12.0877C2.15977 12.372 2 12.7578 2 13.1599Z",stroke:"#currentColor",strokeWidth:"1.51643",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.96094 5.52148L12.8454 6.94546L14.2694 4.06096",stroke:"#currentColor",strokeWidth:"1.51643",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.2906 14.6753V10.126L11.7266 11.2633",stroke:"#currentColor",strokeWidth:"1.36479",strokeLinecap:"round",strokeLinejoin:"round"})]}),sandbox:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M19.953 8.017L21 15M21 15V17C21 17.7956 20.6839 18.5587 20.1213 19.1213C19.5587 19.6839 18.7956 20 18 20H6C5.20435 20 4.44129 19.6839 3.87868 19.1213C3.31607 18.5587 3 17.7956 3 17V15M21 15H3M3 15L4.245 6.703C4.31611 6.22948 4.55474 5.79719 4.91752 5.48468C5.28031 5.17218 5.74317 5.0002 6.222 5H10M13 3L18.5 4.5M15.75 3.75L13.75 10.75",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7 10.5C8.66667 9.83333 10.3333 9.83333 12 10.5C13.6667 11.1667 15.3333 11.1667 17 10.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"coming-soon":a.jsx("svg",{width:"567",height:"477",viewBox:"0 0 567 477",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsxs("g",{id:"Wallet is Empty",children:[a.jsx("path",{id:"Fill 1",fillRule:"evenodd",clipRule:"evenodd",d:"M381.279 454.698C381.279 458.397 333.675 461.397 274.952 461.397C216.228 461.397 168.621 458.397 168.621 454.698C168.621 451.001 216.228 448.001 274.952 448.001C333.675 448.001 381.279 451.001 381.279 454.698Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 3",d:"M261.521 24.3589C203.517 29.2691 182.198 78.3659 199.663 106.985C211.986 127.177 232.868 154.466 271.795 147.92C310.719 141.373 313.999 105.349 293.499 100.449C272.999 95.5507 199.968 118.404 208.221 171.199C214.179 209.292 265.822 220.272 265.822 220.272",stroke:"#DCDCE2",strokeWidth:"1.74009",strokeDasharray:"6.09"}),a.jsx("path",{id:"Fill 13",fillRule:"evenodd",clipRule:"evenodd",d:"M307.202 7.73247C305.109 7.2283 303.812 5.1179 304.316 3.00427C304.818 0.905186 306.933 -0.395634 309.024 0.108534C311.127 0.615935 312.411 2.73441 311.911 4.83512C311.405 6.94713 309.306 8.23825 307.202 7.73247Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 25",d:"M19.5938 265.483V270.506",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 27",d:"M9.54492 270.506L12.8939 273.855",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 29",d:"M4.52344 280.554H9.54685",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 31",d:"M9.54492 290.6L12.8939 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 33",d:"M19.5938 295.623V290.599",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 35",d:"M29.64 290.6L26.291 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 37",d:"M34.6601 280.554H29.6367",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 39",d:"M29.64 270.506L26.291 273.855",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 41",d:"M277.465 59.5232V62.8721",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 43",d:"M269.092 67.8955H272.441",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 45",d:"M277.465 77.941V74.592",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 47",d:"M287.505 69.5706H284.156",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 49",d:"M93.2695 191.806V196.829",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 51",d:"M78.1992 206.877H83.2226",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 53",d:"M91.5938 220.273V215.249",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 55",d:"M106.666 206.877H101.643",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 57",d:"M434.86 367.625C438.559 367.625 441.558 370.624 441.558 374.324C441.558 378.022 438.559 381.021 434.86 381.021C431.161 381.021 428.162 378.022 428.162 374.324",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 59",d:"M466.564 458.951C467.419 464.93 463.286 470.473 457.335 471.33C451.388 472.187 445.872 468.035 445.02 462.055C444.167 456.074 448.298 450.531 454.249 449.674",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Fill 61",fillRule:"evenodd",clipRule:"evenodd",d:"M466.676 303.995C470.736 302.711 476.957 297.684 478.398 292.275C479.703 297.057 485.177 302.711 490.118 303.141C484.558 305.137 479.241 311.063 478.398 315.717C477.823 310.972 470.471 304.687 466.676 303.995Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 63",fillRule:"evenodd",clipRule:"evenodd",d:"M46.3828 365.113C48.4134 364.472 51.5238 361.957 52.2443 359.253C52.8969 361.643 55.633 364.472 58.1041 364.686C55.3233 365.683 52.665 368.646 52.2443 370.974C51.9561 368.602 48.2809 365.459 46.3828 365.113Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 65",fillRule:"evenodd",clipRule:"evenodd",d:"M83.2246 143.248C83.2246 146.023 80.975 148.271 78.2011 148.271C75.4257 148.271 73.1777 146.023 73.1777 143.248C73.1777 140.472 75.4257 138.224 78.2011 138.224C80.975 138.224 83.2246 140.472 83.2246 143.248Z",fill:"#D1D9E0"}),a.jsx("path",{id:"Fill 69",fillRule:"evenodd",clipRule:"evenodd",d:"M565.472 133.198C565.472 136.899 562.474 139.897 558.775 139.897C555.074 139.897 552.076 136.899 552.076 133.198C552.076 129.499 555.074 126.501 558.775 126.501C562.474 126.501 565.472 129.499 565.472 133.198Z",fill:"#EBECEF"}),a.jsx("path",{id:"Stroke 73",fillRule:"evenodd",clipRule:"evenodd",d:"M180.344 108.083C180.344 110.859 178.094 113.107 175.32 113.107C172.545 113.107 170.297 110.859 170.297 108.083C170.297 105.308 172.545 103.06 175.32 103.06C178.094 103.06 180.344 105.308 180.344 108.083Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 75",fillRule:"evenodd",clipRule:"evenodd",d:"M102.348 425.793C98.8919 427.108 95.0247 425.372 93.7097 421.916C92.393 418.459 94.1305 414.592 97.5871 413.277C101.044 411.96 104.911 413.698 106.226 417.154C107.541 420.611 105.805 424.478 102.348 425.793Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("g",{id:"timer",children:a.jsx("g",{id:"vuesax/bold/timer",children:a.jsxs("g",{id:"timer_2",children:[a.jsx("path",{id:"Vector",d:"M284.132 152.604C215.202 152.604 159.105 208.7 159.105 277.63C159.105 346.561 215.202 402.801 284.132 402.801C353.063 402.801 409.159 346.705 409.159 277.775C409.159 208.844 353.063 152.604 284.132 152.604ZM294.948 273.016C294.948 278.928 290.045 283.831 284.132 283.831C278.22 283.831 273.317 278.928 273.317 273.016V200.913C273.317 195 278.22 190.097 284.132 190.097C290.045 190.097 294.948 195 294.948 200.913V273.016Z",fill:"#D4D4D8"}),a.jsx("path",{id:"Vector_2",d:"M325.806 135.299H242.455C236.687 135.299 232.072 130.685 232.072 124.916C232.072 119.148 236.687 114.389 242.455 114.389H325.806C331.575 114.389 336.189 119.004 336.189 124.772C336.189 130.54 331.575 135.299 325.806 135.299Z",fill:"#D4D4D8"})]})})})]})}),import:a.jsxs("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.9999 9.12495C11.8415 9.12495 11.6832 9.06662 11.5582 8.94162C11.3165 8.69995 11.3165 8.29995 11.5582 8.05828L18.3915 1.22495C18.6332 0.983285 19.0332 0.983285 19.2749 1.22495C19.5165 1.46662 19.5165 1.86662 19.2749 2.10828L12.4415 8.94162C12.3249 9.05828 12.1665 9.12495 11.9999 9.12495Z",fill:"#292D32"}),a.jsx("path",{d:"M15.359 9.7916H11.334C10.9923 9.7916 10.709 9.50827 10.709 9.1666V5.1416C10.709 4.79993 10.9923 4.5166 11.334 4.5166C11.6757 4.5166 11.959 4.79993 11.959 5.1416V8.5416H15.359C15.7007 8.5416 15.984 8.82493 15.984 9.1666C15.984 9.50827 15.7007 9.7916 15.359 9.7916Z",fill:"#292D32"}),a.jsx("path",{d:"M12.9993 18.9584H7.99935C3.47435 18.9584 1.54102 17.0251 1.54102 12.5001V7.50008C1.54102 2.97508 3.47435 1.04175 7.99935 1.04175H9.66602C10.0077 1.04175 10.291 1.32508 10.291 1.66675C10.291 2.00841 10.0077 2.29175 9.66602 2.29175H7.99935C4.15768 2.29175 2.79102 3.65841 2.79102 7.50008V12.5001C2.79102 16.3417 4.15768 17.7084 7.99935 17.7084H12.9993C16.841 17.7084 18.2077 16.3417 18.2077 12.5001V10.8334C18.2077 10.4917 18.491 10.2084 18.8327 10.2084C19.1744 10.2084 19.4577 10.4917 19.4577 10.8334V12.5001C19.4577 17.0251 17.5243 18.9584 12.9993 18.9584Z",fill:"#292D32"})]}),extras:a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M14 6H10M14 6V2H10L10 6M14 6L14 10H10M10 6L6 6M10 6V10M2 10V14H6V10M2 10L6 10M2 10L2 6H6M6 10L6 6M6 10H10",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),"card-receive":a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M1.33301 5.66699H9.66634",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4 11H5.33333",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7 11H9.66667",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M14.6663 9.35301V10.7397C14.6663 13.0797 14.073 13.6663 11.7063 13.6663H4.29301C1.92634 13.6663 1.33301 13.0797 1.33301 10.7397V5.25967C1.33301 2.91967 1.92634 2.33301 4.29301 2.33301H9.66634",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.333 2.33301V6.33301L14.6663 4.99967",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.3333 6.33333L12 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),radar:a.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M3.99967 3.33333C5.11301 2.5 6.49967 2 7.99967 2C11.6797 2 14.6663 4.98667 14.6663 8.66667C14.6663 12.3467 11.6797 15.3333 7.99967 15.3333C4.31967 15.3333 1.33301 12.3467 1.33301 8.66667C1.33301 7.46 1.653 6.32666 2.21967 5.34666L7.99967 8.66667",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),subtitle:a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M9.99967 15.1663H5.99967C2.37967 15.1663 0.833008 13.6197 0.833008 9.99967V5.99967C0.833008 2.37967 2.37967 0.833008 5.99967 0.833008H9.99967C13.6197 0.833008 15.1663 2.37967 15.1663 5.99967V9.99967C15.1663 13.6197 13.6197 15.1663 9.99967 15.1663ZM5.99967 1.83301C2.92634 1.83301 1.83301 2.92634 1.83301 5.99967V9.99967C1.83301 13.073 2.92634 14.1663 5.99967 14.1663H9.99967C13.073 14.1663 14.1663 13.073 14.1663 9.99967V5.99967C14.1663 2.92634 13.073 1.83301 9.99967 1.83301H5.99967Z",fill:"#27272A"}),a.jsx("path",{d:"M11.6669 11.8867H10.4336C10.1603 11.8867 9.93359 11.6601 9.93359 11.3867C9.93359 11.1134 10.1603 10.8867 10.4336 10.8867H11.6669C11.9403 10.8867 12.1669 11.1134 12.1669 11.3867C12.1669 11.6601 11.9403 11.8867 11.6669 11.8867Z",fill:"#27272A"}),a.jsx("path",{d:"M8.64634 11.8867H4.33301C4.05967 11.8867 3.83301 11.6601 3.83301 11.3867C3.83301 11.1134 4.05967 10.8867 4.33301 10.8867H8.64634C8.91967 10.8867 9.14634 11.1134 9.14634 11.3867C9.14634 11.6601 8.92634 11.8867 8.64634 11.8867Z",fill:"#27272A"}),a.jsx("path",{d:"M11.6671 9.37988H7.98047C7.70714 9.37988 7.48047 9.15322 7.48047 8.87988C7.48047 8.60655 7.70714 8.37988 7.98047 8.37988H11.6671C11.9405 8.37988 12.1671 8.60655 12.1671 8.87988C12.1671 9.15322 11.9405 9.37988 11.6671 9.37988Z",fill:"#27272A"}),a.jsx("path",{d:"M6.17967 9.37988H4.33301C4.05967 9.37988 3.83301 9.15322 3.83301 8.87988C3.83301 8.60655 4.05967 8.37988 4.33301 8.37988H6.17967C6.45301 8.37988 6.67967 8.60655 6.67967 8.87988C6.67967 9.15322 6.45301 9.37988 6.17967 9.37988Z",fill:"#27272A"})]})},be=({name:e,size:t=24,color:n="currentColor"})=>{const r=Q9[e];if(!r)return null;const s=n==="currentColor"?n:J9(n),{props:o}=r;return a.jsx("svg",{xmlns:o.xmlns,viewBox:o.viewBox,width:t,height:t,fill:o.fill==="none"?"none":s,stroke:o.fill==="none"?s:"none",children:o.children})};var Wo=(e=>(e.NONE="none",e.DAILY="daily",e.WEEKLY="weekly",e.MONTHLY="monthly",e.QUARTERLY="quarterly",e.YEARLY="yearly",e.BI_ANNUALLY="biannually",e))(Wo||{}),pe=(e=>(e.DAILY="daily",e.WEEKLY="weekly",e.MONTHLY="monthly",e.YEARLY="yearly",e.QUARTERLY="quarterly",e.BIANNUALLY="biannually",e.CUSTOM="custom",e))(pe||{}),hs=(e=>(e.InAdvance="in_advance",e.InArrears="in_arrears",e))(hs||{}),sr=(e=>(e.BOOLEAN="boolean",e.METERED="metered",e))(sr||{}),e6=(e=>(e.ARCHIVED="archived",e.ACTIVE="active",e.ALL="all",e))(e6||{}),t6=(e=>(e.SOFT="soft",e.HARD="hard",e))(t6||{}),At=(e=>(e.ACTIVE="active",e.IN_TRIAL="in_trial",e))(At||{}),t1=(e=>(e.All="all",e.Draft="draft",e.Pending="pending",e.Open="open",e.Paid="paid",e.Due="due",e.Overdue="overdue",e.Voided="voided",e.WrittenOff="written_off",e.Refunded="refunded",e))(t1||{}),n6=(e=>(e.ONE_OFF="OneOff",e.FIXED_RECURRING="RecurringFixed",e.USAGE_BASED="UsageBased",e))(n6||{}),tn=(e=>(e.PER_UNIT="per_unit",e.PER_PACKAGE="per_package",e.FLAT="flat",e))(tn||{});const r6={daily:"day",weekly:"week",monthly:"month",quarterly:"quarter",yearly:"year",biannually:"biannual"},s6=()=>({once:"once",daily:"per day",weekly:"per week",monthly:"per month",quarterly:"per quarter",yearly:"per year",biannually:"per biannual"}),o6={draft:{color:"bg-grey-600",text:"Draft"},pending:{color:"bg-orange-500",text:"Pending"},open:{color:"bg-blue-500",text:"Open"},voided:{color:"bg-neutral-400",text:"Voided"},paid:{color:"bg-green-600",text:"Paid"},written_off:{color:"bg-orange-500",text:"Written Off"},refunded:{color:"bg-blue-500",text:"Refunded"},overdue:{color:"bg-metrifox-danger",text:"Overdue"},due:{color:"bg-metrifox-danger",text:"Due"}},i6=e=>o6[e]||{color:"bg-blue-500",text:""},a6={[At.ACTIVE]:{color:"bg-metrifox-success",text:"Active"},[At.IN_TRIAL]:{color:"bg-metrifox-blue",text:"In trial"}},l6=e=>a6[e]||{color:"bg-metrifox-success",text:""};function n1(e){return Math.floor(e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}const c6=(e,t,n="-")=>{try{return t.split(/[.[\]]+/).filter(Boolean).reduce((r,s)=>r[s],e)??n}catch{return n}},r1=(e,t)=>t.find(n=>n.price.billing_interval===e),s1=(e,t)=>t?.filter(n=>n.price.billing_interval===e),u6=(e,t=1)=>({[pe.QUARTERLY]:3,[pe.BIANNUALLY]:6,[pe.YEARLY]:12}[e]??1)*t,d6={daily:"days",weekly:"weeks",monthly:"months",quarterly:"quarters",yearly:"years"},f6=(e,t)=>e?.map((n,r)=>{const{first_unit:s,last_unit:o,unit_price:i,package_price:l,package_size:c,pricing_model:u,flat_fee:d}=n,f=Pt(t),h=r===0,m=r===e.length-1,g=()=>u===tn.PER_UNIT?h&&o===-1?"per unit":h?`First ${o}`:m?`Last ${s}`:`${s} to ${o}`:u===tn.PER_PACKAGE?h?`First ${o}`:m?`Last ${s}`:`${s} to ${o}`:u===tn.FLAT?h?`First ${o}`:m?`Last ${s}`:`${s} to ${o}`:"",x=()=>u===tn.PER_UNIT?`${f}${me(i)}`:u===tn.PER_PACKAGE&&c?`${f}${me(l)}`:u===tn.FLAT?`${f}${me(d)}`:"";return{label:g(),price:x(),package:c}}),h6=e=>{const t=e?.price?.owner,n=0,r=e?.price?.tiers?.find(d=>d.first_unit===n),s=Pt(e?.price?.currency)||"";if(!r)return{price:null,label:null,currencySymbol:null};const{unit_price:o,package_price:i,package_size:l,pricing_model:c,flat_fee:u}=r;return u?{price:me(u),label:"",currencySymbol:s}:{per_unit:{price:me(o),label:`${t?.feature?.unit_singular||t?.credit_unit_singular||t?.unit_singular}`,currencySymbol:s},per_package:{price:me(i),label:`${l} ${t?.feature?.unit_plural}`,currencySymbol:s}}[c]??{price:null,label:null,currencySymbol:null}},p6=e=>{const t=new Set;for(const n of e)if(n){const r=[...n?.price_options||[],...n?.entitlement_price_options||[],...n?.credit_attachment_price_options||[]],s=r.some(o=>o.price?.invoice_timing===hs.InAdvance);r.forEach(o=>{const i=o.price.invoice_timing===hs.InAdvance&&o.price?.billing_interval,l=o.price.invoice_timing===hs.InArrears&&o.price?.billing_interval,c=s?i:l;c&&t.add(c)})}return Array.from(t)},me=e=>{if(e==null||e==="")return"--";const t=Number(e),n="en";if(isNaN(t))return"--";if(t===0)return"0.00";const r=Math.abs(t);let s="";s=r.toFixed(6).split(".")[1]?.replace(/0+$/,"")||"";const o=s.match(/^0*/)?.[0].length||0,i=Math.min(o+2,6),l=Number(t.toFixed(i));return isFinite(l)?l.toLocaleString(n,{minimumFractionDigits:i,maximumFractionDigits:i}):"--"},Zo=e=>{const t=new Map;for(const n of e){const r=n.feature?.id;r&&t.set(r,n)}return Array.from(t.values())},m6=(e,t)=>[...e].sort((n,r)=>{const s=n.feature?.id,o=r.feature?.id,i=s?t.get(s)??1/0:1/0,l=o?t.get(o)??1/0:1/0;return i-l}),g6=e=>{const t=new Map;e?.forEach(s=>{const{entitlements:o=[],base_entitlements:i=[]}=s||{};Zo([...o,...i]).forEach(l=>{const c=l.feature?.id;if(c){const u=t.get(c);u?u.count+=1:t.set(c,{count:1,entitlement:l})}})});const n=Array.from(t.entries()).sort(([s,o],[i,l])=>{if(l.count!==o.count)return l.count-o.count;const c=o.entitlement.feature?.key||s,u=l.entitlement.feature?.key||i;return c.localeCompare(u)}),r=new Map;return n.forEach(([s],o)=>{r.set(s,o)}),{frequencyMap:t,featureOrderMap:r}},o1=({width:e=170,height:t=28})=>a.jsxs("svg",{width:e,height:t,viewBox:"0 0 109 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.8067 11.1011L3.14332 4.129C3.05337 3.99689 3.0007 3.83743 3.0007 3.66554C3.0007 3.21055 3.36946 2.8418 3.82444 2.8418C4.27943 2.8418 4.64818 3.21067 4.64818 3.66554C4.64818 3.83302 4.59823 3.98875 4.51234 4.11871L6.77653 10.7372L8.01027 9.8381L9.28086 10.8577L11.5539 4.15702C11.4517 4.01983 11.3912 3.84975 11.3912 3.66554C11.3912 3.21055 11.76 2.8418 12.215 2.8418C12.67 2.8418 13.0387 3.21067 13.0387 3.66554C13.0387 3.83686 12.9864 3.99598 12.8969 4.12775L15.2467 11.0969C15.5919 11.1951 15.8447 11.5128 15.8447 11.8894C15.8447 12.3444 15.4758 12.7131 15.0208 12.7131C15.0119 12.7131 15.003 12.7129 14.994 12.7127C14.9374 12.7628 14.8811 12.8082 14.828 12.8471L8.89074 17.211C8.89153 17.2255 8.89187 17.2401 8.89187 17.2548C8.89187 17.7098 8.523 18.0786 8.06802 18.0786C7.61304 18.0786 7.24428 17.7097 7.24428 17.2548V17.2547L1.19998 12.6988C1.15014 12.7081 1.09895 12.7131 1.0464 12.7131C0.591413 12.7131 0.222656 12.3442 0.222656 11.8894C0.222656 11.5179 0.468569 11.2037 0.806473 11.1011H0.8067ZM5.61127 11.616L3.76839 6.28006L2.00383 11.7247L3.88355 13.1032L5.61127 11.6159V11.616ZM10.3818 11.762L12.1125 13.0939L14.0868 11.5975L12.1785 6.44302L10.3819 11.7621L10.3818 11.762ZM7.9853 11.2693L4.84019 13.829L8.05672 16.3512L11.2279 13.9857L7.9853 11.2693Z",fill:"#3D3D3D"}),a.jsx("path",{d:"M106.131 4.67773V4.50098H107.149V4.67773H106.736V5.78874H106.542V4.67773H106.131Z",fill:"#3D3D3D"}),a.jsx("path",{d:"M107.567 4.66281V5.78874H107.381V4.50098H107.752L108.059 5.62691H108.094L108.407 4.50098H108.777V5.78874H108.592V4.66281H108.556L108.248 5.78874H107.909L107.603 4.66281H107.567Z",fill:"#3D3D3D"}),a.jsx("path",{d:"M38.0201 16.5853V8.53632C38.0201 7.23736 37.6683 6.20512 36.9647 5.43958C36.2611 4.67415 35.252 4.29138 33.9377 4.29138C32.2831 4.29138 30.9763 4.94865 30.0175 6.26298C29.4144 4.94854 28.2855 4.29138 26.6309 4.29138C25.0382 4.29138 23.7701 4.94865 22.8267 6.26298V4.61606H19.6953V16.5852H22.9891V10.0902C22.9891 8.00256 23.7855 6.95879 25.3783 6.95879C26.0896 6.95879 26.569 7.16368 26.8165 7.57346C27.0639 7.98324 27.1876 8.55926 27.1876 9.30152V16.5851H30.4815V9.85821C30.4815 7.94074 31.247 6.98196 32.7779 6.98196C33.5511 6.98196 34.0613 7.19453 34.3088 7.61979C34.5562 8.04505 34.6799 8.65204 34.6799 9.44074V16.5852L38.0201 16.5853ZM51.1754 12.8739H48.0207C47.5568 14.0338 46.7449 14.6136 45.5851 14.6136C44.7036 14.6136 44.0193 14.343 43.5322 13.8017C43.0452 13.2605 42.7938 12.4718 42.7785 11.4357H51.361V11.1109C51.361 9.0078 50.8275 7.34156 49.7604 6.11222C48.6935 4.88277 47.2553 4.2681 45.446 4.2681C43.6985 4.2681 42.2604 4.87124 41.1314 6.07741C40.0026 7.28358 39.4382 8.81455 39.4382 10.6702C39.4382 12.5568 39.9987 14.0723 41.1199 15.2166C42.241 16.361 43.7218 16.9332 45.5619 16.9332C46.9382 16.9332 48.1251 16.5775 49.1226 15.8662C50.12 15.1548 50.8043 14.1574 51.1754 12.8739ZM48.0207 9.34808H42.7785C42.8711 8.51304 43.1573 7.85576 43.6367 7.37637C44.1161 6.89697 44.7191 6.65728 45.446 6.65728C46.2192 6.65728 46.8223 6.90861 47.2553 7.41106C47.6882 7.91373 47.9434 8.55937 48.0207 9.34808ZM59.158 4.61606H56.7224V0.997552H53.4517V4.61606H51.4568V6.84284H53.4517V13.0594C53.4517 14.4976 53.7107 15.4679 54.2288 15.9704C54.7468 16.473 55.7249 16.7243 57.1631 16.7243C57.6888 16.7243 58.3538 16.6934 59.158 16.6315V14.1264C58.8951 14.1574 58.5626 14.1729 58.1605 14.1729C57.8049 14.1729 57.5304 14.1459 57.337 14.0916C57.1437 14.0375 57.0007 13.9254 56.9079 13.7553C56.8151 13.5852 56.761 13.419 56.7455 13.2566C56.73 13.0942 56.7224 12.8352 56.7224 12.4795V6.84284H59.158V4.61606ZM67.8365 4.40733C67.5118 4.361 67.2721 4.33772 67.1174 4.33772C65.3235 4.33772 64.0323 5.16507 63.2437 6.81967V4.61606H60.1121V16.5852H63.406V11.1109C63.406 9.9511 63.661 9.02712 64.1714 8.33899C64.6818 7.65087 65.4781 7.30675 66.5606 7.30675C66.9472 7.30675 67.3724 7.3532 67.8363 7.44598L67.8365 4.40733ZM71.8061 0.0697271H68.5123V2.8532H71.8061V0.0697271ZM71.8061 4.61618H68.5123V16.5853H71.8061V4.61618ZM80.2526 0.0697271C80.1288 0.0697271 79.9509 0.0619314 79.719 0.0464489C79.4871 0.0309663 79.2745 0.0194383 79.0812 0.0116405C78.888 0.00384272 78.7062 0 78.5362 0C77.067 0 76.0156 0.313153 75.3814 0.939462C74.7475 1.56577 74.4305 2.58254 74.4305 3.98975V4.61606H72.482V6.84284H74.4305V16.5852H77.7243V6.84284H80.0438V4.61606H77.701V3.66507C77.701 3.1702 77.7976 2.84167 77.991 2.67927C78.1843 2.51688 78.5747 2.43573 79.1623 2.43573C79.2088 2.43573 79.5721 2.45122 80.2526 2.48207V0.0697271ZM86.681 4.26821C84.8099 4.26821 83.3021 4.84808 82.1577 6.00791C81.0134 7.16775 80.4412 8.6986 80.4412 10.6008C80.4412 12.5184 81.0056 14.057 82.1344 15.2168C83.2633 16.3766 84.7633 16.9565 86.6344 16.9565C88.5056 16.9565 90.0017 16.3766 91.1229 15.2168C92.244 14.0569 92.8046 12.5183 92.8046 10.6008C92.8046 8.69871 92.2441 7.16775 91.1229 6.00791C90.0017 4.84808 88.5212 4.26821 86.681 4.26821ZM86.5882 6.77345C87.5006 6.77345 88.2158 7.10977 88.7338 7.78241C89.2519 8.45517 89.5109 9.38684 89.5109 10.5775C89.5109 11.7992 89.2596 12.7541 88.757 13.4423C88.2545 14.1304 87.547 14.4744 86.6346 14.4744C85.7222 14.4744 85.0108 14.1342 84.5006 13.4538C83.9903 12.7734 83.7351 11.8223 83.7351 10.6007C83.7351 9.40989 83.9903 8.47438 84.5006 7.79394C85.0109 7.1135 85.7068 6.77345 86.5882 6.77345ZM105.032 4.61618H101.39L99.2796 7.81722L97.1456 4.61618H93.3878L97.3542 10.276L92.9935 16.5853H96.7281L99.2333 12.7115L101.762 16.5853H105.519L101.089 10.2064L105.032 4.61618Z",fill:"#3D3D3D"})]}),i1=({data:e})=>{const t=e?.customer,{address:n}=Jc(t?.billing_configuration?.billing_address),{address:r}=I9(t),s=t?.primary_phone||t?.phone_numbers[0]?.phone_number,o=n??r,i=e?.line_items||[],l=e?.charge_items||[],c=e?.usage_items||[],u=e?.currency?.symbol,d=[...i.map(m=>({...m,itemType:"line_item"})),...l.map(m=>({...m,itemType:"charge_item"})),...c.map(m=>({...m,itemType:"usage_item"}))],f="Thank you for choosing Metrifox.",h=H9({...e?.tenant?.default_address},"No Tenant address provided");return a.jsxs(j,{children:[a.jsxs(j,{className:"h-max w-full flex items-center justify-between",children:[a.jsxs(j,{className:"flex items-center gap-3",children:[e?.tenant?.logo_url?a.jsx(j,{className:"h-[2.5rem] w-[2.5rem] border overflow-hidden rounded-full",children:a.jsx("img",{src:e?.tenant?.logo_url,alt:"logo"})}):a.jsx(j,{className:"rounded-full h-[2.8rem] w-[2.8rem] bg-grey-200 p-3",children:a.jsx(be,{name:"logo-placeholder",size:20})}),a.jsx(Ho,{variant:"h5",className:"text-metrifox-black font-bold",children:e?.tenant?.business_name})]}),a.jsxs(j,{children:[a.jsx(Ho,{variant:"h5",className:"text-metrifox-black font-bold",children:"Type"}),a.jsx(W,{variant:"body7",className:"text-metrifox-black text-right",children:e?.invoice_number})]})]}),a.jsxs(j,{className:"bg-grey-100 px-3.5 py-5 mt-4 rounded-md flex items-center justify-between",children:[a.jsxs(j,{children:[a.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"Invoice no"}),a.jsx(W,{variant:"body7",className:"font-light text-grey-500 mt-0.5",children:e?.invoice_number})]}),a.jsxs(j,{children:[a.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"Issue date"}),a.jsx(W,{variant:"body7",className:"font-light text-grey-500 mt-0.5",children:Io(e?.issued_at)})]}),a.jsxs(j,{children:[a.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"Due date"}),a.jsx(W,{variant:"body7",className:"font-light text-grey-500 mt-0.5",children:Io(e?.due_at)})]})]}),a.jsxs(j,{className:"mt-6 flex justify-between",children:[a.jsxs(j,{className:"text-gray-500 max-w-[12rem]",children:[a.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"From"}),a.jsxs(j,{className:"text-gray-500 font-light space-y-1 mt-1",children:[a.jsx(W,{variant:"body7",children:e?.tenant?.business_name}),a.jsx(W,{variant:"body7",children:h})]})]}),a.jsxs(j,{className:"text-right max-w-[12rem] ",children:[a.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"Billed to"}),a.jsxs(j,{className:"text-gray-500 font-light space-y-1 mt-1",children:[a.jsx(U,{variant:"label8",className:"font-medium text-metrifox-blue underline",children:e?.customer?.full_name}),a.jsx(W,{variant:"body7",children:o}),a.jsx(W,{variant:"body7",children:e?.customer?.primary_email}),a.jsxs(W,{variant:"body7",children:[" ",s]})]})]})]}),a.jsx(j,{className:"mt-8",children:a.jsxs(j,{className:"w-full",children:[a.jsxs(j,{className:"bg-grey-200 p-2 rounded-md font-medium text-grey-700 grid grid-cols-5 gap-x-6",children:[a.jsx(U,{variant:"label8",className:"w-[12rem]",children:"Item name"}),a.jsx(U,{variant:"label8",children:"Price"}),a.jsx(U,{variant:"label8",children:"Qty"}),a.jsx(U,{variant:"label8",children:"Subtotal"}),a.jsx(U,{variant:"label8",children:"Amount"})]}),a.jsx(j,{children:d?.map(m=>a.jsxs(j,{className:"text-left font-normal text-grey-700 pt-6 pb-2 grid grid-cols-5 gap-x-6 border-t border-grey-200 px-3 py-5",children:[a.jsxs(j,{className:"w-full",children:[a.jsx(U,{variant:"label8",className:"font-medium text-metrifox-blue",children:m?.name}),a.jsx(W,{variant:"body8",children:m?.description})]}),a.jsx(W,{variant:"body6",color:"text-metrifox-black",children:m.itemType==="usage_item"?"Tier based pricing":`${u}${me(m.unit_price)}`}),a.jsx(W,{variant:"body8",children:m?.quantity}),a.jsxs(W,{variant:"body8",children:[u,me(m?.total_amount)]}),a.jsxs(W,{variant:"body8",children:[u,me(m?.amount)]})]},m?.id))})]})}),a.jsxs(j,{className:"bg-neutral-100 p-2.5 w-[50%] ml-auto rounded-sm mt-5",children:[a.jsxs(j,{className:"flex justify-between border-b pb-2",children:[a.jsxs(j,{children:[a.jsx(U,{variant:"label8",className:"font-medium text-neutral-900",children:"Subtotal"}),a.jsxs(j,{className:"text-neutral-500 space-y-1 my-2",children:[a.jsx(W,{variant:"body8",children:"Discount"}),a.jsx(W,{variant:"body8",children:"Tax"})]}),a.jsx(U,{variant:"label8",className:"font-medium text-grey-800",children:"Grand total"})]}),a.jsxs(j,{className:"text-right",children:[a.jsxs(U,{variant:"label8",className:"font-medium text-grey-800",children:[u,me(e?.summary?.items_subtotal)]}),a.jsxs(j,{className:"text-neutral-500 space-y-1 my-2",children:[a.jsxs(W,{variant:"body8",children:[u,me(e?.summary?.total_discounts)]}),a.jsxs(W,{variant:"body8",children:[u,me(e?.summary?.total_tax_amount)]})]}),a.jsxs(U,{variant:"label8",className:"font-medium text-grey-800",children:[u,me(e?.summary?.total_amount_paid)]})]})]}),a.jsxs(j,{className:"flex justify-between pt-2",children:[a.jsxs(j,{className:"space-y-3 font-medium text-neutral-900",children:[a.jsx(U,{variant:"label8",children:"Amount paid"}),a.jsx(U,{variant:"label8",children:"Amount due"})]}),a.jsxs(j,{className:"text-right space-y-3 font-medium text-grey-800",children:[a.jsxs(U,{variant:"label8",children:[u,me(e?.summary?.total_amount_paid)]}),a.jsxs(U,{variant:"label7",children:[u,me(e?.summary?.total_outstanding_amount)]})]})]})]}),e?.comment&&a.jsxs(j,{className:"flex items-center gap-1 text-[.625rem] bg-metrifox-white p-2 mt-40 border-[0.03rem] border-grey-300 rounded",children:[a.jsx(W,{variant:"body8",children:"Note:"}),a.jsx(W,{variant:"body8",children:e?.comment})]}),a.jsxs(j,{className:"border-t-[0.03rem] border-grey-300 pt-3 mt-7 w-[80%] mx-auto",children:[a.jsx(W,{variant:"body8",className:"text-grey-600 text-center",children:f}),a.jsxs(j,{className:"flex items-center justify-center gap-2 mt-1",children:[a.jsx(W,{variant:"body7",className:"text-metrifox-black",children:"Powered by"}),a.jsx(o1,{height:30,width:100})]})]})]})},a1=p.createContext({});function x6(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const Uo=typeof window<"u",y6=Uo?p.useLayoutEffect:p.useEffect,zo=p.createContext(null);function Ko(e,t){e.indexOf(t)===-1&&e.push(t)}function Yo(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const wt=(e,t,n)=>n>t?t:n<e?e:n;function Go(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Tn=()=>{},kt=()=>{};process.env.NODE_ENV!=="production"&&(Tn=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Go(t,n))},kt=(e,t,n)=>{if(!e)throw new Error(Go(t,n))});const jt={},l1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function c1(e){return typeof e=="object"&&e!==null}const u1=e=>/^0[^.\s]+$/u.test(e);function qo(e){let t;return()=>(t===void 0&&(t=e()),t)}const qe=e=>e,v6=(e,t)=>n=>t(e(n)),or=(...e)=>e.reduce(v6),ir=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Xo{constructor(){this.subscriptions=[]}add(t){return Ko(this.subscriptions,t),()=>Yo(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let o=0;o<s;o++){const i=this.subscriptions[o];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const it=e=>e*1e3,Xe=e=>e/1e3;function d1(e,t){return t?e*(1e3/t):0}const f1=new Set;function Jo(e,t,n){e||f1.has(t)||(console.warn(Go(t,n)),f1.add(t))}const h1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,b6=1e-7,C6=12;function w6(e,t,n,r,s){let o,i,l=0;do i=t+(n-t)/2,o=h1(i,r,s)-e,o>0?n=i:t=i;while(Math.abs(o)>b6&&++l<C6);return i}function ar(e,t,n,r){if(e===t&&n===r)return qe;const s=o=>w6(o,0,1,e,n);return o=>o===0||o===1?o:h1(s(o),t,r)}const p1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,m1=e=>t=>1-e(1-t),g1=ar(.33,1.53,.69,.99),Qo=m1(g1),x1=p1(Qo),y1=e=>(e*=2)<1?.5*Qo(e):.5*(2-Math.pow(2,-10*(e-1))),ei=e=>1-Math.sin(Math.acos(e)),v1=m1(ei),b1=p1(ei),k6=ar(.42,0,1,1),j6=ar(0,0,.58,1),C1=ar(.42,0,.58,1),L6=e=>Array.isArray(e)&&typeof e[0]!="number",w1=e=>Array.isArray(e)&&typeof e[0]=="number",k1={linear:qe,easeIn:k6,easeInOut:C1,easeOut:j6,circIn:ei,circInOut:b1,circOut:v1,backIn:Qo,backInOut:x1,backOut:g1,anticipate:y1},E6=e=>typeof e=="string",j1=e=>{if(w1(e)){kt(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return ar(t,n,r,s)}else if(E6(e))return kt(k1[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),k1[e];return e},ps=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function M6(e,t){let n=new Set,r=new Set,s=!1,o=!1;const i=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function c(d){i.has(d)&&(u.schedule(d),e()),d(l)}const u={schedule:(d,f=!1,h=!1)=>{const g=h&&s?n:r;return f&&i.add(d),g.has(d)||g.add(d),d},cancel:d=>{r.delete(d),i.delete(d)},process:d=>{if(l=d,s){o=!0;return}s=!0,[n,r]=[r,n],n.forEach(c),n.clear(),s=!1,o&&(o=!1,u.process(d))}};return u}const S6=40;function L1(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,i=ps.reduce((y,k)=>(y[k]=M6(o),y),{}),{setup:l,read:c,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:m,postRender:g}=i,x=()=>{const y=jt.useManualTiming?s.timestamp:performance.now();n=!1,jt.useManualTiming||(s.delta=r?1e3/60:Math.max(Math.min(y-s.timestamp,S6),1)),s.timestamp=y,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),d.process(s),f.process(s),h.process(s),m.process(s),g.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(x))},v=()=>{n=!0,r=!0,s.isProcessing||e(x)};return{schedule:ps.reduce((y,k)=>{const w=i[k];return y[k]=(L,A=!1,D=!1)=>(n||v(),w.schedule(L,A,D)),y},{}),cancel:y=>{for(let k=0;k<ps.length;k++)i[ps[k]].cancel(y)},state:s,steps:i}}const{schedule:le,cancel:Rt,state:Ee,steps:ti}=L1(typeof requestAnimationFrame<"u"?requestAnimationFrame:qe,!0);let ms;function T6(){ms=void 0}const Be={now:()=>(ms===void 0&&Be.set(Ee.isProcessing||jt.useManualTiming?Ee.timestamp:performance.now()),ms),set:e=>{ms=e,queueMicrotask(T6)}},E1=e=>t=>typeof t=="string"&&t.startsWith(e),ni=E1("--"),D6=E1("var(--"),ri=e=>D6(e)?P6.test(e.split("/*")[0].trim()):!1,P6=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Dn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},lr={...Dn,transform:e=>wt(0,1,e)},gs={...Dn,default:1},cr=e=>Math.round(e*1e5)/1e5,si=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function A6(e){return e==null}const R6=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,oi=(e,t)=>n=>!!(typeof n=="string"&&R6.test(n)&&n.startsWith(e)||t&&!A6(n)&&Object.prototype.hasOwnProperty.call(n,t)),M1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,o,i,l]=r.match(si);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},N6=e=>wt(0,255,e),ii={...Dn,transform:e=>Math.round(N6(e))},nn={test:oi("rgb","red"),parse:M1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ii.transform(e)+", "+ii.transform(t)+", "+ii.transform(n)+", "+cr(lr.transform(r))+")"};function F6(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const ai={test:oi("#"),parse:F6,transform:nn.transform},ur=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Nt=ur("deg"),gt=ur("%"),q=ur("px"),V6=ur("vh"),$6=ur("vw"),S1=(()=>({...gt,parse:e=>gt.parse(e)/100,transform:e=>gt.transform(e*100)}))(),Pn={test:oi("hsl","hue"),parse:M1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+gt.transform(cr(t))+", "+gt.transform(cr(n))+", "+cr(lr.transform(r))+")"},Ce={test:e=>nn.test(e)||ai.test(e)||Pn.test(e),parse:e=>nn.test(e)?nn.parse(e):Pn.test(e)?Pn.parse(e):ai.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?nn.transform(e):Pn.transform(e),getAnimatableNone:e=>{const t=Ce.parse(e);return t.alpha=0,Ce.transform(t)}},O6=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function _6(e){return isNaN(e)&&typeof e=="string"&&(e.match(si)?.length||0)+(e.match(O6)?.length||0)>0}const T1="number",D1="color",B6="var",I6="var(",P1="${}",H6=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function dr(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let o=0;const l=t.replace(H6,c=>(Ce.test(c)?(r.color.push(o),s.push(D1),n.push(Ce.parse(c))):c.startsWith(I6)?(r.var.push(o),s.push(B6),n.push(c)):(r.number.push(o),s.push(T1),n.push(parseFloat(c))),++o,P1)).split(P1);return{values:n,split:l,indexes:r,types:s}}function A1(e){return dr(e).values}function R1(e){const{split:t,types:n}=dr(e),r=t.length;return s=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],s[i]!==void 0){const l=n[i];l===T1?o+=cr(s[i]):l===D1?o+=Ce.transform(s[i]):o+=s[i]}return o}}const W6=e=>typeof e=="number"?0:Ce.test(e)?Ce.getAnimatableNone(e):e;function Z6(e){const t=A1(e);return R1(e)(t.map(W6))}const Ft={test:_6,parse:A1,createTransformer:R1,getAnimatableNone:Z6};function li(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function U6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,o=0,i=0;if(!t)s=o=i=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;s=li(c,l,e+1/3),o=li(c,l,e),i=li(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:r}}function xs(e,t){return n=>n>0?t:e}const ue=(e,t,n)=>e+(t-e)*n,ci=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},z6=[ai,nn,Pn],K6=e=>z6.find(t=>t.test(e));function N1(e){const t=K6(e);if(Tn(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Pn&&(n=U6(n)),n}const F1=(e,t)=>{const n=N1(e),r=N1(t);if(!n||!r)return xs(e,t);const s={...n};return o=>(s.red=ci(n.red,r.red,o),s.green=ci(n.green,r.green,o),s.blue=ci(n.blue,r.blue,o),s.alpha=ue(n.alpha,r.alpha,o),nn.transform(s))},ui=new Set(["none","hidden"]);function Y6(e,t){return ui.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function G6(e,t){return n=>ue(e,t,n)}function di(e){return typeof e=="number"?G6:typeof e=="string"?ri(e)?xs:Ce.test(e)?F1:J6:Array.isArray(e)?V1:typeof e=="object"?Ce.test(e)?F1:q6:xs}function V1(e,t){const n=[...e],r=n.length,s=e.map((o,i)=>di(o)(o,t[i]));return o=>{for(let i=0;i<r;i++)n[i]=s[i](o);return n}}function q6(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=di(e[s])(e[s],t[s]));return s=>{for(const o in r)n[o]=r[o](s);return n}}function X6(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],i=e.indexes[o][r[o]],l=e.values[i]??0;n[s]=l,r[o]++}return n}const J6=(e,t)=>{const n=Ft.createTransformer(t),r=dr(e),s=dr(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?ui.has(e)&&!s.values.length||ui.has(t)&&!r.values.length?Y6(e,t):or(V1(X6(r,s),s.values),n):(Tn(!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.`,"complex-values-different"),xs(e,t))};function $1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ue(e,t,n):di(e)(e,t)}const Q6=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>le.update(t,n),stop:()=>Rt(t),now:()=>Ee.isProcessing?Ee.timestamp:Be.now()}},O1=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let o=0;o<s;o++)r+=Math.round(e(o/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ys=2e4;function fi(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<ys;)t+=n,r=e.next(t);return t>=ys?1/0:t}function e7(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(fi(r),ys);return{type:"keyframes",ease:o=>r.next(s*o).value/t,duration:Xe(s)}}const t7=5;function _1(e,t,n){const r=Math.max(t-t7,0);return d1(n-e(r),t-r)}const de={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},hi=.001;function n7({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:r=de.mass}){let s,o;Tn(e<=it(de.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=wt(de.minDamping,de.maxDamping,i),e=wt(de.minDuration,de.maxDuration,Xe(e)),i<1?(s=u=>{const d=u*i,f=d*e,h=d-n,m=pi(u,i),g=Math.exp(-f);return hi-h/m*g},o=u=>{const f=u*i*e,h=f*n+n,m=Math.pow(i,2)*Math.pow(u,2)*e,g=Math.exp(-f),x=pi(Math.pow(u,2),i);return(-s(u)+hi>0?-1:1)*((h-m)*g)/x}):(s=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-hi+d*f},o=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const l=5/e,c=s7(s,o,l);if(e=it(e),isNaN(c))return{stiffness:de.stiffness,damping:de.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const r7=12;function s7(e,t,n){let r=n;for(let s=1;s<r7;s++)r=r-e(r)/t(r);return r}function pi(e,t){return e*Math.sqrt(1-t*t)}const o7=["duration","bounce"],i7=["stiffness","damping","mass"];function B1(e,t){return t.some(n=>e[n]!==void 0)}function a7(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!B1(e,i7)&&B1(e,o7))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,o=2*wt(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:de.mass,stiffness:s,damping:o}}else{const n=n7(e);t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function vs(e=de.visualDuration,t=de.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const o=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:c,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:m}=a7({...n,velocity:-Xe(n.velocity||0)}),g=h||0,x=u/(2*Math.sqrt(c*d)),v=i-o,b=Xe(Math.sqrt(c/d)),C=Math.abs(v)<5;r||(r=C?de.restSpeed.granular:de.restSpeed.default),s||(s=C?de.restDelta.granular:de.restDelta.default);let y;if(x<1){const w=pi(b,x);y=L=>{const A=Math.exp(-x*b*L);return i-A*((g+x*b*v)/w*Math.sin(w*L)+v*Math.cos(w*L))}}else if(x===1)y=w=>i-Math.exp(-b*w)*(v+(g+b*v)*w);else{const w=b*Math.sqrt(x*x-1);y=L=>{const A=Math.exp(-x*b*L),D=Math.min(w*L,300);return i-A*((g+x*b*v)*Math.sinh(D)+w*v*Math.cosh(D))/w}}const k={calculatedDuration:m&&f||null,next:w=>{const L=y(w);if(m)l.done=w>=f;else{let A=w===0?g:0;x<1&&(A=w===0?it(g):_1(y,w,L));const D=Math.abs(A)<=r,I=Math.abs(i-L)<=s;l.done=D&&I}return l.value=l.done?i:L,l},toString:()=>{const w=Math.min(fi(k),ys),L=O1(A=>k.next(w*A).value,w,30);return w+"ms "+L},toTransition:()=>{}};return k}vs.applyToOptions=e=>{const t=e7(e,100,vs);return e.ease=t.ease,e.duration=it(t.duration),e.type="keyframes",e};function mi({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:i,min:l,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},m=D=>l!==void 0&&D<l||c!==void 0&&D>c,g=D=>l===void 0?c:c===void 0||Math.abs(l-D)<Math.abs(c-D)?l:c;let x=n*t;const v=f+x,b=i===void 0?v:i(v);b!==v&&(x=b-f);const C=D=>-x*Math.exp(-D/r),y=D=>b+C(D),k=D=>{const I=C(D),V=y(D);h.done=Math.abs(I)<=u,h.value=h.done?b:V};let w,L;const A=D=>{m(h.value)&&(w=D,L=vs({keyframes:[h.value,g(h.value)],velocity:_1(y,D,h.value),damping:s,stiffness:o,restDelta:u,restSpeed:d}))};return A(0),{calculatedDuration:null,next:D=>{let I=!1;return!L&&w===void 0&&(I=!0,k(D),A(D)),w!==void 0&&D>=w?L.next(D-w):(!I&&k(D),h)}}}function l7(e,t,n){const r=[],s=n||jt.mix||$1,o=e.length-1;for(let i=0;i<o;i++){let l=s(e[i],e[i+1]);if(t){const c=Array.isArray(t)?t[i]||qe:t;l=or(c,l)}r.push(l)}return r}function c7(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const o=e.length;if(kt(o===t.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=l7(t,r,s),c=l.length,u=d=>{if(i&&d<e[0])return t[0];let f=0;if(c>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=ir(e[f],e[f+1],d);return l[f](h)};return n?d=>u(wt(e[0],e[o-1],d)):u}function u7(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=ir(0,t,r);e.push(ue(n,1,s))}}function d7(e){const t=[0];return u7(t,e.length-1),t}function f7(e,t){return e.map(n=>n*t)}function h7(e,t){return e.map(()=>t||C1).splice(0,e.length-1)}function An({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=L6(r)?r.map(j1):j1(r),o={done:!1,value:t[0]},i=f7(n&&n.length===t.length?n:d7(t),e),l=c7(i,t,{ease:Array.isArray(s)?s:h7(t,s)});return{calculatedDuration:e,next:c=>(o.value=l(c),o.done=c>=e,o)}}const p7=e=>e!==null;function gi(e,{repeat:t,repeatType:n="loop"},r,s=1){const o=e.filter(p7),l=s<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!l||r===void 0?o[l]:r}const m7={decay:mi,inertia:mi,tween:An,keyframes:An,spring:vs};function I1(e){typeof e.type=="string"&&(e.type=m7[e.type])}class xi{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const g7=e=>e/100;class yi extends xi{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==Be.now()&&this.tick(Be.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;I1(t);const{type:n=An,repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:i=0}=t;let{keyframes:l}=t;const c=n||An;process.env.NODE_ENV!=="production"&&c!==An&&kt(l.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${l}`,"spring-two-frames"),c!==An&&typeof l[0]!="number"&&(this.mixKeyframes=or(g7,$1(l[0],l[1])),l=[0,100]);const u=c({...t,keyframes:l});o==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=fi(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:m,type:g,onUpdate:x,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const b=this.currentTime-u*(this.playbackSpeed>=0?1:-1),C=this.playbackSpeed>=0?b<0:b>s;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let y=this.currentTime,k=r;if(f){const D=Math.min(this.currentTime,s)/l;let I=Math.floor(D),V=D%1;!V&&D>=1&&(V=1),V===1&&I--,I=Math.min(I,f+1),!!(I%2)&&(h==="reverse"?(V=1-V,m&&(V-=m/l)):h==="mirror"&&(k=i)),y=wt(0,1,V)*l}const w=C?{done:!1,value:d[0]}:k.next(y);o&&(w.value=o(w.value));let{done:L}=w;!C&&c!==null&&(L=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return A&&g!==mi&&(w.value=gi(d,this.options,v,this.speed)),x&&x(w.value),A&&this.finish(),w}then(t,n){return this.finished.then(t,n)}get duration(){return Xe(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Xe(t)}get time(){return Xe(this.currentTime)}set time(t){t=it(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Be.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Xe(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Q6,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Be.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function x7(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const rn=e=>e*180/Math.PI,vi=e=>{const t=rn(Math.atan2(e[1],e[0]));return bi(t)},y7={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:vi,rotateZ:vi,skewX:e=>rn(Math.atan(e[1])),skewY:e=>rn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},bi=e=>(e=e%360,e<0&&(e+=360),e),H1=vi,W1=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Z1=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),v7={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:W1,scaleY:Z1,scale:e=>(W1(e)+Z1(e))/2,rotateX:e=>bi(rn(Math.atan2(e[6],e[5]))),rotateY:e=>bi(rn(Math.atan2(-e[2],e[0]))),rotateZ:H1,rotate:H1,skewX:e=>rn(Math.atan(e[4])),skewY:e=>rn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ci(e){return e.includes("scale")?1:0}function wi(e,t){if(!e||e==="none")return Ci(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=v7,s=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=y7,s=l}if(!s)return Ci(t);const o=r[t],i=s[1].split(",").map(C7);return typeof o=="function"?o(i):i[o]}const b7=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return wi(n,t)};function C7(e){return parseFloat(e.trim())}const Rn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Nn=(()=>new Set(Rn))(),U1=e=>e===Dn||e===q,w7=new Set(["x","y","z"]),k7=Rn.filter(e=>!w7.has(e));function j7(e){const t=[];return k7.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const sn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>wi(t,"x"),y:(e,{transform:t})=>wi(t,"y")};sn.translateX=sn.x,sn.translateY=sn.y;const on=new Set;let ki=!1,ji=!1,Li=!1;function z1(){if(ji){const e=Array.from(on).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=j7(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([o,i])=>{r.getValue(o)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ji=!1,ki=!1,on.forEach(e=>e.complete(Li)),on.clear()}function K1(){on.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ji=!0)})}function L7(){Li=!0,K1(),z1(),Li=!1}class Ei{constructor(t,n,r,s,o,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=o,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(on.add(this),ki||(ki=!0,le.read(K1),le.resolveKeyframes(z1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const o=s?.get(),i=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const l=r.readValue(n,i);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=i),s&&o===void 0&&s.set(t[0])}x7(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),on.delete(this)}cancel(){this.state==="scheduled"&&(on.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const E7=e=>e.startsWith("--");function M7(e,t,n){E7(t)?e.style.setProperty(t,n):e.style[t]=n}const S7=qo(()=>window.ScrollTimeline!==void 0),T7={};function D7(e,t){const n=qo(e);return()=>T7[t]??n()}const Y1=D7(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),fr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,G1={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:fr([0,.65,.55,1]),circOut:fr([.55,0,1,.45]),backIn:fr([.31,.01,.66,-.59]),backOut:fr([.33,1.53,.69,.99])};function q1(e,t){if(e)return typeof e=="function"?Y1()?O1(e,t):"ease-out":w1(e)?fr(e):Array.isArray(e)?e.map(n=>q1(n,t)||G1.easeOut):G1[e]}function P7(e,t,n,{delay:r=0,duration:s=300,repeat:o=0,repeatType:i="loop",ease:l="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const f=q1(l,s);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:i==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function X1(e){return typeof e=="function"&&"applyToOptions"in e}function A7({type:e,...t}){return X1(e)&&Y1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class R7 extends xi{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:o,allowFlatten:i=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!o,this.allowFlatten=i,this.options=t,kt(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=A7(t);this.animation=P7(n,r,s,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const d=gi(s,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(d):M7(n,r,d),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Xe(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Xe(t)}get time(){return Xe(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=it(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&S7()?(this.animation.timeline=t,qe):n(this)}}const J1={anticipate:y1,backInOut:x1,circInOut:b1};function N7(e){return e in J1}function F7(e){typeof e.ease=="string"&&N7(e.ease)&&(e.ease=J1[e.ease])}const Q1=10;class V7 extends R7{constructor(t){F7(t),I1(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:o,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new yi({...i,autoplay:!1}),c=it(this.finishedTime??this.time);n.setWithVelocity(l.sample(c-Q1).value,l.sample(c).value,Q1),l.stop()}}const eu=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ft.test(e)||e==="0")&&!e.startsWith("url("));function $7(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function O7(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],i=eu(s,t),l=eu(o,t);return Tn(i===l,`You are trying to animate ${t} from "${s}" to "${o}". "${i?o:s}" is not an animatable value.`,"value-not-animatable"),!i||!l?!1:$7(e)||(n==="spring"||X1(n))&&r}function Mi(e){e.duration=0,e.type="keyframes"}const _7=new Set(["opacity","clipPath","filter","transform"]),B7=qo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function I7(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:o,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return B7()&&n&&_7.has(n)&&(n!=="transform"||!u)&&!c&&!r&&s!=="mirror"&&o!==0&&i!=="inertia"}const H7=40;class W7 extends xi{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:i="loop",keyframes:l,name:c,motionValue:u,element:d,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Be.now();const h={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:o,repeatType:i,name:c,motionValue:u,element:d,...f},m=d?.KeyframeResolver||Ei;this.keyframeResolver=new m(l,(g,x,v)=>this.onKeyframesResolved(g,x,h,!v),c,u,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,s){this.keyframeResolver=void 0;const{name:o,type:i,velocity:l,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=Be.now(),O7(t,o,i,l)||((jt.instantAnimations||!c)&&d?.(gi(t,r,n)),t[0]=t[t.length-1],Mi(r),r.repeat=0);const h={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>H7?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},m=!u&&I7(h)?new V7({...h,element:h.motionValue.owner.current}):new yi(h);m.finished.then(()=>this.notifyFinished()).catch(qe),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),L7()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Z7=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function U7(e){const t=Z7.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const z7=4;function tu(e,t,n=1){kt(n<=z7,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=U7(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const i=o.trim();return l1(i)?parseFloat(i):i}return ri(s)?tu(s,t,n+1):s}function Si(e,t){return e?.[t]??e?.default??e}const nu=new Set(["width","height","top","left","right","bottom",...Rn]),K7={test:e=>e==="auto",parse:e=>e},ru=e=>t=>t.test(e),su=[Dn,q,gt,Nt,$6,V6,K7],ou=e=>su.find(ru(e));function Y7(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||u1(e):!0}const G7=new Set(["brightness","contrast","saturate","opacity"]);function q7(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(si)||[];if(!r)return e;const s=n.replace(r,"");let o=G7.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+s+")"}const X7=/\b([a-z-]*)\(.*?\)/gu,Ti={...Ft,getAnimatableNone:e=>{const t=e.match(X7);return t?t.map(q7).join(" "):e}},iu={...Dn,transform:Math.round},J7={rotate:Nt,rotateX:Nt,rotateY:Nt,rotateZ:Nt,scale:gs,scaleX:gs,scaleY:gs,scaleZ:gs,skew:Nt,skewX:Nt,skewY:Nt,distance:q,translateX:q,translateY:q,translateZ:q,x:q,y:q,z:q,perspective:q,transformPerspective:q,opacity:lr,originX:S1,originY:S1,originZ:q},Di={borderWidth:q,borderTopWidth:q,borderRightWidth:q,borderBottomWidth:q,borderLeftWidth:q,borderRadius:q,radius:q,borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomRightRadius:q,borderBottomLeftRadius:q,width:q,maxWidth:q,height:q,maxHeight:q,top:q,right:q,bottom:q,left:q,padding:q,paddingTop:q,paddingRight:q,paddingBottom:q,paddingLeft:q,margin:q,marginTop:q,marginRight:q,marginBottom:q,marginLeft:q,backgroundPositionX:q,backgroundPositionY:q,...J7,zIndex:iu,fillOpacity:lr,strokeOpacity:lr,numOctaves:iu},Q7={...Di,color:Ce,backgroundColor:Ce,outlineColor:Ce,fill:Ce,stroke:Ce,borderColor:Ce,borderTopColor:Ce,borderRightColor:Ce,borderBottomColor:Ce,borderLeftColor:Ce,filter:Ti,WebkitFilter:Ti},au=e=>Q7[e];function lu(e,t){let n=au(e);return n!==Ti&&(n=Ft),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const e4=new Set(["auto","none","0"]);function t4(e,t,n){let r=0,s;for(;r<e.length&&!s;){const o=e[r];typeof o=="string"&&!e4.has(o)&&dr(o).values.length&&(s=e[r]),r++}if(s&&n)for(const o of t)e[o]=lu(n,s)}class n4 extends Ei{constructor(t,n,r,s,o){super(t,n,r,s,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let u=t[c];if(typeof u=="string"&&(u=u.trim(),ri(u))){const d=tu(u,n.current);d!==void 0&&(t[c]=d),c===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!nu.has(r)||t.length!==2)return;const[s,o]=t,i=ou(s),l=ou(o);if(i!==l)if(U1(i)&&U1(l))for(let c=0;c<t.length;c++){const u=t[c];typeof u=="string"&&(t[c]=parseFloat(u))}else sn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||Y7(t[s]))&&r.push(s);r.length&&t4(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=sn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,i=r[o];r[o]=sn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function r4(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const s=n?.[e]??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}const cu=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function s4(e){return c1(e)&&"offsetHeight"in e}const uu=30,o4=e=>!isNaN(parseFloat(e));class i4{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const s=Be.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Be.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=o4(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Jo(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Xo);const r=this.events[t].add(n);return t==="change"?()=>{r(),le.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Be.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>uu)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,uu);return d1(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Fn(e,t){return new i4(e,t)}const{schedule:Pi}=L1(queueMicrotask,!1),at={x:!1,y:!1};function du(){return at.x||at.y}function a4(e){return e==="x"||e==="y"?at[e]?null:(at[e]=!0,()=>{at[e]=!1}):at.x||at.y?null:(at.x=at.y=!0,()=>{at.x=at.y=!1})}function fu(e,t){const n=r4(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function hu(e){return!(e.pointerType==="touch"||du())}function l4(e,t,n={}){const[r,s,o]=fu(e,n),i=l=>{if(!hu(l))return;const{target:c}=l,u=t(c,l);if(typeof u!="function"||!c)return;const d=f=>{hu(f)&&(u(f),c.removeEventListener("pointerleave",d))};c.addEventListener("pointerleave",d,s)};return r.forEach(l=>{l.addEventListener("pointerenter",i,s)}),o}const pu=(e,t)=>t?e===t?!0:pu(e,t.parentElement):!1,Ai=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,c4=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function u4(e){return c4.has(e.tagName)||e.tabIndex!==-1}const bs=new WeakSet;function mu(e){return t=>{t.key==="Enter"&&e(t)}}function Ri(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const d4=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=mu(()=>{if(bs.has(n))return;Ri(n,"down");const s=mu(()=>{Ri(n,"up")}),o=()=>Ri(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function gu(e){return Ai(e)&&!du()}function f4(e,t,n={}){const[r,s,o]=fu(e,n),i=l=>{const c=l.currentTarget;if(!gu(l))return;bs.add(c);const u=t(c,l),d=(m,g)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),bs.has(c)&&bs.delete(c),gu(m)&&typeof u=="function"&&u(m,{success:g})},f=m=>{d(m,c===window||c===document||n.useGlobalTarget||pu(c,m.target))},h=m=>{d(m,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",i,s),s4(l)&&(l.addEventListener("focus",u=>d4(u,s)),!u4(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),o}function xu(e){return c1(e)&&"ownerSVGElement"in e}function h4(e){return xu(e)&&e.tagName==="svg"}const Pe=e=>!!(e&&e.getVelocity),p4=[...su,Ce,Ft],m4=e=>p4.find(ru(e)),yu=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function g4(e=!0){const t=p.useContext(zo);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,o=p.useId();p.useEffect(()=>{if(e)return s(o)},[e]);const i=p.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,i]:[!0]}const vu=p.createContext({strict:!1}),bu={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Vn={};for(const e in bu)Vn[e]={isEnabled:t=>bu[e].some(n=>!!t[n])};function x4(e){for(const t in e)Vn[t]={...Vn[t],...e[t]}}const y4=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Cs(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||y4.has(e)}let Cu=e=>!Cs(e);function v4(e){typeof e=="function"&&(Cu=t=>t.startsWith("on")?!Cs(t):e(t))}try{v4(require("@emotion/is-prop-valid").default)}catch{}function b4(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||(Cu(s)||n===!0&&Cs(s)||!t&&!Cs(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const ws=p.createContext({});function ks(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function hr(e){return typeof e=="string"||Array.isArray(e)}const Ni=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Fi=["initial",...Ni];function js(e){return ks(e.animate)||Fi.some(t=>hr(e[t]))}function wu(e){return!!(js(e)||e.variants)}function C4(e,t){if(js(e)){const{initial:n,animate:r}=e;return{initial:n===!1||hr(n)?n:void 0,animate:hr(r)?r:void 0}}return e.inherit!==!1?t:{}}function w4(e){const{initial:t,animate:n}=C4(e,p.useContext(ws));return p.useMemo(()=>({initial:t,animate:n}),[ku(t),ku(n)])}function ku(e){return Array.isArray(e)?e.join(" "):e}const pr={};function k4(e){for(const t in e)pr[t]=e[t],ni(t)&&(pr[t].isCSSVariable=!0)}function ju(e,{layout:t,layoutId:n}){return Nn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!pr[e]||e==="opacity")}const j4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},L4=Rn.length;function E4(e,t,n){let r="",s=!0;for(let o=0;o<L4;o++){const i=Rn[o],l=e[i];if(l===void 0)continue;let c=!0;if(typeof l=="number"?c=l===(i.startsWith("scale")?1:0):c=parseFloat(l)===0,!c||n){const u=cu(l,Di[i]);if(!c){s=!1;const d=j4[i]||i;r+=`${d}(${u}) `}n&&(t[i]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function Vi(e,t,n){const{style:r,vars:s,transformOrigin:o}=e;let i=!1,l=!1;for(const c in t){const u=t[c];if(Nn.has(c)){i=!0;continue}else if(ni(c)){s[c]=u;continue}else{const d=cu(u,Di[c]);c.startsWith("origin")?(l=!0,o[c]=d):r[c]=d}}if(t.transform||(i||n?r.transform=E4(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=o;r.transformOrigin=`${c} ${u} ${d}`}}const $i=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Lu(e,t,n){for(const r in t)!Pe(t[r])&&!ju(r,n)&&(e[r]=t[r])}function M4({transformTemplate:e},t){return p.useMemo(()=>{const n=$i();return Vi(n,t,e),Object.assign({},n.vars,n.style)},[t])}function S4(e,t){const n=e.style||{},r={};return Lu(r,n,e),Object.assign(r,M4(e,t)),r}function T4(e,t){const n={},r=S4(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const D4={offset:"stroke-dashoffset",array:"stroke-dasharray"},P4={offset:"strokeDashoffset",array:"strokeDasharray"};function A4(e,t,n=1,r=0,s=!0){e.pathLength=1;const o=s?D4:P4;e[o.offset]=q.transform(-r);const i=q.transform(t),l=q.transform(n);e[o.array]=`${i} ${l}`}function Eu(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:o=1,pathOffset:i=0,...l},c,u,d){if(Vi(e,l,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=d?.transformBox??"fill-box",delete f.transformBox),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&A4(f,s,o,i,!1)}const Mu=()=>({...$i(),attrs:{}}),Su=e=>typeof e=="string"&&e.toLowerCase()==="svg";function R4(e,t,n,r){const s=p.useMemo(()=>{const o=Mu();return Eu(o,t,Su(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Lu(o,e.style,e),s.style={...o,...s.style}}return s}const N4=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Oi(e){return typeof e!="string"||e.includes("-")?!1:!!(N4.indexOf(e)>-1||/[A-Z]/u.test(e))}function F4(e,t,n,{latestValues:r},s,o=!1){const l=(Oi(e)?R4:T4)(t,r,s,e),c=b4(t,typeof e=="string",o),u=e!==p.Fragment?{...c,...l,ref:n}:{},{children:d}=t,f=p.useMemo(()=>Pe(d)?d.get():d,[d]);return p.createElement(e,{...u,children:f})}function Tu(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function _i(e,t,n,r){if(typeof t=="function"){const[s,o]=Tu(r);t=t(n!==void 0?n:e.custom,s,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,o]=Tu(r);t=t(n!==void 0?n:e.custom,s,o)}return t}function Ls(e){return Pe(e)?e.get():e}function V4({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:$4(n,r,s,e),renderState:t()}}function $4(e,t,n,r){const s={},o=r(e,{});for(const h in o)s[h]=Ls(o[h]);let{initial:i,animate:l}=e;const c=js(e),u=wu(e);t&&u&&!c&&e.inherit!==!1&&(i===void 0&&(i=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||i===!1;const f=d?l:i;if(f&&typeof f!="boolean"&&!ks(f)){const h=Array.isArray(f)?f:[f];for(let m=0;m<h.length;m++){const g=_i(e,h[m]);if(g){const{transitionEnd:x,transition:v,...b}=g;for(const C in b){let y=b[C];if(Array.isArray(y)){const k=d?y.length-1:0;y=y[k]}y!==null&&(s[C]=y)}for(const C in x)s[C]=x[C]}}}return s}const Du=e=>(t,n)=>{const r=p.useContext(ws),s=p.useContext(zo),o=()=>V4(e,t,r,s);return n?o():x6(o)};function Bi(e,t,n){const{style:r}=e,s={};for(const o in r)(Pe(r[o])||t.style&&Pe(t.style[o])||ju(o,e)||n?.getValue(o)?.liveStyle!==void 0)&&(s[o]=r[o]);return s}const O4=Du({scrapeMotionValuesFromProps:Bi,createRenderState:$i});function Pu(e,t,n){const r=Bi(e,t,n);for(const s in e)if(Pe(e[s])||Pe(t[s])){const o=Rn.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[o]=e[s]}return r}const _4=Du({scrapeMotionValuesFromProps:Pu,createRenderState:Mu}),B4=Symbol.for("motionComponentSymbol");function $n(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function I4(e,t,n){return p.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):$n(n)&&(n.current=r))},[t])}const Ii=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),H4="framerAppearId",Au="data-"+Ii(H4),Ru=p.createContext({});function W4(e,t,n,r,s){const{visualElement:o}=p.useContext(ws),i=p.useContext(vu),l=p.useContext(zo),c=p.useContext(yu).reducedMotion,u=p.useRef(null);r=r||i.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const d=u.current,f=p.useContext(Ru);d&&!d.projection&&s&&(d.type==="html"||d.type==="svg")&&Z4(u.current,n,s,f);const h=p.useRef(!1);p.useInsertionEffect(()=>{d&&h.current&&d.update(n,l)});const m=n[Au],g=p.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return y6(()=>{d&&(h.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),g.current&&d.animationState&&d.animationState.animateChanges())}),p.useEffect(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),g.current=!1),d.enteringChildren=void 0)}),d}function Z4(e,t,n,r){const{layoutId:s,layout:o,drag:i,dragConstraints:l,layoutScroll:c,layoutRoot:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Nu(e.parent)),e.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!i||l&&$n(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:u})}function Nu(e){if(e)return e.options.allowProjection!==!1?e.projection:Nu(e.parent)}function Hi(e,{forwardMotionProps:t=!1}={},n,r){n&&x4(n);const s=Oi(e)?_4:O4;function o(l,c){let u;const d={...p.useContext(yu),...l,layoutId:U4(l)},{isStatic:f}=d,h=w4(l),m=s(l,f);if(!f&&Uo){z4(d,n);const g=K4(d);u=g.MeasureLayout,h.visualElement=W4(e,m,d,r,g.ProjectionNode)}return a.jsxs(ws.Provider,{value:h,children:[u&&h.visualElement?a.jsx(u,{visualElement:h.visualElement,...d}):null,F4(e,l,I4(m,h.visualElement,c),m,f,t)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const i=p.forwardRef(o);return i[B4]=e,i}function U4({layoutId:e}){const t=p.useContext(a1).id;return t&&e!==void 0?t+"-"+e:e}function z4(e,t){const n=p.useContext(vu).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Tn(!1,r,"lazy-strict-mode"):kt(!1,r,"lazy-strict-mode")}}function K4(e){const{drag:t,layout:n}=Vn;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Y4(e,t){if(typeof Proxy>"u")return Hi;const n=new Map,r=(o,i)=>Hi(o,i,e,t),s=(o,i)=>(process.env.NODE_ENV!=="production"&&Jo(!1,"motion() is deprecated. Use motion.create() instead."),r(o,i));return new Proxy(s,{get:(o,i)=>i==="create"?r:(n.has(i)||n.set(i,Hi(i,void 0,e,t)),n.get(i))})}function Fu({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function G4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function q4(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Wi(e){return e===void 0||e===1}function Zi({scale:e,scaleX:t,scaleY:n}){return!Wi(e)||!Wi(t)||!Wi(n)}function an(e){return Zi(e)||Vu(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Vu(e){return $u(e.x)||$u(e.y)}function $u(e){return e&&e!=="0%"}function Es(e,t,n){const r=e-n,s=t*r;return n+s}function Ou(e,t,n,r,s){return s!==void 0&&(e=Es(e,s,r)),Es(e,n,r)+t}function Ui(e,t=0,n=1,r,s){e.min=Ou(e.min,t,n,r,s),e.max=Ou(e.max,t,n,r,s)}function _u(e,{x:t,y:n}){Ui(e.x,t.translate,t.scale,t.originPoint),Ui(e.y,n.translate,n.scale,n.originPoint)}const Bu=.999999999999,Iu=1.0000000000001;function X4(e,t,n,r=!1){const s=n.length;if(!s)return;t.x=t.y=1;let o,i;for(let l=0;l<s;l++){o=n[l],i=o.projectionDelta;const{visualElement:c}=o.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&_n(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,_u(e,i)),r&&an(o.latestValues)&&_n(e,o.latestValues))}t.x<Iu&&t.x>Bu&&(t.x=1),t.y<Iu&&t.y>Bu&&(t.y=1)}function On(e,t){e.min=e.min+t,e.max=e.max+t}function Hu(e,t,n,r,s=.5){const o=ue(e.min,e.max,s);Ui(e,t,n,o,r)}function _n(e,t){Hu(e.x,t.x,t.scaleX,t.scale,t.originX),Hu(e.y,t.y,t.scaleY,t.scale,t.originY)}function Wu(e,t){return Fu(q4(e.getBoundingClientRect(),t))}function J4(e,t,n){const r=Wu(e,n),{scroll:s}=t;return s&&(On(r.x,s.offset.x),On(r.y,s.offset.y)),r}const Zu=()=>({translate:0,scale:1,origin:0,originPoint:0}),Bn=()=>({x:Zu(),y:Zu()}),Uu=()=>({min:0,max:0}),ge=()=>({x:Uu(),y:Uu()}),zi={current:null},zu={current:!1};function Q4(){if(zu.current=!0,!!Uo)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>zi.current=e.matches;e.addEventListener("change",t),t()}else zi.current=!1}const ep=new WeakMap;function tp(e,t,n){for(const r in t){const s=t[r],o=n[r];if(Pe(s))e.addValue(r,s);else if(Pe(o))e.addValue(r,Fn(s,{owner:e}));else if(o!==s)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(s):i.hasAnimated||i.set(s)}else{const i=e.getStaticValue(r);e.addValue(r,Fn(i!==void 0?i:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Ku=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class np{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,blockInitialAnimation:o,visualState:i},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ei,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Be.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,le.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=i;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=js(n),this.isVariantNode=wu(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const m=f[h];c[h]!==void 0&&Pe(m)&&m.set(c[h])}}mount(t){this.current=t,ep.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),zu.current||Q4(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:zi.current,process.env.NODE_ENV!=="production"&&Jo(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Rt(this.notifyUpdate),Rt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Nn.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&le.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Vn){const n=Vn[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ge()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Ku.length;r++){const s=Ku[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,i=t[o];i&&(this.propEventSubscriptions[s]=this.on(s,i))}this.prevMotionValues=tp(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Fn(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(l1(r)||u1(r))?r=parseFloat(r):!m4(r)&&Ft.test(n)&&(r=lu(t,n)),this.setBaseTarget(t,Pe(r)?r.get():r)),Pe(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=_i(this.props,n,this.presenceContext?.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Pe(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Xo),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Pi.render(this.render)}}class Yu extends np{constructor(){super(...arguments),this.KeyframeResolver=n4}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Pe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Gu(e,{style:t,vars:n},r,s){const o=e.style;let i;for(i in t)o[i]=t[i];s?.applyProjectionStyles(o,r);for(i in n)o.setProperty(i,n[i])}function rp(e){return window.getComputedStyle(e)}class sp extends Yu{constructor(){super(...arguments),this.type="html",this.renderInstance=Gu}readValueFromInstance(t,n){if(Nn.has(n))return this.projection?.isProjecting?Ci(n):b7(t,n);{const r=rp(t),s=(ni(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Wu(t,n)}build(t,n,r){Vi(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Bi(t,n,r)}}const qu=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function op(e,t,n,r){Gu(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(qu.has(s)?s:Ii(s),t.attrs[s])}class ip extends Yu{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ge}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Nn.has(n)){const r=au(n);return r&&r.default||0}return n=qu.has(n)?n:Ii(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Pu(t,n,r)}build(t,n,r){Eu(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){op(t,n,r,s)}mount(t){this.isSVGTag=Su(t.tagName),super.mount(t)}}const ap=(e,t)=>Oi(e)?new ip(t):new sp(t,{allowProjection:e!==p.Fragment});function In(e,t,n){const r=e.getProps();return _i(r,t,n!==void 0?n:r.custom,e)}const Ki=e=>Array.isArray(e);function lp(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Fn(n))}function cp(e){return Ki(e)?e[e.length-1]||0:e}function up(e,t){const n=In(e,t);let{transitionEnd:r={},transition:s={},...o}=n||{};o={...o,...r};for(const i in o){const l=cp(o[i]);lp(e,i,l)}}function dp(e){return!!(Pe(e)&&e.add)}function Yi(e,t){const n=e.getValue("willChange");if(dp(n))return n.add(t);if(!n&&jt.WillChange){const r=new jt.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Xu(e){return e.props[Au]}const fp=e=>e!==null;function hp(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(fp),o=t&&n!=="loop"&&t%2===1?0:s.length-1;return s[o]}const pp={type:"spring",stiffness:500,damping:25,restSpeed:10},mp=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),gp={type:"keyframes",duration:.8},xp={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},yp=(e,{keyframes:t})=>t.length>2?gp:Nn.has(e)?e.startsWith("scale")?mp(t[1]):pp:xp;function vp({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:o,repeatType:i,repeatDelay:l,from:c,elapsed:u,...d}){return!!Object.keys(d).length}const Gi=(e,t,n,r={},s,o)=>i=>{const l=Si(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-it(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:h=>{t.set(h),l.onUpdate&&l.onUpdate(h)},onComplete:()=>{i(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:s};vp(l)||Object.assign(d,yp(e,d)),d.duration&&(d.duration=it(d.duration)),d.repeatDelay&&(d.repeatDelay=it(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Mi(d),d.delay===0&&(f=!0)),(jt.instantAnimations||jt.skipAnimations)&&(f=!0,Mi(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,f&&!o&&t.get()!==void 0){const h=hp(d.keyframes,l);if(h!==void 0){le.update(()=>{d.onUpdate(h),d.onComplete()});return}}return l.isSync?new yi(d):new W7(d)};function bp({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ju(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:i,...l}=t;r&&(o=r);const c=[],u=s&&e.animationState&&e.animationState.getState()[s];for(const d in l){const f=e.getValue(d,e.latestValues[d]??null),h=l[d];if(h===void 0||u&&bp(u,d))continue;const m={delay:n,...Si(o||{},d)},g=f.get();if(g!==void 0&&!f.isAnimating&&!Array.isArray(h)&&h===g&&!m.velocity)continue;let x=!1;if(window.MotionHandoffAnimation){const b=Xu(e);if(b){const C=window.MotionHandoffAnimation(b,d,le);C!==null&&(m.startTime=C,x=!0)}}Yi(e,d),f.start(Gi(d,f,h,e.shouldReduceMotion&&nu.has(d)?{type:!1}:m,e,x));const v=f.animation;v&&c.push(v)}return i&&Promise.all(c).then(()=>{le.update(()=>{i&&up(e,i)})}),c}function Qu(e,t,n,r=0,s=1){const o=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),i=e.size,l=(i-1)*r;return typeof n=="function"?n(o,i):s===1?o*r:l-o*r}function qi(e,t,n={}){const r=In(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(Ju(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=s;return Cp(e,t,c,u,d,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[c,u]=l==="beforeChildren"?[o,i]:[i,o];return c().then(()=>u())}else return Promise.all([o(),i(n.delay)])}function Cp(e,t,n=0,r=0,s=0,o=1,i){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(qi(c,t,{...i,delay:n+(typeof r=="function"?0:r)+Qu(e.variantChildren,c,r,s,o)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function wp(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(o=>qi(e,o,n));r=Promise.all(s)}else if(typeof t=="string")r=qi(e,t,n);else{const s=typeof t=="function"?In(e,t,n.custom):t;r=Promise.all(Ju(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function ed(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const kp=Fi.length;function td(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?td(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<kp;n++){const r=Fi[n],s=e.props[r];(hr(s)||s===!1)&&(t[r]=s)}return t}const jp=[...Ni].reverse(),Lp=Ni.length;function Ep(e){return t=>Promise.all(t.map(({animation:n,options:r})=>wp(e,n,r)))}function Mp(e){let t=Ep(e),n=nd(),r=!0;const s=c=>(u,d)=>{const f=In(e,d,c==="exit"?e.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:m,...g}=f;u={...u,...g,...m}}return u};function o(c){t=c(e)}function i(c){const{props:u}=e,d=td(e.parent)||{},f=[],h=new Set;let m={},g=1/0;for(let v=0;v<Lp;v++){const b=jp[v],C=n[b],y=u[b]!==void 0?u[b]:d[b],k=hr(y),w=b===c?C.isActive:null;w===!1&&(g=v);let L=y===d[b]&&y!==u[b]&&k;if(L&&r&&e.manuallyAnimateOnMount&&(L=!1),C.protectedKeys={...m},!C.isActive&&w===null||!y&&!C.prevProp||ks(y)||typeof y=="boolean")continue;const A=Sp(C.prevProp,y);let D=A||b===c&&C.isActive&&!L&&k||v>g&&k,I=!1;const V=Array.isArray(y)?y:[y];let O=V.reduce(s(b),{});w===!1&&(O={});const{prevResolvedValues:z={}}=C,Z={...z,...O},P=T=>{D=!0,h.has(T)&&(I=!0,h.delete(T)),C.needsAnimating[T]=!0;const M=e.getValue(T);M&&(M.liveStyle=!1)};for(const T in Z){const M=O[T],$=z[T];if(m.hasOwnProperty(T))continue;let N=!1;Ki(M)&&Ki($)?N=!ed(M,$):N=M!==$,N?M!=null?P(T):h.add(T):M!==void 0&&h.has(T)?P(T):C.protectedKeys[T]=!0}C.prevProp=y,C.prevResolvedValues=O,C.isActive&&(m={...m,...O}),r&&e.blockInitialAnimation&&(D=!1);const F=L&&A;D&&(!F||I)&&f.push(...V.map(T=>{const M={type:b};if(typeof T=="string"&&r&&!F&&e.manuallyAnimateOnMount&&e.parent){const{parent:$}=e,N=In($,T);if($.enteringChildren&&N){const{delayChildren:H}=N.transition||{};M.delay=Qu($.enteringChildren,e,H)}}return{animation:T,options:M}}))}if(h.size){const v={};if(typeof u.initial!="boolean"){const b=In(e,Array.isArray(u.initial)?u.initial[0]:u.initial);b&&b.transition&&(v.transition=b.transition)}h.forEach(b=>{const C=e.getBaseTarget(b),y=e.getValue(b);y&&(y.liveStyle=!0),v[b]=C??null}),f.push({animation:v})}let x=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?t(f):Promise.resolve()}function l(c,u){if(n[c].isActive===u)return Promise.resolve();e.variantChildren?.forEach(f=>f.animationState?.setActive(c,u)),n[c].isActive=u;const d=i(c);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:i,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=nd()}}}function Sp(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ed(t,e):!1}function ln(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nd(){return{animate:ln(!0),whileInView:ln(),whileHover:ln(),whileTap:ln(),whileDrag:ln(),whileFocus:ln(),exit:ln()}}class Vt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Tp extends Vt{constructor(t){super(t),t.animationState||(t.animationState=Mp(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ks(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Dp=0;class Pp extends Vt{constructor(){super(...arguments),this.id=Dp++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Ap={animation:{Feature:Tp},exit:{Feature:Pp}};function mr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function gr(e){return{point:{x:e.pageX,y:e.pageY}}}const Rp=e=>t=>Ai(t)&&e(t,gr(t));function xr(e,t,n,r){return mr(e,t,Rp(n),r)}const rd=1e-4,Np=1-rd,Fp=1+rd,sd=.01,Vp=0-sd,$p=0+sd;function Fe(e){return e.max-e.min}function Op(e,t,n){return Math.abs(e-t)<=n}function od(e,t,n,r=.5){e.origin=r,e.originPoint=ue(t.min,t.max,e.origin),e.scale=Fe(n)/Fe(t),e.translate=ue(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Np&&e.scale<=Fp||isNaN(e.scale))&&(e.scale=1),(e.translate>=Vp&&e.translate<=$p||isNaN(e.translate))&&(e.translate=0)}function yr(e,t,n,r){od(e.x,t.x,n.x,r?r.originX:void 0),od(e.y,t.y,n.y,r?r.originY:void 0)}function id(e,t,n){e.min=n.min+t.min,e.max=e.min+Fe(t)}function _p(e,t,n){id(e.x,t.x,n.x),id(e.y,t.y,n.y)}function ad(e,t,n){e.min=t.min-n.min,e.max=e.min+Fe(t)}function vr(e,t,n){ad(e.x,t.x,n.x),ad(e.y,t.y,n.y)}function Je(e){return[e("x"),e("y")]}const ld=({current:e})=>e?e.ownerDocument.defaultView:null,cd=(e,t)=>Math.abs(e-t);function Bp(e,t){const n=cd(e.x,t.x),r=cd(e.y,t.y);return Math.sqrt(n**2+r**2)}class ud{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:o=!1,distanceThreshold:i=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=Ji(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=Bp(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!g)return;const{point:x}=h,{timestamp:v}=Ee;this.history.push({...x,timestamp:v});const{onStart:b,onMove:C}=this.handlers;m||(b&&b(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,h)},this.handlePointerMove=(h,m)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Xi(m,this.transformPagePoint),le.update(this.updatePoint,!0)},this.handlePointerUp=(h,m)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Ji(h.type==="pointercancel"?this.lastMoveEventInfo:Xi(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,b),x&&x(h,b)},!Ai(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=s||window;const l=gr(t),c=Xi(l,this.transformPagePoint),{point:u}=c,{timestamp:d}=Ee;this.history=[{...u,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,Ji(c,this.history)),this.removeListeners=or(xr(this.contextWindow,"pointermove",this.handlePointerMove),xr(this.contextWindow,"pointerup",this.handlePointerUp),xr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Rt(this.updatePoint)}}function Xi(e,t){return t?{point:t(e.point)}:e}function dd(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ji({point:e},t){return{point:e,delta:dd(e,fd(t)),offset:dd(e,Ip(t)),velocity:Hp(t,.1)}}function Ip(e){return e[0]}function fd(e){return e[e.length-1]}function Hp(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=fd(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>it(t)));)n--;if(!r)return{x:0,y:0};const o=Xe(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const i={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Wp(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ue(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ue(n,e,r.max):Math.min(e,n)),e}function hd(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Zp(e,{top:t,left:n,bottom:r,right:s}){return{x:hd(e.x,n,s),y:hd(e.y,t,r)}}function pd(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Up(e,t){return{x:pd(e.x,t.x),y:pd(e.y,t.y)}}function zp(e,t){let n=.5;const r=Fe(e),s=Fe(t);return s>r?n=ir(t.min,t.max-r,e.min):r>s&&(n=ir(e.min,e.max-s,t.min)),wt(0,1,n)}function Kp(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Qi=.35;function Yp(e=Qi){return e===!1?e=0:e===!0&&(e=Qi),{x:md(e,"left","right"),y:md(e,"top","bottom")}}function md(e,t,n){return{min:gd(e,t),max:gd(e,n)}}function gd(e,t){return typeof e=="number"?e:e[t]||0}const Gp=new WeakMap;class qp{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ge(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const o=f=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(gr(f).point)},i=(f,h)=>{const{drag:m,dragPropagation:g,onDragStart:x}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=a4(m),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Je(b=>{let C=this.getAxisMotionValue(b).get()||0;if(gt.test(C)){const{projection:y}=this.visualElement;if(y&&y.layout){const k=y.layout.layoutBox[b];k&&(C=Fe(k)*(parseFloat(C)/100))}}this.originPoint[b]=C}),x&&le.postRender(()=>x(f,h)),Yi(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:x,onDrag:v}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:b}=h;if(g&&this.currentDirection===null){this.currentDirection=Xp(b),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",h.point,b),this.updateAxis("y",h.point,b),this.visualElement.render(),v&&v(f,h)},c=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>Je(f=>this.getAnimationState(f)==="paused"&&this.getAxisMotionValue(f).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new ud(t,{onSessionStart:o,onStart:i,onMove:l,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:ld(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!s||!r)return;const{velocity:i}=s;this.startAnimation(i);const{onDragEnd:l}=this.getProps();l&&le.postRender(()=>l(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!Ms(t,s,this.currentDirection))return;const o=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=Wp(i,this.constraints[t],this.elastic[t])),o.set(i)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&$n(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Zp(r.layoutBox,t):this.constraints=!1,this.elastic=Yp(n),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Je(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Kp(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!$n(t))return!1;const r=t.current;kt(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=J4(r,s.root,this.visualElement.getTransformPagePoint());let i=Up(s.layout.layoutBox,o);if(n){const l=n(G4(i));this.hasMutatedConstraints=!!l,l&&(i=Fu(l))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=Je(d=>{if(!Ms(d,n,this.currentDirection))return;let f=c&&c[d]||{};i&&(f={min:0,max:0});const h=s?200:1e6,m=s?40:1e7,g={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(d,g)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Yi(this.visualElement,t),r.start(Gi(t,r,0,n,this.visualElement,!1))}stopAnimation(){Je(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Je(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Je(n=>{const{drag:r}=this.getProps();if(!Ms(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(n);if(s&&s.layout){const{min:i,max:l}=s.layout.layoutBox[n];o.set(t[n]-ue(i,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!$n(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Je(i=>{const l=this.getAxisMotionValue(i);if(l&&this.constraints!==!1){const c=l.get();s[i]=zp({min:c,max:c},this.constraints[i])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Je(i=>{if(!Ms(i,t,null))return;const l=this.getAxisMotionValue(i),{min:c,max:u}=this.constraints[i];l.set(ue(c,u,s[i]))})}addListeners(){if(!this.visualElement.current)return;Gp.set(this.visualElement,this);const t=this.visualElement.current,n=xr(t,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();$n(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,o=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),le.read(r);const i=mr(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(Je(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=c[d].translate,f.set(f.get()+c[d].translate))}),this.visualElement.render())});return()=>{i(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:i=Qi,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:o,dragElastic:i,dragMomentum:l}}}function Ms(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Xp(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Jp extends Vt{constructor(t){super(t),this.removeGroupControls=qe,this.removeListeners=qe,this.controls=new qp(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||qe}unmount(){this.removeGroupControls(),this.removeListeners()}}const xd=e=>(t,n)=>{e&&le.postRender(()=>e(t,n))};class Qp extends Vt{constructor(){super(...arguments),this.removePointerDownListener=qe}onPointerDown(t){this.session=new ud(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ld(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:xd(t),onStart:xd(n),onMove:r,onEnd:(o,i)=>{delete this.session,s&&le.postRender(()=>s(o,i))}}}mount(){this.removePointerDownListener=xr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ss={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function yd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const br={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(q.test(e))e=parseFloat(e);else return e;const n=yd(e,t.target.x),r=yd(e,t.target.y);return`${n}% ${r}%`}},e8={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=Ft.parse(e);if(s.length>5)return r;const o=Ft.createTransformer(e),i=typeof s[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;s[0+i]/=l,s[1+i]/=c;const u=ue(l,c,.5);return typeof s[2+i]=="number"&&(s[2+i]/=u),typeof s[3+i]=="number"&&(s[3+i]/=u),o(s)}};let ea=!1;class t8 extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:o}=t;k4(n8),o&&(n.group&&n.group.add(o),r&&r.register&&s&&r.register(o),ea&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Ss.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:o}=this.props,{projection:i}=r;return i&&(i.isPresent=o,ea=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==o?i.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?i.promote():i.relegate()||le.postRender(()=>{const l=i.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Pi.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;ea=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function vd(e){const[t,n]=g4(),r=p.useContext(a1);return a.jsx(t8,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(Ru),isPresent:t,safeToRemove:n})}const n8={borderRadius:{...br,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:br,borderTopRightRadius:br,borderBottomLeftRadius:br,borderBottomRightRadius:br,boxShadow:e8};function r8(e,t,n){const r=Pe(e)?e:Fn(e);return r.start(Gi("",r,t,n)),r.animation}const s8=(e,t)=>e.depth-t.depth;class o8{constructor(){this.children=[],this.isDirty=!1}add(t){Ko(this.children,t),this.isDirty=!0}remove(t){Yo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(s8),this.isDirty=!1,this.children.forEach(t)}}function i8(e,t){const n=Be.now(),r=({timestamp:s})=>{const o=s-n;o>=t&&(Rt(r),e(o-t))};return le.setup(r,!0),()=>Rt(r)}const bd=["TopLeft","TopRight","BottomLeft","BottomRight"],a8=bd.length,Cd=e=>typeof e=="string"?parseFloat(e):e,wd=e=>typeof e=="number"||q.test(e);function l8(e,t,n,r,s,o){s?(e.opacity=ue(0,n.opacity??1,c8(r)),e.opacityExit=ue(t.opacity??1,0,u8(r))):o&&(e.opacity=ue(t.opacity??1,n.opacity??1,r));for(let i=0;i<a8;i++){const l=`border${bd[i]}Radius`;let c=kd(t,l),u=kd(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||wd(c)===wd(u)?(e[l]=Math.max(ue(Cd(c),Cd(u),r),0),(gt.test(u)||gt.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=ue(t.rotate||0,n.rotate||0,r))}function kd(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const c8=jd(0,.5,v1),u8=jd(.5,.95,qe);function jd(e,t,n){return r=>r<e?0:r>t?1:n(ir(e,t,r))}function Ld(e,t){e.min=t.min,e.max=t.max}function Qe(e,t){Ld(e.x,t.x),Ld(e.y,t.y)}function Ed(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Md(e,t,n,r,s){return e-=t,e=Es(e,1/n,r),s!==void 0&&(e=Es(e,1/s,r)),e}function d8(e,t=0,n=1,r=.5,s,o=e,i=e){if(gt.test(t)&&(t=parseFloat(t),t=ue(i.min,i.max,t/100)-i.min),typeof t!="number")return;let l=ue(o.min,o.max,r);e===o&&(l-=t),e.min=Md(e.min,t,n,l,s),e.max=Md(e.max,t,n,l,s)}function Sd(e,t,[n,r,s],o,i){d8(e,t[n],t[r],t[s],t.scale,o,i)}const f8=["x","scaleX","originX"],h8=["y","scaleY","originY"];function Td(e,t,n,r){Sd(e.x,t,f8,n?n.x:void 0,r?r.x:void 0),Sd(e.y,t,h8,n?n.y:void 0,r?r.y:void 0)}function Dd(e){return e.translate===0&&e.scale===1}function Pd(e){return Dd(e.x)&&Dd(e.y)}function Ad(e,t){return e.min===t.min&&e.max===t.max}function p8(e,t){return Ad(e.x,t.x)&&Ad(e.y,t.y)}function Rd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Nd(e,t){return Rd(e.x,t.x)&&Rd(e.y,t.y)}function Fd(e){return Fe(e.x)/Fe(e.y)}function Vd(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class m8{constructor(){this.members=[]}add(t){Ko(this.members,t),t.scheduleRender()}remove(t){if(Yo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(s=>t===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const o=this.members[s];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function g8(e,t,n){let r="";const s=e.x.translate/t.x,o=e.y.translate/t.y,i=n?.z||0;if((s||o||i)&&(r=`translate3d(${s}px, ${o}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:h,skewX:m,skewY:g}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),m&&(r+=`skewX(${m}deg) `),g&&(r+=`skewY(${g}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const ta=["","X","Y","Z"],x8=1e3;let y8=0;function na(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function $d(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Xu(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",le,!(s||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&$d(r)}function Od({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(i={},l=t?.()){this.id=y8++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(C8),this.nodes.forEach(L8),this.nodes.forEach(E8),this.nodes.forEach(w8)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new o8)}addEventListener(i,l){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Xo),this.eventHandlers.get(i).add(l)}notifyListeners(i,...l){const c=this.eventHandlers.get(i);c&&c.notify(...l)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=xu(i)&&!h4(i),this.instance=i;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;le.read(()=>{f=window.innerWidth}),e(i,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,d&&d(),d=i8(h,250),Ss.hasAnimatedSinceResize&&(Ss.hasAnimatedSinceResize=!1,this.nodes.forEach(Id)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||u.getDefaultTransition()||P8,{onLayoutAnimationStart:x,onLayoutAnimationComplete:v}=u.getProps(),b=!this.targetLayout||!Nd(this.targetLayout,m),C=!f&&h;if(this.options.layoutRoot||this.resumeFrom||C||f&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...Si(g,"layout"),onPlay:x,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(d,C)}else f||Id(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Rt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(M8),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&$d(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(_d);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Bd);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(j8),this.nodes.forEach(v8),this.nodes.forEach(b8)):this.nodes.forEach(Bd),this.clearAllSnapshots();const l=Be.now();Ee.delta=wt(0,1e3/60,l-Ee.timestamp),Ee.timestamp=l,Ee.isProcessing=!0,ti.update.process(Ee),ti.preRender.process(Ee),ti.render.process(Ee),Ee.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Pi.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(k8),this.sharedNodes.forEach(S8)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,le.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){le.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Fe(this.snapshot.measuredBox.x)&&!Fe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ge(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Pd(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;i&&this.instance&&(l||an(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return i&&(c=this.removeTransform(c)),A8(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return ge();const l=i.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(R8))){const{scroll:u}=this.root;u&&(On(l.x,u.offset.x),On(l.y,u.offset.y))}return l}removeElementScroll(i){const l=ge();if(Qe(l,i),this.scroll?.wasRoot)return l;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:d,options:f}=u;u!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&Qe(l,i),On(l.x,d.offset.x),On(l.y,d.offset.y))}return l}applyTransform(i,l=!1){const c=ge();Qe(c,i);for(let u=0;u<this.path.length;u++){const d=this.path[u];!l&&d.options.layoutScroll&&d.scroll&&d!==d.root&&_n(c,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),an(d.latestValues)&&_n(c,d.latestValues)}return an(this.latestValues)&&_n(c,this.latestValues),c}removeTransform(i){const l=ge();Qe(l,i);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!an(u.latestValues))continue;Zi(u.latestValues)&&u.updateSnapshot();const d=ge(),f=u.measurePageBox();Qe(d,f),Td(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,d)}return an(this.latestValues)&&Td(l,this.latestValues),l}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ee.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(i||c&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=Ee.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ge(),this.relativeTargetOrigin=ge(),vr(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),Qe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ge(),this.targetWithTransforms=ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),_p(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Qe(this.target,this.layout.layoutBox),_u(this.target,this.targetDelta)):Qe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ge(),this.relativeTargetOrigin=ge(),vr(this.relativeTargetOrigin,this.target,h.target),Qe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Zi(this.parent.latestValues)||Vu(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const i=this.getLead(),l=!!this.resumingFrom||this!==i;let c=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ee.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;Qe(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;X4(this.layoutCorrected,this.treeScale,this.path,l),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=ge());const{target:m}=i;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ed(this.prevProjectionDelta.x,this.projectionDelta.x),Ed(this.prevProjectionDelta.y,this.projectionDelta.y)),yr(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Vd(this.projectionDelta.x,this.prevProjectionDelta.x)||!Vd(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.visualElement?.scheduleRender(),i){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Bn(),this.projectionDelta=Bn(),this.projectionDeltaWithTransform=Bn()}setAnimationOrigin(i,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=Bn();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const h=ge(),m=c?c.source:void 0,g=this.layout?this.layout.source:void 0,x=m!==g,v=this.getStack(),b=!v||v.members.length<=1,C=!!(x&&!b&&this.options.crossfade===!0&&!this.path.some(D8));this.animationProgress=0;let y;this.mixTargetDelta=k=>{const w=k/1e3;Hd(f.x,i.x,w),Hd(f.y,i.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vr(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),T8(this.relativeTarget,this.relativeTargetOrigin,h,w),y&&p8(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=ge()),Qe(y,this.relativeTarget)),x&&(this.animationValues=d,l8(d,u,this.latestValues,w,C,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Rt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=le.update(()=>{Ss.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Fn(0)),this.currentAnimation=r8(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),i.onUpdate&&i.onUpdate(l)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(x8),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=i;if(!(!l||!c||!u)){if(this!==i&&this.layout&&u&&Kd(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||ge();const f=Fe(this.layout.layoutBox.x);c.x.min=i.target.x.min,c.x.max=c.x.min+f;const h=Fe(this.layout.layoutBox.y);c.y.min=i.target.y.min,c.y.max=c.y.min+h}Qe(l,c),_n(l,d),yr(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(i,l){this.sharedNodes.has(i)||this.sharedNodes.set(i,new m8),this.sharedNodes.get(i).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){const{layoutId:i}=this.options;return i?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),i&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let l=!1;const{latestValues:c}=i;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&na("z",i,u,this.animationValues);for(let d=0;d<ta.length;d++)na(`rotate${ta[d]}`,i,u,this.animationValues),na(`skew${ta[d]}`,i,u,this.animationValues);i.render();for(const d in u)i.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);i.scheduleRender()}applyProjectionStyles(i,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=Ls(l?.pointerEvents)||"",i.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=Ls(l?.pointerEvents)||""),this.hasProjected&&!an(this.latestValues)&&(i.transform=c?c({},""):"none",this.hasProjected=!1);return}i.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=g8(this.projectionDeltaWithTransform,this.treeScale,d);c&&(f=c(d,f)),i.transform=f;const{x:h,y:m}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,u.animationValues?i.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:i.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const g in pr){if(d[g]===void 0)continue;const{correct:x,applyTo:v,isCSSVariable:b}=pr[g],C=f==="none"?d[g]:x(d[g],u);if(v){const y=v.length;for(let k=0;k<y;k++)i[v[k]]=C}else b?this.options.visualElement.renderState.vars[g]=C:i[g]=C}this.options.layoutId&&(i.pointerEvents=u===this?Ls(l?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>i.currentAnimation?.stop()),this.root.nodes.forEach(_d),this.root.sharedNodes.clear()}}}function v8(e){e.updateLayout()}function b8(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;s==="size"?Je(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],h=Fe(f);f.min=n[d].min,f.max=f.min+h}):Kd(s,t.layoutBox,n)&&Je(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],h=Fe(n[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const i=Bn();yr(i,n,t.layoutBox);const l=Bn();o?yr(l,e.applyTransform(r,!0),t.measuredBox):yr(l,n,t.layoutBox);const c=!Pd(i);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const m=ge();vr(m,t.layoutBox,f.layoutBox);const g=ge();vr(g,n,h.layoutBox),Nd(m,g)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:l,layoutDelta:i,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function C8(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function w8(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function k8(e){e.clearSnapshot()}function _d(e){e.clearMeasurements()}function Bd(e){e.isLayoutDirty=!1}function j8(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Id(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function L8(e){e.resolveTargetDelta()}function E8(e){e.calcProjection()}function M8(e){e.resetSkewAndRotation()}function S8(e){e.removeLeadSnapshot()}function Hd(e,t,n){e.translate=ue(t.translate,0,n),e.scale=ue(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Wd(e,t,n,r){e.min=ue(t.min,n.min,r),e.max=ue(t.max,n.max,r)}function T8(e,t,n,r){Wd(e.x,t.x,n.x,r),Wd(e.y,t.y,n.y,r)}function D8(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const P8={duration:.45,ease:[.4,0,.1,1]},Zd=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ud=Zd("applewebkit/")&&!Zd("chrome/")?Math.round:qe;function zd(e){e.min=Ud(e.min),e.max=Ud(e.max)}function A8(e){zd(e.x),zd(e.y)}function Kd(e,t,n){return e==="position"||e==="preserve-aspect"&&!Op(Fd(t),Fd(n),.2)}function R8(e){return e!==e.root&&e.scroll?.wasRoot}const N8=Od({attachResizeListener:(e,t)=>mr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ra={current:void 0},Yd=Od({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ra.current){const e=new N8({});e.mount(window),e.setOptions({layoutScroll:!0}),ra.current=e}return ra.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),F8={pan:{Feature:Qp},drag:{Feature:Jp,ProjectionNode:Yd,MeasureLayout:vd}};function Gd(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,o=r[s];o&&le.postRender(()=>o(t,gr(t)))}class V8 extends Vt{mount(){const{current:t}=this.node;t&&(this.unmount=l4(t,(n,r)=>(Gd(this.node,r,"Start"),s=>Gd(this.node,s,"End"))))}unmount(){}}class $8 extends Vt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=or(mr(this.node.current,"focus",()=>this.onFocus()),mr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function qd(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),o=r[s];o&&le.postRender(()=>o(t,gr(t)))}class O8 extends Vt{mount(){const{current:t}=this.node;t&&(this.unmount=f4(t,(n,r)=>(qd(this.node,r,"Start"),(s,{success:o})=>qd(this.node,s,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const sa=new WeakMap,oa=new WeakMap,_8=e=>{const t=sa.get(e.target);t&&t(e)},B8=e=>{e.forEach(_8)};function I8({root:e,...t}){const n=e||document;oa.has(n)||oa.set(n,{});const r=oa.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(B8,{root:e,...t})),r[s]}function H8(e,t,n){const r=I8(t);return sa.set(e,n),r.observe(e),()=>{sa.delete(e),r.unobserve(e)}}const W8={some:0,all:1};class Z8 extends Vt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:W8[s]},l=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=u?d:f;h&&h(c)};return H8(this.node.current,i,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(U8(t,n))&&this.startObserver()}unmount(){}}function U8({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const z8={inView:{Feature:Z8},tap:{Feature:O8},focus:{Feature:$8},hover:{Feature:V8}},K8={layout:{ProjectionNode:Yd,MeasureLayout:vd}},Y8={...Ap,...z8,...F8,...K8},G8=Y4(Y8,ap),Ts=({isOpen:e,onClose:t,title:n,description:r,children:s,bottomContent:o,topContent:i,className:l,showCloseButton:c=!0,size:u="medium",variant:d="centered"})=>{const f=p.useRef(null);if(!e)return null;const h=_9[u],m={centered:{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9}},"right-slide":{initial:{x:"100%",opacity:0},animate:{x:"0%",opacity:1},exit:{x:"100%",opacity:0}}};return a.jsx(j,{onClick:g=>g.stopPropagation(),className:"fixed inset-0 z-[100] flex items-center justify-center overflow-y-hidden max-h-screen bg-metrifox-black/50 backdrop-blur-sm",children:a.jsxs(G8.div,{ref:f,initial:m[d].initial,animate:m[d].animate,exit:m[d].exit,transition:{duration:.3,ease:"easeOut"},className:`bg-metrifox-white shadow-lg w-full ${h} flex flex-col ${d==="right-slide"?"fixed right-0 top-0 bottom-0 h-[100vh] rounded-l-2xl":"mx-4 my-auto max-h-[90vh] rounded-2xl"}`,children:[i?a.jsx(j,{className:"p-4",children:i}):a.jsxs(j,{className:`${n?"p-6":"py-4 px-6"} border-b border-grey-200`,children:[a.jsxs(j,{className:"flex justify-between items-center",children:[a.jsx(Ho,{variant:"h6",color:"text-metrifox-black",children:n}),c&&a.jsx("span",{onClick:t,className:"cursor-pointer",children:a.jsx(be,{name:"circle-close",size:24,color:"grey-800"})})]}),r&&a.jsx(W,{variant:"body4",color:"text-grey-500",className:"mt-2 mr-6",children:r})]}),a.jsx(j,{className:`flex-grow overflow-y-auto p-6 max-h-[calc(90vh - 100px)] ${l}`,children:s}),o&&a.jsx(j,{className:"p-4 border-t border-grey-200",children:o})]})})};var Xd={exports:{}};(function(e,t){(function(n,r){e.exports=r(p)})(typeof self<"u"?self:Ot,function(n){return function(){var r={155:function(C){C.exports=n}},s={};function o(C){var y=s[C];if(y!==void 0)return y.exports;var k=s[C]={exports:{}};return r[C](k,k.exports,o),k.exports}o.d=function(C,y){for(var k in y)o.o(y,k)&&!o.o(C,k)&&Object.defineProperty(C,k,{enumerable:!0,get:y[k]})},o.o=function(C,y){return Object.prototype.hasOwnProperty.call(C,y)},o.r=function(C){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var i={};o.r(i),o.d(i,{useReactToPrint:function(){return b}});var l=o(155);const c="printWindow";function u({level:C="error",messages:y,suppressErrors:k=!1}){k||(C==="error"?console.error(y):C==="warning"?console.warn(y):console.debug(y))}function d(C,y){if(y||!C){const k=document.getElementById(c);k&&document.body.removeChild(k)}}function f(C){return C instanceof Error?C:new Error("Unknown Error")}function h(C,y){const{documentTitle:k,onAfterPrint:w,onPrintError:L,preserveAfterPrint:A,print:D,suppressErrors:I}=y;setTimeout(()=>{var V,O;if(C.contentWindow){let z=function(){w?.(),d(A)};if(C.contentWindow.focus(),D)D(C).then(z).catch(Z=>{L?L("print",f(Z)):u({messages:["An error was thrown by the specified `print` function"],suppressErrors:I})});else{if(C.contentWindow.print){const Z=(O=(V=C.contentDocument)===null||V===void 0?void 0:V.title)!==null&&O!==void 0?O:"",P=C.ownerDocument.title;k&&(C.ownerDocument.title=k,C.contentDocument&&(C.contentDocument.title=k)),C.contentWindow.print(),k&&(C.ownerDocument.title=P,C.contentDocument&&(C.contentDocument.title=Z))}else u({messages:["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."],suppressErrors:I});[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some(Z=>{var P,F;return((F=(P=navigator.userAgent)!==null&&P!==void 0?P:navigator.vendor)!==null&&F!==void 0?F:"opera"in window&&window.opera).match(Z)})?setTimeout(z,500):z()}}else u({messages:["Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-print`. Please file an issue: https://github.com/MatthewHerbst/react-to-print/issues/"],suppressErrors:I})},500)}function m(C){const y=[],k=document.createTreeWalker(C,NodeFilter.SHOW_ELEMENT,null);let w=k.nextNode();for(;w;)y.push(w),w=k.nextNode();return y}function g(C,y,k){const w=m(C),L=m(y);if(w.length===L.length)for(let A=0;A<w.length;A++){const D=w[A],I=L[A],V=D.shadowRoot;if(V!==null){const O=I.attachShadow({mode:V.mode});O.innerHTML=V.innerHTML,g(V,O,k)}}else u({messages:["When cloning shadow root content, source and target elements have different size. `onBeforePrint` likely resolved too early.",C,y],suppressErrors:k})}const x=`
27
+ @page {
28
+ /* Remove browser default header (title) and footer (url) */
29
+ margin: 0;
30
+ }
31
+ @media print {
32
+ body {
33
+ /* Tell browsers to print background colors */
34
+ color-adjust: exact; /* Firefox. This is an older version of "print-color-adjust" */
35
+ print-color-adjust: exact; /* Firefox/Safari */
36
+ -webkit-print-color-adjust: exact; /* Chrome/Safari/Edge/Opera */
37
+ }
38
+ }
39
+ `;function v(C,y,k,w){var L,A,D,I,V;const{contentNode:O,clonedContentNode:z,clonedImgNodes:Z,clonedVideoNodes:P,numResourcesToLoad:F,originalCanvasNodes:E}=k,{bodyClass:T,fonts:M,ignoreGlobalStyles:$,pageStyle:N,nonce:H,suppressErrors:Y,copyShadowRoots:_}=w;C.onload=null;const R=(L=C.contentDocument)!==null&&L!==void 0?L:(A=C.contentWindow)===null||A===void 0?void 0:A.document;if(R){const B=R.body.appendChild(z);_&&g(O,B,!!Y),M&&(!((D=C.contentDocument)===null||D===void 0)&&D.fonts&&(!((I=C.contentWindow)===null||I===void 0)&&I.FontFace)?M.forEach(Q=>{const G=new FontFace(Q.family,Q.source,{weight:Q.weight,style:Q.style});C.contentDocument.fonts.add(G),G.loaded.then(()=>{y(G)}).catch(xe=>{y(G,["Failed loading the font:",G,"Load error:",f(xe)])})}):(M.forEach(Q=>{y(Q)}),u({messages:['"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API but will continue attempting to print the page'],suppressErrors:Y})));const J=N??x,ne=R.createElement("style");H&&(ne.setAttribute("nonce",H),R.head.setAttribute("nonce",H)),ne.appendChild(R.createTextNode(J)),R.head.appendChild(ne),T&&R.body.classList.add(...T.split(" "));const X=R.querySelectorAll("canvas");for(let Q=0;Q<E.length;++Q){const G=E[Q],xe=X[Q];if(xe===void 0){u({messages:["A canvas element could not be copied for printing, has it loaded? `onBeforePrint` likely resolved too early.",G],suppressErrors:Y});continue}const ie=xe.getContext("2d");ie&&ie.drawImage(G,0,0)}for(let Q=0;Q<Z.length;Q++){const G=Z[Q],xe=G.getAttribute("src");if(xe){const ie=new Image;ie.onload=()=>{y(G)},ie.onerror=(ce,fe,Ie,he,et)=>{y(G,["Error loading <img>",G,"Error",et])},ie.src=xe}else y(G,['Found an <img> tag with an empty "src" attribute. This prevents pre-loading it.',G])}for(let Q=0;Q<P.length;Q++){const G=P[Q];G.preload="auto";const xe=G.getAttribute("poster");if(xe){const ie=new Image;ie.onload=()=>{y(G)},ie.onerror=(ce,fe,Ie,he,et)=>{y(G,["Error loading video poster",xe,"for video",G,"Error:",et])},ie.src=xe}else G.readyState>=2?y(G):G.src?(G.onloadeddata=()=>{y(G)},G.onerror=(ie,ce,fe,Ie,he)=>{y(G,["Error loading video",G,"Error",he])},G.onstalled=()=>{y(G,["Loading video stalled, skipping",G])}):y(G,["Error loading video, `src` is empty",G])}const oe="select",re=O.querySelectorAll(oe),ae=R.querySelectorAll(oe);for(let Q=0;Q<re.length;Q++)ae[Q].value=re[Q].value;if(!$){const Q=document.querySelectorAll("style, link[rel~='stylesheet'], link[as='style']");for(let G=0,xe=Q.length;G<xe;++G){const ie=Q[G];if(ie.tagName.toLowerCase()==="style"){const ce=R.createElement(ie.tagName),fe=ie.sheet;if(fe){let Ie="";try{const he=fe.cssRules.length;for(let et=0;et<he;++et)typeof fe.cssRules[et].cssText=="string"&&(Ie+=`${fe.cssRules[et].cssText}\r
40
+ `)}catch(he){u({messages:["A stylesheet could not be accessed. This is likely due to the stylesheet having cross-origin imports, and many browsers block script access to cross-origin stylesheets. See https://github.com/MatthewHerbst/react-to-print/issues/429 for details. You may be able to load the sheet by both marking the stylesheet with the cross `crossorigin` attribute, and setting the `Access-Control-Allow-Origin` header on the server serving the stylesheet. Alternatively, host the stylesheet on your domain to avoid this issue entirely.",ie,`Original error: ${f(he).message}`],level:"warning"})}ce.setAttribute("id",`react-to-print-${G}`),H&&ce.setAttribute("nonce",H),ce.appendChild(R.createTextNode(Ie)),R.head.appendChild(ce)}}else if(ie.getAttribute("href"))if(ie.hasAttribute("disabled"))u({messages:["`react-to-print` encountered a <link> tag with a `disabled` attribute and will ignore it. Note that the `disabled` attribute is deprecated, and some browsers ignore it. You should stop using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-disabled. The <link> is:",ie],level:"warning"}),y(ie);else{const ce=R.createElement(ie.tagName);for(let fe=0,Ie=ie.attributes.length;fe<Ie;++fe){const he=ie.attributes[fe];he&&ce.setAttribute(he.nodeName,(V=he.nodeValue)!==null&&V!==void 0?V:"")}ce.onload=()=>{y(ce)},ce.onerror=(fe,Ie,he,et,Rs)=>{y(ce,["Failed to load",ce,"Error:",Rs])},H&&ce.setAttribute("nonce",H),R.head.appendChild(ce)}else u({messages:["`react-to-print` encountered a <link> tag with an empty `href` attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the <link> was not loaded. The <link> is:",ie],level:"warning"}),y(ie)}}}F===0&&h(C,w)}function b({bodyClass:C,contentRef:y,copyShadowRoots:k,documentTitle:w,fonts:L,ignoreGlobalStyles:A,nonce:D,onAfterPrint:I,onBeforePrint:V,onPrintError:O,pageStyle:z,preserveAfterPrint:Z,print:P,printIframeProps:F,suppressErrors:E}){return(0,l.useCallback)(M=>{function $(){const N={bodyClass:C,contentRef:y,copyShadowRoots:k,documentTitle:w,fonts:L,ignoreGlobalStyles:A,nonce:D,onAfterPrint:I,onPrintError:O,pageStyle:z,preserveAfterPrint:Z,print:P,suppressErrors:E},H=function(R){const B=document.createElement("iframe");return B.width=`${document.documentElement.clientWidth}px`,B.height=`${document.documentElement.clientHeight}px`,B.style.position="absolute",B.style.top=`-${document.documentElement.clientHeight+100}px`,B.style.left=`-${document.documentElement.clientWidth+100}px`,B.id=c,B.srcdoc="<!DOCTYPE html>",R&&(R.allow&&(B.allow=R.allow),R.referrerPolicy!==void 0&&(B.referrerPolicy=R.referrerPolicy),R.sandbox!==void 0&&(B.sandbox=R.sandbox)),B}(F),Y=function(R,B){const{contentRef:J,fonts:ne,ignoreGlobalStyles:X,suppressErrors:oe}=B,re=function({contentRef:ce,optionalContent:fe,suppressErrors:Ie}){return fe&&typeof fe=="function"?(ce&&u({level:"warning",messages:['"react-to-print" received a `contentRef` option and an optional-content param passed to its callback. The `contentRef` option will be ignored.']}),fe()):ce?ce.current:void u({messages:['"react-to-print" did not receive a `contentRef` option or a optional-content param pass to its callback.'],suppressErrors:Ie})}({contentRef:J,optionalContent:R,suppressErrors:oe});if(!re)return;const ae=re.cloneNode(!0),Q=document.querySelectorAll("link[rel~='stylesheet'], link[as='style']"),G=ae.querySelectorAll("img"),xe=ae.querySelectorAll("video"),ie=ne?ne.length:0;return{contentNode:re,clonedContentNode:ae,clonedImgNodes:G,clonedVideoNodes:xe,numResourcesToLoad:(X?0:Q.length)+G.length+xe.length+ie,originalCanvasNodes:re.querySelectorAll("canvas")}}(M,N);if(!Y)return void u({messages:["There is nothing to print"],suppressErrors:E});const _=function(R,B,J){const{suppressErrors:ne}=R,X=[],oe=[];return function(re,ae){X.includes(re)?u({level:"debug",messages:["Tried to mark a resource that has already been handled",re],suppressErrors:ne}):(ae?(u({messages:['"react-to-print" was unable to load a resource but will continue attempting to print the page',...ae],suppressErrors:ne}),oe.push(re)):X.push(re),X.length+oe.length===B&&h(J,R))}}(N,Y.numResourcesToLoad,H);(function(R,B,J,ne){R.onload=()=>{v(R,B,J,ne)},document.body.appendChild(R)})(H,_,Y,N)}d(Z,!0),V?V().then(()=>{$()}).catch(N=>{O?.("onBeforePrint",f(N))}):$()},[C,y,k,w,L,A,D,I,V,O,z,Z,P,E])}return i}()})})(Xd);var q8=Xd.exports,Jd=(e=>(e.PDF="PDF",e.Email="Email",e))(Jd||{});const Ds=({size:e,color:t})=>a.jsx(j,{className:`animate-spin inline-block ${e=="big"?"size-8":"size-4"} border-[2px] ${t=="white"?"border-gray-400 border-t-transparent text-white":"border-metrifox-primary border-t-transparent text-metrifox-primary"} rounded-full dark:text-metrifox-primary`,role:"status","aria-label":"loading",children:a.jsx("span",{className:"sr-only",children:"Loading..."})}),Cr=({children:e,onClick:t,className:n,isLoading:r,size:s="small",leadingIcon:o,trailingIcon:i,href:l,...c})=>a.jsx("button",{className:`px-4 py-2 text-[13px]/[16.9px] whitespace-nowrap flex items-center justify-center !gap-2 font-semibold text-white bg-metrifox-primary rounded-lg disabled:opacity-60 hover:opacity-90 ${_o[s]} ${n}`,onClick:()=>l?window.open(l,"_blank"):t?.(),...c,children:r?a.jsx(Ds,{color:"white"}):a.jsxs(a.Fragment,{children:[o&&a.jsx(be,{name:o,size:16}),e,i&&a.jsx(be,{name:i,size:16})]})}),Ps=({children:e,onClick:t,className:n,leadingIcon:r,trailingIcon:s,iconColor:o,iconSize:i=16,isLoading:l,...c})=>a.jsx("button",{className:`!p-0 text-[13px]/[15.6px] whitespace-nowrap flex items-center justify-center gap-1 font-semibold text-metrifox-primary bg-transparent border-none ${n}`,onClick:t,...c,children:l?a.jsx(Ds,{}):a.jsxs(a.Fragment,{children:[r&&a.jsx(be,{name:r,size:i,color:o}),e,s&&a.jsx(be,{name:s,size:i,color:o})]})}),ia=({children:e,onClick:t,className:n,isLoading:r,leadingIcon:s,trailingIcon:o,size:i="small",...l})=>a.jsx("button",{className:`flex items-center justify-center !gap-2 text-[13px]/[16.9px] font-semibold text-metrifox-black bg-transparent border border-grey-300 rounded-lg ${_o[i]} ${n}`,onClick:t,...l,children:r?a.jsx(Ds,{color:"white"}):a.jsxs(a.Fragment,{children:[s&&a.jsx(be,{name:s,size:16}),e,o&&a.jsx(be,{name:o,size:16})]})}),aa=({children:e,onClick:t,className:n,isLoading:r,size:s="small",...o})=>a.jsx("button",{className:`px-4 py-2 text-[13px]/[16.9px] font-medium text-metrifox-black bg-background-system-secondary rounded-[8px] ${_o[s]} ${n}`,onClick:t,...o,children:r?a.jsx(Ds,{}):e}),X8=({contentRef:e,content:t,containerBgColor:n="bg-neutral-100",panelShadow:r,panelWidth:s="w-full"})=>{const o=q8.useReactToPrint({contentRef:e}),i=[Jd.PDF],l=()=>{setTimeout(()=>{e.current&&o()},100)};return a.jsx(j,{className:`${n} flex flex-col justify-center`,children:a.jsxs(us,{className:"my-6 px-4",children:[a.jsxs(j,{className:"flex items-center justify-between",children:[a.jsx(ds,{className:"w-max border border-neutral-200 text-grey-500 px-1.5 py-1 rounded-2xl",children:i.map(c=>a.jsx(rr,{className:"data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-50 outline-none data-[selected]:text-grey-50 rounded-xl px-16 py-1.5",children:c},c))}),a.jsxs(aa,{className:"flex items-center gap-1 !px-3 !py-6",size:"x-small",onClick:l,children:[a.jsx(U,{variant:"label8",className:"text-metrifox-black flex items-center gap-2.5",children:"Download"}),a.jsx(be,{name:"download",size:16,color:"metrifox-black"})]})]}),a.jsxs(fs,{children:[a.jsx(Sn,{children:a.jsx(j,{ref:e,className:`bg-metrifox-white ${r} p-8 rounded-xl border-t-8 border-metrifox-black h-full mt-8 ${s} mx-auto`,children:t||"Nothing to display"})}),a.jsx(Sn,{className:"h-screen text-center py-20",children:a.jsx("p",{children:"Coming soon"})})]})]})})},Qd=({isOpen:e,onClose:t,contentRef:n,content:r,modalTitle:s,modalDescription:o})=>a.jsx(Ts,{isOpen:e,onClose:t,title:s,description:o,size:"large",variant:"right-slide",className:"!p-0",children:a.jsx(X8,{contentRef:n,content:r})}),cn=({label:e,onClick:t,disabled:n,variant:r="normal",active:s})=>{const o={next:"rounded-tr-[8px] rounded-br-[8px]",prev:"rounded-tl-[8px] rounded-bl-[8px] border-r-0",normal:"w-[38px] flex items-center justify-center py-1 border-r-0",display:"w-[38px] flex items-center justify-center py-1 cursor-default border-r-0"},i=s?"bg-grey-200 font-semibold":"";return a.jsx("button",{className:`px-3 py-2 text-grey-500 hover:text-grey-800 border disabled:opacity-50 ${o[r]} ${i}`,onClick:t,disabled:n,children:e})},J8=({currentPage:e,totalPages:t,onPageChange:n})=>a.jsxs("div",{className:"flex items-center justify-center pt-6",children:[a.jsx(cn,{label:"Prev",onClick:()=>n(e-1),disabled:e===1,variant:"prev"}),(()=>{const r=[];r.push(a.jsx(cn,{label:1,onClick:()=>n(1),variant:"normal",active:e===1},1)),e>2&&r.push(a.jsx(cn,{label:"...",onClick:()=>{},variant:"display"},"ellipsis-start"));const s=Math.max(2,e-1),o=Math.min(t-1,e+1);for(let i=s;i<=o;i++)r.push(a.jsx(cn,{label:i,onClick:()=>n(i),variant:"normal",active:e===i},i));return e<t-1&&r.push(a.jsx(cn,{label:"...",onClick:()=>{},variant:"display"},"ellipsis-end")),t>1&&r.push(a.jsx(cn,{label:t,onClick:()=>n(t),variant:"normal",active:e===t},t)),r})(),a.jsx(cn,{label:"Next",onClick:()=>n(e+1),disabled:e===t,variant:"next"})]}),wr=({columns:e,data:t,pagination:n,filters:r,actions:s,onRowClick:o,view:i="list",gridView:l,isLoading:c,skelentonRow:u=2,emptyState:d,isLastColumnSticky:f=!1,actionButton:h,className:m,emptyStateClassName:g,tab:x})=>{const[v,b]=p.useState(!1),[C,y]=p.useState(""),[k,w]=p.useState("");if(p.useEffect(()=>{b(!1),y(""),w("")},[x]),t?.length===0&&!C&&!k)return a.jsx("div",{className:`h-[55vh] flex items-center justify-center ${g}`,children:d||null});const L=D=>D?a.jsx(W,{variant:"body6",color:"text-grey-700",children:String(D)}):"-",A=l?.style?`${l?.style}`:"grid-cols-2 gap-2";return a.jsxs("div",{className:`overflow-x-auto px-3 rounded-2xl bg-metrifox-white ${m}`,children:[a.jsx("div",{className:"px-3 mb-6",children:a.jsxs("div",{className:"flex justify-between items-center",children:[s&&s,a.jsxs("div",{className:"flex justify-end w-full gap-x-2 items-center",children:[r&&a.jsx(ia,{className:"!border-grey-300 !text-grey-500",size:"x-small",leadingIcon:"filter",onClick:()=>b(!v),children:"Filter"}),h&&a.jsx(aa,{className:"!text-metrifox-white !bg-metrifox-primary",size:"x-small",onClick:h.onClick,children:h.text})]})]})}),i==="list"&&a.jsx("div",{className:"w-full overflow-x-hidden hover:overflow-x-auto scrollbar",children:a.jsxs("table",{className:"min-w-full border-collapse text-left relative",children:[a.jsx("thead",{children:a.jsx("tr",{children:e.map((D,I)=>a.jsx("th",{className:`px-3 py-2 text-sm font-semibold text-gray-700 border-b border-grey-100 whitespace-nowrap
41
+ ${I===e.length-1&&f?"sticky right-0 bg-white z-10":""}
42
+ `,children:typeof D.header=="string"?a.jsx(U,{variant:"label8",color:"text-metrifox-black",children:D.header}):D.header},I))})}),a.jsxs("tbody",{children:[c&&[...Array(u)].map((D,I)=>a.jsx(Q8,{columns:e.length},I)),t?.map((D,I)=>a.jsx("tr",{onClick:()=>o?.(D),className:`relative ${o?"cursor-pointer hover:bg-grey-100":"cursor-default"}`,children:e.map((V,O)=>a.jsx("td",{className:`px-3 py-4 text-grey-700 border-grey-100 whitespace-nowrap
43
+ ${I===t.length-1?"border-t":"border-y"}
44
+ ${O===e.length-1&&f?"sticky z-10 right-0 bg-white relative":""}
45
+ `,children:V.render?V.render(D):L(c6(D,V.key))},O))},I))]})]})}),i==="grid"&&a.jsx("div",{className:`grid ${A}`,children:t?.map((D,I)=>a.jsx("div",{className:o?"cursor-pointer":"cursor-default",onClick:()=>o?.(D),children:l?.renderItem(D)},I))}),n&&a.jsx(J8,{currentPage:n.currentPage,totalPages:n.totalPages,onPageChange:n.onPageChange})]})},Q8=({columns:e})=>a.jsx("tr",{children:Array.from({length:e}).map((t,n)=>a.jsx("td",{className:"px-3 py-4 border-b border-gray-100",children:a.jsx("div",{className:"mt-1 h-4 w-20 rounded-md bg-gray-200"})},n))}),un=({children:e,size:t="medium",background:n="transparent",textColor:r=""})=>{const s=B9[t];return a.jsx(j,{className:`inline-flex items-center ${n} min-w-fit justify-center rounded-full px-2.5 py-1 border gap-x-2 ${s} ${n==="transparent"?"border-grey-300":"border-none"} ${r}`,children:e})},em=async({subscriptionId:e})=>{const{data:t}=await It().get(`/subscriptions/${e}/billing-history`);return t},tm=({subscriptionId:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(!1),o=async()=>{if(!e){ct.error("Missing subscriptionId");return}s(!0);try{const i=await em({subscriptionId:e});n(i?.data)}catch(i){ct.error(i instanceof Error?i.message:"Failed to load billing history")}finally{s(!1)}};return p.useEffect(()=>{o()},[e]),{billingHistory:t,isLoading:r,refetch:o}},nm=async({invoiceId:e})=>{const{data:t}=await It().get(`/invoices/${e}/view`);return t},e0=({invoiceId:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(!1),o=async()=>{if(e){s(!0);try{const i=await nm({invoiceId:e});n(i?.data)}catch(i){ct.error(i instanceof Error?i.message:"Failed to load invoice details")}finally{s(!1)}}};return p.useEffect(()=>{o()},[e]),{invoiceDetails:t,isLoading:r,refetch:o}},rm=({subscriptionId:e})=>{const[t,n]=p.useState(!1),[r,s]=p.useState(null),o=p.useRef(null),{billingHistory:i}=tm({subscriptionId:e}),{invoiceDetails:l}=e0({invoiceId:r||""}),c=d=>{d.status===t1.Paid&&d.invoice_id&&(s(d.invoice_id),n(!0))},u=[{header:"Total amount",render:d=>{const{text:f,color:h}=i6(d.status),m=Pt(d.currency);return a.jsx(j,{children:a.jsxs(j,{className:"flex items-center gap-2",children:[a.jsxs(j,{className:"flex items-center",children:[a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:m}),a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:n1(parseFloat(String(d.total_amount)))})]}),a.jsx(un,{size:"small",background:`${h}`,children:a.jsx(U,{variant:"label9",className:"capitalize text-metrifox-white",children:f})})]})})}},{header:"Invoice number",render:d=>a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:d.invoice_number||"-"})},{header:"Source type",render:d=>a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:Dt(d.source_type==="billing_cycle"?"subscription":d.source_type).replace(/_/g," ")})},{header:"Issue date",render:d=>a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:d.issued_date?e1(d.issued_date).format("MMM D, YYYY"):"-"})},{header:"Due date",render:d=>a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:d.due_date?e1(d.due_date).format("MMM D, YYYY"):"-"})},{header:"Amount paid",render:d=>{const f=Pt(d.currency);return a.jsxs(j,{className:"flex items-center",children:[a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:f}),a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:n1(parseFloat(String(d.amount_paid)))})]})}}];return!i||i?.length===0?null:a.jsxs(j,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsxs(j,{className:"flex items-center gap-1",children:[a.jsx(j,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(be,{name:"receipt",size:16,color:"grey-500"})}),a.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Billing history"})]}),a.jsx(wr,{columns:u,data:i,onRowClick:c,className:"mt-2"}),t&&r&&a.jsx(Qd,{isOpen:t,onClose:()=>{n(!1),s(null)},contentRef:o,content:a.jsx(i1,{data:l}),modalTitle:"Invoice PDF"})]})},sm=({entitlements:e})=>a.jsx(wr,{columns:[{key:"name",header:"Feature",render:t=>a.jsx(j,{children:a.jsx(W,{variant:"body6",color:"text-grey-700",children:t.name})})},{key:"features_type",header:"Type",render:t=>{const n={[sr.METERED]:"bg-metrifox-blue",[sr.BOOLEAN]:"bg-metrifox-warning"};return a.jsx(j,{children:a.jsx(un,{size:"small",textColor:"text-metrifox-white",background:n[t.feature_type],children:a.jsx(W,{variant:"body6",children:Dt(t.feature_type)})})})}},{key:"quota",header:"Quota Limit",render:t=>{const n=`${t.quota} ${t.name}`,r=s6(),s=t.reset_interval!==Wo.NONE?Dt(r[t.reset_interval]||""):"";return a.jsx(j,{children:a.jsx(W,{variant:"body6",children:t.feature_type===sr.BOOLEAN?"Access granted":`${n} ${s}`})})}}],data:e}),om=({meteredEntitlements:e})=>a.jsx(wr,{columns:[{header:"Feature",render:t=>a.jsx(j,{children:a.jsx(W,{variant:"body6",color:"text-grey-700",children:t.name})})},{key:"featuresUsage",header:"Usage",render:t=>{const n=e?.find(o=>o.name===t.name);if(!n){const o=`${t.used_quantity}/${t.quota===-1?"\u221E":t.quota} ${t.name}`;return a.jsx(W,{variant:"body6",children:o})}const r=n.quota===-1?100:Math.min(n.used_quantity/Number(n.quota)*100,100).toFixed(0),s=n.quota==="unlimited"?"\u221E":`${r}%`;return a.jsx(j,{className:"flex gap-4 items-center",children:a.jsxs(j,{className:"flex-1",children:[a.jsxs(j,{className:"w-full flex items-center gap-x-2",children:[a.jsx(j,{className:"w-full h-[6px] bg-grey-300 rounded",children:a.jsx(j,{className:"h-[6px] bg-metrifox-blue rounded",style:{width:`${r}%`}})}),a.jsx(j,{className:"w-8",children:a.jsx(W,{variant:"body7",className:n.quota===-1?"text-xl":"",children:s})})]}),a.jsxs(W,{variant:"body6",className:"mt-1",children:[n.used_quantity,"/",n.quota===-1?"":n.quota," ",n.reset_interval===Wo.NONE?"":`every ${r6[n.reset_interval]}`]})]})})}}],data:e}),im=({entitlements:e})=>{const t=e.filter(n=>n.feature_type!==sr.BOOLEAN);return a.jsxs(j,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsx(j,{className:"flex items-center justify-between",children:a.jsxs(j,{className:"flex items-center gap-1",children:[a.jsx(j,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(be,{name:"radar",size:16,color:"grey-500"})}),a.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Entitlements"})]})}),a.jsx(j,{className:"bg-metrifox-white rounded-2xl p-4 mt-2",children:a.jsxs(us,{children:[a.jsxs(ds,{className:"w-max bg-grey-100 border border-neutral-200 text-grey-500 px-1.5 py-1 rounded-2xl",children:[a.jsx(rr,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:a.jsx(W,{variant:"body6",children:"Summary"})}),t.length>0&&a.jsx(rr,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:a.jsx(W,{variant:"body6",children:"Usage"})})]}),a.jsxs(fs,{children:[a.jsx(Sn,{children:a.jsx(sm,{entitlements:e})}),t.length>0&&a.jsx(Sn,{children:a.jsx(om,{meteredEntitlements:t})})]})]})})]})},am=({tenantDetails:e,paymentMethod:t})=>{const{address:n}=Jc(e?.billing_address),r=[{label:"Billed to",value:e?.full_name||"-"},{label:"Billing email",value:e?.billing_email||"-"},{label:"Billing address",value:n||"-"}];return a.jsxs(j,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsx(j,{className:"flex items-center justify-between",children:a.jsxs(j,{className:"flex items-center gap-1",children:[a.jsx(j,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(be,{name:"money",size:18,color:"grey-500"})}),a.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Payment"})]})}),a.jsx(j,{className:"bg-grey-200 rounded-t-2xl px-3 pt-2.5 pb-4 mt-2",children:a.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Details"})}),a.jsxs(j,{className:"bg-metrifox-white grid grid-cols-3 gap-8 justify-between rounded-2xl p-4 -mt-2.5",children:[r?.map((s,o)=>a.jsxs(j,{children:[a.jsx(U,{variant:"label8",className:"text-grey-500",children:s?.label}),a.jsx(U,{variant:"label7",className:"text-grey-600 font-medium mt-2",children:s?.value||"-"})]},o)),a.jsxs(j,{children:[a.jsx(U,{variant:"label8",className:"text-grey-500",children:"Payment method"}),t?a.jsxs(j,{className:"flex items-center gap-x-2 mt-2",children:[a.jsxs(W,{variant:"body6",color:"text-grey-600 font-medium",children:[Dt(t?.brand)," ",t?.display_name," "]}),a.jsxs(W,{variant:"body6",className:"text-neutral-500 font-light",children:["Expires ",t?.exp_month,"/",t?.exp_year]})]}):a.jsx("span",{children:"-"})]})]})]})},lm=async({offeringKey:e,billingInterval:t,customerKey:n})=>{const{data:r}=await It().get(`/products/offerings/generate-checkout-url?offering_key=${e}&billing_interval=${t}&customer_key=${n}`);return r},cm=({billingInterval:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(!1),{customerKey:o}=en();return{checkoutUrl:t,isLoading:r,generateCheckoutUrl:async i=>{if(!(!i||!e||!o)){s(!0);try{const l=await lm({offeringKey:i,billingInterval:e,customerKey:o});n(l?.data?.checkout_url)}catch(l){ct.error(l instanceof Error?l.message:"Failed to load checkout url")}finally{s(!1)}}}}},um=async({product_key:e})=>{const{data:t}=await It().get(`/product_catalogues/products/published-plans?product_key=${e}`);return t},dm=({product_key:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(!1),o=async()=>{if(!e){ct.error("Missing product_key");return}s(!0);try{const i=await um({product_key:e});n(i?.data)}catch(i){ct.error(i instanceof Error?i.message:"Failed to load product plans")}finally{s(!1)}};return p.useEffect(()=>{o()},[e]),{productPlans:t,isLoading:r,refetch:o}},fm=e=>{const t=p6(e||[]),[n,r]=p.useState(""),s=[...t.includes(pe.DAILY)?[pe.DAILY]:[],...t.includes(pe.WEEKLY)?[pe.WEEKLY]:[],...t.includes(pe.MONTHLY)?[pe.MONTHLY]:[],...t.includes(pe.QUARTERLY)?[pe.QUARTERLY]:[],...t.includes(pe.BIANNUALLY)?[pe.BIANNUALLY]:[],...t.includes(pe.YEARLY)?[pe.YEARLY]:[]];return p.useEffect(()=>{!n&&s[0]&&r(s[0])},[s,n]),{intervals:s,selectedInterval:n,setSelectedInterval:r}},t0=({selectedInterval:e,publishedOnly:t=!1})=>{const{plans:n}=en(),r=c=>{if(c)return t?c?.is_visible?c:void 0:c},s=n?.some(c=>!!r(c)?.description),o=n?.some(c=>!!r(c)?.trial_duration_value),i=n?.some(c=>{const u=r(c);return u?u.price_options?.some(d=>d.price?.billing_interval===e)||u.is_free||u.is_custom:!1}),l=n?.some(c=>{const u=r(c);return u?[u.credit_attachment_price_options,u.entitlement_price_options].some(d=>Array.isArray(d)&&d.some(f=>f.price?.billing_interval===e)):!1});return{shouldShowDescription:s,shouldShowFreeTrial:o,shouldShowFixedPrice:i,shouldShowDynamicPrices:l}},n0=({entitlements:e,baseEntitlementsPlanName:t,credits:n})=>{const r=Zo(e).filter(s=>s?.is_visible);return a.jsxs(j,{children:[a.jsx(U,{variant:"label7",className:"text-metrifox-primary mb-3",as:"p",children:t?`Everything in ${t} plus:`:"\xA0"}),a.jsxs("ul",{className:"flex flex-col gap-y-3",children:[n?.map((s,o)=>a.jsxs("li",{className:"flex items-center gap-[10px]",children:[a.jsx(be,{name:"check",color:"green-600",size:16}),a.jsx(W,{variant:"body5",children:s.included_usage_text})]},o)),r?.map((s,o)=>a.jsxs("li",{className:"flex items-center gap-[10px]",children:[a.jsx(be,{name:"check",color:"green-600",size:16}),a.jsx(W,{variant:"body5",children:s.display_text})]},o))]})]})},hm=e=>{const t=e?.price?.billing_interval,n=e?.price.tiers,r=e?.price.currency,s=e?.price?.invoice_timing,o=Pt(r),i=x=>{const v=e?.price?.owner,b=v?.included_usage||0,C=x?.find(D=>D.first_unit===b);if(!C)return{price:null,label:null};const{unit_price:y,package_price:k,package_size:w,pricing_model:L,flat_fee:A}=C;return A?{price:A.toFixed(2),label:""}:{per_unit:{price:y?.toFixed(2),label:`per. ${v?.feature?.unit_singular||v?.credit_unit_singular}`},per_package:{price:k?.toFixed(2),label:`for ${w} ${v?.feature?.unit_plural}`}}[L]??{price:null,label:null}},{price:l,label:c}=i(n),u=e?.price?.is_custom&&e?.price?.billing_interval_value>1?`every ${e?.price?.billing_interval_value} ${d6[t]}`:t,d=[pe.DAILY,pe.WEEKLY],f={[pe.DAILY]:"day",[pe.WEEKLY]:"week"},h=t,m=d.includes(h)?f[h]:"month",g=(u6(t,e?.price?.billing_interval_value)*(e?.price?.price??0)).toFixed(2);return{amount:(e?.price?.price??0).toFixed(2),billedText:u,intervalText:m,billingAmount:g,tierPrice:l,tierLabel:c,currencySymbol:o,invoiceTiming:s,intervalValue:e?.price?.billing_interval_value}},pm=({dynamicPrices:e,showMoreCard:t,showMore:n})=>{const[r,s]=p.useState("");return a.jsxs(j,{className:t?"":"h-[75px] flex flex-col",children:[(t?e:e.slice(0,2)).map(o=>{const i=o?.price?.name||o?.price?.owner?.feature?.name||o?.price?.owner?.name,l=f6(o?.price.tiers,o.price.currency),{price:c,label:u,currencySymbol:d}=h6(o),f=l?.length===1;return t?a.jsxs(j,{className:"p-2 border-b border-grey-200 last:border-0",children:[a.jsxs(j,{className:"flex justify-between items-center",children:[a.jsx(U,{variant:"label7",className:"text-grey-600 mb-1",children:i}),f&&a.jsxs(j,{className:"flex items-center cursor-pointer",children:[a.jsxs(U,{variant:"label7",color:"text-metrifox-black",children:[d,c]}),u&&a.jsxs(W,{variant:"body5",color:"text-grey-500",className:"mr-1",children:["/",u]})]})]}),!f&&a.jsxs(j,{className:"flex justify-between items-center",children:[a.jsx(W,{variant:"body5",className:"text-grey-700",children:"Starts at"}),a.jsxs(j,{className:"flex items-center cursor-pointer",onClick:h=>{h.stopPropagation(),s(r===o.id?"":o.id)},children:[a.jsxs(U,{variant:"label7",color:"text-metrifox-black",children:[d,c]}),a.jsxs(W,{variant:"body5",color:"text-grey-500",className:"mr-1",children:["/",u]}),l.length>1&&a.jsx(be,{name:r===o.id?"arrow-up-light":"arrow-down-linear",size:16,color:"grey-400"})]})]}),r===o.id&&l.length>1&&a.jsx(j,{className:"bg-grey-200 p-2 mt-1 rounded-lg",children:a.jsx(j,{className:"flex flex-col gap-y",children:l?.map(h=>a.jsxs(j,{className:"flex justify-between items-center",children:[a.jsx(W,{variant:"body7",color:"text-grey-700",children:h?.label}),a.jsxs(W,{variant:"body7",color:"text-grey-700",children:[h?.price,h?.package?`/${h?.package} ${u}`:""]})]},h?.label))})})]},o.id):a.jsx(j,{className:"mt-1",children:a.jsxs(j,{className:"flex items-center gap-x-1 flex-wrap",children:[a.jsx(U,{variant:"label8",className:"text-grey-600 whitespace-nowrap",children:i}),a.jsx(W,{variant:"body7",children:f?"at":"from"}),a.jsxs(j,{className:"flex items-center",children:[a.jsxs(U,{variant:"label7",color:"text-metrifox-black",children:[d,c]}),u&&a.jsxs(W,{variant:"body7",color:"text-grey-500",children:["/",u]})]})]})},o.id)}),!t&&!!e?.length&&a.jsx(j,{className:"flex items-center justify-center mt-auto mb-2",children:a.jsx(Ps,{onClick:o=>{n(),o?.stopPropagation()},className:"mt-2",children:a.jsx(W,{variant:"body8",className:"text-metrifox-blue underline",children:"Explore all priced features"})})})]})},mm=({interval:e,priceOptions:t,entitlementPriceOptions:n,creditAttachmentPriceOptions:r,isPricePage:s,trialTag:o,showMoreCard:i,isFree:l,isCustom:c,showMore:u})=>{const{shouldShowFixedPrice:d,shouldShowFreeTrial:f,shouldShowDynamicPrices:h}=t0({selectedInterval:e,publishedOnly:s}),m=r1(e,t),g=s1(e,n),x=[...s1(e,r)||[],...g||[]],{amount:v,billedText:b,billingAmount:C,intervalText:y,currencySymbol:k,intervalValue:w}=hm(m),L=me(v).split("."),A=L?L[0]:"0",D=L&&L.length>1?L[1]:"00";return a.jsxs(j,{className:i?"bg-grey-100 border border-grey-200 rounded-2xl p-2 mb-3":"w-full",children:[d&&a.jsxs(j,{className:i?"":"h-[94px]",children:[l&&a.jsx(j,{className:"p-2 border-b border-grey-200 last:border-0",children:a.jsx(j,{className:"flex items-center justify-between pt-[21px] pb-4",children:a.jsx(U,{variant:"label3",children:"Free"})})}),c&&a.jsx(j,{className:"p-2 border-b border-grey-200 last:border-0",children:a.jsx(j,{className:"flex items-center justify-between pt-[21px] pb-4",children:a.jsx(U,{variant:"label4",children:"Custom"})})}),!m&&!l&&!c&&a.jsx(j,{className:"p-2 border-b border-grey-200 last:border-0",children:a.jsx(j,{className:"flex items-center justify-between pt-[21px] pb-4",children:a.jsx(U,{variant:"label4",children:"No fixed price"})})}),m&&a.jsxs(j,{className:"p-2 border-b border-grey-200 last:border-0",children:[a.jsx(j,{className:"flex items-center justify-between",children:a.jsx(U,{variant:"label7",className:"text-grey-600 mb-2",children:"Fixed price"})}),a.jsxs(j,{className:"flex items-end",children:[a.jsxs(U,{variant:"label3",className:"text-[var(--price-color,#0F0F0F)]",children:[k,A]}),a.jsxs(U,{variant:"label6",className:"mb-[5px] text-metrifox-black",children:[".",D]}),a.jsxs(W,{variant:"body4",className:"mb-[5px] text-grey-500",children:["/",y]})]}),(e!==pe.MONTHLY||w!==1)&&a.jsxs(W,{className:"-mt-2",variant:"body5",children:["Billed",a.jsxs(U,{as:"span",variant:"label7",className:"inline-block",children:[k,me(C)," ",b.toLowerCase()]})]})]})]}),f&&!s&&a.jsx(j,{className:"h-6",children:o}),h&&a.jsx(pm,{dynamicPrices:x,showMoreCard:!!i,showMore:u})]})},gm=({description:e,entitlements:t,baseEntitlementsPlanName:n,priceContent:r})=>a.jsxs(j,{children:[a.jsx(U,{variant:"label7",className:"mb-2",children:"Description"}),a.jsx(W,{variant:"body5",className:"mb-4",children:e}),r,a.jsx(n0,{entitlements:t,baseEntitlementsPlanName:n})]});function xm(e){p.useEffect(function(){typeof e=="function"&&e()},[])}var ym="Expected a function",r0=0/0,vm="[object Symbol]",bm=/^\s+|\s+$/g,Cm=/^[-+]0x[0-9a-f]+$/i,wm=/^0b[01]+$/i,km=/^0o[0-7]+$/i,jm=parseInt,Lm=typeof Ot=="object"&&Ot&&Ot.Object===Object&&Ot,Em=typeof self=="object"&&self&&self.Object===Object&&self,Mm=Lm||Em||Function("return this")(),Sm=Object.prototype,Tm=Sm.toString,Dm=Math.max,Pm=Math.min,la=function(){return Mm.Date.now()};function Am(e,t,n){var r,s,o,i,l,c,u=0,d=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError(ym);t=s0(t)||0,ca(n)&&(d=!!n.leading,f="maxWait"in n,o=f?Dm(s0(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function m(L){var A=r,D=s;return r=s=void 0,u=L,i=e.apply(D,A),i}function g(L){return u=L,l=setTimeout(b,t),d?m(L):i}function x(L){var A=L-c,D=L-u,I=t-A;return f?Pm(I,o-D):I}function v(L){var A=L-c,D=L-u;return c===void 0||A>=t||A<0||f&&D>=o}function b(){var L=la();if(v(L))return C(L);l=setTimeout(b,x(L))}function C(L){return l=void 0,h&&r?m(L):(r=s=void 0,i)}function y(){l!==void 0&&clearTimeout(l),u=0,r=c=s=l=void 0}function k(){return l===void 0?i:C(la())}function w(){var L=la(),A=v(L);if(r=arguments,s=this,c=L,A){if(l===void 0)return g(c);if(f)return l=setTimeout(b,t),m(c)}return l===void 0&&(l=setTimeout(b,t)),i}return w.cancel=y,w.flush=k,w}function ca(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Rm(e){return!!e&&typeof e=="object"}function Nm(e){return typeof e=="symbol"||Rm(e)&&Tm.call(e)==vm}function s0(e){if(typeof e=="number")return e;if(Nm(e))return r0;if(ca(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ca(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(bm,"");var n=wm.test(e);return n||km.test(e)?jm(e.slice(2),n?2:8):Cm.test(e)?r0:+e}var Fm=Am,Vm=Mr(Fm);function $m(e,t,n){var r=p.useCallback(function(o){return Vm(o,t,n)},[t,n]),s=p.useRef(r(e));return p.useEffect(function(){s.current=r(e)},[e,r]),s.current}function Om(e,t){var n=p.useRef(!1);typeof t<"u"&&!Array.isArray(t)?t=[t]:Array.isArray(t)&&t.length===0&&console.warn("Using [] as the second argument makes useDidUpdate a noop. The second argument should either be `undefined` or an array of length greater than 0."),p.useEffect(function(){n.current?e():n.current=!0},t),p.useEffect(function(){return function(){n.current=!1}},[])}var o0=typeof window>"u"?p.useEffect:p.useLayoutEffect;function _m(e,t){t===void 0&&(t=!1);var n=t?o0:p.useEffect,r=p.useRef(e);return n(function(){r.current=e}),r}function Bm(e){var t=_m(e);function n(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];typeof t.current=="function"&&t.current.apply(t,r)}return n}var Im=process.env.NODE_ENV!=="production",i0=function(){};if(Im){var Hm=function(e){var t="Warning: ".concat(e);typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}};i0=function(e,t){e||Hm(t)}}function Wm(e,t,n,r,s,o){r===void 0&&(r={}),s===void 0&&(s=!0),o===void 0&&(o=!1);var i=Bm(n),l=o?o0:p.useEffect;l(function(){return i0(typeof e<"u","[useGlobalObjectEventListener]: Cannot attach event handlers to undefined."),typeof e<"u"&&s?(e.addEventListener(t,i,r),function(){e.removeEventListener(t,i,r)}):function(){}},[t,r])}function Zm(e,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1),typeof window<"u"?Wm(window,"resize",e,{passive:!0},t,n):console.warn("useOnWindowResize can't attach an event listener as window is undefined.")}var a0="...",Um=0,As=function(){return"__clamp_text_key__".concat(Um++)};function zm(e){var t=e.text,n=e.ellipsis,r=n===void 0?a0:n,s=e.lines,o=s===void 0?3:s,i=e.expanded,l=i===void 0?!1:i,c=e.debounceTime,u=c===void 0?300:c,d=e.charWidth,f=d===void 0?1.2:d,h=p.useState(function(){return{noClamp:!1,clampedText:".",key:As()}}),m=h[0],g=m.noClamp,x=m.clampedText,v=m.key,b=h[1],C=p.useRef(),y=p.useRef(0),k=p.useCallback(function(L){var A=L.lineHeight,D=L.originalText,I=L.expanded,V=L.ellipsis,O=L.lines,z=L.charWidth,Z=C.current;if(!Z)return;if(!D||I){b({noClamp:!0,clampedText:D,key:As()});return}var P=A*O+1,F=0;typeof V=="string"?F=V===a0?5:Math.ceil(V.length*z):typeof V=="number"&&(F=Math.ceil(V*z));var E=0,T=0,M=D.length;if(!Z.clientHeight)return;function $(){var H,Y=(H=Z?.clientHeight)!==null&&H!==void 0?H:1;Y<=P?E=T+1:M=T-1}for(;E<=M;){if(T=Math.floor((E+M)/2),Z.innerText=D.slice(0,T),T===D.length){b({clampedText:D,noClamp:!0,key:As()});return}$()}var N=D.slice(0,Math.max(T-F,0)).trim()+(typeof V=="string"?V:"");Z.innerText=N,b({noClamp:!1,clampedText:N,key:As()})},[]),w=$m(k,u);return Zm(function(){return w({lineHeight:y.current,originalText:t,expanded:l,ellipsis:r,lines:o,charWidth:f})}),xm(function(){var L,A;if(t&&!y.current){var D=((A=(L=C.current)===null||L===void 0?void 0:L.clientHeight)!==null&&A!==void 0?A:1)+1;y.current=D,k({lineHeight:D,originalText:t,expanded:l,ellipsis:r,lines:o,charWidth:f})}}),Om(function(){k({lineHeight:y.current,originalText:t,expanded:l,ellipsis:r,lines:o,charWidth:f})},[l,t,f,r,o]),[C,{noClamp:g,clampedText:x,key:v}]}const Km=({description:e,showDetails:t})=>{const[n,{noClamp:r,clampedText:s,key:o}]=zm({text:e,ellipsis:12.5,lines:3});return e?a.jsx(W,{variant:"body6",children:a.jsxs("span",{ref:n,className:"w-full inline-block",children:[s,!r&&a.jsxs(a.Fragment,{children:["...",a.jsx(Ps,{onClick:i=>{t(),i?.stopPropagation()},className:"!inline",children:a.jsx(W,{variant:"body6",className:"text-metrifox-blue border-b border-metrifox-blue",children:"See more"})})]})]},o)}):null},Ym=({selectedInterval:e,intervals:t,setSelectedInterval:n})=>a.jsx(j,{className:"rounded-2xl p-1 flex bg-[var(--card-background-color,#F5F5F5)]",children:t.map(r=>{const s=e===r;return a.jsx(j,{className:`py-[4px] px-3 rounded-[12px] cursor-pointer ${s?"bg-[var(--active-tab-color,#3D3D3D)]":""}`,onClick:()=>n(r),children:a.jsx(W,{variant:"body4",color:s?"text-[var(--button-text,#FFFFFF)]":"text-[var(--tab-color,#A1A1AA)]",children:Dt(r)})},r)})}),Gm=({planName:e,productKey:t})=>{const[n,r]=p.useState(!1),[s,o]=p.useState(null),{setPlans:i}=en(),{productPlans:l}=dm({product_key:t}),{intervals:c,selectedInterval:u,setSelectedInterval:d}=fm(l||[]),{checkoutUrl:f,generateCheckoutUrl:h,isLoading:m}=cm({billingInterval:u}),{shouldShowDescription:g}=t0({selectedInterval:u,publishedOnly:!0});f&&window.open(f,"_blank","noopener,noreferrer");const x=p.useMemo(()=>{if(!l)return[];const y=l.findIndex(k=>k.name.toLowerCase()===e?.toLowerCase());return l.filter((k,w)=>k?.is_visible||w===y)},[l,e]),v=p.useMemo(()=>x.findIndex(y=>y.name.toLowerCase()===e?.toLowerCase()),[x,e]),b=y=>{o(y),r(!0)},C=()=>{r(!1),o(null)};return p.useEffect(()=>{x&&x.length>0&&i(x)},[x,i]),!x||x?.length===0?null:a.jsx(a.Fragment,{children:a.jsxs(j,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsx(j,{className:"flex items-center justify-between",children:a.jsxs(j,{className:"flex items-center gap-1",children:[a.jsx(j,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(be,{name:"subtitle",size:18,color:"grey-500"})}),a.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Plan"})]})}),a.jsxs(j,{className:"bg-metrifox-white rounded-2xl mt-2 p-4",children:[c.length>0&&a.jsx(j,{className:"flex justify-center mb-2.5",children:a.jsx(Ym,{selectedInterval:u,intervals:c,setSelectedInterval:d})}),a.jsx(j,{className:"flex gap-x-2 overflow-x-auto whitespace-nowrap px-6 py-4 -mx-4 [&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar-track]:bg-grey-100 [&::-webkit-scrollbar-thumb]:bg-grey-300 [&::-webkit-scrollbar-thumb]:rounded-full",children:x?.map((y,k)=>{const w=k===v,{name:L,entitlements:A,base_entitlement_plan_name:D,is_free:I,is_custom:V,description:O,price_options:z,entitlement_price_options:Z,credit_attachment_price_options:P,credit_attachments:F,trial_duration_unit:E,trial_duration_value:T}=y,M=r1(u,[...z,...Z]),$=E&&T,N=T===1?E:`${E}s`;if(!M&&!I&&!V)return null;const H=Zo([...A]).filter(J=>J?.is_visible),{featureOrderMap:Y}=g6(x||[]),_=m6(H,Y),R=F?.filter(J=>J.included_usage),B=J=>a.jsx(mm,{trialTag:$&&a.jsx(un,{background:"bg-grey-300",textColor:"text-metrifox-black",size:"small",children:a.jsx(W,{variant:"body6",children:`${T} ${N} Free trial`})}),interval:u,priceOptions:z,entitlementPriceOptions:Z,creditAttachmentPriceOptions:P,isPricePage:!1,showMoreCard:!!J,showMore:()=>b(y),isFree:I,isCustom:V});return a.jsxs(p.Fragment,{children:[a.jsxs(j,{className:"w-[35%] mb-8 flex-none text-wrap cursor-pointer",children:[a.jsx(j,{className:`${w?"bg-metrifox-primary":"bg-grey-200"} rounded-t-2xl px-3 pt-2.5 pb-4 mt-2"`,children:a.jsx(U,{variant:"label8",className:`${w?"text-metrifox-white":"text-grey-500"} font-medium`,children:y.name})}),a.jsx(j,{className:`${w?"border-b border-x":"border"} border-grey-200 h-full flex flex-col justify-between rounded-2xl p-2 -mt-2.5 transition-all duration-200 ${w?"bg-yellow-gradient":"bg-metrifox-white"}`,children:a.jsxs(j,{className:"w-full min-h-[25rem]",children:[g&&a.jsx(j,{className:"h-[51px] mt-1",children:a.jsx(Km,{description:O,showDetails:()=>b(y)})}),B(),!w&&a.jsx(Cr,{onClick:()=>h(y?.offering_key),className:"w-full bg-metrifox-primary hover:bg-metrifox-primary-dark mb-4",disabled:w||m,children:a.jsx(U,{variant:"label8",className:"text-metrifox-white",children:k>v?"Upgrade":"Downgrade"})}),a.jsx(j,{className:"px-2 mt-3",children:a.jsx(n0,{entitlements:_,credits:R,baseEntitlementsPlanName:D})})]})})]}),a.jsx(Ts,{isOpen:n&&s?.offering_key===y.offering_key,onClose:C,title:L,size:"small",bottomContent:a.jsx(j,{className:"flex justify-end gap-x-2",children:a.jsx(aa,{onClick:C,children:"Close"})}),children:s&&a.jsx(gm,{baseEntitlementsPlanName:s.base_entitlement_plan_name,description:s.description,entitlements:s.entitlements,priceContent:B(!0)})})]},k)})})]})]})})},qm=()=>a.jsx(j,{className:"flex justify-center items-center gap-x-2 h-full",children:a.jsxs(j,{className:"flex items-center gap-1",children:[a.jsx(W,{variant:"body7",color:"text-metrifox-black",children:"Powered by"}),a.jsx(o1,{height:30,width:100})]})}),Xm=({trigger:e,children:t,className:n="bg-metrifox-white rounded-[10px] shadow-md",shouldMatchWidth:r,anchorGap:s=4,anchorTo:o="bottom start",anchorOffset:i=0})=>{const l=p.useRef(null),[c,u]=p.useState(null);p.useLayoutEffect(()=>{l.current&&u(l.current.offsetWidth)},[]);const d=r&&c?c:"auto";return a.jsxs(p9,{className:"relative",children:[a.jsx(Zc,{className:"outline-none w-full cursor-pointer",ref:l,as:"span",children:e}),a.jsx(Uc,{anchor:{gap:s,to:o,offset:i},className:`${n} absolute z-10 transition duration-200 ease-out data-[closed]:scale-95 data-[closed]:opacity-0`,style:{width:d},transition:!0,children:({close:f})=>typeof t=="function"?a.jsx(a.Fragment,{children:t(f)}):a.jsx(a.Fragment,{children:t})})]})},Jm=async({subscriptionId:e})=>{const{data:t}=await It().post(`/subscriptions/${e}/schedule-cancellation`);return t},Qm=({subscriptionId:e,isOpen:t,onClose:n})=>{const[r,s]=p.useState(!1),{customerRefetch:o}=en();return a.jsxs(Ts,{size:"small",title:"Cancel subscription?",isOpen:t,onClose:n,bottomContent:a.jsxs(j,{className:"flex justify-end gap-x-2",children:[a.jsx(ia,{className:"text-primary-500",onClick:n,size:"x-small",children:"Cancel"}),a.jsx(Cr,{className:"!bg-metrifox-danger text-metrifox-white",onClick:async()=>{s(!0);try{const i=await Jm({subscriptionId:e});ct.success(i.message),s(!1),n(),o()}catch(i){ct.error(i instanceof Error?i.message:"An error ocurred"),s(!1)}},size:"x-small",isLoading:r,disabled:r,children:"Confirm"})]}),showCloseButton:!1,className:"bg-metrifox-white",children:[a.jsx(U,{variant:"label7",children:"Are you sure you want to proceed?"}),a.jsx(W,{variant:"body4",color:"text-metrifox-black",className:"mt-5",children:"This subscription is scheduled to be canceled at the end of the billing cycle"})]})},eg=async({subscriptionId:e})=>{const{data:t}=await It().post(`/subscriptions/${e}/revert-cancellation`);return t},tg=({subscriptionId:e,isOpen:t,onClose:n})=>{const[r,s]=p.useState(!1),{customerRefetch:o}=en();return a.jsxs(Ts,{size:"small",title:"Undo cancellation?",isOpen:t,onClose:n,bottomContent:a.jsxs(j,{className:"flex justify-end gap-x-2",children:[a.jsx(ia,{className:"text-primary-500",onClick:n,size:"x-small",children:"Cancel"}),a.jsx(Cr,{className:"text-metrifox-white",onClick:async()=>{s(!0);try{const i=await eg({subscriptionId:e});ct.success(i.message),s(!1),n(),o()}catch(i){ct.error(i instanceof Error?i.message:"An error ocurred"),s(!1)}},size:"x-small",isLoading:r,disabled:r,children:"Next"})]}),showCloseButton:!1,className:"bg-metrifox-white",children:[a.jsx(W,{variant:"body4",color:"text-metrifox-black",children:"Keep subscription active?"}),a.jsx(W,{variant:"body4",color:"text-metrifox-black",className:"mt-5",children:"The subscription would keep going and renew as usual."})]})},ng=({subscription:e})=>{const[t,n]=p.useState(!1),[r,s]=p.useState(!1);return a.jsxs(j,{children:[e?.ends_at?a.jsx(j,{onClick:()=>s(!0),className:"cursor-pointer",children:a.jsx(W,{variant:"body6",className:"text-metrifox-danger",children:"Undo cancellation"})}):a.jsx(j,{onClick:()=>n(!0),className:"cursor-pointer",children:a.jsx(W,{variant:"body6",className:"text-metrifox-danger",children:"Cancel subscription"})}),a.jsx(Qm,{subscriptionId:e?.id,isOpen:t,onClose:()=>n(!1)}),a.jsx(tg,{subscriptionId:e?.id,isOpen:r,onClose:()=>s(!1)})]})},rg=({subscriptionLineItems:e,handleUpdateQuantity:t,canUpdateQuantities:n})=>{const[r,s]=p.useState(!1),o=e[0];return a.jsxs(j,{children:[a.jsxs(j,{className:"bg-grey-200 rounded-t-2xl px-3 pt-2.5 pb-4 mt-4 flex items-center justify-between cursor-pointer",onClick:()=>s(!r),children:[a.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Items"}),a.jsxs(j,{className:"flex gap-x-2",children:[n&&a.jsx(Ps,{className:"!text-metrifox-blue underline cursor-pointer",onClick:i=>{i?.stopPropagation(),t()},children:"Update items"}),a.jsx("span",{className:`transform transition-transform duration-300 ${r?"rotate-180":"rotate-0"}`,children:a.jsx(be,{name:"arrow-down",size:14,color:"grey-500"})})]})]}),a.jsx(j,{className:"bg-metrifox-white rounded-2xl p-2 -mt-2.5 space-y-2",children:r?a.jsx(a.Fragment,{children:e?.map((i,l)=>a.jsx(j,{className:"bg-grey-50 border border-grey-200 rounded-lg p-2 flex justify-between",children:a.jsxs(j,{className:"w-full flex items-center justify-between",children:[a.jsx(j,{className:"flex items-center gap-4",children:a.jsxs(j,{className:"flex items-center gap-1",children:[a.jsx(U,{variant:"label8",className:"text-grey-800 font-medium",children:Dt(i?.name)}),i?.is_addon&&a.jsx(un,{size:"small",background:"bg-grey-300",textColor:"text-metrifox-black",children:"Add-on"})]})}),a.jsxs(W,{variant:"body6",className:"text-grey-800 font-medium",children:[Pt(i?.currency_code),(i?.unit_price||i?.total_amount)?.toFixed(2)]})]})},l))}):a.jsxs(j,{className:"bg-grey-100 rounded-lg p-2 flex items-center justify-between cursor-pointer",children:[a.jsxs(U,{variant:"label8",className:"text-grey-800 font-medium",children:[o?.name," ",a.jsx("span",{children:"\u2022"})," ",e.length," item(s)"]}),a.jsxs(j,{className:"flex items-center gap-1",children:[a.jsxs(W,{variant:"body6",className:"text-grey-800 font-medium",children:[Pt(o?.currency_code),(o?.unit_price||o?.total_amount)?.toFixed(2)]}),a.jsxs(W,{variant:"body6",className:"text-metrifox-blue",children:["+ ",e.length-1," prices(s)"]})]})]})})]})},sg=({subscription:e,tenantDetails:t})=>{const n=e?.status,{text:r,color:s}=l6(n),{customerKey:o}=en(),i=u=>u?Io(u.split("T")[0]):"nil",l=[{label:"Current plan",value:`${e?.plan_name||"-"}`},{label:"Status",value:a.jsx(un,{size:"small",background:s,textColor:"text-metrifox-white",children:Dt(r)||"-"})},{label:"Start date",value:i(e?.starts_at)},...n===At.IN_TRIAL?[{label:"Trial period",value:e?.starts_at&&e?.trial_end_date?a.jsxs(U,{variant:"label7",className:"text-grey-600",children:[i(e?.starts_at)," -"," ",i(e?.trial_end_date)]}):"-"}]:[],...n===At.ACTIVE?[{label:"Renewal date",value:e?.renews_at?i(e?.renews_at):"-"}]:[],...n===At.ACTIVE?[{label:"Current billing period",value:e?.current_billing_period_start&&e?.current_billing_period_end?a.jsxs(j,{children:[a.jsxs(U,{variant:"label7",className:"text-grey-600",children:[i(e.current_billing_period_start)," -"," ",i(e.current_billing_period_end)]}),a.jsx(un,{size:"small",background:"bg-grey-200",textColor:"text-metrifox-black",children:"Auto-renew"})]}):"-"}]:[],...n===At.ACTIVE?[{label:"Next billing date",value:e?.renews_at?i(e?.renews_at):"-"}]:[],...n===At.ACTIVE?[{label:"Next estimated bill",value:e?.next_billing_amount?a.jsx(j,{children:a.jsxs(U,{variant:"label7",className:"text-grey-600",children:[Pt(e.currency_code),e.next_billing_amount]})}):"-"}]:[]],c=()=>{const u=`${window.location.origin}/${t.tenant_checkout_username}/${e.offering_key}/subscriptions/${e.id}?customer=${o}`;window.open(u,"_blank","noopener,noreferrer")};return a.jsx(j,{children:a.jsxs(j,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsxs(j,{className:"flex items-center justify-between",children:[a.jsxs(j,{className:"flex items-center gap-1",children:[a.jsx(j,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(be,{name:"money",size:18,color:"grey-500"})}),a.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Subscription"})]}),a.jsx(Xm,{trigger:a.jsx(be,{name:"more",size:20,color:"grey-500"}),anchorTo:"bottom end",className:"bg-metrifox-white rounded-md shadow-md p-4",children:a.jsx(ng,{subscription:e})})]}),a.jsx(j,{className:"bg-grey-200 rounded-t-2xl px-3 pt-2.5 pb-4 mt-2",children:a.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Details"})}),a.jsx(j,{className:"bg-metrifox-white flex justify-between flex-wrap gap-8 rounded-2xl p-4 -mt-2.5",children:l?.map((u,d)=>a.jsxs(j,{className:"",children:[a.jsx(U,{variant:"label8",className:"text-grey-500",children:u?.label}),a.jsx(U,{variant:"label7",className:`text-grey-600 font-medium mt-2 ${u?.value==="-"?"text-center":""}`,children:u?.value})]},d))}),e?.subscription_items?.length>0&&a.jsx(rg,{subscriptionLineItems:e?.subscription_items,handleUpdateQuantity:c,canUpdateQuantities:e?.can_update_quantities})]})})},og=({upcomingInvoice:e})=>{const[t,n]=p.useState(!1),r=p.useRef(null),{invoiceDetails:s}=e0({invoiceId:e?.invoice_id});return a.jsxs(j,{children:[a.jsxs(j,{className:"bg-grey-100 rounded-2xl p-4 w-full flex items-center justify-between",children:[a.jsxs(j,{className:"flex items-center gap-3",children:[a.jsx(U,{variant:"label7",className:"font-medium text-metrifox-black",children:"Upcoming Invoice"}),a.jsx(j,{className:"flex items-center gap-2",children:a.jsx(un,{background:"bg-purple-500",size:"small",children:a.jsxs(U,{variant:"label8",className:"text-metrifox-white",children:[e?.currency?.symbol,e?.amount]})})}),a.jsxs(W,{variant:"body6",className:"text-metrifox-black",children:["Due"," ",new Date(e?.due_date).toLocaleString(e?.currency?.country_code,{month:"short",day:"numeric",year:"numeric"})]})]}),a.jsx(Ps,{className:"!text-metrifox-blue underline cursor-pointer",onClick:()=>{n(!0)},children:"Preview invoice"})]}),t&&a.jsx(Qd,{isOpen:t,onClose:()=>n(!1),contentRef:r,content:a.jsx(i1,{data:s}),modalTitle:"Invoice preview"})]})},ig=({tenantDetails:e,subscription:t,wallet:n})=>{const[r,s]=p.useState(0),o=c=>c.allocations.map(u=>({creditedDate:u.credited_date,source:u.source,amount:u.amount,balance:u.balance_remaining,validUntil:u.valid_until})),i=[{header:"Credited date",render:c=>a.jsx(W,{variant:"body6",color:"text-grey-700",children:new Date(c.creditedDate).toString()})},{key:"source",header:"Source"},{header:"Amount",render:c=>a.jsx(W,{variant:"body6",color:"text-grey-700",children:me(c.amount)})},{header:"Balance",render:c=>a.jsx(W,{variant:"body6",color:"text-grey-700",children:me(c.balance)})},{header:"Valid until",render:c=>a.jsx(W,{variant:"body6",color:"text-grey-700",children:c.validUntil?new Date(c.validUntil).toLocaleDateString():"No expiration"})}],l=c=>{const u=`${window.location.origin}/${e.tenant_checkout_username}/checkout/${t.offering_key}?customer=${e.customer_key}&credit=${c}`;window.open(u,"_blank","noopener,noreferrer")};return!n||n.length===0?null:a.jsxs(j,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsxs(j,{className:"flex items-center gap-1",children:[a.jsx(j,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(be,{name:"card-receive",size:16,color:"grey-500"})}),a.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Wallet balance"})]}),a.jsx(j,{className:"bg-metrifox-white rounded-2xl p-4 mt-2",children:n.length>1?a.jsxs(us,{defaultIndex:r,onChange:s,children:[a.jsx(ds,{className:"w-max bg-grey-100 border border-neutral-200 text-grey-500 px-1.5 py-1 rounded-2xl",children:n.map(c=>a.jsx(rr,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:a.jsx(W,{variant:"body6",children:c.name})},c.id))}),a.jsx(fs,{children:n.map(c=>a.jsxs(Sn,{children:[a.jsx(j,{className:"bg-grey-100 rounded-lg p-6 mt-4",children:a.jsxs(j,{className:"w-full flex items-center justify-between gap-1",children:[a.jsxs(j,{className:"text-center",children:[a.jsx(j,{className:"flex items-center justify-center gap-1",children:a.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Total available balance"})}),a.jsxs(j,{className:"flex items-baseline justify-center gap-1",children:[a.jsx(U,{variant:"label6",className:"text-neutral-800 font-medium",children:me(c.balance)}),a.jsx(U,{variant:"label8",className:"text-grey-500 mt-3.5",children:c.name})]})]}),a.jsx(Cr,{type:"button",size:"small",onClick:()=>l(c.credit_key),className:"text-metrifox-white",children:"Top up"})]})}),a.jsx(wr,{columns:i,data:o(c)})]},c.id))})]}):n[0]&&a.jsxs(a.Fragment,{children:[a.jsx(j,{className:"bg-grey-100 rounded-lg p-6 mt-4",children:a.jsxs(j,{className:"w-full flex items-center justify-between gap-1",children:[a.jsxs(j,{className:"text-center",children:[a.jsx(j,{className:"flex items-center justify-center gap-1",children:a.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Total available balance"})}),a.jsxs(j,{className:"flex items-baseline justify-center gap-1",children:[a.jsx(U,{variant:"label6",className:"text-neutral-800 font-medium",children:me(n[0].balance)}),a.jsx(U,{variant:"label8",className:"text-grey-500 mt-3.5",children:n[0].name})]})]}),a.jsx(Cr,{type:"button",size:"small",onClick:()=>n[0]?.id&&l(n[0].id),className:"text-metrifox-white",children:"Top up"})]})}),a.jsx(wr,{columns:i,data:o(n[0])})]})})]})},ag=[{key:"upcomingInvoice"},{key:"subscription"},{key:"creditBalance"},{key:"entitlementUsage"},{key:"paymentOverview"},{key:"billingHistory"},{key:"plan"}],lg={upcomingInvoice:"upcoming-invoice",subscription:"subscription",creditBalance:"credit-balance",entitlementUsage:"entitlement-usage",paymentOverview:"payment-overview",billingHistory:"billing-history",plan:"plan"},l0=({product:e,tenantDetails:t,sectionsConfig:n})=>{const r=n||ag,s={upcomingInvoice:()=>e?.subscription?.upcoming_invoice?a.jsx(og,{upcomingInvoice:e.subscription.upcoming_invoice}):null,subscription:()=>e?.subscription?a.jsx(sg,{subscription:e.subscription,tenantDetails:t}):null,creditBalance:()=>e?.wallets?.length>0?a.jsx(ig,{subscription:e.subscription,tenantDetails:t,wallet:e.wallets}):null,entitlementUsage:()=>e?.entitlements?.length>0?a.jsx(im,{entitlements:e.entitlements}):null,paymentOverview:()=>a.jsx(am,{paymentMethod:e.payment_method,tenantDetails:t}),billingHistory:()=>e?.subscription?.id?a.jsx(rm,{subscriptionId:e.subscription?.id}):null,plan:()=>e?.product_key?a.jsx(Gm,{planName:e?.subscription?.plan_name,productKey:e?.product_key}):null};return a.jsxs(j,{className:"space-y-4",children:[r.filter(o=>!o.hidden).map(o=>{const i=lg[o.key]??o.key;if(o.component)return a.jsx("section",{id:i,className:"space-y-4",children:a.jsx(o.component,{product:e,tenantDetails:t,...o.props})},o.key);const l=s[o.key],c=l?l(o.props):null;return c?a.jsx("section",{id:i,children:c},o.key):null}),a.jsx(qm,{})," "]})},cg=({customerKey:e,sectionsConfig:t})=>{const[n,r]=p.useState(0),{setCustomerKey:s,setCustomerRefetch:o}=en(),{customerDetails:i,error:l,refetch:c,isLoading:u}=K9({customerKey:e});if(p.useEffect(()=>{s(e),o(c)},[]),l)return a.jsx(j,{className:"max-w-[60rem] mx-auto py-6 px-4",children:a.jsxs("div",{className:"bg-red-50 p-4 rounded-lg text-red-700",children:["Error loading customer details: ",l]})});if(u||!i)return a.jsx(j,{className:"max-w-[60rem] mx-auto py-6 px-4",children:a.jsxs("div",{className:"animate-pulse space-y-4",children:[a.jsx("div",{className:"h-12 bg-gray-200 rounded-lg"}),a.jsx("div",{className:"h-16 bg-gray-200 rounded-lg"}),[1,2,3,4,5].map(m=>a.jsx("div",{className:"h-48 bg-gray-200 rounded-lg"},m))]})});const{subscriptions:d,...f}=i||{},h=d||[];return a.jsx(Df,{children:a.jsx(j,{className:"max-w-[60rem] mx-auto py-6 px-4 space-y-4",children:h&&h.length>1?a.jsxs(us,{defaultIndex:n,onChange:m=>r(m),children:[a.jsx(ds,{className:"w-max bg-grey-100 border border-grey-200 text-grey-500 px-1.5 py-1 mb-4 rounded-2xl",children:h.map(m=>a.jsx(rr,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:a.jsx(W,{variant:"body6",children:m.product_name})},m.product_key))}),a.jsx(fs,{children:h.map(m=>a.jsx(Sn,{children:a.jsx(l0,{product:m,tenantDetails:f,sectionsConfig:t})},m.product_key))})]}):a.jsx(a.Fragment,{children:h.map(m=>a.jsx(l0,{product:m,tenantDetails:f,sectionsConfig:t},m.product_key))})})})};exports.CustomerPortal=cg,exports.metrifoxInit=tf;