@recursica/adapter-mantine-v8 1.3.6 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/adapter-mantine-v8.cjs +2 -2
- package/dist/adapter-mantine-v8.cjs.map +1 -1
- package/dist/adapter-mantine-v8.css +1 -1
- package/dist/adapter-mantine-v8.js +1028 -1012
- package/dist/adapter-mantine-v8.js.map +1 -1
- package/dist/index.d.ts +10 -6
- package/package.json +2 -2
- package/src/components/Button/Button.stories.tsx +12 -0
- package/src/components/Modal/MODAL_IMPLEMENTATION_NOTES.md +4 -0
- package/src/components/Modal/Modal.tsx +23 -8
- package/src/components/Modal/USAGE.md +6 -0
- package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +9 -1
- package/src/components/Panel/Panel.module.css +105 -0
- package/src/components/Panel/Panel.stories.tsx +0 -8
- package/src/components/Panel/Panel.tsx +31 -8
- package/src/components/Panel/USAGE.md +9 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @recursica/adapter-mantine-v8
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1dafd86: Panel and Modal now require `title` and `onClose` and always render a Recursica icon-only Close button (`aria-label` "Close"); `withCloseButton` is removed from Modal and Panel's Close button now matches Modal's styling.
|
|
8
|
+
|
|
3
9
|
## 1.3.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),i=require("react"),p=require("@mantine/core"),Ho=require("@mantine/dates"),an=require("@mantine/hooks");var Bo=typeof document<"u"?document.currentScript:null;const Br="_root_1qhn7_3",Ur="_contents_1qhn7_18",so={root:Br,contents:Ur},Yo=i.forwardRef(function({layer:a,contentsOnly:e,children:t,className:n,style:r,...s},l){const d=e?n?`${so.root} ${so.contents} ${n}`:`${so.root} ${so.contents}`:n?`${so.root} ${n}`:so.root;return o.jsx("div",{ref:l,className:d,style:r,...e?{}:{"data-recursica-layer":String(a)},...s,children:t})});Yo.displayName="Layer";const Co=({emptyText:a="N/A"})=>o.jsx(i.Fragment,{children:a});Co.displayName="EmptyValueRenderer";Co.check=a=>a==null||a===""||Array.isArray(a)&&a.length===0;const Vr={BASE_URL:"/",DEV:!1,MODE:"library",PROD:!0,SSR:!1,VITE_PLUGIN_MODE:"production",VITE_PLUGIN_PHRASE:"recursica_plugin_@K9mX7pQw2VbN8fRt3LzY6HjE4CuA5DsG1WvM9nP0XcB7",VITE_PLUGIN_PHRASE_TEST:"recursica_plugin_@19866374",VITE_RECURSICA_API_TEST:"https://dev-api.recursica.com",VITE_RECURSICA_API_URL:"https://api.recursica.com",VITE_RECURSICA_UI_URL:"https://api.recursica.com"},Oe=(()=>{try{if(typeof process<"u"&&process.env&&process.env.NODE_ENV)return process.env.NODE_ENV!=="production"}catch{}try{if({url:typeof document>"u"?require("url").pathToFileURL(__filename).href:Bo&&Bo.tagName.toUpperCase()==="SCRIPT"&&Bo.src||new URL("adapter-mantine-v8.cjs",document.baseURI).href}&&Vr)return!0}catch{}if(typeof window<"u"){const a=window.location.hostname;return a==="localhost"||a==="127.0.0.1"||a.endsWith(".local")}return!1})(),Go=new Set;let Qe=!1;function sn(a){if(!Oe)return console.warn("[Recursica] overStyled highlight is disabled in production builds."),!1;if(Qe=a!==void 0?a:!Qe,typeof document<"u"){const e=document.documentElement,t=Qe?"0 0 0 2px cyan":"none";e.style.setProperty("--recursica-over-styled-shadow",t),console.log(`[Recursica] Highlight outlines toggled: ${Qe?"ACTIVE (0 0 0 2px cyan)":"INACTIVE"}`)}else console.warn("[Recursica] document is undefined. Cannot set CSS property.");return Go.forEach(e=>e()),Qe}function Hr(){return Oe&&Qe}function ln(){const[a,e]=i.useState(Qe);return i.useEffect(()=>{if(!Oe)return;Zo(),Xo();const t=()=>e(Qe);return Go.add(t),()=>{Go.delete(t)}},[]),Oe&&a}function Zo(){if(!Oe)return;if(typeof document>"u"){console.warn("[Recursica] document is undefined. Cannot inject overStyled styles.");return}const a="recursica-over-styled-styles";let e=document.getElementById(a);e||(e=document.createElement("style"),e.id=a,e.textContent=`
|
|
2
2
|
:root {
|
|
3
3
|
--recursica-over-styled-shadow: none;
|
|
4
4
|
}
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
.recursica-over-styled > * {
|
|
9
9
|
box-shadow: var(--recursica-over-styled-shadow) !important;
|
|
10
10
|
}
|
|
11
|
-
`,document.head.appendChild(e))}function Xo(){if(!Oe)return;if(typeof window>"u"){console.warn("[Recursica] window is undefined. Cannot register console command.");return}const a=e=>{try{e.recursica=e.recursica||{},e.recursica.toggleOverStyled=()=>`[Recursica] Overstyled outline highlight is now: ${sn()?"ON (cyan 2px box shadow)":"OFF"}`}catch{}};a(window),window.parent&&window.parent!==window&&a(window.parent)}function cn(a){const e=i.Children.toArray(a),o=e.length-1;return e.map((n,r)=>{if(r!==o||!i.isValidElement(n))return n;const s=n.props,l=s.href!==void 0||s.onClick!==void 0;return Oe&&l&&console.warn(`[Breadcrumb] The last item represents the current page and should be plain, non-interactive text (e.g. a <span>), not a link. Breadcrumb stripped its href/onClick and added aria-current="page", but this can't stop a custom Link component (e.g. a router Link) that navigates from its own internal handler rather than these props.`),i.cloneElement(n,{"aria-current":"page",...l?{href:void 0,onClick:void 0,tabIndex:-1}:{}})})}const Qo=i.createContext(void 0);function dn(){const a=i.useContext(Qo);if(!a)throw new Error("This component needs the Recursica manifest: pass the parsed recursica_manifest.json as the `manifest` prop of RecursicaThemeProvider.");return a}const Gt="data-recursica-theme";function Gr({children:a,theme:e="light",initLayer0:o=!0,manifest:n}){i.useEffect(()=>{const s=document.documentElement;return s.setAttribute(Gt,e),()=>{s.removeAttribute(Gt)}},[e]),i.useEffect(()=>{Zo(),Xo()},[]);const r=o?t.jsx(Yo,{layer:0,children:a}):t.jsx(t.Fragment,{children:a});return t.jsx(Qo.Provider,{value:n,children:r})}const qr=["Accordion","AssistiveElement","Autocomplete","Avatar","Badge","Box","Breadcrumb","Button","Card","Checkbox","CheckboxGroup","Chip","Container","DatePicker","Dropdown","EmptyValueRenderer","FileInput","FileUpload","Flex","FormControlLayout","FormControlWrapper","Group","Heading","HoverCard","Label","Layer","LayoutGrid","Link","Loader","Menu","Modal","NumberInput","Pagination","Panel","Popover","Radio","ReadOnlyField","SegmentedControl","Slider","Stack","Stepper","Switch","Table","Tabs","Text","TextArea","TextField","TimePicker","Timeline","Toast","Tooltip","TransferList","Tree","Typography"],Kr=(a,e)=>{const o=document.activeElement;return new Promise((n,r)=>{if(e&&e.current){const s=document.createElement("textarea");s.readOnly=!0,s.defaultValue=a,e.current.appendChild(s),s.select();const l=document.execCommand("copy");e.current.removeChild(s),o&&o.focus(),l?n():r(new Error("Failed to copy"))}else r(new Error("Copy area reference is not defined"))})};function Jo(a,e){const o=(e??"").split(",").map(s=>s.trim().toLowerCase()).filter(Boolean);if(o.length===0)return!0;const n=a.name.toLowerCase(),r=a.type.toLowerCase();return o.some(s=>s.startsWith(".")?n.endsWith(s):s.endsWith("/*")?r.startsWith(s.slice(0,-1)):r===s)}function D(a,e){if(!e)return a;const o={...a},n=new Set([...Object.keys(a),...Object.keys(e)]);for(const r of n){const s=a[r],l=e[r];o[r]=[s,l].filter(Boolean).join(" ")||void 0}return o}function un(a,e){if(!e)return a;const o={...a},n=new Set([...Object.keys(a),...Object.keys(e)]);for(const r of n){const s=a[r],l=e[r];o[r]=s||l?{...s,...l}:void 0}return o}function et(a){return a==null?void 0:a.map(e=>typeof e=="string"?e:{...e,label:e.label??e.value})}function B(a,e){const o={...a};for(const n of e)n in o&&delete o[n];return o}function $e(a,e){return e!==void 0?e:a}const Yr=Symbol.for("react.forward_ref"),Zr=Symbol.for("react.memo");function pn(a){return a?a.prototype&&a.prototype.isReactComponent||a.$$typeof===Yr?!0:a.$$typeof===Zr?pn(a.type):!1:!1}function mn(a){if(!Oe||typeof a!="function"&&!(a&&a.$$typeof))return a;const e=pn(a),o=a.displayName||a.name||"Component",n=i.forwardRef((s,l)=>{const{overStyled:d}=s,c=ln();Oe&&l&&!e&&console.warn(`[wrapComponent] "${o}" does not support refs (not a class component or forwardRef) — the ref passed to it was dropped instead of forcing React's "function components cannot be given refs" warning.`);const u=e?{...s,ref:l}:s,_=i.createElement(a,u);return d&&c?t.jsx("div",{className:"recursica-over-styled",children:_}):_});n.displayName=a.displayName||a.name||"Component";const r=Object.keys(a);for(const s of r){if(s==="render"||s==="$$typeof")continue;const l=a[s];(typeof l=="function"||l&&l.$$typeof)&&s[0]===s[0].toUpperCase()?n[s]=mn(l):n[s]=l}return n}const Xr=["className","classNames","style","styles","vars","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","bd","bdw","bds","bdc","bdr","shadow","w","miw","maw","h","mih","mah"],_n=new Set(["m","my","mx","mt","mb","ml","mr","gap","rowGap","columnGap","gutter","top","left","bottom","right"]),ko={"rec-none":"var(--recursica_brand_dimensions_general_none)","rec-sm":"var(--recursica_brand_dimensions_general_sm)","rec-default":"var(--recursica_brand_dimensions_general_default)","rec-md":"var(--recursica_brand_dimensions_general_md)","rec-lg":"var(--recursica_brand_dimensions_general_lg)","rec-xl":"var(--recursica_brand_dimensions_general_xl)","rec-2xl":"var(--recursica_brand_dimensions_general_2xl)"};function So(a){const e={...a};for(const[o,n]of Object.entries(e))typeof n=="string"&&n.startsWith("rec-")&&_n.has(o)&&n in ko&&(e[o]=ko[n]);return e}function f(a,e){if(e)return a;const o={...a};for(const n of Xr)n in o&&delete o[n];for(const[n,r]of Object.entries(o))typeof r=="string"&&r.startsWith("rec-")&&_n.has(n)&&r in ko&&(o[n]=ko[r]);return o}const Qr="Accordion-module__root___Dem6d",Jr="Accordion-module__item___7ryVk",ea="Accordion-module__noDivider___Ni2tT",oa="Accordion-module__control___b4wgX",ta="Accordion-module__label___Ss7uW",na="Accordion-module__icon___xfHxX",ra="Accordion-module__chevron___i-HVZ",aa="Accordion-module__iconLeftWrapper___5oLen",sa="Accordion-module__panel___Wx50w",la="Accordion-module__content___PEM9t",Re={root:Qr,item:Jr,noDivider:ea,control:oa,label:ta,icon:na,chevron:ra,iconLeftWrapper:aa,panel:sa,content:la},qt={default:"unstyled"},fn=function({variant:e="default",overStyled:o=!1,...n}){const r=typeof e=="string"&&qt[e]?qt[e]:e,s=f(n,o),l=s,d=D({root:Re.root,item:Re.item,control:Re.control,label:Re.label,chevron:Re.chevron,icon:Re.icon,panel:Re.panel,content:Re.content},l.classNames),c=l.className;return t.jsx(p.Accordion,{...s,variant:r,className:c,classNames:d})};fn.displayName="Accordion";const ot=i.forwardRef(function({title:e,leftIcon:o,divider:n=!0,children:r,disabled:s=!1,overStyled:l=!1,...d},c){const u=f(d,l),_=u.className,m=[n?void 0:Re.noDivider,_].filter(Boolean).join(" ")||void 0;return t.jsx(p.Accordion.Item,{ref:c,...u,className:m,"data-disabled":s||void 0,children:e?t.jsxs(t.Fragment,{children:[t.jsx(Mo,{leftIcon:o,disabled:s,children:e}),t.jsx(Ao,{children:r})]}):r})});ot.displayName="AccordionItem";const ia=["icon"],Mo=i.forwardRef(function({leftIcon:e,children:o,overStyled:n=!1,...r},s){const l=B(f(r,n),ia),d=l.className;return t.jsx(p.Accordion.Control,{ref:s,...l,className:d,icon:e?t.jsx("span",{className:Re.iconLeftWrapper,"aria-hidden":!0,children:e}):void 0,children:o})});Mo.displayName="AccordionControl";const Ao=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r.className;return t.jsx(p.Accordion.Panel,{ref:n,...r,className:s})});Ao.displayName="AccordionPanel";const Wo=fn;Wo.Item=ot;Wo.Control=Mo;Wo.Panel=Ao;const ca="AssistiveElement-module__root___WhQ43",da="AssistiveElement-module__textWrapper___sfy5E",ua="AssistiveElement-module__iconWrapper___gObRF",Uo={root:ca,textWrapper:da,iconWrapper:ua},pa=()=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t.jsx("circle",{cx:"12",cy:"12",r:"10"}),t.jsx("path",{d:"M12 16v-4"}),t.jsx("path",{d:"M12 8h.01"})]}),ma=()=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t.jsx("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),t.jsx("path",{d:"M12 9v4"}),t.jsx("path",{d:"M12 17h.01"})]}),Io=i.forwardRef(function({assistiveVariant:e="help",assistiveWithIcon:o=!0,children:n,className:r,role:s,overStyled:l=!1,...d},c){const _=f(d,l),m=Uo.root,x=r?`${m} ${r}`:m,h=e==="error"?ma:pa,N=s??(e==="error"?"alert":void 0);return t.jsxs("div",{ref:c,..._,className:x,"data-variant":e,role:N,style:_.style,children:[o&&t.jsx("span",{className:Uo.iconWrapper,children:t.jsx(h,{})}),t.jsx("span",{className:Uo.textWrapper,children:n})]})});Io.displayName="AssistiveElement";const _a="Label-module__root___e6HXZ",fa="Label-module__labelText___rieFR",ya="Label-module__required___Ggrzc",ha="Label-module__optionalText___Y2yun",va="Label-module__actionAreaWrapper___ELoZK",xa="Label-module__editIconWrapper___NG2xW",Ke={root:_a,labelText:fa,required:ya,optionalText:ha,actionAreaWrapper:va,editIconWrapper:xa},tt=i.forwardRef(function({labelSize:e="default",labelAlignment:o,required:n=!1,labelOptionalText:r,labelWithEditIcon:s,labelActionArea:l,onLabelEditClick:d,children:c,overStyled:u=!1,..._},m){const x=o||"left";let h;n||(r===!0?h="optional":r&&(h=r));const N=["size"],v=B(f(_,u),N),w=v,C=D({label:Ke.root,required:Ke.required},w.classNames),P=w.className,R=P?`${Ke.root} ${P}`:Ke.root;return t.jsxs(p.Input.Label,{ref:m,...v,className:R,classNames:C,"data-size":e,"data-alignment":x,required:n&&!s,children:[t.jsx("span",{className:Ke.labelText,children:c}),h&&t.jsx("span",{className:Ke.optionalText,children:typeof h=="string"?`(${h})`:h}),l?t.jsx("span",{className:Ke.actionAreaWrapper,children:l}):s?t.jsx("button",{type:"button",className:Ke.editIconWrapper,"data-replaces-asterisk":n?"true":void 0,onClick:d,"aria-label":"Edit",children:t.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M11.5303 2.46967C11.8232 2.17678 12.2981 2.17678 12.591 2.46967L13.5303 3.40898C13.8232 3.70188 13.8232 4.17675 13.5303 4.46964L5.61288 12.3871C5.45268 12.5473 5.24434 12.6483 5.01809 12.6766L2.39534 13.0044C2.10091 13.0412 1.83856 12.7789 1.87538 12.4845L2.2032 9.86175C2.23147 9.63551 2.3325 9.42716 2.4927 9.26696L11.5303 2.46967Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})}):null]})});tt.displayName="Label";const ba="FormControlLayout-module__root___yNDhZ",Na="FormControlLayout-module__leftSection___GBM1r",Ca="FormControlLayout-module__rightSection___bcL4v",jo={root:ba,leftSection:Na,rightSection:Ca},De=i.forwardRef(function({formLayout:e="stacked",labelSize:o="default",controlMaxWidth:n,controlMinWidth:r,leftSection:s,children:l,className:d,style:c,...u},_){const m=d?`${jo.root} ${d}`:jo.root,h=s!=null||e==="side-by-side";return t.jsxs("div",{ref:_,className:m,"data-form-layout":e,style:{...c,...n?{"--form-control-max-width":n}:{},...r?{"--form-control-min-width":r}:{}},...u,children:[h&&t.jsx("div",{className:jo.leftSection,"data-size":o,children:s}),t.jsx("div",{className:jo.rightSection,children:l})]})});De.displayName="FormControlLayout";const ga="FormControlWrapper-module__root___c-UHo",wa="FormControlWrapper-module__inputSection___HenXk",Kt={root:ga,inputSection:wa},co=i.forwardRef(function({formLayout:e,labelSize:o,labelAlignment:n,labelOptionalText:r,labelWithEditIcon:s,labelActionArea:l,onLabelEditClick:d,label:c,description:u,assistiveText:_,assistiveWithIcon:m=!0,controlMaxWidth:x,controlMinWidth:h,error:N,required:v,withAsterisk:w,id:C,children:P,className:R,overStyled:T=!1,labelElement:g,...y},S){const b=i.useId(),$=C||`recursica-fc-${b}`,L=`${$}-label`,z=_||u,A=z?`${$}-assistive`:void 0,I=N?`${$}-error`:void 0,H=f(y,T),G=R||H.className,Z=Kt.root,V=G?`${Z} ${G}`:Z,K=i.isValidElement(P)?i.cloneElement(P,{...P.props.id?{}:{id:$},"aria-labelledby":L,...z&&!P.props["aria-describedby"]?{"aria-describedby":A}:{},...N&&!P.props["aria-errormessage"]?{"aria-errormessage":I}:{}}):P,Q=c?t.jsx(tt,{id:L,htmlFor:$,labelAlignment:n,labelOptionalText:r,labelWithEditIcon:s,labelActionArea:l,onLabelEditClick:d,required:w??v,...g==="div"?{as:"div"}:{},children:c}):void 0;return t.jsx(De,{ref:S,className:V,formLayout:e,labelSize:o,controlMaxWidth:x,controlMinWidth:h,leftSection:Q,...H,children:t.jsxs("div",{className:Kt.inputSection,children:[K,N&&t.jsx(Io,{id:I,assistiveVariant:"error",assistiveWithIcon:m,children:N}),!N&&z&&t.jsx(Io,{id:A,assistiveVariant:"help",assistiveWithIcon:m,children:z})]})})});co.displayName="FormControlWrapper";const Pa="ReadOnlyField-module__layoutOverride___9fSsG",Ta="ReadOnlyField-module__textField___qKn25",uo={layoutOverride:Pa,textField:Ta},No=({value:a,overStyled:e=!1,...o})=>{const n=f(o,e),r=n.className;return t.jsx(p.Box,{component:"p",...n,className:r?`${uo.textField} ${r}`:uo.textField,children:a!=null?i.isValidElement(a)?a:Array.isArray(a)?a.join(", "):String(a):""})};No.displayName="ReadOnlyTextField";const nt=i.forwardRef(function({value:e,type:o="text",emptyValueComponent:n,overStyled:r=!1,className:s,style:l,...d},c){let u=null;const _=f(d,r),m=n||Co,h=(m.check?m.check(e):Co.check(e))?t.jsx(m,{value:e}):e;switch(o){case"boolean":u=t.jsx(No,{value:e===!0?"True":e===!1?"False":h,overStyled:r});break;case"switch":u=t.jsx(No,{value:e===!0?"On":e===!1?"Off":h,overStyled:r});break;case"text":default:u=t.jsx(No,{value:h,overStyled:r});break}const N=s?`${uo.layoutOverride} ${s}`:uo.layoutOverride;return t.jsx(co,{ref:c,..._,overStyled:r,className:N,style:l,children:u})});nt.displayName="ReadOnlyField";const ue=i.forwardRef(function({readOnly:e,readOnlyComponent:o,readOnlyType:n="text",readOnlyValue:r,readOnlyNativeProps:s,emptyValueComponent:l,activeComponent:d,overStyled:c,onLabelEditClick:u,..._},m){if(e){if(o){const x=o;return t.jsx(co,{ref:m,..._,onLabelEditClick:u,overStyled:c,children:t.jsx(x,{...s})})}return t.jsx(nt,{ref:m,..._,type:n,value:r,emptyValueComponent:l,onLabelEditClick:u,overStyled:c})}return t.jsx(co,{ref:m,..._,onLabelEditClick:u,overStyled:c,children:d})});ue.displayName="WithReadOnlyWrapper";function yn({option:a},e,o=!1){const{label:n,leadingIcon:r,supportingText:s}=a,l=n??a.value;if(!r&&!s)return l;const d=o?`${e.optionText} ${e.optionTextWrap}`:e.optionText;return t.jsxs("span",{className:e.optionContent,children:[r&&t.jsx("span",{className:e.optionIcon,children:r}),t.jsxs("span",{className:d,children:[t.jsx("span",{children:l}),s&&t.jsx("span",{className:e.optionSupportingText,children:s})]})]})}const Sa="AutoComplete-module__layoutOverride___-K9WL",Ra="AutoComplete-module__root___kANza",ja="AutoComplete-module__input___g51MC",$a="AutoComplete-module__section___WAbf1",Oa="AutoComplete-module__dropdown___NqO3E",ka="AutoComplete-module__option___Y-Kja",Ia="AutoComplete-module__optionContent___UAkUA",La="AutoComplete-module__optionIcon___tbbmW",Ma="AutoComplete-module__optionText___aQwHF",Aa="AutoComplete-module__optionTextWrap___RFICS",Wa="AutoComplete-module__optionSupportingText___OoA1N",he={layoutOverride:Sa,root:Ra,input:ja,section:$a,dropdown:Oa,option:ka,optionContent:Ia,optionIcon:La,optionText:Ma,optionTextWrap:Aa,optionSupportingText:Wa},za=["size","variant","radius"],hn=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,value:S,defaultValue:b,data:$,renderOption:L,wrapItemText:z=!1,...A}=e,I=B(f(A,n),za),q=I,H=et($),G=D({wrapper:he.root,input:he.input,section:he.section,dropdown:he.dropdown,option:he.option},q.classNames),Z={optionContent:he.optionContent,optionIcon:he.optionIcon,optionText:he.optionText,optionTextWrap:he.optionTextWrap,optionSupportingText:he.optionSupportingText},V=C?`${he.layoutOverride} ${C}`:he.layoutOverride;return t.jsx(ue,{className:V,style:P,controlMaxWidth:"var(--autocomplete-control-max-width)",controlMinWidth:"var(--autocomplete-control-min-width)",overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:S!==void 0?S:b,readOnlyNativeProps:e,activeComponent:t.jsx(p.Autocomplete,{ref:o,...I,classNames:G,disabled:R,value:S,defaultValue:b,error:!!h,data:H,renderOption:L??(K=>yn(K,Z,z))})})});hn.displayName="AutoComplete";const Da="Avatar-module__root___fXu-J",Ea="Avatar-module__iconWrapper___ojly2",Fa="Avatar-module__textWrapper___zp-jD",Ba="Avatar-module__image___ieqGp",Ua="Avatar-module__placeholder___IDW7-",po={root:Da,iconWrapper:Ea,textWrapper:Fa,image:Ba,placeholder:Ua},vn=i.forwardRef(function({size:e="default",variant:o="solid",icon:n,children:r,src:s,overStyled:l=!1,...d},c){const u={solid:"filled",outline:"outline",ghost:"transparent"},_={default:"md",small:"sm",large:"lg"},m=["color","radius"],x=B(f(d,l),m),h=x;let N="text";s?N="image":n&&(N="icon");const v=D({root:po.root,image:po.image,placeholder:po.placeholder},h.classNames),w=h.className;return t.jsx(p.Avatar,{ref:c,...x,className:w,classNames:v,variant:u[o],size:_[e],src:s,"data-variant":o,"data-size":e,"data-style":N,children:n!=null?t.jsx("span",{className:po.iconWrapper,"aria-hidden":!0,children:n}):r!=null?t.jsx("span",{className:po.textWrapper,children:r}):void 0})});vn.displayName="Avatar";const Va=p.createPolymorphicComponent(vn),Ha="Badge-module__root___5osNT",mo={root:Ha},xn=i.forwardRef(function({variant:e="primary-color",overStyled:o=!1,...n},r){const s=f(n,o),l=D({root:mo.root,section:mo.section,label:mo.label},s.classNames),d=s.className,c=d?`${mo.root} ${d}`:mo.root;return t.jsx(p.Badge,{ref:r,...s,variant:"filled","data-variant":e,className:c,classNames:l})});xn.displayName="Badge";const bn=p.createPolymorphicComponent(xn),Ga="Breadcrumb-module__root___x-9ln",qa="Breadcrumb-module__separator___qrUX-",$o={root:Ga,separator:qa},Nn=i.forwardRef(function({overStyled:e=!1,separator:o=">",children:n,...r},s){const l=f({separator:o,children:cn(n),...r},e),d=D({root:$o.root,separator:$o.separator},l.classNames),c=l.attributes,u={...c,separator:{"aria-hidden":!0,...c==null?void 0:c.separator}},_=l.className,m=_?`${$o.root} ${_}`:$o.root;return t.jsx(p.Breadcrumbs,{ref:s,...l,className:m,classNames:d,attributes:u})});Nn.displayName="Breadcrumb";const Ka="Loader-module__root___6iYOP",Vo={root:Ka},rt=i.forwardRef(function({variant:e="oval",size:o="default",animate:n=!0,overStyled:r=!1,...s},l){const c={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[o]||"default",u=f(s,r),_=u,m=D({root:Vo.root},_.classNames),x=_.className,h=x?`${Vo.root} ${x}`:Vo.root;return t.jsx(p.Loader,{ref:l,...u,type:e,"data-variant":e,"data-size":c,"data-animate":n,className:h,classNames:m})});rt.displayName="Loader";const Ya="Button-module__root___Q2R8-",Za="Button-module__loader___X-9u-",Xa="Button-module__label___UJ3Zt",Qa="Button-module__labelText___rFV5p",Ja="Button-module__iconWrapper___uEKPa",es="Button-module__section___f2mKr",Ye={root:Ya,loader:Za,label:Xa,labelText:Qa,iconWrapper:Ja,section:es};function os(a){return a==null||a===""?!1:typeof a=="string"?a.trim()!=="":!0}const Cn=i.forwardRef(function({variant:e="solid",size:o="default",icon:n,children:r,overStyled:s=!1,loaderVariant:l="oval",loaderSize:d,useRecursicaLoader:c=!0,...u},_){const m={solid:"filled",outline:"outline",text:"subtle"},x={default:"md",small:"sm"},h=["fullWidth"],N=B(f(u,s),h),v=N,w=!!n||!!v.leftSection,C=!!v.rightSection,P=os(r),R=(w||C)&&!P;let T="label";R?T="icon-only":(w||C)&&(T="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&R&&!v["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const g=D({root:Ye.root,section:Ye.section,label:Ye.label,loader:Ye.loader},v.classNames),y=v.className,S=y?`${Ye.root} ${y}`:Ye.root,b=v.loaderProps,$=$e(o==="small"?"small":"default",d);let L=b;return c&&(L={children:t.jsx(rt,{variant:l,size:$,overStyled:!0,color:"var(--button-color)"}),...b}),t.jsx(p.Button,{ref:_,...N,className:S,classNames:g,variant:m[e],size:x[o],loaderProps:L,leftSection:n!=null?t.jsx("span",{className:Ye.iconWrapper,"aria-hidden":!0,children:n}):void 0,"data-variant":e,"data-size":o,"data-content":T,disabled:!!v.disabled||!!v.loading,children:t.jsx("span",{className:Ye.labelText,children:r})})});Cn.displayName="Button";const je=p.createPolymorphicComponent(Cn),ts="Card-module__root___c9KvZ",ns="Card-module__header___PTXf2",rs="Card-module__footer___Mu-JC",as="Card-module__section___BRT8H",ss="Card-module__content___oFIQa",Ee={root:ts,header:ns,footer:rs,section:as,content:ss},ls=["radius","withBorder","padding"],gn=i.forwardRef(function({overStyled:e=!1,...o},n){const r=B(f(o,e),ls);["flex","flexGrow","flexShrink","flexBasis","grow","h","height"].forEach(c=>{c in o&&!(c in r)&&(r[c]=o[c])});const l=D({root:Ee.root},r.classNames),d=r.className;return t.jsx(p.Card,{ref:n,...r,className:d,classNames:l})});gn.displayName="Card";const at=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r.className;return t.jsx(p.Card.Section,{ref:n,...r,className:s?`${Ee.section} ${s}`:Ee.section})});at.displayName="CardSection";const wn=["withBorder","inheritPadding"],st=i.forwardRef(function({overStyled:e=!1,...o},n){const r=B(f(o,e),wn),s=r.className;return t.jsx(p.Card.Section,{ref:n,...r,className:s?`${Ee.header} ${s}`:Ee.header})});st.displayName="CardHeader";const lt=i.forwardRef(function({overStyled:e=!1,...o},n){const r=B(f(o,e),wn),s=r.className;return t.jsx(p.Card.Section,{ref:n,...r,className:s?`${Ee.footer} ${s}`:Ee.footer})});lt.displayName="CardFooter";const it=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r.className;return t.jsx("div",{ref:n,...r,className:s?`${Ee.content} ${s}`:Ee.content})});it.displayName="CardContent";const Pn=p.createPolymorphicComponent(gn),zo=Pn;zo.Section=at;zo.Header=st;zo.Footer=lt;zo.Content=it;const is=Pn,cs="Checkbox-module__groupRoot___cBS0o",ds="Checkbox-module__root___mY3qk",us="Checkbox-module__body___5yC7q",ps="Checkbox-module__inner___rTke4",ms="Checkbox-module__input___2kt-h",_s="Checkbox-module__icon___-O7i6",fs="Checkbox-module__labelWrapper___GpZkr",ys="Checkbox-module__label___cwRtI",Te={groupRoot:cs,root:ds,body:us,inner:ps,input:ms,icon:_s,labelWrapper:fs,label:ys},go=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,children:T,readOnly:g,readOnlyComponent:y,emptyValueComponent:S,value:b,defaultValue:$,...L}=e,z=["size"],A=B(f(L,n),z),I=A,q=b!==void 0||$!==void 0;return t.jsx(ue,{className:P,style:R,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:n,labelElement:"div",formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,readOnly:g&&!!y,readOnlyComponent:y,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:b!==void 0?b:$,readOnlyNativeProps:e,activeComponent:q?t.jsx(p.Checkbox.Group,{ref:o,...A,disabled:g||I.disabled,value:b,defaultValue:$,children:t.jsx("div",{className:Te.groupRoot,"data-layout":r,children:T})}):t.jsx("div",{ref:o,...A,role:"group",className:Te.groupRoot,"data-layout":r,children:T})})});go.displayName="CheckboxGroup";const wo=i.forwardRef(function(e,o){const{overStyled:n=!1,readOnly:r,readOnlyComponent:s,disabled:l,formLayout:d,labelSize:c,controlMaxWidth:u,controlMinWidth:_,...m}=e,x=["size","color","radius","variant","iconColor"],h=B(f(m,n),x),N=h,v=D({root:Te.root,body:Te.body,inner:Te.inner,input:Te.input,icon:Te.icon,labelWrapper:Te.labelWrapper,label:Te.label},N.classNames),w=N.className,C=w?`${Te.root} ${w}`:Te.root;if(r&&s){const R=!!(N.checked??N.defaultChecked),T=s,g=t.jsx(T,{...e,checked:R,label:N.label});return d?t.jsx(De,{formLayout:d,labelSize:c,controlMaxWidth:u,controlMinWidth:_,children:g}):t.jsx(t.Fragment,{children:g})}const P=t.jsx(p.Checkbox,{ref:o,...h,className:C,classNames:v,disabled:r||l});return d?t.jsx(De,{formLayout:d,labelSize:c,controlMaxWidth:u,controlMinWidth:_,children:P}):P});wo.displayName="Checkbox";wo.Group=go;const hs="Chip-module__root___f5pFk",vs="Chip-module__label___Ov9pg",xs="Chip-module__mantineIconWrapper___KLSz6",bs="Chip-module__innerWrapper___EnrTF",Ns="Chip-module__children___zbRAR",Cs="Chip-module__leadingIcon___JBtjQ",gs="Chip-module__deleteIcon___zPPsH",Pe={root:hs,label:vs,mantineIconWrapper:xs,innerWrapper:bs,children:Ns,leadingIcon:Cs,deleteIcon:gs};function ws(a){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...a,children:[t.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const Po=i.forwardRef(function({error:e=!1,icon:o,onDelete:n,deleteLabel:r="Delete",deleteTabIndex:s,deleteIconRef:l,children:d,checked:c,overStyled:u=!1,wrapperProps:_,tabIndex:m,"aria-hidden":x,...h},N){const v=f(h,u),w=v,C=D({root:Pe.root,label:Pe.label,input:Pe.input,iconWrapper:Pe.mantineIconWrapper,checkIcon:Pe.checkIcon},w.classNames),P=w.className,R=P?`${Pe.root} ${P}`:Pe.root,T=e?"":void 0,g=!d&&(!!o||!!n),y=n!==void 0||w.onClick!==void 0||w.onChange!==void 0,S={...T!==void 0?{"data-error":""}:{},...y?{"data-interactive":""}:{}};return t.jsx(p.Chip,{ref:N,...v,checked:c,className:R,classNames:C,wrapperProps:$e(S,_),"data-icon-only":g?"":void 0,tabIndex:$e(y?void 0:-1,m),"aria-hidden":$e(y?void 0:!0,x),children:t.jsxs("span",{className:Pe.innerWrapper,children:[o&&!c&&t.jsx("span",{className:Pe.leadingIcon,"aria-hidden":!0,children:o}),t.jsx("span",{className:Pe.children,children:d}),n&&t.jsx("span",{ref:l,role:"button",className:Pe.deleteIcon,onClick:b=>{b.preventDefault(),b.stopPropagation(),n(b)},"aria-label":r,onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),b.stopPropagation(),n(b))},tabIndex:s??0,children:t.jsx(ws,{})})]})})});Po.displayName="Chip";const Ps="Container-module__root___UVssr",_o={root:Ps},Tn=i.forwardRef(function({children:e,size:o,...n},r){const s={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},l=typeof o=="string"&&s[o]?s[o]:o,d={root:_o.root},c=n.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const m=c;d.root=m.root?`${_o.root} ${m.root}`:_o.root}const u=n.className,_=u?`${_o.root} ${u}`:_o.root;return t.jsx(p.Container,{ref:r,size:l,className:_,classNames:d,...n,children:e})});Tn.displayName="Container";function Ts(a){return t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...a,children:[t.jsx("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),t.jsx("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),t.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),t.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})}const Ss="DatePicker-module__layoutOverride___X9yaM",Rs="DatePicker-module__root___6XvRT",js="DatePicker-module__input___pcSW8",$s="DatePicker-module__section___n3iWA",Os="DatePicker-module__dropdown___wjt08",ks="DatePicker-module__calendarHeader___KHxno",Is="DatePicker-module__calendarHeaderControl___q7UvJ",Ls="DatePicker-module__calendarHeaderLevel___ebdJ2",Ms="DatePicker-module__calendarHeaderControlIcon___2tZOb",As="DatePicker-module__weekday___H5lIj",Ws="DatePicker-module__day___U03J2",ve={layoutOverride:Ss,root:Rs,input:js,section:$s,dropdown:Os,calendarHeader:ks,calendarHeaderControl:Is,calendarHeaderLevel:Ls,calendarHeaderControlIcon:Ms,weekday:As,day:Ws},zs=["size","variant","radius","description"],Sn=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,value:S,defaultValue:b,highlightToday:$=!0,valueFormat:L="MM/DD/YY",placeholder:z="MM / DD / YY",leftSection:A,...I}=e,q=B(f(I,n),zs),H=q,G=D({wrapper:ve.root,input:ve.input,section:ve.section,day:ve.day,weekday:ve.weekday,calendarHeader:ve.calendarHeader,calendarHeaderControl:ve.calendarHeaderControl,calendarHeaderLevel:ve.calendarHeaderLevel,calendarHeaderControlIcon:ve.calendarHeaderControlIcon},H.classNames),Z=H.popoverProps,V=Z&&typeof Z=="object"&&!Array.isArray(Z)?Z:void 0,K=V!=null&&V.classNames&&typeof V.classNames=="object"&&!Array.isArray(V.classNames)?V.classNames:void 0;delete H.popoverProps;const Q={...V,classNames:D({dropdown:ve.dropdown},K)},ce=C?`${ve.layoutOverride} ${C}`:ve.layoutOverride;return t.jsx(ue,{className:ce,style:P,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:(()=>{const M=S!==void 0?S:b;return M?Ho.getFormattedDate({type:"default",date:M,locale:"en",format:L,labelSeparator:""}):void 0})(),readOnlyNativeProps:e,activeComponent:t.jsx(Ho.DatePickerInput,{ref:o,...q,classNames:G,disabled:R,value:S,defaultValue:b,label:void 0,description:void 0,error:void 0,withAsterisk:!1,highlightToday:$,valueFormat:L,placeholder:z,leftSection:$e(t.jsx(Ts,{}),A),wrapperProps:{"data-disabled":R?"true":void 0,"data-error":h?"true":void 0},popoverProps:Q})})});Sn.displayName="DatePicker";const Ds="Dropdown-module__layoutOverride___FNcvP",Es="Dropdown-module__root___uVyL0",Fs="Dropdown-module__input___dK4dN",Bs="Dropdown-module__section___j3MRB",Us="Dropdown-module__clearButton___ODnIa",Vs="Dropdown-module__dropdown___gG-Sw",Hs="Dropdown-module__option___nAGU-",Gs="Dropdown-module__optionContent___QTwwg",qs="Dropdown-module__optionIcon___2L56h",Ks="Dropdown-module__optionText___cCDpI",Ys="Dropdown-module__optionTextWrap___L4OPI",Zs="Dropdown-module__optionSupportingText___2JIOV",ee={layoutOverride:Ds,root:Es,input:Fs,section:Bs,clearButton:Us,dropdown:Vs,option:Hs,optionContent:Gs,optionIcon:qs,optionText:Ks,optionTextWrap:Ys,optionSupportingText:Zs},Xs=["size","variant","radius","searchable"],Rn=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",containerWidth:s,labelSize:l,labelAlignment:d,labelOptionalText:c,labelWithEditIcon:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,disabled:T,readOnly:g,readOnlyComponent:y,emptyValueComponent:S,value:b,defaultValue:$,data:L,clearButtonProps:z,renderOption:A,wrapItemText:I=!1,...q}=e,H=B(f(q,n),Xs),G=H,Z=et(L),V=z,K={...V,className:V!=null&&V.className?`${ee.clearButton} ${V.className}`:ee.clearButton},Q=D({wrapper:ee.root,input:ee.input,section:ee.section,dropdown:ee.dropdown,option:ee.option},G.classNames),ce={optionContent:ee.optionContent,optionIcon:ee.optionIcon,optionText:ee.optionText,optionTextWrap:ee.optionTextWrap,optionSupportingText:ee.optionSupportingText},M={...R||{},width:s||"100%"},ne=P?`${ee.layoutOverride} ${P}`:ee.layoutOverride;return t.jsx(ue,{className:ne,style:M,controlMaxWidth:"var(--dropdown-control-max-width)",controlMinWidth:"var(--dropdown-control-min-width)",overStyled:n,formLayout:r,labelSize:l,labelAlignment:d,labelOptionalText:c,labelWithEditIcon:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,readOnly:g,readOnlyComponent:y,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:b!==void 0?String(b):$?String($):void 0,readOnlyNativeProps:e,activeComponent:t.jsx(p.Select,{ref:o,...H,classNames:Q,disabled:T,value:b,defaultValue:$,data:Z||[],renderOption:A??(de=>yn(de,ce,I)),clearButtonProps:K,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,attributes:{wrapper:{"data-disabled":T?"true":void 0,"data-error":N?"true":void 0}}})})});Rn.displayName="Dropdown";const Qs="FileInput-module__layoutOverride___HIOY6",Js="FileInput-module__root___UvQj-",el="FileInput-module__leadingIcon___z75c4",ol="FileInput-module__content___Udsvh",tl="FileInput-module__value___RX33R",nl="FileInput-module__chipRow___My6TF",rl="FileInput-module__chipWrapper___q2CDy",al="FileInput-module__trailingIcon___odGPm",Ae={layoutOverride:Qs,root:Js,leadingIcon:el,content:ol,value:tl,chipRow:nl,chipWrapper:rl,trailingIcon:al};function sl(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[t.jsx("path",{d:"M12 3v12"}),t.jsx("path",{d:"M7 8l5-5 5 5"}),t.jsx("path",{d:"M4 21h16"})]})}function ll(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[t.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const jn=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,disabled:T,readOnly:g,files:y,onFilesAdded:S,onFileRemove:b,accept:$,multiple:L=!1,maxSize:z,maxFiles:A,onFilesRejected:I,invalidFileTypeMessage:q="File type not accepted",maxFilesMessage:H=L?`Maximum of ${A} files allowed`:"Only one file is allowed",icon:G,clearIcon:Z,placeholder:V="Select a file...",browseLabel:K="Choose file",removeFileLabel:Q="Remove",clearLabel:ce="Clear",...M}=e,de=f(M,n),O=!T&&!g,ae=!!y&&y.length>0,fe=i.useRef(null),[re,se]=i.useState(!1),[ye,Ne]=i.useState(!1),Ue=j=>{if(!O)return;const oe=Array.from(j);if(oe.length===0)return;const te=L?A:1,X=L?(y==null?void 0:y.length)??0:0,me=[],Ro=[];let Bt=!1,Ut=!1;for(const Fo of oe){const Vt=!Jo(Fo,$);Vt&&(Bt=!0);const Fr=z!==void 0&&Fo.size>z,Ht=te!==void 0&&X+me.length>=te;Ht&&(Ut=!0),(Vt||Fr||Ht?Ro:me).push(Fo)}se(Bt),Ne(Ut),me.length>0&&(S==null||S(me)),Ro.length>0&&(I==null||I(Ro))},Ce=i.useRef(0),[Ve,Le]=i.useState(!1),Me=j=>{j.preventDefault(),Ce.current+=1,Le(!0)},eo=j=>{j.preventDefault(),Ce.current-=1,Ce.current<=0&&(Ce.current=0,Le(!1))},ge=j=>{j.preventDefault()},He=j=>{j.preventDefault(),Ce.current=0,Le(!1),Ue(j.dataTransfer.files)},we=()=>{var j;O&&((j=fe.current)==null||j.click())},Ge=j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),we())},U=j=>{j.target.files&&Ue(j.target.files),j.target.value=""},E=()=>{!O||!y||y.length===0||y.forEach(j=>b==null?void 0:b(j.id??j.file.name))},[W,k]=i.useState(0),F=i.useRef([]),Y=i.useRef((y==null?void 0:y.length)??0);i.useEffect(()=>{var oe;const j=(y==null?void 0:y.length)??0;if(j>0&&j<Y.current){const te=Math.min(W,j-1);k(te),(oe=F.current[te])==null||oe.focus()}Y.current=j},[y]);const pe=j=>{var X;const oe=(y==null?void 0:y.length)??0;if(oe===0)return;let te;j.key==="ArrowRight"||j.key==="ArrowDown"?te=(W+1)%oe:(j.key==="ArrowLeft"||j.key==="ArrowUp")&&(te=(W-1+oe)%oe),te!==void 0&&(j.preventDefault(),j.stopPropagation(),k(te),(X=F.current[te])==null||X.focus())},qe=N??(re?q:ye?H:void 0),oo=P?`${Ae.layoutOverride} ${P}`:Ae.layoutOverride;return t.jsx(co,{overStyled:n,className:oo,style:R,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:h,error:qe,required:v,withAsterisk:w,id:C,controlMaxWidth:"var(--file-input-control-max-width)",controlMinWidth:"var(--file-input-control-min-width)",children:t.jsxs("div",{ref:o,...de,className:Ae.root,role:"button","aria-label":K,"aria-disabled":T?"true":void 0,tabIndex:O?0:-1,"data-disabled":T?"true":void 0,"data-readonly":g?"true":void 0,"data-error":qe?"true":void 0,"data-dragging":Ve?"true":void 0,onClick:O?we:void 0,onKeyDown:O?Ge:void 0,onDragEnter:O?Me:void 0,onDragLeave:O?eo:void 0,onDragOver:O?ge:void 0,onDrop:O?He:void 0,children:[t.jsx("span",{className:Ae.leadingIcon,"aria-hidden":!0,children:G??t.jsx(sl,{})}),t.jsxs("div",{className:Ae.content,children:[!ae&&t.jsx("span",{className:Ae.value,"data-placeholder":"true",children:V}),ae&&t.jsx("div",{className:Ae.chipRow,onKeyDown:g?void 0:pe,children:y.map((j,oe)=>{const te=j.id??j.file.name;return t.jsx("span",{className:Ae.chipWrapper,onClick:X=>X.stopPropagation(),children:t.jsx(Po,{checked:!1,tabIndex:-1,deleteLabel:g?void 0:Q,deleteTabIndex:!g&&oe===W?0:-1,deleteIconRef:X=>{F.current[oe]=X},onDelete:g||T?void 0:()=>b==null?void 0:b(te),children:j.file.name})},te)})})]}),ae&&!g&&t.jsx(je,{overStyled:!0,variant:"text",size:"small",icon:Z??t.jsx(ll,{}),"aria-label":ce,className:Ae.trailingIcon,disabled:T,onClick:j=>{j.preventDefault(),j.stopPropagation(),E()},onKeyDown:j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),j.stopPropagation(),E())}}),t.jsx("input",{ref:fe,type:"file",hidden:!0,accept:$,multiple:L,disabled:!O,onChange:U})]})})});jn.displayName="FileInput";const il="FileUpload-module__layoutOverride___bPpi8",cl="FileUpload-module__root___Q-vcm",dl="FileUpload-module__dropzone___jqua0",ul="FileUpload-module__uploadIcon___bb3Nc",pl="FileUpload-module__dropzoneText___L7vS-",ml="FileUpload-module__fileList___XIWLl",Ze={layoutOverride:il,root:cl,dropzone:dl,uploadIcon:ul,dropzoneText:pl,fileList:ml};function _l(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[t.jsx("path",{d:"M12 3v12"}),t.jsx("path",{d:"M7 8l5-5 5 5"}),t.jsx("path",{d:"M4 21h16"})]})}const $n=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,disabled:T,readOnly:g,files:y,onFilesAdded:S,onFileRemove:b,accept:$,multiple:L=!0,maxSize:z,maxFiles:A,onFilesRejected:I,invalidFileTypeMessage:q="File type not accepted",maxFilesMessage:H=`Maximum of ${A} files allowed`,icon:G,dropzoneLabel:Z="Drag and drop files here to upload",browseButtonLabel:V="Browse files",removeFileLabel:K="Remove",...Q}=e,M=f(Q,n),ne=i.useRef(null),[de,O]=i.useState(!1),[ae,fe]=i.useState(!1),re=k=>{if(T)return;const F=Array.from(k);if(F.length===0)return;const Y=(y==null?void 0:y.length)??0,pe=[],qe=[];let oo=!1,j=!1;for(const oe of F){const te=!Jo(oe,$);te&&(oo=!0);const X=z!==void 0&&oe.size>z,me=A!==void 0&&Y+pe.length>=A;me&&(j=!0),(te||X||me?qe:pe).push(oe)}O(oo),fe(j),pe.length>0&&(S==null||S(pe)),qe.length>0&&(I==null||I(qe))},se=i.useRef(0),[ye,Ne]=i.useState(!1),Ue=k=>{k.preventDefault(),se.current+=1,Ne(!0)},Ce=k=>{k.preventDefault(),se.current-=1,se.current<=0&&(se.current=0,Ne(!1))},Ve=k=>{k.preventDefault()},Le=k=>{k.preventDefault(),se.current=0,Ne(!1),re(k.dataTransfer.files)},Me=()=>{var k;T||(k=ne.current)==null||k.click()},eo=k=>{k.target.files&&re(k.target.files),k.target.value=""},[ge,He]=i.useState(0),we=i.useRef([]),Ge=i.useRef((y==null?void 0:y.length)??0);i.useEffect(()=>{var F;const k=(y==null?void 0:y.length)??0;if(k>0&&k<Ge.current){const Y=Math.min(ge,k-1);He(Y),(F=we.current[Y])==null||F.focus()}Ge.current=k},[y]);const U=k=>{var pe;const F=(y==null?void 0:y.length)??0;if(F===0)return;let Y;k.key==="ArrowRight"||k.key==="ArrowDown"?Y=(ge+1)%F:(k.key==="ArrowLeft"||k.key==="ArrowUp")&&(Y=(ge-1+F)%F),Y!==void 0&&(k.preventDefault(),He(Y),(pe=we.current[Y])==null||pe.focus())},E=N??(de?q:ae?H:void 0),W=P?`${Ze.layoutOverride} ${P}`:Ze.layoutOverride;return t.jsx(co,{overStyled:n,className:W,style:R,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:h,error:E,required:v,withAsterisk:w,id:C,controlMaxWidth:"var(--recursica_ui-kit_globals_form_field_size_max-width)",children:t.jsxs("div",{ref:o,...M,className:Ze.root,"data-disabled":T?"true":void 0,"data-error":E?"true":void 0,children:[!g&&t.jsxs("div",{className:Ze.dropzone,"data-dragging":ye?"true":void 0,onDragEnter:T?void 0:Ue,onDragLeave:T?void 0:Ce,onDragOver:T?void 0:Ve,onDrop:T?void 0:Le,children:[t.jsx("span",{className:Ze.uploadIcon,children:G??t.jsx(_l,{})}),t.jsx("span",{className:Ze.dropzoneText,children:Z}),t.jsx(je,{variant:"outline",disabled:T,onClick:Me,children:V}),t.jsx("input",{ref:ne,type:"file",hidden:!0,accept:$,multiple:L,disabled:T,onChange:eo})]}),y&&y.length>0&&(g?t.jsx("div",{className:Ze.fileList,children:y.map(k=>{const F=k.id??k.file.name;return t.jsx(Po,{checked:!1,tabIndex:-1,children:k.file.name},F)})}):t.jsx("div",{className:Ze.fileList,onKeyDown:U,children:y.map((k,F)=>{const Y=k.id??k.file.name;return t.jsx(Po,{checked:!1,tabIndex:-1,deleteLabel:K,deleteTabIndex:F===ge?0:-1,deleteIconRef:pe=>{we.current[F]=pe},onDelete:T?void 0:()=>b==null?void 0:b(Y),children:k.file.name},Y)})}))]})})});$n.displayName="FileUpload";const fl="Flex-module__root___yYser",fo={root:fl},On=i.forwardRef(function({children:e,gap:o="rec-default",rowGap:n,columnGap:r,...s},l){const d={root:fo.root},c=s.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const m=c;d.root=m.root?`${fo.root} ${m.root}`:fo.root}const u=s.className,_=u?`${fo.root} ${u}`:fo.root;return t.jsx(p.Flex,{ref:l,className:_,classNames:d,...So({gap:o,rowGap:n,columnGap:r,...s}),children:e})});On.displayName="Flex";const yl=p.createPolymorphicComponent(On),hl="LayoutGrid-module__root___etcau",vl="LayoutGrid-module__inner___Oz2XL",xl="LayoutGrid-module__col___8EYKw",le={root:hl,inner:vl,col:xl},bl=1,kn=i.createContext({}),In=i.forwardRef(function({children:e,...o},n){const r={root:le.root,inner:le.inner,col:le.col},s=o.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const m=s;r.root=m.root?`${le.root} ${m.root}`:le.root,r.inner=m.inner?`${le.inner} ${m.inner}`:le.inner,r.col=m.col?`${le.col} ${m.col}`:le.col}const l=o.className,d=l?`${le.root} ${l}`:le.root,{gutter:c,...u}=o,_=So(u);return t.jsx(kn.Provider,{value:{type:o.type,breakpoints:o.breakpoints},children:t.jsx(p.Grid,{ref:n,columns:bl,gutter:"var(--recursica_brand_layout-grids_column-gutter)","data-recursica-grow":o.grow?"":void 0,className:d,classNames:r,..._,children:e})})});In.displayName="LayoutGrid";const Nl=p.createPolymorphicComponent(In),qo="var(--recursica_brand_layout-grids_columns)",Cl=a=>{if(typeof a=="number"){const e=`calc(min(${a}, ${qo}) / ${qo} * 100%)`;return{"--rec-col-basis":e,"--rec-col-max-width":e}}return{"--rec-col-basis":"var(--col-flex-basis)","--rec-col-max-width":"var(--col-max-width)"}},gl=a=>({"--rec-col-offset":typeof a=="number"?`calc(${a} / ${qo} * 100%)`:"var(--col-offset)"}),wl=a=>typeof a=="object"&&a!==null,io=(a,e)=>wl(a)?a[e]:e==="base"?a:void 0,Yt=(a,e,o)=>({...io(a,o)===void 0?{}:Cl(io(a,o)),...io(e,o)===void 0?{}:gl(io(e,o))});function Pl({selector:a,span:e,offset:o}){const n=p.useMantineTheme(),{type:r,breakpoints:s}=i.useContext(kn),l=s??n.breakpoints,d=Object.keys(l).filter(u=>io(e,u)!==void 0||io(o,u)!==void 0),c=p.getSortedBreakpoints(d,l).map(({value:u})=>({query:r==="container"?`mantine-grid (min-width: ${l[u]})`:`(min-width: ${l[u]})`,styles:Yt(e,o,u)}));return t.jsx(p.InlineStyles,{selector:a,styles:Yt(e??12,o,"base"),media:r==="container"?void 0:c,container:r==="container"?c:void 0})}const Ln=i.forwardRef(function({children:e,...o},n){const r={col:le.col},s=o.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const u=s;r.col=u.col?`${le.col} ${u.col}`:le.col}const l=o.className,d=l?`${le.col} ${l}`:le.col,c=p.useRandomClassName();return t.jsxs(t.Fragment,{children:[t.jsx(Pl,{selector:`.${c}`,span:o.span,offset:o.offset}),t.jsx(p.Grid.Col,{ref:n,className:`${d} ${c}`,classNames:r,...So(o),children:e})]})});Ln.displayName="LayoutGridCol";const Mn=p.createPolymorphicComponent(Ln),An=Nl;An.Col=Mn;const Tl="Group-module__root___ftO64",yo={root:Tl},Wn=i.forwardRef(function({children:e,gap:o="rec-default",...n},r){const s={root:yo.root},l=n.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const u=l;s.root=u.root?`${yo.root} ${u.root}`:yo.root}const d=n.className,c=d?`${yo.root} ${d}`:yo.root;return t.jsx(p.Group,{ref:r,className:c,classNames:s,...So({gap:o,...n}),children:e})});Wn.displayName="Group";const Sl="Heading-module__root___-To4U",Rl={root:Sl},zn=i.forwardRef(function({overStyled:e=!1,order:o=1,emphasis:n="high",color:r="default",...s},l){const d=["size"],c=B(f(s,e),d),u=c.className,m=[`recursica_brand_typography_h${o}`,Rl.root,u].filter(Boolean).join(" ");return t.jsx(p.Title,{ref:l,...c,order:o,"data-color":r,"data-emphasis":n,className:m})});zn.displayName="Heading";const jl="HoverCard-module__dropdown___FBPFW",$l="HoverCard-module__arrow___S9AkE",Zt={dropdown:jl,arrow:$l},Dn=function({overStyled:e=!1,withBeak:o=!0,position:n="top",arrowSize:r=16,withArrow:s,...l}){const d=f(l,e),c=d,u=D({dropdown:Zt.dropdown,arrow:Zt.arrow},c.classNames),_=o??s;return t.jsx(p.HoverCard,{...d,position:n,arrowSize:r,withArrow:_,classNames:u})};Dn.displayName="HoverCard";const En=function(e){return t.jsx(p.HoverCard.Target,{...e})};En.displayName="HoverCardTarget";const Fn=function({overStyled:e=!1,...o}){const n=f(o,e),r=n.className;return t.jsx(p.HoverCard.Dropdown,{...n,className:r})};Fn.displayName="HoverCardDropdown";const ct=Dn;ct.Target=En;ct.Dropdown=Fn;const Ol="Link-module__root___I0VGE",kl="Link-module__iconWrapper___W-LlF",Il="Link-module__labelText___wSvUy",ho={root:Ol,iconWrapper:kl,labelText:Il},Bn=i.forwardRef(function({icon:e,children:o,overStyled:n=!1,...r},s){const l=f(r,n),d=l,c=D({root:ho.root},d.classNames),u=d.className,_=u?`${ho.root} ${u}`:ho.root;return t.jsxs(p.Anchor,{ref:s,...l,className:_,classNames:c,underline:"never",...e?{"data-has-icon":""}:{},children:[e&&t.jsx("span",{className:ho.iconWrapper,"aria-hidden":!0,children:e}),t.jsx("span",{className:ho.labelText,children:o})]})});Bn.displayName="Link";const Ll=p.createPolymorphicComponent(Bn),Ml="Menu-module__dropdown___j4xuA",Al="Menu-module__item___NMXha",Wl="Menu-module__itemLabel___zvcqC",zl="Menu-module__itemSection___pRIcn",Dl="Menu-module__divider___wPiNq",El="Menu-module__label___4FBGa",Fl="Menu-module__chevron___hEEiy",to={dropdown:Ml,item:Al,itemLabel:Wl,itemSection:zl,divider:Dl,label:El,chevron:Fl},Un=function({overStyled:e=!1,...o}){const r=f(o,e),{maxHeight:s,...l}=r,d=D({dropdown:to.dropdown,item:to.item,itemLabel:to.itemLabel,itemSection:to.itemSection,divider:to.divider,label:to.label,chevron:to.chevron},r.classNames),c=l.styles,u=s?{...c,dropdown:{...c==null?void 0:c.dropdown,maxHeight:s,overflowY:"auto"}}:c;return t.jsx(p.Menu,{...l,classNames:d,...u?{styles:u}:{}})};Un.displayName="Menu";const Vn=function({overStyled:e=!1,...o}){const n=f(o,e);return t.jsx(p.Menu.Target,{...n})};Vn.displayName="MenuTarget";const Hn=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r.className;return t.jsx(p.Menu.Dropdown,{...r,ref:n,className:s})});Hn.displayName="MenuDropdown";const Gn=i.forwardRef(function({overStyled:e=!1,...o},n){const r=["color"],s=B(f(o,e),r),d=s.className;return t.jsx(p.Menu.Item,{...s,ref:n,className:d})});Gn.displayName="MenuItem";const Bl=p.createPolymorphicComponent(Gn),qn=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r.className;return t.jsx(p.Menu.Divider,{...r,ref:n,className:s})});qn.displayName="MenuDivider";const Kn=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r.className;return t.jsx(p.Menu.Label,{...r,ref:n,className:s})});Kn.displayName="MenuLabel";const Yn=function(e){return t.jsx(p.Menu.Sub,{...e})};Yn.displayName="MenuSub";const Zn=function(e){return t.jsx(p.Menu.Sub.Target,{...e})};Zn.displayName="MenuSubTarget";const Xn=i.forwardRef(function({overStyled:e=!1,...o},n){const r=["color"],s=B(f(o,e),r),d=s.className;return t.jsx(p.Menu.Sub.Item,{...s,ref:n,className:d})});Xn.displayName="MenuSubItem";const Ul=p.createPolymorphicComponent(Xn),Qn=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r.className;return t.jsx(p.Menu.Sub.Dropdown,{...r,ref:n,className:s})});Qn.displayName="MenuSubDropdown";const Do=Yn;Do.Target=Zn;Do.Item=Ul;Do.Dropdown=Qn;const ao=Un;ao.Target=Vn;ao.Dropdown=Hn;ao.Item=Bl;ao.Divider=qn;ao.Label=Kn;ao.Sub=Do;const Vl="Modal-module__root___ytPLl",Hl="Modal-module__inner___SSUJE",Gl="Modal-module__content___dWO-B",ql="Modal-module__header___ILG9i",Kl="Modal-module__title___A5OeE",Yl="Modal-module__bodyWrapper___5CCL-",Zl="Modal-module__scrollArea___KD-hm",Xl="Modal-module__footer___rro2w",Ql="Modal-module__close___-ER1C",ze={root:Vl,inner:Hl,content:Gl,header:ql,title:Kl,bodyWrapper:Yl,scrollArea:Zl,footer:Xl,close:Ql},Jn=i.forwardRef(function({overStyled:e=!1,children:o,title:n,withCloseButton:r=!0,overlayProps:s,withOverlay:l=!0,closeButtonProps:d,...c},u){const _=["size","radius"],m=B(f(c,e),_),x=D({root:ze.root,inner:ze.inner,content:ze.content,header:ze.header,title:ze.title,close:ze.close},m.classNames);return t.jsxs(p.Modal.Root,{ref:u,...m,classNames:x,children:[l&&t.jsx(p.Modal.Overlay,{...s}),t.jsxs(p.Modal.Content,{children:[(n||r)&&t.jsxs(p.Modal.Header,{children:[n&&t.jsx(p.Modal.Title,{children:n}),r&&t.jsx(p.Modal.CloseButton,{...d})]}),t.jsx(ut,{children:o})]})]})});Jn.displayName="Modal";const dt=i.forwardRef(function({overStyled:e=!1,className:o,...n},r){const s=f(n,e);return t.jsx("div",{ref:r,...s,className:`${ze.footer} ${o||""}`})});dt.displayName="Modal.Footer";const ut=i.forwardRef(function({overStyled:e=!1,className:o,onScroll:n,children:r,...s},l){const d=f(s,e),c=i.useRef(null),[u,_]=i.useState(!1),[m,x]=i.useState(!1),h=i.useCallback(()=>{if(c.current){const{scrollTop:C,scrollHeight:P,clientHeight:R}=c.current;_(C>0),x(Math.ceil(C+R)<P)}},[]);i.useEffect(()=>(h(),window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)),[h,r]);const N=C=>{h(),n==null||n(C)};let v=null;const w=[];return i.Children.forEach(r,C=>{var P;i.isValidElement(C)&&(C.type===dt||((P=C.type)==null?void 0:P.displayName)==="Modal.Footer")?v=C:w.push(C)}),t.jsxs(p.Modal.Body,{...d,ref:C=>{typeof l=="function"?l(C):l&&(l.current=C)},className:`${ze.bodyWrapper} ${o||""}`,children:[t.jsx("div",{ref:c,onScroll:N,"data-scrolled-top":u||void 0,"data-scrolled-bottom":m||void 0,className:ze.scrollArea,children:w}),v]})});ut.displayName="Modal.Body";const Jl=["size","radius"],er=i.forwardRef(function({overStyled:e=!1,...o},n){const r=B(f(o,e),Jl);return t.jsx(p.Modal.Root,{ref:n,...r})});er.displayName="Modal.Root";const or=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Modal.Overlay,{ref:n,...r})});or.displayName="Modal.Overlay";const ei=["radius"],tr=i.forwardRef(function({overStyled:e=!1,...o},n){const r=B(f(o,e),ei);return t.jsx(p.Modal.Content,{ref:n,...r})});tr.displayName="Modal.Content";const nr=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Modal.Header,{ref:n,...r})});nr.displayName="Modal.Header";const rr=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Modal.Title,{ref:n,...r})});rr.displayName="Modal.Title";const oi=["size","radius"],ar=i.forwardRef(function({overStyled:e=!1,...o},n){const r=B(f(o,e),oi);return t.jsx(p.Modal.CloseButton,{ref:n,...r})});ar.displayName="Modal.CloseButton";const Fe=Jn;Fe.Root=er;Fe.Overlay=or;Fe.Content=tr;Fe.Header=nr;Fe.Title=rr;Fe.CloseButton=ar;Fe.Body=ut;Fe.Footer=dt;const ti="NumberInput-module__layoutOverride___5-9T4",ni="NumberInput-module__root___C6rAn",ri="NumberInput-module__input___Ss8p7",ai="NumberInput-module__section___MijP0",si="NumberInput-module__controls___8UfQ2",li="NumberInput-module__control___Qre9-",no={layoutOverride:ti,root:ni,input:ri,section:ai,controls:si,control:li},ii=["size","variant","radius"],sr=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,value:S,defaultValue:b,hideControls:$=!1,...L}=e,z=B(f(L,n),ii),A=z,I={wrapper:no.root,input:no.input,section:no.section,controls:no.controls,control:no.control},q=C?`${no.layoutOverride} ${C}`:no.layoutOverride;return t.jsx(ue,{className:q,style:P,controlMaxWidth:"var(--number-input-control-max-width)",controlMinWidth:"var(--number-input-control-min-width)",overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:S!==void 0?S==null?void 0:S.toString():b==null?void 0:b.toString(),readOnlyNativeProps:e,activeComponent:t.jsx(p.NumberInput,{ref:o,...z,classNames:I,disabled:R,value:S,defaultValue:b,hideControls:$,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":R?"true":void 0,"data-error":h?"true":void 0,"data-with-left-section":A.leftSection?"true":void 0,"data-with-right-section":A.rightSection||!$?"true":void 0}})})});sr.displayName="NumberInput";const ci="Pagination-module__root___ITRjt",di="Pagination-module__dots___Yl9da",ui="Pagination-module__baseIcon___Qw3bJ",pi="Pagination-module__rightIcon___aYC8M",To={root:ci,dots:di,baseIcon:ui,rightIcon:pi},mi="M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z",_i="M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z",fi="M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z",yi="M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z",hi={next:mi,prev:_i,first:fi,last:yi},lr=({type:a,className:e,...o})=>t.jsx("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:`${To.baseIcon} ${e||""}`.trim(),...o,children:t.jsx("path",{d:hi[a],fill:"currentColor"})});function Lo(a){var n,r,s,l,d,c,u;const o=(u=(c=(d=(l=(s=(r=(n=dn()["ui-kit"])==null?void 0:n.components)==null?void 0:r.pagination)==null?void 0:s.properties)==null?void 0:l[a])==null?void 0:d.$extensions)==null?void 0:c["recursica.component"])==null?void 0:u["selected-variants"];if(!o)throw new Error(`Pagination: manifest has no ui-kit.components.pagination.properties.${a} selected-variants`);return{variant:o.style,size:o.size}}const ir=i.createContext(null);function pt(){const a=i.useContext(ir);if(!a)throw new Error("Pagination parts must be rendered inside Pagination.Root");return a}const mt=i.forwardRef(function({overStyled:e=!1,total:o,value:n,defaultValue:r,onChange:s,siblings:l,boundaries:d,disabled:c,getItemProps:u,getControlProps:_,dotsIcon:m,children:x,...h},N){const v=an.usePagination({total:o,page:n,initialPage:r,onChange:s,siblings:l,boundaries:d}),w=f(h,e),C=w.className;return t.jsx(ir.Provider,{value:{total:o,active:v.active,range:v.range,disabled:c,setPage:v.setPage,first:v.first,previous:v.previous,next:v.next,last:v.last,getItemProps:u,getControlProps:_,dotsIcon:m},children:t.jsx("nav",{ref:N,"aria-label":"Pagination",...w,className:C?`${To.root} ${C}`:To.root,children:x})})});mt.displayName="Pagination.Root";const _t=i.forwardRef(function({active:e=!1,disabled:o,...n},r){const s=pt(),l=Lo("active-pages"),d=Lo("inactive-pages"),c=e?l:d;return t.jsx(je,{ref:r,variant:c.variant,size:c.size,disabled:o||s.disabled,"aria-current":e?"page":void 0,...n})});_t.displayName="Pagination.Control";const ft=i.forwardRef(function({icon:e,...o},n){const{size:r}=Lo("inactive-pages");return t.jsx("div",{ref:n,className:To.dots,"data-size":r,...o,children:e??"…"})});ft.displayName="Pagination.Dots";function yt(){const a=pt();return t.jsx(t.Fragment,{children:a.range.map((e,o)=>{var n,r,s;return e==="dots"?t.jsx(ft,{icon:a.dotsIcon},o):t.jsx(_t,{active:e===a.active,"aria-label":`Page ${e}`,onClick:()=>a.setPage(e),...(n=a.getItemProps)==null?void 0:n.call(a,e),children:((s=(r=a.getItemProps)==null?void 0:r.call(a,e))==null?void 0:s.children)??e},o)})})}yt.displayName="Pagination.Items";const vi={first:"First page",previous:"Previous page",next:"Next page",last:"Last page"},xi={first:"First",previous:"Prev",next:"Next",last:"Last"};function Eo(a,e,o,n){const r=i.forwardRef(function({withLabel:l,icon:d,disabled:c,...u},_){var P;const m=pt(),x=Lo("navigation-controls"),h=m.active===1,N=m.active===m.total,v=c||m.disabled||(a==="first"||a==="previous")&&h||(a==="next"||a==="last")&&N,w=d??t.jsx(lr,{type:e}),C=l?o?{rightSection:t.jsx("span",{className:To.rightIcon,children:w})}:{icon:w}:{icon:w};return t.jsx(je,{ref:_,variant:x.variant,size:x.size,"aria-label":vi[a],disabled:v,onClick:m[a],...C,...(P=m.getControlProps)==null?void 0:P.call(m,a),...u,children:l?xi[a]:void 0})});return r.displayName=n,r}const cr=Eo("first","first",!1,"Pagination.First"),dr=Eo("previous","prev",!1,"Pagination.Previous"),ur=Eo("next","next",!0,"Pagination.Next"),pr=Eo("last","last",!0,"Pagination.Last"),mr=i.forwardRef(function({withEdges:e,withControls:o=!0,withLabels:n,...r},s){return t.jsxs(mt,{ref:s,...r,children:[e&&t.jsx(cr,{withLabel:n}),o&&t.jsx(dr,{withLabel:n}),t.jsx(yt,{}),o&&t.jsx(ur,{withLabel:n}),e&&t.jsx(pr,{withLabel:n})]})});mr.displayName="Pagination";const ke=mr;ke.Root=mt;ke.Items=yt;ke.Control=_t;ke.Dots=ft;ke.Next=ur;ke.Previous=dr;ke.First=cr;ke.Last=pr;ke.Icon=lr;const bi="Panel-module__content___wdGo-",Ni="Panel-module__contentRight___4bsdU",Ci="Panel-module__contentLeft___bOgUu",gi="Panel-module__inner___ruA2b",wi="Panel-module__header___o7SiC",Pi="Panel-module__title___181OP",Ti="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",Si="Panel-module__body___SEC3T",Ri="Panel-module__footer___t6-hz",xe={content:bi,contentRight:Ni,contentLeft:Ci,inner:gi,header:wi,title:Pi,titleTruncate:Ti,body:Si,footer:Ri},_r=function({overStyled:e=!1,placement:o="right",keepMounted:n=!0,wrapHeaderText:r=!0,...s}){const l=f(s,e),d=l,c=D({content:`${xe.content} ${o==="right"?xe.contentRight:o==="left"?xe.contentLeft:o==="top"?xe.contentTop:xe.contentBottom}`,header:xe.header,title:r?xe.titleTruncate:xe.title,body:xe.body,inner:xe.inner},d.classNames);return t.jsx(p.Drawer,{...l,size:"var(--recursica_ui-kit_components_panel_properties_max-width)",position:o,keepMounted:n,withOverlay:!1,trapFocus:!1,lockScroll:!1,returnFocus:!0,closeOnEscape:!0,closeOnClickOutside:!1,classNames:c})};_r.displayName="Panel";const ht=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r.className,l=s?`${xe.footer} ${s}`:xe.footer;return t.jsx("div",{ref:n,...r,className:l})});ht.displayName="PanelFooter";const vt=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Drawer.Root,{ref:n,...r})});vt.displayName="PanelRoot";const xt=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Drawer.Overlay,{ref:n,...r})});xt.displayName="PanelOverlay";const bt=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Drawer.Content,{ref:n,...r})});bt.displayName="PanelContent";const Nt=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Drawer.Header,{ref:n,...r})});Nt.displayName="PanelHeader";const Ct=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Drawer.Title,{ref:n,...r})});Ct.displayName="PanelTitle";const gt=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Drawer.CloseButton,{ref:n,...r})});gt.displayName="PanelCloseButton";const wt=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Drawer.Body,{ref:n,...r})});wt.displayName="PanelBody";const Ie=_r;Ie.Root=vt;Ie.Overlay=xt;Ie.Content=bt;Ie.Header=Nt;Ie.Title=Ct;Ie.CloseButton=gt;Ie.Body=wt;Ie.Stack=p.Drawer.Stack;Ie.Footer=ht;const ji="Popover-module__dropdown___svhS6",$i="Popover-module__arrow___5A-0e",Xt={dropdown:ji,arrow:$i},fr=function({overStyled:e=!1,withBeak:o=!0,position:n="top",...r}){const s=f(r,e),l=s,d=D({dropdown:Xt.dropdown,arrow:Xt.arrow},l.classNames),c=$e(16,l.arrowSize),u=$e(o,l.withArrow);return t.jsx(p.Popover,{...s,position:n,arrowSize:c,withArrow:u,classNames:d})};fr.displayName="Popover";const yr=function(e){return t.jsx(p.Popover.Target,{...e})};yr.displayName="PopoverTarget";const hr=function({overStyled:e=!1,...o}){const n=f(o,e),r=n.className;return t.jsx(p.Popover.Dropdown,{...n,className:r})};hr.displayName="PopoverDropdown";const Pt=fr;Pt.Target=yr;Pt.Dropdown=hr;const Oi="Radio-module__groupRoot___bfUii",ki="Radio-module__root___kAjTD",Ii="Radio-module__body___q2Wpj",Li="Radio-module__inner___QaTBB",Mi="Radio-module__radio___MfgN-",Ai="Radio-module__icon___DWznm",Wi="Radio-module__labelWrapper___dB0Gi",zi="Radio-module__label___vAFIP",Se={groupRoot:Oi,root:ki,body:Ii,inner:Li,radio:Mi,icon:Ai,labelWrapper:Wi,label:zi},Tt=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,children:T,readOnly:g,readOnlyComponent:y,emptyValueComponent:S,value:b,defaultValue:$,...L}=e,z=["size"],A=B(f(L,n),z),I=A;return t.jsx(ue,{className:P,style:R,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:n,labelElement:"div",formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,readOnly:g&&!!y,readOnlyComponent:y,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:b!==void 0?b:$,readOnlyNativeProps:e,activeComponent:t.jsx(p.Radio.Group,{ref:o,...A,disabled:g||I.disabled,value:b,defaultValue:$,children:t.jsx("div",{className:Se.groupRoot,"data-layout":r,children:T})})})});Tt.displayName="RadioGroup";const Di=({className:a,style:e})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:a,style:e,children:t.jsx("circle",{cx:"8",cy:"8",r:"5"})}),St=i.forwardRef(function(e,o){const{overStyled:n=!1,readOnly:r,readOnlyComponent:s,disabled:l,icon:d,formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,...x}=e,h=["size","color","radius","variant","iconColor"],N=B(f(x,n),h),v=N,w=D({root:Se.root,body:Se.body,inner:Se.inner,radio:Se.radio,icon:Se.icon,labelWrapper:Se.labelWrapper,label:Se.label},v.classNames),C=v.className,P=C?`${Se.root} ${C}`:Se.root;if(r&&s){const T=!!(v.checked??v.defaultChecked),g=s,y=t.jsx(g,{...e,checked:T,label:v.label});return c?t.jsx(De,{formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,children:y}):t.jsx(t.Fragment,{children:y})}const R=t.jsx(p.Radio,{ref:o,...N,icon:$e(Di,d),className:P,classNames:w,disabled:r||l});return c?t.jsx(De,{formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,children:R}):R});St.displayName="Radio";St.Group=Tt;const vr=({checked:a,label:e})=>t.jsxs(p.Box,{component:"span",className:uo.textField,style:{display:"inline-flex",gap:"8px",alignItems:"baseline"},children:[e&&t.jsxs("span",{style:{fontWeight:500},children:[e,":"]}),t.jsx("span",{children:a?"On":"Off"})]});vr.displayName="ReadOnlySwitchField";const xr=({checked:a,label:e})=>t.jsxs(p.Box,{component:"span",className:uo.textField,style:{display:"inline-flex",gap:"8px",alignItems:"baseline"},children:[e&&t.jsxs("span",{style:{fontWeight:500},children:[e,":"]}),t.jsx("span",{children:a?"True":"False"})]});xr.displayName="ReadOnlyBooleanField";const Ei="SegmentedControl-module__root___JFRhg",Fi="SegmentedControl-module__label___mS17q",Bi="SegmentedControl-module__control___znOdQ",Ui="SegmentedControl-module__indicator___ZMcJy",lo={root:Ei,label:Fi,control:Bi,indicator:Ui};function Vi(a){const e=D({root:lo.root,control:lo.control,label:lo.label,indicator:lo.indicator},a.classNames),o=a.className;return{className:o?`${lo.root} ${o}`:lo.root,classNames:e}}const br=i.forwardRef(function({overStyled:e=!1,orientation:o="horizontal",fullWidth:n,data:r=[],...s},l){const d=f(s,e),u=Vi(d),_=r.map(m=>typeof m=="string"||!m.icon?m:{...m,label:t.jsxs(t.Fragment,{children:[m.icon,m.label]})});return t.jsx(p.SegmentedControl,{ref:l,...d,className:u.className,classNames:u.classNames,orientation:o,fullWidth:n,"data-orientation":o,data:_})});br.displayName="SegmentedControl";const Hi=br,Gi="Slider-module__layoutOverride___zYPun",qi="Slider-module__sliderContainer___y8I0J",Ki="Slider-module__sliderTrackWrapper___UHpVh",Yi="Slider-module__iconWrapper___uqHpC",Zi="Slider-module__sliderRoot___LI86H",Xi="Slider-module__sliderTrack___oqnlG",Qi="Slider-module__sliderBar___TI4VY",Ji="Slider-module__sliderThumb___OFn8p",ec="Slider-module__sliderMarkWrapper___Ufqhu",oc="Slider-module__sliderMark___1lM2B",tc="Slider-module__sliderMarkLabel___MMZrq",nc="Slider-module__minMaxGuide___TaGqz",rc="Slider-module__rightGuideContainer___8dOT8",ac="Slider-module__currentValue___dGV2T",sc="Slider-module__inputField___6x578",lc="Slider-module__readOnlyValue___-ZzMW",J={layoutOverride:Gi,sliderContainer:qi,sliderTrackWrapper:Ki,iconWrapper:Yi,sliderRoot:Zi,sliderTrack:Xi,sliderBar:Qi,sliderThumb:Ji,sliderMarkWrapper:ec,sliderMark:oc,sliderMarkLabel:tc,minMaxGuide:nc,rightGuideContainer:rc,currentValue:ac,inputField:sc,readOnlyValue:lc},ic=({value:a})=>{const e=Array.isArray(a)?`${a[0]} – ${a[1]}`:a;return t.jsx("div",{className:J.readOnlyValue,children:e})},Nr=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,tooltipLabel:x,assistiveText:h,assistiveWithIcon:N,error:v,required:w,withAsterisk:C,id:P,className:R,style:T,disabled:g,readOnly:y,readOnlyComponent:S,emptyValueComponent:b,value:$,defaultValue:L,icon:z,trailingIcon:A,showInput:I=!1,showMinMaxLabels:q=!0,min:H=0,max:G=100,minLabel:Z,maxLabel:V,step:K=1,onChange:Q,onChangeEnd:ce,...M}=e,[ne,de]=i.useState(()=>$!==void 0?$:L!==void 0?L:H),O=$!==void 0?$:ne,ae=Array.isArray(O),[fe,re]=i.useState(()=>Array.isArray(O)?[O[0].toString(),O[1].toString()]:O.toString());i.useEffect(()=>{re(Array.isArray(O)?[O[0].toString(),O[1].toString()]:O.toString())},[O]);const se=E=>{$===void 0&&de(E),Q==null||Q(E)},ye=E=>{const W=E.target.value;re(W);const k=parseFloat(W);if(!isNaN(k)){const F=Math.max(H,Math.min(G,k));se(F)}},Ne=()=>{re(O.toString())},Ue=E=>{const W=O,k=E.target.value;re([k,W[1].toString()]);const F=parseFloat(k);if(!isNaN(F)){const Y=Math.max(H,Math.min(W[1],F));se([Y,W[1]])}},Ce=E=>{const W=O,k=E.target.value;re([W[0].toString(),k]);const F=parseFloat(k);if(!isNaN(F)){const Y=Math.max(W[0],Math.min(G,F));se([W[0],Y])}},Ve=()=>{const E=O;re([E[0].toString(),E[1].toString()])},Le=["size","variant","radius","wrapperProps"],Me=B(f(M,n),Le),eo=Me,ge=D({root:J.sliderRoot,track:J.sliderTrack,bar:J.sliderBar,thumb:J.sliderThumb,markWrapper:J.sliderMarkWrapper,mark:J.sliderMark,markLabel:J.sliderMarkLabel},eo.classNames),He=R?`${J.layoutOverride} ${R}`:J.layoutOverride,we=z?t.jsx("span",{className:J.iconWrapper,"aria-hidden":!0,children:z}):null,Ge=A?t.jsx("span",{className:J.iconWrapper,"aria-hidden":!0,children:A}):null,U=Array.isArray(O)?typeof x=="function"?`${x(O[0])} – ${x(O[1])}`:`${O[0]} – ${O[1]}`:typeof x=="function"?x(O):O;return t.jsx(ue,{ref:o,className:He,style:T,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:h,assistiveWithIcon:N,error:v,required:w,withAsterisk:C,id:P,readOnly:y,readOnlyComponent:S||ic,emptyValueComponent:b,readOnlyType:"text",readOnlyValue:O,readOnlyNativeProps:{value:O},activeComponent:t.jsxs("div",{className:J.sliderContainer,"data-form-layout":r,"data-disabled":g?"true":void 0,"data-error":v?"true":void 0,children:[ae&&I&&t.jsx("input",{type:"number",className:J.inputField,value:fe[0],onChange:Ue,onBlur:Ve,min:H,max:O[1],step:K,disabled:g,"data-error":v?"true":void 0,"aria-label":"Minimum value"}),we,q&&t.jsx("span",{className:J.minMaxGuide,children:Z??H}),t.jsx("div",{className:J.sliderTrackWrapper,children:ae?t.jsx(p.RangeSlider,{...Me,classNames:ge,disabled:g,value:O,onChange:se,onChangeEnd:ce,min:H,max:G,step:K,label:x}):t.jsx(p.Slider,{...Me,classNames:ge,disabled:g,value:O,onChange:se,onChangeEnd:ce,min:H,max:G,step:K,label:x})}),t.jsxs("div",{className:J.rightGuideContainer,children:[!I&&t.jsx("span",{className:J.currentValue,children:U}),q&&t.jsx("span",{className:J.minMaxGuide,children:V??G})]}),Ge,I&&(ae?t.jsx("input",{type:"number",className:J.inputField,value:fe[1],onChange:Ce,onBlur:Ve,min:O[0],max:G,step:K,disabled:g,"data-error":v?"true":void 0,"aria-label":"Maximum value"}):t.jsx("input",{type:"number",className:J.inputField,value:fe,onChange:ye,onBlur:Ne,min:H,max:G,step:K,disabled:g,"data-error":v?"true":void 0}))]})})});Nr.displayName="Slider";const cc="Stack-module__root___NUN-x",vo={root:cc},Cr=i.forwardRef(function({children:e,gap:o="rec-default",...n},r){const s={root:vo.root},l=n.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const u=l;s.root=u.root?`${vo.root} ${u.root}`:vo.root}const d=n.className,c=d?`${vo.root} ${d}`:vo.root;return t.jsx(p.Stack,{ref:r,className:c,classNames:s,...So({gap:o,...n}),children:e})});Cr.displayName="Stack";const dc=p.createPolymorphicComponent(Cr),uc="Stepper-module__root___jbSYO",pc="Stepper-module__horizontal___USHT1",mc="Stepper-module__steps___4HPO6",_c="Stepper-module__step___s2nqL",fc="Stepper-module__stepBody___TBvys",yc="Stepper-module__stepLabel___N6nuy",hc="Stepper-module__stepDescription___DnDAy",vc="Stepper-module__separator___pU0No",xc="Stepper-module__vertical___d4mOs",bc="Stepper-module__large___J18-y",Nc="Stepper-module__small___Ub-zb",Cc="Stepper-module__stepIcon___YQHNq",gc="Stepper-module__stepCompletedIcon___B9MeL",wc="Stepper-module__verticalSeparator___frWc1",Pc="Stepper-module__content___J-h8X",ie={root:uc,horizontal:pc,steps:mc,step:_c,stepBody:fc,stepLabel:yc,stepDescription:hc,separator:vc,vertical:xc,large:bc,small:Nc,stepIcon:Cc,stepCompletedIcon:gc,verticalSeparator:wc,content:Pc},gr=i.forwardRef(function(e,o){const{overStyled:n=!1,size:r="large",orientation:s="horizontal",className:l,style:d,...c}=e,u=f(c,n),_=u,m=D({steps:ie.steps,step:ie.step,stepIcon:ie.stepIcon,stepCompletedIcon:ie.stepCompletedIcon,stepBody:ie.stepBody,stepLabel:ie.stepLabel,stepDescription:ie.stepDescription,separator:ie.separator,verticalSeparator:ie.verticalSeparator,content:ie.content},_.classNames);return t.jsx(p.Stepper,{ref:o,...u,orientation:s,className:`${ie.root} ${s==="horizontal"?ie.horizontal:ie.vertical} ${r==="large"?ie.large:ie.small} ${l||""}`,style:d,"data-size":r,"data-orientation":s,classNames:m})}),wr=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Stepper.Step,{ref:n,...r})});wr.displayName="Stepper.Step";const Tc=Object.assign(gr,{Step:wr,Completed:p.Stepper.Completed});gr.displayName="Stepper";const Sc="Switch-module__root___Y5Ydi",Rc="Switch-module__track___7ObdZ",jc="Switch-module__body___Sw9Wr",$c="Switch-module__thumb___-FTeK",Oc="Switch-module__labelWrapper___YSOwx",kc="Switch-module__label___LrH7V",Ic="Switch-module__thumbIconWrapper___sCY-1",Lc="Switch-module__checkIcon___ZBAQN",Mc="Switch-module__closeIcon___bLLGw",Ac="Switch-module__groupRoot___-Uepi",_e={root:Sc,track:Rc,body:jc,thumb:$c,labelWrapper:Oc,label:kc,thumbIconWrapper:Ic,checkIcon:Lc,closeIcon:Mc,groupRoot:Ac},Rt=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,children:T,readOnly:g,readOnlyComponent:y,emptyValueComponent:S,value:b,defaultValue:$,...L}=e,z=["size"],A=B(f(L,n),z),I=A;return t.jsx(ue,{className:P,style:R,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:n,labelElement:"div",formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:h,error:N,required:v,withAsterisk:w,id:C,readOnly:g&&!!y,readOnlyComponent:y,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:b!==void 0?b:$,readOnlyNativeProps:e,activeComponent:t.jsx(p.Switch.Group,{ref:o,...A,disabled:g||I.disabled,value:b,defaultValue:$,children:t.jsx("div",{className:_e.groupRoot,"data-layout":r,children:T})})})});Rt.displayName="SwitchGroup";const jt=i.forwardRef(function(e,o){const{overStyled:n=!1,readOnly:r,readOnlyComponent:s,disabled:l,thumbIcon:d,formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,...x}=e,h=["size","color","radius","variant"],N=B(f(x,n),h),v=N,w=D({root:_e.root,body:_e.body,track:_e.track,thumb:_e.thumb,trackLabel:_e.trackLabel,labelWrapper:_e.labelWrapper,label:_e.label},v.classNames),C=un({},v.styles),P=v.className,R=P?`${_e.root} ${P}`:_e.root;if(r&&s){const y=!!(v.checked??v.defaultChecked),S=s,b=t.jsx(S,{...e,checked:y,label:v.label});return c?t.jsx(De,{formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,children:b}):t.jsx(t.Fragment,{children:b})}const T=t.jsxs("div",{className:_e.thumbIconWrapper,children:[t.jsx(p.CheckIcon,{className:_e.checkIcon}),t.jsx(p.CloseIcon,{className:_e.closeIcon})]}),g=t.jsx(p.Switch,{ref:o,...N,className:R,classNames:w,styles:C,disabled:r||l,"data-disabled":r||l||void 0,thumbIcon:$e(T,d)});return c?t.jsx(De,{formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,children:g}):g});jt.displayName="Switch";jt.Group=Rt;const Wc="Table-module__root___aMWWS",zc="Table-module__sortIcon___V3-dH",Ko={root:Wc,sortIcon:zc};function Dc(a){return t.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...a,children:t.jsx("polyline",{points:"18 15 12 9 6 15"})})}function Ec(a){return t.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...a,children:t.jsx("polyline",{points:"6 9 12 15 18 9"})})}const Pr=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r.className,l=Ko.root,d=s?`${l} ${s}`:l;return t.jsx(p.Table,{ref:n,...r,className:d})});Pr.displayName="Table";const $t=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Table.Thead,{ref:n,...r})});$t.displayName="TableThead";const Ot=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Table.Tbody,{ref:n,...r})});Ot.displayName="TableTbody";const kt=i.forwardRef(function({overStyled:e=!1,selected:o=!1,disabled:n=!1,...r},s){const l=f(r,e);return t.jsx(p.Table.Tr,{ref:s,...l,"data-selected":o?"true":void 0,"data-disabled":n?"true":void 0})});kt.displayName="TableTr";const It=i.forwardRef(function({overStyled:e=!1,sorted:o=!1,disabled:n=!1,variant:r="default",children:s,...l},d){const c=f(l,e);return t.jsxs(p.Table.Th,{ref:d,...c,"data-sorted":o?"true":void 0,"data-disabled":n?"true":void 0,"data-currency":r==="currency"?"true":void 0,"aria-sort":o==="asc"?"ascending":o==="desc"?"descending":void 0,children:[s,o==="asc"&&t.jsx(Dc,{className:Ko.sortIcon}),o==="desc"&&t.jsx(Ec,{className:Ko.sortIcon})]})});It.displayName="TableTh";const Lt=i.forwardRef(function({overStyled:e=!1,disabled:o=!1,variant:n="default",...r},s){const l=f(r,e);return t.jsx(p.Table.Td,{ref:s,...l,"data-disabled":o?"true":void 0,"data-currency":n==="currency"?"true":void 0})});Lt.displayName="TableTd";const Mt=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Table.Tfoot,{ref:n,...r})});Mt.displayName="TableTfoot";const At=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Table.Caption,{ref:n,...r})});At.displayName="TableCaption";const Wt=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Table.ScrollContainer,{ref:n,...r})});Wt.displayName="TableScrollContainer";const Be=Pr;Be.Thead=$t;Be.Tbody=Ot;Be.Tr=kt;Be.Th=It;Be.Td=Lt;Be.Tfoot=Mt;Be.Caption=At;Be.ScrollContainer=Wt;const Fc="Tabs-module__root___-VKVI",Bc="Tabs-module__list___qRVME",Uc="Tabs-module__tab___IdDYc",Vc="Tabs-module__tabSection___Es-nf",Hc="Tabs-module__panel___08i9c",xo={root:Fc,list:Bc,tab:Uc,tabSection:Vc,panel:Hc},Tr=i.forwardRef(function(e,o){const{variant:n="default",orientation:r="horizontal",overStyled:s=!1,className:l,...d}=e,c=f(d,s),u=c,_=D({list:xo.list,tab:xo.tab,tabSection:xo.tabSection,panel:xo.panel},u.classNames);return t.jsx(p.Tabs,{ref:o,...c,variant:n,orientation:r,className:`${xo.root} ${l||""}`,"data-variant":n,"data-orientation":r,classNames:_})});Tr.displayName="Tabs";const Sr=i.forwardRef(function(e,o){const{overStyled:n=!1,...r}=e;return t.jsx(p.Tabs.List,{ref:o,...f(r,n)})});Sr.displayName="Tabs.List";const Rr=i.forwardRef(function(e,o){const{overStyled:n=!1,...r}=e;return t.jsx(p.Tabs.Tab,{ref:o,...f(r,n)})});Rr.displayName="Tabs.Tab";const jr=i.forwardRef(function(e,o){const{overStyled:n=!1,...r}=e;return t.jsx(p.Tabs.Panel,{ref:o,...f(r,n)})});jr.displayName="Tabs.Panel";const Gc=Object.assign(Tr,{List:Sr,Tab:Rr,Panel:jr}),Qt=new Set,Jt=new Set;function $r(a,e){return Array.from(a).some(o=>{if(o instanceof CSSStyleRule)return o.selectorText.split(",").some(r=>r.trim()===e);const n=o.cssRules;return n?$r(n,e):!1})}function qc(a){const e=`.recursica_brand_typography_${a}`;if(Qt.has(e))return!0;const o=Array.from(document.styleSheets).some(n=>{try{return $r(n.cssRules,e)}catch{return!1}});return o?Qt.add(e):Jt.has(e)||(Jt.add(e),console.error(`Text: no "${e}" rule found. "${a}" is not defined under brand.typography in the exported Recursica CSS, so the text is hidden.`)),o}const Kc="Text-module__root___rsBo7",Yc={root:Kc},Zc=["h1","h2","h3","h4","h5","h6"],Or=i.forwardRef(function({overStyled:e=!1,variant:o="body",emphasis:n="high",color:r="default",...s},l){const d=s.component;if(typeof d=="string"&&Zc.includes(d))throw new Error(`Text cannot render <${d}>. Use <Heading> for semantic h1-h6.`);const c=f(s,e),u=c.className,_=process.env.NODE_ENV!=="production"&&typeof document<"u"&&!qc(o),x=[`recursica_brand_typography_${o}`,Yc.root,u].filter(Boolean).join(" ");return t.jsx(p.Text,{ref:l,...c,"data-color":r,"data-emphasis":n,"data-typography-missing":_||void 0,className:x})});Or.displayName="Text";const Xc=p.createPolymorphicComponent(Or),Qc="TextArea-module__layoutOverride___4MCdm",Jc="TextArea-module__root___3dyeu",ed="TextArea-module__input___8l36v",Oo={layoutOverride:Qc,root:Jc,input:ed},od=["size","variant","radius"],kr=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,value:S,defaultValue:b,...$}=e,L=B(f($,n),od),z=L,A=D({wrapper:Oo.root,input:Oo.input},z.classNames),I=C?`${Oo.layoutOverride} ${C}`:Oo.layoutOverride;return t.jsx(ue,{className:I,style:P,controlMaxWidth:"var(--textarea-control-max-width)",controlMinWidth:"var(--textarea-control-min-width)",overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:S!==void 0?S:b,readOnlyNativeProps:e,activeComponent:t.jsx(p.Textarea,{ref:o,...L,classNames:A,disabled:R,value:S,defaultValue:b,label:void 0,description:void 0,error:!!h,required:void 0,withAsterisk:void 0})})});kr.displayName="TextArea";const td="TextField-module__layoutOverride___SNZqc",nd="TextField-module__root___2ZYkG",rd="TextField-module__input___RL-My",ad="TextField-module__section___bCIJ0",bo={layoutOverride:td,root:nd,input:rd,section:ad},sd=["size","variant","radius"],zt=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,value:S,defaultValue:b,...$}=e,L=B(f($,n),sd),z=L,A=D({wrapper:bo.root,input:bo.input,section:bo.section},z.classNames),I=C?`${bo.layoutOverride} ${C}`:bo.layoutOverride;return t.jsx(ue,{className:I,style:P,controlMaxWidth:"var(--text-field-control-max-width)",controlMinWidth:"var(--text-field-control-min-width)",overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:S!==void 0?S:b,readOnlyNativeProps:e,activeComponent:t.jsx(p.Input,{ref:o,...L,classNames:A,disabled:R,value:S,defaultValue:b,wrapperProps:{"data-disabled":R?"true":void 0,"data-error":h?"true":void 0}})})});zt.displayName="TextField";const ld=["size","variant","radius"],Ir=i.forwardRef(function(e,o){const{overStyled:n=!1,className:r,disabled:s,error:l,...d}=e,c=B(f(d,n),ld),u=c,_=D({wrapper:r?`${ee.root} ${r}`:ee.root,input:ee.input,section:ee.section,dropdown:ee.dropdown,option:ee.option},u.classNames);return t.jsx(p.Select,{ref:o,...c,classNames:_,disabled:s,label:void 0,description:void 0,error:void 0,attributes:{wrapper:{"data-disabled":s?"true":void 0,"data-error":l?"true":void 0}}})});Ir.displayName="BareDropdown";const id="TimePicker-module__layoutOverride___zKo4Q",cd="TimePicker-module__root___BcvRu",dd="TimePicker-module__timeWrapper___hJVre",ud="TimePicker-module__timeInput___FQysn",pd="TimePicker-module__fieldsGroup___2yHhR",md="TimePicker-module__section___VkSWB",_d="TimePicker-module__timeField___twRZd",fd="TimePicker-module__amPmSelect___mSdvt",We={layoutOverride:id,root:cd,timeWrapper:dd,timeInput:ud,fieldsGroup:pd,section:md,timeField:_d,amPmSelect:fd},yd=[{value:"AM",label:"AM"},{value:"PM",label:"PM"}];function en(a){if(!a)return;const e=parseInt(a.slice(0,2),10);return Number.isNaN(e)?void 0:e}function hd(a,e){return`${String(e).padStart(2,"0")}${a.slice(2)}`}function vd(a){if(!a)return;const[e,o,n]=a.split(":"),r=parseInt(e,10);if(Number.isNaN(r)||o===void 0)return a;const s=r>=12,l=r%12===0?12:r%12,d=n!==void 0?`${o}:${n}`:o;return`${l}:${d} ${s?"PM":"AM"}`}function xd(a,e){var n;const o=(n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value"))==null?void 0:n.set;o==null||o.call(a,e),a.dispatchEvent(new Event("change",{bubbles:!0}))}const bd=["size","variant","radius"],Lr=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,value:S,defaultValue:b,onChange:$,withSeconds:L,minTime:z,maxTime:A,...I}=e,q=B(f(I,n),bd),H=q,[G,Z]=i.useState(()=>S??b);i.useEffect(()=>{S!==void 0&&Z(S)},[S]);const V=i.useRef(null);i.useEffect(()=>{en(S??b)===void 0&&V.current&&xd(V.current,"AM")},[]);const K=O=>{Z(O),$==null||$(O)},Q=en(G),ce=Q!==void 0&&Q>=12,M=O=>{K(O)},ne=O=>{if(Q===void 0||!G||!O)return;const ae=O==="PM";if(ae===ce)return;const fe=ae?Q+12:Q-12;K(hd(G,fe))},de=C?`${We.layoutOverride} ${C}`:We.layoutOverride;return t.jsx(ue,{className:de,style:P,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:h,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:vd(S!==void 0?S:b),readOnlyNativeProps:e,activeComponent:t.jsxs("div",{className:We.root,"data-disabled":R?"true":void 0,"data-error":h?"true":void 0,children:[t.jsx(Ho.TimePicker,{ref:o,...q,classNames:D({wrapper:We.timeWrapper,input:We.timeInput,section:We.section,fieldsGroup:We.fieldsGroup,field:We.timeField},H.classNames),disabled:R,value:G,onChange:M,format:"12h",withSeconds:L,min:z,max:A,withDropdown:!1,amPmRef:V}),t.jsx(Ir,{overStyled:!0,className:We.amPmSelect,styles:{wrapper:{width:"fit-content"}},data:yd,value:ce?"PM":"AM",onChange:ne,disabled:R,error:!!h,"aria-label":"AM or PM"})]})})});Lr.displayName="TimePicker";const Nd="Timeline-module__root___LwRdZ",Cd="Timeline-module__item___T5xdQ",gd="Timeline-module__itemBody___XAV-E",wd="Timeline-module__itemBullet___rPXCy",Pd="Timeline-module__itemTitle___GgRRW",Td="Timeline-module__itemContent___vurs-",Sd="Timeline-module__description___f9sxV",Rd="Timeline-module__timestamp___owiRu",Xe={root:Nd,item:Cd,itemBody:gd,itemBullet:wd,itemTitle:Pd,itemContent:Td,description:Sd,timestamp:Rd},Dt=i.forwardRef(function({overStyled:e=!1,timestamp:o,bulletVariant:n="default",children:r,...s},l){const d=f(s,e),c=d,u=D({item:Xe.item,itemBody:Xe.itemBody,itemContent:Xe.itemContent,itemBullet:Xe.itemBullet,itemTitle:Xe.itemTitle},c.classNames),_=o?t.jsxs(t.Fragment,{children:[r&&t.jsx("div",{className:Xe.description,children:r}),t.jsx("div",{className:Xe.timestamp,children:o})]}):r;return t.jsx(p.TimelineItem,{ref:l,...d,classNames:u,"data-variant":n,children:_})});Dt.displayName="TimelineItem";const Mr=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e),s=r,l=D({root:Xe.root},s.classNames);return t.jsx(p.Timeline,{ref:n,...r,classNames:l})});Mr.displayName="Timeline";const Ar=Mr;Ar.Item=Dt;const jd="Toast-module__root___MUvfI",$d="Toast-module__icon___VwvE1",Od="Toast-module__loader___8Gxd-",kd="Toast-module__title___-H6R2",Id="Toast-module__description___-QwfC",Ld="Toast-module__closeButton___vGr7g",Md="Toast-module__body___VLkXA",ro={root:jd,icon:$d,loader:Od,title:kd,description:Id,closeButton:Ld,body:Md},Wr=i.forwardRef(function({overStyled:e=!1,variant:o="default",withCloseButton:n=!0,...r},s){const l=["color","radius","loading"],d=B(f(r,e),l),c=D({root:ro.root,body:ro.body,title:ro.title,description:ro.description,closeButton:ro.closeButton,icon:ro.icon,loader:ro.loader},d.classNames);return t.jsx(p.Notification,{ref:s,...d,withCloseButton:n,withBorder:!1,"data-variant":o,classNames:c,loading:!1})});Wr.displayName="Toast";const Ad="Tooltip-module__tooltip___UA7H9",Wd="Tooltip-module__arrow___4zROk",on={tooltip:Ad,arrow:Wd},zr=function({overStyled:e=!1,withBeak:o=!0,position:n="top",arrowSize:r=16,...s}){const l=f(s,e),d=l,c=D({tooltip:on.tooltip,arrow:on.arrow},d.classNames),u=d.withArrow,_=o??u;return t.jsx(p.Tooltip,{...l,position:n,arrowSize:r,withArrow:_,multiline:!0,classNames:c})};zr.displayName="Tooltip";const Et=i.forwardRef(function({overStyled:e=!1,...o},n){const r=f(o,e);return t.jsx(p.Tooltip.Floating,{ref:n,...r})});Et.displayName="TooltipFloating";const Ft=zr;Ft.Floating=Et;Ft.Group=p.Tooltip.Group;const zd="TransferList-module__layoutOverride___nkb32",Dd="TransferList-module__root___ikjI7",Ed="TransferList-module__panes___dtwkW",Fd="TransferList-module__pane___hy-kC",Bd="TransferList-module__paneHeader___HZrKX",Ud="TransferList-module__paneSearch___Xji-g",Vd="TransferList-module__paneList___v0rcJ",Hd="TransferList-module__emptyState___azPw-",Gd="TransferList-module__transferColumn___3R2Ki",qd="TransferList-module__chevron___l-KdI",be={layoutOverride:zd,root:Dd,panes:Ed,pane:Fd,paneHeader:Bd,paneSearch:Ud,paneList:Vd,emptyState:Hd,transferColumn:Gd,chevron:qd};function tn({direction:a}){return t.jsx("svg",{className:be.chevron,"data-direction":a,viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t.jsx("path",{d:"M6 3l5 5-5 5"})})}function nn({direction:a}){return t.jsx("svg",{className:be.chevron,"data-direction":a,viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t.jsx("path",{d:"M3 3l5 5-5 5M9 3l5 5-5 5"})})}function Kd(a){const e={},o=[];return a.forEach(n=>{var r;n.group?(e[r=n.group]??(e[r]=[])).push(n):o.push(n)}),{groups:e,ungrouped:o}}const Dr=i.forwardRef(function(e,o){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,description:h,helperText:N,assistiveWithIcon:v,error:w,required:C,id:P,readOnly:R,readOnlyComponent:T,emptyValueComponent:g,data:y,defaultData:S,onChange:b,sourceLabel:$="Available",targetLabel:L="Selected",searchable:z=!0,searchPlaceholder:A="Filter items...",disabled:I=!1,className:q,style:H,...G}=e,Z=f(G,n),V=i.useId(),K=P||`recursica-transfer-list-${V}`,[Q,ce]=i.useState(()=>S??y??[[],[]]),M=y!==void 0?y:Q,ne=i.useCallback(U=>{y===void 0&&ce(U),b==null||b(U)},[y,b]),[de,O]=i.useState(""),[ae,fe]=i.useState(""),[re,se]=i.useState(()=>new Set),[ye,Ne]=i.useState(()=>new Set),Ue=i.useMemo(()=>{if(!de)return M[0];const U=de.toLowerCase();return M[0].filter(E=>E.label.toLowerCase().includes(U))},[M,de]),Ce=i.useMemo(()=>{if(!ae)return M[1];const U=ae.toLowerCase();return M[1].filter(E=>E.label.toLowerCase().includes(U))},[M,ae]),Ve=i.useCallback(()=>{if(re.size===0)return;const U=M[0].filter(W=>!re.has(W.value)),E=M[0].filter(W=>re.has(W.value));se(new Set),ne([U,[...M[1],...E]])},[M,re,ne]),Le=i.useCallback(()=>{if(ye.size===0)return;const U=M[1].filter(W=>!ye.has(W.value)),E=M[1].filter(W=>ye.has(W.value));Ne(new Set),ne([[...M[0],...E],U])},[M,ye,ne]),Me=i.useCallback(()=>{M[0].length!==0&&(se(new Set),ne([[],[...M[1],...M[0]]]))},[M,ne]),eo=i.useCallback(()=>{M[1].length!==0&&(Ne(new Set),ne([[...M[0],...M[1]],[]]))},[M,ne]),ge=i.useCallback(U=>{se(E=>{const W=new Set(E);return W.has(U)?W.delete(U):W.add(U),W})},[]),He=i.useCallback(U=>{Ne(E=>{const W=new Set(E);return W.has(U)?W.delete(U):W.add(U),W})},[]),we=(U,E,W,k,F,Y,pe,qe)=>{const{groups:oo,ungrouped:j}=Kd(W),oe=Object.keys(oo).sort(),te=F.size>0?`${F.size} / ${k.length}`:`${k.length}`;return t.jsxs("div",{className:be.pane,"data-pane":U,children:[t.jsxs("div",{className:be.paneHeader,children:[t.jsx("span",{children:E}),t.jsx(bn,{children:te})]}),z&&t.jsx("div",{className:be.paneSearch,children:t.jsx(zt,{value:pe,onChange:X=>qe(X.currentTarget.value),placeholder:A,disabled:I,"aria-label":`Filter ${E.toLowerCase()}`})}),t.jsxs("div",{className:be.paneList,children:[W.length===0&&t.jsx("div",{className:be.emptyState,children:"No items"}),j.length>0&&t.jsx(go,{children:j.map(X=>t.jsx(wo,{id:`${K}-${U}-${X.value}`,label:X.label,checked:F.has(X.value),onChange:()=>Y(X.value),disabled:I},X.value))}),oe.map(X=>t.jsx(go,{label:X,labelSize:"small",children:oo[X].map(me=>t.jsx(wo,{id:`${K}-${U}-${me.value}`,label:me.label,checked:F.has(me.value),onChange:()=>Y(me.value),disabled:I},me.value))},X))]})]})},Ge=q?`${be.layoutOverride} ${q}`:be.layoutOverride;return t.jsx(ue,{ref:o,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,description:h,helperText:N,assistiveWithIcon:v,error:w,required:C,id:K,className:Ge,style:H,overStyled:n,readOnly:R,readOnlyComponent:T,emptyValueComponent:g,readOnlyType:"text",readOnlyValue:M[1].map(U=>U.label),readOnlyNativeProps:e,activeComponent:t.jsx("div",{...Z,className:be.root,"data-disabled":I?"true":void 0,"data-error":w?"true":void 0,children:t.jsxs("div",{className:be.panes,children:[we("source",$,Ue,M[0],re,ge,de,O),t.jsxs("div",{className:be.transferColumn,children:[t.jsx(je,{variant:"outline",size:"small",icon:t.jsx(nn,{direction:"right"}),"aria-label":`Move all to ${L}`,disabled:I||M[0].length===0,onClick:Me}),t.jsx(je,{variant:"outline",size:"small",icon:t.jsx(tn,{direction:"right"}),"aria-label":`Move selected to ${L}`,disabled:I||re.size===0,onClick:Ve}),t.jsx(je,{variant:"outline",size:"small",icon:t.jsx(tn,{direction:"left"}),"aria-label":`Move selected to ${$}`,disabled:I||ye.size===0,onClick:Le}),t.jsx(je,{variant:"outline",size:"small",icon:t.jsx(nn,{direction:"left"}),"aria-label":`Move all to ${$}`,disabled:I||M[1].length===0,onClick:eo})]}),we("target",L,Ce,M[1],ye,He,ae,fe)]})})})});Dr.displayName="TransferList";const Yd="Tree-module__root___ANcH3",Zd="Tree-module__subtree___KoLT8",Xd="Tree-module__node___Hvnjg",Qd="Tree-module__row___sq5ff",Jd="Tree-module__label___zJDit",eu="Tree-module__expandButton___W0WTT",ou="Tree-module__expandGlyph___w8dDQ",Je={root:Yd,subtree:Zd,node:Xd,row:Qd,label:Jd,expandButton:eu,expandGlyph:ou};function tu(){return t.jsx("svg",{className:Je.expandGlyph,viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t.jsx("path",{d:"M5 3l5 5-5 5"})})}function nu(a){return function({node:o,hasChildren:n,expanded:r,selected:s,tree:l,elementProps:d}){return t.jsxs("div",{...d,className:Je.row,"data-has-children":n||void 0,"data-expanded":n&&r?!0:void 0,children:[t.jsx(je,{overStyled:!0,variant:"text",size:"small",icon:t.jsx(tu,{}),"aria-label":"Toggle subtree","aria-hidden":"true",tabIndex:-1,className:Je.expandButton,onMouseDown:c=>c.preventDefault(),onClick:c=>{c.stopPropagation(),!a&&l.toggleExpanded(o.value)}}),t.jsx("span",{className:Je.label,"data-selected":s||void 0,children:o.label})]})}}const Er=i.forwardRef(function({overStyled:e=!1,data:o,initialExpandedValues:n,initialSelectedValues:r,multiple:s=!1,disabled:l=!1,onNodeExpand:d,onNodeCollapse:c,onSelectedChange:u,..._},m){const x=f(_,e),h=p.useTree({initialExpandedState:n?p.getTreeExpandedState(o,n):void 0,initialSelectedState:r,multiple:s,onNodeExpand:d,onNodeCollapse:c});i.useEffect(()=>{u==null||u(h.selectedState)},[h.selectedState,u]);const N=i.useRef(null);i.useEffect(()=>{const R=N.current;if(!R)return;const T=g=>{if(l||g.key!=="Enter"&&g.key!==" ")return;const y=g.target.closest('[role="treeitem"]'),S=y==null?void 0:y.dataset.value;S&&(g.preventDefault(),h.select(S))};return R.addEventListener("keydown",T),()=>R.removeEventListener("keydown",T)},[h.select,l]),i.useEffect(()=>{const R=N.current;if(!R||!l)return;const T=g=>{g.preventDefault(),g.stopPropagation()};return R.addEventListener("keydown",T,{capture:!0}),()=>R.removeEventListener("keydown",T,{capture:!0})},[l]);const v=an.useMergedRef(m,N),w=x,C=w.className,P=C?`${Je.root} ${C}`:Je.root;return t.jsx(p.Tree,{ref:v,...x,data:o,tree:h,expandOnClick:!1,selectOnClick:!l,expandOnSpace:!1,renderNode:nu(l),"data-disabled":l||void 0,classNames:D({root:P,node:Je.node,subtree:Je.subtree},w.classNames)})});Er.displayName="Tree";function rn(a,e){var n;const o=(n=a[e])==null?void 0:n.$value;if(o!==void 0){if(typeof o!="number"||!Number.isFinite(o)||o<0)throw new Error(`layout-grid ${e} must be a non-negative number, got ${String(o)}`);return o}}function ru(a){var r;const e=((r=a.brand)==null?void 0:r["layout-grids"])??{},o=[];let n;for(const[s,l]of Object.entries(e)){if(s==="default")continue;const d=rn(l,"min-width"),c=rn(l,"max-width");if(d===void 0&&c===void 0)throw new Error(`layout-grid "${s}" has neither min-width nor max-width`);c!==void 0&&(n===void 0||c>n)&&(n=c),o.push([s,d??0])}if(o.length>0){if(n===void 0)throw new Error('Cannot place the "default" layout-grid: no other grid has a max-width to start after');o.push(["default",n+1])}return Object.fromEntries(o.sort((s,l)=>s[1]-l[1]).map(([s,l])=>[s,`${l}px`]))}exports.Accordion=Wo;exports.AccordionControl=Mo;exports.AccordionItem=ot;exports.AccordionPanel=Ao;exports.AssistiveElement=Io;exports.AutoComplete=hn;exports.Avatar=Va;exports.Badge=bn;exports.Breadcrumb=Nn;exports.Button=je;exports.Card=is;exports.CardContent=it;exports.CardFooter=lt;exports.CardHeader=st;exports.CardSection=at;exports.Checkbox=wo;exports.CheckboxGroup=go;exports.Chip=Po;exports.Container=Tn;exports.DatePicker=Sn;exports.Dropdown=Rn;exports.EmptyValueRenderer=Co;exports.FileInput=jn;exports.FileUpload=$n;exports.Flex=yl;exports.FormControlLayout=De;exports.Group=Wn;exports.Heading=zn;exports.HoverCard=ct;exports.IS_DEV=Oe;exports.Label=tt;exports.Layer=Yo;exports.LayoutGrid=An;exports.LayoutGridCol=Mn;exports.Link=Ll;exports.Loader=rt;exports.Menu=ao;exports.Modal=Fe;exports.NumberInput=sr;exports.Pagination=ke;exports.Panel=Ie;exports.PanelBody=wt;exports.PanelCloseButton=gt;exports.PanelContent=bt;exports.PanelFooter=ht;exports.PanelHeader=Nt;exports.PanelOverlay=xt;exports.PanelRoot=vt;exports.PanelTitle=Ct;exports.Popover=Pt;exports.RECURSICA_COMPONENTS=qr;exports.Radio=St;exports.RadioGroup=Tt;exports.ReadOnlyBooleanField=xr;exports.ReadOnlyField=nt;exports.ReadOnlySwitchField=vr;exports.ReadOnlyTextField=No;exports.RecursicaManifestContext=Qo;exports.RecursicaThemeProvider=Gr;exports.SegmentedControl=Hi;exports.Slider=Nr;exports.Stack=dc;exports.Stepper=Tc;exports.Switch=jt;exports.SwitchGroup=Rt;exports.Table=Be;exports.TableCaption=At;exports.TableScrollContainer=Wt;exports.TableTbody=Ot;exports.TableTd=Lt;exports.TableTfoot=Mt;exports.TableTh=It;exports.TableThead=$t;exports.TableTr=kt;exports.Tabs=Gc;exports.Text=Xc;exports.TextArea=kr;exports.TextField=zt;exports.TimePicker=Lr;exports.Timeline=Ar;exports.TimelineItem=Dt;exports.Toast=Wr;exports.Tooltip=Ft;exports.TooltipFloating=Et;exports.TransferList=Dr;exports.Tree=Er;exports.WithReadOnlyWrapper=ue;exports.breakpointsFromRecManifest=ru;exports.copyToClipboard=Kr;exports.fileMatchesAccept=Jo;exports.injectOverStyledStyles=Zo;exports.isGlobalOverStyledActive=Hr;exports.markCurrentPageItem=cn;exports.mergeClassNames=D;exports.mergeStyles=un;exports.normalizeComboboxData=et;exports.omitUnsupportedProps=B;exports.registerOverStyledConsoleCommand=Xo;exports.toggleGlobalOverStyled=sn;exports.useGlobalOverStyled=ln;exports.useRecursicaManifest=dn;exports.withCallerOverride=$e;exports.wrapComponent=mn;
|
|
11
|
+
`,document.head.appendChild(e))}function Xo(){if(!Oe)return;if(typeof window>"u"){console.warn("[Recursica] window is undefined. Cannot register console command.");return}const a=e=>{try{e.recursica=e.recursica||{},e.recursica.toggleOverStyled=()=>`[Recursica] Overstyled outline highlight is now: ${sn()?"ON (cyan 2px box shadow)":"OFF"}`}catch{}};a(window),window.parent&&window.parent!==window&&a(window.parent)}function cn(a){const e=i.Children.toArray(a),t=e.length-1;return e.map((n,r)=>{if(r!==t||!i.isValidElement(n))return n;const s=n.props,l=s.href!==void 0||s.onClick!==void 0;return Oe&&l&&console.warn(`[Breadcrumb] The last item represents the current page and should be plain, non-interactive text (e.g. a <span>), not a link. Breadcrumb stripped its href/onClick and added aria-current="page", but this can't stop a custom Link component (e.g. a router Link) that navigates from its own internal handler rather than these props.`),i.cloneElement(n,{"aria-current":"page",...l?{href:void 0,onClick:void 0,tabIndex:-1}:{}})})}const Qo=i.createContext(void 0);function dn(){const a=i.useContext(Qo);if(!a)throw new Error("This component needs the Recursica manifest: pass the parsed recursica_manifest.json as the `manifest` prop of RecursicaThemeProvider.");return a}const Gt="data-recursica-theme";function Gr({children:a,theme:e="light",initLayer0:t=!0,manifest:n}){i.useEffect(()=>{const s=document.documentElement;return s.setAttribute(Gt,e),()=>{s.removeAttribute(Gt)}},[e]),i.useEffect(()=>{Zo(),Xo()},[]);const r=t?o.jsx(Yo,{layer:0,children:a}):o.jsx(o.Fragment,{children:a});return o.jsx(Qo.Provider,{value:n,children:r})}const qr=["Accordion","AssistiveElement","Autocomplete","Avatar","Badge","Box","Breadcrumb","Button","Card","Checkbox","CheckboxGroup","Chip","Container","DatePicker","Dropdown","EmptyValueRenderer","FileInput","FileUpload","Flex","FormControlLayout","FormControlWrapper","Group","Heading","HoverCard","Label","Layer","LayoutGrid","Link","Loader","Menu","Modal","NumberInput","Pagination","Panel","Popover","Radio","ReadOnlyField","SegmentedControl","Slider","Stack","Stepper","Switch","Table","Tabs","Text","TextArea","TextField","TimePicker","Timeline","Toast","Tooltip","TransferList","Tree","Typography"],Kr=(a,e)=>{const t=document.activeElement;return new Promise((n,r)=>{if(e&&e.current){const s=document.createElement("textarea");s.readOnly=!0,s.defaultValue=a,e.current.appendChild(s),s.select();const l=document.execCommand("copy");e.current.removeChild(s),t&&t.focus(),l?n():r(new Error("Failed to copy"))}else r(new Error("Copy area reference is not defined"))})};function Jo(a,e){const t=(e??"").split(",").map(s=>s.trim().toLowerCase()).filter(Boolean);if(t.length===0)return!0;const n=a.name.toLowerCase(),r=a.type.toLowerCase();return t.some(s=>s.startsWith(".")?n.endsWith(s):s.endsWith("/*")?r.startsWith(s.slice(0,-1)):r===s)}function D(a,e){if(!e)return a;const t={...a},n=new Set([...Object.keys(a),...Object.keys(e)]);for(const r of n){const s=a[r],l=e[r];t[r]=[s,l].filter(Boolean).join(" ")||void 0}return t}function un(a,e){if(!e)return a;const t={...a},n=new Set([...Object.keys(a),...Object.keys(e)]);for(const r of n){const s=a[r],l=e[r];t[r]=s||l?{...s,...l}:void 0}return t}function et(a){return a==null?void 0:a.map(e=>typeof e=="string"?e:{...e,label:e.label??e.value})}function B(a,e){const t={...a};for(const n of e)n in t&&delete t[n];return t}function $e(a,e){return e!==void 0?e:a}const Yr=Symbol.for("react.forward_ref"),Zr=Symbol.for("react.memo");function pn(a){return a?a.prototype&&a.prototype.isReactComponent||a.$$typeof===Yr?!0:a.$$typeof===Zr?pn(a.type):!1:!1}function mn(a){if(!Oe||typeof a!="function"&&!(a&&a.$$typeof))return a;const e=pn(a),t=a.displayName||a.name||"Component",n=i.forwardRef((s,l)=>{const{overStyled:d}=s,c=ln();Oe&&l&&!e&&console.warn(`[wrapComponent] "${t}" does not support refs (not a class component or forwardRef) — the ref passed to it was dropped instead of forcing React's "function components cannot be given refs" warning.`);const u=e?{...s,ref:l}:s,_=i.createElement(a,u);return d&&c?o.jsx("div",{className:"recursica-over-styled",children:_}):_});n.displayName=a.displayName||a.name||"Component";const r=Object.keys(a);for(const s of r){if(s==="render"||s==="$$typeof")continue;const l=a[s];(typeof l=="function"||l&&l.$$typeof)&&s[0]===s[0].toUpperCase()?n[s]=mn(l):n[s]=l}return n}const Xr=["className","classNames","style","styles","vars","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","bd","bdw","bds","bdc","bdr","shadow","w","miw","maw","h","mih","mah"],_n=new Set(["m","my","mx","mt","mb","ml","mr","gap","rowGap","columnGap","gutter","top","left","bottom","right"]),ko={"rec-none":"var(--recursica_brand_dimensions_general_none)","rec-sm":"var(--recursica_brand_dimensions_general_sm)","rec-default":"var(--recursica_brand_dimensions_general_default)","rec-md":"var(--recursica_brand_dimensions_general_md)","rec-lg":"var(--recursica_brand_dimensions_general_lg)","rec-xl":"var(--recursica_brand_dimensions_general_xl)","rec-2xl":"var(--recursica_brand_dimensions_general_2xl)"};function So(a){const e={...a};for(const[t,n]of Object.entries(e))typeof n=="string"&&n.startsWith("rec-")&&_n.has(t)&&n in ko&&(e[t]=ko[n]);return e}function f(a,e){if(e)return a;const t={...a};for(const n of Xr)n in t&&delete t[n];for(const[n,r]of Object.entries(t))typeof r=="string"&&r.startsWith("rec-")&&_n.has(n)&&r in ko&&(t[n]=ko[r]);return t}const Qr="Accordion-module__root___Dem6d",Jr="Accordion-module__item___7ryVk",ea="Accordion-module__noDivider___Ni2tT",oa="Accordion-module__control___b4wgX",ta="Accordion-module__label___Ss7uW",na="Accordion-module__icon___xfHxX",ra="Accordion-module__chevron___i-HVZ",aa="Accordion-module__iconLeftWrapper___5oLen",sa="Accordion-module__panel___Wx50w",la="Accordion-module__content___PEM9t",Re={root:Qr,item:Jr,noDivider:ea,control:oa,label:ta,icon:na,chevron:ra,iconLeftWrapper:aa,panel:sa,content:la},qt={default:"unstyled"},fn=function({variant:e="default",overStyled:t=!1,...n}){const r=typeof e=="string"&&qt[e]?qt[e]:e,s=f(n,t),l=s,d=D({root:Re.root,item:Re.item,control:Re.control,label:Re.label,chevron:Re.chevron,icon:Re.icon,panel:Re.panel,content:Re.content},l.classNames),c=l.className;return o.jsx(p.Accordion,{...s,variant:r,className:c,classNames:d})};fn.displayName="Accordion";const ot=i.forwardRef(function({title:e,leftIcon:t,divider:n=!0,children:r,disabled:s=!1,overStyled:l=!1,...d},c){const u=f(d,l),_=u.className,m=[n?void 0:Re.noDivider,_].filter(Boolean).join(" ")||void 0;return o.jsx(p.Accordion.Item,{ref:c,...u,className:m,"data-disabled":s||void 0,children:e?o.jsxs(o.Fragment,{children:[o.jsx(Mo,{leftIcon:t,disabled:s,children:e}),o.jsx(Ao,{children:r})]}):r})});ot.displayName="AccordionItem";const ia=["icon"],Mo=i.forwardRef(function({leftIcon:e,children:t,overStyled:n=!1,...r},s){const l=B(f(r,n),ia),d=l.className;return o.jsx(p.Accordion.Control,{ref:s,...l,className:d,icon:e?o.jsx("span",{className:Re.iconLeftWrapper,"aria-hidden":!0,children:e}):void 0,children:t})});Mo.displayName="AccordionControl";const Ao=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r.className;return o.jsx(p.Accordion.Panel,{ref:n,...r,className:s})});Ao.displayName="AccordionPanel";const Wo=fn;Wo.Item=ot;Wo.Control=Mo;Wo.Panel=Ao;const ca="AssistiveElement-module__root___WhQ43",da="AssistiveElement-module__textWrapper___sfy5E",ua="AssistiveElement-module__iconWrapper___gObRF",Uo={root:ca,textWrapper:da,iconWrapper:ua},pa=()=>o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"12",cy:"12",r:"10"}),o.jsx("path",{d:"M12 16v-4"}),o.jsx("path",{d:"M12 8h.01"})]}),ma=()=>o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),o.jsx("path",{d:"M12 9v4"}),o.jsx("path",{d:"M12 17h.01"})]}),Io=i.forwardRef(function({assistiveVariant:e="help",assistiveWithIcon:t=!0,children:n,className:r,role:s,overStyled:l=!1,...d},c){const _=f(d,l),m=Uo.root,x=r?`${m} ${r}`:m,y=e==="error"?ma:pa,N=s??(e==="error"?"alert":void 0);return o.jsxs("div",{ref:c,..._,className:x,"data-variant":e,role:N,style:_.style,children:[t&&o.jsx("span",{className:Uo.iconWrapper,children:o.jsx(y,{})}),o.jsx("span",{className:Uo.textWrapper,children:n})]})});Io.displayName="AssistiveElement";const _a="Label-module__root___e6HXZ",fa="Label-module__labelText___rieFR",ya="Label-module__required___Ggrzc",ha="Label-module__optionalText___Y2yun",va="Label-module__actionAreaWrapper___ELoZK",xa="Label-module__editIconWrapper___NG2xW",Ke={root:_a,labelText:fa,required:ya,optionalText:ha,actionAreaWrapper:va,editIconWrapper:xa},tt=i.forwardRef(function({labelSize:e="default",labelAlignment:t,required:n=!1,labelOptionalText:r,labelWithEditIcon:s,labelActionArea:l,onLabelEditClick:d,children:c,overStyled:u=!1,..._},m){const x=t||"left";let y;n||(r===!0?y="optional":r&&(y=r));const N=["size"],v=B(f(_,u),N),w=v,C=D({label:Ke.root,required:Ke.required},w.classNames),P=w.className,R=P?`${Ke.root} ${P}`:Ke.root;return o.jsxs(p.Input.Label,{ref:m,...v,className:R,classNames:C,"data-size":e,"data-alignment":x,required:n&&!s,children:[o.jsx("span",{className:Ke.labelText,children:c}),y&&o.jsx("span",{className:Ke.optionalText,children:typeof y=="string"?`(${y})`:y}),l?o.jsx("span",{className:Ke.actionAreaWrapper,children:l}):s?o.jsx("button",{type:"button",className:Ke.editIconWrapper,"data-replaces-asterisk":n?"true":void 0,onClick:d,"aria-label":"Edit",children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M11.5303 2.46967C11.8232 2.17678 12.2981 2.17678 12.591 2.46967L13.5303 3.40898C13.8232 3.70188 13.8232 4.17675 13.5303 4.46964L5.61288 12.3871C5.45268 12.5473 5.24434 12.6483 5.01809 12.6766L2.39534 13.0044C2.10091 13.0412 1.83856 12.7789 1.87538 12.4845L2.2032 9.86175C2.23147 9.63551 2.3325 9.42716 2.4927 9.26696L11.5303 2.46967Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})}):null]})});tt.displayName="Label";const ba="FormControlLayout-module__root___yNDhZ",Na="FormControlLayout-module__leftSection___GBM1r",Ca="FormControlLayout-module__rightSection___bcL4v",jo={root:ba,leftSection:Na,rightSection:Ca},De=i.forwardRef(function({formLayout:e="stacked",labelSize:t="default",controlMaxWidth:n,controlMinWidth:r,leftSection:s,children:l,className:d,style:c,...u},_){const m=d?`${jo.root} ${d}`:jo.root,y=s!=null||e==="side-by-side";return o.jsxs("div",{ref:_,className:m,"data-form-layout":e,style:{...c,...n?{"--form-control-max-width":n}:{},...r?{"--form-control-min-width":r}:{}},...u,children:[y&&o.jsx("div",{className:jo.leftSection,"data-size":t,children:s}),o.jsx("div",{className:jo.rightSection,children:l})]})});De.displayName="FormControlLayout";const ga="FormControlWrapper-module__root___c-UHo",wa="FormControlWrapper-module__inputSection___HenXk",Kt={root:ga,inputSection:wa},co=i.forwardRef(function({formLayout:e,labelSize:t,labelAlignment:n,labelOptionalText:r,labelWithEditIcon:s,labelActionArea:l,onLabelEditClick:d,label:c,description:u,assistiveText:_,assistiveWithIcon:m=!0,controlMaxWidth:x,controlMinWidth:y,error:N,required:v,withAsterisk:w,id:C,children:P,className:R,overStyled:T=!1,labelElement:g,...h},S){const b=i.useId(),$=C||`recursica-fc-${b}`,L=`${$}-label`,z=_||u,A=z?`${$}-assistive`:void 0,I=N?`${$}-error`:void 0,H=f(h,T),G=R||H.className,Z=Kt.root,V=G?`${Z} ${G}`:Z,K=i.isValidElement(P)?i.cloneElement(P,{...P.props.id?{}:{id:$},"aria-labelledby":L,...z&&!P.props["aria-describedby"]?{"aria-describedby":A}:{},...N&&!P.props["aria-errormessage"]?{"aria-errormessage":I}:{}}):P,Q=c?o.jsx(tt,{id:L,htmlFor:$,labelAlignment:n,labelOptionalText:r,labelWithEditIcon:s,labelActionArea:l,onLabelEditClick:d,required:w??v,...g==="div"?{as:"div"}:{},children:c}):void 0;return o.jsx(De,{ref:S,className:V,formLayout:e,labelSize:t,controlMaxWidth:x,controlMinWidth:y,leftSection:Q,...H,children:o.jsxs("div",{className:Kt.inputSection,children:[K,N&&o.jsx(Io,{id:I,assistiveVariant:"error",assistiveWithIcon:m,children:N}),!N&&z&&o.jsx(Io,{id:A,assistiveVariant:"help",assistiveWithIcon:m,children:z})]})})});co.displayName="FormControlWrapper";const Pa="ReadOnlyField-module__layoutOverride___9fSsG",Ta="ReadOnlyField-module__textField___qKn25",uo={layoutOverride:Pa,textField:Ta},No=({value:a,overStyled:e=!1,...t})=>{const n=f(t,e),r=n.className;return o.jsx(p.Box,{component:"p",...n,className:r?`${uo.textField} ${r}`:uo.textField,children:a!=null?i.isValidElement(a)?a:Array.isArray(a)?a.join(", "):String(a):""})};No.displayName="ReadOnlyTextField";const nt=i.forwardRef(function({value:e,type:t="text",emptyValueComponent:n,overStyled:r=!1,className:s,style:l,...d},c){let u=null;const _=f(d,r),m=n||Co,y=(m.check?m.check(e):Co.check(e))?o.jsx(m,{value:e}):e;switch(t){case"boolean":u=o.jsx(No,{value:e===!0?"True":e===!1?"False":y,overStyled:r});break;case"switch":u=o.jsx(No,{value:e===!0?"On":e===!1?"Off":y,overStyled:r});break;case"text":default:u=o.jsx(No,{value:y,overStyled:r});break}const N=s?`${uo.layoutOverride} ${s}`:uo.layoutOverride;return o.jsx(co,{ref:c,..._,overStyled:r,className:N,style:l,children:u})});nt.displayName="ReadOnlyField";const ue=i.forwardRef(function({readOnly:e,readOnlyComponent:t,readOnlyType:n="text",readOnlyValue:r,readOnlyNativeProps:s,emptyValueComponent:l,activeComponent:d,overStyled:c,onLabelEditClick:u,..._},m){if(e){if(t){const x=t;return o.jsx(co,{ref:m,..._,onLabelEditClick:u,overStyled:c,children:o.jsx(x,{...s})})}return o.jsx(nt,{ref:m,..._,type:n,value:r,emptyValueComponent:l,onLabelEditClick:u,overStyled:c})}return o.jsx(co,{ref:m,..._,onLabelEditClick:u,overStyled:c,children:d})});ue.displayName="WithReadOnlyWrapper";function yn({option:a},e,t=!1){const{label:n,leadingIcon:r,supportingText:s}=a,l=n??a.value;if(!r&&!s)return l;const d=t?`${e.optionText} ${e.optionTextWrap}`:e.optionText;return o.jsxs("span",{className:e.optionContent,children:[r&&o.jsx("span",{className:e.optionIcon,children:r}),o.jsxs("span",{className:d,children:[o.jsx("span",{children:l}),s&&o.jsx("span",{className:e.optionSupportingText,children:s})]})]})}const Sa="AutoComplete-module__layoutOverride___-K9WL",Ra="AutoComplete-module__root___kANza",ja="AutoComplete-module__input___g51MC",$a="AutoComplete-module__section___WAbf1",Oa="AutoComplete-module__dropdown___NqO3E",ka="AutoComplete-module__option___Y-Kja",Ia="AutoComplete-module__optionContent___UAkUA",La="AutoComplete-module__optionIcon___tbbmW",Ma="AutoComplete-module__optionText___aQwHF",Aa="AutoComplete-module__optionTextWrap___RFICS",Wa="AutoComplete-module__optionSupportingText___OoA1N",ve={layoutOverride:Sa,root:Ra,input:ja,section:$a,dropdown:Oa,option:ka,optionContent:Ia,optionIcon:La,optionText:Ma,optionTextWrap:Aa,optionSupportingText:Wa},za=["size","variant","radius"],hn=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,value:S,defaultValue:b,data:$,renderOption:L,wrapItemText:z=!1,...A}=e,I=B(f(A,n),za),q=I,H=et($),G=D({wrapper:ve.root,input:ve.input,section:ve.section,dropdown:ve.dropdown,option:ve.option},q.classNames),Z={optionContent:ve.optionContent,optionIcon:ve.optionIcon,optionText:ve.optionText,optionTextWrap:ve.optionTextWrap,optionSupportingText:ve.optionSupportingText},V=C?`${ve.layoutOverride} ${C}`:ve.layoutOverride;return o.jsx(ue,{className:V,style:P,controlMaxWidth:"var(--autocomplete-control-max-width)",controlMinWidth:"var(--autocomplete-control-min-width)",overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,readOnlyType:"text",readOnlyValue:S!==void 0?S:b,readOnlyNativeProps:e,activeComponent:o.jsx(p.Autocomplete,{ref:t,...I,classNames:G,disabled:R,value:S,defaultValue:b,error:!!y,data:H,renderOption:L??(K=>yn(K,Z,z))})})});hn.displayName="AutoComplete";const Da="Avatar-module__root___fXu-J",Ea="Avatar-module__iconWrapper___ojly2",Fa="Avatar-module__textWrapper___zp-jD",Ba="Avatar-module__image___ieqGp",Ua="Avatar-module__placeholder___IDW7-",po={root:Da,iconWrapper:Ea,textWrapper:Fa,image:Ba,placeholder:Ua},vn=i.forwardRef(function({size:e="default",variant:t="solid",icon:n,children:r,src:s,overStyled:l=!1,...d},c){const u={solid:"filled",outline:"outline",ghost:"transparent"},_={default:"md",small:"sm",large:"lg"},m=["color","radius"],x=B(f(d,l),m),y=x;let N="text";s?N="image":n&&(N="icon");const v=D({root:po.root,image:po.image,placeholder:po.placeholder},y.classNames),w=y.className;return o.jsx(p.Avatar,{ref:c,...x,className:w,classNames:v,variant:u[t],size:_[e],src:s,"data-variant":t,"data-size":e,"data-style":N,children:n!=null?o.jsx("span",{className:po.iconWrapper,"aria-hidden":!0,children:n}):r!=null?o.jsx("span",{className:po.textWrapper,children:r}):void 0})});vn.displayName="Avatar";const Va=p.createPolymorphicComponent(vn),Ha="Badge-module__root___5osNT",mo={root:Ha},xn=i.forwardRef(function({variant:e="primary-color",overStyled:t=!1,...n},r){const s=f(n,t),l=D({root:mo.root,section:mo.section,label:mo.label},s.classNames),d=s.className,c=d?`${mo.root} ${d}`:mo.root;return o.jsx(p.Badge,{ref:r,...s,variant:"filled","data-variant":e,className:c,classNames:l})});xn.displayName="Badge";const bn=p.createPolymorphicComponent(xn),Ga="Breadcrumb-module__root___x-9ln",qa="Breadcrumb-module__separator___qrUX-",$o={root:Ga,separator:qa},Nn=i.forwardRef(function({overStyled:e=!1,separator:t=">",children:n,...r},s){const l=f({separator:t,children:cn(n),...r},e),d=D({root:$o.root,separator:$o.separator},l.classNames),c=l.attributes,u={...c,separator:{"aria-hidden":!0,...c==null?void 0:c.separator}},_=l.className,m=_?`${$o.root} ${_}`:$o.root;return o.jsx(p.Breadcrumbs,{ref:s,...l,className:m,classNames:d,attributes:u})});Nn.displayName="Breadcrumb";const Ka="Loader-module__root___6iYOP",Vo={root:Ka},rt=i.forwardRef(function({variant:e="oval",size:t="default",animate:n=!0,overStyled:r=!1,...s},l){const c={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[t]||"default",u=f(s,r),_=u,m=D({root:Vo.root},_.classNames),x=_.className,y=x?`${Vo.root} ${x}`:Vo.root;return o.jsx(p.Loader,{ref:l,...u,type:e,"data-variant":e,"data-size":c,"data-animate":n,className:y,classNames:m})});rt.displayName="Loader";const Ya="Button-module__root___Q2R8-",Za="Button-module__loader___X-9u-",Xa="Button-module__label___UJ3Zt",Qa="Button-module__labelText___rFV5p",Ja="Button-module__iconWrapper___uEKPa",es="Button-module__section___f2mKr",Ye={root:Ya,loader:Za,label:Xa,labelText:Qa,iconWrapper:Ja,section:es};function os(a){return a==null||a===""?!1:typeof a=="string"?a.trim()!=="":!0}const Cn=i.forwardRef(function({variant:e="solid",size:t="default",icon:n,children:r,overStyled:s=!1,loaderVariant:l="oval",loaderSize:d,useRecursicaLoader:c=!0,...u},_){const m={solid:"filled",outline:"outline",text:"subtle"},x={default:"md",small:"sm"},y=["fullWidth"],N=B(f(u,s),y),v=N,w=!!n||!!v.leftSection,C=!!v.rightSection,P=os(r),R=(w||C)&&!P;let T="label";R?T="icon-only":(w||C)&&(T="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&R&&!v["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const g=D({root:Ye.root,section:Ye.section,label:Ye.label,loader:Ye.loader},v.classNames),h=v.className,S=h?`${Ye.root} ${h}`:Ye.root,b=v.loaderProps,$=$e(t==="small"?"small":"default",d);let L=b;return c&&(L={children:o.jsx(rt,{variant:l,size:$,overStyled:!0,color:"var(--button-color)"}),...b}),o.jsx(p.Button,{ref:_,...N,className:S,classNames:g,variant:m[e],size:x[t],loaderProps:L,leftSection:n!=null?o.jsx("span",{className:Ye.iconWrapper,"aria-hidden":!0,children:n}):void 0,"data-variant":e,"data-size":t,"data-content":T,disabled:!!v.disabled||!!v.loading,children:o.jsx("span",{className:Ye.labelText,children:r})})});Cn.displayName="Button";const je=p.createPolymorphicComponent(Cn),ts="Card-module__root___c9KvZ",ns="Card-module__header___PTXf2",rs="Card-module__footer___Mu-JC",as="Card-module__section___BRT8H",ss="Card-module__content___oFIQa",Ee={root:ts,header:ns,footer:rs,section:as,content:ss},ls=["radius","withBorder","padding"],gn=i.forwardRef(function({overStyled:e=!1,...t},n){const r=B(f(t,e),ls);["flex","flexGrow","flexShrink","flexBasis","grow","h","height"].forEach(c=>{c in t&&!(c in r)&&(r[c]=t[c])});const l=D({root:Ee.root},r.classNames),d=r.className;return o.jsx(p.Card,{ref:n,...r,className:d,classNames:l})});gn.displayName="Card";const at=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r.className;return o.jsx(p.Card.Section,{ref:n,...r,className:s?`${Ee.section} ${s}`:Ee.section})});at.displayName="CardSection";const wn=["withBorder","inheritPadding"],st=i.forwardRef(function({overStyled:e=!1,...t},n){const r=B(f(t,e),wn),s=r.className;return o.jsx(p.Card.Section,{ref:n,...r,className:s?`${Ee.header} ${s}`:Ee.header})});st.displayName="CardHeader";const lt=i.forwardRef(function({overStyled:e=!1,...t},n){const r=B(f(t,e),wn),s=r.className;return o.jsx(p.Card.Section,{ref:n,...r,className:s?`${Ee.footer} ${s}`:Ee.footer})});lt.displayName="CardFooter";const it=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r.className;return o.jsx("div",{ref:n,...r,className:s?`${Ee.content} ${s}`:Ee.content})});it.displayName="CardContent";const Pn=p.createPolymorphicComponent(gn),zo=Pn;zo.Section=at;zo.Header=st;zo.Footer=lt;zo.Content=it;const is=Pn,cs="Checkbox-module__groupRoot___cBS0o",ds="Checkbox-module__root___mY3qk",us="Checkbox-module__body___5yC7q",ps="Checkbox-module__inner___rTke4",ms="Checkbox-module__input___2kt-h",_s="Checkbox-module__icon___-O7i6",fs="Checkbox-module__labelWrapper___GpZkr",ys="Checkbox-module__label___cwRtI",Te={groupRoot:cs,root:ds,body:us,inner:ps,input:ms,icon:_s,labelWrapper:fs,label:ys},go=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,children:T,readOnly:g,readOnlyComponent:h,emptyValueComponent:S,value:b,defaultValue:$,...L}=e,z=["size"],A=B(f(L,n),z),I=A,q=b!==void 0||$!==void 0;return o.jsx(ue,{className:P,style:R,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:n,labelElement:"div",formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,readOnly:g&&!!h,readOnlyComponent:h,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:b!==void 0?b:$,readOnlyNativeProps:e,activeComponent:q?o.jsx(p.Checkbox.Group,{ref:t,...A,disabled:g||I.disabled,value:b,defaultValue:$,children:o.jsx("div",{className:Te.groupRoot,"data-layout":r,children:T})}):o.jsx("div",{ref:t,...A,role:"group",className:Te.groupRoot,"data-layout":r,children:T})})});go.displayName="CheckboxGroup";const wo=i.forwardRef(function(e,t){const{overStyled:n=!1,readOnly:r,readOnlyComponent:s,disabled:l,formLayout:d,labelSize:c,controlMaxWidth:u,controlMinWidth:_,...m}=e,x=["size","color","radius","variant","iconColor"],y=B(f(m,n),x),N=y,v=D({root:Te.root,body:Te.body,inner:Te.inner,input:Te.input,icon:Te.icon,labelWrapper:Te.labelWrapper,label:Te.label},N.classNames),w=N.className,C=w?`${Te.root} ${w}`:Te.root;if(r&&s){const R=!!(N.checked??N.defaultChecked),T=s,g=o.jsx(T,{...e,checked:R,label:N.label});return d?o.jsx(De,{formLayout:d,labelSize:c,controlMaxWidth:u,controlMinWidth:_,children:g}):o.jsx(o.Fragment,{children:g})}const P=o.jsx(p.Checkbox,{ref:t,...y,className:C,classNames:v,disabled:r||l});return d?o.jsx(De,{formLayout:d,labelSize:c,controlMaxWidth:u,controlMinWidth:_,children:P}):P});wo.displayName="Checkbox";wo.Group=go;const hs="Chip-module__root___f5pFk",vs="Chip-module__label___Ov9pg",xs="Chip-module__mantineIconWrapper___KLSz6",bs="Chip-module__innerWrapper___EnrTF",Ns="Chip-module__children___zbRAR",Cs="Chip-module__leadingIcon___JBtjQ",gs="Chip-module__deleteIcon___zPPsH",Pe={root:hs,label:vs,mantineIconWrapper:xs,innerWrapper:bs,children:Ns,leadingIcon:Cs,deleteIcon:gs};function ws(a){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...a,children:[o.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const Po=i.forwardRef(function({error:e=!1,icon:t,onDelete:n,deleteLabel:r="Delete",deleteTabIndex:s,deleteIconRef:l,children:d,checked:c,overStyled:u=!1,wrapperProps:_,tabIndex:m,"aria-hidden":x,...y},N){const v=f(y,u),w=v,C=D({root:Pe.root,label:Pe.label,input:Pe.input,iconWrapper:Pe.mantineIconWrapper,checkIcon:Pe.checkIcon},w.classNames),P=w.className,R=P?`${Pe.root} ${P}`:Pe.root,T=e?"":void 0,g=!d&&(!!t||!!n),h=n!==void 0||w.onClick!==void 0||w.onChange!==void 0,S={...T!==void 0?{"data-error":""}:{},...h?{"data-interactive":""}:{}};return o.jsx(p.Chip,{ref:N,...v,checked:c,className:R,classNames:C,wrapperProps:$e(S,_),"data-icon-only":g?"":void 0,tabIndex:$e(h?void 0:-1,m),"aria-hidden":$e(h?void 0:!0,x),children:o.jsxs("span",{className:Pe.innerWrapper,children:[t&&!c&&o.jsx("span",{className:Pe.leadingIcon,"aria-hidden":!0,children:t}),o.jsx("span",{className:Pe.children,children:d}),n&&o.jsx("span",{ref:l,role:"button",className:Pe.deleteIcon,onClick:b=>{b.preventDefault(),b.stopPropagation(),n(b)},"aria-label":r,onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),b.stopPropagation(),n(b))},tabIndex:s??0,children:o.jsx(ws,{})})]})})});Po.displayName="Chip";const Ps="Container-module__root___UVssr",_o={root:Ps},Tn=i.forwardRef(function({children:e,size:t,...n},r){const s={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},l=typeof t=="string"&&s[t]?s[t]:t,d={root:_o.root},c=n.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const m=c;d.root=m.root?`${_o.root} ${m.root}`:_o.root}const u=n.className,_=u?`${_o.root} ${u}`:_o.root;return o.jsx(p.Container,{ref:r,size:l,className:_,classNames:d,...n,children:e})});Tn.displayName="Container";function Ts(a){return o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...a,children:[o.jsx("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),o.jsx("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),o.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),o.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})}const Ss="DatePicker-module__layoutOverride___X9yaM",Rs="DatePicker-module__root___6XvRT",js="DatePicker-module__input___pcSW8",$s="DatePicker-module__section___n3iWA",Os="DatePicker-module__dropdown___wjt08",ks="DatePicker-module__calendarHeader___KHxno",Is="DatePicker-module__calendarHeaderControl___q7UvJ",Ls="DatePicker-module__calendarHeaderLevel___ebdJ2",Ms="DatePicker-module__calendarHeaderControlIcon___2tZOb",As="DatePicker-module__weekday___H5lIj",Ws="DatePicker-module__day___U03J2",xe={layoutOverride:Ss,root:Rs,input:js,section:$s,dropdown:Os,calendarHeader:ks,calendarHeaderControl:Is,calendarHeaderLevel:Ls,calendarHeaderControlIcon:Ms,weekday:As,day:Ws},zs=["size","variant","radius","description"],Sn=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,value:S,defaultValue:b,highlightToday:$=!0,valueFormat:L="MM/DD/YY",placeholder:z="MM / DD / YY",leftSection:A,...I}=e,q=B(f(I,n),zs),H=q,G=D({wrapper:xe.root,input:xe.input,section:xe.section,day:xe.day,weekday:xe.weekday,calendarHeader:xe.calendarHeader,calendarHeaderControl:xe.calendarHeaderControl,calendarHeaderLevel:xe.calendarHeaderLevel,calendarHeaderControlIcon:xe.calendarHeaderControlIcon},H.classNames),Z=H.popoverProps,V=Z&&typeof Z=="object"&&!Array.isArray(Z)?Z:void 0,K=V!=null&&V.classNames&&typeof V.classNames=="object"&&!Array.isArray(V.classNames)?V.classNames:void 0;delete H.popoverProps;const Q={...V,classNames:D({dropdown:xe.dropdown},K)},ce=C?`${xe.layoutOverride} ${C}`:xe.layoutOverride;return o.jsx(ue,{className:ce,style:P,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,readOnlyType:"text",readOnlyValue:(()=>{const M=S!==void 0?S:b;return M?Ho.getFormattedDate({type:"default",date:M,locale:"en",format:L,labelSeparator:""}):void 0})(),readOnlyNativeProps:e,activeComponent:o.jsx(Ho.DatePickerInput,{ref:t,...q,classNames:G,disabled:R,value:S,defaultValue:b,label:void 0,description:void 0,error:void 0,withAsterisk:!1,highlightToday:$,valueFormat:L,placeholder:z,leftSection:$e(o.jsx(Ts,{}),A),wrapperProps:{"data-disabled":R?"true":void 0,"data-error":y?"true":void 0},popoverProps:Q})})});Sn.displayName="DatePicker";const Ds="Dropdown-module__layoutOverride___FNcvP",Es="Dropdown-module__root___uVyL0",Fs="Dropdown-module__input___dK4dN",Bs="Dropdown-module__section___j3MRB",Us="Dropdown-module__clearButton___ODnIa",Vs="Dropdown-module__dropdown___gG-Sw",Hs="Dropdown-module__option___nAGU-",Gs="Dropdown-module__optionContent___QTwwg",qs="Dropdown-module__optionIcon___2L56h",Ks="Dropdown-module__optionText___cCDpI",Ys="Dropdown-module__optionTextWrap___L4OPI",Zs="Dropdown-module__optionSupportingText___2JIOV",ee={layoutOverride:Ds,root:Es,input:Fs,section:Bs,clearButton:Us,dropdown:Vs,option:Hs,optionContent:Gs,optionIcon:qs,optionText:Ks,optionTextWrap:Ys,optionSupportingText:Zs},Xs=["size","variant","radius","searchable"],Rn=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",containerWidth:s,labelSize:l,labelAlignment:d,labelOptionalText:c,labelWithEditIcon:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,disabled:T,readOnly:g,readOnlyComponent:h,emptyValueComponent:S,value:b,defaultValue:$,data:L,clearButtonProps:z,renderOption:A,wrapItemText:I=!1,...q}=e,H=B(f(q,n),Xs),G=H,Z=et(L),V=z,K={...V,className:V!=null&&V.className?`${ee.clearButton} ${V.className}`:ee.clearButton},Q=D({wrapper:ee.root,input:ee.input,section:ee.section,dropdown:ee.dropdown,option:ee.option},G.classNames),ce={optionContent:ee.optionContent,optionIcon:ee.optionIcon,optionText:ee.optionText,optionTextWrap:ee.optionTextWrap,optionSupportingText:ee.optionSupportingText},M={...R||{},width:s||"100%"},ne=P?`${ee.layoutOverride} ${P}`:ee.layoutOverride;return o.jsx(ue,{className:ne,style:M,controlMaxWidth:"var(--dropdown-control-max-width)",controlMinWidth:"var(--dropdown-control-min-width)",overStyled:n,formLayout:r,labelSize:l,labelAlignment:d,labelOptionalText:c,labelWithEditIcon:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,readOnly:g,readOnlyComponent:h,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:b!==void 0?String(b):$?String($):void 0,readOnlyNativeProps:e,activeComponent:o.jsx(p.Select,{ref:t,...H,classNames:Q,disabled:T,value:b,defaultValue:$,data:Z||[],renderOption:A??(de=>yn(de,ce,I)),clearButtonProps:K,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,attributes:{wrapper:{"data-disabled":T?"true":void 0,"data-error":N?"true":void 0}}})})});Rn.displayName="Dropdown";const Qs="FileInput-module__layoutOverride___HIOY6",Js="FileInput-module__root___UvQj-",el="FileInput-module__leadingIcon___z75c4",ol="FileInput-module__content___Udsvh",tl="FileInput-module__value___RX33R",nl="FileInput-module__chipRow___My6TF",rl="FileInput-module__chipWrapper___q2CDy",al="FileInput-module__trailingIcon___odGPm",Ae={layoutOverride:Qs,root:Js,leadingIcon:el,content:ol,value:tl,chipRow:nl,chipWrapper:rl,trailingIcon:al};function sl(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[o.jsx("path",{d:"M12 3v12"}),o.jsx("path",{d:"M7 8l5-5 5 5"}),o.jsx("path",{d:"M4 21h16"})]})}function ll(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[o.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const jn=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,disabled:T,readOnly:g,files:h,onFilesAdded:S,onFileRemove:b,accept:$,multiple:L=!1,maxSize:z,maxFiles:A,onFilesRejected:I,invalidFileTypeMessage:q="File type not accepted",maxFilesMessage:H=L?`Maximum of ${A} files allowed`:"Only one file is allowed",icon:G,clearIcon:Z,placeholder:V="Select a file...",browseLabel:K="Choose file",removeFileLabel:Q="Remove",clearLabel:ce="Clear",...M}=e,de=f(M,n),O=!T&&!g,ae=!!h&&h.length>0,ye=i.useRef(null),[re,se]=i.useState(!1),[he,Ne]=i.useState(!1),Ue=j=>{if(!O)return;const oe=Array.from(j);if(oe.length===0)return;const te=L?A:1,X=L?(h==null?void 0:h.length)??0:0,me=[],Ro=[];let Bt=!1,Ut=!1;for(const Fo of oe){const Vt=!Jo(Fo,$);Vt&&(Bt=!0);const Fr=z!==void 0&&Fo.size>z,Ht=te!==void 0&&X+me.length>=te;Ht&&(Ut=!0),(Vt||Fr||Ht?Ro:me).push(Fo)}se(Bt),Ne(Ut),me.length>0&&(S==null||S(me)),Ro.length>0&&(I==null||I(Ro))},Ce=i.useRef(0),[Ve,Le]=i.useState(!1),Me=j=>{j.preventDefault(),Ce.current+=1,Le(!0)},eo=j=>{j.preventDefault(),Ce.current-=1,Ce.current<=0&&(Ce.current=0,Le(!1))},ge=j=>{j.preventDefault()},He=j=>{j.preventDefault(),Ce.current=0,Le(!1),Ue(j.dataTransfer.files)},we=()=>{var j;O&&((j=ye.current)==null||j.click())},Ge=j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),we())},U=j=>{j.target.files&&Ue(j.target.files),j.target.value=""},E=()=>{!O||!h||h.length===0||h.forEach(j=>b==null?void 0:b(j.id??j.file.name))},[W,k]=i.useState(0),F=i.useRef([]),Y=i.useRef((h==null?void 0:h.length)??0);i.useEffect(()=>{var oe;const j=(h==null?void 0:h.length)??0;if(j>0&&j<Y.current){const te=Math.min(W,j-1);k(te),(oe=F.current[te])==null||oe.focus()}Y.current=j},[h]);const pe=j=>{var X;const oe=(h==null?void 0:h.length)??0;if(oe===0)return;let te;j.key==="ArrowRight"||j.key==="ArrowDown"?te=(W+1)%oe:(j.key==="ArrowLeft"||j.key==="ArrowUp")&&(te=(W-1+oe)%oe),te!==void 0&&(j.preventDefault(),j.stopPropagation(),k(te),(X=F.current[te])==null||X.focus())},qe=N??(re?q:he?H:void 0),oo=P?`${Ae.layoutOverride} ${P}`:Ae.layoutOverride;return o.jsx(co,{overStyled:n,className:oo,style:R,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:y,error:qe,required:v,withAsterisk:w,id:C,controlMaxWidth:"var(--file-input-control-max-width)",controlMinWidth:"var(--file-input-control-min-width)",children:o.jsxs("div",{ref:t,...de,className:Ae.root,role:"button","aria-label":K,"aria-disabled":T?"true":void 0,tabIndex:O?0:-1,"data-disabled":T?"true":void 0,"data-readonly":g?"true":void 0,"data-error":qe?"true":void 0,"data-dragging":Ve?"true":void 0,onClick:O?we:void 0,onKeyDown:O?Ge:void 0,onDragEnter:O?Me:void 0,onDragLeave:O?eo:void 0,onDragOver:O?ge:void 0,onDrop:O?He:void 0,children:[o.jsx("span",{className:Ae.leadingIcon,"aria-hidden":!0,children:G??o.jsx(sl,{})}),o.jsxs("div",{className:Ae.content,children:[!ae&&o.jsx("span",{className:Ae.value,"data-placeholder":"true",children:V}),ae&&o.jsx("div",{className:Ae.chipRow,onKeyDown:g?void 0:pe,children:h.map((j,oe)=>{const te=j.id??j.file.name;return o.jsx("span",{className:Ae.chipWrapper,onClick:X=>X.stopPropagation(),children:o.jsx(Po,{checked:!1,tabIndex:-1,deleteLabel:g?void 0:Q,deleteTabIndex:!g&&oe===W?0:-1,deleteIconRef:X=>{F.current[oe]=X},onDelete:g||T?void 0:()=>b==null?void 0:b(te),children:j.file.name})},te)})})]}),ae&&!g&&o.jsx(je,{overStyled:!0,variant:"text",size:"small",icon:Z??o.jsx(ll,{}),"aria-label":ce,className:Ae.trailingIcon,disabled:T,onClick:j=>{j.preventDefault(),j.stopPropagation(),E()},onKeyDown:j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),j.stopPropagation(),E())}}),o.jsx("input",{ref:ye,type:"file",hidden:!0,accept:$,multiple:L,disabled:!O,onChange:U})]})})});jn.displayName="FileInput";const il="FileUpload-module__layoutOverride___bPpi8",cl="FileUpload-module__root___Q-vcm",dl="FileUpload-module__dropzone___jqua0",ul="FileUpload-module__uploadIcon___bb3Nc",pl="FileUpload-module__dropzoneText___L7vS-",ml="FileUpload-module__fileList___XIWLl",Ze={layoutOverride:il,root:cl,dropzone:dl,uploadIcon:ul,dropzoneText:pl,fileList:ml};function _l(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[o.jsx("path",{d:"M12 3v12"}),o.jsx("path",{d:"M7 8l5-5 5 5"}),o.jsx("path",{d:"M4 21h16"})]})}const $n=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,disabled:T,readOnly:g,files:h,onFilesAdded:S,onFileRemove:b,accept:$,multiple:L=!0,maxSize:z,maxFiles:A,onFilesRejected:I,invalidFileTypeMessage:q="File type not accepted",maxFilesMessage:H=`Maximum of ${A} files allowed`,icon:G,dropzoneLabel:Z="Drag and drop files here to upload",browseButtonLabel:V="Browse files",removeFileLabel:K="Remove",...Q}=e,M=f(Q,n),ne=i.useRef(null),[de,O]=i.useState(!1),[ae,ye]=i.useState(!1),re=k=>{if(T)return;const F=Array.from(k);if(F.length===0)return;const Y=(h==null?void 0:h.length)??0,pe=[],qe=[];let oo=!1,j=!1;for(const oe of F){const te=!Jo(oe,$);te&&(oo=!0);const X=z!==void 0&&oe.size>z,me=A!==void 0&&Y+pe.length>=A;me&&(j=!0),(te||X||me?qe:pe).push(oe)}O(oo),ye(j),pe.length>0&&(S==null||S(pe)),qe.length>0&&(I==null||I(qe))},se=i.useRef(0),[he,Ne]=i.useState(!1),Ue=k=>{k.preventDefault(),se.current+=1,Ne(!0)},Ce=k=>{k.preventDefault(),se.current-=1,se.current<=0&&(se.current=0,Ne(!1))},Ve=k=>{k.preventDefault()},Le=k=>{k.preventDefault(),se.current=0,Ne(!1),re(k.dataTransfer.files)},Me=()=>{var k;T||(k=ne.current)==null||k.click()},eo=k=>{k.target.files&&re(k.target.files),k.target.value=""},[ge,He]=i.useState(0),we=i.useRef([]),Ge=i.useRef((h==null?void 0:h.length)??0);i.useEffect(()=>{var F;const k=(h==null?void 0:h.length)??0;if(k>0&&k<Ge.current){const Y=Math.min(ge,k-1);He(Y),(F=we.current[Y])==null||F.focus()}Ge.current=k},[h]);const U=k=>{var pe;const F=(h==null?void 0:h.length)??0;if(F===0)return;let Y;k.key==="ArrowRight"||k.key==="ArrowDown"?Y=(ge+1)%F:(k.key==="ArrowLeft"||k.key==="ArrowUp")&&(Y=(ge-1+F)%F),Y!==void 0&&(k.preventDefault(),He(Y),(pe=we.current[Y])==null||pe.focus())},E=N??(de?q:ae?H:void 0),W=P?`${Ze.layoutOverride} ${P}`:Ze.layoutOverride;return o.jsx(co,{overStyled:n,className:W,style:R,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,assistiveWithIcon:y,error:E,required:v,withAsterisk:w,id:C,controlMaxWidth:"var(--recursica_ui-kit_globals_form_field_size_max-width)",children:o.jsxs("div",{ref:t,...M,className:Ze.root,"data-disabled":T?"true":void 0,"data-error":E?"true":void 0,children:[!g&&o.jsxs("div",{className:Ze.dropzone,"data-dragging":he?"true":void 0,onDragEnter:T?void 0:Ue,onDragLeave:T?void 0:Ce,onDragOver:T?void 0:Ve,onDrop:T?void 0:Le,children:[o.jsx("span",{className:Ze.uploadIcon,children:G??o.jsx(_l,{})}),o.jsx("span",{className:Ze.dropzoneText,children:Z}),o.jsx(je,{variant:"outline",disabled:T,onClick:Me,children:V}),o.jsx("input",{ref:ne,type:"file",hidden:!0,accept:$,multiple:L,disabled:T,onChange:eo})]}),h&&h.length>0&&(g?o.jsx("div",{className:Ze.fileList,children:h.map(k=>{const F=k.id??k.file.name;return o.jsx(Po,{checked:!1,tabIndex:-1,children:k.file.name},F)})}):o.jsx("div",{className:Ze.fileList,onKeyDown:U,children:h.map((k,F)=>{const Y=k.id??k.file.name;return o.jsx(Po,{checked:!1,tabIndex:-1,deleteLabel:K,deleteTabIndex:F===ge?0:-1,deleteIconRef:pe=>{we.current[F]=pe},onDelete:T?void 0:()=>b==null?void 0:b(Y),children:k.file.name},Y)})}))]})})});$n.displayName="FileUpload";const fl="Flex-module__root___yYser",fo={root:fl},On=i.forwardRef(function({children:e,gap:t="rec-default",rowGap:n,columnGap:r,...s},l){const d={root:fo.root},c=s.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const m=c;d.root=m.root?`${fo.root} ${m.root}`:fo.root}const u=s.className,_=u?`${fo.root} ${u}`:fo.root;return o.jsx(p.Flex,{ref:l,className:_,classNames:d,...So({gap:t,rowGap:n,columnGap:r,...s}),children:e})});On.displayName="Flex";const yl=p.createPolymorphicComponent(On),hl="LayoutGrid-module__root___etcau",vl="LayoutGrid-module__inner___Oz2XL",xl="LayoutGrid-module__col___8EYKw",le={root:hl,inner:vl,col:xl},bl=1,kn=i.createContext({}),In=i.forwardRef(function({children:e,...t},n){const r={root:le.root,inner:le.inner,col:le.col},s=t.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const m=s;r.root=m.root?`${le.root} ${m.root}`:le.root,r.inner=m.inner?`${le.inner} ${m.inner}`:le.inner,r.col=m.col?`${le.col} ${m.col}`:le.col}const l=t.className,d=l?`${le.root} ${l}`:le.root,{gutter:c,...u}=t,_=So(u);return o.jsx(kn.Provider,{value:{type:t.type,breakpoints:t.breakpoints},children:o.jsx(p.Grid,{ref:n,columns:bl,gutter:"var(--recursica_brand_layout-grids_column-gutter)","data-recursica-grow":t.grow?"":void 0,className:d,classNames:r,..._,children:e})})});In.displayName="LayoutGrid";const Nl=p.createPolymorphicComponent(In),qo="var(--recursica_brand_layout-grids_columns)",Cl=a=>{if(typeof a=="number"){const e=`calc(min(${a}, ${qo}) / ${qo} * 100%)`;return{"--rec-col-basis":e,"--rec-col-max-width":e}}return{"--rec-col-basis":"var(--col-flex-basis)","--rec-col-max-width":"var(--col-max-width)"}},gl=a=>({"--rec-col-offset":typeof a=="number"?`calc(${a} / ${qo} * 100%)`:"var(--col-offset)"}),wl=a=>typeof a=="object"&&a!==null,io=(a,e)=>wl(a)?a[e]:e==="base"?a:void 0,Yt=(a,e,t)=>({...io(a,t)===void 0?{}:Cl(io(a,t)),...io(e,t)===void 0?{}:gl(io(e,t))});function Pl({selector:a,span:e,offset:t}){const n=p.useMantineTheme(),{type:r,breakpoints:s}=i.useContext(kn),l=s??n.breakpoints,d=Object.keys(l).filter(u=>io(e,u)!==void 0||io(t,u)!==void 0),c=p.getSortedBreakpoints(d,l).map(({value:u})=>({query:r==="container"?`mantine-grid (min-width: ${l[u]})`:`(min-width: ${l[u]})`,styles:Yt(e,t,u)}));return o.jsx(p.InlineStyles,{selector:a,styles:Yt(e??12,t,"base"),media:r==="container"?void 0:c,container:r==="container"?c:void 0})}const Ln=i.forwardRef(function({children:e,...t},n){const r={col:le.col},s=t.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const u=s;r.col=u.col?`${le.col} ${u.col}`:le.col}const l=t.className,d=l?`${le.col} ${l}`:le.col,c=p.useRandomClassName();return o.jsxs(o.Fragment,{children:[o.jsx(Pl,{selector:`.${c}`,span:t.span,offset:t.offset}),o.jsx(p.Grid.Col,{ref:n,className:`${d} ${c}`,classNames:r,...So(t),children:e})]})});Ln.displayName="LayoutGridCol";const Mn=p.createPolymorphicComponent(Ln),An=Nl;An.Col=Mn;const Tl="Group-module__root___ftO64",yo={root:Tl},Wn=i.forwardRef(function({children:e,gap:t="rec-default",...n},r){const s={root:yo.root},l=n.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const u=l;s.root=u.root?`${yo.root} ${u.root}`:yo.root}const d=n.className,c=d?`${yo.root} ${d}`:yo.root;return o.jsx(p.Group,{ref:r,className:c,classNames:s,...So({gap:t,...n}),children:e})});Wn.displayName="Group";const Sl="Heading-module__root___-To4U",Rl={root:Sl},zn=i.forwardRef(function({overStyled:e=!1,order:t=1,emphasis:n="high",color:r="default",...s},l){const d=["size"],c=B(f(s,e),d),u=c.className,m=[`recursica_brand_typography_h${t}`,Rl.root,u].filter(Boolean).join(" ");return o.jsx(p.Title,{ref:l,...c,order:t,"data-color":r,"data-emphasis":n,className:m})});zn.displayName="Heading";const jl="HoverCard-module__dropdown___FBPFW",$l="HoverCard-module__arrow___S9AkE",Zt={dropdown:jl,arrow:$l},Dn=function({overStyled:e=!1,withBeak:t=!0,position:n="top",arrowSize:r=16,withArrow:s,...l}){const d=f(l,e),c=d,u=D({dropdown:Zt.dropdown,arrow:Zt.arrow},c.classNames),_=t??s;return o.jsx(p.HoverCard,{...d,position:n,arrowSize:r,withArrow:_,classNames:u})};Dn.displayName="HoverCard";const En=function(e){return o.jsx(p.HoverCard.Target,{...e})};En.displayName="HoverCardTarget";const Fn=function({overStyled:e=!1,...t}){const n=f(t,e),r=n.className;return o.jsx(p.HoverCard.Dropdown,{...n,className:r})};Fn.displayName="HoverCardDropdown";const ct=Dn;ct.Target=En;ct.Dropdown=Fn;const Ol="Link-module__root___I0VGE",kl="Link-module__iconWrapper___W-LlF",Il="Link-module__labelText___wSvUy",ho={root:Ol,iconWrapper:kl,labelText:Il},Bn=i.forwardRef(function({icon:e,children:t,overStyled:n=!1,...r},s){const l=f(r,n),d=l,c=D({root:ho.root},d.classNames),u=d.className,_=u?`${ho.root} ${u}`:ho.root;return o.jsxs(p.Anchor,{ref:s,...l,className:_,classNames:c,underline:"never",...e?{"data-has-icon":""}:{},children:[e&&o.jsx("span",{className:ho.iconWrapper,"aria-hidden":!0,children:e}),o.jsx("span",{className:ho.labelText,children:t})]})});Bn.displayName="Link";const Ll=p.createPolymorphicComponent(Bn),Ml="Menu-module__dropdown___j4xuA",Al="Menu-module__item___NMXha",Wl="Menu-module__itemLabel___zvcqC",zl="Menu-module__itemSection___pRIcn",Dl="Menu-module__divider___wPiNq",El="Menu-module__label___4FBGa",Fl="Menu-module__chevron___hEEiy",to={dropdown:Ml,item:Al,itemLabel:Wl,itemSection:zl,divider:Dl,label:El,chevron:Fl},Un=function({overStyled:e=!1,...t}){const r=f(t,e),{maxHeight:s,...l}=r,d=D({dropdown:to.dropdown,item:to.item,itemLabel:to.itemLabel,itemSection:to.itemSection,divider:to.divider,label:to.label,chevron:to.chevron},r.classNames),c=l.styles,u=s?{...c,dropdown:{...c==null?void 0:c.dropdown,maxHeight:s,overflowY:"auto"}}:c;return o.jsx(p.Menu,{...l,classNames:d,...u?{styles:u}:{}})};Un.displayName="Menu";const Vn=function({overStyled:e=!1,...t}){const n=f(t,e);return o.jsx(p.Menu.Target,{...n})};Vn.displayName="MenuTarget";const Hn=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r.className;return o.jsx(p.Menu.Dropdown,{...r,ref:n,className:s})});Hn.displayName="MenuDropdown";const Gn=i.forwardRef(function({overStyled:e=!1,...t},n){const r=["color"],s=B(f(t,e),r),d=s.className;return o.jsx(p.Menu.Item,{...s,ref:n,className:d})});Gn.displayName="MenuItem";const Bl=p.createPolymorphicComponent(Gn),qn=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r.className;return o.jsx(p.Menu.Divider,{...r,ref:n,className:s})});qn.displayName="MenuDivider";const Kn=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r.className;return o.jsx(p.Menu.Label,{...r,ref:n,className:s})});Kn.displayName="MenuLabel";const Yn=function(e){return o.jsx(p.Menu.Sub,{...e})};Yn.displayName="MenuSub";const Zn=function(e){return o.jsx(p.Menu.Sub.Target,{...e})};Zn.displayName="MenuSubTarget";const Xn=i.forwardRef(function({overStyled:e=!1,...t},n){const r=["color"],s=B(f(t,e),r),d=s.className;return o.jsx(p.Menu.Sub.Item,{...s,ref:n,className:d})});Xn.displayName="MenuSubItem";const Ul=p.createPolymorphicComponent(Xn),Qn=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r.className;return o.jsx(p.Menu.Sub.Dropdown,{...r,ref:n,className:s})});Qn.displayName="MenuSubDropdown";const Do=Yn;Do.Target=Zn;Do.Item=Ul;Do.Dropdown=Qn;const ao=Un;ao.Target=Vn;ao.Dropdown=Hn;ao.Item=Bl;ao.Divider=qn;ao.Label=Kn;ao.Sub=Do;const Vl="Modal-module__root___ytPLl",Hl="Modal-module__inner___SSUJE",Gl="Modal-module__content___dWO-B",ql="Modal-module__header___ILG9i",Kl="Modal-module__title___A5OeE",Yl="Modal-module__bodyWrapper___5CCL-",Zl="Modal-module__scrollArea___KD-hm",Xl="Modal-module__footer___rro2w",Ql="Modal-module__close___-ER1C",ze={root:Vl,inner:Hl,content:Gl,header:ql,title:Kl,bodyWrapper:Yl,scrollArea:Zl,footer:Xl,close:Ql},Jn=i.forwardRef(function({overStyled:e=!1,children:t,title:n,onClose:r,closeButtonAriaLabel:s="Close",header:l,overlayProps:d,withOverlay:c=!0,...u},_){const m=["size","radius"],x=B(f(u,e),m),y=D({root:ze.root,inner:ze.inner,content:ze.content,header:ze.header,title:ze.title,close:ze.close},x.classNames);return o.jsxs(p.Modal.Root,{ref:_,...x,onClose:r,classNames:y,children:[c&&o.jsx(p.Modal.Overlay,{...d}),o.jsxs(p.Modal.Content,{children:[l??o.jsxs(p.Modal.Header,{children:[o.jsx(p.Modal.Title,{children:n}),o.jsx(p.Modal.CloseButton,{"aria-label":s})]}),o.jsx(ut,{children:t})]})]})});Jn.displayName="Modal";const dt=i.forwardRef(function({overStyled:e=!1,className:t,...n},r){const s=f(n,e);return o.jsx("div",{ref:r,...s,className:`${ze.footer} ${t||""}`})});dt.displayName="Modal.Footer";const ut=i.forwardRef(function({overStyled:e=!1,className:t,onScroll:n,children:r,...s},l){const d=f(s,e),c=i.useRef(null),[u,_]=i.useState(!1),[m,x]=i.useState(!1),y=i.useCallback(()=>{if(c.current){const{scrollTop:C,scrollHeight:P,clientHeight:R}=c.current;_(C>0),x(Math.ceil(C+R)<P)}},[]);i.useEffect(()=>(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y,r]);const N=C=>{y(),n==null||n(C)};let v=null;const w=[];return i.Children.forEach(r,C=>{var P;i.isValidElement(C)&&(C.type===dt||((P=C.type)==null?void 0:P.displayName)==="Modal.Footer")?v=C:w.push(C)}),o.jsxs(p.Modal.Body,{...d,ref:C=>{typeof l=="function"?l(C):l&&(l.current=C)},className:`${ze.bodyWrapper} ${t||""}`,children:[o.jsx("div",{ref:c,onScroll:N,"data-scrolled-top":u||void 0,"data-scrolled-bottom":m||void 0,className:ze.scrollArea,children:w}),v]})});ut.displayName="Modal.Body";const Jl=["size","radius"],er=i.forwardRef(function({overStyled:e=!1,...t},n){const r=B(f(t,e),Jl);return o.jsx(p.Modal.Root,{ref:n,...r})});er.displayName="Modal.Root";const or=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Modal.Overlay,{ref:n,...r})});or.displayName="Modal.Overlay";const ei=["radius"],tr=i.forwardRef(function({overStyled:e=!1,...t},n){const r=B(f(t,e),ei);return o.jsx(p.Modal.Content,{ref:n,...r})});tr.displayName="Modal.Content";const nr=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Modal.Header,{ref:n,...r})});nr.displayName="Modal.Header";const rr=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Modal.Title,{ref:n,...r})});rr.displayName="Modal.Title";const oi=["size","radius"],ar=i.forwardRef(function({overStyled:e=!1,...t},n){const r=B(f(t,e),oi);return o.jsx(p.Modal.CloseButton,{ref:n,...r})});ar.displayName="Modal.CloseButton";const Fe=Jn;Fe.Root=er;Fe.Overlay=or;Fe.Content=tr;Fe.Header=nr;Fe.Title=rr;Fe.CloseButton=ar;Fe.Body=ut;Fe.Footer=dt;const ti="NumberInput-module__layoutOverride___5-9T4",ni="NumberInput-module__root___C6rAn",ri="NumberInput-module__input___Ss8p7",ai="NumberInput-module__section___MijP0",si="NumberInput-module__controls___8UfQ2",li="NumberInput-module__control___Qre9-",no={layoutOverride:ti,root:ni,input:ri,section:ai,controls:si,control:li},ii=["size","variant","radius"],sr=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,value:S,defaultValue:b,hideControls:$=!1,...L}=e,z=B(f(L,n),ii),A=z,I={wrapper:no.root,input:no.input,section:no.section,controls:no.controls,control:no.control},q=C?`${no.layoutOverride} ${C}`:no.layoutOverride;return o.jsx(ue,{className:q,style:P,controlMaxWidth:"var(--number-input-control-max-width)",controlMinWidth:"var(--number-input-control-min-width)",overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,readOnlyType:"text",readOnlyValue:S!==void 0?S==null?void 0:S.toString():b==null?void 0:b.toString(),readOnlyNativeProps:e,activeComponent:o.jsx(p.NumberInput,{ref:t,...z,classNames:I,disabled:R,value:S,defaultValue:b,hideControls:$,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":R?"true":void 0,"data-error":y?"true":void 0,"data-with-left-section":A.leftSection?"true":void 0,"data-with-right-section":A.rightSection||!$?"true":void 0}})})});sr.displayName="NumberInput";const ci="Pagination-module__root___ITRjt",di="Pagination-module__dots___Yl9da",ui="Pagination-module__baseIcon___Qw3bJ",pi="Pagination-module__rightIcon___aYC8M",To={root:ci,dots:di,baseIcon:ui,rightIcon:pi},mi="M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z",_i="M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z",fi="M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z",yi="M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z",hi={next:mi,prev:_i,first:fi,last:yi},lr=({type:a,className:e,...t})=>o.jsx("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:`${To.baseIcon} ${e||""}`.trim(),...t,children:o.jsx("path",{d:hi[a],fill:"currentColor"})});function Lo(a){var n,r,s,l,d,c,u;const t=(u=(c=(d=(l=(s=(r=(n=dn()["ui-kit"])==null?void 0:n.components)==null?void 0:r.pagination)==null?void 0:s.properties)==null?void 0:l[a])==null?void 0:d.$extensions)==null?void 0:c["recursica.component"])==null?void 0:u["selected-variants"];if(!t)throw new Error(`Pagination: manifest has no ui-kit.components.pagination.properties.${a} selected-variants`);return{variant:t.style,size:t.size}}const ir=i.createContext(null);function pt(){const a=i.useContext(ir);if(!a)throw new Error("Pagination parts must be rendered inside Pagination.Root");return a}const mt=i.forwardRef(function({overStyled:e=!1,total:t,value:n,defaultValue:r,onChange:s,siblings:l,boundaries:d,disabled:c,getItemProps:u,getControlProps:_,dotsIcon:m,children:x,...y},N){const v=an.usePagination({total:t,page:n,initialPage:r,onChange:s,siblings:l,boundaries:d}),w=f(y,e),C=w.className;return o.jsx(ir.Provider,{value:{total:t,active:v.active,range:v.range,disabled:c,setPage:v.setPage,first:v.first,previous:v.previous,next:v.next,last:v.last,getItemProps:u,getControlProps:_,dotsIcon:m},children:o.jsx("nav",{ref:N,"aria-label":"Pagination",...w,className:C?`${To.root} ${C}`:To.root,children:x})})});mt.displayName="Pagination.Root";const _t=i.forwardRef(function({active:e=!1,disabled:t,...n},r){const s=pt(),l=Lo("active-pages"),d=Lo("inactive-pages"),c=e?l:d;return o.jsx(je,{ref:r,variant:c.variant,size:c.size,disabled:t||s.disabled,"aria-current":e?"page":void 0,...n})});_t.displayName="Pagination.Control";const ft=i.forwardRef(function({icon:e,...t},n){const{size:r}=Lo("inactive-pages");return o.jsx("div",{ref:n,className:To.dots,"data-size":r,...t,children:e??"…"})});ft.displayName="Pagination.Dots";function yt(){const a=pt();return o.jsx(o.Fragment,{children:a.range.map((e,t)=>{var n,r,s;return e==="dots"?o.jsx(ft,{icon:a.dotsIcon},t):o.jsx(_t,{active:e===a.active,"aria-label":`Page ${e}`,onClick:()=>a.setPage(e),...(n=a.getItemProps)==null?void 0:n.call(a,e),children:((s=(r=a.getItemProps)==null?void 0:r.call(a,e))==null?void 0:s.children)??e},t)})})}yt.displayName="Pagination.Items";const vi={first:"First page",previous:"Previous page",next:"Next page",last:"Last page"},xi={first:"First",previous:"Prev",next:"Next",last:"Last"};function Eo(a,e,t,n){const r=i.forwardRef(function({withLabel:l,icon:d,disabled:c,...u},_){var P;const m=pt(),x=Lo("navigation-controls"),y=m.active===1,N=m.active===m.total,v=c||m.disabled||(a==="first"||a==="previous")&&y||(a==="next"||a==="last")&&N,w=d??o.jsx(lr,{type:e}),C=l?t?{rightSection:o.jsx("span",{className:To.rightIcon,children:w})}:{icon:w}:{icon:w};return o.jsx(je,{ref:_,variant:x.variant,size:x.size,"aria-label":vi[a],disabled:v,onClick:m[a],...C,...(P=m.getControlProps)==null?void 0:P.call(m,a),...u,children:l?xi[a]:void 0})});return r.displayName=n,r}const cr=Eo("first","first",!1,"Pagination.First"),dr=Eo("previous","prev",!1,"Pagination.Previous"),ur=Eo("next","next",!0,"Pagination.Next"),pr=Eo("last","last",!0,"Pagination.Last"),mr=i.forwardRef(function({withEdges:e,withControls:t=!0,withLabels:n,...r},s){return o.jsxs(mt,{ref:s,...r,children:[e&&o.jsx(cr,{withLabel:n}),t&&o.jsx(dr,{withLabel:n}),o.jsx(yt,{}),t&&o.jsx(ur,{withLabel:n}),e&&o.jsx(pr,{withLabel:n})]})});mr.displayName="Pagination";const ke=mr;ke.Root=mt;ke.Items=yt;ke.Control=_t;ke.Dots=ft;ke.Next=ur;ke.Previous=dr;ke.First=cr;ke.Last=pr;ke.Icon=lr;const bi="Panel-module__content___wdGo-",Ni="Panel-module__contentRight___4bsdU",Ci="Panel-module__contentLeft___bOgUu",gi="Panel-module__inner___ruA2b",wi="Panel-module__header___o7SiC",Pi="Panel-module__title___181OP",Ti="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",Si="Panel-module__body___SEC3T",Ri="Panel-module__footer___t6-hz",ji="Panel-module__close___2WShp",fe={content:bi,contentRight:Ni,contentLeft:Ci,inner:gi,header:wi,title:Pi,titleTruncate:Ti,body:Si,footer:Ri,close:ji},_r=function({overStyled:e=!1,placement:t="right",keepMounted:n=!0,wrapHeaderText:r=!0,title:s,onClose:l,closeButtonAriaLabel:d="Close",header:c,children:u,..._}){const m=f(_,e),x=m,y=D({content:`${fe.content} ${t==="right"?fe.contentRight:t==="left"?fe.contentLeft:t==="top"?fe.contentTop:fe.contentBottom}`,header:fe.header,title:r?fe.titleTruncate:fe.title,close:fe.close,body:fe.body,inner:fe.inner},x.classNames);return o.jsx(p.Drawer.Root,{...m,onClose:l,size:"var(--recursica_ui-kit_components_panel_properties_max-width)",position:t,keepMounted:n,trapFocus:!1,lockScroll:!1,returnFocus:!0,closeOnEscape:!0,closeOnClickOutside:!1,classNames:y,children:o.jsxs(p.Drawer.Content,{children:[c??o.jsxs(p.Drawer.Header,{children:[o.jsx(p.Drawer.Title,{children:s}),o.jsx(p.Drawer.CloseButton,{"aria-label":d})]}),o.jsx(p.Drawer.Body,{children:u})]})})};_r.displayName="Panel";const ht=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r.className,l=s?`${fe.footer} ${s}`:fe.footer;return o.jsx("div",{ref:n,...r,className:l})});ht.displayName="PanelFooter";const vt=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Drawer.Root,{ref:n,...r})});vt.displayName="PanelRoot";const xt=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Drawer.Overlay,{ref:n,...r})});xt.displayName="PanelOverlay";const bt=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Drawer.Content,{ref:n,...r})});bt.displayName="PanelContent";const Nt=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Drawer.Header,{ref:n,...r})});Nt.displayName="PanelHeader";const Ct=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Drawer.Title,{ref:n,...r})});Ct.displayName="PanelTitle";const gt=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Drawer.CloseButton,{ref:n,...r})});gt.displayName="PanelCloseButton";const wt=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Drawer.Body,{ref:n,...r})});wt.displayName="PanelBody";const Ie=_r;Ie.Root=vt;Ie.Overlay=xt;Ie.Content=bt;Ie.Header=Nt;Ie.Title=Ct;Ie.CloseButton=gt;Ie.Body=wt;Ie.Stack=p.Drawer.Stack;Ie.Footer=ht;const $i="Popover-module__dropdown___svhS6",Oi="Popover-module__arrow___5A-0e",Xt={dropdown:$i,arrow:Oi},fr=function({overStyled:e=!1,withBeak:t=!0,position:n="top",...r}){const s=f(r,e),l=s,d=D({dropdown:Xt.dropdown,arrow:Xt.arrow},l.classNames),c=$e(16,l.arrowSize),u=$e(t,l.withArrow);return o.jsx(p.Popover,{...s,position:n,arrowSize:c,withArrow:u,classNames:d})};fr.displayName="Popover";const yr=function(e){return o.jsx(p.Popover.Target,{...e})};yr.displayName="PopoverTarget";const hr=function({overStyled:e=!1,...t}){const n=f(t,e),r=n.className;return o.jsx(p.Popover.Dropdown,{...n,className:r})};hr.displayName="PopoverDropdown";const Pt=fr;Pt.Target=yr;Pt.Dropdown=hr;const ki="Radio-module__groupRoot___bfUii",Ii="Radio-module__root___kAjTD",Li="Radio-module__body___q2Wpj",Mi="Radio-module__inner___QaTBB",Ai="Radio-module__radio___MfgN-",Wi="Radio-module__icon___DWznm",zi="Radio-module__labelWrapper___dB0Gi",Di="Radio-module__label___vAFIP",Se={groupRoot:ki,root:Ii,body:Li,inner:Mi,radio:Ai,icon:Wi,labelWrapper:zi,label:Di},Tt=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,children:T,readOnly:g,readOnlyComponent:h,emptyValueComponent:S,value:b,defaultValue:$,...L}=e,z=["size"],A=B(f(L,n),z),I=A;return o.jsx(ue,{className:P,style:R,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:n,labelElement:"div",formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,readOnly:g&&!!h,readOnlyComponent:h,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:b!==void 0?b:$,readOnlyNativeProps:e,activeComponent:o.jsx(p.Radio.Group,{ref:t,...A,disabled:g||I.disabled,value:b,defaultValue:$,children:o.jsx("div",{className:Se.groupRoot,"data-layout":r,children:T})})})});Tt.displayName="RadioGroup";const Ei=({className:a,style:e})=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:a,style:e,children:o.jsx("circle",{cx:"8",cy:"8",r:"5"})}),St=i.forwardRef(function(e,t){const{overStyled:n=!1,readOnly:r,readOnlyComponent:s,disabled:l,icon:d,formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,...x}=e,y=["size","color","radius","variant","iconColor"],N=B(f(x,n),y),v=N,w=D({root:Se.root,body:Se.body,inner:Se.inner,radio:Se.radio,icon:Se.icon,labelWrapper:Se.labelWrapper,label:Se.label},v.classNames),C=v.className,P=C?`${Se.root} ${C}`:Se.root;if(r&&s){const T=!!(v.checked??v.defaultChecked),g=s,h=o.jsx(g,{...e,checked:T,label:v.label});return c?o.jsx(De,{formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,children:h}):o.jsx(o.Fragment,{children:h})}const R=o.jsx(p.Radio,{ref:t,...N,icon:$e(Ei,d),className:P,classNames:w,disabled:r||l});return c?o.jsx(De,{formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,children:R}):R});St.displayName="Radio";St.Group=Tt;const vr=({checked:a,label:e})=>o.jsxs(p.Box,{component:"span",className:uo.textField,style:{display:"inline-flex",gap:"8px",alignItems:"baseline"},children:[e&&o.jsxs("span",{style:{fontWeight:500},children:[e,":"]}),o.jsx("span",{children:a?"On":"Off"})]});vr.displayName="ReadOnlySwitchField";const xr=({checked:a,label:e})=>o.jsxs(p.Box,{component:"span",className:uo.textField,style:{display:"inline-flex",gap:"8px",alignItems:"baseline"},children:[e&&o.jsxs("span",{style:{fontWeight:500},children:[e,":"]}),o.jsx("span",{children:a?"True":"False"})]});xr.displayName="ReadOnlyBooleanField";const Fi="SegmentedControl-module__root___JFRhg",Bi="SegmentedControl-module__label___mS17q",Ui="SegmentedControl-module__control___znOdQ",Vi="SegmentedControl-module__indicator___ZMcJy",lo={root:Fi,label:Bi,control:Ui,indicator:Vi};function Hi(a){const e=D({root:lo.root,control:lo.control,label:lo.label,indicator:lo.indicator},a.classNames),t=a.className;return{className:t?`${lo.root} ${t}`:lo.root,classNames:e}}const br=i.forwardRef(function({overStyled:e=!1,orientation:t="horizontal",fullWidth:n,data:r=[],...s},l){const d=f(s,e),u=Hi(d),_=r.map(m=>typeof m=="string"||!m.icon?m:{...m,label:o.jsxs(o.Fragment,{children:[m.icon,m.label]})});return o.jsx(p.SegmentedControl,{ref:l,...d,className:u.className,classNames:u.classNames,orientation:t,fullWidth:n,"data-orientation":t,data:_})});br.displayName="SegmentedControl";const Gi=br,qi="Slider-module__layoutOverride___zYPun",Ki="Slider-module__sliderContainer___y8I0J",Yi="Slider-module__sliderTrackWrapper___UHpVh",Zi="Slider-module__iconWrapper___uqHpC",Xi="Slider-module__sliderRoot___LI86H",Qi="Slider-module__sliderTrack___oqnlG",Ji="Slider-module__sliderBar___TI4VY",ec="Slider-module__sliderThumb___OFn8p",oc="Slider-module__sliderMarkWrapper___Ufqhu",tc="Slider-module__sliderMark___1lM2B",nc="Slider-module__sliderMarkLabel___MMZrq",rc="Slider-module__minMaxGuide___TaGqz",ac="Slider-module__rightGuideContainer___8dOT8",sc="Slider-module__currentValue___dGV2T",lc="Slider-module__inputField___6x578",ic="Slider-module__readOnlyValue___-ZzMW",J={layoutOverride:qi,sliderContainer:Ki,sliderTrackWrapper:Yi,iconWrapper:Zi,sliderRoot:Xi,sliderTrack:Qi,sliderBar:Ji,sliderThumb:ec,sliderMarkWrapper:oc,sliderMark:tc,sliderMarkLabel:nc,minMaxGuide:rc,rightGuideContainer:ac,currentValue:sc,inputField:lc,readOnlyValue:ic},cc=({value:a})=>{const e=Array.isArray(a)?`${a[0]} – ${a[1]}`:a;return o.jsx("div",{className:J.readOnlyValue,children:e})},Nr=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,tooltipLabel:x,assistiveText:y,assistiveWithIcon:N,error:v,required:w,withAsterisk:C,id:P,className:R,style:T,disabled:g,readOnly:h,readOnlyComponent:S,emptyValueComponent:b,value:$,defaultValue:L,icon:z,trailingIcon:A,showInput:I=!1,showMinMaxLabels:q=!0,min:H=0,max:G=100,minLabel:Z,maxLabel:V,step:K=1,onChange:Q,onChangeEnd:ce,...M}=e,[ne,de]=i.useState(()=>$!==void 0?$:L!==void 0?L:H),O=$!==void 0?$:ne,ae=Array.isArray(O),[ye,re]=i.useState(()=>Array.isArray(O)?[O[0].toString(),O[1].toString()]:O.toString());i.useEffect(()=>{re(Array.isArray(O)?[O[0].toString(),O[1].toString()]:O.toString())},[O]);const se=E=>{$===void 0&&de(E),Q==null||Q(E)},he=E=>{const W=E.target.value;re(W);const k=parseFloat(W);if(!isNaN(k)){const F=Math.max(H,Math.min(G,k));se(F)}},Ne=()=>{re(O.toString())},Ue=E=>{const W=O,k=E.target.value;re([k,W[1].toString()]);const F=parseFloat(k);if(!isNaN(F)){const Y=Math.max(H,Math.min(W[1],F));se([Y,W[1]])}},Ce=E=>{const W=O,k=E.target.value;re([W[0].toString(),k]);const F=parseFloat(k);if(!isNaN(F)){const Y=Math.max(W[0],Math.min(G,F));se([W[0],Y])}},Ve=()=>{const E=O;re([E[0].toString(),E[1].toString()])},Le=["size","variant","radius","wrapperProps"],Me=B(f(M,n),Le),eo=Me,ge=D({root:J.sliderRoot,track:J.sliderTrack,bar:J.sliderBar,thumb:J.sliderThumb,markWrapper:J.sliderMarkWrapper,mark:J.sliderMark,markLabel:J.sliderMarkLabel},eo.classNames),He=R?`${J.layoutOverride} ${R}`:J.layoutOverride,we=z?o.jsx("span",{className:J.iconWrapper,"aria-hidden":!0,children:z}):null,Ge=A?o.jsx("span",{className:J.iconWrapper,"aria-hidden":!0,children:A}):null,U=Array.isArray(O)?typeof x=="function"?`${x(O[0])} – ${x(O[1])}`:`${O[0]} – ${O[1]}`:typeof x=="function"?x(O):O;return o.jsx(ue,{ref:t,className:He,style:T,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:y,assistiveWithIcon:N,error:v,required:w,withAsterisk:C,id:P,readOnly:h,readOnlyComponent:S||cc,emptyValueComponent:b,readOnlyType:"text",readOnlyValue:O,readOnlyNativeProps:{value:O},activeComponent:o.jsxs("div",{className:J.sliderContainer,"data-form-layout":r,"data-disabled":g?"true":void 0,"data-error":v?"true":void 0,children:[ae&&I&&o.jsx("input",{type:"number",className:J.inputField,value:ye[0],onChange:Ue,onBlur:Ve,min:H,max:O[1],step:K,disabled:g,"data-error":v?"true":void 0,"aria-label":"Minimum value"}),we,q&&o.jsx("span",{className:J.minMaxGuide,children:Z??H}),o.jsx("div",{className:J.sliderTrackWrapper,children:ae?o.jsx(p.RangeSlider,{...Me,classNames:ge,disabled:g,value:O,onChange:se,onChangeEnd:ce,min:H,max:G,step:K,label:x}):o.jsx(p.Slider,{...Me,classNames:ge,disabled:g,value:O,onChange:se,onChangeEnd:ce,min:H,max:G,step:K,label:x})}),o.jsxs("div",{className:J.rightGuideContainer,children:[!I&&o.jsx("span",{className:J.currentValue,children:U}),q&&o.jsx("span",{className:J.minMaxGuide,children:V??G})]}),Ge,I&&(ae?o.jsx("input",{type:"number",className:J.inputField,value:ye[1],onChange:Ce,onBlur:Ve,min:O[0],max:G,step:K,disabled:g,"data-error":v?"true":void 0,"aria-label":"Maximum value"}):o.jsx("input",{type:"number",className:J.inputField,value:ye,onChange:he,onBlur:Ne,min:H,max:G,step:K,disabled:g,"data-error":v?"true":void 0}))]})})});Nr.displayName="Slider";const dc="Stack-module__root___NUN-x",vo={root:dc},Cr=i.forwardRef(function({children:e,gap:t="rec-default",...n},r){const s={root:vo.root},l=n.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const u=l;s.root=u.root?`${vo.root} ${u.root}`:vo.root}const d=n.className,c=d?`${vo.root} ${d}`:vo.root;return o.jsx(p.Stack,{ref:r,className:c,classNames:s,...So({gap:t,...n}),children:e})});Cr.displayName="Stack";const uc=p.createPolymorphicComponent(Cr),pc="Stepper-module__root___jbSYO",mc="Stepper-module__horizontal___USHT1",_c="Stepper-module__steps___4HPO6",fc="Stepper-module__step___s2nqL",yc="Stepper-module__stepBody___TBvys",hc="Stepper-module__stepLabel___N6nuy",vc="Stepper-module__stepDescription___DnDAy",xc="Stepper-module__separator___pU0No",bc="Stepper-module__vertical___d4mOs",Nc="Stepper-module__large___J18-y",Cc="Stepper-module__small___Ub-zb",gc="Stepper-module__stepIcon___YQHNq",wc="Stepper-module__stepCompletedIcon___B9MeL",Pc="Stepper-module__verticalSeparator___frWc1",Tc="Stepper-module__content___J-h8X",ie={root:pc,horizontal:mc,steps:_c,step:fc,stepBody:yc,stepLabel:hc,stepDescription:vc,separator:xc,vertical:bc,large:Nc,small:Cc,stepIcon:gc,stepCompletedIcon:wc,verticalSeparator:Pc,content:Tc},gr=i.forwardRef(function(e,t){const{overStyled:n=!1,size:r="large",orientation:s="horizontal",className:l,style:d,...c}=e,u=f(c,n),_=u,m=D({steps:ie.steps,step:ie.step,stepIcon:ie.stepIcon,stepCompletedIcon:ie.stepCompletedIcon,stepBody:ie.stepBody,stepLabel:ie.stepLabel,stepDescription:ie.stepDescription,separator:ie.separator,verticalSeparator:ie.verticalSeparator,content:ie.content},_.classNames);return o.jsx(p.Stepper,{ref:t,...u,orientation:s,className:`${ie.root} ${s==="horizontal"?ie.horizontal:ie.vertical} ${r==="large"?ie.large:ie.small} ${l||""}`,style:d,"data-size":r,"data-orientation":s,classNames:m})}),wr=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Stepper.Step,{ref:n,...r})});wr.displayName="Stepper.Step";const Sc=Object.assign(gr,{Step:wr,Completed:p.Stepper.Completed});gr.displayName="Stepper";const Rc="Switch-module__root___Y5Ydi",jc="Switch-module__track___7ObdZ",$c="Switch-module__body___Sw9Wr",Oc="Switch-module__thumb___-FTeK",kc="Switch-module__labelWrapper___YSOwx",Ic="Switch-module__label___LrH7V",Lc="Switch-module__thumbIconWrapper___sCY-1",Mc="Switch-module__checkIcon___ZBAQN",Ac="Switch-module__closeIcon___bLLGw",Wc="Switch-module__groupRoot___-Uepi",_e={root:Rc,track:jc,body:$c,thumb:Oc,labelWrapper:kc,label:Ic,thumbIconWrapper:Lc,checkIcon:Mc,closeIcon:Ac,groupRoot:Wc},Rt=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,className:P,style:R,children:T,readOnly:g,readOnlyComponent:h,emptyValueComponent:S,value:b,defaultValue:$,...L}=e,z=["size"],A=B(f(L,n),z),I=A;return o.jsx(ue,{className:P,style:R,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:n,labelElement:"div",formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,description:m,assistiveText:x,assistiveWithIcon:y,error:N,required:v,withAsterisk:w,id:C,readOnly:g&&!!h,readOnlyComponent:h,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:b!==void 0?b:$,readOnlyNativeProps:e,activeComponent:o.jsx(p.Switch.Group,{ref:t,...A,disabled:g||I.disabled,value:b,defaultValue:$,children:o.jsx("div",{className:_e.groupRoot,"data-layout":r,children:T})})})});Rt.displayName="SwitchGroup";const jt=i.forwardRef(function(e,t){const{overStyled:n=!1,readOnly:r,readOnlyComponent:s,disabled:l,thumbIcon:d,formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,...x}=e,y=["size","color","radius","variant"],N=B(f(x,n),y),v=N,w=D({root:_e.root,body:_e.body,track:_e.track,thumb:_e.thumb,trackLabel:_e.trackLabel,labelWrapper:_e.labelWrapper,label:_e.label},v.classNames),C=un({},v.styles),P=v.className,R=P?`${_e.root} ${P}`:_e.root;if(r&&s){const h=!!(v.checked??v.defaultChecked),S=s,b=o.jsx(S,{...e,checked:h,label:v.label});return c?o.jsx(De,{formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,children:b}):o.jsx(o.Fragment,{children:b})}const T=o.jsxs("div",{className:_e.thumbIconWrapper,children:[o.jsx(p.CheckIcon,{className:_e.checkIcon}),o.jsx(p.CloseIcon,{className:_e.closeIcon})]}),g=o.jsx(p.Switch,{ref:t,...N,className:R,classNames:w,styles:C,disabled:r||l,"data-disabled":r||l||void 0,thumbIcon:$e(T,d)});return c?o.jsx(De,{formLayout:c,labelSize:u,controlMaxWidth:_,controlMinWidth:m,children:g}):g});jt.displayName="Switch";jt.Group=Rt;const zc="Table-module__root___aMWWS",Dc="Table-module__sortIcon___V3-dH",Ko={root:zc,sortIcon:Dc};function Ec(a){return o.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...a,children:o.jsx("polyline",{points:"18 15 12 9 6 15"})})}function Fc(a){return o.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...a,children:o.jsx("polyline",{points:"6 9 12 15 18 9"})})}const Pr=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r.className,l=Ko.root,d=s?`${l} ${s}`:l;return o.jsx(p.Table,{ref:n,...r,className:d})});Pr.displayName="Table";const $t=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Table.Thead,{ref:n,...r})});$t.displayName="TableThead";const Ot=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Table.Tbody,{ref:n,...r})});Ot.displayName="TableTbody";const kt=i.forwardRef(function({overStyled:e=!1,selected:t=!1,disabled:n=!1,...r},s){const l=f(r,e);return o.jsx(p.Table.Tr,{ref:s,...l,"data-selected":t?"true":void 0,"data-disabled":n?"true":void 0})});kt.displayName="TableTr";const It=i.forwardRef(function({overStyled:e=!1,sorted:t=!1,disabled:n=!1,variant:r="default",children:s,...l},d){const c=f(l,e);return o.jsxs(p.Table.Th,{ref:d,...c,"data-sorted":t?"true":void 0,"data-disabled":n?"true":void 0,"data-currency":r==="currency"?"true":void 0,"aria-sort":t==="asc"?"ascending":t==="desc"?"descending":void 0,children:[s,t==="asc"&&o.jsx(Ec,{className:Ko.sortIcon}),t==="desc"&&o.jsx(Fc,{className:Ko.sortIcon})]})});It.displayName="TableTh";const Lt=i.forwardRef(function({overStyled:e=!1,disabled:t=!1,variant:n="default",...r},s){const l=f(r,e);return o.jsx(p.Table.Td,{ref:s,...l,"data-disabled":t?"true":void 0,"data-currency":n==="currency"?"true":void 0})});Lt.displayName="TableTd";const Mt=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Table.Tfoot,{ref:n,...r})});Mt.displayName="TableTfoot";const At=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Table.Caption,{ref:n,...r})});At.displayName="TableCaption";const Wt=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Table.ScrollContainer,{ref:n,...r})});Wt.displayName="TableScrollContainer";const Be=Pr;Be.Thead=$t;Be.Tbody=Ot;Be.Tr=kt;Be.Th=It;Be.Td=Lt;Be.Tfoot=Mt;Be.Caption=At;Be.ScrollContainer=Wt;const Bc="Tabs-module__root___-VKVI",Uc="Tabs-module__list___qRVME",Vc="Tabs-module__tab___IdDYc",Hc="Tabs-module__tabSection___Es-nf",Gc="Tabs-module__panel___08i9c",xo={root:Bc,list:Uc,tab:Vc,tabSection:Hc,panel:Gc},Tr=i.forwardRef(function(e,t){const{variant:n="default",orientation:r="horizontal",overStyled:s=!1,className:l,...d}=e,c=f(d,s),u=c,_=D({list:xo.list,tab:xo.tab,tabSection:xo.tabSection,panel:xo.panel},u.classNames);return o.jsx(p.Tabs,{ref:t,...c,variant:n,orientation:r,className:`${xo.root} ${l||""}`,"data-variant":n,"data-orientation":r,classNames:_})});Tr.displayName="Tabs";const Sr=i.forwardRef(function(e,t){const{overStyled:n=!1,...r}=e;return o.jsx(p.Tabs.List,{ref:t,...f(r,n)})});Sr.displayName="Tabs.List";const Rr=i.forwardRef(function(e,t){const{overStyled:n=!1,...r}=e;return o.jsx(p.Tabs.Tab,{ref:t,...f(r,n)})});Rr.displayName="Tabs.Tab";const jr=i.forwardRef(function(e,t){const{overStyled:n=!1,...r}=e;return o.jsx(p.Tabs.Panel,{ref:t,...f(r,n)})});jr.displayName="Tabs.Panel";const qc=Object.assign(Tr,{List:Sr,Tab:Rr,Panel:jr}),Qt=new Set,Jt=new Set;function $r(a,e){return Array.from(a).some(t=>{if(t instanceof CSSStyleRule)return t.selectorText.split(",").some(r=>r.trim()===e);const n=t.cssRules;return n?$r(n,e):!1})}function Kc(a){const e=`.recursica_brand_typography_${a}`;if(Qt.has(e))return!0;const t=Array.from(document.styleSheets).some(n=>{try{return $r(n.cssRules,e)}catch{return!1}});return t?Qt.add(e):Jt.has(e)||(Jt.add(e),console.error(`Text: no "${e}" rule found. "${a}" is not defined under brand.typography in the exported Recursica CSS, so the text is hidden.`)),t}const Yc="Text-module__root___rsBo7",Zc={root:Yc},Xc=["h1","h2","h3","h4","h5","h6"],Or=i.forwardRef(function({overStyled:e=!1,variant:t="body",emphasis:n="high",color:r="default",...s},l){const d=s.component;if(typeof d=="string"&&Xc.includes(d))throw new Error(`Text cannot render <${d}>. Use <Heading> for semantic h1-h6.`);const c=f(s,e),u=c.className,_=process.env.NODE_ENV!=="production"&&typeof document<"u"&&!Kc(t),x=[`recursica_brand_typography_${t}`,Zc.root,u].filter(Boolean).join(" ");return o.jsx(p.Text,{ref:l,...c,"data-color":r,"data-emphasis":n,"data-typography-missing":_||void 0,className:x})});Or.displayName="Text";const Qc=p.createPolymorphicComponent(Or),Jc="TextArea-module__layoutOverride___4MCdm",ed="TextArea-module__root___3dyeu",od="TextArea-module__input___8l36v",Oo={layoutOverride:Jc,root:ed,input:od},td=["size","variant","radius"],kr=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,value:S,defaultValue:b,...$}=e,L=B(f($,n),td),z=L,A=D({wrapper:Oo.root,input:Oo.input},z.classNames),I=C?`${Oo.layoutOverride} ${C}`:Oo.layoutOverride;return o.jsx(ue,{className:I,style:P,controlMaxWidth:"var(--textarea-control-max-width)",controlMinWidth:"var(--textarea-control-min-width)",overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,readOnlyType:"text",readOnlyValue:S!==void 0?S:b,readOnlyNativeProps:e,activeComponent:o.jsx(p.Textarea,{ref:t,...L,classNames:A,disabled:R,value:S,defaultValue:b,label:void 0,description:void 0,error:!!y,required:void 0,withAsterisk:void 0})})});kr.displayName="TextArea";const nd="TextField-module__layoutOverride___SNZqc",rd="TextField-module__root___2ZYkG",ad="TextField-module__input___RL-My",sd="TextField-module__section___bCIJ0",bo={layoutOverride:nd,root:rd,input:ad,section:sd},ld=["size","variant","radius"],zt=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,value:S,defaultValue:b,...$}=e,L=B(f($,n),ld),z=L,A=D({wrapper:bo.root,input:bo.input,section:bo.section},z.classNames),I=C?`${bo.layoutOverride} ${C}`:bo.layoutOverride;return o.jsx(ue,{className:I,style:P,controlMaxWidth:"var(--text-field-control-max-width)",controlMinWidth:"var(--text-field-control-min-width)",overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,readOnlyType:"text",readOnlyValue:S!==void 0?S:b,readOnlyNativeProps:e,activeComponent:o.jsx(p.Input,{ref:t,...L,classNames:A,disabled:R,value:S,defaultValue:b,wrapperProps:{"data-disabled":R?"true":void 0,"data-error":y?"true":void 0}})})});zt.displayName="TextField";const id=["size","variant","radius"],Ir=i.forwardRef(function(e,t){const{overStyled:n=!1,className:r,disabled:s,error:l,...d}=e,c=B(f(d,n),id),u=c,_=D({wrapper:r?`${ee.root} ${r}`:ee.root,input:ee.input,section:ee.section,dropdown:ee.dropdown,option:ee.option},u.classNames);return o.jsx(p.Select,{ref:t,...c,classNames:_,disabled:s,label:void 0,description:void 0,error:void 0,attributes:{wrapper:{"data-disabled":s?"true":void 0,"data-error":l?"true":void 0}}})});Ir.displayName="BareDropdown";const cd="TimePicker-module__layoutOverride___zKo4Q",dd="TimePicker-module__root___BcvRu",ud="TimePicker-module__timeWrapper___hJVre",pd="TimePicker-module__timeInput___FQysn",md="TimePicker-module__fieldsGroup___2yHhR",_d="TimePicker-module__section___VkSWB",fd="TimePicker-module__timeField___twRZd",yd="TimePicker-module__amPmSelect___mSdvt",We={layoutOverride:cd,root:dd,timeWrapper:ud,timeInput:pd,fieldsGroup:md,section:_d,timeField:fd,amPmSelect:yd},hd=[{value:"AM",label:"AM"},{value:"PM",label:"PM"}];function en(a){if(!a)return;const e=parseInt(a.slice(0,2),10);return Number.isNaN(e)?void 0:e}function vd(a,e){return`${String(e).padStart(2,"0")}${a.slice(2)}`}function xd(a){if(!a)return;const[e,t,n]=a.split(":"),r=parseInt(e,10);if(Number.isNaN(r)||t===void 0)return a;const s=r>=12,l=r%12===0?12:r%12,d=n!==void 0?`${t}:${n}`:t;return`${l}:${d} ${s?"PM":"AM"}`}function bd(a,e){var n;const t=(n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value"))==null?void 0:n.set;t==null||t.call(a,e),a.dispatchEvent(new Event("change",{bubbles:!0}))}const Nd=["size","variant","radius"],Lr=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,className:C,style:P,disabled:R,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,value:S,defaultValue:b,onChange:$,withSeconds:L,minTime:z,maxTime:A,...I}=e,q=B(f(I,n),Nd),H=q,[G,Z]=i.useState(()=>S??b);i.useEffect(()=>{S!==void 0&&Z(S)},[S]);const V=i.useRef(null);i.useEffect(()=>{en(S??b)===void 0&&V.current&&bd(V.current,"AM")},[]);const K=O=>{Z(O),$==null||$(O)},Q=en(G),ce=Q!==void 0&&Q>=12,M=O=>{K(O)},ne=O=>{if(Q===void 0||!G||!O)return;const ae=O==="PM";if(ae===ce)return;const ye=ae?Q+12:Q-12;K(vd(G,ye))},de=C?`${We.layoutOverride} ${C}`:We.layoutOverride;return o.jsx(ue,{className:de,style:P,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:n,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,onLabelEditClick:u,label:_,assistiveText:m,assistiveWithIcon:x,error:y,required:N,withAsterisk:v,id:w,readOnly:T,readOnlyComponent:g,emptyValueComponent:h,readOnlyType:"text",readOnlyValue:xd(S!==void 0?S:b),readOnlyNativeProps:e,activeComponent:o.jsxs("div",{className:We.root,"data-disabled":R?"true":void 0,"data-error":y?"true":void 0,children:[o.jsx(Ho.TimePicker,{ref:t,...q,classNames:D({wrapper:We.timeWrapper,input:We.timeInput,section:We.section,fieldsGroup:We.fieldsGroup,field:We.timeField},H.classNames),disabled:R,value:G,onChange:M,format:"12h",withSeconds:L,min:z,max:A,withDropdown:!1,amPmRef:V}),o.jsx(Ir,{overStyled:!0,className:We.amPmSelect,styles:{wrapper:{width:"fit-content"}},data:hd,value:ce?"PM":"AM",onChange:ne,disabled:R,error:!!y,"aria-label":"AM or PM"})]})})});Lr.displayName="TimePicker";const Cd="Timeline-module__root___LwRdZ",gd="Timeline-module__item___T5xdQ",wd="Timeline-module__itemBody___XAV-E",Pd="Timeline-module__itemBullet___rPXCy",Td="Timeline-module__itemTitle___GgRRW",Sd="Timeline-module__itemContent___vurs-",Rd="Timeline-module__description___f9sxV",jd="Timeline-module__timestamp___owiRu",Xe={root:Cd,item:gd,itemBody:wd,itemBullet:Pd,itemTitle:Td,itemContent:Sd,description:Rd,timestamp:jd},Dt=i.forwardRef(function({overStyled:e=!1,timestamp:t,bulletVariant:n="default",children:r,...s},l){const d=f(s,e),c=d,u=D({item:Xe.item,itemBody:Xe.itemBody,itemContent:Xe.itemContent,itemBullet:Xe.itemBullet,itemTitle:Xe.itemTitle},c.classNames),_=t?o.jsxs(o.Fragment,{children:[r&&o.jsx("div",{className:Xe.description,children:r}),o.jsx("div",{className:Xe.timestamp,children:t})]}):r;return o.jsx(p.TimelineItem,{ref:l,...d,classNames:u,"data-variant":n,children:_})});Dt.displayName="TimelineItem";const Mr=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e),s=r,l=D({root:Xe.root},s.classNames);return o.jsx(p.Timeline,{ref:n,...r,classNames:l})});Mr.displayName="Timeline";const Ar=Mr;Ar.Item=Dt;const $d="Toast-module__root___MUvfI",Od="Toast-module__icon___VwvE1",kd="Toast-module__loader___8Gxd-",Id="Toast-module__title___-H6R2",Ld="Toast-module__description___-QwfC",Md="Toast-module__closeButton___vGr7g",Ad="Toast-module__body___VLkXA",ro={root:$d,icon:Od,loader:kd,title:Id,description:Ld,closeButton:Md,body:Ad},Wr=i.forwardRef(function({overStyled:e=!1,variant:t="default",withCloseButton:n=!0,...r},s){const l=["color","radius","loading"],d=B(f(r,e),l),c=D({root:ro.root,body:ro.body,title:ro.title,description:ro.description,closeButton:ro.closeButton,icon:ro.icon,loader:ro.loader},d.classNames);return o.jsx(p.Notification,{ref:s,...d,withCloseButton:n,withBorder:!1,"data-variant":t,classNames:c,loading:!1})});Wr.displayName="Toast";const Wd="Tooltip-module__tooltip___UA7H9",zd="Tooltip-module__arrow___4zROk",on={tooltip:Wd,arrow:zd},zr=function({overStyled:e=!1,withBeak:t=!0,position:n="top",arrowSize:r=16,...s}){const l=f(s,e),d=l,c=D({tooltip:on.tooltip,arrow:on.arrow},d.classNames),u=d.withArrow,_=t??u;return o.jsx(p.Tooltip,{...l,position:n,arrowSize:r,withArrow:_,multiline:!0,classNames:c})};zr.displayName="Tooltip";const Et=i.forwardRef(function({overStyled:e=!1,...t},n){const r=f(t,e);return o.jsx(p.Tooltip.Floating,{ref:n,...r})});Et.displayName="TooltipFloating";const Ft=zr;Ft.Floating=Et;Ft.Group=p.Tooltip.Group;const Dd="TransferList-module__layoutOverride___nkb32",Ed="TransferList-module__root___ikjI7",Fd="TransferList-module__panes___dtwkW",Bd="TransferList-module__pane___hy-kC",Ud="TransferList-module__paneHeader___HZrKX",Vd="TransferList-module__paneSearch___Xji-g",Hd="TransferList-module__paneList___v0rcJ",Gd="TransferList-module__emptyState___azPw-",qd="TransferList-module__transferColumn___3R2Ki",Kd="TransferList-module__chevron___l-KdI",be={layoutOverride:Dd,root:Ed,panes:Fd,pane:Bd,paneHeader:Ud,paneSearch:Vd,paneList:Hd,emptyState:Gd,transferColumn:qd,chevron:Kd};function tn({direction:a}){return o.jsx("svg",{className:be.chevron,"data-direction":a,viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o.jsx("path",{d:"M6 3l5 5-5 5"})})}function nn({direction:a}){return o.jsx("svg",{className:be.chevron,"data-direction":a,viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o.jsx("path",{d:"M3 3l5 5-5 5M9 3l5 5-5 5"})})}function Yd(a){const e={},t=[];return a.forEach(n=>{var r;n.group?(e[r=n.group]??(e[r]=[])).push(n):t.push(n)}),{groups:e,ungrouped:t}}const Dr=i.forwardRef(function(e,t){const{overStyled:n=!1,formLayout:r="stacked",labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,description:y,helperText:N,assistiveWithIcon:v,error:w,required:C,id:P,readOnly:R,readOnlyComponent:T,emptyValueComponent:g,data:h,defaultData:S,onChange:b,sourceLabel:$="Available",targetLabel:L="Selected",searchable:z=!0,searchPlaceholder:A="Filter items...",disabled:I=!1,className:q,style:H,...G}=e,Z=f(G,n),V=i.useId(),K=P||`recursica-transfer-list-${V}`,[Q,ce]=i.useState(()=>S??h??[[],[]]),M=h!==void 0?h:Q,ne=i.useCallback(U=>{h===void 0&&ce(U),b==null||b(U)},[h,b]),[de,O]=i.useState(""),[ae,ye]=i.useState(""),[re,se]=i.useState(()=>new Set),[he,Ne]=i.useState(()=>new Set),Ue=i.useMemo(()=>{if(!de)return M[0];const U=de.toLowerCase();return M[0].filter(E=>E.label.toLowerCase().includes(U))},[M,de]),Ce=i.useMemo(()=>{if(!ae)return M[1];const U=ae.toLowerCase();return M[1].filter(E=>E.label.toLowerCase().includes(U))},[M,ae]),Ve=i.useCallback(()=>{if(re.size===0)return;const U=M[0].filter(W=>!re.has(W.value)),E=M[0].filter(W=>re.has(W.value));se(new Set),ne([U,[...M[1],...E]])},[M,re,ne]),Le=i.useCallback(()=>{if(he.size===0)return;const U=M[1].filter(W=>!he.has(W.value)),E=M[1].filter(W=>he.has(W.value));Ne(new Set),ne([[...M[0],...E],U])},[M,he,ne]),Me=i.useCallback(()=>{M[0].length!==0&&(se(new Set),ne([[],[...M[1],...M[0]]]))},[M,ne]),eo=i.useCallback(()=>{M[1].length!==0&&(Ne(new Set),ne([[...M[0],...M[1]],[]]))},[M,ne]),ge=i.useCallback(U=>{se(E=>{const W=new Set(E);return W.has(U)?W.delete(U):W.add(U),W})},[]),He=i.useCallback(U=>{Ne(E=>{const W=new Set(E);return W.has(U)?W.delete(U):W.add(U),W})},[]),we=(U,E,W,k,F,Y,pe,qe)=>{const{groups:oo,ungrouped:j}=Yd(W),oe=Object.keys(oo).sort(),te=F.size>0?`${F.size} / ${k.length}`:`${k.length}`;return o.jsxs("div",{className:be.pane,"data-pane":U,children:[o.jsxs("div",{className:be.paneHeader,children:[o.jsx("span",{children:E}),o.jsx(bn,{children:te})]}),z&&o.jsx("div",{className:be.paneSearch,children:o.jsx(zt,{value:pe,onChange:X=>qe(X.currentTarget.value),placeholder:A,disabled:I,"aria-label":`Filter ${E.toLowerCase()}`})}),o.jsxs("div",{className:be.paneList,children:[W.length===0&&o.jsx("div",{className:be.emptyState,children:"No items"}),j.length>0&&o.jsx(go,{children:j.map(X=>o.jsx(wo,{id:`${K}-${U}-${X.value}`,label:X.label,checked:F.has(X.value),onChange:()=>Y(X.value),disabled:I},X.value))}),oe.map(X=>o.jsx(go,{label:X,labelSize:"small",children:oo[X].map(me=>o.jsx(wo,{id:`${K}-${U}-${me.value}`,label:me.label,checked:F.has(me.value),onChange:()=>Y(me.value),disabled:I},me.value))},X))]})]})},Ge=q?`${be.layoutOverride} ${q}`:be.layoutOverride;return o.jsx(ue,{ref:t,formLayout:r,labelSize:s,labelAlignment:l,labelOptionalText:d,labelWithEditIcon:c,labelActionArea:u,onLabelEditClick:_,label:m,assistiveText:x,description:y,helperText:N,assistiveWithIcon:v,error:w,required:C,id:K,className:Ge,style:H,overStyled:n,readOnly:R,readOnlyComponent:T,emptyValueComponent:g,readOnlyType:"text",readOnlyValue:M[1].map(U=>U.label),readOnlyNativeProps:e,activeComponent:o.jsx("div",{...Z,className:be.root,"data-disabled":I?"true":void 0,"data-error":w?"true":void 0,children:o.jsxs("div",{className:be.panes,children:[we("source",$,Ue,M[0],re,ge,de,O),o.jsxs("div",{className:be.transferColumn,children:[o.jsx(je,{variant:"outline",size:"small",icon:o.jsx(nn,{direction:"right"}),"aria-label":`Move all to ${L}`,disabled:I||M[0].length===0,onClick:Me}),o.jsx(je,{variant:"outline",size:"small",icon:o.jsx(tn,{direction:"right"}),"aria-label":`Move selected to ${L}`,disabled:I||re.size===0,onClick:Ve}),o.jsx(je,{variant:"outline",size:"small",icon:o.jsx(tn,{direction:"left"}),"aria-label":`Move selected to ${$}`,disabled:I||he.size===0,onClick:Le}),o.jsx(je,{variant:"outline",size:"small",icon:o.jsx(nn,{direction:"left"}),"aria-label":`Move all to ${$}`,disabled:I||M[1].length===0,onClick:eo})]}),we("target",L,Ce,M[1],he,He,ae,ye)]})})})});Dr.displayName="TransferList";const Zd="Tree-module__root___ANcH3",Xd="Tree-module__subtree___KoLT8",Qd="Tree-module__node___Hvnjg",Jd="Tree-module__row___sq5ff",eu="Tree-module__label___zJDit",ou="Tree-module__expandButton___W0WTT",tu="Tree-module__expandGlyph___w8dDQ",Je={root:Zd,subtree:Xd,node:Qd,row:Jd,label:eu,expandButton:ou,expandGlyph:tu};function nu(){return o.jsx("svg",{className:Je.expandGlyph,viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o.jsx("path",{d:"M5 3l5 5-5 5"})})}function ru(a){return function({node:t,hasChildren:n,expanded:r,selected:s,tree:l,elementProps:d}){return o.jsxs("div",{...d,className:Je.row,"data-has-children":n||void 0,"data-expanded":n&&r?!0:void 0,children:[o.jsx(je,{overStyled:!0,variant:"text",size:"small",icon:o.jsx(nu,{}),"aria-label":"Toggle subtree","aria-hidden":"true",tabIndex:-1,className:Je.expandButton,onMouseDown:c=>c.preventDefault(),onClick:c=>{c.stopPropagation(),!a&&l.toggleExpanded(t.value)}}),o.jsx("span",{className:Je.label,"data-selected":s||void 0,children:t.label})]})}}const Er=i.forwardRef(function({overStyled:e=!1,data:t,initialExpandedValues:n,initialSelectedValues:r,multiple:s=!1,disabled:l=!1,onNodeExpand:d,onNodeCollapse:c,onSelectedChange:u,..._},m){const x=f(_,e),y=p.useTree({initialExpandedState:n?p.getTreeExpandedState(t,n):void 0,initialSelectedState:r,multiple:s,onNodeExpand:d,onNodeCollapse:c});i.useEffect(()=>{u==null||u(y.selectedState)},[y.selectedState,u]);const N=i.useRef(null);i.useEffect(()=>{const R=N.current;if(!R)return;const T=g=>{if(l||g.key!=="Enter"&&g.key!==" ")return;const h=g.target.closest('[role="treeitem"]'),S=h==null?void 0:h.dataset.value;S&&(g.preventDefault(),y.select(S))};return R.addEventListener("keydown",T),()=>R.removeEventListener("keydown",T)},[y.select,l]),i.useEffect(()=>{const R=N.current;if(!R||!l)return;const T=g=>{g.preventDefault(),g.stopPropagation()};return R.addEventListener("keydown",T,{capture:!0}),()=>R.removeEventListener("keydown",T,{capture:!0})},[l]);const v=an.useMergedRef(m,N),w=x,C=w.className,P=C?`${Je.root} ${C}`:Je.root;return o.jsx(p.Tree,{ref:v,...x,data:t,tree:y,expandOnClick:!1,selectOnClick:!l,expandOnSpace:!1,renderNode:ru(l),"data-disabled":l||void 0,classNames:D({root:P,node:Je.node,subtree:Je.subtree},w.classNames)})});Er.displayName="Tree";function rn(a,e){var n;const t=(n=a[e])==null?void 0:n.$value;if(t!==void 0){if(typeof t!="number"||!Number.isFinite(t)||t<0)throw new Error(`layout-grid ${e} must be a non-negative number, got ${String(t)}`);return t}}function au(a){var r;const e=((r=a.brand)==null?void 0:r["layout-grids"])??{},t=[];let n;for(const[s,l]of Object.entries(e)){if(s==="default")continue;const d=rn(l,"min-width"),c=rn(l,"max-width");if(d===void 0&&c===void 0)throw new Error(`layout-grid "${s}" has neither min-width nor max-width`);c!==void 0&&(n===void 0||c>n)&&(n=c),t.push([s,d??0])}if(t.length>0){if(n===void 0)throw new Error('Cannot place the "default" layout-grid: no other grid has a max-width to start after');t.push(["default",n+1])}return Object.fromEntries(t.sort((s,l)=>s[1]-l[1]).map(([s,l])=>[s,`${l}px`]))}exports.Accordion=Wo;exports.AccordionControl=Mo;exports.AccordionItem=ot;exports.AccordionPanel=Ao;exports.AssistiveElement=Io;exports.AutoComplete=hn;exports.Avatar=Va;exports.Badge=bn;exports.Breadcrumb=Nn;exports.Button=je;exports.Card=is;exports.CardContent=it;exports.CardFooter=lt;exports.CardHeader=st;exports.CardSection=at;exports.Checkbox=wo;exports.CheckboxGroup=go;exports.Chip=Po;exports.Container=Tn;exports.DatePicker=Sn;exports.Dropdown=Rn;exports.EmptyValueRenderer=Co;exports.FileInput=jn;exports.FileUpload=$n;exports.Flex=yl;exports.FormControlLayout=De;exports.Group=Wn;exports.Heading=zn;exports.HoverCard=ct;exports.IS_DEV=Oe;exports.Label=tt;exports.Layer=Yo;exports.LayoutGrid=An;exports.LayoutGridCol=Mn;exports.Link=Ll;exports.Loader=rt;exports.Menu=ao;exports.Modal=Fe;exports.NumberInput=sr;exports.Pagination=ke;exports.Panel=Ie;exports.PanelBody=wt;exports.PanelCloseButton=gt;exports.PanelContent=bt;exports.PanelFooter=ht;exports.PanelHeader=Nt;exports.PanelOverlay=xt;exports.PanelRoot=vt;exports.PanelTitle=Ct;exports.Popover=Pt;exports.RECURSICA_COMPONENTS=qr;exports.Radio=St;exports.RadioGroup=Tt;exports.ReadOnlyBooleanField=xr;exports.ReadOnlyField=nt;exports.ReadOnlySwitchField=vr;exports.ReadOnlyTextField=No;exports.RecursicaManifestContext=Qo;exports.RecursicaThemeProvider=Gr;exports.SegmentedControl=Gi;exports.Slider=Nr;exports.Stack=uc;exports.Stepper=Sc;exports.Switch=jt;exports.SwitchGroup=Rt;exports.Table=Be;exports.TableCaption=At;exports.TableScrollContainer=Wt;exports.TableTbody=Ot;exports.TableTd=Lt;exports.TableTfoot=Mt;exports.TableTh=It;exports.TableThead=$t;exports.TableTr=kt;exports.Tabs=qc;exports.Text=Qc;exports.TextArea=kr;exports.TextField=zt;exports.TimePicker=Lr;exports.Timeline=Ar;exports.TimelineItem=Dt;exports.Toast=Wr;exports.Tooltip=Ft;exports.TooltipFloating=Et;exports.TransferList=Dr;exports.Tree=Er;exports.WithReadOnlyWrapper=ue;exports.breakpointsFromRecManifest=au;exports.copyToClipboard=Kr;exports.fileMatchesAccept=Jo;exports.injectOverStyledStyles=Zo;exports.isGlobalOverStyledActive=Hr;exports.markCurrentPageItem=cn;exports.mergeClassNames=D;exports.mergeStyles=un;exports.normalizeComboboxData=et;exports.omitUnsupportedProps=B;exports.registerOverStyledConsoleCommand=Xo;exports.toggleGlobalOverStyled=sn;exports.useGlobalOverStyled=ln;exports.useRecursicaManifest=dn;exports.withCallerOverride=$e;exports.wrapComponent=mn;
|
|
12
12
|
//# sourceMappingURL=adapter-mantine-v8.cjs.map
|