remote-codex 0.11.2 → 0.11.3

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.
@@ -1,4 +1,4 @@
1
- import{r as c,R as _t,j as w,a as Pt}from"./react-vendor-o1Xrx7m4.js";function ln(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function $r(...e){return t=>{let n=!1;const o=e.map(r=>{const i=ln(r,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let r=0;r<o.length;r++){const i=o[r];typeof i=="function"?i():ln(e[r],null)}}}}function H(...e){return c.useCallback($r(...e),e)}function Se(e){const t=c.forwardRef((n,o)=>{let{children:r,...i}=n,a=null,s=!1;const l=[];un(r)&&typeof De=="function"&&(r=De(r._payload)),c.Children.forEach(r,h=>{var m;if(Br(h)){s=!0;const y=h;let p="child"in y.props?y.props.child:y.props.children;un(p)&&typeof De=="function"&&(p=De(p._payload)),a=Fr(y,p),l.push((m=a==null?void 0:a.props)==null?void 0:m.children)}else l.push(h)}),a?a=c.cloneElement(a,void 0,l):!s&&c.Children.count(r)===1&&c.isValidElement(r)&&(a=r);const u=a?Vr(a):void 0,d=H(o,u);if(!a){if(r||r===0)throw new Error(s?qr(e):Ur(e));return r}const f=Hr(i,a.props??{});return a.type!==c.Fragment&&(f.ref=o?d:u),c.cloneElement(a,f)});return t.displayName=`${e}.Slot`,t}var su=Se("Slot"),$n=Symbol.for("radix.slottable");function jr(e){const t=n=>"child"in n?n.children(n.child):n.children;return t.displayName=`${e}.Slottable`,t.__radixId=$n,t}var Fr=(e,t)=>{if("child"in e.props){const n=e.props.child;return c.isValidElement(n)?c.cloneElement(n,void 0,e.props.children(n.props.children)):null}return c.isValidElement(t)?t:null};function Hr(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...s)=>{const l=i(...s);return r(...s),l}:r&&(n[o]=r):o==="style"?n[o]={...r,...i}:o==="className"&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}function Vr(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 Br(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$n}var Wr=Symbol.for("react.lazy");function un(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Wr&&"_payload"in e&&zr(e._payload)}function zr(e){return typeof e=="object"&&e!==null&&"then"in e}var Ur=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,qr=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,De=_t[" use ".trim().toString()];/**
1
+ import{r as c,R as _t,j as w,a as Pt}from"./react-vendor-o1Xrx7m4.js";function ln(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function $r(...e){return t=>{let n=!1;const o=e.map(r=>{const i=ln(r,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let r=0;r<o.length;r++){const i=o[r];typeof i=="function"?i():ln(e[r],null)}}}}function H(...e){return c.useCallback($r(...e),e)}function Se(e){const t=c.forwardRef((n,o)=>{let{children:r,...i}=n,a=null,s=!1;const l=[];un(r)&&typeof De=="function"&&(r=De(r._payload)),c.Children.forEach(r,h=>{var m;if(Br(h)){s=!0;const y=h;let p="child"in y.props?y.props.child:y.props.children;un(p)&&typeof De=="function"&&(p=De(p._payload)),a=Fr(y,p),l.push((m=a==null?void 0:a.props)==null?void 0:m.children)}else l.push(h)}),a?a=c.cloneElement(a,void 0,l):!s&&c.Children.count(r)===1&&c.isValidElement(r)&&(a=r);const u=a?Vr(a):void 0,d=H(o,u);if(!a){if(r||r===0)throw new Error(s?qr(e):Ur(e));return r}const f=Hr(i,a.props??{});return a.type!==c.Fragment&&(f.ref=o?d:u),c.cloneElement(a,f)});return t.displayName=`${e}.Slot`,t}var cu=Se("Slot"),$n=Symbol.for("radix.slottable");function jr(e){const t=n=>"child"in n?n.children(n.child):n.children;return t.displayName=`${e}.Slottable`,t.__radixId=$n,t}var Fr=(e,t)=>{if("child"in e.props){const n=e.props.child;return c.isValidElement(n)?c.cloneElement(n,void 0,e.props.children(n.props.children)):null}return c.isValidElement(t)?t:null};function Hr(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...s)=>{const l=i(...s);return r(...s),l}:r&&(n[o]=r):o==="style"?n[o]={...r,...i}:o==="className"&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}function Vr(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 Br(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$n}var Wr=Symbol.for("react.lazy");function un(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Wr&&"_payload"in e&&zr(e._payload)}function zr(e){return typeof e=="object"&&e!==null&&"then"in e}var Ur=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,qr=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,De=_t[" use ".trim().toString()];/**
2
2
  * @license lucide-react v0.544.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -23,363 +23,368 @@ import{r as c,R as _t,j as w,a as Pt}from"./react-vendor-o1Xrx7m4.js";function l
23
23
  *
24
24
  * This source code is licensed under the ISC license.
25
25
  * See the LICENSE file in the root directory of this source tree.
26
- */const Qr=[["path",{d:"M22 17h-3",key:"1lwga1"}],["path",{d:"M22 7h-5",key:"o2endc"}],["path",{d:"M5 17H2",key:"1gx9xc"}],["path",{d:"M7 7H2",key:"6bq26l"}],["rect",{x:"5",y:"14",width:"14",height:"6",rx:"2",key:"1qrzuf"}],["rect",{x:"7",y:"4",width:"10",height:"6",rx:"2",key:"we8e9z"}]],cu=E("align-vertical-distribute-center",Qr);/**
26
+ */const Qr=[["path",{d:"M22 17h-3",key:"1lwga1"}],["path",{d:"M22 7h-5",key:"o2endc"}],["path",{d:"M5 17H2",key:"1gx9xc"}],["path",{d:"M7 7H2",key:"6bq26l"}],["rect",{x:"5",y:"14",width:"14",height:"6",rx:"2",key:"1qrzuf"}],["rect",{x:"7",y:"4",width:"10",height:"6",rx:"2",key:"we8e9z"}]],lu=E("align-vertical-distribute-center",Qr);/**
27
27
  * @license lucide-react v0.544.0 - ISC
28
28
  *
29
29
  * This source code is licensed under the ISC license.
30
30
  * See the LICENSE file in the root directory of this source tree.
31
- */const Jr=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],lu=E("archive",Jr);/**
31
+ */const Jr=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],uu=E("archive",Jr);/**
32
32
  * @license lucide-react v0.544.0 - ISC
33
33
  *
34
34
  * This source code is licensed under the ISC license.
35
35
  * See the LICENSE file in the root directory of this source tree.
36
- */const ei=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],uu=E("arrow-left",ei);/**
36
+ */const ei=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],du=E("arrow-left",ei);/**
37
37
  * @license lucide-react v0.544.0 - ISC
38
38
  *
39
39
  * This source code is licensed under the ISC license.
40
40
  * See the LICENSE file in the root directory of this source tree.
41
- */const ti=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],du=E("arrow-up-right",ti);/**
41
+ */const ti=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],fu=E("arrow-up-right",ti);/**
42
42
  * @license lucide-react v0.544.0 - ISC
43
43
  *
44
44
  * This source code is licensed under the ISC license.
45
45
  * See the LICENSE file in the root directory of this source tree.
46
- */const ni=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],fu=E("book-open",ni);/**
46
+ */const ni=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],pu=E("book-open",ni);/**
47
47
  * @license lucide-react v0.544.0 - ISC
48
48
  *
49
49
  * This source code is licensed under the ISC license.
50
50
  * See the LICENSE file in the root directory of this source tree.
51
- */const oi=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],pu=E("bot",oi);/**
51
+ */const oi=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],hu=E("bot",oi);/**
52
52
  * @license lucide-react v0.544.0 - ISC
53
53
  *
54
54
  * This source code is licensed under the ISC license.
55
55
  * See the LICENSE file in the root directory of this source tree.
56
- */const ri=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],hu=E("box",ri);/**
56
+ */const ri=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],mu=E("box",ri);/**
57
57
  * @license lucide-react v0.544.0 - ISC
58
58
  *
59
59
  * This source code is licensed under the ISC license.
60
60
  * See the LICENSE file in the root directory of this source tree.
61
- */const ii=[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]],mu=E("boxes",ii);/**
61
+ */const ii=[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]],vu=E("boxes",ii);/**
62
62
  * @license lucide-react v0.544.0 - ISC
63
63
  *
64
64
  * This source code is licensed under the ISC license.
65
65
  * See the LICENSE file in the root directory of this source tree.
66
- */const ai=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],vu=E("brain",ai);/**
66
+ */const ai=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],yu=E("brain",ai);/**
67
67
  * @license lucide-react v0.544.0 - ISC
68
68
  *
69
69
  * This source code is licensed under the ISC license.
70
70
  * See the LICENSE file in the root directory of this source tree.
71
- */const si=[["path",{d:"M7.2 14.8a2 2 0 0 1 2 2",key:"1tw9gg"}],["circle",{cx:"18.5",cy:"8.5",r:"3.5",key:"1wadoa"}],["circle",{cx:"7.5",cy:"16.5",r:"5.5",key:"6mdt3g"}],["circle",{cx:"7.5",cy:"4.5",r:"2.5",key:"637s54"}]],yu=E("bubbles",si);/**
71
+ */const si=[["path",{d:"M7.2 14.8a2 2 0 0 1 2 2",key:"1tw9gg"}],["circle",{cx:"18.5",cy:"8.5",r:"3.5",key:"1wadoa"}],["circle",{cx:"7.5",cy:"16.5",r:"5.5",key:"6mdt3g"}],["circle",{cx:"7.5",cy:"4.5",r:"2.5",key:"637s54"}]],gu=E("bubbles",si);/**
72
72
  * @license lucide-react v0.544.0 - ISC
73
73
  *
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
76
- */const ci=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],gu=E("camera",ci);/**
76
+ */const ci=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],xu=E("camera",ci);/**
77
77
  * @license lucide-react v0.544.0 - ISC
78
78
  *
79
79
  * This source code is licensed under the ISC license.
80
80
  * See the LICENSE file in the root directory of this source tree.
81
- */const li=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],xu=E("chart-no-axes-column",li);/**
81
+ */const li=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],wu=E("chart-no-axes-column",li);/**
82
82
  * @license lucide-react v0.544.0 - ISC
83
83
  *
84
84
  * This source code is licensed under the ISC license.
85
85
  * See the LICENSE file in the root directory of this source tree.
86
- */const ui=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],wu=E("chevron-down",ui);/**
86
+ */const ui=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],bu=E("chevron-down",ui);/**
87
87
  * @license lucide-react v0.544.0 - ISC
88
88
  *
89
89
  * This source code is licensed under the ISC license.
90
90
  * See the LICENSE file in the root directory of this source tree.
91
- */const di=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],bu=E("chevron-right",di);/**
91
+ */const di=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Cu=E("chevron-right",di);/**
92
92
  * @license lucide-react v0.544.0 - ISC
93
93
  *
94
94
  * This source code is licensed under the ISC license.
95
95
  * See the LICENSE file in the root directory of this source tree.
96
- */const fi=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],Cu=E("chevrons-left",fi);/**
96
+ */const fi=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],ku=E("chevrons-left",fi);/**
97
97
  * @license lucide-react v0.544.0 - ISC
98
98
  *
99
99
  * This source code is licensed under the ISC license.
100
100
  * See the LICENSE file in the root directory of this source tree.
101
- */const pi=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],ku=E("chevrons-right",pi);/**
101
+ */const pi=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],Eu=E("chevrons-right",pi);/**
102
102
  * @license lucide-react v0.544.0 - ISC
103
103
  *
104
104
  * This source code is licensed under the ISC license.
105
105
  * See the LICENSE file in the root directory of this source tree.
106
- */const hi=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Eu=E("circle-check",hi);/**
106
+ */const hi=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Ru=E("circle-check",hi);/**
107
107
  * @license lucide-react v0.544.0 - ISC
108
108
  *
109
109
  * This source code is licensed under the ISC license.
110
110
  * See the LICENSE file in the root directory of this source tree.
111
- */const mi=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Ru=E("circle-x",mi);/**
111
+ */const mi=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Su=E("circle-x",mi);/**
112
112
  * @license lucide-react v0.544.0 - ISC
113
113
  *
114
114
  * This source code is licensed under the ISC license.
115
115
  * See the LICENSE file in the root directory of this source tree.
116
- */const vi=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Su=E("clipboard-list",vi);/**
116
+ */const vi=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Au=E("circle",vi);/**
117
117
  * @license lucide-react v0.544.0 - ISC
118
118
  *
119
119
  * This source code is licensed under the ISC license.
120
120
  * See the LICENSE file in the root directory of this source tree.
121
- */const yi=[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Au=E("clock-3",yi);/**
121
+ */const yi=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],_u=E("clipboard-list",yi);/**
122
122
  * @license lucide-react v0.544.0 - ISC
123
123
  *
124
124
  * This source code is licensed under the ISC license.
125
125
  * See the LICENSE file in the root directory of this source tree.
126
- */const gi=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],_u=E("code-xml",gi);/**
126
+ */const gi=[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Pu=E("clock-3",gi);/**
127
127
  * @license lucide-react v0.544.0 - ISC
128
128
  *
129
129
  * This source code is licensed under the ISC license.
130
130
  * See the LICENSE file in the root directory of this source tree.
131
- */const xi=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Pu=E("copy",xi);/**
131
+ */const xi=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Mu=E("code-xml",xi);/**
132
132
  * @license lucide-react v0.544.0 - ISC
133
133
  *
134
134
  * This source code is licensed under the ISC license.
135
135
  * See the LICENSE file in the root directory of this source tree.
136
- */const wi=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Mu=E("download",wi);/**
136
+ */const wi=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Nu=E("copy",wi);/**
137
137
  * @license lucide-react v0.544.0 - ISC
138
138
  *
139
139
  * This source code is licensed under the ISC license.
140
140
  * See the LICENSE file in the root directory of this source tree.
141
- */const bi=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],Nu=E("eraser",bi);/**
141
+ */const bi=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Ou=E("download",bi);/**
142
142
  * @license lucide-react v0.544.0 - ISC
143
143
  *
144
144
  * This source code is licensed under the ISC license.
145
145
  * See the LICENSE file in the root directory of this source tree.
146
- */const Ci=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Ou=E("external-link",Ci);/**
146
+ */const Ci=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],Tu=E("eraser",Ci);/**
147
147
  * @license lucide-react v0.544.0 - ISC
148
148
  *
149
149
  * This source code is licensed under the ISC license.
150
150
  * See the LICENSE file in the root directory of this source tree.
151
- */const ki=[["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01",key:"gkbcor"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}]],Tu=E("file-archive",ki);/**
151
+ */const ki=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Du=E("external-link",ki);/**
152
152
  * @license lucide-react v0.544.0 - ISC
153
153
  *
154
154
  * This source code is licensed under the ISC license.
155
155
  * See the LICENSE file in the root directory of this source tree.
156
- */const Ei=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],Du=E("file-code-2",Ei);/**
156
+ */const Ei=[["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01",key:"gkbcor"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}]],Iu=E("file-archive",Ei);/**
157
157
  * @license lucide-react v0.544.0 - ISC
158
158
  *
159
159
  * This source code is licensed under the ISC license.
160
160
  * See the LICENSE file in the root directory of this source tree.
161
- */const Ri=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]],Iu=E("file-image",Ri);/**
161
+ */const Ri=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],Lu=E("file-code-2",Ri);/**
162
162
  * @license lucide-react v0.544.0 - ISC
163
163
  *
164
164
  * This source code is licensed under the ISC license.
165
165
  * See the LICENSE file in the root directory of this source tree.
166
- */const Si=[["path",{d:"m18 5-2.414-2.414A2 2 0 0 0 14.172 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2",key:"142zxg"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}],["path",{d:"M8 18h1",key:"13wk12"}]],Lu=E("file-pen-line",Si);/**
166
+ */const Si=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]],$u=E("file-image",Si);/**
167
167
  * @license lucide-react v0.544.0 - ISC
168
168
  *
169
169
  * This source code is licensed under the ISC license.
170
170
  * See the LICENSE file in the root directory of this source tree.
171
- */const Ai=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],$u=E("file-text",Ai);/**
171
+ */const Ai=[["path",{d:"m18 5-2.414-2.414A2 2 0 0 0 14.172 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2",key:"142zxg"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}],["path",{d:"M8 18h1",key:"13wk12"}]],ju=E("file-pen-line",Ai);/**
172
172
  * @license lucide-react v0.544.0 - ISC
173
173
  *
174
174
  * This source code is licensed under the ISC license.
175
175
  * See the LICENSE file in the root directory of this source tree.
176
- */const _i=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],ju=E("file",_i);/**
176
+ */const _i=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Fu=E("file-text",_i);/**
177
177
  * @license lucide-react v0.544.0 - ISC
178
178
  *
179
179
  * This source code is licensed under the ISC license.
180
180
  * See the LICENSE file in the root directory of this source tree.
181
- */const Pi=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Fu=E("folder-open",Pi);/**
181
+ */const Pi=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],Hu=E("file",Pi);/**
182
182
  * @license lucide-react v0.544.0 - ISC
183
183
  *
184
184
  * This source code is licensed under the ISC license.
185
185
  * See the LICENSE file in the root directory of this source tree.
186
- */const Mi=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Hu=E("folder",Mi);/**
186
+ */const Mi=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Vu=E("folder-open",Mi);/**
187
187
  * @license lucide-react v0.544.0 - ISC
188
188
  *
189
189
  * This source code is licensed under the ISC license.
190
190
  * See the LICENSE file in the root directory of this source tree.
191
- */const Ni=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],Vu=E("git-branch",Ni);/**
191
+ */const Ni=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Bu=E("folder",Ni);/**
192
192
  * @license lucide-react v0.544.0 - ISC
193
193
  *
194
194
  * This source code is licensed under the ISC license.
195
195
  * See the LICENSE file in the root directory of this source tree.
196
- */const Oi=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],Bu=E("grip-vertical",Oi);/**
196
+ */const Oi=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],Wu=E("git-branch",Oi);/**
197
197
  * @license lucide-react v0.544.0 - ISC
198
198
  *
199
199
  * This source code is licensed under the ISC license.
200
200
  * See the LICENSE file in the root directory of this source tree.
201
- */const Ti=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Wu=E("image",Ti);/**
201
+ */const Ti=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],zu=E("grip-vertical",Ti);/**
202
202
  * @license lucide-react v0.544.0 - ISC
203
203
  *
204
204
  * This source code is licensed under the ISC license.
205
205
  * See the LICENSE file in the root directory of this source tree.
206
- */const Di=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],zu=E("info",Di);/**
206
+ */const Di=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Uu=E("image",Di);/**
207
207
  * @license lucide-react v0.544.0 - ISC
208
208
  *
209
209
  * This source code is licensed under the ISC license.
210
210
  * See the LICENSE file in the root directory of this source tree.
211
- */const Ii=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Uu=E("loader-circle",Ii);/**
211
+ */const Ii=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],qu=E("info",Ii);/**
212
212
  * @license lucide-react v0.544.0 - ISC
213
213
  *
214
214
  * This source code is licensed under the ISC license.
215
215
  * See the LICENSE file in the root directory of this source tree.
216
- */const Li=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],qu=E("menu",Li);/**
216
+ */const Li=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ku=E("loader-circle",Li);/**
217
217
  * @license lucide-react v0.544.0 - ISC
218
218
  *
219
219
  * This source code is licensed under the ISC license.
220
220
  * See the LICENSE file in the root directory of this source tree.
221
- */const $i=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Ku=E("message-square",$i);/**
221
+ */const $i=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Yu=E("menu",$i);/**
222
222
  * @license lucide-react v0.544.0 - ISC
223
223
  *
224
224
  * This source code is licensed under the ISC license.
225
225
  * See the LICENSE file in the root directory of this source tree.
226
- */const ji=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Yu=E("monitor",ji);/**
226
+ */const ji=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Xu=E("message-square",ji);/**
227
227
  * @license lucide-react v0.544.0 - ISC
228
228
  *
229
229
  * This source code is licensed under the ISC license.
230
230
  * See the LICENSE file in the root directory of this source tree.
231
- */const Fi=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Xu=E("moon",Fi);/**
231
+ */const Fi=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Gu=E("monitor",Fi);/**
232
232
  * @license lucide-react v0.544.0 - ISC
233
233
  *
234
234
  * This source code is licensed under the ISC license.
235
235
  * See the LICENSE file in the root directory of this source tree.
236
- */const Hi=[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]],Gu=E("move-right",Hi);/**
236
+ */const Hi=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Zu=E("moon",Hi);/**
237
237
  * @license lucide-react v0.544.0 - ISC
238
238
  *
239
239
  * This source code is licensed under the ISC license.
240
240
  * See the LICENSE file in the root directory of this source tree.
241
- */const Vi=[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]],Zu=E("package-open",Vi);/**
241
+ */const Vi=[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]],Qu=E("move-right",Vi);/**
242
242
  * @license lucide-react v0.544.0 - ISC
243
243
  *
244
244
  * This source code is licensed under the ISC license.
245
245
  * See the LICENSE file in the root directory of this source tree.
246
- */const Bi=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],Qu=E("panel-left-close",Bi);/**
246
+ */const Bi=[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]],Ju=E("package-open",Bi);/**
247
247
  * @license lucide-react v0.544.0 - ISC
248
248
  *
249
249
  * This source code is licensed under the ISC license.
250
250
  * See the LICENSE file in the root directory of this source tree.
251
- */const Wi=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],Ju=E("panel-left-open",Wi);/**
251
+ */const Wi=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],ed=E("panel-left-close",Wi);/**
252
252
  * @license lucide-react v0.544.0 - ISC
253
253
  *
254
254
  * This source code is licensed under the ISC license.
255
255
  * See the LICENSE file in the root directory of this source tree.
256
- */const zi=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],ed=E("paperclip",zi);/**
256
+ */const zi=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],td=E("panel-left-open",zi);/**
257
257
  * @license lucide-react v0.544.0 - ISC
258
258
  *
259
259
  * This source code is licensed under the ISC license.
260
260
  * See the LICENSE file in the root directory of this source tree.
261
- */const Ui=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],td=E("pause",Ui);/**
261
+ */const Ui=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],nd=E("paperclip",Ui);/**
262
262
  * @license lucide-react v0.544.0 - ISC
263
263
  *
264
264
  * This source code is licensed under the ISC license.
265
265
  * See the LICENSE file in the root directory of this source tree.
266
- */const qi=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],nd=E("pencil",qi);/**
266
+ */const qi=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],od=E("pause",qi);/**
267
267
  * @license lucide-react v0.544.0 - ISC
268
268
  *
269
269
  * This source code is licensed under the ISC license.
270
270
  * See the LICENSE file in the root directory of this source tree.
271
- */const Ki=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],od=E("play",Ki);/**
271
+ */const Ki=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],rd=E("pencil",Ki);/**
272
272
  * @license lucide-react v0.544.0 - ISC
273
273
  *
274
274
  * This source code is licensed under the ISC license.
275
275
  * See the LICENSE file in the root directory of this source tree.
276
- */const Yi=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],rd=E("plus",Yi);/**
276
+ */const Yi=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],id=E("play",Yi);/**
277
277
  * @license lucide-react v0.544.0 - ISC
278
278
  *
279
279
  * This source code is licensed under the ISC license.
280
280
  * See the LICENSE file in the root directory of this source tree.
281
- */const Xi=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],id=E("refresh-cw",Xi);/**
281
+ */const Xi=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],ad=E("plus",Xi);/**
282
282
  * @license lucide-react v0.544.0 - ISC
283
283
  *
284
284
  * This source code is licensed under the ISC license.
285
285
  * See the LICENSE file in the root directory of this source tree.
286
- */const Gi=[["path",{d:"M16.466 7.5C15.643 4.237 13.952 2 12 2 9.239 2 7 6.477 7 12s2.239 10 5 10c.342 0 .677-.069 1-.2",key:"10n0gc"}],["path",{d:"m15.194 13.707 3.814 1.86-1.86 3.814",key:"16shm9"}],["path",{d:"M19 15.57c-1.804.885-4.274 1.43-7 1.43-5.523 0-10-2.239-10-5s4.477-5 10-5c4.838 0 8.873 1.718 9.8 4",key:"1lxi77"}]],ad=E("rotate-3d",Gi);/**
286
+ */const Gi=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],sd=E("refresh-cw",Gi);/**
287
287
  * @license lucide-react v0.544.0 - ISC
288
288
  *
289
289
  * This source code is licensed under the ISC license.
290
290
  * See the LICENSE file in the root directory of this source tree.
291
- */const Zi=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],sd=E("rotate-ccw",Zi);/**
291
+ */const Zi=[["path",{d:"M16.466 7.5C15.643 4.237 13.952 2 12 2 9.239 2 7 6.477 7 12s2.239 10 5 10c.342 0 .677-.069 1-.2",key:"10n0gc"}],["path",{d:"m15.194 13.707 3.814 1.86-1.86 3.814",key:"16shm9"}],["path",{d:"M19 15.57c-1.804.885-4.274 1.43-7 1.43-5.523 0-10-2.239-10-5s4.477-5 10-5c4.838 0 8.873 1.718 9.8 4",key:"1lxi77"}]],cd=E("rotate-3d",Zi);/**
292
292
  * @license lucide-react v0.544.0 - ISC
293
293
  *
294
294
  * This source code is licensed under the ISC license.
295
295
  * See the LICENSE file in the root directory of this source tree.
296
- */const Qi=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],cd=E("rows-3",Qi);/**
296
+ */const Qi=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],ld=E("rotate-ccw",Qi);/**
297
297
  * @license lucide-react v0.544.0 - ISC
298
298
  *
299
299
  * This source code is licensed under the ISC license.
300
300
  * See the LICENSE file in the root directory of this source tree.
301
- */const Ji=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],ld=E("search",Ji);/**
301
+ */const Ji=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],ud=E("rows-3",Ji);/**
302
302
  * @license lucide-react v0.544.0 - ISC
303
303
  *
304
304
  * This source code is licensed under the ISC license.
305
305
  * See the LICENSE file in the root directory of this source tree.
306
- */const ea=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],ud=E("send",ea);/**
306
+ */const ea=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],dd=E("search",ea);/**
307
307
  * @license lucide-react v0.544.0 - ISC
308
308
  *
309
309
  * This source code is licensed under the ISC license.
310
310
  * See the LICENSE file in the root directory of this source tree.
311
- */const ta=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],dd=E("settings",ta);/**
311
+ */const ta=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],fd=E("send",ta);/**
312
312
  * @license lucide-react v0.544.0 - ISC
313
313
  *
314
314
  * This source code is licensed under the ISC license.
315
315
  * See the LICENSE file in the root directory of this source tree.
316
- */const na=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],fd=E("share-2",na);/**
316
+ */const na=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],pd=E("settings",na);/**
317
317
  * @license lucide-react v0.544.0 - ISC
318
318
  *
319
319
  * This source code is licensed under the ISC license.
320
320
  * See the LICENSE file in the root directory of this source tree.
321
- */const oa=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],pd=E("sparkles",oa);/**
321
+ */const oa=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],hd=E("share-2",oa);/**
322
322
  * @license lucide-react v0.544.0 - ISC
323
323
  *
324
324
  * This source code is licensed under the ISC license.
325
325
  * See the LICENSE file in the root directory of this source tree.
326
- */const ra=[["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M5 17A12 12 0 0 1 17 5",key:"1okkup"}]],hd=E("spline",ra);/**
326
+ */const ra=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],md=E("sparkles",ra);/**
327
327
  * @license lucide-react v0.544.0 - ISC
328
328
  *
329
329
  * This source code is licensed under the ISC license.
330
330
  * See the LICENSE file in the root directory of this source tree.
331
- */const ia=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],md=E("sun",ia);/**
331
+ */const ia=[["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M5 17A12 12 0 0 1 17 5",key:"1okkup"}]],vd=E("spline",ia);/**
332
332
  * @license lucide-react v0.544.0 - ISC
333
333
  *
334
334
  * This source code is licensed under the ISC license.
335
335
  * See the LICENSE file in the root directory of this source tree.
336
- */const aa=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],vd=E("terminal",aa);/**
336
+ */const aa=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],yd=E("sun",aa);/**
337
337
  * @license lucide-react v0.544.0 - ISC
338
338
  *
339
339
  * This source code is licensed under the ISC license.
340
340
  * See the LICENSE file in the root directory of this source tree.
341
- */const sa=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],yd=E("trash-2",sa);/**
341
+ */const sa=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],gd=E("terminal",sa);/**
342
342
  * @license lucide-react v0.544.0 - ISC
343
343
  *
344
344
  * This source code is licensed under the ISC license.
345
345
  * See the LICENSE file in the root directory of this source tree.
346
- */const ca=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],gd=E("upload",ca);/**
346
+ */const ca=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],xd=E("trash-2",ca);/**
347
347
  * @license lucide-react v0.544.0 - ISC
348
348
  *
349
349
  * This source code is licensed under the ISC license.
350
350
  * See the LICENSE file in the root directory of this source tree.
351
- */const la=[["circle",{cx:"12",cy:"4.5",r:"2.5",key:"r5ysbb"}],["path",{d:"m10.2 6.3-3.9 3.9",key:"1nzqf6"}],["circle",{cx:"4.5",cy:"12",r:"2.5",key:"jydg6v"}],["path",{d:"M7 12h10",key:"b7w52i"}],["circle",{cx:"19.5",cy:"12",r:"2.5",key:"1piiel"}],["path",{d:"m13.8 17.7 3.9-3.9",key:"1wyg1y"}],["circle",{cx:"12",cy:"19.5",r:"2.5",key:"13o1pw"}]],xd=E("waypoints",la);/**
351
+ */const la=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],wd=E("upload",la);/**
352
352
  * @license lucide-react v0.544.0 - ISC
353
353
  *
354
354
  * This source code is licensed under the ISC license.
355
355
  * See the LICENSE file in the root directory of this source tree.
356
- */const ua=[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]],wd=E("webhook",ua);/**
356
+ */const ua=[["circle",{cx:"12",cy:"4.5",r:"2.5",key:"r5ysbb"}],["path",{d:"m10.2 6.3-3.9 3.9",key:"1nzqf6"}],["circle",{cx:"4.5",cy:"12",r:"2.5",key:"jydg6v"}],["path",{d:"M7 12h10",key:"b7w52i"}],["circle",{cx:"19.5",cy:"12",r:"2.5",key:"1piiel"}],["path",{d:"m13.8 17.7 3.9-3.9",key:"1wyg1y"}],["circle",{cx:"12",cy:"19.5",r:"2.5",key:"13o1pw"}]],bd=E("waypoints",ua);/**
357
357
  * @license lucide-react v0.544.0 - ISC
358
358
  *
359
359
  * This source code is licensed under the ISC license.
360
360
  * See the LICENSE file in the root directory of this source tree.
361
- */const da=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],bd=E("wrench",da);/**
361
+ */const da=[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]],Cd=E("webhook",da);/**
362
362
  * @license lucide-react v0.544.0 - ISC
363
363
  *
364
364
  * This source code is licensed under the ISC license.
365
365
  * See the LICENSE file in the root directory of this source tree.
366
- */const fa=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Cd=E("x",fa);/**
366
+ */const fa=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],kd=E("wrench",fa);/**
367
367
  * @license lucide-react v0.544.0 - ISC
368
368
  *
369
369
  * This source code is licensed under the ISC license.
370
370
  * See the LICENSE file in the root directory of this source tree.
371
- */const pa=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],kd=E("zap",pa);/**
371
+ */const pa=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ed=E("x",pa);/**
372
372
  * @license lucide-react v0.544.0 - ISC
373
373
  *
374
374
  * This source code is licensed under the ISC license.
375
375
  * See the LICENSE file in the root directory of this source tree.
376
- */const ha=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Ed=E("zoom-in",ha);/**
376
+ */const ha=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Rd=E("zap",ha);/**
377
377
  * @license lucide-react v0.544.0 - ISC
378
378
  *
379
379
  * This source code is licensed under the ISC license.
380
380
  * See the LICENSE file in the root directory of this source tree.
381
- */const ma=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Rd=E("zoom-out",ma);function F(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 va(e,t){const n=c.createContext(t);n.displayName=e+"Context";const o=i=>{const{children:a,...s}=i,l=c.useMemo(()=>s,Object.values(s));return w.jsx(n.Provider,{value:l,children:a})};o.displayName=e+"Provider";function r(i){const a=c.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[o,r]}function ue(e,t=[]){let n=[];function o(i,a){const s=c.createContext(a);s.displayName=i+"Context";const l=n.length;n=[...n,a];const u=f=>{var g;const{scope:h,children:m,...y}=f,p=((g=h==null?void 0:h[e])==null?void 0:g[l])||s,v=c.useMemo(()=>y,Object.values(y));return w.jsx(p.Provider,{value:v,children:m})};u.displayName=i+"Provider";function d(f,h){var p;const m=((p=h==null?void 0:h[e])==null?void 0:p[l])||s,y=c.useContext(m);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,d]}const r=()=>{const i=n.map(a=>c.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return c.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return r.scopeName=e,[o,ya(r,...t)]}function ya(...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(i){const a=o.reduce((s,{useScope:l,scopeName:u})=>{const f=l(i)[`__scope${u}`];return{...s,...f}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var Q=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{},ga=_t[" useId ".trim().toString()]||(()=>{}),xa=0;function me(e){const[t,n]=c.useState(ga());return Q(()=>{n(o=>o??String(xa++))},[e]),t?`radix-${t}`:""}var wa=_t[" useInsertionEffect ".trim().toString()]||Q;function be({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,i,a]=ba({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:r;{const d=c.useRef(e!==void 0);c.useEffect(()=>{const f=d.current;f!==s&&console.warn(`${o} is changing from ${f?"controlled":"uncontrolled"} to ${s?"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.`),d.current=s},[s,o])}const u=c.useCallback(d=>{var f;if(s){const h=Ca(d)?d(e):d;h!==e&&((f=a.current)==null||f.call(a,h))}else i(d)},[s,e,i,a]);return[l,u]}function ba({defaultProp:e,onChange:t}){const[n,o]=c.useState(e),r=c.useRef(n),i=c.useRef(t);return wa(()=>{i.current=t},[t]),c.useEffect(()=>{var a;r.current!==n&&((a=i.current)==null||a.call(i,n),r.current=n)},[n,r]),[n,o,i]}function Ca(e){return typeof e=="function"}var ka=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],j=ka.reduce((e,t)=>{const n=Se(`Primitive.${t}`),o=c.forwardRef((r,i)=>{const{asChild:a,...s}=r,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(l,{...s,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ea(e,t){e&&Pt.flushSync(()=>e.dispatchEvent(t))}function ge(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)}),[])}function Ra(e,t=globalThis==null?void 0:globalThis.document){const n=ge(e);c.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 Sa="DismissableLayer",gt="dismissableLayer.update",Aa="dismissableLayer.pointerDownOutside",_a="dismissableLayer.focusOutside",fn,Fn=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Mt=c.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=c.useContext(Fn),[d,f]=c.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=c.useState({}),y=H(t,R=>f(R)),p=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=p.indexOf(v),x=d?p.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,C=x>=g,k=Na(R=>{const P=R.target,T=[...u.branches].some(M=>M.contains(P));!C||T||(r==null||r(R),a==null||a(R),R.defaultPrevented||s==null||s())},h),S=Oa(R=>{const P=R.target;[...u.branches].some(M=>M.contains(P))||(i==null||i(R),a==null||a(R),R.defaultPrevented||s==null||s())},h);return Ra(R=>{x===u.layers.size-1&&(o==null||o(R),!R.defaultPrevented&&s&&(R.preventDefault(),s()))},h),c.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(fn=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),pn(),()=>{n&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(h.body.style.pointerEvents=fn))}},[d,h,n,u]),c.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),pn())},[d,u]),c.useEffect(()=>{const R=()=>m({});return document.addEventListener(gt,R),()=>document.removeEventListener(gt,R)},[]),w.jsx(j.div,{...l,ref:y,style:{pointerEvents:b?C?"auto":"none":void 0,...e.style},onFocusCapture:F(e.onFocusCapture,S.onFocusCapture),onBlurCapture:F(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:F(e.onPointerDownCapture,k.onPointerDownCapture)})});Mt.displayName=Sa;var Pa="DismissableLayerBranch",Ma=c.forwardRef((e,t)=>{const n=c.useContext(Fn),o=c.useRef(null),r=H(t,o);return c.useEffect(()=>{const i=o.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),w.jsx(j.div,{...e,ref:r})});Ma.displayName=Pa;function Na(e,t=globalThis==null?void 0:globalThis.document){const n=ge(e),o=c.useRef(!1),r=c.useRef(()=>{});return c.useEffect(()=>{const i=s=>{if(s.target&&!o.current){let l=function(){Hn(Aa,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=l,t.addEventListener("click",r.current,{once:!0})):l()}else t.removeEventListener("click",r.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function Oa(e,t=globalThis==null?void 0:globalThis.document){const n=ge(e),o=c.useRef(!1);return c.useEffect(()=>{const r=i=>{i.target&&!o.current&&Hn(_a,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function pn(){const e=new CustomEvent(gt);document.dispatchEvent(e)}function Hn(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?Ea(r,i):r.dispatchEvent(i)}var lt="focusScope.autoFocusOnMount",ut="focusScope.autoFocusOnUnmount",hn={bubbles:!1,cancelable:!0},Ta="FocusScope",Vn=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:i,...a}=e,[s,l]=c.useState(null),u=ge(r),d=ge(i),f=c.useRef(null),h=H(t,p=>l(p)),m=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(o){let p=function(b){if(m.paused||!s)return;const C=b.target;s.contains(C)?f.current=C:re(f.current,{select:!0})},v=function(b){if(m.paused||!s)return;const C=b.relatedTarget;C!==null&&(s.contains(C)||re(f.current,{select:!0}))},g=function(b){if(document.activeElement===document.body)for(const k of b)k.removedNodes.length>0&&re(s)};document.addEventListener("focusin",p),document.addEventListener("focusout",v);const x=new MutationObserver(g);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",v),x.disconnect()}}},[o,s,m.paused]),c.useEffect(()=>{if(s){vn.add(m);const p=document.activeElement;if(!s.contains(p)){const g=new CustomEvent(lt,hn);s.addEventListener(lt,u),s.dispatchEvent(g),g.defaultPrevented||(Da(Fa(Bn(s)),{select:!0}),document.activeElement===p&&re(s))}return()=>{s.removeEventListener(lt,u),setTimeout(()=>{const g=new CustomEvent(ut,hn);s.addEventListener(ut,d),s.dispatchEvent(g),g.defaultPrevented||re(p??document.body,{select:!0}),s.removeEventListener(ut,d),vn.remove(m)},0)}}},[s,u,d,m]);const y=c.useCallback(p=>{if(!n&&!o||m.paused)return;const v=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,g=document.activeElement;if(v&&g){const x=p.currentTarget,[b,C]=Ia(x);b&&C?!p.shiftKey&&g===C?(p.preventDefault(),n&&re(b,{select:!0})):p.shiftKey&&g===b&&(p.preventDefault(),n&&re(C,{select:!0})):g===x&&p.preventDefault()}},[n,o,m.paused]);return w.jsx(j.div,{tabIndex:-1,...a,ref:h,onKeyDown:y})});Vn.displayName=Ta;function Da(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(re(o,{select:t}),document.activeElement!==n)return}function Ia(e){const t=Bn(e),n=mn(t,e),o=mn(t.reverse(),e);return[n,o]}function Bn(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 mn(e,t){for(const n of e)if(!La(n,{upTo:t}))return n}function La(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 $a(e){return e instanceof HTMLInputElement&&"select"in e}function re(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&$a(e)&&t&&e.select()}}var vn=ja();function ja(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=yn(e,t),e.unshift(t)},remove(t){var n;e=yn(e,t),(n=e[0])==null||n.resume()}}}function yn(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Fa(e){return e.filter(t=>t.tagName!=="A")}var Ha="Portal",Nt=c.forwardRef((e,t)=>{var s;const{container:n,...o}=e,[r,i]=c.useState(!1);Q(()=>i(!0),[]);const a=n||r&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?Pt.createPortal(w.jsx(j.div,{...o,ref:t}),a):null});Nt.displayName=Ha;function Va(e,t){return c.useReducer((n,o)=>t[n][o]??n,e)}var de=e=>{const{present:t,children:n}=e,o=Ba(t),r=typeof n=="function"?n({present:o.isPresent}):c.Children.only(n),i=Wa(o.ref,za(r));return typeof n=="function"||o.isPresent?c.cloneElement(r,{ref:i}):null};de.displayName="Presence";function Ba(e){const[t,n]=c.useState(),o=c.useRef(null),r=c.useRef(e),i=c.useRef("none"),a=e?"mounted":"unmounted",[s,l]=Va(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const u=Ie(o.current);i.current=s==="mounted"?u:"none"},[s]),Q(()=>{const u=o.current,d=r.current;if(d!==e){const h=i.current,m=Ie(u);e?l("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,l]),Q(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=m=>{const p=Ie(o.current).includes(CSS.escape(m.animationName));if(m.target===t&&p&&(l("ANIMATION_END"),!r.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},h=m=>{m.target===t&&(i.current=Ie(o.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:c.useCallback(u=>{o.current=u?getComputedStyle(u):null,n(u)},[])}}function gn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Wa(...e){const t=c.useRef(e);return t.current=e,c.useCallback(n=>{const o=t.current;let r=!1;const i=o.map(a=>{const s=gn(a,n);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let a=0;a<i.length;a++){const s=i[a];typeof s=="function"?s():gn(o[a],null)}}},[])}function Ie(e){return(e==null?void 0:e.animationName)||"none"}function za(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 Le=0,X=null;function Ua(){c.useEffect(()=>{X||(X={start:xn(),end:xn()});const{start:e,end:t}=X;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Le++,()=>{Le===1&&(X==null||X.start.remove(),X==null||X.end.remove(),X=null),Le=Math.max(0,Le-1)}},[])}function xn(){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 G=function(){return G=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},G.apply(this,arguments)};function Wn(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 qa(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,i;o<r;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}var Be="right-scroll-bar-position",We="width-before-scroll-bar",Ka="with-scroll-bars-hidden",Ya="--removed-body-scroll-bar-size";function dt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Xa(e,t){var n=c.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 Ga=typeof window<"u"?c.useLayoutEffect:c.useEffect,wn=new WeakMap;function Za(e,t){var n=Xa(null,function(o){return e.forEach(function(r){return dt(r,o)})});return Ga(function(){var o=wn.get(n);if(o){var r=new Set(o),i=new Set(e),a=n.current;r.forEach(function(s){i.has(s)||dt(s,null)}),i.forEach(function(s){r.has(s)||dt(s,a)})}wn.set(n,e)},[e]),n}function Qa(e){return e}function Ja(e,t){t===void 0&&(t=Qa);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(i){var a=t(i,o);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(o=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){o=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var d=a;a=[],d.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return r}function es(e){e===void 0&&(e={});var t=Ja(null);return t.options=G({async:!0,ssr:!1},e),t}var zn=function(e){var t=e.sideCar,n=Wn(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 c.createElement(o,G({},n))};zn.isSideCarExport=!0;function ts(e,t){return e.useMedium(t),zn}var Un=es(),ft=function(){},Qe=c.forwardRef(function(e,t){var n=c.useRef(null),o=c.useState({onScrollCapture:ft,onWheelCapture:ft,onTouchMoveCapture:ft}),r=o[0],i=o[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,h=e.sideCar,m=e.noRelative,y=e.noIsolation,p=e.inert,v=e.allowPinchZoom,g=e.as,x=g===void 0?"div":g,b=e.gapMode,C=Wn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=h,S=Za([n,t]),R=G(G({},C),r);return c.createElement(c.Fragment,null,d&&c.createElement(k,{sideCar:Un,removeScrollBar:u,shards:f,noRelative:m,noIsolation:y,inert:p,setCallbacks:i,allowPinchZoom:!!v,lockRef:n,gapMode:b}),a?c.cloneElement(c.Children.only(s),G(G({},R),{ref:S})):c.createElement(x,G({},R,{className:l,ref:S}),s))});Qe.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Qe.classNames={fullWidth:We,zeroRight:Be};var ns=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function os(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ns();return t&&e.setAttribute("nonce",t),e}function rs(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function is(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var as=function(){var e=0,t=null;return{add:function(n){e==0&&(t=os())&&(rs(t,n),is(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ss=function(){var e=as();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},qn=function(){var e=ss(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},cs={left:0,top:0,right:0,gap:0},pt=function(e){return parseInt(e||"",10)||0},ls=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[pt(n),pt(o),pt(r)]},us=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return cs;var t=ls(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])}},ds=qn(),ve="data-scroll-locked",fs=function(e,t,n,o){var r=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
382
- .`.concat(Ka,` {
381
+ */const ma=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Sd=E("zoom-in",ma);/**
382
+ * @license lucide-react v0.544.0 - ISC
383
+ *
384
+ * This source code is licensed under the ISC license.
385
+ * See the LICENSE file in the root directory of this source tree.
386
+ */const va=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Ad=E("zoom-out",va);function F(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 ya(e,t){const n=c.createContext(t);n.displayName=e+"Context";const o=i=>{const{children:a,...s}=i,l=c.useMemo(()=>s,Object.values(s));return w.jsx(n.Provider,{value:l,children:a})};o.displayName=e+"Provider";function r(i){const a=c.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[o,r]}function ue(e,t=[]){let n=[];function o(i,a){const s=c.createContext(a);s.displayName=i+"Context";const l=n.length;n=[...n,a];const u=f=>{var g;const{scope:h,children:m,...y}=f,p=((g=h==null?void 0:h[e])==null?void 0:g[l])||s,v=c.useMemo(()=>y,Object.values(y));return w.jsx(p.Provider,{value:v,children:m})};u.displayName=i+"Provider";function d(f,h){var p;const m=((p=h==null?void 0:h[e])==null?void 0:p[l])||s,y=c.useContext(m);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,d]}const r=()=>{const i=n.map(a=>c.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return c.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return r.scopeName=e,[o,ga(r,...t)]}function ga(...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(i){const a=o.reduce((s,{useScope:l,scopeName:u})=>{const f=l(i)[`__scope${u}`];return{...s,...f}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var Q=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{},xa=_t[" useId ".trim().toString()]||(()=>{}),wa=0;function me(e){const[t,n]=c.useState(xa());return Q(()=>{n(o=>o??String(wa++))},[e]),t?`radix-${t}`:""}var ba=_t[" useInsertionEffect ".trim().toString()]||Q;function be({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,i,a]=Ca({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:r;{const d=c.useRef(e!==void 0);c.useEffect(()=>{const f=d.current;f!==s&&console.warn(`${o} is changing from ${f?"controlled":"uncontrolled"} to ${s?"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.`),d.current=s},[s,o])}const u=c.useCallback(d=>{var f;if(s){const h=ka(d)?d(e):d;h!==e&&((f=a.current)==null||f.call(a,h))}else i(d)},[s,e,i,a]);return[l,u]}function Ca({defaultProp:e,onChange:t}){const[n,o]=c.useState(e),r=c.useRef(n),i=c.useRef(t);return ba(()=>{i.current=t},[t]),c.useEffect(()=>{var a;r.current!==n&&((a=i.current)==null||a.call(i,n),r.current=n)},[n,r]),[n,o,i]}function ka(e){return typeof e=="function"}var Ea=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],j=Ea.reduce((e,t)=>{const n=Se(`Primitive.${t}`),o=c.forwardRef((r,i)=>{const{asChild:a,...s}=r,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(l,{...s,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ra(e,t){e&&Pt.flushSync(()=>e.dispatchEvent(t))}function ge(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)}),[])}function Sa(e,t=globalThis==null?void 0:globalThis.document){const n=ge(e);c.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 Aa="DismissableLayer",gt="dismissableLayer.update",_a="dismissableLayer.pointerDownOutside",Pa="dismissableLayer.focusOutside",fn,Fn=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Mt=c.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=c.useContext(Fn),[d,f]=c.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=c.useState({}),y=H(t,R=>f(R)),p=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=p.indexOf(v),x=d?p.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,C=x>=g,k=Oa(R=>{const P=R.target,T=[...u.branches].some(M=>M.contains(P));!C||T||(r==null||r(R),a==null||a(R),R.defaultPrevented||s==null||s())},h),S=Ta(R=>{const P=R.target;[...u.branches].some(M=>M.contains(P))||(i==null||i(R),a==null||a(R),R.defaultPrevented||s==null||s())},h);return Sa(R=>{x===u.layers.size-1&&(o==null||o(R),!R.defaultPrevented&&s&&(R.preventDefault(),s()))},h),c.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(fn=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),pn(),()=>{n&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(h.body.style.pointerEvents=fn))}},[d,h,n,u]),c.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),pn())},[d,u]),c.useEffect(()=>{const R=()=>m({});return document.addEventListener(gt,R),()=>document.removeEventListener(gt,R)},[]),w.jsx(j.div,{...l,ref:y,style:{pointerEvents:b?C?"auto":"none":void 0,...e.style},onFocusCapture:F(e.onFocusCapture,S.onFocusCapture),onBlurCapture:F(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:F(e.onPointerDownCapture,k.onPointerDownCapture)})});Mt.displayName=Aa;var Ma="DismissableLayerBranch",Na=c.forwardRef((e,t)=>{const n=c.useContext(Fn),o=c.useRef(null),r=H(t,o);return c.useEffect(()=>{const i=o.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),w.jsx(j.div,{...e,ref:r})});Na.displayName=Ma;function Oa(e,t=globalThis==null?void 0:globalThis.document){const n=ge(e),o=c.useRef(!1),r=c.useRef(()=>{});return c.useEffect(()=>{const i=s=>{if(s.target&&!o.current){let l=function(){Hn(_a,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=l,t.addEventListener("click",r.current,{once:!0})):l()}else t.removeEventListener("click",r.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function Ta(e,t=globalThis==null?void 0:globalThis.document){const n=ge(e),o=c.useRef(!1);return c.useEffect(()=>{const r=i=>{i.target&&!o.current&&Hn(Pa,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function pn(){const e=new CustomEvent(gt);document.dispatchEvent(e)}function Hn(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?Ra(r,i):r.dispatchEvent(i)}var lt="focusScope.autoFocusOnMount",ut="focusScope.autoFocusOnUnmount",hn={bubbles:!1,cancelable:!0},Da="FocusScope",Vn=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:i,...a}=e,[s,l]=c.useState(null),u=ge(r),d=ge(i),f=c.useRef(null),h=H(t,p=>l(p)),m=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(o){let p=function(b){if(m.paused||!s)return;const C=b.target;s.contains(C)?f.current=C:re(f.current,{select:!0})},v=function(b){if(m.paused||!s)return;const C=b.relatedTarget;C!==null&&(s.contains(C)||re(f.current,{select:!0}))},g=function(b){if(document.activeElement===document.body)for(const k of b)k.removedNodes.length>0&&re(s)};document.addEventListener("focusin",p),document.addEventListener("focusout",v);const x=new MutationObserver(g);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",v),x.disconnect()}}},[o,s,m.paused]),c.useEffect(()=>{if(s){vn.add(m);const p=document.activeElement;if(!s.contains(p)){const g=new CustomEvent(lt,hn);s.addEventListener(lt,u),s.dispatchEvent(g),g.defaultPrevented||(Ia(Ha(Bn(s)),{select:!0}),document.activeElement===p&&re(s))}return()=>{s.removeEventListener(lt,u),setTimeout(()=>{const g=new CustomEvent(ut,hn);s.addEventListener(ut,d),s.dispatchEvent(g),g.defaultPrevented||re(p??document.body,{select:!0}),s.removeEventListener(ut,d),vn.remove(m)},0)}}},[s,u,d,m]);const y=c.useCallback(p=>{if(!n&&!o||m.paused)return;const v=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,g=document.activeElement;if(v&&g){const x=p.currentTarget,[b,C]=La(x);b&&C?!p.shiftKey&&g===C?(p.preventDefault(),n&&re(b,{select:!0})):p.shiftKey&&g===b&&(p.preventDefault(),n&&re(C,{select:!0})):g===x&&p.preventDefault()}},[n,o,m.paused]);return w.jsx(j.div,{tabIndex:-1,...a,ref:h,onKeyDown:y})});Vn.displayName=Da;function Ia(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(re(o,{select:t}),document.activeElement!==n)return}function La(e){const t=Bn(e),n=mn(t,e),o=mn(t.reverse(),e);return[n,o]}function Bn(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 mn(e,t){for(const n of e)if(!$a(n,{upTo:t}))return n}function $a(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 ja(e){return e instanceof HTMLInputElement&&"select"in e}function re(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ja(e)&&t&&e.select()}}var vn=Fa();function Fa(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=yn(e,t),e.unshift(t)},remove(t){var n;e=yn(e,t),(n=e[0])==null||n.resume()}}}function yn(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Ha(e){return e.filter(t=>t.tagName!=="A")}var Va="Portal",Nt=c.forwardRef((e,t)=>{var s;const{container:n,...o}=e,[r,i]=c.useState(!1);Q(()=>i(!0),[]);const a=n||r&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?Pt.createPortal(w.jsx(j.div,{...o,ref:t}),a):null});Nt.displayName=Va;function Ba(e,t){return c.useReducer((n,o)=>t[n][o]??n,e)}var de=e=>{const{present:t,children:n}=e,o=Wa(t),r=typeof n=="function"?n({present:o.isPresent}):c.Children.only(n),i=za(o.ref,Ua(r));return typeof n=="function"||o.isPresent?c.cloneElement(r,{ref:i}):null};de.displayName="Presence";function Wa(e){const[t,n]=c.useState(),o=c.useRef(null),r=c.useRef(e),i=c.useRef("none"),a=e?"mounted":"unmounted",[s,l]=Ba(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const u=Ie(o.current);i.current=s==="mounted"?u:"none"},[s]),Q(()=>{const u=o.current,d=r.current;if(d!==e){const h=i.current,m=Ie(u);e?l("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,l]),Q(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=m=>{const p=Ie(o.current).includes(CSS.escape(m.animationName));if(m.target===t&&p&&(l("ANIMATION_END"),!r.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},h=m=>{m.target===t&&(i.current=Ie(o.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:c.useCallback(u=>{o.current=u?getComputedStyle(u):null,n(u)},[])}}function gn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function za(...e){const t=c.useRef(e);return t.current=e,c.useCallback(n=>{const o=t.current;let r=!1;const i=o.map(a=>{const s=gn(a,n);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let a=0;a<i.length;a++){const s=i[a];typeof s=="function"?s():gn(o[a],null)}}},[])}function Ie(e){return(e==null?void 0:e.animationName)||"none"}function Ua(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 Le=0,X=null;function qa(){c.useEffect(()=>{X||(X={start:xn(),end:xn()});const{start:e,end:t}=X;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Le++,()=>{Le===1&&(X==null||X.start.remove(),X==null||X.end.remove(),X=null),Le=Math.max(0,Le-1)}},[])}function xn(){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 G=function(){return G=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},G.apply(this,arguments)};function Wn(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 Ka(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,i;o<r;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}var Be="right-scroll-bar-position",We="width-before-scroll-bar",Ya="with-scroll-bars-hidden",Xa="--removed-body-scroll-bar-size";function dt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ga(e,t){var n=c.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 Za=typeof window<"u"?c.useLayoutEffect:c.useEffect,wn=new WeakMap;function Qa(e,t){var n=Ga(null,function(o){return e.forEach(function(r){return dt(r,o)})});return Za(function(){var o=wn.get(n);if(o){var r=new Set(o),i=new Set(e),a=n.current;r.forEach(function(s){i.has(s)||dt(s,null)}),i.forEach(function(s){r.has(s)||dt(s,a)})}wn.set(n,e)},[e]),n}function Ja(e){return e}function es(e,t){t===void 0&&(t=Ja);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(i){var a=t(i,o);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(o=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){o=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var d=a;a=[],d.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return r}function ts(e){e===void 0&&(e={});var t=es(null);return t.options=G({async:!0,ssr:!1},e),t}var zn=function(e){var t=e.sideCar,n=Wn(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 c.createElement(o,G({},n))};zn.isSideCarExport=!0;function ns(e,t){return e.useMedium(t),zn}var Un=ts(),ft=function(){},Qe=c.forwardRef(function(e,t){var n=c.useRef(null),o=c.useState({onScrollCapture:ft,onWheelCapture:ft,onTouchMoveCapture:ft}),r=o[0],i=o[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,h=e.sideCar,m=e.noRelative,y=e.noIsolation,p=e.inert,v=e.allowPinchZoom,g=e.as,x=g===void 0?"div":g,b=e.gapMode,C=Wn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=h,S=Qa([n,t]),R=G(G({},C),r);return c.createElement(c.Fragment,null,d&&c.createElement(k,{sideCar:Un,removeScrollBar:u,shards:f,noRelative:m,noIsolation:y,inert:p,setCallbacks:i,allowPinchZoom:!!v,lockRef:n,gapMode:b}),a?c.cloneElement(c.Children.only(s),G(G({},R),{ref:S})):c.createElement(x,G({},R,{className:l,ref:S}),s))});Qe.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Qe.classNames={fullWidth:We,zeroRight:Be};var os=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function rs(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=os();return t&&e.setAttribute("nonce",t),e}function is(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function as(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ss=function(){var e=0,t=null;return{add:function(n){e==0&&(t=rs())&&(is(t,n),as(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},cs=function(){var e=ss();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},qn=function(){var e=cs(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},ls={left:0,top:0,right:0,gap:0},pt=function(e){return parseInt(e||"",10)||0},us=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[pt(n),pt(o),pt(r)]},ds=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ls;var t=us(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])}},fs=qn(),ve="data-scroll-locked",ps=function(e,t,n,o){var r=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
387
+ .`.concat(Ya,` {
383
388
  overflow: hidden `).concat(o,`;
384
389
  padding-right: `).concat(s,"px ").concat(o,`;
385
390
  }
@@ -413,13 +418,13 @@ import{r as c,R as _t,j as w,a as Pt}from"./react-vendor-o1Xrx7m4.js";function l
413
418
  }
414
419
 
415
420
  body[`).concat(ve,`] {
416
- `).concat(Ya,": ").concat(s,`px;
421
+ `).concat(Xa,": ").concat(s,`px;
417
422
  }
418
- `)},bn=function(){var e=parseInt(document.body.getAttribute(ve)||"0",10);return isFinite(e)?e:0},ps=function(){c.useEffect(function(){return document.body.setAttribute(ve,(bn()+1).toString()),function(){var e=bn()-1;e<=0?document.body.removeAttribute(ve):document.body.setAttribute(ve,e.toString())}},[])},hs=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=o===void 0?"margin":o;ps();var i=c.useMemo(function(){return us(r)},[r]);return c.createElement(ds,{styles:fs(i,!t,r,n?"":"!important")})},xt=!1;if(typeof window<"u")try{var $e=Object.defineProperty({},"passive",{get:function(){return xt=!0,!0}});window.addEventListener("test",$e,$e),window.removeEventListener("test",$e,$e)}catch{xt=!1}var fe=xt?{passive:!1}:!1,ms=function(e){return e.tagName==="TEXTAREA"},Kn=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!ms(e)&&n[t]==="visible")},vs=function(e){return Kn(e,"overflowY")},ys=function(e){return Kn(e,"overflowX")},Cn=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var r=Yn(e,o);if(r){var i=Xn(e,o),a=i[1],s=i[2];if(a>s)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},gs=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},xs=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},Yn=function(e,t){return e==="v"?vs(t):ys(t)},Xn=function(e,t){return e==="v"?gs(t):xs(t)},ws=function(e,t){return e==="h"&&t==="rtl"?-1:1},bs=function(e,t,n,o,r){var i=ws(e,window.getComputedStyle(t).direction),a=i*o,s=n.target,l=t.contains(s),u=!1,d=a>0,f=0,h=0;do{if(!s)break;var m=Xn(e,s),y=m[0],p=m[1],v=m[2],g=p-v-i*y;(y||g)&&Yn(e,s)&&(f+=g,h+=y);var x=s.parentNode;s=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&Math.abs(f)<1||!d&&Math.abs(h)<1)&&(u=!0),u},je=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},kn=function(e){return[e.deltaX,e.deltaY]},En=function(e){return e&&"current"in e?e.current:e},Cs=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ks=function(e){return`
423
+ `)},bn=function(){var e=parseInt(document.body.getAttribute(ve)||"0",10);return isFinite(e)?e:0},hs=function(){c.useEffect(function(){return document.body.setAttribute(ve,(bn()+1).toString()),function(){var e=bn()-1;e<=0?document.body.removeAttribute(ve):document.body.setAttribute(ve,e.toString())}},[])},ms=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=o===void 0?"margin":o;hs();var i=c.useMemo(function(){return ds(r)},[r]);return c.createElement(fs,{styles:ps(i,!t,r,n?"":"!important")})},xt=!1;if(typeof window<"u")try{var $e=Object.defineProperty({},"passive",{get:function(){return xt=!0,!0}});window.addEventListener("test",$e,$e),window.removeEventListener("test",$e,$e)}catch{xt=!1}var fe=xt?{passive:!1}:!1,vs=function(e){return e.tagName==="TEXTAREA"},Kn=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!vs(e)&&n[t]==="visible")},ys=function(e){return Kn(e,"overflowY")},gs=function(e){return Kn(e,"overflowX")},Cn=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var r=Yn(e,o);if(r){var i=Xn(e,o),a=i[1],s=i[2];if(a>s)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},xs=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},ws=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},Yn=function(e,t){return e==="v"?ys(t):gs(t)},Xn=function(e,t){return e==="v"?xs(t):ws(t)},bs=function(e,t){return e==="h"&&t==="rtl"?-1:1},Cs=function(e,t,n,o,r){var i=bs(e,window.getComputedStyle(t).direction),a=i*o,s=n.target,l=t.contains(s),u=!1,d=a>0,f=0,h=0;do{if(!s)break;var m=Xn(e,s),y=m[0],p=m[1],v=m[2],g=p-v-i*y;(y||g)&&Yn(e,s)&&(f+=g,h+=y);var x=s.parentNode;s=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&Math.abs(f)<1||!d&&Math.abs(h)<1)&&(u=!0),u},je=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},kn=function(e){return[e.deltaX,e.deltaY]},En=function(e){return e&&"current"in e?e.current:e},ks=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Es=function(e){return`
419
424
  .block-interactivity-`.concat(e,` {pointer-events: none;}
420
425
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
421
- `)},Es=0,pe=[];function Rs(e){var t=c.useRef([]),n=c.useRef([0,0]),o=c.useRef(),r=c.useState(Es++)[0],i=c.useState(qn)[0],a=c.useRef(e);c.useEffect(function(){a.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var p=qa([e.lockRef.current],(e.shards||[]).map(En),!0).filter(Boolean);return p.forEach(function(v){return v.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),p.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var s=c.useCallback(function(p,v){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!a.current.allowPinchZoom;var g=je(p),x=n.current,b="deltaX"in p?p.deltaX:x[0]-g[0],C="deltaY"in p?p.deltaY:x[1]-g[1],k,S=p.target,R=Math.abs(b)>Math.abs(C)?"h":"v";if("touches"in p&&R==="h"&&S.type==="range")return!1;var P=window.getSelection(),T=P&&P.anchorNode,M=T?T===S||T.contains(S):!1;if(M)return!1;var N=Cn(R,S);if(!N)return!0;if(N?k=R:(k=R==="v"?"h":"v",N=Cn(R,S)),!N)return!1;if(!o.current&&"changedTouches"in p&&(b||C)&&(o.current=k),!k)return!0;var _=o.current||k;return bs(_,v,p,_==="h"?b:C)},[]),l=c.useCallback(function(p){var v=p;if(!(!pe.length||pe[pe.length-1]!==i)){var g="deltaY"in v?kn(v):je(v),x=t.current.filter(function(k){return k.name===v.type&&(k.target===v.target||v.target===k.shadowParent)&&Cs(k.delta,g)})[0];if(x&&x.should){v.cancelable&&v.preventDefault();return}if(!x){var b=(a.current.shards||[]).map(En).filter(Boolean).filter(function(k){return k.contains(v.target)}),C=b.length>0?s(v,b[0]):!a.current.noIsolation;C&&v.cancelable&&v.preventDefault()}}},[]),u=c.useCallback(function(p,v,g,x){var b={name:p,delta:v,target:g,should:x,shadowParent:Ss(g)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(C){return C!==b})},1)},[]),d=c.useCallback(function(p){n.current=je(p),o.current=void 0},[]),f=c.useCallback(function(p){u(p.type,kn(p),p.target,s(p,e.lockRef.current))},[]),h=c.useCallback(function(p){u(p.type,je(p),p.target,s(p,e.lockRef.current))},[]);c.useEffect(function(){return pe.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",l,fe),document.addEventListener("touchmove",l,fe),document.addEventListener("touchstart",d,fe),function(){pe=pe.filter(function(p){return p!==i}),document.removeEventListener("wheel",l,fe),document.removeEventListener("touchmove",l,fe),document.removeEventListener("touchstart",d,fe)}},[]);var m=e.removeScrollBar,y=e.inert;return c.createElement(c.Fragment,null,y?c.createElement(i,{styles:ks(r)}):null,m?c.createElement(hs,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Ss(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const As=ts(Un,Rs);var Gn=c.forwardRef(function(e,t){return c.createElement(Qe,G({},e,{ref:t,sideCar:As}))});Gn.classNames=Qe.classNames;var _s=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},he=new WeakMap,Fe=new WeakMap,He={},ht=0,Zn=function(e){return e&&(e.host||Zn(e.parentNode))},Ps=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Zn(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})},Ms=function(e,t,n,o){var r=Ps(t,Array.isArray(e)?e:[e]);He[n]||(He[n]=new WeakMap);var i=He[n],a=[],s=new Set,l=new Set(r),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};r.forEach(u);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(h){if(s.has(h))d(h);else try{var m=h.getAttribute(o),y=m!==null&&m!=="false",p=(he.get(h)||0)+1,v=(i.get(h)||0)+1;he.set(h,p),i.set(h,v),a.push(h),p===1&&y&&Fe.set(h,!0),v===1&&h.setAttribute(n,"true"),y||h.setAttribute(o,"true")}catch(g){console.error("aria-hidden: cannot operate on ",h,g)}})};return d(t),s.clear(),ht++,function(){a.forEach(function(f){var h=he.get(f)-1,m=i.get(f)-1;he.set(f,h),i.set(f,m),h||(Fe.has(f)||f.removeAttribute(o),Fe.delete(f)),m||f.removeAttribute(n)}),ht--,ht||(he=new WeakMap,he=new WeakMap,Fe=new WeakMap,He={})}},Ns=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=_s(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),Ms(o,r,n,"aria-hidden")):function(){return null}},Je="Dialog",[Qn]=ue(Je),[Os,K]=Qn(Je),Jn=e=>{const{__scopeDialog:t,children:n,open:o,defaultOpen:r,onOpenChange:i,modal:a=!0}=e,s=c.useRef(null),l=c.useRef(null),[u,d]=be({prop:o,defaultProp:r??!1,onChange:i,caller:Je});return w.jsx(Os,{scope:t,triggerRef:s,contentRef:l,contentId:me(),titleId:me(),descriptionId:me(),open:u,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(f=>!f),[d]),modal:a,children:n})};Jn.displayName=Je;var eo="DialogTrigger",to=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(eo,n),i=H(t,r.triggerRef);return w.jsx(j.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.open?r.contentId:void 0,"data-state":Dt(r.open),...o,ref:i,onClick:F(e.onClick,r.onOpenToggle)})});to.displayName=eo;var Ot="DialogPortal",[Ts,no]=Qn(Ot,{forceMount:void 0}),oo=e=>{const{__scopeDialog:t,forceMount:n,children:o,container:r}=e,i=K(Ot,t);return w.jsx(Ts,{scope:t,forceMount:n,children:c.Children.map(o,a=>w.jsx(de,{present:n||i.open,children:w.jsx(Nt,{asChild:!0,container:r,children:a})}))})};oo.displayName=Ot;var qe="DialogOverlay",ro=c.forwardRef((e,t)=>{const n=no(qe,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,i=K(qe,e.__scopeDialog);return i.modal?w.jsx(de,{present:o||i.open,children:w.jsx(Is,{...r,ref:t})}):null});ro.displayName=qe;var Ds=Se("DialogOverlay.RemoveScroll"),Is=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(qe,n);return w.jsx(Gn,{as:Ds,allowPinchZoom:!0,shards:[r.contentRef],children:w.jsx(j.div,{"data-state":Dt(r.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),ce="DialogContent",io=c.forwardRef((e,t)=>{const n=no(ce,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,i=K(ce,e.__scopeDialog);return w.jsx(de,{present:o||i.open,children:i.modal?w.jsx(Ls,{...r,ref:t}):w.jsx($s,{...r,ref:t})})});io.displayName=ce;var Ls=c.forwardRef((e,t)=>{const n=K(ce,e.__scopeDialog),o=c.useRef(null),r=H(t,n.contentRef,o);return c.useEffect(()=>{const i=o.current;if(i)return Ns(i)},[]),w.jsx(ao,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:F(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:F(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:F(e.onFocusOutside,i=>i.preventDefault())})}),$s=c.forwardRef((e,t)=>{const n=K(ce,e.__scopeDialog),o=c.useRef(!1),r=c.useRef(!1);return w.jsx(ao,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,s;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(o.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),o.current=!1,r.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(o.current=!0,i.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const a=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&r.current&&i.preventDefault()}})}),ao=c.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:r,onCloseAutoFocus:i,...a}=e,s=K(ce,n),l=c.useRef(null),u=H(t,l);return Ua(),w.jsxs(w.Fragment,{children:[w.jsx(Vn,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:r,onUnmountAutoFocus:i,children:w.jsx(Mt,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Dt(s.open),...a,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),w.jsxs(w.Fragment,{children:[w.jsx(js,{titleId:s.titleId}),w.jsx(Hs,{contentRef:l,descriptionId:s.descriptionId})]})]})}),Tt="DialogTitle",so=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(Tt,n);return w.jsx(j.h2,{id:r.titleId,...o,ref:t})});so.displayName=Tt;var co="DialogDescription",lo=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(co,n);return w.jsx(j.p,{id:r.descriptionId,...o,ref:t})});lo.displayName=co;var uo="DialogClose",fo=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(uo,n);return w.jsx(j.button,{type:"button",...o,ref:t,onClick:F(e.onClick,()=>r.onOpenChange(!1))})});fo.displayName=uo;function Dt(e){return e?"open":"closed"}var po="DialogTitleWarning",[Sd,ho]=va(po,{contentName:ce,titleName:Tt,docsSlug:"dialog"}),js=({titleId:e})=>{const t=ho(po),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
426
+ `)},Rs=0,pe=[];function Ss(e){var t=c.useRef([]),n=c.useRef([0,0]),o=c.useRef(),r=c.useState(Rs++)[0],i=c.useState(qn)[0],a=c.useRef(e);c.useEffect(function(){a.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var p=Ka([e.lockRef.current],(e.shards||[]).map(En),!0).filter(Boolean);return p.forEach(function(v){return v.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),p.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var s=c.useCallback(function(p,v){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!a.current.allowPinchZoom;var g=je(p),x=n.current,b="deltaX"in p?p.deltaX:x[0]-g[0],C="deltaY"in p?p.deltaY:x[1]-g[1],k,S=p.target,R=Math.abs(b)>Math.abs(C)?"h":"v";if("touches"in p&&R==="h"&&S.type==="range")return!1;var P=window.getSelection(),T=P&&P.anchorNode,M=T?T===S||T.contains(S):!1;if(M)return!1;var N=Cn(R,S);if(!N)return!0;if(N?k=R:(k=R==="v"?"h":"v",N=Cn(R,S)),!N)return!1;if(!o.current&&"changedTouches"in p&&(b||C)&&(o.current=k),!k)return!0;var _=o.current||k;return Cs(_,v,p,_==="h"?b:C)},[]),l=c.useCallback(function(p){var v=p;if(!(!pe.length||pe[pe.length-1]!==i)){var g="deltaY"in v?kn(v):je(v),x=t.current.filter(function(k){return k.name===v.type&&(k.target===v.target||v.target===k.shadowParent)&&ks(k.delta,g)})[0];if(x&&x.should){v.cancelable&&v.preventDefault();return}if(!x){var b=(a.current.shards||[]).map(En).filter(Boolean).filter(function(k){return k.contains(v.target)}),C=b.length>0?s(v,b[0]):!a.current.noIsolation;C&&v.cancelable&&v.preventDefault()}}},[]),u=c.useCallback(function(p,v,g,x){var b={name:p,delta:v,target:g,should:x,shadowParent:As(g)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(C){return C!==b})},1)},[]),d=c.useCallback(function(p){n.current=je(p),o.current=void 0},[]),f=c.useCallback(function(p){u(p.type,kn(p),p.target,s(p,e.lockRef.current))},[]),h=c.useCallback(function(p){u(p.type,je(p),p.target,s(p,e.lockRef.current))},[]);c.useEffect(function(){return pe.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",l,fe),document.addEventListener("touchmove",l,fe),document.addEventListener("touchstart",d,fe),function(){pe=pe.filter(function(p){return p!==i}),document.removeEventListener("wheel",l,fe),document.removeEventListener("touchmove",l,fe),document.removeEventListener("touchstart",d,fe)}},[]);var m=e.removeScrollBar,y=e.inert;return c.createElement(c.Fragment,null,y?c.createElement(i,{styles:Es(r)}):null,m?c.createElement(ms,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function As(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const _s=ns(Un,Ss);var Gn=c.forwardRef(function(e,t){return c.createElement(Qe,G({},e,{ref:t,sideCar:_s}))});Gn.classNames=Qe.classNames;var Ps=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},he=new WeakMap,Fe=new WeakMap,He={},ht=0,Zn=function(e){return e&&(e.host||Zn(e.parentNode))},Ms=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Zn(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})},Ns=function(e,t,n,o){var r=Ms(t,Array.isArray(e)?e:[e]);He[n]||(He[n]=new WeakMap);var i=He[n],a=[],s=new Set,l=new Set(r),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};r.forEach(u);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(h){if(s.has(h))d(h);else try{var m=h.getAttribute(o),y=m!==null&&m!=="false",p=(he.get(h)||0)+1,v=(i.get(h)||0)+1;he.set(h,p),i.set(h,v),a.push(h),p===1&&y&&Fe.set(h,!0),v===1&&h.setAttribute(n,"true"),y||h.setAttribute(o,"true")}catch(g){console.error("aria-hidden: cannot operate on ",h,g)}})};return d(t),s.clear(),ht++,function(){a.forEach(function(f){var h=he.get(f)-1,m=i.get(f)-1;he.set(f,h),i.set(f,m),h||(Fe.has(f)||f.removeAttribute(o),Fe.delete(f)),m||f.removeAttribute(n)}),ht--,ht||(he=new WeakMap,he=new WeakMap,Fe=new WeakMap,He={})}},Os=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=Ps(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),Ns(o,r,n,"aria-hidden")):function(){return null}},Je="Dialog",[Qn]=ue(Je),[Ts,K]=Qn(Je),Jn=e=>{const{__scopeDialog:t,children:n,open:o,defaultOpen:r,onOpenChange:i,modal:a=!0}=e,s=c.useRef(null),l=c.useRef(null),[u,d]=be({prop:o,defaultProp:r??!1,onChange:i,caller:Je});return w.jsx(Ts,{scope:t,triggerRef:s,contentRef:l,contentId:me(),titleId:me(),descriptionId:me(),open:u,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(f=>!f),[d]),modal:a,children:n})};Jn.displayName=Je;var eo="DialogTrigger",to=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(eo,n),i=H(t,r.triggerRef);return w.jsx(j.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.open?r.contentId:void 0,"data-state":Dt(r.open),...o,ref:i,onClick:F(e.onClick,r.onOpenToggle)})});to.displayName=eo;var Ot="DialogPortal",[Ds,no]=Qn(Ot,{forceMount:void 0}),oo=e=>{const{__scopeDialog:t,forceMount:n,children:o,container:r}=e,i=K(Ot,t);return w.jsx(Ds,{scope:t,forceMount:n,children:c.Children.map(o,a=>w.jsx(de,{present:n||i.open,children:w.jsx(Nt,{asChild:!0,container:r,children:a})}))})};oo.displayName=Ot;var qe="DialogOverlay",ro=c.forwardRef((e,t)=>{const n=no(qe,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,i=K(qe,e.__scopeDialog);return i.modal?w.jsx(de,{present:o||i.open,children:w.jsx(Ls,{...r,ref:t})}):null});ro.displayName=qe;var Is=Se("DialogOverlay.RemoveScroll"),Ls=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(qe,n);return w.jsx(Gn,{as:Is,allowPinchZoom:!0,shards:[r.contentRef],children:w.jsx(j.div,{"data-state":Dt(r.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),ce="DialogContent",io=c.forwardRef((e,t)=>{const n=no(ce,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,i=K(ce,e.__scopeDialog);return w.jsx(de,{present:o||i.open,children:i.modal?w.jsx($s,{...r,ref:t}):w.jsx(js,{...r,ref:t})})});io.displayName=ce;var $s=c.forwardRef((e,t)=>{const n=K(ce,e.__scopeDialog),o=c.useRef(null),r=H(t,n.contentRef,o);return c.useEffect(()=>{const i=o.current;if(i)return Os(i)},[]),w.jsx(ao,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:F(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:F(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:F(e.onFocusOutside,i=>i.preventDefault())})}),js=c.forwardRef((e,t)=>{const n=K(ce,e.__scopeDialog),o=c.useRef(!1),r=c.useRef(!1);return w.jsx(ao,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,s;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(o.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),o.current=!1,r.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(o.current=!0,i.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const a=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&r.current&&i.preventDefault()}})}),ao=c.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:r,onCloseAutoFocus:i,...a}=e,s=K(ce,n),l=c.useRef(null),u=H(t,l);return qa(),w.jsxs(w.Fragment,{children:[w.jsx(Vn,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:r,onUnmountAutoFocus:i,children:w.jsx(Mt,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Dt(s.open),...a,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),w.jsxs(w.Fragment,{children:[w.jsx(Fs,{titleId:s.titleId}),w.jsx(Vs,{contentRef:l,descriptionId:s.descriptionId})]})]})}),Tt="DialogTitle",so=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(Tt,n);return w.jsx(j.h2,{id:r.titleId,...o,ref:t})});so.displayName=Tt;var co="DialogDescription",lo=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(co,n);return w.jsx(j.p,{id:r.descriptionId,...o,ref:t})});lo.displayName=co;var uo="DialogClose",fo=c.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,r=K(uo,n);return w.jsx(j.button,{type:"button",...o,ref:t,onClick:F(e.onClick,()=>r.onOpenChange(!1))})});fo.displayName=uo;function Dt(e){return e?"open":"closed"}var po="DialogTitleWarning",[_d,ho]=ya(po,{contentName:ce,titleName:Tt,docsSlug:"dialog"}),Fs=({titleId:e})=>{const t=ho(po),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
422
427
 
423
428
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
424
429
 
425
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return c.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Fs="DialogDescriptionWarning",Hs=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ho(Fs).contentName}}.`;return c.useEffect(()=>{var i;const r=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},Ad=Jn,_d=to,Pd=oo,Md=ro,Nd=io,Od=so,Td=lo,Dd=fo;function mo(e){const t=e+"CollectionProvider",[n,o]=ue(t),[r,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:v,children:g}=p,x=c.useRef(null),b=c.useRef(new Map).current;return w.jsx(r,{scope:v,itemMap:b,collectionRef:x,children:g})};a.displayName=t;const s=e+"CollectionSlot",l=Se(s),u=c.forwardRef((p,v)=>{const{scope:g,children:x}=p,b=i(s,g),C=H(v,b.collectionRef);return w.jsx(l,{ref:C,children:x})});u.displayName=s;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=Se(d),m=c.forwardRef((p,v)=>{const{scope:g,children:x,...b}=p,C=c.useRef(null),k=H(v,C),S=i(d,g);return c.useEffect(()=>(S.itemMap.set(C,{ref:C,...b}),()=>void S.itemMap.delete(C))),w.jsx(h,{[f]:"",ref:k,children:x})});m.displayName=d;function y(p){const v=i(e+"CollectionConsumer",p);return c.useCallback(()=>{const x=v.collectionRef.current;if(!x)return[];const b=Array.from(x.querySelectorAll(`[${f}]`));return Array.from(v.itemMap.values()).sort((S,R)=>b.indexOf(S.ref.current)-b.indexOf(R.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:u,ItemSlot:m},y,o]}var et="Collapsible",[Vs,vo]=ue(et),[Bs,It]=Vs(et),yo=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:o,defaultOpen:r,disabled:i,onOpenChange:a,...s}=e,[l,u]=be({prop:o,defaultProp:r??!1,onChange:a,caller:et});return w.jsx(Bs,{scope:n,disabled:i,contentId:me(),open:l,onOpenToggle:c.useCallback(()=>u(d=>!d),[u]),children:w.jsx(j.div,{"data-state":$t(l),"data-disabled":i?"":void 0,...s,ref:t})})});yo.displayName=et;var go="CollapsibleTrigger",xo=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,...o}=e,r=It(go,n);return w.jsx(j.button,{type:"button","aria-controls":r.open?r.contentId:void 0,"aria-expanded":r.open||!1,"data-state":$t(r.open),"data-disabled":r.disabled?"":void 0,disabled:r.disabled,...o,ref:t,onClick:F(e.onClick,r.onOpenToggle)})});xo.displayName=go;var Lt="CollapsibleContent",wo=c.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=It(Lt,e.__scopeCollapsible);return w.jsx(de,{present:n||r.open,children:({present:i})=>w.jsx(Ws,{...o,ref:t,present:i})})});wo.displayName=Lt;var Ws=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:o,children:r,...i}=e,a=It(Lt,n),[s,l]=c.useState(o),u=c.useRef(null),d=H(t,u),f=c.useRef(0),h=f.current,m=c.useRef(0),y=m.current,p=a.open||s,v=c.useRef(p),g=c.useRef(void 0);return c.useEffect(()=>{const x=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(x)},[]),Q(()=>{const x=u.current;if(x){g.current=g.current||{transitionDuration:x.style.transitionDuration,animationName:x.style.animationName},x.style.transitionDuration="0s",x.style.animationName="none";const b=x.getBoundingClientRect();f.current=b.height,m.current=b.width,v.current||(x.style.transitionDuration=g.current.transitionDuration,x.style.animationName=g.current.animationName),l(o)}},[a.open,o]),w.jsx(j.div,{"data-state":$t(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!p,...i,ref:d,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:p&&r})});function $t(e){return e?"open":"closed"}var zs=yo,Us=xo,qs=wo,Ks=c.createContext(void 0);function bo(e){const t=c.useContext(Ks);return e||t||"ltr"}var Y="Accordion",Ys=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[jt,Xs,Gs]=mo(Y),[tt]=ue(Y,[Gs,vo]),Ft=vo(),Co=c.forwardRef((e,t)=>{const{type:n,...o}=e,r=o,i=o;return w.jsx(jt.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?w.jsx(ec,{...i,ref:t}):w.jsx(Js,{...r,ref:t})})});Co.displayName=Y;var[ko,Zs]=tt(Y),[Eo,Qs]=tt(Y,{collapsible:!1}),Js=c.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:r=()=>{},collapsible:i=!1,...a}=e,[s,l]=be({prop:n,defaultProp:o??"",onChange:r,caller:Y});return w.jsx(ko,{scope:e.__scopeAccordion,value:c.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:c.useCallback(()=>i&&l(""),[i,l]),children:w.jsx(Eo,{scope:e.__scopeAccordion,collapsible:i,children:w.jsx(Ro,{...a,ref:t})})})}),ec=c.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:r=()=>{},...i}=e,[a,s]=be({prop:n,defaultProp:o??[],onChange:r,caller:Y}),l=c.useCallback(d=>s((f=[])=>[...f,d]),[s]),u=c.useCallback(d=>s((f=[])=>f.filter(h=>h!==d)),[s]);return w.jsx(ko,{scope:e.__scopeAccordion,value:a,onItemOpen:l,onItemClose:u,children:w.jsx(Eo,{scope:e.__scopeAccordion,collapsible:!0,children:w.jsx(Ro,{...i,ref:t})})})}),[tc,nt]=tt(Y),Ro=c.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:o,dir:r,orientation:i="vertical",...a}=e,s=c.useRef(null),l=H(s,t),u=Xs(n),f=bo(r)==="ltr",h=F(e.onKeyDown,m=>{var P;if(!Ys.includes(m.key))return;const y=m.target,p=u().filter(T=>{var M;return!((M=T.ref.current)!=null&&M.disabled)}),v=p.findIndex(T=>T.ref.current===y),g=p.length;if(v===-1)return;m.preventDefault();let x=v;const b=0,C=g-1,k=()=>{x=v+1,x>C&&(x=b)},S=()=>{x=v-1,x<b&&(x=C)};switch(m.key){case"Home":x=b;break;case"End":x=C;break;case"ArrowRight":i==="horizontal"&&(f?k():S());break;case"ArrowDown":i==="vertical"&&k();break;case"ArrowLeft":i==="horizontal"&&(f?S():k());break;case"ArrowUp":i==="vertical"&&S();break}const R=x%g;(P=p[R].ref.current)==null||P.focus()});return w.jsx(tc,{scope:n,disabled:o,direction:r,orientation:i,children:w.jsx(jt.Slot,{scope:n,children:w.jsx(j.div,{...a,"data-orientation":i,ref:l,onKeyDown:o?void 0:h})})})}),Ke="AccordionItem",[nc,Ht]=tt(Ke),So=c.forwardRef((e,t)=>{const{__scopeAccordion:n,value:o,...r}=e,i=nt(Ke,n),a=Zs(Ke,n),s=Ft(n),l=me(),u=o&&a.value.includes(o)||!1,d=i.disabled||e.disabled;return w.jsx(nc,{scope:n,open:u,disabled:d,triggerId:l,children:w.jsx(zs,{"data-orientation":i.orientation,"data-state":Oo(u),...s,...r,ref:t,disabled:d,open:u,onOpenChange:f=>{f?a.onItemOpen(o):a.onItemClose(o)}})})});So.displayName=Ke;var Ao="AccordionHeader",_o=c.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,r=nt(Y,n),i=Ht(Ao,n);return w.jsx(j.h3,{"data-orientation":r.orientation,"data-state":Oo(i.open),"data-disabled":i.disabled?"":void 0,...o,ref:t})});_o.displayName=Ao;var wt="AccordionTrigger",Po=c.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,r=nt(Y,n),i=Ht(wt,n),a=Qs(wt,n),s=Ft(n);return w.jsx(jt.ItemSlot,{scope:n,children:w.jsx(Us,{"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":r.orientation,id:i.triggerId,...s,...o,ref:t})})});Po.displayName=wt;var Mo="AccordionContent",No=c.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,r=nt(Y,n),i=Ht(Mo,n),a=Ft(n);return w.jsx(qs,{role:"region","aria-labelledby":i.triggerId,"data-orientation":r.orientation,...a,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});No.displayName=Mo;function Oo(e){return e?"open":"closed"}var Id=Co,Ld=So,$d=_o,jd=Po,Fd=No,oc="Separator",Rn="horizontal",rc=["horizontal","vertical"],To=c.forwardRef((e,t)=>{const{decorative:n,orientation:o=Rn,...r}=e,i=ic(o)?o:Rn,s=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return w.jsx(j.div,{"data-orientation":i,...s,...r,ref:t})});To.displayName=oc;function ic(e){return rc.includes(e)}var Hd=To;const ac=["top","right","bottom","left"],ie=Math.min,W=Math.max,Ye=Math.round,Ve=Math.floor,J=e=>({x:e,y:e}),sc={left:"right",right:"left",bottom:"top",top:"bottom"};function bt(e,t,n){return W(e,ie(t,n))}function te(e,t){return typeof e=="function"?e(t):e}function ne(e){return e.split("-")[0]}function Ce(e){return e.split("-")[1]}function Vt(e){return e==="x"?"y":"x"}function Bt(e){return e==="y"?"height":"width"}function Z(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Wt(e){return Vt(Z(e))}function cc(e,t,n){n===void 0&&(n=!1);const o=Ce(e),r=Wt(e),i=Bt(r);let a=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Xe(a)),[a,Xe(a)]}function lc(e){const t=Xe(e);return[Ct(e),t,Ct(t)]}function Ct(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Sn=["left","right"],An=["right","left"],uc=["top","bottom"],dc=["bottom","top"];function fc(e,t,n){switch(e){case"top":case"bottom":return n?t?An:Sn:t?Sn:An;case"left":case"right":return t?uc:dc;default:return[]}}function pc(e,t,n,o){const r=Ce(e);let i=fc(ne(e),n==="start",o);return r&&(i=i.map(a=>a+"-"+r),t&&(i=i.concat(i.map(Ct)))),i}function Xe(e){const t=ne(e);return sc[t]+e.slice(t.length)}function hc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Do(e){return typeof e!="number"?hc(e):{top:e,right:e,bottom:e,left:e}}function Ge(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 _n(e,t,n){let{reference:o,floating:r}=e;const i=Z(t),a=Wt(t),s=Bt(a),l=ne(t),u=i==="y",d=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,h=o[s]/2-r[s]/2;let m;switch(l){case"top":m={x:d,y:o.y-r.height};break;case"bottom":m={x:d,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:f};break;case"left":m={x:o.x-r.width,y:f};break;default:m={x:o.x,y:o.y}}switch(Ce(t)){case"start":m[a]-=h*(n&&u?-1:1);break;case"end":m[a]+=h*(n&&u?-1:1);break}return m}async function mc(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=te(t,e),y=Do(m),v=s[h?f==="floating"?"reference":"floating":f],g=Ge(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),x=f==="floating"?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),C=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},k=Ge(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-k.top+y.top)/C.y,bottom:(k.bottom-g.bottom+y.bottom)/C.y,left:(g.left-k.left+y.left)/C.x,right:(k.right-g.right+y.right)/C.x}}const vc=50,yc=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:mc},l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:f}=_n(u,o,l),h=o,m=0;const y={};for(let p=0;p<i.length;p++){const v=i[p];if(!v)continue;const{name:g,fn:x}=v,{x:b,y:C,data:k,reset:S}=await x({x:d,y:f,initialPlacement:o,placement:h,strategy:r,middlewareData:y,rects:u,platform:s,elements:{reference:e,floating:t}});d=b??d,f=C??f,y[g]={...y[g],...k},S&&m<vc&&(m++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(u=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:d,y:f}=_n(u,h,l)),p=-1)}return{x:d,y:f,placement:h,strategy:r,middlewareData:y}},gc=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:d=0}=te(e,t)||{};if(u==null)return{};const f=Do(d),h={x:n,y:o},m=Wt(r),y=Bt(m),p=await a.getDimensions(u),v=m==="y",g=v?"top":"left",x=v?"bottom":"right",b=v?"clientHeight":"clientWidth",C=i.reference[y]+i.reference[m]-h[m]-i.floating[y],k=h[m]-i.reference[m],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let R=S?S[b]:0;(!R||!await(a.isElement==null?void 0:a.isElement(S)))&&(R=s.floating[b]||i.floating[y]);const P=C/2-k/2,T=R/2-p[y]/2-1,M=ie(f[g],T),N=ie(f[x],T),_=M,D=R-p[y]-N,O=R/2-p[y]/2+P,V=bt(_,O,D),I=!l.arrow&&Ce(r)!=null&&O!==V&&i.reference[y]/2-(O<_?M:N)-p[y]/2<0,L=I?O<_?O-_:O-D:0;return{[m]:h[m]+L,data:{[m]:V,centerOffset:O-V-L,...I&&{alignmentOffset:L}},reset:I}}}),xc=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:p=!0,...v}=te(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=ne(r),x=Z(s),b=ne(s)===s,C=await(l.isRTL==null?void 0:l.isRTL(u.floating)),k=h||(b||!p?[Xe(s)]:lc(s)),S=y!=="none";!h&&S&&k.push(...pc(s,p,y,C));const R=[s,...k],P=await l.detectOverflow(t,v),T=[];let M=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&T.push(P[g]),f){const O=cc(r,a,C);T.push(P[O[0]],P[O[1]])}if(M=[...M,{placement:r,overflows:T}],!T.every(O=>O<=0)){var N,_;const O=(((N=i.flip)==null?void 0:N.index)||0)+1,V=R[O];if(V&&(!(f==="alignment"?x!==Z(V):!1)||M.every(A=>Z(A.placement)===x?A.overflows[0]>0:!0)))return{data:{index:O,overflows:M},reset:{placement:V}};let I=(_=M.filter(L=>L.overflows[0]<=0).sort((L,A)=>L.overflows[1]-A.overflows[1])[0])==null?void 0:_.placement;if(!I)switch(m){case"bestFit":{var D;const L=(D=M.filter(A=>{if(S){const $=Z(A.placement);return $===x||$==="y"}return!0}).map(A=>[A.placement,A.overflows.filter($=>$>0).reduce(($,B)=>$+B,0)]).sort((A,$)=>A[1]-$[1])[0])==null?void 0:D[0];L&&(I=L);break}case"initialPlacement":I=s;break}if(r!==I)return{reset:{placement:I}}}return{}}}};function Pn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Mn(e){return ac.some(t=>e[t]>=0)}const wc=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:o}=t,{strategy:r="referenceHidden",...i}=te(e,t);switch(r){case"referenceHidden":{const a=await o.detectOverflow(t,{...i,elementContext:"reference"}),s=Pn(a,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Mn(s)}}}case"escaped":{const a=await o.detectOverflow(t,{...i,altBoundary:!0}),s=Pn(a,n.floating);return{data:{escapedOffsets:s,escaped:Mn(s)}}}default:return{}}}}},Io=new Set(["left","top"]);async function bc(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),a=ne(n),s=Ce(n),l=Z(n)==="y",u=Io.has(a)?-1:1,d=i&&l?-1:1,f=te(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof y=="number"&&(m=s==="end"?y*-1:y),l?{x:m*d,y:h*u}:{x:h*u,y:m*d}}const Cc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:a,middlewareData:s}=t,l=await bc(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:a}}}}},kc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r,platform:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:g=>{let{x,y:b}=g;return{x,y:b}}},...u}=te(e,t),d={x:n,y:o},f=await i.detectOverflow(t,u),h=Z(ne(r)),m=Vt(h);let y=d[m],p=d[h];if(a){const g=m==="y"?"top":"left",x=m==="y"?"bottom":"right",b=y+f[g],C=y-f[x];y=bt(b,y,C)}if(s){const g=h==="y"?"top":"left",x=h==="y"?"bottom":"right",b=p+f[g],C=p-f[x];p=bt(b,p,C)}const v=l.fn({...t,[m]:y,[h]:p});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[m]:a,[h]:s}}}}}},Ec=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=te(e,t),d={x:n,y:o},f=Z(r),h=Vt(f);let m=d[h],y=d[f];const p=te(s,t),v=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const b=h==="y"?"height":"width",C=i.reference[h]-i.floating[b]+v.mainAxis,k=i.reference[h]+i.reference[b]-v.mainAxis;m<C?m=C:m>k&&(m=k)}if(u){var g,x;const b=h==="y"?"width":"height",C=Io.has(ne(r)),k=i.reference[f]-i.floating[b]+(C&&((g=a.offset)==null?void 0:g[f])||0)+(C?0:v.crossAxis),S=i.reference[f]+i.reference[b]+(C?0:((x=a.offset)==null?void 0:x[f])||0)-(C?v.crossAxis:0);y<k?y=k:y>S&&(y=S)}return{[h]:m,[f]:y}}}},Rc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:a,elements:s}=t,{apply:l=()=>{},...u}=te(e,t),d=await a.detectOverflow(t,u),f=ne(r),h=Ce(r),m=Z(r)==="y",{width:y,height:p}=i.floating;let v,g;f==="top"||f==="bottom"?(v=f,g=h===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(g=f,v=h==="end"?"top":"bottom");const x=p-d.top-d.bottom,b=y-d.left-d.right,C=ie(p-d[v],x),k=ie(y-d[g],b),S=!t.middlewareData.shift;let R=C,P=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=b),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(R=x),S&&!h){const M=W(d.left,0),N=W(d.right,0),_=W(d.top,0),D=W(d.bottom,0);m?P=y-2*(M!==0||N!==0?M+N:W(d.left,d.right)):R=p-2*(_!==0||D!==0?_+D:W(d.top,d.bottom))}await l({...t,availableWidth:P,availableHeight:R});const T=await a.getDimensions(s.floating);return y!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function ot(){return typeof window<"u"}function ke(e){return Lo(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ee(e){var t;return(t=(Lo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Lo(e){return ot()?e instanceof Node||e instanceof z(e).Node:!1}function U(e){return ot()?e instanceof Element||e instanceof z(e).Element:!1}function oe(e){return ot()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function Nn(e){return!ot()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}function Pe(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&r!=="inline"&&r!=="contents"}function Sc(e){return/^(table|td|th)$/.test(ke(e))}function rt(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Ac=/transform|translate|scale|rotate|perspective|filter/,_c=/paint|layout|strict|content/,se=e=>!!e&&e!=="none";let mt;function zt(e){const t=U(e)?q(e):e;return se(t.transform)||se(t.translate)||se(t.scale)||se(t.rotate)||se(t.perspective)||!Ut()&&(se(t.backdropFilter)||se(t.filter))||Ac.test(t.willChange||"")||_c.test(t.contain||"")}function Pc(e){let t=ae(e);for(;oe(t)&&!xe(t);){if(zt(t))return t;if(rt(t))return null;t=ae(t)}return null}function Ut(){return mt==null&&(mt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),mt}function xe(e){return/^(html|body|#document)$/.test(ke(e))}function q(e){return z(e).getComputedStyle(e)}function it(e){return U(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ae(e){if(ke(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Nn(e)&&e.host||ee(e);return Nn(t)?t.host:t}function $o(e){const t=ae(e);return xe(t)?e.ownerDocument?e.ownerDocument.body:e.body:oe(t)&&Pe(t)?t:$o(t)}function Ae(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=$o(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),a=z(r);if(i){const s=kt(a);return t.concat(a,a.visualViewport||[],Pe(r)?r:[],s&&n?Ae(s):[])}else return t.concat(r,Ae(r,[],n))}function kt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jo(e){const t=q(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=oe(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=Ye(n)!==i||Ye(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}function qt(e){return U(e)?e:e.contextElement}function ye(e){const t=qt(e);if(!oe(t))return J(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=jo(t);let a=(i?Ye(n.width):n.width)/o,s=(i?Ye(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Mc=J(0);function Fo(e){const t=z(e);return!Ut()||!t.visualViewport?Mc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Nc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==z(e)?!1:t}function le(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=qt(e);let a=J(1);t&&(o?U(o)&&(a=ye(o)):a=ye(e));const s=Nc(i,n,o)?Fo(i):J(0);let l=(r.left+s.x)/a.x,u=(r.top+s.y)/a.y,d=r.width/a.x,f=r.height/a.y;if(i){const h=z(i),m=o&&U(o)?z(o):o;let y=h,p=kt(y);for(;p&&o&&m!==y;){const v=ye(p),g=p.getBoundingClientRect(),x=q(p),b=g.left+(p.clientLeft+parseFloat(x.paddingLeft))*v.x,C=g.top+(p.clientTop+parseFloat(x.paddingTop))*v.y;l*=v.x,u*=v.y,d*=v.x,f*=v.y,l+=b,u+=C,y=z(p),p=kt(y)}}return Ge({width:d,height:f,x:l,y:u})}function at(e,t){const n=it(e).scrollLeft;return t?t.left+n:le(ee(e)).left+n}function Ho(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-at(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Oc(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",a=ee(o),s=t?rt(t.floating):!1;if(o===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=J(1);const d=J(0),f=oe(o);if((f||!f&&!i)&&((ke(o)!=="body"||Pe(a))&&(l=it(o)),f)){const m=le(o);u=ye(o),d.x=m.x+o.clientLeft,d.y=m.y+o.clientTop}const h=a&&!f&&!i?Ho(a,l):J(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-l.scrollTop*u.y+d.y+h.y}}function Tc(e){return Array.from(e.getClientRects())}function Dc(e){const t=ee(e),n=it(e),o=e.ownerDocument.body,r=W(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=W(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+at(e);const s=-n.scrollTop;return q(o).direction==="rtl"&&(a+=W(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:s}}const On=25;function Ic(e,t){const n=z(e),o=ee(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;const d=Ut();(!d||d&&t==="fixed")&&(s=r.offsetLeft,l=r.offsetTop)}const u=at(o);if(u<=0){const d=o.ownerDocument,f=d.body,h=getComputedStyle(f),m=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,y=Math.abs(o.clientWidth-f.clientWidth-m);y<=On&&(i-=y)}else u<=On&&(i+=u);return{width:i,height:a,x:s,y:l}}function Lc(e,t){const n=le(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=oe(e)?ye(e):J(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=r*i.x,u=o*i.y;return{width:a,height:s,x:l,y:u}}function Tn(e,t,n){let o;if(t==="viewport")o=Ic(e,n);else if(t==="document")o=Dc(ee(e));else if(U(t))o=Lc(t,n);else{const r=Fo(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Ge(o)}function Vo(e,t){const n=ae(e);return n===t||!U(n)||xe(n)?!1:q(n).position==="fixed"||Vo(n,t)}function $c(e,t){const n=t.get(e);if(n)return n;let o=Ae(e,[],!1).filter(s=>U(s)&&ke(s)!=="body"),r=null;const i=q(e).position==="fixed";let a=i?ae(e):e;for(;U(a)&&!xe(a);){const s=q(a),l=zt(a);!l&&s.position==="fixed"&&(r=null),(i?!l&&!r:!l&&s.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||Pe(a)&&!l&&Vo(e,a))?o=o.filter(d=>d!==a):r=s,a=ae(a)}return t.set(e,o),o}function jc(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const a=[...n==="clippingAncestors"?rt(t)?[]:$c(t,this._c):[].concat(n),o],s=Tn(t,a[0],r);let l=s.top,u=s.right,d=s.bottom,f=s.left;for(let h=1;h<a.length;h++){const m=Tn(t,a[h],r);l=W(m.top,l),u=ie(m.right,u),d=ie(m.bottom,d),f=W(m.left,f)}return{width:u-f,height:d-l,x:f,y:l}}function Fc(e){const{width:t,height:n}=jo(e);return{width:t,height:n}}function Hc(e,t,n){const o=oe(t),r=ee(t),i=n==="fixed",a=le(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=J(0);function u(){l.x=at(r)}if(o||!o&&!i)if((ke(t)!=="body"||Pe(r))&&(s=it(t)),o){const m=le(t,!0,i,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else r&&u();i&&!o&&r&&u();const d=r&&!o&&!i?Ho(r,s):J(0),f=a.left+s.scrollLeft-l.x-d.x,h=a.top+s.scrollTop-l.y-d.y;return{x:f,y:h,width:a.width,height:a.height}}function vt(e){return q(e).position==="static"}function Dn(e,t){if(!oe(e)||q(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ee(e)===n&&(n=n.ownerDocument.body),n}function Bo(e,t){const n=z(e);if(rt(e))return n;if(!oe(e)){let r=ae(e);for(;r&&!xe(r);){if(U(r)&&!vt(r))return r;r=ae(r)}return n}let o=Dn(e,t);for(;o&&Sc(o)&&vt(o);)o=Dn(o,t);return o&&xe(o)&&vt(o)&&!zt(o)?n:o||Pc(e)||n}const Vc=async function(e){const t=this.getOffsetParent||Bo,n=this.getDimensions,o=await n(e.floating);return{reference:Hc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Bc(e){return q(e).direction==="rtl"}const Wc={convertOffsetParentRelativeRectToViewportRelativeRect:Oc,getDocumentElement:ee,getClippingRect:jc,getOffsetParent:Bo,getElementRects:Vc,getClientRects:Tc,getDimensions:Fc,getScale:ye,isElement:U,isRTL:Bc};function Wo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function zc(e,t){let n=null,o;const r=ee(e);function i(){var s;clearTimeout(o),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:m}=u;if(s||t(),!h||!m)return;const y=Ve(f),p=Ve(r.clientWidth-(d+h)),v=Ve(r.clientHeight-(f+m)),g=Ve(d),b={rootMargin:-y+"px "+-p+"px "+-v+"px "+-g+"px",threshold:W(0,ie(1,l))||1};let C=!0;function k(S){const R=S[0].intersectionRatio;if(R!==l){if(!C)return a();R?a(!1,R):o=setTimeout(()=>{a(!1,1e-7)},1e3)}R===1&&!Wo(u,e.getBoundingClientRect())&&a(),C=!1}try{n=new IntersectionObserver(k,{...b,root:r.ownerDocument})}catch{n=new IntersectionObserver(k,b)}n.observe(e)}return a(!0),i}function Uc(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,u=qt(e),d=r||i?[...u?Ae(u):[],...t?Ae(t):[]]:[];d.forEach(g=>{r&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const f=u&&s?zc(u,n):null;let h=-1,m=null;a&&(m=new ResizeObserver(g=>{let[x]=g;x&&x.target===u&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=m)==null||b.observe(t)})),n()}),u&&!l&&m.observe(u),t&&m.observe(t));let y,p=l?le(e):null;l&&v();function v(){const g=le(e);p&&!Wo(p,g)&&n(),p=g,y=requestAnimationFrame(v)}return n(),()=>{var g;d.forEach(x=>{r&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),f==null||f(),(g=m)==null||g.disconnect(),m=null,l&&cancelAnimationFrame(y)}}const qc=Cc,Kc=kc,Yc=xc,Xc=Rc,Gc=wc,In=gc,Zc=Ec,Qc=(e,t,n)=>{const o=new Map,r={platform:Wc,...n},i={...r.platform,_c:o};return yc(e,t,{...r,platform:i})};var Jc=typeof document<"u",el=function(){},ze=Jc?c.useLayoutEffect:el;function Ze(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(!Ze(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 i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!Ze(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function zo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ln(e,t){const n=zo(e);return Math.round(t*n)/n}function yt(e){const t=c.useRef(e);return ze(()=>{t.current=e}),t}function tl(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[d,f]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=c.useState(o);Ze(h,o)||m(o);const[y,p]=c.useState(null),[v,g]=c.useState(null),x=c.useCallback(A=>{A!==S.current&&(S.current=A,p(A))},[]),b=c.useCallback(A=>{A!==R.current&&(R.current=A,g(A))},[]),C=i||y,k=a||v,S=c.useRef(null),R=c.useRef(null),P=c.useRef(d),T=l!=null,M=yt(l),N=yt(r),_=yt(u),D=c.useCallback(()=>{if(!S.current||!R.current)return;const A={placement:t,strategy:n,middleware:h};N.current&&(A.platform=N.current),Qc(S.current,R.current,A).then($=>{const B={...$,isPositioned:_.current!==!1};O.current&&!Ze(P.current,B)&&(P.current=B,Pt.flushSync(()=>{f(B)}))})},[h,t,n,N,_]);ze(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(A=>({...A,isPositioned:!1})))},[u]);const O=c.useRef(!1);ze(()=>(O.current=!0,()=>{O.current=!1}),[]),ze(()=>{if(C&&(S.current=C),k&&(R.current=k),C&&k){if(M.current)return M.current(C,k,D);D()}},[C,k,D,M,T]);const V=c.useMemo(()=>({reference:S,floating:R,setReference:x,setFloating:b}),[x,b]),I=c.useMemo(()=>({reference:C,floating:k}),[C,k]),L=c.useMemo(()=>{const A={position:n,left:0,top:0};if(!I.floating)return A;const $=Ln(I.floating,d.x),B=Ln(I.floating,d.y);return s?{...A,transform:"translate("+$+"px, "+B+"px)",...zo(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:B}},[n,s,I.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:D,refs:V,elements:I,floatingStyles:L}),[d,D,V,I,L])}const nl=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?In({element:o.current,padding:r}).fn(n):{}:o?In({element:o,padding:r}).fn(n):{}}}},ol=(e,t)=>{const n=qc(e);return{name:n.name,fn:n.fn,options:[e,t]}},rl=(e,t)=>{const n=Kc(e);return{name:n.name,fn:n.fn,options:[e,t]}},il=(e,t)=>({fn:Zc(e).fn,options:[e,t]}),al=(e,t)=>{const n=Yc(e);return{name:n.name,fn:n.fn,options:[e,t]}},sl=(e,t)=>{const n=Xc(e);return{name:n.name,fn:n.fn,options:[e,t]}},cl=(e,t)=>{const n=Gc(e);return{name:n.name,fn:n.fn,options:[e,t]}},ll=(e,t)=>{const n=nl(e);return{name:n.name,fn:n.fn,options:[e,t]}};var ul="Arrow",Uo=c.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...i}=e;return w.jsx(j.svg,{...i,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});Uo.displayName=ul;var dl=Uo;function qo(e){const[t,n]=c.useState(void 0);return Q(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const i=r[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var Kt="Popper",[Ko,Yo]=ue(Kt),[fl,Xo]=Ko(Kt),Go=e=>{const{__scopePopper:t,children:n}=e,[o,r]=c.useState(null),[i,a]=c.useState(void 0);return w.jsx(fl,{scope:t,anchor:o,onAnchorChange:r,placementState:i,setPlacementState:a,children:n})};Go.displayName=Kt;var Zo="PopperAnchor",Qo=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,i=Xo(Zo,n),a=c.useRef(null),s=i.onAnchorChange,l=c.useCallback(y=>{a.current=y,y&&s(y)},[s]),u=H(t,l),d=c.useRef(null);c.useEffect(()=>{if(!o)return;const y=d.current;d.current=o.current,y!==d.current&&s(d.current)});const f=i.placementState&&Xt(i.placementState),h=f==null?void 0:f[0],m=f==null?void 0:f[1];return o?null:w.jsx(j.div,{"data-radix-popper-side":h,"data-radix-popper-align":m,...r,ref:u})});Qo.displayName=Zo;var Yt="PopperContent",[pl,hl]=Ko(Yt),Jo=c.forwardRef((e,t)=>{var tn,nn,on,rn,an,sn;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u,collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:m="optimized",onPlaced:y,...p}=e,v=Xo(Yt,n),[g,x]=c.useState(null),b=H(t,Re=>x(Re)),[C,k]=c.useState(null),S=qo(C),R=(S==null?void 0:S.width)??0,P=(S==null?void 0:S.height)??0,T=o+(i!=="center"?"-"+i:""),M=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},N=u?Array.isArray(u)?u:[u]:void 0,_=N!==void 0&&N.length>0,D={padding:M,boundary:N==null?void 0:N.filter(vl),altBoundary:_},{refs:O,floatingStyles:V,placement:I,isPositioned:L,middlewareData:A}=tl({strategy:"fixed",placement:T,whileElementsMounted:(...Re)=>Uc(...Re,{animationFrame:m==="always"}),elements:{reference:v.anchor},middleware:[ol({mainAxis:r+P,alignmentAxis:a}),l&&rl({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?il():void 0,...D}),l&&al({...D}),sl({...D,apply:({elements:Re,rects:cn,availableWidth:Tr,availableHeight:Dr})=>{const{width:Ir,height:Lr}=cn.reference,Te=Re.floating.style;Te.setProperty("--radix-popper-available-width",`${Tr}px`),Te.setProperty("--radix-popper-available-height",`${Dr}px`),Te.setProperty("--radix-popper-anchor-width",`${Ir}px`),Te.setProperty("--radix-popper-anchor-height",`${Lr}px`)}}),C&&ll({element:C,padding:s}),yl({arrowWidth:R,arrowHeight:P}),h&&cl({strategy:"referenceHidden",...D})]}),$=v.setPlacementState;Q(()=>($(I),()=>{$(void 0)}),[I,$]);const[B,en]=Xt(I),Oe=ge(y);Q(()=>{L&&(Oe==null||Oe())},[L,Oe]);const _r=(tn=A.arrow)==null?void 0:tn.x,Pr=(nn=A.arrow)==null?void 0:nn.y,Mr=((on=A.arrow)==null?void 0:on.centerOffset)!==0,[Nr,Or]=c.useState();return Q(()=>{g&&Or(window.getComputedStyle(g).zIndex)},[g]),w.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:L?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Nr,"--radix-popper-transform-origin":[(rn=A.transformOrigin)==null?void 0:rn.x,(an=A.transformOrigin)==null?void 0:an.y].join(" "),...((sn=A.hide)==null?void 0:sn.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(pl,{scope:n,placedSide:B,placedAlign:en,onArrowChange:k,arrowX:_r,arrowY:Pr,shouldHideArrow:Mr,children:w.jsx(j.div,{"data-side":B,"data-align":en,...p,ref:b,style:{...p.style,animation:L?void 0:"none"}})})})});Jo.displayName=Yt;var er="PopperArrow",ml={top:"bottom",right:"left",bottom:"top",left:"right"},tr=c.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,i=hl(er,o),a=ml[i.placedSide];return w.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:w.jsx(dl,{...r,ref:n,style:{...r.style,display:"block"}})})});tr.displayName=er;function vl(e){return e!==null}var yl=e=>({name:"transformOrigin",options:e,fn(t){var v,g,x;const{placement:n,rects:o,middlewareData:r}=t,a=((v=r.arrow)==null?void 0:v.centerOffset)!==0,s=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[u,d]=Xt(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((g=r.arrow)==null?void 0:g.x)??0)+s/2,m=(((x=r.arrow)==null?void 0:x.y)??0)+l/2;let y="",p="";return u==="bottom"?(y=a?f:`${h}px`,p=`${-l}px`):u==="top"?(y=a?f:`${h}px`,p=`${o.floating.height+l}px`):u==="right"?(y=`${-l}px`,p=a?f:`${m}px`):u==="left"&&(y=`${o.floating.width+l}px`,p=a?f:`${m}px`),{data:{x:y,y:p}}}});function Xt(e){const[t,n="center"]=e.split("-");return[t,n]}var gl=Go,xl=Qo,wl=Jo,bl=tr,Cl=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),kl="VisuallyHidden",nr=c.forwardRef((e,t)=>w.jsx(j.span,{...e,ref:t,style:{...Cl,...e.style}}));nr.displayName=kl;var El=nr,[st]=ue("Tooltip",[Yo]),ct=Yo(),or="TooltipProvider",Rl=700,Et="tooltip.open",[Sl,Gt]=st(or),rr=e=>{const{__scopeTooltip:t,delayDuration:n=Rl,skipDelayDuration:o=300,disableHoverableContent:r=!1,children:i}=e,a=c.useRef(!0),s=c.useRef(!1),l=c.useRef(0);return c.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),w.jsx(Sl,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:c.useCallback(()=>{o<=0||(window.clearTimeout(l.current),a.current=!1)},[o]),onClose:c.useCallback(()=>{o<=0||(window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,o))},[o]),isPointerInTransitRef:s,onPointerInTransitChange:c.useCallback(u=>{s.current=u},[]),disableHoverableContent:r,children:i})};rr.displayName=or;var _e="Tooltip",[Al,Me]=st(_e),ir=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:r,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,l=Gt(_e,e.__scopeTooltip),u=ct(t),[d,f]=c.useState(null),h=me(),m=c.useRef(0),y=a??l.disableHoverableContent,p=s??l.delayDuration,v=c.useRef(!1),[g,x]=be({prop:o,defaultProp:r??!1,onChange:R=>{R?(l.onOpen(),document.dispatchEvent(new CustomEvent(Et))):l.onClose(),i==null||i(R)},caller:_e}),b=c.useMemo(()=>g?v.current?"delayed-open":"instant-open":"closed",[g]),C=c.useCallback(()=>{window.clearTimeout(m.current),m.current=0,v.current=!1,x(!0)},[x]),k=c.useCallback(()=>{window.clearTimeout(m.current),m.current=0,x(!1)},[x]),S=c.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,x(!0),m.current=0},p)},[p,x]);return c.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),w.jsx(gl,{...u,children:w.jsx(Al,{scope:t,contentId:h,open:g,stateAttribute:b,trigger:d,onTriggerChange:f,onTriggerEnter:c.useCallback(()=>{l.isOpenDelayedRef.current?S():C()},[l.isOpenDelayedRef,S,C]),onTriggerLeave:c.useCallback(()=>{y?k():(window.clearTimeout(m.current),m.current=0)},[k,y]),onOpen:C,onClose:k,disableHoverableContent:y,children:n})})};ir.displayName=_e;var Rt="TooltipTrigger",ar=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=Me(Rt,n),i=Gt(Rt,n),a=ct(n),s=c.useRef(null),l=H(t,s,r.onTriggerChange),u=c.useRef(!1),d=c.useRef(!1),f=c.useCallback(()=>u.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),w.jsx(xl,{asChild:!0,...a,children:w.jsx(j.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...o,ref:l,onPointerMove:F(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(r.onTriggerEnter(),d.current=!0)}),onPointerLeave:F(e.onPointerLeave,()=>{r.onTriggerLeave(),d.current=!1}),onPointerDown:F(e.onPointerDown,()=>{r.open&&r.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:F(e.onFocus,()=>{u.current||r.onOpen()}),onBlur:F(e.onBlur,r.onClose),onClick:F(e.onClick,r.onClose)})})});ar.displayName=Rt;var Zt="TooltipPortal",[_l,Pl]=st(Zt,{forceMount:void 0}),sr=e=>{const{__scopeTooltip:t,forceMount:n,children:o,container:r}=e,i=Me(Zt,t);return w.jsx(_l,{scope:t,forceMount:n,children:w.jsx(de,{present:n||i.open,children:w.jsx(Nt,{asChild:!0,container:r,children:o})})})};sr.displayName=Zt;var we="TooltipContent",cr=c.forwardRef((e,t)=>{const n=Pl(we,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...i}=e,a=Me(we,e.__scopeTooltip);return w.jsx(de,{present:o||a.open,children:a.disableHoverableContent?w.jsx(lr,{side:r,...i,ref:t}):w.jsx(Ml,{side:r,...i,ref:t})})}),Ml=c.forwardRef((e,t)=>{const n=Me(we,e.__scopeTooltip),o=Gt(we,e.__scopeTooltip),r=c.useRef(null),i=H(t,r),[a,s]=c.useState(null),{trigger:l,onClose:u}=n,d=r.current,{onPointerInTransitChange:f}=o,h=c.useCallback(()=>{s(null),f(!1)},[f]),m=c.useCallback((y,p)=>{const v=y.currentTarget,g={x:y.clientX,y:y.clientY},x=Dl(g,v.getBoundingClientRect()),b=Il(g,x),C=Ll(p.getBoundingClientRect()),k=jl([...b,...C]);s(k),f(!0)},[f]);return c.useEffect(()=>()=>h(),[h]),c.useEffect(()=>{if(l&&d){const y=v=>m(v,d),p=v=>m(v,l);return l.addEventListener("pointerleave",y),d.addEventListener("pointerleave",p),()=>{l.removeEventListener("pointerleave",y),d.removeEventListener("pointerleave",p)}}},[l,d,m,h]),c.useEffect(()=>{if(a){const y=p=>{const v=p.target,g={x:p.clientX,y:p.clientY},x=(l==null?void 0:l.contains(v))||(d==null?void 0:d.contains(v)),b=!$l(g,a);x?h():b&&(h(),u())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[l,d,a,u,h]),w.jsx(lr,{...e,ref:i})}),[Nl,Ol]=st(_e,{isInside:!1}),Tl=jr("TooltipContent"),lr=c.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":r,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,l=Me(we,n),u=ct(n),{onClose:d}=l;return c.useEffect(()=>(document.addEventListener(Et,d),()=>document.removeEventListener(Et,d)),[d]),c.useEffect(()=>{if(l.trigger){const f=h=>{h.target instanceof Node&&h.target.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),w.jsx(Mt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:w.jsxs(wl,{"data-state":l.stateAttribute,...u,...s,ref:t,style:{...s.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:[w.jsx(Tl,{children:o}),w.jsx(Nl,{scope:n,isInside:!0,children:w.jsx(El,{id:l.contentId,role:"tooltip",children:r||o})})]})})});cr.displayName=we;var ur="TooltipArrow",dr=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=ct(n);return Ol(ur,n).isInside?null:w.jsx(bl,{...r,...o,ref:t})});dr.displayName=ur;function Dl(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function Il(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 Ll(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 $l(e,t){const{x:n,y:o}=e;let r=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i],l=t[a],u=s.x,d=s.y,f=l.x,h=l.y;d>o!=h>o&&n<(f-u)*(o-d)/(h-d)+u&&(r=!r)}return r}function jl(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),Fl(t)}function Fl(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 i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(r.y-a.y)>=(i.y-a.y)*(r.x-a.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 i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(r.y-a.y)>=(i.y-a.y)*(r.x-a.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 Vd=rr,Bd=ir,Wd=ar,zd=sr,Ud=cr,qd=dr;function fr(e,[t,n]){return Math.min(n,Math.max(t,e))}function Hl(e){const t=c.useRef({value:e,previous:e});return c.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var pr=["PageUp","PageDown"],hr=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],mr={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Ee="Slider",[St,Vl,Bl]=mo(Ee),[Qt]=ue(Ee,[Bl]),[Wl,Ne]=Qt(Ee),zl=c.forwardRef((e,t)=>{const{name:n,min:o=0,max:r=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[o],value:d,onValueChange:f=()=>{},onValueCommit:h=()=>{},inverted:m=!1,form:y,...p}=e,v=c.useRef(new Set),g=c.useRef(0),x=c.useRef(!1),C=a==="horizontal"?Ul:ql,[k=[],S]=be({prop:d,defaultProp:u,onChange:_=>{var O;(O=[...v.current][g.current])==null||O.focus({preventScroll:!0,focusVisible:x.current}),x.current=!1,f(_)}}),R=c.useRef(k);function P(_){const D=Jl(k,_);N(_,D)}function T(_){N(_,g.current)}function M(){const _=R.current[g.current];k[g.current]!==_&&h(k)}function N(_,D,{commit:O}={commit:!1}){const V=ou(i),I=ru(Math.round((_-o)/i)*i+o,V),L=fr(I,[o,r]);S((A=[])=>{const $=Zl(A,L,D);if(nu($,l*i)){g.current=$.indexOf(L);const B=String($)!==String(A);return B&&O&&h($),B?$:A}else return A})}return w.jsx(Wl,{scope:e.__scopeSlider,name:n,disabled:s,min:o,max:r,valueIndexToChangeRef:g,thumbs:v.current,values:k,orientation:a,form:y,children:w.jsx(St.Provider,{scope:e.__scopeSlider,children:w.jsx(St.Slot,{scope:e.__scopeSlider,children:w.jsx(C,{"aria-disabled":s,"data-disabled":s?"":void 0,...p,ref:t,onPointerDown:F(p.onPointerDown,()=>{s||(R.current=k,x.current=!1)}),min:o,max:r,inverted:m,onSlideStart:s?void 0:P,onSlideMove:s?void 0:T,onSlideEnd:s?void 0:M,onHomeKeyDown:()=>{s||(x.current=!0,N(o,0,{commit:!0}))},onEndKeyDown:()=>{s||(x.current=!0,N(r,k.length-1,{commit:!0}))},onStepKeyDown:({event:_,direction:D})=>{if(!s){x.current=!0;const I=pr.includes(_.key)||_.shiftKey&&hr.includes(_.key)?10:1,L=g.current,A=k[L],$=i*I*D;N(A+$,L,{commit:!0})}}})})})})});zl.displayName=Ee;var[vr,yr]=Qt(Ee,{startEdge:"left",endEdge:"right",size:"width",direction:1}),Ul=c.forwardRef((e,t)=>{const{min:n,max:o,dir:r,inverted:i,onSlideStart:a,onSlideMove:s,onSlideEnd:l,onStepKeyDown:u,...d}=e,[f,h]=c.useState(null),m=H(t,b=>h(b)),y=c.useRef(void 0),p=bo(r),v=p==="ltr",g=v&&!i||!v&&i;function x(b){const C=y.current||f.getBoundingClientRect(),k=[0,C.width],R=Jt(k,g?[n,o]:[o,n]);return y.current=C,R(b-C.left)}return w.jsx(vr,{scope:e.__scopeSlider,startEdge:g?"left":"right",endEdge:g?"right":"left",direction:g?1:-1,size:"width",children:w.jsx(gr,{dir:p,"data-orientation":"horizontal",...d,ref:m,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:b=>{const C=x(b.clientX);a==null||a(C)},onSlideMove:b=>{const C=x(b.clientX);s==null||s(C)},onSlideEnd:()=>{y.current=void 0,l==null||l()},onStepKeyDown:b=>{const k=mr[g?"from-left":"from-right"].includes(b.key);u==null||u({event:b,direction:k?-1:1})}})})}),ql=c.forwardRef((e,t)=>{const{min:n,max:o,inverted:r,onSlideStart:i,onSlideMove:a,onSlideEnd:s,onStepKeyDown:l,...u}=e,d=c.useRef(null),f=H(t,d),h=c.useRef(void 0),m=!r;function y(p){const v=h.current||d.current.getBoundingClientRect(),g=[0,v.height],b=Jt(g,m?[o,n]:[n,o]);return h.current=v,b(p-v.top)}return w.jsx(vr,{scope:e.__scopeSlider,startEdge:m?"bottom":"top",endEdge:m?"top":"bottom",size:"height",direction:m?1:-1,children:w.jsx(gr,{"data-orientation":"vertical",...u,ref:f,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:p=>{const v=y(p.clientY);i==null||i(v)},onSlideMove:p=>{const v=y(p.clientY);a==null||a(v)},onSlideEnd:()=>{h.current=void 0,s==null||s()},onStepKeyDown:p=>{const g=mr[m?"from-bottom":"from-top"].includes(p.key);l==null||l({event:p,direction:g?-1:1})}})})}),gr=c.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:o,onSlideMove:r,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=e,d=Ne(Ee,n);return w.jsx(j.span,{...u,ref:t,onKeyDown:F(e.onKeyDown,f=>{f.key==="Home"?(a(f),f.preventDefault()):f.key==="End"?(s(f),f.preventDefault()):pr.concat(hr).includes(f.key)&&(l(f),f.preventDefault())}),onPointerDown:F(e.onPointerDown,f=>{const h=f.target;h.setPointerCapture(f.pointerId),f.preventDefault(),d.thumbs.has(h)?h.focus({preventScroll:!0,focusVisible:!1}):o(f)}),onPointerMove:F(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&r(f)}),onPointerUp:F(e.onPointerUp,f=>{const h=f.target;h.hasPointerCapture(f.pointerId)&&(h.releasePointerCapture(f.pointerId),i(f))})})}),xr="SliderTrack",Kl=c.forwardRef((e,t)=>{const{__scopeSlider:n,...o}=e,r=Ne(xr,n);return w.jsx(j.span,{"data-disabled":r.disabled?"":void 0,"data-orientation":r.orientation,...o,ref:t})});Kl.displayName=xr;var At="SliderRange",Yl=c.forwardRef((e,t)=>{const{__scopeSlider:n,...o}=e,r=Ne(At,n),i=yr(At,n),a=c.useRef(null),s=H(t,a),l=r.values.length,u=r.values.map(h=>Ar(h,r.min,r.max)),d=l>1?Math.min(...u):0,f=100-Math.max(...u);return w.jsx(j.span,{"data-orientation":r.orientation,"data-disabled":r.disabled?"":void 0,...o,ref:s,style:{...e.style,[i.startEdge]:d+"%",[i.endEdge]:f+"%"}})});Yl.displayName=At;var wr="SliderThumb",[Xl,br]=Qt(wr),Cr="SliderThumbProvider";function kr(e){const{__scopeSlider:t,name:n,children:o,internal_do_not_use_render:r}=e,i=Ne(Cr,t),a=Vl(t),[s,l]=c.useState(null),u=c.useMemo(()=>s?a().findIndex(v=>v.ref.current===s):-1,[a,s]),d=qo(s),f=s?!!i.form||!!s.closest("form"):!0,h=i.values[u],m=n??(i.name?i.name+(i.values.length>1?"[]":""):void 0),y=h===void 0?0:Ar(h,i.min,i.max);c.useEffect(()=>{if(s)return i.thumbs.add(s),()=>{i.thumbs.delete(s)}},[s,i.thumbs]);const p={value:h,name:m,form:i.form,isFormControl:f,index:u,thumb:s,onThumbChange:l,percent:y,size:d};return w.jsx(Xl,{scope:t,...p,children:iu(r)?r(p):o})}kr.displayName=Cr;var Ue="SliderThumbTrigger",Er=c.forwardRef((e,t)=>{const{__scopeSlider:n,...o}=e,r=Ne(Ue,n),i=yr(Ue,n),{index:a,value:s,percent:l,size:u,onThumbChange:d}=br(Ue,n),f=H(t,p=>d(p)),h=Ql(a,r.values.length),m=u==null?void 0:u[i.size],y=m?eu(m,l,i.direction):0;return w.jsx("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[i.startEdge]:`calc(${l}% + ${y}px)`},children:w.jsx(St.ItemSlot,{scope:n,children:w.jsx(j.span,{role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":r.min,"aria-valuenow":s,"aria-valuemax":r.max,"aria-orientation":r.orientation,"data-orientation":r.orientation,"data-disabled":r.disabled?"":void 0,tabIndex:r.disabled?void 0:0,...o,ref:f,style:s===void 0?{display:"none"}:e.style,onFocus:F(e.onFocus,()=>{r.valueIndexToChangeRef.current=a})})})})});Er.displayName=Ue;var Gl=c.forwardRef((e,t)=>{const{__scopeSlider:n,name:o,...r}=e;return w.jsx(kr,{__scopeSlider:n,name:o,internal_do_not_use_render:({index:i,isFormControl:a})=>w.jsxs(w.Fragment,{children:[w.jsx(Er,{...r,ref:t,__scopeSlider:n}),a?w.jsx(Sr,{__scopeSlider:n},i):null]})})});Gl.displayName=wr;var Rr="SliderBubbleInput",Sr=c.forwardRef(({__scopeSlider:e,...t},n)=>{const{value:o,name:r,form:i}=br(Rr,e),a=c.useRef(null),s=H(a,n),l=Hl(o);return c.useEffect(()=>{const u=a.current;if(!u)return;const d=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(d,"value").set;if(l!==o&&h){const m=new Event("input",{bubbles:!0});h.call(u,o),u.dispatchEvent(m)}},[l,o]),w.jsx(j.input,{style:{display:"none"},name:r,form:i,...t,ref:s,defaultValue:o})});Sr.displayName=Rr;function Zl(e=[],t,n){const o=[...e];return o[n]=t,o.sort((r,i)=>r-i)}function Ar(e,t,n){const i=100/(n-t)*(e-t);return fr(i,[0,100])}function Ql(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function Jl(e,t){if(e.length===1)return 0;const n=e.map(r=>Math.abs(r-t)),o=Math.min(...n);return n.indexOf(o)}function eu(e,t,n){const o=e/2,i=Jt([0,50],[0,o]);return(o-i(t)*n)*n}function tu(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function nu(e,t){if(t>0){const n=tu(e);return Math.min(...n)>=t}return!0}function Jt(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 ou(e){if(!Number.isFinite(e))return 0;const t=e.toString();if(t.includes("e")){const[o,r]=t.split("e"),i=o.split(".")[1]||"",a=Number(r);return Math.max(0,i.length-a)}const n=t.split(".")[1];return n?n.length:0}function ru(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}function iu(e){return typeof e=="function"}export{Du as $,lu as A,hu as B,Pu as C,Mu as D,Ou as E,$u as F,Vu as G,$d as H,zu as I,id as J,kd as K,Uu as L,rd as M,Gu as N,Fu as O,td as P,Iu as Q,sd as R,pd as S,yd as T,gd as U,Ku as V,bd as W,_u as X,Bu as Y,Ed as Z,Au as _,gu as a,bu as a0,Hu as a1,Tu as a2,ju as a3,zl as a4,Kl as a5,Yl as a6,Gl as a7,cu as a8,fd as a9,_d as aA,Nd as aB,Dd as aC,Od as aD,Td as aE,Pd as aF,Md as aG,xd as aa,hd as ab,yu as ac,ad,ud as ae,Nu as af,du as ag,Bd as ah,Wd as ai,zd as aj,Ud as ak,qd as al,Hd as am,Vd as an,Ju as ao,Qu as ap,uu as aq,Cd as ar,qu as as,nd as at,dd as au,Yu as av,Xu as aw,md as ax,cd as ay,Ad as az,Rd as b,mu as c,od as d,Su as e,vd as f,pu as g,ld as h,Wu as i,Lu as j,Zu as k,wd as l,vu as m,Id as n,Ld as o,jd as p,wu as q,Fd as r,xu as s,fu as t,ed as u,Ru as v,Eu as w,su as x,ku as y,Cu as z};
430
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return c.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Hs="DialogDescriptionWarning",Vs=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ho(Hs).contentName}}.`;return c.useEffect(()=>{var i;const r=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},Pd=Jn,Md=to,Nd=oo,Od=ro,Td=io,Dd=so,Id=lo,Ld=fo;function mo(e){const t=e+"CollectionProvider",[n,o]=ue(t),[r,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:v,children:g}=p,x=c.useRef(null),b=c.useRef(new Map).current;return w.jsx(r,{scope:v,itemMap:b,collectionRef:x,children:g})};a.displayName=t;const s=e+"CollectionSlot",l=Se(s),u=c.forwardRef((p,v)=>{const{scope:g,children:x}=p,b=i(s,g),C=H(v,b.collectionRef);return w.jsx(l,{ref:C,children:x})});u.displayName=s;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=Se(d),m=c.forwardRef((p,v)=>{const{scope:g,children:x,...b}=p,C=c.useRef(null),k=H(v,C),S=i(d,g);return c.useEffect(()=>(S.itemMap.set(C,{ref:C,...b}),()=>void S.itemMap.delete(C))),w.jsx(h,{[f]:"",ref:k,children:x})});m.displayName=d;function y(p){const v=i(e+"CollectionConsumer",p);return c.useCallback(()=>{const x=v.collectionRef.current;if(!x)return[];const b=Array.from(x.querySelectorAll(`[${f}]`));return Array.from(v.itemMap.values()).sort((S,R)=>b.indexOf(S.ref.current)-b.indexOf(R.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:u,ItemSlot:m},y,o]}var et="Collapsible",[Bs,vo]=ue(et),[Ws,It]=Bs(et),yo=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:o,defaultOpen:r,disabled:i,onOpenChange:a,...s}=e,[l,u]=be({prop:o,defaultProp:r??!1,onChange:a,caller:et});return w.jsx(Ws,{scope:n,disabled:i,contentId:me(),open:l,onOpenToggle:c.useCallback(()=>u(d=>!d),[u]),children:w.jsx(j.div,{"data-state":$t(l),"data-disabled":i?"":void 0,...s,ref:t})})});yo.displayName=et;var go="CollapsibleTrigger",xo=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,...o}=e,r=It(go,n);return w.jsx(j.button,{type:"button","aria-controls":r.open?r.contentId:void 0,"aria-expanded":r.open||!1,"data-state":$t(r.open),"data-disabled":r.disabled?"":void 0,disabled:r.disabled,...o,ref:t,onClick:F(e.onClick,r.onOpenToggle)})});xo.displayName=go;var Lt="CollapsibleContent",wo=c.forwardRef((e,t)=>{const{forceMount:n,...o}=e,r=It(Lt,e.__scopeCollapsible);return w.jsx(de,{present:n||r.open,children:({present:i})=>w.jsx(zs,{...o,ref:t,present:i})})});wo.displayName=Lt;var zs=c.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:o,children:r,...i}=e,a=It(Lt,n),[s,l]=c.useState(o),u=c.useRef(null),d=H(t,u),f=c.useRef(0),h=f.current,m=c.useRef(0),y=m.current,p=a.open||s,v=c.useRef(p),g=c.useRef(void 0);return c.useEffect(()=>{const x=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(x)},[]),Q(()=>{const x=u.current;if(x){g.current=g.current||{transitionDuration:x.style.transitionDuration,animationName:x.style.animationName},x.style.transitionDuration="0s",x.style.animationName="none";const b=x.getBoundingClientRect();f.current=b.height,m.current=b.width,v.current||(x.style.transitionDuration=g.current.transitionDuration,x.style.animationName=g.current.animationName),l(o)}},[a.open,o]),w.jsx(j.div,{"data-state":$t(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!p,...i,ref:d,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:p&&r})});function $t(e){return e?"open":"closed"}var Us=yo,qs=xo,Ks=wo,Ys=c.createContext(void 0);function bo(e){const t=c.useContext(Ys);return e||t||"ltr"}var Y="Accordion",Xs=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[jt,Gs,Zs]=mo(Y),[tt]=ue(Y,[Zs,vo]),Ft=vo(),Co=c.forwardRef((e,t)=>{const{type:n,...o}=e,r=o,i=o;return w.jsx(jt.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?w.jsx(tc,{...i,ref:t}):w.jsx(ec,{...r,ref:t})})});Co.displayName=Y;var[ko,Qs]=tt(Y),[Eo,Js]=tt(Y,{collapsible:!1}),ec=c.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:r=()=>{},collapsible:i=!1,...a}=e,[s,l]=be({prop:n,defaultProp:o??"",onChange:r,caller:Y});return w.jsx(ko,{scope:e.__scopeAccordion,value:c.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:c.useCallback(()=>i&&l(""),[i,l]),children:w.jsx(Eo,{scope:e.__scopeAccordion,collapsible:i,children:w.jsx(Ro,{...a,ref:t})})})}),tc=c.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:r=()=>{},...i}=e,[a,s]=be({prop:n,defaultProp:o??[],onChange:r,caller:Y}),l=c.useCallback(d=>s((f=[])=>[...f,d]),[s]),u=c.useCallback(d=>s((f=[])=>f.filter(h=>h!==d)),[s]);return w.jsx(ko,{scope:e.__scopeAccordion,value:a,onItemOpen:l,onItemClose:u,children:w.jsx(Eo,{scope:e.__scopeAccordion,collapsible:!0,children:w.jsx(Ro,{...i,ref:t})})})}),[nc,nt]=tt(Y),Ro=c.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:o,dir:r,orientation:i="vertical",...a}=e,s=c.useRef(null),l=H(s,t),u=Gs(n),f=bo(r)==="ltr",h=F(e.onKeyDown,m=>{var P;if(!Xs.includes(m.key))return;const y=m.target,p=u().filter(T=>{var M;return!((M=T.ref.current)!=null&&M.disabled)}),v=p.findIndex(T=>T.ref.current===y),g=p.length;if(v===-1)return;m.preventDefault();let x=v;const b=0,C=g-1,k=()=>{x=v+1,x>C&&(x=b)},S=()=>{x=v-1,x<b&&(x=C)};switch(m.key){case"Home":x=b;break;case"End":x=C;break;case"ArrowRight":i==="horizontal"&&(f?k():S());break;case"ArrowDown":i==="vertical"&&k();break;case"ArrowLeft":i==="horizontal"&&(f?S():k());break;case"ArrowUp":i==="vertical"&&S();break}const R=x%g;(P=p[R].ref.current)==null||P.focus()});return w.jsx(nc,{scope:n,disabled:o,direction:r,orientation:i,children:w.jsx(jt.Slot,{scope:n,children:w.jsx(j.div,{...a,"data-orientation":i,ref:l,onKeyDown:o?void 0:h})})})}),Ke="AccordionItem",[oc,Ht]=tt(Ke),So=c.forwardRef((e,t)=>{const{__scopeAccordion:n,value:o,...r}=e,i=nt(Ke,n),a=Qs(Ke,n),s=Ft(n),l=me(),u=o&&a.value.includes(o)||!1,d=i.disabled||e.disabled;return w.jsx(oc,{scope:n,open:u,disabled:d,triggerId:l,children:w.jsx(Us,{"data-orientation":i.orientation,"data-state":Oo(u),...s,...r,ref:t,disabled:d,open:u,onOpenChange:f=>{f?a.onItemOpen(o):a.onItemClose(o)}})})});So.displayName=Ke;var Ao="AccordionHeader",_o=c.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,r=nt(Y,n),i=Ht(Ao,n);return w.jsx(j.h3,{"data-orientation":r.orientation,"data-state":Oo(i.open),"data-disabled":i.disabled?"":void 0,...o,ref:t})});_o.displayName=Ao;var wt="AccordionTrigger",Po=c.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,r=nt(Y,n),i=Ht(wt,n),a=Js(wt,n),s=Ft(n);return w.jsx(jt.ItemSlot,{scope:n,children:w.jsx(qs,{"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":r.orientation,id:i.triggerId,...s,...o,ref:t})})});Po.displayName=wt;var Mo="AccordionContent",No=c.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,r=nt(Y,n),i=Ht(Mo,n),a=Ft(n);return w.jsx(Ks,{role:"region","aria-labelledby":i.triggerId,"data-orientation":r.orientation,...a,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});No.displayName=Mo;function Oo(e){return e?"open":"closed"}var $d=Co,jd=So,Fd=_o,Hd=Po,Vd=No,rc="Separator",Rn="horizontal",ic=["horizontal","vertical"],To=c.forwardRef((e,t)=>{const{decorative:n,orientation:o=Rn,...r}=e,i=ac(o)?o:Rn,s=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return w.jsx(j.div,{"data-orientation":i,...s,...r,ref:t})});To.displayName=rc;function ac(e){return ic.includes(e)}var Bd=To;const sc=["top","right","bottom","left"],ie=Math.min,W=Math.max,Ye=Math.round,Ve=Math.floor,J=e=>({x:e,y:e}),cc={left:"right",right:"left",bottom:"top",top:"bottom"};function bt(e,t,n){return W(e,ie(t,n))}function te(e,t){return typeof e=="function"?e(t):e}function ne(e){return e.split("-")[0]}function Ce(e){return e.split("-")[1]}function Vt(e){return e==="x"?"y":"x"}function Bt(e){return e==="y"?"height":"width"}function Z(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Wt(e){return Vt(Z(e))}function lc(e,t,n){n===void 0&&(n=!1);const o=Ce(e),r=Wt(e),i=Bt(r);let a=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Xe(a)),[a,Xe(a)]}function uc(e){const t=Xe(e);return[Ct(e),t,Ct(t)]}function Ct(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Sn=["left","right"],An=["right","left"],dc=["top","bottom"],fc=["bottom","top"];function pc(e,t,n){switch(e){case"top":case"bottom":return n?t?An:Sn:t?Sn:An;case"left":case"right":return t?dc:fc;default:return[]}}function hc(e,t,n,o){const r=Ce(e);let i=pc(ne(e),n==="start",o);return r&&(i=i.map(a=>a+"-"+r),t&&(i=i.concat(i.map(Ct)))),i}function Xe(e){const t=ne(e);return cc[t]+e.slice(t.length)}function mc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Do(e){return typeof e!="number"?mc(e):{top:e,right:e,bottom:e,left:e}}function Ge(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 _n(e,t,n){let{reference:o,floating:r}=e;const i=Z(t),a=Wt(t),s=Bt(a),l=ne(t),u=i==="y",d=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,h=o[s]/2-r[s]/2;let m;switch(l){case"top":m={x:d,y:o.y-r.height};break;case"bottom":m={x:d,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:f};break;case"left":m={x:o.x-r.width,y:f};break;default:m={x:o.x,y:o.y}}switch(Ce(t)){case"start":m[a]-=h*(n&&u?-1:1);break;case"end":m[a]+=h*(n&&u?-1:1);break}return m}async function vc(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=te(t,e),y=Do(m),v=s[h?f==="floating"?"reference":"floating":f],g=Ge(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),x=f==="floating"?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),C=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},k=Ge(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-k.top+y.top)/C.y,bottom:(k.bottom-g.bottom+y.bottom)/C.y,left:(g.left-k.left+y.left)/C.x,right:(k.right-g.right+y.right)/C.x}}const yc=50,gc=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:vc},l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:f}=_n(u,o,l),h=o,m=0;const y={};for(let p=0;p<i.length;p++){const v=i[p];if(!v)continue;const{name:g,fn:x}=v,{x:b,y:C,data:k,reset:S}=await x({x:d,y:f,initialPlacement:o,placement:h,strategy:r,middlewareData:y,rects:u,platform:s,elements:{reference:e,floating:t}});d=b??d,f=C??f,y[g]={...y[g],...k},S&&m<yc&&(m++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(u=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:d,y:f}=_n(u,h,l)),p=-1)}return{x:d,y:f,placement:h,strategy:r,middlewareData:y}},xc=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:d=0}=te(e,t)||{};if(u==null)return{};const f=Do(d),h={x:n,y:o},m=Wt(r),y=Bt(m),p=await a.getDimensions(u),v=m==="y",g=v?"top":"left",x=v?"bottom":"right",b=v?"clientHeight":"clientWidth",C=i.reference[y]+i.reference[m]-h[m]-i.floating[y],k=h[m]-i.reference[m],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let R=S?S[b]:0;(!R||!await(a.isElement==null?void 0:a.isElement(S)))&&(R=s.floating[b]||i.floating[y]);const P=C/2-k/2,T=R/2-p[y]/2-1,M=ie(f[g],T),N=ie(f[x],T),_=M,D=R-p[y]-N,O=R/2-p[y]/2+P,V=bt(_,O,D),I=!l.arrow&&Ce(r)!=null&&O!==V&&i.reference[y]/2-(O<_?M:N)-p[y]/2<0,L=I?O<_?O-_:O-D:0;return{[m]:h[m]+L,data:{[m]:V,centerOffset:O-V-L,...I&&{alignmentOffset:L}},reset:I}}}),wc=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:p=!0,...v}=te(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=ne(r),x=Z(s),b=ne(s)===s,C=await(l.isRTL==null?void 0:l.isRTL(u.floating)),k=h||(b||!p?[Xe(s)]:uc(s)),S=y!=="none";!h&&S&&k.push(...hc(s,p,y,C));const R=[s,...k],P=await l.detectOverflow(t,v),T=[];let M=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&T.push(P[g]),f){const O=lc(r,a,C);T.push(P[O[0]],P[O[1]])}if(M=[...M,{placement:r,overflows:T}],!T.every(O=>O<=0)){var N,_;const O=(((N=i.flip)==null?void 0:N.index)||0)+1,V=R[O];if(V&&(!(f==="alignment"?x!==Z(V):!1)||M.every(A=>Z(A.placement)===x?A.overflows[0]>0:!0)))return{data:{index:O,overflows:M},reset:{placement:V}};let I=(_=M.filter(L=>L.overflows[0]<=0).sort((L,A)=>L.overflows[1]-A.overflows[1])[0])==null?void 0:_.placement;if(!I)switch(m){case"bestFit":{var D;const L=(D=M.filter(A=>{if(S){const $=Z(A.placement);return $===x||$==="y"}return!0}).map(A=>[A.placement,A.overflows.filter($=>$>0).reduce(($,B)=>$+B,0)]).sort((A,$)=>A[1]-$[1])[0])==null?void 0:D[0];L&&(I=L);break}case"initialPlacement":I=s;break}if(r!==I)return{reset:{placement:I}}}return{}}}};function Pn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Mn(e){return sc.some(t=>e[t]>=0)}const bc=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:o}=t,{strategy:r="referenceHidden",...i}=te(e,t);switch(r){case"referenceHidden":{const a=await o.detectOverflow(t,{...i,elementContext:"reference"}),s=Pn(a,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Mn(s)}}}case"escaped":{const a=await o.detectOverflow(t,{...i,altBoundary:!0}),s=Pn(a,n.floating);return{data:{escapedOffsets:s,escaped:Mn(s)}}}default:return{}}}}},Io=new Set(["left","top"]);async function Cc(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),a=ne(n),s=Ce(n),l=Z(n)==="y",u=Io.has(a)?-1:1,d=i&&l?-1:1,f=te(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof y=="number"&&(m=s==="end"?y*-1:y),l?{x:m*d,y:h*u}:{x:h*u,y:m*d}}const kc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:a,middlewareData:s}=t,l=await Cc(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:a}}}}},Ec=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r,platform:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:g=>{let{x,y:b}=g;return{x,y:b}}},...u}=te(e,t),d={x:n,y:o},f=await i.detectOverflow(t,u),h=Z(ne(r)),m=Vt(h);let y=d[m],p=d[h];if(a){const g=m==="y"?"top":"left",x=m==="y"?"bottom":"right",b=y+f[g],C=y-f[x];y=bt(b,y,C)}if(s){const g=h==="y"?"top":"left",x=h==="y"?"bottom":"right",b=p+f[g],C=p-f[x];p=bt(b,p,C)}const v=l.fn({...t,[m]:y,[h]:p});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[m]:a,[h]:s}}}}}},Rc=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=te(e,t),d={x:n,y:o},f=Z(r),h=Vt(f);let m=d[h],y=d[f];const p=te(s,t),v=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const b=h==="y"?"height":"width",C=i.reference[h]-i.floating[b]+v.mainAxis,k=i.reference[h]+i.reference[b]-v.mainAxis;m<C?m=C:m>k&&(m=k)}if(u){var g,x;const b=h==="y"?"width":"height",C=Io.has(ne(r)),k=i.reference[f]-i.floating[b]+(C&&((g=a.offset)==null?void 0:g[f])||0)+(C?0:v.crossAxis),S=i.reference[f]+i.reference[b]+(C?0:((x=a.offset)==null?void 0:x[f])||0)-(C?v.crossAxis:0);y<k?y=k:y>S&&(y=S)}return{[h]:m,[f]:y}}}},Sc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:a,elements:s}=t,{apply:l=()=>{},...u}=te(e,t),d=await a.detectOverflow(t,u),f=ne(r),h=Ce(r),m=Z(r)==="y",{width:y,height:p}=i.floating;let v,g;f==="top"||f==="bottom"?(v=f,g=h===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(g=f,v=h==="end"?"top":"bottom");const x=p-d.top-d.bottom,b=y-d.left-d.right,C=ie(p-d[v],x),k=ie(y-d[g],b),S=!t.middlewareData.shift;let R=C,P=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=b),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(R=x),S&&!h){const M=W(d.left,0),N=W(d.right,0),_=W(d.top,0),D=W(d.bottom,0);m?P=y-2*(M!==0||N!==0?M+N:W(d.left,d.right)):R=p-2*(_!==0||D!==0?_+D:W(d.top,d.bottom))}await l({...t,availableWidth:P,availableHeight:R});const T=await a.getDimensions(s.floating);return y!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function ot(){return typeof window<"u"}function ke(e){return Lo(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ee(e){var t;return(t=(Lo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Lo(e){return ot()?e instanceof Node||e instanceof z(e).Node:!1}function U(e){return ot()?e instanceof Element||e instanceof z(e).Element:!1}function oe(e){return ot()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function Nn(e){return!ot()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}function Pe(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&r!=="inline"&&r!=="contents"}function Ac(e){return/^(table|td|th)$/.test(ke(e))}function rt(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const _c=/transform|translate|scale|rotate|perspective|filter/,Pc=/paint|layout|strict|content/,se=e=>!!e&&e!=="none";let mt;function zt(e){const t=U(e)?q(e):e;return se(t.transform)||se(t.translate)||se(t.scale)||se(t.rotate)||se(t.perspective)||!Ut()&&(se(t.backdropFilter)||se(t.filter))||_c.test(t.willChange||"")||Pc.test(t.contain||"")}function Mc(e){let t=ae(e);for(;oe(t)&&!xe(t);){if(zt(t))return t;if(rt(t))return null;t=ae(t)}return null}function Ut(){return mt==null&&(mt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),mt}function xe(e){return/^(html|body|#document)$/.test(ke(e))}function q(e){return z(e).getComputedStyle(e)}function it(e){return U(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ae(e){if(ke(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Nn(e)&&e.host||ee(e);return Nn(t)?t.host:t}function $o(e){const t=ae(e);return xe(t)?e.ownerDocument?e.ownerDocument.body:e.body:oe(t)&&Pe(t)?t:$o(t)}function Ae(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=$o(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),a=z(r);if(i){const s=kt(a);return t.concat(a,a.visualViewport||[],Pe(r)?r:[],s&&n?Ae(s):[])}else return t.concat(r,Ae(r,[],n))}function kt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jo(e){const t=q(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=oe(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=Ye(n)!==i||Ye(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}function qt(e){return U(e)?e:e.contextElement}function ye(e){const t=qt(e);if(!oe(t))return J(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=jo(t);let a=(i?Ye(n.width):n.width)/o,s=(i?Ye(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Nc=J(0);function Fo(e){const t=z(e);return!Ut()||!t.visualViewport?Nc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Oc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==z(e)?!1:t}function le(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=qt(e);let a=J(1);t&&(o?U(o)&&(a=ye(o)):a=ye(e));const s=Oc(i,n,o)?Fo(i):J(0);let l=(r.left+s.x)/a.x,u=(r.top+s.y)/a.y,d=r.width/a.x,f=r.height/a.y;if(i){const h=z(i),m=o&&U(o)?z(o):o;let y=h,p=kt(y);for(;p&&o&&m!==y;){const v=ye(p),g=p.getBoundingClientRect(),x=q(p),b=g.left+(p.clientLeft+parseFloat(x.paddingLeft))*v.x,C=g.top+(p.clientTop+parseFloat(x.paddingTop))*v.y;l*=v.x,u*=v.y,d*=v.x,f*=v.y,l+=b,u+=C,y=z(p),p=kt(y)}}return Ge({width:d,height:f,x:l,y:u})}function at(e,t){const n=it(e).scrollLeft;return t?t.left+n:le(ee(e)).left+n}function Ho(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-at(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Tc(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",a=ee(o),s=t?rt(t.floating):!1;if(o===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=J(1);const d=J(0),f=oe(o);if((f||!f&&!i)&&((ke(o)!=="body"||Pe(a))&&(l=it(o)),f)){const m=le(o);u=ye(o),d.x=m.x+o.clientLeft,d.y=m.y+o.clientTop}const h=a&&!f&&!i?Ho(a,l):J(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-l.scrollTop*u.y+d.y+h.y}}function Dc(e){return Array.from(e.getClientRects())}function Ic(e){const t=ee(e),n=it(e),o=e.ownerDocument.body,r=W(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=W(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+at(e);const s=-n.scrollTop;return q(o).direction==="rtl"&&(a+=W(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:s}}const On=25;function Lc(e,t){const n=z(e),o=ee(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;const d=Ut();(!d||d&&t==="fixed")&&(s=r.offsetLeft,l=r.offsetTop)}const u=at(o);if(u<=0){const d=o.ownerDocument,f=d.body,h=getComputedStyle(f),m=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,y=Math.abs(o.clientWidth-f.clientWidth-m);y<=On&&(i-=y)}else u<=On&&(i+=u);return{width:i,height:a,x:s,y:l}}function $c(e,t){const n=le(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=oe(e)?ye(e):J(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=r*i.x,u=o*i.y;return{width:a,height:s,x:l,y:u}}function Tn(e,t,n){let o;if(t==="viewport")o=Lc(e,n);else if(t==="document")o=Ic(ee(e));else if(U(t))o=$c(t,n);else{const r=Fo(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Ge(o)}function Vo(e,t){const n=ae(e);return n===t||!U(n)||xe(n)?!1:q(n).position==="fixed"||Vo(n,t)}function jc(e,t){const n=t.get(e);if(n)return n;let o=Ae(e,[],!1).filter(s=>U(s)&&ke(s)!=="body"),r=null;const i=q(e).position==="fixed";let a=i?ae(e):e;for(;U(a)&&!xe(a);){const s=q(a),l=zt(a);!l&&s.position==="fixed"&&(r=null),(i?!l&&!r:!l&&s.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||Pe(a)&&!l&&Vo(e,a))?o=o.filter(d=>d!==a):r=s,a=ae(a)}return t.set(e,o),o}function Fc(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const a=[...n==="clippingAncestors"?rt(t)?[]:jc(t,this._c):[].concat(n),o],s=Tn(t,a[0],r);let l=s.top,u=s.right,d=s.bottom,f=s.left;for(let h=1;h<a.length;h++){const m=Tn(t,a[h],r);l=W(m.top,l),u=ie(m.right,u),d=ie(m.bottom,d),f=W(m.left,f)}return{width:u-f,height:d-l,x:f,y:l}}function Hc(e){const{width:t,height:n}=jo(e);return{width:t,height:n}}function Vc(e,t,n){const o=oe(t),r=ee(t),i=n==="fixed",a=le(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=J(0);function u(){l.x=at(r)}if(o||!o&&!i)if((ke(t)!=="body"||Pe(r))&&(s=it(t)),o){const m=le(t,!0,i,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else r&&u();i&&!o&&r&&u();const d=r&&!o&&!i?Ho(r,s):J(0),f=a.left+s.scrollLeft-l.x-d.x,h=a.top+s.scrollTop-l.y-d.y;return{x:f,y:h,width:a.width,height:a.height}}function vt(e){return q(e).position==="static"}function Dn(e,t){if(!oe(e)||q(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ee(e)===n&&(n=n.ownerDocument.body),n}function Bo(e,t){const n=z(e);if(rt(e))return n;if(!oe(e)){let r=ae(e);for(;r&&!xe(r);){if(U(r)&&!vt(r))return r;r=ae(r)}return n}let o=Dn(e,t);for(;o&&Ac(o)&&vt(o);)o=Dn(o,t);return o&&xe(o)&&vt(o)&&!zt(o)?n:o||Mc(e)||n}const Bc=async function(e){const t=this.getOffsetParent||Bo,n=this.getDimensions,o=await n(e.floating);return{reference:Vc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Wc(e){return q(e).direction==="rtl"}const zc={convertOffsetParentRelativeRectToViewportRelativeRect:Tc,getDocumentElement:ee,getClippingRect:Fc,getOffsetParent:Bo,getElementRects:Bc,getClientRects:Dc,getDimensions:Hc,getScale:ye,isElement:U,isRTL:Wc};function Wo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Uc(e,t){let n=null,o;const r=ee(e);function i(){var s;clearTimeout(o),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:m}=u;if(s||t(),!h||!m)return;const y=Ve(f),p=Ve(r.clientWidth-(d+h)),v=Ve(r.clientHeight-(f+m)),g=Ve(d),b={rootMargin:-y+"px "+-p+"px "+-v+"px "+-g+"px",threshold:W(0,ie(1,l))||1};let C=!0;function k(S){const R=S[0].intersectionRatio;if(R!==l){if(!C)return a();R?a(!1,R):o=setTimeout(()=>{a(!1,1e-7)},1e3)}R===1&&!Wo(u,e.getBoundingClientRect())&&a(),C=!1}try{n=new IntersectionObserver(k,{...b,root:r.ownerDocument})}catch{n=new IntersectionObserver(k,b)}n.observe(e)}return a(!0),i}function qc(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,u=qt(e),d=r||i?[...u?Ae(u):[],...t?Ae(t):[]]:[];d.forEach(g=>{r&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const f=u&&s?Uc(u,n):null;let h=-1,m=null;a&&(m=new ResizeObserver(g=>{let[x]=g;x&&x.target===u&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=m)==null||b.observe(t)})),n()}),u&&!l&&m.observe(u),t&&m.observe(t));let y,p=l?le(e):null;l&&v();function v(){const g=le(e);p&&!Wo(p,g)&&n(),p=g,y=requestAnimationFrame(v)}return n(),()=>{var g;d.forEach(x=>{r&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),f==null||f(),(g=m)==null||g.disconnect(),m=null,l&&cancelAnimationFrame(y)}}const Kc=kc,Yc=Ec,Xc=wc,Gc=Sc,Zc=bc,In=xc,Qc=Rc,Jc=(e,t,n)=>{const o=new Map,r={platform:zc,...n},i={...r.platform,_c:o};return gc(e,t,{...r,platform:i})};var el=typeof document<"u",tl=function(){},ze=el?c.useLayoutEffect:tl;function Ze(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(!Ze(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 i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!Ze(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function zo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ln(e,t){const n=zo(e);return Math.round(t*n)/n}function yt(e){const t=c.useRef(e);return ze(()=>{t.current=e}),t}function nl(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[d,f]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=c.useState(o);Ze(h,o)||m(o);const[y,p]=c.useState(null),[v,g]=c.useState(null),x=c.useCallback(A=>{A!==S.current&&(S.current=A,p(A))},[]),b=c.useCallback(A=>{A!==R.current&&(R.current=A,g(A))},[]),C=i||y,k=a||v,S=c.useRef(null),R=c.useRef(null),P=c.useRef(d),T=l!=null,M=yt(l),N=yt(r),_=yt(u),D=c.useCallback(()=>{if(!S.current||!R.current)return;const A={placement:t,strategy:n,middleware:h};N.current&&(A.platform=N.current),Jc(S.current,R.current,A).then($=>{const B={...$,isPositioned:_.current!==!1};O.current&&!Ze(P.current,B)&&(P.current=B,Pt.flushSync(()=>{f(B)}))})},[h,t,n,N,_]);ze(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(A=>({...A,isPositioned:!1})))},[u]);const O=c.useRef(!1);ze(()=>(O.current=!0,()=>{O.current=!1}),[]),ze(()=>{if(C&&(S.current=C),k&&(R.current=k),C&&k){if(M.current)return M.current(C,k,D);D()}},[C,k,D,M,T]);const V=c.useMemo(()=>({reference:S,floating:R,setReference:x,setFloating:b}),[x,b]),I=c.useMemo(()=>({reference:C,floating:k}),[C,k]),L=c.useMemo(()=>{const A={position:n,left:0,top:0};if(!I.floating)return A;const $=Ln(I.floating,d.x),B=Ln(I.floating,d.y);return s?{...A,transform:"translate("+$+"px, "+B+"px)",...zo(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:B}},[n,s,I.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:D,refs:V,elements:I,floatingStyles:L}),[d,D,V,I,L])}const ol=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?In({element:o.current,padding:r}).fn(n):{}:o?In({element:o,padding:r}).fn(n):{}}}},rl=(e,t)=>{const n=Kc(e);return{name:n.name,fn:n.fn,options:[e,t]}},il=(e,t)=>{const n=Yc(e);return{name:n.name,fn:n.fn,options:[e,t]}},al=(e,t)=>({fn:Qc(e).fn,options:[e,t]}),sl=(e,t)=>{const n=Xc(e);return{name:n.name,fn:n.fn,options:[e,t]}},cl=(e,t)=>{const n=Gc(e);return{name:n.name,fn:n.fn,options:[e,t]}},ll=(e,t)=>{const n=Zc(e);return{name:n.name,fn:n.fn,options:[e,t]}},ul=(e,t)=>{const n=ol(e);return{name:n.name,fn:n.fn,options:[e,t]}};var dl="Arrow",Uo=c.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...i}=e;return w.jsx(j.svg,{...i,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});Uo.displayName=dl;var fl=Uo;function qo(e){const[t,n]=c.useState(void 0);return Q(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const i=r[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var Kt="Popper",[Ko,Yo]=ue(Kt),[pl,Xo]=Ko(Kt),Go=e=>{const{__scopePopper:t,children:n}=e,[o,r]=c.useState(null),[i,a]=c.useState(void 0);return w.jsx(pl,{scope:t,anchor:o,onAnchorChange:r,placementState:i,setPlacementState:a,children:n})};Go.displayName=Kt;var Zo="PopperAnchor",Qo=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,i=Xo(Zo,n),a=c.useRef(null),s=i.onAnchorChange,l=c.useCallback(y=>{a.current=y,y&&s(y)},[s]),u=H(t,l),d=c.useRef(null);c.useEffect(()=>{if(!o)return;const y=d.current;d.current=o.current,y!==d.current&&s(d.current)});const f=i.placementState&&Xt(i.placementState),h=f==null?void 0:f[0],m=f==null?void 0:f[1];return o?null:w.jsx(j.div,{"data-radix-popper-side":h,"data-radix-popper-align":m,...r,ref:u})});Qo.displayName=Zo;var Yt="PopperContent",[hl,ml]=Ko(Yt),Jo=c.forwardRef((e,t)=>{var tn,nn,on,rn,an,sn;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u,collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:m="optimized",onPlaced:y,...p}=e,v=Xo(Yt,n),[g,x]=c.useState(null),b=H(t,Re=>x(Re)),[C,k]=c.useState(null),S=qo(C),R=(S==null?void 0:S.width)??0,P=(S==null?void 0:S.height)??0,T=o+(i!=="center"?"-"+i:""),M=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},N=u?Array.isArray(u)?u:[u]:void 0,_=N!==void 0&&N.length>0,D={padding:M,boundary:N==null?void 0:N.filter(yl),altBoundary:_},{refs:O,floatingStyles:V,placement:I,isPositioned:L,middlewareData:A}=nl({strategy:"fixed",placement:T,whileElementsMounted:(...Re)=>qc(...Re,{animationFrame:m==="always"}),elements:{reference:v.anchor},middleware:[rl({mainAxis:r+P,alignmentAxis:a}),l&&il({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?al():void 0,...D}),l&&sl({...D}),cl({...D,apply:({elements:Re,rects:cn,availableWidth:Tr,availableHeight:Dr})=>{const{width:Ir,height:Lr}=cn.reference,Te=Re.floating.style;Te.setProperty("--radix-popper-available-width",`${Tr}px`),Te.setProperty("--radix-popper-available-height",`${Dr}px`),Te.setProperty("--radix-popper-anchor-width",`${Ir}px`),Te.setProperty("--radix-popper-anchor-height",`${Lr}px`)}}),C&&ul({element:C,padding:s}),gl({arrowWidth:R,arrowHeight:P}),h&&ll({strategy:"referenceHidden",...D})]}),$=v.setPlacementState;Q(()=>($(I),()=>{$(void 0)}),[I,$]);const[B,en]=Xt(I),Oe=ge(y);Q(()=>{L&&(Oe==null||Oe())},[L,Oe]);const _r=(tn=A.arrow)==null?void 0:tn.x,Pr=(nn=A.arrow)==null?void 0:nn.y,Mr=((on=A.arrow)==null?void 0:on.centerOffset)!==0,[Nr,Or]=c.useState();return Q(()=>{g&&Or(window.getComputedStyle(g).zIndex)},[g]),w.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:L?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Nr,"--radix-popper-transform-origin":[(rn=A.transformOrigin)==null?void 0:rn.x,(an=A.transformOrigin)==null?void 0:an.y].join(" "),...((sn=A.hide)==null?void 0:sn.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(hl,{scope:n,placedSide:B,placedAlign:en,onArrowChange:k,arrowX:_r,arrowY:Pr,shouldHideArrow:Mr,children:w.jsx(j.div,{"data-side":B,"data-align":en,...p,ref:b,style:{...p.style,animation:L?void 0:"none"}})})})});Jo.displayName=Yt;var er="PopperArrow",vl={top:"bottom",right:"left",bottom:"top",left:"right"},tr=c.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,i=ml(er,o),a=vl[i.placedSide];return w.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:w.jsx(fl,{...r,ref:n,style:{...r.style,display:"block"}})})});tr.displayName=er;function yl(e){return e!==null}var gl=e=>({name:"transformOrigin",options:e,fn(t){var v,g,x;const{placement:n,rects:o,middlewareData:r}=t,a=((v=r.arrow)==null?void 0:v.centerOffset)!==0,s=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[u,d]=Xt(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((g=r.arrow)==null?void 0:g.x)??0)+s/2,m=(((x=r.arrow)==null?void 0:x.y)??0)+l/2;let y="",p="";return u==="bottom"?(y=a?f:`${h}px`,p=`${-l}px`):u==="top"?(y=a?f:`${h}px`,p=`${o.floating.height+l}px`):u==="right"?(y=`${-l}px`,p=a?f:`${m}px`):u==="left"&&(y=`${o.floating.width+l}px`,p=a?f:`${m}px`),{data:{x:y,y:p}}}});function Xt(e){const[t,n="center"]=e.split("-");return[t,n]}var xl=Go,wl=Qo,bl=Jo,Cl=tr,kl=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),El="VisuallyHidden",nr=c.forwardRef((e,t)=>w.jsx(j.span,{...e,ref:t,style:{...kl,...e.style}}));nr.displayName=El;var Rl=nr,[st]=ue("Tooltip",[Yo]),ct=Yo(),or="TooltipProvider",Sl=700,Et="tooltip.open",[Al,Gt]=st(or),rr=e=>{const{__scopeTooltip:t,delayDuration:n=Sl,skipDelayDuration:o=300,disableHoverableContent:r=!1,children:i}=e,a=c.useRef(!0),s=c.useRef(!1),l=c.useRef(0);return c.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),w.jsx(Al,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:c.useCallback(()=>{o<=0||(window.clearTimeout(l.current),a.current=!1)},[o]),onClose:c.useCallback(()=>{o<=0||(window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,o))},[o]),isPointerInTransitRef:s,onPointerInTransitChange:c.useCallback(u=>{s.current=u},[]),disableHoverableContent:r,children:i})};rr.displayName=or;var _e="Tooltip",[_l,Me]=st(_e),ir=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:r,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,l=Gt(_e,e.__scopeTooltip),u=ct(t),[d,f]=c.useState(null),h=me(),m=c.useRef(0),y=a??l.disableHoverableContent,p=s??l.delayDuration,v=c.useRef(!1),[g,x]=be({prop:o,defaultProp:r??!1,onChange:R=>{R?(l.onOpen(),document.dispatchEvent(new CustomEvent(Et))):l.onClose(),i==null||i(R)},caller:_e}),b=c.useMemo(()=>g?v.current?"delayed-open":"instant-open":"closed",[g]),C=c.useCallback(()=>{window.clearTimeout(m.current),m.current=0,v.current=!1,x(!0)},[x]),k=c.useCallback(()=>{window.clearTimeout(m.current),m.current=0,x(!1)},[x]),S=c.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,x(!0),m.current=0},p)},[p,x]);return c.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),w.jsx(xl,{...u,children:w.jsx(_l,{scope:t,contentId:h,open:g,stateAttribute:b,trigger:d,onTriggerChange:f,onTriggerEnter:c.useCallback(()=>{l.isOpenDelayedRef.current?S():C()},[l.isOpenDelayedRef,S,C]),onTriggerLeave:c.useCallback(()=>{y?k():(window.clearTimeout(m.current),m.current=0)},[k,y]),onOpen:C,onClose:k,disableHoverableContent:y,children:n})})};ir.displayName=_e;var Rt="TooltipTrigger",ar=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=Me(Rt,n),i=Gt(Rt,n),a=ct(n),s=c.useRef(null),l=H(t,s,r.onTriggerChange),u=c.useRef(!1),d=c.useRef(!1),f=c.useCallback(()=>u.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),w.jsx(wl,{asChild:!0,...a,children:w.jsx(j.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...o,ref:l,onPointerMove:F(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(r.onTriggerEnter(),d.current=!0)}),onPointerLeave:F(e.onPointerLeave,()=>{r.onTriggerLeave(),d.current=!1}),onPointerDown:F(e.onPointerDown,()=>{r.open&&r.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:F(e.onFocus,()=>{u.current||r.onOpen()}),onBlur:F(e.onBlur,r.onClose),onClick:F(e.onClick,r.onClose)})})});ar.displayName=Rt;var Zt="TooltipPortal",[Pl,Ml]=st(Zt,{forceMount:void 0}),sr=e=>{const{__scopeTooltip:t,forceMount:n,children:o,container:r}=e,i=Me(Zt,t);return w.jsx(Pl,{scope:t,forceMount:n,children:w.jsx(de,{present:n||i.open,children:w.jsx(Nt,{asChild:!0,container:r,children:o})})})};sr.displayName=Zt;var we="TooltipContent",cr=c.forwardRef((e,t)=>{const n=Ml(we,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...i}=e,a=Me(we,e.__scopeTooltip);return w.jsx(de,{present:o||a.open,children:a.disableHoverableContent?w.jsx(lr,{side:r,...i,ref:t}):w.jsx(Nl,{side:r,...i,ref:t})})}),Nl=c.forwardRef((e,t)=>{const n=Me(we,e.__scopeTooltip),o=Gt(we,e.__scopeTooltip),r=c.useRef(null),i=H(t,r),[a,s]=c.useState(null),{trigger:l,onClose:u}=n,d=r.current,{onPointerInTransitChange:f}=o,h=c.useCallback(()=>{s(null),f(!1)},[f]),m=c.useCallback((y,p)=>{const v=y.currentTarget,g={x:y.clientX,y:y.clientY},x=Il(g,v.getBoundingClientRect()),b=Ll(g,x),C=$l(p.getBoundingClientRect()),k=Fl([...b,...C]);s(k),f(!0)},[f]);return c.useEffect(()=>()=>h(),[h]),c.useEffect(()=>{if(l&&d){const y=v=>m(v,d),p=v=>m(v,l);return l.addEventListener("pointerleave",y),d.addEventListener("pointerleave",p),()=>{l.removeEventListener("pointerleave",y),d.removeEventListener("pointerleave",p)}}},[l,d,m,h]),c.useEffect(()=>{if(a){const y=p=>{const v=p.target,g={x:p.clientX,y:p.clientY},x=(l==null?void 0:l.contains(v))||(d==null?void 0:d.contains(v)),b=!jl(g,a);x?h():b&&(h(),u())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[l,d,a,u,h]),w.jsx(lr,{...e,ref:i})}),[Ol,Tl]=st(_e,{isInside:!1}),Dl=jr("TooltipContent"),lr=c.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":r,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,l=Me(we,n),u=ct(n),{onClose:d}=l;return c.useEffect(()=>(document.addEventListener(Et,d),()=>document.removeEventListener(Et,d)),[d]),c.useEffect(()=>{if(l.trigger){const f=h=>{h.target instanceof Node&&h.target.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),w.jsx(Mt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:w.jsxs(bl,{"data-state":l.stateAttribute,...u,...s,ref:t,style:{...s.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:[w.jsx(Dl,{children:o}),w.jsx(Ol,{scope:n,isInside:!0,children:w.jsx(Rl,{id:l.contentId,role:"tooltip",children:r||o})})]})})});cr.displayName=we;var ur="TooltipArrow",dr=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=ct(n);return Tl(ur,n).isInside?null:w.jsx(Cl,{...r,...o,ref:t})});dr.displayName=ur;function Il(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function Ll(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 $l(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 jl(e,t){const{x:n,y:o}=e;let r=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i],l=t[a],u=s.x,d=s.y,f=l.x,h=l.y;d>o!=h>o&&n<(f-u)*(o-d)/(h-d)+u&&(r=!r)}return r}function Fl(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),Hl(t)}function Hl(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 i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(r.y-a.y)>=(i.y-a.y)*(r.x-a.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 i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(r.y-a.y)>=(i.y-a.y)*(r.x-a.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 Wd=rr,zd=ir,Ud=ar,qd=sr,Kd=cr,Yd=dr;function fr(e,[t,n]){return Math.min(n,Math.max(t,e))}function Vl(e){const t=c.useRef({value:e,previous:e});return c.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var pr=["PageUp","PageDown"],hr=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],mr={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Ee="Slider",[St,Bl,Wl]=mo(Ee),[Qt]=ue(Ee,[Wl]),[zl,Ne]=Qt(Ee),Ul=c.forwardRef((e,t)=>{const{name:n,min:o=0,max:r=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[o],value:d,onValueChange:f=()=>{},onValueCommit:h=()=>{},inverted:m=!1,form:y,...p}=e,v=c.useRef(new Set),g=c.useRef(0),x=c.useRef(!1),C=a==="horizontal"?ql:Kl,[k=[],S]=be({prop:d,defaultProp:u,onChange:_=>{var O;(O=[...v.current][g.current])==null||O.focus({preventScroll:!0,focusVisible:x.current}),x.current=!1,f(_)}}),R=c.useRef(k);function P(_){const D=eu(k,_);N(_,D)}function T(_){N(_,g.current)}function M(){const _=R.current[g.current];k[g.current]!==_&&h(k)}function N(_,D,{commit:O}={commit:!1}){const V=ru(i),I=iu(Math.round((_-o)/i)*i+o,V),L=fr(I,[o,r]);S((A=[])=>{const $=Ql(A,L,D);if(ou($,l*i)){g.current=$.indexOf(L);const B=String($)!==String(A);return B&&O&&h($),B?$:A}else return A})}return w.jsx(zl,{scope:e.__scopeSlider,name:n,disabled:s,min:o,max:r,valueIndexToChangeRef:g,thumbs:v.current,values:k,orientation:a,form:y,children:w.jsx(St.Provider,{scope:e.__scopeSlider,children:w.jsx(St.Slot,{scope:e.__scopeSlider,children:w.jsx(C,{"aria-disabled":s,"data-disabled":s?"":void 0,...p,ref:t,onPointerDown:F(p.onPointerDown,()=>{s||(R.current=k,x.current=!1)}),min:o,max:r,inverted:m,onSlideStart:s?void 0:P,onSlideMove:s?void 0:T,onSlideEnd:s?void 0:M,onHomeKeyDown:()=>{s||(x.current=!0,N(o,0,{commit:!0}))},onEndKeyDown:()=>{s||(x.current=!0,N(r,k.length-1,{commit:!0}))},onStepKeyDown:({event:_,direction:D})=>{if(!s){x.current=!0;const I=pr.includes(_.key)||_.shiftKey&&hr.includes(_.key)?10:1,L=g.current,A=k[L],$=i*I*D;N(A+$,L,{commit:!0})}}})})})})});Ul.displayName=Ee;var[vr,yr]=Qt(Ee,{startEdge:"left",endEdge:"right",size:"width",direction:1}),ql=c.forwardRef((e,t)=>{const{min:n,max:o,dir:r,inverted:i,onSlideStart:a,onSlideMove:s,onSlideEnd:l,onStepKeyDown:u,...d}=e,[f,h]=c.useState(null),m=H(t,b=>h(b)),y=c.useRef(void 0),p=bo(r),v=p==="ltr",g=v&&!i||!v&&i;function x(b){const C=y.current||f.getBoundingClientRect(),k=[0,C.width],R=Jt(k,g?[n,o]:[o,n]);return y.current=C,R(b-C.left)}return w.jsx(vr,{scope:e.__scopeSlider,startEdge:g?"left":"right",endEdge:g?"right":"left",direction:g?1:-1,size:"width",children:w.jsx(gr,{dir:p,"data-orientation":"horizontal",...d,ref:m,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:b=>{const C=x(b.clientX);a==null||a(C)},onSlideMove:b=>{const C=x(b.clientX);s==null||s(C)},onSlideEnd:()=>{y.current=void 0,l==null||l()},onStepKeyDown:b=>{const k=mr[g?"from-left":"from-right"].includes(b.key);u==null||u({event:b,direction:k?-1:1})}})})}),Kl=c.forwardRef((e,t)=>{const{min:n,max:o,inverted:r,onSlideStart:i,onSlideMove:a,onSlideEnd:s,onStepKeyDown:l,...u}=e,d=c.useRef(null),f=H(t,d),h=c.useRef(void 0),m=!r;function y(p){const v=h.current||d.current.getBoundingClientRect(),g=[0,v.height],b=Jt(g,m?[o,n]:[n,o]);return h.current=v,b(p-v.top)}return w.jsx(vr,{scope:e.__scopeSlider,startEdge:m?"bottom":"top",endEdge:m?"top":"bottom",size:"height",direction:m?1:-1,children:w.jsx(gr,{"data-orientation":"vertical",...u,ref:f,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:p=>{const v=y(p.clientY);i==null||i(v)},onSlideMove:p=>{const v=y(p.clientY);a==null||a(v)},onSlideEnd:()=>{h.current=void 0,s==null||s()},onStepKeyDown:p=>{const g=mr[m?"from-bottom":"from-top"].includes(p.key);l==null||l({event:p,direction:g?-1:1})}})})}),gr=c.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:o,onSlideMove:r,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=e,d=Ne(Ee,n);return w.jsx(j.span,{...u,ref:t,onKeyDown:F(e.onKeyDown,f=>{f.key==="Home"?(a(f),f.preventDefault()):f.key==="End"?(s(f),f.preventDefault()):pr.concat(hr).includes(f.key)&&(l(f),f.preventDefault())}),onPointerDown:F(e.onPointerDown,f=>{const h=f.target;h.setPointerCapture(f.pointerId),f.preventDefault(),d.thumbs.has(h)?h.focus({preventScroll:!0,focusVisible:!1}):o(f)}),onPointerMove:F(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&r(f)}),onPointerUp:F(e.onPointerUp,f=>{const h=f.target;h.hasPointerCapture(f.pointerId)&&(h.releasePointerCapture(f.pointerId),i(f))})})}),xr="SliderTrack",Yl=c.forwardRef((e,t)=>{const{__scopeSlider:n,...o}=e,r=Ne(xr,n);return w.jsx(j.span,{"data-disabled":r.disabled?"":void 0,"data-orientation":r.orientation,...o,ref:t})});Yl.displayName=xr;var At="SliderRange",Xl=c.forwardRef((e,t)=>{const{__scopeSlider:n,...o}=e,r=Ne(At,n),i=yr(At,n),a=c.useRef(null),s=H(t,a),l=r.values.length,u=r.values.map(h=>Ar(h,r.min,r.max)),d=l>1?Math.min(...u):0,f=100-Math.max(...u);return w.jsx(j.span,{"data-orientation":r.orientation,"data-disabled":r.disabled?"":void 0,...o,ref:s,style:{...e.style,[i.startEdge]:d+"%",[i.endEdge]:f+"%"}})});Xl.displayName=At;var wr="SliderThumb",[Gl,br]=Qt(wr),Cr="SliderThumbProvider";function kr(e){const{__scopeSlider:t,name:n,children:o,internal_do_not_use_render:r}=e,i=Ne(Cr,t),a=Bl(t),[s,l]=c.useState(null),u=c.useMemo(()=>s?a().findIndex(v=>v.ref.current===s):-1,[a,s]),d=qo(s),f=s?!!i.form||!!s.closest("form"):!0,h=i.values[u],m=n??(i.name?i.name+(i.values.length>1?"[]":""):void 0),y=h===void 0?0:Ar(h,i.min,i.max);c.useEffect(()=>{if(s)return i.thumbs.add(s),()=>{i.thumbs.delete(s)}},[s,i.thumbs]);const p={value:h,name:m,form:i.form,isFormControl:f,index:u,thumb:s,onThumbChange:l,percent:y,size:d};return w.jsx(Gl,{scope:t,...p,children:au(r)?r(p):o})}kr.displayName=Cr;var Ue="SliderThumbTrigger",Er=c.forwardRef((e,t)=>{const{__scopeSlider:n,...o}=e,r=Ne(Ue,n),i=yr(Ue,n),{index:a,value:s,percent:l,size:u,onThumbChange:d}=br(Ue,n),f=H(t,p=>d(p)),h=Jl(a,r.values.length),m=u==null?void 0:u[i.size],y=m?tu(m,l,i.direction):0;return w.jsx("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[i.startEdge]:`calc(${l}% + ${y}px)`},children:w.jsx(St.ItemSlot,{scope:n,children:w.jsx(j.span,{role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":r.min,"aria-valuenow":s,"aria-valuemax":r.max,"aria-orientation":r.orientation,"data-orientation":r.orientation,"data-disabled":r.disabled?"":void 0,tabIndex:r.disabled?void 0:0,...o,ref:f,style:s===void 0?{display:"none"}:e.style,onFocus:F(e.onFocus,()=>{r.valueIndexToChangeRef.current=a})})})})});Er.displayName=Ue;var Zl=c.forwardRef((e,t)=>{const{__scopeSlider:n,name:o,...r}=e;return w.jsx(kr,{__scopeSlider:n,name:o,internal_do_not_use_render:({index:i,isFormControl:a})=>w.jsxs(w.Fragment,{children:[w.jsx(Er,{...r,ref:t,__scopeSlider:n}),a?w.jsx(Sr,{__scopeSlider:n},i):null]})})});Zl.displayName=wr;var Rr="SliderBubbleInput",Sr=c.forwardRef(({__scopeSlider:e,...t},n)=>{const{value:o,name:r,form:i}=br(Rr,e),a=c.useRef(null),s=H(a,n),l=Vl(o);return c.useEffect(()=>{const u=a.current;if(!u)return;const d=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(d,"value").set;if(l!==o&&h){const m=new Event("input",{bubbles:!0});h.call(u,o),u.dispatchEvent(m)}},[l,o]),w.jsx(j.input,{style:{display:"none"},name:r,form:i,...t,ref:s,defaultValue:o})});Sr.displayName=Rr;function Ql(e=[],t,n){const o=[...e];return o[n]=t,o.sort((r,i)=>r-i)}function Ar(e,t,n){const i=100/(n-t)*(e-t);return fr(i,[0,100])}function Jl(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function eu(e,t){if(e.length===1)return 0;const n=e.map(r=>Math.abs(r-t)),o=Math.min(...n);return n.indexOf(o)}function tu(e,t,n){const o=e/2,i=Jt([0,50],[0,o]);return(o-i(t)*n)*n}function nu(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function ou(e,t){if(t>0){const n=nu(e);return Math.min(...n)>=t}return!0}function Jt(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 ru(e){if(!Number.isFinite(e))return 0;const t=e.toString();if(t.includes("e")){const[o,r]=t.split("e"),i=o.split(".")[1]||"",a=Number(r);return Math.max(0,i.length-a)}const n=t.split(".")[1];return n?n.length:0}function iu(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}function au(e){return typeof e=="function"}export{Pu as $,uu as A,mu as B,Nu as C,Ou as D,Du as E,Fu as F,Wu as G,Fd as H,qu as I,sd as J,Rd as K,Ku as L,ad as M,Qu as N,Vu as O,od as P,$u as Q,ld as R,md as S,xd as T,wd as U,Xu as V,kd as W,Mu as X,Au as Y,Sd as Z,zu as _,xu as a,Lu as a0,Cu as a1,Bu as a2,Iu as a3,Hu as a4,Ul as a5,Yl as a6,Xl as a7,Zl as a8,lu as a9,Pd as aA,Md as aB,Td as aC,Ld as aD,Dd as aE,Id as aF,Nd as aG,Od as aH,hd as aa,bd as ab,vd as ac,gu as ad,cd as ae,fd as af,Tu as ag,fu as ah,zd as ai,Ud as aj,qd as ak,Kd as al,Yd as am,Bd as an,Wd as ao,td as ap,ed as aq,Ed as ar,Yu as as,rd as at,du as au,pd as av,Gu as aw,Zu as ax,yd as ay,ud as az,Ad as b,vu as c,id as d,_u as e,gd as f,hu as g,dd as h,Uu as i,ju as j,Ju as k,Cd as l,yu as m,$d as n,jd as o,Hd as p,bu as q,Vd as r,wu as s,pu as t,nd as u,Su as v,Ru as w,cu as x,Eu as y,ku as z};