@iota/apps-ui-kit 0.5.0 → 0.5.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/CHANGELOG.md +11 -0
- package/dist/index.d.ts +38 -17
- package/dist/index.es.js +1827 -1803
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +38 -38
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -3
- package/src/lib/components/atoms/badge/Badge.tsx +1 -1
- package/src/lib/components/atoms/button/button-variants/ButtonPill.tsx +1 -1
- package/src/lib/components/atoms/button/button-variants/ButtonUnstyled.tsx +1 -1
- package/src/lib/components/atoms/button/button-variants/buttonVariants.types.ts +1 -1
- package/src/lib/components/atoms/info-box/InfoBox.tsx +2 -1
- package/src/lib/components/atoms/key-value-info/KeyValueInfo.tsx +3 -2
- package/src/lib/components/atoms/label-text/LabelText.tsx +2 -1
- package/src/lib/components/atoms/list-item/ListItem.tsx +2 -2
- package/src/lib/components/atoms/snackbar/Snackbar.tsx +1 -1
- package/src/lib/components/atoms/tooltip/Tooltip.tsx +3 -3
- package/src/lib/components/molecules/account/Account.tsx +21 -3
- package/src/lib/components/molecules/address/Address.tsx +1 -1
- package/src/lib/components/molecules/card/CardAction.tsx +1 -1
- package/src/lib/components/molecules/card/CardBody.tsx +3 -3
- package/src/lib/components/molecules/chip/Chip.tsx +1 -1
- package/src/lib/components/molecules/display-stats/DisplayStats.tsx +41 -3
- package/src/lib/components/molecules/input/Input.tsx +5 -4
- package/src/lib/components/molecules/input/InputWrapper.tsx +1 -1
- package/src/lib/components/molecules/input/TextArea.tsx +3 -2
- package/src/lib/components/molecules/input/input.types.ts +3 -3
- package/src/lib/components/molecules/navbar-item/NavbarItemHorizontal.tsx +2 -2
- package/src/lib/components/molecules/navbar-item/NavbarItemVertical.tsx +2 -2
- package/src/lib/components/molecules/search/Search.tsx +2 -9
- package/src/lib/components/molecules/segmented-button/SegmentedButton.tsx +2 -2
- package/src/lib/components/molecules/select/Select.tsx +2 -3
- package/src/lib/components/molecules/table-cell/TableCell.tsx +2 -2
- package/src/lib/components/molecules/table-header-cell/TableHeaderCell.tsx +1 -1
- package/src/lib/components/molecules/title/Title.tsx +2 -1
- package/src/lib/components/organisms/accordion/Accordion.tsx +2 -2
- package/src/lib/components/organisms/dialog/Dialog.tsx +20 -1
- package/src/lib/components/organisms/navbar/Navbar.tsx +2 -1
- package/src/lib/components/organisms/navbar/NavbarSlideout.tsx +3 -2
- package/src/lib/components/organisms/table/Table.tsx +4 -10
- package/src/lib/components/organisms/table/TableContext.tsx +2 -1
- package/src/lib/tailwind/base.presets.ts +1 -1
- package/src/lib/tailwind/constants/fontSizes.constants.ts +1 -1
- package/src/lib/tailwind/helpers.ts +1 -1
- package/src/lib/tailwind/types.ts +1 -1
- package/src/storybook/blocks/TypeSet.tsx +1 -1
- package/src/storybook/stories/atoms/Snackbar.stories.tsx +2 -1
- package/src/storybook/stories/molecules/Card.stories.tsx +1 -4
- package/src/storybook/stories/molecules/Dropdown.stories.tsx +1 -1
- package/src/storybook/stories/molecules/Input.stories.tsx +2 -1
- package/src/storybook/stories/molecules/Search.stories.tsx +2 -1
- package/src/storybook/stories/molecules/SegmentedButton.stories.tsx +2 -1
- package/src/storybook/stories/molecules/Select.stories.tsx +2 -1
- package/src/storybook/stories/organisms/Navbar.stories.tsx +2 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(P,Q){typeof exports=="object"&&typeof module<"u"?Q(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Q):(P=typeof globalThis<"u"?globalThis:P||self,Q(P["@iota/apps-ui-kit"]={},P.React,P.ReactDOM))})(this,function(P,Q,ka){"use strict";function Na(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=Na(Q),Pa=Na(ka);var jr=(e=>(e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e))(jr||{});const We=(e,r=16)=>`${e/r}rem`;function Aa(e){return Object.entries(e).reduce((t,[n,i])=>(t[n]=`${i}px`,t),{})}const Da={primary:{0:"#000000",10:"#061244",20:"#182b8a",30:"#3131ff",40:"#2563f5",50:"#3f80f0",60:"#5b9cfe",70:"#85b5fb",80:"#adceff",90:"#d5e8ff",100:"#ffffff"},secondary:{0:"#000000",10:"#051631",20:"#17345f",30:"#2d4c7a",40:"#4b648a",50:"#637ca2",60:"#7e97bd",70:"#96b3d5",80:"#b6cde8",90:"#dde9f7",100:"#ffffff"},tertiary:{0:"#000000",10:"#071f22",20:"#18393b",30:"#185b60",40:"#317479",50:"#498c91",60:"#64a7ac",70:"#7fc2c7",80:"#9adde2",90:"#c2f1f4",100:"#ffffff"},error:{0:"#000000",10:"#330009",20:"#610012",30:"#b51431",40:"#ce2d4a",50:"#e64562",60:"#ff607d",70:"#ff889e",80:"#ffb0be",90:"#ffd9e0",100:"#ffffff"},neutral:{0:"#000000",4:"#0a0f17",6:"#0f141c",10:"#171d26",12:"#1c212b",20:"#253041",30:"#3c4656",40:"#545e6e",50:"#6e7787",60:"#8892a1",70:"#a8b2c0",80:"#cad4e2",90:"#dde4f0",92:"#e3eaf6",96:"#eff4fa",98:"#f8fafc",100:"#ffffff"},warning:{10:"#422C00",20:"#2D1E00",60:"#BE8F32",90:"#FFE3AB"}},Ia={"shader-primary-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-inverted-dark":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"},"shader-neutral-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-primary-light":{0:"#0067ee00",8:"#0067ee14",12:"#0067ee1e",16:"#0067ee28",48:"#0067ee7a",72:"#0067eeb7"},"shader-inverted-light":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-neutral-light":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"}},cs={none:We(0),sm:We(2),DEFAULT:We(4),md:We(6),lg:We(8),xl:We(12),"2xl":We(16),"3xl":We(24),full:We(120)},fs={none:We(0),xxxs:We(2),xxs:We(4),xs:We(8),sm:We(12),md:We(16),lg:We(24),xl:We(32),"2xl":We(48)},ds={0:"0",8:"0.08",12:"0.12",16:"0.16",40:"0.4",60:"0.6",80:"0.8",100:"1"},vs={...{"text-label-sm":["11px",{lineHeight:"16px",letterSpacing:"0.2px",fontWeight:500}],"text-label-md":["12px",{lineHeight:"16px",letterSpacing:"-0.1px",fontWeight:500}],"text-label-lg":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:500}]},...{"text-body-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-lg":["16px",{lineHeight:"24px",letterSpacing:"0.1px",fontWeight:400}]},...{"text-body-ds-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-ds-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-ds-lg":["16px",{lineHeight:"24px",letterSpacing:"0.2px",fontWeight:400}]},...{"text-title-sm":["14px",{lineHeight:"120%",letterSpacing:"-0.1px",fontWeight:500}],"text-title-md":["16px",{lineHeight:"120%",letterSpacing:"-0.15px",fontWeight:500}],"text-title-lg":["20px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}]},...{"text-headline-sm":["24px",{lineHeight:"120%",letterSpacing:"-0.2px",fontWeight:500}],"text-headline-md":["28px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}],"text-headline-lg":["32px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}]},...{"text-display-sm":["36px",{lineHeight:"120%",fontWeight:500}],"text-display-md":["48px",{lineHeight:"120%",fontWeight:500}],"text-display-lg":["60px",{lineHeight:"120%",fontWeight:500}]}},ms=Object.entries(vs).reduce((e,[r,t])=>{const n=r.startsWith("text-")?r.replace("text-",""):r;return{...e,[n]:t}},{}),La={"xs--rs":["4px","8px"],"sm--rs":["8px","12px"],"md--rs":["16px","24px"]};function hs(e,r){const t=[jr.Sm,jr.Md,jr.Lg,jr.Xl],n=La[e];let i=`${n[0]}`;for(let s=1;s<n.length;s++)if(n[s]){const u=r[t[s]];u&&(i=`clamp(${i}, (100vw - ${u}) * 99, ${n[s]})`)}return i}function ps(e){return Object.keys(La).reduce((t,n)=>{const i=hs(n,e);return{...t,[n]:i}},{})}var sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ma={},Fa={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});function r(n,i){return{handler:n,config:i}}r.withOptions=function(n,i=()=>({})){const s=function(u){return{__options:u,handler:n(u),config:i(u)}};return s.__isOptionsFunction=!0,s.__pluginFunction=n,s.__configFunction=i,s};const t=r})(Fa),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const r=t(Fa);function t(i){return i.__esModule?i:{default:i}}const n=r.default}(Ma);let $n=Ma;var gs=($n.__esModule?$n:{default:$n}).default;const xs=Wn(gs)(({addVariant:e})=>{e("firefox","@-moz-document url-prefix()")}),Ba={content:["./src/**/*.{html,js,jsx,ts,tsx}"],darkMode:"class",plugins:[xs],theme:{extend:{fontSize:{...ms},borderRadius:{...cs},spacing:e=>{const r=e.theme("screens"),t=ps(r);return{...fs,...t}},opacity:{...ds,30:"0.3"},colors:{...Da,...Ia},fontFamily:{"alliance-no2":["AllianceNo2","sans-serif"],inter:["Inter","sans-serif"]}}}};var ln={exports:{}};ln.exports,function(e,r){var t=200,n="__lodash_hash_undefined__",i=800,s=16,u=9007199254740991,f="[object Arguments]",g="[object Array]",h="[object AsyncFunction]",_="[object Boolean]",b="[object Date]",j="[object Error]",R="[object Function]",k="[object GeneratorFunction]",O="[object Map]",A="[object Number]",D="[object Null]",H="[object Object]",G="[object Proxy]",ee="[object RegExp]",Y="[object Set]",se="[object String]",U="[object Undefined]",M="[object WeakMap]",le="[object ArrayBuffer]",ke="[object DataView]",He="[object Float32Array]",Xe="[object Float64Array]",De="[object Int8Array]",Oe="[object Int16Array]",je="[object Int32Array]",J="[object Uint8Array]",V="[object Uint8ClampedArray]",ne="[object Uint16Array]",we="[object Uint32Array]",Te=/[\\^$.*+?()[\]{}|]/g,Se=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,T={};T[He]=T[Xe]=T[De]=T[Oe]=T[je]=T[J]=T[V]=T[ne]=T[we]=!0,T[f]=T[g]=T[le]=T[_]=T[ke]=T[b]=T[j]=T[R]=T[O]=T[A]=T[H]=T[ee]=T[Y]=T[se]=T[M]=!1;var ie=typeof sn=="object"&&sn&&sn.Object===Object&&sn,ve=typeof self=="object"&&self&&self.Object===Object&&self,ue=ie||ve||Function("return this")(),ge=r&&!r.nodeType&&r,me=ge&&!0&&e&&!e.nodeType&&e,be=me&&me.exports===ge,pe=be&&ie.process,Me=function(){try{var c=me&&me.require&&me.require("util").types;return c||pe&&pe.binding&&pe.binding("util")}catch{}}(),br=Me&&Me.isTypedArray;function ur(c,m,w){switch(w.length){case 0:return c.call(m);case 1:return c.call(m,w[0]);case 2:return c.call(m,w[0],w[1]);case 3:return c.call(m,w[0],w[1],w[2])}return c.apply(m,w)}function Vr(c,m){for(var w=-1,q=Array(c);++w<c;)q[w]=m(w);return q}function cr(c){return function(m){return c(m)}}function tr(c,m){return c==null?void 0:c[m]}function W(c,m){return function(w){return c(m(w))}}var z=Array.prototype,ae=Function.prototype,ce=Object.prototype,Pe=ue["__core-js_shared__"],ye=ae.toString,fe=ce.hasOwnProperty,qe=function(){var c=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),ze=ce.toString,Ze=ye.call(Object),or=RegExp("^"+ye.call(fe).replace(Te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yr=be?ue.Buffer:void 0,Ur=ue.Symbol,Nr=ue.Uint8Array;yr&&yr.allocUnsafe;var _r=W(Object.getPrototypeOf,Object),qr=Object.create,vt=ce.propertyIsEnumerable,mt=z.splice,rr=Ur?Ur.toStringTag:void 0,wr=function(){try{var c=bt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),ht=yr?yr.isBuffer:void 0,Pr=Math.max,Sr=Date.now,sr=bt(ue,"Map"),Je=bt(Object,"create"),fr=function(){function c(){}return function(m){if(!Lr(m))return{};if(qr)return qr(m);c.prototype=m;var w=new c;return c.prototype=void 0,w}}();function Qe(c){var m=-1,w=c==null?0:c.length;for(this.clear();++m<w;){var q=c[m];this.set(q[0],q[1])}}function Er(){this.__data__=Je?Je(null):{},this.size=0}function Zr(c){var m=this.has(c)&&delete this.__data__[c];return this.size-=m?1:0,m}function Jr(c){var m=this.__data__;if(Je){var w=m[c];return w===n?void 0:w}return fe.call(m,c)?m[c]:void 0}function Qr(c){var m=this.__data__;return Je?m[c]!==void 0:fe.call(m,c)}function Wr(c,m){var w=this.__data__;return this.size+=this.has(c)?0:1,w[c]=Je&&m===void 0?n:m,this}Qe.prototype.clear=Er,Qe.prototype.delete=Zr,Qe.prototype.get=Jr,Qe.prototype.has=Qr,Qe.prototype.set=Wr;function ir(c){var m=-1,w=c==null?0:c.length;for(this.clear();++m<w;){var q=c[m];this.set(q[0],q[1])}}function Cr(){this.__data__=[],this.size=0}function Ar(c){var m=this.__data__,w=Ye(m,c);if(w<0)return!1;var q=m.length-1;return w==q?m.pop():mt.call(m,w,1),--this.size,!0}function Dr(c){var m=this.__data__,w=Ye(m,c);return w<0?void 0:m[w][1]}function et(c){return Ye(this.__data__,c)>-1}function pt(c,m){var w=this.__data__,q=Ye(w,c);return q<0?(++this.size,w.push([c,m])):w[q][1]=m,this}ir.prototype.clear=Cr,ir.prototype.delete=Ar,ir.prototype.get=Dr,ir.prototype.has=et,ir.prototype.set=pt;function vr(c){var m=-1,w=c==null?0:c.length;for(this.clear();++m<w;){var q=c[m];this.set(q[0],q[1])}}function gt(){this.size=0,this.__data__={hash:new Qe,map:new(sr||ir),string:new Qe}}function v(c){var m=$r(this,c).delete(c);return this.size-=m?1:0,m}function l(c){return $r(this,c).get(c)}function x(c){return $r(this,c).has(c)}function E(c,m){var w=$r(this,c),q=w.size;return w.set(c,m),this.size+=w.size==q?0:1,this}vr.prototype.clear=gt,vr.prototype.delete=v,vr.prototype.get=l,vr.prototype.has=x,vr.prototype.set=E;function B(c){var m=this.__data__=new ir(c);this.size=m.size}function Z(){this.__data__=new ir,this.size=0}function K(c){var m=this.__data__,w=m.delete(c);return this.size=m.size,w}function $(c){return this.__data__.get(c)}function re(c){return this.__data__.has(c)}function he(c,m){var w=this.__data__;if(w instanceof ir){var q=w.__data__;if(!sr||q.length<t-1)return q.push([c,m]),this.size=++w.size,this;w=this.__data__=new vr(q)}return w.set(c,m),this.size=w.size,this}B.prototype.clear=Z,B.prototype.delete=K,B.prototype.get=$,B.prototype.has=re,B.prototype.set=he;function oe(c,m){var w=rn(c),q=!w&&It(c),_e=!w&&!q&&tn(c),Ne=!w&&!q&&!_e&&Fn(c),Le=w||q||_e||Ne,Re=Le?Vr(c.length,String):[],a=Re.length;for(var d in c)Le&&(d=="length"||_e&&(d=="offset"||d=="parent")||Ne&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Jt(d,a))||Re.push(d);return Re}function xe(c,m,w){(w!==void 0&&!Dt(c[m],w)||w===void 0&&!(m in c))&&Ae(c,m,w)}function Ve(c,m,w){var q=c[m];(!(fe.call(c,m)&&Dt(q,w))||w===void 0&&!(m in c))&&Ae(c,m,w)}function Ye(c,m){for(var w=c.length;w--;)if(Dt(c[w][0],m))return w;return-1}function Ae(c,m,w){m=="__proto__"&&wr?wr(c,m,{configurable:!0,enumerable:!0,value:w,writable:!0}):c[m]=w}var Ge=Zt();function mr(c){return c==null?c===void 0?U:D:rr&&rr in Object(c)?Nt(c):At(c)}function rt(c){return yt(c)&&mr(c)==f}function Kt(c){if(!Lr(c)||Pt(c))return!1;var m=nn(c)?or:Se;return m.test(ja(c))}function xt(c){return yt(c)&&an(c.length)&&!!T[mr(c)]}function Tn(c){if(!Lr(c))return In(c);var m=Qt(c),w=[];for(var q in c)q=="constructor"&&(m||!fe.call(c,q))||w.push(q);return w}function Xt(c,m,w,q,_e){c!==m&&Ge(m,function(Ne,Le){if(_e||(_e=new B),Lr(Ne))On(c,m,Le,w,Xt,q,_e);else{var Re=q?q(Ir(c,Le),Ne,Le+"",c,m,_e):void 0;Re===void 0&&(Re=Ne),xe(c,Le,Re)}},_t)}function On(c,m,w,q,_e,Ne,Le){var Re=Ir(c,w),a=Ir(m,w),d=Le.get(a);if(d){xe(c,w,d);return}var y=Ne?Ne(Re,a,w+"",c,m,Le):void 0,C=y===void 0;if(C){var F=rn(a),te=!F&&tn(a),X=!F&&!te&&Fn(a);y=a,F||te||X?rn(Re)?y=Re:Mn(Re)?y=ya(Re):te?(C=!1,y=Pn(a)):X?(C=!1,y=Dn(a)):y=[]:Ra(a)||It(a)?(y=Re,It(Re)?y=Bn(Re):(!Lr(Re)||nn(Re))&&(y=wa(a))):C=!1}C&&(Le.set(a,y),_e(y,a,q,Ne,Le),Le.delete(a)),xe(c,w,y)}function kn(c,m){return en(Ca(c,m,on),c+"")}var Nn=wr?function(c,m){return wr(c,"toString",{configurable:!0,enumerable:!1,value:tt(m),writable:!0})}:on;function Pn(c,m){return c.slice()}function An(c){var m=new c.constructor(c.byteLength);return new Nr(m).set(new Nr(c)),m}function Dn(c,m){var w=An(c.buffer);return new c.constructor(w,c.byteOffset,c.length)}function ya(c,m){var w=-1,q=c.length;for(m||(m=Array(q));++w<q;)m[w]=c[w];return m}function _a(c,m,w,q){var _e=!w;w||(w={});for(var Ne=-1,Le=m.length;++Ne<Le;){var Re=m[Ne],a=void 0;a===void 0&&(a=c[Re]),_e?Ae(w,Re,a):Ve(w,Re,a)}return w}function qt(c){return kn(function(m,w){var q=-1,_e=w.length,Ne=_e>1?w[_e-1]:void 0,Le=_e>2?w[2]:void 0;for(Ne=c.length>3&&typeof Ne=="function"?(_e--,Ne):void 0,Le&&Sa(w[0],w[1],Le)&&(Ne=_e<3?void 0:Ne,_e=1),m=Object(m);++q<_e;){var Re=w[q];Re&&c(m,Re,q,Ne)}return m})}function Zt(c){return function(m,w,q){for(var _e=-1,Ne=Object(m),Le=q(m),Re=Le.length;Re--;){var a=Le[++_e];if(w(Ne[a],a,Ne)===!1)break}return m}}function $r(c,m){var w=c.__data__;return Ea(m)?w[typeof m=="string"?"string":"hash"]:w.map}function bt(c,m){var w=tr(c,m);return Kt(w)?w:void 0}function Nt(c){var m=fe.call(c,rr),w=c[rr];try{c[rr]=void 0;var q=!0}catch{}var _e=ze.call(c);return q&&(m?c[rr]=w:delete c[rr]),_e}function wa(c){return typeof c.constructor=="function"&&!Qt(c)?fr(_r(c)):{}}function Jt(c,m){var w=typeof c;return m=m??u,!!m&&(w=="number"||w!="symbol"&&p.test(c))&&c>-1&&c%1==0&&c<m}function Sa(c,m,w){if(!Lr(w))return!1;var q=typeof m;return(q=="number"?Lt(w)&&Jt(m,w.length):q=="string"&&m in w)?Dt(w[m],c):!1}function Ea(c){var m=typeof c;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?c!=="__proto__":c===null}function Pt(c){return!!qe&&qe in c}function Qt(c){var m=c&&c.constructor,w=typeof m=="function"&&m.prototype||ce;return c===w}function In(c){var m=[];if(c!=null)for(var w in Object(c))m.push(w);return m}function At(c){return ze.call(c)}function Ca(c,m,w){return m=Pr(m===void 0?c.length-1:m,0),function(){for(var q=arguments,_e=-1,Ne=Pr(q.length-m,0),Le=Array(Ne);++_e<Ne;)Le[_e]=q[m+_e];_e=-1;for(var Re=Array(m+1);++_e<m;)Re[_e]=q[_e];return Re[m]=w(Le),ur(c,this,Re)}}function Ir(c,m){if(!(m==="constructor"&&typeof c[m]=="function")&&m!="__proto__")return c[m]}var en=Ln(Nn);function Ln(c){var m=0,w=0;return function(){var q=Sr(),_e=s-(q-w);if(w=q,_e>0){if(++m>=i)return arguments[0]}else m=0;return c.apply(void 0,arguments)}}function ja(c){if(c!=null){try{return ye.call(c)}catch{}try{return c+""}catch{}}return""}function Dt(c,m){return c===m||c!==c&&m!==m}var It=rt(function(){return arguments}())?rt:function(c){return yt(c)&&fe.call(c,"callee")&&!vt.call(c,"callee")},rn=Array.isArray;function Lt(c){return c!=null&&an(c.length)&&!nn(c)}function Mn(c){return yt(c)&&Lt(c)}var tn=ht||Vn;function nn(c){if(!Lr(c))return!1;var m=mr(c);return m==R||m==k||m==h||m==G}function an(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=u}function Lr(c){var m=typeof c;return c!=null&&(m=="object"||m=="function")}function yt(c){return c!=null&&typeof c=="object"}function Ra(c){if(!yt(c)||mr(c)!=H)return!1;var m=_r(c);if(m===null)return!0;var w=fe.call(m,"constructor")&&m.constructor;return typeof w=="function"&&w instanceof w&&ye.call(w)==Ze}var Fn=br?cr(br):xt;function Bn(c){return _a(c,_t(c))}function _t(c){return Lt(c)?oe(c):Tn(c)}var Ta=qt(function(c,m,w){Xt(c,m,w)});function tt(c){return function(){return c}}function on(c){return c}function Vn(){return!1}e.exports=Ta}(ln,ln.exports);var bs=ln.exports;const Va=Wn(bs),ys={[jr.Sm]:768,[jr.Md]:1024,[jr.Lg]:1400,[jr.Xl]:1920},Ua=Aa(ys),_s=Va({},Ba,{theme:{screens:Ua,container:{center:!0,screens:Ua,padding:{DEFAULT:We(24),md:We(48),lg:We(120),xl:We(240)}}}}),ws=Aa({default:0}),Ss=Va({},Ba,{theme:{screens:ws},corePlugins:{container:!1}});var Hn={exports:{}},Mt={};/**
|
|
1
|
+
(function(P,te){typeof exports=="object"&&typeof module<"u"?te(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],te):(P=typeof globalThis<"u"?globalThis:P||self,te(P["@iota/apps-ui-kit"]={},P.React,P.ReactDOM))})(this,function(P,te,Na){"use strict";function Pa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const S=Pa(te),Aa=Pa(Na);var jt=(e=>(e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e))(jt||{});const We=(e,t=16)=>`${e/t}rem`;function Da(e){return Object.entries(e).reduce((r,[n,i])=>(r[n]=`${i}px`,r),{})}const Ia={primary:{0:"#000000",10:"#061244",20:"#182b8a",30:"#3131ff",40:"#2563f5",50:"#3f80f0",60:"#5b9cfe",70:"#85b5fb",80:"#adceff",90:"#d5e8ff",100:"#ffffff"},secondary:{0:"#000000",10:"#051631",20:"#17345f",30:"#2d4c7a",40:"#4b648a",50:"#637ca2",60:"#7e97bd",70:"#96b3d5",80:"#b6cde8",90:"#dde9f7",100:"#ffffff"},tertiary:{0:"#000000",10:"#071f22",20:"#18393b",30:"#185b60",40:"#317479",50:"#498c91",60:"#64a7ac",70:"#7fc2c7",80:"#9adde2",90:"#c2f1f4",100:"#ffffff"},error:{0:"#000000",10:"#330009",20:"#610012",30:"#b51431",40:"#ce2d4a",50:"#e64562",60:"#ff607d",70:"#ff889e",80:"#ffb0be",90:"#ffd9e0",100:"#ffffff"},neutral:{0:"#000000",4:"#0a0f17",6:"#0f141c",10:"#171d26",12:"#1c212b",20:"#253041",30:"#3c4656",40:"#545e6e",50:"#6e7787",60:"#8892a1",70:"#a8b2c0",80:"#cad4e2",90:"#dde4f0",92:"#e3eaf6",96:"#eff4fa",98:"#f8fafc",100:"#ffffff"},warning:{10:"#422C00",20:"#2D1E00",60:"#BE8F32",90:"#FFE3AB"}},La={"shader-primary-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-inverted-dark":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"},"shader-neutral-dark":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-primary-light":{0:"#0067ee00",8:"#0067ee14",12:"#0067ee1e",16:"#0067ee28",48:"#0067ee7a",72:"#0067eeb7"},"shader-inverted-light":{0:"#bed8ff00",8:"#bed8ff14",12:"#bed8ff1e",16:"#bed8ff28",48:"#bed8ff7a",72:"#bed8ffb7"},"shader-neutral-light":{0:"#002f6d00",8:"#002f6d14",12:"#002f6d1e",16:"#002f6d28",48:"#002f6d7a",72:"#002f6db7"}},cs={none:We(0),sm:We(2),DEFAULT:We(4),md:We(6),lg:We(8),xl:We(12),"2xl":We(16),"3xl":We(24),full:We(120)},fs={none:We(0),xxxs:We(2),xxs:We(4),xs:We(8),sm:We(12),md:We(16),lg:We(24),xl:We(32),"2xl":We(48)},ds={0:"0",8:"0.08",12:"0.12",16:"0.16",40:"0.4",60:"0.6",80:"0.8",100:"1"},vs={...{"text-label-sm":["11px",{lineHeight:"16px",letterSpacing:"0.2px",fontWeight:500}],"text-label-md":["12px",{lineHeight:"16px",letterSpacing:"-0.1px",fontWeight:500}],"text-label-lg":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:500}]},...{"text-body-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-lg":["16px",{lineHeight:"24px",letterSpacing:"0.1px",fontWeight:400}]},...{"text-body-ds-sm":["12px",{lineHeight:"16px",letterSpacing:"0.1px",fontWeight:400}],"text-body-ds-md":["14px",{lineHeight:"20px",letterSpacing:"-0.1px",fontWeight:400}],"text-body-ds-lg":["16px",{lineHeight:"24px",letterSpacing:"0.2px",fontWeight:400}]},...{"text-title-sm":["14px",{lineHeight:"120%",letterSpacing:"-0.1px",fontWeight:500}],"text-title-md":["16px",{lineHeight:"120%",letterSpacing:"-0.15px",fontWeight:500}],"text-title-lg":["20px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}]},...{"text-headline-sm":["24px",{lineHeight:"120%",letterSpacing:"-0.2px",fontWeight:500}],"text-headline-md":["28px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}],"text-headline-lg":["32px",{lineHeight:"120%",letterSpacing:"-0.4px",fontWeight:500}]},...{"text-display-sm":["36px",{lineHeight:"120%",fontWeight:500}],"text-display-md":["48px",{lineHeight:"120%",fontWeight:500}],"text-display-lg":["60px",{lineHeight:"120%",fontWeight:500}]}},ms=Object.entries(vs).reduce((e,[t,r])=>{const n=t.startsWith("text-")?t.replace("text-",""):t;return{...e,[n]:r}},{}),Ma={"xs--rs":["4px","8px"],"sm--rs":["8px","12px"],"md--rs":["16px","24px"]};function hs(e,t){const r=[jt.Sm,jt.Md,jt.Lg,jt.Xl],n=Ma[e];let i=`${n[0]}`;for(let s=1;s<n.length;s++)if(n[s]){const u=t[r[s]];u&&(i=`clamp(${i}, (100vw - ${u}) * 99, ${n[s]})`)}return i}function ps(e){return Object.keys(Ma).reduce((r,n)=>{const i=hs(n,e);return{...r,[n]:i}},{})}var ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fa={},Ba={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n,i){return{handler:n,config:i}}t.withOptions=function(n,i=()=>({})){const s=function(u){return{__options:u,handler:n(u),config:i(u)}};return s.__isOptionsFunction=!0,s.__pluginFunction=n,s.__configFunction=i,s};const r=t})(Ba),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const t=r(Ba);function r(i){return i.__esModule?i:{default:i}}const n=t.default}(Fa);let $n=Fa;var gs=($n.__esModule?$n:{default:$n}).default;const xs=Wn(gs)(({addVariant:e})=>{e("firefox","@-moz-document url-prefix()")}),Va={content:["./src/**/*.{html,js,jsx,ts,tsx}"],darkMode:"class",plugins:[xs],theme:{extend:{fontSize:{...ms},borderRadius:{...cs},spacing:e=>{const t=e.theme("screens"),r=ps(t);return{...fs,...r}},opacity:{...ds,30:"0.3"},colors:{...Ia,...La},fontFamily:{"alliance-no2":["AllianceNo2","sans-serif"],inter:["Inter","sans-serif"]}}}};var un={exports:{}};un.exports,function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,s=16,u=9007199254740991,f="[object Arguments]",h="[object Array]",p="[object AsyncFunction]",_="[object Boolean]",x="[object Date]",j="[object Error]",R="[object Function]",k="[object GeneratorFunction]",O="[object Map]",A="[object Number]",D="[object Null]",V="[object Object]",U="[object Proxy]",ee="[object RegExp]",q="[object Set]",Y="[object String]",W="[object Undefined]",G="[object WeakMap]",de="[object ArrayBuffer]",Ae="[object DataView]",He="[object Float32Array]",Xe="[object Float64Array]",De="[object Int8Array]",Oe="[object Int16Array]",je="[object Int32Array]",Q="[object Uint8Array]",B="[object Uint8ClampedArray]",ae="[object Uint16Array]",we="[object Uint32Array]",Te=/[\\^$.*+?()[\]{}|]/g,Se=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,T={};T[He]=T[Xe]=T[De]=T[Oe]=T[je]=T[Q]=T[B]=T[ae]=T[we]=!0,T[f]=T[h]=T[de]=T[_]=T[Ae]=T[x]=T[j]=T[R]=T[O]=T[A]=T[V]=T[ee]=T[q]=T[Y]=T[G]=!1;var oe=typeof ln=="object"&&ln&&ln.Object===Object&&ln,ve=typeof self=="object"&&self&&self.Object===Object&&self,le=oe||ve||Function("return this")(),ge=t&&!t.nodeType&&t,me=ge&&!0&&e&&!e.nodeType&&e,be=me&&me.exports===ge,pe=be&&oe.process,Me=function(){try{var c=me&&me.require&&me.require("util").types;return c||pe&&pe.binding&&pe.binding("util")}catch{}}(),bt=Me&&Me.isTypedArray;function ut(c,m,w){switch(w.length){case 0:return c.call(m);case 1:return c.call(m,w[0]);case 2:return c.call(m,w[0],w[1]);case 3:return c.call(m,w[0],w[1],w[2])}return c.apply(m,w)}function Vt(c,m){for(var w=-1,Z=Array(c);++w<c;)Z[w]=m(w);return Z}function ct(c){return function(m){return c(m)}}function nt(c,m){return c==null?void 0:c[m]}function $(c,m){return function(w){return c(m(w))}}var z=Array.prototype,ie=Function.prototype,ue=Object.prototype,Ne=le["__core-js_shared__"],ye=ie.toString,ce=ue.hasOwnProperty,qe=function(){var c=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),ze=ue.toString,Ze=ye.call(Object),ot=RegExp("^"+ye.call(ce).replace(Te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=be?le.Buffer:void 0,Ut=le.Symbol,Nt=le.Uint8Array;yt&&yt.allocUnsafe;var _t=$(Object.getPrototypeOf,Object),Zt=Object.create,mr=ue.propertyIsEnumerable,hr=z.splice,tt=Ut?Ut.toStringTag:void 0,wt=function(){try{var c=yr(Object,"defineProperty");return c({},"",{}),c}catch{}}(),pr=yt?yt.isBuffer:void 0,Pt=Math.max,St=Date.now,st=yr(le,"Map"),Je=yr(Object,"create"),ft=function(){function c(){}return function(m){if(!Lt(m))return{};if(Zt)return Zt(m);c.prototype=m;var w=new c;return c.prototype=void 0,w}}();function Qe(c){var m=-1,w=c==null?0:c.length;for(this.clear();++m<w;){var Z=c[m];this.set(Z[0],Z[1])}}function Et(){this.__data__=Je?Je(null):{},this.size=0}function Jt(c){var m=this.has(c)&&delete this.__data__[c];return this.size-=m?1:0,m}function Qt(c){var m=this.__data__;if(Je){var w=m[c];return w===n?void 0:w}return ce.call(m,c)?m[c]:void 0}function er(c){var m=this.__data__;return Je?m[c]!==void 0:ce.call(m,c)}function Wt(c,m){var w=this.__data__;return this.size+=this.has(c)?0:1,w[c]=Je&&m===void 0?n:m,this}Qe.prototype.clear=Et,Qe.prototype.delete=Jt,Qe.prototype.get=Qt,Qe.prototype.has=er,Qe.prototype.set=Wt;function it(c){var m=-1,w=c==null?0:c.length;for(this.clear();++m<w;){var Z=c[m];this.set(Z[0],Z[1])}}function Ct(){this.__data__=[],this.size=0}function At(c){var m=this.__data__,w=Ye(m,c);if(w<0)return!1;var Z=m.length-1;return w==Z?m.pop():hr.call(m,w,1),--this.size,!0}function Dt(c){var m=this.__data__,w=Ye(m,c);return w<0?void 0:m[w][1]}function tr(c){return Ye(this.__data__,c)>-1}function gr(c,m){var w=this.__data__,Z=Ye(w,c);return Z<0?(++this.size,w.push([c,m])):w[Z][1]=m,this}it.prototype.clear=Ct,it.prototype.delete=At,it.prototype.get=Dt,it.prototype.has=tr,it.prototype.set=gr;function vt(c){var m=-1,w=c==null?0:c.length;for(this.clear();++m<w;){var Z=c[m];this.set(Z[0],Z[1])}}function xr(){this.size=0,this.__data__={hash:new Qe,map:new(st||it),string:new Qe}}function v(c){var m=$t(this,c).delete(c);return this.size-=m?1:0,m}function l(c){return $t(this,c).get(c)}function b(c){return $t(this,c).has(c)}function E(c,m){var w=$t(this,c),Z=w.size;return w.set(c,m),this.size+=w.size==Z?0:1,this}vt.prototype.clear=xr,vt.prototype.delete=v,vt.prototype.get=l,vt.prototype.has=b,vt.prototype.set=E;function F(c){var m=this.__data__=new it(c);this.size=m.size}function J(){this.__data__=new it,this.size=0}function K(c){var m=this.__data__,w=m.delete(c);return this.size=m.size,w}function H(c){return this.__data__.get(c)}function re(c){return this.__data__.has(c)}function he(c,m){var w=this.__data__;if(w instanceof it){var Z=w.__data__;if(!st||Z.length<r-1)return Z.push([c,m]),this.size=++w.size,this;w=this.__data__=new vt(Z)}return w.set(c,m),this.size=w.size,this}F.prototype.clear=J,F.prototype.delete=K,F.prototype.get=H,F.prototype.has=re,F.prototype.set=he;function se(c,m){var w=rn(c),Z=!w&&Ir(c),_e=!w&&!Z&&nn(c),ke=!w&&!Z&&!_e&&Fn(c),Le=w||Z||_e||ke,Re=Le?Vt(c.length,String):[],a=Re.length;for(var d in c)Le&&(d=="length"||_e&&(d=="offset"||d=="parent")||ke&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Qr(d,a))||Re.push(d);return Re}function xe(c,m,w){(w!==void 0&&!Dr(c[m],w)||w===void 0&&!(m in c))&&Pe(c,m,w)}function Ve(c,m,w){var Z=c[m];(!(ce.call(c,m)&&Dr(Z,w))||w===void 0&&!(m in c))&&Pe(c,m,w)}function Ye(c,m){for(var w=c.length;w--;)if(Dr(c[w][0],m))return w;return-1}function Pe(c,m,w){m=="__proto__"&&wt?wt(c,m,{configurable:!0,enumerable:!0,value:w,writable:!0}):c[m]=w}var Ge=Jr();function mt(c){return c==null?c===void 0?W:D:tt&&tt in Object(c)?Nr(c):Ar(c)}function rr(c){return _r(c)&&mt(c)==f}function Xr(c){if(!Lt(c)||Pr(c))return!1;var m=an(c)?ot:Se;return m.test(Ra(c))}function br(c){return _r(c)&&on(c.length)&&!!T[mt(c)]}function Tn(c){if(!Lt(c))return In(c);var m=en(c),w=[];for(var Z in c)Z=="constructor"&&(m||!ce.call(c,Z))||w.push(Z);return w}function qr(c,m,w,Z,_e){c!==m&&Ge(m,function(ke,Le){if(_e||(_e=new F),Lt(ke))On(c,m,Le,w,qr,Z,_e);else{var Re=Z?Z(It(c,Le),ke,Le+"",c,m,_e):void 0;Re===void 0&&(Re=ke),xe(c,Le,Re)}},wr)}function On(c,m,w,Z,_e,ke,Le){var Re=It(c,w),a=It(m,w),d=Le.get(a);if(d){xe(c,w,d);return}var y=ke?ke(Re,a,w+"",c,m,Le):void 0,C=y===void 0;if(C){var M=rn(a),ne=!M&&nn(a),X=!M&&!ne&&Fn(a);y=a,M||ne||X?rn(Re)?y=Re:Mn(Re)?y=_a(Re):ne?(C=!1,y=Pn(a)):X?(C=!1,y=Dn(a)):y=[]:Ta(a)||Ir(a)?(y=Re,Ir(Re)?y=Bn(Re):(!Lt(Re)||an(Re))&&(y=Sa(a))):C=!1}C&&(Le.set(a,y),_e(y,a,Z,ke,Le),Le.delete(a)),xe(c,w,y)}function kn(c,m){return tn(ja(c,m,sn),c+"")}var Nn=wt?function(c,m){return wt(c,"toString",{configurable:!0,enumerable:!1,value:nr(m),writable:!0})}:sn;function Pn(c,m){return c.slice()}function An(c){var m=new c.constructor(c.byteLength);return new Nt(m).set(new Nt(c)),m}function Dn(c,m){var w=An(c.buffer);return new c.constructor(w,c.byteOffset,c.length)}function _a(c,m){var w=-1,Z=c.length;for(m||(m=Array(Z));++w<Z;)m[w]=c[w];return m}function wa(c,m,w,Z){var _e=!w;w||(w={});for(var ke=-1,Le=m.length;++ke<Le;){var Re=m[ke],a=void 0;a===void 0&&(a=c[Re]),_e?Pe(w,Re,a):Ve(w,Re,a)}return w}function Zr(c){return kn(function(m,w){var Z=-1,_e=w.length,ke=_e>1?w[_e-1]:void 0,Le=_e>2?w[2]:void 0;for(ke=c.length>3&&typeof ke=="function"?(_e--,ke):void 0,Le&&Ea(w[0],w[1],Le)&&(ke=_e<3?void 0:ke,_e=1),m=Object(m);++Z<_e;){var Re=w[Z];Re&&c(m,Re,Z,ke)}return m})}function Jr(c){return function(m,w,Z){for(var _e=-1,ke=Object(m),Le=Z(m),Re=Le.length;Re--;){var a=Le[++_e];if(w(ke[a],a,ke)===!1)break}return m}}function $t(c,m){var w=c.__data__;return Ca(m)?w[typeof m=="string"?"string":"hash"]:w.map}function yr(c,m){var w=nt(c,m);return Xr(w)?w:void 0}function Nr(c){var m=ce.call(c,tt),w=c[tt];try{c[tt]=void 0;var Z=!0}catch{}var _e=ze.call(c);return Z&&(m?c[tt]=w:delete c[tt]),_e}function Sa(c){return typeof c.constructor=="function"&&!en(c)?ft(_t(c)):{}}function Qr(c,m){var w=typeof c;return m=m??u,!!m&&(w=="number"||w!="symbol"&&g.test(c))&&c>-1&&c%1==0&&c<m}function Ea(c,m,w){if(!Lt(w))return!1;var Z=typeof m;return(Z=="number"?Lr(w)&&Qr(m,w.length):Z=="string"&&m in w)?Dr(w[m],c):!1}function Ca(c){var m=typeof c;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?c!=="__proto__":c===null}function Pr(c){return!!qe&&qe in c}function en(c){var m=c&&c.constructor,w=typeof m=="function"&&m.prototype||ue;return c===w}function In(c){var m=[];if(c!=null)for(var w in Object(c))m.push(w);return m}function Ar(c){return ze.call(c)}function ja(c,m,w){return m=Pt(m===void 0?c.length-1:m,0),function(){for(var Z=arguments,_e=-1,ke=Pt(Z.length-m,0),Le=Array(ke);++_e<ke;)Le[_e]=Z[m+_e];_e=-1;for(var Re=Array(m+1);++_e<m;)Re[_e]=Z[_e];return Re[m]=w(Le),ut(c,this,Re)}}function It(c,m){if(!(m==="constructor"&&typeof c[m]=="function")&&m!="__proto__")return c[m]}var tn=Ln(Nn);function Ln(c){var m=0,w=0;return function(){var Z=St(),_e=s-(Z-w);if(w=Z,_e>0){if(++m>=i)return arguments[0]}else m=0;return c.apply(void 0,arguments)}}function Ra(c){if(c!=null){try{return ye.call(c)}catch{}try{return c+""}catch{}}return""}function Dr(c,m){return c===m||c!==c&&m!==m}var Ir=rr(function(){return arguments}())?rr:function(c){return _r(c)&&ce.call(c,"callee")&&!mr.call(c,"callee")},rn=Array.isArray;function Lr(c){return c!=null&&on(c.length)&&!an(c)}function Mn(c){return _r(c)&&Lr(c)}var nn=pr||Vn;function an(c){if(!Lt(c))return!1;var m=mt(c);return m==R||m==k||m==p||m==U}function on(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=u}function Lt(c){var m=typeof c;return c!=null&&(m=="object"||m=="function")}function _r(c){return c!=null&&typeof c=="object"}function Ta(c){if(!_r(c)||mt(c)!=V)return!1;var m=_t(c);if(m===null)return!0;var w=ce.call(m,"constructor")&&m.constructor;return typeof w=="function"&&w instanceof w&&ye.call(w)==Ze}var Fn=bt?ct(bt):br;function Bn(c){return wa(c,wr(c))}function wr(c){return Lr(c)?se(c):Tn(c)}var Oa=Zr(function(c,m,w){qr(c,m,w)});function nr(c){return function(){return c}}function sn(c){return c}function Vn(){return!1}e.exports=Oa}(un,un.exports);var bs=un.exports;const Ua=Wn(bs),ys={[jt.Sm]:768,[jt.Md]:1024,[jt.Lg]:1400,[jt.Xl]:1920},Wa=Da(ys),_s=Ua({},Va,{theme:{screens:Wa,container:{center:!0,screens:Wa,padding:{DEFAULT:We(24),md:We(48),lg:We(120),xl:We(240)}}}}),ws=Da({default:0}),Ss=Ua({},Va,{theme:{screens:ws},corePlugins:{container:!1}});var Hn={exports:{}},Mr={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var $a;function Es(){if($a)return Mr;$a=1;var e=te,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(f,h,p){var _,x={},j=null,R=null;p!==void 0&&(j=""+p),h.key!==void 0&&(j=""+h.key),h.ref!==void 0&&(R=h.ref);for(_ in h)n.call(h,_)&&!s.hasOwnProperty(_)&&(x[_]=h[_]);if(f&&f.defaultProps)for(_ in h=f.defaultProps,h)x[_]===void 0&&(x[_]=h[_]);return{$$typeof:t,type:f,key:j,ref:R,props:x,_owner:i.current}}return Mr.Fragment=r,Mr.jsx=u,Mr.jsxs=u,Mr}var Fr={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,59 +14,59 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+ge+v}}var be=!1,pe;{var Me=typeof WeakMap=="function"?WeakMap:Map;pe=new Me}function
|
|
17
|
+
*/var Ha;function Cs(){return Ha||(Ha=1,process.env.NODE_ENV!=="production"&&function(){var e=te,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),k=Symbol.iterator,O="@@iterator";function A(v){if(v===null||typeof v!="object")return null;var l=k&&v[k]||v[O];return typeof l=="function"?l:null}var D=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function V(v){{for(var l=arguments.length,b=new Array(l>1?l-1:0),E=1;E<l;E++)b[E-1]=arguments[E];U("error",v,b)}}function U(v,l,b){{var E=D.ReactDebugCurrentFrame,F=E.getStackAddendum();F!==""&&(l+="%s",b=b.concat([F]));var J=b.map(function(K){return String(K)});J.unshift("Warning: "+l),Function.prototype.apply.call(console[v],console,J)}}var ee=!1,q=!1,Y=!1,W=!1,G=!1,de;de=Symbol.for("react.module.reference");function Ae(v){return!!(typeof v=="string"||typeof v=="function"||v===n||v===s||G||v===i||v===p||v===_||W||v===R||ee||q||Y||typeof v=="object"&&v!==null&&(v.$$typeof===j||v.$$typeof===x||v.$$typeof===u||v.$$typeof===f||v.$$typeof===h||v.$$typeof===de||v.getModuleId!==void 0))}function He(v,l,b){var E=v.displayName;if(E)return E;var F=l.displayName||l.name||"";return F!==""?b+"("+F+")":b}function Xe(v){return v.displayName||"Context"}function De(v){if(v==null)return null;if(typeof v.tag=="number"&&V("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case n:return"Fragment";case r:return"Portal";case s:return"Profiler";case i:return"StrictMode";case p:return"Suspense";case _:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case f:var l=v;return Xe(l)+".Consumer";case u:var b=v;return Xe(b._context)+".Provider";case h:return He(v,v.render,"ForwardRef");case x:var E=v.displayName||null;return E!==null?E:De(v.type)||"Memo";case j:{var F=v,J=F._payload,K=F._init;try{return De(K(J))}catch{return null}}}return null}var Oe=Object.assign,je=0,Q,B,ae,we,Te,Se,g;function T(){}T.__reactDisabledLog=!0;function oe(){{if(je===0){Q=console.log,B=console.info,ae=console.warn,we=console.error,Te=console.group,Se=console.groupCollapsed,g=console.groupEnd;var v={configurable:!0,enumerable:!0,value:T,writable:!0};Object.defineProperties(console,{info:v,log:v,warn:v,error:v,group:v,groupCollapsed:v,groupEnd:v})}je++}}function ve(){{if(je--,je===0){var v={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Oe({},v,{value:Q}),info:Oe({},v,{value:B}),warn:Oe({},v,{value:ae}),error:Oe({},v,{value:we}),group:Oe({},v,{value:Te}),groupCollapsed:Oe({},v,{value:Se}),groupEnd:Oe({},v,{value:g})})}je<0&&V("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var le=D.ReactCurrentDispatcher,ge;function me(v,l,b){{if(ge===void 0)try{throw Error()}catch(F){var E=F.stack.trim().match(/\n( *(at )?)/);ge=E&&E[1]||""}return`
|
|
18
|
+
`+ge+v}}var be=!1,pe;{var Me=typeof WeakMap=="function"?WeakMap:Map;pe=new Me}function bt(v,l){if(!v||be)return"";{var b=pe.get(v);if(b!==void 0)return b}var E;be=!0;var F=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var J;J=le.current,le.current=null,oe();try{if(l){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(Pe){E=Pe}Reflect.construct(v,[],K)}else{try{K.call()}catch(Pe){E=Pe}v.call(K.prototype)}}else{try{throw Error()}catch(Pe){E=Pe}v()}}catch(Pe){if(Pe&&E&&typeof Pe.stack=="string"){for(var H=Pe.stack.split(`
|
|
19
19
|
`),re=E.stack.split(`
|
|
20
|
-
`),he
|
|
21
|
-
|
|
20
|
+
`),he=H.length-1,se=re.length-1;he>=1&&se>=0&&H[he]!==re[se];)se--;for(;he>=1&&se>=0;he--,se--)if(H[he]!==re[se]){if(he!==1||se!==1)do if(he--,se--,se<0||H[he]!==re[se]){var xe=`
|
|
21
|
+
`+H[he].replace(" at new "," at ");return v.displayName&&xe.includes("<anonymous>")&&(xe=xe.replace("<anonymous>",v.displayName)),typeof v=="function"&&pe.set(v,xe),xe}while(he>=1&&se>=0);break}}}finally{be=!1,le.current=J,ve(),Error.prepareStackTrace=F}var Ve=v?v.displayName||v.name:"",Ye=Ve?me(Ve):"";return typeof v=="function"&&pe.set(v,Ye),Ye}function ut(v,l,b){return bt(v,!1)}function Vt(v){var l=v.prototype;return!!(l&&l.isReactComponent)}function ct(v,l,b){if(v==null)return"";if(typeof v=="function")return bt(v,Vt(v));if(typeof v=="string")return me(v);switch(v){case p:return me("Suspense");case _:return me("SuspenseList")}if(typeof v=="object")switch(v.$$typeof){case h:return ut(v.render);case x:return ct(v.type,l,b);case j:{var E=v,F=E._payload,J=E._init;try{return ct(J(F),l,b)}catch{}}}return""}var nt=Object.prototype.hasOwnProperty,$={},z=D.ReactDebugCurrentFrame;function ie(v){if(v){var l=v._owner,b=ct(v.type,v._source,l?l.type:null);z.setExtraStackFrame(b)}else z.setExtraStackFrame(null)}function ue(v,l,b,E,F){{var J=Function.call.bind(nt);for(var K in v)if(J(v,K)){var H=void 0;try{if(typeof v[K]!="function"){var re=Error((E||"React class")+": "+b+" type `"+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[K]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw re.name="Invariant Violation",re}H=v[K](l,K,E,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(he){H=he}H&&!(H instanceof Error)&&(ie(F),V("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",E||"React class",b,K,typeof H),ie(null)),H instanceof Error&&!(H.message in $)&&($[H.message]=!0,ie(F),V("Failed %s type: %s",b,H.message),ie(null))}}}var Ne=Array.isArray;function ye(v){return Ne(v)}function ce(v){{var l=typeof Symbol=="function"&&Symbol.toStringTag,b=l&&v[Symbol.toStringTag]||v.constructor.name||"Object";return b}}function qe(v){try{return ze(v),!1}catch{return!0}}function ze(v){return""+v}function Ze(v){if(qe(v))return V("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ce(v)),ze(v)}var ot=D.ReactCurrentOwner,yt={key:!0,ref:!0,__self:!0,__source:!0},Ut,Nt;function _t(v){if(nt.call(v,"ref")){var l=Object.getOwnPropertyDescriptor(v,"ref").get;if(l&&l.isReactWarning)return!1}return v.ref!==void 0}function Zt(v){if(nt.call(v,"key")){var l=Object.getOwnPropertyDescriptor(v,"key").get;if(l&&l.isReactWarning)return!1}return v.key!==void 0}function mr(v,l){typeof v.ref=="string"&&ot.current}function hr(v,l){{var b=function(){Ut||(Ut=!0,V("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",l))};b.isReactWarning=!0,Object.defineProperty(v,"key",{get:b,configurable:!0})}}function tt(v,l){{var b=function(){Nt||(Nt=!0,V("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",l))};b.isReactWarning=!0,Object.defineProperty(v,"ref",{get:b,configurable:!0})}}var wt=function(v,l,b,E,F,J,K){var H={$$typeof:t,type:v,key:l,ref:b,props:K,_owner:J};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:E}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function pr(v,l,b,E,F){{var J,K={},H=null,re=null;b!==void 0&&(Ze(b),H=""+b),Zt(l)&&(Ze(l.key),H=""+l.key),_t(l)&&(re=l.ref,mr(l,F));for(J in l)nt.call(l,J)&&!yt.hasOwnProperty(J)&&(K[J]=l[J]);if(v&&v.defaultProps){var he=v.defaultProps;for(J in he)K[J]===void 0&&(K[J]=he[J])}if(H||re){var se=typeof v=="function"?v.displayName||v.name||"Unknown":v;H&&hr(K,se),re&&tt(K,se)}return wt(v,H,re,F,E,ot.current,K)}}var Pt=D.ReactCurrentOwner,St=D.ReactDebugCurrentFrame;function st(v){if(v){var l=v._owner,b=ct(v.type,v._source,l?l.type:null);St.setExtraStackFrame(b)}else St.setExtraStackFrame(null)}var Je;Je=!1;function ft(v){return typeof v=="object"&&v!==null&&v.$$typeof===t}function Qe(){{if(Pt.current){var v=De(Pt.current.type);if(v)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+v+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+v+"`."}return""}}function Et(v){return""}var Jt={};function Qt(v){{var l=Qe();if(!l){var b=typeof v=="string"?v:v.displayName||v.name;b&&(l=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+
|
|
25
|
+
Check the top-level render call using <`+b+">.")}return l}}function er(v,l){{if(!v._store||v._store.validated||v.key!=null)return;v._store.validated=!0;var b=Qt(l);if(Jt[b])return;Jt[b]=!0;var E="";v&&v._owner&&v._owner!==Pt.current&&(E=" It was passed a child from "+De(v._owner.type)+"."),st(v),V('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',b,E),st(null)}}function Wt(v,l){{if(typeof v!="object")return;if(ye(v))for(var b=0;b<v.length;b++){var E=v[b];ft(E)&&er(E,l)}else if(ft(v))v._store&&(v._store.validated=!0);else if(v){var F=A(v);if(typeof F=="function"&&F!==v.entries)for(var J=F.call(v),K;!(K=J.next()).done;)ft(K.value)&&er(K.value,l)}}}function it(v){{var l=v.type;if(l==null||typeof l=="string")return;var b;if(typeof l=="function")b=l.propTypes;else if(typeof l=="object"&&(l.$$typeof===h||l.$$typeof===x))b=l.propTypes;else return;if(b){var E=De(l);ue(b,v.props,"prop",E,v)}else if(l.PropTypes!==void 0&&!Je){Je=!0;var F=De(l);V("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",F||"Unknown")}typeof l.getDefaultProps=="function"&&!l.getDefaultProps.isReactClassApproved&&V("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ct(v){{for(var l=Object.keys(v.props),b=0;b<l.length;b++){var E=l[b];if(E!=="children"&&E!=="key"){st(v),V("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",E),st(null);break}}v.ref!==null&&(st(v),V("Invalid attribute `ref` supplied to `React.Fragment`."),st(null))}}var At={};function Dt(v,l,b,E,F,J){{var K=Ae(v);if(!K){var H="";(v===void 0||typeof v=="object"&&v!==null&&Object.keys(v).length===0)&&(H+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var re=Et();re?H+=re:H+=Qe();var he;v===null?he="null":ye(v)?he="array":v!==void 0&&v.$$typeof===t?(he="<"+(De(v.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):he=typeof v,V("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",he,H)}var se=pr(v,l,b,F,J);if(se==null)return se;if(K){var xe=l.children;if(xe!==void 0)if(E)if(ye(xe)){for(var Ve=0;Ve<xe.length;Ve++)Wt(xe[Ve],v);Object.freeze&&Object.freeze(xe)}else V("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Wt(xe,v)}if(nt.call(l,"key")){var Ye=De(v),Pe=Object.keys(l).filter(function(rr){return rr!=="key"}),Ge=Pe.length>0?"{key: someKey, "+Pe.join(": ..., ")+": ...}":"{key: someKey}";if(!At[Ye+Ge]){var mt=Pe.length>0?"{"+Pe.join(": ..., ")+": ...}":"{}";V(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Ge,Ye,
|
|
30
|
+
<%s key={someKey} {...props} />`,Ge,Ye,mt,Ye),At[Ye+Ge]=!0}}return v===n?Ct(se):it(se),se}}function tr(v,l,b){return Dt(v,l,b,!0)}function gr(v,l,b){return Dt(v,l,b,!1)}var vt=gr,xr=tr;Fr.Fragment=n,Fr.jsx=vt,Fr.jsxs=xr}()),Fr}process.env.NODE_ENV==="production"?Hn.exports=Es():Hn.exports=Cs();var o=Hn.exports,Ga={exports:{}};/*!
|
|
31
31
|
Copyright (c) 2018 Jed Watson.
|
|
32
32
|
Licensed under the MIT License (MIT), see
|
|
33
33
|
http://jedwatson.github.io/classnames
|
|
34
|
-
*/(function(e){(function(){var r={}.hasOwnProperty;function t(){for(var s="",u=0;u<arguments.length;u++){var f=arguments[u];f&&(s=i(s,n(f)))}return s}function n(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return t.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var u="";for(var f in s)r.call(s,f)&&s[f]&&(u=i(u,f));return u}function i(s,u){return u?s?s+" "+u:s+u:s}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(Ha);var js=Ha.exports;const N=Wn(js);var $e=(e=>(e.Neutral="neutral",e.PrimarySolid="primary-solid",e.PrimarySoft="primary-fill",e.Success="success",e.Warning="warning",e.Error="error",e))($e||{});const Rs={[$e.PrimarySolid]:"bg-primary-30",[$e.Neutral]:"bg-neutral-92 dark:bg-neutral-12",[$e.PrimarySoft]:"bg-primary-90 dark:bg-primary-10",[$e.Success]:"bg-tertiary-90 dark:bg-tertiary-10",[$e.Warning]:"bg-warning-90 dark:bg-warning-20",[$e.Error]:"bg-error-90 dark:bg-error-10"},Ts={[$e.PrimarySolid]:"text-primary-100",[$e.Neutral]:"text-neutral-10 dark:text-neutral-92",[$e.PrimarySoft]:"text-primary-20 dark:text-primary-90",[$e.Success]:"text-tertiary-20 dark:text-tertiary-90",[$e.Warning]:"text-warning-10 dark:text-warning-90",[$e.Error]:"text-error-20 dark:text-error-90"},Os={[$e.PrimarySolid]:"border-primary-30",[$e.Neutral]:"border-neutral-92 dark:border-neutral-12",[$e.PrimarySoft]:"border-primary-90 dark:border-primary-10",[$e.Success]:"border-tertiary-90 dark:border-tertiary-10",[$e.Warning]:"border-warning-90 dark:border-warning-20",[$e.Error]:"border-error-90 dark:border-error-10"},ks="text-label-md";function un({type:e,label:r}){const t=Rs[e],n=Ts[e],i=Os[e],s=r?"px-xs py-xxs":"h-1.5 w-1.5";return o.jsx("div",{className:N("inline-flex items-center space-x-2 rounded-full border disabled:opacity-30",t,i,s),children:o.jsx("span",{className:N(ks,n),children:r})})}var er=(e=>(e.Small="small",e.Medium="medium",e))(er||{}),Ee=(e=>(e.Primary="primary",e.Secondary="secondary",e.Ghost="ghost",e.Outlined="outlined",e.Destructive="destructive",e))(Ee||{}),Bt=(e=>(e.Button="button",e.Submit="submit",e.Reset="reset",e))(Bt||{});const Ns={[er.Small]:"px-md py-xs",[er.Medium]:"px-md py-sm"},Ps={[er.Small]:"p-xs",[er.Medium]:"p-sm"},As={[Ee.Primary]:"bg-primary-30",[Ee.Secondary]:"bg-neutral-90 dark:bg-neutral-20",[Ee.Ghost]:"bg-transparent",[Ee.Outlined]:"bg-transparent border border-neutral-50",[Ee.Destructive]:"bg-error-90 dark:bg-error-20"},Ds={[Ee.Primary]:"bg-neutral-80 dark:bg-neutral-30",[Ee.Secondary]:"bg-neutral-90 dark:bg-neutral-20",[Ee.Ghost]:"bg-transparent",[Ee.Outlined]:"bg-transparent border border-neutral-50",[Ee.Destructive]:"bg-error-90 dark:bg-error-20"},nt="text-neutral-10 dark:text-neutral-92",Is={[Ee.Primary]:"text-primary-100",[Ee.Secondary]:nt,[Ee.Ghost]:nt,[Ee.Outlined]:nt,[Ee.Destructive]:"text-error-20 dark:text-error-90"},Ls={[er.Small]:"text-label-md",[er.Medium]:"text-label-lg"},Ms={[Ee.Primary]:nt,[Ee.Secondary]:nt,[Ee.Ghost]:nt,[Ee.Outlined]:nt,[Ee.Destructive]:"text-error-20 dark:text-error-90"};function dr({icon:e,text:r,disabled:t,onClick:n,fullWidth:i,htmlType:s=Bt.Button,size:u=er.Medium,type:f=Ee.Primary,iconAfterText:g=!1,tabIndex:h=0,testId:_}){const b=e&&!r?Ps[u]:Ns[u],j=Ls[u],R=t?Ds[f]:As[f],k=t?Ms[f]:Is[f];return o.jsxs("button",{onClick:n,type:s,className:N("state-layer relative flex items-center justify-center gap-2 rounded-full transition-all duration-150 ease-in disabled:cursor-not-allowed disabled:opacity-40",b,R,i&&"w-full",g?"flex-row-reverse":"flex-row"),disabled:t,tabIndex:h,"data-testid":_,children:[e&&o.jsx("span",{className:N(k),children:e}),r&&o.jsx("span",{className:N("font-inter",k,j),children:r})]})}function Fs({htmlType:e=Bt.Button,children:r,tabIndex:t=0,...n}){return o.jsx("button",{className:"flex items-center justify-center rounded-xl border border-neutral-70 px-sm text-body-md text-neutral-40 disabled:opacity-40 dark:border-neutral-40 dark:text-neutral-60",type:e,tabIndex:t,...n,children:r})}function ar({htmlType:e=Bt.Button,children:r,className:t,tabIndex:n=0,testId:i,...s}){return o.jsx("button",{type:e,...s,className:N("appearance-none",t),tabIndex:n,"data-testid":i,children:r})}var Bs=Object.create,Ga=Object.defineProperty,Vs=Object.getOwnPropertyDescriptor,Ya=Object.getOwnPropertyNames,Us=Object.getPrototypeOf,Ws=Object.prototype.hasOwnProperty,wt=(e,r)=>function(){return r||(0,e[Ya(e)[0]])((r={exports:{}}).exports,r),r.exports},$s=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Ya(r))!Ws.call(e,i)&&i!==t&&Ga(e,i,{get:()=>r[i],enumerable:!(n=Vs(r,i))||n.enumerable});return e},I=(e,r,t)=>(t=e!=null?Bs(Us(e)):{},$s(!e||!e.__esModule?Ga(t,"default",{value:e,enumerable:!0}):t,e)),Hs=wt({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js"(e){var r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),_=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),j=Symbol.iterator;function R(p){return p===null||typeof p!="object"?null:(p=j&&p[j]||p["@@iterator"],typeof p=="function"?p:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,A={};function D(p,T,ie){this.props=p,this.context=T,this.refs=A,this.updater=ie||k}D.prototype.isReactComponent={},D.prototype.setState=function(p,T){if(typeof p!="object"&&typeof p!="function"&&p!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,p,T,"setState")},D.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};function H(){}H.prototype=D.prototype;function G(p,T,ie){this.props=p,this.context=T,this.refs=A,this.updater=ie||k}var ee=G.prototype=new H;ee.constructor=G,O(ee,D.prototype),ee.isPureReactComponent=!0;var Y=Array.isArray,se=Object.prototype.hasOwnProperty,U={current:null},M={key:!0,ref:!0,__self:!0,__source:!0};function le(p,T,ie){var ve,ue={},ge=null,me=null;if(T!=null)for(ve in T.ref!==void 0&&(me=T.ref),T.key!==void 0&&(ge=""+T.key),T)se.call(T,ve)&&!M.hasOwnProperty(ve)&&(ue[ve]=T[ve]);var be=arguments.length-2;if(be===1)ue.children=ie;else if(1<be){for(var pe=Array(be),Me=0;Me<be;Me++)pe[Me]=arguments[Me+2];ue.children=pe}if(p&&p.defaultProps)for(ve in be=p.defaultProps,be)ue[ve]===void 0&&(ue[ve]=be[ve]);return{$$typeof:r,type:p,key:ge,ref:me,props:ue,_owner:U.current}}function ke(p,T){return{$$typeof:r,type:p.type,key:T,ref:p.ref,props:p.props,_owner:p._owner}}function He(p){return typeof p=="object"&&p!==null&&p.$$typeof===r}function Xe(p){var T={"=":"=0",":":"=2"};return"$"+p.replace(/[=:]/g,function(ie){return T[ie]})}var De=/\/+/g;function Oe(p,T){return typeof p=="object"&&p!==null&&p.key!=null?Xe(""+p.key):T.toString(36)}function je(p,T,ie,ve,ue){var ge=typeof p;(ge==="undefined"||ge==="boolean")&&(p=null);var me=!1;if(p===null)me=!0;else switch(ge){case"string":case"number":me=!0;break;case"object":switch(p.$$typeof){case r:case t:me=!0}}if(me)return me=p,ue=ue(me),p=ve===""?"."+Oe(me,0):ve,Y(ue)?(ie="",p!=null&&(ie=p.replace(De,"$&/")+"/"),je(ue,T,ie,"",function(Me){return Me})):ue!=null&&(He(ue)&&(ue=ke(ue,ie+(!ue.key||me&&me.key===ue.key?"":(""+ue.key).replace(De,"$&/")+"/")+p)),T.push(ue)),1;if(me=0,ve=ve===""?".":ve+":",Y(p))for(var be=0;be<p.length;be++){ge=p[be];var pe=ve+Oe(ge,be);me+=je(ge,T,ie,pe,ue)}else if(pe=R(p),typeof pe=="function")for(p=pe.call(p),be=0;!(ge=p.next()).done;)ge=ge.value,pe=ve+Oe(ge,be++),me+=je(ge,T,ie,pe,ue);else if(ge==="object")throw T=String(p),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.");return me}function J(p,T,ie){if(p==null)return p;var ve=[],ue=0;return je(p,ve,"","",function(ge){return T.call(ie,ge,ue++)}),ve}function V(p){if(p._status===-1){var T=p._result;T=T(),T.then(function(ie){(p._status===0||p._status===-1)&&(p._status=1,p._result=ie)},function(ie){(p._status===0||p._status===-1)&&(p._status=2,p._result=ie)}),p._status===-1&&(p._status=0,p._result=T)}if(p._status===1)return p._result.default;throw p._result}var ne={current:null},we={transition:null},Te={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:we,ReactCurrentOwner:U};function Se(){throw Error("act(...) is not supported in production builds of React.")}e.Children={map:J,forEach:function(p,T,ie){J(p,function(){T.apply(this,arguments)},ie)},count:function(p){var T=0;return J(p,function(){T++}),T},toArray:function(p){return J(p,function(T){return T})||[]},only:function(p){if(!He(p))throw Error("React.Children.only expected to receive a single React element child.");return p}},e.Component=D,e.Fragment=n,e.Profiler=s,e.PureComponent=G,e.StrictMode=i,e.Suspense=h,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Te,e.act=Se,e.cloneElement=function(p,T,ie){if(p==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+p+".");var ve=O({},p.props),ue=p.key,ge=p.ref,me=p._owner;if(T!=null){if(T.ref!==void 0&&(ge=T.ref,me=U.current),T.key!==void 0&&(ue=""+T.key),p.type&&p.type.defaultProps)var be=p.type.defaultProps;for(pe in T)se.call(T,pe)&&!M.hasOwnProperty(pe)&&(ve[pe]=T[pe]===void 0&&be!==void 0?be[pe]:T[pe])}var pe=arguments.length-2;if(pe===1)ve.children=ie;else if(1<pe){be=Array(pe);for(var Me=0;Me<pe;Me++)be[Me]=arguments[Me+2];ve.children=be}return{$$typeof:r,type:p.type,key:ue,ref:ge,props:ve,_owner:me}},e.createContext=function(p){return p={$$typeof:f,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},p.Provider={$$typeof:u,_context:p},p.Consumer=p},e.createElement=le,e.createFactory=function(p){var T=le.bind(null,p);return T.type=p,T},e.createRef=function(){return{current:null}},e.forwardRef=function(p){return{$$typeof:g,render:p}},e.isValidElement=He,e.lazy=function(p){return{$$typeof:b,_payload:{_status:-1,_result:p},_init:V}},e.memo=function(p,T){return{$$typeof:_,type:p,compare:T===void 0?null:T}},e.startTransition=function(p){var T=we.transition;we.transition={};try{p()}finally{we.transition=T}},e.unstable_act=Se,e.useCallback=function(p,T){return ne.current.useCallback(p,T)},e.useContext=function(p){return ne.current.useContext(p)},e.useDebugValue=function(){},e.useDeferredValue=function(p){return ne.current.useDeferredValue(p)},e.useEffect=function(p,T){return ne.current.useEffect(p,T)},e.useId=function(){return ne.current.useId()},e.useImperativeHandle=function(p,T,ie){return ne.current.useImperativeHandle(p,T,ie)},e.useInsertionEffect=function(p,T){return ne.current.useInsertionEffect(p,T)},e.useLayoutEffect=function(p,T){return ne.current.useLayoutEffect(p,T)},e.useMemo=function(p,T){return ne.current.useMemo(p,T)},e.useReducer=function(p,T,ie){return ne.current.useReducer(p,T,ie)},e.useRef=function(p){return ne.current.useRef(p)},e.useState=function(p){return ne.current.useState(p)},e.useSyncExternalStore=function(p,T,ie){return ne.current.useSyncExternalStore(p,T,ie)},e.useTransition=function(){return ne.current.useTransition()},e.version="18.3.1"}}),Gs=wt({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js"(e,r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t="18.3.1",n=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),A=Symbol.iterator,D="@@iterator";function H(a){if(a===null||typeof a!="object")return null;var d=A&&a[A]||a[D];return typeof d=="function"?d:null}var G={current:null},ee={transition:null},Y={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},se={current:null},U={},M=null;function le(a){M=a}U.setExtraStackFrame=function(a){M=a},U.getCurrentStack=null,U.getStackAddendum=function(){var a="";M&&(a+=M);var d=U.getCurrentStack;return d&&(a+=d()||""),a};var ke=!1,He=!1,Xe=!1,De=!1,Oe=!1,je={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:ee,ReactCurrentOwner:se};je.ReactDebugCurrentFrame=U,je.ReactCurrentActQueue=Y;function J(a){{for(var d=arguments.length,y=new Array(d>1?d-1:0),C=1;C<d;C++)y[C-1]=arguments[C];ne("warn",a,y)}}function V(a){{for(var d=arguments.length,y=new Array(d>1?d-1:0),C=1;C<d;C++)y[C-1]=arguments[C];ne("error",a,y)}}function ne(a,d,y){{var C=je.ReactDebugCurrentFrame,F=C.getStackAddendum();F!==""&&(d+="%s",y=y.concat([F]));var te=y.map(function(X){return String(X)});te.unshift("Warning: "+d),Function.prototype.apply.call(console[a],console,te)}}var we={};function Te(a,d){{var y=a.constructor,C=y&&(y.displayName||y.name)||"ReactClass",F=C+"."+d;if(we[F])return;V("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",d,C),we[F]=!0}}var Se={isMounted:function(a){return!1},enqueueForceUpdate:function(a,d,y){Te(a,"forceUpdate")},enqueueReplaceState:function(a,d,y,C){Te(a,"replaceState")},enqueueSetState:function(a,d,y,C){Te(a,"setState")}},p=Object.assign,T={};Object.freeze(T);function ie(a,d,y){this.props=a,this.context=d,this.refs=T,this.updater=y||Se}ie.prototype.isReactComponent={},ie.prototype.setState=function(a,d){if(typeof a!="object"&&typeof a!="function"&&a!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,d,"setState")},ie.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var ve={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},ue=function(a,d){Object.defineProperty(ie.prototype,a,{get:function(){J("%s(...) is deprecated in plain JavaScript React classes. %s",d[0],d[1])}})};for(var ge in ve)ve.hasOwnProperty(ge)&&ue(ge,ve[ge])}function me(){}me.prototype=ie.prototype;function be(a,d,y){this.props=a,this.context=d,this.refs=T,this.updater=y||Se}var pe=be.prototype=new me;pe.constructor=be,p(pe,ie.prototype),pe.isPureReactComponent=!0;function Me(){var a={current:null};return Object.seal(a),a}var br=Array.isArray;function ur(a){return br(a)}function Vr(a){{var d=typeof Symbol=="function"&&Symbol.toStringTag,y=d&&a[Symbol.toStringTag]||a.constructor.name||"Object";return y}}function cr(a){try{return tr(a),!1}catch{return!0}}function tr(a){return""+a}function W(a){if(cr(a))return V("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Vr(a)),tr(a)}function z(a,d,y){var C=a.displayName;if(C)return C;var F=d.displayName||d.name||"";return F!==""?y+"("+F+")":y}function ae(a){return a.displayName||"Context"}function ce(a){if(a==null)return null;if(typeof a.tag=="number"&&V("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case i:return"Portal";case f:return"Profiler";case u:return"StrictMode";case b:return"Suspense";case j:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case h:var d=a;return ae(d)+".Consumer";case g:var y=a;return ae(y._context)+".Provider";case _:return z(a,a.render,"ForwardRef");case R:var C=a.displayName||null;return C!==null?C:ce(a.type)||"Memo";case k:{var F=a,te=F._payload,X=F._init;try{return ce(X(te))}catch{return null}}}return null}var Pe=Object.prototype.hasOwnProperty,ye={key:!0,ref:!0,__self:!0,__source:!0},fe,qe,ze;ze={};function Ze(a){if(Pe.call(a,"ref")){var d=Object.getOwnPropertyDescriptor(a,"ref").get;if(d&&d.isReactWarning)return!1}return a.ref!==void 0}function or(a){if(Pe.call(a,"key")){var d=Object.getOwnPropertyDescriptor(a,"key").get;if(d&&d.isReactWarning)return!1}return a.key!==void 0}function yr(a,d){var y=function(){fe||(fe=!0,V("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};y.isReactWarning=!0,Object.defineProperty(a,"key",{get:y,configurable:!0})}function Ur(a,d){var y=function(){qe||(qe=!0,V("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};y.isReactWarning=!0,Object.defineProperty(a,"ref",{get:y,configurable:!0})}function Nr(a){if(typeof a.ref=="string"&&se.current&&a.__self&&se.current.stateNode!==a.__self){var d=ce(se.current.type);ze[d]||(V('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',d,a.ref),ze[d]=!0)}}var _r=function(a,d,y,C,F,te,X){var de={$$typeof:n,type:a,key:d,ref:y,props:X,_owner:te};return de._store={},Object.defineProperty(de._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(de,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(de,"_source",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.freeze&&(Object.freeze(de.props),Object.freeze(de)),de};function qr(a,d,y){var C,F={},te=null,X=null,de=null,Ce=null;if(d!=null){Ze(d)&&(X=d.ref,Nr(d)),or(d)&&(W(d.key),te=""+d.key),de=d.__self===void 0?null:d.__self,Ce=d.__source===void 0?null:d.__source;for(C in d)Pe.call(d,C)&&!ye.hasOwnProperty(C)&&(F[C]=d[C])}var Ie=arguments.length-2;if(Ie===1)F.children=y;else if(Ie>1){for(var Fe=Array(Ie),Be=0;Be<Ie;Be++)Fe[Be]=arguments[Be+2];Object.freeze&&Object.freeze(Fe),F.children=Fe}if(a&&a.defaultProps){var Ue=a.defaultProps;for(C in Ue)F[C]===void 0&&(F[C]=Ue[C])}if(te||X){var Ke=typeof a=="function"?a.displayName||a.name||"Unknown":a;te&&yr(F,Ke),X&&Ur(F,Ke)}return _r(a,te,X,de,Ce,se.current,F)}function vt(a,d){var y=_r(a.type,d,a.ref,a._self,a._source,a._owner,a.props);return y}function mt(a,d,y){if(a==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var C,F=p({},a.props),te=a.key,X=a.ref,de=a._self,Ce=a._source,Ie=a._owner;if(d!=null){Ze(d)&&(X=d.ref,Ie=se.current),or(d)&&(W(d.key),te=""+d.key);var Fe;a.type&&a.type.defaultProps&&(Fe=a.type.defaultProps);for(C in d)Pe.call(d,C)&&!ye.hasOwnProperty(C)&&(d[C]===void 0&&Fe!==void 0?F[C]=Fe[C]:F[C]=d[C])}var Be=arguments.length-2;if(Be===1)F.children=y;else if(Be>1){for(var Ue=Array(Be),Ke=0;Ke<Be;Ke++)Ue[Ke]=arguments[Ke+2];F.children=Ue}return _r(a.type,te,X,de,Ce,Ie,F)}function rr(a){return typeof a=="object"&&a!==null&&a.$$typeof===n}var wr=".",ht=":";function Pr(a){var d=/[=:]/g,y={"=":"=0",":":"=2"},C=a.replace(d,function(F){return y[F]});return"$"+C}var Sr=!1,sr=/\/+/g;function Je(a){return a.replace(sr,"$&/")}function fr(a,d){return typeof a=="object"&&a!==null&&a.key!=null?(W(a.key),Pr(""+a.key)):d.toString(36)}function Qe(a,d,y,C,F){var te=typeof a;(te==="undefined"||te==="boolean")&&(a=null);var X=!1;if(a===null)X=!0;else switch(te){case"string":case"number":X=!0;break;case"object":switch(a.$$typeof){case n:case i:X=!0}}if(X){var de=a,Ce=F(de),Ie=C===""?wr+fr(de,0):C;if(ur(Ce)){var Fe="";Ie!=null&&(Fe=Je(Ie)+"/"),Qe(Ce,d,Fe,"",function(gd){return gd})}else Ce!=null&&(rr(Ce)&&(Ce.key&&(!de||de.key!==Ce.key)&&W(Ce.key),Ce=vt(Ce,y+(Ce.key&&(!de||de.key!==Ce.key)?Je(""+Ce.key)+"/":"")+Ie)),d.push(Ce));return 1}var Be,Ue,Ke=0,nr=C===""?wr:C+ht;if(ur(a))for(var Un=0;Un<a.length;Un++)Be=a[Un],Ue=nr+fr(Be,Un),Ke+=Qe(Be,d,y,Ue,F);else{var Oa=H(a);if(typeof Oa=="function"){var ss=a;Oa===ss.entries&&(Sr||J("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Sr=!0);for(var hd=Oa.call(ss),ls,pd=0;!(ls=hd.next()).done;)Be=ls.value,Ue=nr+fr(Be,pd++),Ke+=Qe(Be,d,y,Ue,F)}else if(te==="object"){var us=String(a);throw new Error("Objects are not valid as a React child (found: "+(us==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":us)+"). If you meant to render a collection of children, use an array instead.")}}return Ke}function Er(a,d,y){if(a==null)return a;var C=[],F=0;return Qe(a,C,"","",function(te){return d.call(y,te,F++)}),C}function Zr(a){var d=0;return Er(a,function(){d++}),d}function Jr(a,d,y){Er(a,function(){d.apply(this,arguments)},y)}function Qr(a){return Er(a,function(d){return d})||[]}function Wr(a){if(!rr(a))throw new Error("React.Children.only expected to receive a single React element child.");return a}function ir(a){var d={$$typeof:h,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};d.Provider={$$typeof:g,_context:d};var y=!1,C=!1,F=!1;{var te={$$typeof:h,_context:d};Object.defineProperties(te,{Provider:{get:function(){return C||(C=!0,V("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),d.Provider},set:function(X){d.Provider=X}},_currentValue:{get:function(){return d._currentValue},set:function(X){d._currentValue=X}},_currentValue2:{get:function(){return d._currentValue2},set:function(X){d._currentValue2=X}},_threadCount:{get:function(){return d._threadCount},set:function(X){d._threadCount=X}},Consumer:{get:function(){return y||(y=!0,V("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),d.Consumer}},displayName:{get:function(){return d.displayName},set:function(X){F||(J("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",X),F=!0)}}}),d.Consumer=te}return d._currentRenderer=null,d._currentRenderer2=null,d}var Cr=-1,Ar=0,Dr=1,et=2;function pt(a){if(a._status===Cr){var d=a._result,y=d();if(y.then(function(te){if(a._status===Ar||a._status===Cr){var X=a;X._status=Dr,X._result=te}},function(te){if(a._status===Ar||a._status===Cr){var X=a;X._status=et,X._result=te}}),a._status===Cr){var C=a;C._status=Ar,C._result=y}}if(a._status===Dr){var F=a._result;return F===void 0&&V(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
34
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",u=0;u<arguments.length;u++){var f=arguments[u];f&&(s=i(s,n(f)))}return s}function n(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var u="";for(var f in s)t.call(s,f)&&s[f]&&(u=i(u,f));return u}function i(s,u){return u?s?s+" "+u:s+u:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Ga);var js=Ga.exports;const N=Wn(js);var $e=(e=>(e.Neutral="neutral",e.PrimarySolid="primary-solid",e.PrimarySoft="primary-fill",e.Success="success",e.Warning="warning",e.Error="error",e))($e||{});const Rs={[$e.PrimarySolid]:"bg-primary-30",[$e.Neutral]:"bg-neutral-92 dark:bg-neutral-12",[$e.PrimarySoft]:"bg-primary-90 dark:bg-primary-10",[$e.Success]:"bg-tertiary-90 dark:bg-tertiary-10",[$e.Warning]:"bg-warning-90 dark:bg-warning-20",[$e.Error]:"bg-error-90 dark:bg-error-10"},Ts={[$e.PrimarySolid]:"text-primary-100",[$e.Neutral]:"text-neutral-10 dark:text-neutral-92",[$e.PrimarySoft]:"text-primary-20 dark:text-primary-90",[$e.Success]:"text-tertiary-20 dark:text-tertiary-90",[$e.Warning]:"text-warning-10 dark:text-warning-90",[$e.Error]:"text-error-20 dark:text-error-90"},Os={[$e.PrimarySolid]:"border-primary-30",[$e.Neutral]:"border-neutral-92 dark:border-neutral-12",[$e.PrimarySoft]:"border-primary-90 dark:border-primary-10",[$e.Success]:"border-tertiary-90 dark:border-tertiary-10",[$e.Warning]:"border-warning-90 dark:border-warning-20",[$e.Error]:"border-error-90 dark:border-error-10"},ks="text-label-md";function Br({type:e,label:t}){const r=Rs[e],n=Ts[e],i=Os[e],s=t?"px-xs py-xxs":"h-1.5 w-1.5";return o.jsx("div",{className:N("inline-flex items-center space-x-2 rounded-full border disabled:opacity-30",r,i,s),children:o.jsx("span",{className:N(ks,n),children:t})})}var et=(e=>(e.Small="small",e.Medium="medium",e))(et||{}),Ee=(e=>(e.Primary="primary",e.Secondary="secondary",e.Ghost="ghost",e.Outlined="outlined",e.Destructive="destructive",e))(Ee||{}),Vr=(e=>(e.Button="button",e.Submit="submit",e.Reset="reset",e))(Vr||{});const Ns={[et.Small]:"px-md py-xs",[et.Medium]:"px-md py-sm"},Ps={[et.Small]:"p-xs",[et.Medium]:"p-sm"},As={[Ee.Primary]:"bg-primary-30",[Ee.Secondary]:"bg-neutral-90 dark:bg-neutral-20",[Ee.Ghost]:"bg-transparent",[Ee.Outlined]:"bg-transparent border border-neutral-50",[Ee.Destructive]:"bg-error-90 dark:bg-error-20"},Ds={[Ee.Primary]:"bg-neutral-80 dark:bg-neutral-30",[Ee.Secondary]:"bg-neutral-90 dark:bg-neutral-20",[Ee.Ghost]:"bg-transparent",[Ee.Outlined]:"bg-transparent border border-neutral-50",[Ee.Destructive]:"bg-error-90 dark:bg-error-20"},ar="text-neutral-10 dark:text-neutral-92",Is={[Ee.Primary]:"text-primary-100",[Ee.Secondary]:ar,[Ee.Ghost]:ar,[Ee.Outlined]:ar,[Ee.Destructive]:"text-error-20 dark:text-error-90"},Ls={[et.Small]:"text-label-md",[et.Medium]:"text-label-lg"},Ms={[Ee.Primary]:ar,[Ee.Secondary]:ar,[Ee.Ghost]:ar,[Ee.Outlined]:ar,[Ee.Destructive]:"text-error-20 dark:text-error-90"};function dt({icon:e,text:t,disabled:r,onClick:n,fullWidth:i,htmlType:s=Vr.Button,size:u=et.Medium,type:f=Ee.Primary,iconAfterText:h=!1,tabIndex:p=0,testId:_}){const x=e&&!t?Ps[u]:Ns[u],j=Ls[u],R=r?Ds[f]:As[f],k=r?Ms[f]:Is[f];return o.jsxs("button",{onClick:n,type:s,className:N("state-layer relative flex items-center justify-center gap-2 rounded-full transition-all duration-150 ease-in disabled:cursor-not-allowed disabled:opacity-40",x,R,i&&"w-full",h?"flex-row-reverse":"flex-row"),disabled:r,tabIndex:p,"data-testid":_,children:[e&&o.jsx("span",{className:N(k),children:e}),t&&o.jsx("span",{className:N("font-inter",k,j),children:t})]})}function Fs({htmlType:e=Vr.Button,children:t,tabIndex:r=0,...n}){return o.jsx("button",{className:"flex items-center justify-center rounded-xl border border-neutral-70 px-sm text-body-md text-neutral-40 disabled:opacity-40 dark:border-neutral-40 dark:text-neutral-60",type:e,tabIndex:r,...n,children:t})}function rt({htmlType:e=Vr.Button,children:t,className:r,tabIndex:n=0,testId:i,...s}){return o.jsx("button",{type:e,...s,className:N("appearance-none",r),tabIndex:n,"data-testid":i,children:t})}var Bs=Object.create,Ya=Object.defineProperty,Vs=Object.getOwnPropertyDescriptor,za=Object.getOwnPropertyNames,Us=Object.getPrototypeOf,Ws=Object.prototype.hasOwnProperty,Sr=(e,t)=>function(){return t||(0,e[za(e)[0]])((t={exports:{}}).exports,t),t.exports},$s=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of za(t))!Ws.call(e,i)&&i!==r&&Ya(e,i,{get:()=>t[i],enumerable:!(n=Vs(t,i))||n.enumerable});return e},I=(e,t,r)=>(r=e!=null?Bs(Us(e)):{},$s(!e||!e.__esModule?Ya(r,"default",{value:e,enumerable:!0}):r,e)),Hs=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js"(e){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),_=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),j=Symbol.iterator;function R(g){return g===null||typeof g!="object"?null:(g=j&&g[j]||g["@@iterator"],typeof g=="function"?g:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,A={};function D(g,T,oe){this.props=g,this.context=T,this.refs=A,this.updater=oe||k}D.prototype.isReactComponent={},D.prototype.setState=function(g,T){if(typeof g!="object"&&typeof g!="function"&&g!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,g,T,"setState")},D.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function V(){}V.prototype=D.prototype;function U(g,T,oe){this.props=g,this.context=T,this.refs=A,this.updater=oe||k}var ee=U.prototype=new V;ee.constructor=U,O(ee,D.prototype),ee.isPureReactComponent=!0;var q=Array.isArray,Y=Object.prototype.hasOwnProperty,W={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function de(g,T,oe){var ve,le={},ge=null,me=null;if(T!=null)for(ve in T.ref!==void 0&&(me=T.ref),T.key!==void 0&&(ge=""+T.key),T)Y.call(T,ve)&&!G.hasOwnProperty(ve)&&(le[ve]=T[ve]);var be=arguments.length-2;if(be===1)le.children=oe;else if(1<be){for(var pe=Array(be),Me=0;Me<be;Me++)pe[Me]=arguments[Me+2];le.children=pe}if(g&&g.defaultProps)for(ve in be=g.defaultProps,be)le[ve]===void 0&&(le[ve]=be[ve]);return{$$typeof:t,type:g,key:ge,ref:me,props:le,_owner:W.current}}function Ae(g,T){return{$$typeof:t,type:g.type,key:T,ref:g.ref,props:g.props,_owner:g._owner}}function He(g){return typeof g=="object"&&g!==null&&g.$$typeof===t}function Xe(g){var T={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(oe){return T[oe]})}var De=/\/+/g;function Oe(g,T){return typeof g=="object"&&g!==null&&g.key!=null?Xe(""+g.key):T.toString(36)}function je(g,T,oe,ve,le){var ge=typeof g;(ge==="undefined"||ge==="boolean")&&(g=null);var me=!1;if(g===null)me=!0;else switch(ge){case"string":case"number":me=!0;break;case"object":switch(g.$$typeof){case t:case r:me=!0}}if(me)return me=g,le=le(me),g=ve===""?"."+Oe(me,0):ve,q(le)?(oe="",g!=null&&(oe=g.replace(De,"$&/")+"/"),je(le,T,oe,"",function(Me){return Me})):le!=null&&(He(le)&&(le=Ae(le,oe+(!le.key||me&&me.key===le.key?"":(""+le.key).replace(De,"$&/")+"/")+g)),T.push(le)),1;if(me=0,ve=ve===""?".":ve+":",q(g))for(var be=0;be<g.length;be++){ge=g[be];var pe=ve+Oe(ge,be);me+=je(ge,T,oe,pe,le)}else if(pe=R(g),typeof pe=="function")for(g=pe.call(g),be=0;!(ge=g.next()).done;)ge=ge.value,pe=ve+Oe(ge,be++),me+=je(ge,T,oe,pe,le);else if(ge==="object")throw T=String(g),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.");return me}function Q(g,T,oe){if(g==null)return g;var ve=[],le=0;return je(g,ve,"","",function(ge){return T.call(oe,ge,le++)}),ve}function B(g){if(g._status===-1){var T=g._result;T=T(),T.then(function(oe){(g._status===0||g._status===-1)&&(g._status=1,g._result=oe)},function(oe){(g._status===0||g._status===-1)&&(g._status=2,g._result=oe)}),g._status===-1&&(g._status=0,g._result=T)}if(g._status===1)return g._result.default;throw g._result}var ae={current:null},we={transition:null},Te={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:we,ReactCurrentOwner:W};function Se(){throw Error("act(...) is not supported in production builds of React.")}e.Children={map:Q,forEach:function(g,T,oe){Q(g,function(){T.apply(this,arguments)},oe)},count:function(g){var T=0;return Q(g,function(){T++}),T},toArray:function(g){return Q(g,function(T){return T})||[]},only:function(g){if(!He(g))throw Error("React.Children.only expected to receive a single React element child.");return g}},e.Component=D,e.Fragment=n,e.Profiler=s,e.PureComponent=U,e.StrictMode=i,e.Suspense=p,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Te,e.act=Se,e.cloneElement=function(g,T,oe){if(g==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+g+".");var ve=O({},g.props),le=g.key,ge=g.ref,me=g._owner;if(T!=null){if(T.ref!==void 0&&(ge=T.ref,me=W.current),T.key!==void 0&&(le=""+T.key),g.type&&g.type.defaultProps)var be=g.type.defaultProps;for(pe in T)Y.call(T,pe)&&!G.hasOwnProperty(pe)&&(ve[pe]=T[pe]===void 0&&be!==void 0?be[pe]:T[pe])}var pe=arguments.length-2;if(pe===1)ve.children=oe;else if(1<pe){be=Array(pe);for(var Me=0;Me<pe;Me++)be[Me]=arguments[Me+2];ve.children=be}return{$$typeof:t,type:g.type,key:le,ref:ge,props:ve,_owner:me}},e.createContext=function(g){return g={$$typeof:f,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},g.Provider={$$typeof:u,_context:g},g.Consumer=g},e.createElement=de,e.createFactory=function(g){var T=de.bind(null,g);return T.type=g,T},e.createRef=function(){return{current:null}},e.forwardRef=function(g){return{$$typeof:h,render:g}},e.isValidElement=He,e.lazy=function(g){return{$$typeof:x,_payload:{_status:-1,_result:g},_init:B}},e.memo=function(g,T){return{$$typeof:_,type:g,compare:T===void 0?null:T}},e.startTransition=function(g){var T=we.transition;we.transition={};try{g()}finally{we.transition=T}},e.unstable_act=Se,e.useCallback=function(g,T){return ae.current.useCallback(g,T)},e.useContext=function(g){return ae.current.useContext(g)},e.useDebugValue=function(){},e.useDeferredValue=function(g){return ae.current.useDeferredValue(g)},e.useEffect=function(g,T){return ae.current.useEffect(g,T)},e.useId=function(){return ae.current.useId()},e.useImperativeHandle=function(g,T,oe){return ae.current.useImperativeHandle(g,T,oe)},e.useInsertionEffect=function(g,T){return ae.current.useInsertionEffect(g,T)},e.useLayoutEffect=function(g,T){return ae.current.useLayoutEffect(g,T)},e.useMemo=function(g,T){return ae.current.useMemo(g,T)},e.useReducer=function(g,T,oe){return ae.current.useReducer(g,T,oe)},e.useRef=function(g){return ae.current.useRef(g)},e.useState=function(g){return ae.current.useState(g)},e.useSyncExternalStore=function(g,T,oe){return ae.current.useSyncExternalStore(g,T,oe)},e.useTransition=function(){return ae.current.useTransition()},e.version="18.3.1"}}),Gs=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js"(e,t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",n=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),p=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),A=Symbol.iterator,D="@@iterator";function V(a){if(a===null||typeof a!="object")return null;var d=A&&a[A]||a[D];return typeof d=="function"?d:null}var U={current:null},ee={transition:null},q={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Y={current:null},W={},G=null;function de(a){G=a}W.setExtraStackFrame=function(a){G=a},W.getCurrentStack=null,W.getStackAddendum=function(){var a="";G&&(a+=G);var d=W.getCurrentStack;return d&&(a+=d()||""),a};var Ae=!1,He=!1,Xe=!1,De=!1,Oe=!1,je={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:ee,ReactCurrentOwner:Y};je.ReactDebugCurrentFrame=W,je.ReactCurrentActQueue=q;function Q(a){{for(var d=arguments.length,y=new Array(d>1?d-1:0),C=1;C<d;C++)y[C-1]=arguments[C];ae("warn",a,y)}}function B(a){{for(var d=arguments.length,y=new Array(d>1?d-1:0),C=1;C<d;C++)y[C-1]=arguments[C];ae("error",a,y)}}function ae(a,d,y){{var C=je.ReactDebugCurrentFrame,M=C.getStackAddendum();M!==""&&(d+="%s",y=y.concat([M]));var ne=y.map(function(X){return String(X)});ne.unshift("Warning: "+d),Function.prototype.apply.call(console[a],console,ne)}}var we={};function Te(a,d){{var y=a.constructor,C=y&&(y.displayName||y.name)||"ReactClass",M=C+"."+d;if(we[M])return;B("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",d,C),we[M]=!0}}var Se={isMounted:function(a){return!1},enqueueForceUpdate:function(a,d,y){Te(a,"forceUpdate")},enqueueReplaceState:function(a,d,y,C){Te(a,"replaceState")},enqueueSetState:function(a,d,y,C){Te(a,"setState")}},g=Object.assign,T={};Object.freeze(T);function oe(a,d,y){this.props=a,this.context=d,this.refs=T,this.updater=y||Se}oe.prototype.isReactComponent={},oe.prototype.setState=function(a,d){if(typeof a!="object"&&typeof a!="function"&&a!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,d,"setState")},oe.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var ve={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},le=function(a,d){Object.defineProperty(oe.prototype,a,{get:function(){Q("%s(...) is deprecated in plain JavaScript React classes. %s",d[0],d[1])}})};for(var ge in ve)ve.hasOwnProperty(ge)&&le(ge,ve[ge])}function me(){}me.prototype=oe.prototype;function be(a,d,y){this.props=a,this.context=d,this.refs=T,this.updater=y||Se}var pe=be.prototype=new me;pe.constructor=be,g(pe,oe.prototype),pe.isPureReactComponent=!0;function Me(){var a={current:null};return Object.seal(a),a}var bt=Array.isArray;function ut(a){return bt(a)}function Vt(a){{var d=typeof Symbol=="function"&&Symbol.toStringTag,y=d&&a[Symbol.toStringTag]||a.constructor.name||"Object";return y}}function ct(a){try{return nt(a),!1}catch{return!0}}function nt(a){return""+a}function $(a){if(ct(a))return B("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Vt(a)),nt(a)}function z(a,d,y){var C=a.displayName;if(C)return C;var M=d.displayName||d.name||"";return M!==""?y+"("+M+")":y}function ie(a){return a.displayName||"Context"}function ue(a){if(a==null)return null;if(typeof a.tag=="number"&&B("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case i:return"Portal";case f:return"Profiler";case u:return"StrictMode";case x:return"Suspense";case j:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case p:var d=a;return ie(d)+".Consumer";case h:var y=a;return ie(y._context)+".Provider";case _:return z(a,a.render,"ForwardRef");case R:var C=a.displayName||null;return C!==null?C:ue(a.type)||"Memo";case k:{var M=a,ne=M._payload,X=M._init;try{return ue(X(ne))}catch{return null}}}return null}var Ne=Object.prototype.hasOwnProperty,ye={key:!0,ref:!0,__self:!0,__source:!0},ce,qe,ze;ze={};function Ze(a){if(Ne.call(a,"ref")){var d=Object.getOwnPropertyDescriptor(a,"ref").get;if(d&&d.isReactWarning)return!1}return a.ref!==void 0}function ot(a){if(Ne.call(a,"key")){var d=Object.getOwnPropertyDescriptor(a,"key").get;if(d&&d.isReactWarning)return!1}return a.key!==void 0}function yt(a,d){var y=function(){ce||(ce=!0,B("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};y.isReactWarning=!0,Object.defineProperty(a,"key",{get:y,configurable:!0})}function Ut(a,d){var y=function(){qe||(qe=!0,B("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};y.isReactWarning=!0,Object.defineProperty(a,"ref",{get:y,configurable:!0})}function Nt(a){if(typeof a.ref=="string"&&Y.current&&a.__self&&Y.current.stateNode!==a.__self){var d=ue(Y.current.type);ze[d]||(B('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',d,a.ref),ze[d]=!0)}}var _t=function(a,d,y,C,M,ne,X){var fe={$$typeof:n,type:a,key:d,ref:y,props:X,_owner:ne};return fe._store={},Object.defineProperty(fe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(fe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(fe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:M}),Object.freeze&&(Object.freeze(fe.props),Object.freeze(fe)),fe};function Zt(a,d,y){var C,M={},ne=null,X=null,fe=null,Ce=null;if(d!=null){Ze(d)&&(X=d.ref,Nt(d)),ot(d)&&($(d.key),ne=""+d.key),fe=d.__self===void 0?null:d.__self,Ce=d.__source===void 0?null:d.__source;for(C in d)Ne.call(d,C)&&!ye.hasOwnProperty(C)&&(M[C]=d[C])}var Ie=arguments.length-2;if(Ie===1)M.children=y;else if(Ie>1){for(var Fe=Array(Ie),Be=0;Be<Ie;Be++)Fe[Be]=arguments[Be+2];Object.freeze&&Object.freeze(Fe),M.children=Fe}if(a&&a.defaultProps){var Ue=a.defaultProps;for(C in Ue)M[C]===void 0&&(M[C]=Ue[C])}if(ne||X){var Ke=typeof a=="function"?a.displayName||a.name||"Unknown":a;ne&&yt(M,Ke),X&&Ut(M,Ke)}return _t(a,ne,X,fe,Ce,Y.current,M)}function mr(a,d){var y=_t(a.type,d,a.ref,a._self,a._source,a._owner,a.props);return y}function hr(a,d,y){if(a==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var C,M=g({},a.props),ne=a.key,X=a.ref,fe=a._self,Ce=a._source,Ie=a._owner;if(d!=null){Ze(d)&&(X=d.ref,Ie=Y.current),ot(d)&&($(d.key),ne=""+d.key);var Fe;a.type&&a.type.defaultProps&&(Fe=a.type.defaultProps);for(C in d)Ne.call(d,C)&&!ye.hasOwnProperty(C)&&(d[C]===void 0&&Fe!==void 0?M[C]=Fe[C]:M[C]=d[C])}var Be=arguments.length-2;if(Be===1)M.children=y;else if(Be>1){for(var Ue=Array(Be),Ke=0;Ke<Be;Ke++)Ue[Ke]=arguments[Ke+2];M.children=Ue}return _t(a.type,ne,X,fe,Ce,Ie,M)}function tt(a){return typeof a=="object"&&a!==null&&a.$$typeof===n}var wt=".",pr=":";function Pt(a){var d=/[=:]/g,y={"=":"=0",":":"=2"},C=a.replace(d,function(M){return y[M]});return"$"+C}var St=!1,st=/\/+/g;function Je(a){return a.replace(st,"$&/")}function ft(a,d){return typeof a=="object"&&a!==null&&a.key!=null?($(a.key),Pt(""+a.key)):d.toString(36)}function Qe(a,d,y,C,M){var ne=typeof a;(ne==="undefined"||ne==="boolean")&&(a=null);var X=!1;if(a===null)X=!0;else switch(ne){case"string":case"number":X=!0;break;case"object":switch(a.$$typeof){case n:case i:X=!0}}if(X){var fe=a,Ce=M(fe),Ie=C===""?wt+ft(fe,0):C;if(ut(Ce)){var Fe="";Ie!=null&&(Fe=Je(Ie)+"/"),Qe(Ce,d,Fe,"",function(gd){return gd})}else Ce!=null&&(tt(Ce)&&(Ce.key&&(!fe||fe.key!==Ce.key)&&$(Ce.key),Ce=mr(Ce,y+(Ce.key&&(!fe||fe.key!==Ce.key)?Je(""+Ce.key)+"/":"")+Ie)),d.push(Ce));return 1}var Be,Ue,Ke=0,at=C===""?wt:C+pr;if(ut(a))for(var Un=0;Un<a.length;Un++)Be=a[Un],Ue=at+ft(Be,Un),Ke+=Qe(Be,d,y,Ue,M);else{var ka=V(a);if(typeof ka=="function"){var ss=a;ka===ss.entries&&(St||Q("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),St=!0);for(var hd=ka.call(ss),ls,pd=0;!(ls=hd.next()).done;)Be=ls.value,Ue=at+ft(Be,pd++),Ke+=Qe(Be,d,y,Ue,M)}else if(ne==="object"){var us=String(a);throw new Error("Objects are not valid as a React child (found: "+(us==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":us)+"). If you meant to render a collection of children, use an array instead.")}}return Ke}function Et(a,d,y){if(a==null)return a;var C=[],M=0;return Qe(a,C,"","",function(ne){return d.call(y,ne,M++)}),C}function Jt(a){var d=0;return Et(a,function(){d++}),d}function Qt(a,d,y){Et(a,function(){d.apply(this,arguments)},y)}function er(a){return Et(a,function(d){return d})||[]}function Wt(a){if(!tt(a))throw new Error("React.Children.only expected to receive a single React element child.");return a}function it(a){var d={$$typeof:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};d.Provider={$$typeof:h,_context:d};var y=!1,C=!1,M=!1;{var ne={$$typeof:p,_context:d};Object.defineProperties(ne,{Provider:{get:function(){return C||(C=!0,B("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),d.Provider},set:function(X){d.Provider=X}},_currentValue:{get:function(){return d._currentValue},set:function(X){d._currentValue=X}},_currentValue2:{get:function(){return d._currentValue2},set:function(X){d._currentValue2=X}},_threadCount:{get:function(){return d._threadCount},set:function(X){d._threadCount=X}},Consumer:{get:function(){return y||(y=!0,B("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),d.Consumer}},displayName:{get:function(){return d.displayName},set:function(X){M||(Q("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",X),M=!0)}}}),d.Consumer=ne}return d._currentRenderer=null,d._currentRenderer2=null,d}var Ct=-1,At=0,Dt=1,tr=2;function gr(a){if(a._status===Ct){var d=a._result,y=d();if(y.then(function(ne){if(a._status===At||a._status===Ct){var X=a;X._status=Dt,X._result=ne}},function(ne){if(a._status===At||a._status===Ct){var X=a;X._status=tr,X._result=ne}}),a._status===Ct){var C=a;C._status=At,C._result=y}}if(a._status===Dt){var M=a._result;return M===void 0&&B(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
35
35
|
|
|
36
36
|
Your code should look like:
|
|
37
37
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
38
38
|
|
|
39
|
-
Did you accidentally put curly braces around the import?`,
|
|
39
|
+
Did you accidentally put curly braces around the import?`,M),"default"in M||B(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
40
40
|
|
|
41
41
|
Your code should look like:
|
|
42
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,
|
|
42
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,M),M.default}else throw a._result}function vt(a){var d={_status:Ct,_result:a},y={$$typeof:k,_payload:d,_init:gr};{var C,M;Object.defineProperties(y,{defaultProps:{configurable:!0,get:function(){return C},set:function(ne){B("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),C=ne,Object.defineProperty(y,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return M},set:function(ne){B("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),M=ne,Object.defineProperty(y,"propTypes",{enumerable:!0})}}})}return y}function xr(a){a!=null&&a.$$typeof===R?B("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?B("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&B("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&(a.defaultProps!=null||a.propTypes!=null)&&B("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var d={$$typeof:_,render:a};{var y;Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return y},set:function(C){y=C,!a.name&&!a.displayName&&(a.displayName=C)}})}return d}var v;v=Symbol.for("react.module.reference");function l(a){return!!(typeof a=="string"||typeof a=="function"||a===s||a===f||Oe||a===u||a===x||a===j||De||a===O||Ae||He||Xe||typeof a=="object"&&a!==null&&(a.$$typeof===k||a.$$typeof===R||a.$$typeof===h||a.$$typeof===p||a.$$typeof===_||a.$$typeof===v||a.getModuleId!==void 0))}function b(a,d){l(a)||B("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a);var y={$$typeof:R,type:a,compare:d===void 0?null:d};{var C;Object.defineProperty(y,"displayName",{enumerable:!1,configurable:!0,get:function(){return C},set:function(M){C=M,!a.name&&!a.displayName&&(a.displayName=M)}})}return y}function E(){var a=U.current;return a===null&&B(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
43
43
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
44
44
|
2. You might be breaking the Rules of Hooks
|
|
45
45
|
3. You might have more than one copy of React in the same app
|
|
46
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}function
|
|
47
|
-
`+
|
|
46
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}function F(a){var d=E();if(a._context!==void 0){var y=a._context;y.Consumer===a?B("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):y.Provider===a&&B("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return d.useContext(a)}function J(a){var d=E();return d.useState(a)}function K(a,d,y){var C=E();return C.useReducer(a,d,y)}function H(a){var d=E();return d.useRef(a)}function re(a,d){var y=E();return y.useEffect(a,d)}function he(a,d){var y=E();return y.useInsertionEffect(a,d)}function se(a,d){var y=E();return y.useLayoutEffect(a,d)}function xe(a,d){var y=E();return y.useCallback(a,d)}function Ve(a,d){var y=E();return y.useMemo(a,d)}function Ye(a,d,y){var C=E();return C.useImperativeHandle(a,d,y)}function Pe(a,d){{var y=E();return y.useDebugValue(a,d)}}function Ge(){var a=E();return a.useTransition()}function mt(a){var d=E();return d.useDeferredValue(a)}function rr(){var a=E();return a.useId()}function Xr(a,d,y){var C=E();return C.useSyncExternalStore(a,d,y)}var br=0,Tn,qr,On,kn,Nn,Pn,An;function Dn(){}Dn.__reactDisabledLog=!0;function _a(){{if(br===0){Tn=console.log,qr=console.info,On=console.warn,kn=console.error,Nn=console.group,Pn=console.groupCollapsed,An=console.groupEnd;var a={configurable:!0,enumerable:!0,value:Dn,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}br++}}function wa(){{if(br--,br===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:g({},a,{value:Tn}),info:g({},a,{value:qr}),warn:g({},a,{value:On}),error:g({},a,{value:kn}),group:g({},a,{value:Nn}),groupCollapsed:g({},a,{value:Pn}),groupEnd:g({},a,{value:An})})}br<0&&B("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Zr=je.ReactCurrentDispatcher,Jr;function $t(a,d,y){{if(Jr===void 0)try{throw Error()}catch(M){var C=M.stack.trim().match(/\n( *(at )?)/);Jr=C&&C[1]||""}return`
|
|
47
|
+
`+Jr+a}}var yr=!1,Nr;{var Sa=typeof WeakMap=="function"?WeakMap:Map;Nr=new Sa}function Qr(a,d){if(!a||yr)return"";{var y=Nr.get(a);if(y!==void 0)return y}var C;yr=!0;var M=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ne;ne=Zr.current,Zr.current=null,_a();try{if(d){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(at){C=at}Reflect.construct(a,[],X)}else{try{X.call()}catch(at){C=at}a.call(X.prototype)}}else{try{throw Error()}catch(at){C=at}a()}}catch(at){if(at&&C&&typeof at.stack=="string"){for(var fe=at.stack.split(`
|
|
48
48
|
`),Ce=C.stack.split(`
|
|
49
|
-
`),Ie=
|
|
50
|
-
`+
|
|
49
|
+
`),Ie=fe.length-1,Fe=Ce.length-1;Ie>=1&&Fe>=0&&fe[Ie]!==Ce[Fe];)Fe--;for(;Ie>=1&&Fe>=0;Ie--,Fe--)if(fe[Ie]!==Ce[Fe]){if(Ie!==1||Fe!==1)do if(Ie--,Fe--,Fe<0||fe[Ie]!==Ce[Fe]){var Be=`
|
|
50
|
+
`+fe[Ie].replace(" at new "," at ");return a.displayName&&Be.includes("<anonymous>")&&(Be=Be.replace("<anonymous>",a.displayName)),typeof a=="function"&&Nr.set(a,Be),Be}while(Ie>=1&&Fe>=0);break}}}finally{yr=!1,Zr.current=ne,wa(),Error.prepareStackTrace=M}var Ue=a?a.displayName||a.name:"",Ke=Ue?$t(Ue):"";return typeof a=="function"&&Nr.set(a,Ke),Ke}function Ea(a,d,y){return Qr(a,!1)}function Ca(a){var d=a.prototype;return!!(d&&d.isReactComponent)}function Pr(a,d,y){if(a==null)return"";if(typeof a=="function")return Qr(a,Ca(a));if(typeof a=="string")return $t(a);switch(a){case x:return $t("Suspense");case j:return $t("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case _:return Ea(a.render);case R:return Pr(a.type,d,y);case k:{var C=a,M=C._payload,ne=C._init;try{return Pr(ne(M),d,y)}catch{}}}return""}var en={},In=je.ReactDebugCurrentFrame;function Ar(a){if(a){var d=a._owner,y=Pr(a.type,a._source,d?d.type:null);In.setExtraStackFrame(y)}else In.setExtraStackFrame(null)}function ja(a,d,y,C,M){{var ne=Function.call.bind(Ne);for(var X in a)if(ne(a,X)){var fe=void 0;try{if(typeof a[X]!="function"){var Ce=Error((C||"React class")+": "+y+" type `"+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[X]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ce.name="Invariant Violation",Ce}fe=a[X](d,X,C,y,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ie){fe=Ie}fe&&!(fe instanceof Error)&&(Ar(M),B("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",y,X,typeof fe),Ar(null)),fe instanceof Error&&!(fe.message in en)&&(en[fe.message]=!0,Ar(M),B("Failed %s type: %s",y,fe.message),Ar(null))}}}function It(a){if(a){var d=a._owner,y=Pr(a.type,a._source,d?d.type:null);de(y)}else de(null)}var tn;tn=!1;function Ln(){if(Y.current){var a=ue(Y.current.type);if(a)return`
|
|
51
51
|
|
|
52
|
-
Check the render method of \``+a+"`."}return""}function
|
|
52
|
+
Check the render method of \``+a+"`."}return""}function Ra(a){if(a!==void 0){var d=a.fileName.replace(/^.*[\\\/]/,""),y=a.lineNumber;return`
|
|
53
53
|
|
|
54
|
-
Check your code at `+d+":"+y+"."}return""}function
|
|
54
|
+
Check your code at `+d+":"+y+"."}return""}function Dr(a){return a!=null?Ra(a.__source):""}var Ir={};function rn(a){var d=Ln();if(!d){var y=typeof a=="string"?a:a.displayName||a.name;y&&(d=`
|
|
55
55
|
|
|
56
|
-
Check the top-level render call using <`+y+">.")}return d}function Lt(a,d){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var y=rn(d);if(!It[y]){It[y]=!0;var C="";a&&a._owner&&a._owner!==se.current&&(C=" It was passed a child from "+ce(a._owner.type)+"."),Ir(a),V('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',y,C),Ir(null)}}}function Mn(a,d){if(typeof a=="object"){if(ur(a))for(var y=0;y<a.length;y++){var C=a[y];rr(C)&&Lt(C,d)}else if(rr(a))a._store&&(a._store.validated=!0);else if(a){var F=H(a);if(typeof F=="function"&&F!==a.entries)for(var te=F.call(a),X;!(X=te.next()).done;)rr(X.value)&&Lt(X.value,d)}}}function tn(a){{var d=a.type;if(d==null||typeof d=="string")return;var y;if(typeof d=="function")y=d.propTypes;else if(typeof d=="object"&&(d.$$typeof===_||d.$$typeof===R))y=d.propTypes;else return;if(y){var C=ce(d);Ca(y,a.props,"prop",C,a)}else if(d.PropTypes!==void 0&&!en){en=!0;var F=ce(d);V("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",F||"Unknown")}typeof d.getDefaultProps=="function"&&!d.getDefaultProps.isReactClassApproved&&V("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function nn(a){{for(var d=Object.keys(a.props),y=0;y<d.length;y++){var C=d[y];if(C!=="children"&&C!=="key"){Ir(a),V("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),Ir(null);break}}a.ref!==null&&(Ir(a),V("Invalid attribute `ref` supplied to `React.Fragment`."),Ir(null))}}function an(a,d,y){var C=l(a);if(!C){var F="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(F+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var te=Dt(d);te?F+=te:F+=Ln();var X;a===null?X="null":ur(a)?X="array":a!==void 0&&a.$$typeof===n?(X="<"+(ce(a.type)||"Unknown")+" />",F=" Did you accidentally export a JSX literal instead of a component?"):X=typeof a,V("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",X,F)}var de=qr.apply(this,arguments);if(de==null)return de;if(C)for(var Ce=2;Ce<arguments.length;Ce++)Mn(arguments[Ce],a);return a===s?nn(de):tn(de),de}var Lr=!1;function yt(a){var d=an.bind(null,a);return d.type=a,Lr||(Lr=!0,J("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(d,"type",{enumerable:!1,get:function(){return J("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),d}function Ra(a,d,y){for(var C=mt.apply(this,arguments),F=2;F<arguments.length;F++)Mn(arguments[F],C.type);return tn(C),C}function Fn(a,d){var y=ee.transition;ee.transition={};var C=ee.transition;ee.transition._updatedFibers=new Set;try{a()}finally{if(ee.transition=y,y===null&&C._updatedFibers){var F=C._updatedFibers.size;F>10&&J("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),C._updatedFibers.clear()}}}var Bn=!1,_t=null;function Ta(a){if(_t===null)try{var d=("require"+Math.random()).slice(0,7),y=r&&r[d];_t=y.call(r,"timers").setImmediate}catch{_t=function(F){Bn===!1&&(Bn=!0,typeof MessageChannel>"u"&&V("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var te=new MessageChannel;te.port1.onmessage=F,te.port2.postMessage(void 0)}}return _t(a)}var tt=0,on=!1;function Vn(a){{var d=tt;tt++,Y.current===null&&(Y.current=[]);var y=Y.isBatchingLegacy,C;try{if(Y.isBatchingLegacy=!0,C=a(),!y&&Y.didScheduleLegacyUpdate){var F=Y.current;F!==null&&(Y.didScheduleLegacyUpdate=!1,q(F))}}catch(Ue){throw c(d),Ue}finally{Y.isBatchingLegacy=y}if(C!==null&&typeof C=="object"&&typeof C.then=="function"){var te=C,X=!1,de={then:function(Ue,Ke){X=!0,te.then(function(nr){c(d),tt===0?m(nr,Ue,Ke):Ue(nr)},function(nr){c(d),Ke(nr)})}};return!on&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){X||(on=!0,V("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),de}else{var Ce=C;if(c(d),tt===0){var Ie=Y.current;Ie!==null&&(q(Ie),Y.current=null);var Fe={then:function(Ue,Ke){Y.current===null?(Y.current=[],m(Ce,Ue,Ke)):Ue(Ce)}};return Fe}else{var Be={then:function(Ue,Ke){Ue(Ce)}};return Be}}}}function c(a){a!==tt-1&&V("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),tt=a}function m(a,d,y){{var C=Y.current;if(C!==null)try{q(C),Ta(function(){C.length===0?(Y.current=null,d(a)):m(a,d,y)})}catch(F){y(F)}else d(a)}}var w=!1;function q(a){if(!w){w=!0;var d=0;try{for(;d<a.length;d++){var y=a[d];do y=y(!0);while(y!==null)}a.length=0}catch(C){throw a=a.slice(d+1),C}finally{w=!1}}}var _e=an,Ne=Ra,Le=yt,Re={map:Er,forEach:Jr,count:Zr,toArray:Qr,only:Wr};e.Children=Re,e.Component=ie,e.Fragment=s,e.Profiler=f,e.PureComponent=be,e.StrictMode=u,e.Suspense=b,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=je,e.act=Vn,e.cloneElement=Ne,e.createContext=ir,e.createElement=_e,e.createFactory=Le,e.createRef=Me,e.forwardRef=gt,e.isValidElement=rr,e.lazy=vr,e.memo=x,e.startTransition=Fn,e.unstable_act=Vn,e.useCallback=xe,e.useContext=B,e.useDebugValue=Ae,e.useDeferredValue=mr,e.useEffect=re,e.useId=rt,e.useImperativeHandle=Ye,e.useInsertionEffect=he,e.useLayoutEffect=oe,e.useMemo=Ve,e.useReducer=K,e.useRef=$,e.useState=Z,e.useSyncExternalStore=Kt,e.useTransition=Ge,e.version=t,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}}),za=wt({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"(e,r){process.env.NODE_ENV==="production"?r.exports=Hs():r.exports=Gs()}}),Ys=wt({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js"(e){var r=za(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function f(g,h,_){var b,j={},R=null,k=null;_!==void 0&&(R=""+_),h.key!==void 0&&(R=""+h.key),h.ref!==void 0&&(k=h.ref);for(b in h)i.call(h,b)&&!u.hasOwnProperty(b)&&(j[b]=h[b]);if(g&&g.defaultProps)for(b in h=g.defaultProps,h)j[b]===void 0&&(j[b]=h[b]);return{$$typeof:t,type:g,key:R,ref:k,props:j,_owner:s.current}}e.Fragment=n,e.jsx=f,e.jsxs=f}}),zs=wt({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js"(e){process.env.NODE_ENV!=="production"&&function(){var r=za(),t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),g=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),O=Symbol.iterator,A="@@iterator";function D(l){if(l===null||typeof l!="object")return null;var x=O&&l[O]||l[A];return typeof x=="function"?x:null}var H=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function G(l){{for(var x=arguments.length,E=new Array(x>1?x-1:0),B=1;B<x;B++)E[B-1]=arguments[B];ee("error",l,E)}}function ee(l,x,E){{var B=H.ReactDebugCurrentFrame,Z=B.getStackAddendum();Z!==""&&(x+="%s",E=E.concat([Z]));var K=E.map(function($){return String($)});K.unshift("Warning: "+x),Function.prototype.apply.call(console[l],console,K)}}var Y=!1,se=!1,U=!1,M=!1,le=!1,ke;ke=Symbol.for("react.module.reference");function He(l){return!!(typeof l=="string"||typeof l=="function"||l===i||l===u||le||l===s||l===_||l===b||M||l===k||Y||se||U||typeof l=="object"&&l!==null&&(l.$$typeof===R||l.$$typeof===j||l.$$typeof===f||l.$$typeof===g||l.$$typeof===h||l.$$typeof===ke||l.getModuleId!==void 0))}function Xe(l,x,E){var B=l.displayName;if(B)return B;var Z=x.displayName||x.name||"";return Z!==""?E+"("+Z+")":E}function De(l){return l.displayName||"Context"}function Oe(l){if(l==null)return null;if(typeof l.tag=="number"&&G("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case i:return"Fragment";case n:return"Portal";case u:return"Profiler";case s:return"StrictMode";case _:return"Suspense";case b:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case g:var x=l;return De(x)+".Consumer";case f:var E=l;return De(E._context)+".Provider";case h:return Xe(l,l.render,"ForwardRef");case j:var B=l.displayName||null;return B!==null?B:Oe(l.type)||"Memo";case R:{var Z=l,K=Z._payload,$=Z._init;try{return Oe($(K))}catch{return null}}}return null}var je=Object.assign,J=0,V,ne,we,Te,Se,p,T;function ie(){}ie.__reactDisabledLog=!0;function ve(){{if(J===0){V=console.log,ne=console.info,we=console.warn,Te=console.error,Se=console.group,p=console.groupCollapsed,T=console.groupEnd;var l={configurable:!0,enumerable:!0,value:ie,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}J++}}function ue(){{if(J--,J===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:je({},l,{value:V}),info:je({},l,{value:ne}),warn:je({},l,{value:we}),error:je({},l,{value:Te}),group:je({},l,{value:Se}),groupCollapsed:je({},l,{value:p}),groupEnd:je({},l,{value:T})})}J<0&&G("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ge=H.ReactCurrentDispatcher,me;function be(l,x,E){{if(me===void 0)try{throw Error()}catch(Z){var B=Z.stack.trim().match(/\n( *(at )?)/);me=B&&B[1]||""}return`
|
|
57
|
-
`+me+l}}var pe=!1,Me;{var
|
|
58
|
-
`),he=
|
|
59
|
-
`),
|
|
60
|
-
`+re[
|
|
56
|
+
Check the top-level render call using <`+y+">.")}return d}function Lr(a,d){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var y=rn(d);if(!Ir[y]){Ir[y]=!0;var C="";a&&a._owner&&a._owner!==Y.current&&(C=" It was passed a child from "+ue(a._owner.type)+"."),It(a),B('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',y,C),It(null)}}}function Mn(a,d){if(typeof a=="object"){if(ut(a))for(var y=0;y<a.length;y++){var C=a[y];tt(C)&&Lr(C,d)}else if(tt(a))a._store&&(a._store.validated=!0);else if(a){var M=V(a);if(typeof M=="function"&&M!==a.entries)for(var ne=M.call(a),X;!(X=ne.next()).done;)tt(X.value)&&Lr(X.value,d)}}}function nn(a){{var d=a.type;if(d==null||typeof d=="string")return;var y;if(typeof d=="function")y=d.propTypes;else if(typeof d=="object"&&(d.$$typeof===_||d.$$typeof===R))y=d.propTypes;else return;if(y){var C=ue(d);ja(y,a.props,"prop",C,a)}else if(d.PropTypes!==void 0&&!tn){tn=!0;var M=ue(d);B("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",M||"Unknown")}typeof d.getDefaultProps=="function"&&!d.getDefaultProps.isReactClassApproved&&B("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function an(a){{for(var d=Object.keys(a.props),y=0;y<d.length;y++){var C=d[y];if(C!=="children"&&C!=="key"){It(a),B("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),It(null);break}}a.ref!==null&&(It(a),B("Invalid attribute `ref` supplied to `React.Fragment`."),It(null))}}function on(a,d,y){var C=l(a);if(!C){var M="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(M+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ne=Dr(d);ne?M+=ne:M+=Ln();var X;a===null?X="null":ut(a)?X="array":a!==void 0&&a.$$typeof===n?(X="<"+(ue(a.type)||"Unknown")+" />",M=" Did you accidentally export a JSX literal instead of a component?"):X=typeof a,B("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",X,M)}var fe=Zt.apply(this,arguments);if(fe==null)return fe;if(C)for(var Ce=2;Ce<arguments.length;Ce++)Mn(arguments[Ce],a);return a===s?an(fe):nn(fe),fe}var Lt=!1;function _r(a){var d=on.bind(null,a);return d.type=a,Lt||(Lt=!0,Q("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(d,"type",{enumerable:!1,get:function(){return Q("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),d}function Ta(a,d,y){for(var C=hr.apply(this,arguments),M=2;M<arguments.length;M++)Mn(arguments[M],C.type);return nn(C),C}function Fn(a,d){var y=ee.transition;ee.transition={};var C=ee.transition;ee.transition._updatedFibers=new Set;try{a()}finally{if(ee.transition=y,y===null&&C._updatedFibers){var M=C._updatedFibers.size;M>10&&Q("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),C._updatedFibers.clear()}}}var Bn=!1,wr=null;function Oa(a){if(wr===null)try{var d=("require"+Math.random()).slice(0,7),y=t&&t[d];wr=y.call(t,"timers").setImmediate}catch{wr=function(M){Bn===!1&&(Bn=!0,typeof MessageChannel>"u"&&B("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ne=new MessageChannel;ne.port1.onmessage=M,ne.port2.postMessage(void 0)}}return wr(a)}var nr=0,sn=!1;function Vn(a){{var d=nr;nr++,q.current===null&&(q.current=[]);var y=q.isBatchingLegacy,C;try{if(q.isBatchingLegacy=!0,C=a(),!y&&q.didScheduleLegacyUpdate){var M=q.current;M!==null&&(q.didScheduleLegacyUpdate=!1,Z(M))}}catch(Ue){throw c(d),Ue}finally{q.isBatchingLegacy=y}if(C!==null&&typeof C=="object"&&typeof C.then=="function"){var ne=C,X=!1,fe={then:function(Ue,Ke){X=!0,ne.then(function(at){c(d),nr===0?m(at,Ue,Ke):Ue(at)},function(at){c(d),Ke(at)})}};return!sn&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){X||(sn=!0,B("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),fe}else{var Ce=C;if(c(d),nr===0){var Ie=q.current;Ie!==null&&(Z(Ie),q.current=null);var Fe={then:function(Ue,Ke){q.current===null?(q.current=[],m(Ce,Ue,Ke)):Ue(Ce)}};return Fe}else{var Be={then:function(Ue,Ke){Ue(Ce)}};return Be}}}}function c(a){a!==nr-1&&B("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),nr=a}function m(a,d,y){{var C=q.current;if(C!==null)try{Z(C),Oa(function(){C.length===0?(q.current=null,d(a)):m(a,d,y)})}catch(M){y(M)}else d(a)}}var w=!1;function Z(a){if(!w){w=!0;var d=0;try{for(;d<a.length;d++){var y=a[d];do y=y(!0);while(y!==null)}a.length=0}catch(C){throw a=a.slice(d+1),C}finally{w=!1}}}var _e=on,ke=Ta,Le=_r,Re={map:Et,forEach:Qt,count:Jt,toArray:er,only:Wt};e.Children=Re,e.Component=oe,e.Fragment=s,e.Profiler=f,e.PureComponent=be,e.StrictMode=u,e.Suspense=x,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=je,e.act=Vn,e.cloneElement=ke,e.createContext=it,e.createElement=_e,e.createFactory=Le,e.createRef=Me,e.forwardRef=xr,e.isValidElement=tt,e.lazy=vt,e.memo=b,e.startTransition=Fn,e.unstable_act=Vn,e.useCallback=xe,e.useContext=F,e.useDebugValue=Pe,e.useDeferredValue=mt,e.useEffect=re,e.useId=rr,e.useImperativeHandle=Ye,e.useInsertionEffect=he,e.useLayoutEffect=se,e.useMemo=Ve,e.useReducer=K,e.useRef=H,e.useState=J,e.useSyncExternalStore=Xr,e.useTransition=Ge,e.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}}),Ka=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"(e,t){process.env.NODE_ENV==="production"?t.exports=Hs():t.exports=Gs()}}),Ys=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js"(e){var t=Ka(),r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function f(h,p,_){var x,j={},R=null,k=null;_!==void 0&&(R=""+_),p.key!==void 0&&(R=""+p.key),p.ref!==void 0&&(k=p.ref);for(x in p)i.call(p,x)&&!u.hasOwnProperty(x)&&(j[x]=p[x]);if(h&&h.defaultProps)for(x in p=h.defaultProps,p)j[x]===void 0&&(j[x]=p[x]);return{$$typeof:r,type:h,key:R,ref:k,props:j,_owner:s.current}}e.Fragment=n,e.jsx=f,e.jsxs=f}}),zs=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js"(e){process.env.NODE_ENV!=="production"&&function(){var t=Ka(),r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),O=Symbol.iterator,A="@@iterator";function D(l){if(l===null||typeof l!="object")return null;var b=O&&l[O]||l[A];return typeof b=="function"?b:null}var V=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function U(l){{for(var b=arguments.length,E=new Array(b>1?b-1:0),F=1;F<b;F++)E[F-1]=arguments[F];ee("error",l,E)}}function ee(l,b,E){{var F=V.ReactDebugCurrentFrame,J=F.getStackAddendum();J!==""&&(b+="%s",E=E.concat([J]));var K=E.map(function(H){return String(H)});K.unshift("Warning: "+b),Function.prototype.apply.call(console[l],console,K)}}var q=!1,Y=!1,W=!1,G=!1,de=!1,Ae;Ae=Symbol.for("react.module.reference");function He(l){return!!(typeof l=="string"||typeof l=="function"||l===i||l===u||de||l===s||l===_||l===x||G||l===k||q||Y||W||typeof l=="object"&&l!==null&&(l.$$typeof===R||l.$$typeof===j||l.$$typeof===f||l.$$typeof===h||l.$$typeof===p||l.$$typeof===Ae||l.getModuleId!==void 0))}function Xe(l,b,E){var F=l.displayName;if(F)return F;var J=b.displayName||b.name||"";return J!==""?E+"("+J+")":E}function De(l){return l.displayName||"Context"}function Oe(l){if(l==null)return null;if(typeof l.tag=="number"&&U("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case i:return"Fragment";case n:return"Portal";case u:return"Profiler";case s:return"StrictMode";case _:return"Suspense";case x:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case h:var b=l;return De(b)+".Consumer";case f:var E=l;return De(E._context)+".Provider";case p:return Xe(l,l.render,"ForwardRef");case j:var F=l.displayName||null;return F!==null?F:Oe(l.type)||"Memo";case R:{var J=l,K=J._payload,H=J._init;try{return Oe(H(K))}catch{return null}}}return null}var je=Object.assign,Q=0,B,ae,we,Te,Se,g,T;function oe(){}oe.__reactDisabledLog=!0;function ve(){{if(Q===0){B=console.log,ae=console.info,we=console.warn,Te=console.error,Se=console.group,g=console.groupCollapsed,T=console.groupEnd;var l={configurable:!0,enumerable:!0,value:oe,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Q++}}function le(){{if(Q--,Q===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:je({},l,{value:B}),info:je({},l,{value:ae}),warn:je({},l,{value:we}),error:je({},l,{value:Te}),group:je({},l,{value:Se}),groupCollapsed:je({},l,{value:g}),groupEnd:je({},l,{value:T})})}Q<0&&U("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ge=V.ReactCurrentDispatcher,me;function be(l,b,E){{if(me===void 0)try{throw Error()}catch(J){var F=J.stack.trim().match(/\n( *(at )?)/);me=F&&F[1]||""}return`
|
|
57
|
+
`+me+l}}var pe=!1,Me;{var bt=typeof WeakMap=="function"?WeakMap:Map;Me=new bt}function ut(l,b){if(!l||pe)return"";{var E=Me.get(l);if(E!==void 0)return E}var F;pe=!0;var J=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var K;K=ge.current,ge.current=null,ve();try{if(b){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(Ge){F=Ge}Reflect.construct(l,[],H)}else{try{H.call()}catch(Ge){F=Ge}l.call(H.prototype)}}else{try{throw Error()}catch(Ge){F=Ge}l()}}catch(Ge){if(Ge&&F&&typeof Ge.stack=="string"){for(var re=Ge.stack.split(`
|
|
58
|
+
`),he=F.stack.split(`
|
|
59
|
+
`),se=re.length-1,xe=he.length-1;se>=1&&xe>=0&&re[se]!==he[xe];)xe--;for(;se>=1&&xe>=0;se--,xe--)if(re[se]!==he[xe]){if(se!==1||xe!==1)do if(se--,xe--,xe<0||re[se]!==he[xe]){var Ve=`
|
|
60
|
+
`+re[se].replace(" at new "," at ");return l.displayName&&Ve.includes("<anonymous>")&&(Ve=Ve.replace("<anonymous>",l.displayName)),typeof l=="function"&&Me.set(l,Ve),Ve}while(se>=1&&xe>=0);break}}}finally{pe=!1,ge.current=K,le(),Error.prepareStackTrace=J}var Ye=l?l.displayName||l.name:"",Pe=Ye?be(Ye):"";return typeof l=="function"&&Me.set(l,Pe),Pe}function Vt(l,b,E){return ut(l,!1)}function ct(l){var b=l.prototype;return!!(b&&b.isReactComponent)}function nt(l,b,E){if(l==null)return"";if(typeof l=="function")return ut(l,ct(l));if(typeof l=="string")return be(l);switch(l){case _:return be("Suspense");case x:return be("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case p:return Vt(l.render);case j:return nt(l.type,b,E);case R:{var F=l,J=F._payload,K=F._init;try{return nt(K(J),b,E)}catch{}}}return""}var $=Object.prototype.hasOwnProperty,z={},ie=V.ReactDebugCurrentFrame;function ue(l){if(l){var b=l._owner,E=nt(l.type,l._source,b?b.type:null);ie.setExtraStackFrame(E)}else ie.setExtraStackFrame(null)}function Ne(l,b,E,F,J){{var K=Function.call.bind($);for(var H in l)if(K(l,H)){var re=void 0;try{if(typeof l[H]!="function"){var he=Error((F||"React class")+": "+E+" type `"+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[H]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw he.name="Invariant Violation",he}re=l[H](b,H,F,E,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(se){re=se}re&&!(re instanceof Error)&&(ue(J),U("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",F||"React class",E,H,typeof re),ue(null)),re instanceof Error&&!(re.message in z)&&(z[re.message]=!0,ue(J),U("Failed %s type: %s",E,re.message),ue(null))}}}var ye=Array.isArray;function ce(l){return ye(l)}function qe(l){{var b=typeof Symbol=="function"&&Symbol.toStringTag,E=b&&l[Symbol.toStringTag]||l.constructor.name||"Object";return E}}function ze(l){try{return Ze(l),!1}catch{return!0}}function Ze(l){return""+l}function ot(l){if(ze(l))return U("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qe(l)),Ze(l)}var yt=V.ReactCurrentOwner,Ut={key:!0,ref:!0,__self:!0,__source:!0},Nt,_t;function Zt(l){if($.call(l,"ref")){var b=Object.getOwnPropertyDescriptor(l,"ref").get;if(b&&b.isReactWarning)return!1}return l.ref!==void 0}function mr(l){if($.call(l,"key")){var b=Object.getOwnPropertyDescriptor(l,"key").get;if(b&&b.isReactWarning)return!1}return l.key!==void 0}function hr(l,b){typeof l.ref=="string"&&yt.current}function tt(l,b){{var E=function(){Nt||(Nt=!0,U("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};E.isReactWarning=!0,Object.defineProperty(l,"key",{get:E,configurable:!0})}}function wt(l,b){{var E=function(){_t||(_t=!0,U("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",b))};E.isReactWarning=!0,Object.defineProperty(l,"ref",{get:E,configurable:!0})}}var pr=function(l,b,E,F,J,K,H){var re={$$typeof:r,type:l,key:b,ref:E,props:H,_owner:K};return re._store={},Object.defineProperty(re._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(re,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(re,"_source",{configurable:!1,enumerable:!1,writable:!1,value:J}),Object.freeze&&(Object.freeze(re.props),Object.freeze(re)),re};function Pt(l,b,E,F,J){{var K,H={},re=null,he=null;E!==void 0&&(ot(E),re=""+E),mr(b)&&(ot(b.key),re=""+b.key),Zt(b)&&(he=b.ref,hr(b,J));for(K in b)$.call(b,K)&&!Ut.hasOwnProperty(K)&&(H[K]=b[K]);if(l&&l.defaultProps){var se=l.defaultProps;for(K in se)H[K]===void 0&&(H[K]=se[K])}if(re||he){var xe=typeof l=="function"?l.displayName||l.name||"Unknown":l;re&&tt(H,xe),he&&wt(H,xe)}return pr(l,re,he,J,F,yt.current,H)}}var St=V.ReactCurrentOwner,st=V.ReactDebugCurrentFrame;function Je(l){if(l){var b=l._owner,E=nt(l.type,l._source,b?b.type:null);st.setExtraStackFrame(E)}else st.setExtraStackFrame(null)}var ft;ft=!1;function Qe(l){return typeof l=="object"&&l!==null&&l.$$typeof===r}function Et(){{if(St.current){var l=Oe(St.current.type);if(l)return`
|
|
61
61
|
|
|
62
|
-
Check the render method of \``+l+"`."}return""}}function
|
|
62
|
+
Check the render method of \``+l+"`."}return""}}function Jt(l){return""}var Qt={};function er(l){{var b=Et();if(!b){var E=typeof l=="string"?l:l.displayName||l.name;E&&(b=`
|
|
63
63
|
|
|
64
|
-
Check the top-level render call using <`+E+">.")}return
|
|
64
|
+
Check the top-level render call using <`+E+">.")}return b}}function Wt(l,b){{if(!l._store||l._store.validated||l.key!=null)return;l._store.validated=!0;var E=er(b);if(Qt[E])return;Qt[E]=!0;var F="";l&&l._owner&&l._owner!==St.current&&(F=" It was passed a child from "+Oe(l._owner.type)+"."),Je(l),U('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',E,F),Je(null)}}function it(l,b){{if(typeof l!="object")return;if(ce(l))for(var E=0;E<l.length;E++){var F=l[E];Qe(F)&&Wt(F,b)}else if(Qe(l))l._store&&(l._store.validated=!0);else if(l){var J=D(l);if(typeof J=="function"&&J!==l.entries)for(var K=J.call(l),H;!(H=K.next()).done;)Qe(H.value)&&Wt(H.value,b)}}}function Ct(l){{var b=l.type;if(b==null||typeof b=="string")return;var E;if(typeof b=="function")E=b.propTypes;else if(typeof b=="object"&&(b.$$typeof===p||b.$$typeof===j))E=b.propTypes;else return;if(E){var F=Oe(b);Ne(E,l.props,"prop",F,l)}else if(b.PropTypes!==void 0&&!ft){ft=!0;var J=Oe(b);U("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",J||"Unknown")}typeof b.getDefaultProps=="function"&&!b.getDefaultProps.isReactClassApproved&&U("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function At(l){{for(var b=Object.keys(l.props),E=0;E<b.length;E++){var F=b[E];if(F!=="children"&&F!=="key"){Je(l),U("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),Je(null);break}}l.ref!==null&&(Je(l),U("Invalid attribute `ref` supplied to `React.Fragment`."),Je(null))}}var Dt={};function tr(l,b,E,F,J,K){{var H=He(l);if(!H){var re="";(l===void 0||typeof l=="object"&&l!==null&&Object.keys(l).length===0)&&(re+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var he=Jt();he?re+=he:re+=Et();var se;l===null?se="null":ce(l)?se="array":l!==void 0&&l.$$typeof===r?(se="<"+(Oe(l.type)||"Unknown")+" />",re=" Did you accidentally export a JSX literal instead of a component?"):se=typeof l,U("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",se,re)}var xe=Pt(l,b,E,J,K);if(xe==null)return xe;if(H){var Ve=b.children;if(Ve!==void 0)if(F)if(ce(Ve)){for(var Ye=0;Ye<Ve.length;Ye++)it(Ve[Ye],l);Object.freeze&&Object.freeze(Ve)}else U("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else it(Ve,l)}if($.call(b,"key")){var Pe=Oe(l),Ge=Object.keys(b).filter(function(Xr){return Xr!=="key"}),mt=Ge.length>0?"{key: someKey, "+Ge.join(": ..., ")+": ...}":"{key: someKey}";if(!Dt[Pe+mt]){var rr=Ge.length>0?"{"+Ge.join(": ..., ")+": ...}":"{}";U(`A props object containing a "key" prop is being spread into JSX:
|
|
65
65
|
let props = %s;
|
|
66
66
|
<%s {...props} />
|
|
67
67
|
React keys must be passed directly to JSX without using spread:
|
|
68
68
|
let props = %s;
|
|
69
|
-
<%s key={someKey} {...props} />`,mr,Ae,rt,Ae),Dr[Ae+mr]=!0}}return l===i?Ar(xe):Cr(xe),xe}}function pt(l,x,E){return et(l,x,E,!0)}function vr(l,x,E){return et(l,x,E,!1)}var gt=vr,v=pt;e.Fragment=i,e.jsx=gt,e.jsxs=v}()}}),L=wt({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"(e,r){process.env.NODE_ENV==="production"?r.exports=Ys():r.exports=zs()}});I(L()),I(L()),I(L());var Ka=I(L());function Xa(e){return(0,Ka.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Ka.jsx)("path",{fill:"currentColor",d:"M4 12.004a1 1 0 0 0 .293.703l6 6a1 1 0 0 0 1.414-1.414L7.414 13H19a1 1 0 1 0 0-2H7.414l4.293-4.293a1 1 0 0 0-1.414-1.414l-6 6a1 1 0 0 0-.293.705z"})})}I(L());var qa=I(L());function Ks(e){return(0,qa.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,qa.jsx)("path",{fill:"currentColor",d:"M11.45 15.335a1 1 0 0 0 1.257-.128l5-5a1 1 0 0 0-1.414-1.414L12 13.086 7.707 8.793a1 1 0 0 0-1.414 1.414l5 5a1 1 0 0 0 .157.128"})})}I(L());var Za=I(L());function Xs(e){return(0,Za.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Za.jsx)("path",{fill:"currentColor",d:"M8.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L10.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})})}var Ja=I(L());function Gn(e){return(0,Ja.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Ja.jsx)("path",{fill:"currentColor",d:"m10.707 6.293 5 5a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414-1.414L13.586 12 9.293 7.707a1 1 0 0 1 1.414-1.414"})})}var Qa=I(L());function qs(e){return(0,Qa.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Qa.jsx)("path",{fill:"currentColor",d:"M17.483 6.29a1 1 0 0 0-.705-.29h-8.07a1 1 0 1 0 0 2h5.656l-8.071 8.071a1 1 0 1 0 1.414 1.414l8.071-8.07v5.656a1 1 0 1 0 2 0v-8.07a1 1 0 0 0-.291-.706l-.002-.002z"})})}I(L()),I(L()),I(L());var ei=I(L());function Zs(e){return(0,ei.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ei.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m10.26 13.845 5.95-5.95a.994.994 0 0 1 1.405-.008.994.994 0 0 1-.008 1.406L10.95 15.95a.994.994 0 0 1-1.406.008l-2.846-2.845a.994.994 0 0 1 .01-1.406.994.994 0 0 1 1.405-.009z",clipRule:"evenodd"})})}var ri=I(L());function Js(e){return(0,ri.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ri.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m4.21-14.104-5.95 5.95-2.147-2.148a.994.994 0 0 0-1.406.009.994.994 0 0 0-.009 1.405l2.846 2.846a.994.994 0 0 0 1.406-.008l6.657-6.657a.994.994 0 0 0 .008-1.406.994.994 0 0 0-1.405.009",clipRule:"evenodd"})})}I(L()),I(L());var ti=I(L());function Vt(e){return(0,ti.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ti.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.707 6.707a1 1 0 0 0-1.414-1.414L12 10.586 6.707 5.293a1 1 0 0 0-1.414 1.415L10.586 12l-5.293 5.293a1 1 0 1 0 1.414 1.414L12 13.414l5.293 5.294a1 1 0 0 0 1.414-1.415L13.414 12z",clipRule:"evenodd"})})}var ni=I(L());function ai(e){return(0,ni.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ni.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v1h1a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-1H6a3 3 0 0 1-3-3zm6 12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm6-11h-5a3 3 0 0 0-3 3v5H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1z",clipRule:"evenodd"})})}I(L()),I(L());var ii=I(L());function Qs(e){return(0,ii.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ii.jsx)("rect",{width:10,height:2,x:7,y:11,fill:"currentColor",rx:1})})}I(L()),I(L()),I(L());var Yn=I(L());function el(e){return(0,Yn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Yn.jsx)("path",{fill:"currentColor",d:"M11.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L13.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"}),(0,Yn.jsx)("path",{fill:"currentColor",d:"M5.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L7.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})]})}var zn=I(L());function rl(e){return(0,zn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,zn.jsx)("path",{fill:"currentColor",d:"M11.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L9.586 12 5.293 7.707a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"}),(0,zn.jsx)("path",{fill:"currentColor",d:"M17.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L15.586 12l-4.293-4.293a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"})]})}I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L());var oi=I(L());function cn(e){return(0,oi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,oi.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18m0-14.4A1.2 1.2 0 1 0 12 9a1.2 1.2 0 0 0 0-2.4m1.2 9a1.2 1.2 0 0 1-2.4 0V12a1.2 1.2 0 0 1 2.4 0z",clipRule:"evenodd"})})}var si=I(L());function tl(e){return(0,si.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,si.jsx)("path",{fill:"currentColor",d:"M18.27 2.259c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.259S16.302 1 17.002 1s1.268.564 1.268 1.259m1.425 17.785c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.26c0-.695.567-1.258 1.267-1.258s1.268.563 1.268 1.259m-2.33-13.379a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.057A1.06 1.06 0 0 0 16.3 5.61a1.06 1.06 0 0 0 1.064 1.056Zm3.891-.651a1.06 1.06 0 0 1-1.063 1.056 1.06 1.06 0 0 1-1.064-1.056 1.06 1.06 0 0 1 1.064-1.057 1.06 1.06 0 0 1 1.063 1.057m-4.253 3.329c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.734-.52c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9m1.357 1.777c.5 0 .906-.402.906-.899s-.405-.9-.906-.9c-.5 0-.905.403-.905.9s.405.9.905.9Zm-2.309.495a.79.79 0 0 1-.792.787.79.79 0 0 1-.791-.787c0-.434.354-.786.791-.786s.792.352.792.786m-3.62.404a.79.79 0 0 0 .792-.787.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .435.354.787.791.787m5.907.471a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.786.79.79 0 0 1 .792-.787.79.79 0 0 1 .791.787Zm-4.21 1.554c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.968.178a.68.68 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675m-5.774-.582c.375 0 .68-.302.68-.675a.68.68 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.127.943c0 .31-.254.561-.566.561a.564.564 0 0 1-.566-.562c0-.31.253-.561.566-.561s.566.251.566.562m.407 2.114a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.791-.09a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m-1.472-.765a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.973-1.64c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.251.566.562m-.588-3.666a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.562.564.564 0 0 0-.565.562c0 .31.253.562.565.562m.745-2.473a.496.496 0 0 1-.497.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494Zm.047-1.123a.406.406 0 0 0 .407-.406.406.406 0 0 0-.407-.405.407.407 0 0 0-.408.405c0 .224.182.406.408.406m-.452-1.26a.496.496 0 0 1-.498.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494m4.776 10.32a.564.564 0 0 0 .566-.561.564.564 0 0 0-.566-.562.564.564 0 0 0-.566.562c0 .31.253.562.566.562ZM12.883 4.439c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.254-.562.566-.562s.566.251.566.562m-.18 2.945a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.561.564.564 0 0 0-.566.561c0 .31.253.562.566.562m.045 1.597a.677.677 0 0 1-.68.676.68.68 0 0 1-.679-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675Zm-2.74.676a.79.79 0 0 0 .791-.786.79.79 0 0 0-.791-.787.79.79 0 0 0-.792.787c0 .434.354.786.792.786m-1.494-.36c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.406-.9.906-.9s.905.403.905.9m-3.529 2.18a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.056A1.06 1.06 0 0 0 3.92 10.42a1.06 1.06 0 0 0 1.064 1.056Zm-1.45.9c0 .696-.568 1.26-1.268 1.26S1 13.073 1 12.377c0-.695.567-1.259 1.267-1.259s1.268.564 1.268 1.26Zm.386-3.531A1.06 1.06 0 0 0 4.985 7.79 1.06 1.06 0 0 0 3.92 6.733 1.06 1.06 0 0 0 2.858 7.79 1.06 1.06 0 0 0 3.92 8.846Zm3.53-2.181c0 .497-.405.9-.906.9a.903.903 0 0 1-.905-.9c0-.496.405-.9.905-.9s.906.404.906.9M6.162 5.182c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.19-1.326a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.787c0-.434.354-.786.792-.786.437 0 .791.352.791.786m1.268.788c.375 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.68.68 0 0 0-.68.675c0 .373.304.676.68.676m1.063 1.708a.68.68 0 0 1-.68.675.677.677 0 0 1-.68-.675c0-.373.305-.675.68-.675s.68.302.68.675m-2.739.695a.79.79 0 0 0 .792-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.791.786m-1.832 5.578a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m1.221.201a.496.496 0 0 0 .497-.494.496.496 0 0 0-.497-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m2.354-1.236c0 .31-.253.562-.565.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.565.252.565.562m-.135 2.361c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.677.677 0 0 0-.68.675c0 .373.304.675.68.675m-1.608-.135c0 .31-.253.562-.566.562a.564.564 0 0 1-.565-.562c0-.31.253-.562.565-.562.313 0 .566.252.566.562m-2.488.538a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m.588.991c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.252.566.562m1.742.855c.376 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.677.677 0 0 0-.68.675c0 .373.305.676.68.676m3.484-1.08a.79.79 0 0 1-.79.786.79.79 0 0 1-.792-.786c0-.435.354-.787.791-.787s.792.352.792.787Zm.794 2.743c.5 0 .906-.402.906-.9 0-.496-.406-.899-.906-.899s-.905.403-.905.9.405.9.905.9Zm-2.536-.518a.79.79 0 0 1-.792.786.79.79 0 0 1-.792-.787.79.79 0 0 1 .792-.786.79.79 0 0 1 .792.787m-2.669 2.316a.79.79 0 0 0 .791-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.792.786m2.466 1.079c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9M13.584 22a1.06 1.06 0 0 0 1.064-1.056 1.06 1.06 0 0 0-1.064-1.057 1.06 1.06 0 0 0-1.063 1.057A1.06 1.06 0 0 0 13.584 22m-1.379-2.788c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.405-.9.905-.9s.906.403.906.9m3.123.54a1.06 1.06 0 0 0 1.063-1.057 1.06 1.06 0 0 0-1.063-1.056 1.06 1.06 0 0 0-1.064 1.056 1.06 1.06 0 0 0 1.064 1.057m-7.741-2.699a.677.677 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.305-.675.68-.675s.68.302.68.675"})})}I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L());var li=I(L());function ui(e){return(0,li.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,li.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.533 9.321A7 7 0 1 0 19 12a1 1 0 1 1 2 0 9 9 0 1 1-9-9 1 1 0 1 1 0 2 7 7 0 0 0-6.467 4.321",clipRule:"evenodd"})})}var ci=I(L());function nl(e){return(0,ci.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ci.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.176 9.577 5 11.5 5s3.482 1.176 3.482 3.104L15 11h2.018L17 8.104C17 5.285 14.31 3 11.5 3S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.817-2.15-2-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}var fi=I(L());function al(e){return(0,fi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,fi.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.5 9.577 5 11.5 5S15 6.5 15 8h2c0-2.82-2.69-5-5.5-5S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.96-2.15-2.143-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}I(L());var di=I(L());function il(e){return(0,di.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,di.jsx)("path",{fill:"currentColor",d:"M21 9a1 1 0 0 1-1 1H4a1 1 0 1 1 0-2h16a1 1 0 0 1 1 1m0 6a1 1 0 0 1-1 1H10a1 1 0 1 1 0-2h10a1 1 0 0 1 1 1"})})}I(L());var vi=I(L());function mi(e){return(0,vi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,vi.jsx)("path",{fill:"currentColor",d:"M5 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4m9-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})})}I(L()),I(L()),I(L()),I(L()),I(L());var Kn=I(L());function ol(e){return(0,Kn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Kn.jsx)("path",{fill:"currentColor",d:"M11 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0m4 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),(0,Kn.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 8a6 6 0 0 1 6-6h8a6 6 0 0 1 6 6v8a6 6 0 0 1-6 6H8a6 6 0 0 1-6-6zm2 0a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v3.871a19.13 19.13 0 0 1-16 0zm0 6.051V16a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-1.949a21.13 21.13 0 0 1-16 0",clipRule:"evenodd"})]})}I(L()),I(L());var hi=I(L());function pi(e){return(0,hi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,hi.jsx)("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})})}var Xn=I(L());function sl(e){return(0,Xn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Xn.jsx)("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),(0,Xn.jsx)("path",{fill:"currentColor",d:"M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"})]})}I(L()),I(L()),I(L()),I(L());var gi=I(L());function ll(e){return(0,gi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,gi.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4a7 7 0 1 0 3.594 13.008l3.699 3.7a1 1 0 0 0 1.414-1.415l-3.555-3.555A7 7 0 0 0 11 4m-5 7a5 5 0 1 1 10 0 5 5 0 0 1-10 0",clipRule:"evenodd"})})}I(L()),I(L()),I(L()),I(L());var xi=I(L());function ul(e){return(0,xi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,xi.jsx)("path",{fill:"currentColor",d:"M12 6a1 1 0 0 0-1 1v9.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L13 16.586V7a1 1 0 0 0-1-1"})})}var bi=I(L());function yi(e){return(0,bi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,bi.jsx)("path",{fill:"currentColor",d:"M11.293 4.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L13 7.414V17a1 1 0 1 1-2 0V7.414L8.707 9.707a1 1 0 0 1-1.414-1.414z"})})}I(L()),I(L()),I(L()),I(L());var _i=I(L());function cl(e){return(0,_i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,_i.jsx)("path",{fill:"currentColor",d:"M17.35 9c.578 0 .867.681.459 1.08l-4.85 4.735a.66.66 0 0 1-.917 0l-4.85-4.735C6.781 9.68 7.071 9 7.648 9z"})})}I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L());var qn=I(L());function wi(e){return(0,qn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,qn.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.72 6.695a1 1 0 1 0-1.44-1.39l-1.518 1.572C14.601 6.348 13.331 6 12 6 8.739 6 5.843 8.092 4.017 9.805c-1.29 1.212-1.29 3.178 0 4.39a18 18 0 0 0 2.666 2.083l-1.695 1.755a1 1 0 0 0 1.438 1.39zM8.67 14.219l5.431-5.623a4 4 0 0 0-5.43 5.623Z",clipRule:"evenodd"}),(0,qn.jsx)("path",{fill:"currentColor",d:"M16 12a4 4 0 0 1-3.975 4l-1.749 1.81c.56.122 1.136.19 1.724.19 3.26 0 6.157-2.092 7.983-3.805 1.29-1.212 1.29-3.178 0-4.39a20 20 0 0 0-1.071-.936l-2.914 3.017z"})]})}var Zn=I(L());function Si(e){return(0,Zn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Zn.jsx)("path",{fill:"currentColor",d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),(0,Zn.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.983 9.805c1.29 1.212 1.29 3.178 0 4.39C18.157 15.908 15.26 18 12 18c-3.261 0-6.157-2.092-7.983-3.805-1.29-1.212-1.29-3.178 0-4.39C5.843 8.092 8.74 6 12 6s6.157 2.092 7.983 3.805M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0",clipRule:"evenodd"})]})}I(L());/*! Bundled license information:
|
|
69
|
+
<%s key={someKey} {...props} />`,mt,Pe,rr,Pe),Dt[Pe+mt]=!0}}return l===i?At(xe):Ct(xe),xe}}function gr(l,b,E){return tr(l,b,E,!0)}function vt(l,b,E){return tr(l,b,E,!1)}var xr=vt,v=gr;e.Fragment=i,e.jsx=xr,e.jsxs=v}()}}),L=Sr({"../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"(e,t){process.env.NODE_ENV==="production"?t.exports=Ys():t.exports=zs()}});I(L()),I(L()),I(L());var Xa=I(L());function qa(e){return(0,Xa.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Xa.jsx)("path",{fill:"currentColor",d:"M4 12.004a1 1 0 0 0 .293.703l6 6a1 1 0 0 0 1.414-1.414L7.414 13H19a1 1 0 1 0 0-2H7.414l4.293-4.293a1 1 0 0 0-1.414-1.414l-6 6a1 1 0 0 0-.293.705z"})})}I(L());var Za=I(L());function Ks(e){return(0,Za.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Za.jsx)("path",{fill:"currentColor",d:"M11.45 15.335a1 1 0 0 0 1.257-.128l5-5a1 1 0 0 0-1.414-1.414L12 13.086 7.707 8.793a1 1 0 0 0-1.414 1.414l5 5a1 1 0 0 0 .157.128"})})}I(L());var Ja=I(L());function Xs(e){return(0,Ja.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Ja.jsx)("path",{fill:"currentColor",d:"M8.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L10.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})})}var Qa=I(L());function Gn(e){return(0,Qa.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,Qa.jsx)("path",{fill:"currentColor",d:"m10.707 6.293 5 5a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414-1.414L13.586 12 9.293 7.707a1 1 0 0 1 1.414-1.414"})})}var ei=I(L());function qs(e){return(0,ei.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ei.jsx)("path",{fill:"currentColor",d:"M17.483 6.29a1 1 0 0 0-.705-.29h-8.07a1 1 0 1 0 0 2h5.656l-8.071 8.071a1 1 0 1 0 1.414 1.414l8.071-8.07v5.656a1 1 0 1 0 2 0v-8.07a1 1 0 0 0-.291-.706l-.002-.002z"})})}I(L()),I(L()),I(L());var ti=I(L());function Zs(e){return(0,ti.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ti.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m10.26 13.845 5.95-5.95a.994.994 0 0 1 1.405-.008.994.994 0 0 1-.008 1.406L10.95 15.95a.994.994 0 0 1-1.406.008l-2.846-2.845a.994.994 0 0 1 .01-1.406.994.994 0 0 1 1.405-.009z",clipRule:"evenodd"})})}var ri=I(L());function Js(e){return(0,ri.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ri.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m4.21-14.104-5.95 5.95-2.147-2.148a.994.994 0 0 0-1.406.009.994.994 0 0 0-.009 1.405l2.846 2.846a.994.994 0 0 0 1.406-.008l6.657-6.657a.994.994 0 0 0 .008-1.406.994.994 0 0 0-1.405.009",clipRule:"evenodd"})})}I(L()),I(L());var ni=I(L());function Ur(e){return(0,ni.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ni.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.707 6.707a1 1 0 0 0-1.414-1.414L12 10.586 6.707 5.293a1 1 0 0 0-1.414 1.415L10.586 12l-5.293 5.293a1 1 0 1 0 1.414 1.414L12 13.414l5.293 5.294a1 1 0 0 0 1.414-1.415L13.414 12z",clipRule:"evenodd"})})}var ai=I(L());function Yn(e){return(0,ai.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ai.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v1h1a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-1H6a3 3 0 0 1-3-3zm6 12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm6-11h-5a3 3 0 0 0-3 3v5H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1z",clipRule:"evenodd"})})}I(L()),I(L());var ii=I(L());function Qs(e){return(0,ii.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ii.jsx)("rect",{width:10,height:2,x:7,y:11,fill:"currentColor",rx:1})})}I(L()),I(L()),I(L());var zn=I(L());function el(e){return(0,zn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,zn.jsx)("path",{fill:"currentColor",d:"M11.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L13.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"}),(0,zn.jsx)("path",{fill:"currentColor",d:"M5.165 11.45a1 1 0 0 0 .128 1.257l5 5a1 1 0 0 0 1.414-1.414L7.414 12l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0-.128.157"})]})}var Kn=I(L());function tl(e){return(0,Kn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Kn.jsx)("path",{fill:"currentColor",d:"M11.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L9.586 12 5.293 7.707a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"}),(0,Kn.jsx)("path",{fill:"currentColor",d:"M17.835 11.45a1 1 0 0 1-.128 1.257l-5 5a1 1 0 0 1-1.414-1.414L15.586 12l-4.293-4.293a1 1 0 0 1 1.414-1.414l5 5a1 1 0 0 1 .128.157"})]})}I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L());var oi=I(L());function cn(e){return(0,oi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,oi.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18m0-14.4A1.2 1.2 0 1 0 12 9a1.2 1.2 0 0 0 0-2.4m1.2 9a1.2 1.2 0 0 1-2.4 0V12a1.2 1.2 0 0 1 2.4 0z",clipRule:"evenodd"})})}var si=I(L());function rl(e){return(0,si.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,si.jsx)("path",{fill:"currentColor",d:"M18.27 2.259c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.259S16.302 1 17.002 1s1.268.564 1.268 1.259m1.425 17.785c0 .695-.568 1.259-1.268 1.259s-1.267-.564-1.267-1.26c0-.695.567-1.258 1.267-1.258s1.268.563 1.268 1.259m-2.33-13.379a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.057A1.06 1.06 0 0 0 16.3 5.61a1.06 1.06 0 0 0 1.064 1.056Zm3.891-.651a1.06 1.06 0 0 1-1.063 1.056 1.06 1.06 0 0 1-1.064-1.056 1.06 1.06 0 0 1 1.064-1.057 1.06 1.06 0 0 1 1.063 1.057m-4.253 3.329c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.734-.52c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9m1.357 1.777c.5 0 .906-.402.906-.899s-.405-.9-.906-.9c-.5 0-.905.403-.905.9s.405.9.905.9Zm-2.309.495a.79.79 0 0 1-.792.787.79.79 0 0 1-.791-.787c0-.434.354-.786.791-.786s.792.352.792.786m-3.62.404a.79.79 0 0 0 .792-.787.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .435.354.787.791.787m5.907.471a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.786.79.79 0 0 1 .792-.787.79.79 0 0 1 .791.787Zm-4.21 1.554c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.968.178a.68.68 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675m-5.774-.582c.375 0 .68-.302.68-.675a.68.68 0 0 0-.68-.675.68.68 0 0 0-.68.675c0 .373.304.675.68.675m2.127.943c0 .31-.254.561-.566.561a.564.564 0 0 1-.566-.562c0-.31.253-.561.566-.561s.566.251.566.562m.407 2.114a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.791-.09a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m-1.472-.765a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m-.973-1.64c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.251.566.562m-.588-3.666a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.562.564.564 0 0 0-.565.562c0 .31.253.562.565.562m.745-2.473a.496.496 0 0 1-.497.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494Zm.047-1.123a.406.406 0 0 0 .407-.406.406.406 0 0 0-.407-.405.407.407 0 0 0-.408.405c0 .224.182.406.408.406m-.452-1.26a.496.496 0 0 1-.498.494.496.496 0 0 1-.498-.494c0-.273.223-.494.498-.494s.498.22.498.494m4.776 10.32a.564.564 0 0 0 .566-.561.564.564 0 0 0-.566-.562.564.564 0 0 0-.566.562c0 .31.253.562.566.562ZM12.883 4.439c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.254-.562.566-.562s.566.251.566.562m-.18 2.945a.564.564 0 0 0 .566-.562.564.564 0 0 0-.566-.561.564.564 0 0 0-.566.561c0 .31.253.562.566.562m.045 1.597a.677.677 0 0 1-.68.676.68.68 0 0 1-.679-.676c0-.373.304-.675.68-.675.375 0 .68.302.68.675Zm-2.74.676a.79.79 0 0 0 .791-.786.79.79 0 0 0-.791-.787.79.79 0 0 0-.792.787c0 .434.354.786.792.786m-1.494-.36c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.406-.9.906-.9s.905.403.905.9m-3.529 2.18a1.06 1.06 0 0 0 1.063-1.056 1.06 1.06 0 0 0-1.063-1.056A1.06 1.06 0 0 0 3.92 10.42a1.06 1.06 0 0 0 1.064 1.056Zm-1.45.9c0 .696-.568 1.26-1.268 1.26S1 13.073 1 12.377c0-.695.567-1.259 1.267-1.259s1.268.564 1.268 1.26Zm.386-3.531A1.06 1.06 0 0 0 4.985 7.79 1.06 1.06 0 0 0 3.92 6.733 1.06 1.06 0 0 0 2.858 7.79 1.06 1.06 0 0 0 3.92 8.846Zm3.53-2.181c0 .497-.405.9-.906.9a.903.903 0 0 1-.905-.9c0-.496.405-.9.905-.9s.906.404.906.9M6.162 5.182c.5 0 .905-.403.905-.9 0-.496-.405-.9-.905-.9s-.906.404-.906.9c0 .497.406.9.906.9m3.19-1.326a.79.79 0 0 1-.791.787.79.79 0 0 1-.792-.787c0-.434.354-.786.792-.786.437 0 .791.352.791.786m1.268.788c.375 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.68.68 0 0 0-.68.675c0 .373.304.676.68.676m1.063 1.708a.68.68 0 0 1-.68.675.677.677 0 0 1-.68-.675c0-.373.305-.675.68-.675s.68.302.68.675m-2.739.695a.79.79 0 0 0 .792-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.791.786m-1.832 5.578a.407.407 0 0 1-.408.405.407.407 0 0 1-.408-.405c0-.223.182-.405.408-.405s.408.181.408.405m1.221.201a.496.496 0 0 0 .497-.494.496.496 0 0 0-.497-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m2.354-1.236c0 .31-.253.562-.565.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.565.252.565.562m-.135 2.361c.375 0 .68-.302.68-.675a.677.677 0 0 0-.68-.675.677.677 0 0 0-.68.675c0 .373.304.675.68.675m-1.608-.135c0 .31-.253.562-.566.562a.564.564 0 0 1-.565-.562c0-.31.253-.562.565-.562.313 0 .566.252.566.562m-2.488.538a.496.496 0 0 0 .498-.494.496.496 0 0 0-.498-.495.496.496 0 0 0-.498.495c0 .273.223.494.498.494m.588.991c0 .31-.254.562-.566.562a.564.564 0 0 1-.566-.562c0-.31.253-.562.566-.562s.566.252.566.562m1.742.855c.376 0 .68-.303.68-.675a.677.677 0 0 0-.68-.676.677.677 0 0 0-.68.675c0 .373.305.676.68.676m3.484-1.08a.79.79 0 0 1-.79.786.79.79 0 0 1-.792-.786c0-.435.354-.787.791-.787s.792.352.792.787Zm.794 2.743c.5 0 .906-.402.906-.9 0-.496-.406-.899-.906-.899s-.905.403-.905.9.405.9.905.9Zm-2.536-.518a.79.79 0 0 1-.792.786.79.79 0 0 1-.792-.787.79.79 0 0 1 .792-.786.79.79 0 0 1 .792.787m-2.669 2.316a.79.79 0 0 0 .791-.786.79.79 0 0 0-.792-.786.79.79 0 0 0-.791.786c0 .434.354.786.792.786m2.466 1.079c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.496.405-.9.906-.9.5 0 .905.404.905.9M13.584 22a1.06 1.06 0 0 0 1.064-1.056 1.06 1.06 0 0 0-1.064-1.057 1.06 1.06 0 0 0-1.063 1.057A1.06 1.06 0 0 0 13.584 22m-1.379-2.788c0 .497-.405.9-.905.9a.903.903 0 0 1-.906-.9c0-.497.405-.9.905-.9s.906.403.906.9m3.123.54a1.06 1.06 0 0 0 1.063-1.057 1.06 1.06 0 0 0-1.063-1.056 1.06 1.06 0 0 0-1.064 1.056 1.06 1.06 0 0 0 1.064 1.057m-7.741-2.699a.677.677 0 0 1-.68.676.677.677 0 0 1-.68-.676c0-.373.305-.675.68-.675s.68.302.68.675"})})}I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L());var li=I(L());function ui(e){return(0,li.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,li.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.533 9.321A7 7 0 1 0 19 12a1 1 0 1 1 2 0 9 9 0 1 1-9-9 1 1 0 1 1 0 2 7 7 0 0 0-6.467 4.321",clipRule:"evenodd"})})}var ci=I(L());function nl(e){return(0,ci.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,ci.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.176 9.577 5 11.5 5s3.482 1.176 3.482 3.104L15 11h2.018L17 8.104C17 5.285 14.31 3 11.5 3S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.817-2.15-2-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}var fi=I(L());function al(e){return(0,fi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,fi.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 11V8.104C8 6.5 9.577 5 11.5 5S15 6.5 15 8h2c0-2.82-2.69-5-5.5-5S6 5.285 6 8.104V11c-1.183 0-2 .962-2 2.15v5.7C4 20.039 4.96 21 6.143 21h10.714A2.146 2.146 0 0 0 19 18.85v-5.7c0-1.188-.96-2.15-2.143-2.15zm5.321 5.272c0 .95-.767 1.72-1.714 1.72s-1.714-.77-1.714-1.72.767-1.72 1.714-1.72 1.714.77 1.714 1.72",clipRule:"evenodd"})})}I(L());var di=I(L());function il(e){return(0,di.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,di.jsx)("path",{fill:"currentColor",d:"M21 9a1 1 0 0 1-1 1H4a1 1 0 1 1 0-2h16a1 1 0 0 1 1 1m0 6a1 1 0 0 1-1 1H10a1 1 0 1 1 0-2h10a1 1 0 0 1 1 1"})})}I(L());var vi=I(L());function mi(e){return(0,vi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,vi.jsx)("path",{fill:"currentColor",d:"M5 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4m9-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})})}I(L()),I(L()),I(L()),I(L()),I(L());var Xn=I(L());function ol(e){return(0,Xn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Xn.jsx)("path",{fill:"currentColor",d:"M11 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0m4 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),(0,Xn.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 8a6 6 0 0 1 6-6h8a6 6 0 0 1 6 6v8a6 6 0 0 1-6 6H8a6 6 0 0 1-6-6zm2 0a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v3.871a19.13 19.13 0 0 1-16 0zm0 6.051V16a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-1.949a21.13 21.13 0 0 1-16 0",clipRule:"evenodd"})]})}I(L()),I(L());var hi=I(L());function pi(e){return(0,hi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,hi.jsx)("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})})}var qn=I(L());function sl(e){return(0,qn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,qn.jsx)("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),(0,qn.jsx)("path",{fill:"currentColor",d:"M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"})]})}I(L()),I(L()),I(L()),I(L());var gi=I(L());function ll(e){return(0,gi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,gi.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4a7 7 0 1 0 3.594 13.008l3.699 3.7a1 1 0 0 0 1.414-1.415l-3.555-3.555A7 7 0 0 0 11 4m-5 7a5 5 0 1 1 10 0 5 5 0 0 1-10 0",clipRule:"evenodd"})})}I(L()),I(L()),I(L()),I(L());var xi=I(L());function ul(e){return(0,xi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,xi.jsx)("path",{fill:"currentColor",d:"M12 6a1 1 0 0 0-1 1v9.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L13 16.586V7a1 1 0 0 0-1-1"})})}var bi=I(L());function yi(e){return(0,bi.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,bi.jsx)("path",{fill:"currentColor",d:"M11.293 4.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L13 7.414V17a1 1 0 1 1-2 0V7.414L8.707 9.707a1 1 0 0 1-1.414-1.414z"})})}I(L()),I(L()),I(L()),I(L());var _i=I(L());function cl(e){return(0,_i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:(0,_i.jsx)("path",{fill:"currentColor",d:"M17.35 9c.578 0 .867.681.459 1.08l-4.85 4.735a.66.66 0 0 1-.917 0l-4.85-4.735C6.781 9.68 7.071 9 7.648 9z"})})}I(L()),I(L()),I(L()),I(L()),I(L()),I(L()),I(L());var Zn=I(L());function wi(e){return(0,Zn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Zn.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.72 6.695a1 1 0 1 0-1.44-1.39l-1.518 1.572C14.601 6.348 13.331 6 12 6 8.739 6 5.843 8.092 4.017 9.805c-1.29 1.212-1.29 3.178 0 4.39a18 18 0 0 0 2.666 2.083l-1.695 1.755a1 1 0 0 0 1.438 1.39zM8.67 14.219l5.431-5.623a4 4 0 0 0-5.43 5.623Z",clipRule:"evenodd"}),(0,Zn.jsx)("path",{fill:"currentColor",d:"M16 12a4 4 0 0 1-3.975 4l-1.749 1.81c.56.122 1.136.19 1.724.19 3.26 0 6.157-2.092 7.983-3.805 1.29-1.212 1.29-3.178 0-4.39a20 20 0 0 0-1.071-.936l-2.914 3.017z"})]})}var Jn=I(L());function Si(e){return(0,Jn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,Jn.jsx)("path",{fill:"currentColor",d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4"}),(0,Jn.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.983 9.805c1.29 1.212 1.29 3.178 0 4.39C18.157 15.908 15.26 18 12 18c-3.261 0-6.157-2.092-7.983-3.805-1.29-1.212-1.29-3.178 0-4.39C5.843 8.092 8.74 6 12 6s6.157 2.092 7.983 3.805M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0",clipRule:"evenodd"})]})}I(L());/*! Bundled license information:
|
|
70
70
|
|
|
71
71
|
react/cjs/react.production.min.js:
|
|
72
72
|
(**
|
|
@@ -111,7 +111,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
111
111
|
* This source code is licensed under the MIT license found in the
|
|
112
112
|
* LICENSE file in the root directory of this source tree.
|
|
113
113
|
*)
|
|
114
|
-
*/function fl({label:e,isChecked:
|
|
114
|
+
*/function fl({label:e,isChecked:t,isDisabled:r,onChange:n}){const i=t?sl:pi;return o.jsxs("label",{className:N("group flex flex-row gap-x-1 text-center",{disabled:r,"cursor-pointer":!r}),children:[o.jsxs("div",{className:N("relative flex h-10 w-10 items-center justify-center rounded-full",{"state-layer":!r}),children:[o.jsx("input",{type:"radio",checked:t,onChange:n,disabled:r,className:N("peer appearance-none disabled:opacity-40")}),o.jsx("span",{className:`absolute
|
|
115
115
|
text-neutral-40 peer-checked:text-primary-30 peer-disabled:opacity-40 peer-checked:peer-disabled:text-neutral-40 dark:text-neutral-60 dark:peer-checked:peer-disabled:text-neutral-40 [&_svg]:h-6 [&_svg]:w-6
|
|
116
116
|
`,children:o.jsx(i,{})})]}),o.jsx("span",{className:"inline-flex items-center justify-center text-label-lg text-neutral-40 group-[.disabled]:text-opacity-40 dark:text-neutral-60 group-[.disabled]:dark:text-opacity-40",children:e})]})}const dl="bg-transparent",vl="bg-primary-100 dark:bg-neutral-6",ml="text-neutral-60 dark:text-neutral-40 enabled:hover:text-neutral-40 enabled:dark:hover:text-neutral-60 enabled:focused:text-neutral-40 enabled:dark:focused:text-neutral-60",hl="text-neutral-10 dark:text-neutral-92",pl=`
|
|
117
117
|
relative
|
|
@@ -142,30 +142,30 @@ React keys must be passed directly to JSX without using spread:
|
|
|
142
142
|
hover:before:w-[calc(100%-16px)]
|
|
143
143
|
hover:before:left-2
|
|
144
144
|
hover:before:border-neutral-70
|
|
145
|
-
hover:before:dark:border-neutral-40`;var St=(e=>(e.Rounded="rounded",e.Underlined="underlined",e))(St||{});function xl({icon:e,label:r,selected:t,disabled:n,onClick:i,type:s=St.Rounded}){const u=s===St.Underlined,f=t?u?"bg-transparent":vl:dl,g=u?t?pl:gl:"",h=t?hl:ml,_=u?"px-lg py-md":"px-sm py-[6px]",b=u?"":"rounded-full",j=u?"text-title-md":"text-label-lg";return o.jsx(ar,{onClick:i,className:N("enabled:state-layer relative flex items-center disabled:opacity-40",f,h,_,b,g,{"pl-xs":!!e&&!u}),disabled:n,children:o.jsxs("div",{className:N("flex flex-row items-center justify-center gap-2",j),children:[e&&o.jsx("span",{children:e}),o.jsx("span",{className:"font-inter",children:r})]})})}const Jn=Q.forwardRef(({isChecked:e,isIndeterminate:r,label:t,isLabelFirst:n,isDisabled:i,onCheckedChange:s,name:u},f)=>{const g=Q.useRef(null);Q.useEffect(()=>{g.current&&(g.current.indeterminate=r??!1)},[r,g]);const h=r?Qs:Zs;function _(b){f&&(typeof f=="function"?f(b):f.current=b),g.current=b}return o.jsxs("div",{className:N("group inline-flex",n?"flex-row-reverse":"flex-row",{disabled:i,"gap-x-2":t}),children:[o.jsx("input",{id:u,name:u,type:"checkbox",className:"peer hidden appearance-none",checked:e,ref:_,disabled:i,onChange:b=>{s==null||s(b)}}),o.jsx("span",{onClick:()=>{var b;return(b=g.current)==null?void 0:b.click()},className:"peer-enabled:state-layer relative inset-0 flex h-5 w-5 items-center justify-center rounded border border-neutral-80 text-neutral-40 group-[.disabled]:cursor-not-allowed peer-disabled:text-neutral-70 peer-disabled:text-opacity-40 peer-disabled:opacity-40 peer-[&:is(:checked,:indeterminate)]:border-primary-30 peer-[&:is(:checked,:indeterminate)]:bg-primary-30 peer-[&:is(:checked,:indeterminate)]:text-white peer-[&:not(:checked,:indeterminate)]:text-opacity-40 disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-70 dark:border-neutral-20 dark:text-neutral-60 dark:peer-disabled:text-neutral-30 dark:peer-disabled:text-opacity-40 dark:peer-disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-30 dark:peer-disabled:peer-[&:is(:checked,:indeterminate)]:bg-neutral-40 peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-60 peer-disabled:[&:is(:checked,:indeterminate)]:bg-neutral-60 dark:peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-40 [&_svg]:h-4 [&_svg]:w-4 peer-[&:not(:checked,:indeterminate)]:[&_svg]:hidden",children:o.jsx(h,{})}),o.jsx(bl,{label:t,name:u})]})});function bl({label:e,name:r}){return o.jsx("label",{htmlFor:r,className:"text-label-lg text-neutral-40 group-[.disabled]:cursor-not-allowed group-[.disabled]:text-opacity-40 dark:text-neutral-60 group-[.disabled]:dark:text-opacity-40",children:e})}var Hr=(e=>(e.Vertical="vertical",e.Horizontal="horizontal",e))(Hr||{});const yl="bg-shader-neutral-light-8 dark:bg-shader-neutral-dark-8",_l={[Hr.Horizontal]:"w-full",[Hr.Vertical]:"h-full"},wl="1px";function Ei({type:e=Hr.Horizontal,width:r,height:t,lineHeight:n=wl}){const i={...e===Hr.Horizontal?{height:n}:{width:n}};let s=_l[e];return r&&e===Hr.Horizontal?s=r:t&&e===Hr.Vertical&&(s=t),o.jsx("div",{className:N(yl,s),style:i})}var Ut=(e=>(e.Small="small",e.Medium="medium",e))(Ut||{}),at=(e=>(e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e))(at||{});const Sl={[at.Top]:"bottom-full left-1/2 transform -translate-x-1/2 mb-1",[at.Bottom]:"top-full left-1/2 transform -translate-x-1/2 mt-1",[at.Left]:"top-1/2 right-full transform -translate-y-1/2 mr-1",[at.Right]:"top-1/2 left-full transform -translate-y-1/2 ml-1"};function Et({text:e,position:r=at.Top,maxWidth:t="max-w-[200px]",children:n}){const i=Sl[r];return o.jsxs("div",{className:"group relative inline-block",children:[n,o.jsx("div",{className:N("absolute z-[999] hidden w-max rounded bg-neutral-80 p-xs text-neutral-10 opacity-0 transition-opacity duration-300 group-hover:block group-hover:opacity-100 group-focus:opacity-100 dark:bg-neutral-30 dark:text-neutral-92",i,t),role:"tooltip",children:o.jsx("p",{className:"w-full break-words",children:e})})]})}function El({keyText:e,value:r,tooltipPosition:t,tooltipText:n,supportingLabel:i,size:s=Ut.Small,isTruncated:u=!1,copyText:f,onCopySuccess:g,onCopyError:h,fullwidth:_,isReverse:b=!1,valueHoverTitle:j}){const R=b?"flex-row-reverse":"flex-row";async function k(O){if(navigator.clipboard&&f)try{await navigator.clipboard.writeText(f),g==null||g(O,f)}catch(A){console.error("Failed to copy:",A),h==null||h(A,f)}}return o.jsxs("div",{className:N("flex w-full items-baseline gap-xs py-xxs font-inter",R,{"justify-between":_}),children:[o.jsxs("div",{className:N("flex shrink-0 flex-row items-center gap-x-0.5",{"w-1/4":!_}),children:[o.jsx("span",{className:"text-body-md text-neutral-40 dark:text-neutral-60",children:e}),n&&o.jsx(Et,{text:n,position:t,children:o.jsx(cn,{className:"text-neutral-60 dark:text-neutral-40"})})]}),o.jsxs("div",{className:N("flex flex-row items-baseline gap-1 break-all",{"w-3/4":!_,truncate:u}),children:[o.jsx("span",{title:j,className:N("text-neutral-10 dark:text-neutral-92",s===Ut.Medium?"text-body-lg":"text-body-md",{truncate:u}),children:r}),i&&o.jsx("span",{className:N("text-neutral-60 dark:text-neutral-40",s===Ut.Medium?"text-body-md":"text-body-sm"),children:i}),o.jsx("div",{className:"self-center",children:f&&o.jsx(ar,{onClick:k,children:o.jsx(ai,{className:"text-neutral-60 dark:text-neutral-40"})})})]})]})}var lr=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(lr||{});const Cl={[lr.Small]:"text-title-sm",[lr.Medium]:"text-title-md",[lr.Large]:"text-title-lg"},jl={[lr.Small]:"text-label-md",[lr.Medium]:"text-label-md",[lr.Large]:"text-label-lg"},Rl={[lr.Small]:"text-label-md",[lr.Medium]:"text-label-md",[lr.Large]:"text-label-lg"};function Tl({size:e=lr.Medium,isCentered:r,supportingLabel:t,label:n,text:i,tooltipPosition:s,tooltipText:u}){const f=Cl[e],g=jl[e],h=Rl[e],_=r?"items-center":"items-start",b=e===lr.Small?"gap-0.5":"gap-1";return o.jsxs("div",{className:N("flex flex-col",_,b),children:[o.jsxs("div",{className:"flex flex-row flex-wrap items-center gap-0.5",children:[o.jsx("span",{className:N("font-inter text-neutral-10 dark:text-neutral-92",f),children:i}),t&&o.jsx("span",{className:N("font-inter text-neutral-60 dark:text-neutral-40",g),children:t})]}),o.jsx("div",{className:"flex flex-row items-center gap-x-0.5",children:o.jsxs("span",{className:N("flex items-center font-inter text-neutral-60 dark:text-neutral-40",h),children:[n,u&&o.jsx("div",{className:"ml-xxxs flex items-center",children:o.jsx(Et,{text:u,position:s,children:o.jsx(cn,{className:"text-neutral-60 dark:text-neutral-40"})})})]})})]})}function Ci({showRightIcon:e,hideBottomBorder:r,onClick:t,isDisabled:n,children:i,isHighlighted:s}){function u(g){(g.key==="Enter"||g.key===" ")&&!n&&t&&t()}function f(){!n&&t&&t()}return o.jsx("div",{className:N("w-full",{"border-b border-shader-neutral-light-8 pb-xs dark:border-shader-neutral-dark-8":!r},{"opacity-40":n}),children:o.jsxs("div",{onClick:f,role:"button",tabIndex:0,onKeyDown:u,className:N("relative flex flex-row items-center justify-between px-md py-sm text-neutral-10 dark:text-neutral-92",!n&&t?"cursor-pointer":"cursor-default",{"bg-shader-primary-dark-16 dark:bg-shader-inverted-dark-16":s,"state-layer":!n}),children:[i,e&&o.jsx(dr,{size:er.Small,type:Ee.Ghost,disabled:n,icon:o.jsx(Gn,{})})]})})}function Ol({title:e,titleCentered:r,onBack:t,onClose:n,testId:i}){const s=r?"text-center":t?"ml-1":"",u=r&&(!t||!n);return o.jsxs("div",{className:"flex min-h-[56px] w-full items-center bg-neutral-100 px-md--rs pb-xs pt-sm text-neutral-10 dark:bg-neutral-6 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",children:[t?o.jsx(dr,{size:er.Small,type:Ee.Ghost,onClick:t,icon:o.jsx(Xa,{})}):u&&o.jsx("div",{className:"w-9"}),o.jsx("div",{className:N("flex-grow",s),children:o.jsx("span",{className:"font-inter text-title-lg","data-testid":i,children:e})}),n?o.jsx(dr,{size:er.Small,type:Ee.Ghost,onClick:n,icon:o.jsx(Vt,{}),testId:"close-icon"}):u&&o.jsx("div",{className:"w-9"})]})}function kl({children:e,hasBorder:r,bgColor:t="bg-neutral-100 dark:bg-neutral-6"}){const n=r?"border border-shader-neutral-light-8 dark:border-shader-neutral-dark-8":"border border-transparent";return o.jsx("div",{className:N("flex w-full flex-col rounded-xl",t,n),children:e})}var Rr=(e=>(e.Default="default",e.Error="error",e.Success="success",e.Warning="warning",e))(Rr||{}),Wt=(e=>(e.Default="default",e.Elevated="elevated",e))(Wt||{});const Nl={[Rr.Default]:"bg-primary-90 dark:bg-primary-10 text-primary-20 dark:text-primary-90",[Rr.Error]:"bg-error-90 dark:bg-error-10 text-error-20 dark:text-error-90",[Rr.Success]:"bg-tertiary-90 dark:bg-tertiary-10 text-tertiary-20 dark:text-tertiary-90",[Rr.Warning]:"bg-warning-90 dark:bg-warning-20 text-warning-10 dark:text-warning-90"},Pl={[Rr.Default]:"bg-primary-90 dark:bg-primary-10",[Rr.Error]:"bg-error-90 dark:bg-error-10",[Rr.Success]:"bg-tertiary-90 dark:bg-tertiary-10",[Rr.Warning]:"bg-warning-90 dark:bg-warning-20"};function Al({icon:e,title:r,supportingText:t,type:n,style:i}){const s=Nl[n],u=i===Wt.Elevated?Pl[n]:"";return o.jsxs("div",{className:N("flex flex-row items-start gap-4 py-xs pr-lg",u,{"rounded-lg pl-xs":i===Wt.Elevated}),children:[e&&o.jsx("span",{className:N("flex items-center justify-center rounded-lg [&_svg]:h-4 [&_svg]:w-4",s,{"p-xs":i===Wt.Default}),children:e}),o.jsxs("div",{className:"flex flex-col gap-1",children:[r&&o.jsx("span",{className:"text-title-sm text-neutral-10 dark:text-neutral-92",children:r}),t&&o.jsx("span",{className:"text-body-sm text-neutral-40 dark:text-neutral-60",children:t})]})]})}var hr=(e=>(e.Default="default",e.Error="error",e.Warning="warning",e.Success="success",e))(hr||{});const ji={[hr.Default]:"text-neutral-10 dark:text-neutral-92",[hr.Error]:"text-error-20 dark:text-error-90",[hr.Warning]:"text-warning-10 dark:text-warning-90",[hr.Success]:"text-tertiary-20 dark:text-tertiary-90"},Dl={[hr.Default]:"bg-primary-90 dark:bg-primary-10",[hr.Error]:"bg-error-90 dark:bg-error-10",[hr.Warning]:"bg-warning-90 dark:bg-warning-20",[hr.Success]:"bg-tertiary-90 dark:bg-tertiary-10"};function Il({text:e,duration:r=2e3,onClose:t,showClose:n,type:i=hr.Default}){return Q.useEffect(()=>{if(r){const s=setTimeout(t,r);return()=>clearTimeout(s)}},[r,t]),o.jsxs("div",{className:N("transition-all duration-300 ease-out","z-99 bottom-0","flex w-full items-center justify-between gap-xxs rounded-md py-sm pl-md pr-sm",Dl[i]),children:[o.jsx("div",{className:N("w-full text-left text-body-md",ji[i]),children:e}),n&&o.jsx(Vt,{className:N("h-5 w-5 cursor-pointer",ji[i]),onClick:t})]})}var fn=(e=>(e.Image="image",e.Video="video",e))(fn||{});function Ll({assetType:e=fn.Image,assetSrc:r,altText:t,onIconClick:n,onClick:i,icon:s=o.jsx(mi,{}),assetTitle:u,isHoverable:f=!0}){const[g,h]=Q.useState(!1),_=b=>{n==null||n(b),b==null||b.stopPropagation()};return o.jsxs("div",{className:N("relative aspect-square w-full overflow-hidden rounded-xl",{"group cursor-pointer":f}),onClick:i,children:[e===fn.Video?o.jsx("video",{src:r,className:"h-full w-full object-cover",autoPlay:!0,loop:!0,muted:!0}):g?o.jsx("div",{className:"flex h-full w-full items-center justify-center bg-neutral-96 dark:bg-neutral-10",children:o.jsx(ol,{className:"h-4 w-4 text-neutral-40 dark:text-neutral-60"})}):o.jsx("img",{src:r,alt:t,className:"h-full w-full object-cover",onError:()=>h(!0)}),f&&o.jsx("div",{className:"absolute left-0 top-0 h-full w-full bg-cover bg-center bg-no-repeat group-hover:bg-shader-neutral-light-48 group-hover:transition group-hover:duration-300 group-hover:ease-in-out group-hover:dark:bg-shader-primary-dark-48"}),f&&n&&o.jsx(ar,{className:"absolute right-2 top-2 h-9 w-9 cursor-pointer rounded-full p-xs opacity-0 transition-opacity duration-300 group-hover:bg-shader-neutral-light-72 group-hover:opacity-100 [&_svg]:h-5 [&_svg]:w-5 [&_svg]:text-primary-100",onClick:_,children:s}),f&&u&&o.jsx("div",{className:"absolute bottom-0 flex items-center justify-center p-xs opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:o.jsx("span",{className:"text-title-md text-neutral-100",children:u})})]})}function Ml({color:e="text-primary-30 dark:text-primary-80",size:r="w-5 h-5",text:t,testId:n}){return o.jsxs("div",{className:"flex items-center justify-center gap-xs",children:[o.jsx(ui,{className:N("animate-spin",e,r),"data-testid":n}),t&&o.jsx("span",{className:N("text-body-sm",e),children:t})]})}function Ri({width:e="w-full",height:r="h-4"}){return o.jsx("div",{className:N("animate-pulse rounded-md bg-gradient-to-r from-shader-primary-light-8 bg-[length:1000px_100%] dark:from-shader-primary-dark-8",e,r)})}function Fl({children:e,widthClass:r="w-full",heightClass:t="h-3",hasSecondaryColors:n,isRounded:i=!0}){return o.jsx("div",{className:N("animate-pulse rounded-full",r,t,i&&"rounded-full",n?"bg-neutral-80 dark:bg-neutral-10":"bg-neutral-90 dark:bg-neutral-12"),children:e})}var Mr=(e=>(e.Small="small",e.Default="default",e))(Mr||{}),dn=(e=>(e.Left="left",e.Right="right",e))(dn||{});const Bl="relative inline-flex items-center p-xxs border rounded-full cursor-pointer",vn={active:"bg-primary-30 border-primary-30",inactive:"bg-primary-100 dark:bg-neutral-6 border-neutral-70 dark:border-neutral-40",disabledActive:"bg-neutral-70 border-neutral-70",disabled:"opacity-40 cursor-not-allowed"},Vl={[Mr.Small]:"h-5 w-10",[Mr.Default]:"h-6 w-12"},Ul="absolute rounded-full transition-all duration-200 ease-in",Ti={[Mr.Small]:{unchecked:"left-1",checked:"left-8 -translate-x-full"},[Mr.Default]:{unchecked:"left-1",checked:"left-10 -translate-x-full"}},Oi={unchecked:"bg-neutral-60",checked:"bg-white"},Wl={[Mr.Small]:"h-3 w-3",[Mr.Default]:"h-4 w-4"},$l="inline-flex items-center gap-2",Hl="text-label-lg text-neutral-40 dark:text-neutral-60",Gl=Q.forwardRef(({label:e,isToggled:r,labelPosition:t=dn.Right,isDisabled:n=!1,onChange:i,name:s,size:u=Mr.Default,testId:f},g)=>{const h=Q.useRef(null);function _(A){const D=A.target.checked;i==null||i(D,A)}function b(A){g&&(typeof g=="function"?g(A):g.current=A),h.current=A}const j=N(Bl,{[vn.active]:r&&!n,[vn.inactive]:!r,[vn.disabledActive]:n&&r,[vn.disabled]:n,[Vl[u]]:!0}),R=N(Ul,{[Ti[u].unchecked]:!r,[Ti[u].checked]:r,[Oi.unchecked]:!r,[Oi.checked]:r,[Wl[u]]:!0}),k=N($l,{"flex-row-reverse":t===dn.Left,"cursor-not-allowed":n}),O=N(Hl,{"opacity-40":n&&!r});return o.jsxs("div",{className:k,children:[o.jsx("input",{id:s,name:s,type:"checkbox",className:"sr-only",checked:r,ref:b,disabled:n,onChange:_,"data-testid":f}),o.jsx("span",{role:"switch",onClick:()=>{var A;return(A=h.current)==null?void 0:A.click()},className:j,children:o.jsx("span",{className:R})}),e&&o.jsx("label",{htmlFor:s,className:O,children:e})]})});function ki({text:e,isCopyable:r,isExternal:t,externalLink:n,copyText:i=e,onCopySuccess:s,onCopyError:u,onOpen:f}){async function g(_){if(navigator.clipboard){_==null||_.stopPropagation();try{await navigator.clipboard.writeText(i),s==null||s(_,i)}catch(b){console.error("Failed to copy:",b),u==null||u(b,i)}}}function h(_){if(_==null||_.stopPropagation(),n){const b=window.open(n,"_blank","noopener noreferrer");b&&(b.opener=null)}else f==null||f(_)}return o.jsxs("div",{className:"group flex flex-row items-center gap-1 text-neutral-40 dark:text-neutral-60",children:[o.jsx("span",{className:N("font-inter text-body-sm"),children:e}),r&&o.jsx(ar,{onClick:g,className:"opacity-0 group-hover:opacity-100",children:o.jsx(ai,{})}),t&&o.jsx(ar,{onClick:h,className:"opacity-0 group-hover:opacity-100",children:o.jsx(qs,{})})]})}var Fr=(e=>(e.Default="default",e.Selected="selected",e))(Fr||{});const Ni="rounded-full",Yl={[Fr.Default]:"bg-transparent",[Fr.Selected]:"bg-primary-90 dark:bg-primary-10"},zl="outline outline-1 outline-transparent hover:outline-shader-primary-light-8 active:outline-shader-primary-light-12 dark:hover:outline-shader-primary-dark-8 dark:active:outline-shader-primary-dark-12 hover:bg-shader-primary-light-8 active:bg-shader-primary-light-12 dark:hover:bg-shader-primary-dark-8 dark:active:bg-shader-primary-dark-12 focus:bg-shader-primary-light-12 dark:focus:bg-shader-primary-dark-12",Kl={[Fr.Default]:"border-neutral-70 dark:border-neutral-40",[Fr.Selected]:"border-transparent"},Xl={[Fr.Default]:"text-neutral-40 dark:text-neutral-60",[Fr.Selected]:"text-neutral-10 dark:text-neutral-92"},ql="focus-visible:shadow-[0_0_0_2px] focus-visible:shadow-primary-30 focus-visible:outline-none dark:focus-visible:shadow-primary-80";function Zl({label:e,showClose:r,selected:t,onClose:n,onClick:i,avatar:s,leadingElement:u,trailingElement:f,disabled:g}){const h=t?Fr.Selected:Fr.Default;return o.jsx(ar,{onClick:i,className:N("border transition-all duration-500 ease-in-out disabled:opacity-40",Ni,Yl[h],Kl[h],ql),disabled:g,children:o.jsxs("span",{className:N("flex h-full w-full flex-row items-center gap-x-2",s?"py-xxs":"py-[6px]",s?"pl-xxs":u?"pl-xs":"pl-sm",Ni,!g&&zl,r?"pr-xs":"pr-sm",Xl[h]),children:[s??u,o.jsx("span",{className:"text-body-md",children:e}),f,r&&o.jsx(ar,{onClick:n,className:"cursor-pointer [&_svg]:h-4 [&_svg]:w-4",children:o.jsx(Vt,{})})]})})}var it=(e=>(e.Outlined="outlined",e.Filled="filled",e.Transparent="transparent",e))(it||{});const Jl={[it.Outlined]:"bg-transparent",[it.Filled]:"bg-neutral-96 dark:bg-neutral-10",[it.Transparent]:"bg-transparent"},Ql="border border-neutral-70 dark:border-neutral-40";function eu({type:e=it.Filled,children:r,shape:t=St.Rounded}){const n=Jl[e],i=e===it.Outlined?Ql:"",s=t===St.Rounded?"rounded-full gap-1 p-xxs":"";return o.jsx("div",{className:N("flex flex-row flex-wrap",n,i,s),children:r})}var ot=(e=>(e.Small="small",e.Medium="medium",e))(ot||{});const ru={[ot.Small]:"px-md py-sm--rs",[ot.Medium]:"px-md--rs py-sm--rs"},tu={[ot.Small]:"text-title-md",[ot.Medium]:"text-title-lg"};function nu({title:e,subtitle:r,trailingElement:t,tooltipText:n,supportingElement:i,tooltipPosition:s,size:u=ot.Medium,testId:f}){return o.jsxs("div",{className:N("flex flex-row items-center justify-between",ru[u]),"data-testid":f,children:[o.jsxs("div",{className:"flex flex-row items-center gap-x-xxxs",children:[o.jsxs("div",{className:"flex flex-col justify-start",children:[o.jsxs("div",{className:"flex flex-row items-center gap-x-0.5 text-neutral-10 dark:text-neutral-92",children:[o.jsx("h4",{className:N(tu[u]),children:e}),n&&o.jsx(Et,{text:n,position:s,children:o.jsx(cn,{})})]}),o.jsx("p",{className:"text-label-md text-neutral-60 dark:text-neutral-40",children:r})]}),i]}),t]})}function mn({children:e,hasErrorStyles:r}){return o.jsx("p",{className:N("text-label-lg text-neutral-40 dark:text-neutral-60 ",{["group-[.errored]:text-error-30 dark:group-[.errored]:text-error-80"]:r}),children:e})}const Pi="w-full bg-transparent text-body-lg caret-primary-30 dark:caret-primary-80 focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed",Ai="text-neutral-10 dark:text-neutral-92",Di="enabled:placeholder:text-neutral-40/40 dark:placeholder:text-neutral-60/40 enabled:dark:placeholder:text-neutral-60/40",Ii="px-md py-sm rounded-lg border border-neutral-80 group-[.enabled]:cursor-text group-[.errored]:border-error-30 hover:group-[.enabled]:border-neutral-50 dark:border-neutral-20 dark:hover:border-neutral-60 dark:group-[.errored]:border-error-80 [&:has(input:focus)]:!border-primary-30 [&:has(input:focus)]:dark:!border-primary-80",au="[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none disabled:cursor-not-allowed",iu="flex flex-col gap-y-2 text-label-lg text-neutral-40 dark:text-neutral-60";var Li=(e=>(e.Label="label",e.Div="div",e))(Li||{});function Qn({label:e,caption:r,disabled:t,errorMessage:n,amountCounter:i,required:s,labelHtmlTag:u="label",children:f}){return o.jsxs("div",{className:N("group flex w-full flex-col gap-y-2",{"cursor-not-allowed opacity-40":t,errored:n,enabled:!t,required:s}),children:[e?o.jsxs(ou,{labelHtmlTag:u,children:[e,f]}):f,(n||r||i)&&o.jsxs("div",{className:N("flex flex-row items-center",r||n?"justify-between":"justify-end"),children:[(n||r)&&o.jsx(mn,{hasErrorStyles:!0,children:n||r}),i&&o.jsx(mn,{children:i})]})]})}function ou({labelHtmlTag:e,children:r}){return Q.createElement(e,{className:iu},r)}var pr=(e=>(e.Text="text",e.Password="password",e.Number="number",e.NumericFormat="numericFormat",e))(pr||{}),Mi=(e=>(e.None="none",e.Vertical="vertical",e))(Mi||{});function Fi(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)r.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(t[n[i]]=e[n[i]]);return t}var $t;(function(e){e.event="event",e.props="prop"})($t||($t={}));function Gr(){}function su(e){var r,t=void 0;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return r&&n.length===r.length&&n.every(function(s,u){return s===r[u]})||(r=n,t=e.apply(void 0,n)),t}}function Ht(e){return!!(e||"").match(/\d/)}function Ct(e){return e==null}function lu(e){return typeof e=="number"&&isNaN(e)}function Bi(e){return Ct(e)||lu(e)||typeof e=="number"&&!isFinite(e)}function Vi(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function uu(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function cu(e,r,t){var n=uu(t),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(n,"$1"+r)}function fu(e){var r=Q.useRef(e);r.current=e;var t=Q.useRef(function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return r.current.apply(r,n)});return t.current}function ea(e,r){r===void 0&&(r=!0);var t=e[0]==="-",n=t&&r;e=e.replace("-","");var i=e.split("."),s=i[0],u=i[1]||"";return{beforeDecimal:s,afterDecimal:u,hasNegation:t,addNegation:n}}function du(e){if(!e)return e;var r=e[0]==="-";r&&(e=e.substring(1,e.length));var t=e.split("."),n=t[0].replace(/^0+/,"")||"0",i=t[1]||"";return(r?"-":"")+n+(i?"."+i:"")}function Ui(e,r,t){for(var n="",i=t?"0":"",s=0;s<=r-1;s++)n+=e[s]||i;return n}function Wi(e,r){return Array(r+1).join(e)}function $i(e){var r=e+"",t=r[0]==="-"?"-":"";t&&(r=r.substring(1));var n=r.split(/[eE]/g),i=n[0],s=n[1];if(s=Number(s),!s)return t+i;i=i.replace(".","");var u=1+s,f=i.length;return u<0?i="0."+Wi("0",Math.abs(u))+i:u>=f?i=i+Wi("0",u-f):i=(i.substring(0,u)||"0")+"."+i.substring(u),t+i}function Hi(e,r,t){if(["","-"].indexOf(e)!==-1)return e;var n=(e.indexOf(".")!==-1||t)&&r,i=ea(e),s=i.beforeDecimal,u=i.afterDecimal,f=i.hasNegation,g=parseFloat("0."+(u||"0")),h=u.length<=r?"0."+u:g.toFixed(r),_=h.split("."),b=s;s&&Number(_[0])&&(b=s.split("").reverse().reduce(function(O,A,D){return O.length>D?(Number(O[0])+Number(A)).toString()+O.substring(1,O.length):A+O},_[0]));var j=Ui(_[1]||"",r,t),R=f?"-":"",k=n?".":"";return""+R+b+k+j}function st(e,r){if(e.value=e.value,e!==null){if(e.createTextRange){var t=e.createTextRange();return t.move("character",r),t.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(r,r),!0):(e.focus(),!1)}}var Gi=su(function(e,r){for(var t=0,n=0,i=e.length,s=r.length;e[t]===r[t]&&t<i;)t++;for(;e[i-1-n]===r[s-1-n]&&s-n>t&&i-n>t;)n++;return{from:{start:t,end:i-n},to:{start:t,end:s-n}}}),vu=function(e,r){var t=Math.min(e.selectionStart,r);return{from:{start:t,end:e.selectionEnd},to:{start:t,end:r}}};function mu(e,r,t){return Math.min(Math.max(e,r),t)}function ra(e){return Math.max(e.selectionStart,e.selectionEnd)}function hu(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function pu(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function gu(e){var r=e.currentValue,t=e.formattedValue,n=e.currentValueIndex,i=e.formattedValueIndex;return r[n]===t[i]}function xu(e,r,t,n,i,s,u){u===void 0&&(u=gu);var f=i.findIndex(function(ee){return ee}),g=e.slice(0,f);!r&&!t.startsWith(g)&&(r=g,t=g+t,n=n+g.length);for(var h=t.length,_=e.length,b={},j=new Array(h),R=0;R<h;R++){j[R]=-1;for(var k=0,O=_;k<O;k++){var A=u({currentValue:t,lastValue:r,formattedValue:e,currentValueIndex:R,formattedValueIndex:k});if(A&&b[k]!==!0){j[R]=k,b[k]=!0;break}}}for(var D=n;D<h&&(j[D]===-1||!s(t[D]));)D++;var H=D===h||j[D]===-1?_:j[D];for(D=n-1;D>0&&j[D]===-1;)D--;var G=D===-1||j[D]===-1?0:j[D]+1;return G>H?H:n-G<H-n?G:H}function Yi(e,r,t,n){var i=e.length;if(r=mu(r,0,i),n==="left"){for(;r>=0&&!t[r];)r--;r===-1&&(r=t.indexOf(!0))}else{for(;r<=i&&!t[r];)r++;r>i&&(r=t.lastIndexOf(!0))}return r===-1&&(r=i),r}function bu(e){for(var r=Array.from({length:e.length+1}).map(function(){return!0}),t=0,n=r.length;t<n;t++)r[t]=!!(Ht(e[t])||Ht(e[t-1]));return r}function zi(e,r,t,n,i,s){s===void 0&&(s=Gr);var u=fu(function(k,O){var A,D;return Bi(k)?(D="",A=""):typeof k=="number"||O?(D=typeof k=="number"?$i(k):k,A=n(D)):(D=i(k,void 0),A=n(D)),{formattedValue:A,numAsString:D}}),f=Q.useState(function(){return u(Ct(e)?r:e,t)}),g=f[0],h=f[1],_=function(k,O){k.formattedValue!==g.formattedValue&&h({formattedValue:k.formattedValue,numAsString:k.value}),s(k,O)},b=e,j=t;Ct(e)&&(b=g.numAsString,j=!0);var R=u(b,j);return Q.useMemo(function(){h(R)},[R.formattedValue]),[g,_]}function yu(e){return e.replace(/[^0-9]/g,"")}function _u(e){return e}function wu(e){var r=e.type;r===void 0&&(r="text");var t=e.displayType;t===void 0&&(t="input");var n=e.customInput,i=e.renderText,s=e.getInputRef,u=e.format;u===void 0&&(u=_u);var f=e.removeFormatting;f===void 0&&(f=yu);var g=e.defaultValue,h=e.valueIsNumericString,_=e.onValueChange,b=e.isAllowed,j=e.onChange;j===void 0&&(j=Gr);var R=e.onKeyDown;R===void 0&&(R=Gr);var k=e.onMouseUp;k===void 0&&(k=Gr);var O=e.onFocus;O===void 0&&(O=Gr);var A=e.onBlur;A===void 0&&(A=Gr);var D=e.value,H=e.getCaretBoundary;H===void 0&&(H=bu);var G=e.isValidInputCharacter;G===void 0&&(G=Ht);var ee=e.isCharacterSame,Y=Fi(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),se=zi(D,g,!!h,u,f,_),U=se[0],M=U.formattedValue,le=U.numAsString,ke=se[1],He=Q.useRef(),Xe=Q.useRef({formattedValue:M,numAsString:le}),De=function(W,z){Xe.current={formattedValue:W.formattedValue,numAsString:W.value},ke(W,z)},Oe=Q.useState(!1),je=Oe[0],J=Oe[1],V=Q.useRef(null),ne=Q.useRef({setCaretTimeout:null,focusTimeout:null});Q.useEffect(function(){return J(!0),function(){clearTimeout(ne.current.setCaretTimeout),clearTimeout(ne.current.focusTimeout)}},[]);var we=u,Te=function(W,z){var ae=parseFloat(z);return{formattedValue:W,value:z,floatValue:isNaN(ae)?void 0:ae}},Se=function(W,z,ae){W.selectionStart===0&&W.selectionEnd===W.value.length||(st(W,z),ne.current.setCaretTimeout=setTimeout(function(){W.value===ae&&W.selectionStart!==z&&st(W,z)},0))},p=function(W,z,ae){return Yi(W,z,H(W),ae)},T=function(W,z,ae){var ce=H(z),Pe=xu(z,M,W,ae,ce,G,ee);return Pe=Yi(z,Pe,ce),Pe},ie=function(W){var z=W.formattedValue;z===void 0&&(z="");var ae=W.input,ce=W.source,Pe=W.event,ye=W.numAsString,fe;if(ae){var qe=W.inputValue||ae.value,ze=ra(ae);ae.value=z,fe=T(qe,z,ze),fe!==void 0&&Se(ae,fe,z)}z!==M&&De(Te(z,ye),{event:Pe,source:ce})};Q.useEffect(function(){var W=Xe.current,z=W.formattedValue,ae=W.numAsString;(M!==z||le!==ae)&&De(Te(M,le),{event:void 0,source:$t.props})},[M,le]);var ve=V.current?ra(V.current):void 0,ue=typeof window<"u"?Q.useLayoutEffect:Q.useEffect;ue(function(){var W=V.current;if(M!==Xe.current.formattedValue&&W){var z=T(Xe.current.formattedValue,M,ve);W.value=M,Se(W,z,M)}},[M]);var ge=function(W,z,ae){var ce=z.target,Pe=He.current?vu(He.current,ce.selectionEnd):Gi(M,W),ye=Object.assign(Object.assign({},Pe),{lastValue:M}),fe=f(W,ye),qe=we(fe);if(fe=f(qe,void 0),b&&!b(Te(qe,fe))){var ze=z.target,Ze=ra(ze),or=T(W,M,Ze);return ze.value=M,Se(ze,or,M),!1}return ie({formattedValue:qe,numAsString:fe,inputValue:W,event:z,source:ae,input:z.target}),!0},me=function(W,z){z===void 0&&(z=0);var ae=W.selectionStart,ce=W.selectionEnd;He.current={selectionStart:ae,selectionEnd:ce+z}},be=function(W){var z=W.target,ae=z.value,ce=ge(ae,W,$t.event);ce&&j(W),He.current=void 0},pe=function(W){var z=W.target,ae=W.key,ce=z.selectionStart,Pe=z.selectionEnd,ye=z.value;ye===void 0&&(ye="");var fe;ae==="ArrowLeft"||ae==="Backspace"?fe=Math.max(ce-1,0):ae==="ArrowRight"?fe=Math.min(ce+1,ye.length):ae==="Delete"&&(fe=ce);var qe=0;ae==="Delete"&&ce===Pe&&(qe=1);var ze=ae==="ArrowLeft"||ae==="ArrowRight";if(fe===void 0||ce!==Pe&&!ze){R(W),me(z,qe);return}var Ze=fe;if(ze){var or=ae==="ArrowLeft"?"left":"right";Ze=p(ye,fe,or),Ze!==fe&&W.preventDefault()}else ae==="Delete"&&!G(ye[fe])?Ze=p(ye,fe,"right"):ae==="Backspace"&&!G(ye[fe])&&(Ze=p(ye,fe,"left"));Ze!==fe&&Se(z,Ze,ye),R(W),me(z,qe)},Me=function(W){var z=W.target,ae=function(){var ce=z.selectionStart,Pe=z.selectionEnd,ye=z.value;if(ye===void 0&&(ye=""),ce===Pe){var fe=p(ye,ce);fe!==ce&&Se(z,fe,ye)}};ae(),requestAnimationFrame(function(){ae()}),k(W),me(z)},br=function(W){W.persist&&W.persist();var z=W.target,ae=W.currentTarget;V.current=z,ne.current.focusTimeout=setTimeout(function(){var ce=z.selectionStart,Pe=z.selectionEnd,ye=z.value;ye===void 0&&(ye="");var fe=p(ye,ce);fe!==ce&&!(ce===0&&Pe===ye.length)&&Se(z,fe,ye),O(Object.assign(Object.assign({},W),{currentTarget:ae}))},0)},ur=function(W){V.current=null,clearTimeout(ne.current.focusTimeout),clearTimeout(ne.current.setCaretTimeout),A(W)},Vr=je&&hu()?"numeric":void 0,cr=Object.assign({inputMode:Vr},Y,{type:r,value:M,onChange:be,onKeyDown:pe,onMouseUp:Me,onFocus:br,onBlur:ur});if(t==="text")return i?Q.createElement(Q.Fragment,null,i(M,Y)||null):Q.createElement("span",Object.assign({},Y,{ref:s}),M);if(n){var tr=n;return Q.createElement(tr,Object.assign({},cr,{ref:s}))}return Q.createElement("input",Object.assign({},cr,{ref:s}))}function Ki(e,r){var t=r.decimalScale,n=r.fixedDecimalScale,i=r.prefix;i===void 0&&(i="");var s=r.suffix;s===void 0&&(s="");var u=r.allowNegative,f=r.thousandsGroupStyle;if(f===void 0&&(f="thousand"),e===""||e==="-")return e;var g=hn(r),h=g.thousandSeparator,_=g.decimalSeparator,b=t!==0&&e.indexOf(".")!==-1||t&&n,j=ea(e,u),R=j.beforeDecimal,k=j.afterDecimal,O=j.addNegation;return t!==void 0&&(k=Ui(k,t,!!n)),h&&(R=cu(R,h,f)),i&&(R=i+R),s&&(k=k+s),O&&(R="-"+R),e=R+(b&&_||"")+k,e}function hn(e){var r=e.decimalSeparator;r===void 0&&(r=".");var t=e.thousandSeparator,n=e.allowedDecimalSeparators;return t===!0&&(t=","),n||(n=[r,"."]),{decimalSeparator:r,thousandSeparator:t,allowedDecimalSeparators:n}}function Su(e,r){e===void 0&&(e="");var t=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),i=t.test(e),s=n.test(e);return e=e.replace(/-/g,""),i&&!s&&r&&(e="-"+e),e}function Eu(e,r){return new RegExp("(^-)|[0-9]|"+Vi(e),"g")}function Cu(e,r,t){return e===""?!0:!(r!=null&&r.match(/\d/))&&!(t!=null&&t.match(/\d/))&&typeof e=="string"&&!isNaN(Number(e))}function ju(e,r,t){var n;r===void 0&&(r=pu(e));var i=t.allowNegative,s=t.prefix;s===void 0&&(s="");var u=t.suffix;u===void 0&&(u="");var f=t.decimalScale,g=r.from,h=r.to,_=h.start,b=h.end,j=hn(t),R=j.allowedDecimalSeparators,k=j.decimalSeparator,O=e[b]===k;if(Ht(e)&&(e===s||e===u)&&r.lastValue==="")return e;if(b-_===1&&R.indexOf(e[_])!==-1){var A=f===0?"":k;e=e.substring(0,_)+A+e.substring(_+1,e.length)}var D=function(V,ne,we){var Te=!1,Se=!1;s.startsWith("-")?Te=!1:V.startsWith("--")?(Te=!1,Se=!0):u.startsWith("-")&&V.length===u.length?Te=!1:V[0]==="-"&&(Te=!0);var p=Te?1:0;return Se&&(p=2),p&&(V=V.substring(p),ne-=p,we-=p),{value:V,start:ne,end:we,hasNegation:Te}},H=D(e,_,b),G=H.hasNegation;n=H,e=n.value,_=n.start,b=n.end;var ee=D(r.lastValue,g.start,g.end),Y=ee.start,se=ee.end,U=ee.value,M=e.substring(_,b);e.length&&U.length&&(Y>U.length-u.length||se<s.length)&&!(M&&u.startsWith(M))&&(e=U);var le=0;e.startsWith(s)?le+=s.length:_<s.length&&(le=_),e=e.substring(le),b-=le;var ke=e.length,He=e.length-u.length;e.endsWith(u)?ke=He:(b>He||b>e.length-u.length)&&(ke=b),e=e.substring(0,ke),e=Su(G?"-"+e:e,i),e=(e.match(Eu(k))||[]).join("");var Xe=e.indexOf(k);e=e.replace(new RegExp(Vi(k),"g"),function(V,ne){return ne===Xe?".":""});var De=ea(e,i),Oe=De.beforeDecimal,je=De.afterDecimal,J=De.addNegation;return h.end-h.start<g.end-g.start&&Oe===""&&O&&!parseFloat(je)&&(e=J?"-":""),e}function Ru(e,r){var t=r.prefix;t===void 0&&(t="");var n=r.suffix;n===void 0&&(n="");var i=Array.from({length:e.length+1}).map(function(){return!0}),s=e[0]==="-";i.fill(!1,0,t.length+(s?1:0));var u=e.length;return i.fill(!1,u-n.length+1,u+1),i}function Tu(e){var r=hn(e),t=r.thousandSeparator,n=r.decimalSeparator,i=e.prefix;i===void 0&&(i="");var s=e.allowNegative;if(s===void 0&&(s=!0),t===n)throw new Error(`
|
|
145
|
+
hover:before:dark:border-neutral-40`;var Er=(e=>(e.Rounded="rounded",e.Underlined="underlined",e))(Er||{});function xl({icon:e,label:t,selected:r,disabled:n,onClick:i,type:s=Er.Rounded}){const u=s===Er.Underlined,f=r?u?"bg-transparent":vl:dl,h=u?r?pl:gl:"",p=r?hl:ml,_=u?"px-lg py-md":"px-sm py-[6px]",x=u?"":"rounded-full",j=u?"text-title-md":"text-label-lg";return o.jsx(rt,{onClick:i,className:N("enabled:state-layer relative flex items-center disabled:opacity-40",f,p,_,x,h,{"pl-xs":!!e&&!u}),disabled:n,children:o.jsxs("div",{className:N("flex flex-row items-center justify-center gap-2",j),children:[e&&o.jsx("span",{children:e}),o.jsx("span",{className:"font-inter",children:t})]})})}const Qn=te.forwardRef(({isChecked:e,isIndeterminate:t,label:r,isLabelFirst:n,isDisabled:i,onCheckedChange:s,name:u},f)=>{const h=te.useRef(null);te.useEffect(()=>{h.current&&(h.current.indeterminate=t??!1)},[t,h]);const p=t?Qs:Zs;function _(x){f&&(typeof f=="function"?f(x):f.current=x),h.current=x}return o.jsxs("div",{className:N("group inline-flex",n?"flex-row-reverse":"flex-row",{disabled:i,"gap-x-2":r}),children:[o.jsx("input",{id:u,name:u,type:"checkbox",className:"peer hidden appearance-none",checked:e,ref:_,disabled:i,onChange:x=>{s==null||s(x)}}),o.jsx("span",{onClick:()=>{var x;return(x=h.current)==null?void 0:x.click()},className:"peer-enabled:state-layer relative inset-0 flex h-5 w-5 items-center justify-center rounded border border-neutral-80 text-neutral-40 group-[.disabled]:cursor-not-allowed peer-disabled:text-neutral-70 peer-disabled:text-opacity-40 peer-disabled:opacity-40 peer-[&:is(:checked,:indeterminate)]:border-primary-30 peer-[&:is(:checked,:indeterminate)]:bg-primary-30 peer-[&:is(:checked,:indeterminate)]:text-white peer-[&:not(:checked,:indeterminate)]:text-opacity-40 disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-70 dark:border-neutral-20 dark:text-neutral-60 dark:peer-disabled:text-neutral-30 dark:peer-disabled:text-opacity-40 dark:peer-disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-30 dark:peer-disabled:peer-[&:is(:checked,:indeterminate)]:bg-neutral-40 peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-60 peer-disabled:[&:is(:checked,:indeterminate)]:bg-neutral-60 dark:peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-40 [&_svg]:h-4 [&_svg]:w-4 peer-[&:not(:checked,:indeterminate)]:[&_svg]:hidden",children:o.jsx(p,{})}),o.jsx(bl,{label:r,name:u})]})});function bl({label:e,name:t}){return o.jsx("label",{htmlFor:t,className:"text-label-lg text-neutral-40 group-[.disabled]:cursor-not-allowed group-[.disabled]:text-opacity-40 dark:text-neutral-60 group-[.disabled]:dark:text-opacity-40",children:e})}var Ht=(e=>(e.Vertical="vertical",e.Horizontal="horizontal",e))(Ht||{});const yl="bg-shader-neutral-light-8 dark:bg-shader-neutral-dark-8",_l={[Ht.Horizontal]:"w-full",[Ht.Vertical]:"h-full"},wl="1px";function Ei({type:e=Ht.Horizontal,width:t,height:r,lineHeight:n=wl}){const i={...e===Ht.Horizontal?{height:n}:{width:n}};let s=_l[e];return t&&e===Ht.Horizontal?s=t:r&&e===Ht.Vertical&&(s=r),o.jsx("div",{className:N(yl,s),style:i})}var Wr=(e=>(e.Small="small",e.Medium="medium",e))(Wr||{}),Gt=(e=>(e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e))(Gt||{});const Sl={[Gt.Top]:"bottom-full left-1/2 transform -translate-x-1/2 mb-1",[Gt.Bottom]:"top-full left-1/2 transform -translate-x-1/2 mt-1",[Gt.Left]:"top-1/2 right-full transform -translate-y-1/2 mr-1",[Gt.Right]:"top-1/2 left-full transform -translate-y-1/2 ml-1"};function ir({text:e,position:t=Gt.Top,maxWidth:r="max-w-[200px]",children:n}){const i=Sl[t];return o.jsxs("div",{className:"group/tooltip relative inline-block",children:[n,o.jsx("div",{className:N("absolute z-[999] hidden w-max rounded bg-neutral-80 p-xs text-neutral-10 opacity-0 transition-opacity duration-300 group-hover/tooltip:block group-hover/tooltip:opacity-100 group-focus/tooltip:opacity-100 dark:bg-neutral-30 dark:text-neutral-92",i,r),role:"tooltip",children:o.jsx("p",{className:"w-full break-words",children:e})})]})}function El({keyText:e,value:t,tooltipPosition:r,tooltipText:n,supportingLabel:i,size:s=Wr.Small,isTruncated:u=!1,copyText:f,onCopySuccess:h,onCopyError:p,fullwidth:_,isReverse:x=!1,valueHoverTitle:j}){const R=x?"flex-row-reverse":"flex-row";async function k(O){if(navigator.clipboard&&f)try{await navigator.clipboard.writeText(f),h==null||h(O,f)}catch(A){console.error("Failed to copy:",A),p==null||p(A,f)}}return o.jsxs("div",{className:N("flex w-full items-baseline gap-xs py-xxs font-inter",R,{"justify-between":_}),children:[o.jsxs("div",{className:N("flex shrink-0 flex-row items-center gap-x-0.5",{"w-1/4":!_}),children:[o.jsx("span",{className:"text-body-md text-neutral-40 dark:text-neutral-60",children:e}),n&&o.jsx(ir,{text:n,position:r,children:o.jsx(cn,{className:"text-neutral-60 dark:text-neutral-40"})})]}),o.jsxs("div",{className:N("flex flex-row items-baseline gap-1 break-all",{"w-3/4":!_,truncate:u}),children:[o.jsx("span",{title:j,className:N("text-neutral-10 dark:text-neutral-92",s===Wr.Medium?"text-body-lg":"text-body-md",{truncate:u}),children:t}),i&&o.jsx("span",{className:N("text-neutral-60 dark:text-neutral-40",s===Wr.Medium?"text-body-md":"text-body-sm"),children:i}),o.jsx("div",{className:"self-center",children:f&&o.jsx(rt,{onClick:k,children:o.jsx(Yn,{className:"text-neutral-60 dark:text-neutral-40"})})})]})]})}var lt=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(lt||{});const Cl={[lt.Small]:"text-title-sm",[lt.Medium]:"text-title-md",[lt.Large]:"text-title-lg"},jl={[lt.Small]:"text-label-md",[lt.Medium]:"text-label-md",[lt.Large]:"text-label-lg"},Rl={[lt.Small]:"text-label-md",[lt.Medium]:"text-label-md",[lt.Large]:"text-label-lg"};function Tl({size:e=lt.Medium,isCentered:t,supportingLabel:r,label:n,text:i,tooltipPosition:s,tooltipText:u}){const f=Cl[e],h=jl[e],p=Rl[e],_=t?"items-center":"items-start",x=e===lt.Small?"gap-0.5":"gap-1";return o.jsxs("div",{className:N("flex flex-col",_,x),children:[o.jsxs("div",{className:"flex flex-row flex-wrap items-center gap-0.5",children:[o.jsx("span",{className:N("font-inter text-neutral-10 dark:text-neutral-92",f),children:i}),r&&o.jsx("span",{className:N("font-inter text-neutral-60 dark:text-neutral-40",h),children:r})]}),o.jsx("div",{className:"flex flex-row items-center gap-x-0.5",children:o.jsxs("span",{className:N("flex items-center font-inter text-neutral-60 dark:text-neutral-40",p),children:[n,u&&o.jsx("div",{className:"ml-xxxs flex items-center",children:o.jsx(ir,{text:u,position:s,children:o.jsx(cn,{className:"text-neutral-60 dark:text-neutral-40"})})})]})})]})}function Ci({showRightIcon:e,hideBottomBorder:t,onClick:r,isDisabled:n,children:i,isHighlighted:s}){function u(h){(h.key==="Enter"||h.key===" ")&&!n&&r&&r()}function f(){!n&&r&&r()}return o.jsx("div",{className:N("w-full",{"border-b border-shader-neutral-light-8 pb-xs dark:border-shader-neutral-dark-8":!t},{"opacity-40":n}),children:o.jsxs("div",{onClick:f,role:"button",tabIndex:0,onKeyDown:u,className:N("relative flex flex-row items-center justify-between px-md py-sm text-neutral-10 dark:text-neutral-92",!n&&r?"cursor-pointer":"cursor-default",{"bg-shader-primary-dark-16 dark:bg-shader-inverted-dark-16":s,"state-layer":!n}),children:[i,e&&o.jsx(dt,{size:et.Small,type:Ee.Ghost,disabled:n,icon:o.jsx(Gn,{})})]})})}function Ol({title:e,titleCentered:t,onBack:r,onClose:n,testId:i}){const s=t?"text-center":r?"ml-1":"",u=t&&(!r||!n);return o.jsxs("div",{className:"flex min-h-[56px] w-full items-center bg-neutral-100 px-md--rs pb-xs pt-sm text-neutral-10 dark:bg-neutral-6 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",children:[r?o.jsx(dt,{size:et.Small,type:Ee.Ghost,onClick:r,icon:o.jsx(qa,{})}):u&&o.jsx("div",{className:"w-9"}),o.jsx("div",{className:N("flex-grow",s),children:o.jsx("span",{className:"font-inter text-title-lg","data-testid":i,children:e})}),n?o.jsx(dt,{size:et.Small,type:Ee.Ghost,onClick:n,icon:o.jsx(Ur,{}),testId:"close-icon"}):u&&o.jsx("div",{className:"w-9"})]})}function kl({children:e,hasBorder:t,bgColor:r="bg-neutral-100 dark:bg-neutral-6"}){const n=t?"border border-shader-neutral-light-8 dark:border-shader-neutral-dark-8":"border border-transparent";return o.jsx("div",{className:N("flex w-full flex-col rounded-xl",r,n),children:e})}var Rt=(e=>(e.Default="default",e.Error="error",e.Success="success",e.Warning="warning",e))(Rt||{}),$r=(e=>(e.Default="default",e.Elevated="elevated",e))($r||{});const Nl={[Rt.Default]:"bg-primary-90 dark:bg-primary-10 text-primary-20 dark:text-primary-90",[Rt.Error]:"bg-error-90 dark:bg-error-10 text-error-20 dark:text-error-90",[Rt.Success]:"bg-tertiary-90 dark:bg-tertiary-10 text-tertiary-20 dark:text-tertiary-90",[Rt.Warning]:"bg-warning-90 dark:bg-warning-20 text-warning-10 dark:text-warning-90"},Pl={[Rt.Default]:"bg-primary-90 dark:bg-primary-10",[Rt.Error]:"bg-error-90 dark:bg-error-10",[Rt.Success]:"bg-tertiary-90 dark:bg-tertiary-10",[Rt.Warning]:"bg-warning-90 dark:bg-warning-20"};function Al({icon:e,title:t,supportingText:r,type:n,style:i}){const s=Nl[n],u=i===$r.Elevated?Pl[n]:"";return o.jsxs("div",{className:N("flex flex-row items-start gap-4 py-xs pr-lg",u,{"rounded-lg pl-xs":i===$r.Elevated}),children:[e&&o.jsx("span",{className:N("flex items-center justify-center rounded-lg [&_svg]:h-4 [&_svg]:w-4",s,{"p-xs":i===$r.Default}),children:e}),o.jsxs("div",{className:"flex flex-col gap-1",children:[t&&o.jsx("span",{className:"text-title-sm text-neutral-10 dark:text-neutral-92",children:t}),r&&o.jsx("span",{className:"text-body-sm text-neutral-40 dark:text-neutral-60",children:r})]})]})}var ht=(e=>(e.Default="default",e.Error="error",e.Warning="warning",e.Success="success",e))(ht||{});const ji={[ht.Default]:"text-neutral-10 dark:text-neutral-92",[ht.Error]:"text-error-20 dark:text-error-90",[ht.Warning]:"text-warning-10 dark:text-warning-90",[ht.Success]:"text-tertiary-20 dark:text-tertiary-90"},Dl={[ht.Default]:"bg-primary-90 dark:bg-primary-10",[ht.Error]:"bg-error-90 dark:bg-error-10",[ht.Warning]:"bg-warning-90 dark:bg-warning-20",[ht.Success]:"bg-tertiary-90 dark:bg-tertiary-10"};function Il({text:e,duration:t=2e3,onClose:r,showClose:n,type:i=ht.Default}){return te.useEffect(()=>{if(t){const s=setTimeout(r,t);return()=>clearTimeout(s)}},[t,r]),o.jsxs("div",{className:N("transition-all duration-300 ease-out","z-99 bottom-0","flex w-full items-center justify-between gap-xxs rounded-md py-sm pl-md pr-sm",Dl[i]),children:[o.jsx("div",{className:N("w-full text-left text-body-md",ji[i]),children:e}),n&&o.jsx(Ur,{className:N("h-5 w-5 cursor-pointer",ji[i]),onClick:r})]})}var fn=(e=>(e.Image="image",e.Video="video",e))(fn||{});function Ll({assetType:e=fn.Image,assetSrc:t,altText:r,onIconClick:n,onClick:i,icon:s=o.jsx(mi,{}),assetTitle:u,isHoverable:f=!0}){const[h,p]=te.useState(!1),_=x=>{n==null||n(x),x==null||x.stopPropagation()};return o.jsxs("div",{className:N("relative aspect-square w-full overflow-hidden rounded-xl",{"group cursor-pointer":f}),onClick:i,children:[e===fn.Video?o.jsx("video",{src:t,className:"h-full w-full object-cover",autoPlay:!0,loop:!0,muted:!0}):h?o.jsx("div",{className:"flex h-full w-full items-center justify-center bg-neutral-96 dark:bg-neutral-10",children:o.jsx(ol,{className:"h-4 w-4 text-neutral-40 dark:text-neutral-60"})}):o.jsx("img",{src:t,alt:r,className:"h-full w-full object-cover",onError:()=>p(!0)}),f&&o.jsx("div",{className:"absolute left-0 top-0 h-full w-full bg-cover bg-center bg-no-repeat group-hover:bg-shader-neutral-light-48 group-hover:transition group-hover:duration-300 group-hover:ease-in-out group-hover:dark:bg-shader-primary-dark-48"}),f&&n&&o.jsx(rt,{className:"absolute right-2 top-2 h-9 w-9 cursor-pointer rounded-full p-xs opacity-0 transition-opacity duration-300 group-hover:bg-shader-neutral-light-72 group-hover:opacity-100 [&_svg]:h-5 [&_svg]:w-5 [&_svg]:text-primary-100",onClick:_,children:s}),f&&u&&o.jsx("div",{className:"absolute bottom-0 flex items-center justify-center p-xs opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:o.jsx("span",{className:"text-title-md text-neutral-100",children:u})})]})}function Ml({color:e="text-primary-30 dark:text-primary-80",size:t="w-5 h-5",text:r,testId:n}){return o.jsxs("div",{className:"flex items-center justify-center gap-xs",children:[o.jsx(ui,{className:N("animate-spin",e,t),"data-testid":n}),r&&o.jsx("span",{className:N("text-body-sm",e),children:r})]})}function Ri({width:e="w-full",height:t="h-4"}){return o.jsx("div",{className:N("animate-pulse rounded-md bg-gradient-to-r from-shader-primary-light-8 bg-[length:1000px_100%] dark:from-shader-primary-dark-8",e,t)})}function Fl({children:e,widthClass:t="w-full",heightClass:r="h-3",hasSecondaryColors:n,isRounded:i=!0}){return o.jsx("div",{className:N("animate-pulse rounded-full",t,r,i&&"rounded-full",n?"bg-neutral-80 dark:bg-neutral-10":"bg-neutral-90 dark:bg-neutral-12"),children:e})}var Mt=(e=>(e.Small="small",e.Default="default",e))(Mt||{}),dn=(e=>(e.Left="left",e.Right="right",e))(dn||{});const Bl="relative inline-flex items-center p-xxs border rounded-full cursor-pointer",vn={active:"bg-primary-30 border-primary-30",inactive:"bg-primary-100 dark:bg-neutral-6 border-neutral-70 dark:border-neutral-40",disabledActive:"bg-neutral-70 border-neutral-70",disabled:"opacity-40 cursor-not-allowed"},Vl={[Mt.Small]:"h-5 w-10",[Mt.Default]:"h-6 w-12"},Ul="absolute rounded-full transition-all duration-200 ease-in",Ti={[Mt.Small]:{unchecked:"left-1",checked:"left-8 -translate-x-full"},[Mt.Default]:{unchecked:"left-1",checked:"left-10 -translate-x-full"}},Oi={unchecked:"bg-neutral-60",checked:"bg-white"},Wl={[Mt.Small]:"h-3 w-3",[Mt.Default]:"h-4 w-4"},$l="inline-flex items-center gap-2",Hl="text-label-lg text-neutral-40 dark:text-neutral-60",Gl=te.forwardRef(({label:e,isToggled:t,labelPosition:r=dn.Right,isDisabled:n=!1,onChange:i,name:s,size:u=Mt.Default,testId:f},h)=>{const p=te.useRef(null);function _(A){const D=A.target.checked;i==null||i(D,A)}function x(A){h&&(typeof h=="function"?h(A):h.current=A),p.current=A}const j=N(Bl,{[vn.active]:t&&!n,[vn.inactive]:!t,[vn.disabledActive]:n&&t,[vn.disabled]:n,[Vl[u]]:!0}),R=N(Ul,{[Ti[u].unchecked]:!t,[Ti[u].checked]:t,[Oi.unchecked]:!t,[Oi.checked]:t,[Wl[u]]:!0}),k=N($l,{"flex-row-reverse":r===dn.Left,"cursor-not-allowed":n}),O=N(Hl,{"opacity-40":n&&!t});return o.jsxs("div",{className:k,children:[o.jsx("input",{id:s,name:s,type:"checkbox",className:"sr-only",checked:t,ref:x,disabled:n,onChange:_,"data-testid":f}),o.jsx("span",{role:"switch",onClick:()=>{var A;return(A=p.current)==null?void 0:A.click()},className:j,children:o.jsx("span",{className:R})}),e&&o.jsx("label",{htmlFor:s,className:O,children:e})]})});function ki({text:e,isCopyable:t,isExternal:r,externalLink:n,copyText:i=e,onCopySuccess:s,onCopyError:u,onOpen:f}){async function h(_){if(navigator.clipboard){_==null||_.stopPropagation();try{await navigator.clipboard.writeText(i),s==null||s(_,i)}catch(x){console.error("Failed to copy:",x),u==null||u(x,i)}}}function p(_){if(_==null||_.stopPropagation(),n){const x=window.open(n,"_blank","noopener noreferrer");x&&(x.opener=null)}else f==null||f(_)}return o.jsxs("div",{className:"group flex flex-row items-center gap-1 text-neutral-40 dark:text-neutral-60",children:[o.jsx("span",{className:N("font-inter text-body-sm"),children:e}),t&&o.jsx(rt,{onClick:h,className:"opacity-0 group-hover:opacity-100",children:o.jsx(Yn,{})}),r&&o.jsx(rt,{onClick:p,className:"opacity-0 group-hover:opacity-100",children:o.jsx(qs,{})})]})}var Ft=(e=>(e.Default="default",e.Selected="selected",e))(Ft||{});const Ni="rounded-full",Yl={[Ft.Default]:"bg-transparent",[Ft.Selected]:"bg-primary-90 dark:bg-primary-10"},zl="outline outline-1 outline-transparent hover:outline-shader-primary-light-8 active:outline-shader-primary-light-12 dark:hover:outline-shader-primary-dark-8 dark:active:outline-shader-primary-dark-12 hover:bg-shader-primary-light-8 active:bg-shader-primary-light-12 dark:hover:bg-shader-primary-dark-8 dark:active:bg-shader-primary-dark-12 focus:bg-shader-primary-light-12 dark:focus:bg-shader-primary-dark-12",Kl={[Ft.Default]:"border-neutral-70 dark:border-neutral-40",[Ft.Selected]:"border-transparent"},Xl={[Ft.Default]:"text-neutral-40 dark:text-neutral-60",[Ft.Selected]:"text-neutral-10 dark:text-neutral-92"},ql="focus-visible:shadow-[0_0_0_2px] focus-visible:shadow-primary-30 focus-visible:outline-none dark:focus-visible:shadow-primary-80";function Zl({label:e,showClose:t,selected:r,onClose:n,onClick:i,avatar:s,leadingElement:u,trailingElement:f,disabled:h}){const p=r?Ft.Selected:Ft.Default;return o.jsx(rt,{onClick:i,className:N("border transition-all duration-500 ease-in-out disabled:opacity-40",Ni,Yl[p],Kl[p],ql),disabled:h,children:o.jsxs("span",{className:N("flex h-full w-full flex-row items-center gap-x-2",s?"py-xxs":"py-[6px]",s?"pl-xxs":u?"pl-xs":"pl-sm",Ni,!h&&zl,t?"pr-xs":"pr-sm",Xl[p]),children:[s??u,o.jsx("span",{className:"text-body-md",children:e}),f,t&&o.jsx(rt,{onClick:n,className:"cursor-pointer [&_svg]:h-4 [&_svg]:w-4",children:o.jsx(Ur,{})})]})})}var or=(e=>(e.Outlined="outlined",e.Filled="filled",e.Transparent="transparent",e))(or||{});const Jl={[or.Outlined]:"bg-transparent",[or.Filled]:"bg-neutral-96 dark:bg-neutral-10",[or.Transparent]:"bg-transparent"},Ql="border border-neutral-70 dark:border-neutral-40";function eu({type:e=or.Filled,children:t,shape:r=Er.Rounded}){const n=Jl[e],i=e===or.Outlined?Ql:"",s=r===Er.Rounded?"rounded-full gap-1 p-xxs":"";return o.jsx("div",{className:N("flex flex-row flex-wrap",n,i,s),children:t})}var sr=(e=>(e.Small="small",e.Medium="medium",e))(sr||{});const tu={[sr.Small]:"px-md py-sm--rs",[sr.Medium]:"px-md--rs py-sm--rs"},ru={[sr.Small]:"text-title-md",[sr.Medium]:"text-title-lg"};function nu({title:e,subtitle:t,trailingElement:r,tooltipText:n,supportingElement:i,tooltipPosition:s,size:u=sr.Medium,testId:f}){return o.jsxs("div",{className:N("flex flex-row items-center justify-between",tu[u]),"data-testid":f,children:[o.jsxs("div",{className:"flex flex-row items-center gap-x-xxxs",children:[o.jsxs("div",{className:"flex flex-col justify-start",children:[o.jsxs("div",{className:"flex flex-row items-center gap-x-0.5 text-neutral-10 dark:text-neutral-92",children:[o.jsx("h4",{className:N(ru[u]),children:e}),n&&o.jsx(ir,{text:n,position:s,children:o.jsx(cn,{})})]}),o.jsx("p",{className:"text-label-md text-neutral-60 dark:text-neutral-40",children:t})]}),i]}),r]})}function mn({children:e,hasErrorStyles:t}){return o.jsx("p",{className:N("text-label-lg text-neutral-40 dark:text-neutral-60 ",{["group-[.errored]:text-error-30 dark:group-[.errored]:text-error-80"]:t}),children:e})}const Pi="w-full bg-transparent text-body-lg caret-primary-30 dark:caret-primary-80 focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed",Ai="text-neutral-10 dark:text-neutral-92",Di="enabled:placeholder:text-neutral-40/40 dark:placeholder:text-neutral-60/40 enabled:dark:placeholder:text-neutral-60/40",Ii="px-md py-sm rounded-lg border border-neutral-80 group-[.enabled]:cursor-text group-[.errored]:border-error-30 hover:group-[.enabled]:border-neutral-50 dark:border-neutral-20 dark:hover:border-neutral-60 dark:group-[.errored]:border-error-80 [&:has(input:focus)]:!border-primary-30 [&:has(input:focus)]:dark:!border-primary-80",au="[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none disabled:cursor-not-allowed",iu="flex flex-col gap-y-2 text-label-lg text-neutral-40 dark:text-neutral-60";var Li=(e=>(e.Label="label",e.Div="div",e))(Li||{});function ea({label:e,caption:t,disabled:r,errorMessage:n,amountCounter:i,required:s,labelHtmlTag:u="label",children:f}){return o.jsxs("div",{className:N("group flex w-full flex-col gap-y-2",{"cursor-not-allowed opacity-40":r,errored:n,enabled:!r,required:s}),children:[e?o.jsxs(ou,{labelHtmlTag:u,children:[e,f]}):f,(n||t||i)&&o.jsxs("div",{className:N("flex flex-row items-center",t||n?"justify-between":"justify-end"),children:[(n||t)&&o.jsx(mn,{hasErrorStyles:!0,children:n||t}),i&&o.jsx(mn,{children:i})]})]})}function ou({labelHtmlTag:e,children:t}){return te.createElement(e,{className:iu},t)}var pt=(e=>(e.Text="text",e.Password="password",e.Number="number",e.NumericFormat="numericFormat",e))(pt||{}),Mi=(e=>(e.None="none",e.Vertical="vertical",e))(Mi||{});function Fi(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var Hr;(function(e){e.event="event",e.props="prop"})(Hr||(Hr={}));function Yt(){}function su(e){var t,r=void 0;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return t&&n.length===t.length&&n.every(function(s,u){return s===t[u]})||(t=n,r=e.apply(void 0,n)),r}}function Gr(e){return!!(e||"").match(/\d/)}function Cr(e){return e==null}function lu(e){return typeof e=="number"&&isNaN(e)}function Bi(e){return Cr(e)||lu(e)||typeof e=="number"&&!isFinite(e)}function Vi(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function uu(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function cu(e,t,r){var n=uu(r),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(n,"$1"+t)}function fu(e){var t=te.useRef(e);t.current=e;var r=te.useRef(function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return t.current.apply(t,n)});return r.current}function ta(e,t){t===void 0&&(t=!0);var r=e[0]==="-",n=r&&t;e=e.replace("-","");var i=e.split("."),s=i[0],u=i[1]||"";return{beforeDecimal:s,afterDecimal:u,hasNegation:r,addNegation:n}}function du(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var r=e.split("."),n=r[0].replace(/^0+/,"")||"0",i=r[1]||"";return(t?"-":"")+n+(i?"."+i:"")}function Ui(e,t,r){for(var n="",i=r?"0":"",s=0;s<=t-1;s++)n+=e[s]||i;return n}function Wi(e,t){return Array(t+1).join(e)}function $i(e){var t=e+"",r=t[0]==="-"?"-":"";r&&(t=t.substring(1));var n=t.split(/[eE]/g),i=n[0],s=n[1];if(s=Number(s),!s)return r+i;i=i.replace(".","");var u=1+s,f=i.length;return u<0?i="0."+Wi("0",Math.abs(u))+i:u>=f?i=i+Wi("0",u-f):i=(i.substring(0,u)||"0")+"."+i.substring(u),r+i}function Hi(e,t,r){if(["","-"].indexOf(e)!==-1)return e;var n=(e.indexOf(".")!==-1||r)&&t,i=ta(e),s=i.beforeDecimal,u=i.afterDecimal,f=i.hasNegation,h=parseFloat("0."+(u||"0")),p=u.length<=t?"0."+u:h.toFixed(t),_=p.split("."),x=s;s&&Number(_[0])&&(x=s.split("").reverse().reduce(function(O,A,D){return O.length>D?(Number(O[0])+Number(A)).toString()+O.substring(1,O.length):A+O},_[0]));var j=Ui(_[1]||"",t,r),R=f?"-":"",k=n?".":"";return""+R+x+k+j}function lr(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var r=e.createTextRange();return r.move("character",t),r.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var Gi=su(function(e,t){for(var r=0,n=0,i=e.length,s=t.length;e[r]===t[r]&&r<i;)r++;for(;e[i-1-n]===t[s-1-n]&&s-n>r&&i-n>r;)n++;return{from:{start:r,end:i-n},to:{start:r,end:s-n}}}),vu=function(e,t){var r=Math.min(e.selectionStart,t);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:t}}};function mu(e,t,r){return Math.min(Math.max(e,t),r)}function ra(e){return Math.max(e.selectionStart,e.selectionEnd)}function hu(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function pu(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function gu(e){var t=e.currentValue,r=e.formattedValue,n=e.currentValueIndex,i=e.formattedValueIndex;return t[n]===r[i]}function xu(e,t,r,n,i,s,u){u===void 0&&(u=gu);var f=i.findIndex(function(ee){return ee}),h=e.slice(0,f);!t&&!r.startsWith(h)&&(t=h,r=h+r,n=n+h.length);for(var p=r.length,_=e.length,x={},j=new Array(p),R=0;R<p;R++){j[R]=-1;for(var k=0,O=_;k<O;k++){var A=u({currentValue:r,lastValue:t,formattedValue:e,currentValueIndex:R,formattedValueIndex:k});if(A&&x[k]!==!0){j[R]=k,x[k]=!0;break}}}for(var D=n;D<p&&(j[D]===-1||!s(r[D]));)D++;var V=D===p||j[D]===-1?_:j[D];for(D=n-1;D>0&&j[D]===-1;)D--;var U=D===-1||j[D]===-1?0:j[D]+1;return U>V?V:n-U<V-n?U:V}function Yi(e,t,r,n){var i=e.length;if(t=mu(t,0,i),n==="left"){for(;t>=0&&!r[t];)t--;t===-1&&(t=r.indexOf(!0))}else{for(;t<=i&&!r[t];)t++;t>i&&(t=r.lastIndexOf(!0))}return t===-1&&(t=i),t}function bu(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),r=0,n=t.length;r<n;r++)t[r]=!!(Gr(e[r])||Gr(e[r-1]));return t}function zi(e,t,r,n,i,s){s===void 0&&(s=Yt);var u=fu(function(k,O){var A,D;return Bi(k)?(D="",A=""):typeof k=="number"||O?(D=typeof k=="number"?$i(k):k,A=n(D)):(D=i(k,void 0),A=n(D)),{formattedValue:A,numAsString:D}}),f=te.useState(function(){return u(Cr(e)?t:e,r)}),h=f[0],p=f[1],_=function(k,O){k.formattedValue!==h.formattedValue&&p({formattedValue:k.formattedValue,numAsString:k.value}),s(k,O)},x=e,j=r;Cr(e)&&(x=h.numAsString,j=!0);var R=u(x,j);return te.useMemo(function(){p(R)},[R.formattedValue]),[h,_]}function yu(e){return e.replace(/[^0-9]/g,"")}function _u(e){return e}function wu(e){var t=e.type;t===void 0&&(t="text");var r=e.displayType;r===void 0&&(r="input");var n=e.customInput,i=e.renderText,s=e.getInputRef,u=e.format;u===void 0&&(u=_u);var f=e.removeFormatting;f===void 0&&(f=yu);var h=e.defaultValue,p=e.valueIsNumericString,_=e.onValueChange,x=e.isAllowed,j=e.onChange;j===void 0&&(j=Yt);var R=e.onKeyDown;R===void 0&&(R=Yt);var k=e.onMouseUp;k===void 0&&(k=Yt);var O=e.onFocus;O===void 0&&(O=Yt);var A=e.onBlur;A===void 0&&(A=Yt);var D=e.value,V=e.getCaretBoundary;V===void 0&&(V=bu);var U=e.isValidInputCharacter;U===void 0&&(U=Gr);var ee=e.isCharacterSame,q=Fi(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),Y=zi(D,h,!!p,u,f,_),W=Y[0],G=W.formattedValue,de=W.numAsString,Ae=Y[1],He=te.useRef(),Xe=te.useRef({formattedValue:G,numAsString:de}),De=function($,z){Xe.current={formattedValue:$.formattedValue,numAsString:$.value},Ae($,z)},Oe=te.useState(!1),je=Oe[0],Q=Oe[1],B=te.useRef(null),ae=te.useRef({setCaretTimeout:null,focusTimeout:null});te.useEffect(function(){return Q(!0),function(){clearTimeout(ae.current.setCaretTimeout),clearTimeout(ae.current.focusTimeout)}},[]);var we=u,Te=function($,z){var ie=parseFloat(z);return{formattedValue:$,value:z,floatValue:isNaN(ie)?void 0:ie}},Se=function($,z,ie){$.selectionStart===0&&$.selectionEnd===$.value.length||(lr($,z),ae.current.setCaretTimeout=setTimeout(function(){$.value===ie&&$.selectionStart!==z&&lr($,z)},0))},g=function($,z,ie){return Yi($,z,V($),ie)},T=function($,z,ie){var ue=V(z),Ne=xu(z,G,$,ie,ue,U,ee);return Ne=Yi(z,Ne,ue),Ne},oe=function($){var z=$.formattedValue;z===void 0&&(z="");var ie=$.input,ue=$.source,Ne=$.event,ye=$.numAsString,ce;if(ie){var qe=$.inputValue||ie.value,ze=ra(ie);ie.value=z,ce=T(qe,z,ze),ce!==void 0&&Se(ie,ce,z)}z!==G&&De(Te(z,ye),{event:Ne,source:ue})};te.useEffect(function(){var $=Xe.current,z=$.formattedValue,ie=$.numAsString;(G!==z||de!==ie)&&De(Te(G,de),{event:void 0,source:Hr.props})},[G,de]);var ve=B.current?ra(B.current):void 0,le=typeof window<"u"?te.useLayoutEffect:te.useEffect;le(function(){var $=B.current;if(G!==Xe.current.formattedValue&&$){var z=T(Xe.current.formattedValue,G,ve);$.value=G,Se($,z,G)}},[G]);var ge=function($,z,ie){var ue=z.target,Ne=He.current?vu(He.current,ue.selectionEnd):Gi(G,$),ye=Object.assign(Object.assign({},Ne),{lastValue:G}),ce=f($,ye),qe=we(ce);if(ce=f(qe,void 0),x&&!x(Te(qe,ce))){var ze=z.target,Ze=ra(ze),ot=T($,G,Ze);return ze.value=G,Se(ze,ot,G),!1}return oe({formattedValue:qe,numAsString:ce,inputValue:$,event:z,source:ie,input:z.target}),!0},me=function($,z){z===void 0&&(z=0);var ie=$.selectionStart,ue=$.selectionEnd;He.current={selectionStart:ie,selectionEnd:ue+z}},be=function($){var z=$.target,ie=z.value,ue=ge(ie,$,Hr.event);ue&&j($),He.current=void 0},pe=function($){var z=$.target,ie=$.key,ue=z.selectionStart,Ne=z.selectionEnd,ye=z.value;ye===void 0&&(ye="");var ce;ie==="ArrowLeft"||ie==="Backspace"?ce=Math.max(ue-1,0):ie==="ArrowRight"?ce=Math.min(ue+1,ye.length):ie==="Delete"&&(ce=ue);var qe=0;ie==="Delete"&&ue===Ne&&(qe=1);var ze=ie==="ArrowLeft"||ie==="ArrowRight";if(ce===void 0||ue!==Ne&&!ze){R($),me(z,qe);return}var Ze=ce;if(ze){var ot=ie==="ArrowLeft"?"left":"right";Ze=g(ye,ce,ot),Ze!==ce&&$.preventDefault()}else ie==="Delete"&&!U(ye[ce])?Ze=g(ye,ce,"right"):ie==="Backspace"&&!U(ye[ce])&&(Ze=g(ye,ce,"left"));Ze!==ce&&Se(z,Ze,ye),R($),me(z,qe)},Me=function($){var z=$.target,ie=function(){var ue=z.selectionStart,Ne=z.selectionEnd,ye=z.value;if(ye===void 0&&(ye=""),ue===Ne){var ce=g(ye,ue);ce!==ue&&Se(z,ce,ye)}};ie(),requestAnimationFrame(function(){ie()}),k($),me(z)},bt=function($){$.persist&&$.persist();var z=$.target,ie=$.currentTarget;B.current=z,ae.current.focusTimeout=setTimeout(function(){var ue=z.selectionStart,Ne=z.selectionEnd,ye=z.value;ye===void 0&&(ye="");var ce=g(ye,ue);ce!==ue&&!(ue===0&&Ne===ye.length)&&Se(z,ce,ye),O(Object.assign(Object.assign({},$),{currentTarget:ie}))},0)},ut=function($){B.current=null,clearTimeout(ae.current.focusTimeout),clearTimeout(ae.current.setCaretTimeout),A($)},Vt=je&&hu()?"numeric":void 0,ct=Object.assign({inputMode:Vt},q,{type:t,value:G,onChange:be,onKeyDown:pe,onMouseUp:Me,onFocus:bt,onBlur:ut});if(r==="text")return i?te.createElement(te.Fragment,null,i(G,q)||null):te.createElement("span",Object.assign({},q,{ref:s}),G);if(n){var nt=n;return te.createElement(nt,Object.assign({},ct,{ref:s}))}return te.createElement("input",Object.assign({},ct,{ref:s}))}function Ki(e,t){var r=t.decimalScale,n=t.fixedDecimalScale,i=t.prefix;i===void 0&&(i="");var s=t.suffix;s===void 0&&(s="");var u=t.allowNegative,f=t.thousandsGroupStyle;if(f===void 0&&(f="thousand"),e===""||e==="-")return e;var h=hn(t),p=h.thousandSeparator,_=h.decimalSeparator,x=r!==0&&e.indexOf(".")!==-1||r&&n,j=ta(e,u),R=j.beforeDecimal,k=j.afterDecimal,O=j.addNegation;return r!==void 0&&(k=Ui(k,r,!!n)),p&&(R=cu(R,p,f)),i&&(R=i+R),s&&(k=k+s),O&&(R="-"+R),e=R+(x&&_||"")+k,e}function hn(e){var t=e.decimalSeparator;t===void 0&&(t=".");var r=e.thousandSeparator,n=e.allowedDecimalSeparators;return r===!0&&(r=","),n||(n=[t,"."]),{decimalSeparator:t,thousandSeparator:r,allowedDecimalSeparators:n}}function Su(e,t){e===void 0&&(e="");var r=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),i=r.test(e),s=n.test(e);return e=e.replace(/-/g,""),i&&!s&&t&&(e="-"+e),e}function Eu(e,t){return new RegExp("(^-)|[0-9]|"+Vi(e),"g")}function Cu(e,t,r){return e===""?!0:!(t!=null&&t.match(/\d/))&&!(r!=null&&r.match(/\d/))&&typeof e=="string"&&!isNaN(Number(e))}function ju(e,t,r){var n;t===void 0&&(t=pu(e));var i=r.allowNegative,s=r.prefix;s===void 0&&(s="");var u=r.suffix;u===void 0&&(u="");var f=r.decimalScale,h=t.from,p=t.to,_=p.start,x=p.end,j=hn(r),R=j.allowedDecimalSeparators,k=j.decimalSeparator,O=e[x]===k;if(Gr(e)&&(e===s||e===u)&&t.lastValue==="")return e;if(x-_===1&&R.indexOf(e[_])!==-1){var A=f===0?"":k;e=e.substring(0,_)+A+e.substring(_+1,e.length)}var D=function(B,ae,we){var Te=!1,Se=!1;s.startsWith("-")?Te=!1:B.startsWith("--")?(Te=!1,Se=!0):u.startsWith("-")&&B.length===u.length?Te=!1:B[0]==="-"&&(Te=!0);var g=Te?1:0;return Se&&(g=2),g&&(B=B.substring(g),ae-=g,we-=g),{value:B,start:ae,end:we,hasNegation:Te}},V=D(e,_,x),U=V.hasNegation;n=V,e=n.value,_=n.start,x=n.end;var ee=D(t.lastValue,h.start,h.end),q=ee.start,Y=ee.end,W=ee.value,G=e.substring(_,x);e.length&&W.length&&(q>W.length-u.length||Y<s.length)&&!(G&&u.startsWith(G))&&(e=W);var de=0;e.startsWith(s)?de+=s.length:_<s.length&&(de=_),e=e.substring(de),x-=de;var Ae=e.length,He=e.length-u.length;e.endsWith(u)?Ae=He:(x>He||x>e.length-u.length)&&(Ae=x),e=e.substring(0,Ae),e=Su(U?"-"+e:e,i),e=(e.match(Eu(k))||[]).join("");var Xe=e.indexOf(k);e=e.replace(new RegExp(Vi(k),"g"),function(B,ae){return ae===Xe?".":""});var De=ta(e,i),Oe=De.beforeDecimal,je=De.afterDecimal,Q=De.addNegation;return p.end-p.start<h.end-h.start&&Oe===""&&O&&!parseFloat(je)&&(e=Q?"-":""),e}function Ru(e,t){var r=t.prefix;r===void 0&&(r="");var n=t.suffix;n===void 0&&(n="");var i=Array.from({length:e.length+1}).map(function(){return!0}),s=e[0]==="-";i.fill(!1,0,r.length+(s?1:0));var u=e.length;return i.fill(!1,u-n.length+1,u+1),i}function Tu(e){var t=hn(e),r=t.thousandSeparator,n=t.decimalSeparator,i=e.prefix;i===void 0&&(i="");var s=e.allowNegative;if(s===void 0&&(s=!0),r===n)throw new Error(`
|
|
146
146
|
Decimal separator can't be same as thousand separator.
|
|
147
|
-
thousandSeparator: `+
|
|
147
|
+
thousandSeparator: `+r+` (thousandSeparator = {true} is same as thousandSeparator = ",")
|
|
148
148
|
decimalSeparator: `+n+` (default value for decimalSeparator is .)
|
|
149
149
|
`);return i.startsWith("-")&&s&&(console.error(`
|
|
150
150
|
Prefix can't start with '-' when allowNegative is true.
|
|
151
151
|
prefix: `+i+`
|
|
152
152
|
allowNegative: `+s+`
|
|
153
|
-
`),s=!1),Object.assign(Object.assign({},e),{allowNegative:s})}function Ou(e){e=Tu(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var r=e.suffix,t=e.allowNegative,n=e.allowLeadingZeros,i=e.onKeyDown;i===void 0&&(i=Gr);var s=e.onBlur;s===void 0&&(s=Gr);var u=e.thousandSeparator,f=e.decimalScale,g=e.fixedDecimalScale,h=e.prefix;h===void 0&&(h="");var _=e.defaultValue,b=e.value,j=e.valueIsNumericString,R=e.onValueChange,k=Fi(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),O=hn(e),A=O.decimalSeparator,D=O.allowedDecimalSeparators,H=function(J){return Ki(J,e)},G=function(J,V){return ju(J,V,e)},ee=Ct(b)?_:b,Y=j??Cu(ee,h,r);Ct(b)?Ct(_)||(Y=Y||typeof _=="number"):Y=Y||typeof b=="number";var se=function(J){return Bi(J)?J:(typeof J=="number"&&(J=$i(J)),Y&&typeof f=="number"?Hi(J,f,!!g):J)},U=zi(se(b),se(_),!!Y,H,G,R),M=U[0],le=M.numAsString,ke=M.formattedValue,He=U[1],Xe=function(J){var V=J.target,ne=J.key,we=V.selectionStart,Te=V.selectionEnd,Se=V.value;if(Se===void 0&&(Se=""),(ne==="Backspace"||ne==="Delete")&&Te<h.length){J.preventDefault();return}if(we!==Te){i(J);return}ne==="Backspace"&&Se[0]==="-"&&we===h.length+1&&t&&st(V,1),f&&g&&(ne==="Backspace"&&Se[we-1]===A?(st(V,we-1),J.preventDefault()):ne==="Delete"&&Se[we]===A&&J.preventDefault()),D!=null&&D.includes(ne)&&Se[we]===A&&st(V,we+1);var p=u===!0?",":u;ne==="Backspace"&&Se[we-1]===p&&st(V,we-1),ne==="Delete"&&Se[we]===p&&st(V,we+1),i(J)},De=function(J){var V=le;if(V.match(/\d/g)||(V=""),n||(V=du(V)),g&&f&&(V=Hi(V,f,g)),V!==le){var ne=Ki(V,e);He({formattedValue:ne,value:V,floatValue:parseFloat(V)},{event:J,source:$t.event})}s(J)},Oe=function(J){return J===A?!0:Ht(J)},je=function(J){var V=J.currentValue,ne=J.lastValue,we=J.formattedValue,Te=J.currentValueIndex,Se=J.formattedValueIndex,p=V[Te],T=we[Se],ie=Gi(ne,V),ve=ie.to,ue=function(ge){return G(ge).indexOf(".")+h.length};return b===0&&g&&f&&V[ve.start]===A&&ue(V)<Te&&ue(we)>Se?!1:Te>=ve.start&&Te<ve.end&&D&&D.includes(p)&&T===A?!0:p===T};return Object.assign(Object.assign({},k),{value:ke,valueIsNumericString:!1,isValidInputCharacter:Oe,isCharacterSame:je,onValueChange:He,format:H,removeFormatting:G,getCaretBoundary:function(J){return Ru(J,e)},onKeyDown:Xe,onBlur:De})}function ku(e){var r=Ou(e);return Q.createElement(wu,Object.assign({},r))}const Nu=Q.forwardRef(function({label:r,caption:t,disabled:n,errorMessage:i,leadingIcon:s,supportingText:u,amountCounter:f,trailingElement:g,isContentVisible:h,value:_,defaultValue:b,onClearInput:j,isVisibilityToggleEnabled:R,type:k,...O},A){R??(R=k===pr.Password);const D=Q.useRef(null),[H,G]=Q.useState(h??k!==pr.Password);Q.useEffect(()=>{G(h??k!==pr.Password)},[k,h]);function ee(){G(se=>!se)}function Y(){var se;D.current&&((se=D.current.querySelector("input"))==null||se.focus())}return o.jsx(Qn,{label:r,caption:t,disabled:n,errorMessage:i,amountCounter:f,required:O.required,children:o.jsxs("div",{className:N("relative flex flex-row items-center gap-x-3",Ii),onClick:Y,ref:D,children:[s&&o.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:s}),o.jsx(Pu,{...O,inputRef:A,value:_,type:k===pr.Password&&H?pr.Text:k,disabled:n,className:N(Pi,Ai,Di,au)}),u&&o.jsx(mn,{children:u}),o.jsx(Du,{value:_,type:k,onClearInput:j,isContentVisible:H,trailingElement:g,isVisibilityToggleEnabled:R,onToggleButtonClick:ee})]})})});function Pu({type:e,inputRef:r,...t}){function n(i){if(e===pr.Number){const s=i.currentTarget;s.blur(),i.stopPropagation(),setTimeout(()=>{s.focus({preventScroll:!0})},0)}}return e===pr.NumericFormat?o.jsx(Au,{inputRef:r,...t,type:e}):o.jsx("input",{ref:r,...t,type:e,onWheel:i=>{var s;n(i),(s=t.onWheel)==null||s.call(t,i)}})}function Au({inputRef:e,className:r,type:t,...n}){return o.jsx(ku,{className:r,valueIsNumericString:!0,getInputRef:e,...n})}function Du({value:e,type:r,onClearInput:t,isContentVisible:n,trailingElement:i,onToggleButtonClick:s,isVisibilityToggleEnabled:u}){const f=!!(r===pr.Text&&e&&t),g=!!(r===pr.Password&&u),h=!!(i&&!f&&!g);if(f)return o.jsx(ar,{className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",onClick:t,tabIndex:-1,children:o.jsx(Vt,{})});if(g)return o.jsx(ar,{onClick:s,className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:n?o.jsx(Si,{}):o.jsx(wi,{})});if(h)return o.jsx(Q.Fragment,{children:i})}const Iu=Q.forwardRef(function({label:r,caption:t,disabled:n,errorMessage:i,value:s,amountCounter:u,isVisibilityToggleEnabled:f,isResizeEnabled:g,required:h,isContentVisible:_,...b},j){const[R,k]=Q.useState(_??!0);Q.useEffect(()=>{k(_??!0)},[_]);function O(){k(A=>!A)}return o.jsx(Qn,{label:r,caption:t,disabled:n||!R,errorMessage:i,amountCounter:u,required:h,children:o.jsxs("div",{className:"relative",children:[o.jsx("textarea",{disabled:n||!R,required:h,ref:j,className:N("peer block min-h-[50px]",Ii,Pi,Ai,Di,R&&g?"resize-y":"resize-none",!R&&"not-visible select-none text-transparent dark:text-transparent"),value:R?s:"",...b}),!R&&o.jsx("div",{className:"absolute left-0 top-0 flex h-full w-full flex-col items-stretch gap-y-2 px-md py-sm peer-[.not-visible]:select-none",children:o.jsx(Lu,{rows:3,halfWidthRow:3})}),f&&o.jsx("span",{className:"absolute bottom-4 right-4 flex",children:o.jsx(ar,{onClick:O,className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:R?o.jsx(Si,{}):o.jsx(wi,{})})})]})})});function Lu({rows:e,halfWidthRow:r}){return o.jsx(o.Fragment,{children:Array.from({length:e}).map((t,n)=>{const s=r===n+1?"w-1/2":"w-full";return o.jsx("div",{className:`h-2.5 rounded bg-neutral-92/60 dark:bg-neutral-10/60 ${s}`},n)})})}var pn=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(pn||{});const Xi="text-neutral-10 dark:text-neutral-92",qi="text-neutral-40 dark:text-neutral-60",Mu="py-xxs px-sm",Fu="p-sm",Zi="bg-shader-primary-light-12 dark:bg-shader-primary-dark-12",Bu="-top-3 right-3",Vu="-top-1 right-3",Ji="text-neutral-10 dark:text-neutral-92",Qi="text-neutral-60 dark:text-neutral-40";function Uu({icon:e,text:r,isSelected:t,hasBadge:n,onClick:i,isDisabled:s=!1}){const u=t?Xi:qi,f=r?Mu:Fu,g=t&&Zi,h=r?Bu:Vu,_=t?Ji:Qi,b=s?"cursor-not-allowed opacity-60":"state-layer",j=R=>{if(s){R.preventDefault();return}i==null||i(R)};return o.jsxs("div",{onClick:j,className:N("inline-flex cursor-pointer flex-col items-center justify-center space-y-1"),children:[o.jsxs("div",{className:N("relative inline-flex rounded-full",f,g,b),children:[o.jsx("div",{className:N("inline-flex [&_svg]:h-6 [&_svg]:w-6",u),children:e}),n&&o.jsx("div",{className:N("absolute",h),children:o.jsx(un,{type:$e.PrimarySolid})})]}),r&&o.jsx("span",{className:N("text-center text-label-md",_),children:r})]})}function Wu({icon:e,text:r,isSelected:t,hasBadge:n,onClick:i,isDisabled:s=!1}){const u=t?Xi:qi,f=t&&Zi,g=t?Ji:Qi,h=s?"cursor-not-allowed opacity-60":"state-layer cursor-pointer ",_=b=>{if(s){b.preventDefault();return}i==null||i(b)};return o.jsxs("div",{onClick:_,className:N("relative inline-flex w-full flex-row items-center justify-between rounded-full p-sm",f,h),children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:N("inline-flex [&_svg]:h-6 [&_svg]:w-6",u),children:e}),r&&o.jsx("span",{className:N("text-center text-label-lg",g),children:r})]}),n&&o.jsx(un,{type:$e.PrimarySolid})]})}function ta(e){const{type:r,text:t}=e;return r===pn.Vertical&&t?o.jsx(Wu,{...e}):o.jsx(Uu,{...e})}function $u({title:e,subtitle:r,badgeType:t,badgeText:n,isLocked:i,avatarContent:s,onOptionsClick:u,onLockAccountClick:f,onUnlockAccountClick:g,onCopy:h,copyText:_,onOpen:b,isCopyable:j,isExternal:R,isSelected:k,isActive:O,showSelected:A}){const D=s;return o.jsxs("div",{className:N("state-layer group relative flex w-full items-center justify-between space-x-3 rounded-xl px-sm py-xs hover:cursor-pointer",O&&"state-active",{"opacity-60":i&&A}),children:[o.jsxs("div",{className:"flex items-center space-x-3",children:[o.jsx(D,{isLocked:i}),o.jsxs("div",{className:"flex flex-col items-start py-xs",children:[o.jsxs("div",{className:"flex items-center space-x-2",children:[o.jsx("span",{className:"font-inter text-title-md text-neutral-10 dark:text-neutral-92",children:e}),t&&n&&o.jsx(un,{type:t,label:n})]}),o.jsx(ki,{text:r,onCopySuccess:h,copyText:_,onOpen:b,isCopyable:j,isExternal:R})]})]}),o.jsxs("div",{className:"z-10 ml-auto flex items-center space-x-2 [&_button]:h-5 [&_button]:w-5 [&_svg]:h-5 [&_svg]:w-5",children:[o.jsxs("div",{className:"flex items-center space-x-2 [&_button:not(.locked)]:hidden group-hover:[&_button:not(.locked)]:flex [&_svg]:text-neutral-40 [&_svg]:dark:text-neutral-60",children:[u&&o.jsx(ar,{onClick:u,children:o.jsx(mi,{})}),f&&g&&(i?o.jsx("div",{className:"flex items-center",children:o.jsx(ar,{onClick:g,testId:"account-unlock",className:"locked",children:o.jsx(nl,{})})}):o.jsx(ar,{onClick:f,testId:"account-lock",children:o.jsx(al,{})}))]}),A&&o.jsx(ar,{children:k?o.jsx(Js,{className:"h-5 w-5 text-primary-30 dark:text-primary-80"}):o.jsx(pi,{className:"h-5 w-5 text-neutral-40 dark:text-neutral-60"})})]})]})}function eo({children:e}){return o.jsx("ul",{className:"list-none rounded-lg border border-neutral-80 bg-neutral-100 py-xs dark:border-neutral-20 dark:bg-neutral-6",children:e})}var Gt=(e=>(e.Top="top",e.Bottom="bottom",e))(Gt||{});function ro({children:e,hasLastBorderNoneClass:r,isContentCentered:t}){return o.jsx("td",{className:N("h-14 border-b border-shader-neutral-light-8 px-md dark:border-shader-neutral-dark-8",{"last:border-none":r},{"flex items-center justify-center":t}),children:e})}function Hu({children:e,supportingLabel:r}){return o.jsxs("div",{className:"flex flex-row items-baseline gap-1",children:[o.jsx("span",{children:e}),r&&o.jsx("span",{className:"text-body-sm text-neutral-60 dark:text-neutral-40",children:r})]})}function Gu(){return o.jsx(Ri,{})}var Yt=(e=>(e.Small="small",e.Default="default",e))(Yt||{});const Yu=Q.forwardRef(({disabled:e,label:r,leadingIcon:t,supportingText:n,errorMessage:i,caption:s,options:u,placeholder:f,onValueChange:g,onOptionClick:h,value:_,dropdownPosition:b=Gt.Bottom,size:j=Yt.Default},R)=>{const[k,O]=Q.useState(!1),A=ee(_,u),D=A||f,H=j===Yt.Small?"px-sm":"px-md",G=j===Yt.Small?"text-body-md":"text-body-lg";Q.useEffect(()=>{e&&k&&U()},[e,k]);function ee(M,le=[]){return le.find(ke=>typeof ke=="string"?ke===M:ke.id===M)??le[0]}function Y(){O(M=>!M)}function se(M){U();const le=typeof M=="string"?M:M.id;h==null||h(le),M!==A&&(g==null||g(le))}function U(){O(!1)}return o.jsx(Qn,{label:r,caption:s,disabled:e,errorMessage:i,labelHtmlTag:Li.Div,children:o.jsxs("div",{className:"relative flex w-full flex-col",children:[o.jsxs(ar,{ref:R,onClick:Y,disabled:e,className:N("flex flex-row items-center gap-x-3 rounded-lg border border-neutral-80 py-sm hover:enabled:border-neutral-50 focus-visible:enabled:border-primary-30 active:enabled:border-primary-30 disabled:cursor-not-allowed group-[.errored]:border-error-30 group-[.opened]:border-primary-30 dark:border-neutral-20 dark:hover:enabled:border-neutral-60 dark:group-[.errored]:border-error-80 dark:group-[.opened]:border-primary-80 [&:is(:focus,_:focus-visible,_:active)]:enabled:border-primary-30 dark:[&:is(:focus,_:focus-visible,_:active)]:enabled:border-primary-80 [&_svg]:h-5 [&_svg]:w-5",H),children:[t&&o.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:t}),o.jsxs("div",{className:"flex w-full flex-row items-baseline gap-x-3",children:[D&&o.jsx("div",{className:N("block w-full text-start text-neutral-10 dark:text-neutral-92",G),children:o.jsx(to,{option:D})}),n&&o.jsx("div",{className:"ml-auto",children:o.jsx(mn,{children:n})})]}),o.jsx(cl,{className:N("text-neutral-10 transition-transform dark:text-neutral-92",{" rotate-180":k})})]}),k&&o.jsx("div",{className:"fixed left-0 top-0 z-[49] h-screen w-screen bg-transparent",onClick:U}),o.jsx("div",{className:N("absolute z-50 min-w-full",{hidden:!k,"top-full":!b||b===Gt.Bottom,"bottom-full":b===Gt.Top}),children:o.jsx(eo,{children:u.map(M=>{const le=typeof M=="string";return o.jsx(Ci,{onClick:()=>se(M),hideBottomBorder:!0,children:o.jsx(to,{option:M})},le?M:M.id)})})})]})})});function to({option:e}){return typeof e=="string"?e:"renderLabel"in e?e.renderLabel():e.label}var lt=(e=>(e.Asc="asc",e.Desc="desc",e))(lt||{});function no({label:e,columnKey:r,hasSort:t,hasCheckbox:n,isChecked:i,isIndeterminate:s,isContentCentered:u,onSortClick:f,onCheckboxChange:g,sortOrder:h}){const _=()=>{const k=h===lt.Asc?lt.Desc:lt.Asc;f&&f(r,k)},b="text-neutral-10 dark:text-neutral-92",j="text-label-lg",R=t?h===lt.Asc?o.jsx(yi,{className:"shrink-0"}):h===lt.Desc?o.jsx(ul,{className:"shrink-0"}):o.jsx(yi,{className:"invisible shrink-0 group-hover:visible"}):null;return o.jsx("th",{onClick:t?_:void 0,className:N("state-layer group relative h-14 border-b border-shader-neutral-light-8 px-md after:pointer-events-none dark:border-shader-neutral-dark-8",{"cursor-pointer":t}),children:o.jsxs("div",{className:N("flex flex-row items-center gap-1 [&_svg]:h-4 [&_svg]:w-4",b,j,{"justify-center":u}),children:[n?o.jsx(Jn,{isChecked:i,isIndeterminate:s,onCheckedChange:g}):o.jsx("span",{className:N({"text-left":!u}),children:e}),R]})})}var Tr=(e=>(e.Outlined="outlined",e.Filled="filled",e))(Tr||{});const zu={[Tr.Outlined]:"bg-transparent",[Tr.Filled]:"bg-neutral-92 dark:bg-neutral-12"},Ku={[Tr.Outlined]:"border-l border-r border-t border-neutral-70 dark:border-neutral-40",[Tr.Filled]:"bg-neutral-92 dark:bg-neutral-12"},Xu={[Tr.Outlined]:"rounded-b-3xl border-b border-l border-r border-neutral-70 dark:border-neutral-40",[Tr.Filled]:"rounded-b-3xl bg-neutral-92 dark:bg-neutral-12"};function qu({searchValue:e,suggestions:r,onSearchValueChange:t,onSuggestionClick:n,placeholder:i,isLoading:s=!1,onKeyDown:u,type:f=Tr.Outlined,renderSuggestion:g}){const h=Q.useRef(null),_=Q.useRef(null),[b,j]=Q.useState(!0),[R,k]=Q.useState(null);function O(U){const M=U.target.value;t(M)}Q.useEffect(()=>{const U=M=>{var le;M.key==="Escape"&&(j(!1),(le=h.current)==null||le.blur())};return document.addEventListener("keydown",U),()=>{document.removeEventListener("keydown",U)}},[]),Q.useEffect(()=>{const U=M=>{var ke;const le=h==null?void 0:h.current;!le||le.contains(M==null?void 0:M.target)||(ke=_.current)!=null&&ke.contains(M.target)||j(!1)};return document.addEventListener("click",U,!0),document.addEventListener("touchstart",U,!0),()=>{document.removeEventListener("click",U,!0),document.removeEventListener("touchstart",U,!0)}},[h]);const A=b&&r&&r.length>0,D=A?"rounded-t-3xl border-b border-b-transparent":f===Tr.Outlined?"rounded-3xl border-b":"rounded-full",H=Ku[f],G=zu[f],ee=Xu[f],Y=U=>{var M;n==null||n(U),t(""),j(!1),k(null),(M=h.current)==null||M.blur()},se=U=>{r&&(r==null?void 0:r.length)>0&&(U.key==="ArrowDown"?(U.preventDefault(),k(M=>M===null||M>=r.length-1?0:M+1)):U.key==="ArrowUp"?(U.preventDefault(),k(M=>M===null||M<=0?r.length-1:M-1)):U.key==="Enter"&&(U.preventDefault(),R!==null&&r[R]?Y(r[R]):r.length===1&&Y(r[0]))),u&&u(U)};return o.jsxs("div",{className:"relative w-full",children:[o.jsxs("div",{className:N("flex items-center overflow-hidden px-md py-sm text-neutral-10 dark:text-neutral-92 [&_svg]:h-6 [&_svg]:w-6",D,H),children:[o.jsx("input",{ref:h,type:"text",value:e,onChange:O,onKeyDown:se,onFocus:()=>j(!0),placeholder:i,className:N("w-full flex-1 outline-none placeholder:text-neutral-40 placeholder:dark:text-neutral-60",G)}),o.jsx(ll,{})]}),A&&g&&o.jsxs("div",{ref:_,className:N("absolute left-0 top-full flex w-full flex-col items-center overflow-hidden bg-neutral-100 dark:bg-neutral-10",ee),children:[o.jsx(Ei,{width:"w-11/12"}),s?o.jsx("div",{className:"px-md py-sm",children:o.jsx(ui,{className:"animate-spin"})}):r.map((U,M)=>o.jsx("div",{onClick:()=>Y(U),onMouseEnter:()=>k(M),className:N("w-full cursor-pointer px-md py-sm",R===M?"bg-shader-primary-dark-16 dark:bg-shader-inverted-dark-16":""),children:g(U,M)},U.id))]})]})}var jt=(e=>(e.Default="default",e.Outlined="outlined",e.Filled="filled",e))(jt||{}),Yr=(e=>(e.Placeholder="placeholder",e.BgSolid="bg-solid",e.BgWhite="bg-white",e.BgTransparent="bg-transparent",e))(Yr||{}),ut=(e=>(e.Rounded="rounded",e.SquareRounded="square-rounded",e))(ut||{}),zt=(e=>(e.Link="link",e.SupportingText="supporting-text",e.Button="button",e))(zt||{});const Zu="cursor-default opacity-40",ao="h-10 w-10",io={[ut.SquareRounded]:`${ao} rounded-md`,[ut.Rounded]:`${ao} rounded-full`},Ju={[Yr.Placeholder]:"",[Yr.BgSolid]:"bg-neutral-96 dark:bg-neutral-10",[Yr.BgWhite]:"bg-white dark:bg-neutral-6",[Yr.BgTransparent]:""},Qu={[jt.Default]:"border border-transparent",[jt.Outlined]:"border border-shader-neutral-light-8 dark:border-shader-primary-dark-8 p-xs",[jt.Filled]:"border border-transparent bg-neutral-96 dark:bg-neutral-10 p-xs"};function ec({isDisabled:e=!1,type:r=jt.Default,isHoverable:t,onClick:n,children:i,testId:s}){function u(){e||n==null||n()}return o.jsx("div",{onClick:u,className:N("relative inline-flex w-full items-center gap-3 rounded-xl px-sm py-xs",Qu[r],{"state-layer":t||!e&&n,[Zu]:e,"cursor-pointer":n}),"data-testid":s,children:i})}function rc({type:e,onClick:r,subtitle:t,title:n,icon:i,iconAfterText:s,buttonType:u,buttonDisabled:f}){function g(h){r&&(h.stopPropagation(),r())}return e===zt.Link?o.jsx("div",{onClick:g,className:"shrink-0 text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",children:i||o.jsx(Gn,{})}):e===zt.SupportingText?o.jsxs("div",{className:"shrink-0 text-right",children:[n&&o.jsx("div",{className:"font-inter text-label-md text-neutral-10 dark:text-neutral-92",children:n}),t&&o.jsx("div",{className:"font-inter text-label-sm text-neutral-60 dark:text-neutral-40",children:t})]}):e===zt.Button?o.jsx("div",{className:"shrink-0",children:o.jsx(dr,{type:u||Ee.Outlined,size:er.Small,text:n,onClick:g,icon:i,iconAfterText:s,disabled:f})}):null}function tc({variant:e=ut.Rounded}){return e===ut.Rounded?o.jsx(nc,{}):o.jsx(ac,{})}function nc(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[o.jsxs("g",{"clip-path":"url(#clip0_880_55185)",children:[o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"#5B9CFE"}),o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint0_linear_880_55185)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint1_linear_880_55185)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0.5 20C0.5 9.23045 9.23045 0.5 20 0.5C30.7696 0.5 39.5 9.23045 39.5 20C39.5 30.7696 30.7696 39.5 20 39.5C9.23045 39.5 0.5 30.7696 0.5 20Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"paint0_linear_880_55185",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsxs("linearGradient",{id:"paint1_linear_880_55185",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsx("clipPath",{id:"clip0_880_55185",children:o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"white"})})]})]})}function ac(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[o.jsxs("g",{"clip-path":"url(#clip0_880_55190)",children:[o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#5B9CFE"}),o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_880_55190)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint1_linear_880_55190)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0.5 8C0.5 3.85786 3.85786 0.5 8 0.5H32C36.1421 0.5 39.5 3.85786 39.5 8V32C39.5 36.1421 36.1421 39.5 32 39.5H8C3.85786 39.5 0.5 36.1421 0.5 32V8Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"paint0_linear_880_55190",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsxs("linearGradient",{id:"paint1_linear_880_55190",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsx("clipPath",{id:"clip0_880_55190",children:o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"white"})})]})]})}function ic({type:e=Yr.BgSolid,shape:r=ut.Rounded,url:t,children:n}){return o.jsxs("div",{className:N(io[r],Ju[e],"flex shrink-0 items-center justify-center overflow-hidden"),children:[e===Yr.Placeholder&&!n&&o.jsx(tc,{variant:r}),t&&!n&&o.jsx("img",{src:t,className:N(io[r],"object-cover"),alt:"Card Image"}),n]})}function oc({title:e,subtitle:r,clickableAction:t,icon:n,isTextTruncated:i,tooltipText:s,tooltipPosition:u}){const f=g=>{g==null||g.stopPropagation()};return o.jsxs("div",{className:N("flex w-full flex-col",{truncate:i}),children:[o.jsxs("div",{className:N("flex flex-row items-center gap-x-xxs",{"grow-1":i}),children:[o.jsx("div",{className:N("font-inter text-title-md text-neutral-10 dark:text-neutral-92",{truncate:i}),children:e}),s?o.jsx(Et,{text:s,position:u,children:n}):o.jsx("div",{className:"flex items-center",children:n}),t&&o.jsx("div",{onClick:f,className:"flex items-center",children:t})]}),r&&o.jsx("div",{className:N("font-inter text-body-md text-neutral-40 dark:text-neutral-60",{truncate:i}),children:r})]})}var Br=(e=>(e.Default="default",e.Highlight="highlight",e.Secondary="secondary",e))(Br||{}),gr=(e=>(e.Default="default",e.Large="large",e))(gr||{});const sc={[Br.Default]:"bg-neutral-96 dark:bg-neutral-10",[Br.Highlight]:"bg-primary-30 dark:bg-primary-80",[Br.Secondary]:"bg-secondary-90 dark:bg-secondary-10"},lc={[Br.Default]:"text-neutral-10 dark:text-neutral-92",[Br.Highlight]:"text-neutral-100 dark:text-primary-10",[Br.Secondary]:"text-neutral-10 dark:text-neutral-92"},uc={[gr.Default]:"gap-y-sm",[gr.Large]:"gap-y-md"},cc={[gr.Default]:"text-title-md",[gr.Large]:"text-headline-sm"},fc={[gr.Default]:"text-label-md",[gr.Large]:"text-label-lg"},dc={[gr.Default]:"text-label-sm",[gr.Large]:"text-label-md"};function vc({label:e,tooltipPosition:r,tooltipText:t,value:n,supportingLabel:i,type:s=Br.Default,size:u=gr.Default,icon:f}){const g=sc[s],h=uc[u],_=lc[s],b=cc[u],j=dc[u],R=fc[u];return o.jsxs("div",{className:N("flex h-full w-full flex-col justify-between rounded-2xl p-md--rs",g,h,_),children:[o.jsxs("div",{className:N("flex flex-row items-center",{"w-full justify-between":f}),children:[o.jsxs("div",{className:"flex flex-row items-center gap-xxs",children:[o.jsx("span",{className:N(j,"whitespace-pre-line"),children:e}),t&&o.jsx(Et,{text:t,position:r,children:o.jsx(cn,{className:"opacity-40"})})]}),f&&o.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:f})]}),o.jsxs("div",{className:"flex w-full flex-row items-baseline gap-xxs",children:[o.jsx("span",{className:N("break-all",b),children:n}),i&&o.jsx("span",{className:N("opacity-40",R),children:i})]})]})}function zr(e,r,{checkForDefaultPrevented:t=!0}={}){return function(i){if(e==null||e(i),t===!1||!i.defaultPrevented)return r==null?void 0:r(i)}}function mc(e,r){typeof e=="function"?e(r):e!=null&&(e.current=r)}function oo(...e){return r=>e.forEach(t=>mc(t,r))}function ct(...e){return S.useCallback(oo(...e),e)}function hc(e,r){const t=S.createContext(r);function n(s){const{children:u,...f}=s,g=S.useMemo(()=>f,Object.values(f));return o.jsx(t.Provider,{value:g,children:u})}function i(s){const u=S.useContext(t);if(u)return u;if(r!==void 0)return r;throw new Error(`\`${s}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,i]}function pc(e,r=[]){let t=[];function n(s,u){const f=S.createContext(u),g=t.length;t=[...t,u];function h(b){const{scope:j,children:R,...k}=b,O=(j==null?void 0:j[e][g])||f,A=S.useMemo(()=>k,Object.values(k));return o.jsx(O.Provider,{value:A,children:R})}function _(b,j){const R=(j==null?void 0:j[e][g])||f,k=S.useContext(R);if(k)return k;if(u!==void 0)return u;throw new Error(`\`${b}\` must be used within \`${s}\``)}return h.displayName=s+"Provider",[h,_]}const i=()=>{const s=t.map(u=>S.createContext(u));return function(f){const g=(f==null?void 0:f[e])||s;return S.useMemo(()=>({[`__scope${e}`]:{...f,[e]:g}}),[f,g])}};return i.scopeName=e,[n,gc(i,...r)]}function gc(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const n=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const u=n.reduce((f,{useScope:g,scopeName:h})=>{const b=g(s)[`__scope${h}`];return{...f,...b}},{});return S.useMemo(()=>({[`__scope${r.scopeName}`]:u}),[u])}};return t.scopeName=r.scopeName,t}var gn=globalThis!=null&&globalThis.document?S.useLayoutEffect:()=>{},xc=S.useId||(()=>{}),bc=0;function na(e){const[r,t]=S.useState(xc());return gn(()=>{e||t(n=>n??String(bc++))},[e]),e||(r?`radix-${r}`:"")}function ft(e){const r=S.useRef(e);return S.useEffect(()=>{r.current=e}),S.useMemo(()=>(...t)=>{var n;return(n=r.current)==null?void 0:n.call(r,...t)},[])}function yc({prop:e,defaultProp:r,onChange:t=()=>{}}){const[n,i]=_c({defaultProp:r,onChange:t}),s=e!==void 0,u=s?e:n,f=ft(t),g=S.useCallback(h=>{if(s){const b=typeof h=="function"?h(e):h;b!==e&&f(b)}else i(h)},[s,e,i,f]);return[u,g]}function _c({defaultProp:e,onChange:r}){const t=S.useState(e),[n]=t,i=S.useRef(n),s=ft(r);return S.useEffect(()=>{i.current!==n&&(s(n),i.current=n)},[n,i,s]),t}var aa=S.forwardRef((e,r)=>{const{children:t,...n}=e,i=S.Children.toArray(t),s=i.find(Sc);if(s){const u=s.props.children,f=i.map(g=>g===s?S.Children.count(u)>1?S.Children.only(null):S.isValidElement(u)?u.props.children:null:g);return o.jsx(ia,{...n,ref:r,children:S.isValidElement(u)?S.cloneElement(u,void 0,f):null})}return o.jsx(ia,{...n,ref:r,children:t})});aa.displayName="Slot";var ia=S.forwardRef((e,r)=>{const{children:t,...n}=e;if(S.isValidElement(t)){const i=Cc(t);return S.cloneElement(t,{...Ec(n,t.props),ref:r?oo(r,i):i})}return S.Children.count(t)>1?S.Children.only(null):null});ia.displayName="SlotClone";var wc=({children:e})=>o.jsx(o.Fragment,{children:e});function Sc(e){return S.isValidElement(e)&&e.type===wc}function Ec(e,r){const t={...r};for(const n in r){const i=e[n],s=r[n];/^on[A-Z]/.test(n)?i&&s?t[n]=(...f)=>{s(...f),i(...f)}:i&&(t[n]=i):n==="style"?t[n]={...i,...s}:n==="className"&&(t[n]=[i,s].filter(Boolean).join(" "))}return{...e,...t}}function Cc(e){var n,i;let r=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}var jc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Or=jc.reduce((e,r)=>{const t=S.forwardRef((n,i)=>{const{asChild:s,...u}=n,f=s?aa:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),o.jsx(f,{...u,ref:i})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function Rc(e,r){e&&Pa.flushSync(()=>e.dispatchEvent(r))}function Tc(e,r=globalThis==null?void 0:globalThis.document){const t=ft(e);S.useEffect(()=>{const n=i=>{i.key==="Escape"&&t(i)};return r.addEventListener("keydown",n,{capture:!0}),()=>r.removeEventListener("keydown",n,{capture:!0})},[t,r])}var Oc="DismissableLayer",oa="dismissableLayer.update",kc="dismissableLayer.pointerDownOutside",Nc="dismissableLayer.focusOutside",so,lo=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uo=S.forwardRef((e,r)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:u,onDismiss:f,...g}=e,h=S.useContext(lo),[_,b]=S.useState(null),j=(_==null?void 0:_.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,R]=S.useState({}),k=ct(r,U=>b(U)),O=Array.from(h.layers),[A]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),D=O.indexOf(A),H=_?O.indexOf(_):-1,G=h.layersWithOutsidePointerEventsDisabled.size>0,ee=H>=D,Y=Dc(U=>{const M=U.target,le=[...h.branches].some(ke=>ke.contains(M));!ee||le||(i==null||i(U),u==null||u(U),U.defaultPrevented||f==null||f())},j),se=Ic(U=>{const M=U.target;[...h.branches].some(ke=>ke.contains(M))||(s==null||s(U),u==null||u(U),U.defaultPrevented||f==null||f())},j);return Tc(U=>{H===h.layers.size-1&&(n==null||n(U),!U.defaultPrevented&&f&&(U.preventDefault(),f()))},j),S.useEffect(()=>{if(_)return t&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(so=j.body.style.pointerEvents,j.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(_)),h.layers.add(_),co(),()=>{t&&h.layersWithOutsidePointerEventsDisabled.size===1&&(j.body.style.pointerEvents=so)}},[_,j,t,h]),S.useEffect(()=>()=>{_&&(h.layers.delete(_),h.layersWithOutsidePointerEventsDisabled.delete(_),co())},[_,h]),S.useEffect(()=>{const U=()=>R({});return document.addEventListener(oa,U),()=>document.removeEventListener(oa,U)},[]),o.jsx(Or.div,{...g,ref:k,style:{pointerEvents:G?ee?"auto":"none":void 0,...e.style},onFocusCapture:zr(e.onFocusCapture,se.onFocusCapture),onBlurCapture:zr(e.onBlurCapture,se.onBlurCapture),onPointerDownCapture:zr(e.onPointerDownCapture,Y.onPointerDownCapture)})});uo.displayName=Oc;var Pc="DismissableLayerBranch",Ac=S.forwardRef((e,r)=>{const t=S.useContext(lo),n=S.useRef(null),i=ct(r,n);return S.useEffect(()=>{const s=n.current;if(s)return t.branches.add(s),()=>{t.branches.delete(s)}},[t.branches]),o.jsx(Or.div,{...e,ref:i})});Ac.displayName=Pc;function Dc(e,r=globalThis==null?void 0:globalThis.document){const t=ft(e),n=S.useRef(!1),i=S.useRef(()=>{});return S.useEffect(()=>{const s=f=>{if(f.target&&!n.current){let g=function(){fo(kc,t,h,{discrete:!0})};const h={originalEvent:f};f.pointerType==="touch"?(r.removeEventListener("click",i.current),i.current=g,r.addEventListener("click",i.current,{once:!0})):g()}else r.removeEventListener("click",i.current);n.current=!1},u=window.setTimeout(()=>{r.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(u),r.removeEventListener("pointerdown",s),r.removeEventListener("click",i.current)}},[r,t]),{onPointerDownCapture:()=>n.current=!0}}function Ic(e,r=globalThis==null?void 0:globalThis.document){const t=ft(e),n=S.useRef(!1);return S.useEffect(()=>{const i=s=>{s.target&&!n.current&&fo(Nc,t,{originalEvent:s},{discrete:!1})};return r.addEventListener("focusin",i),()=>r.removeEventListener("focusin",i)},[r,t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function co(){const e=new CustomEvent(oa);document.dispatchEvent(e)}function fo(e,r,t,{discrete:n}){const i=t.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t});r&&i.addEventListener(e,r,{once:!0}),n?Rc(i,s):i.dispatchEvent(s)}var sa="focusScope.autoFocusOnMount",la="focusScope.autoFocusOnUnmount",vo={bubbles:!1,cancelable:!0},Lc="FocusScope",mo=S.forwardRef((e,r)=>{const{loop:t=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...u}=e,[f,g]=S.useState(null),h=ft(i),_=ft(s),b=S.useRef(null),j=ct(r,O=>g(O)),R=S.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;S.useEffect(()=>{if(n){let O=function(G){if(R.paused||!f)return;const ee=G.target;f.contains(ee)?b.current=ee:Kr(b.current,{select:!0})},A=function(G){if(R.paused||!f)return;const ee=G.relatedTarget;ee!==null&&(f.contains(ee)||Kr(b.current,{select:!0}))},D=function(G){if(document.activeElement===document.body)for(const Y of G)Y.removedNodes.length>0&&Kr(f)};document.addEventListener("focusin",O),document.addEventListener("focusout",A);const H=new MutationObserver(D);return f&&H.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",O),document.removeEventListener("focusout",A),H.disconnect()}}},[n,f,R.paused]),S.useEffect(()=>{if(f){go.add(R);const O=document.activeElement;if(!f.contains(O)){const D=new CustomEvent(sa,vo);f.addEventListener(sa,h),f.dispatchEvent(D),D.defaultPrevented||(Mc(Wc(ho(f)),{select:!0}),document.activeElement===O&&Kr(f))}return()=>{f.removeEventListener(sa,h),setTimeout(()=>{const D=new CustomEvent(la,vo);f.addEventListener(la,_),f.dispatchEvent(D),D.defaultPrevented||Kr(O??document.body,{select:!0}),f.removeEventListener(la,_),go.remove(R)},0)}}},[f,h,_,R]);const k=S.useCallback(O=>{if(!t&&!n||R.paused)return;const A=O.key==="Tab"&&!O.altKey&&!O.ctrlKey&&!O.metaKey,D=document.activeElement;if(A&&D){const H=O.currentTarget,[G,ee]=Fc(H);G&&ee?!O.shiftKey&&D===ee?(O.preventDefault(),t&&Kr(G,{select:!0})):O.shiftKey&&D===G&&(O.preventDefault(),t&&Kr(ee,{select:!0})):D===H&&O.preventDefault()}},[t,n,R.paused]);return o.jsx(Or.div,{tabIndex:-1,...u,ref:j,onKeyDown:k})});mo.displayName=Lc;function Mc(e,{select:r=!1}={}){const t=document.activeElement;for(const n of e)if(Kr(n,{select:r}),document.activeElement!==t)return}function Fc(e){const r=ho(e),t=po(r,e),n=po(r.reverse(),e);return[t,n]}function ho(e){const r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)r.push(t.currentNode);return r}function po(e,r){for(const t of e)if(!Bc(t,{upTo:r}))return t}function Bc(e,{upTo:r}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(r!==void 0&&e===r)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Vc(e){return e instanceof HTMLInputElement&&"select"in e}function Kr(e,{select:r=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&Vc(e)&&r&&e.select()}}var go=Uc();function Uc(){let e=[];return{add(r){const t=e[0];r!==t&&(t==null||t.pause()),e=xo(e,r),e.unshift(r)},remove(r){var t;e=xo(e,r),(t=e[0])==null||t.resume()}}}function xo(e,r){const t=[...e],n=t.indexOf(r);return n!==-1&&t.splice(n,1),t}function Wc(e){return e.filter(r=>r.tagName!=="A")}var $c="Portal",bo=S.forwardRef((e,r)=>{var f;const{container:t,...n}=e,[i,s]=S.useState(!1);gn(()=>s(!0),[]);const u=t||i&&((f=globalThis==null?void 0:globalThis.document)==null?void 0:f.body);return u?ka.createPortal(o.jsx(Or.div,{...n,ref:r}),u):null});bo.displayName=$c;function Hc(e,r){return S.useReducer((t,n)=>r[t][n]??t,e)}var xn=e=>{const{present:r,children:t}=e,n=Gc(r),i=typeof t=="function"?t({present:n.isPresent}):S.Children.only(t),s=ct(n.ref,Yc(i));return typeof t=="function"||n.isPresent?S.cloneElement(i,{ref:s}):null};xn.displayName="Presence";function Gc(e){const[r,t]=S.useState(),n=S.useRef({}),i=S.useRef(e),s=S.useRef("none"),u=e?"mounted":"unmounted",[f,g]=Hc(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const h=bn(n.current);s.current=f==="mounted"?h:"none"},[f]),gn(()=>{const h=n.current,_=i.current;if(_!==e){const j=s.current,R=bn(h);e?g("MOUNT"):R==="none"||(h==null?void 0:h.display)==="none"?g("UNMOUNT"):g(_&&j!==R?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,g]),gn(()=>{if(r){const h=b=>{const R=bn(n.current).includes(b.animationName);b.target===r&&R&&Pa.flushSync(()=>g("ANIMATION_END"))},_=b=>{b.target===r&&(s.current=bn(n.current))};return r.addEventListener("animationstart",_),r.addEventListener("animationcancel",h),r.addEventListener("animationend",h),()=>{r.removeEventListener("animationstart",_),r.removeEventListener("animationcancel",h),r.removeEventListener("animationend",h)}}else g("ANIMATION_END")},[r,g]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:S.useCallback(h=>{h&&(n.current=getComputedStyle(h)),t(h)},[])}}function bn(e){return(e==null?void 0:e.animationName)||"none"}function Yc(e){var n,i;let r=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}var ua=0;function zc(){S.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??yo()),document.body.insertAdjacentElement("beforeend",e[1]??yo()),ua++,()=>{ua===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ua--}},[])}function yo(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var kr=function(){return kr=Object.assign||function(r){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}return r},kr.apply(this,arguments)};function _o(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)r.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(t[n[i]]=e[n[i]]);return t}function Kc(e,r,t){if(t||arguments.length===2)for(var n=0,i=r.length,s;n<i;n++)(s||!(n in r))&&(s||(s=Array.prototype.slice.call(r,0,n)),s[n]=r[n]);return e.concat(s||Array.prototype.slice.call(r))}typeof SuppressedError=="function"&&SuppressedError;var yn="right-scroll-bar-position",_n="width-before-scroll-bar",Xc="with-scroll-bars-hidden",qc="--removed-body-scroll-bar-size";function ca(e,r){return typeof e=="function"?e(r):e&&(e.current=r),e}function Zc(e,r){var t=Q.useState(function(){return{value:e,callback:r,facade:{get current(){return t.value},set current(n){var i=t.value;i!==n&&(t.value=n,t.callback(n,i))}}}})[0];return t.callback=r,t.facade}var Jc=typeof window<"u"?S.useLayoutEffect:S.useEffect,wo=new WeakMap;function Qc(e,r){var t=Zc(null,function(n){return e.forEach(function(i){return ca(i,n)})});return Jc(function(){var n=wo.get(t);if(n){var i=new Set(n),s=new Set(e),u=t.current;i.forEach(function(f){s.has(f)||ca(f,null)}),s.forEach(function(f){i.has(f)||ca(f,u)})}wo.set(t,e)},[e]),t}function ef(e){return e}function rf(e,r){r===void 0&&(r=ef);var t=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(s){var u=r(s,n);return t.push(u),function(){t=t.filter(function(f){return f!==u})}},assignSyncMedium:function(s){for(n=!0;t.length;){var u=t;t=[],u.forEach(s)}t={push:function(f){return s(f)},filter:function(){return t}}},assignMedium:function(s){n=!0;var u=[];if(t.length){var f=t;t=[],f.forEach(s),u=t}var g=function(){var _=u;u=[],_.forEach(s)},h=function(){return Promise.resolve().then(g)};h(),t={push:function(_){u.push(_),h()},filter:function(_){return u=u.filter(_),t}}}};return i}function tf(e){e===void 0&&(e={});var r=rf(null);return r.options=kr({async:!0,ssr:!1},e),r}var So=function(e){var r=e.sideCar,t=_o(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=r.read();if(!n)throw new Error("Sidecar medium not found");return S.createElement(n,kr({},t))};So.isSideCarExport=!0;function nf(e,r){return e.useMedium(r),So}var Eo=tf(),fa=function(){},wn=S.forwardRef(function(e,r){var t=S.useRef(null),n=S.useState({onScrollCapture:fa,onWheelCapture:fa,onTouchMoveCapture:fa}),i=n[0],s=n[1],u=e.forwardProps,f=e.children,g=e.className,h=e.removeScrollBar,_=e.enabled,b=e.shards,j=e.sideCar,R=e.noIsolation,k=e.inert,O=e.allowPinchZoom,A=e.as,D=A===void 0?"div":A,H=e.gapMode,G=_o(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),ee=j,Y=Qc([t,r]),se=kr(kr({},G),i);return S.createElement(S.Fragment,null,_&&S.createElement(ee,{sideCar:Eo,removeScrollBar:h,shards:b,noIsolation:R,inert:k,setCallbacks:s,allowPinchZoom:!!O,lockRef:t,gapMode:H}),u?S.cloneElement(S.Children.only(f),kr(kr({},se),{ref:Y})):S.createElement(D,kr({},se,{className:g,ref:Y}),f))});wn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},wn.classNames={fullWidth:_n,zeroRight:yn};var af=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function of(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=af();return r&&e.setAttribute("nonce",r),e}function sf(e,r){e.styleSheet?e.styleSheet.cssText=r:e.appendChild(document.createTextNode(r))}function lf(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var uf=function(){var e=0,r=null;return{add:function(t){e==0&&(r=of())&&(sf(r,t),lf(r)),e++},remove:function(){e--,!e&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},cf=function(){var e=uf();return function(r,t){S.useEffect(function(){return e.add(r),function(){e.remove()}},[r&&t])}},Co=function(){var e=cf(),r=function(t){var n=t.styles,i=t.dynamic;return e(n,i),null};return r},ff={left:0,top:0,right:0,gap:0},da=function(e){return parseInt(e||"",10)||0},df=function(e){var r=window.getComputedStyle(document.body),t=r[e==="padding"?"paddingLeft":"marginLeft"],n=r[e==="padding"?"paddingTop":"marginTop"],i=r[e==="padding"?"paddingRight":"marginRight"];return[da(t),da(n),da(i)]},vf=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ff;var r=df(e),t=document.documentElement.clientWidth,n=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,n-t+r[2]-r[0])}},mf=Co(),Rt="data-scroll-locked",hf=function(e,r,t,n){var i=e.left,s=e.top,u=e.right,f=e.gap;return t===void 0&&(t="margin"),`
|
|
153
|
+
`),s=!1),Object.assign(Object.assign({},e),{allowNegative:s})}function Ou(e){e=Tu(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,r=e.allowNegative,n=e.allowLeadingZeros,i=e.onKeyDown;i===void 0&&(i=Yt);var s=e.onBlur;s===void 0&&(s=Yt);var u=e.thousandSeparator,f=e.decimalScale,h=e.fixedDecimalScale,p=e.prefix;p===void 0&&(p="");var _=e.defaultValue,x=e.value,j=e.valueIsNumericString,R=e.onValueChange,k=Fi(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),O=hn(e),A=O.decimalSeparator,D=O.allowedDecimalSeparators,V=function(Q){return Ki(Q,e)},U=function(Q,B){return ju(Q,B,e)},ee=Cr(x)?_:x,q=j??Cu(ee,p,t);Cr(x)?Cr(_)||(q=q||typeof _=="number"):q=q||typeof x=="number";var Y=function(Q){return Bi(Q)?Q:(typeof Q=="number"&&(Q=$i(Q)),q&&typeof f=="number"?Hi(Q,f,!!h):Q)},W=zi(Y(x),Y(_),!!q,V,U,R),G=W[0],de=G.numAsString,Ae=G.formattedValue,He=W[1],Xe=function(Q){var B=Q.target,ae=Q.key,we=B.selectionStart,Te=B.selectionEnd,Se=B.value;if(Se===void 0&&(Se=""),(ae==="Backspace"||ae==="Delete")&&Te<p.length){Q.preventDefault();return}if(we!==Te){i(Q);return}ae==="Backspace"&&Se[0]==="-"&&we===p.length+1&&r&&lr(B,1),f&&h&&(ae==="Backspace"&&Se[we-1]===A?(lr(B,we-1),Q.preventDefault()):ae==="Delete"&&Se[we]===A&&Q.preventDefault()),D!=null&&D.includes(ae)&&Se[we]===A&&lr(B,we+1);var g=u===!0?",":u;ae==="Backspace"&&Se[we-1]===g&&lr(B,we-1),ae==="Delete"&&Se[we]===g&&lr(B,we+1),i(Q)},De=function(Q){var B=de;if(B.match(/\d/g)||(B=""),n||(B=du(B)),h&&f&&(B=Hi(B,f,h)),B!==de){var ae=Ki(B,e);He({formattedValue:ae,value:B,floatValue:parseFloat(B)},{event:Q,source:Hr.event})}s(Q)},Oe=function(Q){return Q===A?!0:Gr(Q)},je=function(Q){var B=Q.currentValue,ae=Q.lastValue,we=Q.formattedValue,Te=Q.currentValueIndex,Se=Q.formattedValueIndex,g=B[Te],T=we[Se],oe=Gi(ae,B),ve=oe.to,le=function(ge){return U(ge).indexOf(".")+p.length};return x===0&&h&&f&&B[ve.start]===A&&le(B)<Te&&le(we)>Se?!1:Te>=ve.start&&Te<ve.end&&D&&D.includes(g)&&T===A?!0:g===T};return Object.assign(Object.assign({},k),{value:Ae,valueIsNumericString:!1,isValidInputCharacter:Oe,isCharacterSame:je,onValueChange:He,format:V,removeFormatting:U,getCaretBoundary:function(Q){return Ru(Q,e)},onKeyDown:Xe,onBlur:De})}function ku(e){var t=Ou(e);return te.createElement(wu,Object.assign({},t))}const Nu=te.forwardRef(function({label:t,caption:r,disabled:n,errorMessage:i,leadingIcon:s,supportingText:u,amountCounter:f,trailingElement:h,isContentVisible:p,value:_,defaultValue:x,onClearInput:j,isVisibilityToggleEnabled:R,type:k,...O},A){R??(R=k===pt.Password);const D=te.useRef(null),[V,U]=te.useState(p??k!==pt.Password);te.useEffect(()=>{U(p??k!==pt.Password)},[k,p]);function ee(){U(Y=>!Y)}function q(){var Y;D.current&&((Y=D.current.querySelector("input"))==null||Y.focus())}return o.jsx(ea,{label:t,caption:r,disabled:n,errorMessage:i,amountCounter:f,required:O.required,children:o.jsxs("div",{className:N("relative flex flex-row items-center gap-x-3",Ii),onClick:q,ref:D,children:[s&&o.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:s}),o.jsx(Pu,{...O,inputRef:A,value:_,type:k===pt.Password&&V?pt.Text:k,disabled:n,className:N(Pi,Ai,Di,au)}),u&&o.jsx(mn,{children:u}),o.jsx(Du,{value:_,type:k,onClearInput:j,isContentVisible:V,trailingElement:h,isVisibilityToggleEnabled:R,onToggleButtonClick:ee})]})})});function Pu({type:e,inputRef:t,...r}){function n(i){if(e===pt.Number){const s=i.currentTarget;s.blur(),i.stopPropagation(),setTimeout(()=>{s.focus({preventScroll:!0})},0)}}return e===pt.NumericFormat?o.jsx(Au,{inputRef:t,...r,type:e}):o.jsx("input",{ref:t,...r,type:e,onWheel:i=>{var s;n(i),(s=r.onWheel)==null||s.call(r,i)}})}function Au({inputRef:e,className:t,type:r,...n}){return o.jsx(ku,{className:t,valueIsNumericString:!0,getInputRef:e,...n})}function Du({value:e,type:t,onClearInput:r,isContentVisible:n,trailingElement:i,onToggleButtonClick:s,isVisibilityToggleEnabled:u}){const f=!!(t===pt.Text&&e&&r),h=!!(t===pt.Password&&u),p=!!(i&&!f&&!h);if(f)return o.jsx(rt,{className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",onClick:r,tabIndex:-1,children:o.jsx(Ur,{})});if(h)return o.jsx(rt,{onClick:s,className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:n?o.jsx(Si,{}):o.jsx(wi,{})});if(p)return o.jsx(te.Fragment,{children:i})}const Iu=te.forwardRef(function({label:t,caption:r,disabled:n,errorMessage:i,value:s,amountCounter:u,isVisibilityToggleEnabled:f,isResizeEnabled:h,required:p,isContentVisible:_,...x},j){const[R,k]=te.useState(_??!0);te.useEffect(()=>{k(_??!0)},[_]);function O(){k(A=>!A)}return o.jsx(ea,{label:t,caption:r,disabled:n||!R,errorMessage:i,amountCounter:u,required:p,children:o.jsxs("div",{className:"relative",children:[o.jsx("textarea",{disabled:n||!R,required:p,ref:j,className:N("peer block min-h-[50px]",Ii,Pi,Ai,Di,R&&h?"resize-y":"resize-none",!R&&"not-visible select-none text-transparent dark:text-transparent"),value:R?s:"",...x}),!R&&o.jsx("div",{className:"absolute left-0 top-0 flex h-full w-full flex-col items-stretch gap-y-2 px-md py-sm peer-[.not-visible]:select-none",children:o.jsx(Lu,{rows:3,halfWidthRow:3})}),f&&o.jsx("span",{className:"absolute bottom-4 right-4 flex",children:o.jsx(rt,{onClick:O,className:"text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",tabIndex:-1,children:R?o.jsx(Si,{}):o.jsx(wi,{})})})]})})});function Lu({rows:e,halfWidthRow:t}){return o.jsx(o.Fragment,{children:Array.from({length:e}).map((r,n)=>{const s=t===n+1?"w-1/2":"w-full";return o.jsx("div",{className:`h-2.5 rounded bg-neutral-92/60 dark:bg-neutral-10/60 ${s}`},n)})})}var pn=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(pn||{});const Xi="text-neutral-10 dark:text-neutral-92",qi="text-neutral-40 dark:text-neutral-60",Mu="py-xxs px-sm",Fu="p-sm",Zi="bg-shader-primary-light-12 dark:bg-shader-primary-dark-12",Bu="-top-3 right-3",Vu="-top-1 right-3",Ji="text-neutral-10 dark:text-neutral-92",Qi="text-neutral-60 dark:text-neutral-40";function Uu({icon:e,text:t,isSelected:r,hasBadge:n,onClick:i,isDisabled:s=!1}){const u=r?Xi:qi,f=t?Mu:Fu,h=r&&Zi,p=t?Bu:Vu,_=r?Ji:Qi,x=s?"cursor-not-allowed opacity-60":"state-layer",j=R=>{if(s){R.preventDefault();return}i==null||i(R)};return o.jsxs("div",{onClick:j,className:N("inline-flex cursor-pointer flex-col items-center justify-center space-y-1"),children:[o.jsxs("div",{className:N("relative inline-flex rounded-full",f,h,x),children:[o.jsx("div",{className:N("inline-flex [&_svg]:h-6 [&_svg]:w-6",u),children:e}),n&&o.jsx("div",{className:N("absolute",p),children:o.jsx(Br,{type:$e.PrimarySolid})})]}),t&&o.jsx("span",{className:N("text-center text-label-md",_),children:t})]})}function Wu({icon:e,text:t,isSelected:r,hasBadge:n,onClick:i,isDisabled:s=!1}){const u=r?Xi:qi,f=r&&Zi,h=r?Ji:Qi,p=s?"cursor-not-allowed opacity-60":"state-layer cursor-pointer ",_=x=>{if(s){x.preventDefault();return}i==null||i(x)};return o.jsxs("div",{onClick:_,className:N("relative inline-flex w-full flex-row items-center justify-between rounded-full p-sm",f,p),children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:N("inline-flex [&_svg]:h-6 [&_svg]:w-6",u),children:e}),t&&o.jsx("span",{className:N("text-center text-label-lg",h),children:t})]}),n&&o.jsx(Br,{type:$e.PrimarySolid})]})}function na(e){const{type:t,text:r}=e;return t===pn.Vertical&&r?o.jsx(Wu,{...e}):o.jsx(Uu,{...e})}function $u({title:e,subtitle:t,badgeType:r,badgeText:n,isLocked:i,avatarContent:s,onOptionsClick:u,onLockAccountClick:f,onUnlockAccountClick:h,onCopy:p,copyText:_,onOpen:x,isCopyable:j,isExternal:R,isSelected:k,isActive:O,showSelected:A,badgeTooltipText:D,badgeTooltipPosition:V=Gt.Bottom}){const U=s;return o.jsxs("div",{className:N("state-layer group relative flex w-full items-center justify-between space-x-3 rounded-xl px-sm py-xs hover:cursor-pointer",O&&"state-active",{"opacity-60":i&&A}),children:[o.jsxs("div",{className:"flex items-center space-x-3",children:[o.jsx(U,{isLocked:i}),o.jsxs("div",{className:"flex flex-col items-start py-xs",children:[o.jsxs("div",{className:"flex items-center space-x-2",children:[o.jsx("span",{className:"font-inter text-title-md text-neutral-10 dark:text-neutral-92",children:e}),n&&r?D?o.jsx(ir,{text:D,position:V,children:o.jsx(Br,{type:r,label:n})}):o.jsx(Br,{type:r,label:n}):null]}),o.jsx(ki,{text:t,onCopySuccess:p,copyText:_,onOpen:x,isCopyable:j,isExternal:R})]})]}),o.jsxs("div",{className:"z-10 ml-auto flex items-center space-x-2 [&_button]:h-5 [&_button]:w-5 [&_svg]:h-5 [&_svg]:w-5",children:[o.jsxs("div",{className:"flex items-center space-x-2 [&_button:not(.locked)]:hidden group-hover:[&_button:not(.locked)]:flex [&_svg]:text-neutral-40 [&_svg]:dark:text-neutral-60",children:[u&&o.jsx(rt,{onClick:u,children:o.jsx(mi,{})}),f&&h&&(i?o.jsx("div",{className:"flex items-center",children:o.jsx(rt,{onClick:h,testId:"account-unlock",className:"locked",children:o.jsx(nl,{})})}):o.jsx(rt,{onClick:f,testId:"account-lock",children:o.jsx(al,{})}))]}),A&&o.jsx(rt,{children:k?o.jsx(Js,{className:"h-5 w-5 text-primary-30 dark:text-primary-80"}):o.jsx(pi,{className:"h-5 w-5 text-neutral-40 dark:text-neutral-60"})})]})]})}function eo({children:e}){return o.jsx("ul",{className:"list-none rounded-lg border border-neutral-80 bg-neutral-100 py-xs dark:border-neutral-20 dark:bg-neutral-6",children:e})}var Yr=(e=>(e.Top="top",e.Bottom="bottom",e))(Yr||{});function to({children:e,hasLastBorderNoneClass:t,isContentCentered:r}){return o.jsx("td",{className:N("h-14 border-b border-shader-neutral-light-8 px-md dark:border-shader-neutral-dark-8",{"last:border-none":t},{"flex items-center justify-center":r}),children:e})}function Hu({children:e,supportingLabel:t}){return o.jsxs("div",{className:"flex flex-row items-baseline gap-1",children:[o.jsx("span",{children:e}),t&&o.jsx("span",{className:"text-body-sm text-neutral-60 dark:text-neutral-40",children:t})]})}function Gu(){return o.jsx(Ri,{})}var zr=(e=>(e.Small="small",e.Default="default",e))(zr||{});const Yu=te.forwardRef(({disabled:e,label:t,leadingIcon:r,supportingText:n,errorMessage:i,caption:s,options:u,placeholder:f,onValueChange:h,onOptionClick:p,value:_,dropdownPosition:x=Yr.Bottom,size:j=zr.Default},R)=>{const[k,O]=te.useState(!1),A=ee(_,u),D=A||f,V=j===zr.Small?"px-sm":"px-md",U=j===zr.Small?"text-body-md":"text-body-lg";te.useEffect(()=>{e&&k&&W()},[e,k]);function ee(G,de=[]){return de.find(Ae=>typeof Ae=="string"?Ae===G:Ae.id===G)??de[0]}function q(){O(G=>!G)}function Y(G){W();const de=typeof G=="string"?G:G.id;p==null||p(de),G!==A&&(h==null||h(de))}function W(){O(!1)}return o.jsx(ea,{label:t,caption:s,disabled:e,errorMessage:i,labelHtmlTag:Li.Div,children:o.jsxs("div",{className:"relative flex w-full flex-col",children:[o.jsxs(rt,{ref:R,onClick:q,disabled:e,className:N("flex flex-row items-center gap-x-3 rounded-lg border border-neutral-80 py-sm hover:enabled:border-neutral-50 focus-visible:enabled:border-primary-30 active:enabled:border-primary-30 disabled:cursor-not-allowed group-[.errored]:border-error-30 group-[.opened]:border-primary-30 dark:border-neutral-20 dark:hover:enabled:border-neutral-60 dark:group-[.errored]:border-error-80 dark:group-[.opened]:border-primary-80 [&:is(:focus,_:focus-visible,_:active)]:enabled:border-primary-30 dark:[&:is(:focus,_:focus-visible,_:active)]:enabled:border-primary-80 [&_svg]:h-5 [&_svg]:w-5",V),children:[r&&o.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:r}),o.jsxs("div",{className:"flex w-full flex-row items-baseline gap-x-3",children:[D&&o.jsx("div",{className:N("block w-full text-start text-neutral-10 dark:text-neutral-92",U),children:o.jsx(ro,{option:D})}),n&&o.jsx("div",{className:"ml-auto",children:o.jsx(mn,{children:n})})]}),o.jsx(cl,{className:N("text-neutral-10 transition-transform dark:text-neutral-92",{" rotate-180":k})})]}),k&&o.jsx("div",{className:"fixed left-0 top-0 z-[49] h-screen w-screen bg-transparent",onClick:W}),o.jsx("div",{className:N("absolute z-50 min-w-full",{hidden:!k,"top-full":!x||x===Yr.Bottom,"bottom-full":x===Yr.Top}),children:o.jsx(eo,{children:u.map(G=>{const de=typeof G=="string";return o.jsx(Ci,{onClick:()=>Y(G),hideBottomBorder:!0,children:o.jsx(ro,{option:G})},de?G:G.id)})})})]})})});function ro({option:e}){return typeof e=="string"?e:"renderLabel"in e?e.renderLabel():e.label}var ur=(e=>(e.Asc="asc",e.Desc="desc",e))(ur||{});function no({label:e,columnKey:t,hasSort:r,hasCheckbox:n,isChecked:i,isIndeterminate:s,isContentCentered:u,onSortClick:f,onCheckboxChange:h,sortOrder:p}){const _=()=>{const k=p===ur.Asc?ur.Desc:ur.Asc;f&&f(t,k)},x="text-neutral-10 dark:text-neutral-92",j="text-label-lg",R=r?p===ur.Asc?o.jsx(yi,{className:"shrink-0"}):p===ur.Desc?o.jsx(ul,{className:"shrink-0"}):o.jsx(yi,{className:"invisible shrink-0 group-hover:visible"}):null;return o.jsx("th",{onClick:r?_:void 0,className:N("state-layer group relative h-14 border-b border-shader-neutral-light-8 px-md after:pointer-events-none dark:border-shader-neutral-dark-8",{"cursor-pointer":r}),children:o.jsxs("div",{className:N("flex flex-row items-center gap-1 [&_svg]:h-4 [&_svg]:w-4",x,j,{"justify-center":u}),children:[n?o.jsx(Qn,{isChecked:i,isIndeterminate:s,onCheckedChange:h}):o.jsx("span",{className:N({"text-left":!u}),children:e}),R]})})}var Tt=(e=>(e.Outlined="outlined",e.Filled="filled",e))(Tt||{});const zu={[Tt.Outlined]:"bg-transparent",[Tt.Filled]:"bg-neutral-92 dark:bg-neutral-12"},Ku={[Tt.Outlined]:"border-l border-r border-t border-neutral-70 dark:border-neutral-40",[Tt.Filled]:"bg-neutral-92 dark:bg-neutral-12"},Xu={[Tt.Outlined]:"rounded-b-3xl border-b border-l border-r border-neutral-70 dark:border-neutral-40",[Tt.Filled]:"rounded-b-3xl bg-neutral-92 dark:bg-neutral-12"};function qu({searchValue:e,suggestions:t,onSearchValueChange:r,onSuggestionClick:n,placeholder:i,isLoading:s=!1,type:u=Tt.Outlined,renderSuggestion:f}){const h=te.useRef(null),p=te.useRef(null),[_,x]=te.useState(!0),[j,R]=te.useState(null);function k(Y){const W=Y.target.value;r(W)}te.useEffect(()=>{const Y=W=>{var G;W.key==="Escape"&&(x(!1),(G=h.current)==null||G.blur())};return document.addEventListener("keydown",Y),()=>{document.removeEventListener("keydown",Y)}},[]),te.useEffect(()=>{const Y=W=>{var de;const G=h==null?void 0:h.current;!G||G.contains(W==null?void 0:W.target)||(de=p.current)!=null&&de.contains(W.target)||x(!1)};return document.addEventListener("click",Y,!0),document.addEventListener("touchstart",Y,!0),()=>{document.removeEventListener("click",Y,!0),document.removeEventListener("touchstart",Y,!0)}},[h]);const O=_&&t&&t.length>0,A=O?"rounded-t-3xl border-b border-b-transparent":u===Tt.Outlined?"rounded-3xl border-b":"rounded-full",D=Ku[u],V=zu[u],U=Xu[u],ee=Y=>{var W;n==null||n(Y),r(""),x(!1),R(null),(W=h.current)==null||W.blur()},q=Y=>{t&&(t==null?void 0:t.length)>0&&(Y.key==="ArrowDown"?(Y.preventDefault(),R(W=>W===null||W>=t.length-1?0:W+1)):Y.key==="ArrowUp"?(Y.preventDefault(),R(W=>W===null||W<=0?t.length-1:W-1)):Y.key==="Enter"&&(Y.preventDefault(),j!==null&&t[j]?ee(t[j]):t.length===1&&ee(t[0])))};return o.jsxs("div",{className:"relative w-full",children:[o.jsxs("div",{className:N("flex items-center overflow-hidden px-md py-sm text-neutral-10 dark:text-neutral-92 [&_svg]:h-6 [&_svg]:w-6",A,D),children:[o.jsx("input",{ref:h,type:"text",value:e,onChange:k,onKeyDown:q,onFocus:()=>x(!0),placeholder:i,className:N("w-full flex-1 outline-none placeholder:text-neutral-40 placeholder:dark:text-neutral-60",V)}),o.jsx(ll,{})]}),O&&f&&o.jsxs("div",{ref:p,className:N("absolute left-0 top-full flex w-full flex-col items-center overflow-hidden bg-neutral-100 dark:bg-neutral-10",U),children:[o.jsx(Ei,{width:"w-11/12"}),s?o.jsx("div",{className:"px-md py-sm",children:o.jsx(ui,{className:"animate-spin"})}):t.map((Y,W)=>o.jsx("div",{onClick:()=>ee(Y),onMouseEnter:()=>R(W),className:N("w-full cursor-pointer px-md py-sm",j===W?"bg-shader-primary-dark-16 dark:bg-shader-inverted-dark-16":""),children:f(Y,W)},Y.id))]})]})}var jr=(e=>(e.Default="default",e.Outlined="outlined",e.Filled="filled",e))(jr||{}),zt=(e=>(e.Placeholder="placeholder",e.BgSolid="bg-solid",e.BgWhite="bg-white",e.BgTransparent="bg-transparent",e))(zt||{}),cr=(e=>(e.Rounded="rounded",e.SquareRounded="square-rounded",e))(cr||{}),Kr=(e=>(e.Link="link",e.SupportingText="supporting-text",e.Button="button",e))(Kr||{});const Zu="cursor-default opacity-40",ao="h-10 w-10",io={[cr.SquareRounded]:`${ao} rounded-md`,[cr.Rounded]:`${ao} rounded-full`},Ju={[zt.Placeholder]:"",[zt.BgSolid]:"bg-neutral-96 dark:bg-neutral-10",[zt.BgWhite]:"bg-white dark:bg-neutral-6",[zt.BgTransparent]:""},Qu={[jr.Default]:"border border-transparent",[jr.Outlined]:"border border-shader-neutral-light-8 dark:border-shader-primary-dark-8 p-xs",[jr.Filled]:"border border-transparent bg-neutral-96 dark:bg-neutral-10 p-xs"};function ec({isDisabled:e=!1,type:t=jr.Default,isHoverable:r,onClick:n,children:i,testId:s}){function u(){e||n==null||n()}return o.jsx("div",{onClick:u,className:N("relative inline-flex w-full items-center gap-3 rounded-xl px-sm py-xs",Qu[t],{"state-layer":r||!e&&n,[Zu]:e,"cursor-pointer":n}),"data-testid":s,children:i})}function tc({type:e,onClick:t,subtitle:r,title:n,icon:i,iconAfterText:s,buttonType:u,buttonDisabled:f}){function h(p){t&&(p.stopPropagation(),t())}return e===Kr.Link?o.jsx("div",{onClick:h,className:"shrink-0 text-neutral-10 dark:text-neutral-92 [&_svg]:h-5 [&_svg]:w-5",children:i||o.jsx(Gn,{})}):e===Kr.SupportingText?o.jsxs("div",{className:"shrink-0 text-right",children:[n&&o.jsx("div",{className:"font-inter text-label-md text-neutral-10 dark:text-neutral-92",children:n}),r&&o.jsx("div",{className:"font-inter text-label-sm text-neutral-60 dark:text-neutral-40",children:r})]}):e===Kr.Button?o.jsx("div",{className:"shrink-0",children:o.jsx(dt,{type:u||Ee.Outlined,size:et.Small,text:n,onClick:h,icon:i,iconAfterText:s,disabled:f})}):null}function rc({variant:e=cr.Rounded}){return e===cr.Rounded?o.jsx(nc,{}):o.jsx(ac,{})}function nc(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[o.jsxs("g",{"clip-path":"url(#clip0_880_55185)",children:[o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"#5B9CFE"}),o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint0_linear_880_55185)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"url(#paint1_linear_880_55185)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0.5 20C0.5 9.23045 9.23045 0.5 20 0.5C30.7696 0.5 39.5 9.23045 39.5 20C39.5 30.7696 30.7696 39.5 20 39.5C9.23045 39.5 0.5 30.7696 0.5 20Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"paint0_linear_880_55185",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsxs("linearGradient",{id:"paint1_linear_880_55185",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsx("clipPath",{id:"clip0_880_55185",children:o.jsx("path",{d:"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z",fill:"white"})})]})]})}function ac(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[o.jsxs("g",{"clip-path":"url(#clip0_880_55190)",children:[o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"#5B9CFE"}),o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint0_linear_880_55190)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"url(#paint1_linear_880_55190)","fill-opacity":"0.2"}),o.jsx("path",{d:"M0.5 8C0.5 3.85786 3.85786 0.5 8 0.5H32C36.1421 0.5 39.5 3.85786 39.5 8V32C39.5 36.1421 36.1421 39.5 32 39.5H8C3.85786 39.5 0.5 36.1421 0.5 32V8Z",stroke:"#002F6D","stroke-opacity":"0.08"})]}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"paint0_linear_880_55190",x1:"20",y1:"0",x2:"29.5238",y2:"22.381",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.990135","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsxs("linearGradient",{id:"paint1_linear_880_55190",x1:"20",y1:"0",x2:"11.4286",y2:"9.04762",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.9999","stop-opacity":"0"}),o.jsx("stop",{offset:"1"})]}),o.jsx("clipPath",{id:"clip0_880_55190",children:o.jsx("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H32C36.4183 0 40 3.58172 40 8V32C40 36.4183 36.4183 40 32 40H8C3.58172 40 0 36.4183 0 32V8Z",fill:"white"})})]})]})}function ic({type:e=zt.BgSolid,shape:t=cr.Rounded,url:r,children:n}){return o.jsxs("div",{className:N(io[t],Ju[e],"flex shrink-0 items-center justify-center overflow-hidden"),children:[e===zt.Placeholder&&!n&&o.jsx(rc,{variant:t}),r&&!n&&o.jsx("img",{src:r,className:N(io[t],"object-cover"),alt:"Card Image"}),n]})}function oc({title:e,subtitle:t,clickableAction:r,icon:n,isTextTruncated:i,tooltipText:s,tooltipPosition:u}){const f=h=>{h==null||h.stopPropagation()};return o.jsxs("div",{className:N("flex w-full flex-col",{truncate:i}),children:[o.jsxs("div",{className:N("flex flex-row items-center gap-x-xxs",{"grow-1":i}),children:[o.jsx("div",{className:N("font-inter text-title-md text-neutral-10 dark:text-neutral-92",{truncate:i}),children:e}),s?o.jsx(ir,{text:s,position:u,children:n}):o.jsx("div",{className:"flex items-center",children:n}),r&&o.jsx("div",{onClick:f,className:"flex items-center",children:r})]}),t&&o.jsx("div",{className:N("font-inter text-body-md text-neutral-40 dark:text-neutral-60",{truncate:i}),children:t})]})}var Bt=(e=>(e.Default="default",e.Highlight="highlight",e.Secondary="secondary",e))(Bt||{}),gt=(e=>(e.Default="default",e.Large="large",e))(gt||{});const sc={[Bt.Default]:"bg-neutral-96 dark:bg-neutral-10",[Bt.Highlight]:"bg-primary-30 dark:bg-primary-80",[Bt.Secondary]:"bg-secondary-90 dark:bg-secondary-10"},lc={[Bt.Default]:"text-neutral-10 dark:text-neutral-92",[Bt.Highlight]:"text-neutral-100 dark:text-primary-10",[Bt.Secondary]:"text-neutral-10 dark:text-neutral-92"},uc={[gt.Default]:"gap-y-sm",[gt.Large]:"gap-y-md"},cc={[gt.Default]:"text-title-md",[gt.Large]:"text-headline-sm"},fc={[gt.Default]:"text-label-md",[gt.Large]:"text-label-lg"},dc={[gt.Default]:"text-label-sm",[gt.Large]:"text-label-md"};function vc({label:e,tooltipPosition:t,tooltipText:r,value:n,supportingLabel:i,type:s=Bt.Default,size:u=gt.Default,icon:f,copyText:h,onCopySuccess:p,onCopyError:_}){const x=sc[s],j=uc[u],R=lc[s],k=cc[u],O=dc[u],A=fc[u];async function D(V){if(navigator.clipboard&&h)try{await navigator.clipboard.writeText(h),p==null||p(V,h)}catch(U){console.error("Failed to copy:",U),_==null||_(U,h)}}return o.jsxs("div",{className:N("flex h-full w-full flex-col justify-between rounded-2xl p-md--rs",x,j,R),children:[o.jsxs("div",{className:N("flex flex-row items-center",{"w-full justify-between":f}),children:[o.jsxs("div",{className:"flex flex-row items-center gap-xxs",children:[o.jsx("span",{className:N(O,"whitespace-pre-line"),children:e}),r&&o.jsx(ir,{text:r,position:t,children:o.jsx(cn,{className:"opacity-40"})})]}),f&&o.jsx("span",{className:"text-neutral-10 dark:text-neutral-92",children:f})]}),o.jsxs("div",{className:"flex w-full flex-row items-baseline gap-xxs",children:[o.jsx("span",{className:N("break-all",k),children:n}),i&&o.jsx("span",{className:N("opacity-40",A),children:i}),h&&o.jsx("div",{className:"self-center",children:o.jsx(rt,{onClick:D,children:o.jsx(Yn,{className:"text-neutral-60 dark:text-neutral-40"})})})]})]})}function Kt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e==null||e(i),r===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function mc(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function oo(...e){return t=>e.forEach(r=>mc(r,t))}function fr(...e){return S.useCallback(oo(...e),e)}function hc(e,t){const r=S.createContext(t);function n(s){const{children:u,...f}=s,h=S.useMemo(()=>f,Object.values(f));return o.jsx(r.Provider,{value:h,children:u})}function i(s){const u=S.useContext(r);if(u)return u;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,i]}function pc(e,t=[]){let r=[];function n(s,u){const f=S.createContext(u),h=r.length;r=[...r,u];function p(x){const{scope:j,children:R,...k}=x,O=(j==null?void 0:j[e][h])||f,A=S.useMemo(()=>k,Object.values(k));return o.jsx(O.Provider,{value:A,children:R})}function _(x,j){const R=(j==null?void 0:j[e][h])||f,k=S.useContext(R);if(k)return k;if(u!==void 0)return u;throw new Error(`\`${x}\` must be used within \`${s}\``)}return p.displayName=s+"Provider",[p,_]}const i=()=>{const s=r.map(u=>S.createContext(u));return function(f){const h=(f==null?void 0:f[e])||s;return S.useMemo(()=>({[`__scope${e}`]:{...f,[e]:h}}),[f,h])}};return i.scopeName=e,[n,gc(i,...t)]}function gc(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const u=n.reduce((f,{useScope:h,scopeName:p})=>{const x=h(s)[`__scope${p}`];return{...f,...x}},{});return S.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return r.scopeName=t.scopeName,r}var gn=globalThis!=null&&globalThis.document?S.useLayoutEffect:()=>{},xc=S.useId||(()=>{}),bc=0;function aa(e){const[t,r]=S.useState(xc());return gn(()=>{e||r(n=>n??String(bc++))},[e]),e||(t?`radix-${t}`:"")}function dr(e){const t=S.useRef(e);return S.useEffect(()=>{t.current=e}),S.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}function yc({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,i]=_c({defaultProp:t,onChange:r}),s=e!==void 0,u=s?e:n,f=dr(r),h=S.useCallback(p=>{if(s){const x=typeof p=="function"?p(e):p;x!==e&&f(x)}else i(p)},[s,e,i,f]);return[u,h]}function _c({defaultProp:e,onChange:t}){const r=S.useState(e),[n]=r,i=S.useRef(n),s=dr(t);return S.useEffect(()=>{i.current!==n&&(s(n),i.current=n)},[n,i,s]),r}var ia=S.forwardRef((e,t)=>{const{children:r,...n}=e,i=S.Children.toArray(r),s=i.find(Sc);if(s){const u=s.props.children,f=i.map(h=>h===s?S.Children.count(u)>1?S.Children.only(null):S.isValidElement(u)?u.props.children:null:h);return o.jsx(oa,{...n,ref:t,children:S.isValidElement(u)?S.cloneElement(u,void 0,f):null})}return o.jsx(oa,{...n,ref:t,children:r})});ia.displayName="Slot";var oa=S.forwardRef((e,t)=>{const{children:r,...n}=e;if(S.isValidElement(r)){const i=Cc(r);return S.cloneElement(r,{...Ec(n,r.props),ref:t?oo(t,i):i})}return S.Children.count(r)>1?S.Children.only(null):null});oa.displayName="SlotClone";var wc=({children:e})=>o.jsx(o.Fragment,{children:e});function Sc(e){return S.isValidElement(e)&&e.type===wc}function Ec(e,t){const r={...t};for(const n in t){const i=e[n],s=t[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...f)=>{s(...f),i(...f)}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...e,...r}}function Cc(e){var n,i;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var jc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ot=jc.reduce((e,t)=>{const r=S.forwardRef((n,i)=>{const{asChild:s,...u}=n,f=s?ia:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),o.jsx(f,{...u,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Rc(e,t){e&&Aa.flushSync(()=>e.dispatchEvent(t))}function Tc(e,t=globalThis==null?void 0:globalThis.document){const r=dr(e);S.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Oc="DismissableLayer",sa="dismissableLayer.update",kc="dismissableLayer.pointerDownOutside",Nc="dismissableLayer.focusOutside",so,lo=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uo=S.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:u,onDismiss:f,...h}=e,p=S.useContext(lo),[_,x]=S.useState(null),j=(_==null?void 0:_.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,R]=S.useState({}),k=fr(t,W=>x(W)),O=Array.from(p.layers),[A]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),D=O.indexOf(A),V=_?O.indexOf(_):-1,U=p.layersWithOutsidePointerEventsDisabled.size>0,ee=V>=D,q=Dc(W=>{const G=W.target,de=[...p.branches].some(Ae=>Ae.contains(G));!ee||de||(i==null||i(W),u==null||u(W),W.defaultPrevented||f==null||f())},j),Y=Ic(W=>{const G=W.target;[...p.branches].some(Ae=>Ae.contains(G))||(s==null||s(W),u==null||u(W),W.defaultPrevented||f==null||f())},j);return Tc(W=>{V===p.layers.size-1&&(n==null||n(W),!W.defaultPrevented&&f&&(W.preventDefault(),f()))},j),S.useEffect(()=>{if(_)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(so=j.body.style.pointerEvents,j.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(_)),p.layers.add(_),co(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(j.body.style.pointerEvents=so)}},[_,j,r,p]),S.useEffect(()=>()=>{_&&(p.layers.delete(_),p.layersWithOutsidePointerEventsDisabled.delete(_),co())},[_,p]),S.useEffect(()=>{const W=()=>R({});return document.addEventListener(sa,W),()=>document.removeEventListener(sa,W)},[]),o.jsx(Ot.div,{...h,ref:k,style:{pointerEvents:U?ee?"auto":"none":void 0,...e.style},onFocusCapture:Kt(e.onFocusCapture,Y.onFocusCapture),onBlurCapture:Kt(e.onBlurCapture,Y.onBlurCapture),onPointerDownCapture:Kt(e.onPointerDownCapture,q.onPointerDownCapture)})});uo.displayName=Oc;var Pc="DismissableLayerBranch",Ac=S.forwardRef((e,t)=>{const r=S.useContext(lo),n=S.useRef(null),i=fr(t,n);return S.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),o.jsx(Ot.div,{...e,ref:i})});Ac.displayName=Pc;function Dc(e,t=globalThis==null?void 0:globalThis.document){const r=dr(e),n=S.useRef(!1),i=S.useRef(()=>{});return S.useEffect(()=>{const s=f=>{if(f.target&&!n.current){let h=function(){fo(kc,r,p,{discrete:!0})};const p={originalEvent:f};f.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=h,t.addEventListener("click",i.current,{once:!0})):h()}else t.removeEventListener("click",i.current);n.current=!1},u=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(u),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Ic(e,t=globalThis==null?void 0:globalThis.document){const r=dr(e),n=S.useRef(!1);return S.useEffect(()=>{const i=s=>{s.target&&!n.current&&fo(Nc,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function co(){const e=new CustomEvent(sa);document.dispatchEvent(e)}function fo(e,t,r,{discrete:n}){const i=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?Rc(i,s):i.dispatchEvent(s)}var la="focusScope.autoFocusOnMount",ua="focusScope.autoFocusOnUnmount",vo={bubbles:!1,cancelable:!0},Lc="FocusScope",mo=S.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...u}=e,[f,h]=S.useState(null),p=dr(i),_=dr(s),x=S.useRef(null),j=fr(t,O=>h(O)),R=S.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;S.useEffect(()=>{if(n){let O=function(U){if(R.paused||!f)return;const ee=U.target;f.contains(ee)?x.current=ee:Xt(x.current,{select:!0})},A=function(U){if(R.paused||!f)return;const ee=U.relatedTarget;ee!==null&&(f.contains(ee)||Xt(x.current,{select:!0}))},D=function(U){if(document.activeElement===document.body)for(const q of U)q.removedNodes.length>0&&Xt(f)};document.addEventListener("focusin",O),document.addEventListener("focusout",A);const V=new MutationObserver(D);return f&&V.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",O),document.removeEventListener("focusout",A),V.disconnect()}}},[n,f,R.paused]),S.useEffect(()=>{if(f){go.add(R);const O=document.activeElement;if(!f.contains(O)){const D=new CustomEvent(la,vo);f.addEventListener(la,p),f.dispatchEvent(D),D.defaultPrevented||(Mc(Wc(ho(f)),{select:!0}),document.activeElement===O&&Xt(f))}return()=>{f.removeEventListener(la,p),setTimeout(()=>{const D=new CustomEvent(ua,vo);f.addEventListener(ua,_),f.dispatchEvent(D),D.defaultPrevented||Xt(O??document.body,{select:!0}),f.removeEventListener(ua,_),go.remove(R)},0)}}},[f,p,_,R]);const k=S.useCallback(O=>{if(!r&&!n||R.paused)return;const A=O.key==="Tab"&&!O.altKey&&!O.ctrlKey&&!O.metaKey,D=document.activeElement;if(A&&D){const V=O.currentTarget,[U,ee]=Fc(V);U&&ee?!O.shiftKey&&D===ee?(O.preventDefault(),r&&Xt(U,{select:!0})):O.shiftKey&&D===U&&(O.preventDefault(),r&&Xt(ee,{select:!0})):D===V&&O.preventDefault()}},[r,n,R.paused]);return o.jsx(Ot.div,{tabIndex:-1,...u,ref:j,onKeyDown:k})});mo.displayName=Lc;function Mc(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Xt(n,{select:t}),document.activeElement!==r)return}function Fc(e){const t=ho(e),r=po(t,e),n=po(t.reverse(),e);return[r,n]}function ho(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function po(e,t){for(const r of e)if(!Bc(r,{upTo:t}))return r}function Bc(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Vc(e){return e instanceof HTMLInputElement&&"select"in e}function Xt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Vc(e)&&t&&e.select()}}var go=Uc();function Uc(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=xo(e,t),e.unshift(t)},remove(t){var r;e=xo(e,t),(r=e[0])==null||r.resume()}}}function xo(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Wc(e){return e.filter(t=>t.tagName!=="A")}var $c="Portal",bo=S.forwardRef((e,t)=>{var f;const{container:r,...n}=e,[i,s]=S.useState(!1);gn(()=>s(!0),[]);const u=r||i&&((f=globalThis==null?void 0:globalThis.document)==null?void 0:f.body);return u?Na.createPortal(o.jsx(Ot.div,{...n,ref:t}),u):null});bo.displayName=$c;function Hc(e,t){return S.useReducer((r,n)=>t[r][n]??r,e)}var xn=e=>{const{present:t,children:r}=e,n=Gc(t),i=typeof r=="function"?r({present:n.isPresent}):S.Children.only(r),s=fr(n.ref,Yc(i));return typeof r=="function"||n.isPresent?S.cloneElement(i,{ref:s}):null};xn.displayName="Presence";function Gc(e){const[t,r]=S.useState(),n=S.useRef({}),i=S.useRef(e),s=S.useRef("none"),u=e?"mounted":"unmounted",[f,h]=Hc(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const p=bn(n.current);s.current=f==="mounted"?p:"none"},[f]),gn(()=>{const p=n.current,_=i.current;if(_!==e){const j=s.current,R=bn(p);e?h("MOUNT"):R==="none"||(p==null?void 0:p.display)==="none"?h("UNMOUNT"):h(_&&j!==R?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,h]),gn(()=>{if(t){const p=x=>{const R=bn(n.current).includes(x.animationName);x.target===t&&R&&Aa.flushSync(()=>h("ANIMATION_END"))},_=x=>{x.target===t&&(s.current=bn(n.current))};return t.addEventListener("animationstart",_),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{t.removeEventListener("animationstart",_),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else h("ANIMATION_END")},[t,h]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:S.useCallback(p=>{p&&(n.current=getComputedStyle(p)),r(p)},[])}}function bn(e){return(e==null?void 0:e.animationName)||"none"}function Yc(e){var n,i;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var ca=0;function zc(){S.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??yo()),document.body.insertAdjacentElement("beforeend",e[1]??yo()),ca++,()=>{ca===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ca--}},[])}function yo(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var kt=function(){return kt=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},kt.apply(this,arguments)};function _o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Kc(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var yn="right-scroll-bar-position",_n="width-before-scroll-bar",Xc="with-scroll-bars-hidden",qc="--removed-body-scroll-bar-size";function fa(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Zc(e,t){var r=te.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}var Jc=typeof window<"u"?S.useLayoutEffect:S.useEffect,wo=new WeakMap;function Qc(e,t){var r=Zc(null,function(n){return e.forEach(function(i){return fa(i,n)})});return Jc(function(){var n=wo.get(r);if(n){var i=new Set(n),s=new Set(e),u=r.current;i.forEach(function(f){s.has(f)||fa(f,null)}),s.forEach(function(f){i.has(f)||fa(f,u)})}wo.set(r,e)},[e]),r}function ef(e){return e}function tf(e,t){t===void 0&&(t=ef);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(s){var u=t(s,n);return r.push(u),function(){r=r.filter(function(f){return f!==u})}},assignSyncMedium:function(s){for(n=!0;r.length;){var u=r;r=[],u.forEach(s)}r={push:function(f){return s(f)},filter:function(){return r}}},assignMedium:function(s){n=!0;var u=[];if(r.length){var f=r;r=[],f.forEach(s),u=r}var h=function(){var _=u;u=[],_.forEach(s)},p=function(){return Promise.resolve().then(h)};p(),r={push:function(_){u.push(_),p()},filter:function(_){return u=u.filter(_),r}}}};return i}function rf(e){e===void 0&&(e={});var t=tf(null);return t.options=kt({async:!0,ssr:!1},e),t}var So=function(e){var t=e.sideCar,r=_o(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return S.createElement(n,kt({},r))};So.isSideCarExport=!0;function nf(e,t){return e.useMedium(t),So}var Eo=rf(),da=function(){},wn=S.forwardRef(function(e,t){var r=S.useRef(null),n=S.useState({onScrollCapture:da,onWheelCapture:da,onTouchMoveCapture:da}),i=n[0],s=n[1],u=e.forwardProps,f=e.children,h=e.className,p=e.removeScrollBar,_=e.enabled,x=e.shards,j=e.sideCar,R=e.noIsolation,k=e.inert,O=e.allowPinchZoom,A=e.as,D=A===void 0?"div":A,V=e.gapMode,U=_o(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),ee=j,q=Qc([r,t]),Y=kt(kt({},U),i);return S.createElement(S.Fragment,null,_&&S.createElement(ee,{sideCar:Eo,removeScrollBar:p,shards:x,noIsolation:R,inert:k,setCallbacks:s,allowPinchZoom:!!O,lockRef:r,gapMode:V}),u?S.cloneElement(S.Children.only(f),kt(kt({},Y),{ref:q})):S.createElement(D,kt({},Y,{className:h,ref:q}),f))});wn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},wn.classNames={fullWidth:_n,zeroRight:yn};var af=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function of(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=af();return t&&e.setAttribute("nonce",t),e}function sf(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function lf(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var uf=function(){var e=0,t=null;return{add:function(r){e==0&&(t=of())&&(sf(t,r),lf(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},cf=function(){var e=uf();return function(t,r){S.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Co=function(){var e=cf(),t=function(r){var n=r.styles,i=r.dynamic;return e(n,i),null};return t},ff={left:0,top:0,right:0,gap:0},va=function(e){return parseInt(e||"",10)||0},df=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[va(r),va(n),va(i)]},vf=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ff;var t=df(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},mf=Co(),Rr="data-scroll-locked",hf=function(e,t,r,n){var i=e.left,s=e.top,u=e.right,f=e.gap;return r===void 0&&(r="margin"),`
|
|
154
154
|
.`.concat(Xc,` {
|
|
155
155
|
overflow: hidden `).concat(n,`;
|
|
156
156
|
padding-right: `).concat(f,"px ").concat(n,`;
|
|
157
157
|
}
|
|
158
|
-
body[`).concat(
|
|
158
|
+
body[`).concat(Rr,`] {
|
|
159
159
|
overflow: hidden `).concat(n,`;
|
|
160
160
|
overscroll-behavior: contain;
|
|
161
|
-
`).concat([
|
|
161
|
+
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
|
162
162
|
padding-left: `.concat(i,`px;
|
|
163
163
|
padding-top: `).concat(s,`px;
|
|
164
164
|
padding-right: `).concat(u,`px;
|
|
165
165
|
margin-left:0;
|
|
166
166
|
margin-top:0;
|
|
167
167
|
margin-right: `).concat(f,"px ").concat(n,`;
|
|
168
|
-
`),
|
|
168
|
+
`),r==="padding"&&"padding-right: ".concat(f,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.`).concat(yn,` {
|
|
@@ -184,15 +184,15 @@ React keys must be passed directly to JSX without using spread:
|
|
|
184
184
|
margin-right: 0 `).concat(n,`;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
body[`).concat(
|
|
187
|
+
body[`).concat(Rr,`] {
|
|
188
188
|
`).concat(qc,": ").concat(f,`px;
|
|
189
189
|
}
|
|
190
|
-
`)},jo=function(){var e=parseInt(document.body.getAttribute(
|
|
190
|
+
`)},jo=function(){var e=parseInt(document.body.getAttribute(Rr)||"0",10);return isFinite(e)?e:0},pf=function(){S.useEffect(function(){return document.body.setAttribute(Rr,(jo()+1).toString()),function(){var e=jo()-1;e<=0?document.body.removeAttribute(Rr):document.body.setAttribute(Rr,e.toString())}},[])},gf=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n;pf();var s=S.useMemo(function(){return vf(i)},[i]);return S.createElement(mf,{styles:hf(s,!t,i,r?"":"!important")})},ma=!1;if(typeof window<"u")try{var Sn=Object.defineProperty({},"passive",{get:function(){return ma=!0,!0}});window.addEventListener("test",Sn,Sn),window.removeEventListener("test",Sn,Sn)}catch{ma=!1}var Tr=ma?{passive:!1}:!1,xf=function(e){return e.tagName==="TEXTAREA"},Ro=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!xf(e)&&r[t]==="visible")},bf=function(e){return Ro(e,"overflowY")},yf=function(e){return Ro(e,"overflowX")},To=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=Oo(e,n);if(i){var s=ko(e,n),u=s[1],f=s[2];if(u>f)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},_f=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},wf=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Oo=function(e,t){return e==="v"?bf(t):yf(t)},ko=function(e,t){return e==="v"?_f(t):wf(t)},Sf=function(e,t){return e==="h"&&t==="rtl"?-1:1},Ef=function(e,t,r,n,i){var s=Sf(e,window.getComputedStyle(t).direction),u=s*n,f=r.target,h=t.contains(f),p=!1,_=u>0,x=0,j=0;do{var R=ko(e,f),k=R[0],O=R[1],A=R[2],D=O-A-s*k;(k||D)&&Oo(e,f)&&(x+=D,j+=k),f instanceof ShadowRoot?f=f.host:f=f.parentNode}while(!h&&f!==document.body||h&&(t.contains(f)||t===f));return(_&&Math.abs(x)<1||!_&&Math.abs(j)<1)&&(p=!0),p},En=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},No=function(e){return[e.deltaX,e.deltaY]},Po=function(e){return e&&"current"in e?e.current:e},Cf=function(e,t){return e[0]===t[0]&&e[1]===t[1]},jf=function(e){return`
|
|
191
191
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
192
192
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
193
|
-
`)},Rf=0,
|
|
193
|
+
`)},Rf=0,Or=[];function Tf(e){var t=S.useRef([]),r=S.useRef([0,0]),n=S.useRef(),i=S.useState(Rf++)[0],s=S.useState(Co)[0],u=S.useRef(e);S.useEffect(function(){u.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var O=Kc([e.lockRef.current],(e.shards||[]).map(Po),!0).filter(Boolean);return O.forEach(function(A){return A.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),O.forEach(function(A){return A.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var f=S.useCallback(function(O,A){if("touches"in O&&O.touches.length===2)return!u.current.allowPinchZoom;var D=En(O),V=r.current,U="deltaX"in O?O.deltaX:V[0]-D[0],ee="deltaY"in O?O.deltaY:V[1]-D[1],q,Y=O.target,W=Math.abs(U)>Math.abs(ee)?"h":"v";if("touches"in O&&W==="h"&&Y.type==="range")return!1;var G=To(W,Y);if(!G)return!0;if(G?q=W:(q=W==="v"?"h":"v",G=To(W,Y)),!G)return!1;if(!n.current&&"changedTouches"in O&&(U||ee)&&(n.current=q),!q)return!0;var de=n.current||q;return Ef(de,A,O,de==="h"?U:ee)},[]),h=S.useCallback(function(O){var A=O;if(!(!Or.length||Or[Or.length-1]!==s)){var D="deltaY"in A?No(A):En(A),V=t.current.filter(function(q){return q.name===A.type&&(q.target===A.target||A.target===q.shadowParent)&&Cf(q.delta,D)})[0];if(V&&V.should){A.cancelable&&A.preventDefault();return}if(!V){var U=(u.current.shards||[]).map(Po).filter(Boolean).filter(function(q){return q.contains(A.target)}),ee=U.length>0?f(A,U[0]):!u.current.noIsolation;ee&&A.cancelable&&A.preventDefault()}}},[]),p=S.useCallback(function(O,A,D,V){var U={name:O,delta:A,target:D,should:V,shadowParent:Of(D)};t.current.push(U),setTimeout(function(){t.current=t.current.filter(function(ee){return ee!==U})},1)},[]),_=S.useCallback(function(O){r.current=En(O),n.current=void 0},[]),x=S.useCallback(function(O){p(O.type,No(O),O.target,f(O,e.lockRef.current))},[]),j=S.useCallback(function(O){p(O.type,En(O),O.target,f(O,e.lockRef.current))},[]);S.useEffect(function(){return Or.push(s),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:j}),document.addEventListener("wheel",h,Tr),document.addEventListener("touchmove",h,Tr),document.addEventListener("touchstart",_,Tr),function(){Or=Or.filter(function(O){return O!==s}),document.removeEventListener("wheel",h,Tr),document.removeEventListener("touchmove",h,Tr),document.removeEventListener("touchstart",_,Tr)}},[]);var R=e.removeScrollBar,k=e.inert;return S.createElement(S.Fragment,null,k?S.createElement(s,{styles:jf(i)}):null,R?S.createElement(gf,{gapMode:e.gapMode}):null)}function Of(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const kf=nf(Eo,Tf);var Ao=S.forwardRef(function(e,t){return S.createElement(wn,kt({},e,{ref:t,sideCar:kf}))});Ao.classNames=wn.classNames;var Nf=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},kr=new WeakMap,Cn=new WeakMap,jn={},ha=0,Do=function(e){return e&&(e.host||Do(e.parentNode))},Pf=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Do(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Af=function(e,t,r,n){var i=Pf(t,Array.isArray(e)?e:[e]);jn[r]||(jn[r]=new WeakMap);var s=jn[r],u=[],f=new Set,h=new Set(i),p=function(x){!x||f.has(x)||(f.add(x),p(x.parentNode))};i.forEach(p);var _=function(x){!x||h.has(x)||Array.prototype.forEach.call(x.children,function(j){if(f.has(j))_(j);else try{var R=j.getAttribute(n),k=R!==null&&R!=="false",O=(kr.get(j)||0)+1,A=(s.get(j)||0)+1;kr.set(j,O),s.set(j,A),u.push(j),O===1&&k&&Cn.set(j,!0),A===1&&j.setAttribute(r,"true"),k||j.setAttribute(n,"true")}catch(D){console.error("aria-hidden: cannot operate on ",j,D)}})};return _(t),f.clear(),ha++,function(){u.forEach(function(x){var j=kr.get(x)-1,R=s.get(x)-1;kr.set(x,j),s.set(x,R),j||(Cn.has(x)||x.removeAttribute(n),Cn.delete(x)),R||x.removeAttribute(r)}),ha--,ha||(kr=new WeakMap,kr=new WeakMap,Cn=new WeakMap,jn={})}},Df=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=Nf(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),Af(n,i,r,"aria-hidden")):function(){return null}},pa="Dialog",[Io,Nd]=pc(pa),[If,xt]=Io(pa),Lo=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:i,onOpenChange:s,modal:u=!0}=e,f=S.useRef(null),h=S.useRef(null),[p=!1,_]=yc({prop:n,defaultProp:i,onChange:s});return o.jsx(If,{scope:t,triggerRef:f,contentRef:h,contentId:aa(),titleId:aa(),descriptionId:aa(),open:p,onOpenChange:_,onOpenToggle:S.useCallback(()=>_(x=>!x),[_]),modal:u,children:r})};Lo.displayName=pa;var Mo="DialogTrigger",Fo=S.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(Mo,r),s=fr(t,i.triggerRef);return o.jsx(Ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ba(i.open),...n,ref:s,onClick:Kt(e.onClick,i.onOpenToggle)})});Fo.displayName=Mo;var ga="DialogPortal",[Lf,Bo]=Io(ga,{forceMount:void 0}),Vo=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:i}=e,s=xt(ga,t);return o.jsx(Lf,{scope:t,forceMount:r,children:S.Children.map(n,u=>o.jsx(xn,{present:r||s.open,children:o.jsx(bo,{asChild:!0,container:i,children:u})}))})};Vo.displayName=ga;var Rn="DialogOverlay",Uo=S.forwardRef((e,t)=>{const r=Bo(Rn,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,s=xt(Rn,e.__scopeDialog);return s.modal?o.jsx(xn,{present:n||s.open,children:o.jsx(Mf,{...i,ref:t})}):null});Uo.displayName=Rn;var Mf=S.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(Rn,r);return o.jsx(Ao,{as:ia,allowPinchZoom:!0,shards:[i.contentRef],children:o.jsx(Ot.div,{"data-state":ba(i.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),vr="DialogContent",Wo=S.forwardRef((e,t)=>{const r=Bo(vr,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,s=xt(vr,e.__scopeDialog);return o.jsx(xn,{present:n||s.open,children:s.modal?o.jsx(Ff,{...i,ref:t}):o.jsx(Bf,{...i,ref:t})})});Wo.displayName=vr;var Ff=S.forwardRef((e,t)=>{const r=xt(vr,e.__scopeDialog),n=S.useRef(null),i=fr(t,r.contentRef,n);return S.useEffect(()=>{const s=n.current;if(s)return Df(s)},[]),o.jsx($o,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Kt(e.onCloseAutoFocus,s=>{var u;s.preventDefault(),(u=r.triggerRef.current)==null||u.focus()}),onPointerDownOutside:Kt(e.onPointerDownOutside,s=>{const u=s.detail.originalEvent,f=u.button===0&&u.ctrlKey===!0;(u.button===2||f)&&s.preventDefault()}),onFocusOutside:Kt(e.onFocusOutside,s=>s.preventDefault())})}),Bf=S.forwardRef((e,t)=>{const r=xt(vr,e.__scopeDialog),n=S.useRef(!1),i=S.useRef(!1);return o.jsx($o,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var u,f;(u=e.onCloseAutoFocus)==null||u.call(e,s),s.defaultPrevented||(n.current||(f=r.triggerRef.current)==null||f.focus(),s.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:s=>{var h,p;(h=e.onInteractOutside)==null||h.call(e,s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const u=s.target;((p=r.triggerRef.current)==null?void 0:p.contains(u))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),$o=S.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,...u}=e,f=xt(vr,r),h=S.useRef(null),p=fr(t,h);return zc(),o.jsxs(o.Fragment,{children:[o.jsx(mo,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:o.jsx(uo,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":ba(f.open),...u,ref:p,onDismiss:()=>f.onOpenChange(!1)})}),o.jsxs(o.Fragment,{children:[o.jsx(Vf,{titleId:f.titleId}),o.jsx(Wf,{contentRef:h,descriptionId:f.descriptionId})]})]})}),xa="DialogTitle",Ho=S.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(xa,r);return o.jsx(Ot.h2,{id:i.titleId,...n,ref:t})});Ho.displayName=xa;var Go="DialogDescription",Yo=S.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(Go,r);return o.jsx(Ot.p,{id:i.descriptionId,...n,ref:t})});Yo.displayName=Go;var zo="DialogClose",Ko=S.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,i=xt(zo,r);return o.jsx(Ot.button,{type:"button",...n,ref:t,onClick:Kt(e.onClick,()=>i.onOpenChange(!1))})});Ko.displayName=zo;function ba(e){return e?"open":"closed"}var Xo="DialogTitleWarning",[Pd,qo]=hc(Xo,{contentName:vr,titleName:xa,docsSlug:"dialog"}),Vf=({titleId:e})=>{const t=qo(Xo),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
194
194
|
|
|
195
|
-
If you want to hide the \`${
|
|
195
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
196
196
|
|
|
197
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${
|
|
197
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return S.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Uf="DialogDescriptionWarning",Wf=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${qo(Uf).contentName}}.`;return S.useEffect(()=>{var s;const i=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},$f=Lo,Hf=Fo,Gf=Vo,Zo=Uo,Jo=Wo,ya=Ho,Yf=Yo,zf=Ko,Kf="VisuallyHidden",Qo=S.forwardRef((e,t)=>o.jsx(Ot.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Qo.displayName=Kf;var Xf=Qo,qt=(e=>(e.Center="center",e.Right="right",e))(qt||{});const qf=({open:e,onOpenChange:t,children:r,...n})=>{const i=s=>{const u=document.querySelector(".toast-layer:hover");!s&&u||t==null||t(s)};return o.jsx($f,{open:e,onOpenChange:i,...n,children:r})},Zf=Hf,es=zf,ts=S.forwardRef(({showCloseIcon:e,position:t,...r},n)=>o.jsx(Zo,{ref:n,className:N("inset-0 z-[99998] bg-shader-neutral-light-48 backdrop-blur-md",{fixed:t===qt.Right,absolute:t===qt.Center}),...r,children:o.jsx(es,{className:N("fixed right-3 top-3",{hidden:!e}),children:o.jsx(Ur,{})})}));ts.displayName=Zo.displayName;const rs=S.forwardRef(({className:e,containerId:t,showCloseOnOverlay:r,children:n,position:i=qt.Center,customWidth:s="w-80 max-w-[85vw] md:w-96",...u},f)=>{const[h,p]=te.useState(void 0);te.useEffect(()=>{const R=t?document.getElementById(t):void 0;p(R??void 0)},[t]);const _=i===qt.Right?"overflow-hidden right-0 h-screen top-0 w-full":"overflow-y-auto overflow-x-hidden left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-xl",x=i===qt.Right?"md:w-96 max-w-[500px]":s,j=i===qt.Right?"h-screen":"max-h-[80vh] h-full";return o.jsxs(Gf,{container:h,children:[o.jsx(ts,{showCloseIcon:r,position:i}),o.jsxs(Jo,{ref:f,className:N("fixed z-[99999] flex flex-col justify-center bg-primary-100 dark:bg-neutral-6",_,x),...u,children:[o.jsxs(Xf,{children:[o.jsx(ya,{}),o.jsx(Yf,{})]}),o.jsx("div",{className:N("flex flex-1 flex-col",j),children:n})]})]})});rs.displayName=Jo.displayName;const ns=S.forwardRef((e,t)=>o.jsx(ya,{ref:t,className:"font-inter text-title-lg text-neutral-10 dark:text-neutral-92",...e}));ns.displayName=ya.displayName;const as=S.forwardRef((e,t)=>o.jsx("div",{ref:t,className:"flex-1 overflow-y-auto p-md--rs text-body-sm text-neutral-40 dark:text-neutral-60",...e}));as.displayName="DialogBody";const is=te.createContext({isHeaderChecked:!1,selectedRowIndexes:new Set,isHeaderIndeterminate:!1}),os=()=>te.useContext(is);function Jf({children:e,selectedRowIndexes:t,rowIndexes:r,...n}){const i=r.length===t.size,s=!i&&t.size>0;return o.jsx(is.Provider,{value:{...n,isHeaderChecked:i,selectedRowIndexes:t,isHeaderIndeterminate:s},children:e})}function Qf({paginationOptions:e,action:t,supportingLabel:r,selectedRowIndexes:n=new Set,rowIndexes:i,children:s,pageSizeSelector:u,heightFull:f=!1}){return o.jsx(Jf,{selectedRowIndexes:n,rowIndexes:i,children:o.jsxs("div",{className:N("w-full",{"h-full":f}),children:[o.jsx("div",{className:N("overflow-auto",{"h-full":f}),children:o.jsx("table",{className:N("w-full table-auto",{"h-full":f}),children:s})}),o.jsxs("div",{className:N("flex w-full items-center gap-2 pt-md",{hidden:!r&&!e&&!t,"justify-between":e,"justify-end":!e&&t}),children:[(e||t)&&o.jsxs("div",{className:"flex gap-2",children:[e&&o.jsxs(o.Fragment,{children:[o.jsx(dt,{type:Ee.Secondary,size:et.Small,icon:o.jsx(el,{}),disabled:!e.hasFirst,onClick:e.onFirst}),o.jsx(dt,{type:Ee.Secondary,size:et.Small,icon:o.jsx(Xs,{}),disabled:!e.hasPrev,onClick:e.onPrev}),o.jsx(dt,{type:Ee.Secondary,size:et.Small,icon:o.jsx(Gn,{}),disabled:!e.hasNext,onClick:e.onNext}),o.jsx(dt,{type:Ee.Secondary,size:et.Small,icon:o.jsx(tl,{}),disabled:!e.hasLast,onClick:e.onLast})]}),t&&t]}),r||u?o.jsxs("div",{className:"flex flex-row items-center gap-x-sm",children:[r&&o.jsx("span",{className:" text-label-md text-neutral-40 dark:text-neutral-60",children:r}),u&&o.jsx("div",{className:"ml-2",children:u})]}):null]})]})})}function ed(e){return o.jsx(dt,{type:Ee.Secondary,size:et.Small,...e})}function td({children:e}){return o.jsx("thead",{children:e})}function rd({children:e,leading:t}){return o.jsxs("tr",{children:[t,e]})}const nd="text-neutral-40 dark:text-neutral-60",ad="text-body-md";function id({children:e}){return o.jsx("tbody",{className:N(nd,ad),children:e})}function od({rowIndex:e,onCheckboxChange:t}){const{selectedRowIndexes:r}=os();return o.jsx(to,{isContentCentered:!0,children:o.jsx(Qn,{onCheckedChange:n=>{t(n.target.checked)},isChecked:r.has(e)})})}function sd({onCheckboxChange:e}){const{isHeaderChecked:t,isHeaderIndeterminate:r}=os();return o.jsx(no,{isContentCentered:!0,hasCheckbox:!0,onCheckboxChange:n=>{e(n.target.checked)},isChecked:t,columnKey:1,isIndeterminate:r})}function ld({items:e,activeId:t,onClickItem:r,isCollapsible:n=!1,onToggleNavbar:i}){return o.jsxs("div",{className:N("flex h-fit w-full",{"flex-col px-md py-xs sm:h-full sm:w-auto sm:px-none sm:py-xl":n}),children:[n&&o.jsxs("div",{className:"flex w-full items-center justify-between sm:mb-[48px] sm:flex-col",children:[o.jsx("div",{className:"flex justify-center [&_svg]:h-[38px] [&_svg]:w-[38px]",children:o.jsx(rl,{className:"text-neutral-10 dark:text-neutral-92"})}),o.jsx("div",{className:"state-layer relative rounded-full p-xs hover:cursor-pointer dark:text-neutral-92 sm:hidden [&_svg]:h-6 [&_svg]:w-6",onClick:i,children:o.jsx(il,{})})]}),o.jsx("div",{className:N({"flex w-full justify-between px-sm py-xxs":!n,"hidden sm:flex sm:flex-col sm:gap-2":n}),children:e.map(s=>o.jsx("div",{className:N("flex items-center",{"px-xs py-xxs":!n,"py-xxs pl-xs pr-sm":n}),"data-testid":`nav-${s.id}`,children:o.jsx(na,{...s,isSelected:s.id===t,onClick:u=>{s.onClick&&s.onClick(u),s.isDisabled||r(s.id)}})},s.id))})]})}function ud({items:e,activeId:t,onClickItem:r,isOpen:n,onToggleNavbar:i}){return o.jsxs(o.Fragment,{children:[o.jsx("div",{onClick:i,className:N("duration-800 transition-opacity ease-out",{"opacity-1 fixed left-0 top-0 h-full w-full bg-shader-neutral-light-72":n,"-translate-x-full opacity-0":!n})}),o.jsx("div",{className:N("z-999 rounded-tb-3xl fixed left-0 top-0 h-full w-11/12 rounded-tr-3xl bg-white px-lg py-lg transition-transform duration-300 ease-out dark:bg-neutral-6",{"translate-x-0":n,"-translate-x-full":!n}),children:o.jsxs("div",{className:"flex flex-col gap-2",children:[o.jsx("div",{className:"[&_svg]:h-5 [&_svg]:w-5",children:o.jsx(dt,{type:Ee.Ghost,onClick:i,icon:o.jsx(qa,{})})}),e.map(s=>o.jsx(na,{...s,type:pn.Vertical,isSelected:s.id===t,onClick:()=>{r(s.id),i&&i()}},s.id))]})})]})}const cd="text-neutral-10 dark:text-neutral-92 transition-transform ease-linear";function fd({onToggle:e,children:t,isExpanded:r,hideArrow:n}){return o.jsxs("div",{onClick:e,className:N("state-layer relative flex cursor-pointer items-center justify-between gap-md overflow-hidden rounded-xl py-sm--rs",{"pr-md--rs":!n}),children:[t,!n&&o.jsx("div",{className:"[&_svg]:h-5 [&_svg]:w-5",children:o.jsx(dt,{type:Ee.Ghost,icon:o.jsx(Ks,{className:N(cd,{"rotate-180":r})})})})]})}function dd({isExpanded:e,children:t}){return o.jsx("div",{className:N({hidden:!e}),children:t})}function vd({children:e,hideBorder:t}){return o.jsx("div",{className:N("rounded-xl bg-neutral-100 dark:bg-neutral-6",{"border border-shader-neutral-light-8 dark:border-shader-neutral-dark-8":!t}),children:e})}function md(e,t=6,r=6){return e.length>t+r?`${e.slice(0,t)}...${e.slice(-r)}`:e}P.Accordion=vd,P.AccordionContent=dd,P.AccordionHeader=fd,P.Account=$u,P.Address=ki,P.Badge=Br,P.BadgeType=$e,P.Button=dt,P.ButtonHtmlType=Vr,P.ButtonPill=Fs,P.ButtonSegment=xl,P.ButtonSegmentType=Er,P.ButtonSize=et,P.ButtonType=Ee,P.ButtonUnstyled=rt,P.Card=ec,P.CardAction=tc,P.CardActionType=Kr,P.CardBody=oc,P.CardImage=ic,P.CardType=jr,P.Checkbox=Qn,P.Chip=Zl,P.Dialog=qf,P.DialogBody=as,P.DialogClose=es,P.DialogContent=rs,P.DialogPosition=qt,P.DialogTitle=ns,P.DialogTrigger=Zf,P.DisplayStats=vc,P.DisplayStatsSize=gt,P.DisplayStatsType=Bt,P.Divider=Ei,P.DividerType=Ht,P.Dropdown=eo,P.DropdownPosition=Yr,P.Header=Ol,P.IOTA_PRIMITIVES_COLOR_PALETTE=Ia,P.ImageShape=cr,P.ImageType=zt,P.InfoBox=Al,P.InfoBoxStyle=$r,P.InfoBoxType=Rt,P.Input=Nu,P.InputType=pt,P.KeyValueInfo=El,P.LabelText=Tl,P.LabelTextSize=lt,P.ListItem=Ci,P.LoadingIndicator=Ml,P.Navbar=ld,P.NavbarItem=na,P.NavbarItemType=pn,P.NavbarSlideout=ud,P.Panel=kl,P.Placeholder=Ri,P.RadioButton=fl,P.Resize=Mi,P.SHADER_COLOR_PALETTE=La,P.ScreenSize=jt,P.Search=qu,P.SearchBarType=Tt,P.SegmentedButton=eu,P.SegmentedButtonType=or,P.Select=Yu,P.SelectSize=zr,P.Skeleton=Fl,P.Snackbar=Il,P.SnackbarType=ht,P.Table=Qf,P.TableActionButton=ed,P.TableBody=id,P.TableCellBase=to,P.TableCellPlaceholder=Gu,P.TableCellText=Hu,P.TableHeader=td,P.TableHeaderCell=no,P.TableHeaderCellSortOrder=ur,P.TableHeaderCheckbox=sd,P.TableRow=rd,P.TableRowCheckbox=od,P.TextArea=Iu,P.Title=nu,P.TitleSize=sr,P.Toggle=Gl,P.ToggleLabelPosition=dn,P.ToggleSize=Mt,P.Tooltip=ir,P.TooltipPosition=Gt,P.ValueSize=Wr,P.VisualAssetCard=Ll,P.VisualAssetType=fn,P.truncate=md,P.uiKitResponsivePreset=_s,P.uiKitStaticPreset=Ss,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})});
|
|
198
198
|
//# sourceMappingURL=index.umd.js.map
|