@keeper-security/keeper-js-ui 0.12.0 → 0.13.0
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 +12 -0
- package/dist/index.es.d.ts +6 -0
- package/dist/index.es.js +1111 -1002
- package/dist/index.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -2
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(S,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],l):(S=typeof globalThis<"u"?globalThis:S||self,l(S["keeper-js-ui"]={},S["react/jsx-runtime"],S.React,S.ReactDOM))})(this,function(S,l,te,ut){"use strict";function Xr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=Xr(te),xe=Xr(ut);function gd(e,t){const n=i.createContext(t),o=s=>{const{children:c,...a}=s,d=i.useMemo(()=>a,Object.values(a));return l.jsx(n.Provider,{value:d,children:c})};o.displayName=e+"Provider";function r(s){const c=i.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[o,r]}function de(e,t=[]){let n=[];function o(s,c){const a=i.createContext(c),d=n.length;n=[...n,c];const u=h=>{var b;const{scope:v,children:m,...C}=h,p=((b=v==null?void 0:v[e])==null?void 0:b[d])||a,g=i.useMemo(()=>C,Object.values(C));return l.jsx(p.Provider,{value:g,children:m})};u.displayName=s+"Provider";function f(h,v){var p;const m=((p=v==null?void 0:v[e])==null?void 0:p[d])||a,C=i.useContext(m);if(C)return C;if(c!==void 0)return c;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[u,f]}const r=()=>{const s=n.map(c=>i.createContext(c));return function(a){const d=(a==null?void 0:a[e])||s;return i.useMemo(()=>({[`__scope${e}`]:{...a,[e]:d}}),[a,d])}};return r.scopeName=e,[o,Cd(r,...t)]}function Cd(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const c=o.reduce((a,{useScope:d,scopeName:u})=>{const h=d(s)[`__scope${u}`];return{...a,...h}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}function U(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}var J=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{};function qr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Kt(...e){return t=>{let n=!1;const o=e.map(r=>{const s=qr(r,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():qr(e[r],null)}}}}function V(...e){return i.useCallback(Kt(...e),e)}var re=i.forwardRef((e,t)=>{const{children:n,...o}=e,r=i.Children.toArray(n),s=r.find(bd);if(s){const c=s.props.children,a=r.map(d=>d===s?i.Children.count(c)>1?i.Children.only(null):i.isValidElement(c)?c.props.children:null:d);return l.jsx(Jn,{...o,ref:t,children:i.isValidElement(c)?i.cloneElement(c,void 0,a):null})}return l.jsx(Jn,{...o,ref:t,children:n})});re.displayName="Slot";var Jn=i.forwardRef((e,t)=>{const{children:n,...o}=e;if(i.isValidElement(n)){const r=wd(n),s=yd(o,n.props);return n.type!==i.Fragment&&(s.ref=t?Kt(t,r):r),i.cloneElement(n,s)}return i.Children.count(n)>1?i.Children.only(null):null});Jn.displayName="SlotClone";var eo=({children:e})=>l.jsx(l.Fragment,{children:e});function bd(e){return i.isValidElement(e)&&e.type===eo}function yd(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...a)=>{s(...a),r(...a)}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function wd(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var kd=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],to=kd.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),no="Avatar",[Ed,Mv]=de(no),[Sd,Qr]=Ed(no),Jr=i.forwardRef((e,t)=>{const{__scopeAvatar:n,...o}=e,[r,s]=i.useState("idle");return l.jsx(Sd,{scope:n,imageLoadingStatus:r,onImageLoadingStatusChange:s,children:l.jsx(to.span,{...o,ref:t})})});Jr.displayName=no;var es="AvatarImage",ts=i.forwardRef((e,t)=>{const{__scopeAvatar:n,src:o,onLoadingStatusChange:r=()=>{},...s}=e,c=Qr(es,n),a=Md(o,s.referrerPolicy),d=U(u=>{r(u),c.onImageLoadingStatusChange(u)});return J(()=>{a!=="idle"&&d(a)},[a,d]),a==="loaded"?l.jsx(to.img,{...s,ref:t,src:o}):null});ts.displayName=es;var ns="AvatarFallback",os=i.forwardRef((e,t)=>{const{__scopeAvatar:n,delayMs:o,...r}=e,s=Qr(ns,n),[c,a]=i.useState(o===void 0);return i.useEffect(()=>{if(o!==void 0){const d=window.setTimeout(()=>a(!0),o);return()=>window.clearTimeout(d)}},[o]),c&&s.imageLoadingStatus!=="loaded"?l.jsx(to.span,{...r,ref:t}):null});os.displayName=ns;function Md(e,t){const[n,o]=i.useState("idle");return J(()=>{if(!e){o("error");return}let r=!0;const s=new window.Image,c=a=>()=>{r&&o(a)};return o("loading"),s.onload=c("loaded"),s.onerror=c("error"),s.src=e,t&&(s.referrerPolicy=t),()=>{r=!1}},[e,t]),n}var rs=Jr,ss=ts,is=os;function as(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=as(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function cs(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=as(e))&&(o&&(o+=" "),o+=t);return o}const ls=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,us=cs,Fe=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return us(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:s}=t,c=Object.keys(r).map(u=>{const f=n==null?void 0:n[u],h=s==null?void 0:s[u];if(f===null)return null;const v=ls(f)||ls(h);return r[u][v]}),a=n&&Object.entries(n).reduce((u,f)=>{let[h,v]=f;return v===void 0||(u[h]=v),u},{}),d=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,f)=>{let{class:h,className:v,...m}=f;return Object.entries(m).every(C=>{let[p,g]=C;return Array.isArray(g)?g.includes({...s,...a}[p]):{...s,...a}[p]===g})?[...u,h,v]:u},[]);return us(e,c,d,n==null?void 0:n.class,n==null?void 0:n.className)},oo="-",Pd=e=>{const t=Ld(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:c=>{const a=c.split(oo);return a[0]===""&&a.length!==1&&a.shift(),ds(a,t)||xd(c)},getConflictingClassGroupIds:(c,a)=>{const d=n[c]||[];return a&&o[c]?[...d,...o[c]]:d}}},ds=(e,t)=>{var c;if(e.length===0)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?ds(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;const s=e.join(oo);return(c=t.validators.find(({validator:a})=>a(s)))==null?void 0:c.classGroupId},fs=/^\[(.+)\]$/,xd=e=>{if(fs.test(e)){const t=fs.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Ld=e=>{const{theme:t,prefix:n}=e,o={nextPart:new Map,validators:[]};return Nd(Object.entries(e.classGroups),n).forEach(([s,c])=>{ro(c,o,s,t)}),o},ro=(e,t,n,o)=>{e.forEach(r=>{if(typeof r=="string"){const s=r===""?t:ps(t,r);s.classGroupId=n;return}if(typeof r=="function"){if(Id(r)){ro(r(o),t,n,o);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([s,c])=>{ro(c,ps(t,s),n,o)})})},ps=(e,t)=>{let n=e;return t.split(oo).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},Id=e=>e.isThemeGetter,Nd=(e,t)=>t?e.map(([n,o])=>{const r=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,a])=>[t+c,a])):s);return[n,r]}):e,Ad=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(s,c)=>{n.set(s,c),t++,t>e&&(t=0,o=n,n=new Map)};return{get(s){let c=n.get(s);if(c!==void 0)return c;if((c=o.get(s))!==void 0)return r(s,c),c},set(s,c){n.has(s)?n.set(s,c):r(s,c)}}},hs="!",Td=e=>{const{separator:t,experimentalParseClassName:n}=e,o=t.length===1,r=t[0],s=t.length,c=a=>{const d=[];let u=0,f=0,h;for(let g=0;g<a.length;g++){let b=a[g];if(u===0){if(b===r&&(o||a.slice(g,g+s)===t)){d.push(a.slice(f,g)),f=g+s;continue}if(b==="/"){h=g;continue}}b==="["?u++:b==="]"&&u--}const v=d.length===0?a:a.substring(f),m=v.startsWith(hs),C=m?v.substring(1):v,p=h&&h>f?h-f:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:C,maybePostfixModifierPosition:p}};return n?a=>n({className:a,parseClassName:c}):c},jd=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(o=>{o[0]==="["?(t.push(...n.sort(),o),n=[]):n.push(o)}),t.push(...n.sort()),t},Od=e=>({cache:Ad(e.cacheSize),parseClassName:Td(e),...Pd(e)}),_d=/\s+/,$d=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r}=t,s=[],c=e.trim().split(_d);let a="";for(let d=c.length-1;d>=0;d-=1){const u=c[d],{modifiers:f,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:m}=n(u);let C=!!m,p=o(C?v.substring(0,m):v);if(!p){if(!C){a=u+(a.length>0?" "+a:a);continue}if(p=o(v),!p){a=u+(a.length>0?" "+a:a);continue}C=!1}const g=jd(f).join(":"),b=h?g+hs:g,y=b+p;if(s.includes(y))continue;s.push(y);const w=r(p,C);for(let k=0;k<w.length;++k){const M=w[k];s.push(b+M)}a=u+(a.length>0?" "+a:a)}return a};function Hd(){let e=0,t,n,o="";for(;e<arguments.length;)(t=arguments[e++])&&(n=vs(t))&&(o&&(o+=" "),o+=n);return o}const vs=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=vs(e[o]))&&(n&&(n+=" "),n+=t);return n};function ms(e,...t){let n,o,r,s=c;function c(d){const u=t.reduce((f,h)=>h(f),e());return n=Od(u),o=n.cache.get,r=n.cache.set,s=a,a(d)}function a(d){const u=o(d);if(u)return u;const f=$d(d,n);return r(d,f),f}return function(){return s(Hd.apply(null,arguments))}}const ne=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},gs=/^\[(?:([a-z-]+):)?(.+)\]$/i,Vd=/^\d+\/\d+$/,Dd=new Set(["px","full","screen"]),Fd=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rd=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Zd=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Wd=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zd=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Oe=e=>dt(e)||Dd.has(e)||Vd.test(e),Re=e=>ft(e,"length",Qd),dt=e=>!!e&&!Number.isNaN(Number(e)),so=e=>ft(e,"number",dt),Pt=e=>!!e&&Number.isInteger(Number(e)),Bd=e=>e.endsWith("%")&&dt(e.slice(0,-1)),B=e=>gs.test(e),Ze=e=>Fd.test(e),Ud=new Set(["length","size","percentage"]),Kd=e=>ft(e,Ud,Cs),Gd=e=>ft(e,"position",Cs),Yd=new Set(["image","url"]),Xd=e=>ft(e,Yd,ef),qd=e=>ft(e,"",Jd),xt=()=>!0,ft=(e,t,n)=>{const o=gs.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):n(o[2]):!1},Qd=e=>Rd.test(e)&&!Zd.test(e),Cs=()=>!1,Jd=e=>Wd.test(e),ef=e=>zd.test(e),bs=()=>{const e=ne("colors"),t=ne("spacing"),n=ne("blur"),o=ne("brightness"),r=ne("borderColor"),s=ne("borderRadius"),c=ne("borderSpacing"),a=ne("borderWidth"),d=ne("contrast"),u=ne("grayscale"),f=ne("hueRotate"),h=ne("invert"),v=ne("gap"),m=ne("gradientColorStops"),C=ne("gradientColorStopPositions"),p=ne("inset"),g=ne("margin"),b=ne("opacity"),y=ne("padding"),w=ne("saturate"),k=ne("scale"),M=ne("sepia"),P=ne("skew"),E=ne("space"),L=ne("translate"),N=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",B,t],_=()=>[B,t],R=()=>["",Oe,Re],j=()=>["auto",dt,B],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",B],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[dt,B];return{cacheSize:500,separator:":",theme:{colors:[xt],spacing:[Oe,Re],blur:["none","",Ze,B],brightness:z(),borderColor:[e],borderRadius:["none","","full",Ze,B],borderSpacing:_(),borderWidth:R(),contrast:z(),grayscale:A(),hueRotate:z(),invert:A(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[Bd,Re],inset:D(),margin:D(),opacity:z(),padding:_(),saturate:z(),scale:z(),sepia:A(),skew:z(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",B]}],container:["container"],columns:[{columns:[Ze]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),B]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Pt,B]}],basis:[{basis:D()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",B]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",Pt,B]}],"grid-cols":[{"grid-cols":[xt]}],"col-start-end":[{col:["auto",{span:["full",Pt,B]},B]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[xt]}],"row-start-end":[{row:["auto",{span:[Pt,B]},B]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",B]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",B]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",B,t]}],"min-w":[{"min-w":[B,t,"min","max","fit"]}],"max-w":[{"max-w":[B,t,"none","full","min","max","fit","prose",{screen:[Ze]},Ze]}],h:[{h:[B,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[B,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[B,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[B,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ze,Re]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",so]}],"font-family":[{font:[xt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",B]}],"line-clamp":[{"line-clamp":["none",dt,so]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Oe,B]}],"list-image":[{"list-image":["none",B]}],"list-style-type":[{list:["none","disc","decimal",B]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Oe,Re]}],"underline-offset":[{"underline-offset":["auto",Oe,B]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",B]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",B]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),Gd]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kd]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xd]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:H()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[Oe,B]}],"outline-w":[{outline:[Oe,Re]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[Oe,Re]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ze,qd]}],"shadow-color":[{shadow:[xt]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Ze,B]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[w]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",B]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",B]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",B]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[Pt,B]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",B]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",B]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",B]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Oe,Re,so]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},tf=(e,{cacheSize:t,prefix:n,separator:o,experimentalParseClassName:r,extend:s={},override:c={}})=>{Lt(e,"cacheSize",t),Lt(e,"prefix",n),Lt(e,"separator",o),Lt(e,"experimentalParseClassName",r);for(const a in c)nf(e[a],c[a]);for(const a in s)of(e[a],s[a]);return e},Lt=(e,t,n)=>{n!==void 0&&(e[t]=n)},nf=(e,t)=>{if(t)for(const n in t)Lt(e,n,t[n])},of=(e,t)=>{if(t)for(const n in t){const o=t[n];o!==void 0&&(e[n]=(e[n]||[]).concat(o))}},rf=(e,...t)=>typeof e=="function"?ms(bs,e,...t):ms(()=>tf(bs(),e),...t),sf=Fe(["ksjsui-shrink-0","forced-colors:ksjsui-fill-canvas-text"],{variants:{color:{current:"ksjsui-fill-current",neutral:"ksjsui-fill-neutral",primary:"ksjsui-fill-primary",secondary:"ksjsui-fill-secondary",success:"ksjsui-fill-success",destructive:"ksjsui-fill-destructive"},size:{sm:"ksjsui-size-5",md:"ksjsui-size-6",lg:"ksjsui-size-8",xl:"ksjsui-size-12"}},defaultVariants:{color:"current",size:"md"}}),af=i.forwardRef(({children:e,className:t,color:n,size:o,...r},s)=>i.createElement("svg",{"aria-hidden":!0,className:$(sf({color:n,size:o,className:t})),fill:n,focusable:!1,ref:s,role:"presentation",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...r},Array.isArray(e)?e.map((a,d)=>i.cloneElement(a,{key:d})):e)),cf=rf({prefix:"ksjsui-"});function $(...e){return cf(cs(e))}function x(e,t){const n=i.forwardRef(({className:o,...r},s)=>i.createElement(af,{ref:s,children:t,className:$(`ksjsui-icon-${lf(e)}`,o),...r}));return n.displayName=e,n}function lf(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}const ys=["#E60060","#ED0C0C","#B20000","#CC4400","#558000","#008A22","#006600","#004C40","#008099","#0059B2","#0070F0","#0022FF","#6619FF","#9900E5","#747474","#191919"],uf=Fe(["ksjsui-relative ksjsui-flex ksjsui-shrink-0 ksjsui-overflow-hidden ksjsui-rounded-full"],{variants:{size:{sm:"ksjsui-size-8",md:"ksjsui-size-9",lg:"ksjsui-size-10"}},defaultVariants:{size:"md"}}),ws=i.forwardRef(({className:e,size:t,...n},o)=>l.jsx(rs,{ref:o,className:$(uf({size:t,className:e})),...n}));ws.displayName=rs.displayName;const ks=i.forwardRef(({className:e,...t},n)=>l.jsx(ss,{ref:n,className:$("ksjsui-aspect-square ksjsui-size-full",e),...t}));ks.displayName=ss.displayName;const Es=i.forwardRef(({className:e,...t},n)=>{var o;return l.jsx(is,{ref:n,className:$("ksjsui-bg-muted ksjsui-flex ksjsui-size-full ksjsui-items-center ksjsui-justify-center ksjsui-rounded-full",e),style:{...df((o=t.children)==null?void 0:o.toString(),ys)},...t})});Es.displayName=is.displayName;function df(e="",t=ys){const n=e.substring(0,2),o=ff(n)%t.length,r=t[o],s=pf(r);return{backgroundColor:r,color:s}}function ff(e){const t=e.substring(0,2);return t.split("").reduce((o,r,s)=>o+t.charCodeAt(s),0)}function pf(e){return e==="#fff"?"#000":"#fff"}const hf=Fe(["motion-safe:ksjsui-animate-spin","motion-safe:[&_circle]:ksjsui-animate-loader"],{variants:{color:{current:"ksjsui-text-current",neutral:"ksjsui-text-neutral",primary:"ksjsui-text-primary",secondary:"ksjsui-text-secondary",destructive:"ksjsui-text-destructive"},size:{xs:"ksjsui-size-4",sm:"ksjsui-size-6",md:"ksjsui-size-8",lg:"ksjsui-size-12",xl:"ksjsui-size-14","2xl":"ksjsui-size-16"}},defaultVariants:{color:"current",size:"md"}}),io=i.forwardRef(({className:e,color:t,size:n,...o},r)=>l.jsx("svg",{className:$(hf({color:t,size:n,className:e})),ref:r,viewBox:"0 0 24 24",...o,children:l.jsx("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"})}));io.displayName="Loader";const vf=Fe(["ksjsui-relative ksjsui-inline-flex ksjsui-items-center ksjsui-justify-center ksjsui-whitespace-nowrap ksjsui-rounded-lg ksjsui-border ksjsui-border-transparent ksjsui-p-2 ksjsui-text-base ksjsui-ring-offset-background ksjsui-transition-colors","focus-visible:ksjsui-outline-none focus-visible:ksjsui-ring-2 focus-visible:ksjsui-ring-ring focus-visible:ksjsui-ring-offset-2","disabled:ksjsui-pointer-events-none disabled:ksjsui-cursor-not-allowed disabled:ksjsui-bg-disabled disabled:ksjsui-text-disabled-foreground","forced-colors:ksjsui-border-button-border forced-colors:ksjsui-bg-button-face forced-colors:ksjsui-text-button-text","forced-colors:hover:ksjsui-border-highlight","forced-colors:disabled:ksjsui-border-gray-text","[&_svg]:ksjsui-pointer-events-none [&_svg]:ksjsui-shrink-0","[&_.ButtonContent]:ksjsui-opacity-100 [&_.ButtonContent]:ksjsui-delay-100","motion-safe:[&_.ButtonContent]:ksjsui-transition-opacity","[&_.ButtonLoader]:ksjsui-absolute [&_.ButtonLoader]:ksjsui-inset-0 [&_.ButtonLoader]:ksjsui-m-auto [&_.ButtonLoader]:ksjsui-opacity-0"],{variants:{variant:{solid:"",outline:"ksjsui-border-current hover:ksjsui-bg-neutral-hover",plain:"ksjsui-bg-transparent",link:"ksjsui-underline-current ksjsui-h-auto ksjsui-p-0 hover:ksjsui-underline",avatar:"ksjsui-rounded-full ksjsui-border-0 ksjsui-p-0"},color:{neutral:"",primary:"",secondary:"",success:"",destructive:""},fullWidth:{true:"ksjsui-w-full"},iconOnly:{true:"ksjsui-icon-only [&.ksjsui-icon-only_svg]:ksjsui-size-6"},loading:{true:["[&_.ButtonContent]:ksjsui-opacity-0","[&_.ButtonLoader]:ksjsui-opacity-100 [&_.ButtonLoader]:ksjsui-delay-200","motion-safe:[&_.ButtonLoader]:ksjsui-animate-spin"]},radius:{full:"ksjsui-rounded-full"},size:{sm:"ksjsui-h-8 [&_svg]:ksjsui-size-5",md:"ksjsui-h-9 [&_svg]:ksjsui-size-5",lg:"ksjsui-h-10 [&_svg]:ksjsui-size-6"}},defaultVariants:{variant:"solid",color:"neutral",fullWidth:!1,size:"md"},compoundVariants:[{variant:"solid",color:"neutral",className:"ksjsui-bg-neutral ksjsui-text-neutral-foreground hover:ksjsui-bg-neutral-hover"},{variant:"solid",color:"primary",className:"ksjsui-bg-primary ksjsui-text-primary-foreground hover:ksjsui-bg-primary-hover"},{variant:"solid",color:"secondary",className:"ksjsui-bg-secondary ksjsui-text-secondary-foreground hover:ksjsui-bg-secondary-hover"},{variant:"solid",color:"success",className:"ksjsui-bg-success ksjsui-text-success-foreground hover:ksjsui-bg-success-hover"},{variant:"solid",color:"destructive",className:"ksjsui-bg-destructive ksjsui-text-destructive-foreground hover:ksjsui-bg-destructive-hover"},{variant:["outline","plain","link"],color:"neutral",className:"ksjsui-text-neutral-foreground"},{variant:["outline","plain","link"],color:"primary",className:"ksjsui-text-primary"},{variant:["outline","plain","link"],color:"secondary",className:"ksjsui-text-secondary"},{variant:["outline","plain","link"],color:"success",className:"ksjsui-text-success"},{variant:["outline","plain","link"],color:"destructive",className:"ksjsui-text-destructive"},{iconOnly:!0,size:"sm",className:"ksjsui-size-8"},{iconOnly:!0,size:"md",className:"ksjsui-size-9"},{iconOnly:!0,size:"lg",className:"ksjsui-size-10"}]}),ao=i.forwardRef(({className:e,endContent:t,startContent:n,variant:o,color:r,fullWidth:s,iconOnly:c,radius:a,size:d,asChild:u,children:f,tabIndex:h=0,loading:v,...m},C)=>{const p=u?re:"button";return l.jsxs(p,{className:$(vf({variant:o,color:r,fullWidth:s,iconOnly:c,loading:v,radius:a,size:d,className:e})),ref:C,tabIndex:h,"aria-busy":v,...m,children:[n&&l.jsx("span",{className:$("ButtonContent ksjsui-me-2"),children:n}),l.jsx(eo,{children:u?i.cloneElement(f,f.props,l.jsx("span",{className:"ButtonContent",children:f.props.children})):l.jsx("span",{className:"ButtonContent",children:f})}),l.jsx(io,{className:"ButtonLoader"}),t&&l.jsx("span",{className:$("ButtonContent ksjsui-ms-2"),children:t})]})});ao.displayName="Button";function I(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}var mf=i.useId||(()=>{}),gf=0;function ge(e){const[t,n]=i.useState(mf());return J(()=>{n(o=>o??String(gf++))},[e]),t?`radix-${t}`:""}function _e({prop:e,defaultProp:t,onChange:n=()=>{}}){const[o,r]=Cf({defaultProp:t,onChange:n}),s=e!==void 0,c=s?e:o,a=U(n),d=i.useCallback(u=>{if(s){const h=typeof u=="function"?u(e):u;h!==e&&a(h)}else r(u)},[s,e,r,a]);return[c,d]}function Cf({defaultProp:e,onChange:t}){const n=i.useState(e),[o]=n,r=i.useRef(o),s=U(t);return i.useEffect(()=>{r.current!==o&&(s(o),r.current=o)},[o,r,s]),n}var bf=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],$e=bf.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function yf(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}function It(e,t=globalThis==null?void 0:globalThis.document){const n=U(e);i.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var wf="DismissableLayer",co="dismissableLayer.update",kf="dismissableLayer.pointerDownOutside",Ef="dismissableLayer.focusOutside",Ss,Ms=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ps=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(Ms),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(g),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=Pf(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),P=xf(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Ss=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),xs(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Ss)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),xs())},[f,u]),i.useEffect(()=>{const E=()=>m({});return document.addEventListener(co,E),()=>document.removeEventListener(co,E)},[]),l.jsx($e.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,P.onFocusCapture),onBlurCapture:I(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});Ps.displayName=wf;var Sf="DismissableLayerBranch",Mf=i.forwardRef((e,t)=>{const n=i.useContext(Ms),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx($e.div,{...e,ref:r})});Mf.displayName=Sf;function Pf(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Ls(kf,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function xf(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Ls(Ef,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function xs(){const e=new CustomEvent(co);document.dispatchEvent(e)}function Ls(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?yf(r,s):r.dispatchEvent(s)}var lo="focusScope.autoFocusOnMount",uo="focusScope.autoFocusOnUnmount",Is={bubbles:!1,cancelable:!0},Lf="FocusScope",Ns=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...c}=e,[a,d]=i.useState(null),u=U(r),f=U(s),h=i.useRef(null),v=V(t,p=>d(p)),m=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let p=function(w){if(m.paused||!a)return;const k=w.target;a.contains(k)?h.current=k:We(h.current,{select:!0})},g=function(w){if(m.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||We(h.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const M of w)M.removedNodes.length>0&&We(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",g);const y=new MutationObserver(b);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",g),y.disconnect()}}},[o,a,m.paused]),i.useEffect(()=>{if(a){js.add(m);const p=document.activeElement;if(!a.contains(p)){const b=new CustomEvent(lo,Is);a.addEventListener(lo,u),a.dispatchEvent(b),b.defaultPrevented||(If(Of(As(a)),{select:!0}),document.activeElement===p&&We(a))}return()=>{a.removeEventListener(lo,u),setTimeout(()=>{const b=new CustomEvent(uo,Is);a.addEventListener(uo,f),a.dispatchEvent(b),b.defaultPrevented||We(p??document.body,{select:!0}),a.removeEventListener(uo,f),js.remove(m)},0)}}},[a,u,f,m]);const C=i.useCallback(p=>{if(!n&&!o||m.paused)return;const g=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(g&&b){const y=p.currentTarget,[w,k]=Nf(y);w&&k?!p.shiftKey&&b===k?(p.preventDefault(),n&&We(w,{select:!0})):p.shiftKey&&b===w&&(p.preventDefault(),n&&We(k,{select:!0})):b===y&&p.preventDefault()}},[n,o,m.paused]);return l.jsx($e.div,{tabIndex:-1,...c,ref:v,onKeyDown:C})});Ns.displayName=Lf;function If(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(We(o,{select:t}),document.activeElement!==n)return}function Nf(e){const t=As(e),n=Ts(t,e),o=Ts(t.reverse(),e);return[n,o]}function As(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ts(e,t){for(const n of e)if(!Af(n,{upTo:t}))return n}function Af(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 Tf(e){return e instanceof HTMLInputElement&&"select"in e}function We(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Tf(e)&&t&&e.select()}}var js=jf();function jf(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Os(e,t),e.unshift(t)},remove(t){var n;e=Os(e,t),(n=e[0])==null||n.resume()}}}function Os(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Of(e){return e.filter(t=>t.tagName!=="A")}var _f="Portal",_s=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);J(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx($e.div,{...o,ref:t}),c):null});_s.displayName=_f;function $f(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var Gt=e=>{const{present:t,children:n}=e,o=Hf(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,Vf(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};Gt.displayName="Presence";function Hf(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=$f(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=Yt(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,m=Yt(u);e?d("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=m=>{const p=Yt(o.current).includes(m.animationName);if(m.target===t&&p&&(d("ANIMATION_END"),!r.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},v=m=>{m.target===t&&(s.current=Yt(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function Yt(e){return(e==null?void 0:e.animationName)||"none"}function Vf(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var fo=0;function po(){i.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$s()),document.body.insertAdjacentElement("beforeend",e[1]??$s()),fo++,()=>{fo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),fo--}},[])}function $s(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Le=function(){return Le=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Le.apply(this,arguments)};function Hs(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function Df(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,s;o<r;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Xt="right-scroll-bar-position",qt="width-before-scroll-bar",Ff="with-scroll-bars-hidden",Rf="--removed-body-scroll-bar-size";function ho(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Zf(e,t){var n=te.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var r=n.value;r!==o&&(n.value=o,n.callback(o,r))}}}})[0];return n.callback=t,n.facade}var Wf=typeof window<"u"?i.useLayoutEffect:i.useEffect,Vs=new WeakMap;function zf(e,t){var n=Zf(null,function(o){return e.forEach(function(r){return ho(r,o)})});return Wf(function(){var o=Vs.get(n);if(o){var r=new Set(o),s=new Set(e),c=n.current;r.forEach(function(a){s.has(a)||ho(a,null)}),s.forEach(function(a){r.has(a)||ho(a,c)})}Vs.set(n,e)},[e]),n}function Bf(e){return e}function Uf(e,t){t===void 0&&(t=Bf);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var c=t(s,o);return n.push(c),function(){n=n.filter(function(a){return a!==c})}},assignSyncMedium:function(s){for(o=!0;n.length;){var c=n;n=[],c.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){o=!0;var c=[];if(n.length){var a=n;n=[],a.forEach(s),c=n}var d=function(){var f=c;c=[],f.forEach(s)},u=function(){return Promise.resolve().then(d)};u(),n={push:function(f){c.push(f),u()},filter:function(f){return c=c.filter(f),n}}}};return r}function Kf(e){e===void 0&&(e={});var t=Uf(null);return t.options=Le({async:!0,ssr:!1},e),t}var Ds=function(e){var t=e.sideCar,n=Hs(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return i.createElement(o,Le({},n))};Ds.isSideCarExport=!0;function Gf(e,t){return e.useMedium(t),Ds}var Fs=Kf(),vo=function(){},Qt=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:vo,onWheelCapture:vo,onTouchMoveCapture:vo}),r=o[0],s=o[1],c=e.forwardProps,a=e.children,d=e.className,u=e.removeScrollBar,f=e.enabled,h=e.shards,v=e.sideCar,m=e.noIsolation,C=e.inert,p=e.allowPinchZoom,g=e.as,b=g===void 0?"div":g,y=e.gapMode,w=Hs(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=v,M=zf([n,t]),P=Le(Le({},w),r);return i.createElement(i.Fragment,null,f&&i.createElement(k,{sideCar:Fs,removeScrollBar:u,shards:h,noIsolation:m,inert:C,setCallbacks:s,allowPinchZoom:!!p,lockRef:n,gapMode:y}),c?i.cloneElement(i.Children.only(a),Le(Le({},P),{ref:M})):i.createElement(b,Le({},P,{className:d,ref:M}),a))});Qt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Qt.classNames={fullWidth:qt,zeroRight:Xt};var Yf=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Xf(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Yf();return t&&e.setAttribute("nonce",t),e}function qf(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Qf(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Jf=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Xf())&&(qf(t,n),Qf(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},e2=function(){var e=Jf();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Rs=function(){var e=e2(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},t2={left:0,top:0,right:0,gap:0},mo=function(e){return parseInt(e||"",10)||0},n2=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[mo(n),mo(o),mo(r)]},o2=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return t2;var t=n2(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},r2=Rs(),pt="data-scroll-locked",s2=function(e,t,n,o){var r=e.left,s=e.top,c=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
1
|
+
(function(S,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],l):(S=typeof globalThis<"u"?globalThis:S||self,l(S["keeper-js-ui"]={},S["react/jsx-runtime"],S.React,S.ReactDOM))})(this,function(S,l,te,ut){"use strict";function Xr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=Xr(te),xe=Xr(ut);function md(e,t){const n=i.createContext(t),o=s=>{const{children:c,...a}=s,d=i.useMemo(()=>a,Object.values(a));return l.jsx(n.Provider,{value:d,children:c})};o.displayName=e+"Provider";function r(s){const c=i.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[o,r]}function de(e,t=[]){let n=[];function o(s,c){const a=i.createContext(c),d=n.length;n=[...n,c];const u=h=>{var b;const{scope:v,children:g,...C}=h,p=((b=v==null?void 0:v[e])==null?void 0:b[d])||a,m=i.useMemo(()=>C,Object.values(C));return l.jsx(p.Provider,{value:m,children:g})};u.displayName=s+"Provider";function f(h,v){var p;const g=((p=v==null?void 0:v[e])==null?void 0:p[d])||a,C=i.useContext(g);if(C)return C;if(c!==void 0)return c;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[u,f]}const r=()=>{const s=n.map(c=>i.createContext(c));return function(a){const d=(a==null?void 0:a[e])||s;return i.useMemo(()=>({[`__scope${e}`]:{...a,[e]:d}}),[a,d])}};return r.scopeName=e,[o,Cd(r,...t)]}function Cd(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const c=o.reduce((a,{useScope:d,scopeName:u})=>{const h=d(s)[`__scope${u}`];return{...a,...h}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}function U(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}var J=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{};function qr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Kt(...e){return t=>{let n=!1;const o=e.map(r=>{const s=qr(r,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():qr(e[r],null)}}}}function V(...e){return i.useCallback(Kt(...e),e)}var re=i.forwardRef((e,t)=>{const{children:n,...o}=e,r=i.Children.toArray(n),s=r.find(bd);if(s){const c=s.props.children,a=r.map(d=>d===s?i.Children.count(c)>1?i.Children.only(null):i.isValidElement(c)?c.props.children:null:d);return l.jsx(Jn,{...o,ref:t,children:i.isValidElement(c)?i.cloneElement(c,void 0,a):null})}return l.jsx(Jn,{...o,ref:t,children:n})});re.displayName="Slot";var Jn=i.forwardRef((e,t)=>{const{children:n,...o}=e;if(i.isValidElement(n)){const r=wd(n),s=yd(o,n.props);return n.type!==i.Fragment&&(s.ref=t?Kt(t,r):r),i.cloneElement(n,s)}return i.Children.count(n)>1?i.Children.only(null):null});Jn.displayName="SlotClone";var eo=({children:e})=>l.jsx(l.Fragment,{children:e});function bd(e){return i.isValidElement(e)&&e.type===eo}function yd(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...a)=>{s(...a),r(...a)}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function wd(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var kd=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],to=kd.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),no="Avatar",[Ed,Nv]=de(no),[Sd,Qr]=Ed(no),Jr=i.forwardRef((e,t)=>{const{__scopeAvatar:n,...o}=e,[r,s]=i.useState("idle");return l.jsx(Sd,{scope:n,imageLoadingStatus:r,onImageLoadingStatusChange:s,children:l.jsx(to.span,{...o,ref:t})})});Jr.displayName=no;var es="AvatarImage",ts=i.forwardRef((e,t)=>{const{__scopeAvatar:n,src:o,onLoadingStatusChange:r=()=>{},...s}=e,c=Qr(es,n),a=Md(o,s.referrerPolicy),d=U(u=>{r(u),c.onImageLoadingStatusChange(u)});return J(()=>{a!=="idle"&&d(a)},[a,d]),a==="loaded"?l.jsx(to.img,{...s,ref:t,src:o}):null});ts.displayName=es;var ns="AvatarFallback",os=i.forwardRef((e,t)=>{const{__scopeAvatar:n,delayMs:o,...r}=e,s=Qr(ns,n),[c,a]=i.useState(o===void 0);return i.useEffect(()=>{if(o!==void 0){const d=window.setTimeout(()=>a(!0),o);return()=>window.clearTimeout(d)}},[o]),c&&s.imageLoadingStatus!=="loaded"?l.jsx(to.span,{...r,ref:t}):null});os.displayName=ns;function Md(e,t){const[n,o]=i.useState("idle");return J(()=>{if(!e){o("error");return}let r=!0;const s=new window.Image,c=a=>()=>{r&&o(a)};return o("loading"),s.onload=c("loaded"),s.onerror=c("error"),s.src=e,t&&(s.referrerPolicy=t),()=>{r=!1}},[e,t]),n}var rs=Jr,ss=ts,is=os;function as(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=as(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function cs(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=as(e))&&(o&&(o+=" "),o+=t);return o}const ls=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,us=cs,Fe=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return us(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:s}=t,c=Object.keys(r).map(u=>{const f=n==null?void 0:n[u],h=s==null?void 0:s[u];if(f===null)return null;const v=ls(f)||ls(h);return r[u][v]}),a=n&&Object.entries(n).reduce((u,f)=>{let[h,v]=f;return v===void 0||(u[h]=v),u},{}),d=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,f)=>{let{class:h,className:v,...g}=f;return Object.entries(g).every(C=>{let[p,m]=C;return Array.isArray(m)?m.includes({...s,...a}[p]):{...s,...a}[p]===m})?[...u,h,v]:u},[]);return us(e,c,d,n==null?void 0:n.class,n==null?void 0:n.className)},oo="-",Pd=e=>{const t=Ld(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:c=>{const a=c.split(oo);return a[0]===""&&a.length!==1&&a.shift(),ds(a,t)||xd(c)},getConflictingClassGroupIds:(c,a)=>{const d=n[c]||[];return a&&o[c]?[...d,...o[c]]:d}}},ds=(e,t)=>{var c;if(e.length===0)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?ds(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;const s=e.join(oo);return(c=t.validators.find(({validator:a})=>a(s)))==null?void 0:c.classGroupId},fs=/^\[(.+)\]$/,xd=e=>{if(fs.test(e)){const t=fs.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Ld=e=>{const{theme:t,prefix:n}=e,o={nextPart:new Map,validators:[]};return Nd(Object.entries(e.classGroups),n).forEach(([s,c])=>{ro(c,o,s,t)}),o},ro=(e,t,n,o)=>{e.forEach(r=>{if(typeof r=="string"){const s=r===""?t:ps(t,r);s.classGroupId=n;return}if(typeof r=="function"){if(Id(r)){ro(r(o),t,n,o);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([s,c])=>{ro(c,ps(t,s),n,o)})})},ps=(e,t)=>{let n=e;return t.split(oo).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},Id=e=>e.isThemeGetter,Nd=(e,t)=>t?e.map(([n,o])=>{const r=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,a])=>[t+c,a])):s);return[n,r]}):e,Ad=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(s,c)=>{n.set(s,c),t++,t>e&&(t=0,o=n,n=new Map)};return{get(s){let c=n.get(s);if(c!==void 0)return c;if((c=o.get(s))!==void 0)return r(s,c),c},set(s,c){n.has(s)?n.set(s,c):r(s,c)}}},hs="!",Td=e=>{const{separator:t,experimentalParseClassName:n}=e,o=t.length===1,r=t[0],s=t.length,c=a=>{const d=[];let u=0,f=0,h;for(let m=0;m<a.length;m++){let b=a[m];if(u===0){if(b===r&&(o||a.slice(m,m+s)===t)){d.push(a.slice(f,m)),f=m+s;continue}if(b==="/"){h=m;continue}}b==="["?u++:b==="]"&&u--}const v=d.length===0?a:a.substring(f),g=v.startsWith(hs),C=g?v.substring(1):v,p=h&&h>f?h-f:void 0;return{modifiers:d,hasImportantModifier:g,baseClassName:C,maybePostfixModifierPosition:p}};return n?a=>n({className:a,parseClassName:c}):c},jd=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(o=>{o[0]==="["?(t.push(...n.sort(),o),n=[]):n.push(o)}),t.push(...n.sort()),t},Od=e=>({cache:Ad(e.cacheSize),parseClassName:Td(e),...Pd(e)}),_d=/\s+/,$d=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r}=t,s=[],c=e.trim().split(_d);let a="";for(let d=c.length-1;d>=0;d-=1){const u=c[d],{modifiers:f,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:g}=n(u);let C=!!g,p=o(C?v.substring(0,g):v);if(!p){if(!C){a=u+(a.length>0?" "+a:a);continue}if(p=o(v),!p){a=u+(a.length>0?" "+a:a);continue}C=!1}const m=jd(f).join(":"),b=h?m+hs:m,y=b+p;if(s.includes(y))continue;s.push(y);const w=r(p,C);for(let k=0;k<w.length;++k){const M=w[k];s.push(b+M)}a=u+(a.length>0?" "+a:a)}return a};function Hd(){let e=0,t,n,o="";for(;e<arguments.length;)(t=arguments[e++])&&(n=vs(t))&&(o&&(o+=" "),o+=n);return o}const vs=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=vs(e[o]))&&(n&&(n+=" "),n+=t);return n};function gs(e,...t){let n,o,r,s=c;function c(d){const u=t.reduce((f,h)=>h(f),e());return n=Od(u),o=n.cache.get,r=n.cache.set,s=a,a(d)}function a(d){const u=o(d);if(u)return u;const f=$d(d,n);return r(d,f),f}return function(){return s(Hd.apply(null,arguments))}}const ne=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ms=/^\[(?:([a-z-]+):)?(.+)\]$/i,Vd=/^\d+\/\d+$/,Dd=new Set(["px","full","screen"]),Fd=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zd=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rd=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Wd=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zd=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Oe=e=>dt(e)||Dd.has(e)||Vd.test(e),Ze=e=>ft(e,"length",Qd),dt=e=>!!e&&!Number.isNaN(Number(e)),so=e=>ft(e,"number",dt),Pt=e=>!!e&&Number.isInteger(Number(e)),Bd=e=>e.endsWith("%")&&dt(e.slice(0,-1)),B=e=>ms.test(e),Re=e=>Fd.test(e),Ud=new Set(["length","size","percentage"]),Kd=e=>ft(e,Ud,Cs),Gd=e=>ft(e,"position",Cs),Yd=new Set(["image","url"]),Xd=e=>ft(e,Yd,ef),qd=e=>ft(e,"",Jd),xt=()=>!0,ft=(e,t,n)=>{const o=ms.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):n(o[2]):!1},Qd=e=>Zd.test(e)&&!Rd.test(e),Cs=()=>!1,Jd=e=>Wd.test(e),ef=e=>zd.test(e),bs=()=>{const e=ne("colors"),t=ne("spacing"),n=ne("blur"),o=ne("brightness"),r=ne("borderColor"),s=ne("borderRadius"),c=ne("borderSpacing"),a=ne("borderWidth"),d=ne("contrast"),u=ne("grayscale"),f=ne("hueRotate"),h=ne("invert"),v=ne("gap"),g=ne("gradientColorStops"),C=ne("gradientColorStopPositions"),p=ne("inset"),m=ne("margin"),b=ne("opacity"),y=ne("padding"),w=ne("saturate"),k=ne("scale"),M=ne("sepia"),x=ne("skew"),E=ne("space"),L=ne("translate"),N=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",B,t],_=()=>[B,t],Z=()=>["",Oe,Ze],j=()=>["auto",dt,B],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],R=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",B],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[dt,B];return{cacheSize:500,separator:":",theme:{colors:[xt],spacing:[Oe,Ze],blur:["none","",Re,B],brightness:z(),borderColor:[e],borderRadius:["none","","full",Re,B],borderSpacing:_(),borderWidth:Z(),contrast:z(),grayscale:A(),hueRotate:z(),invert:A(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[Bd,Ze],inset:D(),margin:D(),opacity:z(),padding:_(),saturate:z(),scale:z(),sepia:A(),skew:z(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",B]}],container:["container"],columns:[{columns:[Re]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),B]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Pt,B]}],basis:[{basis:D()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",B]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",Pt,B]}],"grid-cols":[{"grid-cols":[xt]}],"col-start-end":[{col:["auto",{span:["full",Pt,B]},B]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[xt]}],"row-start-end":[{row:["auto",{span:[Pt,B]},B]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",B]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",B]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",B,t]}],"min-w":[{"min-w":[B,t,"min","max","fit"]}],"max-w":[{"max-w":[B,t,"none","full","min","max","fit","prose",{screen:[Re]},Re]}],h:[{h:[B,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[B,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[B,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[B,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Re,Ze]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",so]}],"font-family":[{font:[xt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",B]}],"line-clamp":[{"line-clamp":["none",dt,so]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Oe,B]}],"list-image":[{"list-image":["none",B]}],"list-style-type":[{list:["none","disc","decimal",B]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Oe,Ze]}],"underline-offset":[{"underline-offset":["auto",Oe,B]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",B]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",B]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),Gd]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kd]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xd]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:H()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[Oe,B]}],"outline-w":[{outline:[Oe,Ze]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[Oe,Ze]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Re,qd]}],"shadow-color":[{shadow:[xt]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...R(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":R()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Re,B]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[w]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",B]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",B]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",B]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[Pt,B]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",B]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",B]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",B]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Oe,Ze,so]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},tf=(e,{cacheSize:t,prefix:n,separator:o,experimentalParseClassName:r,extend:s={},override:c={}})=>{Lt(e,"cacheSize",t),Lt(e,"prefix",n),Lt(e,"separator",o),Lt(e,"experimentalParseClassName",r);for(const a in c)nf(e[a],c[a]);for(const a in s)of(e[a],s[a]);return e},Lt=(e,t,n)=>{n!==void 0&&(e[t]=n)},nf=(e,t)=>{if(t)for(const n in t)Lt(e,n,t[n])},of=(e,t)=>{if(t)for(const n in t){const o=t[n];o!==void 0&&(e[n]=(e[n]||[]).concat(o))}},rf=(e,...t)=>typeof e=="function"?gs(bs,e,...t):gs(()=>tf(bs(),e),...t),sf=Fe(["ksjsui-shrink-0","forced-colors:ksjsui-fill-canvas-text"],{variants:{color:{current:"ksjsui-fill-current",neutral:"ksjsui-fill-neutral",primary:"ksjsui-fill-primary",secondary:"ksjsui-fill-secondary",success:"ksjsui-fill-success",destructive:"ksjsui-fill-destructive"},size:{sm:"ksjsui-size-5",md:"ksjsui-size-6",lg:"ksjsui-size-8",xl:"ksjsui-size-12"}},defaultVariants:{color:"current",size:"md"}}),af=i.forwardRef(({children:e,className:t,color:n,size:o,...r},s)=>i.createElement("svg",{"aria-hidden":!0,className:$(sf({color:n,size:o,className:t})),fill:n,focusable:!1,ref:s,role:"presentation",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...r},Array.isArray(e)?e.map((a,d)=>i.cloneElement(a,{key:d})):e)),cf=rf({prefix:"ksjsui-"});function $(...e){return cf(cs(e))}function P(e,t){const n=i.forwardRef(({className:o,...r},s)=>i.createElement(af,{ref:s,children:t,className:$(`ksjsui-icon-${lf(e)}`,o),...r}));return n.displayName=e,n}function lf(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}const ys=["#E60060","#ED0C0C","#B20000","#CC4400","#558000","#008A22","#006600","#004C40","#008099","#0059B2","#0070F0","#0022FF","#6619FF","#9900E5","#747474","#191919"],uf=Fe(["ksjsui-relative ksjsui-flex ksjsui-shrink-0 ksjsui-overflow-hidden ksjsui-rounded-full"],{variants:{size:{sm:"ksjsui-size-8",md:"ksjsui-size-9",lg:"ksjsui-size-10"}},defaultVariants:{size:"md"}}),ws=i.forwardRef(({className:e,size:t,...n},o)=>l.jsx(rs,{ref:o,className:$(uf({size:t,className:e})),...n}));ws.displayName=rs.displayName;const ks=i.forwardRef(({className:e,...t},n)=>l.jsx(ss,{ref:n,className:$("ksjsui-aspect-square ksjsui-size-full",e),...t}));ks.displayName=ss.displayName;const Es=i.forwardRef(({className:e,...t},n)=>{var o;return l.jsx(is,{ref:n,className:$("ksjsui-bg-muted ksjsui-flex ksjsui-size-full ksjsui-items-center ksjsui-justify-center ksjsui-rounded-full",e),style:{...df((o=t.children)==null?void 0:o.toString(),ys)},...t})});Es.displayName=is.displayName;function df(e="",t=ys){const n=e.substring(0,2),o=ff(n)%t.length,r=t[o],s=pf(r);return{backgroundColor:r,color:s}}function ff(e){const t=e.substring(0,2);return t.split("").reduce((o,r,s)=>o+t.charCodeAt(s),0)}function pf(e){return e==="#fff"?"#000":"#fff"}const hf=Fe(["motion-safe:ksjsui-animate-spin","motion-safe:[&_circle]:ksjsui-animate-loader"],{variants:{color:{current:"ksjsui-text-current",neutral:"ksjsui-text-neutral",primary:"ksjsui-text-primary",secondary:"ksjsui-text-secondary",destructive:"ksjsui-text-destructive"},size:{xs:"ksjsui-size-4",sm:"ksjsui-size-6",md:"ksjsui-size-8",lg:"ksjsui-size-12",xl:"ksjsui-size-14","2xl":"ksjsui-size-16"}},defaultVariants:{color:"current",size:"md"}}),io=i.forwardRef(({className:e,color:t,size:n,...o},r)=>l.jsx("svg",{className:$(hf({color:t,size:n,className:e})),ref:r,viewBox:"0 0 24 24",...o,children:l.jsx("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"})}));io.displayName="Loader";const vf=Fe(["ksjsui-relative ksjsui-inline-flex ksjsui-items-center ksjsui-justify-center ksjsui-whitespace-nowrap ksjsui-rounded-lg ksjsui-border ksjsui-border-transparent ksjsui-p-2 ksjsui-text-base ksjsui-ring-offset-background ksjsui-transition-colors","focus-visible:ksjsui-outline-none focus-visible:ksjsui-ring-2 focus-visible:ksjsui-ring-ring focus-visible:ksjsui-ring-offset-2","disabled:ksjsui-pointer-events-none disabled:ksjsui-cursor-not-allowed disabled:ksjsui-bg-disabled disabled:ksjsui-text-disabled-foreground","forced-colors:ksjsui-border-button-border forced-colors:ksjsui-bg-button-face forced-colors:ksjsui-text-button-text","forced-colors:hover:ksjsui-border-highlight","forced-colors:disabled:ksjsui-border-gray-text","[&_svg]:ksjsui-pointer-events-none [&_svg]:ksjsui-shrink-0","[&_.ButtonContent]:ksjsui-opacity-100 [&_.ButtonContent]:ksjsui-delay-100","motion-safe:[&_.ButtonContent]:ksjsui-transition-opacity","[&_.ButtonLoader]:ksjsui-absolute [&_.ButtonLoader]:ksjsui-inset-0 [&_.ButtonLoader]:ksjsui-m-auto [&_.ButtonLoader]:ksjsui-opacity-0"],{variants:{variant:{solid:"",outline:"ksjsui-border-current hover:ksjsui-bg-neutral-hover",plain:"ksjsui-bg-transparent",link:"ksjsui-underline-current ksjsui-h-auto ksjsui-p-0 hover:ksjsui-underline",avatar:"ksjsui-rounded-full ksjsui-border-0 ksjsui-p-0"},color:{neutral:"",primary:"",secondary:"",success:"",destructive:""},fullWidth:{true:"ksjsui-w-full"},iconOnly:{true:"ksjsui-icon-only [&.ksjsui-icon-only_svg]:ksjsui-size-6"},loading:{true:["[&_.ButtonContent]:ksjsui-opacity-0","[&_.ButtonLoader]:ksjsui-opacity-100 [&_.ButtonLoader]:ksjsui-delay-200","motion-safe:[&_.ButtonLoader]:ksjsui-animate-spin"]},radius:{full:"ksjsui-rounded-full"},size:{sm:"ksjsui-h-8 [&_svg]:ksjsui-size-5",md:"ksjsui-h-9 [&_svg]:ksjsui-size-5",lg:"ksjsui-h-10 [&_svg]:ksjsui-size-6"}},defaultVariants:{variant:"solid",color:"neutral",fullWidth:!1,size:"md"},compoundVariants:[{variant:"solid",color:"neutral",className:"ksjsui-bg-neutral ksjsui-text-neutral-foreground hover:ksjsui-bg-neutral-hover"},{variant:"solid",color:"primary",className:"ksjsui-bg-primary ksjsui-text-primary-foreground hover:ksjsui-bg-primary-hover"},{variant:"solid",color:"secondary",className:"ksjsui-bg-secondary ksjsui-text-secondary-foreground hover:ksjsui-bg-secondary-hover"},{variant:"solid",color:"success",className:"ksjsui-bg-success ksjsui-text-success-foreground hover:ksjsui-bg-success-hover"},{variant:"solid",color:"destructive",className:"ksjsui-bg-destructive ksjsui-text-destructive-foreground hover:ksjsui-bg-destructive-hover"},{variant:["outline","plain","link"],color:"neutral",className:""},{variant:["outline","plain","link"],color:"primary",className:"ksjsui-text-primary"},{variant:["outline","plain","link"],color:"secondary",className:"ksjsui-text-secondary"},{variant:["outline","plain","link"],color:"success",className:"ksjsui-text-success"},{variant:["outline","plain","link"],color:"destructive",className:"ksjsui-text-destructive"},{iconOnly:!0,size:"sm",className:"ksjsui-size-8"},{iconOnly:!0,size:"md",className:"ksjsui-size-9"},{iconOnly:!0,size:"lg",className:"ksjsui-size-10"}]}),ao=i.forwardRef(({className:e,endContent:t,startContent:n,variant:o,color:r,fullWidth:s,iconOnly:c,radius:a,size:d,asChild:u,children:f,tabIndex:h=0,loading:v,...g},C)=>{const p=u?re:"button";return l.jsxs(p,{className:$(vf({variant:o,color:r,fullWidth:s,iconOnly:c,loading:v,radius:a,size:d,className:e})),ref:C,tabIndex:h,"aria-busy":v,...g,children:[n&&l.jsx("span",{className:$("ButtonContent ksjsui-me-2"),children:n}),l.jsx(eo,{children:u?i.cloneElement(f,f.props,l.jsx("span",{className:"ButtonContent",children:f.props.children})):l.jsx("span",{className:"ButtonContent",children:f})}),l.jsx(io,{className:"ButtonLoader"}),t&&l.jsx("span",{className:$("ButtonContent ksjsui-ms-2"),children:t})]})});ao.displayName="Button";function I(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}var gf=i.useId||(()=>{}),mf=0;function me(e){const[t,n]=i.useState(gf());return J(()=>{n(o=>o??String(mf++))},[e]),t?`radix-${t}`:""}function _e({prop:e,defaultProp:t,onChange:n=()=>{}}){const[o,r]=Cf({defaultProp:t,onChange:n}),s=e!==void 0,c=s?e:o,a=U(n),d=i.useCallback(u=>{if(s){const h=typeof u=="function"?u(e):u;h!==e&&a(h)}else r(u)},[s,e,r,a]);return[c,d]}function Cf({defaultProp:e,onChange:t}){const n=i.useState(e),[o]=n,r=i.useRef(o),s=U(t);return i.useEffect(()=>{r.current!==o&&(s(o),r.current=o)},[o,r,s]),n}var bf=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],$e=bf.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function yf(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}function It(e,t=globalThis==null?void 0:globalThis.document){const n=U(e);i.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var wf="DismissableLayer",co="dismissableLayer.update",kf="dismissableLayer.pointerDownOutside",Ef="dismissableLayer.focusOutside",Ss,Ms=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ps=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(Ms),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(m),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=Pf(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),x=xf(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Ss=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),xs(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Ss)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),xs())},[f,u]),i.useEffect(()=>{const E=()=>g({});return document.addEventListener(co,E),()=>document.removeEventListener(co,E)},[]),l.jsx($e.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,x.onFocusCapture),onBlurCapture:I(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});Ps.displayName=wf;var Sf="DismissableLayerBranch",Mf=i.forwardRef((e,t)=>{const n=i.useContext(Ms),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx($e.div,{...e,ref:r})});Mf.displayName=Sf;function Pf(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Ls(kf,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function xf(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Ls(Ef,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function xs(){const e=new CustomEvent(co);document.dispatchEvent(e)}function Ls(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?yf(r,s):r.dispatchEvent(s)}var lo="focusScope.autoFocusOnMount",uo="focusScope.autoFocusOnUnmount",Is={bubbles:!1,cancelable:!0},Lf="FocusScope",Ns=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...c}=e,[a,d]=i.useState(null),u=U(r),f=U(s),h=i.useRef(null),v=V(t,p=>d(p)),g=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let p=function(w){if(g.paused||!a)return;const k=w.target;a.contains(k)?h.current=k:We(h.current,{select:!0})},m=function(w){if(g.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||We(h.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const M of w)M.removedNodes.length>0&&We(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",m);const y=new MutationObserver(b);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",m),y.disconnect()}}},[o,a,g.paused]),i.useEffect(()=>{if(a){js.add(g);const p=document.activeElement;if(!a.contains(p)){const b=new CustomEvent(lo,Is);a.addEventListener(lo,u),a.dispatchEvent(b),b.defaultPrevented||(If(Of(As(a)),{select:!0}),document.activeElement===p&&We(a))}return()=>{a.removeEventListener(lo,u),setTimeout(()=>{const b=new CustomEvent(uo,Is);a.addEventListener(uo,f),a.dispatchEvent(b),b.defaultPrevented||We(p??document.body,{select:!0}),a.removeEventListener(uo,f),js.remove(g)},0)}}},[a,u,f,g]);const C=i.useCallback(p=>{if(!n&&!o||g.paused)return;const m=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(m&&b){const y=p.currentTarget,[w,k]=Nf(y);w&&k?!p.shiftKey&&b===k?(p.preventDefault(),n&&We(w,{select:!0})):p.shiftKey&&b===w&&(p.preventDefault(),n&&We(k,{select:!0})):b===y&&p.preventDefault()}},[n,o,g.paused]);return l.jsx($e.div,{tabIndex:-1,...c,ref:v,onKeyDown:C})});Ns.displayName=Lf;function If(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(We(o,{select:t}),document.activeElement!==n)return}function Nf(e){const t=As(e),n=Ts(t,e),o=Ts(t.reverse(),e);return[n,o]}function As(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ts(e,t){for(const n of e)if(!Af(n,{upTo:t}))return n}function Af(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 Tf(e){return e instanceof HTMLInputElement&&"select"in e}function We(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Tf(e)&&t&&e.select()}}var js=jf();function jf(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Os(e,t),e.unshift(t)},remove(t){var n;e=Os(e,t),(n=e[0])==null||n.resume()}}}function Os(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Of(e){return e.filter(t=>t.tagName!=="A")}var _f="Portal",_s=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);J(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx($e.div,{...o,ref:t}),c):null});_s.displayName=_f;function $f(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var Gt=e=>{const{present:t,children:n}=e,o=Hf(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,Vf(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};Gt.displayName="Presence";function Hf(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=$f(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=Yt(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,g=Yt(u);e?d("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=g=>{const p=Yt(o.current).includes(g.animationName);if(g.target===t&&p&&(d("ANIMATION_END"),!r.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},v=g=>{g.target===t&&(s.current=Yt(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function Yt(e){return(e==null?void 0:e.animationName)||"none"}function Vf(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var fo=0;function po(){i.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$s()),document.body.insertAdjacentElement("beforeend",e[1]??$s()),fo++,()=>{fo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),fo--}},[])}function $s(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Le=function(){return Le=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Le.apply(this,arguments)};function Hs(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function Df(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,s;o<r;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Xt="right-scroll-bar-position",qt="width-before-scroll-bar",Ff="with-scroll-bars-hidden",Zf="--removed-body-scroll-bar-size";function ho(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Rf(e,t){var n=te.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var r=n.value;r!==o&&(n.value=o,n.callback(o,r))}}}})[0];return n.callback=t,n.facade}var Wf=typeof window<"u"?i.useLayoutEffect:i.useEffect,Vs=new WeakMap;function zf(e,t){var n=Rf(null,function(o){return e.forEach(function(r){return ho(r,o)})});return Wf(function(){var o=Vs.get(n);if(o){var r=new Set(o),s=new Set(e),c=n.current;r.forEach(function(a){s.has(a)||ho(a,null)}),s.forEach(function(a){r.has(a)||ho(a,c)})}Vs.set(n,e)},[e]),n}function Bf(e){return e}function Uf(e,t){t===void 0&&(t=Bf);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var c=t(s,o);return n.push(c),function(){n=n.filter(function(a){return a!==c})}},assignSyncMedium:function(s){for(o=!0;n.length;){var c=n;n=[],c.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){o=!0;var c=[];if(n.length){var a=n;n=[],a.forEach(s),c=n}var d=function(){var f=c;c=[],f.forEach(s)},u=function(){return Promise.resolve().then(d)};u(),n={push:function(f){c.push(f),u()},filter:function(f){return c=c.filter(f),n}}}};return r}function Kf(e){e===void 0&&(e={});var t=Uf(null);return t.options=Le({async:!0,ssr:!1},e),t}var Ds=function(e){var t=e.sideCar,n=Hs(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return i.createElement(o,Le({},n))};Ds.isSideCarExport=!0;function Gf(e,t){return e.useMedium(t),Ds}var Fs=Kf(),vo=function(){},Qt=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:vo,onWheelCapture:vo,onTouchMoveCapture:vo}),r=o[0],s=o[1],c=e.forwardProps,a=e.children,d=e.className,u=e.removeScrollBar,f=e.enabled,h=e.shards,v=e.sideCar,g=e.noIsolation,C=e.inert,p=e.allowPinchZoom,m=e.as,b=m===void 0?"div":m,y=e.gapMode,w=Hs(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=v,M=zf([n,t]),x=Le(Le({},w),r);return i.createElement(i.Fragment,null,f&&i.createElement(k,{sideCar:Fs,removeScrollBar:u,shards:h,noIsolation:g,inert:C,setCallbacks:s,allowPinchZoom:!!p,lockRef:n,gapMode:y}),c?i.cloneElement(i.Children.only(a),Le(Le({},x),{ref:M})):i.createElement(b,Le({},x,{className:d,ref:M}),a))});Qt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Qt.classNames={fullWidth:qt,zeroRight:Xt};var Yf=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Xf(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Yf();return t&&e.setAttribute("nonce",t),e}function qf(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Qf(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Jf=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Xf())&&(qf(t,n),Qf(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},e2=function(){var e=Jf();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Zs=function(){var e=e2(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},t2={left:0,top:0,right:0,gap:0},go=function(e){return parseInt(e||"",10)||0},n2=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[go(n),go(o),go(r)]},o2=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return t2;var t=n2(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},r2=Zs(),pt="data-scroll-locked",s2=function(e,t,n,o){var r=e.left,s=e.top,c=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
2
2
|
.`.concat(Ff,` {
|
|
3
3
|
overflow: hidden `).concat(o,`;
|
|
4
4
|
padding-right: `).concat(a,"px ").concat(o,`;
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
body[`).concat(pt,`] {
|
|
36
|
-
`).concat(
|
|
36
|
+
`).concat(Zf,": ").concat(a,`px;
|
|
37
37
|
}
|
|
38
|
-
`)},
|
|
38
|
+
`)},Rs=function(){var e=parseInt(document.body.getAttribute(pt)||"0",10);return isFinite(e)?e:0},i2=function(){i.useEffect(function(){return document.body.setAttribute(pt,(Rs()+1).toString()),function(){var e=Rs()-1;e<=0?document.body.removeAttribute(pt):document.body.setAttribute(pt,e.toString())}},[])},a2=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=o===void 0?"margin":o;i2();var s=i.useMemo(function(){return o2(r)},[r]);return i.createElement(r2,{styles:s2(s,!t,r,n?"":"!important")})},mo=!1;if(typeof window<"u")try{var Jt=Object.defineProperty({},"passive",{get:function(){return mo=!0,!0}});window.addEventListener("test",Jt,Jt),window.removeEventListener("test",Jt,Jt)}catch{mo=!1}var ht=mo?{passive:!1}:!1,c2=function(e){return e.tagName==="TEXTAREA"},Ws=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!c2(e)&&n[t]==="visible")},l2=function(e){return Ws(e,"overflowY")},u2=function(e){return Ws(e,"overflowX")},zs=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var r=Bs(e,o);if(r){var s=Us(e,o),c=s[1],a=s[2];if(c>a)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},d2=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},f2=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},Bs=function(e,t){return e==="v"?l2(t):u2(t)},Us=function(e,t){return e==="v"?d2(t):f2(t)},p2=function(e,t){return e==="h"&&t==="rtl"?-1:1},h2=function(e,t,n,o,r){var s=p2(e,window.getComputedStyle(t).direction),c=s*o,a=n.target,d=t.contains(a),u=!1,f=c>0,h=0,v=0;do{var g=Us(e,a),C=g[0],p=g[1],m=g[2],b=p-m-s*C;(C||b)&&Bs(e,a)&&(h+=b,v+=C),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!d&&a!==document.body||d&&(t.contains(a)||t===a));return(f&&Math.abs(h)<1||!f&&Math.abs(v)<1)&&(u=!0),u},en=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ks=function(e){return[e.deltaX,e.deltaY]},Gs=function(e){return e&&"current"in e?e.current:e},v2=function(e,t){return e[0]===t[0]&&e[1]===t[1]},g2=function(e){return`
|
|
39
39
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},
|
|
41
|
+
`)},m2=0,vt=[];function C2(e){var t=i.useRef([]),n=i.useRef([0,0]),o=i.useRef(),r=i.useState(m2++)[0],s=i.useState(Zs)[0],c=i.useRef(e);i.useEffect(function(){c.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var p=Df([e.lockRef.current],(e.shards||[]).map(Gs),!0).filter(Boolean);return p.forEach(function(m){return m.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),p.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=i.useCallback(function(p,m){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!c.current.allowPinchZoom;var b=en(p),y=n.current,w="deltaX"in p?p.deltaX:y[0]-b[0],k="deltaY"in p?p.deltaY:y[1]-b[1],M,x=p.target,E=Math.abs(w)>Math.abs(k)?"h":"v";if("touches"in p&&E==="h"&&x.type==="range")return!1;var L=zs(E,x);if(!L)return!0;if(L?M=E:(M=E==="v"?"h":"v",L=zs(E,x)),!L)return!1;if(!o.current&&"changedTouches"in p&&(w||k)&&(o.current=M),!M)return!0;var N=o.current||M;return h2(N,m,p,N==="h"?w:k)},[]),d=i.useCallback(function(p){var m=p;if(!(!vt.length||vt[vt.length-1]!==s)){var b="deltaY"in m?Ks(m):en(m),y=t.current.filter(function(M){return M.name===m.type&&(M.target===m.target||m.target===M.shadowParent)&&v2(M.delta,b)})[0];if(y&&y.should){m.cancelable&&m.preventDefault();return}if(!y){var w=(c.current.shards||[]).map(Gs).filter(Boolean).filter(function(M){return M.contains(m.target)}),k=w.length>0?a(m,w[0]):!c.current.noIsolation;k&&m.cancelable&&m.preventDefault()}}},[]),u=i.useCallback(function(p,m,b,y){var w={name:p,delta:m,target:b,should:y,shadowParent:b2(b)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(k){return k!==w})},1)},[]),f=i.useCallback(function(p){n.current=en(p),o.current=void 0},[]),h=i.useCallback(function(p){u(p.type,Ks(p),p.target,a(p,e.lockRef.current))},[]),v=i.useCallback(function(p){u(p.type,en(p),p.target,a(p,e.lockRef.current))},[]);i.useEffect(function(){return vt.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:v}),document.addEventListener("wheel",d,ht),document.addEventListener("touchmove",d,ht),document.addEventListener("touchstart",f,ht),function(){vt=vt.filter(function(p){return p!==s}),document.removeEventListener("wheel",d,ht),document.removeEventListener("touchmove",d,ht),document.removeEventListener("touchstart",f,ht)}},[]);var g=e.removeScrollBar,C=e.inert;return i.createElement(i.Fragment,null,C?i.createElement(s,{styles:g2(r)}):null,g?i.createElement(a2,{gapMode:e.gapMode}):null)}function b2(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const y2=Gf(Fs,C2);var Nt=i.forwardRef(function(e,t){return i.createElement(Qt,Le({},e,{ref:t,sideCar:y2}))});Nt.classNames=Qt.classNames;var w2=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},gt=new WeakMap,tn=new WeakMap,nn={},Co=0,Ys=function(e){return e&&(e.host||Ys(e.parentNode))},k2=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Ys(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},E2=function(e,t,n,o){var r=k2(t,Array.isArray(e)?e:[e]);nn[n]||(nn[n]=new WeakMap);var s=nn[n],c=[],a=new Set,d=new Set(r),u=function(h){!h||a.has(h)||(a.add(h),u(h.parentNode))};r.forEach(u);var f=function(h){!h||d.has(h)||Array.prototype.forEach.call(h.children,function(v){if(a.has(v))f(v);else try{var g=v.getAttribute(o),C=g!==null&&g!=="false",p=(gt.get(v)||0)+1,m=(s.get(v)||0)+1;gt.set(v,p),s.set(v,m),c.push(v),p===1&&C&&tn.set(v,!0),m===1&&v.setAttribute(n,"true"),C||v.setAttribute(o,"true")}catch(b){console.error("aria-hidden: cannot operate on ",v,b)}})};return f(t),a.clear(),Co++,function(){c.forEach(function(h){var v=gt.get(h)-1,g=s.get(h)-1;gt.set(h,v),s.set(h,g),v||(tn.has(h)||h.removeAttribute(o),tn.delete(h)),g||h.removeAttribute(n)}),Co--,Co||(gt=new WeakMap,gt=new WeakMap,tn=new WeakMap,nn={})}},on=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=w2(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live]"))),E2(o,r,n,"aria-hidden")):function(){return null}},bo="Dialog",[Xs,Av]=de(bo),[S2,ye]=Xs(bo),qs=e=>{const{__scopeDialog:t,children:n,open:o,defaultOpen:r,onOpenChange:s,modal:c=!0}=e,a=i.useRef(null),d=i.useRef(null),[u=!1,f]=_e({prop:o,defaultProp:r,onChange:s});return l.jsx(S2,{scope:t,triggerRef:a,contentRef:d,contentId:me(),titleId:me(),descriptionId:me(),open:u,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(h=>!h),[f]),modal:c,children:n})};qs.displayName=bo;var Qs="DialogTrigger",Js=i.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=ye(Qs,n),s=V(t,r.triggerRef);return l.jsx($e.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":ko(r.open),...o,ref:s,onClick:I(e.onClick,r.onOpenToggle)})});Js.displayName=Qs;var yo="DialogPortal",[M2,ei]=Xs(yo,{forceMount:void 0}),ti=e=>{const{__scopeDialog:t,forceMount:n,children:o,container:r}=e,s=ye(yo,t);return l.jsx(M2,{scope:t,forceMount:n,children:i.Children.map(o,c=>l.jsx(Gt,{present:n||s.open,children:l.jsx(_s,{asChild:!0,container:r,children:c})}))})};ti.displayName=yo;var rn="DialogOverlay",ni=i.forwardRef((e,t)=>{const n=ei(rn,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,s=ye(rn,e.__scopeDialog);return s.modal?l.jsx(Gt,{present:o||s.open,children:l.jsx(P2,{...r,ref:t})}):null});ni.displayName=rn;var P2=i.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=ye(rn,n);return l.jsx(Nt,{as:re,allowPinchZoom:!0,shards:[r.contentRef],children:l.jsx($e.div,{"data-state":ko(r.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),rt="DialogContent",oi=i.forwardRef((e,t)=>{const n=ei(rt,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,s=ye(rt,e.__scopeDialog);return l.jsx(Gt,{present:o||s.open,children:s.modal?l.jsx(x2,{...r,ref:t}):l.jsx(L2,{...r,ref:t})})});oi.displayName=rt;var x2=i.forwardRef((e,t)=>{const n=ye(rt,e.__scopeDialog),o=i.useRef(null),r=V(t,n.contentRef,o);return i.useEffect(()=>{const s=o.current;if(s)return on(s)},[]),l.jsx(ri,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:I(e.onCloseAutoFocus,s=>{var c;s.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:I(e.onPointerDownOutside,s=>{const c=s.detail.originalEvent,a=c.button===0&&c.ctrlKey===!0;(c.button===2||a)&&s.preventDefault()}),onFocusOutside:I(e.onFocusOutside,s=>s.preventDefault())})}),L2=i.forwardRef((e,t)=>{const n=ye(rt,e.__scopeDialog),o=i.useRef(!1),r=i.useRef(!1);return l.jsx(ri,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var c,a;(c=e.onCloseAutoFocus)==null||c.call(e,s),s.defaultPrevented||(o.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),o.current=!1,r.current=!1},onInteractOutside:s=>{var d,u;(d=e.onInteractOutside)==null||d.call(e,s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const c=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(c))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&r.current&&s.preventDefault()}})}),ri=i.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:r,onCloseAutoFocus:s,...c}=e,a=ye(rt,n),d=i.useRef(null),u=V(t,d);return po(),l.jsxs(l.Fragment,{children:[l.jsx(Ns,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:r,onUnmountAutoFocus:s,children:l.jsx(Ps,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":ko(a.open),...c,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),l.jsxs(l.Fragment,{children:[l.jsx(I2,{titleId:a.titleId}),l.jsx(A2,{contentRef:d,descriptionId:a.descriptionId})]})]})}),wo="DialogTitle",si=i.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=ye(wo,n);return l.jsx($e.h2,{id:r.titleId,...o,ref:t})});si.displayName=wo;var ii="DialogDescription",ai=i.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=ye(ii,n);return l.jsx($e.p,{id:r.descriptionId,...o,ref:t})});ai.displayName=ii;var ci="DialogClose",li=i.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=ye(ci,n);return l.jsx($e.button,{type:"button",...o,ref:t,onClick:I(e.onClick,()=>r.onOpenChange(!1))})});li.displayName=ci;function ko(e){return e?"open":"closed"}var ui="DialogTitleWarning",[Tv,di]=md(ui,{contentName:rt,titleName:wo,docsSlug:"dialog"}),I2=({titleId:e})=>{const t=di(ui),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
42
42
|
|
|
43
43
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
44
44
|
|
|
45
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},N2="DialogDescriptionWarning",A2=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${di(N2).contentName}}.`;return i.useEffect(()=>{var s;const r=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},T2=qs,j2=Js,O2=ti,fi=ni,pi=oi,hi=si,vi=ai,mi=li;const _2=x("AccessibilityIcon",l.jsx("path",{d:"M20.5 6C17.89 6.7 14.83 7 12 7C9.17 7 6.11 6.7 3.5 6L3 8C4.86 8.5 7 8.83 9 9V22H11V16H13V22H15V9C17 8.83 19.14 8.5 21 8L20.5 6ZM12 6C13.1 6 14 5.1 14 4C14 2.9 13.1 2 12 2C10.9 2 10 2.9 10 4C10 5.1 10.9 6 12 6Z"})),$2=l.jsxs(l.Fragment,{children:[l.jsxs("g",{clipPath:"url(#clip0_1268_26388)",children:[l.jsx("rect",{x:"10",y:"8",width:"10",height:"4"}),l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 20C1 20.5523 1.44772 21 2 21H22C22.5523 21 23 20.5523 23 20V4C23 3.44772 22.5523 3 22 3H2C1.44772 3 1 3.44772 1 4V20ZM3 7V19H21V7H3Z"})]}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_1268_26388",children:l.jsx("rect",{width:"24",height:"24"})})})]}),H2=x("AppWindowPromptTopRightIcon",$2),V2=l.jsxs(l.Fragment,{children:[l.jsx("path",{fillRule:"evenodd",d:"M3 2H21C21.5304 2 22.0391 2.21071 22.4142 2.58579C22.7893 2.96086 23 3.46957 23 4V20C23 20.5304 22.7893 21.0391 22.4142 21.4142C22.0391 21.7893 21.5304 22 21 22H3C2.46957 22 1.96086 21.7893 1.58579 21.4142C1.21071 21.0391 1 20.5304 1 20V4C1 3.46957 1.21071 2.96086 1.58579 2.58579C1.96086 2.21071 2.46957 2 3 2ZM3 20H21V6H3V20ZM11.995 8C9.235 8 7 10.24 7 13C7 15.76 9.235 18 11.995 18C14.76 18 17 15.76 17 13C17 10.24 14.76 8 11.995 8ZM15.46 11H13.985C13.825 10.375 13.595 9.77499 13.295 9.21999C14.215 9.53499 14.98 10.175 15.46 11ZM12.955 11C12.74 10.285 12.415 9.62 12 9.02C11.585 9.62 11.26 10.285 11.045 11H12.955ZM8.12996 14C8.04996 13.68 7.99996 13.345 7.99996 13C7.99996 12.655 8.04996 12.32 8.12996 12H9.81996C9.77996 12.33 9.74996 12.66 9.74996 13C9.74996 13.34 9.77996 13.67 9.81996 14H8.12996ZM10.0149 15H8.53992C9.01992 15.83 9.78492 16.465 10.7049 16.78C10.4049 16.225 10.1749 15.625 10.0149 15ZM10.0149 11H8.53992C9.01992 10.17 9.78492 9.53499 10.7049 9.21999C10.4049 9.77499 10.1749 10.375 10.0149 11ZM11.045 15C11.26 15.715 11.585 16.38 12 16.98C12.415 16.38 12.74 15.715 12.955 15H11.045ZM13.17 14H10.83C10.785 13.67 10.75 13.34 10.75 13C10.75 12.66 10.785 12.325 10.83 12H13.17C13.215 12.325 13.25 12.66 13.25 13C13.25 13.34 13.215 13.67 13.17 14ZM13.985 15C13.825 15.625 13.595 16.225 13.295 16.78C14.215 16.465 14.98 15.825 15.46 15H13.985ZM14.18 14C14.22 13.67 14.25 13.34 14.25 13C14.25 12.66 14.22 12.33 14.18 12H15.87C15.95 12.32 16 12.655 16 13C16 13.345 15.95 13.68 15.87 14H14.18Z"}),l.jsx("path",{d:"M22.4142 2.58579L22.3435 2.6565L22.4142 2.58579ZM1.58579 21.4142L1.6565 21.3435L1.58579 21.4142ZM1.58579 2.58579L1.6565 2.6565L1.58579 2.58579ZM21 20V20.1H21.1V20H21ZM3 20H2.9V20.1H3V20ZM21 6H21.1V5.9H21V6ZM3 6V5.9H2.9V6H3ZM13.985 11L13.8881 11.0248L13.9073 11.1H13.985V11ZM15.46 11V11.1H15.6338L15.5464 10.9497L15.46 11ZM13.295 9.21999L13.3274 9.12538L13.0854 9.04253L13.207 9.26754L13.295 9.21999ZM12 9.02L12.0822 8.96311L12 8.84421L11.9178 8.96311L12 9.02ZM12.955 11V11.1H13.0895L13.0508 10.9712L12.955 11ZM11.045 11L10.9492 10.9712L10.9105 11.1H11.045V11ZM8.12996 14L8.03294 14.0242L8.05188 14.1H8.12996V14ZM8.12996 12V11.9H8.05188L8.03294 11.9757L8.12996 12ZM9.81996 12L9.91923 12.012L9.93281 11.9H9.81996V12ZM9.81996 14V14.1H9.93281L9.91923 13.988L9.81996 14ZM8.53992 15V14.9H8.36657L8.45335 15.05L8.53992 15ZM10.0149 15L10.1118 14.9752L10.0925 14.9H10.0149V15ZM10.7049 16.78L10.6725 16.8746L10.9145 16.9574L10.7929 16.7324L10.7049 16.78ZM8.53992 11L8.45335 10.9499L8.36657 11.1H8.53992V11ZM10.0149 11V11.1H10.0925L10.1118 11.0248L10.0149 11ZM10.7049 9.21999L10.7929 9.26754L10.9145 9.04253L10.6725 9.12538L10.7049 9.21999ZM12 16.98L11.9178 17.0369L12 17.1558L12.0822 17.0369L12 16.98ZM11.045 15V14.9H10.9105L10.9492 15.0288L11.045 15ZM12.955 15L13.0508 15.0288L13.0895 14.9H12.955V15ZM10.83 14L10.7309 14.0135L10.7427 14.1H10.83V14ZM13.17 14V14.1H13.2573L13.2691 14.0135L13.17 14ZM10.83 12V11.9H10.7429L10.7309 11.9863L10.83 12ZM13.17 12L13.2691 11.9863L13.2571 11.9H13.17V12ZM13.295 16.78L13.207 16.7324L13.0854 16.9574L13.3274 16.8746L13.295 16.78ZM13.985 15V14.9H13.9073L13.8881 14.9752L13.985 15ZM15.46 15L15.5464 15.0503L15.6338 14.9H15.46V15ZM14.18 14L14.0807 13.988L14.0671 14.1H14.18V14ZM14.18 12V11.9H14.0671L14.0807 12.012L14.18 12ZM15.87 12L15.967 11.9757L15.948 11.9H15.87V12ZM15.87 14V14.1H15.948L15.967 14.0242L15.87 14ZM21 1.9H3V2.1H21V1.9ZM22.4849 2.51508C22.0911 2.12125 21.557 1.9 21 1.9V2.1C21.5039 2.1 21.9872 2.30018 22.3435 2.6565L22.4849 2.51508ZM23.1 4C23.1 3.44305 22.8787 2.9089 22.4849 2.51508L22.3435 2.6565C22.6998 3.01282 22.9 3.49609 22.9 4H23.1ZM23.1 20V4H22.9V20H23.1ZM22.4849 21.4849C22.8787 21.0911 23.1 20.557 23.1 20H22.9C22.9 20.5039 22.6998 20.9872 22.3435 21.3435L22.4849 21.4849ZM21 22.1C21.557 22.1 22.0911 21.8787 22.4849 21.4849L22.3435 21.3435C21.9872 21.6998 21.5039 21.9 21 21.9V22.1ZM3 22.1H21V21.9H3V22.1ZM1.51508 21.4849C1.9089 21.8787 2.44305 22.1 3 22.1V21.9C2.49609 21.9 2.01282 21.6998 1.6565 21.3435L1.51508 21.4849ZM0.9 20C0.9 20.557 1.12125 21.0911 1.51508 21.4849L1.6565 21.3435C1.30018 20.9872 1.1 20.5039 1.1 20H0.9ZM0.9 4V20H1.1V4H0.9ZM1.51508 2.51508C1.12125 2.9089 0.9 3.44305 0.9 4H1.1C1.1 3.49609 1.30018 3.01282 1.6565 2.6565L1.51508 2.51508ZM3 1.9C2.44305 1.9 1.9089 2.12125 1.51508 2.51508L1.6565 2.6565C2.01282 2.30018 2.49609 2.1 3 2.1V1.9ZM21 19.9H3V20.1H21V19.9ZM20.9 6V20H21.1V6H20.9ZM3 6.1H21V5.9H3V6.1ZM3.1 20V6H2.9V20H3.1ZM7.1 13C7.1 10.2951 9.29036 8.1 11.995 8.1V7.9C9.17964 7.9 6.9 10.1849 6.9 13H7.1ZM11.995 17.9C9.29036 17.9 7.1 15.7049 7.1 13H6.9C6.9 15.8151 9.17964 18.1 11.995 18.1V17.9ZM16.9 13C16.9 15.7047 14.7048 17.9 11.995 17.9V18.1C14.8152 18.1 17.1 15.8153 17.1 13H16.9ZM11.995 8.1C14.7048 8.1 16.9 10.2953 16.9 13H17.1C17.1 10.1847 14.8152 7.9 11.995 7.9V8.1ZM13.985 11.1H15.46V10.9H13.985V11.1ZM13.207 9.26754C13.5028 9.81486 13.73 10.4072 13.8881 11.0248L14.0818 10.9752C13.92 10.3428 13.6871 9.73512 13.3829 9.17244L13.207 9.26754ZM15.5464 10.9497C15.0546 10.1043 14.2706 9.44834 13.3274 9.12538L13.2626 9.3146C14.1593 9.62165 14.9054 10.2456 15.3735 11.0503L15.5464 10.9497ZM11.9178 9.07688C12.327 9.66852 12.6473 10.3241 12.8592 11.0288L13.0508 10.9712C12.8327 10.2459 12.503 9.57148 12.0822 8.96311L11.9178 9.07688ZM11.1408 11.0288C11.3527 10.3241 11.673 9.66852 12.0822 9.07688L11.9178 8.96311C11.497 9.57148 11.1673 10.2459 10.9492 10.9712L11.1408 11.0288ZM12.955 10.9H11.045V11.1H12.955V10.9ZM7.89996 13C7.89996 13.3546 7.95136 13.6979 8.03294 14.0242L8.22697 13.9757C8.14856 13.6621 8.09996 13.3353 8.09996 13H7.89996ZM8.03294 11.9757C7.95136 12.3021 7.89996 12.6453 7.89996 13H8.09996C8.09996 12.6646 8.14856 12.3379 8.22697 12.0242L8.03294 11.9757ZM9.81996 11.9H8.12996V12.1H9.81996V11.9ZM9.84996 13C9.84996 12.6657 9.87945 12.3402 9.91923 12.012L9.72069 11.988C9.68047 12.3198 9.64996 12.6542 9.64996 13H9.84996ZM9.91923 13.988C9.87945 13.6598 9.84996 13.3342 9.84996 13H9.64996C9.64996 13.3457 9.68047 13.6802 9.72069 14.012L9.91923 13.988ZM8.12996 14.1H9.81996V13.9H8.12996V14.1ZM8.53992 15.1H10.0149V14.9H8.53992V15.1ZM10.7373 16.6854C9.84031 16.3782 9.09448 15.7591 8.62648 14.9499L8.45335 15.05C8.94535 15.9008 9.72952 16.5517 10.6725 16.8746L10.7373 16.6854ZM9.91804 15.0248C10.0799 15.6571 10.3128 16.2648 10.6169 16.8275L10.7929 16.7324C10.497 16.1851 10.2699 15.5928 10.1118 14.9752L9.91804 15.0248ZM8.53992 11.1H10.0149V10.9H8.53992V11.1ZM10.6725 9.12538C9.72952 9.44826 8.94535 10.0992 8.45335 10.9499L8.62648 11.0501C9.09448 10.2408 9.84031 9.62172 10.7373 9.3146L10.6725 9.12538ZM10.1118 11.0248C10.2699 10.4072 10.497 9.81486 10.7929 9.26754L10.6169 9.17244C10.3128 9.73512 10.0799 10.3428 9.91804 10.9752L10.1118 11.0248ZM12.0822 16.9231C11.673 16.3314 11.3527 15.6759 11.1408 14.9712L10.9492 15.0288C11.1673 15.754 11.497 16.4285 11.9178 17.0369L12.0822 16.9231ZM12.8592 14.9712C12.6473 15.6759 12.327 16.3314 11.9178 16.9231L12.0822 17.0369C12.503 16.4285 12.8327 15.754 13.0508 15.0288L12.8592 14.9712ZM11.045 15.1H12.955V14.9H11.045V15.1ZM10.83 14.1H13.17V13.9H10.83V14.1ZM10.65 13C10.65 13.3466 10.6857 13.6818 10.7309 14.0135L10.9291 13.9865C10.8843 13.6582 10.85 13.3333 10.85 13H10.65ZM10.7309 11.9863C10.6857 12.3133 10.65 12.6534 10.65 13H10.85C10.85 12.6666 10.8843 12.3367 10.9291 12.0137L10.7309 11.9863ZM13.17 11.9H10.83V12.1H13.17V11.9ZM13.35 13C13.35 12.6534 13.3143 12.3133 13.2691 11.9863L13.0709 12.0137C13.1157 12.3367 13.15 12.6666 13.15 13H13.35ZM13.2691 14.0135C13.3143 13.6818 13.35 13.3466 13.35 13H13.15C13.15 13.3333 13.1157 13.6582 13.0709 13.9865L13.2691 14.0135ZM13.3829 16.8275C13.6871 16.2648 13.92 15.6571 14.0818 15.0248L13.8881 14.9752C13.73 15.5928 13.5028 16.1851 13.207 16.7324L13.3829 16.8275ZM15.3735 14.9497C14.9054 15.7543 14.1593 16.3783 13.2626 16.6854L13.3274 16.8746C14.2706 16.5516 15.0546 15.8956 15.5464 15.0503L15.3735 14.9497ZM13.985 15.1H15.46V14.9H13.985V15.1ZM14.15 13C14.15 13.3342 14.1205 13.6598 14.0807 13.988L14.2792 14.012C14.3195 13.6802 14.35 13.3457 14.35 13H14.15ZM14.0807 12.012C14.1205 12.3402 14.15 12.6657 14.15 13H14.35C14.35 12.6542 14.3195 12.3198 14.2792 11.988L14.0807 12.012ZM15.87 11.9H14.18V12.1H15.87V11.9ZM16.1 13C16.1 12.6453 16.0486 12.3021 15.967 11.9757L15.773 12.0242C15.8514 12.3379 15.9 12.6646 15.9 13H16.1ZM15.967 14.0242C16.0486 13.6979 16.1 13.3546 16.1 13H15.9C15.9 13.3353 15.8514 13.6621 15.773 13.9757L15.967 14.0242ZM14.18 14.1H15.87V13.9H14.18V14.1Z"})]}),D2=x("AppWindowGlobeIcon",V2),F2=x("AppWindowTerminalIcon",l.jsx("path",{d:"M19.9641 18.7351V6.15232H4.03593V18.7351H19.9641ZM19.9641 2C21.0419 2 22 2.88079 22 4.13907V18.8609C22 19.9934 21.1617 21 19.9641 21H4.03593C2.83832 20.8742 2 19.9934 2 18.7351V4.13907C2 2.88079 2.95808 2 4.03593 2H19.9641ZM13.018 16.7219V14.5828H18.0479V16.7219H13.018ZM9.54491 12.4437L5.59281 8.29139H8.46707L11.7006 11.8146C12.0599 12.1921 12.0599 12.947 11.7006 13.3245L8.46707 16.7219H5.59281L9.54491 12.4437Z"})),gi=x("ArrowDownIcon",l.jsx("path",{d:"M7 10.041L12 14.939L17 10.041H7Z"})),R2=x("ArrowLeftIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 11H7.8L13.4 5.4L12 4L4 12L12 20L13.4 18.6L7.8 13H20V11Z"})),Z2=x("BadgeUserIcon",l.jsx("path",{d:"M18 19H6V17.6C6 15.6 10 14.5 12 14.5C14 14.5 18 15.6 18 17.6M12 7C12.7956 7 13.5587 7.31607 14.1213 7.87868C14.6839 8.44129 15 9.20435 15 10C15 10.7956 14.6839 11.5587 14.1213 12.1213C13.5587 12.6839 12.7956 13 12 13C11.2044 13 10.4413 12.6839 9.87868 12.1213C9.31607 11.5587 9 10.7956 9 10C9 9.20435 9.31607 8.44129 9.87868 7.87868C10.4413 7.31607 11.2044 7 12 7ZM12 3C12.2652 3 12.5196 3.10536 12.7071 3.29289C12.8946 3.48043 13 3.73478 13 4C13 4.26522 12.8946 4.51957 12.7071 4.70711C12.5196 4.89464 12.2652 5 12 5C11.7348 5 11.4804 4.89464 11.2929 4.70711C11.1054 4.51957 11 4.26522 11 4C11 3.73478 11.1054 3.48043 11.2929 3.29289C11.4804 3.10536 11.7348 3 12 3ZM19 3H14.82C14.4 1.84 13.3 1 12 1C10.7 1 9.6 1.84 9.18 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z"})),W2=x("BirthCertificateIcon",l.jsx("path",{d:"M13.9744 2H7.03419C5.83761 2 5 2.84 5 4.04V18.08C5 19.16 5.83761 20 7.03419 20H10.0256V23L12.0598 22.04L14.094 23V20H16.9658C18.0427 20 19 19.16 19 17.96V7.04M13.9744 14.96V17L11.9402 16.04L9.90598 17V14.96L7.99145 14L10.0256 13.04V11L12.0598 11.96L14.094 11V13.04L16.1282 14M13.0171 8V3.44L17.4444 8H13.0171Z"})),Eo=x("CheckIcon",l.jsx("path",{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"})),z2=x("ChevronDownIcon",l.jsx("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),So=x("ChevronLeftIcon",l.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),Mo=x("ChevronRightIcon",l.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),B2=x("ChevronUpIcon",l.jsx("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"})),U2=x("CircleAlertOutlineIcon",l.jsx("path",{d:"M11 15H13V17H11V15ZM11 7H13V13H11V7ZM11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58004 20 4 16.42 4 12C4 7.57997 7.58004 4 12 4C16.42 4 20 7.57997 20 12C20 16.42 16.42 20 12 20Z"})),K2=x("CircleAlertIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V15H13V17ZM13 13H11V7H13V13Z"})),G2=x("CircleCheckIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM10 18L5 13L6.41 11.59L10 15.17L17.59 7.58L19 9L10 18Z"})),Y2=x("CircleHelpOutlineIcon",l.jsx("path",{d:"M11 18H13V16H11V18ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 6C9.79 6 8 7.79 8 10H10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 12 11 11.75 11 15H13C13 12.75 16 12.5 16 10C16 7.79 14.21 6 12 6Z"})),X2=x("CircleHelpIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"})),q2=x("CircleInfoOutlineIcon",l.jsx("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"})),Q2=l.jsxs(l.Fragment,{children:[l.jsxs("mask",{id:"mask0_6_73",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",children:[l.jsx("path",{d:"M22 12C22 17.5227 17.5227 22 12 22C6.47733 22 2 17.5227 2 12C2 6.47733 6.47733 2 12 2C17.5227 2 22 6.47733 22 12Z",fill:"white"}),l.jsx("path",{d:"M10.074 9.34856V10.6516H8.59266V9.34856C8.59266 7.47283 10.1243 5.94122 12 5.94122C13.8757 5.94122 15.4073 7.47283 15.4073 9.34856V10.6516H13.926V9.34856C13.926 8.29095 13.0576 7.42256 12 7.42256C10.9424 7.42256 10.074 8.29095 10.074 9.34856ZM7.33333 12V13.6667H16.6667V12H7.33333ZM7.33333 15V16.6667H16.6667V15H7.33333Z"})]}),l.jsx("g",{mask:"url(#mask0_6_73)",children:l.jsx("path",{d:"M22 2H2V22H22V2Z"})})]}),J2=x("CircleLockIcon",Q2),ep=x("CirclePlusIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM17 13H13V17H11V13H7V11H11V7H13V11H17V13Z"})),tp=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M4.50619 11.9753C4.50619 16.1276 7.87236 19.4939 12.0248 19.4939C15.8372 19.4939 18.987 16.6562 19.4771 12.9777H22C21.497 18.0435 17.2229 22 12.0248 22C6.48822 22 2 17.5118 2 11.9753C2 6.77706 5.95645 2.50297 11.0223 2V4.52294C7.34384 5.01305 4.50619 8.16277 4.50619 11.9753Z"}),l.jsx("path",{d:"M22 10.9728C21.5298 6.23669 17.7634 2.47023 13.0272 2V4.52294C16.3777 4.96935 19.0306 7.62227 19.4771 10.9728H22Z"})]}),np=x("CircleSegmentTopRightIcon",tp),op=l.jsxs(l.Fragment,{children:[l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.8078 2.80762L21.1925 21.1923L19.7783 22.6065L17.5162 20.3443C17.0127 20.6753 16.4741 20.9645 15.9002 21.212C14.6835 21.7373 13.3835 22 12.0002 22C10.6168 22 9.31685 21.7373 8.10018 21.212C6.88352 20.6873 5.82518 19.975 4.92518 19.075C4.02518 18.175 3.31285 17.1167 2.78818 15.9C2.26285 14.6833 2.00018 13.3833 2.00018 12C2.00018 10.6167 2.26285 9.31667 2.78818 8.1C3.03566 7.52611 3.3249 6.98745 3.65589 6.48401L1.39355 4.22168L2.8078 2.80762ZM5.85018 17.1C6.70018 16.45 7.65018 15.9373 8.70018 15.562C9.75018 15.1873 10.8502 15 12.0002 15C12.058 15 12.1157 15.0005 12.1733 15.0014L5.09065 7.91878C4.36367 9.12574 4.00018 10.4861 4.00018 12C4.00018 12.9833 4.16285 13.9083 4.48818 14.775C4.81285 15.6417 5.26685 16.4167 5.85018 17.1Z"}),l.jsx("path",{d:"M6.4841 3.65549L7.91892 5.09031C9.12569 4.36344 10.4861 4 12.0002 4C14.2169 4 16.1045 4.779 17.6632 6.337C19.2212 7.89567 20.0002 9.78333 20.0002 12C20.0002 12.9833 19.8379 13.9083 19.5132 14.775C19.3423 15.2303 19.1358 15.6603 18.8936 16.065L20.3445 17.5159C20.6755 17.0125 20.9647 16.4739 21.2122 15.9C21.7375 14.6833 22.0002 13.3833 22.0002 12C22.0002 10.6167 21.7375 9.31667 21.2122 8.1C20.6875 6.88333 19.9752 5.825 19.0752 4.925C18.1752 4.025 17.1168 3.31233 15.9002 2.787C14.6835 2.26233 13.3835 2 12.0002 2C10.6168 2 9.31685 2.26233 8.10018 2.787C7.52626 3.03481 6.98756 3.32431 6.4841 3.65549Z"}),l.jsx("path",{d:"M14.6474 11.8187C15.2159 11.1756 15.5002 10.4027 15.5002 9.5C15.5002 8.51667 15.1628 7.68733 14.4882 7.012C13.8128 6.33733 12.9835 6 12.0002 6C11.0975 6 10.3246 6.28428 9.68144 6.85282L14.6474 11.8187Z"})]}),rp=x("CircleUserOffIcon",op),sp=x("CircleUserIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"})),ip=x("CircleXIcon",l.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM17 15.59L15.59 17L12 13.41L8.41 17L7 15.59L10.59 12L7 8.41L8.41 7L12 10.59L15.59 7L17 8.41L13.41 12L17 15.59Z"})),ap=l.jsxs(l.Fragment,{children:[l.jsx("path",{fillRule:"evenodd",d:"M14.82 3H19c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h4.18C9.6 1.84 10.7 1 12 1c1.3 0 2.4.84 2.82 2ZM13 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1ZM5 21V5h2v3h10V5h2v16H5Zm9.475-2.61 1.414-1.415-6.364-6.364-1.414 1.414 6.364 6.364Z",clipRule:"evenodd"}),l.jsx("path",{d:"m9.525 18.389-1.414-1.414 6.364-6.364 1.414 1.414-6.364 6.364Z"})]}),cp=x("ClipboardXIcon",ap),lp=l.jsx(l.Fragment,{children:l.jsx("path",{d:"M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})}),up=x("ClipboardIcon",lp),dp=x("CopyIcon",l.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})),fp=x("CreditCardIcon",l.jsx("path",{d:"M19.9641 4H3.91617C2.83832 4 2 4.95522 2 6.02985V17.9701C2 19.0448 2.83832 20 4.03593 20H19.9641C21.0419 20 22 19.1642 22 17.9701V6.02985C21.8802 4.95522 21.0419 4 19.9641 4ZM19.9641 17.9701H3.91617V12H19.8443V17.9701H19.9641ZM19.9641 8.0597H3.91617V6.02985H19.8443V8.0597H19.9641Z"})),pp=x("DatabaseMapPinIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 16.898C6 17.3878 8.13 18.8572 12 18.8572C12.71 18.8572 13.34 18.7984 13.93 18.7103C14.25 19.347 14.62 19.974 15 20.5323C14.07 20.7087 13.06 20.8164 12 20.8164C7.59 20.8164 4 19.0629 4 16.898V7.102C4 4.93708 7.58 3.18359 12 3.18359C16.42 3.18359 20 4.93708 20 7.102V10.2563C19.5 10.1192 19 10.0408 18.5 10.0408C18.33 10.0408 18.17 10.0408 18 10.0702V9.68815C16.53 10.5012 14.39 11.0204 12 11.0204C9.61 11.0204 7.47 10.5012 6 9.68815V12.4408C7.3 13.3715 9.58 13.9592 12 13.9592C12.42 13.9592 12.83 13.9592 13.24 13.9004C13.09 14.3902 13 14.8996 13 15.4286C13 15.5756 13 15.7225 13.03 15.8694C12.9464 15.8743 12.8628 15.8797 12.7791 15.8851L12.779 15.8851L12.779 15.8851C12.5222 15.9017 12.2639 15.9184 12 15.9184C9.72 15.9184 7.61 15.4776 6 14.7135V16.898ZM18 7.102C18 6.6122 15.87 5.1428 12 5.1428C8.13 5.1428 6 6.6122 6 7.102C6 7.5918 8.13 9.0612 12 9.0612C15.87 9.0612 18 7.5918 18 7.102ZM18.5 12C16.6 12 15 13.5674 15 15.4286C15 17.9756 18.5 21.796 18.5 21.796C18.5 21.796 22 17.9756 22 15.4286C22 13.5674 20.4 12 18.5 12ZM17.3 15.5266C17.3 16.1143 17.8 16.7021 18.5 16.7021C19.2 16.7021 19.8 16.1143 19.7 15.5266C19.7 14.9388 19.1 14.3511 18.5 14.3511C17.9 14.3511 17.3 14.8409 17.3 15.5266Z"})),hp=x("DatabaseIcon",l.jsx("path",{d:"M12 3C7.6 3 4 4.8 4 7s3.6 4 8 4 8-1.8 8-4-3.6-4-8-4M4 9v3c0 2.2 3.6 4 8 4s8-1.8 8-4V9c0 2.2-3.6 4-8 4s-8-1.8-8-4m0 5v3c0 2.2 3.6 4 8 4s8-1.8 8-4v-3c0 2.2-3.6 4-8 4s-8-1.8-8-4z"})),vp=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M10.3885 13.9489C10.3885 14.6375 9.90507 14.9166 9.30874 14.5723C8.71242 14.228 8.229 13.3907 8.229 12.7022C8.229 12.0136 8.71242 11.7345 9.30874 12.0788C9.90507 12.4231 10.3885 13.2604 10.3885 13.9489Z"}),l.jsx("path",{d:"M4.98965 17.0655C5.58598 17.4098 6.06939 17.1307 6.06939 16.4421C6.06939 15.7535 5.58598 14.9162 4.98965 14.5719C4.39333 14.2276 3.90991 14.5068 3.90991 15.1953C3.90991 15.8839 4.39333 16.7212 4.98965 17.0655Z"}),l.jsx("path",{d:"M20.105 10.2088C20.105 10.8974 19.6216 11.7347 19.0253 12.079C18.429 12.4232 17.9456 12.1441 17.9456 11.4556C17.9456 10.767 18.429 9.92969 19.0253 9.58541C19.6216 9.24112 20.105 9.52022 20.105 10.2088Z"}),l.jsx("path",{d:"M16.8656 15.8192C17.462 15.4749 17.9454 14.6376 17.9454 13.949C17.9454 13.2605 17.462 12.9814 16.8656 13.3256C16.2693 13.6699 15.7859 14.5072 15.7859 15.1958C15.7859 15.8844 16.2693 16.1635 16.8656 15.8192Z"}),l.jsx("path",{d:"M14.7062 19.5594C15.3025 19.2151 15.7859 18.3778 15.7859 17.6893C15.7859 17.0007 15.3025 16.7216 14.7062 17.0659C14.1099 17.4102 13.6265 18.2475 13.6265 18.936C13.6265 19.6246 14.1099 19.9037 14.7062 19.5594Z"}),l.jsx("path",{d:"M10.9851 6.82341C11.5815 7.1677 12.5483 7.1677 13.1446 6.82341C13.7409 6.47912 13.7409 5.92092 13.1446 5.57664C12.5483 5.23235 11.5815 5.23235 10.9851 5.57664C10.3888 5.92092 10.3888 6.47912 10.9851 6.82341Z"}),l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4416 0.902943C11.406 0.346155 12.5941 0.346154 13.5585 0.902942L14.1336 1.23495C14.1423 1.23987 14.151 1.24483 14.1596 1.24983L20.6381 4.99015C20.6467 4.99514 20.6553 5.00014 20.6638 5.00517L20.6999 5.02604C21.6083 5.55046 22.1881 6.49377 22.2524 7.53211C22.2604 7.61447 22.2644 7.70039 22.2644 7.78976V15.2704C22.2644 15.3336 22.2624 15.3974 22.2584 15.4617V15.9716C22.2584 17.0852 21.6643 18.1141 20.6999 18.6709L13.5585 22.794C12.5941 23.3508 11.406 23.3508 10.4416 22.794L3.30017 18.6709C2.33579 18.1141 1.7417 17.0851 1.7417 15.9716V7.72538C1.7417 6.61181 2.33578 5.58282 3.30017 5.02604L3.35083 4.99679C3.35463 4.99457 3.35844 4.99236 3.36226 4.99016L9.84069 1.24983C9.8445 1.24763 9.84832 1.24544 9.85214 1.24325L10.4416 0.902943ZM11.467 14.0236C11.467 13.9968 11.4674 13.9698 11.4681 13.9427V13.4002C11.4681 12.7117 10.9847 11.8744 10.3884 11.5301L10.0459 11.3323C9.97537 11.2983 9.90689 11.2623 9.84069 11.224L3.7714 7.71993C3.24052 7.49195 2.83023 7.77878 2.83023 8.41315L2.83023 15.8938C2.83023 16.5824 3.31364 17.4197 3.90997 17.764L10.3884 21.5043C10.9682 21.8391 11.4413 21.5844 11.467 20.937V14.0236ZM12.5479 14.0236V20.937C12.5736 21.5844 13.0467 21.8391 13.6265 21.5043L20.105 17.764C20.7013 17.4197 21.1847 16.5824 21.1847 15.8938V8.41314C21.1847 7.74694 20.7322 7.46404 20.1627 7.75816L14.1597 11.224C14.1323 11.2398 14.1045 11.2553 14.0764 11.2704L13.6265 11.5301C13.0302 11.8744 12.5468 12.7117 12.5468 13.4002V13.9427C12.5475 13.9698 12.5479 13.9968 12.5479 14.0236ZM13.6265 10.2833L19.6146 6.82609C20.154 6.47998 20.1353 5.94664 19.5583 5.61354L13.0799 1.87322C12.4836 1.52893 11.5168 1.52893 10.9204 1.87322L4.442 5.61354C3.89262 5.93073 3.84937 6.42946 4.31224 6.77523L10.3884 10.2833C10.4546 10.3215 10.5201 10.3628 10.5848 10.4069L10.9204 10.6006C11.5168 10.9449 12.4836 10.9449 13.0799 10.6006L13.5448 10.3323C13.5719 10.3154 13.5991 10.2991 13.6265 10.2833Z"})]}),mp=x("DiceOutlineIcon",vp),gp=l.jsxs(l.Fragment,{children:[l.jsx("path",{className:"ksjsui-fill-black",d:"M10.4415 0.902713C11.4059 0.345926 12.5941 0.345925 13.5585 0.902712L20.6999 5.02581C21.6643 5.5826 22.2583 6.61158 22.2583 7.72516V15.9713C22.2583 17.0849 21.6642 18.1139 20.6999 18.6707L13.5585 22.7938C12.5941 23.3506 11.4059 23.3506 10.4415 22.7938L3.30011 18.6707C2.33572 18.1139 1.74164 17.0849 1.74164 15.9713V7.72515C1.74164 6.61158 2.33572 5.5826 3.3001 5.02581L10.4415 0.902713Z"}),l.jsx("rect",{className:"ksjsui-fill-white ksjsui-stroke-black",x:"-3.71568e-08",y:"0.623388",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 0.5 -0.866025 0.5 12.5399 0.314624)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -0.866025 0.5 12.0647 4.95312)"}),l.jsx("rect",{className:"ksjsui-fill-white ksjsui-stroke-black",x:"0.53987",y:"0.935082",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 0.5 -2.20305e-08 1 1.82279 5.02499)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -2.20305e-08 1 3.90991 13.9473)"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -2.20305e-08 1 8.22891 11.4541)"}),l.jsx("rect",{className:"ksjsui-fill-white ksjsui-stroke-black",x:"0.53987",y:"0.311694",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 -0.5 2.20305e-08 1 11.5396 11.7992)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 13.6267 17.6885)"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 15.7862 13.9482)"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 17.9457 10.208)"})]}),Cp=x("DiceWhiteIcon",gp),bp=l.jsxs(l.Fragment,{children:[l.jsx("path",{className:"ksjsui-fill-background",d:"M10.4415 0.902713C11.4059 0.345926 12.5941 0.345925 13.5585 0.902712L20.6999 5.02581C21.6643 5.5826 22.2583 6.61158 22.2583 7.72516V15.9713C22.2583 17.0849 21.6642 18.1139 20.6999 18.6707L13.5585 22.7938C12.5941 23.3506 11.4059 23.3506 10.4415 22.7938L3.30011 18.6707C2.33572 18.1139 1.74164 17.0849 1.74164 15.9713V7.72515C1.74164 6.61158 2.33572 5.5826 3.3001 5.02581L10.4415 0.902713Z"}),l.jsx("rect",{className:"ksjsui-stroke-background",x:"-3.71568e-08",y:"0.623388",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 0.5 -0.866025 0.5 12.5399 0.314624)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -0.866025 0.5 12.0647 4.95312)"}),l.jsx("rect",{className:"ksjsui-stroke-background",x:"0.53987",y:"0.935082",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 0.5 -2.20305e-08 1 1.82279 5.02499)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -2.20305e-08 1 3.90991 13.9473)"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -2.20305e-08 1 8.22891 11.4541)"}),l.jsx("rect",{className:"ksjsui-stroke-background",x:"0.53987",y:"0.311694",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 -0.5 2.20305e-08 1 11.5396 11.7992)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 13.6267 17.6885)"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 15.7862 13.9482)"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 17.9457 10.208)"})]}),yp=x("DiceIcon",bp),wp=x("DotIcon",l.jsx("circle",{cx:"12",cy:"12",r:"6"})),kp=x("DotOutlineIcon",l.jsx("path",{d:"M12 6C15.3137 6 18 8.68629 18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6ZM12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8Z"})),Ep=x("DownloadIcon",l.jsx("path",{d:"M18,15v3H6v-3H4v3c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2v-3H18z M17,11l-1.41-1.41L13,12.17V4h-2v8.17L8.41,9.59L7,11l5,5 L17,11z"})),Sp=x("EarthIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"})),Mp=x("EllipsisHorizontalIcon",l.jsx("path",{d:"M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM10 12C10 10.9 10.9 10 12 10C13.1 10 14 10.9 14 12C14 13.1 13.1 14 12 14C10.9 14 10 13.1 10 12Z"})),Pp=x("EllipsisVerticalIcon",l.jsx("path",{d:"M12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6C10 7.1 10.9 8 12 8ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM12 16C10.9 16 10 16.9 10 18C10 19.1 10.9 20 12 20C13.1 20 14 19.1 14 18C14 16.9 13.1 16 12 16Z"})),xp=x("EyeIcon",l.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})),Lp=x("EyeOffIcon",l.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"})),Ip=x("FileCogIcon",l.jsx("path",{d:"M6 2c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h6.7c-.5-.9-.7-2-.7-3 0-3.9 3.1-7 7-7 .3 0 .7 0 1 .1V8l-6-6H6m7 1.5L18.5 9H13V3.5M18 14c-.1 0-.2.1-.3.2l-.2 1.3c-.3.1-.6.3-.9.5l-1.2-.5c-.1 0-.2 0-.3.1l-1 1.7c-.1.1 0 .2.1.3l1.1.8v1l-1.1.8c-.1.1-.1.2-.1.3l1 1.7c.1.1.2.1.3.1l1.2-.5c.3.2.5.4.9.5l.2 1.3c0 .1.1.2.3.2h2c.1 0 .2-.1.2-.2l.2-1.3c.3-.1.6-.3.8-.5l1.2.5c.1 0 .3 0 .3-.1l1-1.7c.1-.1 0-.2-.1-.3l-1.1-.8v-1l1.1-.8c.1-.1.1-.2.1-.3l-1-1.7c-.1-.1-.2-.1-.3-.1l-1.1.5c-.3-.2-.5-.4-.9-.5l-.2-1.3c0-.1-.1-.2-.2-.2h-2m1 3.5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5z"})),Np=x("FileLockIcon",l.jsx("path",{d:"M6 2c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6H6m7 1.5L18.5 9H13V3.5M12 11c1.7 0 3 1.3 3 3v1h1v4H8v-4h1v-1c0-1.6 1.3-3 3-3m0 2c-.6 0-1 .4-1 1v1h2v-1c0-.5-.4-1-1-1z"})),Ap=x("FingerprintIcon",l.jsx("path",{d:"M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28zM3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7-.23.16-.54.11-.7-.12-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21zm6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39s-4.66 1.97-4.66 4.39c0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12zM14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94s3.08 1.32 3.08 2.94c0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38z"})),Tp=x("FolderIcon",l.jsx("path",{d:"M10.3333 5H4.83333C3.825 5 3.00917 5.825 3.00917 6.83334L3 17.8333C3 18.8417 3.825 19.6667 4.83333 19.6667H19.5C20.5083 19.6667 21.3333 18.8417 21.3333 17.8333V8.66667C21.3333 7.65834 20.5083 6.83334 19.5 6.83334H12.1667L10.3333 5Z"})),jp=x("FolderShareIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1667 6.83334H19.5C20.5083 6.83334 21.3333 7.65834 21.3333 8.66667V17.8333C21.3333 18.8417 20.5083 19.6667 19.5 19.6667H4.83333C3.825 19.6667 3 18.8417 3 17.8333L3.00917 6.83334C3.00917 5.825 3.825 5 4.83333 5H10.3333L12.1667 6.83334ZM16.31 15.5002C16.5483 15.284 16.86 15.1459 17.2083 15.1459C17.9463 15.1459 18.5467 15.7487 18.5467 16.4896C18.5467 17.2305 17.9463 17.8333 17.2083 17.8333C16.4704 17.8333 15.87 17.2305 15.87 16.4896C15.87 16.3884 15.8838 16.2871 15.9067 16.1905L12.6433 14.2762C12.3958 14.5063 12.0704 14.6489 11.7083 14.6489C10.9475 14.6489 10.3333 14.0323 10.3333 13.2684C10.3333 12.5045 10.9475 11.8879 11.7083 11.8879C12.0704 11.8879 12.3958 12.0305 12.6433 12.2606L15.8746 10.3693C15.8517 10.2635 15.8333 10.1576 15.8333 10.0472C15.8333 9.2833 16.4475 8.66667 17.2083 8.66667C17.9692 8.66667 18.5833 9.2833 18.5833 10.0472C18.5833 10.8111 17.9692 11.4277 17.2083 11.4277C16.8463 11.4277 16.5208 11.2851 16.2733 11.055L13.0421 12.9463C13.065 13.0521 13.0833 13.158 13.0833 13.2684C13.0833 13.3788 13.065 13.4847 13.0421 13.5905L16.31 15.5002Z"})),Op=x("GlobeIcon",l.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"})),_p=x("HospitalIcon",l.jsx("path",{d:"M4 20V8.02395C4 7.54491 4.38788 7.25749 4.77576 7.25749H7.97576V4H16.0242V7.16168H19.2242C19.7091 7.16168 20 7.54491 20 7.92814V19.9042H13.697V15.8802H10.497V19.9042H4M9.62424 5.62874V10.4192H11.2727V8.79042H12.9212V10.4192H14.5697V5.62874H12.9212V7.25749H11.2727V5.62874H9.62424ZM5.64848 18.3713H8.84848V15.976H5.64848V18.3713ZM5.64848 14.3473H8.84848V11.9521H5.64848V14.3473ZM15.3455 18.3713H18.5455V15.976H15.3455V18.3713ZM15.3455 14.3473H18.5455V11.9521H15.3455V14.3473ZM10.497 14.3473H13.697V11.9521H10.497V14.3473Z"})),$p=x("IdCardIcon",l.jsx("path",{d:"M3.67665 5H20.3234C21.1617 5 22 5.84 22 6.68V18.32C22 19.16 21.1617 20 20.3234 20H3.67665C2.83832 20 2 19.16 2 18.32V6.68C2 5.72 2.71856 5 3.67665 5ZM13.6168 7.4V8.24H20.3234V7.4H13.6168ZM13.6168 9.08V9.92H20.2036V9.08H13.6168ZM13.6168 10.76V11.6H19.485V10.76H13.6168ZM8.58683 14C6.91018 14 3.55689 14.96 3.55689 16.52V17.36H13.497V16.52C13.6168 14.96 10.2635 14 8.58683 14ZM8.58683 7.4C7.1497 7.4 6.07186 8.48 6.07186 9.92C6.07186 11.36 7.1497 12.44 8.58683 12.44C10.024 12.44 11.1018 11.36 11.1018 9.92C11.1018 8.48 10.024 7.4 8.58683 7.4Z"})),Hp=x("KeeperIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM14.6889 3.87651L13.1441 3.48323V8.25298L14.4073 8.2597L17.701 5.56054L16.4176 4.61769L14.6889 6.03449V3.87651ZM10.1219 3.27315H11.6667V9.51517H14.8576L18.6961 6.46306L19.6607 7.66811L15.3989 11.0563H10.1219V3.27315ZM4.03862 15.0849L5.58347 16.3958V7.81432L4.03862 9.22777V15.0849ZM8.61243 18.2412L7.06591 19.5807V4.495L8.61243 5.83449V18.2412ZM14.6889 18.1168L16.4176 19.5337L17.701 18.5891L14.4073 15.8916L13.1441 15.8984V20.6681L14.6889 20.2748V18.1168ZM18.6961 17.4782L14.8576 14.4244H11.6667V20.6664H10.1219V12.8849H15.3989L19.6607 16.2731L18.6961 17.4782ZM16.7363 11.9706L19.8969 14.5706L20.8818 13.3824L19.1649 11.9706L20.8818 10.5589L19.8969 9.37063L16.7363 11.9706Z"})),ze={foreground:"ksjsui-fill-[hsl(var(--ksjsui-color-keeper-gold))] [.dark-mode_&]:ksjsui-fill-black",background:"ksjsui-fill-black [.dark-mode_&]:ksjsui-fill-[hsl(var(--ksjsui-color-keeper-gold))]"},Vp=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",className:ze.background}),l.jsx("path",{d:"M13.144 3.48322L14.6888 3.87649V6.03447L16.4175 4.61767L17.7009 5.56052L14.4072 8.25968L13.144 8.25296V3.48322Z",className:ze.foreground}),l.jsx("path",{d:"M10.1219 3.27313H11.6667V9.51515H14.8577L18.6962 6.46305L19.6608 7.66809L15.399 11.0563H10.1219V3.27313Z",className:ze.foreground}),l.jsx("path",{d:"M5.58342 16.3958L4.03857 15.0849V9.22778L5.58342 7.81433V16.3958Z",className:ze.foreground}),l.jsx("path",{d:"M8.61244 18.2413L7.06592 19.5807V4.495L8.61244 5.83449V18.2413Z",className:ze.foreground}),l.jsx("path",{d:"M16.4175 19.5337L14.6888 18.1168V20.2748L13.144 20.6681V15.8983L14.4072 15.8917L17.7009 18.5891L16.4175 19.5337Z",className:ze.foreground}),l.jsx("path",{d:"M18.6962 17.4782L14.8577 14.4244H11.6667V20.6664H10.1219V12.8849H15.399L19.6608 16.2732L18.6962 17.4782Z",className:ze.foreground}),l.jsx("path",{d:"M19.8968 14.5707L16.7363 11.9707L19.8968 9.37064L20.8817 10.5588L19.1649 11.9707L20.8817 13.3824L19.8968 14.5707Z",className:ze.foreground})]}),Dp=x("KeeperCoinIcon",Vp),Fp=x("KeeperOffIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12C22 14.0826 21.3634 16.0165 20.2742 17.6177L19.3357 16.6792L19.6607 16.2731L16.094 13.4375L13.7128 11.0563H15.3989L19.6607 7.66811L18.6961 6.46306L14.8576 9.51517H12.1717L11.6667 9.0102V3.27315H10.1219V7.46536L8.61243 5.95594V5.83449L7.70525 5.04875L6.38235 3.72585C7.98355 2.63661 9.91743 2 12 2C17.5228 2 22 6.47715 22 12ZM17.411 20.411L19.3848 22.3848L20.799 20.9706L2.41421 2.58579L1 4L3.58899 6.58899C2.58348 8.14875 2 10.0062 2 12C2 17.5228 6.47715 22 12 22C13.9938 22 15.8512 21.4165 17.411 20.411ZM11.6667 14.6667V20.6664H10.1219V13.1219L11.6667 14.6667ZM8.61243 11.6124V18.2412L7.06591 19.5807V10.0659L8.61243 11.6124ZM5.58347 8.58347V16.3958L4.03862 15.0849V9.22777L5.18181 8.18181L5.58347 8.58347ZM13.1441 16.1441L16.4844 19.4844L16.4176 19.5337L14.6889 18.1168V20.2748L13.1441 20.6681V16.1441ZM14.6889 3.87651L13.1441 3.48323V8.25298L14.4073 8.2597L17.701 5.56054L16.4176 4.61769L14.6889 6.03449V3.87651ZM16.7363 11.9706L19.8969 14.5706L20.8818 13.3824L19.1649 11.9706L20.8818 10.5589L19.8969 9.37063L16.7363 11.9706Z"})),Rp=l.jsxs(l.Fragment,{children:[l.jsx("mask",{id:"mask0_75_26430",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"6",width:"12",height:"12",children:l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C13.3137 18 16 15.3137 16 12C16 8.68629 13.3137 6 10 6C6.68629 6 4 8.68629 4 12C4 15.3137 6.68629 18 10 18ZM11.6134 7.1263L10.6865 6.89033V9.75218L11.4444 9.75621L13.4207 8.13672L12.6506 7.571L11.6134 8.42109V7.1263ZM8.8731 6.76377H9.8V10.509H11.7145L14.0176 8.67772L14.5964 9.40074L12.0393 11.4337H8.8731V6.76377ZM5.22322 13.8507L6.15012 14.6373V9.48838L5.22322 10.3364V13.8507ZM7.96739 15.7445L7.03948 16.5482V7.49678L7.96739 8.30047V15.7445ZM11.6134 15.6698L12.6506 16.5199L13.4207 15.9532L11.4444 14.3347L10.6865 14.3387V17.2006L11.6134 16.9646V15.6698ZM14.0176 15.2871L11.7145 13.4549H9.8V17.2001H8.8731V12.5312H12.0393L14.5964 14.5641L14.0176 15.2871ZM12.8418 11.9827L14.7381 13.5427L15.3291 12.8297L14.2989 11.9827L15.3291 11.1356L14.7381 10.4227L12.8418 11.9827Z"})}),l.jsx("g",{mask:"url(#mask0_75_26430)",children:l.jsx("rect",{x:"4",y:"6",width:"12",height:"12"})}),l.jsx("mask",{id:"path-4-inside-1_75_26430",children:l.jsx("path",{d:"M2 2H18C20.2091 2 22 3.79086 22 6V18C22 20.2091 20.2091 22 18 22H2V2Z",fill:"white"})}),l.jsx("path",{d:"M2 0H18C21.3137 0 24 2.68629 24 6H20C20 4.89543 19.1046 4 18 4H2V0ZM24 18C24 21.3137 21.3137 24 18 24H2V20H18C19.1046 20 20 19.1046 20 18H24ZM2 22V2V22ZM18 0C21.3137 0 24 2.68629 24 6V18C24 21.3137 21.3137 24 18 24V20C19.1046 20 20 19.1046 20 18V6C20 4.89543 19.1046 4 18 4V0Z",mask:"url(#path-4-inside-1_75_26430)"})]}),Zp=x("KeeperSquareInputIcon",Rp),Wp=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M16 7C16 9.21 14.21 11 12 11C9.79 11 8 9.21 8 7C8 4.79 9.79 3 12 3C14.21 3 16 4.79 16 7ZM4 17C4 14.34 9.33 13 12 13C12.5719 13 13.2659 13.0615 14.0033 13.1842C14.0599 14.7452 14.8325 16.121 16 16.9967V19H4V17Z"}),l.jsx("path",{d:"M18 15.825C16.835 15.415 16 14.305 16 13C16 11.345 17.345 10 19 10C20.655 10 22 11.345 22 13C22 14.305 21.165 15.415 20 15.825L20 19L22 19L22 21L20 21L20 22L18 22L18 15.825ZM20 13C20 12.45 19.55 12 19 12C18.45 12 18 12.45 18 13C18 13.55 18.45 14 19 14C19.55 14 20 13.55 20 13Z"})]}),zp=x("KeyUserIcon",Wp),Bp=x("KeyboardIcon",l.jsx("path",{d:"M20 7V17H4V7H20ZM20 5H4C2.9 5 2.01 5.9 2.01 7L2 17C2 18.1 2.9 19 4 19H20C21.1 19 22 18.1 22 17V7C22 5.9 21.1 5 20 5ZM11 8H13V10H11V8ZM11 11H13V13H11V11ZM8 8H10V10H8V8ZM8 11H10V13H8V11ZM5 11H7V13H5V11ZM5 8H7V10H5V8ZM8 14H16V16H8V14ZM14 11H16V13H14V11ZM14 8H16V10H14V8ZM17 11H19V13H17V11ZM17 8H19V10H17V8Z"})),Up=x("LandmarkIcon",l.jsx("path",{d:"M5.62025 10.7143V16.68H8.1519V10.7143H5.62025ZM10.6835 10.7143V16.68H13.2152V10.7143H10.6835ZM4 21H20V18.4286H4V21ZM15.7468 10.7143V16.68H18.2785V10.7143H15.7468ZM12 3L4 7.32V9.06857H20V7.32L12 3Z"})),Kp=l.jsxs(l.Fragment,{children:[l.jsx("g",{clipPath:"url(#clip0_224_47006)",children:l.jsx("path",{d:"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z",fill:"black"})}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_224_47006",children:l.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),Gp=x("LightbulbIcon",Kp),Yp=x("LockOutlineIcon",l.jsx("path",{d:"M17.25 9H16.375V7.28571C16.375 4.92 14.415 3 12 3C9.585 3 7.625 4.92 7.625 7.28571V9H6.75C5.7875 9 5 9.77143 5 10.7143V19.2857C5 20.2286 5.7875 21 6.75 21H17.25C18.2125 21 19 20.2286 19 19.2857V10.7143C19 9.77143 18.2125 9 17.25 9ZM9.375 7.28571C9.375 5.86286 10.5475 4.71429 12 4.71429C13.4525 4.71429 14.625 5.86286 14.625 7.28571V9H9.375V7.28571ZM17.25 19.2857H6.75V10.7143H17.25V19.2857ZM12 16.7143C12.9625 16.7143 13.75 15.9429 13.75 15C13.75 14.0571 12.9625 13.2857 12 13.2857C11.0375 13.2857 10.25 14.0571 10.25 15C10.25 15.9429 11.0375 16.7143 12 16.7143Z"})),Xp=x("LockIcon",l.jsx("path",{d:"M17.25 9H16.375V7.28571C16.375 4.92 14.415 3 12 3C9.585 3 7.625 4.92 7.625 7.28571V9H6.75C5.7875 9 5 9.77143 5 10.7143V19.2857C5 20.2286 5.7875 21 6.75 21H17.25C18.2125 21 19 20.2286 19 19.2857V10.7143C19 9.77143 18.2125 9 17.25 9ZM12 16.7143C11.0375 16.7143 10.25 15.9429 10.25 15C10.25 14.0571 11.0375 13.2857 12 13.2857C12.9625 13.2857 13.75 14.0571 13.75 15C13.75 15.9429 12.9625 16.7143 12 16.7143ZM14.7125 9H9.2875V7.28571C9.2875 5.82 10.5037 4.62857 12 4.62857C13.4963 4.62857 14.7125 5.82 14.7125 7.28571V9Z"})),qp=x("LogInIcon",l.jsx("path",{d:"M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7ZM20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z"})),Qp=x("LogOutIcon",l.jsx("path",{d:"M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12L17 7ZM4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z"})),Jp=x("MapPinIcon",l.jsx("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"})),e0=x("MembershipCardIcon",l.jsx("path",{d:"M19.9641 20H4.03593C2.95808 20 2 19.1579 2 17.9549V5.92481C2 4.84211 2.83832 4 4.03593 4H19.9641C21.0419 4 22 4.84211 22 6.04511V18.0752C22 19.1579 21.0419 20 19.9641 20ZM4.99401 13.0226V15.0677H13.976V13.0226H4.99401ZM4.99401 9.05263V11.0977H19.9641V9.05263H4.99401Z"})),t0=x("MessageSquareInfoIcon",l.jsx("path",{d:"M9 22C8.4 22 8 21.6 8 21L8 18H4C2.9 18 2 17.1 2 16L2 4C2 2.9 2.9 2 4 2L20 2C21.1 2 22 2.9 22 4V16C22 17.1 21.1 18 20 18H13.9L10.2 21.7C10 21.9 9.8 22 9.5 22H9ZM13 7V5L11 5V7L13 7ZM13 15L13 9L11 9L11 15H13Z"})),n0=x("MessageSquareMoreIcon",l.jsx("path",{d:"M20 2H4C2.9 2 2 2.9 2 4V22L6.00002 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM20 16H6.00002L4 18V4H20V16ZM6.99998 9.00003H9.00003V11H6.99998V9.00003ZM11 9.00003H13V11H11V9.00003ZM15 9.00003H17V11H15V9.00003Z"})),o0=x("MessageSquarePenLineIcon",l.jsx("path",{d:"M19.9762 2H4.02381C2.95238 2 2 2.95808 2 4.03593V22L6.04762 17.9281H19.9762C21.0476 17.9281 22 16.9701 22 15.8922V3.91617C21.881 2.83832 21.0476 2 19.9762 2ZM6.04762 13.976V11.4611L12.8333 4.63473C13.0714 4.39521 13.3095 4.39521 13.5476 4.63473L15.3333 6.43114C15.5714 6.67066 15.5714 6.91018 15.3333 7.1497L8.54762 13.976H6.04762ZM17.9524 13.976H10.5714L12.5952 11.9401H17.9524V13.976Z"})),r0=x("MonitorLayoutGridIcon",l.jsx("path",{d:"M20.1522 16.3114V4.93413H3.84783V16.3114H20.1522ZM20.1522 3C21.1304 3 22 3.79641 22 4.93413V16.3114C22 17.3353 21.2391 18.2455 20.1522 18.2455H13.8478V20.0659H15.6957V22H8.30435V20.0659H10.1522V18.1317H3.84783C2.86957 18.1317 2 17.2216 2 16.1976V4.82036C2 3.79641 2.76087 3 3.84783 3H20.1522ZM5.58696 6.75449H13.7391V11.5329H5.58696V6.75449ZM14.7174 6.75449H18.3043V8.68862H14.7174V6.75449ZM18.3043 9.5988V14.3772H14.7174V9.5988H18.3043ZM5.58696 12.4431H9.17391V14.3772H5.58696V12.4431ZM10.1522 12.4431H13.7391V14.3772H10.1522V12.4431Z"})),s0=x("NetworkIcon",l.jsx("path",{d:"M10 2C8.89 2 8 2.89 8 4V7C8 8.11 8.89 9 10 9H11V11H2V13H6V15H5C3.89 15 3 15.89 3 17V20C3 21.11 3.89 22 5 22H9C10.11 22 11 21.11 11 20V17C11 15.89 10.11 15 9 15H8V13H16V15H15C13.89 15 13 15.89 13 17V20C13 21.11 13.89 22 15 22H19C20.11 22 21 21.11 21 20V17C21 15.89 20.11 15 19 15H18V13H22V11H13V9H14C15.11 9 16 8.11 16 7V4C16 2.89 15.11 2 14 2H10ZM10 4H14V7H10V4ZM5 17H9V20H5V17ZM15 17H19V20H15V17Z"})),i0=x("PaletteIcon",l.jsx("path",{d:"M12 3C7.03 3 3 7.03 3 12C3 16.97 7.03 21 12 21C12.83 21 13.5 20.33 13.5 19.5C13.5 19.11 13.35 18.76 13.11 18.49C12.88 18.23 12.73 17.88 12.73 17.5C12.73 16.67 13.4 16 14.23 16H16C18.76 16 21 13.76 21 11C21 6.58 16.97 3 12 3ZM6.5 12C5.67 12 5 11.33 5 10.5C5 9.67 5.67 9 6.5 9C7.33 9 8 9.67 8 10.5C8 11.33 7.33 12 6.5 12ZM9.5 8C8.67 8 8 7.33 8 6.5C8 5.67 8.67 5 9.5 5C10.33 5 11 5.67 11 6.5C11 7.33 10.33 8 9.5 8ZM14.5 8C13.67 8 13 7.33 13 6.5C13 5.67 13.67 5 14.5 5C15.33 5 16 5.67 16 6.5C16 7.33 15.33 8 14.5 8ZM17.5 12C16.67 12 16 11.33 16 10.5C16 9.67 16.67 9 17.5 9C18.33 9 19 9.67 19 10.5C19 11.33 18.33 12 17.5 12Z"})),a0=x("PanelLandscapeIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 6C21 4.89543 20.1046 4 19 4H5C3.89543 4 3 4.89543 3 6V18C3 19.1046 3.89543 20 5 20H19C20.1046 20 21 19.1046 21 18V6ZM5 9V18H10V9H5ZM12 9V18H19V9H12Z"})),c0=x("PanelPortraitIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2C17.1046 2 18 2.89543 18 4V20C18 21.1046 17.1046 22 16 22H8C6.8954 22 6 21.1046 6 20V4C6 2.89543 6.8954 2 8 2H16ZM8 20V7H16V20H8Z"})),l0=x("PanelsTopLeftIcon",l.jsx("path",{d:"M7,7 L6,7 L3,7 L3,9 L7,9 L7,7 Z M9,9 L21,9 L21,7 L7,7 C7,7.70904 7,8.37096 7,9 C7,12.52849 7,15.0228 7,19 L9,19 L9,9 Z M21,3 L3,3 C1.9,3 1,3.9 1,5 L1,19 C1,20.1 1.9,21 3,21 L21,21 C22.1,21 23,20.1 23,19 L23,5 C23,3.9 22.1,3 21,3 Z M21,19.01 L3,19.01 L3,9 L3,7 L3,4.99 L21,4.99 L21,19.01 Z"})),u0=x("PaperclipIcon",l.jsx("path",{d:"M19.6 10.6l-8.1 8.1c-1.6 1.6-4.1 1.6-5.7 0s-1.6-4.1 0-5.7l8.8-8.8c1-1 2.6-1 3.5 0 1 1 1 2.6 0 3.5l-7.4 7.4c-.4.4-1 .4-1.4 0-.4-.4-.4-1 0-1.4L16 7.1 15 6l-6.7 6.7c-1 1-1 2.6 0 3.5s2.6 1 3.5 0l7.4-7.4c1.6-1.6 1.6-4.1 0-5.7s-4.1-1.6-5.7 0L4.7 12c-2.1 2.1-2.1 5.6 0 7.8s5.6 2.1 7.8 0l8.1-8.1-1-1.1z"})),d0=x("PcCaseIcon",l.jsx("path",{d:"M8 2H16C16.5304 2 17.0391 2.21071 17.4142 2.58579C17.7893 2.96086 18 3.46957 18 4V20C18 20.5304 17.7893 21.0391 17.4142 21.4142C17.0391 21.7893 16.5304 22 16 22H8C7.46957 22 6.96086 21.7893 6.58579 21.4142C6.21071 21.0391 6 20.5304 6 20V4C6 3.46957 6.21071 2.96086 6.58579 2.58579C6.96086 2.21071 7.46957 2 8 2ZM8 4V6H16V4H8ZM16 8H8V10H16V8ZM16 18H14V20H16V18Z"})),f0=x("PencilIcon",l.jsx("path",{d:"M3 17.25V21H6.75L17.81 9.94L14.06 6.19L3 17.25ZM20.71 7.04C21.1 6.65 21.1 6.02 20.71 5.63L18.37 3.29C17.98 2.9 17.35 2.9 16.96 3.29L15.13 5.12L18.88 8.87L20.71 7.04Z"})),p0=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M0 0h24v24H0z",fill:"none"}),l.jsx("path",{d:"M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83z"})]}),h0=x("PowerIcon",p0),Ci=x("RadioSelectedIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C7.58399 4 4 7.584 4 12C4 16.416 7.58399 20 12 20C16.4159 20 20 16.416 20 12C20 7.584 16.4159 4 12 4ZM12 8C9.79198 8 7.99998 9.79201 7.99998 12C7.99998 14.208 9.79198 16.0001 12 16.0001C14.208 16.0001 16 14.208 16 12C16 9.79201 14.208 8 12 8ZM5.59999 12C5.59999 15.536 8.46399 18.4001 12 18.4001C15.536 18.4001 18.4 15.536 18.4 12C18.4 8.46401 15.536 5.6 12 5.6C8.46399 5.6 5.59999 8.46401 5.59999 12Z"})),v0=x("RadioIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 12C4 7.584 7.58399 4 12 4C16.4159 4 20 7.584 20 12C20 16.416 16.4159 20 12 20C7.58399 20 4 16.416 4 12ZM5.59999 12C5.59999 15.536 8.46399 18.4001 12 18.4001C15.536 18.4001 18.4 15.536 18.4 12C18.4 8.46401 15.536 5.6 12 5.6C8.46399 5.6 5.59999 8.46401 5.59999 12Z"})),m0=x("RefreshCcwIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1V3.99999C16.4199 3.99999 20 7.58 20 12C20 13.5699 19.5399 15.03 18.7599 16.26L17.3 14.7999C17.75 13.97 18 13.01 18 12C18 8.68999 15.3099 5.99999 12 5.99999V8.99999L8 5L12 1ZM6 12C6 15.3099 8.69 18 12 18V15L15.9999 18.9999L12 23V20C7.58 20 4 16.4199 4 12C4 10.43 4.46001 8.96999 5.24001 7.73999L6.69999 9.19999C6.25 10.03 6 10.99 6 12Z"})),g0=x("ReplyIcon",l.jsx("path",{d:"M14 9V5L21 12L14 19V14.9C9 14.9 5.5 16.5 3 20C4 15 7 10 14 9Z"})),C0=x("RotateCwIcon",l.jsx("path",{d:"M18.3546 5.64375C16.7223 4.0125 14.4822 3 11.9944 3C7.01876 3 3 7.0275 3 12C3 16.9725 7.01876 21 11.9944 21C16.1932 21 19.6942 18.1313 20.6961 14.25H18.3546C17.4315 16.8713 14.9325 18.75 11.9944 18.75C8.26829 18.75 5.24015 15.7238 5.24015 12C5.24015 8.27625 8.26829 5.25 11.9944 5.25C13.863 5.25 15.5291 6.02625 16.7448 7.2525L13.1201 10.875H21V3L18.3546 5.64375Z"})),b0=x("SaveIcon",l.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"})),y0=x("ScanCameraIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.85185 2C2.8291 2 2 2.84568 2 3.88889V7.66667H3.85185V3.88889H7.55556V2H3.85185ZM22 3.88889C22 2.84568 21.1709 2 20.1481 2H16.4444V3.88889H20.1481V7.66667H22V3.88889ZM3.85185 22C2.8291 22 2 21.1543 2 20.1111V16.3334H3.85185V20.1111H7.55556V22H3.85185ZM20.1481 22C21.1709 22 22 21.1543 22 20.1111V16.3334H20.1481V20.1111H16.4444V22H20.1481ZM16.6667 7.33334H14.8175L14.0942 6.54584C13.8783 6.30667 13.5633 6.16667 13.2367 6.16667H10.7633C10.4367 6.16667 10.1217 6.30667 9.9 6.54584L9.1825 7.33334H7.33333C6.69167 7.33334 6.16667 7.85834 6.16667 8.50001V15.5C6.16667 16.1417 6.69167 16.6667 7.33333 16.6667H16.6667C17.3083 16.6667 17.8333 16.1417 17.8333 15.5V8.50001C17.8333 7.85834 17.3083 7.33334 16.6667 7.33334ZM12 14.9167C10.39 14.9167 9.08333 13.61 9.08333 12C9.08333 10.39 10.39 9.08334 12 9.08334C13.61 9.08334 14.9167 10.39 14.9167 12C14.9167 13.61 13.61 14.9167 12 14.9167ZM12 13.75C12.9665 13.75 13.75 12.9665 13.75 12C13.75 11.0335 12.9665 10.25 12 10.25C11.0335 10.25 10.25 11.0335 10.25 12C10.25 12.9665 11.0335 13.75 12 13.75Z"})),w0=x("SearchIcon",l.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})),k0=x("ServerIcon",l.jsx("path",{d:"M5.28689 3H18.3689C18.8607 3 19.1557 3.39344 19.1557 3.78689V7.13115C19.1557 7.62295 18.7623 7.91803 18.3689 7.91803H5.28689C4.89344 7.91803 4.5 7.62295 4.5 7.13115V3.88525C4.5 3.39344 4.89344 3 5.28689 3ZM5.28689 9.59016H18.3689C18.8607 9.59016 19.1557 9.98361 19.1557 10.377V13.623C19.1557 14.1148 18.7623 14.4098 18.3689 14.4098H5.28689C4.79508 14.4098 4.5 14.0164 4.5 13.623V10.377C4.5 9.98361 4.89344 9.59016 5.28689 9.59016ZM5.28689 16.1803H18.3689C18.8607 16.1803 19.1557 16.5738 19.1557 16.9672V20.2131C19.1557 20.7049 18.7623 21 18.3689 21H5.28689C4.79508 21 4.5 20.6066 4.5 20.2131V16.9672C4.5 16.4754 4.89344 16.1803 5.28689 16.1803ZM9.41803 6.34426H10.2049V4.67213H9.41803V6.34426ZM9.41803 12.8361H10.2049V11.2623H9.41803V12.8361ZM9.41803 19.4262H10.2049V17.7541H9.41803V19.4262ZM6.17213 4.67213V6.34426H7.84426V4.67213H6.17213ZM6.17213 11.2623V12.9344H7.84426V11.2623H6.17213ZM6.17213 17.7541V19.4262H7.84426V17.7541H6.17213Z"})),E0=x("SettingsIcon",l.jsx("path",{d:"M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"})),S0=l.jsxs(l.Fragment,{children:[l.jsxs("g",{clipPath:"url(#clip0_4444_236325)",children:[l.jsx("path",{d:"M12 2L6.5 11H17.5L12 2Z"}),l.jsx("path",{d:"M17.5 22C19.9853 22 22 19.9853 22 17.5C22 15.0147 19.9853 13 17.5 13C15.0147 13 13 15.0147 13 17.5C13 19.9853 15.0147 22 17.5 22Z"}),l.jsx("path",{d:"M3 13.5H11V21.5H3V13.5Z"})]}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_4444_236325",children:l.jsx("rect",{width:"24",height:"24"})})})]}),M0=x("ShapesIcon",S0),P0=x("ShieldQuestionIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1L3 5V11C3 16.55 6.84 21.74 12 23C17.16 21.74 21 16.55 21 11V5L12 1ZM11 19V17H13V19H11ZM14.17 12.17L15.07 11.25C15.64 10.68 16 9.88 16 9C16 6.79 14.21 5 12 5C9.79 5 8 6.79 8 9H10C10 7.9 10.9 7 12 7C13.1 7 14 7.9 14 9C14 9.55 13.78 10.05 13.41 10.41L12.17 11.67C11.45 12.4 11 13.4 11 14.5V15H13C13 13.5 13.45 12.9 14.17 12.17Z"})),x0=x("ShieldSecurityIcon",l.jsx("path",{d:"M12 1L3 5V11C3 16.55 6.84 21.74 12 23C17.16 21.74 21 16.55 21 11V5L12 1ZM12 11.99H19C18.47 16.11 15.72 19.78 12 20.93V12H5V6.3L12 3.19V11.99Z"})),L0=x("SkipForwardIcon",l.jsx("path",{d:"M6 18L14.5 12L6 6V18ZM16 6V18H18V6H16Z"})),I0=l.jsxs(l.Fragment,{children:[l.jsx("g",{clipPath:"url(#clip0_2389_1034)",children:l.jsx("path",{d:"M3 17V19H9V17H3ZM3 5V7H13V5H3ZM13 21V19H21V17H13V15H11V21H13ZM7 9V11H3V13H7V15H9V9H7ZM21 13V11H11V13H21ZM15 9H17V7H21V5H17V3H15V9Z"})}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_2389_1034",children:l.jsx("rect",{width:"24",height:"24"})})})]}),N0=x("SlidersHorizontalIcon",I0),A0=x("SocialSecurityCardIcon",l.jsx("path",{d:"M12 15H10V13H12V15ZM18 15H14V13H18V15ZM8 11H6V9H8V11ZM18 11H10V9H18V11ZM20 20H4C2.9 20 2 19.1 2 18V6C2 4.9 2.9 4 4 4H20C21.1 4 22 4.9 22 6V18C22 19.1 21.1 20 20 20ZM4 6V18H20V6H4Z"})),T0=x("SquareIcon",l.jsx("path",{d:"M18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19ZM19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3Z"})),j0=x("SquareArrowOutUpRightIcon",l.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"})),O0=l.jsxs(l.Fragment,{children:[l.jsx("g",{clipPath:"url(#clip0_60_35451)",children:l.jsx("path",{d:"M19 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.11 21 21 20.1 21 19V5C21 3.9 20.11 3 19 3ZM10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"})}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_60_35451",children:l.jsx("rect",{width:"24",height:"24"})})})]}),_0=x("SquareCheckIcon",O0),$0=x("SquareGlobeLineIcon",l.jsx("path",{d:"M6 2C4.92537 2 4 2.95238 4 4.14286V19.9762C4 21.0476 4.83582 22 6.02985 22H17.9701C19.0448 22 20 21.1667 20 19.9762V4.02381C20 2.95238 19.1642 2 17.9701 2H12M12 5.09524C14.7463 5.09524 17.0149 7.35714 17.0149 10.0952C17.0149 12.8333 14.7463 15.0952 12 15.0952C9.25373 15.0952 6.98507 12.8333 6.98507 10.0952C6.98507 7.35714 9.25373 5.09524 12 5.09524ZM12 6.04762C11.6418 6.64286 11.2836 7.35714 11.0448 8.07143H12.9552C12.7164 7.35714 12.4776 6.64286 12 6.04762ZM10.6866 6.28571C9.73134 6.64286 9.01492 7.2381 8.53731 8.07143H9.97015C10.209 7.35714 10.4478 6.76191 10.6866 6.28571ZM13.3134 6.28571L14.0299 8.07143H15.4627C14.9851 7.2381 14.1493 6.52381 13.3134 6.28571ZM8.1791 9.02381C8.0597 9.38095 8.0597 9.61905 8.0597 9.97619C8.0597 10.3333 8.0597 10.6905 8.1791 10.9286H9.85075C9.85075 10.5714 9.73134 10.2143 9.73134 9.97619C9.73134 9.61905 9.73134 9.26191 9.85075 9.02381H8.1791ZM10.806 9.02381V9.97619C10.806 10.3333 10.806 10.6905 10.9254 10.9286H13.3134C13.194 10.6905 13.194 10.3333 13.194 9.97619V9.02381H10.806ZM14.1493 9.02381C14.1493 9.38095 14.2687 9.7381 14.2687 9.97619C14.2687 10.3333 14.2687 10.6905 14.1493 10.9286H15.8209C15.9403 10.5714 15.9403 10.3333 15.9403 9.97619C15.9403 9.61905 15.9403 9.26191 15.8209 9.02381H14.1493ZM8.53731 12C9.01492 12.8333 9.73134 13.4286 10.6866 13.7857L9.97015 12H8.53731ZM11.0448 12C11.2836 12.7143 11.6418 13.3095 12 14.0238C12.4776 13.4286 12.7164 12.7143 12.9552 12H11.0448ZM14.0299 12C13.791 12.5952 13.6716 13.1905 13.3134 13.7857C14.2687 13.4286 14.9851 12.8333 15.4627 12H14.0299ZM6.98507 17H16.8955V19.0238H6.98507V17Z"})),H0=x("SquareImageIcon",l.jsx("path",{d:"M21 3H3C2 3 1 4 1 5v14c0 1.1.9 2 2 2h18c1 0 2-1 2-2V5c0-1-1-2-2-2zM5 17l3.5-4.5 2.5 3 3.5-4.5 4.5 6H5z"})),V0=x("SquareInputIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 20.9805H20C21.1 20.9805 22 20.0905 22 18.9805V4.98049C22 3.88049 21.1 3.00049 20 3.00049H4C2.9 3.00049 2 3.88049 2 4.98049V8.99049H4V4.97049H20V19.0005H4V14.9905H2V18.9805C2 20.0805 2.9 20.9805 4 20.9805ZM15 12L11 8.00002V11H2V13H11V16L15 12Z"})),D0=x("SquareKeyUserIcon",l.jsxs("g",{clipPath:"url(#clip0_12_2)",children:[l.jsxs("mask",{id:"mask0_12_2",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",children:[l.jsx("path",{d:"M24 0H0V24H24V0Z",fill:"black"}),l.jsx("path",{d:"M2 6C2 3.79086 3.79086 2 6 2H18C20.2091 2 22 3.79086 22 6V18C22 20.2091 20.2091 22 18 22H6C3.79086 22 2 20.2091 2 18V6Z",fill:"white"}),l.jsx("path",{d:"M11 10C12.6575 10 14 8.65744 14 6.99993C14 5.34249 12.6575 4 11 4C9.34244 4 8 5.34249 8 6.99993C8 8.65744 9.34244 10 11 10Z",fill:"black"}),l.jsx("path",{d:"M11 12C8.99751 12 5 13.1486 5 15.4286V18H14V15.4257C13.1244 14.675 12.5449 13.4959 12.5025 12.158C11.9494 12.0528 11.429 12 11 12Z",fill:"black"}),l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.3307 13.9288C18.3006 13.5818 18.9959 12.6426 18.9959 11.5385C18.9959 10.1382 17.876 9 16.4979 9C15.1199 9 14 10.1382 14 11.5385C14 11.7348 14.0221 11.926 14.0637 12.1095C14.1319 12.4107 14.2531 12.6915 14.4167 12.941C14.7138 13.3944 15.151 13.7449 15.6653 13.9288L15.6694 20H17.3348V19.1537H19V17.4615H17.3348L17.3307 13.9288ZM16.4979 10.6923C16.956 10.6923 17.3307 11.0731 17.3307 11.5385C17.3307 12.0039 16.956 12.3847 16.4979 12.3847C16.04 12.3847 15.6653 12.0039 15.6653 11.5385C15.6653 11.0731 16.04 10.6923 16.4979 10.6923Z",fill:"black"})]}),l.jsx("g",{mask:"url(#mask0_12_2)",children:l.jsx("path",{d:"M24 0H0V24H24V0Z"})})]})),F0=x("SquareUserIcon",l.jsx("path",{d:"M2 4.25166V19.7483C2 20.9404 2.92715 22 4.25166 22H19.7483C20.9404 22 22 20.9404 22 19.7483V4.25166C22 3.0596 20.9404 2 19.7483 2H4.25166C2.92715 2 2 2.92715 2 4.25166ZM15.245 8.62252C15.245 10.4768 13.7881 11.9338 11.9338 11.9338C10.0795 11.9338 8.62252 10.4768 8.62252 8.62252C8.62252 6.76821 10.0795 5.31126 11.9338 5.31126C13.7881 5.31126 15.245 6.76821 15.245 8.62252ZM5.31126 17.4967C5.31126 15.245 9.68212 14.053 11.9338 14.053C14.1854 14.053 18.5563 15.245 18.5563 17.4967V18.5563H5.31126V17.4967Z"})),R0=x("StarOutlineIcon",l.jsx("path",{d:"M22 9.24L14.81 8.62L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21L12 17.27L18.18 21L16.55 13.97L22 9.24ZM12 15.4L8.24 17.67L9.24 13.39L5.92 10.51L10.3 10.13L12 6.1L13.71 10.14L18.09 10.52L14.77 13.4L15.77 17.68L12 15.4Z"})),Z0=x("StarIcon",l.jsx("path",{d:"M12 17.27L18.18 21L16.54 13.97L22 9.24L14.81 8.63L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21L12 17.27Z"})),W0=x("TimerIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.21429 2H14.9286V3.90476H9.21429V2ZM11.119 14.381V8.66667H13.0238V14.381H11.119ZM18.7667 8.08571L20.119 6.73333C19.7095 6.24762 19.2619 5.79048 18.7762 5.39048L17.4238 6.74286C15.9476 5.5619 14.0905 4.85714 12.0714 4.85714C7.3381 4.85714 3.5 8.69524 3.5 13.4286C3.5 18.1619 7.32857 22 12.0714 22C16.8143 22 20.6429 18.1619 20.6429 13.4286C20.6429 11.4095 19.9381 9.55238 18.7667 8.08571ZM5.40476 13.4286C5.40476 17.1143 8.38571 20.0952 12.0714 20.0952C15.7571 20.0952 18.7381 17.1143 18.7381 13.4286C18.7381 9.74286 15.7571 6.7619 12.0714 6.7619C8.38571 6.7619 5.40476 9.74286 5.40476 13.4286Z"})),z0=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M7 22C6.45 22 5.97933 21.8043 5.588 21.413C5.196 21.021 5 20.55 5 20V6H19V20C19 20.55 18.8043 21.021 18.413 21.413C18.021 21.8043 17.55 22 17 22H7ZM17 8H7V20H17V8ZM9 19H11V9H9V19ZM13 19H15V9H13V19Z"}),l.jsx("path",{d:"M20 5H4V3H9V2H15V3H20V5Z"})]}),B0=x("TrashIcon",z0),U0=x("TriangleAlertIcon",l.jsx("path",{d:"M1 21H23L12 2L1 21ZM13 19H11V17H13V19ZM13 15H11V9H13V15Z"})),K0=x("UsersIcon",l.jsx("path",{d:"M16 11C17.66 11 18.99 9.66 18.99 8C18.99 6.34 17.66 5 16 5C14.34 5 13 6.34 13 8C13 9.66 14.34 11 16 11ZM8 11C9.66 11 10.99 9.66 10.99 8C10.99 6.34 9.66 5 8 5C6.34 5 5 6.34 5 8C5 9.66 6.34 11 8 11ZM8 13C5.67 13 1 14.17 1 16.5V19H15V16.5C15 14.17 10.33 13 8 13ZM16 13C15.71 13 15.38 13.02 15.03 13.05C16.19 13.89 17 15.02 17 16.5V19H23V16.5C23 14.17 18.33 13 16 13Z"})),G0=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M12.125 14.5C13.7819 14.5 15.125 13.1569 15.125 11.5C15.125 9.84315 13.7819 8.5 12.125 8.5C10.4681 8.5 9.125 9.84315 9.125 11.5C9.125 13.1569 10.4681 14.5 12.125 14.5Z"}),l.jsx("path",{d:"M2.125 3.5C2.125 2.39543 3.02043 1.5 4.125 1.5H20.125C21.2296 1.5 22.125 2.39543 22.125 3.5V19.5C22.125 20.6046 21.2296 21.5 20.125 21.5H19.125V22C19.125 22.5523 18.6773 23 18.125 23C17.5727 23 17.125 22.5523 17.125 22V21.5H7.125V22C7.125 22.5523 6.67728 23 6.125 23C5.57272 23 5.125 22.5523 5.125 22V21.5H4.125C3.02043 21.5 2.125 20.6046 2.125 19.5V3.5ZM11.125 6V6.60002C9.16587 6.9977 7.6227 8.54087 7.22502 10.5H6.625C6.07272 10.5 5.625 10.9477 5.625 11.5C5.625 12.0523 6.07272 12.5 6.625 12.5H7.22502C7.6227 14.4591 9.16587 16.0023 11.125 16.4V17C11.125 17.5523 11.5727 18 12.125 18C12.6773 18 13.125 17.5523 13.125 17V16.4C15.0841 16.0023 16.6273 14.4591 17.025 12.5H17.625C18.1773 12.5 18.625 12.0523 18.625 11.5C18.625 10.9477 18.1773 10.5 17.625 10.5H17.025C16.6273 8.54087 15.0841 6.9977 13.125 6.60002V6C13.125 5.44772 12.6773 5 12.125 5C11.5727 5 11.125 5.44772 11.125 6Z"})]}),Y0=x("VaultIcon",G0),Po=x("XIcon",l.jsx("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"})),X0=T2,q0=j2,bi=O2,Q0=mi,xo=i.forwardRef(({className:e,...t},n)=>l.jsx(fi,{ref:n,className:$(["ksjsui-fixed ksjsui-inset-0 ksjsui-z-50 ksjsui-bg-black/80","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0"],e),...t}));xo.displayName=fi.displayName;const yi=i.forwardRef(({className:e,children:t,...n},o)=>l.jsxs(bi,{children:[l.jsx(xo,{}),l.jsxs(pi,{ref:o,className:$(["ksjsui-fixed ksjsui-left-[50%] ksjsui-top-[50%] ksjsui-z-50 ksjsui-grid ksjsui-w-full ksjsui-max-w-lg ksjsui-translate-x-[-50%] ksjsui-translate-y-[-50%] ksjsui-gap-4 ksjsui-border ksjsui-bg-background ksjsui-p-6 ksjsui-shadow-lg ksjsui-duration-200","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0 data-[state=open]:ksjsui-zoom-in-95 data-[state=open]:ksjsui-slide-in-from-left-1/2 data-[state=open]:ksjsui-slide-in-from-top-[48%]","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0 data-[state=closed]:ksjsui-zoom-out-95 data-[state=closed]:ksjsui-slide-out-to-left-1/2 data-[state=closed]:ksjsui-slide-out-to-top-[48%]","sm:ksjsui-rounded-lg"],e),...n,children:[t,l.jsxs(mi,{className:$(["ksjsui-absolute ksjsui-end-4 ksjsui-top-4 ksjsui-rounded-sm ksjsui-opacity-70 ksjsui-ring-offset-background ksjsui-transition-opacity hover:ksjsui-opacity-100","focus:ksjsui-outline-none focus:ksjsui-ring-2 focus:ksjsui-ring-ring focus:ksjsui-ring-offset-2","disabled:ksjsui-pointer-events-none"]),children:[l.jsx(Po,{className:"ksjsui-size-4"}),l.jsx("span",{className:"ksjsui-sr-only",children:"Close"})]})]})]}));yi.displayName=pi.displayName;const wi=({className:e,...t})=>l.jsx("div",{className:$("ksjsui-flex ksjsui-flex-col ksjsui-space-y-1.5",e),...t});wi.displayName="DialogHeader";const ki=({className:e,...t})=>l.jsx("div",{className:$(["ksjsui-flex ksjsui-flex-col-reverse","sm:ksjsui-flex-row sm:ksjsui-justify-end sm:ksjsui-space-x-2"],e),...t});ki.displayName="DialogFooter";const Ei=i.forwardRef(({className:e,...t},n)=>l.jsx(hi,{ref:n,className:$("ksjsui-text-lg ksjsui-font-semibold ksjsui-leading-none ksjsui-tracking-tight",e),...t}));Ei.displayName=hi.displayName;const Si=i.forwardRef(({className:e,...t},n)=>l.jsx(vi,{ref:n,className:$("ksjsui-text-sm",e),...t}));Si.displayName=vi.displayName;var J0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],pe=J0.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Mi(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}function Pi(e){const t=e+"CollectionProvider",[n,o]=de(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:C,children:p}=m,g=te.useRef(null),b=te.useRef(new Map).current;return l.jsx(r,{scope:C,itemMap:b,collectionRef:g,children:p})};c.displayName=t;const a=e+"CollectionSlot",d=te.forwardRef((m,C)=>{const{scope:p,children:g}=m,b=s(a,p),y=V(C,b.collectionRef);return l.jsx(re,{ref:y,children:g})});d.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",h=te.forwardRef((m,C)=>{const{scope:p,children:g,...b}=m,y=te.useRef(null),w=V(C,y),k=s(u,p);return te.useEffect(()=>(k.itemMap.set(y,{ref:y,...b}),()=>void k.itemMap.delete(y))),l.jsx(re,{[f]:"",ref:w,children:g})});h.displayName=u;function v(m){const C=s(e+"CollectionConsumer",m);return te.useCallback(()=>{const g=C.collectionRef.current;if(!g)return[];const b=Array.from(g.querySelectorAll(`[${f}]`));return Array.from(C.itemMap.values()).sort((k,M)=>b.indexOf(k.ref.current)-b.indexOf(M.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:c,Slot:d,ItemSlot:h},v,o]}var xi=i.createContext(void 0),e3=e=>{const{dir:t,children:n}=e;return l.jsx(xi.Provider,{value:t,children:n})};function sn(e){const t=i.useContext(xi);return e||t||"ltr"}var t3="DismissableLayer",Lo="dismissableLayer.update",n3="dismissableLayer.pointerDownOutside",o3="dismissableLayer.focusOutside",Li,Ii=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ni=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(Ii),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(g),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=i3(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),P=a3(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Li=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Ai(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Li)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Ai())},[f,u]),i.useEffect(()=>{const E=()=>m({});return document.addEventListener(Lo,E),()=>document.removeEventListener(Lo,E)},[]),l.jsx(pe.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,P.onFocusCapture),onBlurCapture:I(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});Ni.displayName=t3;var r3="DismissableLayerBranch",s3=i.forwardRef((e,t)=>{const n=i.useContext(Ii),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(pe.div,{...e,ref:r})});s3.displayName=r3;function i3(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Ti(n3,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function a3(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Ti(o3,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ai(){const e=new CustomEvent(Lo);document.dispatchEvent(e)}function Ti(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?Mi(r,s):r.dispatchEvent(s)}var Io="focusScope.autoFocusOnMount",No="focusScope.autoFocusOnUnmount",ji={bubbles:!1,cancelable:!0},c3="FocusScope",Oi=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...c}=e,[a,d]=i.useState(null),u=U(r),f=U(s),h=i.useRef(null),v=V(t,p=>d(p)),m=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let p=function(w){if(m.paused||!a)return;const k=w.target;a.contains(k)?h.current=k:Be(h.current,{select:!0})},g=function(w){if(m.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||Be(h.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const M of w)M.removedNodes.length>0&&Be(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",g);const y=new MutationObserver(b);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",g),y.disconnect()}}},[o,a,m.paused]),i.useEffect(()=>{if(a){Hi.add(m);const p=document.activeElement;if(!a.contains(p)){const b=new CustomEvent(Io,ji);a.addEventListener(Io,u),a.dispatchEvent(b),b.defaultPrevented||(l3(h3(_i(a)),{select:!0}),document.activeElement===p&&Be(a))}return()=>{a.removeEventListener(Io,u),setTimeout(()=>{const b=new CustomEvent(No,ji);a.addEventListener(No,f),a.dispatchEvent(b),b.defaultPrevented||Be(p??document.body,{select:!0}),a.removeEventListener(No,f),Hi.remove(m)},0)}}},[a,u,f,m]);const C=i.useCallback(p=>{if(!n&&!o||m.paused)return;const g=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(g&&b){const y=p.currentTarget,[w,k]=u3(y);w&&k?!p.shiftKey&&b===k?(p.preventDefault(),n&&Be(w,{select:!0})):p.shiftKey&&b===w&&(p.preventDefault(),n&&Be(k,{select:!0})):b===y&&p.preventDefault()}},[n,o,m.paused]);return l.jsx(pe.div,{tabIndex:-1,...c,ref:v,onKeyDown:C})});Oi.displayName=c3;function l3(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Be(o,{select:t}),document.activeElement!==n)return}function u3(e){const t=_i(e),n=$i(t,e),o=$i(t.reverse(),e);return[n,o]}function _i(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function $i(e,t){for(const n of e)if(!d3(n,{upTo:t}))return n}function d3(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 f3(e){return e instanceof HTMLInputElement&&"select"in e}function Be(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&f3(e)&&t&&e.select()}}var Hi=p3();function p3(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Vi(e,t),e.unshift(t)},remove(t){var n;e=Vi(e,t),(n=e[0])==null||n.resume()}}}function Vi(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function h3(e){return e.filter(t=>t.tagName!=="A")}const v3=["top","right","bottom","left"],Ue=Math.min,ve=Math.max,an=Math.round,cn=Math.floor,Ie=e=>({x:e,y:e}),m3={left:"right",right:"left",bottom:"top",top:"bottom"},g3={start:"end",end:"start"};function Ao(e,t,n){return ve(e,Ue(t,n))}function He(e,t){return typeof e=="function"?e(t):e}function Ve(e){return e.split("-")[0]}function gt(e){return e.split("-")[1]}function To(e){return e==="x"?"y":"x"}function jo(e){return e==="y"?"height":"width"}function Ke(e){return["top","bottom"].includes(Ve(e))?"y":"x"}function Oo(e){return To(Ke(e))}function C3(e,t,n){n===void 0&&(n=!1);const o=gt(e),r=Oo(e),s=jo(r);let c=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=ln(c)),[c,ln(c)]}function b3(e){const t=ln(e);return[_o(e),t,_o(t)]}function _o(e){return e.replace(/start|end/g,t=>g3[t])}function y3(e,t,n){const o=["left","right"],r=["right","left"],s=["top","bottom"],c=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?s:c;default:return[]}}function w3(e,t,n,o){const r=gt(e);let s=y3(Ve(e),n==="start",o);return r&&(s=s.map(c=>c+"-"+r),t&&(s=s.concat(s.map(_o)))),s}function ln(e){return e.replace(/left|right|bottom|top/g,t=>m3[t])}function k3(e){return{top:0,right:0,bottom:0,left:0,...e}}function Di(e){return typeof e!="number"?k3(e):{top:e,right:e,bottom:e,left:e}}function un(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Fi(e,t,n){let{reference:o,floating:r}=e;const s=Ke(t),c=Oo(t),a=jo(c),d=Ve(t),u=s==="y",f=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,v=o[a]/2-r[a]/2;let m;switch(d){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:h};break;case"left":m={x:o.x-r.width,y:h};break;default:m={x:o.x,y:o.y}}switch(gt(t)){case"start":m[c]-=v*(n&&u?-1:1);break;case"end":m[c]+=v*(n&&u?-1:1);break}return m}const E3=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:c}=n,a=s.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(t));let u=await c.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:h}=Fi(u,o,d),v=o,m={},C=0;for(let p=0;p<a.length;p++){const{name:g,fn:b}=a[p],{x:y,y:w,data:k,reset:M}=await b({x:f,y:h,initialPlacement:o,placement:v,strategy:r,middlewareData:m,rects:u,platform:c,elements:{reference:e,floating:t}});f=y??f,h=w??h,m={...m,[g]:{...m[g],...k}},M&&C<=50&&(C++,typeof M=="object"&&(M.placement&&(v=M.placement),M.rects&&(u=M.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:r}):M.rects),{x:f,y:h}=Fi(u,v,d)),p=-1)}return{x:f,y:h,placement:v,strategy:r,middlewareData:m}};async function At(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:c,elements:a,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:v=!1,padding:m=0}=He(t,e),C=Di(m),g=a[v?h==="floating"?"reference":"floating":h],b=un(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:d})),y=h==="floating"?{x:o,y:r,width:c.floating.width,height:c.floating.height}:c.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),k=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},M=un(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:d}):y);return{top:(b.top-M.top+C.top)/k.y,bottom:(M.bottom-b.bottom+C.bottom)/k.y,left:(b.left-M.left+C.left)/k.x,right:(M.right-b.right+C.right)/k.x}}const S3=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:s,platform:c,elements:a,middlewareData:d}=t,{element:u,padding:f=0}=He(e,t)||{};if(u==null)return{};const h=Di(f),v={x:n,y:o},m=Oo(r),C=jo(m),p=await c.getDimensions(u),g=m==="y",b=g?"top":"left",y=g?"bottom":"right",w=g?"clientHeight":"clientWidth",k=s.reference[C]+s.reference[m]-v[m]-s.floating[C],M=v[m]-s.reference[m],P=await(c.getOffsetParent==null?void 0:c.getOffsetParent(u));let E=P?P[w]:0;(!E||!await(c.isElement==null?void 0:c.isElement(P)))&&(E=a.floating[w]||s.floating[C]);const L=k/2-M/2,N=E/2-p[C]/2-1,T=Ue(h[b],N),D=Ue(h[y],N),_=T,R=E-p[C]-D,j=E/2-p[C]/2+L,W=Ao(_,j,R),H=!d.arrow&>(r)!=null&&j!==W&&s.reference[C]/2-(j<_?T:D)-p[C]/2<0,Z=H?j<_?j-_:j-R:0;return{[m]:v[m]+Z,data:{[m]:W,centerOffset:j-W-Z,...H&&{alignmentOffset:Z}},reset:H}}}),M3=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:c,initialPlacement:a,platform:d,elements:u}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:p=!0,...g}=He(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const b=Ve(r),y=Ke(a),w=Ve(a)===a,k=await(d.isRTL==null?void 0:d.isRTL(u.floating)),M=v||(w||!p?[ln(a)]:b3(a)),P=C!=="none";!v&&P&&M.push(...w3(a,p,C,k));const E=[a,...M],L=await At(t,g),N=[];let T=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&N.push(L[b]),h){const j=C3(r,c,k);N.push(L[j[0]],L[j[1]])}if(T=[...T,{placement:r,overflows:N}],!N.every(j=>j<=0)){var D,_;const j=(((D=s.flip)==null?void 0:D.index)||0)+1,W=E[j];if(W)return{data:{index:j,overflows:T},reset:{placement:W}};let H=(_=T.filter(Z=>Z.overflows[0]<=0).sort((Z,O)=>Z.overflows[1]-O.overflows[1])[0])==null?void 0:_.placement;if(!H)switch(m){case"bestFit":{var R;const Z=(R=T.filter(O=>{if(P){const A=Ke(O.placement);return A===y||A==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(A=>A>0).reduce((A,K)=>A+K,0)]).sort((O,A)=>O[1]-A[1])[0])==null?void 0:R[0];Z&&(H=Z);break}case"initialPlacement":H=a;break}if(r!==H)return{reset:{placement:H}}}return{}}}};function Ri(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Zi(e){return v3.some(t=>e[t]>=0)}const P3=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=He(e,t);switch(o){case"referenceHidden":{const s=await At(t,{...r,elementContext:"reference"}),c=Ri(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Zi(c)}}}case"escaped":{const s=await At(t,{...r,altBoundary:!0}),c=Ri(s,n.floating);return{data:{escapedOffsets:c,escaped:Zi(c)}}}default:return{}}}}};async function x3(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),c=Ve(n),a=gt(n),d=Ke(n)==="y",u=["left","top"].includes(c)?-1:1,f=s&&d?-1:1,h=He(t,e);let{mainAxis:v,crossAxis:m,alignmentAxis:C}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof C=="number"&&(m=a==="end"?C*-1:C),d?{x:m*f,y:v*u}:{x:v*u,y:m*f}}const L3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:c,middlewareData:a}=t,d=await x3(t,e);return c===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:r+d.x,y:s+d.y,data:{...d,placement:c}}}}},I3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:a={fn:g=>{let{x:b,y}=g;return{x:b,y}}},...d}=He(e,t),u={x:n,y:o},f=await At(t,d),h=Ke(Ve(r)),v=To(h);let m=u[v],C=u[h];if(s){const g=v==="y"?"top":"left",b=v==="y"?"bottom":"right",y=m+f[g],w=m-f[b];m=Ao(y,m,w)}if(c){const g=h==="y"?"top":"left",b=h==="y"?"bottom":"right",y=C+f[g],w=C-f[b];C=Ao(y,C,w)}const p=a.fn({...t,[v]:m,[h]:C});return{...p,data:{x:p.x-n,y:p.y-o,enabled:{[v]:s,[h]:c}}}}}},N3=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:s,middlewareData:c}=t,{offset:a=0,mainAxis:d=!0,crossAxis:u=!0}=He(e,t),f={x:n,y:o},h=Ke(r),v=To(h);let m=f[v],C=f[h];const p=He(a,t),g=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(d){const w=v==="y"?"height":"width",k=s.reference[v]-s.floating[w]+g.mainAxis,M=s.reference[v]+s.reference[w]-g.mainAxis;m<k?m=k:m>M&&(m=M)}if(u){var b,y;const w=v==="y"?"width":"height",k=["top","left"].includes(Ve(r)),M=s.reference[h]-s.floating[w]+(k&&((b=c.offset)==null?void 0:b[h])||0)+(k?0:g.crossAxis),P=s.reference[h]+s.reference[w]+(k?0:((y=c.offset)==null?void 0:y[h])||0)-(k?g.crossAxis:0);C<M?C=M:C>P&&(C=P)}return{[v]:m,[h]:C}}}},A3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:s,platform:c,elements:a}=t,{apply:d=()=>{},...u}=He(e,t),f=await At(t,u),h=Ve(r),v=gt(r),m=Ke(r)==="y",{width:C,height:p}=s.floating;let g,b;h==="top"||h==="bottom"?(g=h,b=v===(await(c.isRTL==null?void 0:c.isRTL(a.floating))?"start":"end")?"left":"right"):(b=h,g=v==="end"?"top":"bottom");const y=p-f.top-f.bottom,w=C-f.left-f.right,k=Ue(p-f[g],y),M=Ue(C-f[b],w),P=!t.middlewareData.shift;let E=k,L=M;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(L=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(E=y),P&&!v){const T=ve(f.left,0),D=ve(f.right,0),_=ve(f.top,0),R=ve(f.bottom,0);m?L=C-2*(T!==0||D!==0?T+D:ve(f.left,f.right)):E=p-2*(_!==0||R!==0?_+R:ve(f.top,f.bottom))}await d({...t,availableWidth:L,availableHeight:E});const N=await c.getDimensions(a.floating);return C!==N.width||p!==N.height?{reset:{rects:!0}}:{}}}};function dn(){return typeof window<"u"}function Ct(e){return Wi(e)?(e.nodeName||"").toLowerCase():"#document"}function me(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ne(e){var t;return(t=(Wi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Wi(e){return dn()?e instanceof Node||e instanceof me(e).Node:!1}function we(e){return dn()?e instanceof Element||e instanceof me(e).Element:!1}function Ae(e){return dn()?e instanceof HTMLElement||e instanceof me(e).HTMLElement:!1}function zi(e){return!dn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof me(e).ShadowRoot}function Tt(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=ke(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function T3(e){return["table","td","th"].includes(Ct(e))}function fn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function $o(e){const t=Ho(),n=we(e)?ke(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function j3(e){let t=Ge(e);for(;Ae(t)&&!bt(t);){if($o(t))return t;if(fn(t))return null;t=Ge(t)}return null}function Ho(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function bt(e){return["html","body","#document"].includes(Ct(e))}function ke(e){return me(e).getComputedStyle(e)}function pn(e){return we(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ge(e){if(Ct(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zi(e)&&e.host||Ne(e);return zi(t)?t.host:t}function Bi(e){const t=Ge(e);return bt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ae(t)&&Tt(t)?t:Bi(t)}function jt(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Bi(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),c=me(r);if(s){const a=Vo(c);return t.concat(c,c.visualViewport||[],Tt(r)?r:[],a&&n?jt(a):[])}return t.concat(r,jt(r,[],n))}function Vo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ui(e){const t=ke(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Ae(e),s=r?e.offsetWidth:n,c=r?e.offsetHeight:o,a=an(n)!==s||an(o)!==c;return a&&(n=s,o=c),{width:n,height:o,$:a}}function Do(e){return we(e)?e:e.contextElement}function yt(e){const t=Do(e);if(!Ae(t))return Ie(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=Ui(t);let c=(s?an(n.width):n.width)/o,a=(s?an(n.height):n.height)/r;return(!c||!Number.isFinite(c))&&(c=1),(!a||!Number.isFinite(a))&&(a=1),{x:c,y:a}}const O3=Ie(0);function Ki(e){const t=me(e);return!Ho()||!t.visualViewport?O3:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _3(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==me(e)?!1:t}function st(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Do(e);let c=Ie(1);t&&(o?we(o)&&(c=yt(o)):c=yt(e));const a=_3(s,n,o)?Ki(s):Ie(0);let d=(r.left+a.x)/c.x,u=(r.top+a.y)/c.y,f=r.width/c.x,h=r.height/c.y;if(s){const v=me(s),m=o&&we(o)?me(o):o;let C=v,p=Vo(C);for(;p&&o&&m!==C;){const g=yt(p),b=p.getBoundingClientRect(),y=ke(p),w=b.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x,k=b.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;d*=g.x,u*=g.y,f*=g.x,h*=g.y,d+=w,u+=k,C=me(p),p=Vo(C)}}return un({width:f,height:h,x:d,y:u})}function Fo(e,t){const n=pn(e).scrollLeft;return t?t.left+n:st(Ne(e)).left+n}function Gi(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),r=o.left+t.scrollLeft-(n?0:Fo(e,o)),s=o.top+t.scrollTop;return{x:r,y:s}}function $3(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",c=Ne(o),a=t?fn(t.floating):!1;if(o===c||a&&s)return n;let d={scrollLeft:0,scrollTop:0},u=Ie(1);const f=Ie(0),h=Ae(o);if((h||!h&&!s)&&((Ct(o)!=="body"||Tt(c))&&(d=pn(o)),Ae(o))){const m=st(o);u=yt(o),f.x=m.x+o.clientLeft,f.y=m.y+o.clientTop}const v=c&&!h&&!s?Gi(c,d,!0):Ie(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-d.scrollLeft*u.x+f.x+v.x,y:n.y*u.y-d.scrollTop*u.y+f.y+v.y}}function H3(e){return Array.from(e.getClientRects())}function V3(e){const t=Ne(e),n=pn(e),o=e.ownerDocument.body,r=ve(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=ve(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let c=-n.scrollLeft+Fo(e);const a=-n.scrollTop;return ke(o).direction==="rtl"&&(c+=ve(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:c,y:a}}function D3(e,t){const n=me(e),o=Ne(e),r=n.visualViewport;let s=o.clientWidth,c=o.clientHeight,a=0,d=0;if(r){s=r.width,c=r.height;const u=Ho();(!u||u&&t==="fixed")&&(a=r.offsetLeft,d=r.offsetTop)}return{width:s,height:c,x:a,y:d}}function F3(e,t){const n=st(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=Ae(e)?yt(e):Ie(1),c=e.clientWidth*s.x,a=e.clientHeight*s.y,d=r*s.x,u=o*s.y;return{width:c,height:a,x:d,y:u}}function Yi(e,t,n){let o;if(t==="viewport")o=D3(e,n);else if(t==="document")o=V3(Ne(e));else if(we(t))o=F3(t,n);else{const r=Ki(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return un(o)}function Xi(e,t){const n=Ge(e);return n===t||!we(n)||bt(n)?!1:ke(n).position==="fixed"||Xi(n,t)}function R3(e,t){const n=t.get(e);if(n)return n;let o=jt(e,[],!1).filter(a=>we(a)&&Ct(a)!=="body"),r=null;const s=ke(e).position==="fixed";let c=s?Ge(e):e;for(;we(c)&&!bt(c);){const a=ke(c),d=$o(c);!d&&a.position==="fixed"&&(r=null),(s?!d&&!r:!d&&a.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||Tt(c)&&!d&&Xi(e,c))?o=o.filter(f=>f!==c):r=a,c=Ge(c)}return t.set(e,o),o}function Z3(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const c=[...n==="clippingAncestors"?fn(t)?[]:R3(t,this._c):[].concat(n),o],a=c[0],d=c.reduce((u,f)=>{const h=Yi(t,f,r);return u.top=ve(h.top,u.top),u.right=Ue(h.right,u.right),u.bottom=Ue(h.bottom,u.bottom),u.left=ve(h.left,u.left),u},Yi(t,a,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function W3(e){const{width:t,height:n}=Ui(e);return{width:t,height:n}}function z3(e,t,n){const o=Ae(t),r=Ne(t),s=n==="fixed",c=st(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const d=Ie(0);if(o||!o&&!s)if((Ct(t)!=="body"||Tt(r))&&(a=pn(t)),o){const v=st(t,!0,s,t);d.x=v.x+t.clientLeft,d.y=v.y+t.clientTop}else r&&(d.x=Fo(r));const u=r&&!o&&!s?Gi(r,a):Ie(0),f=c.left+a.scrollLeft-d.x-u.x,h=c.top+a.scrollTop-d.y-u.y;return{x:f,y:h,width:c.width,height:c.height}}function Ro(e){return ke(e).position==="static"}function qi(e,t){if(!Ae(e)||ke(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ne(e)===n&&(n=n.ownerDocument.body),n}function Qi(e,t){const n=me(e);if(fn(e))return n;if(!Ae(e)){let r=Ge(e);for(;r&&!bt(r);){if(we(r)&&!Ro(r))return r;r=Ge(r)}return n}let o=qi(e,t);for(;o&&T3(o)&&Ro(o);)o=qi(o,t);return o&&bt(o)&&Ro(o)&&!$o(o)?n:o||j3(e)||n}const B3=async function(e){const t=this.getOffsetParent||Qi,n=this.getDimensions,o=await n(e.floating);return{reference:z3(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function U3(e){return ke(e).direction==="rtl"}const K3={convertOffsetParentRelativeRectToViewportRelativeRect:$3,getDocumentElement:Ne,getClippingRect:Z3,getOffsetParent:Qi,getElementRects:B3,getClientRects:H3,getDimensions:W3,getScale:yt,isElement:we,isRTL:U3};function Ji(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function G3(e,t){let n=null,o;const r=Ne(e);function s(){var a;clearTimeout(o),(a=n)==null||a.disconnect(),n=null}function c(a,d){a===void 0&&(a=!1),d===void 0&&(d=1),s();const u=e.getBoundingClientRect(),{left:f,top:h,width:v,height:m}=u;if(a||t(),!v||!m)return;const C=cn(h),p=cn(r.clientWidth-(f+v)),g=cn(r.clientHeight-(h+m)),b=cn(f),w={rootMargin:-C+"px "+-p+"px "+-g+"px "+-b+"px",threshold:ve(0,Ue(1,d))||1};let k=!0;function M(P){const E=P[0].intersectionRatio;if(E!==d){if(!k)return c();E?c(!1,E):o=setTimeout(()=>{c(!1,1e-7)},1e3)}E===1&&!Ji(u,e.getBoundingClientRect())&&c(),k=!1}try{n=new IntersectionObserver(M,{...w,root:r.ownerDocument})}catch{n=new IntersectionObserver(M,w)}n.observe(e)}return c(!0),s}function hn(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,u=Do(e),f=r||s?[...u?jt(u):[],...jt(t)]:[];f.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const h=u&&a?G3(u,n):null;let v=-1,m=null;c&&(m=new ResizeObserver(b=>{let[y]=b;y&&y.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),n()}),u&&!d&&m.observe(u),m.observe(t));let C,p=d?st(e):null;d&&g();function g(){const b=st(e);p&&!Ji(p,b)&&n(),p=b,C=requestAnimationFrame(g)}return n(),()=>{var b;f.forEach(y=>{r&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(b=m)==null||b.disconnect(),m=null,d&&cancelAnimationFrame(C)}}const Y3=L3,X3=I3,q3=M3,Q3=A3,J3=P3,ea=S3,eh=N3,th=(e,t,n)=>{const o=new Map,r={platform:K3,...n},s={...r.platform,_c:o};return E3(e,t,{...r,platform:s})};var vn=typeof document<"u"?te.useLayoutEffect:te.useEffect;function mn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!mn(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const s=r[o];if(!(s==="_owner"&&e.$$typeof)&&!mn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ta(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function na(e,t){const n=ta(e);return Math.round(t*n)/n}function Zo(e){const t=i.useRef(e);return vn(()=>{t.current=e}),t}function gn(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:s,floating:c}={},transform:a=!0,whileElementsMounted:d,open:u}=e,[f,h]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,m]=i.useState(o);mn(v,o)||m(o);const[C,p]=i.useState(null),[g,b]=i.useState(null),y=i.useCallback(O=>{O!==P.current&&(P.current=O,p(O))},[]),w=i.useCallback(O=>{O!==E.current&&(E.current=O,b(O))},[]),k=s||C,M=c||g,P=i.useRef(null),E=i.useRef(null),L=i.useRef(f),N=d!=null,T=Zo(d),D=Zo(r),_=Zo(u),R=i.useCallback(()=>{if(!P.current||!E.current)return;const O={placement:t,strategy:n,middleware:v};D.current&&(O.platform=D.current),th(P.current,E.current,O).then(A=>{const K={...A,isPositioned:_.current!==!1};j.current&&!mn(L.current,K)&&(L.current=K,xe.flushSync(()=>{h(K)}))})},[v,t,n,D,_]);vn(()=>{u===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,h(O=>({...O,isPositioned:!1})))},[u]);const j=i.useRef(!1);vn(()=>(j.current=!0,()=>{j.current=!1}),[]),vn(()=>{if(k&&(P.current=k),M&&(E.current=M),k&&M){if(T.current)return T.current(k,M,R);R()}},[k,M,R,T,N]);const W=i.useMemo(()=>({reference:P,floating:E,setReference:y,setFloating:w}),[y,w]),H=i.useMemo(()=>({reference:k,floating:M}),[k,M]),Z=i.useMemo(()=>{const O={position:n,left:0,top:0};if(!H.floating)return O;const A=na(H.floating,f.x),K=na(H.floating,f.y);return a?{...O,transform:"translate("+A+"px, "+K+"px)",...ta(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:K}},[n,a,H.floating,f.x,f.y]);return i.useMemo(()=>({...f,update:R,refs:W,elements:H,floatingStyles:Z}),[f,R,W,H,Z])}const nh=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?ea({element:o.current,padding:r}).fn(n):{}:o?ea({element:o,padding:r}).fn(n):{}}}},Cn=(e,t)=>({...Y3(e),options:[e,t]}),bn=(e,t)=>({...X3(e),options:[e,t]}),yn=(e,t)=>({...eh(e),options:[e,t]}),wn=(e,t)=>({...q3(e),options:[e,t]}),kn=(e,t)=>({...Q3(e),options:[e,t]}),En=(e,t)=>({...J3(e),options:[e,t]}),Sn=(e,t)=>({...nh(e),options:[e,t]});var oh="Arrow",oa=i.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return l.jsx(pe.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});oa.displayName=oh;var rh=oa;function Mn(e){const[t,n]=i.useState(void 0);return J(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const s=r[0];let c,a;if("borderBoxSize"in s){const d=s.borderBoxSize,u=Array.isArray(d)?d[0]:d;c=u.inlineSize,a=u.blockSize}else c=e.offsetWidth,a=e.offsetHeight;n({width:c,height:a})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var Wo="Popper",[ra,sa]=de(Wo),[sh,ia]=ra(Wo),aa=e=>{const{__scopePopper:t,children:n}=e,[o,r]=i.useState(null);return l.jsx(sh,{scope:t,anchor:o,onAnchorChange:r,children:n})};aa.displayName=Wo;var ca="PopperAnchor",la=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=ia(ca,n),c=i.useRef(null),a=V(t,c);return i.useEffect(()=>{s.onAnchorChange((o==null?void 0:o.current)||c.current)}),o?null:l.jsx(pe.div,{...r,ref:a})});la.displayName=ca;var zo="PopperContent",[ih,ah]=ra(zo),ua=i.forwardRef((e,t)=>{var F,Y,Q,G,X,q;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:c=0,arrowPadding:a=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:m="optimized",onPlaced:C,...p}=e,g=ia(zo,n),[b,y]=i.useState(null),w=V(t,ee=>y(ee)),[k,M]=i.useState(null),P=Mn(k),E=(P==null?void 0:P.width)??0,L=(P==null?void 0:P.height)??0,N=o+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(u)?u:[u],_=D.length>0,R={padding:T,boundary:D.filter(lh),altBoundary:_},{refs:j,floatingStyles:W,placement:H,isPositioned:Z,middlewareData:O}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ee)=>hn(...ee,{animationFrame:m==="always"}),elements:{reference:g.anchor},middleware:[Cn({mainAxis:r+L,alignmentAxis:c}),d&&bn({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?yn():void 0,...R}),d&&wn({...R}),kn({...R,apply:({elements:ee,rects:le,availableWidth:Se,availableHeight:Me})=>{const{width:Pe,height:lt}=le.reference,ue=ee.floating.style;ue.setProperty("--radix-popper-available-width",`${Se}px`),ue.setProperty("--radix-popper-available-height",`${Me}px`),ue.setProperty("--radix-popper-anchor-width",`${Pe}px`),ue.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),k&&Sn({element:k,padding:a}),uh({arrowWidth:E,arrowHeight:L}),v&&En({strategy:"referenceHidden",...R})]}),[A,K]=pa(H),z=U(C);J(()=>{Z&&(z==null||z())},[Z,z]);const oe=(F=O.arrow)==null?void 0:F.x,ae=(Y=O.arrow)==null?void 0:Y.y,se=((Q=O.arrow)==null?void 0:Q.centerOffset)!==0,[he,ce]=i.useState();return J(()=>{b&&ce(window.getComputedStyle(b).zIndex)},[b]),l.jsx("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:Z?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(G=O.transformOrigin)==null?void 0:G.x,(X=O.transformOrigin)==null?void 0:X.y].join(" "),...((q=O.hide)==null?void 0:q.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(ih,{scope:n,placedSide:A,onArrowChange:M,arrowX:oe,arrowY:ae,shouldHideArrow:se,children:l.jsx(pe.div,{"data-side":A,"data-align":K,...p,ref:w,style:{...p.style,animation:Z?void 0:"none"}})})})});ua.displayName=zo;var da="PopperArrow",ch={top:"bottom",right:"left",bottom:"top",left:"right"},fa=i.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=ah(da,o),c=ch[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(rh,{...r,ref:n,style:{...r.style,display:"block"}})})});fa.displayName=da;function lh(e){return e!==null}var uh=e=>({name:"transformOrigin",options:e,fn(t){var g,b,y;const{placement:n,rects:o,middlewareData:r}=t,c=((g=r.arrow)==null?void 0:g.centerOffset)!==0,a=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[u,f]=pa(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(((b=r.arrow)==null?void 0:b.x)??0)+a/2,m=(((y=r.arrow)==null?void 0:y.y)??0)+d/2;let C="",p="";return u==="bottom"?(C=c?h:`${v}px`,p=`${-d}px`):u==="top"?(C=c?h:`${v}px`,p=`${o.floating.height+d}px`):u==="right"?(C=`${-d}px`,p=c?h:`${m}px`):u==="left"&&(C=`${o.floating.width+d}px`,p=c?h:`${m}px`),{data:{x:C,y:p}}}});function pa(e){const[t,n="center"]=e.split("-");return[t,n]}var ha=aa,dh=la,fh=ua,ph=fa,hh="Portal",va=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);J(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx(pe.div,{...o,ref:t}),c):null});va.displayName=hh;function vh(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var Ot=e=>{const{present:t,children:n}=e,o=mh(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,gh(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};Ot.displayName="Presence";function mh(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=vh(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=Pn(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,m=Pn(u);e?d("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=m=>{const p=Pn(o.current).includes(m.animationName);if(m.target===t&&p&&(d("ANIMATION_END"),!r.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},v=m=>{m.target===t&&(s.current=Pn(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function Pn(e){return(e==null?void 0:e.animationName)||"none"}function gh(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Bo="rovingFocusGroup.onEntryFocus",Ch={bubbles:!1,cancelable:!0},xn="RovingFocusGroup",[Uo,ma,bh]=Pi(xn),[yh,ga]=de(xn,[bh]),[wh,kh]=yh(xn),Ca=i.forwardRef((e,t)=>l.jsx(Uo.Provider,{scope:e.__scopeRovingFocusGroup,children:l.jsx(Uo.Slot,{scope:e.__scopeRovingFocusGroup,children:l.jsx(Eh,{...e,ref:t})})}));Ca.displayName=xn;var Eh=i.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:r=!1,dir:s,currentTabStopId:c,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:d,onEntryFocus:u,preventScrollOnEntryFocus:f=!1,...h}=e,v=i.useRef(null),m=V(t,v),C=sn(s),[p=null,g]=_e({prop:c,defaultProp:a,onChange:d}),[b,y]=i.useState(!1),w=U(u),k=ma(n),M=i.useRef(!1),[P,E]=i.useState(0);return i.useEffect(()=>{const L=v.current;if(L)return L.addEventListener(Bo,w),()=>L.removeEventListener(Bo,w)},[w]),l.jsx(wh,{scope:n,orientation:o,dir:C,loop:r,currentTabStopId:p,onItemFocus:i.useCallback(L=>g(L),[g]),onItemShiftTab:i.useCallback(()=>y(!0),[]),onFocusableItemAdd:i.useCallback(()=>E(L=>L+1),[]),onFocusableItemRemove:i.useCallback(()=>E(L=>L-1),[]),children:l.jsx(pe.div,{tabIndex:b||P===0?-1:0,"data-orientation":o,...h,ref:m,style:{outline:"none",...e.style},onMouseDown:I(e.onMouseDown,()=>{M.current=!0}),onFocus:I(e.onFocus,L=>{const N=!M.current;if(L.target===L.currentTarget&&N&&!b){const T=new CustomEvent(Bo,Ch);if(L.currentTarget.dispatchEvent(T),!T.defaultPrevented){const D=k().filter(H=>H.focusable),_=D.find(H=>H.active),R=D.find(H=>H.id===p),W=[_,R,...D].filter(Boolean).map(H=>H.ref.current);wa(W,f)}}M.current=!1}),onBlur:I(e.onBlur,()=>y(!1))})})}),ba="RovingFocusGroupItem",ya=i.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:r=!1,tabStopId:s,...c}=e,a=ge(),d=s||a,u=kh(ba,n),f=u.currentTabStopId===d,h=ma(n),{onFocusableItemAdd:v,onFocusableItemRemove:m}=u;return i.useEffect(()=>{if(o)return v(),()=>m()},[o,v,m]),l.jsx(Uo.ItemSlot,{scope:n,id:d,focusable:o,active:r,children:l.jsx(pe.span,{tabIndex:f?0:-1,"data-orientation":u.orientation,...c,ref:t,onMouseDown:I(e.onMouseDown,C=>{o?u.onItemFocus(d):C.preventDefault()}),onFocus:I(e.onFocus,()=>u.onItemFocus(d)),onKeyDown:I(e.onKeyDown,C=>{if(C.key==="Tab"&&C.shiftKey){u.onItemShiftTab();return}if(C.target!==C.currentTarget)return;const p=Ph(C,u.orientation,u.dir);if(p!==void 0){if(C.metaKey||C.ctrlKey||C.altKey||C.shiftKey)return;C.preventDefault();let b=h().filter(y=>y.focusable).map(y=>y.ref.current);if(p==="last")b.reverse();else if(p==="prev"||p==="next"){p==="prev"&&b.reverse();const y=b.indexOf(C.currentTarget);b=u.loop?xh(b,y+1):b.slice(y+1)}setTimeout(()=>wa(b))}})})})});ya.displayName=ba;var Sh={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Mh(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Ph(e,t,n){const o=Mh(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return Sh[o]}function wa(e,t=!1){const n=document.activeElement;for(const o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}function xh(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var Lh=Ca,Ih=ya,Ko=["Enter"," "],Nh=["ArrowDown","PageUp","Home"],ka=["ArrowUp","PageDown","End"],Ah=[...Nh,...ka],Th={ltr:[...Ko,"ArrowRight"],rtl:[...Ko,"ArrowLeft"]},jh={ltr:["ArrowLeft"],rtl:["ArrowRight"]},_t="Menu",[$t,Oh,_h]=Pi(_t),[it,Ea]=de(_t,[_h,sa,ga]),Ht=sa(),Sa=ga(),[Ma,Ye]=it(_t),[$h,Vt]=it(_t),Pa=e=>{const{__scopeMenu:t,open:n=!1,children:o,dir:r,onOpenChange:s,modal:c=!0}=e,a=Ht(t),[d,u]=i.useState(null),f=i.useRef(!1),h=U(s),v=sn(r);return i.useEffect(()=>{const m=()=>{f.current=!0,document.addEventListener("pointerdown",C,{capture:!0,once:!0}),document.addEventListener("pointermove",C,{capture:!0,once:!0})},C=()=>f.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",C,{capture:!0}),document.removeEventListener("pointermove",C,{capture:!0})}},[]),l.jsx(ha,{...a,children:l.jsx(Ma,{scope:t,open:n,onOpenChange:h,content:d,onContentChange:u,children:l.jsx($h,{scope:t,onClose:i.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:f,dir:v,modal:c,children:o})})})};Pa.displayName=_t;var Hh="MenuAnchor",Go=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e,r=Ht(n);return l.jsx(dh,{...r,...o,ref:t})});Go.displayName=Hh;var Yo="MenuPortal",[Vh,xa]=it(Yo,{forceMount:void 0}),La=e=>{const{__scopeMenu:t,forceMount:n,children:o,container:r}=e,s=Ye(Yo,t);return l.jsx(Vh,{scope:t,forceMount:n,children:l.jsx(Ot,{present:n||s.open,children:l.jsx(va,{asChild:!0,container:r,children:o})})})};La.displayName=Yo;var Ce="MenuContent",[Dh,Xo]=it(Ce),Ia=i.forwardRef((e,t)=>{const n=xa(Ce,e.__scopeMenu),{forceMount:o=n.forceMount,...r}=e,s=Ye(Ce,e.__scopeMenu),c=Vt(Ce,e.__scopeMenu);return l.jsx($t.Provider,{scope:e.__scopeMenu,children:l.jsx(Ot,{present:o||s.open,children:l.jsx($t.Slot,{scope:e.__scopeMenu,children:c.modal?l.jsx(Fh,{...r,ref:t}):l.jsx(Rh,{...r,ref:t})})})})}),Fh=i.forwardRef((e,t)=>{const n=Ye(Ce,e.__scopeMenu),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return on(s)},[]),l.jsx(qo,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:I(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Rh=i.forwardRef((e,t)=>{const n=Ye(Ce,e.__scopeMenu);return l.jsx(qo,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),qo=i.forwardRef((e,t)=>{const{__scopeMenu:n,loop:o=!1,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:c,disableOutsidePointerEvents:a,onEntryFocus:d,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:v,onDismiss:m,disableOutsideScroll:C,...p}=e,g=Ye(Ce,n),b=Vt(Ce,n),y=Ht(n),w=Sa(n),k=Oh(n),[M,P]=i.useState(null),E=i.useRef(null),L=V(t,E,g.onContentChange),N=i.useRef(0),T=i.useRef(""),D=i.useRef(0),_=i.useRef(null),R=i.useRef("right"),j=i.useRef(0),W=C?Nt:i.Fragment,H=C?{as:re,allowPinchZoom:!0}:void 0,Z=A=>{var F,Y;const K=T.current+A,z=k().filter(Q=>!Q.disabled),oe=document.activeElement,ae=(F=z.find(Q=>Q.ref.current===oe))==null?void 0:F.textValue,se=z.map(Q=>Q.textValue),he=Jh(se,K,ae),ce=(Y=z.find(Q=>Q.textValue===he))==null?void 0:Y.ref.current;(function Q(G){T.current=G,window.clearTimeout(N.current),G!==""&&(N.current=window.setTimeout(()=>Q(""),1e3))})(K),ce&&setTimeout(()=>ce.focus())};i.useEffect(()=>()=>window.clearTimeout(N.current),[]),po();const O=i.useCallback(A=>{var z,oe;return R.current===((z=_.current)==null?void 0:z.side)&&t5(A,(oe=_.current)==null?void 0:oe.area)},[]);return l.jsx(Dh,{scope:n,searchRef:T,onItemEnter:i.useCallback(A=>{O(A)&&A.preventDefault()},[O]),onItemLeave:i.useCallback(A=>{var K;O(A)||((K=E.current)==null||K.focus(),P(null))},[O]),onTriggerLeave:i.useCallback(A=>{O(A)&&A.preventDefault()},[O]),pointerGraceTimerRef:D,onPointerGraceIntentChange:i.useCallback(A=>{_.current=A},[]),children:l.jsx(W,{...H,children:l.jsx(Oi,{asChild:!0,trapped:r,onMountAutoFocus:I(s,A=>{var K;A.preventDefault(),(K=E.current)==null||K.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:l.jsx(Ni,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:v,onDismiss:m,children:l.jsx(Lh,{asChild:!0,...w,dir:b.dir,orientation:"vertical",loop:o,currentTabStopId:M,onCurrentTabStopIdChange:P,onEntryFocus:I(d,A=>{b.isUsingKeyboardRef.current||A.preventDefault()}),preventScrollOnEntryFocus:!0,children:l.jsx(fh,{role:"menu","aria-orientation":"vertical","data-state":Ka(g.open),"data-radix-menu-content":"",dir:b.dir,...y,...p,ref:L,style:{outline:"none",...p.style},onKeyDown:I(p.onKeyDown,A=>{const z=A.target.closest("[data-radix-menu-content]")===A.currentTarget,oe=A.ctrlKey||A.altKey||A.metaKey,ae=A.key.length===1;z&&(A.key==="Tab"&&A.preventDefault(),!oe&&ae&&Z(A.key));const se=E.current;if(A.target!==se||!Ah.includes(A.key))return;A.preventDefault();const ce=k().filter(F=>!F.disabled).map(F=>F.ref.current);ka.includes(A.key)&&ce.reverse(),qh(ce)}),onBlur:I(e.onBlur,A=>{A.currentTarget.contains(A.target)||(window.clearTimeout(N.current),T.current="")}),onPointerMove:I(e.onPointerMove,Ft(A=>{const K=A.target,z=j.current!==A.clientX;if(A.currentTarget.contains(K)&&z){const oe=A.clientX>j.current?"right":"left";R.current=oe,j.current=A.clientX}}))})})})})})})});Ia.displayName=Ce;var Zh="MenuGroup",Qo=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e;return l.jsx(pe.div,{role:"group",...o,ref:t})});Qo.displayName=Zh;var Wh="MenuLabel",Na=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e;return l.jsx(pe.div,{...o,ref:t})});Na.displayName=Wh;var Ln="MenuItem",Aa="menu.itemSelect",In=i.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:o,...r}=e,s=i.useRef(null),c=Vt(Ln,e.__scopeMenu),a=Xo(Ln,e.__scopeMenu),d=V(t,s),u=i.useRef(!1),f=()=>{const h=s.current;if(!n&&h){const v=new CustomEvent(Aa,{bubbles:!0,cancelable:!0});h.addEventListener(Aa,m=>o==null?void 0:o(m),{once:!0}),Mi(h,v),v.defaultPrevented?u.current=!1:c.onClose()}};return l.jsx(Ta,{...r,ref:d,disabled:n,onClick:I(e.onClick,f),onPointerDown:h=>{var v;(v=e.onPointerDown)==null||v.call(e,h),u.current=!0},onPointerUp:I(e.onPointerUp,h=>{var v;u.current||(v=h.currentTarget)==null||v.click()}),onKeyDown:I(e.onKeyDown,h=>{const v=a.searchRef.current!=="";n||v&&h.key===" "||Ko.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})})});In.displayName=Ln;var Ta=i.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:o=!1,textValue:r,...s}=e,c=Xo(Ln,n),a=Sa(n),d=i.useRef(null),u=V(t,d),[f,h]=i.useState(!1),[v,m]=i.useState("");return i.useEffect(()=>{const C=d.current;C&&m((C.textContent??"").trim())},[s.children]),l.jsx($t.ItemSlot,{scope:n,disabled:o,textValue:r??v,children:l.jsx(Ih,{asChild:!0,...a,focusable:!o,children:l.jsx(pe.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:u,onPointerMove:I(e.onPointerMove,Ft(C=>{o?c.onItemLeave(C):(c.onItemEnter(C),C.defaultPrevented||C.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:I(e.onPointerLeave,Ft(C=>c.onItemLeave(C))),onFocus:I(e.onFocus,()=>h(!0)),onBlur:I(e.onBlur,()=>h(!1))})})})}),zh="MenuCheckboxItem",ja=i.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:o,...r}=e;return l.jsx(Va,{scope:e.__scopeMenu,checked:n,children:l.jsx(In,{role:"menuitemcheckbox","aria-checked":Nn(n)?"mixed":n,...r,ref:t,"data-state":tr(n),onSelect:I(r.onSelect,()=>o==null?void 0:o(Nn(n)?!0:!n),{checkForDefaultPrevented:!1})})})});ja.displayName=zh;var Oa="MenuRadioGroup",[Bh,Uh]=it(Oa,{value:void 0,onValueChange:()=>{}}),_a=i.forwardRef((e,t)=>{const{value:n,onValueChange:o,...r}=e,s=U(o);return l.jsx(Bh,{scope:e.__scopeMenu,value:n,onValueChange:s,children:l.jsx(Qo,{...r,ref:t})})});_a.displayName=Oa;var $a="MenuRadioItem",Ha=i.forwardRef((e,t)=>{const{value:n,...o}=e,r=Uh($a,e.__scopeMenu),s=n===r.value;return l.jsx(Va,{scope:e.__scopeMenu,checked:s,children:l.jsx(In,{role:"menuitemradio","aria-checked":s,...o,ref:t,"data-state":tr(s),onSelect:I(o.onSelect,()=>{var c;return(c=r.onValueChange)==null?void 0:c.call(r,n)},{checkForDefaultPrevented:!1})})})});Ha.displayName=$a;var Jo="MenuItemIndicator",[Va,Kh]=it(Jo,{checked:!1}),Da=i.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:o,...r}=e,s=Kh(Jo,n);return l.jsx(Ot,{present:o||Nn(s.checked)||s.checked===!0,children:l.jsx(pe.span,{...r,ref:t,"data-state":tr(s.checked)})})});Da.displayName=Jo;var Gh="MenuSeparator",Fa=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e;return l.jsx(pe.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});Fa.displayName=Gh;var Yh="MenuArrow",Ra=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e,r=Ht(n);return l.jsx(ph,{...r,...o,ref:t})});Ra.displayName=Yh;var er="MenuSub",[Xh,Za]=it(er),Wa=e=>{const{__scopeMenu:t,children:n,open:o=!1,onOpenChange:r}=e,s=Ye(er,t),c=Ht(t),[a,d]=i.useState(null),[u,f]=i.useState(null),h=U(r);return i.useEffect(()=>(s.open===!1&&h(!1),()=>h(!1)),[s.open,h]),l.jsx(ha,{...c,children:l.jsx(Ma,{scope:t,open:o,onOpenChange:h,content:u,onContentChange:f,children:l.jsx(Xh,{scope:t,contentId:ge(),triggerId:ge(),trigger:a,onTriggerChange:d,children:n})})})};Wa.displayName=er;var Dt="MenuSubTrigger",za=i.forwardRef((e,t)=>{const n=Ye(Dt,e.__scopeMenu),o=Vt(Dt,e.__scopeMenu),r=Za(Dt,e.__scopeMenu),s=Xo(Dt,e.__scopeMenu),c=i.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:d}=s,u={__scopeMenu:e.__scopeMenu},f=i.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return i.useEffect(()=>f,[f]),i.useEffect(()=>{const h=a.current;return()=>{window.clearTimeout(h),d(null)}},[a,d]),l.jsx(Go,{asChild:!0,...u,children:l.jsx(Ta,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":Ka(n.open),...e,ref:Kt(t,r.onTriggerChange),onClick:h=>{var v;(v=e.onClick)==null||v.call(e,h),!(e.disabled||h.defaultPrevented)&&(h.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:I(e.onPointerMove,Ft(h=>{s.onItemEnter(h),!h.defaultPrevented&&!e.disabled&&!n.open&&!c.current&&(s.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:I(e.onPointerLeave,Ft(h=>{var m,C;f();const v=(m=n.content)==null?void 0:m.getBoundingClientRect();if(v){const p=(C=n.content)==null?void 0:C.dataset.side,g=p==="right",b=g?-5:5,y=v[g?"left":"right"],w=v[g?"right":"left"];s.onPointerGraceIntentChange({area:[{x:h.clientX+b,y:h.clientY},{x:y,y:v.top},{x:w,y:v.top},{x:w,y:v.bottom},{x:y,y:v.bottom}],side:p}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(h),h.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:I(e.onKeyDown,h=>{var m;const v=s.searchRef.current!=="";e.disabled||v&&h.key===" "||Th[o.dir].includes(h.key)&&(n.onOpenChange(!0),(m=n.content)==null||m.focus(),h.preventDefault())})})})});za.displayName=Dt;var Ba="MenuSubContent",Ua=i.forwardRef((e,t)=>{const n=xa(Ce,e.__scopeMenu),{forceMount:o=n.forceMount,...r}=e,s=Ye(Ce,e.__scopeMenu),c=Vt(Ce,e.__scopeMenu),a=Za(Ba,e.__scopeMenu),d=i.useRef(null),u=V(t,d);return l.jsx($t.Provider,{scope:e.__scopeMenu,children:l.jsx(Ot,{present:o||s.open,children:l.jsx($t.Slot,{scope:e.__scopeMenu,children:l.jsx(qo,{id:a.contentId,"aria-labelledby":a.triggerId,...r,ref:u,align:"start",side:c.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var h;c.isUsingKeyboardRef.current&&((h=d.current)==null||h.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:I(e.onFocusOutside,f=>{f.target!==a.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:I(e.onEscapeKeyDown,f=>{c.onClose(),f.preventDefault()}),onKeyDown:I(e.onKeyDown,f=>{var m;const h=f.currentTarget.contains(f.target),v=jh[c.dir].includes(f.key);h&&v&&(s.onOpenChange(!1),(m=a.trigger)==null||m.focus(),f.preventDefault())})})})})})});Ua.displayName=Ba;function Ka(e){return e?"open":"closed"}function Nn(e){return e==="indeterminate"}function tr(e){return Nn(e)?"indeterminate":e?"checked":"unchecked"}function qh(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Qh(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function Jh(e,t,n){const r=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let c=Qh(e,Math.max(s,0));r.length===1&&(c=c.filter(u=>u!==n));const d=c.find(u=>u.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function e5(e,t){const{x:n,y:o}=e;let r=!1;for(let s=0,c=t.length-1;s<t.length;c=s++){const a=t[s].x,d=t[s].y,u=t[c].x,f=t[c].y;d>o!=f>o&&n<(u-a)*(o-d)/(f-d)+a&&(r=!r)}return r}function t5(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return e5(n,t)}function Ft(e){return t=>t.pointerType==="mouse"?e(t):void 0}var n5=Pa,o5=Go,r5=La,s5=Ia,i5=Qo,a5=Na,c5=In,l5=ja,u5=_a,d5=Ha,f5=Da,p5=Fa,h5=Ra,v5=Wa,m5=za,g5=Ua,nr="DropdownMenu",[C5,lm]=de(nr,[Ea]),fe=Ea(),[b5,Ga]=C5(nr),Ya=e=>{const{__scopeDropdownMenu:t,children:n,dir:o,open:r,defaultOpen:s,onOpenChange:c,modal:a=!0}=e,d=fe(t),u=i.useRef(null),[f=!1,h]=_e({prop:r,defaultProp:s,onChange:c});return l.jsx(b5,{scope:t,triggerId:ge(),triggerRef:u,contentId:ge(),open:f,onOpenChange:h,onOpenToggle:i.useCallback(()=>h(v=>!v),[h]),modal:a,children:l.jsx(n5,{...d,open:f,onOpenChange:h,dir:o,modal:a,children:n})})};Ya.displayName=nr;var Xa="DropdownMenuTrigger",qa=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:o=!1,...r}=e,s=Ga(Xa,n),c=fe(n);return l.jsx(o5,{asChild:!0,...c,children:l.jsx(pe.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...r,ref:Kt(t,s.triggerRef),onPointerDown:I(e.onPointerDown,a=>{!o&&a.button===0&&a.ctrlKey===!1&&(s.onOpenToggle(),s.open||a.preventDefault())}),onKeyDown:I(e.onKeyDown,a=>{o||(["Enter"," "].includes(a.key)&&s.onOpenToggle(),a.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})});qa.displayName=Xa;var y5="DropdownMenuPortal",Qa=e=>{const{__scopeDropdownMenu:t,...n}=e,o=fe(t);return l.jsx(r5,{...o,...n})};Qa.displayName=y5;var Ja="DropdownMenuContent",ec=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ga(Ja,n),s=fe(n),c=i.useRef(!1);return l.jsx(s5,{id:r.contentId,"aria-labelledby":r.triggerId,...s,...o,ref:t,onCloseAutoFocus:I(e.onCloseAutoFocus,a=>{var d;c.current||(d=r.triggerRef.current)==null||d.focus(),c.current=!1,a.preventDefault()}),onInteractOutside:I(e.onInteractOutside,a=>{const d=a.detail.originalEvent,u=d.button===0&&d.ctrlKey===!0,f=d.button===2||u;(!r.modal||f)&&(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});ec.displayName=Ja;var w5="DropdownMenuGroup",tc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(i5,{...r,...o,ref:t})});tc.displayName=w5;var k5="DropdownMenuLabel",nc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(a5,{...r,...o,ref:t})});nc.displayName=k5;var E5="DropdownMenuItem",oc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(c5,{...r,...o,ref:t})});oc.displayName=E5;var S5="DropdownMenuCheckboxItem",rc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(l5,{...r,...o,ref:t})});rc.displayName=S5;var M5="DropdownMenuRadioGroup",sc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(u5,{...r,...o,ref:t})});sc.displayName=M5;var P5="DropdownMenuRadioItem",ic=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(d5,{...r,...o,ref:t})});ic.displayName=P5;var x5="DropdownMenuItemIndicator",ac=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(f5,{...r,...o,ref:t})});ac.displayName=x5;var L5="DropdownMenuSeparator",cc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(p5,{...r,...o,ref:t})});cc.displayName=L5;var I5="DropdownMenuArrow",N5=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(h5,{...r,...o,ref:t})});N5.displayName=I5;var A5=e=>{const{__scopeDropdownMenu:t,children:n,open:o,onOpenChange:r,defaultOpen:s}=e,c=fe(t),[a=!1,d]=_e({prop:o,defaultProp:s,onChange:r});return l.jsx(v5,{...c,open:a,onOpenChange:d,children:n})},T5="DropdownMenuSubTrigger",lc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(m5,{...r,...o,ref:t})});lc.displayName=T5;var j5="DropdownMenuSubContent",uc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(g5,{...r,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});uc.displayName=j5;var O5=Ya,_5=qa,dc=Qa,fc=ec,pc=tc,hc=nc,vc=oc,mc=rc,$5=sc,gc=ic,Cc=ac,bc=cc,H5=A5,yc=lc,wc=uc;const V5=O5,D5=_5,kc=i.forwardRef(({className:e,...t},n)=>l.jsx(pc,{ref:n,className:$("ksjsui-flex ksjsui-flex-col ksjsui-gap-y-2",e),...t}));kc.displayName=pc.displayName;const F5=dc,R5=H5,Z5=$5,Ec=i.forwardRef(({className:e,inset:t,children:n,...o},r)=>l.jsxs(yc,{ref:r,className:$(["ksjsui-group","ksjsui-flex ksjsui-cursor-default ksjsui-select-none ksjsui-items-start ksjsui-gap-2 ksjsui-rounded-sm ksjsui-border-0 ksjsui-px-2 ksjsui-py-1 ksjsui-text-base ksjsui-transition-colors","focus:ksjsui-bg-neutral focus:ksjsui-text-neutral-foreground focus:ksjsui-outline-none","data-[disabled]:ksjsui-opacity-50","data-[state=open]:ksjsui-bg-neutral data-[state=open]:ksjsui-text-neutral-foreground","[&_svg]:ksjsui-pointer-events-none [&_svg]:ksjsui-shrink-0","[&_>_svg]:ksjsui-size-6","forced-colors:ksjsui-outline-0 forced-colors:ksjsui-transition-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],t&&"ksjsui-ps-8",e),...o,children:[n,l.jsxs("span",{className:$(["-ksjsui-me-2 ksjsui-ms-auto ksjsui-mt-1 ksjsui-text-label","[&_svg]:ksjsui-size-4","group-focus:forced-colors:[&_svg]:ksjsui-fill-highlight-text"]),children:[l.jsx(Mo,{className:"rtl:ksjsui-hidden"}),l.jsx(So,{className:"ltr:ksjsui-hidden"})]})]}));Ec.displayName=yc.displayName;const Sc=i.forwardRef(({className:e,...t},n)=>l.jsx(wc,{ref:n,className:$(["ksjsui-z-50 ksjsui-flex ksjsui-min-w-32 ksjsui-flex-col ksjsui-gap-y-2 ksjsui-overflow-hidden ksjsui-rounded-lg ksjsui-bg-popover ksjsui-px-2 ksjsui-py-4 ksjsui-text-popover-foreground ksjsui-shadow-lg","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0 data-[state=open]:ksjsui-zoom-in-95","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0 data-[state=closed]:ksjsui-zoom-out-95","data-[side=top]:ksjsui-slide-in-from-bottom-2","data-[side=right]:ksjsui-slide-in-from-left-2","data-[side=bottom]:ksjsui-slide-in-from-top-2","data-[side=left]:ksjsui-slide-in-from-right-2","forced-colors:ksjsui-border"],e),...t}));Sc.displayName=wc.displayName;const Mc=i.forwardRef(({className:e,align:t="start",side:n="bottom",sideOffset:o=4,...r},s)=>l.jsx(dc,{children:l.jsx(fc,{ref:s,align:t,side:n,sideOffset:o,className:$(["ksjsui-z-50 ksjsui-flex ksjsui-min-w-32 ksjsui-flex-col ksjsui-gap-y-2 ksjsui-overflow-hidden ksjsui-rounded-lg ksjsui-bg-popover ksjsui-px-2 ksjsui-py-4 ksjsui-text-popover-foreground ksjsui-shadow-md","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0 data-[state=open]:ksjsui-zoom-in-95","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0 data-[state=closed]:ksjsui-zoom-out-95","data-[side=top]:ksjsui-slide-in-from-bottom-2","data-[side=right]:ksjsui-slide-in-from-left-2","data-[side=bottom]:ksjsui-slide-in-from-top-2","data-[side=left]:ksjsui-slide-in-from-right-2","forced-colors:ksjsui-border"],e),...r})}));Mc.displayName=fc.displayName;const Pc=i.forwardRef(({className:e,inset:t,...n},o)=>l.jsx(vc,{ref:o,className:$(["ksjsui-group","ksjsui-flex ksjsui-cursor-default ksjsui-select-none ksjsui-items-start ksjsui-gap-2 ksjsui-rounded-sm ksjsui-border-0 ksjsui-px-2 ksjsui-py-1 ksjsui-text-base ksjsui-transition-colors","focus:ksjsui-bg-neutral focus:ksjsui-text-neutral-foreground focus:ksjsui-outline-none","hover:ksjsui-bg-neutral hover:ksjsui-text-neutral-foreground","data-[disabled]:ksjsui-pointer-events-none data-[disabled]:ksjsui-opacity-50","[&_svg]:ksjsui-pointer-events-none [&_svg]:ksjsui-size-6 [&_svg]:ksjsui-shrink-0","forced-colors:ksjsui-outline-0 forced-colors:ksjsui-transition-none","forced-colors:hover:ksjsui-bg-highlight forced-colors:hover:ksjsui-text-highlight-text forced-colors:hover:ksjsui-forced-color-adjust-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],t&&"ksjsui-ps-10",e),...n}));Pc.displayName=vc.displayName;const xc=i.forwardRef(({className:e,children:t,checked:n,...o},r)=>l.jsxs(mc,{ref:r,className:$(["ksjsui-flex ksjsui-cursor-default ksjsui-select-none ksjsui-items-start ksjsui-justify-between ksjsui-gap-2 ksjsui-rounded-sm ksjsui-border-0 ksjsui-px-2 ksjsui-py-1 ksjsui-text-base ksjsui-outline-none ksjsui-transition-colors","focus:ksjsui-bg-neutral focus:ksjsui-text-neutral-foreground","hover:ksjsui-bg-neutral hover:ksjsui-text-neutral-foreground","data-[disabled]:ksjsui-pointer-events-none data-[disabled]:ksjsui-opacity-50","forced-colors:ksjsui-outline-0 forced-colors:ksjsui-transition-none","forced-colors:hover:ksjsui-bg-highlight forced-colors:hover:ksjsui-text-highlight-text forced-colors:hover:ksjsui-forced-color-adjust-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],e),checked:n,...o,children:[t,l.jsx(Cc,{children:l.jsx(Eo,{className:"ksjsui-size-6"})})]}));xc.displayName=mc.displayName;const Lc=i.forwardRef(({className:e,children:t,...n},o)=>l.jsxs(gc,{ref:o,className:$(["ksjsui-flex ksjsui-cursor-default ksjsui-select-none ksjsui-items-center ksjsui-justify-between ksjsui-gap-2 ksjsui-rounded-sm ksjsui-border-0 ksjsui-px-2 ksjsui-py-1 ksjsui-text-base ksjsui-outline-none ksjsui-transition-colors","focus:ksjsui-bg-neutral focus:ksjsui-text-neutral-foreground","hover:ksjsui-bg-neutral hover:ksjsui-text-neutral-foreground","data-[disabled]:ksjsui-pointer-events-none data-[disabled]:ksjsui-opacity-50","forced-colors:ksjsui-outline-0 forced-colors:ksjsui-transition-none","forced-colors:hover:ksjsui-bg-highlight forced-colors:hover:ksjsui-text-highlight-text forced-colors:hover:ksjsui-forced-color-adjust-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],e),...n,children:[t,l.jsx("span",{className:"ksjsui-flex ksjsui-size-3.5 ksjsui-items-center ksjsui-justify-center",children:l.jsx(Cc,{children:l.jsx(Ci,{className:"ksjsui-size-2"})})})]}));Lc.displayName=gc.displayName;const Ic=i.forwardRef(({className:e,inset:t,...n},o)=>l.jsx(hc,{ref:o,className:$("ksjsui-px-2 ksjsui-text-sm ksjsui-text-label",t&&"ksjsui-ps-8",e),...n}));Ic.displayName=hc.displayName;const Nc=i.forwardRef(({className:e,...t},n)=>l.jsx(bc,{ref:n,className:$(["ksjsui-my-1 ksjsui-h-px ksjsui-bg-border","forced-colors:ksjsui-bg-canvas-text"],e),...t}));Nc.displayName=bc.displayName;const Ac=({className:e,...t})=>l.jsx("span",{className:$("ksjsui-ms-auto ksjsui-mt-0.5 ksjsui-text-sm ksjsui-tracking-widest ksjsui-text-label","group-focus:forced-colors:ksjsui-text-current",e),...t});Ac.displayName="DropdownMenuShortcut";const W5=i.forwardRef(({className:e,primary:t,secondary:n,...o},r)=>l.jsxs("div",{ref:r,className:$(e),...o,children:[l.jsx("span",{className:$(["DropdownMenuItemPrimaryText"],e),children:t}),n&&l.jsx("div",{className:$(["DropdownMenuItemSecondaryText","ksjsui-text-sm ksjsui-text-label","group-focus:forced-colors:ksjsui-text-current"],e),children:n})]}));W5.displayName="DropdownMenuItemText";const Tc=i.forwardRef((e,t)=>l.jsx(ao,{ref:t,...e,iconOnly:!0,fullWidth:!1}));Tc.displayName="IconButton";const jc=i.forwardRef(({className:e,...t},n)=>l.jsx("ul",{ref:n,className:$(["ksjsui-flex ksjsui-w-full ksjsui-flex-col ksjsui-gap-y-2"],e),...t}));jc.displayName="List";const Oc=i.forwardRef(({className:e,inset:t,...n},o)=>l.jsx("li",{ref:o,className:$(["ksjsui-flex ksjsui-gap-2 ksjsui-rounded-lg ksjsui-p-2 ksjsui-transition-colors","[&_svg]:ksjsui-pointer-events-none [&_svg]:ksjsui-size-6 [&_svg]:ksjsui-shrink-0","has-[.ListItemButton:hover]:ksjsui-bg-neutral","has-[.ListItemButton:focus-visible]:ksjsui-outline-none has-[.ListItemButton:focus-visible]:ksjsui-ring-2 has-[.ListItemButton:focus-visible]:ksjsui-ring-ring has-[.ListItemButton:focus-visible]:ksjsui-ring-offset-2 has-[.ListItemButton:focus-visible]:ksjsui-ring-offset-background","has-[:disabled]:ksjsui-cursor-not-allowed","has-[.ListItemButton:hover]:forced-colors:ksjsui-outline-none has-[.ListItemButton:hover]:forced-colors:ksjsui-outline-highlight","has-[.ListItemButton:focus-visible]:forced-colors:ksjsui-outline-highlight"],t&&["ksjsui-group","ListItem-inset","ksjsui-ps-10","has-[.ListItemButton]:ksjsui-p-0"],e),...n}));Oc.displayName="ListItem";const _c=({className:e,...t})=>{const n="py-1 ksjsui-pointer-events-none ksjsui-hidden ksjsui-shrink-0 ksjsui-text-foreground";return l.jsxs(l.Fragment,{children:[l.jsx(So,{className:$("rtl:ksjsui-inline-block",n,e),...t}),l.jsx(Mo,{className:$("ltr:ksjsui-inline-block",n,e),...t})]})};_c.displayName="ListItemArrow";const z5=Fe(["ListItemButton","ksjsui-flex ksjsui-w-full ksjsui-gap-2","focus-visible:ksjsui-border-0 focus-visible:ksjsui-outline-none","disabled:ksjsui-pointer-events-none disabled:ksjsui-opacity-50","forced-colors:focus-visible:ksjsui-outline-0","group-[.ListItem-inset]:ksjsui-p-2 group-[.ListItem-inset]:ksjsui-ps-10"],{variants:{color:{secondary:"ksjsui-text-secondary",destructive:"ksjsui-text-destructive"}}}),$c=i.forwardRef(({color:e,className:t,tabIndex:n=0,...o},r)=>l.jsx("button",{ref:r,className:$(z5({color:e,className:t})),tabIndex:n,...o}));$c.displayName="ListItemButton";const Hc=i.forwardRef(({className:e,primary:t,secondary:n,...o},r)=>l.jsxs("span",{ref:r,className:$(["ksjsui-flex ksjsui-w-full ksjsui-flex-col ksjsui-items-start"],e),...o,children:[l.jsx("span",{className:$(["ksjsui-text-start ksjsui-text-[15px]"],e),children:t}),n&&l.jsx("span",{className:$(["ksjsui-text-start ksjsui-text-[15px] ksjsui-text-label"],e),children:n})]}));Hc.displayName="ListItemText";const Vc=i.forwardRef(({className:e,inset:t,...n},o)=>l.jsx("li",{ref:o,className:$("ksjsui-block ksjsui-px-2 ksjsui-py-3 ksjsui-text-sm ksjsui-text-label",t&&"ksjsui-ps-8",e),...n}));Vc.displayName="ListLabel";const Dc=i.forwardRef(({className:e,...t},n)=>l.jsx("li",{ref:n,className:$(["ksjsui-my-1 ksjsui-block ksjsui-h-px ksjsui-bg-border","forced-colors:ksjsui-bg-canvas-text"],e),role:"separator",...t}));Dc.displayName="ListSeparator";function Xe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function Fc(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Rc(...e){return t=>{let n=!1;const o=e.map(r=>{const s=Fc(r,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():Fc(e[r],null)}}}}function qe(...e){return i.useCallback(Rc(...e),e)}function Zc(e,t=[]){let n=[];function o(s,c){const a=i.createContext(c),d=n.length;n=[...n,c];const u=h=>{var b;const{scope:v,children:m,...C}=h,p=((b=v==null?void 0:v[e])==null?void 0:b[d])||a,g=i.useMemo(()=>C,Object.values(C));return l.jsx(p.Provider,{value:g,children:m})};u.displayName=s+"Provider";function f(h,v){var p;const m=((p=v==null?void 0:v[e])==null?void 0:p[d])||a,C=i.useContext(m);if(C)return C;if(c!==void 0)return c;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[u,f]}const r=()=>{const s=n.map(c=>i.createContext(c));return function(a){const d=(a==null?void 0:a[e])||s;return i.useMemo(()=>({[`__scope${e}`]:{...a,[e]:d}}),[a,d])}};return r.scopeName=e,[o,B5(r,...t)]}function B5(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const c=o.reduce((a,{useScope:d,scopeName:u})=>{const h=d(s)[`__scope${u}`];return{...a,...h}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}function Wc(e){const t=U5(e),n=i.forwardRef((o,r)=>{const{children:s,...c}=o,a=i.Children.toArray(s),d=a.find(G5);if(d){const u=d.props.children,f=a.map(h=>h===d?i.Children.count(u)>1?i.Children.only(null):i.isValidElement(u)?u.props.children:null:h);return l.jsx(t,{...c,ref:r,children:i.isValidElement(u)?i.cloneElement(u,void 0,f):null})}return l.jsx(t,{...c,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function U5(e){const t=i.forwardRef((n,o)=>{const{children:r,...s}=n;if(i.isValidElement(r)){const c=X5(r),a=Y5(s,r.props);return r.type!==i.Fragment&&(a.ref=o?Rc(o,c):c),i.cloneElement(r,a)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var K5=Symbol("radix.slottable");function G5(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===K5}function Y5(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...a)=>{const d=s(...a);return r(...a),d}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function X5(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var q5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],De=q5.reduce((e,t)=>{const n=Wc(`Primitive.${t}`),o=i.forwardRef((r,s)=>{const{asChild:c,...a}=r,d=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(d,{...a,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Q5(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}function wt(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}function J5(e,t=globalThis==null?void 0:globalThis.document){const n=wt(e);i.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var e9="DismissableLayer",or="dismissableLayer.update",t9="dismissableLayer.pointerDownOutside",n9="dismissableLayer.focusOutside",zc,Bc=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Uc=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(Bc),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=i.useState({}),C=qe(t,E=>h(E)),p=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(g),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=s9(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),P=i9(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return J5(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(zc=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Kc(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=zc)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Kc())},[f,u]),i.useEffect(()=>{const E=()=>m({});return document.addEventListener(or,E),()=>document.removeEventListener(or,E)},[]),l.jsx(De.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:Xe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Xe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Xe(e.onPointerDownCapture,M.onPointerDownCapture)})});Uc.displayName=e9;var o9="DismissableLayerBranch",r9=i.forwardRef((e,t)=>{const n=i.useContext(Bc),o=i.useRef(null),r=qe(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(De.div,{...e,ref:r})});r9.displayName=o9;function s9(e,t=globalThis==null?void 0:globalThis.document){const n=wt(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Gc(t9,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function i9(e,t=globalThis==null?void 0:globalThis.document){const n=wt(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Gc(n9,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Kc(){const e=new CustomEvent(or);document.dispatchEvent(e)}function Gc(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?Q5(r,s):r.dispatchEvent(s)}var rr=0;function a9(){i.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Yc()),document.body.insertAdjacentElement("beforeend",e[1]??Yc()),rr++,()=>{rr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),rr--}},[])}function Yc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var sr="focusScope.autoFocusOnMount",ir="focusScope.autoFocusOnUnmount",Xc={bubbles:!1,cancelable:!0},c9="FocusScope",qc=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...c}=e,[a,d]=i.useState(null),u=wt(r),f=wt(s),h=i.useRef(null),v=qe(t,p=>d(p)),m=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let p=function(w){if(m.paused||!a)return;const k=w.target;a.contains(k)?h.current=k:Qe(h.current,{select:!0})},g=function(w){if(m.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||Qe(h.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const M of w)M.removedNodes.length>0&&Qe(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",g);const y=new MutationObserver(b);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",g),y.disconnect()}}},[o,a,m.paused]),i.useEffect(()=>{if(a){el.add(m);const p=document.activeElement;if(!a.contains(p)){const b=new CustomEvent(sr,Xc);a.addEventListener(sr,u),a.dispatchEvent(b),b.defaultPrevented||(l9(h9(Qc(a)),{select:!0}),document.activeElement===p&&Qe(a))}return()=>{a.removeEventListener(sr,u),setTimeout(()=>{const b=new CustomEvent(ir,Xc);a.addEventListener(ir,f),a.dispatchEvent(b),b.defaultPrevented||Qe(p??document.body,{select:!0}),a.removeEventListener(ir,f),el.remove(m)},0)}}},[a,u,f,m]);const C=i.useCallback(p=>{if(!n&&!o||m.paused)return;const g=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(g&&b){const y=p.currentTarget,[w,k]=u9(y);w&&k?!p.shiftKey&&b===k?(p.preventDefault(),n&&Qe(w,{select:!0})):p.shiftKey&&b===w&&(p.preventDefault(),n&&Qe(k,{select:!0})):b===y&&p.preventDefault()}},[n,o,m.paused]);return l.jsx(De.div,{tabIndex:-1,...c,ref:v,onKeyDown:C})});qc.displayName=c9;function l9(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Qe(o,{select:t}),document.activeElement!==n)return}function u9(e){const t=Qc(e),n=Jc(t,e),o=Jc(t.reverse(),e);return[n,o]}function Qc(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Jc(e,t){for(const n of e)if(!d9(n,{upTo:t}))return n}function d9(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 f9(e){return e instanceof HTMLInputElement&&"select"in e}function Qe(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&f9(e)&&t&&e.select()}}var el=p9();function p9(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=tl(e,t),e.unshift(t)},remove(t){var n;e=tl(e,t),(n=e[0])==null||n.resume()}}}function tl(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function h9(e){return e.filter(t=>t.tagName!=="A")}var Je=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{},v9=i[" useId ".trim().toString()]||(()=>{}),m9=0;function g9(e){const[t,n]=i.useState(v9());return Je(()=>{n(o=>o??String(m9++))},[e]),e||(t?`radix-${t}`:"")}var C9="Arrow",nl=i.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return l.jsx(De.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});nl.displayName=C9;var b9=nl;function y9(e){const[t,n]=i.useState(void 0);return Je(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const s=r[0];let c,a;if("borderBoxSize"in s){const d=s.borderBoxSize,u=Array.isArray(d)?d[0]:d;c=u.inlineSize,a=u.blockSize}else c=e.offsetWidth,a=e.offsetHeight;n({width:c,height:a})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var ar="Popper",[ol,rl]=Zc(ar),[w9,sl]=ol(ar),il=e=>{const{__scopePopper:t,children:n}=e,[o,r]=i.useState(null);return l.jsx(w9,{scope:t,anchor:o,onAnchorChange:r,children:n})};il.displayName=ar;var al="PopperAnchor",cl=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=sl(al,n),c=i.useRef(null),a=qe(t,c);return i.useEffect(()=>{s.onAnchorChange((o==null?void 0:o.current)||c.current)}),o?null:l.jsx(De.div,{...r,ref:a})});cl.displayName=al;var cr="PopperContent",[k9,E9]=ol(cr),ll=i.forwardRef((e,t)=>{var F,Y,Q,G,X,q;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:c=0,arrowPadding:a=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:m="optimized",onPlaced:C,...p}=e,g=sl(cr,n),[b,y]=i.useState(null),w=qe(t,ee=>y(ee)),[k,M]=i.useState(null),P=y9(k),E=(P==null?void 0:P.width)??0,L=(P==null?void 0:P.height)??0,N=o+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(u)?u:[u],_=D.length>0,R={padding:T,boundary:D.filter(M9),altBoundary:_},{refs:j,floatingStyles:W,placement:H,isPositioned:Z,middlewareData:O}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ee)=>hn(...ee,{animationFrame:m==="always"}),elements:{reference:g.anchor},middleware:[Cn({mainAxis:r+L,alignmentAxis:c}),d&&bn({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?yn():void 0,...R}),d&&wn({...R}),kn({...R,apply:({elements:ee,rects:le,availableWidth:Se,availableHeight:Me})=>{const{width:Pe,height:lt}=le.reference,ue=ee.floating.style;ue.setProperty("--radix-popper-available-width",`${Se}px`),ue.setProperty("--radix-popper-available-height",`${Me}px`),ue.setProperty("--radix-popper-anchor-width",`${Pe}px`),ue.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),k&&Sn({element:k,padding:a}),P9({arrowWidth:E,arrowHeight:L}),v&&En({strategy:"referenceHidden",...R})]}),[A,K]=fl(H),z=wt(C);Je(()=>{Z&&(z==null||z())},[Z,z]);const oe=(F=O.arrow)==null?void 0:F.x,ae=(Y=O.arrow)==null?void 0:Y.y,se=((Q=O.arrow)==null?void 0:Q.centerOffset)!==0,[he,ce]=i.useState();return Je(()=>{b&&ce(window.getComputedStyle(b).zIndex)},[b]),l.jsx("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:Z?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(G=O.transformOrigin)==null?void 0:G.x,(X=O.transformOrigin)==null?void 0:X.y].join(" "),...((q=O.hide)==null?void 0:q.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(k9,{scope:n,placedSide:A,onArrowChange:M,arrowX:oe,arrowY:ae,shouldHideArrow:se,children:l.jsx(De.div,{"data-side":A,"data-align":K,...p,ref:w,style:{...p.style,animation:Z?void 0:"none"}})})})});ll.displayName=cr;var ul="PopperArrow",S9={top:"bottom",right:"left",bottom:"top",left:"right"},dl=i.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=E9(ul,o),c=S9[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(b9,{...r,ref:n,style:{...r.style,display:"block"}})})});dl.displayName=ul;function M9(e){return e!==null}var P9=e=>({name:"transformOrigin",options:e,fn(t){var g,b,y;const{placement:n,rects:o,middlewareData:r}=t,c=((g=r.arrow)==null?void 0:g.centerOffset)!==0,a=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[u,f]=fl(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(((b=r.arrow)==null?void 0:b.x)??0)+a/2,m=(((y=r.arrow)==null?void 0:y.y)??0)+d/2;let C="",p="";return u==="bottom"?(C=c?h:`${v}px`,p=`${-d}px`):u==="top"?(C=c?h:`${v}px`,p=`${o.floating.height+d}px`):u==="right"?(C=`${-d}px`,p=c?h:`${m}px`):u==="left"&&(C=`${o.floating.width+d}px`,p=c?h:`${m}px`),{data:{x:C,y:p}}}});function fl(e){const[t,n="center"]=e.split("-");return[t,n]}var x9=il,pl=cl,L9=ll,I9=dl,N9="Portal",hl=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);Je(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx(De.div,{...o,ref:t}),c):null});hl.displayName=N9;function A9(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var lr=e=>{const{present:t,children:n}=e,o=T9(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=qe(o.ref,j9(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};lr.displayName="Presence";function T9(e){const[t,n]=i.useState(),o=i.useRef(null),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=A9(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=An(o.current);s.current=a==="mounted"?u:"none"},[a]),Je(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,m=An(u);e?d("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),Je(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=m=>{const p=An(o.current).includes(m.animationName);if(m.target===t&&p&&(d("ANIMATION_END"),!r.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},v=m=>{m.target===t&&(s.current=An(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{o.current=u?getComputedStyle(u):null,n(u)},[])}}function An(e){return(e==null?void 0:e.animationName)||"none"}function j9(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var O9=i[" useInsertionEffect ".trim().toString()]||Je;function _9({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,s,c]=$9({defaultProp:t,onChange:n}),a=e!==void 0,d=a?e:r;{const f=i.useRef(e!==void 0);i.useEffect(()=>{const h=f.current;h!==a&&console.warn(`${o} is changing from ${h?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=a},[a,o])}const u=i.useCallback(f=>{var h;if(a){const v=H9(f)?f(e):f;v!==e&&((h=c.current)==null||h.call(c,v))}else s(f)},[a,e,s,c]);return[d,u]}function $9({defaultProp:e,onChange:t}){const[n,o]=i.useState(e),r=i.useRef(n),s=i.useRef(t);return O9(()=>{s.current=t},[t]),i.useEffect(()=>{var c;r.current!==n&&((c=s.current)==null||c.call(s,n),r.current=n)},[n,r]),[n,o,s]}function H9(e){return typeof e=="function"}var Tn="Popover",[vl,um]=Zc(Tn,[rl]),Rt=rl(),[V9,et]=vl(Tn),ml=e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:r,onOpenChange:s,modal:c=!1}=e,a=Rt(t),d=i.useRef(null),[u,f]=i.useState(!1),[h,v]=_9({prop:o,defaultProp:r??!1,onChange:s,caller:Tn});return l.jsx(x9,{...a,children:l.jsx(V9,{scope:t,contentId:g9(),triggerRef:d,open:h,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(m=>!m),[v]),hasCustomAnchor:u,onCustomAnchorAdd:i.useCallback(()=>f(!0),[]),onCustomAnchorRemove:i.useCallback(()=>f(!1),[]),modal:c,children:n})})};ml.displayName=Tn;var gl="PopoverAnchor",D9=i.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,r=et(gl,n),s=Rt(n),{onCustomAnchorAdd:c,onCustomAnchorRemove:a}=r;return i.useEffect(()=>(c(),()=>a()),[c,a]),l.jsx(pl,{...s,...o,ref:t})});D9.displayName=gl;var Cl="PopoverTrigger",bl=i.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,r=et(Cl,n),s=Rt(n),c=qe(t,r.triggerRef),a=l.jsx(De.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":Ml(r.open),...o,ref:c,onClick:Xe(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?a:l.jsx(pl,{asChild:!0,...s,children:a})});bl.displayName=Cl;var ur="PopoverPortal",[F9,R9]=vl(ur,{forceMount:void 0}),yl=e=>{const{__scopePopover:t,forceMount:n,children:o,container:r}=e,s=et(ur,t);return l.jsx(F9,{scope:t,forceMount:n,children:l.jsx(lr,{present:n||s.open,children:l.jsx(hl,{asChild:!0,container:r,children:o})})})};yl.displayName=ur;var kt="PopoverContent",wl=i.forwardRef((e,t)=>{const n=R9(kt,e.__scopePopover),{forceMount:o=n.forceMount,...r}=e,s=et(kt,e.__scopePopover);return l.jsx(lr,{present:o||s.open,children:s.modal?l.jsx(W9,{...r,ref:t}):l.jsx(z9,{...r,ref:t})})});wl.displayName=kt;var Z9=Wc("PopoverContent.RemoveScroll"),W9=i.forwardRef((e,t)=>{const n=et(kt,e.__scopePopover),o=i.useRef(null),r=qe(t,o),s=i.useRef(!1);return i.useEffect(()=>{const c=o.current;if(c)return on(c)},[]),l.jsx(Nt,{as:Z9,allowPinchZoom:!0,children:l.jsx(kl,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Xe(e.onCloseAutoFocus,c=>{var a;c.preventDefault(),s.current||(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Xe(e.onPointerDownOutside,c=>{const a=c.detail.originalEvent,d=a.button===0&&a.ctrlKey===!0,u=a.button===2||d;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Xe(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),z9=i.forwardRef((e,t)=>{const n=et(kt,e.__scopePopover),o=i.useRef(!1),r=i.useRef(!1);return l.jsx(kl,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var c,a;(c=e.onCloseAutoFocus)==null||c.call(e,s),s.defaultPrevented||(o.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),o.current=!1,r.current=!1},onInteractOutside:s=>{var d,u;(d=e.onInteractOutside)==null||d.call(e,s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const c=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(c))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&r.current&&s.preventDefault()}})}),kl=i.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:o,onOpenAutoFocus:r,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEscapeKeyDown:a,onPointerDownOutside:d,onFocusOutside:u,onInteractOutside:f,...h}=e,v=et(kt,n),m=Rt(n);return a9(),l.jsx(qc,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:r,onUnmountAutoFocus:s,children:l.jsx(Uc,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:d,onFocusOutside:u,onDismiss:()=>v.onOpenChange(!1),children:l.jsx(L9,{"data-state":Ml(v.open),role:"dialog",id:v.contentId,...m,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),El="PopoverClose",B9=i.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,r=et(El,n);return l.jsx(De.button,{type:"button",...o,ref:t,onClick:Xe(e.onClick,()=>r.onOpenChange(!1))})});B9.displayName=El;var U9="PopoverArrow",Sl=i.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,r=Rt(n);return l.jsx(I9,{...r,...o,ref:t})});Sl.displayName=U9;function Ml(e){return e?"open":"closed"}var K9=ml,G9=bl,Y9=yl,Pl=wl,X9=Sl;const q9=K9,Q9=G9,xl=i.forwardRef(({className:e,align:t="center",children:n,sideOffset:o=4,side:r="bottom",onOpenAutoFocus:s=d=>d.preventDefault(),...c},a)=>l.jsx(Y9,{children:l.jsxs(Pl,{ref:a,align:t,className:$(["ksjsui-group","ksjsui-z-50 ksjsui-w-72 ksjsui-origin-[--radix-popover-content-transform-origin] ksjsui-rounded ksjsui-border ksjsui-border-border ksjsui-bg-popover ksjsui-p-4 ksjsui-text-popover-foreground ksjsui-shadow-md ksjsui-outline-none ksjsui-will-change-transform","motion-safe:data-[state=open]:ksjsui-animate-in motion-safe:data-[state=open]:ksjsui-fade-in-0","motion-safe:data-[state=closed]:ksjsui-animate-out motion-safe:data-[state=closed]:ksjsui-fade-out-0","forced-colors:ksjsui-outline-0 focus:forced-colors:ksjsui-border-highlight"],e),onOpenAutoFocus:s,side:r,sideOffset:o,...c,children:[n,l.jsx(X9,{className:$(["ksjsui-z-50 ksjsui-translate-y-[calc(-50%_+_0.75px)] ksjsui-rotate-45 ksjsui-rounded-br-[2px] ksjsui-border-b ksjsui-border-r ksjsui-border-border ksjsui-bg-popover ksjsui-fill-popover","forced-colors:ksjsui-border-canvas-text forced-colors:ksjsui-bg-canvas forced-colors:ksjsui-fill-canvas forced-colors:ksjsui-drop-shadow-none","group-focus:forced-colors:ksjsui-border-highlight"]),style:{width:10,height:10}})]})}));xl.displayName=Pl.displayName;var J9=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Zt=J9.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function e4(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var Wt=e=>{const{present:t,children:n}=e,o=t4(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,n4(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};Wt.displayName="Presence";function t4(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=e4(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=jn(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,m=jn(u);e?d("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=m=>{const p=jn(o.current).includes(m.animationName);if(m.target===t&&p&&(d("ANIMATION_END"),!r.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},v=m=>{m.target===t&&(s.current=jn(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function jn(e){return(e==null?void 0:e.animationName)||"none"}function n4(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function dr(e,[t,n]){return Math.min(n,Math.max(t,e))}function o4(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var fr="ScrollArea",[Ll,dm]=de(fr),[r4,be]=Ll(fr),Il=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:o="hover",dir:r,scrollHideDelay:s=600,...c}=e,[a,d]=i.useState(null),[u,f]=i.useState(null),[h,v]=i.useState(null),[m,C]=i.useState(null),[p,g]=i.useState(null),[b,y]=i.useState(0),[w,k]=i.useState(0),[M,P]=i.useState(!1),[E,L]=i.useState(!1),N=V(t,D=>d(D)),T=sn(r);return l.jsx(r4,{scope:n,type:o,dir:T,scrollHideDelay:s,scrollArea:a,viewport:u,onViewportChange:f,content:h,onContentChange:v,scrollbarX:m,onScrollbarXChange:C,scrollbarXEnabled:M,onScrollbarXEnabledChange:P,scrollbarY:p,onScrollbarYChange:g,scrollbarYEnabled:E,onScrollbarYEnabledChange:L,onCornerWidthChange:y,onCornerHeightChange:k,children:l.jsx(Zt.div,{dir:T,...c,ref:N,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":w+"px",...e.style}})})});Il.displayName=fr;var Nl="ScrollAreaViewport",Al=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:o,nonce:r,...s}=e,c=be(Nl,n),a=i.useRef(null),d=V(t,a,c.onViewportChange);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),l.jsx(Zt.div,{"data-radix-scroll-area-viewport":"",...s,ref:d,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:l.jsx("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})});Al.displayName=Nl;var Te="ScrollAreaScrollbar",pr=i.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=be(Te,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:c}=r,a=e.orientation==="horizontal";return i.useEffect(()=>(a?s(!0):c(!0),()=>{a?s(!1):c(!1)}),[a,s,c]),r.type==="hover"?l.jsx(s4,{...o,ref:t,forceMount:n}):r.type==="scroll"?l.jsx(i4,{...o,ref:t,forceMount:n}):r.type==="auto"?l.jsx(Tl,{...o,ref:t,forceMount:n}):r.type==="always"?l.jsx(hr,{...o,ref:t}):null});pr.displayName=Te;var s4=i.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=be(Te,e.__scopeScrollArea),[s,c]=i.useState(!1);return i.useEffect(()=>{const a=r.scrollArea;let d=0;if(a){const u=()=>{window.clearTimeout(d),c(!0)},f=()=>{d=window.setTimeout(()=>c(!1),r.scrollHideDelay)};return a.addEventListener("pointerenter",u),a.addEventListener("pointerleave",f),()=>{window.clearTimeout(d),a.removeEventListener("pointerenter",u),a.removeEventListener("pointerleave",f)}}},[r.scrollArea,r.scrollHideDelay]),l.jsx(Wt,{present:n||s,children:l.jsx(Tl,{"data-state":s?"visible":"hidden",...o,ref:t})})}),i4=i.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=be(Te,e.__scopeScrollArea),s=e.orientation==="horizontal",c=Hn(()=>d("SCROLL_END"),100),[a,d]=o4("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return i.useEffect(()=>{if(a==="idle"){const u=window.setTimeout(()=>d("HIDE"),r.scrollHideDelay);return()=>window.clearTimeout(u)}},[a,r.scrollHideDelay,d]),i.useEffect(()=>{const u=r.viewport,f=s?"scrollLeft":"scrollTop";if(u){let h=u[f];const v=()=>{const m=u[f];h!==m&&(d("SCROLL"),c()),h=m};return u.addEventListener("scroll",v),()=>u.removeEventListener("scroll",v)}},[r.viewport,s,d,c]),l.jsx(Wt,{present:n||a!=="hidden",children:l.jsx(hr,{"data-state":a==="hidden"?"hidden":"visible",...o,ref:t,onPointerEnter:I(e.onPointerEnter,()=>d("POINTER_ENTER")),onPointerLeave:I(e.onPointerLeave,()=>d("POINTER_LEAVE"))})})}),Tl=i.forwardRef((e,t)=>{const n=be(Te,e.__scopeScrollArea),{forceMount:o,...r}=e,[s,c]=i.useState(!1),a=e.orientation==="horizontal",d=Hn(()=>{if(n.viewport){const u=n.viewport.offsetWidth<n.viewport.scrollWidth,f=n.viewport.offsetHeight<n.viewport.scrollHeight;c(a?u:f)}},10);return Et(n.viewport,d),Et(n.content,d),l.jsx(Wt,{present:o||s,children:l.jsx(hr,{"data-state":s?"visible":"hidden",...r,ref:t})})}),hr=i.forwardRef((e,t)=>{const{orientation:n="vertical",...o}=e,r=be(Te,e.__scopeScrollArea),s=i.useRef(null),c=i.useRef(0),[a,d]=i.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=Hl(a.viewport,a.content),f={...o,sizes:a,onSizesChange:d,hasThumb:u>0&&u<1,onThumbChange:v=>s.current=v,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:v=>c.current=v};function h(v,m){return f4(v,c.current,a,m)}return n==="horizontal"?l.jsx(a4,{...f,ref:t,onThumbPositionChange:()=>{if(r.viewport&&s.current){const v=r.viewport.scrollLeft,m=Vl(v,a,r.dir);s.current.style.transform=`translate3d(${m}px, 0, 0)`}},onWheelScroll:v=>{r.viewport&&(r.viewport.scrollLeft=v)},onDragScroll:v=>{r.viewport&&(r.viewport.scrollLeft=h(v,r.dir))}}):n==="vertical"?l.jsx(c4,{...f,ref:t,onThumbPositionChange:()=>{if(r.viewport&&s.current){const v=r.viewport.scrollTop,m=Vl(v,a);s.current.style.transform=`translate3d(0, ${m}px, 0)`}},onWheelScroll:v=>{r.viewport&&(r.viewport.scrollTop=v)},onDragScroll:v=>{r.viewport&&(r.viewport.scrollTop=h(v))}}):null}),a4=i.forwardRef((e,t)=>{const{sizes:n,onSizesChange:o,...r}=e,s=be(Te,e.__scopeScrollArea),[c,a]=i.useState(),d=i.useRef(null),u=V(t,d,s.onScrollbarXChange);return i.useEffect(()=>{d.current&&a(getComputedStyle(d.current))},[d]),l.jsx(Ol,{"data-orientation":"horizontal",...r,ref:u,sizes:n,style:{bottom:0,left:s.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:s.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":$n(n)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.x),onDragScroll:f=>e.onDragScroll(f.x),onWheelScroll:(f,h)=>{if(s.viewport){const v=s.viewport.scrollLeft+f.deltaX;e.onWheelScroll(v),Fl(v,h)&&f.preventDefault()}},onResize:()=>{d.current&&s.viewport&&c&&o({content:s.viewport.scrollWidth,viewport:s.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:_n(c.paddingLeft),paddingEnd:_n(c.paddingRight)}})}})}),c4=i.forwardRef((e,t)=>{const{sizes:n,onSizesChange:o,...r}=e,s=be(Te,e.__scopeScrollArea),[c,a]=i.useState(),d=i.useRef(null),u=V(t,d,s.onScrollbarYChange);return i.useEffect(()=>{d.current&&a(getComputedStyle(d.current))},[d]),l.jsx(Ol,{"data-orientation":"vertical",...r,ref:u,sizes:n,style:{top:0,right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":$n(n)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.y),onDragScroll:f=>e.onDragScroll(f.y),onWheelScroll:(f,h)=>{if(s.viewport){const v=s.viewport.scrollTop+f.deltaY;e.onWheelScroll(v),Fl(v,h)&&f.preventDefault()}},onResize:()=>{d.current&&s.viewport&&c&&o({content:s.viewport.scrollHeight,viewport:s.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:_n(c.paddingTop),paddingEnd:_n(c.paddingBottom)}})}})}),[l4,jl]=Ll(Te),Ol=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:o,hasThumb:r,onThumbChange:s,onThumbPointerUp:c,onThumbPointerDown:a,onThumbPositionChange:d,onDragScroll:u,onWheelScroll:f,onResize:h,...v}=e,m=be(Te,n),[C,p]=i.useState(null),g=V(t,N=>p(N)),b=i.useRef(null),y=i.useRef(""),w=m.viewport,k=o.content-o.viewport,M=U(f),P=U(d),E=Hn(h,10);function L(N){if(b.current){const T=N.clientX-b.current.left,D=N.clientY-b.current.top;u({x:T,y:D})}}return i.useEffect(()=>{const N=T=>{const D=T.target;(C==null?void 0:C.contains(D))&&M(T,k)};return document.addEventListener("wheel",N,{passive:!1}),()=>document.removeEventListener("wheel",N,{passive:!1})},[w,C,k,M]),i.useEffect(P,[o,P]),Et(C,E),Et(m.content,E),l.jsx(l4,{scope:n,scrollbar:C,hasThumb:r,onThumbChange:U(s),onThumbPointerUp:U(c),onThumbPositionChange:P,onThumbPointerDown:U(a),children:l.jsx(Zt.div,{...v,ref:g,style:{position:"absolute",...v.style},onPointerDown:I(e.onPointerDown,N=>{N.button===0&&(N.target.setPointerCapture(N.pointerId),b.current=C.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",m.viewport&&(m.viewport.style.scrollBehavior="auto"),L(N))}),onPointerMove:I(e.onPointerMove,L),onPointerUp:I(e.onPointerUp,N=>{const T=N.target;T.hasPointerCapture(N.pointerId)&&T.releasePointerCapture(N.pointerId),document.body.style.webkitUserSelect=y.current,m.viewport&&(m.viewport.style.scrollBehavior=""),b.current=null})})})}),On="ScrollAreaThumb",_l=i.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=jl(On,e.__scopeScrollArea);return l.jsx(Wt,{present:n||r.hasThumb,children:l.jsx(u4,{ref:t,...o})})}),u4=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:o,...r}=e,s=be(On,n),c=jl(On,n),{onThumbPositionChange:a}=c,d=V(t,h=>c.onThumbChange(h)),u=i.useRef(void 0),f=Hn(()=>{u.current&&(u.current(),u.current=void 0)},100);return i.useEffect(()=>{const h=s.viewport;if(h){const v=()=>{if(f(),!u.current){const m=p4(h,a);u.current=m,a()}};return a(),h.addEventListener("scroll",v),()=>h.removeEventListener("scroll",v)}},[s.viewport,f,a]),l.jsx(Zt.div,{"data-state":c.hasThumb?"visible":"hidden",...r,ref:d,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:I(e.onPointerDownCapture,h=>{const m=h.target.getBoundingClientRect(),C=h.clientX-m.left,p=h.clientY-m.top;c.onThumbPointerDown({x:C,y:p})}),onPointerUp:I(e.onPointerUp,c.onThumbPointerUp)})});_l.displayName=On;var vr="ScrollAreaCorner",$l=i.forwardRef((e,t)=>{const n=be(vr,e.__scopeScrollArea),o=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&o?l.jsx(d4,{...e,ref:t}):null});$l.displayName=vr;var d4=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,...o}=e,r=be(vr,n),[s,c]=i.useState(0),[a,d]=i.useState(0),u=!!(s&&a);return Et(r.scrollbarX,()=>{var h;const f=((h=r.scrollbarX)==null?void 0:h.offsetHeight)||0;r.onCornerHeightChange(f),d(f)}),Et(r.scrollbarY,()=>{var h;const f=((h=r.scrollbarY)==null?void 0:h.offsetWidth)||0;r.onCornerWidthChange(f),c(f)}),u?l.jsx(Zt.div,{...o,ref:t,style:{width:s,height:a,position:"absolute",right:r.dir==="ltr"?0:void 0,left:r.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function _n(e){return e?parseInt(e,10):0}function Hl(e,t){const n=e/t;return isNaN(n)?0:n}function $n(e){const t=Hl(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-n)*t;return Math.max(o,18)}function f4(e,t,n,o="ltr"){const r=$n(n),s=r/2,c=t||s,a=r-c,d=n.scrollbar.paddingStart+c,u=n.scrollbar.size-n.scrollbar.paddingEnd-a,f=n.content-n.viewport,h=o==="ltr"?[0,f]:[f*-1,0];return Dl([d,u],h)(e)}function Vl(e,t,n="ltr"){const o=$n(t),r=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,s=t.scrollbar.size-r,c=t.content-t.viewport,a=s-o,d=n==="ltr"?[0,c]:[c*-1,0],u=dr(e,d);return Dl([0,c],[0,a])(u)}function Dl(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const o=(t[1]-t[0])/(e[1]-e[0]);return t[0]+o*(n-e[0])}}function Fl(e,t){return e>0&&e<t}var p4=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},o=0;return function r(){const s={left:e.scrollLeft,top:e.scrollTop},c=n.left!==s.left,a=n.top!==s.top;(c||a)&&t(),n=s,o=window.requestAnimationFrame(r)}(),()=>window.cancelAnimationFrame(o)};function Hn(e,t){const n=U(e),o=i.useRef(0);return i.useEffect(()=>()=>window.clearTimeout(o.current),[]),i.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(n,t)},[n,t])}function Et(e,t){const n=U(t);J(()=>{let o=0;if(e){const r=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(o),r.unobserve(e)}}},[e,n])}var Rl=Il,Zl=Al,h4=$l;const mr=i.forwardRef(({className:e,children:t,...n},o)=>l.jsxs(Rl,{ref:o,className:$("ksjsui-relative ksjsui-size-full ksjsui-overflow-hidden",e),...n,children:[t,l.jsx(Cr,{}),l.jsx(h4,{})]}));mr.displayName=Rl.displayName;const gr=i.forwardRef(({className:e,children:t,...n},o)=>l.jsx(Zl,{ref:o,className:$(["ksjsui-size-full ksjsui-rounded-[inherit]",e]),...n,children:t}));gr.displayName=Zl.displayName;const Cr=i.forwardRef(({className:e,orientation:t="vertical",...n},o)=>l.jsx(pr,{ref:o,orientation:t,className:$("ksjsui-flex ksjsui-touch-none ksjsui-select-none ksjsui-transition-colors",t==="vertical"&&"ksjsui-h-full ksjsui-w-2.5 ksjsui-border-l ksjsui-border-l-transparent ksjsui-p-[1px]",t==="horizontal"&&"ksjsui-h-2.5 ksjsui-flex-col ksjsui-border-t ksjsui-border-t-transparent ksjsui-p-[1px]",e),...n,children:l.jsx(_l,{className:$(["ksjsui-relative ksjsui-flex-1 ksjsui-rounded-full ksjsui-bg-border","forced-colors:ksjsui-bg-canvas-text","forced-colors:hover:ksjsui-bg-highlight"])})}));Cr.displayName=pr.displayName;function v4(e){const t=e+"CollectionProvider",[n,o]=de(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:C,children:p}=m,g=te.useRef(null),b=te.useRef(new Map).current;return l.jsx(r,{scope:C,itemMap:b,collectionRef:g,children:p})};c.displayName=t;const a=e+"CollectionSlot",d=te.forwardRef((m,C)=>{const{scope:p,children:g}=m,b=s(a,p),y=V(C,b.collectionRef);return l.jsx(re,{ref:y,children:g})});d.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",h=te.forwardRef((m,C)=>{const{scope:p,children:g,...b}=m,y=te.useRef(null),w=V(C,y),k=s(u,p);return te.useEffect(()=>(k.itemMap.set(y,{ref:y,...b}),()=>void k.itemMap.delete(y))),l.jsx(re,{[f]:"",ref:w,children:g})});h.displayName=u;function v(m){const C=s(e+"CollectionConsumer",m);return te.useCallback(()=>{const g=C.collectionRef.current;if(!g)return[];const b=Array.from(g.querySelectorAll(`[${f}]`));return Array.from(C.itemMap.values()).sort((k,M)=>b.indexOf(k.ref.current)-b.indexOf(M.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:c,Slot:d,ItemSlot:h},v,o]}var m4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ie=m4.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function g4(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}var C4="DismissableLayer",br="dismissableLayer.update",b4="dismissableLayer.pointerDownOutside",y4="dismissableLayer.focusOutside",Wl,zl=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bl=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(zl),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(g),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=E4(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),P=S4(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Wl=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Ul(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Wl)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Ul())},[f,u]),i.useEffect(()=>{const E=()=>m({});return document.addEventListener(br,E),()=>document.removeEventListener(br,E)},[]),l.jsx(ie.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,P.onFocusCapture),onBlurCapture:I(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});Bl.displayName=C4;var w4="DismissableLayerBranch",k4=i.forwardRef((e,t)=>{const n=i.useContext(zl),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(ie.div,{...e,ref:r})});k4.displayName=w4;function E4(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Kl(b4,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function S4(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Kl(y4,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ul(){const e=new CustomEvent(br);document.dispatchEvent(e)}function Kl(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?g4(r,s):r.dispatchEvent(s)}var yr="focusScope.autoFocusOnMount",wr="focusScope.autoFocusOnUnmount",Gl={bubbles:!1,cancelable:!0},M4="FocusScope",Yl=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...c}=e,[a,d]=i.useState(null),u=U(r),f=U(s),h=i.useRef(null),v=V(t,p=>d(p)),m=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let p=function(w){if(m.paused||!a)return;const k=w.target;a.contains(k)?h.current=k:tt(h.current,{select:!0})},g=function(w){if(m.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||tt(h.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const M of w)M.removedNodes.length>0&&tt(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",g);const y=new MutationObserver(b);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",g),y.disconnect()}}},[o,a,m.paused]),i.useEffect(()=>{if(a){Ql.add(m);const p=document.activeElement;if(!a.contains(p)){const b=new CustomEvent(yr,Gl);a.addEventListener(yr,u),a.dispatchEvent(b),b.defaultPrevented||(P4(A4(Xl(a)),{select:!0}),document.activeElement===p&&tt(a))}return()=>{a.removeEventListener(yr,u),setTimeout(()=>{const b=new CustomEvent(wr,Gl);a.addEventListener(wr,f),a.dispatchEvent(b),b.defaultPrevented||tt(p??document.body,{select:!0}),a.removeEventListener(wr,f),Ql.remove(m)},0)}}},[a,u,f,m]);const C=i.useCallback(p=>{if(!n&&!o||m.paused)return;const g=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(g&&b){const y=p.currentTarget,[w,k]=x4(y);w&&k?!p.shiftKey&&b===k?(p.preventDefault(),n&&tt(w,{select:!0})):p.shiftKey&&b===w&&(p.preventDefault(),n&&tt(k,{select:!0})):b===y&&p.preventDefault()}},[n,o,m.paused]);return l.jsx(ie.div,{tabIndex:-1,...c,ref:v,onKeyDown:C})});Yl.displayName=M4;function P4(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(tt(o,{select:t}),document.activeElement!==n)return}function x4(e){const t=Xl(e),n=ql(t,e),o=ql(t.reverse(),e);return[n,o]}function Xl(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ql(e,t){for(const n of e)if(!L4(n,{upTo:t}))return n}function L4(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 I4(e){return e instanceof HTMLInputElement&&"select"in e}function tt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&I4(e)&&t&&e.select()}}var Ql=N4();function N4(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Jl(e,t),e.unshift(t)},remove(t){var n;e=Jl(e,t),(n=e[0])==null||n.resume()}}}function Jl(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function A4(e){return e.filter(t=>t.tagName!=="A")}var T4="Arrow",e1=i.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return l.jsx(ie.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});e1.displayName=T4;var j4=e1,kr="Popper",[t1,n1]=de(kr),[O4,o1]=t1(kr),r1=e=>{const{__scopePopper:t,children:n}=e,[o,r]=i.useState(null);return l.jsx(O4,{scope:t,anchor:o,onAnchorChange:r,children:n})};r1.displayName=kr;var s1="PopperAnchor",i1=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=o1(s1,n),c=i.useRef(null),a=V(t,c);return i.useEffect(()=>{s.onAnchorChange((o==null?void 0:o.current)||c.current)}),o?null:l.jsx(ie.div,{...r,ref:a})});i1.displayName=s1;var Er="PopperContent",[_4,$4]=t1(Er),a1=i.forwardRef((e,t)=>{var F,Y,Q,G,X,q;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:c=0,arrowPadding:a=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:m="optimized",onPlaced:C,...p}=e,g=o1(Er,n),[b,y]=i.useState(null),w=V(t,ee=>y(ee)),[k,M]=i.useState(null),P=Mn(k),E=(P==null?void 0:P.width)??0,L=(P==null?void 0:P.height)??0,N=o+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(u)?u:[u],_=D.length>0,R={padding:T,boundary:D.filter(V4),altBoundary:_},{refs:j,floatingStyles:W,placement:H,isPositioned:Z,middlewareData:O}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ee)=>hn(...ee,{animationFrame:m==="always"}),elements:{reference:g.anchor},middleware:[Cn({mainAxis:r+L,alignmentAxis:c}),d&&bn({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?yn():void 0,...R}),d&&wn({...R}),kn({...R,apply:({elements:ee,rects:le,availableWidth:Se,availableHeight:Me})=>{const{width:Pe,height:lt}=le.reference,ue=ee.floating.style;ue.setProperty("--radix-popper-available-width",`${Se}px`),ue.setProperty("--radix-popper-available-height",`${Me}px`),ue.setProperty("--radix-popper-anchor-width",`${Pe}px`),ue.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),k&&Sn({element:k,padding:a}),D4({arrowWidth:E,arrowHeight:L}),v&&En({strategy:"referenceHidden",...R})]}),[A,K]=u1(H),z=U(C);J(()=>{Z&&(z==null||z())},[Z,z]);const oe=(F=O.arrow)==null?void 0:F.x,ae=(Y=O.arrow)==null?void 0:Y.y,se=((Q=O.arrow)==null?void 0:Q.centerOffset)!==0,[he,ce]=i.useState();return J(()=>{b&&ce(window.getComputedStyle(b).zIndex)},[b]),l.jsx("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:Z?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(G=O.transformOrigin)==null?void 0:G.x,(X=O.transformOrigin)==null?void 0:X.y].join(" "),...((q=O.hide)==null?void 0:q.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(_4,{scope:n,placedSide:A,onArrowChange:M,arrowX:oe,arrowY:ae,shouldHideArrow:se,children:l.jsx(ie.div,{"data-side":A,"data-align":K,...p,ref:w,style:{...p.style,animation:Z?void 0:"none"}})})})});a1.displayName=Er;var c1="PopperArrow",H4={top:"bottom",right:"left",bottom:"top",left:"right"},l1=i.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=$4(c1,o),c=H4[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(j4,{...r,ref:n,style:{...r.style,display:"block"}})})});l1.displayName=c1;function V4(e){return e!==null}var D4=e=>({name:"transformOrigin",options:e,fn(t){var g,b,y;const{placement:n,rects:o,middlewareData:r}=t,c=((g=r.arrow)==null?void 0:g.centerOffset)!==0,a=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[u,f]=u1(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(((b=r.arrow)==null?void 0:b.x)??0)+a/2,m=(((y=r.arrow)==null?void 0:y.y)??0)+d/2;let C="",p="";return u==="bottom"?(C=c?h:`${v}px`,p=`${-d}px`):u==="top"?(C=c?h:`${v}px`,p=`${o.floating.height+d}px`):u==="right"?(C=`${-d}px`,p=c?h:`${m}px`):u==="left"&&(C=`${o.floating.width+d}px`,p=c?h:`${m}px`),{data:{x:C,y:p}}}});function u1(e){const[t,n="center"]=e.split("-");return[t,n]}var F4=r1,R4=i1,Z4=a1,W4=l1,z4="Portal",d1=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);J(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx(ie.div,{...o,ref:t}),c):null});d1.displayName=z4;function f1(e){const t=i.useRef({value:e,previous:e});return i.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var B4="VisuallyHidden",p1=i.forwardRef((e,t)=>l.jsx(ie.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}}));p1.displayName=B4;var U4=[" ","Enter","ArrowUp","ArrowDown"],K4=[" ","Enter"],zt="Select",[Vn,Dn,G4]=v4(zt),[St,fm]=de(zt,[G4,n1]),Fn=n1(),[Y4,nt]=St(zt),[X4,q4]=St(zt),h1=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:r,onOpenChange:s,value:c,defaultValue:a,onValueChange:d,dir:u,name:f,autoComplete:h,disabled:v,required:m,form:C}=e,p=Fn(t),[g,b]=i.useState(null),[y,w]=i.useState(null),[k,M]=i.useState(!1),P=sn(u),[E=!1,L]=_e({prop:o,defaultProp:r,onChange:s}),[N,T]=_e({prop:c,defaultProp:a,onChange:d}),D=i.useRef(null),_=g?C||!!g.closest("form"):!0,[R,j]=i.useState(new Set),W=Array.from(R).map(H=>H.props.value).join(";");return l.jsx(F4,{...p,children:l.jsxs(Y4,{required:m,scope:t,trigger:g,onTriggerChange:b,valueNode:y,onValueNodeChange:w,valueNodeHasChildren:k,onValueNodeHasChildrenChange:M,contentId:ge(),value:N,onValueChange:T,open:E,onOpenChange:L,dir:P,triggerPointerDownPosRef:D,disabled:v,children:[l.jsx(Vn.Provider,{scope:t,children:l.jsx(X4,{scope:e.__scopeSelect,onNativeOptionAdd:i.useCallback(H=>{j(Z=>new Set(Z).add(H))},[]),onNativeOptionRemove:i.useCallback(H=>{j(Z=>{const O=new Set(Z);return O.delete(H),O})},[]),children:n})}),_?l.jsxs(H1,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:h,value:N,onChange:H=>T(H.target.value),disabled:v,form:C,children:[N===void 0?l.jsx("option",{value:""}):null,Array.from(R)]},W):null]})})};h1.displayName=zt;var v1="SelectTrigger",m1=i.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:o=!1,...r}=e,s=Fn(n),c=nt(v1,n),a=c.disabled||o,d=V(t,c.onTriggerChange),u=Dn(n),f=i.useRef("touch"),[h,v,m]=V1(p=>{const g=u().filter(w=>!w.disabled),b=g.find(w=>w.value===c.value),y=D1(g,p,b);y!==void 0&&c.onValueChange(y.value)}),C=p=>{a||(c.onOpenChange(!0),m()),p&&(c.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return l.jsx(R4,{asChild:!0,...s,children:l.jsx(ie.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":$1(c.value)?"":void 0,...r,ref:d,onClick:I(r.onClick,p=>{p.currentTarget.focus(),f.current!=="mouse"&&C(p)}),onPointerDown:I(r.onPointerDown,p=>{f.current=p.pointerType;const g=p.target;g.hasPointerCapture(p.pointerId)&&g.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(C(p),p.preventDefault())}),onKeyDown:I(r.onKeyDown,p=>{const g=h.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&v(p.key),!(g&&p.key===" ")&&U4.includes(p.key)&&(C(),p.preventDefault())})})})});m1.displayName=v1;var g1="SelectValue",C1=i.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,children:s,placeholder:c="",...a}=e,d=nt(g1,n),{onValueNodeHasChildrenChange:u}=d,f=s!==void 0,h=V(t,d.onValueNodeChange);return J(()=>{u(f)},[u,f]),l.jsx(ie.span,{...a,ref:h,style:{pointerEvents:"none"},children:$1(d.value)?l.jsx(l.Fragment,{children:c}):s})});C1.displayName=g1;var Q4="SelectIcon",b1=i.forwardRef((e,t)=>{const{__scopeSelect:n,children:o,...r}=e;return l.jsx(ie.span,{"aria-hidden":!0,...r,ref:t,children:o||"▼"})});b1.displayName=Q4;var J4="SelectPortal",y1=e=>l.jsx(d1,{asChild:!0,...e});y1.displayName=J4;var at="SelectContent",w1=i.forwardRef((e,t)=>{const n=nt(at,e.__scopeSelect),[o,r]=i.useState();if(J(()=>{r(new DocumentFragment)},[]),!n.open){const s=o;return s?xe.createPortal(l.jsx(k1,{scope:e.__scopeSelect,children:l.jsx(Vn.Slot,{scope:e.__scopeSelect,children:l.jsx("div",{children:e.children})})}),s):null}return l.jsx(E1,{...e,ref:t})});w1.displayName=at;var Ee=10,[k1,ot]=St(at),e6="SelectContentImpl",E1=i.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:r,onEscapeKeyDown:s,onPointerDownOutside:c,side:a,sideOffset:d,align:u,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:m,sticky:C,hideWhenDetached:p,avoidCollisions:g,...b}=e,y=nt(at,n),[w,k]=i.useState(null),[M,P]=i.useState(null),E=V(t,F=>k(F)),[L,N]=i.useState(null),[T,D]=i.useState(null),_=Dn(n),[R,j]=i.useState(!1),W=i.useRef(!1);i.useEffect(()=>{if(w)return on(w)},[w]),po();const H=i.useCallback(F=>{const[Y,...Q]=_().map(q=>q.ref.current),[G]=Q.slice(-1),X=document.activeElement;for(const q of F)if(q===X||(q==null||q.scrollIntoView({block:"nearest"}),q===Y&&M&&(M.scrollTop=0),q===G&&M&&(M.scrollTop=M.scrollHeight),q==null||q.focus(),document.activeElement!==X))return},[_,M]),Z=i.useCallback(()=>H([L,w]),[H,L,w]);i.useEffect(()=>{R&&Z()},[R,Z]);const{onOpenChange:O,triggerPointerDownPosRef:A}=y;i.useEffect(()=>{if(w){let F={x:0,y:0};const Y=G=>{var X,q;F={x:Math.abs(Math.round(G.pageX)-(((X=A.current)==null?void 0:X.x)??0)),y:Math.abs(Math.round(G.pageY)-(((q=A.current)==null?void 0:q.y)??0))}},Q=G=>{F.x<=10&&F.y<=10?G.preventDefault():w.contains(G.target)||O(!1),document.removeEventListener("pointermove",Y),A.current=null};return A.current!==null&&(document.addEventListener("pointermove",Y),document.addEventListener("pointerup",Q,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Y),document.removeEventListener("pointerup",Q,{capture:!0})}}},[w,O,A]),i.useEffect(()=>{const F=()=>O(!1);return window.addEventListener("blur",F),window.addEventListener("resize",F),()=>{window.removeEventListener("blur",F),window.removeEventListener("resize",F)}},[O]);const[K,z]=V1(F=>{const Y=_().filter(X=>!X.disabled),Q=Y.find(X=>X.ref.current===document.activeElement),G=D1(Y,F,Q);G&&setTimeout(()=>G.ref.current.focus())}),oe=i.useCallback((F,Y,Q)=>{const G=!W.current&&!Q;(y.value!==void 0&&y.value===Y||G)&&(N(F),G&&(W.current=!0))},[y.value]),ae=i.useCallback(()=>w==null?void 0:w.focus(),[w]),se=i.useCallback((F,Y,Q)=>{const G=!W.current&&!Q;(y.value!==void 0&&y.value===Y||G)&&D(F)},[y.value]),he=o==="popper"?Sr:S1,ce=he===Sr?{side:a,sideOffset:d,align:u,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:m,sticky:C,hideWhenDetached:p,avoidCollisions:g}:{};return l.jsx(k1,{scope:n,content:w,viewport:M,onViewportChange:P,itemRefCallback:oe,selectedItem:L,onItemLeave:ae,itemTextRefCallback:se,focusSelectedItem:Z,selectedItemText:T,position:o,isPositioned:R,searchRef:K,children:l.jsx(Nt,{as:re,allowPinchZoom:!0,children:l.jsx(Yl,{asChild:!0,trapped:y.open,onMountAutoFocus:F=>{F.preventDefault()},onUnmountAutoFocus:I(r,F=>{var Y;(Y=y.trigger)==null||Y.focus({preventScroll:!0}),F.preventDefault()}),children:l.jsx(Bl,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:F=>F.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:l.jsx(he,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:F=>F.preventDefault(),...b,...ce,onPlaced:()=>j(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:I(b.onKeyDown,F=>{const Y=F.ctrlKey||F.altKey||F.metaKey;if(F.key==="Tab"&&F.preventDefault(),!Y&&F.key.length===1&&z(F.key),["ArrowUp","ArrowDown","Home","End"].includes(F.key)){let G=_().filter(X=>!X.disabled).map(X=>X.ref.current);if(["ArrowUp","End"].includes(F.key)&&(G=G.slice().reverse()),["ArrowUp","ArrowDown"].includes(F.key)){const X=F.target,q=G.indexOf(X);G=G.slice(q+1)}setTimeout(()=>H(G)),F.preventDefault()}})})})})})})});E1.displayName=e6;var t6="SelectItemAlignedPosition",S1=i.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...r}=e,s=nt(at,n),c=ot(at,n),[a,d]=i.useState(null),[u,f]=i.useState(null),h=V(t,E=>f(E)),v=Dn(n),m=i.useRef(!1),C=i.useRef(!0),{viewport:p,selectedItem:g,selectedItemText:b,focusSelectedItem:y}=c,w=i.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&u&&p&&g&&b){const E=s.trigger.getBoundingClientRect(),L=u.getBoundingClientRect(),N=s.valueNode.getBoundingClientRect(),T=b.getBoundingClientRect();if(s.dir!=="rtl"){const X=T.left-L.left,q=N.left-X,ee=E.left-q,le=E.width+ee,Se=Math.max(le,L.width),Me=window.innerWidth-Ee,Pe=dr(q,[Ee,Math.max(Ee,Me-Se)]);a.style.minWidth=le+"px",a.style.left=Pe+"px"}else{const X=L.right-T.right,q=window.innerWidth-N.right-X,ee=window.innerWidth-E.right-q,le=E.width+ee,Se=Math.max(le,L.width),Me=window.innerWidth-Ee,Pe=dr(q,[Ee,Math.max(Ee,Me-Se)]);a.style.minWidth=le+"px",a.style.right=Pe+"px"}const D=v(),_=window.innerHeight-Ee*2,R=p.scrollHeight,j=window.getComputedStyle(u),W=parseInt(j.borderTopWidth,10),H=parseInt(j.paddingTop,10),Z=parseInt(j.borderBottomWidth,10),O=parseInt(j.paddingBottom,10),A=W+H+R+O+Z,K=Math.min(g.offsetHeight*5,A),z=window.getComputedStyle(p),oe=parseInt(z.paddingTop,10),ae=parseInt(z.paddingBottom,10),se=E.top+E.height/2-Ee,he=_-se,ce=g.offsetHeight/2,F=g.offsetTop+ce,Y=W+H+F,Q=A-Y;if(Y<=se){const X=D.length>0&&g===D[D.length-1].ref.current;a.style.bottom="0px";const q=u.clientHeight-p.offsetTop-p.offsetHeight,ee=Math.max(he,ce+(X?ae:0)+q+Z),le=Y+ee;a.style.height=le+"px"}else{const X=D.length>0&&g===D[0].ref.current;a.style.top="0px";const ee=Math.max(se,W+p.offsetTop+(X?oe:0)+ce)+Q;a.style.height=ee+"px",p.scrollTop=Y-se+p.offsetTop}a.style.margin=`${Ee}px 0`,a.style.minHeight=K+"px",a.style.maxHeight=_+"px",o==null||o(),requestAnimationFrame(()=>m.current=!0)}},[v,s.trigger,s.valueNode,a,u,p,g,b,s.dir,o]);J(()=>w(),[w]);const[k,M]=i.useState();J(()=>{u&&M(window.getComputedStyle(u).zIndex)},[u]);const P=i.useCallback(E=>{E&&C.current===!0&&(w(),y==null||y(),C.current=!1)},[w,y]);return l.jsx(o6,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:m,onScrollButtonChange:P,children:l.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:l.jsx(ie.div,{...r,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...r.style}})})})});S1.displayName=t6;var n6="SelectPopperPosition",Sr=i.forwardRef((e,t)=>{const{__scopeSelect:n,align:o="start",collisionPadding:r=Ee,...s}=e,c=Fn(n);return l.jsx(Z4,{...c,...s,ref:t,align:o,collisionPadding:r,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Sr.displayName=n6;var[o6,Mr]=St(at,{}),Pr="SelectViewport",M1=i.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...r}=e,s=ot(Pr,n),c=Mr(Pr,n),a=V(t,s.onViewportChange),d=i.useRef(0);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),l.jsx(Vn.Slot,{scope:n,children:l.jsx(ie.div,{"data-radix-select-viewport":"",role:"presentation",...r,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...r.style},onScroll:I(r.onScroll,u=>{const f=u.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:v}=c;if(v!=null&&v.current&&h){const m=Math.abs(d.current-f.scrollTop);if(m>0){const C=window.innerHeight-Ee*2,p=parseFloat(h.style.minHeight),g=parseFloat(h.style.height),b=Math.max(p,g);if(b<C){const y=b+m,w=Math.min(C,y),k=y-w;h.style.height=w+"px",h.style.bottom==="0px"&&(f.scrollTop=k>0?k:0,h.style.justifyContent="flex-end")}}}d.current=f.scrollTop})})})]})});M1.displayName=Pr;var P1="SelectGroup",[r6,s6]=St(P1),i6=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=ge();return l.jsx(r6,{scope:n,id:r,children:l.jsx(ie.div,{role:"group","aria-labelledby":r,...o,ref:t})})});i6.displayName=P1;var x1="SelectLabel",L1=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=s6(x1,n);return l.jsx(ie.div,{id:r.id,...o,ref:t})});L1.displayName=x1;var Rn="SelectItem",[a6,I1]=St(Rn),N1=i.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:r=!1,textValue:s,...c}=e,a=nt(Rn,n),d=ot(Rn,n),u=a.value===o,[f,h]=i.useState(s??""),[v,m]=i.useState(!1),C=V(t,y=>{var w;return(w=d.itemRefCallback)==null?void 0:w.call(d,y,o,r)}),p=ge(),g=i.useRef("touch"),b=()=>{r||(a.onValueChange(o),a.onOpenChange(!1))};if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return l.jsx(a6,{scope:n,value:o,disabled:r,textId:p,isSelected:u,onItemTextChange:i.useCallback(y=>{h(w=>w||((y==null?void 0:y.textContent)??"").trim())},[]),children:l.jsx(Vn.ItemSlot,{scope:n,value:o,disabled:r,textValue:f,children:l.jsx(ie.div,{role:"option","aria-labelledby":p,"data-highlighted":v?"":void 0,"aria-selected":u&&v,"data-state":u?"checked":"unchecked","aria-disabled":r||void 0,"data-disabled":r?"":void 0,tabIndex:r?void 0:-1,...c,ref:C,onFocus:I(c.onFocus,()=>m(!0)),onBlur:I(c.onBlur,()=>m(!1)),onClick:I(c.onClick,()=>{g.current!=="mouse"&&b()}),onPointerUp:I(c.onPointerUp,()=>{g.current==="mouse"&&b()}),onPointerDown:I(c.onPointerDown,y=>{g.current=y.pointerType}),onPointerMove:I(c.onPointerMove,y=>{var w;g.current=y.pointerType,r?(w=d.onItemLeave)==null||w.call(d):g.current==="mouse"&&y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:I(c.onPointerLeave,y=>{var w;y.currentTarget===document.activeElement&&((w=d.onItemLeave)==null||w.call(d))}),onKeyDown:I(c.onKeyDown,y=>{var k;((k=d.searchRef)==null?void 0:k.current)!==""&&y.key===" "||(K4.includes(y.key)&&b(),y.key===" "&&y.preventDefault())})})})})});N1.displayName=Rn;var Bt="SelectItemText",A1=i.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,...s}=e,c=nt(Bt,n),a=ot(Bt,n),d=I1(Bt,n),u=q4(Bt,n),[f,h]=i.useState(null),v=V(t,b=>h(b),d.onItemTextChange,b=>{var y;return(y=a.itemTextRefCallback)==null?void 0:y.call(a,b,d.value,d.disabled)}),m=f==null?void 0:f.textContent,C=i.useMemo(()=>l.jsx("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:p,onNativeOptionRemove:g}=u;return J(()=>(p(C),()=>g(C)),[p,g,C]),l.jsxs(l.Fragment,{children:[l.jsx(ie.span,{id:d.textId,...s,ref:v}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?xe.createPortal(s.children,c.valueNode):null]})});A1.displayName=Bt;var T1="SelectItemIndicator",j1=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return I1(T1,n).isSelected?l.jsx(ie.span,{"aria-hidden":!0,...o,ref:t}):null});j1.displayName=T1;var xr="SelectScrollUpButton",c6=i.forwardRef((e,t)=>{const n=ot(xr,e.__scopeSelect),o=Mr(xr,e.__scopeSelect),[r,s]=i.useState(!1),c=V(t,o.onScrollButtonChange);return J(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=d.scrollTop>0;s(u)};const d=n.viewport;return a(),d.addEventListener("scroll",a),()=>d.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?l.jsx(O1,{...e,ref:c,onAutoScroll:()=>{const{viewport:a,selectedItem:d}=n;a&&d&&(a.scrollTop=a.scrollTop-d.offsetHeight)}}):null});c6.displayName=xr;var Lr="SelectScrollDownButton",l6=i.forwardRef((e,t)=>{const n=ot(Lr,e.__scopeSelect),o=Mr(Lr,e.__scopeSelect),[r,s]=i.useState(!1),c=V(t,o.onScrollButtonChange);return J(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=d.scrollHeight-d.clientHeight,f=Math.ceil(d.scrollTop)<u;s(f)};const d=n.viewport;return a(),d.addEventListener("scroll",a),()=>d.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?l.jsx(O1,{...e,ref:c,onAutoScroll:()=>{const{viewport:a,selectedItem:d}=n;a&&d&&(a.scrollTop=a.scrollTop+d.offsetHeight)}}):null});l6.displayName=Lr;var O1=i.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...r}=e,s=ot("SelectScrollButton",n),c=i.useRef(null),a=Dn(n),d=i.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return i.useEffect(()=>()=>d(),[d]),J(()=>{var f;const u=a().find(h=>h.ref.current===document.activeElement);(f=u==null?void 0:u.ref.current)==null||f.scrollIntoView({block:"nearest"})},[a]),l.jsx(ie.div,{"aria-hidden":!0,...r,ref:t,style:{flexShrink:0,...r.style},onPointerDown:I(r.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(o,50))}),onPointerMove:I(r.onPointerMove,()=>{var u;(u=s.onItemLeave)==null||u.call(s),c.current===null&&(c.current=window.setInterval(o,50))}),onPointerLeave:I(r.onPointerLeave,()=>{d()})})}),u6="SelectSeparator",_1=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return l.jsx(ie.div,{"aria-hidden":!0,...o,ref:t})});_1.displayName=u6;var Ir="SelectArrow",d6=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=Fn(n),s=nt(Ir,n),c=ot(Ir,n);return s.open&&c.position==="popper"?l.jsx(W4,{...r,...o,ref:t}):null});d6.displayName=Ir;function $1(e){return e===""||e===void 0}var H1=i.forwardRef((e,t)=>{const{value:n,...o}=e,r=i.useRef(null),s=V(t,r),c=f1(n);return i.useEffect(()=>{const a=r.current,d=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==n&&f){const h=new Event("change",{bubbles:!0});f.call(a,n),a.dispatchEvent(h)}},[c,n]),l.jsx(p1,{asChild:!0,children:l.jsx("select",{...o,ref:s,defaultValue:n})})});H1.displayName="BubbleSelect";function V1(e){const t=U(e),n=i.useRef(""),o=i.useRef(0),r=i.useCallback(c=>{const a=n.current+c;t(a),function d(u){n.current=u,window.clearTimeout(o.current),u!==""&&(o.current=window.setTimeout(()=>d(""),1e3))}(a)},[t]),s=i.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return i.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,r,s]}function D1(e,t,n){const r=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let c=f6(e,Math.max(s,0));r.length===1&&(c=c.filter(u=>u!==n));const d=c.find(u=>u.textValue.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function f6(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var p6=h1,F1=m1,h6=C1,v6=b1,m6=y1,R1=w1,g6=M1,Z1=L1,W1=N1,C6=A1,b6=j1,z1=_1;const y6=p6,w6=h6,B1=i.forwardRef(({className:e,children:t,tabIndex:n=0,...o},r)=>l.jsxs(F1,{ref:r,className:$(["ksjsui-flex ksjsui-h-10 ksjsui-w-full ksjsui-items-center ksjsui-justify-between ksjsui-gap-x-2 ksjsui-rounded-md ksjsui-border ksjsui-border-input ksjsui-bg-background ksjsui-px-3 ksjsui-py-2 ksjsui-text-sm ksjsui-ring-offset-background","data-[placeholder]:ksjsui-text-placeholder","focus:ksjsui-outline-none focus:ksjsui-outline-ring","disabled:ksjsui-cursor-not-allowed disabled:ksjsui-opacity-50","[&>span]:ksjsui-truncate"],e),tabIndex:n,...o,children:[t,l.jsx(v6,{asChild:!0,children:l.jsx(gi,{className:"ksjsui-shrink-0 ksjsui-opacity-50"})})]}));B1.displayName=F1.displayName;const U1=i.forwardRef(({className:e,children:t,position:n="popper",...o},r)=>l.jsx(m6,{children:l.jsx(R1,{ref:r,className:$(["ksjsui-z-50 ksjsui-flex ksjsui-flex-col ksjsui-gap-y-2 ksjsui-overflow-hidden ksjsui-rounded-lg ksjsui-border-0 ksjsui-bg-popover ksjsui-text-popover-foreground ksjsui-shadow-md","ksjsui-max-h-[var(--radix-select-content-available-height)]","ksjsui-min-w-[var(--radix-select-trigger-width)] ksjsui-max-w-[var(--radix-select-content-available-width)]","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0 data-[state=open]:ksjsui-zoom-in-95","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0 data-[state=closed]:ksjsui-zoom-out-95","data-[side=top]:ksjsui-slide-in-from-bottom-2","data-[side=right]:ksjsui-slide-in-from-left-2","data-[side=bottom]:ksjsui-slide-in-from-top-2","data-[side=left]:ksjsui-slide-in-from-right-2","forced-colors:ksjsui-border"],n==="popper"&&["data-[side=top]:-ksjsui-translate-y-1","data-[side=right]:ksjsui-translate-x-1","data-[side=bottom]:ksjsui-translate-y-1","data-[side=left]:-ksjsui-translate-x-1"],e),position:n,...o,children:l.jsx(g6,{className:$("ksjsui-flex ksjsui-flex-col ksjsui-gap-y-2 ksjsui-px-2 ksjsui-py-4"),asChild:!0,children:l.jsx(mr,{children:l.jsx(gr,{children:t})})})})}));U1.displayName=R1.displayName;const k6=i.forwardRef(({className:e,...t},n)=>l.jsx(Z1,{ref:n,className:$("ksjsui-px-2 ksjsui-pt-2 ksjsui-text-sm ksjsui-text-label",e),...t}));k6.displayName=Z1.displayName;const K1=i.forwardRef(({className:e,children:t,...n},o)=>l.jsxs(W1,{ref:o,className:$(["ksjsui-group","ksjsui-flex ksjsui-w-full ksjsui-cursor-default ksjsui-select-none ksjsui-items-center ksjsui-justify-between ksjsui-gap-2 ksjsui-rounded-sm ksjsui-px-2 ksjsui-py-1 ksjsui-text-base","data-[disabled]:ksjsui-pointer-events-none data-[disabled]:ksjsui-opacity-50","focus:ksjsui-bg-selected-hover focus:ksjsui-text-selected-foreground focus:ksjsui-outline-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],e),...n,children:[l.jsx(C6,{children:t}),l.jsx(b6,{children:l.jsx(Eo,{className:$(["ksjsui-size-6 ksjsui-shrink-0","group-focus:forced-colors:ksjsui-fill-highlight-text"])})})]}));K1.displayName=W1.displayName;const E6=i.forwardRef(({className:e,...t},n)=>l.jsx(z1,{ref:n,className:$(["ksjsui-my-1 ksjsui-h-px ksjsui-shrink-0 ksjsui-bg-border","forced-colors:ksjsui-bg-button-border"],e),...t}));E6.displayName=z1.displayName;var S6=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],M6=S6.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),P6="Separator",G1="horizontal",x6=["horizontal","vertical"],Y1=i.forwardRef((e,t)=>{const{decorative:n,orientation:o=G1,...r}=e,s=L6(o)?o:G1,a=n?{role:"none"}:{"aria-orientation":s==="vertical"?s:void 0,role:"separator"};return l.jsx(M6.div,{"data-orientation":s,...a,...r,ref:t})});Y1.displayName=P6;function L6(e){return x6.includes(e)}var X1=Y1;const q1=i.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...o},r)=>l.jsx(X1,{ref:r,decorative:n,orientation:t,className:$("ksjsui-shrink-0 ksjsui-bg-border forced-colors:ksjsui-bg-canvas-text forced-colors:ksjsui-forced-color-adjust-none",t==="horizontal"?"ksjsui-block ksjsui-h-px ksjsui-w-full":"ksjsui-inline-block ksjsui-w-px",e),...o}));q1.displayName=X1.displayName;var I6=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Q1=I6.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Nr="Switch",[N6,pm]=de(Nr),[A6,T6]=N6(Nr),J1=i.forwardRef((e,t)=>{const{__scopeSwitch:n,name:o,checked:r,defaultChecked:s,required:c,disabled:a,value:d="on",onCheckedChange:u,form:f,...h}=e,[v,m]=i.useState(null),C=V(t,w=>m(w)),p=i.useRef(!1),g=v?f||!!v.closest("form"):!0,[b=!1,y]=_e({prop:r,defaultProp:s,onChange:u});return l.jsxs(A6,{scope:n,checked:b,disabled:a,children:[l.jsx(Q1.button,{type:"button",role:"switch","aria-checked":b,"aria-required":c,"data-state":nu(b),"data-disabled":a?"":void 0,disabled:a,value:d,...h,ref:C,onClick:I(e.onClick,w=>{y(k=>!k),g&&(p.current=w.isPropagationStopped(),p.current||w.stopPropagation())})}),g&&l.jsx(j6,{control:v,bubbles:!p.current,name:o,value:d,checked:b,required:c,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});J1.displayName=Nr;var eu="SwitchThumb",tu=i.forwardRef((e,t)=>{const{__scopeSwitch:n,...o}=e,r=T6(eu,n);return l.jsx(Q1.span,{"data-state":nu(r.checked),"data-disabled":r.disabled?"":void 0,...o,ref:t})});tu.displayName=eu;var j6=e=>{const{control:t,checked:n,bubbles:o=!0,...r}=e,s=i.useRef(null),c=f1(n),a=Mn(t);return i.useEffect(()=>{const d=s.current,u=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(u,"checked").set;if(c!==n&&h){const v=new Event("click",{bubbles:o});h.call(d,n),d.dispatchEvent(v)}},[c,n,o]),l.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...r,tabIndex:-1,ref:s,style:{...e.style,...a,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function nu(e){return e?"checked":"unchecked"}var ou=J1,O6=tu;const ru=i.forwardRef(({className:e,tabIndex:t=0,...n},o)=>l.jsx(ou,{className:$(["ksjsui-peer ksjsui-inline-flex ksjsui-h-6 ksjsui-w-11 ksjsui-shrink-0 ksjsui-cursor-pointer ksjsui-items-center ksjsui-rounded-full ksjsui-border-2 ksjsui-border-transparent ksjsui-bg-neutral ksjsui-transition-colors","focus-visible:ksjsui-outline-none focus-visible:ksjsui-ring-2 focus-visible:ksjsui-ring-ring focus-visible:ksjsui-ring-offset-2 focus-visible:ksjsui-ring-offset-background","disabled:ksjsui-pointer-events-none disabled:ksjsui-cursor-not-allowed disabled:ksjsui-opacity-50","data-[state=unchecked]:ksjsui-bg-input","data-[state=checked]:ksjsui-border-secondary data-[state=checked]:ksjsui-bg-secondary","forced-colors:ksjsui-border-button-border forced-colors:ksjsui-transition-none","forced-colors:data-[state=checked]:ksjsui-border-highlight forced-colors:data-[state=checked]:ksjsui-bg-highlight"],e),tabIndex:t,...n,ref:o,children:l.jsx(O6,{className:$(["ksjsui-pointer-events-none ksjsui-block ksjsui-size-5 ksjsui-translate-x-0 ksjsui-rounded-full ksjsui-bg-thumb ksjsui-shadow ksjsui-ring-0 ksjsui-transition-transform","data-[state=unchecked]:ksjsui-translate-x-0","data-[state=checked]:ksjsui-translate-x-5","rtl:data-[state=checked]:-ksjsui-translate-x-5","forced-colors:ksjsui-bg-button-border forced-colors:ksjsui-transition-none","forced-colors:data-[state=checked]:ksjsui-bg-canvas"])})}));ru.displayName=ou.displayName;function _6(e){const t=e+"CollectionProvider",[n,o]=de(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:C,children:p}=m,g=te.useRef(null),b=te.useRef(new Map).current;return l.jsx(r,{scope:C,itemMap:b,collectionRef:g,children:p})};c.displayName=t;const a=e+"CollectionSlot",d=te.forwardRef((m,C)=>{const{scope:p,children:g}=m,b=s(a,p),y=V(C,b.collectionRef);return l.jsx(re,{ref:y,children:g})});d.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",h=te.forwardRef((m,C)=>{const{scope:p,children:g,...b}=m,y=te.useRef(null),w=V(C,y),k=s(u,p);return te.useEffect(()=>(k.itemMap.set(y,{ref:y,...b}),()=>void k.itemMap.delete(y))),l.jsx(re,{[f]:"",ref:w,children:g})});h.displayName=u;function v(m){const C=s(e+"CollectionConsumer",m);return te.useCallback(()=>{const g=C.collectionRef.current;if(!g)return[];const b=Array.from(g.querySelectorAll(`[${f}]`));return Array.from(C.itemMap.values()).sort((k,M)=>b.indexOf(k.ref.current)-b.indexOf(M.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:c,Slot:d,ItemSlot:h},v,o]}var $6=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],je=$6.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function su(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}var H6="DismissableLayer",Ar="dismissableLayer.update",V6="dismissableLayer.pointerDownOutside",D6="dismissableLayer.focusOutside",iu,au=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cu=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(au),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(g),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=R6(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),P=Z6(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(iu=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),uu(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=iu)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),uu())},[f,u]),i.useEffect(()=>{const E=()=>m({});return document.addEventListener(Ar,E),()=>document.removeEventListener(Ar,E)},[]),l.jsx(je.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,P.onFocusCapture),onBlurCapture:I(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});cu.displayName=H6;var F6="DismissableLayerBranch",lu=i.forwardRef((e,t)=>{const n=i.useContext(au),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(je.div,{...e,ref:r})});lu.displayName=F6;function R6(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){du(V6,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function Z6(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&du(D6,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function uu(){const e=new CustomEvent(Ar);document.dispatchEvent(e)}function du(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?su(r,s):r.dispatchEvent(s)}var W6=cu,z6=lu,B6="Portal",fu=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);J(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx(je.div,{...o,ref:t}),c):null});fu.displayName=B6;function U6(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var pu=e=>{const{present:t,children:n}=e,o=K6(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,G6(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};pu.displayName="Presence";function K6(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=U6(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=Zn(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,m=Zn(u);e?d("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=m=>{const p=Zn(o.current).includes(m.animationName);if(m.target===t&&p&&(d("ANIMATION_END"),!r.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},v=m=>{m.target===t&&(s.current=Zn(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function Zn(e){return(e==null?void 0:e.animationName)||"none"}function G6(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Y6="VisuallyHidden",Tr=i.forwardRef((e,t)=>l.jsx(je.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}}));Tr.displayName=Y6;var jr="ToastProvider",[Or,X6,q6]=_6("Toast"),[hu,hm]=de("Toast",[q6]),[Q6,Wn]=hu(jr),vu=e=>{const{__scopeToast:t,label:n="Notification",duration:o=5e3,swipeDirection:r="right",swipeThreshold:s=50,children:c}=e,[a,d]=i.useState(null),[u,f]=i.useState(0),h=i.useRef(!1),v=i.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${jr}\`. Expected non-empty \`string\`.`),l.jsx(Or.Provider,{scope:t,children:l.jsx(Q6,{scope:t,label:n,duration:o,swipeDirection:r,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:d,onToastAdd:i.useCallback(()=>f(m=>m+1),[]),onToastRemove:i.useCallback(()=>f(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:v,children:c})})};vu.displayName=jr;var mu="ToastViewport",J6=["F8"],_r="toast.viewportPause",$r="toast.viewportResume",gu=i.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:o=J6,label:r="Notifications ({hotkey})",...s}=e,c=Wn(mu,n),a=X6(n),d=i.useRef(null),u=i.useRef(null),f=i.useRef(null),h=i.useRef(null),v=V(t,h,c.onViewportChange),m=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),C=c.toastCount>0;i.useEffect(()=>{const g=b=>{var w;o.length!==0&&o.every(k=>b[k]||b.code===k)&&((w=h.current)==null||w.focus())};return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)},[o]),i.useEffect(()=>{const g=d.current,b=h.current;if(C&&g&&b){const y=()=>{if(!c.isClosePausedRef.current){const P=new CustomEvent(_r);b.dispatchEvent(P),c.isClosePausedRef.current=!0}},w=()=>{if(c.isClosePausedRef.current){const P=new CustomEvent($r);b.dispatchEvent(P),c.isClosePausedRef.current=!1}},k=P=>{!g.contains(P.relatedTarget)&&w()},M=()=>{g.contains(document.activeElement)||w()};return g.addEventListener("focusin",y),g.addEventListener("focusout",k),g.addEventListener("pointermove",y),g.addEventListener("pointerleave",M),window.addEventListener("blur",y),window.addEventListener("focus",w),()=>{g.removeEventListener("focusin",y),g.removeEventListener("focusout",k),g.removeEventListener("pointermove",y),g.removeEventListener("pointerleave",M),window.removeEventListener("blur",y),window.removeEventListener("focus",w)}}},[C,c.isClosePausedRef]);const p=i.useCallback(({tabbingDirection:g})=>{const y=a().map(w=>{const k=w.ref.current,M=[k,...p8(k)];return g==="forwards"?M:M.reverse()});return(g==="forwards"?y.reverse():y).flat()},[a]);return i.useEffect(()=>{const g=h.current;if(g){const b=y=>{var M,P,E;const w=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!w){const L=document.activeElement,N=y.shiftKey;if(y.target===g&&N){(M=u.current)==null||M.focus();return}const _=p({tabbingDirection:N?"backwards":"forwards"}),R=_.findIndex(j=>j===L);Dr(_.slice(R+1))?y.preventDefault():N?(P=u.current)==null||P.focus():(E=f.current)==null||E.focus()}};return g.addEventListener("keydown",b),()=>g.removeEventListener("keydown",b)}},[a,p]),l.jsxs(z6,{ref:d,role:"region","aria-label":r.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:C?void 0:"none"},children:[C&&l.jsx(Hr,{ref:u,onFocusFromOutsideViewport:()=>{const g=p({tabbingDirection:"forwards"});Dr(g)}}),l.jsx(Or.Slot,{scope:n,children:l.jsx(je.ol,{tabIndex:-1,...s,ref:v})}),C&&l.jsx(Hr,{ref:f,onFocusFromOutsideViewport:()=>{const g=p({tabbingDirection:"backwards"});Dr(g)}})]})});gu.displayName=mu;var Cu="ToastFocusProxy",Hr=i.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:o,...r}=e,s=Wn(Cu,n);return l.jsx(Tr,{"aria-hidden":!0,tabIndex:0,...r,ref:t,style:{position:"fixed"},onFocus:c=>{var u;const a=c.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&o()}})});Hr.displayName=Cu;var zn="Toast",e8="toast.swipeStart",t8="toast.swipeMove",n8="toast.swipeCancel",o8="toast.swipeEnd",bu=i.forwardRef((e,t)=>{const{forceMount:n,open:o,defaultOpen:r,onOpenChange:s,...c}=e,[a=!0,d]=_e({prop:o,defaultProp:r,onChange:s});return l.jsx(pu,{present:n||a,children:l.jsx(i8,{open:a,...c,ref:t,onClose:()=>d(!1),onPause:U(e.onPause),onResume:U(e.onResume),onSwipeStart:I(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:I(e.onSwipeMove,u=>{const{x:f,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:I(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:I(e.onSwipeEnd,u=>{const{x:f,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),d(!1)})})})});bu.displayName=zn;var[r8,s8]=hu(zn,{onClose(){}}),i8=i.forwardRef((e,t)=>{const{__scopeToast:n,type:o="foreground",duration:r,open:s,onClose:c,onEscapeKeyDown:a,onPause:d,onResume:u,onSwipeStart:f,onSwipeMove:h,onSwipeCancel:v,onSwipeEnd:m,...C}=e,p=Wn(zn,n),[g,b]=i.useState(null),y=V(t,j=>b(j)),w=i.useRef(null),k=i.useRef(null),M=r||p.duration,P=i.useRef(0),E=i.useRef(M),L=i.useRef(0),{onToastAdd:N,onToastRemove:T}=p,D=U(()=>{var W;(g==null?void 0:g.contains(document.activeElement))&&((W=p.viewport)==null||W.focus()),c()}),_=i.useCallback(j=>{!j||j===1/0||(window.clearTimeout(L.current),P.current=new Date().getTime(),L.current=window.setTimeout(D,j))},[D]);i.useEffect(()=>{const j=p.viewport;if(j){const W=()=>{_(E.current),u==null||u()},H=()=>{const Z=new Date().getTime()-P.current;E.current=E.current-Z,window.clearTimeout(L.current),d==null||d()};return j.addEventListener(_r,H),j.addEventListener($r,W),()=>{j.removeEventListener(_r,H),j.removeEventListener($r,W)}}},[p.viewport,M,d,u,_]),i.useEffect(()=>{s&&!p.isClosePausedRef.current&&_(M)},[s,M,p.isClosePausedRef,_]),i.useEffect(()=>(N(),()=>T()),[N,T]);const R=i.useMemo(()=>g?Mu(g):null,[g]);return p.viewport?l.jsxs(l.Fragment,{children:[R&&l.jsx(a8,{__scopeToast:n,role:"status","aria-live":o==="foreground"?"assertive":"polite","aria-atomic":!0,children:R}),l.jsx(r8,{scope:n,onClose:D,children:xe.createPortal(l.jsx(Or.ItemSlot,{scope:n,children:l.jsx(W6,{asChild:!0,onEscapeKeyDown:I(a,()=>{p.isFocusedToastEscapeKeyDownRef.current||D(),p.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(je.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":p.swipeDirection,...C,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:I(e.onKeyDown,j=>{j.key==="Escape"&&(a==null||a(j.nativeEvent),j.nativeEvent.defaultPrevented||(p.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:I(e.onPointerDown,j=>{j.button===0&&(w.current={x:j.clientX,y:j.clientY})}),onPointerMove:I(e.onPointerMove,j=>{if(!w.current)return;const W=j.clientX-w.current.x,H=j.clientY-w.current.y,Z=!!k.current,O=["left","right"].includes(p.swipeDirection),A=["left","up"].includes(p.swipeDirection)?Math.min:Math.max,K=O?A(0,W):0,z=O?0:A(0,H),oe=j.pointerType==="touch"?10:2,ae={x:K,y:z},se={originalEvent:j,delta:ae};Z?(k.current=ae,Bn(t8,h,se,{discrete:!1})):Pu(ae,p.swipeDirection,oe)?(k.current=ae,Bn(e8,f,se,{discrete:!1}),j.target.setPointerCapture(j.pointerId)):(Math.abs(W)>oe||Math.abs(H)>oe)&&(w.current=null)}),onPointerUp:I(e.onPointerUp,j=>{const W=k.current,H=j.target;if(H.hasPointerCapture(j.pointerId)&&H.releasePointerCapture(j.pointerId),k.current=null,w.current=null,W){const Z=j.currentTarget,O={originalEvent:j,delta:W};Pu(W,p.swipeDirection,p.swipeThreshold)?Bn(o8,m,O,{discrete:!0}):Bn(n8,v,O,{discrete:!0}),Z.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),p.viewport)})]}):null}),a8=e=>{const{__scopeToast:t,children:n,...o}=e,r=Wn(zn,t),[s,c]=i.useState(!1),[a,d]=i.useState(!1);return d8(()=>c(!0)),i.useEffect(()=>{const u=window.setTimeout(()=>d(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(fu,{asChild:!0,children:l.jsx(Tr,{...o,children:s&&l.jsxs(l.Fragment,{children:[r.label," ",n]})})})},c8="ToastTitle",l8=i.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return l.jsx(je.div,{...o,ref:t})});l8.displayName=c8;var u8="ToastDescription",yu=i.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return l.jsx(je.div,{...o,ref:t})});yu.displayName=u8;var wu="ToastAction",ku=i.forwardRef((e,t)=>{const{altText:n,...o}=e;return n.trim()?l.jsx(Su,{altText:n,asChild:!0,children:l.jsx(Vr,{...o,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${wu}\`. Expected non-empty \`string\`.`),null)});ku.displayName=wu;var Eu="ToastClose",Vr=i.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e,r=s8(Eu,n);return l.jsx(Su,{asChild:!0,children:l.jsx(je.button,{type:"button",...o,ref:t,onClick:I(e.onClick,r.onClose)})})});Vr.displayName=Eu;var Su=i.forwardRef((e,t)=>{const{__scopeToast:n,altText:o,...r}=e;return l.jsx(je.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...r,ref:t})});function Mu(e){const t=[];return Array.from(e.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&t.push(o.textContent),f8(o)){const r=o.ariaHidden||o.hidden||o.style.display==="none",s=o.dataset.radixToastAnnounceExclude==="";if(!r)if(s){const c=o.dataset.radixToastAnnounceAlt;c&&t.push(c)}else t.push(...Mu(o))}}),t}function Bn(e,t,n,{discrete:o}){const r=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?su(r,s):r.dispatchEvent(s)}var Pu=(e,t,n=0)=>{const o=Math.abs(e.x),r=Math.abs(e.y),s=o>r;return t==="left"||t==="right"?s&&o>n:!s&&r>n};function d8(e=()=>{}){const t=U(e);J(()=>{let n=0,o=0;return n=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(o)}},[t])}function f8(e){return e.nodeType===e.ELEMENT_NODE}function p8(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Dr(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var h8=vu,xu=gu,Lu=bu,Iu=yu,Nu=ku,Au=Vr;const v8=1,m8=1e6;let Fr=0;function g8(){return Fr=(Fr+1)%Number.MAX_SAFE_INTEGER,Fr.toString()}const Rr=new Map,Tu=e=>{if(Rr.has(e))return;const t=setTimeout(()=>{Rr.delete(e),Ut({type:"REMOVE_TOAST",toastId:e})},m8);Rr.set(e,t)},C8=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,v8)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Tu(n):e.toasts.forEach(o=>{Tu(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Un=[];let Kn={toasts:[]};function Ut(e){Kn=C8(Kn,e),Un.forEach(t=>{t(Kn)})}function b8({...e}){const t=g8(),n=r=>Ut({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>Ut({type:"DISMISS_TOAST",toastId:t});return Ut({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:n}}function ju(){const[e,t]=i.useState(Kn);return i.useEffect(()=>(Un.push(t),()=>{const n=Un.indexOf(t);n>-1&&Un.splice(n,1)}),[e]),{...e,toast:b8,dismiss:n=>Ut({type:"DISMISS_TOAST",toastId:n})}}let Zr={toast:{dismissButtonLabel:"missing ksjsui string"}};const Ou=i.createContext(Zr);function y8({children:e}){const t=i.useRef(Zr);return l.jsx(Ou.Provider,{value:t.current,children:e})}function w8(){const e=i.useContext(Ou);if(!e)throw new Error("useStrings must be used inside <StringsProvider />");return e}function k8(e){Zr=e}const E8=h8,_u=i.forwardRef(({className:e,...t},n)=>l.jsx(xu,{ref:n,className:$(["dark-mode","ksjsui-fixed ksjsui-bottom-0 ksjsui-end-0 ksjsui-z-[100] ksjsui-flex ksjsui-max-h-screen ksjsui-w-full ksjsui-flex-col ksjsui-p-4","focus:ksjsui-outline-none","xs:ksjsui-max-w-[calc(theme(spacing.80)_+_theme(spacing.8))]"],e),...t}));_u.displayName=xu.displayName;const S8=Fe(["ksjsui-group","ksjsui-pointer-events-auto ksjsui-relative ksjsui-flex ksjsui-w-full ksjsui-items-center ksjsui-justify-between ksjsui-overflow-hidden ksjsui-rounded-lg ksjsui-border ksjsui-border-transparent ksjsui-bg-toast ksjsui-p-3 ksjsui-text-toast-foreground ksjsui-shadow-lg ksjsui-outline-ring ksjsui-transition-all","focus-visible:ksjsui-outline focus-visible:ksjsui-outline-2","data-[swipe=cancel]:ksjsui-translate-x-0","data-[swipe=end]:ksjsui-translate-x-[var(--radix-toast-swipe-end-x)]","data-[swipe=move]:ksjsui-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:ksjsui-transition-none","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-slide-in-from-bottom-full","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-80","data-[state=closed]:ksjsui-slide-out-to-bottom-full","[.light-mode_&]:focus:ksjsui-outline-light-mode-focus-fix"]),$u=i.forwardRef(({className:e,...t},n)=>l.jsx(Lu,{ref:n,className:$(S8(),e),...t}));$u.displayName=Lu.displayName;const M8=i.forwardRef(({className:e,...t},n)=>l.jsx(Nu,{ref:n,className:$(["ksjsui-inline-flex ksjsui-h-8 ksjsui-shrink-0 ksjsui-items-center ksjsui-justify-center ksjsui-rounded-lg ksjsui-border ksjsui-bg-transparent ksjsui-px-3 ksjsui-text-sm ksjsui-font-medium ksjsui-ring-offset-background ksjsui-transition-colors","focus:ksjsui-outline-none focus:ksjsui-ring-2 focus:ksjsui-ring-ring focus:ksjsui-ring-offset-2","disabled:ksjsui-pointer-events-none disabled:ksjsui-opacity-50"],e),...t}));M8.displayName=Nu.displayName;const Hu=i.forwardRef(({className:e,...t},n)=>l.jsx(Au,{ref:n,className:$(["ksjsui-text-current/50 ksjsui-self-start ksjsui-rounded-sm ksjsui-opacity-0 ksjsui-outline-ring ksjsui-transition-opacity","focus-visible:ksjsui-opacity-100 focus-visible:ksjsui-outline focus-visible:ksjsui-outline-2","group-hover:ksjsui-opacity-100","group-focus-visible:ksjsui-opacity-100","[.light-mode_&]:focus:ksjsui-outline-light-mode-focus-fix"],e),"toast-close":"",...t,children:l.jsx(Po,{})}));Hu.displayName=Au.displayName;const Vu=i.forwardRef(({className:e,...t},n)=>l.jsx(Iu,{ref:n,className:$("ksjsui-text-[15px]",e),...t}));Vu.displayName=Iu.displayName;const P8=()=>{const{toasts:e}=ju(),{toast:t}=w8();return l.jsxs(E8,{children:[e.map(function({id:n,className:o,title:r,description:s,action:c,icon:a,dismissButtonLabel:d,...u}){return l.jsxs($u,{...u,className:$("ksjsui-flex ksjsui-items-start ksjsui-gap-x-4",o),children:[a&&l.jsx("div",{className:"ksjsui-shrink-0",children:a}),l.jsx("div",{className:"ksjsui-grid ksjsui-grow ksjsui-gap-1",children:s&&l.jsx(Vu,{children:s})}),c,l.jsx(Hu,{"aria-label":d||t.dismissButtonLabel})]},n)}),l.jsx(_u,{})]})};var x8=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ct=x8.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function L8(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}var I8="DismissableLayer",Wr="dismissableLayer.update",N8="dismissableLayer.pointerDownOutside",A8="dismissableLayer.focusOutside",Du,Fu=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ru=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(Fu),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(g),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=O8(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),P=_8(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Du=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Zu(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Du)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Zu())},[f,u]),i.useEffect(()=>{const E=()=>m({});return document.addEventListener(Wr,E),()=>document.removeEventListener(Wr,E)},[]),l.jsx(ct.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,P.onFocusCapture),onBlurCapture:I(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});Ru.displayName=I8;var T8="DismissableLayerBranch",j8=i.forwardRef((e,t)=>{const n=i.useContext(Fu),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(ct.div,{...e,ref:r})});j8.displayName=T8;function O8(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Wu(N8,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function _8(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Wu(A8,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Zu(){const e=new CustomEvent(Wr);document.dispatchEvent(e)}function Wu(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?L8(r,s):r.dispatchEvent(s)}var $8="Arrow",zu=i.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return l.jsx(ct.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});zu.displayName=$8;var H8=zu,zr="Popper",[Bu,Uu]=de(zr),[V8,Ku]=Bu(zr),Gu=e=>{const{__scopePopper:t,children:n}=e,[o,r]=i.useState(null);return l.jsx(V8,{scope:t,anchor:o,onAnchorChange:r,children:n})};Gu.displayName=zr;var Yu="PopperAnchor",Xu=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=Ku(Yu,n),c=i.useRef(null),a=V(t,c);return i.useEffect(()=>{s.onAnchorChange((o==null?void 0:o.current)||c.current)}),o?null:l.jsx(ct.div,{...r,ref:a})});Xu.displayName=Yu;var Br="PopperContent",[D8,F8]=Bu(Br),qu=i.forwardRef((e,t)=>{var F,Y,Q,G,X,q;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:c=0,arrowPadding:a=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:m="optimized",onPlaced:C,...p}=e,g=Ku(Br,n),[b,y]=i.useState(null),w=V(t,ee=>y(ee)),[k,M]=i.useState(null),P=Mn(k),E=(P==null?void 0:P.width)??0,L=(P==null?void 0:P.height)??0,N=o+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(u)?u:[u],_=D.length>0,R={padding:T,boundary:D.filter(Z8),altBoundary:_},{refs:j,floatingStyles:W,placement:H,isPositioned:Z,middlewareData:O}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ee)=>hn(...ee,{animationFrame:m==="always"}),elements:{reference:g.anchor},middleware:[Cn({mainAxis:r+L,alignmentAxis:c}),d&&bn({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?yn():void 0,...R}),d&&wn({...R}),kn({...R,apply:({elements:ee,rects:le,availableWidth:Se,availableHeight:Me})=>{const{width:Pe,height:lt}=le.reference,ue=ee.floating.style;ue.setProperty("--radix-popper-available-width",`${Se}px`),ue.setProperty("--radix-popper-available-height",`${Me}px`),ue.setProperty("--radix-popper-anchor-width",`${Pe}px`),ue.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),k&&Sn({element:k,padding:a}),W8({arrowWidth:E,arrowHeight:L}),v&&En({strategy:"referenceHidden",...R})]}),[A,K]=ed(H),z=U(C);J(()=>{Z&&(z==null||z())},[Z,z]);const oe=(F=O.arrow)==null?void 0:F.x,ae=(Y=O.arrow)==null?void 0:Y.y,se=((Q=O.arrow)==null?void 0:Q.centerOffset)!==0,[he,ce]=i.useState();return J(()=>{b&&ce(window.getComputedStyle(b).zIndex)},[b]),l.jsx("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:Z?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(G=O.transformOrigin)==null?void 0:G.x,(X=O.transformOrigin)==null?void 0:X.y].join(" "),...((q=O.hide)==null?void 0:q.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(D8,{scope:n,placedSide:A,onArrowChange:M,arrowX:oe,arrowY:ae,shouldHideArrow:se,children:l.jsx(ct.div,{"data-side":A,"data-align":K,...p,ref:w,style:{...p.style,animation:Z?void 0:"none"}})})})});qu.displayName=Br;var Qu="PopperArrow",R8={top:"bottom",right:"left",bottom:"top",left:"right"},Ju=i.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=F8(Qu,o),c=R8[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(H8,{...r,ref:n,style:{...r.style,display:"block"}})})});Ju.displayName=Qu;function Z8(e){return e!==null}var W8=e=>({name:"transformOrigin",options:e,fn(t){var g,b,y;const{placement:n,rects:o,middlewareData:r}=t,c=((g=r.arrow)==null?void 0:g.centerOffset)!==0,a=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[u,f]=ed(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(((b=r.arrow)==null?void 0:b.x)??0)+a/2,m=(((y=r.arrow)==null?void 0:y.y)??0)+d/2;let C="",p="";return u==="bottom"?(C=c?h:`${v}px`,p=`${-d}px`):u==="top"?(C=c?h:`${v}px`,p=`${o.floating.height+d}px`):u==="right"?(C=`${-d}px`,p=c?h:`${m}px`):u==="left"&&(C=`${o.floating.width+d}px`,p=c?h:`${m}px`),{data:{x:C,y:p}}}});function ed(e){const[t,n="center"]=e.split("-");return[t,n]}var z8=Gu,B8=Xu,U8=qu,K8=Ju;function G8(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var td=e=>{const{present:t,children:n}=e,o=Y8(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,X8(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};td.displayName="Presence";function Y8(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=G8(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=Gn(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,m=Gn(u);e?d("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=m=>{const p=Gn(o.current).includes(m.animationName);if(m.target===t&&p&&(d("ANIMATION_END"),!r.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},v=m=>{m.target===t&&(s.current=Gn(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function Gn(e){return(e==null?void 0:e.animationName)||"none"}function X8(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var q8="VisuallyHidden",nd=i.forwardRef((e,t)=>l.jsx(ct.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}}));nd.displayName=q8;var Q8=nd,[Yn,mm]=de("Tooltip",[Uu]),Xn=Uu(),od="TooltipProvider",J8=700,Ur="tooltip.open",[ev,Kr]=Yn(od),rd=e=>{const{__scopeTooltip:t,delayDuration:n=J8,skipDelayDuration:o=300,disableHoverableContent:r=!1,children:s}=e,[c,a]=i.useState(!0),d=i.useRef(!1),u=i.useRef(0);return i.useEffect(()=>{const f=u.current;return()=>window.clearTimeout(f)},[]),l.jsx(ev,{scope:t,isOpenDelayed:c,delayDuration:n,onOpen:i.useCallback(()=>{window.clearTimeout(u.current),a(!1)},[]),onClose:i.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a(!0),o)},[o]),isPointerInTransitRef:d,onPointerInTransitChange:i.useCallback(f=>{d.current=f},[]),disableHoverableContent:r,children:s})};rd.displayName=od;var qn="Tooltip",[tv,Qn]=Yn(qn),sd=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:r=!1,onOpenChange:s,disableHoverableContent:c,delayDuration:a}=e,d=Kr(qn,e.__scopeTooltip),u=Xn(t),[f,h]=i.useState(null),v=ge(),m=i.useRef(0),C=c??d.disableHoverableContent,p=a??d.delayDuration,g=i.useRef(!1),[b=!1,y]=_e({prop:o,defaultProp:r,onChange:E=>{E?(d.onOpen(),document.dispatchEvent(new CustomEvent(Ur))):d.onClose(),s==null||s(E)}}),w=i.useMemo(()=>b?g.current?"delayed-open":"instant-open":"closed",[b]),k=i.useCallback(()=>{window.clearTimeout(m.current),m.current=0,g.current=!1,y(!0)},[y]),M=i.useCallback(()=>{window.clearTimeout(m.current),m.current=0,y(!1)},[y]),P=i.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{g.current=!0,y(!0),m.current=0},p)},[p,y]);return i.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),l.jsx(z8,{...u,children:l.jsx(tv,{scope:t,contentId:v,open:b,stateAttribute:w,trigger:f,onTriggerChange:h,onTriggerEnter:i.useCallback(()=>{d.isOpenDelayed?P():k()},[d.isOpenDelayed,P,k]),onTriggerLeave:i.useCallback(()=>{C?M():(window.clearTimeout(m.current),m.current=0)},[M,C]),onOpen:k,onClose:M,disableHoverableContent:C,children:n})})};sd.displayName=qn;var Gr="TooltipTrigger",id=i.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=Qn(Gr,n),s=Kr(Gr,n),c=Xn(n),a=i.useRef(null),d=V(t,a,r.onTriggerChange),u=i.useRef(!1),f=i.useRef(!1),h=i.useCallback(()=>u.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),l.jsx(B8,{asChild:!0,...c,children:l.jsx(ct.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...o,ref:d,onPointerMove:I(e.onPointerMove,v=>{v.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(r.onTriggerEnter(),f.current=!0)}),onPointerLeave:I(e.onPointerLeave,()=>{r.onTriggerLeave(),f.current=!1}),onPointerDown:I(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:I(e.onFocus,()=>{u.current||r.onOpen()}),onBlur:I(e.onBlur,r.onClose),onClick:I(e.onClick,r.onClose)})})});id.displayName=Gr;var nv="TooltipPortal",[gm,ov]=Yn(nv,{forceMount:void 0}),Mt="TooltipContent",ad=i.forwardRef((e,t)=>{const n=ov(Mt,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...s}=e,c=Qn(Mt,e.__scopeTooltip);return l.jsx(td,{present:o||c.open,children:c.disableHoverableContent?l.jsx(cd,{side:r,...s,ref:t}):l.jsx(rv,{side:r,...s,ref:t})})}),rv=i.forwardRef((e,t)=>{const n=Qn(Mt,e.__scopeTooltip),o=Kr(Mt,e.__scopeTooltip),r=i.useRef(null),s=V(t,r),[c,a]=i.useState(null),{trigger:d,onClose:u}=n,f=r.current,{onPointerInTransitChange:h}=o,v=i.useCallback(()=>{a(null),h(!1)},[h]),m=i.useCallback((C,p)=>{const g=C.currentTarget,b={x:C.clientX,y:C.clientY},y=av(b,g.getBoundingClientRect()),w=cv(b,y),k=lv(p.getBoundingClientRect()),M=dv([...w,...k]);a(M),h(!0)},[h]);return i.useEffect(()=>()=>v(),[v]),i.useEffect(()=>{if(d&&f){const C=g=>m(g,f),p=g=>m(g,d);return d.addEventListener("pointerleave",C),f.addEventListener("pointerleave",p),()=>{d.removeEventListener("pointerleave",C),f.removeEventListener("pointerleave",p)}}},[d,f,m,v]),i.useEffect(()=>{if(c){const C=p=>{const g=p.target,b={x:p.clientX,y:p.clientY},y=(d==null?void 0:d.contains(g))||(f==null?void 0:f.contains(g)),w=!uv(b,c);y?v():w&&(v(),u())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[d,f,c,u,v]),l.jsx(cd,{...e,ref:s})}),[sv,iv]=Yn(qn,{isInside:!1}),cd=i.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":r,onEscapeKeyDown:s,onPointerDownOutside:c,...a}=e,d=Qn(Mt,n),u=Xn(n),{onClose:f}=d;return i.useEffect(()=>(document.addEventListener(Ur,f),()=>document.removeEventListener(Ur,f)),[f]),i.useEffect(()=>{if(d.trigger){const h=v=>{const m=v.target;m!=null&&m.contains(d.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[d.trigger,f]),l.jsx(Ru,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:l.jsxs(U8,{"data-state":d.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(eo,{children:o}),l.jsx(sv,{scope:n,isInside:!0,children:l.jsx(Q8,{id:d.contentId,role:"tooltip",children:r||o})})]})})});ad.displayName=Mt;var ld="TooltipArrow",ud=i.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=Xn(n);return iv(ld,n).isInside?null:l.jsx(K8,{...r,...o,ref:t})});ud.displayName=ld;function av(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,o,r,s)){case s:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function cv(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function lv(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}function uv(e,t){const{x:n,y:o}=e;let r=!1;for(let s=0,c=t.length-1;s<t.length;c=s++){const a=t[s].x,d=t[s].y,u=t[c].x,f=t[c].y;d>o!=f>o&&n<(u-a)*(o-d)/(f-d)+a&&(r=!r)}return r}function dv(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),fv(t)}function fv(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const r=e[o];for(;t.length>=2;){const s=t[t.length-1],c=t[t.length-2];if((s.x-c.x)*(r.y-c.y)>=(s.y-c.y)*(r.x-c.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const r=e[o];for(;n.length>=2;){const s=n[n.length-1],c=n[n.length-2];if((s.x-c.x)*(r.y-c.y)>=(s.y-c.y)*(r.x-c.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var pv=rd,hv=sd,vv=id,dd=ad,mv=ud;const gv=({disableHoverableContent:e=!0,...t})=>l.jsx(pv,{disableHoverableContent:e,...t}),Cv=hv,bv=vv,fd=i.forwardRef(({children:e,className:t,collisionPadding:n={left:12,right:12},side:o="bottom",sideOffset:r=4,...s},c)=>l.jsxs(dd,{ref:c,sideOffset:r,side:o,collisionPadding:n,className:$(["ksjsui-z-50 ksjsui-max-w-[var(--radix-popper-available-width)] ksjsui-origin-[var(--radix-tooltip-content-transform-origin)] ksjsui-rounded ksjsui-bg-popover-foreground ksjsui-px-3 ksjsui-py-2 ksjsui-text-[15px] ksjsui-text-popover ksjsui-shadow-md ksjsui-will-change-transform","sm:ksjsui-max-w-prose","motion-safe:ksjsui-duration-300 motion-safe:ksjsui-animate-in motion-safe:ksjsui-fade-in-0","motion-safe:data-[state=closed]:ksjsui-animate-out motion-safe:data-[state=closed]:ksjsui-fade-out-0","forced-colors:ksjsui-border forced-colors:ksjsui-border-canvas-text"],t),...s,children:[e,l.jsx(mv,{className:$(["ksjsui-z-50 -ksjsui-translate-y-1/2 ksjsui-rotate-45 ksjsui-rounded-br-[2px] ksjsui-border-b ksjsui-border-r ksjsui-border-popover-foreground ksjsui-bg-popover-foreground ksjsui-fill-popover-foreground","forced-colors:ksjsui-translate-y-[calc(-50%_+_0.75px)] forced-colors:ksjsui-border-canvas-text forced-colors:ksjsui-bg-canvas forced-colors:ksjsui-fill-canvas forced-colors:ksjsui-shadow-none"]),style:{width:10,height:10}})]}));fd.displayName=dd.displayName;const Yr=["px",0,.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],yv=[...Yr,"auto"];function wv(){return Yr.reduce((e,t)=>(e.gap[t]=`ksjsui-gap-${t}`,e.gapColumn[t]=`ksjsui-gap-x-${t}`,e.gapRow[t]=`ksjsui-gap-y-${t}`,e),{gap:{},gapColumn:{},gapRow:{}})}function pd(){return yv.reduce((e,t)=>(e.m[t]=`ksjsui-m-${t}`,e.mb[t]=`ksjsui-mb-${t}`,e.me[t]=`ksjsui-me-${t}`,e.ms[t]=`ksjsui-ms-${t}`,e.mt[t]=`ksjsui-mt-${t}`,e.mx[t]=`ksjsui-mx-${t}`,e.my[t]=`ksjsui-my-${t}`,e),{m:{},mb:{},me:{},ms:{},mt:{},mx:{},my:{}})}function hd(){return Yr.reduce((e,t)=>(e.p[t]=`ksjsui-p-${t}`,e.pb[t]=`ksjsui-pb-${t}`,e.pe[t]=`ksjsui-pe-${t}`,e.ps[t]=`ksjsui-ps-${t}`,e.pt[t]=`ksjsui-pt-${t}`,e.px[t]=`ksjsui-px-${t}`,e.py[t]=`ksjsui-py-${t}`,e),{p:{},pb:{},pe:{},ps:{},pt:{},px:{},py:{}})}const kv=Fe("",{variants:{display:{block:"ksjsui-block","inline-block":"ksjsui-inline-block",none:"ksjsui-hidden"},...pd(),...hd()},defaultVariants:{display:"block"}}),vd=i.forwardRef(({as:e="div",asChild:t,className:n,display:o,m:r,mb:s,me:c,ms:a,mt:d,mx:u,my:f,p:h,pb:v,pe:m,ps:C,pt:p,px:g,py:b,...y},w)=>{const k=t?re:e;return l.jsx(k,{className:$(kv({display:o,m:r,mb:s,me:c,ms:a,mt:d,mx:u,my:f,p:h,pb:v,pe:m,ps:C,pt:p,px:g,py:b,className:n})),ref:w,...y})});vd.displayName="Box";const Ev={align:{baseline:"ksjsui-items-baseline",center:"ksjsui-items-center",end:"ksjsui-items-end",start:"ksjsui-items-start",stretch:"ksjsui-items-stretch"},direction:{"column-reverse":"ksjsui-flex-col-reverse","row-reverse":"ksjsui-flex-row-reverse",column:"ksjsui-flex-col",row:"ksjsui-flex-row"},display:{"inline-flex":"ksjsui-inline-flex",flex:"ksjsui-flex",none:"ksjsui-hidden"},...wv(),grow:{0:"ksjsui-grow-0",1:"ksjsui-grow"},justify:{around:"ksjsui-justify-around",baseline:"ksjsui-justify-baseline",between:"ksjsui-justify-between",center:"ksjsui-justify-center",end:"ksjsui-justify-end",evenly:"ksjsui-justify-evenly",normal:"ksjsui-justify-normal",start:"ksjsui-justify-start",stretch:"ksjsui-justify-stretch"},...pd(),...hd(),self:{auto:"ksjsui-self-auto",baseline:"ksjsui-self-baseline",center:"ksjsui-self-center",end:"ksjsui-self-end",start:"ksjsui-self-start",stretch:"ksjsui-self-stretch"},shrink:{0:"ksjsui-shrink-0",1:"ksjsui-shrink"},wrap:{nowrap:"ksjsui-flex-nowrap",reverse:"ksjsui-flex-wrap-reverse",wrap:"ksjsui-flex-wrap"}},Sv=Fe("ksjsui-inline-flex",{variants:{...Ev},defaultVariants:{display:"flex",justify:"start"}}),md=i.forwardRef(({align:e,as:t="div",asChild:n,className:o,display:r,direction:s,gap:c,gapColumn:a,gapRow:d,grow:u,justify:f,m:h,mb:v,me:m,ms:C,mt:p,mx:g,my:b,p:y,pb:w,pe:k,ps:M,pt:P,px:E,py:L,self:N,shrink:T,wrap:D,..._},R)=>{const j=n?re:t;return l.jsx(j,{className:$(Sv({align:e,direction:s,display:r,gap:c,gapColumn:a,gapRow:d,grow:u,justify:f,m:h,mb:v,me:m,ms:C,mt:p,mx:g,my:b,p:y,pb:w,pe:k,ps:M,pt:P,px:E,py:L,self:N,shrink:T,wrap:D,className:o})),ref:R,..._})});md.displayName="Flex",S.AccessibilityIcon=_2,S.AppWindowGlobeIcon=D2,S.AppWindowPromptTopRightIcon=H2,S.AppWindowTerminalIcon=F2,S.ArrowDownIcon=gi,S.ArrowLeftIcon=R2,S.Avatar=ws,S.AvatarFallback=Es,S.AvatarImage=ks,S.BadgeUserIcon=Z2,S.BirthCertificateIcon=W2,S.Box=vd,S.Button=ao,S.CheckIcon=Eo,S.ChevronDownIcon=z2,S.ChevronLeftIcon=So,S.ChevronRightIcon=Mo,S.ChevronUpIcon=B2,S.CircleAlertIcon=K2,S.CircleAlertOutlineIcon=U2,S.CircleCheckIcon=G2,S.CircleHelpIcon=X2,S.CircleHelpOutlineIcon=Y2,S.CircleInfoOutlineIcon=q2,S.CircleLockIcon=J2,S.CirclePlusIcon=ep,S.CircleSegmentTopRightIcon=np,S.CircleUserIcon=sp,S.CircleUserOffIcon=rp,S.CircleXIcon=ip,S.ClipboardIcon=up,S.ClipboardXIcon=cp,S.CopyIcon=dp,S.CreditCardIcon=fp,S.DatabaseIcon=hp,S.DatabaseMapPinIcon=pp,S.Dialog=X0,S.DialogClose=Q0,S.DialogContent=yi,S.DialogDescription=Si,S.DialogFooter=ki,S.DialogHeader=wi,S.DialogOverlay=xo,S.DialogPortal=bi,S.DialogTitle=Ei,S.DialogTrigger=q0,S.DiceIcon=yp,S.DiceOutlineIcon=mp,S.DiceWhiteIcon=Cp,S.DirectionProvider=e3,S.DotIcon=wp,S.DotOutlineIcon=kp,S.DownloadIcon=Ep,S.DropdownMenu=V5,S.DropdownMenuCheckboxItem=xc,S.DropdownMenuContent=Mc,S.DropdownMenuGroup=kc,S.DropdownMenuItem=Pc,S.DropdownMenuLabel=Ic,S.DropdownMenuPortal=F5,S.DropdownMenuRadioGroup=Z5,S.DropdownMenuRadioItem=Lc,S.DropdownMenuSeparator=Nc,S.DropdownMenuShortcut=Ac,S.DropdownMenuSub=R5,S.DropdownMenuSubContent=Sc,S.DropdownMenuSubTrigger=Ec,S.DropdownMenuTrigger=D5,S.EarthIcon=Sp,S.EllipsisHorizontalIcon=Mp,S.EllipsisVerticalIcon=Pp,S.EyeIcon=xp,S.EyeOffIcon=Lp,S.FileCogIcon=Ip,S.FileLockIcon=Np,S.FingerprintIcon=Ap,S.Flex=md,S.FolderIcon=Tp,S.FolderShareIcon=jp,S.GlobeIcon=Op,S.HospitalIcon=_p,S.IconButton=Tc,S.IdCardIcon=$p,S.KeeperCoinIcon=Dp,S.KeeperIcon=Hp,S.KeeperOffIcon=Fp,S.KeeperSquareInputIcon=Zp,S.KeyUserIcon=zp,S.KeyboardIcon=Bp,S.LandmarkIcon=Up,S.LightbulbIcon=Gp,S.List=jc,S.ListItem=Oc,S.ListItemArrow=_c,S.ListItemButton=$c,S.ListItemText=Hc,S.ListLabel=Vc,S.ListSeparator=Dc,S.Loader=io,S.LockIcon=Xp,S.LockOutlineIcon=Yp,S.LogInIcon=qp,S.LogOutIcon=Qp,S.MapPinIcon=Jp,S.MembershipCardIcon=e0,S.MessageSquareInfoIcon=t0,S.MessageSquareMoreIcon=n0,S.MessageSquarePenLineIcon=o0,S.MonitorLayoutGridIcon=r0,S.NetworkIcon=s0,S.PaletteIcon=i0,S.PanelLandscapeIcon=a0,S.PanelPortraitIcon=c0,S.PanelsTopLeftIcon=l0,S.PaperclipIcon=u0,S.PcCaseIcon=d0,S.PencilIcon=f0,S.Popover=q9,S.PopoverContent=xl,S.PopoverTrigger=Q9,S.PowerIcon=h0,S.RadioIcon=v0,S.RadioSelectedIcon=Ci,S.RefreshCcwIcon=m0,S.ReplyIcon=g0,S.RotateCwIcon=C0,S.SaveIcon=b0,S.ScanCameraIcon=y0,S.ScrollArea=mr,S.ScrollAreaViewport=gr,S.ScrollBar=Cr,S.SearchIcon=w0,S.Select=y6,S.SelectContent=U1,S.SelectItem=K1,S.SelectTrigger=B1,S.SelectValue=w6,S.Separator=q1,S.ServerIcon=k0,S.SettingsIcon=E0,S.ShapesIcon=M0,S.ShieldQuestionIcon=P0,S.ShieldSecurityIcon=x0,S.SkipForwardIcon=L0,S.SlidersHorizontalIcon=N0,S.SocialSecurityCardIcon=A0,S.SquareArrowOutUpRightIcon=j0,S.SquareCheckIcon=_0,S.SquareGlobeLineIcon=$0,S.SquareIcon=T0,S.SquareImageIcon=H0,S.SquareInputIcon=V0,S.SquareKeyUserIcon=D0,S.SquareUserIcon=F0,S.StarIcon=Z0,S.StarOutlineIcon=R0,S.StringsProvider=y8,S.Switch=ru,S.TimerIcon=W0,S.Toast=P8,S.Tooltip=Cv,S.TooltipContent=fd,S.TooltipProvider=gv,S.TooltipTrigger=bv,S.TrashIcon=B0,S.TriangleAlertIcon=U0,S.UsersIcon=K0,S.VaultIcon=Y0,S.XIcon=Po,S.configureStrings=k8,S.useToast=ju,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})});
|
|
45
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},N2="DialogDescriptionWarning",A2=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${di(N2).contentName}}.`;return i.useEffect(()=>{var s;const r=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},T2=qs,j2=Js,O2=ti,fi=ni,pi=oi,hi=si,vi=ai,gi=li;const _2=P("AccessibilityIcon",l.jsx("path",{d:"M20.5 6C17.89 6.7 14.83 7 12 7C9.17 7 6.11 6.7 3.5 6L3 8C4.86 8.5 7 8.83 9 9V22H11V16H13V22H15V9C17 8.83 19.14 8.5 21 8L20.5 6ZM12 6C13.1 6 14 5.1 14 4C14 2.9 13.1 2 12 2C10.9 2 10 2.9 10 4C10 5.1 10.9 6 12 6Z"})),$2=l.jsxs(l.Fragment,{children:[l.jsxs("g",{clipPath:"url(#clip0_1268_26388)",children:[l.jsx("rect",{x:"10",y:"8",width:"10",height:"4"}),l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 20C1 20.5523 1.44772 21 2 21H22C22.5523 21 23 20.5523 23 20V4C23 3.44772 22.5523 3 22 3H2C1.44772 3 1 3.44772 1 4V20ZM3 7V19H21V7H3Z"})]}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_1268_26388",children:l.jsx("rect",{width:"24",height:"24"})})})]}),H2=P("AppWindowPromptTopRightIcon",$2),V2=l.jsxs(l.Fragment,{children:[l.jsx("path",{fillRule:"evenodd",d:"M3 2H21C21.5304 2 22.0391 2.21071 22.4142 2.58579C22.7893 2.96086 23 3.46957 23 4V20C23 20.5304 22.7893 21.0391 22.4142 21.4142C22.0391 21.7893 21.5304 22 21 22H3C2.46957 22 1.96086 21.7893 1.58579 21.4142C1.21071 21.0391 1 20.5304 1 20V4C1 3.46957 1.21071 2.96086 1.58579 2.58579C1.96086 2.21071 2.46957 2 3 2ZM3 20H21V6H3V20ZM11.995 8C9.235 8 7 10.24 7 13C7 15.76 9.235 18 11.995 18C14.76 18 17 15.76 17 13C17 10.24 14.76 8 11.995 8ZM15.46 11H13.985C13.825 10.375 13.595 9.77499 13.295 9.21999C14.215 9.53499 14.98 10.175 15.46 11ZM12.955 11C12.74 10.285 12.415 9.62 12 9.02C11.585 9.62 11.26 10.285 11.045 11H12.955ZM8.12996 14C8.04996 13.68 7.99996 13.345 7.99996 13C7.99996 12.655 8.04996 12.32 8.12996 12H9.81996C9.77996 12.33 9.74996 12.66 9.74996 13C9.74996 13.34 9.77996 13.67 9.81996 14H8.12996ZM10.0149 15H8.53992C9.01992 15.83 9.78492 16.465 10.7049 16.78C10.4049 16.225 10.1749 15.625 10.0149 15ZM10.0149 11H8.53992C9.01992 10.17 9.78492 9.53499 10.7049 9.21999C10.4049 9.77499 10.1749 10.375 10.0149 11ZM11.045 15C11.26 15.715 11.585 16.38 12 16.98C12.415 16.38 12.74 15.715 12.955 15H11.045ZM13.17 14H10.83C10.785 13.67 10.75 13.34 10.75 13C10.75 12.66 10.785 12.325 10.83 12H13.17C13.215 12.325 13.25 12.66 13.25 13C13.25 13.34 13.215 13.67 13.17 14ZM13.985 15C13.825 15.625 13.595 16.225 13.295 16.78C14.215 16.465 14.98 15.825 15.46 15H13.985ZM14.18 14C14.22 13.67 14.25 13.34 14.25 13C14.25 12.66 14.22 12.33 14.18 12H15.87C15.95 12.32 16 12.655 16 13C16 13.345 15.95 13.68 15.87 14H14.18Z"}),l.jsx("path",{d:"M22.4142 2.58579L22.3435 2.6565L22.4142 2.58579ZM1.58579 21.4142L1.6565 21.3435L1.58579 21.4142ZM1.58579 2.58579L1.6565 2.6565L1.58579 2.58579ZM21 20V20.1H21.1V20H21ZM3 20H2.9V20.1H3V20ZM21 6H21.1V5.9H21V6ZM3 6V5.9H2.9V6H3ZM13.985 11L13.8881 11.0248L13.9073 11.1H13.985V11ZM15.46 11V11.1H15.6338L15.5464 10.9497L15.46 11ZM13.295 9.21999L13.3274 9.12538L13.0854 9.04253L13.207 9.26754L13.295 9.21999ZM12 9.02L12.0822 8.96311L12 8.84421L11.9178 8.96311L12 9.02ZM12.955 11V11.1H13.0895L13.0508 10.9712L12.955 11ZM11.045 11L10.9492 10.9712L10.9105 11.1H11.045V11ZM8.12996 14L8.03294 14.0242L8.05188 14.1H8.12996V14ZM8.12996 12V11.9H8.05188L8.03294 11.9757L8.12996 12ZM9.81996 12L9.91923 12.012L9.93281 11.9H9.81996V12ZM9.81996 14V14.1H9.93281L9.91923 13.988L9.81996 14ZM8.53992 15V14.9H8.36657L8.45335 15.05L8.53992 15ZM10.0149 15L10.1118 14.9752L10.0925 14.9H10.0149V15ZM10.7049 16.78L10.6725 16.8746L10.9145 16.9574L10.7929 16.7324L10.7049 16.78ZM8.53992 11L8.45335 10.9499L8.36657 11.1H8.53992V11ZM10.0149 11V11.1H10.0925L10.1118 11.0248L10.0149 11ZM10.7049 9.21999L10.7929 9.26754L10.9145 9.04253L10.6725 9.12538L10.7049 9.21999ZM12 16.98L11.9178 17.0369L12 17.1558L12.0822 17.0369L12 16.98ZM11.045 15V14.9H10.9105L10.9492 15.0288L11.045 15ZM12.955 15L13.0508 15.0288L13.0895 14.9H12.955V15ZM10.83 14L10.7309 14.0135L10.7427 14.1H10.83V14ZM13.17 14V14.1H13.2573L13.2691 14.0135L13.17 14ZM10.83 12V11.9H10.7429L10.7309 11.9863L10.83 12ZM13.17 12L13.2691 11.9863L13.2571 11.9H13.17V12ZM13.295 16.78L13.207 16.7324L13.0854 16.9574L13.3274 16.8746L13.295 16.78ZM13.985 15V14.9H13.9073L13.8881 14.9752L13.985 15ZM15.46 15L15.5464 15.0503L15.6338 14.9H15.46V15ZM14.18 14L14.0807 13.988L14.0671 14.1H14.18V14ZM14.18 12V11.9H14.0671L14.0807 12.012L14.18 12ZM15.87 12L15.967 11.9757L15.948 11.9H15.87V12ZM15.87 14V14.1H15.948L15.967 14.0242L15.87 14ZM21 1.9H3V2.1H21V1.9ZM22.4849 2.51508C22.0911 2.12125 21.557 1.9 21 1.9V2.1C21.5039 2.1 21.9872 2.30018 22.3435 2.6565L22.4849 2.51508ZM23.1 4C23.1 3.44305 22.8787 2.9089 22.4849 2.51508L22.3435 2.6565C22.6998 3.01282 22.9 3.49609 22.9 4H23.1ZM23.1 20V4H22.9V20H23.1ZM22.4849 21.4849C22.8787 21.0911 23.1 20.557 23.1 20H22.9C22.9 20.5039 22.6998 20.9872 22.3435 21.3435L22.4849 21.4849ZM21 22.1C21.557 22.1 22.0911 21.8787 22.4849 21.4849L22.3435 21.3435C21.9872 21.6998 21.5039 21.9 21 21.9V22.1ZM3 22.1H21V21.9H3V22.1ZM1.51508 21.4849C1.9089 21.8787 2.44305 22.1 3 22.1V21.9C2.49609 21.9 2.01282 21.6998 1.6565 21.3435L1.51508 21.4849ZM0.9 20C0.9 20.557 1.12125 21.0911 1.51508 21.4849L1.6565 21.3435C1.30018 20.9872 1.1 20.5039 1.1 20H0.9ZM0.9 4V20H1.1V4H0.9ZM1.51508 2.51508C1.12125 2.9089 0.9 3.44305 0.9 4H1.1C1.1 3.49609 1.30018 3.01282 1.6565 2.6565L1.51508 2.51508ZM3 1.9C2.44305 1.9 1.9089 2.12125 1.51508 2.51508L1.6565 2.6565C2.01282 2.30018 2.49609 2.1 3 2.1V1.9ZM21 19.9H3V20.1H21V19.9ZM20.9 6V20H21.1V6H20.9ZM3 6.1H21V5.9H3V6.1ZM3.1 20V6H2.9V20H3.1ZM7.1 13C7.1 10.2951 9.29036 8.1 11.995 8.1V7.9C9.17964 7.9 6.9 10.1849 6.9 13H7.1ZM11.995 17.9C9.29036 17.9 7.1 15.7049 7.1 13H6.9C6.9 15.8151 9.17964 18.1 11.995 18.1V17.9ZM16.9 13C16.9 15.7047 14.7048 17.9 11.995 17.9V18.1C14.8152 18.1 17.1 15.8153 17.1 13H16.9ZM11.995 8.1C14.7048 8.1 16.9 10.2953 16.9 13H17.1C17.1 10.1847 14.8152 7.9 11.995 7.9V8.1ZM13.985 11.1H15.46V10.9H13.985V11.1ZM13.207 9.26754C13.5028 9.81486 13.73 10.4072 13.8881 11.0248L14.0818 10.9752C13.92 10.3428 13.6871 9.73512 13.3829 9.17244L13.207 9.26754ZM15.5464 10.9497C15.0546 10.1043 14.2706 9.44834 13.3274 9.12538L13.2626 9.3146C14.1593 9.62165 14.9054 10.2456 15.3735 11.0503L15.5464 10.9497ZM11.9178 9.07688C12.327 9.66852 12.6473 10.3241 12.8592 11.0288L13.0508 10.9712C12.8327 10.2459 12.503 9.57148 12.0822 8.96311L11.9178 9.07688ZM11.1408 11.0288C11.3527 10.3241 11.673 9.66852 12.0822 9.07688L11.9178 8.96311C11.497 9.57148 11.1673 10.2459 10.9492 10.9712L11.1408 11.0288ZM12.955 10.9H11.045V11.1H12.955V10.9ZM7.89996 13C7.89996 13.3546 7.95136 13.6979 8.03294 14.0242L8.22697 13.9757C8.14856 13.6621 8.09996 13.3353 8.09996 13H7.89996ZM8.03294 11.9757C7.95136 12.3021 7.89996 12.6453 7.89996 13H8.09996C8.09996 12.6646 8.14856 12.3379 8.22697 12.0242L8.03294 11.9757ZM9.81996 11.9H8.12996V12.1H9.81996V11.9ZM9.84996 13C9.84996 12.6657 9.87945 12.3402 9.91923 12.012L9.72069 11.988C9.68047 12.3198 9.64996 12.6542 9.64996 13H9.84996ZM9.91923 13.988C9.87945 13.6598 9.84996 13.3342 9.84996 13H9.64996C9.64996 13.3457 9.68047 13.6802 9.72069 14.012L9.91923 13.988ZM8.12996 14.1H9.81996V13.9H8.12996V14.1ZM8.53992 15.1H10.0149V14.9H8.53992V15.1ZM10.7373 16.6854C9.84031 16.3782 9.09448 15.7591 8.62648 14.9499L8.45335 15.05C8.94535 15.9008 9.72952 16.5517 10.6725 16.8746L10.7373 16.6854ZM9.91804 15.0248C10.0799 15.6571 10.3128 16.2648 10.6169 16.8275L10.7929 16.7324C10.497 16.1851 10.2699 15.5928 10.1118 14.9752L9.91804 15.0248ZM8.53992 11.1H10.0149V10.9H8.53992V11.1ZM10.6725 9.12538C9.72952 9.44826 8.94535 10.0992 8.45335 10.9499L8.62648 11.0501C9.09448 10.2408 9.84031 9.62172 10.7373 9.3146L10.6725 9.12538ZM10.1118 11.0248C10.2699 10.4072 10.497 9.81486 10.7929 9.26754L10.6169 9.17244C10.3128 9.73512 10.0799 10.3428 9.91804 10.9752L10.1118 11.0248ZM12.0822 16.9231C11.673 16.3314 11.3527 15.6759 11.1408 14.9712L10.9492 15.0288C11.1673 15.754 11.497 16.4285 11.9178 17.0369L12.0822 16.9231ZM12.8592 14.9712C12.6473 15.6759 12.327 16.3314 11.9178 16.9231L12.0822 17.0369C12.503 16.4285 12.8327 15.754 13.0508 15.0288L12.8592 14.9712ZM11.045 15.1H12.955V14.9H11.045V15.1ZM10.83 14.1H13.17V13.9H10.83V14.1ZM10.65 13C10.65 13.3466 10.6857 13.6818 10.7309 14.0135L10.9291 13.9865C10.8843 13.6582 10.85 13.3333 10.85 13H10.65ZM10.7309 11.9863C10.6857 12.3133 10.65 12.6534 10.65 13H10.85C10.85 12.6666 10.8843 12.3367 10.9291 12.0137L10.7309 11.9863ZM13.17 11.9H10.83V12.1H13.17V11.9ZM13.35 13C13.35 12.6534 13.3143 12.3133 13.2691 11.9863L13.0709 12.0137C13.1157 12.3367 13.15 12.6666 13.15 13H13.35ZM13.2691 14.0135C13.3143 13.6818 13.35 13.3466 13.35 13H13.15C13.15 13.3333 13.1157 13.6582 13.0709 13.9865L13.2691 14.0135ZM13.3829 16.8275C13.6871 16.2648 13.92 15.6571 14.0818 15.0248L13.8881 14.9752C13.73 15.5928 13.5028 16.1851 13.207 16.7324L13.3829 16.8275ZM15.3735 14.9497C14.9054 15.7543 14.1593 16.3783 13.2626 16.6854L13.3274 16.8746C14.2706 16.5516 15.0546 15.8956 15.5464 15.0503L15.3735 14.9497ZM13.985 15.1H15.46V14.9H13.985V15.1ZM14.15 13C14.15 13.3342 14.1205 13.6598 14.0807 13.988L14.2792 14.012C14.3195 13.6802 14.35 13.3457 14.35 13H14.15ZM14.0807 12.012C14.1205 12.3402 14.15 12.6657 14.15 13H14.35C14.35 12.6542 14.3195 12.3198 14.2792 11.988L14.0807 12.012ZM15.87 11.9H14.18V12.1H15.87V11.9ZM16.1 13C16.1 12.6453 16.0486 12.3021 15.967 11.9757L15.773 12.0242C15.8514 12.3379 15.9 12.6646 15.9 13H16.1ZM15.967 14.0242C16.0486 13.6979 16.1 13.3546 16.1 13H15.9C15.9 13.3353 15.8514 13.6621 15.773 13.9757L15.967 14.0242ZM14.18 14.1H15.87V13.9H14.18V14.1Z"})]}),D2=P("AppWindowGlobeIcon",V2),F2=P("AppWindowTerminalIcon",l.jsx("path",{d:"M19.9641 18.7351V6.15232H4.03593V18.7351H19.9641ZM19.9641 2C21.0419 2 22 2.88079 22 4.13907V18.8609C22 19.9934 21.1617 21 19.9641 21H4.03593C2.83832 20.8742 2 19.9934 2 18.7351V4.13907C2 2.88079 2.95808 2 4.03593 2H19.9641ZM13.018 16.7219V14.5828H18.0479V16.7219H13.018ZM9.54491 12.4437L5.59281 8.29139H8.46707L11.7006 11.8146C12.0599 12.1921 12.0599 12.947 11.7006 13.3245L8.46707 16.7219H5.59281L9.54491 12.4437Z"})),mi=P("ArrowDownIcon",l.jsx("path",{d:"M7 10.041L12 14.939L17 10.041H7Z"})),Z2=P("ArrowLeftIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 11H7.8L13.4 5.4L12 4L4 12L12 20L13.4 18.6L7.8 13H20V11Z"})),R2=P("BadgeUserIcon",l.jsx("path",{d:"M18 19H6V17.6C6 15.6 10 14.5 12 14.5C14 14.5 18 15.6 18 17.6M12 7C12.7956 7 13.5587 7.31607 14.1213 7.87868C14.6839 8.44129 15 9.20435 15 10C15 10.7956 14.6839 11.5587 14.1213 12.1213C13.5587 12.6839 12.7956 13 12 13C11.2044 13 10.4413 12.6839 9.87868 12.1213C9.31607 11.5587 9 10.7956 9 10C9 9.20435 9.31607 8.44129 9.87868 7.87868C10.4413 7.31607 11.2044 7 12 7ZM12 3C12.2652 3 12.5196 3.10536 12.7071 3.29289C12.8946 3.48043 13 3.73478 13 4C13 4.26522 12.8946 4.51957 12.7071 4.70711C12.5196 4.89464 12.2652 5 12 5C11.7348 5 11.4804 4.89464 11.2929 4.70711C11.1054 4.51957 11 4.26522 11 4C11 3.73478 11.1054 3.48043 11.2929 3.29289C11.4804 3.10536 11.7348 3 12 3ZM19 3H14.82C14.4 1.84 13.3 1 12 1C10.7 1 9.6 1.84 9.18 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z"})),W2=P("BirthCertificateIcon",l.jsx("path",{d:"M13.9744 2H7.03419C5.83761 2 5 2.84 5 4.04V18.08C5 19.16 5.83761 20 7.03419 20H10.0256V23L12.0598 22.04L14.094 23V20H16.9658C18.0427 20 19 19.16 19 17.96V7.04M13.9744 14.96V17L11.9402 16.04L9.90598 17V14.96L7.99145 14L10.0256 13.04V11L12.0598 11.96L14.094 11V13.04L16.1282 14M13.0171 8V3.44L17.4444 8H13.0171Z"})),Eo=P("CheckIcon",l.jsx("path",{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"})),z2=P("ChevronDownIcon",l.jsx("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),So=P("ChevronLeftIcon",l.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),Mo=P("ChevronRightIcon",l.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),B2=P("ChevronUpIcon",l.jsx("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"})),U2=P("CircleAlertOutlineIcon",l.jsx("path",{d:"M11 15H13V17H11V15ZM11 7H13V13H11V7ZM11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58004 20 4 16.42 4 12C4 7.57997 7.58004 4 12 4C16.42 4 20 7.57997 20 12C20 16.42 16.42 20 12 20Z"})),K2=P("CircleAlertIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V15H13V17ZM13 13H11V7H13V13Z"})),G2=P("CircleCheckIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM10 18L5 13L6.41 11.59L10 15.17L17.59 7.58L19 9L10 18Z"})),Y2=P("CircleHelpOutlineIcon",l.jsx("path",{d:"M11 18H13V16H11V18ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 6C9.79 6 8 7.79 8 10H10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 12 11 11.75 11 15H13C13 12.75 16 12.5 16 10C16 7.79 14.21 6 12 6Z"})),X2=P("CircleHelpIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"})),q2=P("CircleInfoOutlineIcon",l.jsx("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"})),Q2=l.jsxs(l.Fragment,{children:[l.jsxs("mask",{id:"mask0_6_73",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",children:[l.jsx("path",{d:"M22 12C22 17.5227 17.5227 22 12 22C6.47733 22 2 17.5227 2 12C2 6.47733 6.47733 2 12 2C17.5227 2 22 6.47733 22 12Z",fill:"white"}),l.jsx("path",{d:"M10.074 9.34856V10.6516H8.59266V9.34856C8.59266 7.47283 10.1243 5.94122 12 5.94122C13.8757 5.94122 15.4073 7.47283 15.4073 9.34856V10.6516H13.926V9.34856C13.926 8.29095 13.0576 7.42256 12 7.42256C10.9424 7.42256 10.074 8.29095 10.074 9.34856ZM7.33333 12V13.6667H16.6667V12H7.33333ZM7.33333 15V16.6667H16.6667V15H7.33333Z"})]}),l.jsx("g",{mask:"url(#mask0_6_73)",children:l.jsx("path",{d:"M22 2H2V22H22V2Z"})})]}),J2=P("CircleLockIcon",Q2),ep=P("CirclePlusIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM17 13H13V17H11V13H7V11H11V7H13V11H17V13Z"})),tp=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M4.50619 11.9753C4.50619 16.1276 7.87236 19.4939 12.0248 19.4939C15.8372 19.4939 18.987 16.6562 19.4771 12.9777H22C21.497 18.0435 17.2229 22 12.0248 22C6.48822 22 2 17.5118 2 11.9753C2 6.77706 5.95645 2.50297 11.0223 2V4.52294C7.34384 5.01305 4.50619 8.16277 4.50619 11.9753Z"}),l.jsx("path",{d:"M22 10.9728C21.5298 6.23669 17.7634 2.47023 13.0272 2V4.52294C16.3777 4.96935 19.0306 7.62227 19.4771 10.9728H22Z"})]}),np=P("CircleSegmentTopRightIcon",tp),op=l.jsxs(l.Fragment,{children:[l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.8078 2.80762L21.1925 21.1923L19.7783 22.6065L17.5162 20.3443C17.0127 20.6753 16.4741 20.9645 15.9002 21.212C14.6835 21.7373 13.3835 22 12.0002 22C10.6168 22 9.31685 21.7373 8.10018 21.212C6.88352 20.6873 5.82518 19.975 4.92518 19.075C4.02518 18.175 3.31285 17.1167 2.78818 15.9C2.26285 14.6833 2.00018 13.3833 2.00018 12C2.00018 10.6167 2.26285 9.31667 2.78818 8.1C3.03566 7.52611 3.3249 6.98745 3.65589 6.48401L1.39355 4.22168L2.8078 2.80762ZM5.85018 17.1C6.70018 16.45 7.65018 15.9373 8.70018 15.562C9.75018 15.1873 10.8502 15 12.0002 15C12.058 15 12.1157 15.0005 12.1733 15.0014L5.09065 7.91878C4.36367 9.12574 4.00018 10.4861 4.00018 12C4.00018 12.9833 4.16285 13.9083 4.48818 14.775C4.81285 15.6417 5.26685 16.4167 5.85018 17.1Z"}),l.jsx("path",{d:"M6.4841 3.65549L7.91892 5.09031C9.12569 4.36344 10.4861 4 12.0002 4C14.2169 4 16.1045 4.779 17.6632 6.337C19.2212 7.89567 20.0002 9.78333 20.0002 12C20.0002 12.9833 19.8379 13.9083 19.5132 14.775C19.3423 15.2303 19.1358 15.6603 18.8936 16.065L20.3445 17.5159C20.6755 17.0125 20.9647 16.4739 21.2122 15.9C21.7375 14.6833 22.0002 13.3833 22.0002 12C22.0002 10.6167 21.7375 9.31667 21.2122 8.1C20.6875 6.88333 19.9752 5.825 19.0752 4.925C18.1752 4.025 17.1168 3.31233 15.9002 2.787C14.6835 2.26233 13.3835 2 12.0002 2C10.6168 2 9.31685 2.26233 8.10018 2.787C7.52626 3.03481 6.98756 3.32431 6.4841 3.65549Z"}),l.jsx("path",{d:"M14.6474 11.8187C15.2159 11.1756 15.5002 10.4027 15.5002 9.5C15.5002 8.51667 15.1628 7.68733 14.4882 7.012C13.8128 6.33733 12.9835 6 12.0002 6C11.0975 6 10.3246 6.28428 9.68144 6.85282L14.6474 11.8187Z"})]}),rp=P("CircleUserOffIcon",op),sp=P("CircleUserIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"})),ip=P("CircleXIcon",l.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM17 15.59L15.59 17L12 13.41L8.41 17L7 15.59L10.59 12L7 8.41L8.41 7L12 10.59L15.59 7L17 8.41L13.41 12L17 15.59Z"})),ap=l.jsxs(l.Fragment,{children:[l.jsx("path",{fillRule:"evenodd",d:"M14.82 3H19c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h4.18C9.6 1.84 10.7 1 12 1c1.3 0 2.4.84 2.82 2ZM13 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1ZM5 21V5h2v3h10V5h2v16H5Zm9.475-2.61 1.414-1.415-6.364-6.364-1.414 1.414 6.364 6.364Z",clipRule:"evenodd"}),l.jsx("path",{d:"m9.525 18.389-1.414-1.414 6.364-6.364 1.414 1.414-6.364 6.364Z"})]}),cp=P("ClipboardXIcon",ap),lp=l.jsx(l.Fragment,{children:l.jsx("path",{d:"M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"})}),up=P("ClipboardIcon",lp),dp=P("CopyIcon",l.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})),fp=P("CreditCardIcon",l.jsx("path",{d:"M19.9641 4H3.91617C2.83832 4 2 4.95522 2 6.02985V17.9701C2 19.0448 2.83832 20 4.03593 20H19.9641C21.0419 20 22 19.1642 22 17.9701V6.02985C21.8802 4.95522 21.0419 4 19.9641 4ZM19.9641 17.9701H3.91617V12H19.8443V17.9701H19.9641ZM19.9641 8.0597H3.91617V6.02985H19.8443V8.0597H19.9641Z"})),pp=P("DatabaseMapPinIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 16.898C6 17.3878 8.13 18.8572 12 18.8572C12.71 18.8572 13.34 18.7984 13.93 18.7103C14.25 19.347 14.62 19.974 15 20.5323C14.07 20.7087 13.06 20.8164 12 20.8164C7.59 20.8164 4 19.0629 4 16.898V7.102C4 4.93708 7.58 3.18359 12 3.18359C16.42 3.18359 20 4.93708 20 7.102V10.2563C19.5 10.1192 19 10.0408 18.5 10.0408C18.33 10.0408 18.17 10.0408 18 10.0702V9.68815C16.53 10.5012 14.39 11.0204 12 11.0204C9.61 11.0204 7.47 10.5012 6 9.68815V12.4408C7.3 13.3715 9.58 13.9592 12 13.9592C12.42 13.9592 12.83 13.9592 13.24 13.9004C13.09 14.3902 13 14.8996 13 15.4286C13 15.5756 13 15.7225 13.03 15.8694C12.9464 15.8743 12.8628 15.8797 12.7791 15.8851L12.779 15.8851L12.779 15.8851C12.5222 15.9017 12.2639 15.9184 12 15.9184C9.72 15.9184 7.61 15.4776 6 14.7135V16.898ZM18 7.102C18 6.6122 15.87 5.1428 12 5.1428C8.13 5.1428 6 6.6122 6 7.102C6 7.5918 8.13 9.0612 12 9.0612C15.87 9.0612 18 7.5918 18 7.102ZM18.5 12C16.6 12 15 13.5674 15 15.4286C15 17.9756 18.5 21.796 18.5 21.796C18.5 21.796 22 17.9756 22 15.4286C22 13.5674 20.4 12 18.5 12ZM17.3 15.5266C17.3 16.1143 17.8 16.7021 18.5 16.7021C19.2 16.7021 19.8 16.1143 19.7 15.5266C19.7 14.9388 19.1 14.3511 18.5 14.3511C17.9 14.3511 17.3 14.8409 17.3 15.5266Z"})),hp=P("DatabaseIcon",l.jsx("path",{d:"M12 3C7.6 3 4 4.8 4 7s3.6 4 8 4 8-1.8 8-4-3.6-4-8-4M4 9v3c0 2.2 3.6 4 8 4s8-1.8 8-4V9c0 2.2-3.6 4-8 4s-8-1.8-8-4m0 5v3c0 2.2 3.6 4 8 4s8-1.8 8-4v-3c0 2.2-3.6 4-8 4s-8-1.8-8-4z"})),vp=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M10.3885 13.9489C10.3885 14.6375 9.90507 14.9166 9.30874 14.5723C8.71242 14.228 8.229 13.3907 8.229 12.7022C8.229 12.0136 8.71242 11.7345 9.30874 12.0788C9.90507 12.4231 10.3885 13.2604 10.3885 13.9489Z"}),l.jsx("path",{d:"M4.98965 17.0655C5.58598 17.4098 6.06939 17.1307 6.06939 16.4421C6.06939 15.7535 5.58598 14.9162 4.98965 14.5719C4.39333 14.2276 3.90991 14.5068 3.90991 15.1953C3.90991 15.8839 4.39333 16.7212 4.98965 17.0655Z"}),l.jsx("path",{d:"M20.105 10.2088C20.105 10.8974 19.6216 11.7347 19.0253 12.079C18.429 12.4232 17.9456 12.1441 17.9456 11.4556C17.9456 10.767 18.429 9.92969 19.0253 9.58541C19.6216 9.24112 20.105 9.52022 20.105 10.2088Z"}),l.jsx("path",{d:"M16.8656 15.8192C17.462 15.4749 17.9454 14.6376 17.9454 13.949C17.9454 13.2605 17.462 12.9814 16.8656 13.3256C16.2693 13.6699 15.7859 14.5072 15.7859 15.1958C15.7859 15.8844 16.2693 16.1635 16.8656 15.8192Z"}),l.jsx("path",{d:"M14.7062 19.5594C15.3025 19.2151 15.7859 18.3778 15.7859 17.6893C15.7859 17.0007 15.3025 16.7216 14.7062 17.0659C14.1099 17.4102 13.6265 18.2475 13.6265 18.936C13.6265 19.6246 14.1099 19.9037 14.7062 19.5594Z"}),l.jsx("path",{d:"M10.9851 6.82341C11.5815 7.1677 12.5483 7.1677 13.1446 6.82341C13.7409 6.47912 13.7409 5.92092 13.1446 5.57664C12.5483 5.23235 11.5815 5.23235 10.9851 5.57664C10.3888 5.92092 10.3888 6.47912 10.9851 6.82341Z"}),l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4416 0.902943C11.406 0.346155 12.5941 0.346154 13.5585 0.902942L14.1336 1.23495C14.1423 1.23987 14.151 1.24483 14.1596 1.24983L20.6381 4.99015C20.6467 4.99514 20.6553 5.00014 20.6638 5.00517L20.6999 5.02604C21.6083 5.55046 22.1881 6.49377 22.2524 7.53211C22.2604 7.61447 22.2644 7.70039 22.2644 7.78976V15.2704C22.2644 15.3336 22.2624 15.3974 22.2584 15.4617V15.9716C22.2584 17.0852 21.6643 18.1141 20.6999 18.6709L13.5585 22.794C12.5941 23.3508 11.406 23.3508 10.4416 22.794L3.30017 18.6709C2.33579 18.1141 1.7417 17.0851 1.7417 15.9716V7.72538C1.7417 6.61181 2.33578 5.58282 3.30017 5.02604L3.35083 4.99679C3.35463 4.99457 3.35844 4.99236 3.36226 4.99016L9.84069 1.24983C9.8445 1.24763 9.84832 1.24544 9.85214 1.24325L10.4416 0.902943ZM11.467 14.0236C11.467 13.9968 11.4674 13.9698 11.4681 13.9427V13.4002C11.4681 12.7117 10.9847 11.8744 10.3884 11.5301L10.0459 11.3323C9.97537 11.2983 9.90689 11.2623 9.84069 11.224L3.7714 7.71993C3.24052 7.49195 2.83023 7.77878 2.83023 8.41315L2.83023 15.8938C2.83023 16.5824 3.31364 17.4197 3.90997 17.764L10.3884 21.5043C10.9682 21.8391 11.4413 21.5844 11.467 20.937V14.0236ZM12.5479 14.0236V20.937C12.5736 21.5844 13.0467 21.8391 13.6265 21.5043L20.105 17.764C20.7013 17.4197 21.1847 16.5824 21.1847 15.8938V8.41314C21.1847 7.74694 20.7322 7.46404 20.1627 7.75816L14.1597 11.224C14.1323 11.2398 14.1045 11.2553 14.0764 11.2704L13.6265 11.5301C13.0302 11.8744 12.5468 12.7117 12.5468 13.4002V13.9427C12.5475 13.9698 12.5479 13.9968 12.5479 14.0236ZM13.6265 10.2833L19.6146 6.82609C20.154 6.47998 20.1353 5.94664 19.5583 5.61354L13.0799 1.87322C12.4836 1.52893 11.5168 1.52893 10.9204 1.87322L4.442 5.61354C3.89262 5.93073 3.84937 6.42946 4.31224 6.77523L10.3884 10.2833C10.4546 10.3215 10.5201 10.3628 10.5848 10.4069L10.9204 10.6006C11.5168 10.9449 12.4836 10.9449 13.0799 10.6006L13.5448 10.3323C13.5719 10.3154 13.5991 10.2991 13.6265 10.2833Z"})]}),gp=P("DiceOutlineIcon",vp),mp=l.jsxs(l.Fragment,{children:[l.jsx("path",{className:"ksjsui-fill-black",d:"M10.4415 0.902713C11.4059 0.345926 12.5941 0.345925 13.5585 0.902712L20.6999 5.02581C21.6643 5.5826 22.2583 6.61158 22.2583 7.72516V15.9713C22.2583 17.0849 21.6642 18.1139 20.6999 18.6707L13.5585 22.7938C12.5941 23.3506 11.4059 23.3506 10.4415 22.7938L3.30011 18.6707C2.33572 18.1139 1.74164 17.0849 1.74164 15.9713V7.72515C1.74164 6.61158 2.33572 5.5826 3.3001 5.02581L10.4415 0.902713Z"}),l.jsx("rect",{className:"ksjsui-fill-white ksjsui-stroke-black",x:"-3.71568e-08",y:"0.623388",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 0.5 -0.866025 0.5 12.5399 0.314624)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -0.866025 0.5 12.0647 4.95312)"}),l.jsx("rect",{className:"ksjsui-fill-white ksjsui-stroke-black",x:"0.53987",y:"0.935082",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 0.5 -2.20305e-08 1 1.82279 5.02499)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -2.20305e-08 1 3.90991 13.9473)"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -2.20305e-08 1 8.22891 11.4541)"}),l.jsx("rect",{className:"ksjsui-fill-white ksjsui-stroke-black",x:"0.53987",y:"0.311694",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 -0.5 2.20305e-08 1 11.5396 11.7992)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 13.6267 17.6885)"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 15.7862 13.9482)"}),l.jsx("circle",{className:"ksjsui-fill-black",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 17.9457 10.208)"})]}),Cp=P("DiceWhiteIcon",mp),bp=l.jsxs(l.Fragment,{children:[l.jsx("path",{className:"ksjsui-fill-background",d:"M10.4415 0.902713C11.4059 0.345926 12.5941 0.345925 13.5585 0.902712L20.6999 5.02581C21.6643 5.5826 22.2583 6.61158 22.2583 7.72516V15.9713C22.2583 17.0849 21.6642 18.1139 20.6999 18.6707L13.5585 22.7938C12.5941 23.3506 11.4059 23.3506 10.4415 22.7938L3.30011 18.6707C2.33572 18.1139 1.74164 17.0849 1.74164 15.9713V7.72515C1.74164 6.61158 2.33572 5.5826 3.3001 5.02581L10.4415 0.902713Z"}),l.jsx("rect",{className:"ksjsui-stroke-background",x:"-3.71568e-08",y:"0.623388",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 0.5 -0.866025 0.5 12.5399 0.314624)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -0.866025 0.5 12.0647 4.95312)"}),l.jsx("rect",{className:"ksjsui-stroke-background",x:"0.53987",y:"0.935082",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 0.5 -2.20305e-08 1 1.82279 5.02499)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -2.20305e-08 1 3.90991 13.9473)"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 0.5 -2.20305e-08 1 8.22891 11.4541)"}),l.jsx("rect",{className:"ksjsui-stroke-background",x:"0.53987",y:"0.311694",width:"11.221",height:"11.221",rx:"1.87016",transform:"matrix(0.866025 -0.5 2.20305e-08 1 11.5396 11.7992)",strokeWidth:"1.24678"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 13.6267 17.6885)"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 15.7862 13.9482)"}),l.jsx("circle",{className:"ksjsui-fill-background",cx:"1.24678",cy:"1.24678",r:"1.24678",transform:"matrix(0.866025 -0.5 2.20305e-08 1 17.9457 10.208)"})]}),yp=P("DiceIcon",bp),wp=P("DotIcon",l.jsx("circle",{cx:"12",cy:"12",r:"6"})),kp=P("DotOutlineIcon",l.jsx("path",{d:"M12 6C15.3137 6 18 8.68629 18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6ZM12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8Z"})),Ep=P("DownloadIcon",l.jsx("path",{d:"M18,15v3H6v-3H4v3c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2v-3H18z M17,11l-1.41-1.41L13,12.17V4h-2v8.17L8.41,9.59L7,11l5,5 L17,11z"})),Sp=P("EarthIcon",l.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"})),Mp=P("EllipsisHorizontalIcon",l.jsx("path",{d:"M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM10 12C10 10.9 10.9 10 12 10C13.1 10 14 10.9 14 12C14 13.1 13.1 14 12 14C10.9 14 10 13.1 10 12Z"})),Pp=P("EllipsisVerticalIcon",l.jsx("path",{d:"M12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6C10 7.1 10.9 8 12 8ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM12 16C10.9 16 10 16.9 10 18C10 19.1 10.9 20 12 20C13.1 20 14 19.1 14 18C14 16.9 13.1 16 12 16Z"})),xp=P("EyeIcon",l.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})),Lp=P("EyeOffIcon",l.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"})),Ip=P("FileCogIcon",l.jsx("path",{d:"M6 2c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h6.7c-.5-.9-.7-2-.7-3 0-3.9 3.1-7 7-7 .3 0 .7 0 1 .1V8l-6-6H6m7 1.5L18.5 9H13V3.5M18 14c-.1 0-.2.1-.3.2l-.2 1.3c-.3.1-.6.3-.9.5l-1.2-.5c-.1 0-.2 0-.3.1l-1 1.7c-.1.1 0 .2.1.3l1.1.8v1l-1.1.8c-.1.1-.1.2-.1.3l1 1.7c.1.1.2.1.3.1l1.2-.5c.3.2.5.4.9.5l.2 1.3c0 .1.1.2.3.2h2c.1 0 .2-.1.2-.2l.2-1.3c.3-.1.6-.3.8-.5l1.2.5c.1 0 .3 0 .3-.1l1-1.7c.1-.1 0-.2-.1-.3l-1.1-.8v-1l1.1-.8c.1-.1.1-.2.1-.3l-1-1.7c-.1-.1-.2-.1-.3-.1l-1.1.5c-.3-.2-.5-.4-.9-.5l-.2-1.3c0-.1-.1-.2-.2-.2h-2m1 3.5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5z"})),Np=P("FileLockIcon",l.jsx("path",{d:"M6 2c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6H6m7 1.5L18.5 9H13V3.5M12 11c1.7 0 3 1.3 3 3v1h1v4H8v-4h1v-1c0-1.6 1.3-3 3-3m0 2c-.6 0-1 .4-1 1v1h2v-1c0-.5-.4-1-1-1z"})),Ap=P("FingerprintIcon",l.jsx("path",{d:"M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28zM3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7-.23.16-.54.11-.7-.12-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21zm6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39s-4.66 1.97-4.66 4.39c0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12zM14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94s3.08 1.32 3.08 2.94c0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38z"})),Tp=P("FolderIcon",l.jsx("path",{d:"M10.3333 5H4.83333C3.825 5 3.00917 5.825 3.00917 6.83334L3 17.8333C3 18.8417 3.825 19.6667 4.83333 19.6667H19.5C20.5083 19.6667 21.3333 18.8417 21.3333 17.8333V8.66667C21.3333 7.65834 20.5083 6.83334 19.5 6.83334H12.1667L10.3333 5Z"})),jp=P("FolderShareIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1667 6.83334H19.5C20.5083 6.83334 21.3333 7.65834 21.3333 8.66667V17.8333C21.3333 18.8417 20.5083 19.6667 19.5 19.6667H4.83333C3.825 19.6667 3 18.8417 3 17.8333L3.00917 6.83334C3.00917 5.825 3.825 5 4.83333 5H10.3333L12.1667 6.83334ZM16.31 15.5002C16.5483 15.284 16.86 15.1459 17.2083 15.1459C17.9463 15.1459 18.5467 15.7487 18.5467 16.4896C18.5467 17.2305 17.9463 17.8333 17.2083 17.8333C16.4704 17.8333 15.87 17.2305 15.87 16.4896C15.87 16.3884 15.8838 16.2871 15.9067 16.1905L12.6433 14.2762C12.3958 14.5063 12.0704 14.6489 11.7083 14.6489C10.9475 14.6489 10.3333 14.0323 10.3333 13.2684C10.3333 12.5045 10.9475 11.8879 11.7083 11.8879C12.0704 11.8879 12.3958 12.0305 12.6433 12.2606L15.8746 10.3693C15.8517 10.2635 15.8333 10.1576 15.8333 10.0472C15.8333 9.2833 16.4475 8.66667 17.2083 8.66667C17.9692 8.66667 18.5833 9.2833 18.5833 10.0472C18.5833 10.8111 17.9692 11.4277 17.2083 11.4277C16.8463 11.4277 16.5208 11.2851 16.2733 11.055L13.0421 12.9463C13.065 13.0521 13.0833 13.158 13.0833 13.2684C13.0833 13.3788 13.065 13.4847 13.0421 13.5905L16.31 15.5002Z"})),Op=P("GlobeIcon",l.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"})),_p=P("HospitalIcon",l.jsx("path",{d:"M4 20V8.02395C4 7.54491 4.38788 7.25749 4.77576 7.25749H7.97576V4H16.0242V7.16168H19.2242C19.7091 7.16168 20 7.54491 20 7.92814V19.9042H13.697V15.8802H10.497V19.9042H4M9.62424 5.62874V10.4192H11.2727V8.79042H12.9212V10.4192H14.5697V5.62874H12.9212V7.25749H11.2727V5.62874H9.62424ZM5.64848 18.3713H8.84848V15.976H5.64848V18.3713ZM5.64848 14.3473H8.84848V11.9521H5.64848V14.3473ZM15.3455 18.3713H18.5455V15.976H15.3455V18.3713ZM15.3455 14.3473H18.5455V11.9521H15.3455V14.3473ZM10.497 14.3473H13.697V11.9521H10.497V14.3473Z"})),$p=P("IdCardIcon",l.jsx("path",{d:"M3.67665 5H20.3234C21.1617 5 22 5.84 22 6.68V18.32C22 19.16 21.1617 20 20.3234 20H3.67665C2.83832 20 2 19.16 2 18.32V6.68C2 5.72 2.71856 5 3.67665 5ZM13.6168 7.4V8.24H20.3234V7.4H13.6168ZM13.6168 9.08V9.92H20.2036V9.08H13.6168ZM13.6168 10.76V11.6H19.485V10.76H13.6168ZM8.58683 14C6.91018 14 3.55689 14.96 3.55689 16.52V17.36H13.497V16.52C13.6168 14.96 10.2635 14 8.58683 14ZM8.58683 7.4C7.1497 7.4 6.07186 8.48 6.07186 9.92C6.07186 11.36 7.1497 12.44 8.58683 12.44C10.024 12.44 11.1018 11.36 11.1018 9.92C11.1018 8.48 10.024 7.4 8.58683 7.4Z"})),Hp=P("KeeperIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM14.6889 3.87651L13.1441 3.48323V8.25298L14.4073 8.2597L17.701 5.56054L16.4176 4.61769L14.6889 6.03449V3.87651ZM10.1219 3.27315H11.6667V9.51517H14.8576L18.6961 6.46306L19.6607 7.66811L15.3989 11.0563H10.1219V3.27315ZM4.03862 15.0849L5.58347 16.3958V7.81432L4.03862 9.22777V15.0849ZM8.61243 18.2412L7.06591 19.5807V4.495L8.61243 5.83449V18.2412ZM14.6889 18.1168L16.4176 19.5337L17.701 18.5891L14.4073 15.8916L13.1441 15.8984V20.6681L14.6889 20.2748V18.1168ZM18.6961 17.4782L14.8576 14.4244H11.6667V20.6664H10.1219V12.8849H15.3989L19.6607 16.2731L18.6961 17.4782ZM16.7363 11.9706L19.8969 14.5706L20.8818 13.3824L19.1649 11.9706L20.8818 10.5589L19.8969 9.37063L16.7363 11.9706Z"})),ze={foreground:"ksjsui-fill-[hsl(var(--ksjsui-color-keeper-gold))] [.dark-mode_&]:ksjsui-fill-black",background:"ksjsui-fill-black [.dark-mode_&]:ksjsui-fill-[hsl(var(--ksjsui-color-keeper-gold))]"},Vp=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",className:ze.background}),l.jsx("path",{d:"M13.144 3.48322L14.6888 3.87649V6.03447L16.4175 4.61767L17.7009 5.56052L14.4072 8.25968L13.144 8.25296V3.48322Z",className:ze.foreground}),l.jsx("path",{d:"M10.1219 3.27313H11.6667V9.51515H14.8577L18.6962 6.46305L19.6608 7.66809L15.399 11.0563H10.1219V3.27313Z",className:ze.foreground}),l.jsx("path",{d:"M5.58342 16.3958L4.03857 15.0849V9.22778L5.58342 7.81433V16.3958Z",className:ze.foreground}),l.jsx("path",{d:"M8.61244 18.2413L7.06592 19.5807V4.495L8.61244 5.83449V18.2413Z",className:ze.foreground}),l.jsx("path",{d:"M16.4175 19.5337L14.6888 18.1168V20.2748L13.144 20.6681V15.8983L14.4072 15.8917L17.7009 18.5891L16.4175 19.5337Z",className:ze.foreground}),l.jsx("path",{d:"M18.6962 17.4782L14.8577 14.4244H11.6667V20.6664H10.1219V12.8849H15.399L19.6608 16.2732L18.6962 17.4782Z",className:ze.foreground}),l.jsx("path",{d:"M19.8968 14.5707L16.7363 11.9707L19.8968 9.37064L20.8817 10.5588L19.1649 11.9707L20.8817 13.3824L19.8968 14.5707Z",className:ze.foreground})]}),Dp=P("KeeperCoinIcon",Vp),Fp=P("KeeperOffIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12C22 14.0826 21.3634 16.0165 20.2742 17.6177L19.3357 16.6792L19.6607 16.2731L16.094 13.4375L13.7128 11.0563H15.3989L19.6607 7.66811L18.6961 6.46306L14.8576 9.51517H12.1717L11.6667 9.0102V3.27315H10.1219V7.46536L8.61243 5.95594V5.83449L7.70525 5.04875L6.38235 3.72585C7.98355 2.63661 9.91743 2 12 2C17.5228 2 22 6.47715 22 12ZM17.411 20.411L19.3848 22.3848L20.799 20.9706L2.41421 2.58579L1 4L3.58899 6.58899C2.58348 8.14875 2 10.0062 2 12C2 17.5228 6.47715 22 12 22C13.9938 22 15.8512 21.4165 17.411 20.411ZM11.6667 14.6667V20.6664H10.1219V13.1219L11.6667 14.6667ZM8.61243 11.6124V18.2412L7.06591 19.5807V10.0659L8.61243 11.6124ZM5.58347 8.58347V16.3958L4.03862 15.0849V9.22777L5.18181 8.18181L5.58347 8.58347ZM13.1441 16.1441L16.4844 19.4844L16.4176 19.5337L14.6889 18.1168V20.2748L13.1441 20.6681V16.1441ZM14.6889 3.87651L13.1441 3.48323V8.25298L14.4073 8.2597L17.701 5.56054L16.4176 4.61769L14.6889 6.03449V3.87651ZM16.7363 11.9706L19.8969 14.5706L20.8818 13.3824L19.1649 11.9706L20.8818 10.5589L19.8969 9.37063L16.7363 11.9706Z"})),Zp=l.jsxs(l.Fragment,{children:[l.jsx("mask",{id:"mask0_75_26430",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"6",width:"12",height:"12",children:l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C13.3137 18 16 15.3137 16 12C16 8.68629 13.3137 6 10 6C6.68629 6 4 8.68629 4 12C4 15.3137 6.68629 18 10 18ZM11.6134 7.1263L10.6865 6.89033V9.75218L11.4444 9.75621L13.4207 8.13672L12.6506 7.571L11.6134 8.42109V7.1263ZM8.8731 6.76377H9.8V10.509H11.7145L14.0176 8.67772L14.5964 9.40074L12.0393 11.4337H8.8731V6.76377ZM5.22322 13.8507L6.15012 14.6373V9.48838L5.22322 10.3364V13.8507ZM7.96739 15.7445L7.03948 16.5482V7.49678L7.96739 8.30047V15.7445ZM11.6134 15.6698L12.6506 16.5199L13.4207 15.9532L11.4444 14.3347L10.6865 14.3387V17.2006L11.6134 16.9646V15.6698ZM14.0176 15.2871L11.7145 13.4549H9.8V17.2001H8.8731V12.5312H12.0393L14.5964 14.5641L14.0176 15.2871ZM12.8418 11.9827L14.7381 13.5427L15.3291 12.8297L14.2989 11.9827L15.3291 11.1356L14.7381 10.4227L12.8418 11.9827Z"})}),l.jsx("g",{mask:"url(#mask0_75_26430)",children:l.jsx("rect",{x:"4",y:"6",width:"12",height:"12"})}),l.jsx("mask",{id:"path-4-inside-1_75_26430",children:l.jsx("path",{d:"M2 2H18C20.2091 2 22 3.79086 22 6V18C22 20.2091 20.2091 22 18 22H2V2Z",fill:"white"})}),l.jsx("path",{d:"M2 0H18C21.3137 0 24 2.68629 24 6H20C20 4.89543 19.1046 4 18 4H2V0ZM24 18C24 21.3137 21.3137 24 18 24H2V20H18C19.1046 20 20 19.1046 20 18H24ZM2 22V2V22ZM18 0C21.3137 0 24 2.68629 24 6V18C24 21.3137 21.3137 24 18 24V20C19.1046 20 20 19.1046 20 18V6C20 4.89543 19.1046 4 18 4V0Z",mask:"url(#path-4-inside-1_75_26430)"})]}),Rp=P("KeeperSquareInputIcon",Zp),Wp=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M16 7C16 9.21 14.21 11 12 11C9.79 11 8 9.21 8 7C8 4.79 9.79 3 12 3C14.21 3 16 4.79 16 7ZM4 17C4 14.34 9.33 13 12 13C12.5719 13 13.2659 13.0615 14.0033 13.1842C14.0599 14.7452 14.8325 16.121 16 16.9967V19H4V17Z"}),l.jsx("path",{d:"M18 15.825C16.835 15.415 16 14.305 16 13C16 11.345 17.345 10 19 10C20.655 10 22 11.345 22 13C22 14.305 21.165 15.415 20 15.825L20 19L22 19L22 21L20 21L20 22L18 22L18 15.825ZM20 13C20 12.45 19.55 12 19 12C18.45 12 18 12.45 18 13C18 13.55 18.45 14 19 14C19.55 14 20 13.55 20 13Z"})]}),zp=P("KeyUserIcon",Wp),Bp=P("KeyboardIcon",l.jsx("path",{d:"M20 7V17H4V7H20ZM20 5H4C2.9 5 2.01 5.9 2.01 7L2 17C2 18.1 2.9 19 4 19H20C21.1 19 22 18.1 22 17V7C22 5.9 21.1 5 20 5ZM11 8H13V10H11V8ZM11 11H13V13H11V11ZM8 8H10V10H8V8ZM8 11H10V13H8V11ZM5 11H7V13H5V11ZM5 8H7V10H5V8ZM8 14H16V16H8V14ZM14 11H16V13H14V11ZM14 8H16V10H14V8ZM17 11H19V13H17V11ZM17 8H19V10H17V8Z"})),Up=P("LandmarkIcon",l.jsx("path",{d:"M5.62025 10.7143V16.68H8.1519V10.7143H5.62025ZM10.6835 10.7143V16.68H13.2152V10.7143H10.6835ZM4 21H20V18.4286H4V21ZM15.7468 10.7143V16.68H18.2785V10.7143H15.7468ZM12 3L4 7.32V9.06857H20V7.32L12 3Z"})),Kp=l.jsxs(l.Fragment,{children:[l.jsx("g",{clipPath:"url(#clip0_224_47006)",children:l.jsx("path",{d:"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z",fill:"black"})}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_224_47006",children:l.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),Gp=P("LightbulbIcon",Kp),Yp=P("LockOutlineIcon",l.jsx("path",{d:"M17.25 9H16.375V7.28571C16.375 4.92 14.415 3 12 3C9.585 3 7.625 4.92 7.625 7.28571V9H6.75C5.7875 9 5 9.77143 5 10.7143V19.2857C5 20.2286 5.7875 21 6.75 21H17.25C18.2125 21 19 20.2286 19 19.2857V10.7143C19 9.77143 18.2125 9 17.25 9ZM9.375 7.28571C9.375 5.86286 10.5475 4.71429 12 4.71429C13.4525 4.71429 14.625 5.86286 14.625 7.28571V9H9.375V7.28571ZM17.25 19.2857H6.75V10.7143H17.25V19.2857ZM12 16.7143C12.9625 16.7143 13.75 15.9429 13.75 15C13.75 14.0571 12.9625 13.2857 12 13.2857C11.0375 13.2857 10.25 14.0571 10.25 15C10.25 15.9429 11.0375 16.7143 12 16.7143Z"})),Xp=P("LockIcon",l.jsx("path",{d:"M17.25 9H16.375V7.28571C16.375 4.92 14.415 3 12 3C9.585 3 7.625 4.92 7.625 7.28571V9H6.75C5.7875 9 5 9.77143 5 10.7143V19.2857C5 20.2286 5.7875 21 6.75 21H17.25C18.2125 21 19 20.2286 19 19.2857V10.7143C19 9.77143 18.2125 9 17.25 9ZM12 16.7143C11.0375 16.7143 10.25 15.9429 10.25 15C10.25 14.0571 11.0375 13.2857 12 13.2857C12.9625 13.2857 13.75 14.0571 13.75 15C13.75 15.9429 12.9625 16.7143 12 16.7143ZM14.7125 9H9.2875V7.28571C9.2875 5.82 10.5037 4.62857 12 4.62857C13.4963 4.62857 14.7125 5.82 14.7125 7.28571V9Z"})),qp=P("LogInIcon",l.jsx("path",{d:"M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7ZM20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z"})),Qp=P("LogOutIcon",l.jsx("path",{d:"M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12L17 7ZM4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z"})),Jp=P("MapPinIcon",l.jsx("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"})),e0=P("MembershipCardIcon",l.jsx("path",{d:"M19.9641 20H4.03593C2.95808 20 2 19.1579 2 17.9549V5.92481C2 4.84211 2.83832 4 4.03593 4H19.9641C21.0419 4 22 4.84211 22 6.04511V18.0752C22 19.1579 21.0419 20 19.9641 20ZM4.99401 13.0226V15.0677H13.976V13.0226H4.99401ZM4.99401 9.05263V11.0977H19.9641V9.05263H4.99401Z"})),t0=P("MessageSquareInfoIcon",l.jsx("path",{d:"M9 22C8.4 22 8 21.6 8 21L8 18H4C2.9 18 2 17.1 2 16L2 4C2 2.9 2.9 2 4 2L20 2C21.1 2 22 2.9 22 4V16C22 17.1 21.1 18 20 18H13.9L10.2 21.7C10 21.9 9.8 22 9.5 22H9ZM13 7V5L11 5V7L13 7ZM13 15L13 9L11 9L11 15H13Z"})),n0=P("MessageSquareMoreIcon",l.jsx("path",{d:"M20 2H4C2.9 2 2 2.9 2 4V22L6.00002 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM20 16H6.00002L4 18V4H20V16ZM6.99998 9.00003H9.00003V11H6.99998V9.00003ZM11 9.00003H13V11H11V9.00003ZM15 9.00003H17V11H15V9.00003Z"})),o0=P("MessageSquarePenLineIcon",l.jsx("path",{d:"M19.9762 2H4.02381C2.95238 2 2 2.95808 2 4.03593V22L6.04762 17.9281H19.9762C21.0476 17.9281 22 16.9701 22 15.8922V3.91617C21.881 2.83832 21.0476 2 19.9762 2ZM6.04762 13.976V11.4611L12.8333 4.63473C13.0714 4.39521 13.3095 4.39521 13.5476 4.63473L15.3333 6.43114C15.5714 6.67066 15.5714 6.91018 15.3333 7.1497L8.54762 13.976H6.04762ZM17.9524 13.976H10.5714L12.5952 11.9401H17.9524V13.976Z"})),r0=P("MonitorLayoutGridIcon",l.jsx("path",{d:"M20.1522 16.3114V4.93413H3.84783V16.3114H20.1522ZM20.1522 3C21.1304 3 22 3.79641 22 4.93413V16.3114C22 17.3353 21.2391 18.2455 20.1522 18.2455H13.8478V20.0659H15.6957V22H8.30435V20.0659H10.1522V18.1317H3.84783C2.86957 18.1317 2 17.2216 2 16.1976V4.82036C2 3.79641 2.76087 3 3.84783 3H20.1522ZM5.58696 6.75449H13.7391V11.5329H5.58696V6.75449ZM14.7174 6.75449H18.3043V8.68862H14.7174V6.75449ZM18.3043 9.5988V14.3772H14.7174V9.5988H18.3043ZM5.58696 12.4431H9.17391V14.3772H5.58696V12.4431ZM10.1522 12.4431H13.7391V14.3772H10.1522V12.4431Z"})),s0=P("MoonIcon",l.jsx("path",{d:"M12 3C10.8065 4.19347 10.136 5.81217 10.136 7.5C10.136 9.18783 10.8065 10.8065 12 12C13.1935 13.1935 14.8122 13.864 16.5 13.864C18.1878 13.864 19.8065 13.1935 21 12C21 13.78 20.4722 15.5201 19.4832 17.0001C18.4943 18.4802 17.0887 19.6337 15.4442 20.3149C13.7996 20.9961 11.99 21.1743 10.2442 20.8271C8.49836 20.4798 6.89472 19.6226 5.63604 18.364C4.37737 17.1053 3.5202 15.5016 3.17294 13.7558C2.82567 12.01 3.0039 10.2004 3.68509 8.55585C4.36628 6.91131 5.51983 5.50571 6.99987 4.51677C8.47991 3.52784 10.22 3 12 3Z",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),i0=P("NetworkIcon",l.jsx("path",{d:"M10 2C8.89 2 8 2.89 8 4V7C8 8.11 8.89 9 10 9H11V11H2V13H6V15H5C3.89 15 3 15.89 3 17V20C3 21.11 3.89 22 5 22H9C10.11 22 11 21.11 11 20V17C11 15.89 10.11 15 9 15H8V13H16V15H15C13.89 15 13 15.89 13 17V20C13 21.11 13.89 22 15 22H19C20.11 22 21 21.11 21 20V17C21 15.89 20.11 15 19 15H18V13H22V11H13V9H14C15.11 9 16 8.11 16 7V4C16 2.89 15.11 2 14 2H10ZM10 4H14V7H10V4ZM5 17H9V20H5V17ZM15 17H19V20H15V17Z"})),a0=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M15.73 3H8.27L3 8.27V15.73L8.27 21H15.73L21 15.73V8.27L15.73 3ZM19 14.9L14.9 19H9.1L5 14.9V9.1L9.1 5H14.9L19 9.1V14.9Z"}),l.jsx("path",{d:"M11 7H13V14H11V7Z"}),l.jsx("path",{d:"M12 17C12.5523 17 13 16.5523 13 16C13 15.4477 12.5523 15 12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17Z"})]}),c0=P("OctagonAlertIcon",a0),l0=P("PaletteIcon",l.jsx("path",{d:"M12 3C7.03 3 3 7.03 3 12C3 16.97 7.03 21 12 21C12.83 21 13.5 20.33 13.5 19.5C13.5 19.11 13.35 18.76 13.11 18.49C12.88 18.23 12.73 17.88 12.73 17.5C12.73 16.67 13.4 16 14.23 16H16C18.76 16 21 13.76 21 11C21 6.58 16.97 3 12 3ZM6.5 12C5.67 12 5 11.33 5 10.5C5 9.67 5.67 9 6.5 9C7.33 9 8 9.67 8 10.5C8 11.33 7.33 12 6.5 12ZM9.5 8C8.67 8 8 7.33 8 6.5C8 5.67 8.67 5 9.5 5C10.33 5 11 5.67 11 6.5C11 7.33 10.33 8 9.5 8ZM14.5 8C13.67 8 13 7.33 13 6.5C13 5.67 13.67 5 14.5 5C15.33 5 16 5.67 16 6.5C16 7.33 15.33 8 14.5 8ZM17.5 12C16.67 12 16 11.33 16 10.5C16 9.67 16.67 9 17.5 9C18.33 9 19 9.67 19 10.5C19 11.33 18.33 12 17.5 12Z"})),u0=P("PanelLandscapeIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 6C21 4.89543 20.1046 4 19 4H5C3.89543 4 3 4.89543 3 6V18C3 19.1046 3.89543 20 5 20H19C20.1046 20 21 19.1046 21 18V6ZM5 9V18H10V9H5ZM12 9V18H19V9H12Z"})),d0=P("PanelPortraitIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2C17.1046 2 18 2.89543 18 4V20C18 21.1046 17.1046 22 16 22H8C6.8954 22 6 21.1046 6 20V4C6 2.89543 6.8954 2 8 2H16ZM8 20V7H16V20H8Z"})),f0=P("PanelsTopLeftIcon",l.jsx("path",{d:"M7,7 L6,7 L3,7 L3,9 L7,9 L7,7 Z M9,9 L21,9 L21,7 L7,7 C7,7.70904 7,8.37096 7,9 C7,12.52849 7,15.0228 7,19 L9,19 L9,9 Z M21,3 L3,3 C1.9,3 1,3.9 1,5 L1,19 C1,20.1 1.9,21 3,21 L21,21 C22.1,21 23,20.1 23,19 L23,5 C23,3.9 22.1,3 21,3 Z M21,19.01 L3,19.01 L3,9 L3,7 L3,4.99 L21,4.99 L21,19.01 Z"})),p0=P("PaperclipIcon",l.jsx("path",{d:"M19.6 10.6l-8.1 8.1c-1.6 1.6-4.1 1.6-5.7 0s-1.6-4.1 0-5.7l8.8-8.8c1-1 2.6-1 3.5 0 1 1 1 2.6 0 3.5l-7.4 7.4c-.4.4-1 .4-1.4 0-.4-.4-.4-1 0-1.4L16 7.1 15 6l-6.7 6.7c-1 1-1 2.6 0 3.5s2.6 1 3.5 0l7.4-7.4c1.6-1.6 1.6-4.1 0-5.7s-4.1-1.6-5.7 0L4.7 12c-2.1 2.1-2.1 5.6 0 7.8s5.6 2.1 7.8 0l8.1-8.1-1-1.1z"})),h0=P("PcCaseIcon",l.jsx("path",{d:"M8 2H16C16.5304 2 17.0391 2.21071 17.4142 2.58579C17.7893 2.96086 18 3.46957 18 4V20C18 20.5304 17.7893 21.0391 17.4142 21.4142C17.0391 21.7893 16.5304 22 16 22H8C7.46957 22 6.96086 21.7893 6.58579 21.4142C6.21071 21.0391 6 20.5304 6 20V4C6 3.46957 6.21071 2.96086 6.58579 2.58579C6.96086 2.21071 7.46957 2 8 2ZM8 4V6H16V4H8ZM16 8H8V10H16V8ZM16 18H14V20H16V18Z"})),v0=P("PencilIcon",l.jsx("path",{d:"M3 17.25V21H6.75L17.81 9.94L14.06 6.19L3 17.25ZM20.71 7.04C21.1 6.65 21.1 6.02 20.71 5.63L18.37 3.29C17.98 2.9 17.35 2.9 16.96 3.29L15.13 5.12L18.88 8.87L20.71 7.04Z"})),g0=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M0 0h24v24H0z",fill:"none"}),l.jsx("path",{d:"M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83z"})]}),m0=P("PowerIcon",g0),Ci=P("RadioSelectedIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C7.58399 4 4 7.584 4 12C4 16.416 7.58399 20 12 20C16.4159 20 20 16.416 20 12C20 7.584 16.4159 4 12 4ZM12 8C9.79198 8 7.99998 9.79201 7.99998 12C7.99998 14.208 9.79198 16.0001 12 16.0001C14.208 16.0001 16 14.208 16 12C16 9.79201 14.208 8 12 8ZM5.59999 12C5.59999 15.536 8.46399 18.4001 12 18.4001C15.536 18.4001 18.4 15.536 18.4 12C18.4 8.46401 15.536 5.6 12 5.6C8.46399 5.6 5.59999 8.46401 5.59999 12Z"})),C0=P("RadioIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 12C4 7.584 7.58399 4 12 4C16.4159 4 20 7.584 20 12C20 16.416 16.4159 20 12 20C7.58399 20 4 16.416 4 12ZM5.59999 12C5.59999 15.536 8.46399 18.4001 12 18.4001C15.536 18.4001 18.4 15.536 18.4 12C18.4 8.46401 15.536 5.6 12 5.6C8.46399 5.6 5.59999 8.46401 5.59999 12Z"})),b0=P("RefreshCcwIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1V3.99999C16.4199 3.99999 20 7.58 20 12C20 13.5699 19.5399 15.03 18.7599 16.26L17.3 14.7999C17.75 13.97 18 13.01 18 12C18 8.68999 15.3099 5.99999 12 5.99999V8.99999L8 5L12 1ZM6 12C6 15.3099 8.69 18 12 18V15L15.9999 18.9999L12 23V20C7.58 20 4 16.4199 4 12C4 10.43 4.46001 8.96999 5.24001 7.73999L6.69999 9.19999C6.25 10.03 6 10.99 6 12Z"})),y0=P("ReplyIcon",l.jsx("path",{d:"M14 9V5L21 12L14 19V14.9C9 14.9 5.5 16.5 3 20C4 15 7 10 14 9Z"})),w0=P("RotateCwIcon",l.jsx("path",{d:"M18.3546 5.64375C16.7223 4.0125 14.4822 3 11.9944 3C7.01876 3 3 7.0275 3 12C3 16.9725 7.01876 21 11.9944 21C16.1932 21 19.6942 18.1313 20.6961 14.25H18.3546C17.4315 16.8713 14.9325 18.75 11.9944 18.75C8.26829 18.75 5.24015 15.7238 5.24015 12C5.24015 8.27625 8.26829 5.25 11.9944 5.25C13.863 5.25 15.5291 6.02625 16.7448 7.2525L13.1201 10.875H21V3L18.3546 5.64375Z"})),k0=P("SaveIcon",l.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"})),E0=P("ScanCameraIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.85185 2C2.8291 2 2 2.84568 2 3.88889V7.66667H3.85185V3.88889H7.55556V2H3.85185ZM22 3.88889C22 2.84568 21.1709 2 20.1481 2H16.4444V3.88889H20.1481V7.66667H22V3.88889ZM3.85185 22C2.8291 22 2 21.1543 2 20.1111V16.3334H3.85185V20.1111H7.55556V22H3.85185ZM20.1481 22C21.1709 22 22 21.1543 22 20.1111V16.3334H20.1481V20.1111H16.4444V22H20.1481ZM16.6667 7.33334H14.8175L14.0942 6.54584C13.8783 6.30667 13.5633 6.16667 13.2367 6.16667H10.7633C10.4367 6.16667 10.1217 6.30667 9.9 6.54584L9.1825 7.33334H7.33333C6.69167 7.33334 6.16667 7.85834 6.16667 8.50001V15.5C6.16667 16.1417 6.69167 16.6667 7.33333 16.6667H16.6667C17.3083 16.6667 17.8333 16.1417 17.8333 15.5V8.50001C17.8333 7.85834 17.3083 7.33334 16.6667 7.33334ZM12 14.9167C10.39 14.9167 9.08333 13.61 9.08333 12C9.08333 10.39 10.39 9.08334 12 9.08334C13.61 9.08334 14.9167 10.39 14.9167 12C14.9167 13.61 13.61 14.9167 12 14.9167ZM12 13.75C12.9665 13.75 13.75 12.9665 13.75 12C13.75 11.0335 12.9665 10.25 12 10.25C11.0335 10.25 10.25 11.0335 10.25 12C10.25 12.9665 11.0335 13.75 12 13.75Z"})),S0=P("SearchIcon",l.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})),M0=P("ServerIcon",l.jsx("path",{d:"M5.28689 3H18.3689C18.8607 3 19.1557 3.39344 19.1557 3.78689V7.13115C19.1557 7.62295 18.7623 7.91803 18.3689 7.91803H5.28689C4.89344 7.91803 4.5 7.62295 4.5 7.13115V3.88525C4.5 3.39344 4.89344 3 5.28689 3ZM5.28689 9.59016H18.3689C18.8607 9.59016 19.1557 9.98361 19.1557 10.377V13.623C19.1557 14.1148 18.7623 14.4098 18.3689 14.4098H5.28689C4.79508 14.4098 4.5 14.0164 4.5 13.623V10.377C4.5 9.98361 4.89344 9.59016 5.28689 9.59016ZM5.28689 16.1803H18.3689C18.8607 16.1803 19.1557 16.5738 19.1557 16.9672V20.2131C19.1557 20.7049 18.7623 21 18.3689 21H5.28689C4.79508 21 4.5 20.6066 4.5 20.2131V16.9672C4.5 16.4754 4.89344 16.1803 5.28689 16.1803ZM9.41803 6.34426H10.2049V4.67213H9.41803V6.34426ZM9.41803 12.8361H10.2049V11.2623H9.41803V12.8361ZM9.41803 19.4262H10.2049V17.7541H9.41803V19.4262ZM6.17213 4.67213V6.34426H7.84426V4.67213H6.17213ZM6.17213 11.2623V12.9344H7.84426V11.2623H6.17213ZM6.17213 17.7541V19.4262H7.84426V17.7541H6.17213Z"})),P0=P("SettingsIcon",l.jsx("path",{d:"M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"})),x0=l.jsxs(l.Fragment,{children:[l.jsxs("g",{clipPath:"url(#clip0_4444_236325)",children:[l.jsx("path",{d:"M12 2L6.5 11H17.5L12 2Z"}),l.jsx("path",{d:"M17.5 22C19.9853 22 22 19.9853 22 17.5C22 15.0147 19.9853 13 17.5 13C15.0147 13 13 15.0147 13 17.5C13 19.9853 15.0147 22 17.5 22Z"}),l.jsx("path",{d:"M3 13.5H11V21.5H3V13.5Z"})]}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_4444_236325",children:l.jsx("rect",{width:"24",height:"24"})})})]}),L0=P("ShapesIcon",x0),I0=P("ShieldQuestionIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1L3 5V11C3 16.55 6.84 21.74 12 23C17.16 21.74 21 16.55 21 11V5L12 1ZM11 19V17H13V19H11ZM14.17 12.17L15.07 11.25C15.64 10.68 16 9.88 16 9C16 6.79 14.21 5 12 5C9.79 5 8 6.79 8 9H10C10 7.9 10.9 7 12 7C13.1 7 14 7.9 14 9C14 9.55 13.78 10.05 13.41 10.41L12.17 11.67C11.45 12.4 11 13.4 11 14.5V15H13C13 13.5 13.45 12.9 14.17 12.17Z"})),N0=P("ShieldSecurityIcon",l.jsx("path",{d:"M12 1L3 5V11C3 16.55 6.84 21.74 12 23C17.16 21.74 21 16.55 21 11V5L12 1ZM12 11.99H19C18.47 16.11 15.72 19.78 12 20.93V12H5V6.3L12 3.19V11.99Z"})),A0=P("SkipForwardIcon",l.jsx("path",{d:"M6 18L14.5 12L6 6V18ZM16 6V18H18V6H16Z"})),T0=l.jsxs(l.Fragment,{children:[l.jsx("g",{clipPath:"url(#clip0_2389_1034)",children:l.jsx("path",{d:"M3 17V19H9V17H3ZM3 5V7H13V5H3ZM13 21V19H21V17H13V15H11V21H13ZM7 9V11H3V13H7V15H9V9H7ZM21 13V11H11V13H21ZM15 9H17V7H21V5H17V3H15V9Z"})}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_2389_1034",children:l.jsx("rect",{width:"24",height:"24"})})})]}),j0=P("SlidersHorizontalIcon",T0),O0=P("SocialSecurityCardIcon",l.jsx("path",{d:"M12 15H10V13H12V15ZM18 15H14V13H18V15ZM8 11H6V9H8V11ZM18 11H10V9H18V11ZM20 20H4C2.9 20 2 19.1 2 18V6C2 4.9 2.9 4 4 4H20C21.1 4 22 4.9 22 6V18C22 19.1 21.1 20 20 20ZM4 6V18H20V6H4Z"})),_0=P("SquareIcon",l.jsx("path",{d:"M18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19ZM19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3Z"})),$0=P("SquareArrowOutUpRightIcon",l.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"})),H0=l.jsxs(l.Fragment,{children:[l.jsx("g",{clipPath:"url(#clip0_60_35451)",children:l.jsx("path",{d:"M19 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.11 21 21 20.1 21 19V5C21 3.9 20.11 3 19 3ZM10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"})}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_60_35451",children:l.jsx("rect",{width:"24",height:"24"})})})]}),V0=P("SquareCheckIcon",H0),D0=P("SquareGlobeLineIcon",l.jsx("path",{d:"M6 2C4.92537 2 4 2.95238 4 4.14286V19.9762C4 21.0476 4.83582 22 6.02985 22H17.9701C19.0448 22 20 21.1667 20 19.9762V4.02381C20 2.95238 19.1642 2 17.9701 2H12M12 5.09524C14.7463 5.09524 17.0149 7.35714 17.0149 10.0952C17.0149 12.8333 14.7463 15.0952 12 15.0952C9.25373 15.0952 6.98507 12.8333 6.98507 10.0952C6.98507 7.35714 9.25373 5.09524 12 5.09524ZM12 6.04762C11.6418 6.64286 11.2836 7.35714 11.0448 8.07143H12.9552C12.7164 7.35714 12.4776 6.64286 12 6.04762ZM10.6866 6.28571C9.73134 6.64286 9.01492 7.2381 8.53731 8.07143H9.97015C10.209 7.35714 10.4478 6.76191 10.6866 6.28571ZM13.3134 6.28571L14.0299 8.07143H15.4627C14.9851 7.2381 14.1493 6.52381 13.3134 6.28571ZM8.1791 9.02381C8.0597 9.38095 8.0597 9.61905 8.0597 9.97619C8.0597 10.3333 8.0597 10.6905 8.1791 10.9286H9.85075C9.85075 10.5714 9.73134 10.2143 9.73134 9.97619C9.73134 9.61905 9.73134 9.26191 9.85075 9.02381H8.1791ZM10.806 9.02381V9.97619C10.806 10.3333 10.806 10.6905 10.9254 10.9286H13.3134C13.194 10.6905 13.194 10.3333 13.194 9.97619V9.02381H10.806ZM14.1493 9.02381C14.1493 9.38095 14.2687 9.7381 14.2687 9.97619C14.2687 10.3333 14.2687 10.6905 14.1493 10.9286H15.8209C15.9403 10.5714 15.9403 10.3333 15.9403 9.97619C15.9403 9.61905 15.9403 9.26191 15.8209 9.02381H14.1493ZM8.53731 12C9.01492 12.8333 9.73134 13.4286 10.6866 13.7857L9.97015 12H8.53731ZM11.0448 12C11.2836 12.7143 11.6418 13.3095 12 14.0238C12.4776 13.4286 12.7164 12.7143 12.9552 12H11.0448ZM14.0299 12C13.791 12.5952 13.6716 13.1905 13.3134 13.7857C14.2687 13.4286 14.9851 12.8333 15.4627 12H14.0299ZM6.98507 17H16.8955V19.0238H6.98507V17Z"})),F0=P("SquareImageIcon",l.jsx("path",{d:"M21 3H3C2 3 1 4 1 5v14c0 1.1.9 2 2 2h18c1 0 2-1 2-2V5c0-1-1-2-2-2zM5 17l3.5-4.5 2.5 3 3.5-4.5 4.5 6H5z"})),Z0=P("SquareInputIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 20.9805H20C21.1 20.9805 22 20.0905 22 18.9805V4.98049C22 3.88049 21.1 3.00049 20 3.00049H4C2.9 3.00049 2 3.88049 2 4.98049V8.99049H4V4.97049H20V19.0005H4V14.9905H2V18.9805C2 20.0805 2.9 20.9805 4 20.9805ZM15 12L11 8.00002V11H2V13H11V16L15 12Z"})),R0=P("SquareKeyUserIcon",l.jsxs("g",{clipPath:"url(#clip0_12_2)",children:[l.jsxs("mask",{id:"mask0_12_2",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",children:[l.jsx("path",{d:"M24 0H0V24H24V0Z",fill:"black"}),l.jsx("path",{d:"M2 6C2 3.79086 3.79086 2 6 2H18C20.2091 2 22 3.79086 22 6V18C22 20.2091 20.2091 22 18 22H6C3.79086 22 2 20.2091 2 18V6Z",fill:"white"}),l.jsx("path",{d:"M11 10C12.6575 10 14 8.65744 14 6.99993C14 5.34249 12.6575 4 11 4C9.34244 4 8 5.34249 8 6.99993C8 8.65744 9.34244 10 11 10Z",fill:"black"}),l.jsx("path",{d:"M11 12C8.99751 12 5 13.1486 5 15.4286V18H14V15.4257C13.1244 14.675 12.5449 13.4959 12.5025 12.158C11.9494 12.0528 11.429 12 11 12Z",fill:"black"}),l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.3307 13.9288C18.3006 13.5818 18.9959 12.6426 18.9959 11.5385C18.9959 10.1382 17.876 9 16.4979 9C15.1199 9 14 10.1382 14 11.5385C14 11.7348 14.0221 11.926 14.0637 12.1095C14.1319 12.4107 14.2531 12.6915 14.4167 12.941C14.7138 13.3944 15.151 13.7449 15.6653 13.9288L15.6694 20H17.3348V19.1537H19V17.4615H17.3348L17.3307 13.9288ZM16.4979 10.6923C16.956 10.6923 17.3307 11.0731 17.3307 11.5385C17.3307 12.0039 16.956 12.3847 16.4979 12.3847C16.04 12.3847 15.6653 12.0039 15.6653 11.5385C15.6653 11.0731 16.04 10.6923 16.4979 10.6923Z",fill:"black"})]}),l.jsx("g",{mask:"url(#mask0_12_2)",children:l.jsx("path",{d:"M24 0H0V24H24V0Z"})})]})),W0=P("SquareUserIcon",l.jsx("path",{d:"M2 4.25166V19.7483C2 20.9404 2.92715 22 4.25166 22H19.7483C20.9404 22 22 20.9404 22 19.7483V4.25166C22 3.0596 20.9404 2 19.7483 2H4.25166C2.92715 2 2 2.92715 2 4.25166ZM15.245 8.62252C15.245 10.4768 13.7881 11.9338 11.9338 11.9338C10.0795 11.9338 8.62252 10.4768 8.62252 8.62252C8.62252 6.76821 10.0795 5.31126 11.9338 5.31126C13.7881 5.31126 15.245 6.76821 15.245 8.62252ZM5.31126 17.4967C5.31126 15.245 9.68212 14.053 11.9338 14.053C14.1854 14.053 18.5563 15.245 18.5563 17.4967V18.5563H5.31126V17.4967Z"})),z0=P("StarOutlineIcon",l.jsx("path",{d:"M22 9.24L14.81 8.62L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21L12 17.27L18.18 21L16.55 13.97L22 9.24ZM12 15.4L8.24 17.67L9.24 13.39L5.92 10.51L10.3 10.13L12 6.1L13.71 10.14L18.09 10.52L14.77 13.4L15.77 17.68L12 15.4Z"})),B0=P("StarIcon",l.jsx("path",{d:"M12 17.27L18.18 21L16.54 13.97L22 9.24L14.81 8.63L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21L12 17.27Z"})),U0=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M12 2V4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M12 20V22",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M4.92999 4.92999L6.33999 6.33999",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M17.66 17.66L19.07 19.07",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M2 12H4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M20 12H22",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M6.33999 17.66L4.92999 19.07",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M19.07 4.92999L17.66 6.33999",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),K0=P("SunIcon",U0),G0=P("TimerIcon",l.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.21429 2H14.9286V3.90476H9.21429V2ZM11.119 14.381V8.66667H13.0238V14.381H11.119ZM18.7667 8.08571L20.119 6.73333C19.7095 6.24762 19.2619 5.79048 18.7762 5.39048L17.4238 6.74286C15.9476 5.5619 14.0905 4.85714 12.0714 4.85714C7.3381 4.85714 3.5 8.69524 3.5 13.4286C3.5 18.1619 7.32857 22 12.0714 22C16.8143 22 20.6429 18.1619 20.6429 13.4286C20.6429 11.4095 19.9381 9.55238 18.7667 8.08571ZM5.40476 13.4286C5.40476 17.1143 8.38571 20.0952 12.0714 20.0952C15.7571 20.0952 18.7381 17.1143 18.7381 13.4286C18.7381 9.74286 15.7571 6.7619 12.0714 6.7619C8.38571 6.7619 5.40476 9.74286 5.40476 13.4286Z"})),Y0=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M7 22C6.45 22 5.97933 21.8043 5.588 21.413C5.196 21.021 5 20.55 5 20V6H19V20C19 20.55 18.8043 21.021 18.413 21.413C18.021 21.8043 17.55 22 17 22H7ZM17 8H7V20H17V8ZM9 19H11V9H9V19ZM13 19H15V9H13V19Z"}),l.jsx("path",{d:"M20 5H4V3H9V2H15V3H20V5Z"})]}),X0=P("TrashIcon",Y0),q0=P("TriangleAlertIcon",l.jsx("path",{d:"M1 21H23L12 2L1 21ZM13 19H11V17H13V19ZM13 15H11V9H13V15Z"})),Q0=P("UsersIcon",l.jsx("path",{d:"M16 11C17.66 11 18.99 9.66 18.99 8C18.99 6.34 17.66 5 16 5C14.34 5 13 6.34 13 8C13 9.66 14.34 11 16 11ZM8 11C9.66 11 10.99 9.66 10.99 8C10.99 6.34 9.66 5 8 5C6.34 5 5 6.34 5 8C5 9.66 6.34 11 8 11ZM8 13C5.67 13 1 14.17 1 16.5V19H15V16.5C15 14.17 10.33 13 8 13ZM16 13C15.71 13 15.38 13.02 15.03 13.05C16.19 13.89 17 15.02 17 16.5V19H23V16.5C23 14.17 18.33 13 16 13Z"})),J0=l.jsxs(l.Fragment,{children:[l.jsx("path",{d:"M12.125 14.5C13.7819 14.5 15.125 13.1569 15.125 11.5C15.125 9.84315 13.7819 8.5 12.125 8.5C10.4681 8.5 9.125 9.84315 9.125 11.5C9.125 13.1569 10.4681 14.5 12.125 14.5Z"}),l.jsx("path",{d:"M2.125 3.5C2.125 2.39543 3.02043 1.5 4.125 1.5H20.125C21.2296 1.5 22.125 2.39543 22.125 3.5V19.5C22.125 20.6046 21.2296 21.5 20.125 21.5H19.125V22C19.125 22.5523 18.6773 23 18.125 23C17.5727 23 17.125 22.5523 17.125 22V21.5H7.125V22C7.125 22.5523 6.67728 23 6.125 23C5.57272 23 5.125 22.5523 5.125 22V21.5H4.125C3.02043 21.5 2.125 20.6046 2.125 19.5V3.5ZM11.125 6V6.60002C9.16587 6.9977 7.6227 8.54087 7.22502 10.5H6.625C6.07272 10.5 5.625 10.9477 5.625 11.5C5.625 12.0523 6.07272 12.5 6.625 12.5H7.22502C7.6227 14.4591 9.16587 16.0023 11.125 16.4V17C11.125 17.5523 11.5727 18 12.125 18C12.6773 18 13.125 17.5523 13.125 17V16.4C15.0841 16.0023 16.6273 14.4591 17.025 12.5H17.625C18.1773 12.5 18.625 12.0523 18.625 11.5C18.625 10.9477 18.1773 10.5 17.625 10.5H17.025C16.6273 8.54087 15.0841 6.9977 13.125 6.60002V6C13.125 5.44772 12.6773 5 12.125 5C11.5727 5 11.125 5.44772 11.125 6Z"})]}),e3=P("VaultIcon",J0),Po=P("XIcon",l.jsx("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"})),t3=T2,n3=j2,bi=O2,o3=gi,xo=i.forwardRef(({className:e,...t},n)=>l.jsx(fi,{ref:n,className:$(["ksjsui-fixed ksjsui-inset-0 ksjsui-z-50 ksjsui-bg-black/80","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0"],e),...t}));xo.displayName=fi.displayName;const yi=i.forwardRef(({className:e,children:t,...n},o)=>l.jsxs(bi,{children:[l.jsx(xo,{}),l.jsxs(pi,{ref:o,className:$(["ksjsui-fixed ksjsui-left-[50%] ksjsui-top-[50%] ksjsui-z-50 ksjsui-grid ksjsui-w-full ksjsui-max-w-lg ksjsui-translate-x-[-50%] ksjsui-translate-y-[-50%] ksjsui-gap-4 ksjsui-border ksjsui-bg-background ksjsui-p-6 ksjsui-text-foreground ksjsui-shadow-lg ksjsui-duration-200","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0 data-[state=open]:ksjsui-zoom-in-95 data-[state=open]:ksjsui-slide-in-from-left-1/2 data-[state=open]:ksjsui-slide-in-from-top-[48%]","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0 data-[state=closed]:ksjsui-zoom-out-95 data-[state=closed]:ksjsui-slide-out-to-left-1/2 data-[state=closed]:ksjsui-slide-out-to-top-[48%]","sm:ksjsui-rounded-lg"],e),...n,children:[t,l.jsxs(gi,{className:$(["ksjsui-absolute ksjsui-end-4 ksjsui-top-4 ksjsui-rounded-sm ksjsui-opacity-70 ksjsui-ring-offset-background ksjsui-transition-opacity hover:ksjsui-opacity-100","focus:ksjsui-outline-none focus:ksjsui-ring-2 focus:ksjsui-ring-ring focus:ksjsui-ring-offset-2","disabled:ksjsui-pointer-events-none"]),children:[l.jsx(Po,{className:"ksjsui-size-4"}),l.jsx("span",{className:"ksjsui-sr-only",children:"Close"})]})]})]}));yi.displayName=pi.displayName;const wi=({className:e,...t})=>l.jsx("div",{className:$("ksjsui-flex ksjsui-flex-col ksjsui-space-y-1.5",e),...t});wi.displayName="DialogHeader";const ki=({className:e,...t})=>l.jsx("div",{className:$(["ksjsui-flex ksjsui-flex-col-reverse","sm:ksjsui-flex-row sm:ksjsui-justify-end sm:ksjsui-space-x-2"],e),...t});ki.displayName="DialogFooter";const Ei=i.forwardRef(({className:e,...t},n)=>l.jsx(hi,{ref:n,className:$("ksjsui-text-lg ksjsui-font-semibold ksjsui-leading-none ksjsui-tracking-tight",e),...t}));Ei.displayName=hi.displayName;const Si=i.forwardRef(({className:e,...t},n)=>l.jsx(vi,{ref:n,className:$("ksjsui-text-sm",e),...t}));Si.displayName=vi.displayName;var r3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],pe=r3.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Mi(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}function Pi(e){const t=e+"CollectionProvider",[n,o]=de(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=g=>{const{scope:C,children:p}=g,m=te.useRef(null),b=te.useRef(new Map).current;return l.jsx(r,{scope:C,itemMap:b,collectionRef:m,children:p})};c.displayName=t;const a=e+"CollectionSlot",d=te.forwardRef((g,C)=>{const{scope:p,children:m}=g,b=s(a,p),y=V(C,b.collectionRef);return l.jsx(re,{ref:y,children:m})});d.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",h=te.forwardRef((g,C)=>{const{scope:p,children:m,...b}=g,y=te.useRef(null),w=V(C,y),k=s(u,p);return te.useEffect(()=>(k.itemMap.set(y,{ref:y,...b}),()=>void k.itemMap.delete(y))),l.jsx(re,{[f]:"",ref:w,children:m})});h.displayName=u;function v(g){const C=s(e+"CollectionConsumer",g);return te.useCallback(()=>{const m=C.collectionRef.current;if(!m)return[];const b=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(C.itemMap.values()).sort((k,M)=>b.indexOf(k.ref.current)-b.indexOf(M.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:c,Slot:d,ItemSlot:h},v,o]}var xi=i.createContext(void 0),s3=e=>{const{dir:t,children:n}=e;return l.jsx(xi.Provider,{value:t,children:n})};function sn(e){const t=i.useContext(xi);return e||t||"ltr"}var i3="DismissableLayer",Lo="dismissableLayer.update",a3="dismissableLayer.pointerDownOutside",c3="dismissableLayer.focusOutside",Li,Ii=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ni=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(Ii),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(m),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=d3(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),x=f3(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Li=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Ai(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Li)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Ai())},[f,u]),i.useEffect(()=>{const E=()=>g({});return document.addEventListener(Lo,E),()=>document.removeEventListener(Lo,E)},[]),l.jsx(pe.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,x.onFocusCapture),onBlurCapture:I(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});Ni.displayName=i3;var l3="DismissableLayerBranch",u3=i.forwardRef((e,t)=>{const n=i.useContext(Ii),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(pe.div,{...e,ref:r})});u3.displayName=l3;function d3(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Ti(a3,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function f3(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Ti(c3,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ai(){const e=new CustomEvent(Lo);document.dispatchEvent(e)}function Ti(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?Mi(r,s):r.dispatchEvent(s)}var Io="focusScope.autoFocusOnMount",No="focusScope.autoFocusOnUnmount",ji={bubbles:!1,cancelable:!0},p3="FocusScope",Oi=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...c}=e,[a,d]=i.useState(null),u=U(r),f=U(s),h=i.useRef(null),v=V(t,p=>d(p)),g=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let p=function(w){if(g.paused||!a)return;const k=w.target;a.contains(k)?h.current=k:Be(h.current,{select:!0})},m=function(w){if(g.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||Be(h.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const M of w)M.removedNodes.length>0&&Be(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",m);const y=new MutationObserver(b);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",m),y.disconnect()}}},[o,a,g.paused]),i.useEffect(()=>{if(a){Hi.add(g);const p=document.activeElement;if(!a.contains(p)){const b=new CustomEvent(Io,ji);a.addEventListener(Io,u),a.dispatchEvent(b),b.defaultPrevented||(h3(b3(_i(a)),{select:!0}),document.activeElement===p&&Be(a))}return()=>{a.removeEventListener(Io,u),setTimeout(()=>{const b=new CustomEvent(No,ji);a.addEventListener(No,f),a.dispatchEvent(b),b.defaultPrevented||Be(p??document.body,{select:!0}),a.removeEventListener(No,f),Hi.remove(g)},0)}}},[a,u,f,g]);const C=i.useCallback(p=>{if(!n&&!o||g.paused)return;const m=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(m&&b){const y=p.currentTarget,[w,k]=v3(y);w&&k?!p.shiftKey&&b===k?(p.preventDefault(),n&&Be(w,{select:!0})):p.shiftKey&&b===w&&(p.preventDefault(),n&&Be(k,{select:!0})):b===y&&p.preventDefault()}},[n,o,g.paused]);return l.jsx(pe.div,{tabIndex:-1,...c,ref:v,onKeyDown:C})});Oi.displayName=p3;function h3(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Be(o,{select:t}),document.activeElement!==n)return}function v3(e){const t=_i(e),n=$i(t,e),o=$i(t.reverse(),e);return[n,o]}function _i(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function $i(e,t){for(const n of e)if(!g3(n,{upTo:t}))return n}function g3(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 m3(e){return e instanceof HTMLInputElement&&"select"in e}function Be(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&m3(e)&&t&&e.select()}}var Hi=C3();function C3(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Vi(e,t),e.unshift(t)},remove(t){var n;e=Vi(e,t),(n=e[0])==null||n.resume()}}}function Vi(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function b3(e){return e.filter(t=>t.tagName!=="A")}const y3=["top","right","bottom","left"],Ue=Math.min,ve=Math.max,an=Math.round,cn=Math.floor,Ie=e=>({x:e,y:e}),w3={left:"right",right:"left",bottom:"top",top:"bottom"},k3={start:"end",end:"start"};function Ao(e,t,n){return ve(e,Ue(t,n))}function He(e,t){return typeof e=="function"?e(t):e}function Ve(e){return e.split("-")[0]}function mt(e){return e.split("-")[1]}function To(e){return e==="x"?"y":"x"}function jo(e){return e==="y"?"height":"width"}function Ke(e){return["top","bottom"].includes(Ve(e))?"y":"x"}function Oo(e){return To(Ke(e))}function E3(e,t,n){n===void 0&&(n=!1);const o=mt(e),r=Oo(e),s=jo(r);let c=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=ln(c)),[c,ln(c)]}function S3(e){const t=ln(e);return[_o(e),t,_o(t)]}function _o(e){return e.replace(/start|end/g,t=>k3[t])}function M3(e,t,n){const o=["left","right"],r=["right","left"],s=["top","bottom"],c=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?s:c;default:return[]}}function P3(e,t,n,o){const r=mt(e);let s=M3(Ve(e),n==="start",o);return r&&(s=s.map(c=>c+"-"+r),t&&(s=s.concat(s.map(_o)))),s}function ln(e){return e.replace(/left|right|bottom|top/g,t=>w3[t])}function x3(e){return{top:0,right:0,bottom:0,left:0,...e}}function Di(e){return typeof e!="number"?x3(e):{top:e,right:e,bottom:e,left:e}}function un(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Fi(e,t,n){let{reference:o,floating:r}=e;const s=Ke(t),c=Oo(t),a=jo(c),d=Ve(t),u=s==="y",f=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,v=o[a]/2-r[a]/2;let g;switch(d){case"top":g={x:f,y:o.y-r.height};break;case"bottom":g={x:f,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:h};break;case"left":g={x:o.x-r.width,y:h};break;default:g={x:o.x,y:o.y}}switch(mt(t)){case"start":g[c]-=v*(n&&u?-1:1);break;case"end":g[c]+=v*(n&&u?-1:1);break}return g}const L3=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:c}=n,a=s.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(t));let u=await c.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:h}=Fi(u,o,d),v=o,g={},C=0;for(let p=0;p<a.length;p++){const{name:m,fn:b}=a[p],{x:y,y:w,data:k,reset:M}=await b({x:f,y:h,initialPlacement:o,placement:v,strategy:r,middlewareData:g,rects:u,platform:c,elements:{reference:e,floating:t}});f=y??f,h=w??h,g={...g,[m]:{...g[m],...k}},M&&C<=50&&(C++,typeof M=="object"&&(M.placement&&(v=M.placement),M.rects&&(u=M.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:r}):M.rects),{x:f,y:h}=Fi(u,v,d)),p=-1)}return{x:f,y:h,placement:v,strategy:r,middlewareData:g}};async function At(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:c,elements:a,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:v=!1,padding:g=0}=He(t,e),C=Di(g),m=a[v?h==="floating"?"reference":"floating":h],b=un(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(m)))==null||n?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:d})),y=h==="floating"?{x:o,y:r,width:c.floating.width,height:c.floating.height}:c.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),k=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},M=un(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:d}):y);return{top:(b.top-M.top+C.top)/k.y,bottom:(M.bottom-b.bottom+C.bottom)/k.y,left:(b.left-M.left+C.left)/k.x,right:(M.right-b.right+C.right)/k.x}}const I3=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:s,platform:c,elements:a,middlewareData:d}=t,{element:u,padding:f=0}=He(e,t)||{};if(u==null)return{};const h=Di(f),v={x:n,y:o},g=Oo(r),C=jo(g),p=await c.getDimensions(u),m=g==="y",b=m?"top":"left",y=m?"bottom":"right",w=m?"clientHeight":"clientWidth",k=s.reference[C]+s.reference[g]-v[g]-s.floating[C],M=v[g]-s.reference[g],x=await(c.getOffsetParent==null?void 0:c.getOffsetParent(u));let E=x?x[w]:0;(!E||!await(c.isElement==null?void 0:c.isElement(x)))&&(E=a.floating[w]||s.floating[C]);const L=k/2-M/2,N=E/2-p[C]/2-1,T=Ue(h[b],N),D=Ue(h[y],N),_=T,Z=E-p[C]-D,j=E/2-p[C]/2+L,W=Ao(_,j,Z),H=!d.arrow&&mt(r)!=null&&j!==W&&s.reference[C]/2-(j<_?T:D)-p[C]/2<0,R=H?j<_?j-_:j-Z:0;return{[g]:v[g]+R,data:{[g]:W,centerOffset:j-W-R,...H&&{alignmentOffset:R}},reset:H}}}),N3=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:c,initialPlacement:a,platform:d,elements:u}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:p=!0,...m}=He(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const b=Ve(r),y=Ke(a),w=Ve(a)===a,k=await(d.isRTL==null?void 0:d.isRTL(u.floating)),M=v||(w||!p?[ln(a)]:S3(a)),x=C!=="none";!v&&x&&M.push(...P3(a,p,C,k));const E=[a,...M],L=await At(t,m),N=[];let T=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&N.push(L[b]),h){const j=E3(r,c,k);N.push(L[j[0]],L[j[1]])}if(T=[...T,{placement:r,overflows:N}],!N.every(j=>j<=0)){var D,_;const j=(((D=s.flip)==null?void 0:D.index)||0)+1,W=E[j];if(W)return{data:{index:j,overflows:T},reset:{placement:W}};let H=(_=T.filter(R=>R.overflows[0]<=0).sort((R,O)=>R.overflows[1]-O.overflows[1])[0])==null?void 0:_.placement;if(!H)switch(g){case"bestFit":{var Z;const R=(Z=T.filter(O=>{if(x){const A=Ke(O.placement);return A===y||A==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(A=>A>0).reduce((A,K)=>A+K,0)]).sort((O,A)=>O[1]-A[1])[0])==null?void 0:Z[0];R&&(H=R);break}case"initialPlacement":H=a;break}if(r!==H)return{reset:{placement:H}}}return{}}}};function Zi(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ri(e){return y3.some(t=>e[t]>=0)}const A3=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=He(e,t);switch(o){case"referenceHidden":{const s=await At(t,{...r,elementContext:"reference"}),c=Zi(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Ri(c)}}}case"escaped":{const s=await At(t,{...r,altBoundary:!0}),c=Zi(s,n.floating);return{data:{escapedOffsets:c,escaped:Ri(c)}}}default:return{}}}}};async function T3(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),c=Ve(n),a=mt(n),d=Ke(n)==="y",u=["left","top"].includes(c)?-1:1,f=s&&d?-1:1,h=He(t,e);let{mainAxis:v,crossAxis:g,alignmentAxis:C}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof C=="number"&&(g=a==="end"?C*-1:C),d?{x:g*f,y:v*u}:{x:v*u,y:g*f}}const j3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:c,middlewareData:a}=t,d=await T3(t,e);return c===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:r+d.x,y:s+d.y,data:{...d,placement:c}}}}},O3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:a={fn:m=>{let{x:b,y}=m;return{x:b,y}}},...d}=He(e,t),u={x:n,y:o},f=await At(t,d),h=Ke(Ve(r)),v=To(h);let g=u[v],C=u[h];if(s){const m=v==="y"?"top":"left",b=v==="y"?"bottom":"right",y=g+f[m],w=g-f[b];g=Ao(y,g,w)}if(c){const m=h==="y"?"top":"left",b=h==="y"?"bottom":"right",y=C+f[m],w=C-f[b];C=Ao(y,C,w)}const p=a.fn({...t,[v]:g,[h]:C});return{...p,data:{x:p.x-n,y:p.y-o,enabled:{[v]:s,[h]:c}}}}}},_3=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:s,middlewareData:c}=t,{offset:a=0,mainAxis:d=!0,crossAxis:u=!0}=He(e,t),f={x:n,y:o},h=Ke(r),v=To(h);let g=f[v],C=f[h];const p=He(a,t),m=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(d){const w=v==="y"?"height":"width",k=s.reference[v]-s.floating[w]+m.mainAxis,M=s.reference[v]+s.reference[w]-m.mainAxis;g<k?g=k:g>M&&(g=M)}if(u){var b,y;const w=v==="y"?"width":"height",k=["top","left"].includes(Ve(r)),M=s.reference[h]-s.floating[w]+(k&&((b=c.offset)==null?void 0:b[h])||0)+(k?0:m.crossAxis),x=s.reference[h]+s.reference[w]+(k?0:((y=c.offset)==null?void 0:y[h])||0)-(k?m.crossAxis:0);C<M?C=M:C>x&&(C=x)}return{[v]:g,[h]:C}}}},$3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:s,platform:c,elements:a}=t,{apply:d=()=>{},...u}=He(e,t),f=await At(t,u),h=Ve(r),v=mt(r),g=Ke(r)==="y",{width:C,height:p}=s.floating;let m,b;h==="top"||h==="bottom"?(m=h,b=v===(await(c.isRTL==null?void 0:c.isRTL(a.floating))?"start":"end")?"left":"right"):(b=h,m=v==="end"?"top":"bottom");const y=p-f.top-f.bottom,w=C-f.left-f.right,k=Ue(p-f[m],y),M=Ue(C-f[b],w),x=!t.middlewareData.shift;let E=k,L=M;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(L=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(E=y),x&&!v){const T=ve(f.left,0),D=ve(f.right,0),_=ve(f.top,0),Z=ve(f.bottom,0);g?L=C-2*(T!==0||D!==0?T+D:ve(f.left,f.right)):E=p-2*(_!==0||Z!==0?_+Z:ve(f.top,f.bottom))}await d({...t,availableWidth:L,availableHeight:E});const N=await c.getDimensions(a.floating);return C!==N.width||p!==N.height?{reset:{rects:!0}}:{}}}};function dn(){return typeof window<"u"}function Ct(e){return Wi(e)?(e.nodeName||"").toLowerCase():"#document"}function ge(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ne(e){var t;return(t=(Wi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Wi(e){return dn()?e instanceof Node||e instanceof ge(e).Node:!1}function we(e){return dn()?e instanceof Element||e instanceof ge(e).Element:!1}function Ae(e){return dn()?e instanceof HTMLElement||e instanceof ge(e).HTMLElement:!1}function zi(e){return!dn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ge(e).ShadowRoot}function Tt(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=ke(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function H3(e){return["table","td","th"].includes(Ct(e))}function fn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function $o(e){const t=Ho(),n=we(e)?ke(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function V3(e){let t=Ge(e);for(;Ae(t)&&!bt(t);){if($o(t))return t;if(fn(t))return null;t=Ge(t)}return null}function Ho(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function bt(e){return["html","body","#document"].includes(Ct(e))}function ke(e){return ge(e).getComputedStyle(e)}function pn(e){return we(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ge(e){if(Ct(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zi(e)&&e.host||Ne(e);return zi(t)?t.host:t}function Bi(e){const t=Ge(e);return bt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ae(t)&&Tt(t)?t:Bi(t)}function jt(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Bi(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),c=ge(r);if(s){const a=Vo(c);return t.concat(c,c.visualViewport||[],Tt(r)?r:[],a&&n?jt(a):[])}return t.concat(r,jt(r,[],n))}function Vo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ui(e){const t=ke(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Ae(e),s=r?e.offsetWidth:n,c=r?e.offsetHeight:o,a=an(n)!==s||an(o)!==c;return a&&(n=s,o=c),{width:n,height:o,$:a}}function Do(e){return we(e)?e:e.contextElement}function yt(e){const t=Do(e);if(!Ae(t))return Ie(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=Ui(t);let c=(s?an(n.width):n.width)/o,a=(s?an(n.height):n.height)/r;return(!c||!Number.isFinite(c))&&(c=1),(!a||!Number.isFinite(a))&&(a=1),{x:c,y:a}}const D3=Ie(0);function Ki(e){const t=ge(e);return!Ho()||!t.visualViewport?D3:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function F3(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ge(e)?!1:t}function st(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Do(e);let c=Ie(1);t&&(o?we(o)&&(c=yt(o)):c=yt(e));const a=F3(s,n,o)?Ki(s):Ie(0);let d=(r.left+a.x)/c.x,u=(r.top+a.y)/c.y,f=r.width/c.x,h=r.height/c.y;if(s){const v=ge(s),g=o&&we(o)?ge(o):o;let C=v,p=Vo(C);for(;p&&o&&g!==C;){const m=yt(p),b=p.getBoundingClientRect(),y=ke(p),w=b.left+(p.clientLeft+parseFloat(y.paddingLeft))*m.x,k=b.top+(p.clientTop+parseFloat(y.paddingTop))*m.y;d*=m.x,u*=m.y,f*=m.x,h*=m.y,d+=w,u+=k,C=ge(p),p=Vo(C)}}return un({width:f,height:h,x:d,y:u})}function Fo(e,t){const n=pn(e).scrollLeft;return t?t.left+n:st(Ne(e)).left+n}function Gi(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),r=o.left+t.scrollLeft-(n?0:Fo(e,o)),s=o.top+t.scrollTop;return{x:r,y:s}}function Z3(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",c=Ne(o),a=t?fn(t.floating):!1;if(o===c||a&&s)return n;let d={scrollLeft:0,scrollTop:0},u=Ie(1);const f=Ie(0),h=Ae(o);if((h||!h&&!s)&&((Ct(o)!=="body"||Tt(c))&&(d=pn(o)),Ae(o))){const g=st(o);u=yt(o),f.x=g.x+o.clientLeft,f.y=g.y+o.clientTop}const v=c&&!h&&!s?Gi(c,d,!0):Ie(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-d.scrollLeft*u.x+f.x+v.x,y:n.y*u.y-d.scrollTop*u.y+f.y+v.y}}function R3(e){return Array.from(e.getClientRects())}function W3(e){const t=Ne(e),n=pn(e),o=e.ownerDocument.body,r=ve(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=ve(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let c=-n.scrollLeft+Fo(e);const a=-n.scrollTop;return ke(o).direction==="rtl"&&(c+=ve(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:c,y:a}}function z3(e,t){const n=ge(e),o=Ne(e),r=n.visualViewport;let s=o.clientWidth,c=o.clientHeight,a=0,d=0;if(r){s=r.width,c=r.height;const u=Ho();(!u||u&&t==="fixed")&&(a=r.offsetLeft,d=r.offsetTop)}return{width:s,height:c,x:a,y:d}}function B3(e,t){const n=st(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=Ae(e)?yt(e):Ie(1),c=e.clientWidth*s.x,a=e.clientHeight*s.y,d=r*s.x,u=o*s.y;return{width:c,height:a,x:d,y:u}}function Yi(e,t,n){let o;if(t==="viewport")o=z3(e,n);else if(t==="document")o=W3(Ne(e));else if(we(t))o=B3(t,n);else{const r=Ki(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return un(o)}function Xi(e,t){const n=Ge(e);return n===t||!we(n)||bt(n)?!1:ke(n).position==="fixed"||Xi(n,t)}function U3(e,t){const n=t.get(e);if(n)return n;let o=jt(e,[],!1).filter(a=>we(a)&&Ct(a)!=="body"),r=null;const s=ke(e).position==="fixed";let c=s?Ge(e):e;for(;we(c)&&!bt(c);){const a=ke(c),d=$o(c);!d&&a.position==="fixed"&&(r=null),(s?!d&&!r:!d&&a.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||Tt(c)&&!d&&Xi(e,c))?o=o.filter(f=>f!==c):r=a,c=Ge(c)}return t.set(e,o),o}function K3(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const c=[...n==="clippingAncestors"?fn(t)?[]:U3(t,this._c):[].concat(n),o],a=c[0],d=c.reduce((u,f)=>{const h=Yi(t,f,r);return u.top=ve(h.top,u.top),u.right=Ue(h.right,u.right),u.bottom=Ue(h.bottom,u.bottom),u.left=ve(h.left,u.left),u},Yi(t,a,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function G3(e){const{width:t,height:n}=Ui(e);return{width:t,height:n}}function Y3(e,t,n){const o=Ae(t),r=Ne(t),s=n==="fixed",c=st(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const d=Ie(0);if(o||!o&&!s)if((Ct(t)!=="body"||Tt(r))&&(a=pn(t)),o){const v=st(t,!0,s,t);d.x=v.x+t.clientLeft,d.y=v.y+t.clientTop}else r&&(d.x=Fo(r));const u=r&&!o&&!s?Gi(r,a):Ie(0),f=c.left+a.scrollLeft-d.x-u.x,h=c.top+a.scrollTop-d.y-u.y;return{x:f,y:h,width:c.width,height:c.height}}function Zo(e){return ke(e).position==="static"}function qi(e,t){if(!Ae(e)||ke(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ne(e)===n&&(n=n.ownerDocument.body),n}function Qi(e,t){const n=ge(e);if(fn(e))return n;if(!Ae(e)){let r=Ge(e);for(;r&&!bt(r);){if(we(r)&&!Zo(r))return r;r=Ge(r)}return n}let o=qi(e,t);for(;o&&H3(o)&&Zo(o);)o=qi(o,t);return o&&bt(o)&&Zo(o)&&!$o(o)?n:o||V3(e)||n}const X3=async function(e){const t=this.getOffsetParent||Qi,n=this.getDimensions,o=await n(e.floating);return{reference:Y3(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function q3(e){return ke(e).direction==="rtl"}const Q3={convertOffsetParentRelativeRectToViewportRelativeRect:Z3,getDocumentElement:Ne,getClippingRect:K3,getOffsetParent:Qi,getElementRects:X3,getClientRects:R3,getDimensions:G3,getScale:yt,isElement:we,isRTL:q3};function Ji(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function J3(e,t){let n=null,o;const r=Ne(e);function s(){var a;clearTimeout(o),(a=n)==null||a.disconnect(),n=null}function c(a,d){a===void 0&&(a=!1),d===void 0&&(d=1),s();const u=e.getBoundingClientRect(),{left:f,top:h,width:v,height:g}=u;if(a||t(),!v||!g)return;const C=cn(h),p=cn(r.clientWidth-(f+v)),m=cn(r.clientHeight-(h+g)),b=cn(f),w={rootMargin:-C+"px "+-p+"px "+-m+"px "+-b+"px",threshold:ve(0,Ue(1,d))||1};let k=!0;function M(x){const E=x[0].intersectionRatio;if(E!==d){if(!k)return c();E?c(!1,E):o=setTimeout(()=>{c(!1,1e-7)},1e3)}E===1&&!Ji(u,e.getBoundingClientRect())&&c(),k=!1}try{n=new IntersectionObserver(M,{...w,root:r.ownerDocument})}catch{n=new IntersectionObserver(M,w)}n.observe(e)}return c(!0),s}function hn(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,u=Do(e),f=r||s?[...u?jt(u):[],...jt(t)]:[];f.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const h=u&&a?J3(u,n):null;let v=-1,g=null;c&&(g=new ResizeObserver(b=>{let[y]=b;y&&y.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),n()}),u&&!d&&g.observe(u),g.observe(t));let C,p=d?st(e):null;d&&m();function m(){const b=st(e);p&&!Ji(p,b)&&n(),p=b,C=requestAnimationFrame(m)}return n(),()=>{var b;f.forEach(y=>{r&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(b=g)==null||b.disconnect(),g=null,d&&cancelAnimationFrame(C)}}const e5=j3,t5=O3,n5=N3,o5=$3,r5=A3,ea=I3,s5=_3,i5=(e,t,n)=>{const o=new Map,r={platform:Q3,...n},s={...r.platform,_c:o};return L3(e,t,{...r,platform:s})};var vn=typeof document<"u"?te.useLayoutEffect:te.useEffect;function gn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!gn(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const s=r[o];if(!(s==="_owner"&&e.$$typeof)&&!gn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ta(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function na(e,t){const n=ta(e);return Math.round(t*n)/n}function Ro(e){const t=i.useRef(e);return vn(()=>{t.current=e}),t}function mn(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:s,floating:c}={},transform:a=!0,whileElementsMounted:d,open:u}=e,[f,h]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,g]=i.useState(o);gn(v,o)||g(o);const[C,p]=i.useState(null),[m,b]=i.useState(null),y=i.useCallback(O=>{O!==x.current&&(x.current=O,p(O))},[]),w=i.useCallback(O=>{O!==E.current&&(E.current=O,b(O))},[]),k=s||C,M=c||m,x=i.useRef(null),E=i.useRef(null),L=i.useRef(f),N=d!=null,T=Ro(d),D=Ro(r),_=Ro(u),Z=i.useCallback(()=>{if(!x.current||!E.current)return;const O={placement:t,strategy:n,middleware:v};D.current&&(O.platform=D.current),i5(x.current,E.current,O).then(A=>{const K={...A,isPositioned:_.current!==!1};j.current&&!gn(L.current,K)&&(L.current=K,xe.flushSync(()=>{h(K)}))})},[v,t,n,D,_]);vn(()=>{u===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,h(O=>({...O,isPositioned:!1})))},[u]);const j=i.useRef(!1);vn(()=>(j.current=!0,()=>{j.current=!1}),[]),vn(()=>{if(k&&(x.current=k),M&&(E.current=M),k&&M){if(T.current)return T.current(k,M,Z);Z()}},[k,M,Z,T,N]);const W=i.useMemo(()=>({reference:x,floating:E,setReference:y,setFloating:w}),[y,w]),H=i.useMemo(()=>({reference:k,floating:M}),[k,M]),R=i.useMemo(()=>{const O={position:n,left:0,top:0};if(!H.floating)return O;const A=na(H.floating,f.x),K=na(H.floating,f.y);return a?{...O,transform:"translate("+A+"px, "+K+"px)",...ta(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:K}},[n,a,H.floating,f.x,f.y]);return i.useMemo(()=>({...f,update:Z,refs:W,elements:H,floatingStyles:R}),[f,Z,W,H,R])}const a5=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?ea({element:o.current,padding:r}).fn(n):{}:o?ea({element:o,padding:r}).fn(n):{}}}},Cn=(e,t)=>({...e5(e),options:[e,t]}),bn=(e,t)=>({...t5(e),options:[e,t]}),yn=(e,t)=>({...s5(e),options:[e,t]}),wn=(e,t)=>({...n5(e),options:[e,t]}),kn=(e,t)=>({...o5(e),options:[e,t]}),En=(e,t)=>({...r5(e),options:[e,t]}),Sn=(e,t)=>({...a5(e),options:[e,t]});var c5="Arrow",oa=i.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return l.jsx(pe.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});oa.displayName=c5;var l5=oa;function Mn(e){const[t,n]=i.useState(void 0);return J(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const s=r[0];let c,a;if("borderBoxSize"in s){const d=s.borderBoxSize,u=Array.isArray(d)?d[0]:d;c=u.inlineSize,a=u.blockSize}else c=e.offsetWidth,a=e.offsetHeight;n({width:c,height:a})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var Wo="Popper",[ra,sa]=de(Wo),[u5,ia]=ra(Wo),aa=e=>{const{__scopePopper:t,children:n}=e,[o,r]=i.useState(null);return l.jsx(u5,{scope:t,anchor:o,onAnchorChange:r,children:n})};aa.displayName=Wo;var ca="PopperAnchor",la=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=ia(ca,n),c=i.useRef(null),a=V(t,c);return i.useEffect(()=>{s.onAnchorChange((o==null?void 0:o.current)||c.current)}),o?null:l.jsx(pe.div,{...r,ref:a})});la.displayName=ca;var zo="PopperContent",[d5,f5]=ra(zo),ua=i.forwardRef((e,t)=>{var F,Y,Q,G,X,q;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:c=0,arrowPadding:a=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:g="optimized",onPlaced:C,...p}=e,m=ia(zo,n),[b,y]=i.useState(null),w=V(t,ee=>y(ee)),[k,M]=i.useState(null),x=Mn(k),E=(x==null?void 0:x.width)??0,L=(x==null?void 0:x.height)??0,N=o+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(u)?u:[u],_=D.length>0,Z={padding:T,boundary:D.filter(h5),altBoundary:_},{refs:j,floatingStyles:W,placement:H,isPositioned:R,middlewareData:O}=mn({strategy:"fixed",placement:N,whileElementsMounted:(...ee)=>hn(...ee,{animationFrame:g==="always"}),elements:{reference:m.anchor},middleware:[Cn({mainAxis:r+L,alignmentAxis:c}),d&&bn({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?yn():void 0,...Z}),d&&wn({...Z}),kn({...Z,apply:({elements:ee,rects:le,availableWidth:Se,availableHeight:Me})=>{const{width:Pe,height:lt}=le.reference,ue=ee.floating.style;ue.setProperty("--radix-popper-available-width",`${Se}px`),ue.setProperty("--radix-popper-available-height",`${Me}px`),ue.setProperty("--radix-popper-anchor-width",`${Pe}px`),ue.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),k&&Sn({element:k,padding:a}),v5({arrowWidth:E,arrowHeight:L}),v&&En({strategy:"referenceHidden",...Z})]}),[A,K]=pa(H),z=U(C);J(()=>{R&&(z==null||z())},[R,z]);const oe=(F=O.arrow)==null?void 0:F.x,ae=(Y=O.arrow)==null?void 0:Y.y,se=((Q=O.arrow)==null?void 0:Q.centerOffset)!==0,[he,ce]=i.useState();return J(()=>{b&&ce(window.getComputedStyle(b).zIndex)},[b]),l.jsx("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:R?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(G=O.transformOrigin)==null?void 0:G.x,(X=O.transformOrigin)==null?void 0:X.y].join(" "),...((q=O.hide)==null?void 0:q.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(d5,{scope:n,placedSide:A,onArrowChange:M,arrowX:oe,arrowY:ae,shouldHideArrow:se,children:l.jsx(pe.div,{"data-side":A,"data-align":K,...p,ref:w,style:{...p.style,animation:R?void 0:"none"}})})})});ua.displayName=zo;var da="PopperArrow",p5={top:"bottom",right:"left",bottom:"top",left:"right"},fa=i.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=f5(da,o),c=p5[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(l5,{...r,ref:n,style:{...r.style,display:"block"}})})});fa.displayName=da;function h5(e){return e!==null}var v5=e=>({name:"transformOrigin",options:e,fn(t){var m,b,y;const{placement:n,rects:o,middlewareData:r}=t,c=((m=r.arrow)==null?void 0:m.centerOffset)!==0,a=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[u,f]=pa(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(((b=r.arrow)==null?void 0:b.x)??0)+a/2,g=(((y=r.arrow)==null?void 0:y.y)??0)+d/2;let C="",p="";return u==="bottom"?(C=c?h:`${v}px`,p=`${-d}px`):u==="top"?(C=c?h:`${v}px`,p=`${o.floating.height+d}px`):u==="right"?(C=`${-d}px`,p=c?h:`${g}px`):u==="left"&&(C=`${o.floating.width+d}px`,p=c?h:`${g}px`),{data:{x:C,y:p}}}});function pa(e){const[t,n="center"]=e.split("-");return[t,n]}var ha=aa,g5=la,m5=ua,C5=fa,b5="Portal",va=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);J(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx(pe.div,{...o,ref:t}),c):null});va.displayName=b5;function y5(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var Ot=e=>{const{present:t,children:n}=e,o=w5(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,k5(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};Ot.displayName="Presence";function w5(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=y5(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=Pn(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,g=Pn(u);e?d("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=g=>{const p=Pn(o.current).includes(g.animationName);if(g.target===t&&p&&(d("ANIMATION_END"),!r.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},v=g=>{g.target===t&&(s.current=Pn(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function Pn(e){return(e==null?void 0:e.animationName)||"none"}function k5(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Bo="rovingFocusGroup.onEntryFocus",E5={bubbles:!1,cancelable:!0},xn="RovingFocusGroup",[Uo,ga,S5]=Pi(xn),[M5,ma]=de(xn,[S5]),[P5,x5]=M5(xn),Ca=i.forwardRef((e,t)=>l.jsx(Uo.Provider,{scope:e.__scopeRovingFocusGroup,children:l.jsx(Uo.Slot,{scope:e.__scopeRovingFocusGroup,children:l.jsx(L5,{...e,ref:t})})}));Ca.displayName=xn;var L5=i.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:r=!1,dir:s,currentTabStopId:c,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:d,onEntryFocus:u,preventScrollOnEntryFocus:f=!1,...h}=e,v=i.useRef(null),g=V(t,v),C=sn(s),[p=null,m]=_e({prop:c,defaultProp:a,onChange:d}),[b,y]=i.useState(!1),w=U(u),k=ga(n),M=i.useRef(!1),[x,E]=i.useState(0);return i.useEffect(()=>{const L=v.current;if(L)return L.addEventListener(Bo,w),()=>L.removeEventListener(Bo,w)},[w]),l.jsx(P5,{scope:n,orientation:o,dir:C,loop:r,currentTabStopId:p,onItemFocus:i.useCallback(L=>m(L),[m]),onItemShiftTab:i.useCallback(()=>y(!0),[]),onFocusableItemAdd:i.useCallback(()=>E(L=>L+1),[]),onFocusableItemRemove:i.useCallback(()=>E(L=>L-1),[]),children:l.jsx(pe.div,{tabIndex:b||x===0?-1:0,"data-orientation":o,...h,ref:g,style:{outline:"none",...e.style},onMouseDown:I(e.onMouseDown,()=>{M.current=!0}),onFocus:I(e.onFocus,L=>{const N=!M.current;if(L.target===L.currentTarget&&N&&!b){const T=new CustomEvent(Bo,E5);if(L.currentTarget.dispatchEvent(T),!T.defaultPrevented){const D=k().filter(H=>H.focusable),_=D.find(H=>H.active),Z=D.find(H=>H.id===p),W=[_,Z,...D].filter(Boolean).map(H=>H.ref.current);wa(W,f)}}M.current=!1}),onBlur:I(e.onBlur,()=>y(!1))})})}),ba="RovingFocusGroupItem",ya=i.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:r=!1,tabStopId:s,...c}=e,a=me(),d=s||a,u=x5(ba,n),f=u.currentTabStopId===d,h=ga(n),{onFocusableItemAdd:v,onFocusableItemRemove:g}=u;return i.useEffect(()=>{if(o)return v(),()=>g()},[o,v,g]),l.jsx(Uo.ItemSlot,{scope:n,id:d,focusable:o,active:r,children:l.jsx(pe.span,{tabIndex:f?0:-1,"data-orientation":u.orientation,...c,ref:t,onMouseDown:I(e.onMouseDown,C=>{o?u.onItemFocus(d):C.preventDefault()}),onFocus:I(e.onFocus,()=>u.onItemFocus(d)),onKeyDown:I(e.onKeyDown,C=>{if(C.key==="Tab"&&C.shiftKey){u.onItemShiftTab();return}if(C.target!==C.currentTarget)return;const p=A5(C,u.orientation,u.dir);if(p!==void 0){if(C.metaKey||C.ctrlKey||C.altKey||C.shiftKey)return;C.preventDefault();let b=h().filter(y=>y.focusable).map(y=>y.ref.current);if(p==="last")b.reverse();else if(p==="prev"||p==="next"){p==="prev"&&b.reverse();const y=b.indexOf(C.currentTarget);b=u.loop?T5(b,y+1):b.slice(y+1)}setTimeout(()=>wa(b))}})})})});ya.displayName=ba;var I5={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function N5(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function A5(e,t,n){const o=N5(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return I5[o]}function wa(e,t=!1){const n=document.activeElement;for(const o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}function T5(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var j5=Ca,O5=ya,Ko=["Enter"," "],_5=["ArrowDown","PageUp","Home"],ka=["ArrowUp","PageDown","End"],$5=[..._5,...ka],H5={ltr:[...Ko,"ArrowRight"],rtl:[...Ko,"ArrowLeft"]},V5={ltr:["ArrowLeft"],rtl:["ArrowRight"]},_t="Menu",[$t,D5,F5]=Pi(_t),[it,Ea]=de(_t,[F5,sa,ma]),Ht=sa(),Sa=ma(),[Ma,Ye]=it(_t),[Z5,Vt]=it(_t),Pa=e=>{const{__scopeMenu:t,open:n=!1,children:o,dir:r,onOpenChange:s,modal:c=!0}=e,a=Ht(t),[d,u]=i.useState(null),f=i.useRef(!1),h=U(s),v=sn(r);return i.useEffect(()=>{const g=()=>{f.current=!0,document.addEventListener("pointerdown",C,{capture:!0,once:!0}),document.addEventListener("pointermove",C,{capture:!0,once:!0})},C=()=>f.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",C,{capture:!0}),document.removeEventListener("pointermove",C,{capture:!0})}},[]),l.jsx(ha,{...a,children:l.jsx(Ma,{scope:t,open:n,onOpenChange:h,content:d,onContentChange:u,children:l.jsx(Z5,{scope:t,onClose:i.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:f,dir:v,modal:c,children:o})})})};Pa.displayName=_t;var R5="MenuAnchor",Go=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e,r=Ht(n);return l.jsx(g5,{...r,...o,ref:t})});Go.displayName=R5;var Yo="MenuPortal",[W5,xa]=it(Yo,{forceMount:void 0}),La=e=>{const{__scopeMenu:t,forceMount:n,children:o,container:r}=e,s=Ye(Yo,t);return l.jsx(W5,{scope:t,forceMount:n,children:l.jsx(Ot,{present:n||s.open,children:l.jsx(va,{asChild:!0,container:r,children:o})})})};La.displayName=Yo;var Ce="MenuContent",[z5,Xo]=it(Ce),Ia=i.forwardRef((e,t)=>{const n=xa(Ce,e.__scopeMenu),{forceMount:o=n.forceMount,...r}=e,s=Ye(Ce,e.__scopeMenu),c=Vt(Ce,e.__scopeMenu);return l.jsx($t.Provider,{scope:e.__scopeMenu,children:l.jsx(Ot,{present:o||s.open,children:l.jsx($t.Slot,{scope:e.__scopeMenu,children:c.modal?l.jsx(B5,{...r,ref:t}):l.jsx(U5,{...r,ref:t})})})})}),B5=i.forwardRef((e,t)=>{const n=Ye(Ce,e.__scopeMenu),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return on(s)},[]),l.jsx(qo,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:I(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),U5=i.forwardRef((e,t)=>{const n=Ye(Ce,e.__scopeMenu);return l.jsx(qo,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),qo=i.forwardRef((e,t)=>{const{__scopeMenu:n,loop:o=!1,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:c,disableOutsidePointerEvents:a,onEntryFocus:d,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:v,onDismiss:g,disableOutsideScroll:C,...p}=e,m=Ye(Ce,n),b=Vt(Ce,n),y=Ht(n),w=Sa(n),k=D5(n),[M,x]=i.useState(null),E=i.useRef(null),L=V(t,E,m.onContentChange),N=i.useRef(0),T=i.useRef(""),D=i.useRef(0),_=i.useRef(null),Z=i.useRef("right"),j=i.useRef(0),W=C?Nt:i.Fragment,H=C?{as:re,allowPinchZoom:!0}:void 0,R=A=>{var F,Y;const K=T.current+A,z=k().filter(Q=>!Q.disabled),oe=document.activeElement,ae=(F=z.find(Q=>Q.ref.current===oe))==null?void 0:F.textValue,se=z.map(Q=>Q.textValue),he=rh(se,K,ae),ce=(Y=z.find(Q=>Q.textValue===he))==null?void 0:Y.ref.current;(function Q(G){T.current=G,window.clearTimeout(N.current),G!==""&&(N.current=window.setTimeout(()=>Q(""),1e3))})(K),ce&&setTimeout(()=>ce.focus())};i.useEffect(()=>()=>window.clearTimeout(N.current),[]),po();const O=i.useCallback(A=>{var z,oe;return Z.current===((z=_.current)==null?void 0:z.side)&&ih(A,(oe=_.current)==null?void 0:oe.area)},[]);return l.jsx(z5,{scope:n,searchRef:T,onItemEnter:i.useCallback(A=>{O(A)&&A.preventDefault()},[O]),onItemLeave:i.useCallback(A=>{var K;O(A)||((K=E.current)==null||K.focus(),x(null))},[O]),onTriggerLeave:i.useCallback(A=>{O(A)&&A.preventDefault()},[O]),pointerGraceTimerRef:D,onPointerGraceIntentChange:i.useCallback(A=>{_.current=A},[]),children:l.jsx(W,{...H,children:l.jsx(Oi,{asChild:!0,trapped:r,onMountAutoFocus:I(s,A=>{var K;A.preventDefault(),(K=E.current)==null||K.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:l.jsx(Ni,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:v,onDismiss:g,children:l.jsx(j5,{asChild:!0,...w,dir:b.dir,orientation:"vertical",loop:o,currentTabStopId:M,onCurrentTabStopIdChange:x,onEntryFocus:I(d,A=>{b.isUsingKeyboardRef.current||A.preventDefault()}),preventScrollOnEntryFocus:!0,children:l.jsx(m5,{role:"menu","aria-orientation":"vertical","data-state":Ka(m.open),"data-radix-menu-content":"",dir:b.dir,...y,...p,ref:L,style:{outline:"none",...p.style},onKeyDown:I(p.onKeyDown,A=>{const z=A.target.closest("[data-radix-menu-content]")===A.currentTarget,oe=A.ctrlKey||A.altKey||A.metaKey,ae=A.key.length===1;z&&(A.key==="Tab"&&A.preventDefault(),!oe&&ae&&R(A.key));const se=E.current;if(A.target!==se||!$5.includes(A.key))return;A.preventDefault();const ce=k().filter(F=>!F.disabled).map(F=>F.ref.current);ka.includes(A.key)&&ce.reverse(),nh(ce)}),onBlur:I(e.onBlur,A=>{A.currentTarget.contains(A.target)||(window.clearTimeout(N.current),T.current="")}),onPointerMove:I(e.onPointerMove,Ft(A=>{const K=A.target,z=j.current!==A.clientX;if(A.currentTarget.contains(K)&&z){const oe=A.clientX>j.current?"right":"left";Z.current=oe,j.current=A.clientX}}))})})})})})})});Ia.displayName=Ce;var K5="MenuGroup",Qo=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e;return l.jsx(pe.div,{role:"group",...o,ref:t})});Qo.displayName=K5;var G5="MenuLabel",Na=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e;return l.jsx(pe.div,{...o,ref:t})});Na.displayName=G5;var Ln="MenuItem",Aa="menu.itemSelect",In=i.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:o,...r}=e,s=i.useRef(null),c=Vt(Ln,e.__scopeMenu),a=Xo(Ln,e.__scopeMenu),d=V(t,s),u=i.useRef(!1),f=()=>{const h=s.current;if(!n&&h){const v=new CustomEvent(Aa,{bubbles:!0,cancelable:!0});h.addEventListener(Aa,g=>o==null?void 0:o(g),{once:!0}),Mi(h,v),v.defaultPrevented?u.current=!1:c.onClose()}};return l.jsx(Ta,{...r,ref:d,disabled:n,onClick:I(e.onClick,f),onPointerDown:h=>{var v;(v=e.onPointerDown)==null||v.call(e,h),u.current=!0},onPointerUp:I(e.onPointerUp,h=>{var v;u.current||(v=h.currentTarget)==null||v.click()}),onKeyDown:I(e.onKeyDown,h=>{const v=a.searchRef.current!=="";n||v&&h.key===" "||Ko.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})})});In.displayName=Ln;var Ta=i.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:o=!1,textValue:r,...s}=e,c=Xo(Ln,n),a=Sa(n),d=i.useRef(null),u=V(t,d),[f,h]=i.useState(!1),[v,g]=i.useState("");return i.useEffect(()=>{const C=d.current;C&&g((C.textContent??"").trim())},[s.children]),l.jsx($t.ItemSlot,{scope:n,disabled:o,textValue:r??v,children:l.jsx(O5,{asChild:!0,...a,focusable:!o,children:l.jsx(pe.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:u,onPointerMove:I(e.onPointerMove,Ft(C=>{o?c.onItemLeave(C):(c.onItemEnter(C),C.defaultPrevented||C.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:I(e.onPointerLeave,Ft(C=>c.onItemLeave(C))),onFocus:I(e.onFocus,()=>h(!0)),onBlur:I(e.onBlur,()=>h(!1))})})})}),Y5="MenuCheckboxItem",ja=i.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:o,...r}=e;return l.jsx(Va,{scope:e.__scopeMenu,checked:n,children:l.jsx(In,{role:"menuitemcheckbox","aria-checked":Nn(n)?"mixed":n,...r,ref:t,"data-state":tr(n),onSelect:I(r.onSelect,()=>o==null?void 0:o(Nn(n)?!0:!n),{checkForDefaultPrevented:!1})})})});ja.displayName=Y5;var Oa="MenuRadioGroup",[X5,q5]=it(Oa,{value:void 0,onValueChange:()=>{}}),_a=i.forwardRef((e,t)=>{const{value:n,onValueChange:o,...r}=e,s=U(o);return l.jsx(X5,{scope:e.__scopeMenu,value:n,onValueChange:s,children:l.jsx(Qo,{...r,ref:t})})});_a.displayName=Oa;var $a="MenuRadioItem",Ha=i.forwardRef((e,t)=>{const{value:n,...o}=e,r=q5($a,e.__scopeMenu),s=n===r.value;return l.jsx(Va,{scope:e.__scopeMenu,checked:s,children:l.jsx(In,{role:"menuitemradio","aria-checked":s,...o,ref:t,"data-state":tr(s),onSelect:I(o.onSelect,()=>{var c;return(c=r.onValueChange)==null?void 0:c.call(r,n)},{checkForDefaultPrevented:!1})})})});Ha.displayName=$a;var Jo="MenuItemIndicator",[Va,Q5]=it(Jo,{checked:!1}),Da=i.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:o,...r}=e,s=Q5(Jo,n);return l.jsx(Ot,{present:o||Nn(s.checked)||s.checked===!0,children:l.jsx(pe.span,{...r,ref:t,"data-state":tr(s.checked)})})});Da.displayName=Jo;var J5="MenuSeparator",Fa=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e;return l.jsx(pe.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});Fa.displayName=J5;var eh="MenuArrow",Za=i.forwardRef((e,t)=>{const{__scopeMenu:n,...o}=e,r=Ht(n);return l.jsx(C5,{...r,...o,ref:t})});Za.displayName=eh;var er="MenuSub",[th,Ra]=it(er),Wa=e=>{const{__scopeMenu:t,children:n,open:o=!1,onOpenChange:r}=e,s=Ye(er,t),c=Ht(t),[a,d]=i.useState(null),[u,f]=i.useState(null),h=U(r);return i.useEffect(()=>(s.open===!1&&h(!1),()=>h(!1)),[s.open,h]),l.jsx(ha,{...c,children:l.jsx(Ma,{scope:t,open:o,onOpenChange:h,content:u,onContentChange:f,children:l.jsx(th,{scope:t,contentId:me(),triggerId:me(),trigger:a,onTriggerChange:d,children:n})})})};Wa.displayName=er;var Dt="MenuSubTrigger",za=i.forwardRef((e,t)=>{const n=Ye(Dt,e.__scopeMenu),o=Vt(Dt,e.__scopeMenu),r=Ra(Dt,e.__scopeMenu),s=Xo(Dt,e.__scopeMenu),c=i.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:d}=s,u={__scopeMenu:e.__scopeMenu},f=i.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return i.useEffect(()=>f,[f]),i.useEffect(()=>{const h=a.current;return()=>{window.clearTimeout(h),d(null)}},[a,d]),l.jsx(Go,{asChild:!0,...u,children:l.jsx(Ta,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":Ka(n.open),...e,ref:Kt(t,r.onTriggerChange),onClick:h=>{var v;(v=e.onClick)==null||v.call(e,h),!(e.disabled||h.defaultPrevented)&&(h.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:I(e.onPointerMove,Ft(h=>{s.onItemEnter(h),!h.defaultPrevented&&!e.disabled&&!n.open&&!c.current&&(s.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:I(e.onPointerLeave,Ft(h=>{var g,C;f();const v=(g=n.content)==null?void 0:g.getBoundingClientRect();if(v){const p=(C=n.content)==null?void 0:C.dataset.side,m=p==="right",b=m?-5:5,y=v[m?"left":"right"],w=v[m?"right":"left"];s.onPointerGraceIntentChange({area:[{x:h.clientX+b,y:h.clientY},{x:y,y:v.top},{x:w,y:v.top},{x:w,y:v.bottom},{x:y,y:v.bottom}],side:p}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(h),h.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:I(e.onKeyDown,h=>{var g;const v=s.searchRef.current!=="";e.disabled||v&&h.key===" "||H5[o.dir].includes(h.key)&&(n.onOpenChange(!0),(g=n.content)==null||g.focus(),h.preventDefault())})})})});za.displayName=Dt;var Ba="MenuSubContent",Ua=i.forwardRef((e,t)=>{const n=xa(Ce,e.__scopeMenu),{forceMount:o=n.forceMount,...r}=e,s=Ye(Ce,e.__scopeMenu),c=Vt(Ce,e.__scopeMenu),a=Ra(Ba,e.__scopeMenu),d=i.useRef(null),u=V(t,d);return l.jsx($t.Provider,{scope:e.__scopeMenu,children:l.jsx(Ot,{present:o||s.open,children:l.jsx($t.Slot,{scope:e.__scopeMenu,children:l.jsx(qo,{id:a.contentId,"aria-labelledby":a.triggerId,...r,ref:u,align:"start",side:c.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var h;c.isUsingKeyboardRef.current&&((h=d.current)==null||h.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:I(e.onFocusOutside,f=>{f.target!==a.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:I(e.onEscapeKeyDown,f=>{c.onClose(),f.preventDefault()}),onKeyDown:I(e.onKeyDown,f=>{var g;const h=f.currentTarget.contains(f.target),v=V5[c.dir].includes(f.key);h&&v&&(s.onOpenChange(!1),(g=a.trigger)==null||g.focus(),f.preventDefault())})})})})})});Ua.displayName=Ba;function Ka(e){return e?"open":"closed"}function Nn(e){return e==="indeterminate"}function tr(e){return Nn(e)?"indeterminate":e?"checked":"unchecked"}function nh(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function oh(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function rh(e,t,n){const r=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let c=oh(e,Math.max(s,0));r.length===1&&(c=c.filter(u=>u!==n));const d=c.find(u=>u.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function sh(e,t){const{x:n,y:o}=e;let r=!1;for(let s=0,c=t.length-1;s<t.length;c=s++){const a=t[s].x,d=t[s].y,u=t[c].x,f=t[c].y;d>o!=f>o&&n<(u-a)*(o-d)/(f-d)+a&&(r=!r)}return r}function ih(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return sh(n,t)}function Ft(e){return t=>t.pointerType==="mouse"?e(t):void 0}var ah=Pa,ch=Go,lh=La,uh=Ia,dh=Qo,fh=Na,ph=In,hh=ja,vh=_a,gh=Ha,mh=Da,Ch=Fa,bh=Za,yh=Wa,wh=za,kh=Ua,nr="DropdownMenu",[Eh,vg]=de(nr,[Ea]),fe=Ea(),[Sh,Ga]=Eh(nr),Ya=e=>{const{__scopeDropdownMenu:t,children:n,dir:o,open:r,defaultOpen:s,onOpenChange:c,modal:a=!0}=e,d=fe(t),u=i.useRef(null),[f=!1,h]=_e({prop:r,defaultProp:s,onChange:c});return l.jsx(Sh,{scope:t,triggerId:me(),triggerRef:u,contentId:me(),open:f,onOpenChange:h,onOpenToggle:i.useCallback(()=>h(v=>!v),[h]),modal:a,children:l.jsx(ah,{...d,open:f,onOpenChange:h,dir:o,modal:a,children:n})})};Ya.displayName=nr;var Xa="DropdownMenuTrigger",qa=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:o=!1,...r}=e,s=Ga(Xa,n),c=fe(n);return l.jsx(ch,{asChild:!0,...c,children:l.jsx(pe.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...r,ref:Kt(t,s.triggerRef),onPointerDown:I(e.onPointerDown,a=>{!o&&a.button===0&&a.ctrlKey===!1&&(s.onOpenToggle(),s.open||a.preventDefault())}),onKeyDown:I(e.onKeyDown,a=>{o||(["Enter"," "].includes(a.key)&&s.onOpenToggle(),a.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})});qa.displayName=Xa;var Mh="DropdownMenuPortal",Qa=e=>{const{__scopeDropdownMenu:t,...n}=e,o=fe(t);return l.jsx(lh,{...o,...n})};Qa.displayName=Mh;var Ja="DropdownMenuContent",ec=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ga(Ja,n),s=fe(n),c=i.useRef(!1);return l.jsx(uh,{id:r.contentId,"aria-labelledby":r.triggerId,...s,...o,ref:t,onCloseAutoFocus:I(e.onCloseAutoFocus,a=>{var d;c.current||(d=r.triggerRef.current)==null||d.focus(),c.current=!1,a.preventDefault()}),onInteractOutside:I(e.onInteractOutside,a=>{const d=a.detail.originalEvent,u=d.button===0&&d.ctrlKey===!0,f=d.button===2||u;(!r.modal||f)&&(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});ec.displayName=Ja;var Ph="DropdownMenuGroup",tc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(dh,{...r,...o,ref:t})});tc.displayName=Ph;var xh="DropdownMenuLabel",nc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(fh,{...r,...o,ref:t})});nc.displayName=xh;var Lh="DropdownMenuItem",oc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(ph,{...r,...o,ref:t})});oc.displayName=Lh;var Ih="DropdownMenuCheckboxItem",rc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(hh,{...r,...o,ref:t})});rc.displayName=Ih;var Nh="DropdownMenuRadioGroup",sc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(vh,{...r,...o,ref:t})});sc.displayName=Nh;var Ah="DropdownMenuRadioItem",ic=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(gh,{...r,...o,ref:t})});ic.displayName=Ah;var Th="DropdownMenuItemIndicator",ac=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(mh,{...r,...o,ref:t})});ac.displayName=Th;var jh="DropdownMenuSeparator",cc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(Ch,{...r,...o,ref:t})});cc.displayName=jh;var Oh="DropdownMenuArrow",_h=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(bh,{...r,...o,ref:t})});_h.displayName=Oh;var $h=e=>{const{__scopeDropdownMenu:t,children:n,open:o,onOpenChange:r,defaultOpen:s}=e,c=fe(t),[a=!1,d]=_e({prop:o,defaultProp:s,onChange:r});return l.jsx(yh,{...c,open:a,onOpenChange:d,children:n})},Hh="DropdownMenuSubTrigger",lc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(wh,{...r,...o,ref:t})});lc.displayName=Hh;var Vh="DropdownMenuSubContent",uc=i.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=fe(n);return l.jsx(kh,{...r,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});uc.displayName=Vh;var Dh=Ya,Fh=qa,dc=Qa,fc=ec,pc=tc,hc=nc,vc=oc,gc=rc,Zh=sc,mc=ic,Cc=ac,bc=cc,Rh=$h,yc=lc,wc=uc;const Wh=Dh,zh=Fh,kc=i.forwardRef(({className:e,...t},n)=>l.jsx(pc,{ref:n,className:$("ksjsui-flex ksjsui-flex-col ksjsui-gap-y-2",e),...t}));kc.displayName=pc.displayName;const Bh=dc,Uh=Rh,Kh=Zh,Ec=i.forwardRef(({className:e,inset:t,children:n,...o},r)=>l.jsxs(yc,{ref:r,className:$(["ksjsui-group","ksjsui-flex ksjsui-cursor-default ksjsui-select-none ksjsui-items-start ksjsui-gap-2 ksjsui-rounded-sm ksjsui-border-0 ksjsui-px-2 ksjsui-py-1 ksjsui-text-base ksjsui-transition-colors","focus:ksjsui-bg-neutral focus:ksjsui-text-neutral-foreground focus:ksjsui-outline-none","data-[disabled]:ksjsui-opacity-50","data-[state=open]:ksjsui-bg-neutral data-[state=open]:ksjsui-text-neutral-foreground","[&_svg]:ksjsui-pointer-events-none [&_svg]:ksjsui-shrink-0","[&_>_svg]:ksjsui-size-6","forced-colors:ksjsui-outline-0 forced-colors:ksjsui-transition-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],t&&"ksjsui-ps-8",e),...o,children:[n,l.jsxs("span",{className:$(["-ksjsui-me-2 ksjsui-ms-auto ksjsui-mt-1 ksjsui-text-label","[&_svg]:ksjsui-size-4","group-focus:forced-colors:[&_svg]:ksjsui-fill-highlight-text"]),children:[l.jsx(Mo,{className:"rtl:ksjsui-hidden"}),l.jsx(So,{className:"ltr:ksjsui-hidden"})]})]}));Ec.displayName=yc.displayName;const Sc=i.forwardRef(({className:e,...t},n)=>l.jsx(wc,{ref:n,className:$(["ksjsui-z-50 ksjsui-flex ksjsui-min-w-32 ksjsui-flex-col ksjsui-gap-y-2 ksjsui-overflow-hidden ksjsui-rounded-lg ksjsui-bg-popover ksjsui-px-2 ksjsui-py-4 ksjsui-text-popover-foreground ksjsui-shadow-lg","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0 data-[state=open]:ksjsui-zoom-in-95","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0 data-[state=closed]:ksjsui-zoom-out-95","data-[side=top]:ksjsui-slide-in-from-bottom-2","data-[side=right]:ksjsui-slide-in-from-left-2","data-[side=bottom]:ksjsui-slide-in-from-top-2","data-[side=left]:ksjsui-slide-in-from-right-2","forced-colors:ksjsui-border"],e),...t}));Sc.displayName=wc.displayName;const Mc=i.forwardRef(({className:e,align:t="start",side:n="bottom",sideOffset:o=4,...r},s)=>l.jsx(dc,{children:l.jsx(fc,{ref:s,align:t,side:n,sideOffset:o,className:$(["ksjsui-z-50 ksjsui-flex ksjsui-min-w-32 ksjsui-flex-col ksjsui-gap-y-2 ksjsui-overflow-hidden ksjsui-rounded-lg ksjsui-bg-popover ksjsui-px-2 ksjsui-py-4 ksjsui-text-popover-foreground ksjsui-shadow-md","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0 data-[state=open]:ksjsui-zoom-in-95","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0 data-[state=closed]:ksjsui-zoom-out-95","data-[side=top]:ksjsui-slide-in-from-bottom-2","data-[side=right]:ksjsui-slide-in-from-left-2","data-[side=bottom]:ksjsui-slide-in-from-top-2","data-[side=left]:ksjsui-slide-in-from-right-2","forced-colors:ksjsui-border"],e),...r})}));Mc.displayName=fc.displayName;const Pc=i.forwardRef(({className:e,inset:t,...n},o)=>l.jsx(vc,{ref:o,className:$(["ksjsui-group","ksjsui-flex ksjsui-cursor-default ksjsui-select-none ksjsui-items-start ksjsui-gap-2 ksjsui-rounded-sm ksjsui-border-0 ksjsui-px-2 ksjsui-py-1 ksjsui-text-base ksjsui-transition-colors","focus:ksjsui-bg-neutral focus:ksjsui-text-neutral-foreground focus:ksjsui-outline-none","hover:ksjsui-bg-neutral hover:ksjsui-text-neutral-foreground","data-[disabled]:ksjsui-pointer-events-none data-[disabled]:ksjsui-opacity-50","[&_svg]:ksjsui-pointer-events-none [&_svg]:ksjsui-size-6 [&_svg]:ksjsui-shrink-0","forced-colors:ksjsui-outline-0 forced-colors:ksjsui-transition-none","forced-colors:hover:ksjsui-bg-highlight forced-colors:hover:ksjsui-text-highlight-text forced-colors:hover:ksjsui-forced-color-adjust-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],t&&"ksjsui-ps-10",e),...n}));Pc.displayName=vc.displayName;const xc=i.forwardRef(({className:e,children:t,checked:n,...o},r)=>l.jsxs(gc,{ref:r,className:$(["ksjsui-flex ksjsui-cursor-default ksjsui-select-none ksjsui-items-start ksjsui-justify-between ksjsui-gap-2 ksjsui-rounded-sm ksjsui-border-0 ksjsui-px-2 ksjsui-py-1 ksjsui-text-base ksjsui-outline-none ksjsui-transition-colors","focus:ksjsui-bg-neutral focus:ksjsui-text-neutral-foreground","hover:ksjsui-bg-neutral hover:ksjsui-text-neutral-foreground","data-[disabled]:ksjsui-pointer-events-none data-[disabled]:ksjsui-opacity-50","forced-colors:ksjsui-outline-0 forced-colors:ksjsui-transition-none","forced-colors:hover:ksjsui-bg-highlight forced-colors:hover:ksjsui-text-highlight-text forced-colors:hover:ksjsui-forced-color-adjust-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],e),checked:n,...o,children:[t,l.jsx(Cc,{children:l.jsx(Eo,{className:"ksjsui-size-6"})})]}));xc.displayName=gc.displayName;const Lc=i.forwardRef(({className:e,children:t,...n},o)=>l.jsxs(mc,{ref:o,className:$(["ksjsui-flex ksjsui-cursor-default ksjsui-select-none ksjsui-items-center ksjsui-justify-between ksjsui-gap-2 ksjsui-rounded-sm ksjsui-border-0 ksjsui-px-2 ksjsui-py-1 ksjsui-text-base ksjsui-outline-none ksjsui-transition-colors","focus:ksjsui-bg-neutral focus:ksjsui-text-neutral-foreground","hover:ksjsui-bg-neutral hover:ksjsui-text-neutral-foreground","data-[disabled]:ksjsui-pointer-events-none data-[disabled]:ksjsui-opacity-50","forced-colors:ksjsui-outline-0 forced-colors:ksjsui-transition-none","forced-colors:hover:ksjsui-bg-highlight forced-colors:hover:ksjsui-text-highlight-text forced-colors:hover:ksjsui-forced-color-adjust-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],e),...n,children:[t,l.jsx("span",{className:"ksjsui-flex ksjsui-size-3.5 ksjsui-items-center ksjsui-justify-center",children:l.jsx(Cc,{children:l.jsx(Ci,{className:"ksjsui-size-2"})})})]}));Lc.displayName=mc.displayName;const Ic=i.forwardRef(({className:e,inset:t,...n},o)=>l.jsx(hc,{ref:o,className:$("ksjsui-px-2 ksjsui-text-sm ksjsui-text-label",t&&"ksjsui-ps-8",e),...n}));Ic.displayName=hc.displayName;const Nc=i.forwardRef(({className:e,...t},n)=>l.jsx(bc,{ref:n,className:$(["ksjsui-my-1 ksjsui-h-px ksjsui-bg-border","forced-colors:ksjsui-bg-canvas-text"],e),...t}));Nc.displayName=bc.displayName;const Ac=({className:e,...t})=>l.jsx("span",{className:$("ksjsui-ms-auto ksjsui-mt-0.5 ksjsui-text-sm ksjsui-tracking-widest ksjsui-text-label","group-focus:forced-colors:ksjsui-text-current",e),...t});Ac.displayName="DropdownMenuShortcut";const Gh=i.forwardRef(({className:e,primary:t,secondary:n,...o},r)=>l.jsxs("div",{ref:r,className:$(e),...o,children:[l.jsx("span",{className:$(["DropdownMenuItemPrimaryText"],e),children:t}),n&&l.jsx("div",{className:$(["DropdownMenuItemSecondaryText","ksjsui-text-sm ksjsui-text-label","group-focus:forced-colors:ksjsui-text-current"],e),children:n})]}));Gh.displayName="DropdownMenuItemText";const Tc=i.forwardRef((e,t)=>l.jsx(ao,{ref:t,...e,iconOnly:!0,fullWidth:!1}));Tc.displayName="IconButton";const jc=i.forwardRef(({className:e,...t},n)=>l.jsx("ul",{ref:n,className:$(["ksjsui-flex ksjsui-w-full ksjsui-flex-col ksjsui-gap-y-2"],e),...t}));jc.displayName="List";const Oc=i.forwardRef(({className:e,inset:t,...n},o)=>l.jsx("li",{ref:o,className:$(["ksjsui-flex ksjsui-gap-2 ksjsui-rounded-lg ksjsui-p-2 ksjsui-transition-colors","[&_svg]:ksjsui-pointer-events-none [&_svg]:ksjsui-size-6 [&_svg]:ksjsui-shrink-0","has-[.ListItemButton:hover]:ksjsui-bg-neutral has-[.ListItemButton:hover]:ksjsui-text-foreground","has-[.ListItemButton:focus-visible]:ksjsui-outline-none has-[.ListItemButton:focus-visible]:ksjsui-ring-2 has-[.ListItemButton:focus-visible]:ksjsui-ring-ring has-[.ListItemButton:focus-visible]:ksjsui-ring-offset-2 has-[.ListItemButton:focus-visible]:ksjsui-ring-offset-background","has-[:disabled]:ksjsui-cursor-not-allowed","has-[.ListItemButton:hover]:forced-colors:ksjsui-outline-none has-[.ListItemButton:hover]:forced-colors:ksjsui-outline-highlight","has-[.ListItemButton:focus-visible]:forced-colors:ksjsui-outline-highlight"],t&&["ksjsui-group","ListItem-inset","ksjsui-ps-10","has-[.ListItemButton]:ksjsui-p-0"],e),...n}));Oc.displayName="ListItem";const _c=({className:e,...t})=>{const n="py-1 ksjsui-pointer-events-none ksjsui-hidden ksjsui-shrink-0 ksjsui-text-foreground";return l.jsxs(l.Fragment,{children:[l.jsx(So,{className:$("rtl:ksjsui-inline-block",n,e),...t}),l.jsx(Mo,{className:$("ltr:ksjsui-inline-block",n,e),...t})]})};_c.displayName="ListItemArrow";const Yh=Fe(["ListItemButton","ksjsui-flex ksjsui-w-full ksjsui-gap-2","focus-visible:ksjsui-border-0 focus-visible:ksjsui-outline-none","disabled:ksjsui-pointer-events-none disabled:ksjsui-opacity-50","forced-colors:focus-visible:ksjsui-outline-0","group-[.ListItem-inset]:ksjsui-p-2 group-[.ListItem-inset]:ksjsui-ps-10"],{variants:{color:{secondary:"ksjsui-text-secondary",destructive:"ksjsui-text-destructive"}}}),$c=i.forwardRef(({color:e,className:t,tabIndex:n=0,...o},r)=>l.jsx("button",{ref:r,className:$(Yh({color:e,className:t})),tabIndex:n,...o}));$c.displayName="ListItemButton";const Hc=i.forwardRef(({className:e,primary:t,secondary:n,...o},r)=>l.jsxs("span",{ref:r,className:$(["ksjsui-flex ksjsui-w-full ksjsui-flex-col ksjsui-items-start"],e),...o,children:[l.jsx("span",{className:$(["ksjsui-text-start ksjsui-text-[15px]"],e),children:t}),n&&l.jsx("span",{className:$(["ksjsui-text-start ksjsui-text-[15px] ksjsui-text-label"],e),children:n})]}));Hc.displayName="ListItemText";const Vc=i.forwardRef(({className:e,inset:t,...n},o)=>l.jsx("li",{ref:o,className:$("ksjsui-block ksjsui-px-2 ksjsui-py-3 ksjsui-text-sm ksjsui-text-label",t&&"ksjsui-ps-8",e),...n}));Vc.displayName="ListLabel";const Dc=i.forwardRef(({className:e,...t},n)=>l.jsx("li",{ref:n,className:$(["ksjsui-my-1 ksjsui-block ksjsui-h-px ksjsui-bg-border","forced-colors:ksjsui-bg-canvas-text"],e),role:"separator",...t}));Dc.displayName="ListSeparator";function Xe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function Fc(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Zc(...e){return t=>{let n=!1;const o=e.map(r=>{const s=Fc(r,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():Fc(e[r],null)}}}}function qe(...e){return i.useCallback(Zc(...e),e)}function Rc(e,t=[]){let n=[];function o(s,c){const a=i.createContext(c),d=n.length;n=[...n,c];const u=h=>{var b;const{scope:v,children:g,...C}=h,p=((b=v==null?void 0:v[e])==null?void 0:b[d])||a,m=i.useMemo(()=>C,Object.values(C));return l.jsx(p.Provider,{value:m,children:g})};u.displayName=s+"Provider";function f(h,v){var p;const g=((p=v==null?void 0:v[e])==null?void 0:p[d])||a,C=i.useContext(g);if(C)return C;if(c!==void 0)return c;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[u,f]}const r=()=>{const s=n.map(c=>i.createContext(c));return function(a){const d=(a==null?void 0:a[e])||s;return i.useMemo(()=>({[`__scope${e}`]:{...a,[e]:d}}),[a,d])}};return r.scopeName=e,[o,Xh(r,...t)]}function Xh(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const c=o.reduce((a,{useScope:d,scopeName:u})=>{const h=d(s)[`__scope${u}`];return{...a,...h}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}function Wc(e){const t=qh(e),n=i.forwardRef((o,r)=>{const{children:s,...c}=o,a=i.Children.toArray(s),d=a.find(Jh);if(d){const u=d.props.children,f=a.map(h=>h===d?i.Children.count(u)>1?i.Children.only(null):i.isValidElement(u)?u.props.children:null:h);return l.jsx(t,{...c,ref:r,children:i.isValidElement(u)?i.cloneElement(u,void 0,f):null})}return l.jsx(t,{...c,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function qh(e){const t=i.forwardRef((n,o)=>{const{children:r,...s}=n;if(i.isValidElement(r)){const c=t9(r),a=e9(s,r.props);return r.type!==i.Fragment&&(a.ref=o?Zc(o,c):c),i.cloneElement(r,a)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Qh=Symbol("radix.slottable");function Jh(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Qh}function e9(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...a)=>{const d=s(...a);return r(...a),d}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function t9(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var n9=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],De=n9.reduce((e,t)=>{const n=Wc(`Primitive.${t}`),o=i.forwardRef((r,s)=>{const{asChild:c,...a}=r,d=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(d,{...a,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function o9(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}function wt(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}function r9(e,t=globalThis==null?void 0:globalThis.document){const n=wt(e);i.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var s9="DismissableLayer",or="dismissableLayer.update",i9="dismissableLayer.pointerDownOutside",a9="dismissableLayer.focusOutside",zc,Bc=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Uc=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(Bc),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=i.useState({}),C=qe(t,E=>h(E)),p=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(m),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=u9(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),x=d9(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return r9(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(zc=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Kc(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=zc)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Kc())},[f,u]),i.useEffect(()=>{const E=()=>g({});return document.addEventListener(or,E),()=>document.removeEventListener(or,E)},[]),l.jsx(De.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:Xe(e.onFocusCapture,x.onFocusCapture),onBlurCapture:Xe(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:Xe(e.onPointerDownCapture,M.onPointerDownCapture)})});Uc.displayName=s9;var c9="DismissableLayerBranch",l9=i.forwardRef((e,t)=>{const n=i.useContext(Bc),o=i.useRef(null),r=qe(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(De.div,{...e,ref:r})});l9.displayName=c9;function u9(e,t=globalThis==null?void 0:globalThis.document){const n=wt(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Gc(i9,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function d9(e,t=globalThis==null?void 0:globalThis.document){const n=wt(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Gc(a9,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Kc(){const e=new CustomEvent(or);document.dispatchEvent(e)}function Gc(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?o9(r,s):r.dispatchEvent(s)}var rr=0;function f9(){i.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Yc()),document.body.insertAdjacentElement("beforeend",e[1]??Yc()),rr++,()=>{rr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),rr--}},[])}function Yc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var sr="focusScope.autoFocusOnMount",ir="focusScope.autoFocusOnUnmount",Xc={bubbles:!1,cancelable:!0},p9="FocusScope",qc=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...c}=e,[a,d]=i.useState(null),u=wt(r),f=wt(s),h=i.useRef(null),v=qe(t,p=>d(p)),g=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let p=function(w){if(g.paused||!a)return;const k=w.target;a.contains(k)?h.current=k:Qe(h.current,{select:!0})},m=function(w){if(g.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||Qe(h.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const M of w)M.removedNodes.length>0&&Qe(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",m);const y=new MutationObserver(b);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",m),y.disconnect()}}},[o,a,g.paused]),i.useEffect(()=>{if(a){el.add(g);const p=document.activeElement;if(!a.contains(p)){const b=new CustomEvent(sr,Xc);a.addEventListener(sr,u),a.dispatchEvent(b),b.defaultPrevented||(h9(b9(Qc(a)),{select:!0}),document.activeElement===p&&Qe(a))}return()=>{a.removeEventListener(sr,u),setTimeout(()=>{const b=new CustomEvent(ir,Xc);a.addEventListener(ir,f),a.dispatchEvent(b),b.defaultPrevented||Qe(p??document.body,{select:!0}),a.removeEventListener(ir,f),el.remove(g)},0)}}},[a,u,f,g]);const C=i.useCallback(p=>{if(!n&&!o||g.paused)return;const m=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(m&&b){const y=p.currentTarget,[w,k]=v9(y);w&&k?!p.shiftKey&&b===k?(p.preventDefault(),n&&Qe(w,{select:!0})):p.shiftKey&&b===w&&(p.preventDefault(),n&&Qe(k,{select:!0})):b===y&&p.preventDefault()}},[n,o,g.paused]);return l.jsx(De.div,{tabIndex:-1,...c,ref:v,onKeyDown:C})});qc.displayName=p9;function h9(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Qe(o,{select:t}),document.activeElement!==n)return}function v9(e){const t=Qc(e),n=Jc(t,e),o=Jc(t.reverse(),e);return[n,o]}function Qc(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Jc(e,t){for(const n of e)if(!g9(n,{upTo:t}))return n}function g9(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 m9(e){return e instanceof HTMLInputElement&&"select"in e}function Qe(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&m9(e)&&t&&e.select()}}var el=C9();function C9(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=tl(e,t),e.unshift(t)},remove(t){var n;e=tl(e,t),(n=e[0])==null||n.resume()}}}function tl(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function b9(e){return e.filter(t=>t.tagName!=="A")}var Je=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{},y9=i[" useId ".trim().toString()]||(()=>{}),w9=0;function k9(e){const[t,n]=i.useState(y9());return Je(()=>{n(o=>o??String(w9++))},[e]),e||(t?`radix-${t}`:"")}var E9="Arrow",nl=i.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return l.jsx(De.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});nl.displayName=E9;var S9=nl;function M9(e){const[t,n]=i.useState(void 0);return Je(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const s=r[0];let c,a;if("borderBoxSize"in s){const d=s.borderBoxSize,u=Array.isArray(d)?d[0]:d;c=u.inlineSize,a=u.blockSize}else c=e.offsetWidth,a=e.offsetHeight;n({width:c,height:a})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var ar="Popper",[ol,rl]=Rc(ar),[P9,sl]=ol(ar),il=e=>{const{__scopePopper:t,children:n}=e,[o,r]=i.useState(null);return l.jsx(P9,{scope:t,anchor:o,onAnchorChange:r,children:n})};il.displayName=ar;var al="PopperAnchor",cl=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=sl(al,n),c=i.useRef(null),a=qe(t,c);return i.useEffect(()=>{s.onAnchorChange((o==null?void 0:o.current)||c.current)}),o?null:l.jsx(De.div,{...r,ref:a})});cl.displayName=al;var cr="PopperContent",[x9,L9]=ol(cr),ll=i.forwardRef((e,t)=>{var F,Y,Q,G,X,q;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:c=0,arrowPadding:a=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:g="optimized",onPlaced:C,...p}=e,m=sl(cr,n),[b,y]=i.useState(null),w=qe(t,ee=>y(ee)),[k,M]=i.useState(null),x=M9(k),E=(x==null?void 0:x.width)??0,L=(x==null?void 0:x.height)??0,N=o+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(u)?u:[u],_=D.length>0,Z={padding:T,boundary:D.filter(N9),altBoundary:_},{refs:j,floatingStyles:W,placement:H,isPositioned:R,middlewareData:O}=mn({strategy:"fixed",placement:N,whileElementsMounted:(...ee)=>hn(...ee,{animationFrame:g==="always"}),elements:{reference:m.anchor},middleware:[Cn({mainAxis:r+L,alignmentAxis:c}),d&&bn({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?yn():void 0,...Z}),d&&wn({...Z}),kn({...Z,apply:({elements:ee,rects:le,availableWidth:Se,availableHeight:Me})=>{const{width:Pe,height:lt}=le.reference,ue=ee.floating.style;ue.setProperty("--radix-popper-available-width",`${Se}px`),ue.setProperty("--radix-popper-available-height",`${Me}px`),ue.setProperty("--radix-popper-anchor-width",`${Pe}px`),ue.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),k&&Sn({element:k,padding:a}),A9({arrowWidth:E,arrowHeight:L}),v&&En({strategy:"referenceHidden",...Z})]}),[A,K]=fl(H),z=wt(C);Je(()=>{R&&(z==null||z())},[R,z]);const oe=(F=O.arrow)==null?void 0:F.x,ae=(Y=O.arrow)==null?void 0:Y.y,se=((Q=O.arrow)==null?void 0:Q.centerOffset)!==0,[he,ce]=i.useState();return Je(()=>{b&&ce(window.getComputedStyle(b).zIndex)},[b]),l.jsx("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:R?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(G=O.transformOrigin)==null?void 0:G.x,(X=O.transformOrigin)==null?void 0:X.y].join(" "),...((q=O.hide)==null?void 0:q.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(x9,{scope:n,placedSide:A,onArrowChange:M,arrowX:oe,arrowY:ae,shouldHideArrow:se,children:l.jsx(De.div,{"data-side":A,"data-align":K,...p,ref:w,style:{...p.style,animation:R?void 0:"none"}})})})});ll.displayName=cr;var ul="PopperArrow",I9={top:"bottom",right:"left",bottom:"top",left:"right"},dl=i.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=L9(ul,o),c=I9[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(S9,{...r,ref:n,style:{...r.style,display:"block"}})})});dl.displayName=ul;function N9(e){return e!==null}var A9=e=>({name:"transformOrigin",options:e,fn(t){var m,b,y;const{placement:n,rects:o,middlewareData:r}=t,c=((m=r.arrow)==null?void 0:m.centerOffset)!==0,a=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[u,f]=fl(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(((b=r.arrow)==null?void 0:b.x)??0)+a/2,g=(((y=r.arrow)==null?void 0:y.y)??0)+d/2;let C="",p="";return u==="bottom"?(C=c?h:`${v}px`,p=`${-d}px`):u==="top"?(C=c?h:`${v}px`,p=`${o.floating.height+d}px`):u==="right"?(C=`${-d}px`,p=c?h:`${g}px`):u==="left"&&(C=`${o.floating.width+d}px`,p=c?h:`${g}px`),{data:{x:C,y:p}}}});function fl(e){const[t,n="center"]=e.split("-");return[t,n]}var T9=il,pl=cl,j9=ll,O9=dl,_9="Portal",hl=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);Je(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx(De.div,{...o,ref:t}),c):null});hl.displayName=_9;function $9(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var lr=e=>{const{present:t,children:n}=e,o=H9(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=qe(o.ref,V9(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};lr.displayName="Presence";function H9(e){const[t,n]=i.useState(),o=i.useRef(null),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=$9(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=An(o.current);s.current=a==="mounted"?u:"none"},[a]),Je(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,g=An(u);e?d("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),Je(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=g=>{const p=An(o.current).includes(g.animationName);if(g.target===t&&p&&(d("ANIMATION_END"),!r.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},v=g=>{g.target===t&&(s.current=An(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{o.current=u?getComputedStyle(u):null,n(u)},[])}}function An(e){return(e==null?void 0:e.animationName)||"none"}function V9(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var D9=i[" useInsertionEffect ".trim().toString()]||Je;function F9({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,s,c]=Z9({defaultProp:t,onChange:n}),a=e!==void 0,d=a?e:r;{const f=i.useRef(e!==void 0);i.useEffect(()=>{const h=f.current;h!==a&&console.warn(`${o} is changing from ${h?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=a},[a,o])}const u=i.useCallback(f=>{var h;if(a){const v=R9(f)?f(e):f;v!==e&&((h=c.current)==null||h.call(c,v))}else s(f)},[a,e,s,c]);return[d,u]}function Z9({defaultProp:e,onChange:t}){const[n,o]=i.useState(e),r=i.useRef(n),s=i.useRef(t);return D9(()=>{s.current=t},[t]),i.useEffect(()=>{var c;r.current!==n&&((c=s.current)==null||c.call(s,n),r.current=n)},[n,r]),[n,o,s]}function R9(e){return typeof e=="function"}var Tn="Popover",[vl,gg]=Rc(Tn,[rl]),Zt=rl(),[W9,et]=vl(Tn),gl=e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:r,onOpenChange:s,modal:c=!1}=e,a=Zt(t),d=i.useRef(null),[u,f]=i.useState(!1),[h,v]=F9({prop:o,defaultProp:r??!1,onChange:s,caller:Tn});return l.jsx(T9,{...a,children:l.jsx(W9,{scope:t,contentId:k9(),triggerRef:d,open:h,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(g=>!g),[v]),hasCustomAnchor:u,onCustomAnchorAdd:i.useCallback(()=>f(!0),[]),onCustomAnchorRemove:i.useCallback(()=>f(!1),[]),modal:c,children:n})})};gl.displayName=Tn;var ml="PopoverAnchor",z9=i.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,r=et(ml,n),s=Zt(n),{onCustomAnchorAdd:c,onCustomAnchorRemove:a}=r;return i.useEffect(()=>(c(),()=>a()),[c,a]),l.jsx(pl,{...s,...o,ref:t})});z9.displayName=ml;var Cl="PopoverTrigger",bl=i.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,r=et(Cl,n),s=Zt(n),c=qe(t,r.triggerRef),a=l.jsx(De.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":Ml(r.open),...o,ref:c,onClick:Xe(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?a:l.jsx(pl,{asChild:!0,...s,children:a})});bl.displayName=Cl;var ur="PopoverPortal",[B9,U9]=vl(ur,{forceMount:void 0}),yl=e=>{const{__scopePopover:t,forceMount:n,children:o,container:r}=e,s=et(ur,t);return l.jsx(B9,{scope:t,forceMount:n,children:l.jsx(lr,{present:n||s.open,children:l.jsx(hl,{asChild:!0,container:r,children:o})})})};yl.displayName=ur;var kt="PopoverContent",wl=i.forwardRef((e,t)=>{const n=U9(kt,e.__scopePopover),{forceMount:o=n.forceMount,...r}=e,s=et(kt,e.__scopePopover);return l.jsx(lr,{present:o||s.open,children:s.modal?l.jsx(G9,{...r,ref:t}):l.jsx(Y9,{...r,ref:t})})});wl.displayName=kt;var K9=Wc("PopoverContent.RemoveScroll"),G9=i.forwardRef((e,t)=>{const n=et(kt,e.__scopePopover),o=i.useRef(null),r=qe(t,o),s=i.useRef(!1);return i.useEffect(()=>{const c=o.current;if(c)return on(c)},[]),l.jsx(Nt,{as:K9,allowPinchZoom:!0,children:l.jsx(kl,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Xe(e.onCloseAutoFocus,c=>{var a;c.preventDefault(),s.current||(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Xe(e.onPointerDownOutside,c=>{const a=c.detail.originalEvent,d=a.button===0&&a.ctrlKey===!0,u=a.button===2||d;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Xe(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),Y9=i.forwardRef((e,t)=>{const n=et(kt,e.__scopePopover),o=i.useRef(!1),r=i.useRef(!1);return l.jsx(kl,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var c,a;(c=e.onCloseAutoFocus)==null||c.call(e,s),s.defaultPrevented||(o.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),o.current=!1,r.current=!1},onInteractOutside:s=>{var d,u;(d=e.onInteractOutside)==null||d.call(e,s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const c=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(c))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&r.current&&s.preventDefault()}})}),kl=i.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:o,onOpenAutoFocus:r,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEscapeKeyDown:a,onPointerDownOutside:d,onFocusOutside:u,onInteractOutside:f,...h}=e,v=et(kt,n),g=Zt(n);return f9(),l.jsx(qc,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:r,onUnmountAutoFocus:s,children:l.jsx(Uc,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:d,onFocusOutside:u,onDismiss:()=>v.onOpenChange(!1),children:l.jsx(j9,{"data-state":Ml(v.open),role:"dialog",id:v.contentId,...g,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),El="PopoverClose",X9=i.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,r=et(El,n);return l.jsx(De.button,{type:"button",...o,ref:t,onClick:Xe(e.onClick,()=>r.onOpenChange(!1))})});X9.displayName=El;var q9="PopoverArrow",Sl=i.forwardRef((e,t)=>{const{__scopePopover:n,...o}=e,r=Zt(n);return l.jsx(O9,{...r,...o,ref:t})});Sl.displayName=q9;function Ml(e){return e?"open":"closed"}var Q9=gl,J9=bl,e4=yl,Pl=wl,t4=Sl;const n4=Q9,o4=J9,xl=i.forwardRef(({className:e,align:t="center",children:n,sideOffset:o=4,side:r="bottom",onOpenAutoFocus:s=d=>d.preventDefault(),...c},a)=>l.jsx(e4,{children:l.jsxs(Pl,{ref:a,align:t,className:$(["ksjsui-group","ksjsui-z-50 ksjsui-w-72 ksjsui-origin-[--radix-popover-content-transform-origin] ksjsui-rounded ksjsui-border ksjsui-border-border ksjsui-bg-popover ksjsui-p-4 ksjsui-text-popover-foreground ksjsui-shadow-md ksjsui-outline-none ksjsui-will-change-transform","motion-safe:data-[state=open]:ksjsui-animate-in motion-safe:data-[state=open]:ksjsui-fade-in-0","motion-safe:data-[state=closed]:ksjsui-animate-out motion-safe:data-[state=closed]:ksjsui-fade-out-0","forced-colors:ksjsui-outline-0 focus:forced-colors:ksjsui-border-highlight"],e),onOpenAutoFocus:s,side:r,sideOffset:o,...c,children:[n,l.jsx(t4,{className:$(["ksjsui-z-50 ksjsui-translate-y-[calc(-50%_+_0.75px)] ksjsui-rotate-45 ksjsui-rounded-br-[2px] ksjsui-border-b ksjsui-border-r ksjsui-border-border ksjsui-bg-popover ksjsui-fill-popover","forced-colors:ksjsui-border-canvas-text forced-colors:ksjsui-bg-canvas forced-colors:ksjsui-fill-canvas forced-colors:ksjsui-drop-shadow-none","group-focus:forced-colors:ksjsui-border-highlight"]),style:{width:10,height:10}})]})}));xl.displayName=Pl.displayName;var r4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Rt=r4.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function s4(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var Wt=e=>{const{present:t,children:n}=e,o=i4(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,a4(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};Wt.displayName="Presence";function i4(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=s4(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=jn(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,g=jn(u);e?d("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=g=>{const p=jn(o.current).includes(g.animationName);if(g.target===t&&p&&(d("ANIMATION_END"),!r.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},v=g=>{g.target===t&&(s.current=jn(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function jn(e){return(e==null?void 0:e.animationName)||"none"}function a4(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function dr(e,[t,n]){return Math.min(n,Math.max(t,e))}function c4(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var fr="ScrollArea",[Ll,mg]=de(fr),[l4,be]=Ll(fr),Il=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:o="hover",dir:r,scrollHideDelay:s=600,...c}=e,[a,d]=i.useState(null),[u,f]=i.useState(null),[h,v]=i.useState(null),[g,C]=i.useState(null),[p,m]=i.useState(null),[b,y]=i.useState(0),[w,k]=i.useState(0),[M,x]=i.useState(!1),[E,L]=i.useState(!1),N=V(t,D=>d(D)),T=sn(r);return l.jsx(l4,{scope:n,type:o,dir:T,scrollHideDelay:s,scrollArea:a,viewport:u,onViewportChange:f,content:h,onContentChange:v,scrollbarX:g,onScrollbarXChange:C,scrollbarXEnabled:M,onScrollbarXEnabledChange:x,scrollbarY:p,onScrollbarYChange:m,scrollbarYEnabled:E,onScrollbarYEnabledChange:L,onCornerWidthChange:y,onCornerHeightChange:k,children:l.jsx(Rt.div,{dir:T,...c,ref:N,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":w+"px",...e.style}})})});Il.displayName=fr;var Nl="ScrollAreaViewport",Al=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:o,nonce:r,...s}=e,c=be(Nl,n),a=i.useRef(null),d=V(t,a,c.onViewportChange);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),l.jsx(Rt.div,{"data-radix-scroll-area-viewport":"",...s,ref:d,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:l.jsx("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})});Al.displayName=Nl;var Te="ScrollAreaScrollbar",pr=i.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=be(Te,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:c}=r,a=e.orientation==="horizontal";return i.useEffect(()=>(a?s(!0):c(!0),()=>{a?s(!1):c(!1)}),[a,s,c]),r.type==="hover"?l.jsx(u4,{...o,ref:t,forceMount:n}):r.type==="scroll"?l.jsx(d4,{...o,ref:t,forceMount:n}):r.type==="auto"?l.jsx(Tl,{...o,ref:t,forceMount:n}):r.type==="always"?l.jsx(hr,{...o,ref:t}):null});pr.displayName=Te;var u4=i.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=be(Te,e.__scopeScrollArea),[s,c]=i.useState(!1);return i.useEffect(()=>{const a=r.scrollArea;let d=0;if(a){const u=()=>{window.clearTimeout(d),c(!0)},f=()=>{d=window.setTimeout(()=>c(!1),r.scrollHideDelay)};return a.addEventListener("pointerenter",u),a.addEventListener("pointerleave",f),()=>{window.clearTimeout(d),a.removeEventListener("pointerenter",u),a.removeEventListener("pointerleave",f)}}},[r.scrollArea,r.scrollHideDelay]),l.jsx(Wt,{present:n||s,children:l.jsx(Tl,{"data-state":s?"visible":"hidden",...o,ref:t})})}),d4=i.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=be(Te,e.__scopeScrollArea),s=e.orientation==="horizontal",c=Hn(()=>d("SCROLL_END"),100),[a,d]=c4("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return i.useEffect(()=>{if(a==="idle"){const u=window.setTimeout(()=>d("HIDE"),r.scrollHideDelay);return()=>window.clearTimeout(u)}},[a,r.scrollHideDelay,d]),i.useEffect(()=>{const u=r.viewport,f=s?"scrollLeft":"scrollTop";if(u){let h=u[f];const v=()=>{const g=u[f];h!==g&&(d("SCROLL"),c()),h=g};return u.addEventListener("scroll",v),()=>u.removeEventListener("scroll",v)}},[r.viewport,s,d,c]),l.jsx(Wt,{present:n||a!=="hidden",children:l.jsx(hr,{"data-state":a==="hidden"?"hidden":"visible",...o,ref:t,onPointerEnter:I(e.onPointerEnter,()=>d("POINTER_ENTER")),onPointerLeave:I(e.onPointerLeave,()=>d("POINTER_LEAVE"))})})}),Tl=i.forwardRef((e,t)=>{const n=be(Te,e.__scopeScrollArea),{forceMount:o,...r}=e,[s,c]=i.useState(!1),a=e.orientation==="horizontal",d=Hn(()=>{if(n.viewport){const u=n.viewport.offsetWidth<n.viewport.scrollWidth,f=n.viewport.offsetHeight<n.viewport.scrollHeight;c(a?u:f)}},10);return Et(n.viewport,d),Et(n.content,d),l.jsx(Wt,{present:o||s,children:l.jsx(hr,{"data-state":s?"visible":"hidden",...r,ref:t})})}),hr=i.forwardRef((e,t)=>{const{orientation:n="vertical",...o}=e,r=be(Te,e.__scopeScrollArea),s=i.useRef(null),c=i.useRef(0),[a,d]=i.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=Hl(a.viewport,a.content),f={...o,sizes:a,onSizesChange:d,hasThumb:u>0&&u<1,onThumbChange:v=>s.current=v,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:v=>c.current=v};function h(v,g){return m4(v,c.current,a,g)}return n==="horizontal"?l.jsx(f4,{...f,ref:t,onThumbPositionChange:()=>{if(r.viewport&&s.current){const v=r.viewport.scrollLeft,g=Vl(v,a,r.dir);s.current.style.transform=`translate3d(${g}px, 0, 0)`}},onWheelScroll:v=>{r.viewport&&(r.viewport.scrollLeft=v)},onDragScroll:v=>{r.viewport&&(r.viewport.scrollLeft=h(v,r.dir))}}):n==="vertical"?l.jsx(p4,{...f,ref:t,onThumbPositionChange:()=>{if(r.viewport&&s.current){const v=r.viewport.scrollTop,g=Vl(v,a);s.current.style.transform=`translate3d(0, ${g}px, 0)`}},onWheelScroll:v=>{r.viewport&&(r.viewport.scrollTop=v)},onDragScroll:v=>{r.viewport&&(r.viewport.scrollTop=h(v))}}):null}),f4=i.forwardRef((e,t)=>{const{sizes:n,onSizesChange:o,...r}=e,s=be(Te,e.__scopeScrollArea),[c,a]=i.useState(),d=i.useRef(null),u=V(t,d,s.onScrollbarXChange);return i.useEffect(()=>{d.current&&a(getComputedStyle(d.current))},[d]),l.jsx(Ol,{"data-orientation":"horizontal",...r,ref:u,sizes:n,style:{bottom:0,left:s.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:s.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":$n(n)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.x),onDragScroll:f=>e.onDragScroll(f.x),onWheelScroll:(f,h)=>{if(s.viewport){const v=s.viewport.scrollLeft+f.deltaX;e.onWheelScroll(v),Fl(v,h)&&f.preventDefault()}},onResize:()=>{d.current&&s.viewport&&c&&o({content:s.viewport.scrollWidth,viewport:s.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:_n(c.paddingLeft),paddingEnd:_n(c.paddingRight)}})}})}),p4=i.forwardRef((e,t)=>{const{sizes:n,onSizesChange:o,...r}=e,s=be(Te,e.__scopeScrollArea),[c,a]=i.useState(),d=i.useRef(null),u=V(t,d,s.onScrollbarYChange);return i.useEffect(()=>{d.current&&a(getComputedStyle(d.current))},[d]),l.jsx(Ol,{"data-orientation":"vertical",...r,ref:u,sizes:n,style:{top:0,right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":$n(n)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.y),onDragScroll:f=>e.onDragScroll(f.y),onWheelScroll:(f,h)=>{if(s.viewport){const v=s.viewport.scrollTop+f.deltaY;e.onWheelScroll(v),Fl(v,h)&&f.preventDefault()}},onResize:()=>{d.current&&s.viewport&&c&&o({content:s.viewport.scrollHeight,viewport:s.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:_n(c.paddingTop),paddingEnd:_n(c.paddingBottom)}})}})}),[h4,jl]=Ll(Te),Ol=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:o,hasThumb:r,onThumbChange:s,onThumbPointerUp:c,onThumbPointerDown:a,onThumbPositionChange:d,onDragScroll:u,onWheelScroll:f,onResize:h,...v}=e,g=be(Te,n),[C,p]=i.useState(null),m=V(t,N=>p(N)),b=i.useRef(null),y=i.useRef(""),w=g.viewport,k=o.content-o.viewport,M=U(f),x=U(d),E=Hn(h,10);function L(N){if(b.current){const T=N.clientX-b.current.left,D=N.clientY-b.current.top;u({x:T,y:D})}}return i.useEffect(()=>{const N=T=>{const D=T.target;(C==null?void 0:C.contains(D))&&M(T,k)};return document.addEventListener("wheel",N,{passive:!1}),()=>document.removeEventListener("wheel",N,{passive:!1})},[w,C,k,M]),i.useEffect(x,[o,x]),Et(C,E),Et(g.content,E),l.jsx(h4,{scope:n,scrollbar:C,hasThumb:r,onThumbChange:U(s),onThumbPointerUp:U(c),onThumbPositionChange:x,onThumbPointerDown:U(a),children:l.jsx(Rt.div,{...v,ref:m,style:{position:"absolute",...v.style},onPointerDown:I(e.onPointerDown,N=>{N.button===0&&(N.target.setPointerCapture(N.pointerId),b.current=C.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",g.viewport&&(g.viewport.style.scrollBehavior="auto"),L(N))}),onPointerMove:I(e.onPointerMove,L),onPointerUp:I(e.onPointerUp,N=>{const T=N.target;T.hasPointerCapture(N.pointerId)&&T.releasePointerCapture(N.pointerId),document.body.style.webkitUserSelect=y.current,g.viewport&&(g.viewport.style.scrollBehavior=""),b.current=null})})})}),On="ScrollAreaThumb",_l=i.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=jl(On,e.__scopeScrollArea);return l.jsx(Wt,{present:n||r.hasThumb,children:l.jsx(v4,{ref:t,...o})})}),v4=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:o,...r}=e,s=be(On,n),c=jl(On,n),{onThumbPositionChange:a}=c,d=V(t,h=>c.onThumbChange(h)),u=i.useRef(void 0),f=Hn(()=>{u.current&&(u.current(),u.current=void 0)},100);return i.useEffect(()=>{const h=s.viewport;if(h){const v=()=>{if(f(),!u.current){const g=C4(h,a);u.current=g,a()}};return a(),h.addEventListener("scroll",v),()=>h.removeEventListener("scroll",v)}},[s.viewport,f,a]),l.jsx(Rt.div,{"data-state":c.hasThumb?"visible":"hidden",...r,ref:d,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:I(e.onPointerDownCapture,h=>{const g=h.target.getBoundingClientRect(),C=h.clientX-g.left,p=h.clientY-g.top;c.onThumbPointerDown({x:C,y:p})}),onPointerUp:I(e.onPointerUp,c.onThumbPointerUp)})});_l.displayName=On;var vr="ScrollAreaCorner",$l=i.forwardRef((e,t)=>{const n=be(vr,e.__scopeScrollArea),o=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&o?l.jsx(g4,{...e,ref:t}):null});$l.displayName=vr;var g4=i.forwardRef((e,t)=>{const{__scopeScrollArea:n,...o}=e,r=be(vr,n),[s,c]=i.useState(0),[a,d]=i.useState(0),u=!!(s&&a);return Et(r.scrollbarX,()=>{var h;const f=((h=r.scrollbarX)==null?void 0:h.offsetHeight)||0;r.onCornerHeightChange(f),d(f)}),Et(r.scrollbarY,()=>{var h;const f=((h=r.scrollbarY)==null?void 0:h.offsetWidth)||0;r.onCornerWidthChange(f),c(f)}),u?l.jsx(Rt.div,{...o,ref:t,style:{width:s,height:a,position:"absolute",right:r.dir==="ltr"?0:void 0,left:r.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function _n(e){return e?parseInt(e,10):0}function Hl(e,t){const n=e/t;return isNaN(n)?0:n}function $n(e){const t=Hl(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-n)*t;return Math.max(o,18)}function m4(e,t,n,o="ltr"){const r=$n(n),s=r/2,c=t||s,a=r-c,d=n.scrollbar.paddingStart+c,u=n.scrollbar.size-n.scrollbar.paddingEnd-a,f=n.content-n.viewport,h=o==="ltr"?[0,f]:[f*-1,0];return Dl([d,u],h)(e)}function Vl(e,t,n="ltr"){const o=$n(t),r=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,s=t.scrollbar.size-r,c=t.content-t.viewport,a=s-o,d=n==="ltr"?[0,c]:[c*-1,0],u=dr(e,d);return Dl([0,c],[0,a])(u)}function Dl(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const o=(t[1]-t[0])/(e[1]-e[0]);return t[0]+o*(n-e[0])}}function Fl(e,t){return e>0&&e<t}var C4=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},o=0;return function r(){const s={left:e.scrollLeft,top:e.scrollTop},c=n.left!==s.left,a=n.top!==s.top;(c||a)&&t(),n=s,o=window.requestAnimationFrame(r)}(),()=>window.cancelAnimationFrame(o)};function Hn(e,t){const n=U(e),o=i.useRef(0);return i.useEffect(()=>()=>window.clearTimeout(o.current),[]),i.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(n,t)},[n,t])}function Et(e,t){const n=U(t);J(()=>{let o=0;if(e){const r=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(o),r.unobserve(e)}}},[e,n])}var Zl=Il,Rl=Al,b4=$l;const gr=i.forwardRef(({className:e,children:t,...n},o)=>l.jsxs(Zl,{ref:o,className:$("ksjsui-relative ksjsui-size-full ksjsui-overflow-hidden",e),...n,children:[t,l.jsx(Cr,{}),l.jsx(b4,{})]}));gr.displayName=Zl.displayName;const mr=i.forwardRef(({className:e,children:t,...n},o)=>l.jsx(Rl,{ref:o,className:$(["ksjsui-size-full ksjsui-rounded-[inherit]",e]),...n,children:t}));mr.displayName=Rl.displayName;const Cr=i.forwardRef(({className:e,orientation:t="vertical",...n},o)=>l.jsx(pr,{ref:o,orientation:t,className:$("ksjsui-flex ksjsui-touch-none ksjsui-select-none ksjsui-transition-colors",t==="vertical"&&"ksjsui-h-full ksjsui-w-2.5 ksjsui-border-l ksjsui-border-l-transparent ksjsui-p-[1px]",t==="horizontal"&&"ksjsui-h-2.5 ksjsui-flex-col ksjsui-border-t ksjsui-border-t-transparent ksjsui-p-[1px]",e),...n,children:l.jsx(_l,{className:$(["ksjsui-relative ksjsui-flex-1 ksjsui-rounded-full ksjsui-bg-border","forced-colors:ksjsui-bg-canvas-text","forced-colors:hover:ksjsui-bg-highlight"])})}));Cr.displayName=pr.displayName;function y4(e){const t=e+"CollectionProvider",[n,o]=de(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=g=>{const{scope:C,children:p}=g,m=te.useRef(null),b=te.useRef(new Map).current;return l.jsx(r,{scope:C,itemMap:b,collectionRef:m,children:p})};c.displayName=t;const a=e+"CollectionSlot",d=te.forwardRef((g,C)=>{const{scope:p,children:m}=g,b=s(a,p),y=V(C,b.collectionRef);return l.jsx(re,{ref:y,children:m})});d.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",h=te.forwardRef((g,C)=>{const{scope:p,children:m,...b}=g,y=te.useRef(null),w=V(C,y),k=s(u,p);return te.useEffect(()=>(k.itemMap.set(y,{ref:y,...b}),()=>void k.itemMap.delete(y))),l.jsx(re,{[f]:"",ref:w,children:m})});h.displayName=u;function v(g){const C=s(e+"CollectionConsumer",g);return te.useCallback(()=>{const m=C.collectionRef.current;if(!m)return[];const b=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(C.itemMap.values()).sort((k,M)=>b.indexOf(k.ref.current)-b.indexOf(M.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:c,Slot:d,ItemSlot:h},v,o]}var w4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ie=w4.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function k4(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}var E4="DismissableLayer",br="dismissableLayer.update",S4="dismissableLayer.pointerDownOutside",M4="dismissableLayer.focusOutside",Wl,zl=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bl=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(zl),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(m),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=L4(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),x=I4(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Wl=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Ul(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Wl)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Ul())},[f,u]),i.useEffect(()=>{const E=()=>g({});return document.addEventListener(br,E),()=>document.removeEventListener(br,E)},[]),l.jsx(ie.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,x.onFocusCapture),onBlurCapture:I(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});Bl.displayName=E4;var P4="DismissableLayerBranch",x4=i.forwardRef((e,t)=>{const n=i.useContext(zl),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(ie.div,{...e,ref:r})});x4.displayName=P4;function L4(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Kl(S4,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function I4(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Kl(M4,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ul(){const e=new CustomEvent(br);document.dispatchEvent(e)}function Kl(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?k4(r,s):r.dispatchEvent(s)}var yr="focusScope.autoFocusOnMount",wr="focusScope.autoFocusOnUnmount",Gl={bubbles:!1,cancelable:!0},N4="FocusScope",Yl=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:s,...c}=e,[a,d]=i.useState(null),u=U(r),f=U(s),h=i.useRef(null),v=V(t,p=>d(p)),g=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let p=function(w){if(g.paused||!a)return;const k=w.target;a.contains(k)?h.current=k:tt(h.current,{select:!0})},m=function(w){if(g.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||tt(h.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const M of w)M.removedNodes.length>0&&tt(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",m);const y=new MutationObserver(b);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",m),y.disconnect()}}},[o,a,g.paused]),i.useEffect(()=>{if(a){Ql.add(g);const p=document.activeElement;if(!a.contains(p)){const b=new CustomEvent(yr,Gl);a.addEventListener(yr,u),a.dispatchEvent(b),b.defaultPrevented||(A4($4(Xl(a)),{select:!0}),document.activeElement===p&&tt(a))}return()=>{a.removeEventListener(yr,u),setTimeout(()=>{const b=new CustomEvent(wr,Gl);a.addEventListener(wr,f),a.dispatchEvent(b),b.defaultPrevented||tt(p??document.body,{select:!0}),a.removeEventListener(wr,f),Ql.remove(g)},0)}}},[a,u,f,g]);const C=i.useCallback(p=>{if(!n&&!o||g.paused)return;const m=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(m&&b){const y=p.currentTarget,[w,k]=T4(y);w&&k?!p.shiftKey&&b===k?(p.preventDefault(),n&&tt(w,{select:!0})):p.shiftKey&&b===w&&(p.preventDefault(),n&&tt(k,{select:!0})):b===y&&p.preventDefault()}},[n,o,g.paused]);return l.jsx(ie.div,{tabIndex:-1,...c,ref:v,onKeyDown:C})});Yl.displayName=N4;function A4(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(tt(o,{select:t}),document.activeElement!==n)return}function T4(e){const t=Xl(e),n=ql(t,e),o=ql(t.reverse(),e);return[n,o]}function Xl(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ql(e,t){for(const n of e)if(!j4(n,{upTo:t}))return n}function j4(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 O4(e){return e instanceof HTMLInputElement&&"select"in e}function tt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&O4(e)&&t&&e.select()}}var Ql=_4();function _4(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Jl(e,t),e.unshift(t)},remove(t){var n;e=Jl(e,t),(n=e[0])==null||n.resume()}}}function Jl(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function $4(e){return e.filter(t=>t.tagName!=="A")}var H4="Arrow",e1=i.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return l.jsx(ie.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});e1.displayName=H4;var V4=e1,kr="Popper",[t1,n1]=de(kr),[D4,o1]=t1(kr),r1=e=>{const{__scopePopper:t,children:n}=e,[o,r]=i.useState(null);return l.jsx(D4,{scope:t,anchor:o,onAnchorChange:r,children:n})};r1.displayName=kr;var s1="PopperAnchor",i1=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=o1(s1,n),c=i.useRef(null),a=V(t,c);return i.useEffect(()=>{s.onAnchorChange((o==null?void 0:o.current)||c.current)}),o?null:l.jsx(ie.div,{...r,ref:a})});i1.displayName=s1;var Er="PopperContent",[F4,Z4]=t1(Er),a1=i.forwardRef((e,t)=>{var F,Y,Q,G,X,q;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:c=0,arrowPadding:a=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:g="optimized",onPlaced:C,...p}=e,m=o1(Er,n),[b,y]=i.useState(null),w=V(t,ee=>y(ee)),[k,M]=i.useState(null),x=Mn(k),E=(x==null?void 0:x.width)??0,L=(x==null?void 0:x.height)??0,N=o+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(u)?u:[u],_=D.length>0,Z={padding:T,boundary:D.filter(W4),altBoundary:_},{refs:j,floatingStyles:W,placement:H,isPositioned:R,middlewareData:O}=mn({strategy:"fixed",placement:N,whileElementsMounted:(...ee)=>hn(...ee,{animationFrame:g==="always"}),elements:{reference:m.anchor},middleware:[Cn({mainAxis:r+L,alignmentAxis:c}),d&&bn({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?yn():void 0,...Z}),d&&wn({...Z}),kn({...Z,apply:({elements:ee,rects:le,availableWidth:Se,availableHeight:Me})=>{const{width:Pe,height:lt}=le.reference,ue=ee.floating.style;ue.setProperty("--radix-popper-available-width",`${Se}px`),ue.setProperty("--radix-popper-available-height",`${Me}px`),ue.setProperty("--radix-popper-anchor-width",`${Pe}px`),ue.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),k&&Sn({element:k,padding:a}),z4({arrowWidth:E,arrowHeight:L}),v&&En({strategy:"referenceHidden",...Z})]}),[A,K]=u1(H),z=U(C);J(()=>{R&&(z==null||z())},[R,z]);const oe=(F=O.arrow)==null?void 0:F.x,ae=(Y=O.arrow)==null?void 0:Y.y,se=((Q=O.arrow)==null?void 0:Q.centerOffset)!==0,[he,ce]=i.useState();return J(()=>{b&&ce(window.getComputedStyle(b).zIndex)},[b]),l.jsx("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:R?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(G=O.transformOrigin)==null?void 0:G.x,(X=O.transformOrigin)==null?void 0:X.y].join(" "),...((q=O.hide)==null?void 0:q.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(F4,{scope:n,placedSide:A,onArrowChange:M,arrowX:oe,arrowY:ae,shouldHideArrow:se,children:l.jsx(ie.div,{"data-side":A,"data-align":K,...p,ref:w,style:{...p.style,animation:R?void 0:"none"}})})})});a1.displayName=Er;var c1="PopperArrow",R4={top:"bottom",right:"left",bottom:"top",left:"right"},l1=i.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=Z4(c1,o),c=R4[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(V4,{...r,ref:n,style:{...r.style,display:"block"}})})});l1.displayName=c1;function W4(e){return e!==null}var z4=e=>({name:"transformOrigin",options:e,fn(t){var m,b,y;const{placement:n,rects:o,middlewareData:r}=t,c=((m=r.arrow)==null?void 0:m.centerOffset)!==0,a=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[u,f]=u1(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(((b=r.arrow)==null?void 0:b.x)??0)+a/2,g=(((y=r.arrow)==null?void 0:y.y)??0)+d/2;let C="",p="";return u==="bottom"?(C=c?h:`${v}px`,p=`${-d}px`):u==="top"?(C=c?h:`${v}px`,p=`${o.floating.height+d}px`):u==="right"?(C=`${-d}px`,p=c?h:`${g}px`):u==="left"&&(C=`${o.floating.width+d}px`,p=c?h:`${g}px`),{data:{x:C,y:p}}}});function u1(e){const[t,n="center"]=e.split("-");return[t,n]}var B4=r1,U4=i1,K4=a1,G4=l1,Y4="Portal",d1=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);J(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx(ie.div,{...o,ref:t}),c):null});d1.displayName=Y4;function f1(e){const t=i.useRef({value:e,previous:e});return i.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var X4="VisuallyHidden",p1=i.forwardRef((e,t)=>l.jsx(ie.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}}));p1.displayName=X4;var q4=[" ","Enter","ArrowUp","ArrowDown"],Q4=[" ","Enter"],zt="Select",[Vn,Dn,J4]=y4(zt),[St,Cg]=de(zt,[J4,n1]),Fn=n1(),[e6,nt]=St(zt),[t6,n6]=St(zt),h1=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:r,onOpenChange:s,value:c,defaultValue:a,onValueChange:d,dir:u,name:f,autoComplete:h,disabled:v,required:g,form:C}=e,p=Fn(t),[m,b]=i.useState(null),[y,w]=i.useState(null),[k,M]=i.useState(!1),x=sn(u),[E=!1,L]=_e({prop:o,defaultProp:r,onChange:s}),[N,T]=_e({prop:c,defaultProp:a,onChange:d}),D=i.useRef(null),_=m?C||!!m.closest("form"):!0,[Z,j]=i.useState(new Set),W=Array.from(Z).map(H=>H.props.value).join(";");return l.jsx(B4,{...p,children:l.jsxs(e6,{required:g,scope:t,trigger:m,onTriggerChange:b,valueNode:y,onValueNodeChange:w,valueNodeHasChildren:k,onValueNodeHasChildrenChange:M,contentId:me(),value:N,onValueChange:T,open:E,onOpenChange:L,dir:x,triggerPointerDownPosRef:D,disabled:v,children:[l.jsx(Vn.Provider,{scope:t,children:l.jsx(t6,{scope:e.__scopeSelect,onNativeOptionAdd:i.useCallback(H=>{j(R=>new Set(R).add(H))},[]),onNativeOptionRemove:i.useCallback(H=>{j(R=>{const O=new Set(R);return O.delete(H),O})},[]),children:n})}),_?l.jsxs(H1,{"aria-hidden":!0,required:g,tabIndex:-1,name:f,autoComplete:h,value:N,onChange:H=>T(H.target.value),disabled:v,form:C,children:[N===void 0?l.jsx("option",{value:""}):null,Array.from(Z)]},W):null]})})};h1.displayName=zt;var v1="SelectTrigger",g1=i.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:o=!1,...r}=e,s=Fn(n),c=nt(v1,n),a=c.disabled||o,d=V(t,c.onTriggerChange),u=Dn(n),f=i.useRef("touch"),[h,v,g]=V1(p=>{const m=u().filter(w=>!w.disabled),b=m.find(w=>w.value===c.value),y=D1(m,p,b);y!==void 0&&c.onValueChange(y.value)}),C=p=>{a||(c.onOpenChange(!0),g()),p&&(c.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return l.jsx(U4,{asChild:!0,...s,children:l.jsx(ie.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":$1(c.value)?"":void 0,...r,ref:d,onClick:I(r.onClick,p=>{p.currentTarget.focus(),f.current!=="mouse"&&C(p)}),onPointerDown:I(r.onPointerDown,p=>{f.current=p.pointerType;const m=p.target;m.hasPointerCapture(p.pointerId)&&m.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(C(p),p.preventDefault())}),onKeyDown:I(r.onKeyDown,p=>{const m=h.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&v(p.key),!(m&&p.key===" ")&&q4.includes(p.key)&&(C(),p.preventDefault())})})})});g1.displayName=v1;var m1="SelectValue",C1=i.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,children:s,placeholder:c="",...a}=e,d=nt(m1,n),{onValueNodeHasChildrenChange:u}=d,f=s!==void 0,h=V(t,d.onValueNodeChange);return J(()=>{u(f)},[u,f]),l.jsx(ie.span,{...a,ref:h,style:{pointerEvents:"none"},children:$1(d.value)?l.jsx(l.Fragment,{children:c}):s})});C1.displayName=m1;var o6="SelectIcon",b1=i.forwardRef((e,t)=>{const{__scopeSelect:n,children:o,...r}=e;return l.jsx(ie.span,{"aria-hidden":!0,...r,ref:t,children:o||"▼"})});b1.displayName=o6;var r6="SelectPortal",y1=e=>l.jsx(d1,{asChild:!0,...e});y1.displayName=r6;var at="SelectContent",w1=i.forwardRef((e,t)=>{const n=nt(at,e.__scopeSelect),[o,r]=i.useState();if(J(()=>{r(new DocumentFragment)},[]),!n.open){const s=o;return s?xe.createPortal(l.jsx(k1,{scope:e.__scopeSelect,children:l.jsx(Vn.Slot,{scope:e.__scopeSelect,children:l.jsx("div",{children:e.children})})}),s):null}return l.jsx(E1,{...e,ref:t})});w1.displayName=at;var Ee=10,[k1,ot]=St(at),s6="SelectContentImpl",E1=i.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:r,onEscapeKeyDown:s,onPointerDownOutside:c,side:a,sideOffset:d,align:u,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:g,sticky:C,hideWhenDetached:p,avoidCollisions:m,...b}=e,y=nt(at,n),[w,k]=i.useState(null),[M,x]=i.useState(null),E=V(t,F=>k(F)),[L,N]=i.useState(null),[T,D]=i.useState(null),_=Dn(n),[Z,j]=i.useState(!1),W=i.useRef(!1);i.useEffect(()=>{if(w)return on(w)},[w]),po();const H=i.useCallback(F=>{const[Y,...Q]=_().map(q=>q.ref.current),[G]=Q.slice(-1),X=document.activeElement;for(const q of F)if(q===X||(q==null||q.scrollIntoView({block:"nearest"}),q===Y&&M&&(M.scrollTop=0),q===G&&M&&(M.scrollTop=M.scrollHeight),q==null||q.focus(),document.activeElement!==X))return},[_,M]),R=i.useCallback(()=>H([L,w]),[H,L,w]);i.useEffect(()=>{Z&&R()},[Z,R]);const{onOpenChange:O,triggerPointerDownPosRef:A}=y;i.useEffect(()=>{if(w){let F={x:0,y:0};const Y=G=>{var X,q;F={x:Math.abs(Math.round(G.pageX)-(((X=A.current)==null?void 0:X.x)??0)),y:Math.abs(Math.round(G.pageY)-(((q=A.current)==null?void 0:q.y)??0))}},Q=G=>{F.x<=10&&F.y<=10?G.preventDefault():w.contains(G.target)||O(!1),document.removeEventListener("pointermove",Y),A.current=null};return A.current!==null&&(document.addEventListener("pointermove",Y),document.addEventListener("pointerup",Q,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Y),document.removeEventListener("pointerup",Q,{capture:!0})}}},[w,O,A]),i.useEffect(()=>{const F=()=>O(!1);return window.addEventListener("blur",F),window.addEventListener("resize",F),()=>{window.removeEventListener("blur",F),window.removeEventListener("resize",F)}},[O]);const[K,z]=V1(F=>{const Y=_().filter(X=>!X.disabled),Q=Y.find(X=>X.ref.current===document.activeElement),G=D1(Y,F,Q);G&&setTimeout(()=>G.ref.current.focus())}),oe=i.useCallback((F,Y,Q)=>{const G=!W.current&&!Q;(y.value!==void 0&&y.value===Y||G)&&(N(F),G&&(W.current=!0))},[y.value]),ae=i.useCallback(()=>w==null?void 0:w.focus(),[w]),se=i.useCallback((F,Y,Q)=>{const G=!W.current&&!Q;(y.value!==void 0&&y.value===Y||G)&&D(F)},[y.value]),he=o==="popper"?Sr:S1,ce=he===Sr?{side:a,sideOffset:d,align:u,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:g,sticky:C,hideWhenDetached:p,avoidCollisions:m}:{};return l.jsx(k1,{scope:n,content:w,viewport:M,onViewportChange:x,itemRefCallback:oe,selectedItem:L,onItemLeave:ae,itemTextRefCallback:se,focusSelectedItem:R,selectedItemText:T,position:o,isPositioned:Z,searchRef:K,children:l.jsx(Nt,{as:re,allowPinchZoom:!0,children:l.jsx(Yl,{asChild:!0,trapped:y.open,onMountAutoFocus:F=>{F.preventDefault()},onUnmountAutoFocus:I(r,F=>{var Y;(Y=y.trigger)==null||Y.focus({preventScroll:!0}),F.preventDefault()}),children:l.jsx(Bl,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:F=>F.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:l.jsx(he,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:F=>F.preventDefault(),...b,...ce,onPlaced:()=>j(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:I(b.onKeyDown,F=>{const Y=F.ctrlKey||F.altKey||F.metaKey;if(F.key==="Tab"&&F.preventDefault(),!Y&&F.key.length===1&&z(F.key),["ArrowUp","ArrowDown","Home","End"].includes(F.key)){let G=_().filter(X=>!X.disabled).map(X=>X.ref.current);if(["ArrowUp","End"].includes(F.key)&&(G=G.slice().reverse()),["ArrowUp","ArrowDown"].includes(F.key)){const X=F.target,q=G.indexOf(X);G=G.slice(q+1)}setTimeout(()=>H(G)),F.preventDefault()}})})})})})})});E1.displayName=s6;var i6="SelectItemAlignedPosition",S1=i.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...r}=e,s=nt(at,n),c=ot(at,n),[a,d]=i.useState(null),[u,f]=i.useState(null),h=V(t,E=>f(E)),v=Dn(n),g=i.useRef(!1),C=i.useRef(!0),{viewport:p,selectedItem:m,selectedItemText:b,focusSelectedItem:y}=c,w=i.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&u&&p&&m&&b){const E=s.trigger.getBoundingClientRect(),L=u.getBoundingClientRect(),N=s.valueNode.getBoundingClientRect(),T=b.getBoundingClientRect();if(s.dir!=="rtl"){const X=T.left-L.left,q=N.left-X,ee=E.left-q,le=E.width+ee,Se=Math.max(le,L.width),Me=window.innerWidth-Ee,Pe=dr(q,[Ee,Math.max(Ee,Me-Se)]);a.style.minWidth=le+"px",a.style.left=Pe+"px"}else{const X=L.right-T.right,q=window.innerWidth-N.right-X,ee=window.innerWidth-E.right-q,le=E.width+ee,Se=Math.max(le,L.width),Me=window.innerWidth-Ee,Pe=dr(q,[Ee,Math.max(Ee,Me-Se)]);a.style.minWidth=le+"px",a.style.right=Pe+"px"}const D=v(),_=window.innerHeight-Ee*2,Z=p.scrollHeight,j=window.getComputedStyle(u),W=parseInt(j.borderTopWidth,10),H=parseInt(j.paddingTop,10),R=parseInt(j.borderBottomWidth,10),O=parseInt(j.paddingBottom,10),A=W+H+Z+O+R,K=Math.min(m.offsetHeight*5,A),z=window.getComputedStyle(p),oe=parseInt(z.paddingTop,10),ae=parseInt(z.paddingBottom,10),se=E.top+E.height/2-Ee,he=_-se,ce=m.offsetHeight/2,F=m.offsetTop+ce,Y=W+H+F,Q=A-Y;if(Y<=se){const X=D.length>0&&m===D[D.length-1].ref.current;a.style.bottom="0px";const q=u.clientHeight-p.offsetTop-p.offsetHeight,ee=Math.max(he,ce+(X?ae:0)+q+R),le=Y+ee;a.style.height=le+"px"}else{const X=D.length>0&&m===D[0].ref.current;a.style.top="0px";const ee=Math.max(se,W+p.offsetTop+(X?oe:0)+ce)+Q;a.style.height=ee+"px",p.scrollTop=Y-se+p.offsetTop}a.style.margin=`${Ee}px 0`,a.style.minHeight=K+"px",a.style.maxHeight=_+"px",o==null||o(),requestAnimationFrame(()=>g.current=!0)}},[v,s.trigger,s.valueNode,a,u,p,m,b,s.dir,o]);J(()=>w(),[w]);const[k,M]=i.useState();J(()=>{u&&M(window.getComputedStyle(u).zIndex)},[u]);const x=i.useCallback(E=>{E&&C.current===!0&&(w(),y==null||y(),C.current=!1)},[w,y]);return l.jsx(c6,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:g,onScrollButtonChange:x,children:l.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:l.jsx(ie.div,{...r,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...r.style}})})})});S1.displayName=i6;var a6="SelectPopperPosition",Sr=i.forwardRef((e,t)=>{const{__scopeSelect:n,align:o="start",collisionPadding:r=Ee,...s}=e,c=Fn(n);return l.jsx(K4,{...c,...s,ref:t,align:o,collisionPadding:r,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Sr.displayName=a6;var[c6,Mr]=St(at,{}),Pr="SelectViewport",M1=i.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...r}=e,s=ot(Pr,n),c=Mr(Pr,n),a=V(t,s.onViewportChange),d=i.useRef(0);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),l.jsx(Vn.Slot,{scope:n,children:l.jsx(ie.div,{"data-radix-select-viewport":"",role:"presentation",...r,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...r.style},onScroll:I(r.onScroll,u=>{const f=u.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:v}=c;if(v!=null&&v.current&&h){const g=Math.abs(d.current-f.scrollTop);if(g>0){const C=window.innerHeight-Ee*2,p=parseFloat(h.style.minHeight),m=parseFloat(h.style.height),b=Math.max(p,m);if(b<C){const y=b+g,w=Math.min(C,y),k=y-w;h.style.height=w+"px",h.style.bottom==="0px"&&(f.scrollTop=k>0?k:0,h.style.justifyContent="flex-end")}}}d.current=f.scrollTop})})})]})});M1.displayName=Pr;var P1="SelectGroup",[l6,u6]=St(P1),d6=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=me();return l.jsx(l6,{scope:n,id:r,children:l.jsx(ie.div,{role:"group","aria-labelledby":r,...o,ref:t})})});d6.displayName=P1;var x1="SelectLabel",L1=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=u6(x1,n);return l.jsx(ie.div,{id:r.id,...o,ref:t})});L1.displayName=x1;var Zn="SelectItem",[f6,I1]=St(Zn),N1=i.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:r=!1,textValue:s,...c}=e,a=nt(Zn,n),d=ot(Zn,n),u=a.value===o,[f,h]=i.useState(s??""),[v,g]=i.useState(!1),C=V(t,y=>{var w;return(w=d.itemRefCallback)==null?void 0:w.call(d,y,o,r)}),p=me(),m=i.useRef("touch"),b=()=>{r||(a.onValueChange(o),a.onOpenChange(!1))};if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return l.jsx(f6,{scope:n,value:o,disabled:r,textId:p,isSelected:u,onItemTextChange:i.useCallback(y=>{h(w=>w||((y==null?void 0:y.textContent)??"").trim())},[]),children:l.jsx(Vn.ItemSlot,{scope:n,value:o,disabled:r,textValue:f,children:l.jsx(ie.div,{role:"option","aria-labelledby":p,"data-highlighted":v?"":void 0,"aria-selected":u&&v,"data-state":u?"checked":"unchecked","aria-disabled":r||void 0,"data-disabled":r?"":void 0,tabIndex:r?void 0:-1,...c,ref:C,onFocus:I(c.onFocus,()=>g(!0)),onBlur:I(c.onBlur,()=>g(!1)),onClick:I(c.onClick,()=>{m.current!=="mouse"&&b()}),onPointerUp:I(c.onPointerUp,()=>{m.current==="mouse"&&b()}),onPointerDown:I(c.onPointerDown,y=>{m.current=y.pointerType}),onPointerMove:I(c.onPointerMove,y=>{var w;m.current=y.pointerType,r?(w=d.onItemLeave)==null||w.call(d):m.current==="mouse"&&y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:I(c.onPointerLeave,y=>{var w;y.currentTarget===document.activeElement&&((w=d.onItemLeave)==null||w.call(d))}),onKeyDown:I(c.onKeyDown,y=>{var k;((k=d.searchRef)==null?void 0:k.current)!==""&&y.key===" "||(Q4.includes(y.key)&&b(),y.key===" "&&y.preventDefault())})})})})});N1.displayName=Zn;var Bt="SelectItemText",A1=i.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,...s}=e,c=nt(Bt,n),a=ot(Bt,n),d=I1(Bt,n),u=n6(Bt,n),[f,h]=i.useState(null),v=V(t,b=>h(b),d.onItemTextChange,b=>{var y;return(y=a.itemTextRefCallback)==null?void 0:y.call(a,b,d.value,d.disabled)}),g=f==null?void 0:f.textContent,C=i.useMemo(()=>l.jsx("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:p,onNativeOptionRemove:m}=u;return J(()=>(p(C),()=>m(C)),[p,m,C]),l.jsxs(l.Fragment,{children:[l.jsx(ie.span,{id:d.textId,...s,ref:v}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?xe.createPortal(s.children,c.valueNode):null]})});A1.displayName=Bt;var T1="SelectItemIndicator",j1=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return I1(T1,n).isSelected?l.jsx(ie.span,{"aria-hidden":!0,...o,ref:t}):null});j1.displayName=T1;var xr="SelectScrollUpButton",p6=i.forwardRef((e,t)=>{const n=ot(xr,e.__scopeSelect),o=Mr(xr,e.__scopeSelect),[r,s]=i.useState(!1),c=V(t,o.onScrollButtonChange);return J(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=d.scrollTop>0;s(u)};const d=n.viewport;return a(),d.addEventListener("scroll",a),()=>d.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?l.jsx(O1,{...e,ref:c,onAutoScroll:()=>{const{viewport:a,selectedItem:d}=n;a&&d&&(a.scrollTop=a.scrollTop-d.offsetHeight)}}):null});p6.displayName=xr;var Lr="SelectScrollDownButton",h6=i.forwardRef((e,t)=>{const n=ot(Lr,e.__scopeSelect),o=Mr(Lr,e.__scopeSelect),[r,s]=i.useState(!1),c=V(t,o.onScrollButtonChange);return J(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=d.scrollHeight-d.clientHeight,f=Math.ceil(d.scrollTop)<u;s(f)};const d=n.viewport;return a(),d.addEventListener("scroll",a),()=>d.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?l.jsx(O1,{...e,ref:c,onAutoScroll:()=>{const{viewport:a,selectedItem:d}=n;a&&d&&(a.scrollTop=a.scrollTop+d.offsetHeight)}}):null});h6.displayName=Lr;var O1=i.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...r}=e,s=ot("SelectScrollButton",n),c=i.useRef(null),a=Dn(n),d=i.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return i.useEffect(()=>()=>d(),[d]),J(()=>{var f;const u=a().find(h=>h.ref.current===document.activeElement);(f=u==null?void 0:u.ref.current)==null||f.scrollIntoView({block:"nearest"})},[a]),l.jsx(ie.div,{"aria-hidden":!0,...r,ref:t,style:{flexShrink:0,...r.style},onPointerDown:I(r.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(o,50))}),onPointerMove:I(r.onPointerMove,()=>{var u;(u=s.onItemLeave)==null||u.call(s),c.current===null&&(c.current=window.setInterval(o,50))}),onPointerLeave:I(r.onPointerLeave,()=>{d()})})}),v6="SelectSeparator",_1=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return l.jsx(ie.div,{"aria-hidden":!0,...o,ref:t})});_1.displayName=v6;var Ir="SelectArrow",g6=i.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=Fn(n),s=nt(Ir,n),c=ot(Ir,n);return s.open&&c.position==="popper"?l.jsx(G4,{...r,...o,ref:t}):null});g6.displayName=Ir;function $1(e){return e===""||e===void 0}var H1=i.forwardRef((e,t)=>{const{value:n,...o}=e,r=i.useRef(null),s=V(t,r),c=f1(n);return i.useEffect(()=>{const a=r.current,d=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==n&&f){const h=new Event("change",{bubbles:!0});f.call(a,n),a.dispatchEvent(h)}},[c,n]),l.jsx(p1,{asChild:!0,children:l.jsx("select",{...o,ref:s,defaultValue:n})})});H1.displayName="BubbleSelect";function V1(e){const t=U(e),n=i.useRef(""),o=i.useRef(0),r=i.useCallback(c=>{const a=n.current+c;t(a),function d(u){n.current=u,window.clearTimeout(o.current),u!==""&&(o.current=window.setTimeout(()=>d(""),1e3))}(a)},[t]),s=i.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return i.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,r,s]}function D1(e,t,n){const r=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let c=m6(e,Math.max(s,0));r.length===1&&(c=c.filter(u=>u!==n));const d=c.find(u=>u.textValue.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function m6(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var C6=h1,F1=g1,b6=C1,y6=b1,w6=y1,Z1=w1,k6=M1,R1=L1,W1=N1,E6=A1,S6=j1,z1=_1;const M6=C6,P6=b6,B1=i.forwardRef(({className:e,children:t,tabIndex:n=0,...o},r)=>l.jsxs(F1,{ref:r,className:$(["ksjsui-flex ksjsui-h-10 ksjsui-w-full ksjsui-items-center ksjsui-justify-between ksjsui-gap-x-2 ksjsui-rounded-md ksjsui-border ksjsui-border-input ksjsui-bg-background ksjsui-px-3 ksjsui-py-2 ksjsui-text-sm ksjsui-ring-offset-background","data-[placeholder]:ksjsui-text-placeholder","focus:ksjsui-outline-none focus:ksjsui-outline-ring","disabled:ksjsui-cursor-not-allowed disabled:ksjsui-opacity-50","[&>span]:ksjsui-truncate"],e),tabIndex:n,...o,children:[t,l.jsx(y6,{asChild:!0,children:l.jsx(mi,{className:"ksjsui-shrink-0 ksjsui-opacity-50"})})]}));B1.displayName=F1.displayName;const U1=i.forwardRef(({className:e,children:t,position:n="popper",...o},r)=>l.jsx(w6,{children:l.jsx(Z1,{ref:r,className:$(["ksjsui-z-50 ksjsui-flex ksjsui-flex-col ksjsui-gap-y-2 ksjsui-overflow-hidden ksjsui-rounded-lg ksjsui-border-0 ksjsui-bg-popover ksjsui-text-popover-foreground ksjsui-shadow-md","ksjsui-max-h-[var(--radix-select-content-available-height)]","ksjsui-min-w-[var(--radix-select-trigger-width)] ksjsui-max-w-[var(--radix-select-content-available-width)]","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-fade-in-0 data-[state=open]:ksjsui-zoom-in-95","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-0 data-[state=closed]:ksjsui-zoom-out-95","data-[side=top]:ksjsui-slide-in-from-bottom-2","data-[side=right]:ksjsui-slide-in-from-left-2","data-[side=bottom]:ksjsui-slide-in-from-top-2","data-[side=left]:ksjsui-slide-in-from-right-2","forced-colors:ksjsui-border"],n==="popper"&&["data-[side=top]:-ksjsui-translate-y-1","data-[side=right]:ksjsui-translate-x-1","data-[side=bottom]:ksjsui-translate-y-1","data-[side=left]:-ksjsui-translate-x-1"],e),position:n,...o,children:l.jsx(k6,{className:$("ksjsui-flex ksjsui-flex-col ksjsui-gap-y-2 ksjsui-px-2 ksjsui-py-4"),asChild:!0,children:l.jsx(gr,{children:l.jsx(mr,{children:t})})})})}));U1.displayName=Z1.displayName;const x6=i.forwardRef(({className:e,...t},n)=>l.jsx(R1,{ref:n,className:$("ksjsui-px-2 ksjsui-pt-2 ksjsui-text-sm ksjsui-text-label",e),...t}));x6.displayName=R1.displayName;const K1=i.forwardRef(({className:e,children:t,...n},o)=>l.jsxs(W1,{ref:o,className:$(["ksjsui-group","ksjsui-flex ksjsui-w-full ksjsui-cursor-default ksjsui-select-none ksjsui-items-center ksjsui-justify-between ksjsui-gap-2 ksjsui-rounded-sm ksjsui-px-2 ksjsui-py-1 ksjsui-text-base","data-[disabled]:ksjsui-pointer-events-none data-[disabled]:ksjsui-opacity-50","focus:ksjsui-bg-selected-hover focus:ksjsui-text-selected-foreground focus:ksjsui-outline-none","forced-colors:focus:ksjsui-bg-highlight forced-colors:focus:ksjsui-text-highlight-text forced-colors:focus:ksjsui-forced-color-adjust-none"],e),...n,children:[l.jsx(E6,{children:t}),l.jsx(S6,{children:l.jsx(Eo,{className:$(["ksjsui-size-6 ksjsui-shrink-0","group-focus:forced-colors:ksjsui-fill-highlight-text"])})})]}));K1.displayName=W1.displayName;const L6=i.forwardRef(({className:e,...t},n)=>l.jsx(z1,{ref:n,className:$(["ksjsui-my-1 ksjsui-h-px ksjsui-shrink-0 ksjsui-bg-border","forced-colors:ksjsui-bg-button-border"],e),...t}));L6.displayName=z1.displayName;var I6=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],N6=I6.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),A6="Separator",G1="horizontal",T6=["horizontal","vertical"],Y1=i.forwardRef((e,t)=>{const{decorative:n,orientation:o=G1,...r}=e,s=j6(o)?o:G1,a=n?{role:"none"}:{"aria-orientation":s==="vertical"?s:void 0,role:"separator"};return l.jsx(N6.div,{"data-orientation":s,...a,...r,ref:t})});Y1.displayName=A6;function j6(e){return T6.includes(e)}var X1=Y1;const q1=i.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...o},r)=>l.jsx(X1,{ref:r,decorative:n,orientation:t,className:$("ksjsui-shrink-0 ksjsui-bg-border forced-colors:ksjsui-bg-canvas-text forced-colors:ksjsui-forced-color-adjust-none",t==="horizontal"?"ksjsui-block ksjsui-h-px ksjsui-w-full":"ksjsui-inline-block ksjsui-w-px",e),...o}));q1.displayName=X1.displayName;var O6=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Q1=O6.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Nr="Switch",[_6,bg]=de(Nr),[$6,H6]=_6(Nr),J1=i.forwardRef((e,t)=>{const{__scopeSwitch:n,name:o,checked:r,defaultChecked:s,required:c,disabled:a,value:d="on",onCheckedChange:u,form:f,...h}=e,[v,g]=i.useState(null),C=V(t,w=>g(w)),p=i.useRef(!1),m=v?f||!!v.closest("form"):!0,[b=!1,y]=_e({prop:r,defaultProp:s,onChange:u});return l.jsxs($6,{scope:n,checked:b,disabled:a,children:[l.jsx(Q1.button,{type:"button",role:"switch","aria-checked":b,"aria-required":c,"data-state":nu(b),"data-disabled":a?"":void 0,disabled:a,value:d,...h,ref:C,onClick:I(e.onClick,w=>{y(k=>!k),m&&(p.current=w.isPropagationStopped(),p.current||w.stopPropagation())})}),m&&l.jsx(V6,{control:v,bubbles:!p.current,name:o,value:d,checked:b,required:c,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});J1.displayName=Nr;var eu="SwitchThumb",tu=i.forwardRef((e,t)=>{const{__scopeSwitch:n,...o}=e,r=H6(eu,n);return l.jsx(Q1.span,{"data-state":nu(r.checked),"data-disabled":r.disabled?"":void 0,...o,ref:t})});tu.displayName=eu;var V6=e=>{const{control:t,checked:n,bubbles:o=!0,...r}=e,s=i.useRef(null),c=f1(n),a=Mn(t);return i.useEffect(()=>{const d=s.current,u=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(u,"checked").set;if(c!==n&&h){const v=new Event("click",{bubbles:o});h.call(d,n),d.dispatchEvent(v)}},[c,n,o]),l.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...r,tabIndex:-1,ref:s,style:{...e.style,...a,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function nu(e){return e?"checked":"unchecked"}var ou=J1,D6=tu;const ru=i.forwardRef(({className:e,tabIndex:t=0,...n},o)=>l.jsx(ou,{className:$(["ksjsui-peer ksjsui-inline-flex ksjsui-h-6 ksjsui-w-11 ksjsui-shrink-0 ksjsui-cursor-pointer ksjsui-items-center ksjsui-rounded-full ksjsui-border-2 ksjsui-border-transparent ksjsui-bg-neutral ksjsui-transition-colors","focus-visible:ksjsui-outline-none focus-visible:ksjsui-ring-2 focus-visible:ksjsui-ring-ring focus-visible:ksjsui-ring-offset-2 focus-visible:ksjsui-ring-offset-background","disabled:ksjsui-pointer-events-none disabled:ksjsui-cursor-not-allowed disabled:ksjsui-opacity-50","data-[state=unchecked]:ksjsui-bg-input","data-[state=checked]:ksjsui-border-secondary data-[state=checked]:ksjsui-bg-secondary","forced-colors:ksjsui-border-button-border forced-colors:ksjsui-transition-none","forced-colors:data-[state=checked]:ksjsui-border-highlight forced-colors:data-[state=checked]:ksjsui-bg-highlight"],e),tabIndex:t,...n,ref:o,children:l.jsx(D6,{className:$(["ksjsui-pointer-events-none ksjsui-block ksjsui-size-5 ksjsui-translate-x-0 ksjsui-rounded-full ksjsui-bg-thumb ksjsui-shadow ksjsui-ring-0 ksjsui-transition-transform","data-[state=unchecked]:ksjsui-translate-x-0","data-[state=checked]:ksjsui-translate-x-5","rtl:data-[state=checked]:-ksjsui-translate-x-5","forced-colors:ksjsui-bg-button-border forced-colors:ksjsui-transition-none","forced-colors:data-[state=checked]:ksjsui-bg-canvas"])})}));ru.displayName=ou.displayName;function F6(e){const t=e+"CollectionProvider",[n,o]=de(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=g=>{const{scope:C,children:p}=g,m=te.useRef(null),b=te.useRef(new Map).current;return l.jsx(r,{scope:C,itemMap:b,collectionRef:m,children:p})};c.displayName=t;const a=e+"CollectionSlot",d=te.forwardRef((g,C)=>{const{scope:p,children:m}=g,b=s(a,p),y=V(C,b.collectionRef);return l.jsx(re,{ref:y,children:m})});d.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",h=te.forwardRef((g,C)=>{const{scope:p,children:m,...b}=g,y=te.useRef(null),w=V(C,y),k=s(u,p);return te.useEffect(()=>(k.itemMap.set(y,{ref:y,...b}),()=>void k.itemMap.delete(y))),l.jsx(re,{[f]:"",ref:w,children:m})});h.displayName=u;function v(g){const C=s(e+"CollectionConsumer",g);return te.useCallback(()=>{const m=C.collectionRef.current;if(!m)return[];const b=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(C.itemMap.values()).sort((k,M)=>b.indexOf(k.ref.current)-b.indexOf(M.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:c,Slot:d,ItemSlot:h},v,o]}var Z6=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],je=Z6.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function su(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}var R6="DismissableLayer",Ar="dismissableLayer.update",W6="dismissableLayer.pointerDownOutside",z6="dismissableLayer.focusOutside",iu,au=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cu=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(au),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(m),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=U6(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),x=K6(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(iu=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),uu(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=iu)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),uu())},[f,u]),i.useEffect(()=>{const E=()=>g({});return document.addEventListener(Ar,E),()=>document.removeEventListener(Ar,E)},[]),l.jsx(je.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,x.onFocusCapture),onBlurCapture:I(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});cu.displayName=R6;var B6="DismissableLayerBranch",lu=i.forwardRef((e,t)=>{const n=i.useContext(au),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(je.div,{...e,ref:r})});lu.displayName=B6;function U6(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){du(W6,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function K6(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&du(z6,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function uu(){const e=new CustomEvent(Ar);document.dispatchEvent(e)}function du(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?su(r,s):r.dispatchEvent(s)}var G6=cu,Y6=lu,X6="Portal",fu=i.forwardRef((e,t)=>{var a;const{container:n,...o}=e,[r,s]=i.useState(!1);J(()=>s(!0),[]);const c=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return c?ut.createPortal(l.jsx(je.div,{...o,ref:t}),c):null});fu.displayName=X6;function q6(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var pu=e=>{const{present:t,children:n}=e,o=Q6(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,J6(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};pu.displayName="Presence";function Q6(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=q6(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=Rn(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,g=Rn(u);e?d("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=g=>{const p=Rn(o.current).includes(g.animationName);if(g.target===t&&p&&(d("ANIMATION_END"),!r.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},v=g=>{g.target===t&&(s.current=Rn(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function Rn(e){return(e==null?void 0:e.animationName)||"none"}function J6(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var e8="VisuallyHidden",Tr=i.forwardRef((e,t)=>l.jsx(je.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}}));Tr.displayName=e8;var jr="ToastProvider",[Or,t8,n8]=F6("Toast"),[hu,yg]=de("Toast",[n8]),[o8,Wn]=hu(jr),vu=e=>{const{__scopeToast:t,label:n="Notification",duration:o=5e3,swipeDirection:r="right",swipeThreshold:s=50,children:c}=e,[a,d]=i.useState(null),[u,f]=i.useState(0),h=i.useRef(!1),v=i.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${jr}\`. Expected non-empty \`string\`.`),l.jsx(Or.Provider,{scope:t,children:l.jsx(o8,{scope:t,label:n,duration:o,swipeDirection:r,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:d,onToastAdd:i.useCallback(()=>f(g=>g+1),[]),onToastRemove:i.useCallback(()=>f(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:v,children:c})})};vu.displayName=jr;var gu="ToastViewport",r8=["F8"],_r="toast.viewportPause",$r="toast.viewportResume",mu=i.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:o=r8,label:r="Notifications ({hotkey})",...s}=e,c=Wn(gu,n),a=t8(n),d=i.useRef(null),u=i.useRef(null),f=i.useRef(null),h=i.useRef(null),v=V(t,h,c.onViewportChange),g=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),C=c.toastCount>0;i.useEffect(()=>{const m=b=>{var w;o.length!==0&&o.every(k=>b[k]||b.code===k)&&((w=h.current)==null||w.focus())};return document.addEventListener("keydown",m),()=>document.removeEventListener("keydown",m)},[o]),i.useEffect(()=>{const m=d.current,b=h.current;if(C&&m&&b){const y=()=>{if(!c.isClosePausedRef.current){const x=new CustomEvent(_r);b.dispatchEvent(x),c.isClosePausedRef.current=!0}},w=()=>{if(c.isClosePausedRef.current){const x=new CustomEvent($r);b.dispatchEvent(x),c.isClosePausedRef.current=!1}},k=x=>{!m.contains(x.relatedTarget)&&w()},M=()=>{m.contains(document.activeElement)||w()};return m.addEventListener("focusin",y),m.addEventListener("focusout",k),m.addEventListener("pointermove",y),m.addEventListener("pointerleave",M),window.addEventListener("blur",y),window.addEventListener("focus",w),()=>{m.removeEventListener("focusin",y),m.removeEventListener("focusout",k),m.removeEventListener("pointermove",y),m.removeEventListener("pointerleave",M),window.removeEventListener("blur",y),window.removeEventListener("focus",w)}}},[C,c.isClosePausedRef]);const p=i.useCallback(({tabbingDirection:m})=>{const y=a().map(w=>{const k=w.ref.current,M=[k,...C8(k)];return m==="forwards"?M:M.reverse()});return(m==="forwards"?y.reverse():y).flat()},[a]);return i.useEffect(()=>{const m=h.current;if(m){const b=y=>{var M,x,E;const w=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!w){const L=document.activeElement,N=y.shiftKey;if(y.target===m&&N){(M=u.current)==null||M.focus();return}const _=p({tabbingDirection:N?"backwards":"forwards"}),Z=_.findIndex(j=>j===L);Dr(_.slice(Z+1))?y.preventDefault():N?(x=u.current)==null||x.focus():(E=f.current)==null||E.focus()}};return m.addEventListener("keydown",b),()=>m.removeEventListener("keydown",b)}},[a,p]),l.jsxs(Y6,{ref:d,role:"region","aria-label":r.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:C?void 0:"none"},children:[C&&l.jsx(Hr,{ref:u,onFocusFromOutsideViewport:()=>{const m=p({tabbingDirection:"forwards"});Dr(m)}}),l.jsx(Or.Slot,{scope:n,children:l.jsx(je.ol,{tabIndex:-1,...s,ref:v})}),C&&l.jsx(Hr,{ref:f,onFocusFromOutsideViewport:()=>{const m=p({tabbingDirection:"backwards"});Dr(m)}})]})});mu.displayName=gu;var Cu="ToastFocusProxy",Hr=i.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:o,...r}=e,s=Wn(Cu,n);return l.jsx(Tr,{"aria-hidden":!0,tabIndex:0,...r,ref:t,style:{position:"fixed"},onFocus:c=>{var u;const a=c.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&o()}})});Hr.displayName=Cu;var zn="Toast",s8="toast.swipeStart",i8="toast.swipeMove",a8="toast.swipeCancel",c8="toast.swipeEnd",bu=i.forwardRef((e,t)=>{const{forceMount:n,open:o,defaultOpen:r,onOpenChange:s,...c}=e,[a=!0,d]=_e({prop:o,defaultProp:r,onChange:s});return l.jsx(pu,{present:n||a,children:l.jsx(d8,{open:a,...c,ref:t,onClose:()=>d(!1),onPause:U(e.onPause),onResume:U(e.onResume),onSwipeStart:I(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:I(e.onSwipeMove,u=>{const{x:f,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:I(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:I(e.onSwipeEnd,u=>{const{x:f,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),d(!1)})})})});bu.displayName=zn;var[l8,u8]=hu(zn,{onClose(){}}),d8=i.forwardRef((e,t)=>{const{__scopeToast:n,type:o="foreground",duration:r,open:s,onClose:c,onEscapeKeyDown:a,onPause:d,onResume:u,onSwipeStart:f,onSwipeMove:h,onSwipeCancel:v,onSwipeEnd:g,...C}=e,p=Wn(zn,n),[m,b]=i.useState(null),y=V(t,j=>b(j)),w=i.useRef(null),k=i.useRef(null),M=r||p.duration,x=i.useRef(0),E=i.useRef(M),L=i.useRef(0),{onToastAdd:N,onToastRemove:T}=p,D=U(()=>{var W;(m==null?void 0:m.contains(document.activeElement))&&((W=p.viewport)==null||W.focus()),c()}),_=i.useCallback(j=>{!j||j===1/0||(window.clearTimeout(L.current),x.current=new Date().getTime(),L.current=window.setTimeout(D,j))},[D]);i.useEffect(()=>{const j=p.viewport;if(j){const W=()=>{_(E.current),u==null||u()},H=()=>{const R=new Date().getTime()-x.current;E.current=E.current-R,window.clearTimeout(L.current),d==null||d()};return j.addEventListener(_r,H),j.addEventListener($r,W),()=>{j.removeEventListener(_r,H),j.removeEventListener($r,W)}}},[p.viewport,M,d,u,_]),i.useEffect(()=>{s&&!p.isClosePausedRef.current&&_(M)},[s,M,p.isClosePausedRef,_]),i.useEffect(()=>(N(),()=>T()),[N,T]);const Z=i.useMemo(()=>m?Mu(m):null,[m]);return p.viewport?l.jsxs(l.Fragment,{children:[Z&&l.jsx(f8,{__scopeToast:n,role:"status","aria-live":o==="foreground"?"assertive":"polite","aria-atomic":!0,children:Z}),l.jsx(l8,{scope:n,onClose:D,children:xe.createPortal(l.jsx(Or.ItemSlot,{scope:n,children:l.jsx(G6,{asChild:!0,onEscapeKeyDown:I(a,()=>{p.isFocusedToastEscapeKeyDownRef.current||D(),p.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(je.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":p.swipeDirection,...C,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:I(e.onKeyDown,j=>{j.key==="Escape"&&(a==null||a(j.nativeEvent),j.nativeEvent.defaultPrevented||(p.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:I(e.onPointerDown,j=>{j.button===0&&(w.current={x:j.clientX,y:j.clientY})}),onPointerMove:I(e.onPointerMove,j=>{if(!w.current)return;const W=j.clientX-w.current.x,H=j.clientY-w.current.y,R=!!k.current,O=["left","right"].includes(p.swipeDirection),A=["left","up"].includes(p.swipeDirection)?Math.min:Math.max,K=O?A(0,W):0,z=O?0:A(0,H),oe=j.pointerType==="touch"?10:2,ae={x:K,y:z},se={originalEvent:j,delta:ae};R?(k.current=ae,Bn(i8,h,se,{discrete:!1})):Pu(ae,p.swipeDirection,oe)?(k.current=ae,Bn(s8,f,se,{discrete:!1}),j.target.setPointerCapture(j.pointerId)):(Math.abs(W)>oe||Math.abs(H)>oe)&&(w.current=null)}),onPointerUp:I(e.onPointerUp,j=>{const W=k.current,H=j.target;if(H.hasPointerCapture(j.pointerId)&&H.releasePointerCapture(j.pointerId),k.current=null,w.current=null,W){const R=j.currentTarget,O={originalEvent:j,delta:W};Pu(W,p.swipeDirection,p.swipeThreshold)?Bn(c8,g,O,{discrete:!0}):Bn(a8,v,O,{discrete:!0}),R.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),p.viewport)})]}):null}),f8=e=>{const{__scopeToast:t,children:n,...o}=e,r=Wn(zn,t),[s,c]=i.useState(!1),[a,d]=i.useState(!1);return g8(()=>c(!0)),i.useEffect(()=>{const u=window.setTimeout(()=>d(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(fu,{asChild:!0,children:l.jsx(Tr,{...o,children:s&&l.jsxs(l.Fragment,{children:[r.label," ",n]})})})},p8="ToastTitle",h8=i.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return l.jsx(je.div,{...o,ref:t})});h8.displayName=p8;var v8="ToastDescription",yu=i.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return l.jsx(je.div,{...o,ref:t})});yu.displayName=v8;var wu="ToastAction",ku=i.forwardRef((e,t)=>{const{altText:n,...o}=e;return n.trim()?l.jsx(Su,{altText:n,asChild:!0,children:l.jsx(Vr,{...o,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${wu}\`. Expected non-empty \`string\`.`),null)});ku.displayName=wu;var Eu="ToastClose",Vr=i.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e,r=u8(Eu,n);return l.jsx(Su,{asChild:!0,children:l.jsx(je.button,{type:"button",...o,ref:t,onClick:I(e.onClick,r.onClose)})})});Vr.displayName=Eu;var Su=i.forwardRef((e,t)=>{const{__scopeToast:n,altText:o,...r}=e;return l.jsx(je.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...r,ref:t})});function Mu(e){const t=[];return Array.from(e.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&t.push(o.textContent),m8(o)){const r=o.ariaHidden||o.hidden||o.style.display==="none",s=o.dataset.radixToastAnnounceExclude==="";if(!r)if(s){const c=o.dataset.radixToastAnnounceAlt;c&&t.push(c)}else t.push(...Mu(o))}}),t}function Bn(e,t,n,{discrete:o}){const r=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?su(r,s):r.dispatchEvent(s)}var Pu=(e,t,n=0)=>{const o=Math.abs(e.x),r=Math.abs(e.y),s=o>r;return t==="left"||t==="right"?s&&o>n:!s&&r>n};function g8(e=()=>{}){const t=U(e);J(()=>{let n=0,o=0;return n=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(o)}},[t])}function m8(e){return e.nodeType===e.ELEMENT_NODE}function C8(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Dr(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var b8=vu,xu=mu,Lu=bu,Iu=yu,Nu=ku,Au=Vr;const y8=1,w8=1e6;let Fr=0;function k8(){return Fr=(Fr+1)%Number.MAX_SAFE_INTEGER,Fr.toString()}const Zr=new Map,Tu=e=>{if(Zr.has(e))return;const t=setTimeout(()=>{Zr.delete(e),Ut({type:"REMOVE_TOAST",toastId:e})},w8);Zr.set(e,t)},E8=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,y8)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Tu(n):e.toasts.forEach(o=>{Tu(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Un=[];let Kn={toasts:[]};function Ut(e){Kn=E8(Kn,e),Un.forEach(t=>{t(Kn)})}function S8({...e}){const t=k8(),n=r=>Ut({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>Ut({type:"DISMISS_TOAST",toastId:t});return Ut({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:n}}function ju(){const[e,t]=i.useState(Kn);return i.useEffect(()=>(Un.push(t),()=>{const n=Un.indexOf(t);n>-1&&Un.splice(n,1)}),[e]),{...e,toast:S8,dismiss:n=>Ut({type:"DISMISS_TOAST",toastId:n})}}let Rr={toast:{dismissButtonLabel:"missing ksjsui string"}};const Ou=i.createContext(Rr);function M8({children:e}){const t=i.useRef(Rr);return l.jsx(Ou.Provider,{value:t.current,children:e})}function P8(){const e=i.useContext(Ou);if(!e)throw new Error("useStrings must be used inside <StringsProvider />");return e}function x8(e){Rr=e}const L8=b8,_u=i.forwardRef(({className:e,...t},n)=>l.jsx(xu,{ref:n,className:$(["dark-mode","ksjsui-fixed ksjsui-bottom-0 ksjsui-end-0 ksjsui-z-[100] ksjsui-flex ksjsui-max-h-screen ksjsui-w-full ksjsui-flex-col ksjsui-p-4","focus:ksjsui-outline-none","xs:ksjsui-max-w-[calc(theme(spacing.80)_+_theme(spacing.8))]"],e),...t}));_u.displayName=xu.displayName;const I8=Fe(["ksjsui-group","ksjsui-pointer-events-auto ksjsui-relative ksjsui-flex ksjsui-w-full ksjsui-items-center ksjsui-justify-between ksjsui-overflow-hidden ksjsui-rounded-lg ksjsui-border ksjsui-border-transparent ksjsui-bg-toast ksjsui-p-3 ksjsui-text-toast-foreground ksjsui-shadow-lg ksjsui-outline-ring ksjsui-transition-all","focus-visible:ksjsui-outline focus-visible:ksjsui-outline-2","data-[swipe=cancel]:ksjsui-translate-x-0","data-[swipe=end]:ksjsui-translate-x-[var(--radix-toast-swipe-end-x)]","data-[swipe=move]:ksjsui-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:ksjsui-transition-none","data-[state=open]:ksjsui-animate-in data-[state=open]:ksjsui-slide-in-from-bottom-full","data-[state=closed]:ksjsui-animate-out data-[state=closed]:ksjsui-fade-out-80","data-[state=closed]:ksjsui-slide-out-to-bottom-full","[.light-mode_&]:focus:ksjsui-outline-light-mode-focus-fix"]),$u=i.forwardRef(({className:e,...t},n)=>l.jsx(Lu,{ref:n,className:$(I8(),e),...t}));$u.displayName=Lu.displayName;const N8=i.forwardRef(({className:e,...t},n)=>l.jsx(Nu,{ref:n,className:$(["ksjsui-inline-flex ksjsui-h-8 ksjsui-shrink-0 ksjsui-items-center ksjsui-justify-center ksjsui-rounded-lg ksjsui-border ksjsui-bg-transparent ksjsui-px-3 ksjsui-text-sm ksjsui-font-medium ksjsui-ring-offset-background ksjsui-transition-colors","focus:ksjsui-outline-none focus:ksjsui-ring-2 focus:ksjsui-ring-ring focus:ksjsui-ring-offset-2","disabled:ksjsui-pointer-events-none disabled:ksjsui-opacity-50"],e),...t}));N8.displayName=Nu.displayName;const Hu=i.forwardRef(({className:e,...t},n)=>l.jsx(Au,{ref:n,className:$(["ksjsui-text-current/50 ksjsui-self-start ksjsui-rounded-sm ksjsui-opacity-0 ksjsui-outline-ring ksjsui-transition-opacity","focus-visible:ksjsui-opacity-100 focus-visible:ksjsui-outline focus-visible:ksjsui-outline-2","group-hover:ksjsui-opacity-100","group-focus-visible:ksjsui-opacity-100","[.light-mode_&]:focus:ksjsui-outline-light-mode-focus-fix"],e),"toast-close":"",...t,children:l.jsx(Po,{})}));Hu.displayName=Au.displayName;const Vu=i.forwardRef(({className:e,...t},n)=>l.jsx(Iu,{ref:n,className:$("ksjsui-text-[15px]",e),...t}));Vu.displayName=Iu.displayName;const A8=()=>{const{toasts:e}=ju(),{toast:t}=P8();return l.jsxs(L8,{children:[e.map(function({id:n,className:o,title:r,description:s,action:c,icon:a,dismissButtonLabel:d,...u}){return l.jsxs($u,{...u,className:$("ksjsui-flex ksjsui-items-start ksjsui-gap-x-4",o),children:[a&&l.jsx("div",{className:"ksjsui-shrink-0",children:a}),l.jsx("div",{className:"ksjsui-grid ksjsui-grow ksjsui-gap-1",children:s&&l.jsx(Vu,{children:s})}),c,l.jsx(Hu,{"aria-label":d||t.dismissButtonLabel})]},n)}),l.jsx(_u,{})]})};var T8=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ct=T8.reduce((e,t)=>{const n=i.forwardRef((o,r)=>{const{asChild:s,...c}=o,a=s?re:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...c,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function j8(e,t){e&&xe.flushSync(()=>e.dispatchEvent(t))}var O8="DismissableLayer",Wr="dismissableLayer.update",_8="dismissableLayer.pointerDownOutside",$8="dismissableLayer.focusOutside",Du,Fu=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Zu=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:s,onInteractOutside:c,onDismiss:a,...d}=e,u=i.useContext(Fu),[f,h]=i.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=i.useState({}),C=V(t,E=>h(E)),p=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(m),y=f?p.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=b,M=D8(E=>{const L=E.target,N=[...u.branches].some(T=>T.contains(L));!k||N||(r==null||r(E),c==null||c(E),E.defaultPrevented||a==null||a())},v),x=F8(E=>{const L=E.target;[...u.branches].some(T=>T.contains(L))||(s==null||s(E),c==null||c(E),E.defaultPrevented||a==null||a())},v);return It(E=>{y===u.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},v),i.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Du=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Ru(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Du)}},[f,v,n,u]),i.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Ru())},[f,u]),i.useEffect(()=>{const E=()=>g({});return document.addEventListener(Wr,E),()=>document.removeEventListener(Wr,E)},[]),l.jsx(ct.div,{...d,ref:C,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,x.onFocusCapture),onBlurCapture:I(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,M.onPointerDownCapture)})});Zu.displayName=O8;var H8="DismissableLayerBranch",V8=i.forwardRef((e,t)=>{const n=i.useContext(Fu),o=i.useRef(null),r=V(t,o);return i.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(ct.div,{...e,ref:r})});V8.displayName=H8;function D8(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const s=a=>{if(a.target&&!o.current){let d=function(){Wu(_8,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=d,t.addEventListener("click",r.current,{once:!0})):d()}else t.removeEventListener("click",r.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function F8(e,t=globalThis==null?void 0:globalThis.document){const n=U(e),o=i.useRef(!1);return i.useEffect(()=>{const r=s=>{s.target&&!o.current&&Wu($8,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ru(){const e=new CustomEvent(Wr);document.dispatchEvent(e)}function Wu(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?j8(r,s):r.dispatchEvent(s)}var Z8="Arrow",zu=i.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return l.jsx(ct.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});zu.displayName=Z8;var R8=zu,zr="Popper",[Bu,Uu]=de(zr),[W8,Ku]=Bu(zr),Gu=e=>{const{__scopePopper:t,children:n}=e,[o,r]=i.useState(null);return l.jsx(W8,{scope:t,anchor:o,onAnchorChange:r,children:n})};Gu.displayName=zr;var Yu="PopperAnchor",Xu=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=Ku(Yu,n),c=i.useRef(null),a=V(t,c);return i.useEffect(()=>{s.onAnchorChange((o==null?void 0:o.current)||c.current)}),o?null:l.jsx(ct.div,{...r,ref:a})});Xu.displayName=Yu;var Br="PopperContent",[z8,B8]=Bu(Br),qu=i.forwardRef((e,t)=>{var F,Y,Q,G,X,q;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:c=0,arrowPadding:a=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:g="optimized",onPlaced:C,...p}=e,m=Ku(Br,n),[b,y]=i.useState(null),w=V(t,ee=>y(ee)),[k,M]=i.useState(null),x=Mn(k),E=(x==null?void 0:x.width)??0,L=(x==null?void 0:x.height)??0,N=o+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(u)?u:[u],_=D.length>0,Z={padding:T,boundary:D.filter(K8),altBoundary:_},{refs:j,floatingStyles:W,placement:H,isPositioned:R,middlewareData:O}=mn({strategy:"fixed",placement:N,whileElementsMounted:(...ee)=>hn(...ee,{animationFrame:g==="always"}),elements:{reference:m.anchor},middleware:[Cn({mainAxis:r+L,alignmentAxis:c}),d&&bn({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?yn():void 0,...Z}),d&&wn({...Z}),kn({...Z,apply:({elements:ee,rects:le,availableWidth:Se,availableHeight:Me})=>{const{width:Pe,height:lt}=le.reference,ue=ee.floating.style;ue.setProperty("--radix-popper-available-width",`${Se}px`),ue.setProperty("--radix-popper-available-height",`${Me}px`),ue.setProperty("--radix-popper-anchor-width",`${Pe}px`),ue.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),k&&Sn({element:k,padding:a}),G8({arrowWidth:E,arrowHeight:L}),v&&En({strategy:"referenceHidden",...Z})]}),[A,K]=ed(H),z=U(C);J(()=>{R&&(z==null||z())},[R,z]);const oe=(F=O.arrow)==null?void 0:F.x,ae=(Y=O.arrow)==null?void 0:Y.y,se=((Q=O.arrow)==null?void 0:Q.centerOffset)!==0,[he,ce]=i.useState();return J(()=>{b&&ce(window.getComputedStyle(b).zIndex)},[b]),l.jsx("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:R?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(G=O.transformOrigin)==null?void 0:G.x,(X=O.transformOrigin)==null?void 0:X.y].join(" "),...((q=O.hide)==null?void 0:q.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(z8,{scope:n,placedSide:A,onArrowChange:M,arrowX:oe,arrowY:ae,shouldHideArrow:se,children:l.jsx(ct.div,{"data-side":A,"data-align":K,...p,ref:w,style:{...p.style,animation:R?void 0:"none"}})})})});qu.displayName=Br;var Qu="PopperArrow",U8={top:"bottom",right:"left",bottom:"top",left:"right"},Ju=i.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=B8(Qu,o),c=U8[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(R8,{...r,ref:n,style:{...r.style,display:"block"}})})});Ju.displayName=Qu;function K8(e){return e!==null}var G8=e=>({name:"transformOrigin",options:e,fn(t){var m,b,y;const{placement:n,rects:o,middlewareData:r}=t,c=((m=r.arrow)==null?void 0:m.centerOffset)!==0,a=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[u,f]=ed(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(((b=r.arrow)==null?void 0:b.x)??0)+a/2,g=(((y=r.arrow)==null?void 0:y.y)??0)+d/2;let C="",p="";return u==="bottom"?(C=c?h:`${v}px`,p=`${-d}px`):u==="top"?(C=c?h:`${v}px`,p=`${o.floating.height+d}px`):u==="right"?(C=`${-d}px`,p=c?h:`${g}px`):u==="left"&&(C=`${o.floating.width+d}px`,p=c?h:`${g}px`),{data:{x:C,y:p}}}});function ed(e){const[t,n="center"]=e.split("-");return[t,n]}var Y8=Gu,X8=Xu,q8=qu,Q8=Ju;function J8(e,t){return i.useReducer((n,o)=>t[n][o]??n,e)}var td=e=>{const{present:t,children:n}=e,o=ev(t),r=typeof n=="function"?n({present:o.isPresent}):i.Children.only(n),s=V(o.ref,tv(r));return typeof n=="function"||o.isPresent?i.cloneElement(r,{ref:s}):null};td.displayName="Presence";function ev(e){const[t,n]=i.useState(),o=i.useRef({}),r=i.useRef(e),s=i.useRef("none"),c=e?"mounted":"unmounted",[a,d]=J8(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const u=Gn(o.current);s.current=a==="mounted"?u:"none"},[a]),J(()=>{const u=o.current,f=r.current;if(f!==e){const v=s.current,g=Gn(u);e?d("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?d("UNMOUNT"):d(f&&v!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,d]),J(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=g=>{const p=Gn(o.current).includes(g.animationName);if(g.target===t&&p&&(d("ANIMATION_END"),!r.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},v=g=>{g.target===t&&(s.current=Gn(o.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(u=>{u&&(o.current=getComputedStyle(u)),n(u)},[])}}function Gn(e){return(e==null?void 0:e.animationName)||"none"}function tv(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var nv="VisuallyHidden",nd=i.forwardRef((e,t)=>l.jsx(ct.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}}));nd.displayName=nv;var ov=nd,[Yn,kg]=de("Tooltip",[Uu]),Xn=Uu(),od="TooltipProvider",rv=700,Ur="tooltip.open",[sv,Kr]=Yn(od),rd=e=>{const{__scopeTooltip:t,delayDuration:n=rv,skipDelayDuration:o=300,disableHoverableContent:r=!1,children:s}=e,[c,a]=i.useState(!0),d=i.useRef(!1),u=i.useRef(0);return i.useEffect(()=>{const f=u.current;return()=>window.clearTimeout(f)},[]),l.jsx(sv,{scope:t,isOpenDelayed:c,delayDuration:n,onOpen:i.useCallback(()=>{window.clearTimeout(u.current),a(!1)},[]),onClose:i.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a(!0),o)},[o]),isPointerInTransitRef:d,onPointerInTransitChange:i.useCallback(f=>{d.current=f},[]),disableHoverableContent:r,children:s})};rd.displayName=od;var qn="Tooltip",[iv,Qn]=Yn(qn),sd=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:r=!1,onOpenChange:s,disableHoverableContent:c,delayDuration:a}=e,d=Kr(qn,e.__scopeTooltip),u=Xn(t),[f,h]=i.useState(null),v=me(),g=i.useRef(0),C=c??d.disableHoverableContent,p=a??d.delayDuration,m=i.useRef(!1),[b=!1,y]=_e({prop:o,defaultProp:r,onChange:E=>{E?(d.onOpen(),document.dispatchEvent(new CustomEvent(Ur))):d.onClose(),s==null||s(E)}}),w=i.useMemo(()=>b?m.current?"delayed-open":"instant-open":"closed",[b]),k=i.useCallback(()=>{window.clearTimeout(g.current),g.current=0,m.current=!1,y(!0)},[y]),M=i.useCallback(()=>{window.clearTimeout(g.current),g.current=0,y(!1)},[y]),x=i.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{m.current=!0,y(!0),g.current=0},p)},[p,y]);return i.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),l.jsx(Y8,{...u,children:l.jsx(iv,{scope:t,contentId:v,open:b,stateAttribute:w,trigger:f,onTriggerChange:h,onTriggerEnter:i.useCallback(()=>{d.isOpenDelayed?x():k()},[d.isOpenDelayed,x,k]),onTriggerLeave:i.useCallback(()=>{C?M():(window.clearTimeout(g.current),g.current=0)},[M,C]),onOpen:k,onClose:M,disableHoverableContent:C,children:n})})};sd.displayName=qn;var Gr="TooltipTrigger",id=i.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=Qn(Gr,n),s=Kr(Gr,n),c=Xn(n),a=i.useRef(null),d=V(t,a,r.onTriggerChange),u=i.useRef(!1),f=i.useRef(!1),h=i.useCallback(()=>u.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),l.jsx(X8,{asChild:!0,...c,children:l.jsx(ct.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...o,ref:d,onPointerMove:I(e.onPointerMove,v=>{v.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(r.onTriggerEnter(),f.current=!0)}),onPointerLeave:I(e.onPointerLeave,()=>{r.onTriggerLeave(),f.current=!1}),onPointerDown:I(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:I(e.onFocus,()=>{u.current||r.onOpen()}),onBlur:I(e.onBlur,r.onClose),onClick:I(e.onClick,r.onClose)})})});id.displayName=Gr;var av="TooltipPortal",[Eg,cv]=Yn(av,{forceMount:void 0}),Mt="TooltipContent",ad=i.forwardRef((e,t)=>{const n=cv(Mt,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...s}=e,c=Qn(Mt,e.__scopeTooltip);return l.jsx(td,{present:o||c.open,children:c.disableHoverableContent?l.jsx(cd,{side:r,...s,ref:t}):l.jsx(lv,{side:r,...s,ref:t})})}),lv=i.forwardRef((e,t)=>{const n=Qn(Mt,e.__scopeTooltip),o=Kr(Mt,e.__scopeTooltip),r=i.useRef(null),s=V(t,r),[c,a]=i.useState(null),{trigger:d,onClose:u}=n,f=r.current,{onPointerInTransitChange:h}=o,v=i.useCallback(()=>{a(null),h(!1)},[h]),g=i.useCallback((C,p)=>{const m=C.currentTarget,b={x:C.clientX,y:C.clientY},y=fv(b,m.getBoundingClientRect()),w=pv(b,y),k=hv(p.getBoundingClientRect()),M=gv([...w,...k]);a(M),h(!0)},[h]);return i.useEffect(()=>()=>v(),[v]),i.useEffect(()=>{if(d&&f){const C=m=>g(m,f),p=m=>g(m,d);return d.addEventListener("pointerleave",C),f.addEventListener("pointerleave",p),()=>{d.removeEventListener("pointerleave",C),f.removeEventListener("pointerleave",p)}}},[d,f,g,v]),i.useEffect(()=>{if(c){const C=p=>{const m=p.target,b={x:p.clientX,y:p.clientY},y=(d==null?void 0:d.contains(m))||(f==null?void 0:f.contains(m)),w=!vv(b,c);y?v():w&&(v(),u())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[d,f,c,u,v]),l.jsx(cd,{...e,ref:s})}),[uv,dv]=Yn(qn,{isInside:!1}),cd=i.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":r,onEscapeKeyDown:s,onPointerDownOutside:c,...a}=e,d=Qn(Mt,n),u=Xn(n),{onClose:f}=d;return i.useEffect(()=>(document.addEventListener(Ur,f),()=>document.removeEventListener(Ur,f)),[f]),i.useEffect(()=>{if(d.trigger){const h=v=>{const g=v.target;g!=null&&g.contains(d.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[d.trigger,f]),l.jsx(Zu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:l.jsxs(q8,{"data-state":d.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(eo,{children:o}),l.jsx(uv,{scope:n,isInside:!0,children:l.jsx(ov,{id:d.contentId,role:"tooltip",children:r||o})})]})})});ad.displayName=Mt;var ld="TooltipArrow",ud=i.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=Xn(n);return dv(ld,n).isInside?null:l.jsx(Q8,{...r,...o,ref:t})});ud.displayName=ld;function fv(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,o,r,s)){case s:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function pv(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function hv(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}function vv(e,t){const{x:n,y:o}=e;let r=!1;for(let s=0,c=t.length-1;s<t.length;c=s++){const a=t[s].x,d=t[s].y,u=t[c].x,f=t[c].y;d>o!=f>o&&n<(u-a)*(o-d)/(f-d)+a&&(r=!r)}return r}function gv(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),mv(t)}function mv(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const r=e[o];for(;t.length>=2;){const s=t[t.length-1],c=t[t.length-2];if((s.x-c.x)*(r.y-c.y)>=(s.y-c.y)*(r.x-c.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const r=e[o];for(;n.length>=2;){const s=n[n.length-1],c=n[n.length-2];if((s.x-c.x)*(r.y-c.y)>=(s.y-c.y)*(r.x-c.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Cv=rd,bv=sd,yv=id,dd=ad,wv=ud;const kv=({disableHoverableContent:e=!0,...t})=>l.jsx(Cv,{disableHoverableContent:e,...t}),Ev=bv,Sv=yv,fd=i.forwardRef(({children:e,className:t,collisionPadding:n={left:12,right:12},side:o="bottom",sideOffset:r=4,...s},c)=>l.jsxs(dd,{ref:c,sideOffset:r,side:o,collisionPadding:n,className:$(["ksjsui-z-50 ksjsui-max-w-[var(--radix-popper-available-width)] ksjsui-origin-[var(--radix-tooltip-content-transform-origin)] ksjsui-rounded ksjsui-bg-popover-foreground ksjsui-px-3 ksjsui-py-2 ksjsui-text-[15px] ksjsui-text-popover ksjsui-shadow-md ksjsui-will-change-transform","sm:ksjsui-max-w-prose","motion-safe:ksjsui-duration-300 motion-safe:ksjsui-animate-in motion-safe:ksjsui-fade-in-0","motion-safe:data-[state=closed]:ksjsui-animate-out motion-safe:data-[state=closed]:ksjsui-fade-out-0","forced-colors:ksjsui-border forced-colors:ksjsui-border-canvas-text"],t),...s,children:[e,l.jsx(wv,{className:$(["ksjsui-z-50 -ksjsui-translate-y-1/2 ksjsui-rotate-45 ksjsui-rounded-br-[2px] ksjsui-border-b ksjsui-border-r ksjsui-border-popover-foreground ksjsui-bg-popover-foreground ksjsui-fill-popover-foreground","forced-colors:ksjsui-translate-y-[calc(-50%_+_0.75px)] forced-colors:ksjsui-border-canvas-text forced-colors:ksjsui-bg-canvas forced-colors:ksjsui-fill-canvas forced-colors:ksjsui-shadow-none"]),style:{width:10,height:10}})]}));fd.displayName=dd.displayName;const Yr=["px",0,.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],Mv=[...Yr,"auto"];function Pv(){return Yr.reduce((e,t)=>(e.gap[t]=`ksjsui-gap-${t}`,e.gapColumn[t]=`ksjsui-gap-x-${t}`,e.gapRow[t]=`ksjsui-gap-y-${t}`,e),{gap:{},gapColumn:{},gapRow:{}})}function pd(){return Mv.reduce((e,t)=>(e.m[t]=`ksjsui-m-${t}`,e.mb[t]=`ksjsui-mb-${t}`,e.me[t]=`ksjsui-me-${t}`,e.ms[t]=`ksjsui-ms-${t}`,e.mt[t]=`ksjsui-mt-${t}`,e.mx[t]=`ksjsui-mx-${t}`,e.my[t]=`ksjsui-my-${t}`,e),{m:{},mb:{},me:{},ms:{},mt:{},mx:{},my:{}})}function hd(){return Yr.reduce((e,t)=>(e.p[t]=`ksjsui-p-${t}`,e.pb[t]=`ksjsui-pb-${t}`,e.pe[t]=`ksjsui-pe-${t}`,e.ps[t]=`ksjsui-ps-${t}`,e.pt[t]=`ksjsui-pt-${t}`,e.px[t]=`ksjsui-px-${t}`,e.py[t]=`ksjsui-py-${t}`,e),{p:{},pb:{},pe:{},ps:{},pt:{},px:{},py:{}})}const xv=Fe("",{variants:{display:{block:"ksjsui-block","inline-block":"ksjsui-inline-block",none:"ksjsui-hidden"},...pd(),...hd()},defaultVariants:{display:"block"}}),vd=i.forwardRef(({as:e="div",asChild:t,className:n,display:o,m:r,mb:s,me:c,ms:a,mt:d,mx:u,my:f,p:h,pb:v,pe:g,ps:C,pt:p,px:m,py:b,...y},w)=>{const k=t?re:e;return l.jsx(k,{className:$(xv({display:o,m:r,mb:s,me:c,ms:a,mt:d,mx:u,my:f,p:h,pb:v,pe:g,ps:C,pt:p,px:m,py:b,className:n})),ref:w,...y})});vd.displayName="Box";const Lv={align:{baseline:"ksjsui-items-baseline",center:"ksjsui-items-center",end:"ksjsui-items-end",start:"ksjsui-items-start",stretch:"ksjsui-items-stretch"},direction:{"column-reverse":"ksjsui-flex-col-reverse","row-reverse":"ksjsui-flex-row-reverse",column:"ksjsui-flex-col",row:"ksjsui-flex-row"},display:{"inline-flex":"ksjsui-inline-flex",flex:"ksjsui-flex",none:"ksjsui-hidden"},...Pv(),grow:{0:"ksjsui-grow-0",1:"ksjsui-grow"},justify:{around:"ksjsui-justify-around",baseline:"ksjsui-justify-baseline",between:"ksjsui-justify-between",center:"ksjsui-justify-center",end:"ksjsui-justify-end",evenly:"ksjsui-justify-evenly",normal:"ksjsui-justify-normal",start:"ksjsui-justify-start",stretch:"ksjsui-justify-stretch"},...pd(),...hd(),self:{auto:"ksjsui-self-auto",baseline:"ksjsui-self-baseline",center:"ksjsui-self-center",end:"ksjsui-self-end",start:"ksjsui-self-start",stretch:"ksjsui-self-stretch"},shrink:{0:"ksjsui-shrink-0",1:"ksjsui-shrink"},wrap:{nowrap:"ksjsui-flex-nowrap",reverse:"ksjsui-flex-wrap-reverse",wrap:"ksjsui-flex-wrap"}},Iv=Fe("ksjsui-inline-flex",{variants:{...Lv},defaultVariants:{display:"flex",justify:"start"}}),gd=i.forwardRef(({align:e,as:t="div",asChild:n,className:o,display:r,direction:s,gap:c,gapColumn:a,gapRow:d,grow:u,justify:f,m:h,mb:v,me:g,ms:C,mt:p,mx:m,my:b,p:y,pb:w,pe:k,ps:M,pt:x,px:E,py:L,self:N,shrink:T,wrap:D,..._},Z)=>{const j=n?re:t;return l.jsx(j,{className:$(Iv({align:e,direction:s,display:r,gap:c,gapColumn:a,gapRow:d,grow:u,justify:f,m:h,mb:v,me:g,ms:C,mt:p,mx:m,my:b,p:y,pb:w,pe:k,ps:M,pt:x,px:E,py:L,self:N,shrink:T,wrap:D,className:o})),ref:Z,..._})});gd.displayName="Flex",S.AccessibilityIcon=_2,S.AppWindowGlobeIcon=D2,S.AppWindowPromptTopRightIcon=H2,S.AppWindowTerminalIcon=F2,S.ArrowDownIcon=mi,S.ArrowLeftIcon=Z2,S.Avatar=ws,S.AvatarFallback=Es,S.AvatarImage=ks,S.BadgeUserIcon=R2,S.BirthCertificateIcon=W2,S.Box=vd,S.Button=ao,S.CheckIcon=Eo,S.ChevronDownIcon=z2,S.ChevronLeftIcon=So,S.ChevronRightIcon=Mo,S.ChevronUpIcon=B2,S.CircleAlertIcon=K2,S.CircleAlertOutlineIcon=U2,S.CircleCheckIcon=G2,S.CircleHelpIcon=X2,S.CircleHelpOutlineIcon=Y2,S.CircleInfoOutlineIcon=q2,S.CircleLockIcon=J2,S.CirclePlusIcon=ep,S.CircleSegmentTopRightIcon=np,S.CircleUserIcon=sp,S.CircleUserOffIcon=rp,S.CircleXIcon=ip,S.ClipboardIcon=up,S.ClipboardXIcon=cp,S.CopyIcon=dp,S.CreditCardIcon=fp,S.DatabaseIcon=hp,S.DatabaseMapPinIcon=pp,S.Dialog=t3,S.DialogClose=o3,S.DialogContent=yi,S.DialogDescription=Si,S.DialogFooter=ki,S.DialogHeader=wi,S.DialogOverlay=xo,S.DialogPortal=bi,S.DialogTitle=Ei,S.DialogTrigger=n3,S.DiceIcon=yp,S.DiceOutlineIcon=gp,S.DiceWhiteIcon=Cp,S.DirectionProvider=s3,S.DotIcon=wp,S.DotOutlineIcon=kp,S.DownloadIcon=Ep,S.DropdownMenu=Wh,S.DropdownMenuCheckboxItem=xc,S.DropdownMenuContent=Mc,S.DropdownMenuGroup=kc,S.DropdownMenuItem=Pc,S.DropdownMenuLabel=Ic,S.DropdownMenuPortal=Bh,S.DropdownMenuRadioGroup=Kh,S.DropdownMenuRadioItem=Lc,S.DropdownMenuSeparator=Nc,S.DropdownMenuShortcut=Ac,S.DropdownMenuSub=Uh,S.DropdownMenuSubContent=Sc,S.DropdownMenuSubTrigger=Ec,S.DropdownMenuTrigger=zh,S.EarthIcon=Sp,S.EllipsisHorizontalIcon=Mp,S.EllipsisVerticalIcon=Pp,S.EyeIcon=xp,S.EyeOffIcon=Lp,S.FileCogIcon=Ip,S.FileLockIcon=Np,S.FingerprintIcon=Ap,S.Flex=gd,S.FolderIcon=Tp,S.FolderShareIcon=jp,S.GlobeIcon=Op,S.HospitalIcon=_p,S.IconButton=Tc,S.IdCardIcon=$p,S.KeeperCoinIcon=Dp,S.KeeperIcon=Hp,S.KeeperOffIcon=Fp,S.KeeperSquareInputIcon=Rp,S.KeyUserIcon=zp,S.KeyboardIcon=Bp,S.LandmarkIcon=Up,S.LightbulbIcon=Gp,S.List=jc,S.ListItem=Oc,S.ListItemArrow=_c,S.ListItemButton=$c,S.ListItemText=Hc,S.ListLabel=Vc,S.ListSeparator=Dc,S.Loader=io,S.LockIcon=Xp,S.LockOutlineIcon=Yp,S.LogInIcon=qp,S.LogOutIcon=Qp,S.MapPinIcon=Jp,S.MembershipCardIcon=e0,S.MessageSquareInfoIcon=t0,S.MessageSquareMoreIcon=n0,S.MessageSquarePenLineIcon=o0,S.MonitorLayoutGridIcon=r0,S.MoonIcon=s0,S.NetworkIcon=i0,S.OctagonAlertIcon=c0,S.PaletteIcon=l0,S.PanelLandscapeIcon=u0,S.PanelPortraitIcon=d0,S.PanelsTopLeftIcon=f0,S.PaperclipIcon=p0,S.PcCaseIcon=h0,S.PencilIcon=v0,S.Popover=n4,S.PopoverContent=xl,S.PopoverTrigger=o4,S.PowerIcon=m0,S.RadioIcon=C0,S.RadioSelectedIcon=Ci,S.RefreshCcwIcon=b0,S.ReplyIcon=y0,S.RotateCwIcon=w0,S.SaveIcon=k0,S.ScanCameraIcon=E0,S.ScrollArea=gr,S.ScrollAreaViewport=mr,S.ScrollBar=Cr,S.SearchIcon=S0,S.Select=M6,S.SelectContent=U1,S.SelectItem=K1,S.SelectTrigger=B1,S.SelectValue=P6,S.Separator=q1,S.ServerIcon=M0,S.SettingsIcon=P0,S.ShapesIcon=L0,S.ShieldQuestionIcon=I0,S.ShieldSecurityIcon=N0,S.SkipForwardIcon=A0,S.SlidersHorizontalIcon=j0,S.SocialSecurityCardIcon=O0,S.SquareArrowOutUpRightIcon=$0,S.SquareCheckIcon=V0,S.SquareGlobeLineIcon=D0,S.SquareIcon=_0,S.SquareImageIcon=F0,S.SquareInputIcon=Z0,S.SquareKeyUserIcon=R0,S.SquareUserIcon=W0,S.StarIcon=B0,S.StarOutlineIcon=z0,S.StringsProvider=M8,S.SunIcon=K0,S.Switch=ru,S.TimerIcon=G0,S.Toast=A8,S.Tooltip=Ev,S.TooltipContent=fd,S.TooltipProvider=kv,S.TooltipTrigger=Sv,S.TrashIcon=X0,S.TriangleAlertIcon=q0,S.UsersIcon=Q0,S.VaultIcon=e3,S.XIcon=Po,S.configureStrings=x8,S.useToast=ju,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})});
|