@inkorange/space-ui 1.6.1 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/components/Autocomplete.d.ts +0 -11
- package/dist/components/Checkbox.d.ts +72 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1174 -1014
- package/dist/index.js.map +1 -1
- package/dist/space-ui.css +1 -1
- package/dist/tokens.css +15 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<!-- badges:start -->
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@inkorange/space-ui)
|
|
6
|
-

|
|
7
|
+

|
|
8
8
|

|
|
9
9
|
[](https://space-components.vercel.app)
|
|
10
10
|
|
|
@@ -18,7 +18,7 @@ compose and nothing to opt into.
|
|
|
18
18
|
resolve against the registry rather than the repository. This sheet is a
|
|
19
19
|
screenshot of the real components, shot from the gallery — see
|
|
20
20
|
`pnpm assets`. -->
|
|
21
|
-
<img alt="Stickersheet: Button, Badge, Select, TextField, Slider, Progress, IconToggle, RadioGroup, Loader, Tabs, icons, Text, TextArea, Card plain and with an image, an open Popover, Pagination, a Carousel and a Message banner on a dark ground"
|
|
21
|
+
<img alt="Stickersheet: Button, Badge, Select, TextField, Slider, Progress, IconToggle, RadioGroup, Checkbox, Loader, Tabs, icons, Text, TextArea, Card plain and with an image, an open Popover, Pagination, a Carousel and a Message banner on a dark ground"
|
|
22
22
|
src="https://raw.githubusercontent.com/inkorange/space-ui/main/.github/assets/components.jpg"
|
|
23
23
|
width="100%">
|
|
24
24
|
|
|
@@ -174,7 +174,7 @@ it exposes.
|
|
|
174
174
|
| --- | --- |
|
|
175
175
|
| **Typography** | [Text](https://space-components.vercel.app/?story=components--typography--text-sizes) · [Link](https://space-components.vercel.app/?story=components--typography--text-sizes) · [Heading](https://space-components.vercel.app/?story=components--typography--headings) · [Badge](https://space-components.vercel.app/?story=components--typography--badges) · [Separator](https://space-components.vercel.app/?story=components--typography--separator) |
|
|
176
176
|
| **Layout** | [Card](https://space-components.vercel.app/?story=components--layout--card) · [Carousel](https://space-components.vercel.app/?story=components--layout--carousel) · [Flex](https://space-components.vercel.app/?story=components--layout--flex-and-grid) · [Grid](https://space-components.vercel.app/?story=components--layout--flex-and-grid) · [Box](https://space-components.vercel.app/?story=components--layout--flex-and-grid) · [Pagination](https://space-components.vercel.app/?story=components--layout--pagination) |
|
|
177
|
-
| **Forms** | [Autocomplete](https://space-components.vercel.app/?story=components--forms--autocomplete) · [TextField](https://space-components.vercel.app/?story=components--forms--text-field) · [TextArea](https://space-components.vercel.app/?story=components--forms--text-area) · [Select](https://space-components.vercel.app/?story=components--forms--select) · [Slider](https://space-components.vercel.app/?story=components--forms--slider) · [RadioGroup](https://space-components.vercel.app/?story=components--forms--radio-group) |
|
|
177
|
+
| **Forms** | [Autocomplete](https://space-components.vercel.app/?story=components--forms--autocomplete) · [Checkbox](https://space-components.vercel.app/?story=components--forms--checkbox) · [TextField](https://space-components.vercel.app/?story=components--forms--text-field) · [TextArea](https://space-components.vercel.app/?story=components--forms--text-area) · [Select](https://space-components.vercel.app/?story=components--forms--select) · [Slider](https://space-components.vercel.app/?story=components--forms--slider) · [RadioGroup](https://space-components.vercel.app/?story=components--forms--radio-group) |
|
|
178
178
|
| **Buttons** | [Button](https://space-components.vercel.app/?story=components--buttons--buttons) · [IconToggle](https://space-components.vercel.app/?story=components--buttons--icon-toggle) |
|
|
179
179
|
| **Feedback** | [Loader](https://space-components.vercel.app/?story=components--feedback--loader) · [Progress](https://space-components.vercel.app/?story=components--feedback--progress) · [Message](https://space-components.vercel.app/?story=components--feedback--message) |
|
|
180
180
|
| **Overlays** | [Dialog](https://space-components.vercel.app/?story=components--overlays--dialog) · [AlertDialog](https://space-components.vercel.app/?story=components--overlays--alert-dialog) · [DropdownMenu](https://space-components.vercel.app/?story=components--overlays--dropdown-menu) · [Popover](https://space-components.vercel.app/?story=components--overlays--popover) · [Tabs](https://space-components.vercel.app/?story=components--overlays--tabs) · [Tooltip](https://space-components.vercel.app/?story=components--overlays--tooltip) |
|
|
@@ -59,15 +59,4 @@ export interface AutocompleteProps extends Omit<React.InputHTMLAttributes<HTMLIn
|
|
|
59
59
|
/** Applied to the wrapper — set width here. */
|
|
60
60
|
style?: React.CSSProperties;
|
|
61
61
|
}
|
|
62
|
-
/**
|
|
63
|
-
* A text field that offers matching rows as you type.
|
|
64
|
-
*
|
|
65
|
-
* It holds no data of its own. Give it `options` and it renders them,
|
|
66
|
-
* highlights one, moves that highlight with the arrow keys, and calls
|
|
67
|
-
* `onSelect` when a row is chosen — however those options were produced.
|
|
68
|
-
*
|
|
69
|
-
* The list is a popover rather than a block in the flow: results that appear
|
|
70
|
-
* mid-keystroke and push the page down under the cursor are disorienting, and
|
|
71
|
-
* whatever is being searched usually sits directly below the field.
|
|
72
|
-
*/
|
|
73
62
|
export declare function Autocomplete({ value, onValueChange, options, onSelect, icon, caseSensitive, preFiltered, loading, loadingMessage, emptyMessage, footer, animated, className, style, ...inputProps }: AutocompleteProps): React.JSX.Element;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
|
+
export interface CheckboxGroupProps {
|
|
4
|
+
/** The chosen values. Fully controlled; order is the caller's to keep. */
|
|
5
|
+
value: string[];
|
|
6
|
+
/** Called with the new list whenever an item is ticked or unticked. */
|
|
7
|
+
onValueChange: (value: string[]) => void;
|
|
8
|
+
/** Disables every item at once. */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** Names the set for assistive tech — "Planet types", say. Use it whenever
|
|
11
|
+
* the visible heading above the group is not already tied to it. */
|
|
12
|
+
"aria-label"?: string;
|
|
13
|
+
/** Merged onto the group wrapper. */
|
|
14
|
+
className?: string;
|
|
15
|
+
/** One or more `CheckboxGroup.Item`. */
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A set of options where any number can be chosen, including none.
|
|
20
|
+
*
|
|
21
|
+
* The group holds the chosen values as an array and reports a new array on
|
|
22
|
+
* every change, so a caller stores one piece of state rather than one boolean
|
|
23
|
+
* per option. For a single yes/no — accepting terms, toggling one setting —
|
|
24
|
+
* use `Checkbox` on its own; for choosing exactly one of several, RadioGroup.
|
|
25
|
+
*/
|
|
26
|
+
declare function CheckboxGroupRoot({ value, onValueChange, disabled, className, "aria-label": ariaLabel, children, }: CheckboxGroupProps): React.JSX.Element;
|
|
27
|
+
export interface CheckboxGroupItemProps {
|
|
28
|
+
/** Added to, or removed from, the group's value when ticked. */
|
|
29
|
+
value: string;
|
|
30
|
+
/** Disables this option only. */
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/** The option's label. Part of the click target, not merely beside it. */
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* One option in a group.
|
|
37
|
+
*
|
|
38
|
+
* With children it labels itself: a <label> wraps the input, the tile and the
|
|
39
|
+
* children, so the text is part of the click target. Without children it
|
|
40
|
+
* emits a bare span instead, so an OUTER label can own the association —
|
|
41
|
+
* nesting one label inside another is invalid HTML.
|
|
42
|
+
*/
|
|
43
|
+
declare function Item({ value, disabled, children }: CheckboxGroupItemProps): React.JSX.Element;
|
|
44
|
+
export declare const CheckboxGroup: typeof CheckboxGroupRoot & {
|
|
45
|
+
Item: typeof Item;
|
|
46
|
+
};
|
|
47
|
+
export interface CheckboxProps {
|
|
48
|
+
/** Whether it is ticked. Fully controlled. */
|
|
49
|
+
checked: boolean;
|
|
50
|
+
/** Called with the new state. */
|
|
51
|
+
onCheckedChange: (checked: boolean) => void;
|
|
52
|
+
/** Partly chosen: draws a dash instead of a tick and announces as "mixed".
|
|
53
|
+
* For a "select all" whose children are only some chosen. The box still
|
|
54
|
+
* reports `checked` when clicked, so decide there what a click means. */
|
|
55
|
+
indeterminate?: boolean;
|
|
56
|
+
/** Disables it. */
|
|
57
|
+
disabled?: boolean;
|
|
58
|
+
/** Names it for assistive tech when there are no children to do so. */
|
|
59
|
+
"aria-label"?: string;
|
|
60
|
+
/** Merged onto the label. */
|
|
61
|
+
className?: string;
|
|
62
|
+
/** The label. Part of the click target, not merely beside it. */
|
|
63
|
+
children?: ReactNode;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* A single yes/no choice: accepting terms, turning one setting on.
|
|
67
|
+
*
|
|
68
|
+
* For a set of options where several can be chosen, wrap `CheckboxGroup`
|
|
69
|
+
* around `CheckboxGroup.Item`s and hold one array instead of a boolean each.
|
|
70
|
+
*/
|
|
71
|
+
export declare function Checkbox({ checked, onCheckedChange, indeterminate, disabled, className, "aria-label": ariaLabel, children, }: CheckboxProps): React.JSX.Element;
|
|
72
|
+
export {};
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),t=require("react/jsx-runtime"),de={0:"0",1:"var(--spacing-xs)",2:"var(--spacing-sm)",3:"var(--spacing-md)",4:"var(--spacing-md)",5:"var(--spacing-lg)",6:"var(--spacing-xl)"};function ee({m:e,mt:n,mb:o,p:r,pb:a},l){const c={...e!==void 0&&{margin:de[e]},...n!==void 0&&{marginTop:de[n]},...o!==void 0&&{marginBottom:de[o]},...r!==void 0&&{padding:de[r]},...a!==void 0&&{paddingBottom:de[a]},...l};return Object.keys(c).length>0?c:void 0}function w(...e){return e.filter(Boolean).join(" ")}const dt="_text_4vcq4_1",ft="_size1_4vcq4_5",_t="_size2_4vcq4_11",pt="_size3_4vcq4_16",gt="_size4_4vcq4_21",Ct="_size5_4vcq4_27",ht="_size6_4vcq4_33",mt="_medium_4vcq4_39",vt="_bold_4vcq4_43",xt="_colorMuted_4vcq4_47",wt="_colorDanger_4vcq4_51",bt="_colorSuccess_4vcq4_55",jt="_colorWarning_4vcq4_59",je={text:dt,size1:ft,size2:_t,size3:pt,size4:gt,size5:Ct,size6:ht,medium:mt,bold:vt,colorMuted:xt,colorDanger:wt,colorSuccess:bt,colorWarning:jt},Ae=s.forwardRef(function({as:n="span",size:o,weight:r,color:a,className:l,style:c,m:f,mt:p,mb:g,p:u,pb:C,...x},b){return s.createElement(n,{...x,ref:b,className:w(je.text,o&&je[`size${o}`],r&&je[r],a&&je[`color${a[0].toUpperCase()}${a.slice(1)}`],l),style:ee({m:f,mt:p,mb:g,p:u,pb:C},c)})}),yt="_heading_vs4zk_1",Lt="_size4_vs4zk_7",$t="_size5_vs4zk_13",kt="_size6_vs4zk_19",Rt="_size7_vs4zk_25",Mt="_size8_vs4zk_31",It="_size9_vs4zk_37",Nt="_colorMuted_vs4zk_43",Et="_colorDanger_vs4zk_47",zt="_alignCenter_vs4zk_51",fe={heading:yt,size4:Lt,size5:$t,size6:kt,size7:Rt,size8:Mt,size9:It,colorMuted:Nt,colorDanger:Et,alignCenter:zt},Be=s.forwardRef(function({as:n="h2",size:o,color:r,align:a,className:l,style:c,m:f,mt:p,mb:g,p:u,pb:C,...x},b){return s.createElement(n,{...x,ref:b,className:w(fe.heading,o&&fe[`size${o}`],r==="muted"&&fe.colorMuted,r==="danger"&&fe.colorDanger,a==="center"&&fe.alignCenter,l),style:ee({m:f,mt:p,mb:g,p:u,pb:C},c)})}),St="_link_1qa7j_1",Dt="_size1_1qa7j_10",qt="_size2_1qa7j_16",Ht="_size3_1qa7j_21",De={link:St,size1:Dt,size2:qt,size3:Ht},Tt=s.forwardRef(function({asChild:n,size:o,className:r,style:a,m:l,mt:c,mb:f,p,pb:g,children:u,...C},x){const b=w(De.link,o&&De[`size${o}`],r),_=ee({m:l,mt:c,mb:f,p,pb:g},a);if(n&&s.isValidElement(u)){const v=u;return s.cloneElement(v,{...C,className:w(b,v.props.className),style:{..._,...v.props.style}})}return t.jsx("a",{...C,ref:x,className:b,style:_,children:u})}),At="_flex_v4ziu_1",Bt="_gap1_v4ziu_5",Zt="_gap2_v4ziu_9",Ot="_gap3_v4ziu_13",Wt="_gap4_v4ziu_17",Vt="_gap5_v4ziu_21",Ft="_gap6_v4ziu_25",Pt="_directionRow_v4ziu_29",Gt="_directionColumn_v4ziu_33",Kt="_alignStart_v4ziu_37",Ut="_alignCenter_v4ziu_41",Xt="_alignEnd_v4ziu_45",Yt="_alignBaseline_v4ziu_49",Qt="_alignStretch_v4ziu_53",Jt="_justifyStart_v4ziu_57",en="_justifyCenter_v4ziu_61",tn="_justifyEnd_v4ziu_65",nn="_justifyBetween_v4ziu_69",sn="_wrapWrap_v4ziu_73",on="_wrapNowrap_v4ziu_77",re={flex:At,gap1:Bt,gap2:Zt,gap3:Ot,gap4:Wt,gap5:Vt,gap6:Ft,directionRow:Pt,directionColumn:Gt,alignStart:Kt,alignCenter:Ut,alignEnd:Xt,alignBaseline:Yt,alignStretch:Qt,justifyStart:Jt,justifyCenter:en,justifyEnd:tn,justifyBetween:nn,wrapWrap:sn,wrapNowrap:on},ye=e=>e[0].toUpperCase()+e.slice(1),rn=s.forwardRef(function({asChild:n,gap:o,direction:r,align:a,justify:l,wrap:c,className:f,style:p,m:g,mt:u,mb:C,p:x,pb:b,children:_,...v},$){const M=w(re.flex,o&&re[`gap${o}`],r&&re[`direction${ye(r)}`],a&&re[`align${ye(a)}`],l&&re[`justify${ye(l)}`],c&&re[`wrap${ye(c)}`],f),k=ee({m:g,mt:u,mb:C,p:x,pb:b},p);if(n&&s.isValidElement(_)){const H=_;return s.cloneElement(H,{...v,className:w(M,H.props.className),style:{...k,...H.props.style}})}return t.jsx("div",{...v,ref:$,className:M,style:k,children:_})}),an=s.forwardRef(function({style:n,m:o,mt:r,mb:a,p:l,pb:c,...f},p){return t.jsx("div",{...f,ref:p,style:ee({m:o,mt:r,mb:a,p:l,pb:c},n)})}),ln="_grid_erpqq_1",cn="_cols1_erpqq_5",un="_cols2_erpqq_9",dn="_cols3_erpqq_13",fn="_smCols2_erpqq_18",_n="_smCols3_erpqq_21",pn="_mdCols2_erpqq_26",gn="_mdCols3_erpqq_29",Cn="_gap1_erpqq_33",hn="_gap2_erpqq_37",mn="_gap3_erpqq_41",vn="_gap4_erpqq_45",xn="_gap5_erpqq_49",wn="_gap6_erpqq_53",ae={grid:ln,cols1:cn,cols2:un,cols3:dn,smCols2:fn,smCols3:_n,mdCols2:pn,mdCols3:gn,gap1:Cn,gap2:hn,gap3:mn,gap4:vn,gap5:xn,gap6:wn},bn=s.forwardRef(function({columns:n,gap:o,className:r,style:a,m:l,mt:c,mb:f,p,pb:g,...u},C){const x=typeof n=="string"?[ae[`cols${n}`]]:n?[n.initial&&ae[`cols${n.initial}`],n.sm&&ae[`smCols${n.sm}`],n.md&&ae[`mdCols${n.md}`]]:[];return t.jsx("div",{...u,ref:C,className:w(ae.grid,...x,o&&ae[`gap${o}`],r),style:ee({m:l,mt:c,mb:f,p,pb:g},a)})}),jn="_badge_1twqf_2",yn="_size1_1twqf_10",Ln="_size2_1twqf_19",$n="_colorMuted_1twqf_28",kn="_colorPrimary_1twqf_33",Rn="_colorSuccess_1twqf_38",Mn="_colorDanger_1twqf_43",In="_colorWarning_1twqf_48",Nn="_colorCyan_1twqf_53",En="_colorPurple_1twqf_58",zn="_colorOrange_1twqf_63",Sn="_colorAccent_1twqf_68",Dn="_colorYellow_1twqf_73",qn="_solid_1twqf_81",Hn="_wrap_1twqf_89",_e={badge:jn,size1:yn,size2:Ln,colorMuted:$n,colorPrimary:kn,colorSuccess:Rn,colorDanger:Mn,colorWarning:In,colorCyan:Nn,colorPurple:En,colorOrange:zn,colorAccent:Sn,colorYellow:Dn,solid:qn,wrap:Hn},Tn=e=>e[0].toUpperCase()+e.slice(1),An=s.forwardRef(function({color:n="primary",variant:o="soft",size:r="1",wrap:a,className:l,style:c,m:f,mt:p,mb:g,p:u,pb:C,...x},b){return t.jsx("span",{...x,ref:b,className:w(_e.badge,_e[`color${Tn(n)}`],o==="solid"&&_e.solid,_e[`size${r}`],a&&_e.wrap,l),style:ee({m:f,mt:p,mb:g,p:u,pb:C},c)})}),Bn="_separator_vao01_1",Zn="_full_vao01_7",qe={separator:Bn,full:Zn},On=s.forwardRef(function({size:n="4",className:o,...r},a){return t.jsx("span",{...r,ref:a,role:"separator",className:w(qe.separator,n==="4"&&qe.full,o)})}),Wn="_card_1ooot_2",Vn="_image_1ooot_14",Fn="_hasImage_1ooot_41",Re={card:Wn,image:Vn,hasImage:Fn},Pn=s.forwardRef(function({className:n,style:o,image:r,children:a,m:l,mt:c,mb:f,p,pb:g,...u},C){return t.jsxs("div",{...u,ref:C,className:w(Re.card,r!=null&&Re.hasImage,n),style:ee({m:l,mt:c,mb:f,p,pb:g},o),children:[r!=null&&t.jsx("div",{className:Re.image,children:r}),a]})}),Gn="_spaceButton_kjhqx_14",Kn="_rimRotate_kjhqx_1",Un="_glintSweep_kjhqx_1",Xn="_iconOnly_kjhqx_97",Yn="_lg_kjhqx_104",Qn="_sm_kjhqx_110",Jn="_micro_kjhqx_122",es="_stars_kjhqx_136",ts="_fullWidth_kjhqx_141",ns="_ember_kjhqx_147",ss="_label_kjhqx_157",os="_star_kjhqx_136",rs="_twinkle_kjhqx_1",Q={spaceButton:Gn,rimRotate:Kn,glintSweep:Un,iconOnly:Xn,lg:Yn,sm:Qn,micro:Jn,stars:es,fullWidth:ts,ember:ns,label:ss,star:os,twinkle:rs};function as(e){return function(){e|=0,e=e+1831565813|0;let n=Math.imul(e^e>>>15,1|e);return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}}function ls(e){let n=2166136261;for(let o=0;o<e.length;o++)n^=e.charCodeAt(o),n=Math.imul(n,16777619);return n>>>0}const me=s.forwardRef(function({iconOnly:n,ember:o,size:r="md",fullWidth:a,animated:l=!0,className:c,children:f,...p},g){const u=s.useId(),C=s.useMemo(()=>{const b=as(ls(u));return Array.from({length:3},()=>({top:`${12+b()*58}%`,left:`${8+b()*80}%`,animationDelay:`${(b()*3.2).toFixed(2)}s`,animationDuration:`${(2.8+b()*1.8).toFixed(2)}s`}))},[u]),x=[Q.spaceButton,n?Q.iconOnly:"",o?Q.ember:"",r!=="md"?Q[r]:"",a?Q.fullWidth:"",c??""].filter(Boolean).join(" ");return t.jsxs("button",{ref:g,className:x,"data-animated":l?void 0:"false",...p,children:[r!=="micro"&&t.jsx("span",{className:Q.stars,"aria-hidden":!0,children:C.map((b,_)=>t.jsx("i",{className:Q.star,style:b},_))}),t.jsx("span",{className:Q.label,children:f})]})}),q={width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0};function cs(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006ZM7 1.6364L5.5682 3.0682C5.39246 3.24393 5.10754 3.24393 4.9318 3.0682C4.75607 2.89246 4.75607 2.60754 4.9318 2.4318L7.1818 0.181802C7.26619 0.09741 7.38065 0.049999 7.5 0.049999C7.61935 0.049999 7.73381 0.09741 7.8182 0.181802L10.0682 2.4318C10.2439 2.60754 10.2439 2.89246 10.0682 3.0682C9.89246 3.24393 9.60754 3.24393 9.4318 3.0682L8 1.6364L8 8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5L7 1.6364Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function is(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function us(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ds(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function fs(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function _s(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M5.5 2C5.77614 2 6 2.22386 6 2.5V5.5C6 5.77614 5.77614 6 5.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H5V2.5C5 2.22386 5.22386 2 5.5 2ZM9.5 2C9.77614 2 10 2.22386 10 2.5V5H12.5C12.7761 5 13 5.22386 13 5.5C13 5.77614 12.7761 6 12.5 6H9.5C9.22386 6 9 5.77614 9 5.5V2.5C9 2.22386 9.22386 2 9.5 2ZM2 9.5C2 9.22386 2.22386 9 2.5 9H5.5C5.77614 9 6 9.22386 6 9.5V12.5C6 12.7761 5.77614 13 5.5 13C5.22386 13 5 12.7761 5 12.5V10H2.5C2.22386 10 2 9.77614 2 9.5ZM9 9.5C9 9.22386 9.22386 9 9.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H10V12.5C10 12.7761 9.77614 13 9.5 13C9.22386 13 9 12.7761 9 12.5V9.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ps(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M2 2.5C2 2.22386 2.22386 2 2.5 2H5.5C5.77614 2 6 2.22386 6 2.5C6 2.77614 5.77614 3 5.5 3H3V5.5C3 5.77614 2.77614 6 2.5 6C2.22386 6 2 5.77614 2 5.5V2.5ZM9 2.5C9 2.22386 9.22386 2 9.5 2H12.5C12.7761 2 13 2.22386 13 2.5V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3H9.5C9.22386 3 9 2.77614 9 2.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H2.5C2.22386 13 2 12.7761 2 12.5V9.5C2 9.22386 2.22386 9 2.5 9ZM12.5 9C12.7761 9 13 9.22386 13 9.5V12.5C13 12.7761 12.7761 13 12.5 13H9.5C9.22386 13 9 12.7761 9 12.5C9 12.2239 9.22386 12 9.5 12H12V9.5C12 9.22386 12.2239 9 12.5 9Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function gs(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Cs(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function hs(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ms(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M7.5 0.875C5.49797 0.875 3.875 2.49797 3.875 4.5C3.875 6.15288 4.98124 7.54738 6.49373 7.98351C5.2997 8.12901 4.27557 8.55134 3.50407 9.31167C2.52216 10.2794 2.02502 11.72 2.02502 13.5999C2.02502 13.8623 2.23769 14.0749 2.50002 14.0749C2.76236 14.0749 2.97502 13.8623 2.97502 13.5999C2.97502 11.8799 3.42786 10.7206 4.17091 9.9883C4.91536 9.25463 6.02674 8.87499 7.49995 8.87499C8.97317 8.87499 10.0846 9.25463 10.8291 9.98831C11.5721 10.7206 12.025 11.8799 12.025 13.5999C12.025 13.8623 12.2376 14.0749 12.5 14.0749C12.7623 14.075 12.975 13.8623 12.975 13.6C12.975 11.72 12.4778 10.2794 11.4959 9.31166C10.7244 8.55135 9.70025 8.12903 8.50625 7.98352C10.0187 7.5474 11.125 6.15289 11.125 4.5C11.125 2.49797 9.50203 0.875 7.5 0.875ZM4.825 4.5C4.825 3.02264 6.02264 1.825 7.5 1.825C8.97736 1.825 10.175 3.02264 10.175 4.5C10.175 5.97736 8.97736 7.175 7.5 7.175C6.02264 7.175 4.825 5.97736 4.825 4.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function vs(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function xs(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ws(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M4.89346 2.35248C3.49195 2.35248 2.35248 3.49359 2.35248 4.90532C2.35248 6.38164 3.20954 7.9168 4.37255 9.33522C5.39396 10.581 6.59464 11.6702 7.50002 12.4778C8.4054 11.6702 9.60608 10.581 10.6275 9.33522C11.7905 7.9168 12.6476 6.38164 12.6476 4.90532C12.6476 3.49359 11.5081 2.35248 10.1066 2.35248C9.27059 2.35248 8.81894 2.64323 8.5397 2.95843C8.27877 3.25295 8.14623 3.58566 8.02501 3.88993C8.00391 3.9429 7.98315 3.99501 7.96211 4.04591C7.88482 4.23294 7.7024 4.35494 7.50002 4.35494C7.29765 4.35494 7.11523 4.23295 7.03793 4.04592C7.01689 3.99501 6.99612 3.94289 6.97502 3.8899C6.8538 3.58564 6.72126 3.25294 6.46034 2.95843C6.18109 2.64323 5.72945 2.35248 4.89346 2.35248ZM1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.0084 1.35248 6.73504 1.76049 7.20884 2.2953C7.32062 2.42147 7.41686 2.55382 7.50002 2.68545C7.58318 2.55382 7.67941 2.42147 7.79119 2.2953C8.265 1.76049 8.99164 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function bs(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function js(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ne(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M6.1584 3.13508C5.95694 3.32394 5.94673 3.64036 6.13559 3.84182L9.56499 7.49991L6.13559 11.158C5.94673 11.3595 5.95694 11.6759 6.1584 11.8647C6.35986 12.0536 6.67628 12.0434 6.86514 11.8419L10.6151 7.84182C10.7954 7.64946 10.7954 7.35036 10.6151 7.158L6.86514 3.15801C6.67628 2.95655 6.35986 2.94634 6.1584 3.13508Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ee(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M8.84182 3.13508C9.04328 3.32394 9.05348 3.64036 8.86462 3.84182L5.43523 7.49991L8.86462 11.158C9.05348 11.3595 9.04328 11.6759 8.84182 11.8647C8.64036 12.0536 8.32394 12.0434 8.13508 11.8419L4.38508 7.84182C4.20477 7.64946 4.20477 7.35036 4.38508 7.158L8.13508 3.15801C8.32394 2.95655 8.64036 2.94634 8.84182 3.13508Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ys(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M3 2.5C3 2.22386 3.22386 2 3.5 2H11.5C11.7761 2 12 2.22386 12 2.5V13.5C12 13.6818 11.9014 13.8492 11.7424 13.9373C11.5834 14.0254 11.3891 14.0203 11.235 13.924L7.5 11.5896L3.765 13.924C3.61087 14.0203 3.41659 14.0254 3.25762 13.9373C3.09864 13.8492 3 13.6818 3 13.5V2.5ZM4 3V12.5979L6.97 10.7416C7.29427 10.539 7.70573 10.539 8.03 10.7416L11 12.5979V3H4Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ze(e){return t.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",...e,children:t.jsx("path",{d:"M11.8 3.2a.6.6 0 0 0-.85 0L7.5 6.65 4.05 3.2a.6.6 0 1 0-.85.85L6.65 7.5 3.2 10.95a.6.6 0 1 0 .85.85L7.5 8.35l3.45 3.45a.6.6 0 0 0 .85-.85L8.35 7.5l3.45-3.45a.6.6 0 0 0 0-.85Z",fill:"currentColor"})})}function Oe(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM8.24992 4.49999C8.24992 4.9142 7.91413 5.24999 7.49992 5.24999C7.08571 5.24999 6.74992 4.9142 6.74992 4.49999C6.74992 4.08577 7.08571 3.74999 7.49992 3.74999C7.91413 3.74999 8.24992 4.08577 8.24992 4.49999ZM6.00003 5.99999H6.50003H7.50003C7.77618 5.99999 8.00003 6.22384 8.00003 6.49999V9.99999H8.50003H9.00003V11H8.50003H7.50003H6.50003H6.00003V9.99999H6.50003H7.00003V6.99999H6.50003H6.00003V5.99999Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function We(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ve(e){return t.jsx("svg",{...q,...e,children:t.jsx("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}const Ls="_root_p5j1t_12",$s="_viewport_p5j1t_17",ks="_track_p5j1t_21",Rs="_slide_p5j1t_66",Ms="_arrow_p5j1t_78",Is="_prev_p5j1t_99",Ns="_next_p5j1t_104",Es="_arrowButton_p5j1t_109",zs="_dots_p5j1t_115",Ss="_dot_p5j1t_115",F={root:Ls,viewport:$s,track:ks,slide:Rs,arrow:Ms,prev:Is,next:Ns,arrowButton:Es,dots:zs,dot:Ss};function Ds({children:e,perView:n=1,step:o="item",showPagination:r=!1,animated:a=!0,className:l,"aria-label":c="Carousel",...f}){const p=s.Children.toArray(e),g=p.length,u=s.useId(),C=s.useRef(null),x=o==="page"?Math.max(1,Math.floor(n)):1,b=g<=n?1:o==="page"?Math.ceil((g-n)/x)+1:Math.ceil(g-n)+1,[_,v]=s.useState(x),[$,M]=s.useState(Math.max(1,b)),[k,H]=s.useState(0),[z,N]=s.useState(!0),[Z,T]=s.useState(g<=n),R=s.useRef([0]),E=s.useRef(0),j=s.useRef(0),d=s.useRef(()=>{}),y=s.useCallback(()=>{const m=C.current;if(!m)return;const i=m.scrollLeft,h=Math.max(0,m.scrollWidth-m.clientWidth);if(Math.abs(h-E.current)>1){d.current();return}const I=i<=1,D=i>=j.current-1;let B=0;D?B=R.current.length-1:I||R.current.forEach((V,X)=>{Math.abs(V-i)<=Math.abs(R.current[B]-i)&&(B=X)}),H(B),N(I),T(D)},[]),L=s.useCallback(()=>{const m=C.current;if(!m)return;const i=Array.from(m.children);if(!i.length)return;const h=Math.max(0,m.scrollWidth-m.clientWidth),I=i[0],D=i.length>1?i[1].offsetLeft-I.offsetLeft-I.offsetWidth:0,B=(m.clientWidth+D)/(I.offsetWidth+D),V=o==="page"?Math.max(1,Math.floor(B+.01)):1,X=i[i.length-1],Y=Math.round(Math.max(0,Math.min(h,X.offsetLeft-I.offsetLeft+X.offsetWidth-m.clientWidth))),G=[];i.forEach((se,we)=>{if(we%V!==0)return;const ue=Math.round(Math.min(se.offsetLeft-I.offsetLeft,Y));G[G.length-1]!==ue&&G.push(ue)}),Y>0&&G[G.length-1]<Y-1&&G.push(Y),R.current=G,E.current=Math.round(h),j.current=Y,v(V),M(G.length),y()},[o,y]);s.useLayoutEffect(()=>{d.current=L,L()},[L,g]),s.useEffect(()=>{const m=C.current;if(!m)return;const i=new ResizeObserver(()=>L());i.observe(m);let h=0;const I=()=>{cancelAnimationFrame(h),h=requestAnimationFrame(y)};return m.addEventListener("scroll",I,{passive:!0}),()=>{i.disconnect(),cancelAnimationFrame(h),m.removeEventListener("scroll",I)}},[L,y]),s.useEffect(()=>{const m=C.current;if(!m)return;const i=4;let h=null,I=0,D=0,B=!1,V=0;const X=()=>{clearTimeout(V),delete m.dataset.settling},Y=O=>{O.pointerType!=="mouse"||O.button!==0||m.scrollWidth<=m.clientWidth||(X(),h=O.pointerId,I=O.clientX,D=m.scrollLeft,B=!1)},G=O=>{if(O.pointerId!==h)return;const te=O.clientX-I;if(!B){if(Math.abs(te)<i)return;B=!0,m.setPointerCapture(O.pointerId),m.dataset.dragging=""}m.scrollLeft=D-te},se=O=>{if(O.pointerId!==h||(h=null,!B))return;delete m.dataset.dragging;const te=m.scrollLeft,be=R.current;let ne=be.reduce((oe,Se)=>Math.abs(Se-te)<Math.abs(oe-te)?Se:oe,be[0]);te>D+1&&ne<=D+1?ne=be.find(oe=>oe>D+1)??ne:te<D-1&&ne>=D-1&&(ne=[...be].reverse().find(oe=>oe<D-1)??ne),m.dataset.settling="";const ut=window.matchMedia("(prefers-reduced-motion: reduce)").matches;m.scrollTo({left:ne,behavior:ut?"auto":"smooth"}),m.addEventListener("scrollend",X,{once:!0}),V=window.setTimeout(X,700)},we=O=>{B&&(B=!1,O.preventDefault(),O.stopPropagation())},ue=O=>O.preventDefault();return m.addEventListener("pointerdown",Y),m.addEventListener("pointermove",G),m.addEventListener("pointerup",se),m.addEventListener("pointercancel",se),m.addEventListener("click",we,!0),m.addEventListener("dragstart",ue),()=>{X(),m.removeEventListener("pointerdown",Y),m.removeEventListener("pointermove",G),m.removeEventListener("pointerup",se),m.removeEventListener("pointercancel",se),m.removeEventListener("click",we,!0),m.removeEventListener("dragstart",ue)}},[]);const A=m=>{var i;return(i=C.current)==null?void 0:i.scrollTo({left:m})},S=m=>{const i=C.current;if(!i)return;const h=i.scrollLeft,I=m>0?R.current.find(D=>D>h+1):[...R.current].reverse().find(D=>D<h-1);I!==void 0&&A(I)},W=$>1;return t.jsxs("section",{...f,"aria-roledescription":"carousel","aria-label":c,className:w(F.root,l),"data-scrollable":W?"":void 0,children:[t.jsxs("div",{className:F.viewport,children:[t.jsx("div",{ref:C,id:u,className:F.track,tabIndex:0,style:{"--_view-count-default":n},children:p.map((m,i)=>t.jsx("div",{className:F.slide,role:"group","aria-roledescription":"slide","aria-label":`${i+1} of ${g}`,"data-snap":i%_===0?"":void 0,children:m},m.key??i))}),t.jsx("span",{className:w(F.arrow,F.prev),children:t.jsx(me,{iconOnly:!0,className:F.arrowButton,animated:a,"aria-label":"Previous","aria-controls":u,disabled:z,onClick:()=>S(-1),children:t.jsx(Ee,{"aria-hidden":"true"})})}),t.jsx("span",{className:w(F.arrow,F.next),children:t.jsx(me,{iconOnly:!0,className:F.arrowButton,animated:a,"aria-label":"Next","aria-controls":u,disabled:Z,onClick:()=>S(1),children:t.jsx(Ne,{"aria-hidden":"true"})})})]}),r&&W&&t.jsx("div",{className:F.dots,children:Array.from({length:$},(m,i)=>t.jsx("button",{type:"button",className:F.dot,"aria-label":o==="page"?`Page ${i+1} of ${$}`:`Position ${i+1} of ${$}`,"aria-controls":u,"aria-current":i===k?"true":void 0,onClick:()=>A(R.current[i]??0)},i))})]})}const qs="_nav_f248a_6",Hs="_pages_f248a_21",Ts="_item_f248a_30",As="_current_f248a_48",Bs="_page_f248a_21",Zs="_gap_f248a_82",Os="_stepText_f248a_92",Ws="_step_f248a_92",P={nav:qs,pages:Hs,item:Ts,current:As,page:Bs,gap:Zs,stepText:Os,step:Ws},Vs="_spaceControl_4ou97_17",Fs="_spaceSlider_4ou97_74",Ps="_spacePanel_4ou97_111",Gs="_spaceInput_4ou97_34",Ks="_spaceTextArea_4ou97_226",Us={spaceControl:Vs,spaceSlider:Fs,spacePanel:Ps,spaceInput:Gs,spaceTextArea:Ks},U=Us;function Fe({pageSize:e,totalItems:n}){return e<=0?1:Math.max(1,Math.ceil(n/e))}function Pe(e,n,o=1){const r=(C,x)=>Array.from({length:Math.max(0,x-C+1)},(b,_)=>C+_),a=o*2+5;if(n<=a)return r(1,n);const l=Math.min(Math.max(e,1),n),c=Math.max(l-o,1),f=Math.min(l+o,n),p=c>3,g=f<n-2,u=o*2+3;return p?g?[1,null,...r(c,f),null,n]:[1,null,...r(n-u+1,n)]:[...r(1,u),null,n]}function Xs({pagination:e,onPageClick:n,siblings:o=1,animated:r=!0,className:a,"aria-label":l="Pagination",...c}){const f=Fe(e);if(f<=1)return null;const p=Math.min(Math.max(e.page,1),f),g=u=>{u!==p&&u>=1&&u<=f&&n(u)};return t.jsxs("nav",{...c,"aria-label":l,className:w(P.nav,a),children:[t.jsxs("button",{type:"button",className:w(U.spaceControl,P.item,P.step),disabled:p<=1,"aria-label":"Previous page",onClick:()=>g(p-1),children:[t.jsx(Ee,{"aria-hidden":"true"}),t.jsx("span",{className:P.stepText,children:"Previous"})]}),t.jsx("ol",{className:P.pages,children:Pe(p,f,o).map((u,C)=>u===null?t.jsx("li",{className:P.gap,"aria-hidden":"true",children:"…"},`gap-${C}`):t.jsx("li",{children:t.jsx("button",{type:"button",className:w(U.spaceControl,P.item,P.page,u===p&&P.current),"data-animated":u===p&&!r?"false":void 0,"aria-label":`Page ${u}`,"aria-current":u===p?"page":void 0,onClick:()=>g(u),children:u})},u))}),t.jsxs("button",{type:"button",className:w(U.spaceControl,P.item,P.step),disabled:p>=f,"aria-label":"Next page",onClick:()=>g(p+1),children:[t.jsx("span",{className:P.stepText,children:"Next"}),t.jsx(Ne,{"aria-hidden":"true"})]})]})}const Ys="_wrap_dwcut_5",Qs="_sm_dwcut_30",Js="_md_dwcut_36",eo="_lg_dwcut_42",to="_orbit_dwcut_49",no="_planet_dwcut_58",so="_moon_dwcut_73",oo="_label_dwcut_92",le={wrap:Ys,sm:Qs,md:Js,lg:eo,orbit:to,planet:no,"sp-loader-planet-pulse":"_sp-loader-planet-pulse_dwcut_1",moon:so,"sp-loader-orbit":"_sp-loader-orbit_dwcut_1",label:oo,"sp-loader-reduced-pulse":"_sp-loader-reduced-pulse_dwcut_1"};function ro({size:e="md",label:n,className:o}){return t.jsxs("div",{className:w(le.wrap,le[e],o),role:"status","aria-live":"polite","aria-label":n??"Loading",children:[t.jsxs("span",{className:le.orbit,children:[t.jsx("span",{className:le.planet}),t.jsx("span",{className:le.moon})]}),n&&t.jsx("span",{className:le.label,children:n})]})}const ao="_content_1efo6_6",lo={content:ao};function Ge(e,n){e.matches(":popover-open")||(e.dataset.instant="",e.dataset.measuring="",n(),delete e.dataset.measuring,e.offsetWidth,delete e.dataset.instant,e.offsetWidth,e.showPopover())}const co=350,io=80,Le=8,pe=8;function uo({triggerRef:e,tooltipId:n,show:o,hide:r,children:a}){const l=a.props;return s.cloneElement(a,{ref:e,"aria-describedby":n,onPointerEnter:c=>{var f;(f=l.onPointerEnter)==null||f.call(l,c),c.pointerType==="mouse"&&o()},onPointerLeave:c=>{var f;(f=l.onPointerLeave)==null||f.call(l,c),r()},onFocus:c=>{var f;(f=l.onFocus)==null||f.call(l,c),o(!0)},onBlur:c=>{var f;(f=l.onBlur)==null||f.call(l,c),r()},onClick:c=>{var f;(f=l.onClick)==null||f.call(l,c),r()}})}function Ke({label:e,side:n="bottom",children:o}){const r=s.useId(),[a,l]=s.useState(!1),[c,f]=s.useState(null),p=s.useRef(null),g=s.useRef(null),u=s.useRef(null),C=s.useRef(null),x=()=>{u.current&&(clearTimeout(u.current),u.current=null),C.current&&(clearTimeout(C.current),C.current=null)},b=(v=!1)=>{if(x(),v){l(!0);return}u.current=setTimeout(()=>l(!0),co)},_=()=>{x(),C.current=setTimeout(()=>l(!1),io)};return s.useEffect(()=>x,[]),s.useLayoutEffect(()=>{const v=g.current;if(!v)return;if(!a){v.matches(":popover-open")&&v.hidePopover();return}const $=p.current;if(!$)return;const M=()=>{const k=$.getBoundingClientRect(),H=v.offsetWidth,z=v.offsetHeight,N=(y,L,A,S)=>Math.min(Math.max(y+L/2-A/2,pe),Math.max(S-A-pe,pe)),Z=(y,L,A,S)=>({fitsNear:y>=pe,fitsFar:L+A<=S-pe});if(n==="left"||n==="right"){const y=k.right+Le,L=k.left-H-Le,{fitsNear:A,fitsFar:S}=Z(L,y,H,window.innerWidth),W=n==="right"?S||!A?y:L:A||!S?L:y;v.dataset.side=W===y?"right":"left",f({top:N(k.top,k.height,z,window.innerHeight),left:W});return}const T=k.bottom+Le,R=k.top-z-Le,{fitsNear:E,fitsFar:j}=Z(R,T,z,window.innerHeight),d=n==="bottom"?j||!E?T:R:E||!j?R:T;v.dataset.side=d===T?"bottom":"top",f({top:d,left:N(k.left,k.width,H,window.innerWidth)})};v.matches(":popover-open")?M():Ge(v,M)},[a,n,e]),!e||!s.isValidElement(o)?t.jsx(t.Fragment,{children:o}):t.jsxs(t.Fragment,{children:[t.jsx(uo,{triggerRef:p,tooltipId:r,show:b,hide:_,children:o}),t.jsx("div",{ref:g,id:r,popover:"auto",role:"tooltip",className:lo.content,style:c?{top:c.top,left:c.left}:void 0,onToggle:v=>{v.nativeEvent.newState==="closed"&&a&&l(!1)},children:e})]})}const fo="_group_1tdav_4",_o="_segment_1tdav_15",po="_active_1tdav_35",go="_vertical_1tdav_46",$e={group:fo,segment:_o,active:po,vertical:go};function Co({options:e,value:n,onValueChange:o,orientation:r="horizontal",className:a=""}){const l=r==="vertical";return t.jsx("div",{className:`${$e.group} ${l?$e.vertical:""} ${a}`,role:"group",children:e.map(c=>t.jsx(Ke,{label:c.label,side:l?"right":"bottom",children:t.jsx("button",{type:"button",className:`${$e.segment} ${c.value===n?$e.active:""}`,"aria-label":c.label,"aria-pressed":c.value===n,onClick:()=>{c.value!==n&&o(c.value)},children:c.icon})},c.value))})}const ho="_root_32n97_2",mo="_trigger_32n97_7",vo="_labelWrap_32n97_30",xo="_sizer_32n97_8",wo="_triggerLabel_32n97_70",bo="_chevron_32n97_77",jo="_listbox_32n97_82",yo="_item_32n97_148",J={root:ho,trigger:mo,labelWrap:vo,sizer:xo,triggerLabel:wo,chevron:bo,listbox:jo,item:yo},Ue=s.createContext(null),Lo=()=>{const e=s.useContext(Ue);if(!e)throw new Error("Select.Item must be inside a Select");return e},Xe=(e,n)=>`${e}-${encodeURIComponent(n)}`;function $o(e){const n=[],o=r=>{s.Children.forEach(r,a=>{if(!s.isValidElement(a))return;const l=a.props;a.type===Ye&&typeof l.value=="string"?n.push({value:l.value,label:l.children,disabled:l.disabled}):l.children&&o(l.children)})};return o(e),n}function ko({value:e,onValueChange:n,disabled:o,placeholder:r,animated:a=!0,className:l,children:c,...f}){const[p,g]=s.useState(!1),[u,C]=s.useState(null),x=s.useId(),b=s.useRef(null),_=s.useRef(null),v=s.useRef(null),[$,M]=s.useState(null),[k,H]=s.useState(null),z=s.useMemo(()=>$o(c),[c]),N=s.useMemo(()=>z.filter(d=>!d.disabled).map(d=>d.value),[z]),Z=s.useMemo(()=>z.map(d=>d.label),[z]),T=s.useCallback(d=>{var y;return((y=z.find(L=>L.value===d))==null?void 0:y.label)??null},[z]);s.useEffect(()=>{if(!p)return;const d=y=>{_.current&&!_.current.contains(y.target)&&g(!1)};return document.addEventListener("mousedown",d),()=>document.removeEventListener("mousedown",d)},[p]),s.useLayoutEffect(()=>{if(!p)return;const d=b.current;if(!d)return;const y=d.getBoundingClientRect();M(d.offsetWidth);const L=window.innerHeight-y.bottom-16;H(Math.min(380,Math.max(120,L)))},[p]),s.useEffect(()=>{var d;p&&((d=v.current)==null||d.focus())},[p]);const R=d=>{C(d??N[0]??null),g(!0)},E=d=>{const y=u?N.indexOf(u):-1,L=Math.min(Math.max(y+d,0),N.length-1);C(N[L]??null)},j=e?T(e):null;return t.jsx(Ue.Provider,{value:{value:e,onValueChange:n,disabled:o,open:p,setOpen:g,highlighted:u,setHighlighted:C,listboxId:x,values:N,labelFor:T,triggerRef:b},children:t.jsxs("div",{ref:_,className:J.root,children:[t.jsxs("button",{type:"button",...f,ref:b,disabled:o,className:w(J.trigger,U.spaceControl,"spSelectTrigger",l),"data-animated":a?void 0:"false","data-state":p?"open":"closed","aria-haspopup":"listbox","aria-expanded":p,"aria-controls":x,onClick:()=>p?g(!1):R(e||null),onKeyDown:d=>{(d.key==="ArrowDown"||d.key==="Enter"||d.key===" ")&&(d.preventDefault(),R(e||null))},children:[t.jsxs("span",{className:J.labelWrap,children:[t.jsxs("span",{className:J.sizer,"data-sizer":"","aria-hidden":"true",children:[Z.map((d,y)=>t.jsx("span",{children:d},y)),r&&t.jsx("span",{children:r})]}),t.jsx("span",{className:J.triggerLabel,children:j??r??""})]}),t.jsx("svg",{className:J.chevron,width:"9",height:"9",viewBox:"0 0 9 9","aria-hidden":"true",children:t.jsx("path",{d:"M0.5 3 L4.5 7 L8.5 3",fill:"none",stroke:"currentColor",strokeWidth:"1.2"})})]}),t.jsx("div",{ref:v,id:x,role:"listbox",tabIndex:-1,hidden:!p,"aria-activedescendant":u?Xe(x,u):void 0,className:w(J.listbox,U.spacePanel),"data-animated":a?void 0:"false",style:$!=null||k!=null?{...$!=null?{"--_select-trigger-width":`${$}px`}:{},...k!=null?{maxHeight:`${k}px`}:{}}:void 0,onKeyDown:d=>{var y,L;d.key==="Escape"?(d.stopPropagation(),g(!1),(y=b.current)==null||y.focus()):d.key==="ArrowDown"?(d.preventDefault(),E(1)):d.key==="ArrowUp"?(d.preventDefault(),E(-1)):d.key==="Home"?(d.preventDefault(),C(N[0]??null)):d.key==="End"?(d.preventDefault(),C(N[N.length-1]??null)):d.key==="Enter"||d.key===" "?(d.preventDefault(),u&&(n(u),g(!1),(L=b.current)==null||L.focus())):d.key==="Tab"&&g(!1)},children:c})]})})}function Ye({value:e,disabled:n,children:o}){const r=Lo(),a=r.value===e,l=r.highlighted===e;return t.jsx("div",{id:Xe(r.listboxId,e),role:"option","aria-selected":a,"aria-disabled":n||void 0,"data-highlighted":l?"":void 0,className:w(J.item,"spSelectItem"),onMouseEnter:()=>!n&&r.setHighlighted(e),onClick:()=>{var c;n||(r.onValueChange(e),r.setOpen(!1),(c=r.triggerRef.current)==null||c.focus())},children:o})}const Ro=Object.assign(ko,{Item:Ye}),Mo="_root_1lx7y_1",Io="_input_1lx7y_7",No="_slot_1lx7y_17",Me={root:Mo,input:Io,slot:No},Eo=s.forwardRef(function({className:n,style:o,animated:r=!0,children:a,...l},c){return t.jsxs("div",{className:w(Me.root,U.spaceInput,"spTextFieldRoot",n),"data-animated":r?void 0:"false",style:o,children:[a,t.jsx("input",{...l,ref:c,className:w(Me.input,"spTextFieldInput")})]})});function zo({children:e}){return t.jsx("span",{className:Me.slot,children:e})}const Ie=Object.assign(Eo,{Slot:zo}),So="_root_1qu6w_1",Do="_textarea_1qu6w_6",He={root:So,textarea:Do},qo=s.forwardRef(function({className:n,style:o,animated:r=!0,...a},l){return t.jsx("div",{className:w(He.root,U.spaceInput,U.spaceTextArea,"spTextFieldRoot",n),"data-animated":r?void 0:"false",style:o,children:t.jsx("textarea",{...a,ref:l,className:w(He.textarea,"spTextAreaInput")})})}),Ho="_wrap_1rgfg_12",To="_field_1rgfg_16",Ao="_panel_1rgfg_22",Bo="_status_1rgfg_73",Zo="_list_1rgfg_83",Oo="_option_1rgfg_96",Wo="_active_1rgfg_108",Vo="_label_1rgfg_118",Fo="_meta_1rgfg_125",Po="_footer_1rgfg_131",K={wrap:Ho,field:To,panel:Ao,status:Bo,list:Zo,option:Oo,active:Wo,label:Vo,meta:Fo,footer:Po};function Go({value:e,onValueChange:n,options:o,onSelect:r,icon:a,caseSensitive:l=!1,preFiltered:c=!1,loading:f=!1,loadingMessage:p="Loading…",emptyMessage:g,footer:u,animated:C=!0,className:x,style:b,..._}){const[v,$]=s.useState(!1),[M,k]=s.useState(0),H=s.useRef(null),z=s.useRef(null),N=s.useId(),Z=i=>typeof i.label=="string"?i.label:i.search??i.value,T=e.trim()!=="",R=s.useMemo(()=>{if(!T)return[];if(c)return o;const i=l?e:e.toLowerCase();return o.filter(h=>(l?Z(h):Z(h).toLowerCase()).includes(i))},[o,e,l,c,T]),E=s.useMemo(()=>R.filter(i=>!i.disabled),[R]),j=T&&(R.length>0||f||g!=null),d=v&&j;s.useEffect(()=>k(0),[R]),s.useEffect(()=>{var h;if(!d)return;const i=(h=z.current)==null?void 0:h.querySelector(`[data-index="${M}"]`);i==null||i.scrollIntoView({block:"nearest"})},[M,d]);const y=s.useCallback(()=>$(!1),[]);s.useEffect(()=>{if(!d)return;const i=h=>{const I=H.current;I&&h.target instanceof Node&&!I.contains(h.target)&&y()};return document.addEventListener("pointerdown",i),()=>document.removeEventListener("pointerdown",i)},[d,y]);const L=s.useRef(!1),A=i=>{i.disabled||(n(Z(i)),r(i.value,i),L.current=!1,$(!1))},S=i=>{if(E.length===0)return;const h=R[M],D=((h&&!h.disabled?E.indexOf(h):-1)+i+E.length)%E.length,B=E[D];B&&k(R.indexOf(B))},W=i=>{if(i.key==="Escape"){d&&i.stopPropagation(),$(!1);return}if(i.key==="Tab"){$(!1);return}if(!d){i.key==="ArrowDown"&&$(!0);return}if(i.key==="ArrowDown")i.preventDefault(),L.current=!0,S(1);else if(i.key==="ArrowUp")i.preventDefault(),L.current=!0,S(-1);else if(i.key==="Home"){i.preventDefault(),L.current=!0;const h=E[0];h&&k(R.indexOf(h))}else if(i.key==="End"){i.preventDefault(),L.current=!0;const h=E[E.length-1];h&&k(R.indexOf(h))}else if(i.key==="Enter"||i.key===" "&&L.current){const h=R[M];h&&!h.disabled&&(i.preventDefault(),A(h))}},m=d?R[M]:void 0;return t.jsxs("div",{ref:H,className:w(K.wrap,x),style:b,children:[t.jsx(Ie,{..._,type:_.type??"text",role:"combobox",animated:C,className:K.field,autoComplete:"off","aria-expanded":d,"aria-controls":N,"aria-autocomplete":"list","aria-activedescendant":m&&!m.disabled?`${N}-${M}`:void 0,value:e,onFocus:i=>{var h;(h=_.onFocus)==null||h.call(_,i),$(!0)},onClick:i=>{var h;(h=_.onClick)==null||h.call(_,i),$(!0)},onKeyDown:i=>{var h;(h=_.onKeyDown)==null||h.call(_,i),W(i)},onChange:i=>{L.current=!1,n(i.target.value),$(!0)},children:a!=null&&t.jsx(Ie.Slot,{children:a})}),t.jsxs("div",{className:w(K.panel,U.spacePanel),hidden:!d,"data-animated":C?void 0:"false",children:[T&&f&&t.jsx("p",{className:K.status,children:p}),T&&!f&&R.length===0&&g!=null&&t.jsx("p",{className:K.status,children:g}),t.jsx("ul",{ref:z,id:N,role:"listbox",className:K.list,hidden:f||R.length===0,children:R.map((i,h)=>t.jsxs("li",{id:`${N}-${h}`,"data-index":h,role:"option","aria-selected":h===M,"aria-disabled":i.disabled||void 0,className:w(K.option,h===M&&!i.disabled&&K.active,"spAutocompleteOption"),onMouseEnter:()=>!i.disabled&&k(h),onPointerDown:I=>{I.preventDefault(),A(i)},children:[t.jsx("span",{className:K.label,children:i.label}),i.meta!=null&&t.jsx("span",{className:K.meta,children:i.meta})]},i.value))}),u!=null&&t.jsx("div",{className:K.footer,children:u})]})]})}const Ko="_root_14a1b_1",Uo="_track_14a1b_12",Xo="_range_14a1b_22",Yo="_thumb_14a1b_28",Qo="_input_14a1b_38",ge={root:Ko,track:Uo,range:Xo,thumb:Yo,input:Qo},Jo=s.forwardRef(function({value:n,onValueChange:o,min:r,max:a,step:l,disabled:c,className:f,"aria-label":p},g){const u=n[0]??r,C=a===r?0:(u-r)/(a-r)*100;return t.jsxs("span",{className:w(ge.root,U.spaceSlider,f),"data-disabled":c||void 0,children:[t.jsx("span",{className:w(ge.track,"spSliderTrack"),children:t.jsx("span",{className:w(ge.range,"spSliderRange"),style:{width:`${C}%`}})}),t.jsx("span",{className:w(ge.thumb,"spSliderThumb"),style:{left:`${C}%`}}),t.jsx("input",{ref:g,type:"range",className:w(ge.input,"spSliderInput"),value:u,min:r,max:a,step:l,disabled:c,"aria-label":p,onChange:x=>o([Number(x.target.value)])})]})}),er="_root_1qhel_2",tr="_item_1qhel_8",nr="_selfLabeled_1qhel_15",sr="_input_1qhel_19",or="_orb_1qhel_35",ie={root:er,item:tr,selfLabeled:nr,input:sr,orb:or},Qe=s.createContext(null);function rr({value:e,onValueChange:n,disabled:o,className:r,children:a}){const l=s.useId();return t.jsx(Qe.Provider,{value:{value:e,onValueChange:n,disabled:o,name:l},children:t.jsx("div",{role:"radiogroup",className:w(ie.root,r),children:a})})}function ar({value:e,disabled:n,children:o}){const r=s.useContext(Qe);if(!r)throw new Error("RadioGroup.Item must be inside a RadioGroup");const a=n||r.disabled,l=t.jsxs(t.Fragment,{children:[t.jsx("input",{type:"radio",className:ie.input,name:r.name,value:e,checked:r.value===e,disabled:a,onChange:()=>r.onValueChange(e)}),t.jsx("span",{className:w(ie.orb,"spRadioOrb"),"aria-hidden":"true"})]});return o==null?t.jsx("span",{className:ie.item,children:l}):t.jsxs("label",{className:w(ie.item,ie.selfLabeled),children:[l,o]})}const lr=Object.assign(rr,{Item:ar}),cr="_progress_1cre6_16",ir={progress:cr};function ur({value:e,max:n=100,className:o,style:r,...a}){const l=n>0?Math.min(Math.max(e/n*100,0),100):0;return t.jsx("div",{...a,role:"progressbar","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":n,className:w(ir.progress,o),style:r,children:t.jsx("div",{style:{width:`${l}%`,height:"100%"}})})}const dr="_message_1522x_14",fr="_info_1522x_44",_r="_warning_1522x_49",pr="_alert_1522x_56",gr="_icon_1522x_63",Cr="_body_1522x_74",hr="_title_1522x_83",mr="_text_1522x_90",ce={message:dr,info:fr,warning:_r,alert:pr,icon:gr,body:Cr,title:hr,text:mr},vr={info:t.jsx(Oe,{}),warning:t.jsx(We,{}),alert:t.jsx(Ve,{})},xr={info:{role:"status",live:"polite"},warning:{role:"status",live:"polite"},alert:{role:"alert"}},wr=s.forwardRef(function({variant:n="info",title:o,icon:r,className:a,children:l,...c},f){const p=r===void 0?vr[n]:r,{role:g,live:u}=xr[n];return t.jsxs("div",{...c,ref:f,role:g,"aria-live":u,className:w(ce.message,ce[n],a),children:[p!=null&&t.jsx("span",{className:ce.icon,"aria-hidden":"true",children:p}),t.jsxs("div",{className:ce.body,children:[o!=null&&t.jsx("p",{className:ce.title,children:o}),l!=null&&t.jsx("div",{className:ce.text,children:l})]})]})}),br="_dialog_zbndh_2",jr="_inner_zbndh_71",yr="_size4_zbndh_76",Lr="_title_zbndh_80",$r="_closeX_zbndh_88",he={dialog:br,inner:jr,size4:yr,title:Lr,closeX:$r};let ke=0;const Je=s.createContext(null),xe=()=>{const e=s.useContext(Je);if(!e)throw new Error("Dialog parts must be inside a Dialog");return e};function et(e){return function({open:o,onOpenChange:r,children:a}){const[l,c]=s.useState(!1),f=o!==void 0,p=f?o:l,g=_=>{f||c(_),r==null||r(_)},u=s.useId(),C=s.useId(),[x,b]=s.useState(!1);return t.jsx(Je.Provider,{value:{open:p,setOpen:g,titleId:u,descId:C,alert:e,hasDesc:x,setHasDesc:b},children:a})}}const kr=et(!1),tt=(e,n)=>{if(!s.isValidElement(e))return e;const o=e;return s.cloneElement(o,{onClick:r=>{var a,l;(l=(a=o.props).onClick)==null||l.call(a,r),n()}})};function nt({children:e}){const n=xe();return t.jsx(t.Fragment,{children:tt(e,()=>n.setOpen(!0))})}function ze({children:e}){const n=xe();return t.jsx(t.Fragment,{children:tt(e,()=>n.setOpen(!1))})}function st({size:e="3",maxWidth:n,className:o,style:r,children:a,...l}){const c=xe(),f=s.useRef(null),p=s.useRef(!1),g=s.useRef(!1);return s.useEffect(()=>{const u=f.current;u&&(c.open&&!u.open?u.showModal():!c.open&&u.open&&u.close())},[c.open]),s.useEffect(()=>{if(c.open)return ke+=1,ke===1&&(document.body.style.overflow="hidden"),()=>{ke-=1,ke===0&&(document.body.style.overflow="")}},[c.open]),t.jsx("dialog",{...l,ref:f,role:c.alert?"alertdialog":void 0,"aria-labelledby":c.titleId,"aria-describedby":c.hasDesc?c.descId:void 0,className:w(he.dialog,"spDialog",e==="4"&&he.size4,o),style:{...n?{maxWidth:n}:null,...r},onKeyDownCapture:u=>{var C,x;u.key==="Escape"&&((C=f.current)!=null&&C.querySelector("dialog[open]")||(x=f.current)!=null&&x.querySelector('[role="listbox"]:not([hidden])')&&(p.current=!0))},onCancel:u=>{if(u.preventDefault(),p.current){p.current=!1;return}c.setOpen(!1)},onClose:()=>{c.open&&c.setOpen(!1)},onPointerDown:u=>{g.current=u.target===f.current},onClick:u=>{!c.alert&&u.target===f.current&&g.current&&c.setOpen(!1)},children:t.jsxs("div",{className:he.inner,children:[!c.alert&&t.jsx("button",{type:"button",className:he.closeX,"aria-label":"Close",onClick:()=>c.setOpen(!1),children:t.jsx(Ze,{width:16,height:16})}),a]})})}function ot({className:e,...n}){const o=xe();return t.jsx(Be,{as:"h2",size:"5",...n,id:o.titleId,className:w(he.title,e)})}function rt(e){const n=xe(),{setHasDesc:o}=n;return s.useLayoutEffect(()=>(o(!0),()=>o(!1)),[o]),t.jsx(Ae,{as:"p",...e,id:n.descId})}const Rr=Object.assign(kr,{Trigger:nt,Close:ze,Content:st,Title:ot,Description:rt}),Mr=ze,Ir=ze,Nr=Object.assign(et(!0),{Trigger:nt,Content:st,Title:ot,Description:rt,Cancel:Mr,Action:Ir}),Er="_menu_11ctg_1",zr="_label_11ctg_51",Sr="_item_11ctg_61",Dr="_danger_11ctg_80",qr="_separator_11ctg_84",ve={menu:Er,label:zr,item:Sr,danger:Dr,separator:qr},at=s.createContext(null),Hr=()=>{const e=s.useContext(at);if(!e)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return e};function Tr({label:e,align:n="start",children:o,...r}){const[a,l]=s.useState(!1),c=s.useId(),f=s.useRef(null),p=s.useRef(null),g=s.useRef(null),u=s.useRef(a);u.current=a;const C=s.useCallback(_=>{u.current!==_&&(u.current=_,l(_))},[]),[x,b]=s.useState(null);return s.useLayoutEffect(()=>{var v;const _=p.current;if(_)if(a){const $=f.current;if($){const M=$.getBoundingClientRect(),k=n==="end"?"auto":M.left,H=n==="end"?window.innerWidth-M.right:"auto";b({top:M.bottom+6,left:k,right:H})}_.showPopover(),(v=_.querySelector('[role="menuitem"]'))==null||v.focus()}else _.matches(":popover-open")&&_.hidePopover()},[a,n]),s.useEffect(()=>{if(!a)return;const _=()=>C(!1);return window.addEventListener("resize",_),()=>window.removeEventListener("resize",_)},[a]),t.jsxs(at.Provider,{value:{open:a,setOpen:C,menuId:c},children:[t.jsx(me,{...r,ref:f,"aria-haspopup":"menu","aria-expanded":a,"aria-controls":c,onPointerDown:_=>{var v;(v=r.onPointerDown)==null||v.call(r,_),g.current=!u.current},onKeyDown:_=>{var v;(v=r.onKeyDown)==null||v.call(r,_),(_.key==="Enter"||_.key===" ")&&(g.current=null)},onClick:_=>{var $;($=r.onClick)==null||$.call(r,_);const v=g.current??!u.current;g.current=null,C(v)},children:e}),t.jsx("div",{ref:p,id:c,role:"menu",popover:"auto",className:ve.menu,style:x?{top:x.top,left:x.left==="auto"?"auto":x.left,right:x.right==="auto"?"auto":x.right}:void 0,onToggle:_=>{_.nativeEvent.newState==="closed"&&C(!1)},onKeyDown:_=>{var M,k,H,z,N,Z;const v=Array.from(((M=p.current)==null?void 0:M.querySelectorAll('[role="menuitem"]'))??[]),$=v.indexOf(document.activeElement);_.key==="ArrowDown"?(_.preventDefault(),(k=v[Math.min($+1,v.length-1)])==null||k.focus()):_.key==="ArrowUp"?(_.preventDefault(),(H=v[Math.max($-1,0)])==null||H.focus()):_.key==="Home"?(_.preventDefault(),(z=v[0])==null||z.focus()):_.key==="End"?(_.preventDefault(),(N=v[v.length-1])==null||N.focus()):_.key==="Escape"&&(C(!1),(Z=f.current)==null||Z.focus())},children:o})]})}function Ar({children:e}){return t.jsx("div",{className:ve.label,children:e})}function Br({asChild:e,color:n,onSelect:o,children:r}){const a=Hr(),l=w(ve.item,n==="danger"&&ve.danger),c=()=>{a.setOpen(!1),o==null||o()};if(e&&s.isValidElement(r)){const f=r,{className:p,onClick:g,children:u,role:C,tabIndex:x,...b}=f.props,_=f.ref;return s.createElement(f.type,{key:f.key,ref:_,role:"menuitem",tabIndex:-1,...b,className:w(l,p),onClick:v=>{g==null||g(v),a.setOpen(!1)}},u)}return t.jsx("button",{type:"button",role:"menuitem",tabIndex:-1,className:l,onClick:c,children:r})}function Zr(){return t.jsx("div",{role:"separator",className:ve.separator})}const Or=Object.assign(Tr,{Item:Br,Separator:Zr,Label:Ar}),Wr="_list_1hc3r_19",Vr="_trigger_1hc3r_28",lt={list:Wr,trigger:Vr},ct=s.createContext(null),it=()=>{const e=s.useContext(ct);if(!e)throw new Error("Tabs parts must be inside a Tabs");return e};function Fr({value:e,onValueChange:n,className:o,children:r}){const a=s.useId();return t.jsx(ct.Provider,{value:{value:e,onValueChange:n,id:a},children:t.jsx("div",{className:o,children:r})})}function Pr({children:e}){return t.jsx("div",{role:"tablist",className:w(lt.list,"spTabsList"),onKeyDown:n=>{const o=Array.from(n.currentTarget.querySelectorAll('[role="tab"]')),r=o.indexOf(document.activeElement);if(r!==-1){if(n.key==="ArrowRight"){n.preventDefault();const a=o[(r+1)%o.length];a.focus(),a.click()}else if(n.key==="ArrowLeft"){n.preventDefault();const a=o[(r-1+o.length)%o.length];a.focus(),a.click()}else if(n.key==="Home"){n.preventDefault();const a=o[0];a.focus(),a.click()}else if(n.key==="End"){n.preventDefault();const a=o[o.length-1];a.focus(),a.click()}}},children:e})}function Gr({value:e,className:n,children:o,...r}){const a=it(),l=a.value===e;return t.jsx("button",{...r,type:"button",role:"tab",id:`${a.id}-tab-${e}`,"aria-selected":l,"aria-controls":`${a.id}-panel-${e}`,tabIndex:l?0:-1,"data-state":l?"active":"inactive",className:w(lt.trigger,"spTabsTrigger",n),onClick:()=>a.onValueChange(e),children:o})}function Kr({value:e,children:n}){const o=it();return o.value!==e?null:t.jsx("div",{role:"tabpanel",id:`${o.id}-panel-${e}`,"aria-labelledby":`${o.id}-tab-${e}`,children:n})}const Ur=Object.assign(Fr,{List:Pr,Trigger:Gr,Content:Kr}),Xr="_panel_4us94_9",Yr={panel:Xr},Te=8,Ce=8,Qr='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function Jr({label:e,children:n,open:o,onOpenChange:r,defaultOpen:a=!1,side:l="bottom",align:c="start",panelClassName:f,onClick:p,...g}){const[u,C]=s.useState(a),x=o!==void 0,b=x?o:u,_=s.useId(),v=s.useId(),$=s.useRef(null),M=s.useRef(null),[k,H]=s.useState(null),z=s.useRef(!1),N=s.useRef(!1),Z=s.useRef(null),T=s.useRef(b);T.current=b;const R=s.useCallback(j=>{T.current!==j&&(T.current=j,x||C(j),r==null||r(j))},[x,r]),E=s.useCallback(()=>{const j=$.current,d=M.current;if(!j||!d)return;const y=j.getBoundingClientRect(),L=d.offsetWidth,A=d.offsetHeight,S=y.bottom+Te,W=y.top-A-Te,m=S+A<=window.innerHeight-Ce,i=W>=Ce,h=l==="bottom"?m||!i?S:W:i||!m?W:S,I=h===S?"bottom":"top";d.dataset.side=I;const D=c==="start"?y.left:c==="end"?y.right-L:y.left+y.width/2-L/2,B=Math.min(Math.max(D,Ce),Math.max(window.innerWidth-L-Ce,Ce));H(V=>V&&V.top===h&&V.left===B&&V.placed===I?V:{top:h,left:B,placed:I})},[l,c]);return s.useLayoutEffect(()=>{const j=M.current;j&&(b?(Ge(j,E),E(),z.current&&(z.current=!1,(j.querySelector(Qr)??j).focus({preventScroll:!0}))):j.matches(":popover-open")&&j.hidePopover())},[b,E]),s.useEffect(()=>{if(!b)return;let j=0,d="";const y=()=>{const L=$.current,A=M.current;if(L&&A){const S=L.getBoundingClientRect(),W=`${S.top}|${S.left}|${S.width}|${S.height}|${A.offsetWidth}|${A.offsetHeight}|${window.innerWidth}|${window.innerHeight}`;W!==d&&(d=W,E())}j=requestAnimationFrame(y)};return j=requestAnimationFrame(y),()=>cancelAnimationFrame(j)},[b,E]),t.jsxs(t.Fragment,{children:[t.jsx(me,{...g,ref:$,id:_,"aria-haspopup":"dialog","aria-expanded":b,"aria-controls":v,onPointerDown:j=>{var d;(d=g.onPointerDown)==null||d.call(g,j),Z.current=!T.current},onKeyDown:j=>{var d;(d=g.onKeyDown)==null||d.call(g,j),(j.key==="Enter"||j.key===" ")&&(Z.current=null)},onClick:j=>{p==null||p(j);const d=Z.current??!T.current;Z.current=null,d&&(z.current=!0),R(d)},children:e}),t.jsx("div",{ref:M,id:v,popover:"auto",role:"dialog","aria-labelledby":_,tabIndex:-1,className:w(Yr.panel,U.spacePanel,f),"data-animated":g.animated===!1?"false":void 0,"data-side":(k==null?void 0:k.placed)??l,style:k?{top:k.top,left:k.left}:void 0,onKeyDown:j=>{j.key==="Escape"&&(N.current=!0,j.stopPropagation())},onToggle:j=>{var d;j.nativeEvent.newState==="closed"&&(N.current&&(N.current=!1,(d=$.current)==null||d.focus()),R(!1))},children:n})]})}exports.AlertDialog=Nr;exports.Autocomplete=Go;exports.Badge=An;exports.BookmarkIcon=ys;exports.Box=an;exports.Button=me;exports.Card=Pn;exports.Carousel=Ds;exports.ChatBubbleIcon=is;exports.CheckIcon=gs;exports.ChevronDownIcon=js;exports.ChevronLeftIcon=Ee;exports.ChevronRightIcon=Ne;exports.ChevronUpIcon=bs;exports.CrossCircledIcon=Ve;exports.Dialog=Rr;exports.DropdownMenu=Or;exports.EnterFullScreenIcon=ps;exports.ExclamationTriangleIcon=We;exports.ExitFullScreenIcon=_s;exports.Flex=rn;exports.Grid=bn;exports.Heading=Be;exports.HeartFilledIcon=fs;exports.HeartIcon=ws;exports.IconToggle=Co;exports.InfoCircledIcon=Oe;exports.Link=Tt;exports.Loader=ro;exports.MagnifyingGlassIcon=xs;exports.Message=wr;exports.MinusIcon=vs;exports.Pagination=Xs;exports.Pencil1Icon=ds;exports.PersonIcon=ms;exports.PlusIcon=us;exports.Popover=Jr;exports.Progress=ur;exports.QuestionMarkCircledIcon=hs;exports.RadioGroup=lr;exports.Select=Ro;exports.Separator=On;exports.Share2Icon=cs;exports.Slider=Jo;exports.Tabs=Ur;exports.Text=Ae;exports.TextArea=qo;exports.TextField=Ie;exports.Tooltip=Ke;exports.TrashIcon=Cs;exports.XIcon=Ze;exports.pageCount=Fe;exports.pageWindow=Pe;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),t=require("react/jsx-runtime"),pe={0:"0",1:"var(--spacing-xs)",2:"var(--spacing-sm)",3:"var(--spacing-md)",4:"var(--spacing-md)",5:"var(--spacing-lg)",6:"var(--spacing-xl)"};function oe({m:e,mt:n,mb:o,p:r,pb:a},c){const l={...e!==void 0&&{margin:pe[e]},...n!==void 0&&{marginTop:pe[n]},...o!==void 0&&{marginBottom:pe[o]},...r!==void 0&&{padding:pe[r]},...a!==void 0&&{paddingBottom:pe[a]},...c};return Object.keys(l).length>0?l:void 0}function b(...e){return e.filter(Boolean).join(" ")}const Ct="_text_4vcq4_1",xt="_size1_4vcq4_5",vt="_size2_4vcq4_11",bt="_size3_4vcq4_16",wt="_size4_4vcq4_21",jt="_size5_4vcq4_27",yt="_size6_4vcq4_33",kt="_medium_4vcq4_39",$t="_bold_4vcq4_43",Lt="_colorMuted_4vcq4_47",Rt="_colorDanger_4vcq4_51",Mt="_colorSuccess_4vcq4_55",Nt="_colorWarning_4vcq4_59",$e={text:Ct,size1:xt,size2:vt,size3:bt,size4:wt,size5:jt,size6:yt,medium:kt,bold:$t,colorMuted:Lt,colorDanger:Rt,colorSuccess:Mt,colorWarning:Nt},Ve=s.forwardRef(function({as:n="span",size:o,weight:r,color:a,className:c,style:l,m:d,mt:_,mb:g,p:u,pb:C,...w},k){return s.createElement(n,{...w,ref:k,className:b($e.text,o&&$e[`size${o}`],r&&$e[r],a&&$e[`color${a[0].toUpperCase()}${a.slice(1)}`],c),style:oe({m:d,mt:_,mb:g,p:u,pb:C},l)})}),It="_heading_vs4zk_1",Et="_size4_vs4zk_7",St="_size5_vs4zk_13",zt="_size6_vs4zk_19",Dt="_size7_vs4zk_25",qt="_size8_vs4zk_31",Ht="_size9_vs4zk_37",Tt="_colorMuted_vs4zk_43",At="_colorDanger_vs4zk_47",Bt="_alignCenter_vs4zk_51",ge={heading:It,size4:Et,size5:St,size6:zt,size7:Dt,size8:qt,size9:Ht,colorMuted:Tt,colorDanger:At,alignCenter:Bt},Pe=s.forwardRef(function({as:n="h2",size:o,color:r,align:a,className:c,style:l,m:d,mt:_,mb:g,p:u,pb:C,...w},k){return s.createElement(n,{...w,ref:k,className:b(ge.heading,o&&ge[`size${o}`],r==="muted"&&ge.colorMuted,r==="danger"&&ge.colorDanger,a==="center"&&ge.alignCenter,c),style:oe({m:d,mt:_,mb:g,p:u,pb:C},l)})}),Ft="_link_1qa7j_1",Ot="_size1_1qa7j_10",Wt="_size2_1qa7j_16",Zt="_size3_1qa7j_21",Be={link:Ft,size1:Ot,size2:Wt,size3:Zt},Vt=s.forwardRef(function({asChild:n,size:o,className:r,style:a,m:c,mt:l,mb:d,p:_,pb:g,children:u,...C},w){const k=b(Be.link,o&&Be[`size${o}`],r),p=oe({m:c,mt:l,mb:d,p:_,pb:g},a);if(n&&s.isValidElement(u)){const x=u;return s.cloneElement(x,{...C,className:b(k,x.props.className),style:{...p,...x.props.style}})}return t.jsx("a",{...C,ref:w,className:k,style:p,children:u})}),Pt="_flex_v4ziu_1",Gt="_gap1_v4ziu_5",Kt="_gap2_v4ziu_9",Ut="_gap3_v4ziu_13",Xt="_gap4_v4ziu_17",Yt="_gap5_v4ziu_21",Qt="_gap6_v4ziu_25",Jt="_directionRow_v4ziu_29",en="_directionColumn_v4ziu_33",tn="_alignStart_v4ziu_37",nn="_alignCenter_v4ziu_41",sn="_alignEnd_v4ziu_45",on="_alignBaseline_v4ziu_49",rn="_alignStretch_v4ziu_53",an="_justifyStart_v4ziu_57",cn="_justifyCenter_v4ziu_61",ln="_justifyEnd_v4ziu_65",un="_justifyBetween_v4ziu_69",dn="_wrapWrap_v4ziu_73",fn="_wrapNowrap_v4ziu_77",ie={flex:Pt,gap1:Gt,gap2:Kt,gap3:Ut,gap4:Xt,gap5:Yt,gap6:Qt,directionRow:Jt,directionColumn:en,alignStart:tn,alignCenter:nn,alignEnd:sn,alignBaseline:on,alignStretch:rn,justifyStart:an,justifyCenter:cn,justifyEnd:ln,justifyBetween:un,wrapWrap:dn,wrapNowrap:fn},Le=e=>e[0].toUpperCase()+e.slice(1),_n=s.forwardRef(function({asChild:n,gap:o,direction:r,align:a,justify:c,wrap:l,className:d,style:_,m:g,mt:u,mb:C,p:w,pb:k,children:p,...x},L){const I=b(ie.flex,o&&ie[`gap${o}`],r&&ie[`direction${Le(r)}`],a&&ie[`align${Le(a)}`],c&&ie[`justify${Le(c)}`],l&&ie[`wrap${Le(l)}`],d),M=oe({m:g,mt:u,mb:C,p:w,pb:k},_);if(n&&s.isValidElement(p)){const A=p;return s.cloneElement(A,{...x,className:b(I,A.props.className),style:{...M,...A.props.style}})}return t.jsx("div",{...x,ref:L,className:I,style:M,children:p})}),pn=s.forwardRef(function({style:n,m:o,mt:r,mb:a,p:c,pb:l,...d},_){return t.jsx("div",{...d,ref:_,style:oe({m:o,mt:r,mb:a,p:c,pb:l},n)})}),gn="_grid_erpqq_1",mn="_cols1_erpqq_5",hn="_cols2_erpqq_9",Cn="_cols3_erpqq_13",xn="_smCols2_erpqq_18",vn="_smCols3_erpqq_21",bn="_mdCols2_erpqq_26",wn="_mdCols3_erpqq_29",jn="_gap1_erpqq_33",yn="_gap2_erpqq_37",kn="_gap3_erpqq_41",$n="_gap4_erpqq_45",Ln="_gap5_erpqq_49",Rn="_gap6_erpqq_53",ue={grid:gn,cols1:mn,cols2:hn,cols3:Cn,smCols2:xn,smCols3:vn,mdCols2:bn,mdCols3:wn,gap1:jn,gap2:yn,gap3:kn,gap4:$n,gap5:Ln,gap6:Rn},Mn=s.forwardRef(function({columns:n,gap:o,className:r,style:a,m:c,mt:l,mb:d,p:_,pb:g,...u},C){const w=typeof n=="string"?[ue[`cols${n}`]]:n?[n.initial&&ue[`cols${n.initial}`],n.sm&&ue[`smCols${n.sm}`],n.md&&ue[`mdCols${n.md}`]]:[];return t.jsx("div",{...u,ref:C,className:b(ue.grid,...w,o&&ue[`gap${o}`],r),style:oe({m:c,mt:l,mb:d,p:_,pb:g},a)})}),Nn="_badge_1twqf_2",In="_size1_1twqf_10",En="_size2_1twqf_19",Sn="_colorMuted_1twqf_28",zn="_colorPrimary_1twqf_33",Dn="_colorSuccess_1twqf_38",qn="_colorDanger_1twqf_43",Hn="_colorWarning_1twqf_48",Tn="_colorCyan_1twqf_53",An="_colorPurple_1twqf_58",Bn="_colorOrange_1twqf_63",Fn="_colorAccent_1twqf_68",On="_colorYellow_1twqf_73",Wn="_solid_1twqf_81",Zn="_wrap_1twqf_89",me={badge:Nn,size1:In,size2:En,colorMuted:Sn,colorPrimary:zn,colorSuccess:Dn,colorDanger:qn,colorWarning:Hn,colorCyan:Tn,colorPurple:An,colorOrange:Bn,colorAccent:Fn,colorYellow:On,solid:Wn,wrap:Zn},Vn=e=>e[0].toUpperCase()+e.slice(1),Pn=s.forwardRef(function({color:n="primary",variant:o="soft",size:r="1",wrap:a,className:c,style:l,m:d,mt:_,mb:g,p:u,pb:C,...w},k){return t.jsx("span",{...w,ref:k,className:b(me.badge,me[`color${Vn(n)}`],o==="solid"&&me.solid,me[`size${r}`],a&&me.wrap,c),style:oe({m:d,mt:_,mb:g,p:u,pb:C},l)})}),Gn="_separator_vao01_1",Kn="_full_vao01_7",Fe={separator:Gn,full:Kn},Un=s.forwardRef(function({size:n="4",className:o,...r},a){return t.jsx("span",{...r,ref:a,role:"separator",className:b(Fe.separator,n==="4"&&Fe.full,o)})}),Xn="_card_1ooot_2",Yn="_image_1ooot_14",Qn="_hasImage_1ooot_41",Ee={card:Xn,image:Yn,hasImage:Qn},Jn=s.forwardRef(function({className:n,style:o,image:r,children:a,m:c,mt:l,mb:d,p:_,pb:g,...u},C){return t.jsxs("div",{...u,ref:C,className:b(Ee.card,r!=null&&Ee.hasImage,n),style:oe({m:c,mt:l,mb:d,p:_,pb:g},o),children:[r!=null&&t.jsx("div",{className:Ee.image,children:r}),a]})}),es="_spaceButton_kjhqx_14",ts="_rimRotate_kjhqx_1",ns="_glintSweep_kjhqx_1",ss="_iconOnly_kjhqx_97",os="_lg_kjhqx_104",rs="_sm_kjhqx_110",as="_micro_kjhqx_122",cs="_stars_kjhqx_136",ls="_fullWidth_kjhqx_141",is="_ember_kjhqx_147",us="_label_kjhqx_157",ds="_star_kjhqx_136",fs="_twinkle_kjhqx_1",ne={spaceButton:es,rimRotate:ts,glintSweep:ns,iconOnly:ss,lg:os,sm:rs,micro:as,stars:cs,fullWidth:ls,ember:is,label:us,star:ds,twinkle:fs};function _s(e){return function(){e|=0,e=e+1831565813|0;let n=Math.imul(e^e>>>15,1|e);return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}}function ps(e){let n=2166136261;for(let o=0;o<e.length;o++)n^=e.charCodeAt(o),n=Math.imul(n,16777619);return n>>>0}const we=s.forwardRef(function({iconOnly:n,ember:o,size:r="md",fullWidth:a,animated:c=!0,className:l,children:d,..._},g){const u=s.useId(),C=s.useMemo(()=>{const k=_s(ps(u));return Array.from({length:3},()=>({top:`${12+k()*58}%`,left:`${8+k()*80}%`,animationDelay:`${(k()*3.2).toFixed(2)}s`,animationDuration:`${(2.8+k()*1.8).toFixed(2)}s`}))},[u]),w=[ne.spaceButton,n?ne.iconOnly:"",o?ne.ember:"",r!=="md"?ne[r]:"",a?ne.fullWidth:"",l??""].filter(Boolean).join(" ");return t.jsxs("button",{ref:g,className:w,"data-animated":c?void 0:"false",..._,children:[r!=="micro"&&t.jsx("span",{className:ne.stars,"aria-hidden":!0,children:C.map((k,p)=>t.jsx("i",{className:ne.star,style:k},p))}),t.jsx("span",{className:ne.label,children:d})]})}),F={width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0};function gs(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006ZM7 1.6364L5.5682 3.0682C5.39246 3.24393 5.10754 3.24393 4.9318 3.0682C4.75607 2.89246 4.75607 2.60754 4.9318 2.4318L7.1818 0.181802C7.26619 0.09741 7.38065 0.049999 7.5 0.049999C7.61935 0.049999 7.73381 0.09741 7.8182 0.181802L10.0682 2.4318C10.2439 2.60754 10.2439 2.89246 10.0682 3.0682C9.89246 3.24393 9.60754 3.24393 9.4318 3.0682L8 1.6364L8 8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5L7 1.6364Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ms(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function hs(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Cs(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function xs(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function vs(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M5.5 2C5.77614 2 6 2.22386 6 2.5V5.5C6 5.77614 5.77614 6 5.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H5V2.5C5 2.22386 5.22386 2 5.5 2ZM9.5 2C9.77614 2 10 2.22386 10 2.5V5H12.5C12.7761 5 13 5.22386 13 5.5C13 5.77614 12.7761 6 12.5 6H9.5C9.22386 6 9 5.77614 9 5.5V2.5C9 2.22386 9.22386 2 9.5 2ZM2 9.5C2 9.22386 2.22386 9 2.5 9H5.5C5.77614 9 6 9.22386 6 9.5V12.5C6 12.7761 5.77614 13 5.5 13C5.22386 13 5 12.7761 5 12.5V10H2.5C2.22386 10 2 9.77614 2 9.5ZM9 9.5C9 9.22386 9.22386 9 9.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H10V12.5C10 12.7761 9.77614 13 9.5 13C9.22386 13 9 12.7761 9 12.5V9.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function bs(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M2 2.5C2 2.22386 2.22386 2 2.5 2H5.5C5.77614 2 6 2.22386 6 2.5C6 2.77614 5.77614 3 5.5 3H3V5.5C3 5.77614 2.77614 6 2.5 6C2.22386 6 2 5.77614 2 5.5V2.5ZM9 2.5C9 2.22386 9.22386 2 9.5 2H12.5C12.7761 2 13 2.22386 13 2.5V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3H9.5C9.22386 3 9 2.77614 9 2.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H2.5C2.22386 13 2 12.7761 2 12.5V9.5C2 9.22386 2.22386 9 2.5 9ZM12.5 9C12.7761 9 13 9.22386 13 9.5V12.5C13 12.7761 12.7761 13 12.5 13H9.5C9.22386 13 9 12.7761 9 12.5C9 12.2239 9.22386 12 9.5 12H12V9.5C12 9.22386 12.2239 9 12.5 9Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ws(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function js(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ys(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ks(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M7.5 0.875C5.49797 0.875 3.875 2.49797 3.875 4.5C3.875 6.15288 4.98124 7.54738 6.49373 7.98351C5.2997 8.12901 4.27557 8.55134 3.50407 9.31167C2.52216 10.2794 2.02502 11.72 2.02502 13.5999C2.02502 13.8623 2.23769 14.0749 2.50002 14.0749C2.76236 14.0749 2.97502 13.8623 2.97502 13.5999C2.97502 11.8799 3.42786 10.7206 4.17091 9.9883C4.91536 9.25463 6.02674 8.87499 7.49995 8.87499C8.97317 8.87499 10.0846 9.25463 10.8291 9.98831C11.5721 10.7206 12.025 11.8799 12.025 13.5999C12.025 13.8623 12.2376 14.0749 12.5 14.0749C12.7623 14.075 12.975 13.8623 12.975 13.6C12.975 11.72 12.4778 10.2794 11.4959 9.31166C10.7244 8.55135 9.70025 8.12903 8.50625 7.98352C10.0187 7.5474 11.125 6.15289 11.125 4.5C11.125 2.49797 9.50203 0.875 7.5 0.875ZM4.825 4.5C4.825 3.02264 6.02264 1.825 7.5 1.825C8.97736 1.825 10.175 3.02264 10.175 4.5C10.175 5.97736 8.97736 7.175 7.5 7.175C6.02264 7.175 4.825 5.97736 4.825 4.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function $s(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ls(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Rs(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M4.89346 2.35248C3.49195 2.35248 2.35248 3.49359 2.35248 4.90532C2.35248 6.38164 3.20954 7.9168 4.37255 9.33522C5.39396 10.581 6.59464 11.6702 7.50002 12.4778C8.4054 11.6702 9.60608 10.581 10.6275 9.33522C11.7905 7.9168 12.6476 6.38164 12.6476 4.90532C12.6476 3.49359 11.5081 2.35248 10.1066 2.35248C9.27059 2.35248 8.81894 2.64323 8.5397 2.95843C8.27877 3.25295 8.14623 3.58566 8.02501 3.88993C8.00391 3.9429 7.98315 3.99501 7.96211 4.04591C7.88482 4.23294 7.7024 4.35494 7.50002 4.35494C7.29765 4.35494 7.11523 4.23295 7.03793 4.04592C7.01689 3.99501 6.99612 3.94289 6.97502 3.8899C6.8538 3.58564 6.72126 3.25294 6.46034 2.95843C6.18109 2.64323 5.72945 2.35248 4.89346 2.35248ZM1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.0084 1.35248 6.73504 1.76049 7.20884 2.2953C7.32062 2.42147 7.41686 2.55382 7.50002 2.68545C7.58318 2.55382 7.67941 2.42147 7.79119 2.2953C8.265 1.76049 8.99164 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ms(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ns(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function qe(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M6.1584 3.13508C5.95694 3.32394 5.94673 3.64036 6.13559 3.84182L9.56499 7.49991L6.13559 11.158C5.94673 11.3595 5.95694 11.6759 6.1584 11.8647C6.35986 12.0536 6.67628 12.0434 6.86514 11.8419L10.6151 7.84182C10.7954 7.64946 10.7954 7.35036 10.6151 7.158L6.86514 3.15801C6.67628 2.95655 6.35986 2.94634 6.1584 3.13508Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function He(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M8.84182 3.13508C9.04328 3.32394 9.05348 3.64036 8.86462 3.84182L5.43523 7.49991L8.86462 11.158C9.05348 11.3595 9.04328 11.6759 8.84182 11.8647C8.64036 12.0536 8.32394 12.0434 8.13508 11.8419L4.38508 7.84182C4.20477 7.64946 4.20477 7.35036 4.38508 7.158L8.13508 3.15801C8.32394 2.95655 8.64036 2.94634 8.84182 3.13508Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Is(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M3 2.5C3 2.22386 3.22386 2 3.5 2H11.5C11.7761 2 12 2.22386 12 2.5V13.5C12 13.6818 11.9014 13.8492 11.7424 13.9373C11.5834 14.0254 11.3891 14.0203 11.235 13.924L7.5 11.5896L3.765 13.924C3.61087 14.0203 3.41659 14.0254 3.25762 13.9373C3.09864 13.8492 3 13.6818 3 13.5V2.5ZM4 3V12.5979L6.97 10.7416C7.29427 10.539 7.70573 10.539 8.03 10.7416L11 12.5979V3H4Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ge(e){return t.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",...e,children:t.jsx("path",{d:"M11.8 3.2a.6.6 0 0 0-.85 0L7.5 6.65 4.05 3.2a.6.6 0 1 0-.85.85L6.65 7.5 3.2 10.95a.6.6 0 1 0 .85.85L7.5 8.35l3.45 3.45a.6.6 0 0 0 .85-.85L8.35 7.5l3.45-3.45a.6.6 0 0 0 0-.85Z",fill:"currentColor"})})}function Ke(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM8.24992 4.49999C8.24992 4.9142 7.91413 5.24999 7.49992 5.24999C7.08571 5.24999 6.74992 4.9142 6.74992 4.49999C6.74992 4.08577 7.08571 3.74999 7.49992 3.74999C7.91413 3.74999 8.24992 4.08577 8.24992 4.49999ZM6.00003 5.99999H6.50003H7.50003C7.77618 5.99999 8.00003 6.22384 8.00003 6.49999V9.99999H8.50003H9.00003V11H8.50003H7.50003H6.50003H6.00003V9.99999H6.50003H7.00003V6.99999H6.50003H6.00003V5.99999Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ue(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Xe(e){return t.jsx("svg",{...F,...e,children:t.jsx("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}const Es="_root_p5j1t_12",Ss="_viewport_p5j1t_17",zs="_track_p5j1t_21",Ds="_slide_p5j1t_66",qs="_arrow_p5j1t_78",Hs="_prev_p5j1t_99",Ts="_next_p5j1t_104",As="_arrowButton_p5j1t_109",Bs="_dots_p5j1t_115",Fs="_dot_p5j1t_115",X={root:Es,viewport:Ss,track:zs,slide:Ds,arrow:qs,prev:Hs,next:Ts,arrowButton:As,dots:Bs,dot:Fs};function Os({children:e,perView:n=1,step:o="item",showPagination:r=!1,animated:a=!0,className:c,"aria-label":l="Carousel",...d}){const _=s.Children.toArray(e),g=_.length,u=s.useId(),C=s.useRef(null),w=o==="page"?Math.max(1,Math.floor(n)):1,k=g<=n?1:o==="page"?Math.ceil((g-n)/w)+1:Math.ceil(g-n)+1,[p,x]=s.useState(w),[L,I]=s.useState(Math.max(1,k)),[M,A]=s.useState(0),[O,G]=s.useState(!0),[H,S]=s.useState(g<=n),V=s.useRef([0]),P=s.useRef(0),v=s.useRef(0),$=s.useRef(()=>{}),R=s.useCallback(()=>{const m=C.current;if(!m)return;const y=m.scrollLeft,E=Math.max(0,m.scrollWidth-m.clientWidth);if(Math.abs(E-P.current)>1){$.current();return}const z=y<=1,D=y>=v.current-1;let i=0;D?i=V.current.length-1:z||V.current.forEach((h,q)=>{Math.abs(h-y)<=Math.abs(V.current[i]-y)&&(i=q)}),A(i),G(z),S(D)},[]),T=s.useCallback(()=>{const m=C.current;if(!m)return;const y=Array.from(m.children);if(!y.length)return;const E=Math.max(0,m.scrollWidth-m.clientWidth),z=y[0],D=y.length>1?y[1].offsetLeft-z.offsetLeft-z.offsetWidth:0,i=(m.clientWidth+D)/(z.offsetWidth+D),h=o==="page"?Math.max(1,Math.floor(i+.01)):1,q=y[y.length-1],B=Math.round(Math.max(0,Math.min(E,q.offsetLeft-z.offsetLeft+q.offsetWidth-m.clientWidth))),Z=[];y.forEach((U,ee)=>{if(ee%h!==0)return;const te=Math.round(Math.min(U.offsetLeft-z.offsetLeft,B));Z[Z.length-1]!==te&&Z.push(te)}),B>0&&Z[Z.length-1]<B-1&&Z.push(B),V.current=Z,P.current=Math.round(E),v.current=B,x(h),I(Z.length),R()},[o,R]);s.useLayoutEffect(()=>{$.current=T,T()},[T,g]),s.useEffect(()=>{const m=C.current;if(!m)return;const y=new ResizeObserver(()=>T());y.observe(m);let E=0;const z=()=>{cancelAnimationFrame(E),E=requestAnimationFrame(R)};return m.addEventListener("scroll",z,{passive:!0}),()=>{y.disconnect(),cancelAnimationFrame(E),m.removeEventListener("scroll",z)}},[T,R]),s.useEffect(()=>{const m=C.current;if(!m)return;const y=4;let E=null,z=0,D=0,i=!1,h=0;const q=()=>{clearTimeout(h),delete m.dataset.settling},B=W=>{W.pointerType!=="mouse"||W.button!==0||m.scrollWidth<=m.clientWidth||(q(),E=W.pointerId,z=W.clientX,D=m.scrollLeft,i=!1)},Z=W=>{if(W.pointerId!==E)return;const re=W.clientX-z;if(!i){if(Math.abs(re)<y)return;i=!0,m.setPointerCapture(W.pointerId),m.dataset.dragging=""}m.scrollLeft=D-re},U=W=>{if(W.pointerId!==E||(E=null,!i))return;delete m.dataset.dragging;const re=m.scrollLeft,ke=V.current;let ae=ke.reduce((le,Ae)=>Math.abs(Ae-re)<Math.abs(le-re)?Ae:le,ke[0]);re>D+1&&ae<=D+1?ae=ke.find(le=>le>D+1)??ae:re<D-1&&ae>=D-1&&(ae=[...ke].reverse().find(le=>le<D-1)??ae),m.dataset.settling="";const ht=window.matchMedia("(prefers-reduced-motion: reduce)").matches;m.scrollTo({left:ae,behavior:ht?"auto":"smooth"}),m.addEventListener("scrollend",q,{once:!0}),h=window.setTimeout(q,700)},ee=W=>{i&&(i=!1,W.preventDefault(),W.stopPropagation())},te=W=>W.preventDefault();return m.addEventListener("pointerdown",B),m.addEventListener("pointermove",Z),m.addEventListener("pointerup",U),m.addEventListener("pointercancel",U),m.addEventListener("click",ee,!0),m.addEventListener("dragstart",te),()=>{q(),m.removeEventListener("pointerdown",B),m.removeEventListener("pointermove",Z),m.removeEventListener("pointerup",U),m.removeEventListener("pointercancel",U),m.removeEventListener("click",ee,!0),m.removeEventListener("dragstart",te)}},[]);const f=m=>{var y;return(y=C.current)==null?void 0:y.scrollTo({left:m})},j=m=>{const y=C.current;if(!y)return;const E=y.scrollLeft,z=m>0?V.current.find(D=>D>E+1):[...V.current].reverse().find(D=>D<E-1);z!==void 0&&f(z)},N=L>1;return t.jsxs("section",{...d,"aria-roledescription":"carousel","aria-label":l,className:b(X.root,c),"data-scrollable":N?"":void 0,children:[t.jsxs("div",{className:X.viewport,children:[t.jsx("div",{ref:C,id:u,className:X.track,tabIndex:0,style:{"--_view-count-default":n},children:_.map((m,y)=>t.jsx("div",{className:X.slide,role:"group","aria-roledescription":"slide","aria-label":`${y+1} of ${g}`,"data-snap":y%p===0?"":void 0,children:m},m.key??y))}),t.jsx("span",{className:b(X.arrow,X.prev),children:t.jsx(we,{iconOnly:!0,className:X.arrowButton,animated:a,"aria-label":"Previous","aria-controls":u,disabled:O,onClick:()=>j(-1),children:t.jsx(He,{"aria-hidden":"true"})})}),t.jsx("span",{className:b(X.arrow,X.next),children:t.jsx(we,{iconOnly:!0,className:X.arrowButton,animated:a,"aria-label":"Next","aria-controls":u,disabled:H,onClick:()=>j(1),children:t.jsx(qe,{"aria-hidden":"true"})})})]}),r&&N&&t.jsx("div",{className:X.dots,children:Array.from({length:L},(m,y)=>t.jsx("button",{type:"button",className:X.dot,"aria-label":o==="page"?`Page ${y+1} of ${L}`:`Position ${y+1} of ${L}`,"aria-controls":u,"aria-current":y===M?"true":void 0,onClick:()=>f(V.current[y]??0)},y))})]})}const Ws="_nav_f248a_6",Zs="_pages_f248a_21",Vs="_item_f248a_30",Ps="_current_f248a_48",Gs="_page_f248a_21",Ks="_gap_f248a_82",Us="_stepText_f248a_92",Xs="_step_f248a_92",Y={nav:Ws,pages:Zs,item:Vs,current:Ps,page:Gs,gap:Ks,stepText:Us,step:Xs},Ys="_spaceControl_4ou97_17",Qs="_spaceSlider_4ou97_74",Js="_spacePanel_4ou97_111",eo="_spaceInput_4ou97_34",to="_spaceTextArea_4ou97_226",no={spaceControl:Ys,spaceSlider:Qs,spacePanel:Js,spaceInput:eo,spaceTextArea:to},J=no;function Ye({pageSize:e,totalItems:n}){return e<=0?1:Math.max(1,Math.ceil(n/e))}function Qe(e,n,o=1){const r=(C,w)=>Array.from({length:Math.max(0,w-C+1)},(k,p)=>C+p),a=o*2+5;if(n<=a)return r(1,n);const c=Math.min(Math.max(e,1),n),l=Math.max(c-o,1),d=Math.min(c+o,n),_=l>3,g=d<n-2,u=o*2+3;return _?g?[1,null,...r(l,d),null,n]:[1,null,...r(n-u+1,n)]:[...r(1,u),null,n]}function so({pagination:e,onPageClick:n,siblings:o=1,animated:r=!0,className:a,"aria-label":c="Pagination",...l}){const d=Ye(e);if(d<=1)return null;const _=Math.min(Math.max(e.page,1),d),g=u=>{u!==_&&u>=1&&u<=d&&n(u)};return t.jsxs("nav",{...l,"aria-label":c,className:b(Y.nav,a),children:[t.jsxs("button",{type:"button",className:b(J.spaceControl,Y.item,Y.step),disabled:_<=1,"aria-label":"Previous page",onClick:()=>g(_-1),children:[t.jsx(He,{"aria-hidden":"true"}),t.jsx("span",{className:Y.stepText,children:"Previous"})]}),t.jsx("ol",{className:Y.pages,children:Qe(_,d,o).map((u,C)=>u===null?t.jsx("li",{className:Y.gap,"aria-hidden":"true",children:"…"},`gap-${C}`):t.jsx("li",{children:t.jsx("button",{type:"button",className:b(J.spaceControl,Y.item,Y.page,u===_&&Y.current),"data-animated":u===_&&!r?"false":void 0,"aria-label":`Page ${u}`,"aria-current":u===_?"page":void 0,onClick:()=>g(u),children:u})},u))}),t.jsxs("button",{type:"button",className:b(J.spaceControl,Y.item,Y.step),disabled:_>=d,"aria-label":"Next page",onClick:()=>g(_+1),children:[t.jsx("span",{className:Y.stepText,children:"Next"}),t.jsx(qe,{"aria-hidden":"true"})]})]})}const oo="_wrap_dwcut_5",ro="_sm_dwcut_30",ao="_md_dwcut_36",co="_lg_dwcut_42",lo="_orbit_dwcut_49",io="_planet_dwcut_58",uo="_moon_dwcut_73",fo="_label_dwcut_92",de={wrap:oo,sm:ro,md:ao,lg:co,orbit:lo,planet:io,"sp-loader-planet-pulse":"_sp-loader-planet-pulse_dwcut_1",moon:uo,"sp-loader-orbit":"_sp-loader-orbit_dwcut_1",label:fo,"sp-loader-reduced-pulse":"_sp-loader-reduced-pulse_dwcut_1"};function _o({size:e="md",label:n,className:o}){return t.jsxs("div",{className:b(de.wrap,de[e],o),role:"status","aria-live":"polite","aria-label":n??"Loading",children:[t.jsxs("span",{className:de.orbit,children:[t.jsx("span",{className:de.planet}),t.jsx("span",{className:de.moon})]}),n&&t.jsx("span",{className:de.label,children:n})]})}const po="_content_1efo6_6",go={content:po};function Ie(e,n){e.matches(":popover-open")||(e.dataset.instant="",e.dataset.measuring="",n(),delete e.dataset.measuring,e.offsetWidth,delete e.dataset.instant,e.offsetWidth,e.showPopover())}const mo=350,ho=80,Re=8,he=8;function Co({triggerRef:e,tooltipId:n,show:o,hide:r,children:a}){const c=a.props;return s.cloneElement(a,{ref:e,"aria-describedby":n,onPointerEnter:l=>{var d;(d=c.onPointerEnter)==null||d.call(c,l),l.pointerType==="mouse"&&o()},onPointerLeave:l=>{var d;(d=c.onPointerLeave)==null||d.call(c,l),r()},onFocus:l=>{var d;(d=c.onFocus)==null||d.call(c,l),o(!0)},onBlur:l=>{var d;(d=c.onBlur)==null||d.call(c,l),r()},onClick:l=>{var d;(d=c.onClick)==null||d.call(c,l),r()}})}function Je({label:e,side:n="bottom",children:o}){const r=s.useId(),[a,c]=s.useState(!1),[l,d]=s.useState(null),_=s.useRef(null),g=s.useRef(null),u=s.useRef(null),C=s.useRef(null),w=()=>{u.current&&(clearTimeout(u.current),u.current=null),C.current&&(clearTimeout(C.current),C.current=null)},k=(x=!1)=>{if(w(),x){c(!0);return}u.current=setTimeout(()=>c(!0),mo)},p=()=>{w(),C.current=setTimeout(()=>c(!1),ho)};return s.useEffect(()=>w,[]),s.useLayoutEffect(()=>{const x=g.current;if(!x)return;if(!a){x.matches(":popover-open")&&x.hidePopover();return}const L=_.current;if(!L)return;const I=()=>{const M=L.getBoundingClientRect(),A=x.offsetWidth,O=x.offsetHeight,G=(R,T,f,j)=>Math.min(Math.max(R+T/2-f/2,he),Math.max(j-f-he,he)),H=(R,T,f,j)=>({fitsNear:R>=he,fitsFar:T+f<=j-he});if(n==="left"||n==="right"){const R=M.right+Re,T=M.left-A-Re,{fitsNear:f,fitsFar:j}=H(T,R,A,window.innerWidth),N=n==="right"?j||!f?R:T:f||!j?T:R;x.dataset.side=N===R?"right":"left",d({top:G(M.top,M.height,O,window.innerHeight),left:N});return}const S=M.bottom+Re,V=M.top-O-Re,{fitsNear:P,fitsFar:v}=H(V,S,O,window.innerHeight),$=n==="bottom"?v||!P?S:V:P||!v?V:S;x.dataset.side=$===S?"bottom":"top",d({top:$,left:G(M.left,M.width,A,window.innerWidth)})};x.matches(":popover-open")?I():Ie(x,I)},[a,n,e]),!e||!s.isValidElement(o)?t.jsx(t.Fragment,{children:o}):t.jsxs(t.Fragment,{children:[t.jsx(Co,{triggerRef:_,tooltipId:r,show:k,hide:p,children:o}),t.jsx("div",{ref:g,id:r,popover:"auto",role:"tooltip",className:go.content,style:l?{top:l.top,left:l.left}:void 0,onToggle:x=>{x.nativeEvent.newState==="closed"&&a&&c(!1)},children:e})]})}const xo="_group_1tdav_4",vo="_segment_1tdav_15",bo="_active_1tdav_35",wo="_vertical_1tdav_46",Me={group:xo,segment:vo,active:bo,vertical:wo};function jo({options:e,value:n,onValueChange:o,orientation:r="horizontal",className:a=""}){const c=r==="vertical";return t.jsx("div",{className:`${Me.group} ${c?Me.vertical:""} ${a}`,role:"group",children:e.map(l=>t.jsx(Je,{label:l.label,side:c?"right":"bottom",children:t.jsx("button",{type:"button",className:`${Me.segment} ${l.value===n?Me.active:""}`,"aria-label":l.label,"aria-pressed":l.value===n,onClick:()=>{l.value!==n&&o(l.value)},children:l.icon})},l.value))})}const yo="_root_12wb9_2",ko="_trigger_12wb9_7",$o="_labelWrap_12wb9_30",Lo="_sizer_12wb9_8",Ro="_triggerLabel_12wb9_70",Mo="_chevron_12wb9_77",No="_listbox_12wb9_82",Io="_item_12wb9_174",se={root:yo,trigger:ko,labelWrap:$o,sizer:Lo,triggerLabel:Ro,chevron:Mo,listbox:No,item:Io},et=s.createContext(null),Eo=()=>{const e=s.useContext(et);if(!e)throw new Error("Select.Item must be inside a Select");return e},tt=(e,n)=>`${e}-${encodeURIComponent(n)}`,Ce=4,fe=8;function So(e){const n=[],o=r=>{s.Children.forEach(r,a=>{if(!s.isValidElement(a))return;const c=a.props;a.type===nt&&typeof c.value=="string"?n.push({value:c.value,label:c.children,disabled:c.disabled}):c.children&&o(c.children)})};return o(e),n}function zo({value:e,onValueChange:n,disabled:o,placeholder:r,animated:a=!0,className:c,children:l,...d}){const[_,g]=s.useState(!1),[u,C]=s.useState(null),w=s.useId(),k=s.useRef(null),p=s.useRef(null),x=s.useRef(null),[L,I]=s.useState(null),[M,A]=s.useState(null),[O,G]=s.useState(null),H=s.useMemo(()=>So(l),[l]),S=s.useMemo(()=>H.filter(f=>!f.disabled).map(f=>f.value),[H]),V=s.useMemo(()=>H.map(f=>f.label),[H]),P=s.useCallback(f=>{var j;return((j=H.find(N=>N.value===f))==null?void 0:j.label)??null},[H]);s.useEffect(()=>{if(!_)return;const f=j=>{p.current&&!p.current.contains(j.target)&&g(!1)};return document.addEventListener("mousedown",f),()=>document.removeEventListener("mousedown",f)},[_]);const v=s.useCallback(()=>{const f=k.current,j=x.current;if(!f||!j)return;const N=f.getBoundingClientRect();I(f.offsetWidth);const m=window.innerHeight-N.bottom-fe,y=N.top-fe,E=m<Math.min(j.offsetHeight+Ce,200)&&y>m,z=Math.max(120,Math.min(380,E?y-Ce:m-Ce));A(z),j.dataset.side=E?"top":"bottom";const D=Math.min(j.offsetHeight,z),i=E?Math.max(fe,N.top-Ce-D):N.bottom+Ce,h=Math.min(Math.max(N.left,fe),Math.max(window.innerWidth-j.offsetWidth-fe,fe));G(q=>q&&q.top===i&&q.left===h?q:{top:i,left:h})},[]);s.useLayoutEffect(()=>{const f=x.current;f&&(_?(Ie(f,v),v()):f.matches(":popover-open")&&f.hidePopover())},[_,v]),s.useEffect(()=>{if(!_)return;let f=0,j="";const N=()=>{const m=k.current;if(m){const y=m.getBoundingClientRect(),E=`${y.top}|${y.left}|${y.width}|${window.innerWidth}|${window.innerHeight}`;E!==j&&(j=E,v())}f=requestAnimationFrame(N)};return f=requestAnimationFrame(N),()=>cancelAnimationFrame(f)},[_,v]),s.useEffect(()=>{var f;_&&((f=x.current)==null||f.focus())},[_]);const $=f=>{C(f??S[0]??null),g(!0)},R=f=>{const j=u?S.indexOf(u):-1,N=Math.min(Math.max(j+f,0),S.length-1);C(S[N]??null)},T=e?P(e):null;return t.jsx(et.Provider,{value:{value:e,onValueChange:n,disabled:o,open:_,setOpen:g,highlighted:u,setHighlighted:C,listboxId:w,values:S,labelFor:P,triggerRef:k},children:t.jsxs("div",{ref:p,className:se.root,children:[t.jsxs("button",{type:"button",...d,ref:k,disabled:o,className:b(se.trigger,J.spaceControl,"spSelectTrigger",c),"data-animated":a?void 0:"false","data-state":_?"open":"closed","aria-haspopup":"listbox","aria-expanded":_,"aria-controls":w,onClick:()=>_?g(!1):$(e||null),onKeyDown:f=>{(f.key==="ArrowDown"||f.key==="Enter"||f.key===" ")&&(f.preventDefault(),$(e||null))},children:[t.jsxs("span",{className:se.labelWrap,children:[t.jsxs("span",{className:se.sizer,"data-sizer":"","aria-hidden":"true",children:[V.map((f,j)=>t.jsx("span",{children:f},j)),r&&t.jsx("span",{children:r})]}),t.jsx("span",{className:se.triggerLabel,children:T??r??""})]}),t.jsx("svg",{className:se.chevron,width:"9",height:"9",viewBox:"0 0 9 9","aria-hidden":"true",children:t.jsx("path",{d:"M0.5 3 L4.5 7 L8.5 3",fill:"none",stroke:"currentColor",strokeWidth:"1.2"})})]}),t.jsx("div",{ref:x,id:w,role:"listbox",tabIndex:-1,popover:"manual","data-side":"bottom","aria-activedescendant":u?tt(w,u):void 0,className:b(se.listbox,J.spacePanel),"data-animated":a?void 0:"false",style:{...L!=null?{"--_select-trigger-width":`${L}px`}:{},...M!=null?{maxHeight:`${M}px`}:{},...O?{top:O.top,left:O.left}:{}},onKeyDown:f=>{var j,N;f.key==="Escape"?(f.stopPropagation(),g(!1),(j=k.current)==null||j.focus()):f.key==="ArrowDown"?(f.preventDefault(),R(1)):f.key==="ArrowUp"?(f.preventDefault(),R(-1)):f.key==="Home"?(f.preventDefault(),C(S[0]??null)):f.key==="End"?(f.preventDefault(),C(S[S.length-1]??null)):f.key==="Enter"||f.key===" "?(f.preventDefault(),u&&(n(u),g(!1),(N=k.current)==null||N.focus())):f.key==="Tab"&&g(!1)},children:l})]})})}function nt({value:e,disabled:n,children:o}){const r=Eo(),a=r.value===e,c=r.highlighted===e;return t.jsx("div",{id:tt(r.listboxId,e),role:"option","aria-selected":a,"aria-disabled":n||void 0,"data-highlighted":c?"":void 0,className:b(se.item,"spSelectItem"),onMouseEnter:()=>!n&&r.setHighlighted(e),onClick:()=>{var l;n||(r.onValueChange(e),r.setOpen(!1),(l=r.triggerRef.current)==null||l.focus())},children:o})}const Do=Object.assign(zo,{Item:nt}),qo="_root_1lx7y_1",Ho="_input_1lx7y_7",To="_slot_1lx7y_17",ze={root:qo,input:Ho,slot:To},Ao=s.forwardRef(function({className:n,style:o,animated:r=!0,children:a,...c},l){return t.jsxs("div",{className:b(ze.root,J.spaceInput,"spTextFieldRoot",n),"data-animated":r?void 0:"false",style:o,children:[a,t.jsx("input",{...c,ref:l,className:b(ze.input,"spTextFieldInput")})]})});function Bo({children:e}){return t.jsx("span",{className:ze.slot,children:e})}const De=Object.assign(Ao,{Slot:Bo}),Fo="_root_1qu6w_1",Oo="_textarea_1qu6w_6",Oe={root:Fo,textarea:Oo},Wo=s.forwardRef(function({className:n,style:o,animated:r=!0,...a},c){return t.jsx("div",{className:b(Oe.root,J.spaceInput,J.spaceTextArea,"spTextFieldRoot",n),"data-animated":r?void 0:"false",style:o,children:t.jsx("textarea",{...a,ref:c,className:b(Oe.textarea,"spTextAreaInput")})})}),Zo="_wrap_4p9as_12",Vo="_field_4p9as_16",Po="_panel_4p9as_25",Go="_status_4p9as_91",Ko="_list_4p9as_101",Uo="_option_4p9as_114",Xo="_active_4p9as_126",Yo="_label_4p9as_136",Qo="_meta_4p9as_143",Jo="_footer_4p9as_149",Q={wrap:Zo,field:Vo,panel:Po,status:Go,list:Ko,option:Uo,active:Xo,label:Yo,meta:Qo,footer:Jo},We=8,Se=8;function er({value:e,onValueChange:n,options:o,onSelect:r,icon:a,caseSensitive:c=!1,preFiltered:l=!1,loading:d=!1,loadingMessage:_="Loading…",emptyMessage:g,footer:u,animated:C=!0,className:w,style:k,...p}){const[x,L]=s.useState(!1),[I,M]=s.useState(0),A=s.useRef(null),O=s.useRef(null),G=s.useRef(null),H=s.useId(),[S,V]=s.useState(null),P=i=>typeof i.label=="string"?i.label:i.search??i.value,v=e.trim()!=="",$=s.useMemo(()=>{if(!v)return[];if(l)return o;const i=c?e:e.toLowerCase();return o.filter(h=>(c?P(h):P(h).toLowerCase()).includes(i))},[o,e,c,l,v]),R=s.useMemo(()=>$.filter(i=>!i.disabled),[$]),T=v&&($.length>0||d||g!=null),f=x&&T;s.useEffect(()=>M(0),[$]),s.useEffect(()=>{var h;if(!f)return;const i=(h=G.current)==null?void 0:h.querySelector(`[data-index="${I}"]`);i==null||i.scrollIntoView({block:"nearest"})},[I,f]);const j=s.useCallback(()=>{const i=A.current,h=O.current;if(!i||!h)return;const B=(i.firstElementChild??i).getBoundingClientRect(),Z=h.offsetHeight,U=window.innerHeight-B.bottom-Se,ee=U<Z&&B.top-Se>U;h.dataset.side=ee?"top":"bottom";const te=ee?Math.max(Se,B.top-We-Z):B.bottom+We;V(W=>W&&W.top===te&&W.left===B.left&&W.width===B.width?W:{top:te,left:B.left,width:B.width})},[]);s.useLayoutEffect(()=>{const i=O.current;i&&(f?(Ie(i,j),j()):i.matches(":popover-open")&&i.hidePopover())},[f,j]),s.useEffect(()=>{if(!f)return;let i=0,h="";const q=()=>{const B=A.current,Z=O.current;if(B&&Z){const U=(B.firstElementChild??B).getBoundingClientRect(),ee=`${U.top}|${U.left}|${U.width}|${Z.offsetHeight}|${window.innerHeight}`;ee!==h&&(h=ee,j())}i=requestAnimationFrame(q)};return i=requestAnimationFrame(q),()=>cancelAnimationFrame(i)},[f,j]);const N=s.useCallback(()=>L(!1),[]);s.useEffect(()=>{if(!f)return;const i=h=>{const q=A.current;q&&h.target instanceof Node&&!q.contains(h.target)&&N()};return document.addEventListener("pointerdown",i),()=>document.removeEventListener("pointerdown",i)},[f,N]);const m=s.useRef(!1),y=i=>{i.disabled||(n(P(i)),r(i.value,i),m.current=!1,L(!1))},E=i=>{if(R.length===0)return;const h=$[I],B=((h&&!h.disabled?R.indexOf(h):-1)+i+R.length)%R.length,Z=R[B];Z&&M($.indexOf(Z))},z=i=>{if(i.key==="Escape"){f&&i.stopPropagation(),L(!1);return}if(i.key==="Tab"){L(!1);return}if(!f){i.key==="ArrowDown"&&L(!0);return}if(i.key==="ArrowDown")i.preventDefault(),m.current=!0,E(1);else if(i.key==="ArrowUp")i.preventDefault(),m.current=!0,E(-1);else if(i.key==="Home"){i.preventDefault(),m.current=!0;const h=R[0];h&&M($.indexOf(h))}else if(i.key==="End"){i.preventDefault(),m.current=!0;const h=R[R.length-1];h&&M($.indexOf(h))}else if(i.key==="Enter"||i.key===" "&&m.current){const h=$[I];h&&!h.disabled&&(i.preventDefault(),y(h))}},D=f?$[I]:void 0;return t.jsxs("div",{ref:A,className:b(Q.wrap,w),style:k,children:[t.jsx(De,{...p,type:p.type??"text",role:"combobox",animated:C,className:Q.field,autoComplete:"off","aria-expanded":f,"aria-controls":H,"aria-autocomplete":"list","aria-activedescendant":D&&!D.disabled?`${H}-${I}`:void 0,value:e,onFocus:i=>{var h;(h=p.onFocus)==null||h.call(p,i),L(!0)},onClick:i=>{var h;(h=p.onClick)==null||h.call(p,i),L(!0)},onKeyDown:i=>{var h;(h=p.onKeyDown)==null||h.call(p,i),z(i)},onChange:i=>{m.current=!1,n(i.target.value),L(!0)},children:a!=null&&t.jsx(De.Slot,{children:a})}),t.jsxs("div",{ref:O,popover:"manual","data-side":"bottom",className:b(Q.panel,J.spacePanel),"data-animated":C?void 0:"false",style:S?{top:S.top,left:S.left,width:S.width}:void 0,children:[v&&d&&t.jsx("p",{className:Q.status,children:_}),v&&!d&&$.length===0&&g!=null&&t.jsx("p",{className:Q.status,children:g}),t.jsx("ul",{ref:G,id:H,role:"listbox",className:Q.list,hidden:d||$.length===0,children:$.map((i,h)=>t.jsxs("li",{id:`${H}-${h}`,"data-index":h,role:"option","aria-selected":h===I,"aria-disabled":i.disabled||void 0,className:b(Q.option,h===I&&!i.disabled&&Q.active,"spAutocompleteOption"),onMouseEnter:()=>!i.disabled&&M(h),onPointerDown:q=>{q.preventDefault(),y(i)},children:[t.jsx("span",{className:Q.label,children:i.label}),i.meta!=null&&t.jsx("span",{className:Q.meta,children:i.meta})]},i.value))}),u!=null&&t.jsx("div",{className:Q.footer,children:u})]})]})}const tr="_root_14a1b_1",nr="_track_14a1b_12",sr="_range_14a1b_22",or="_thumb_14a1b_28",rr="_input_14a1b_38",xe={root:tr,track:nr,range:sr,thumb:or,input:rr},ar=s.forwardRef(function({value:n,onValueChange:o,min:r,max:a,step:c,disabled:l,className:d,"aria-label":_},g){const u=n[0]??r,C=a===r?0:(u-r)/(a-r)*100;return t.jsxs("span",{className:b(xe.root,J.spaceSlider,d),"data-disabled":l||void 0,children:[t.jsx("span",{className:b(xe.track,"spSliderTrack"),children:t.jsx("span",{className:b(xe.range,"spSliderRange"),style:{width:`${C}%`}})}),t.jsx("span",{className:b(xe.thumb,"spSliderThumb"),style:{left:`${C}%`}}),t.jsx("input",{ref:g,type:"range",className:b(xe.input,"spSliderInput"),value:u,min:r,max:a,step:c,disabled:l,"aria-label":_,onChange:w=>o([Number(w.target.value)])})]})}),cr="_root_mmcx8_18",lr="_item_mmcx8_24",ir="_selfLabeled_mmcx8_33",ur="_label_mmcx8_37",dr="_input_mmcx8_41",fr="_box_mmcx8_57",_r="_tick_mmcx8_80",pr="_dash_mmcx8_81",gr="_tickPath_mmcx8_95",K={root:cr,item:lr,selfLabeled:ir,label:ur,input:dr,box:fr,tick:_r,dash:pr,tickPath:gr},st=s.createContext(null);function ot({checked:e,indeterminate:n,disabled:o,onToggle:r,value:a,ariaLabel:c}){const l=s.useRef(null);return s.useEffect(()=>{l.current&&(l.current.indeterminate=n===!0)},[n]),t.jsxs(t.Fragment,{children:[t.jsx("input",{ref:l,type:"checkbox",className:K.input,"aria-label":c,value:a,checked:e,disabled:o,onChange:d=>r(d.currentTarget.checked)}),t.jsxs("span",{className:K.box,"aria-hidden":"true",children:[t.jsx("svg",{className:K.tick,viewBox:"0 0 16 16",fill:"none",children:t.jsx("path",{className:K.tickPath,d:"M3.5 8.4 6.6 11.5 12.5 4.8",pathLength:1,stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})}),t.jsx("span",{className:K.dash})]})]})}function mr({value:e,onValueChange:n,disabled:o,className:r,"aria-label":a,children:c}){return t.jsx(st.Provider,{value:{value:e,onValueChange:n,disabled:o},children:t.jsx("div",{role:"group","aria-label":a,className:b(K.root,r),children:c})})}function hr({value:e,disabled:n,children:o}){const r=s.useContext(st);if(!r)throw new Error("CheckboxGroup.Item must be inside a CheckboxGroup");const a=n||r.disabled,c=r.value.includes(e),l=t.jsx(ot,{checked:c,disabled:a,value:e,onToggle:d=>r.onValueChange(d?[...r.value,e]:r.value.filter(_=>_!==e))});return o==null?t.jsx("span",{className:K.item,children:l}):t.jsxs("label",{className:b(K.item,K.selfLabeled),children:[l,t.jsx("span",{className:K.label,children:o})]})}const Cr=Object.assign(mr,{Item:hr});function xr({checked:e,onCheckedChange:n,indeterminate:o,disabled:r,className:a,"aria-label":c,children:l}){const d=t.jsx(ot,{checked:e,indeterminate:o,disabled:r,ariaLabel:c,onToggle:n});return l==null?t.jsx("span",{className:b(K.item,a),children:d}):t.jsxs("label",{className:b(K.item,K.selfLabeled,a),children:[d,t.jsx("span",{className:K.label,children:l})]})}const vr="_root_1u1sq_15",br="_item_1u1sq_23",wr="_selfLabeled_1u1sq_32",jr="_input_1u1sq_36",yr="_orb_1u1sq_52",kr="_burst_1u1sq_99",ce={root:vr,item:br,selfLabeled:wr,input:jr,orb:yr,burst:kr},rt=s.createContext(null);function $r({value:e,onValueChange:n,disabled:o,className:r,children:a}){const c=s.useId();return t.jsx(rt.Provider,{value:{value:e,onValueChange:n,disabled:o,name:c},children:t.jsx("div",{role:"radiogroup",className:b(ce.root,r),children:a})})}function Lr({value:e,disabled:n,children:o}){const r=s.useContext(rt);if(!r)throw new Error("RadioGroup.Item must be inside a RadioGroup");const a=n||r.disabled,c=t.jsxs(t.Fragment,{children:[t.jsx("input",{type:"radio",className:ce.input,name:r.name,value:e,checked:r.value===e,disabled:a,onChange:()=>r.onValueChange(e)}),t.jsx("span",{className:b(ce.orb,"spRadioOrb"),"aria-hidden":"true",children:t.jsx("span",{className:ce.burst})})]});return o==null?t.jsx("span",{className:ce.item,children:c}):t.jsxs("label",{className:b(ce.item,ce.selfLabeled),children:[c,o]})}const Rr=Object.assign($r,{Item:Lr}),Mr="_progress_1cre6_16",Nr={progress:Mr};function Ir({value:e,max:n=100,className:o,style:r,...a}){const c=n>0?Math.min(Math.max(e/n*100,0),100):0;return t.jsx("div",{...a,role:"progressbar","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":n,className:b(Nr.progress,o),style:r,children:t.jsx("div",{style:{width:`${c}%`,height:"100%"}})})}const Er="_message_1522x_14",Sr="_info_1522x_44",zr="_warning_1522x_49",Dr="_alert_1522x_56",qr="_icon_1522x_63",Hr="_body_1522x_74",Tr="_title_1522x_83",Ar="_text_1522x_90",_e={message:Er,info:Sr,warning:zr,alert:Dr,icon:qr,body:Hr,title:Tr,text:Ar},Br={info:t.jsx(Ke,{}),warning:t.jsx(Ue,{}),alert:t.jsx(Xe,{})},Fr={info:{role:"status",live:"polite"},warning:{role:"status",live:"polite"},alert:{role:"alert"}},Or=s.forwardRef(function({variant:n="info",title:o,icon:r,className:a,children:c,...l},d){const _=r===void 0?Br[n]:r,{role:g,live:u}=Fr[n];return t.jsxs("div",{...l,ref:d,role:g,"aria-live":u,className:b(_e.message,_e[n],a),children:[_!=null&&t.jsx("span",{className:_e.icon,"aria-hidden":"true",children:_}),t.jsxs("div",{className:_e.body,children:[o!=null&&t.jsx("p",{className:_e.title,children:o}),c!=null&&t.jsx("div",{className:_e.text,children:c})]})]})}),Wr="_dialog_zbndh_2",Zr="_inner_zbndh_71",Vr="_size4_zbndh_76",Pr="_title_zbndh_80",Gr="_closeX_zbndh_88",be={dialog:Wr,inner:Zr,size4:Vr,title:Pr,closeX:Gr};let Ne=0;const at=s.createContext(null),ye=()=>{const e=s.useContext(at);if(!e)throw new Error("Dialog parts must be inside a Dialog");return e};function ct(e){return function({open:o,onOpenChange:r,children:a}){const[c,l]=s.useState(!1),d=o!==void 0,_=d?o:c,g=p=>{d||l(p),r==null||r(p)},u=s.useId(),C=s.useId(),[w,k]=s.useState(!1);return t.jsx(at.Provider,{value:{open:_,setOpen:g,titleId:u,descId:C,alert:e,hasDesc:w,setHasDesc:k},children:a})}}const Kr=ct(!1),lt=(e,n)=>{if(!s.isValidElement(e))return e;const o=e;return s.cloneElement(o,{onClick:r=>{var a,c;(c=(a=o.props).onClick)==null||c.call(a,r),n()}})};function it({children:e}){const n=ye();return t.jsx(t.Fragment,{children:lt(e,()=>n.setOpen(!0))})}function Te({children:e}){const n=ye();return t.jsx(t.Fragment,{children:lt(e,()=>n.setOpen(!1))})}function ut({size:e="3",maxWidth:n,className:o,style:r,children:a,...c}){const l=ye(),d=s.useRef(null),_=s.useRef(!1),g=s.useRef(!1);return s.useEffect(()=>{const u=d.current;u&&(l.open&&!u.open?u.showModal():!l.open&&u.open&&u.close())},[l.open]),s.useEffect(()=>{if(l.open)return Ne+=1,Ne===1&&(document.body.style.overflow="hidden"),()=>{Ne-=1,Ne===0&&(document.body.style.overflow="")}},[l.open]),t.jsx("dialog",{...c,ref:d,role:l.alert?"alertdialog":void 0,"aria-labelledby":l.titleId,"aria-describedby":l.hasDesc?l.descId:void 0,className:b(be.dialog,"spDialog",e==="4"&&be.size4,o),style:{...n?{maxWidth:n}:null,...r},onKeyDownCapture:u=>{var C,w;u.key==="Escape"&&((C=d.current)!=null&&C.querySelector("dialog[open]")||(w=d.current)!=null&&w.querySelector('[role="listbox"]:not([hidden])')&&(_.current=!0))},onCancel:u=>{if(u.preventDefault(),_.current){_.current=!1;return}l.setOpen(!1)},onClose:()=>{l.open&&l.setOpen(!1)},onPointerDown:u=>{g.current=u.target===d.current},onClick:u=>{!l.alert&&u.target===d.current&&g.current&&l.setOpen(!1)},children:t.jsxs("div",{className:be.inner,children:[!l.alert&&t.jsx("button",{type:"button",className:be.closeX,"aria-label":"Close",onClick:()=>l.setOpen(!1),children:t.jsx(Ge,{width:16,height:16})}),a]})})}function dt({className:e,...n}){const o=ye();return t.jsx(Pe,{as:"h2",size:"5",...n,id:o.titleId,className:b(be.title,e)})}function ft(e){const n=ye(),{setHasDesc:o}=n;return s.useLayoutEffect(()=>(o(!0),()=>o(!1)),[o]),t.jsx(Ve,{as:"p",...e,id:n.descId})}const Ur=Object.assign(Kr,{Trigger:it,Close:Te,Content:ut,Title:dt,Description:ft}),Xr=Te,Yr=Te,Qr=Object.assign(ct(!0),{Trigger:it,Content:ut,Title:dt,Description:ft,Cancel:Xr,Action:Yr}),Jr="_menu_11ctg_1",e1="_label_11ctg_51",t1="_item_11ctg_61",n1="_danger_11ctg_80",s1="_separator_11ctg_84",je={menu:Jr,label:e1,item:t1,danger:n1,separator:s1},_t=s.createContext(null),o1=()=>{const e=s.useContext(_t);if(!e)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return e};function r1({label:e,align:n="start",children:o,...r}){const[a,c]=s.useState(!1),l=s.useId(),d=s.useRef(null),_=s.useRef(null),g=s.useRef(null),u=s.useRef(a);u.current=a;const C=s.useCallback(p=>{u.current!==p&&(u.current=p,c(p))},[]),[w,k]=s.useState(null);return s.useLayoutEffect(()=>{var x;const p=_.current;if(p)if(a){const L=d.current;if(L){const I=L.getBoundingClientRect(),M=n==="end"?"auto":I.left,A=n==="end"?window.innerWidth-I.right:"auto";k({top:I.bottom+6,left:M,right:A})}p.showPopover(),(x=p.querySelector('[role="menuitem"]'))==null||x.focus()}else p.matches(":popover-open")&&p.hidePopover()},[a,n]),s.useEffect(()=>{if(!a)return;const p=()=>C(!1);return window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)},[a]),t.jsxs(_t.Provider,{value:{open:a,setOpen:C,menuId:l},children:[t.jsx(we,{...r,ref:d,"aria-haspopup":"menu","aria-expanded":a,"aria-controls":l,onPointerDown:p=>{var x;(x=r.onPointerDown)==null||x.call(r,p),g.current=!u.current},onKeyDown:p=>{var x;(x=r.onKeyDown)==null||x.call(r,p),(p.key==="Enter"||p.key===" ")&&(g.current=null)},onClick:p=>{var L;(L=r.onClick)==null||L.call(r,p);const x=g.current??!u.current;g.current=null,C(x)},children:e}),t.jsx("div",{ref:_,id:l,role:"menu",popover:"auto",className:je.menu,style:w?{top:w.top,left:w.left==="auto"?"auto":w.left,right:w.right==="auto"?"auto":w.right}:void 0,onToggle:p=>{p.nativeEvent.newState==="closed"&&C(!1)},onKeyDown:p=>{var I,M,A,O,G,H;const x=Array.from(((I=_.current)==null?void 0:I.querySelectorAll('[role="menuitem"]'))??[]),L=x.indexOf(document.activeElement);p.key==="ArrowDown"?(p.preventDefault(),(M=x[Math.min(L+1,x.length-1)])==null||M.focus()):p.key==="ArrowUp"?(p.preventDefault(),(A=x[Math.max(L-1,0)])==null||A.focus()):p.key==="Home"?(p.preventDefault(),(O=x[0])==null||O.focus()):p.key==="End"?(p.preventDefault(),(G=x[x.length-1])==null||G.focus()):p.key==="Escape"&&(C(!1),(H=d.current)==null||H.focus())},children:o})]})}function a1({children:e}){return t.jsx("div",{className:je.label,children:e})}function c1({asChild:e,color:n,onSelect:o,children:r}){const a=o1(),c=b(je.item,n==="danger"&&je.danger),l=()=>{a.setOpen(!1),o==null||o()};if(e&&s.isValidElement(r)){const d=r,{className:_,onClick:g,children:u,role:C,tabIndex:w,...k}=d.props,p=d.ref;return s.createElement(d.type,{key:d.key,ref:p,role:"menuitem",tabIndex:-1,...k,className:b(c,_),onClick:x=>{g==null||g(x),a.setOpen(!1)}},u)}return t.jsx("button",{type:"button",role:"menuitem",tabIndex:-1,className:c,onClick:l,children:r})}function l1(){return t.jsx("div",{role:"separator",className:je.separator})}const i1=Object.assign(r1,{Item:c1,Separator:l1,Label:a1}),u1="_list_1hc3r_19",d1="_trigger_1hc3r_28",pt={list:u1,trigger:d1},gt=s.createContext(null),mt=()=>{const e=s.useContext(gt);if(!e)throw new Error("Tabs parts must be inside a Tabs");return e};function f1({value:e,onValueChange:n,className:o,children:r}){const a=s.useId();return t.jsx(gt.Provider,{value:{value:e,onValueChange:n,id:a},children:t.jsx("div",{className:o,children:r})})}function _1({children:e}){return t.jsx("div",{role:"tablist",className:b(pt.list,"spTabsList"),onKeyDown:n=>{const o=Array.from(n.currentTarget.querySelectorAll('[role="tab"]')),r=o.indexOf(document.activeElement);if(r!==-1){if(n.key==="ArrowRight"){n.preventDefault();const a=o[(r+1)%o.length];a.focus(),a.click()}else if(n.key==="ArrowLeft"){n.preventDefault();const a=o[(r-1+o.length)%o.length];a.focus(),a.click()}else if(n.key==="Home"){n.preventDefault();const a=o[0];a.focus(),a.click()}else if(n.key==="End"){n.preventDefault();const a=o[o.length-1];a.focus(),a.click()}}},children:e})}function p1({value:e,className:n,children:o,...r}){const a=mt(),c=a.value===e;return t.jsx("button",{...r,type:"button",role:"tab",id:`${a.id}-tab-${e}`,"aria-selected":c,"aria-controls":`${a.id}-panel-${e}`,tabIndex:c?0:-1,"data-state":c?"active":"inactive",className:b(pt.trigger,"spTabsTrigger",n),onClick:()=>a.onValueChange(e),children:o})}function g1({value:e,children:n}){const o=mt();return o.value!==e?null:t.jsx("div",{role:"tabpanel",id:`${o.id}-panel-${e}`,"aria-labelledby":`${o.id}-tab-${e}`,children:n})}const m1=Object.assign(f1,{List:_1,Trigger:p1,Content:g1}),h1="_panel_4us94_9",C1={panel:h1},Ze=8,ve=8,x1='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function v1({label:e,children:n,open:o,onOpenChange:r,defaultOpen:a=!1,side:c="bottom",align:l="start",panelClassName:d,onClick:_,...g}){const[u,C]=s.useState(a),w=o!==void 0,k=w?o:u,p=s.useId(),x=s.useId(),L=s.useRef(null),I=s.useRef(null),[M,A]=s.useState(null),O=s.useRef(!1),G=s.useRef(!1),H=s.useRef(null),S=s.useRef(k);S.current=k;const V=s.useCallback(v=>{S.current!==v&&(S.current=v,w||C(v),r==null||r(v))},[w,r]),P=s.useCallback(()=>{const v=L.current,$=I.current;if(!v||!$)return;const R=v.getBoundingClientRect(),T=$.offsetWidth,f=$.offsetHeight,j=R.bottom+Ze,N=R.top-f-Ze,m=j+f<=window.innerHeight-ve,y=N>=ve,E=c==="bottom"?m||!y?j:N:y||!m?N:j,z=E===j?"bottom":"top";$.dataset.side=z;const D=l==="start"?R.left:l==="end"?R.right-T:R.left+R.width/2-T/2,i=Math.min(Math.max(D,ve),Math.max(window.innerWidth-T-ve,ve));A(h=>h&&h.top===E&&h.left===i&&h.placed===z?h:{top:E,left:i,placed:z})},[c,l]);return s.useLayoutEffect(()=>{const v=I.current;v&&(k?(Ie(v,P),P(),O.current&&(O.current=!1,(v.querySelector(x1)??v).focus({preventScroll:!0}))):v.matches(":popover-open")&&v.hidePopover())},[k,P]),s.useEffect(()=>{if(!k)return;let v=0,$="";const R=()=>{const T=L.current,f=I.current;if(T&&f){const j=T.getBoundingClientRect(),N=`${j.top}|${j.left}|${j.width}|${j.height}|${f.offsetWidth}|${f.offsetHeight}|${window.innerWidth}|${window.innerHeight}`;N!==$&&($=N,P())}v=requestAnimationFrame(R)};return v=requestAnimationFrame(R),()=>cancelAnimationFrame(v)},[k,P]),t.jsxs(t.Fragment,{children:[t.jsx(we,{...g,ref:L,id:p,"aria-haspopup":"dialog","aria-expanded":k,"aria-controls":x,onPointerDown:v=>{var $;($=g.onPointerDown)==null||$.call(g,v),H.current=!S.current},onKeyDown:v=>{var $;($=g.onKeyDown)==null||$.call(g,v),(v.key==="Enter"||v.key===" ")&&(H.current=null)},onClick:v=>{_==null||_(v);const $=H.current??!S.current;H.current=null,$&&(O.current=!0),V($)},children:e}),t.jsx("div",{ref:I,id:x,popover:"auto",role:"dialog","aria-labelledby":p,tabIndex:-1,className:b(C1.panel,J.spacePanel,d),"data-animated":g.animated===!1?"false":void 0,"data-side":(M==null?void 0:M.placed)??c,style:M?{top:M.top,left:M.left}:void 0,onKeyDown:v=>{v.key==="Escape"&&(G.current=!0,v.stopPropagation())},onToggle:v=>{var $;v.nativeEvent.newState==="closed"&&(G.current&&(G.current=!1,($=L.current)==null||$.focus()),V(!1))},children:n})]})}exports.AlertDialog=Qr;exports.Autocomplete=er;exports.Badge=Pn;exports.BookmarkIcon=Is;exports.Box=pn;exports.Button=we;exports.Card=Jn;exports.Carousel=Os;exports.ChatBubbleIcon=ms;exports.CheckIcon=ws;exports.Checkbox=xr;exports.CheckboxGroup=Cr;exports.ChevronDownIcon=Ns;exports.ChevronLeftIcon=He;exports.ChevronRightIcon=qe;exports.ChevronUpIcon=Ms;exports.CrossCircledIcon=Xe;exports.Dialog=Ur;exports.DropdownMenu=i1;exports.EnterFullScreenIcon=bs;exports.ExclamationTriangleIcon=Ue;exports.ExitFullScreenIcon=vs;exports.Flex=_n;exports.Grid=Mn;exports.Heading=Pe;exports.HeartFilledIcon=xs;exports.HeartIcon=Rs;exports.IconToggle=jo;exports.InfoCircledIcon=Ke;exports.Link=Vt;exports.Loader=_o;exports.MagnifyingGlassIcon=Ls;exports.Message=Or;exports.MinusIcon=$s;exports.Pagination=so;exports.Pencil1Icon=Cs;exports.PersonIcon=ks;exports.PlusIcon=hs;exports.Popover=v1;exports.Progress=Ir;exports.QuestionMarkCircledIcon=ys;exports.RadioGroup=Rr;exports.Select=Do;exports.Separator=Un;exports.Share2Icon=gs;exports.Slider=ar;exports.Tabs=m1;exports.Text=Ve;exports.TextArea=Wo;exports.TextField=De;exports.Tooltip=Je;exports.TrashIcon=js;exports.XIcon=Ge;exports.pageCount=Ye;exports.pageWindow=Qe;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|