@recursica/mantine-adapter 0.35.0 → 0.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/SETUP.md +1 -1
- package/dist/mantine-adapter.cjs +2 -2
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +548 -544
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/llms.txt +2 -0
- package/package.json +1 -1
- package/src/components/Layer/USAGE.md +54 -0
- package/src/components/RecursicaThemeProvider/USAGE.md +60 -0
- package/src/components/index.ts +1 -0
- package/src/index.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @recursica/mantine-adapter
|
|
2
2
|
|
|
3
|
+
## 0.35.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 70ad4df: Fixed AssistiveElement not being exported from the package's public entry point (it existed as a component but was missing from both the internal component barrel and the top-level package export, making it unreachable via `import { AssistiveElement } from "@recursica/mantine-adapter"`).
|
|
8
|
+
- 70ad4df: `RecursicaThemeProvider` now automatically wraps its children in a base `<Layer layer={0}>` by default (new `initLayer0` prop, defaults to `true`), so page-level surface/border/elevation CSS variables resolve out of the box instead of requiring an undocumented manual `<Layer layer={0}>` wrapper. Opt out with `initLayer0={false}` to place the base layer yourself. Also documented `Layer` and `RecursicaThemeProvider` (previously referenced by nearly every other component's USAGE.md but undocumented themselves) with dedicated USAGE.md pages and llms.txt entries in both adapters, and updated the shared Storybook theme decorator to opt out of the new default (each adapter's preview already places its own configurable per-story Layer).
|
|
9
|
+
- Updated dependencies [70ad4df]
|
|
10
|
+
- @recursica/adapter-common@0.12.0
|
|
11
|
+
|
|
3
12
|
## 0.35.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/SETUP.md
CHANGED
|
@@ -40,7 +40,7 @@ Before consuming Recursica components, integrate the CSS and design tokens into
|
|
|
40
40
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
4. **Wrap App in RecursicaThemeProvider**: You must wrap your application in the `<RecursicaThemeProvider>` to correctly cascade design token properties:
|
|
43
|
+
4. **Wrap App in RecursicaThemeProvider**: You must wrap your application in the `<RecursicaThemeProvider>` to correctly cascade design token properties. By default it also wraps its children in a `<Layer layer={0}>` (via the `initLayer0` prop, which defaults to `true`), so the base page surface/border/elevation variables resolve automatically with no extra setup:
|
|
44
44
|
|
|
45
45
|
```tsx
|
|
46
46
|
import { MantineProvider } from "@mantine/core";
|
package/dist/mantine-adapter.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),m=require("react"),u=require("@mantine/core"),Rs=require("@mantine/dates");var Ke=typeof document<"u"?document.currentScript:null;const As=["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"],Ro=new Set(["m","my","mx","mt","mb","ml","mr","gap","rowGap","columnGap","top","left","bottom","right"]),Ee={"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 Ie(n){const e={...n};for(const[s,t]of Object.entries(e))typeof t=="string"&&t.startsWith("rec-")&&Ro.has(s)&&t in Ee&&(e[s]=Ee[t]);return e}function f(n,e){if(e)return n;const s={...n};for(const t of As)t in s&&delete s[t];for(const[t,o]of Object.entries(s))typeof o=="string"&&o.startsWith("rec-")&&Ro.has(t)&&o in Ee&&(s[t]=Ee[o]);return s}const Os="Accordion-module__root___Dem6d",Ls="Accordion-module__item___7ryVk",Is="Accordion-module__noDivider___Ni2tT",Ws="Accordion-module__control___b4wgX",Ms="Accordion-module__label___Ss7uW",ks="Accordion-module__chevron___i-HVZ",zs="Accordion-module__iconLeftWrapper___5oLen",Bs="Accordion-module__panel___Wx50w",Es="Accordion-module__content___PEM9t",ae={root:Os,item:Ls,noDivider:Is,control:Ws,label:Ms,chevron:ks,iconLeftWrapper:zs,panel:Bs,content:Es},Ao=function({variant:e="unstyled",overStyled:s=!1,...t}){const o=f(t,s),a={root:ae.root,item:ae.item,control:ae.control,label:ae.label,chevron:ae.chevron,panel:ae.panel,content:ae.content},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const c=l;Object.keys(c).forEach(d=>{a[d]?a[d]=`${a[d]} ${c[d]}`:a[d]=c[d]})}const i=o.className;return r.jsx(u.Accordion,{variant:e,className:i,classNames:a,...o})};Ao.displayName="Accordion";const eo=m.forwardRef(function({title:e,leftIcon:s,divider:t=!0,children:o,overStyled:a=!1,...l},i){const c=f(l,a),d=c.className,p=[t?void 0:ae.noDivider,d].filter(Boolean).join(" ")||void 0;return r.jsx(u.Accordion.Item,{ref:i,className:p,...c,children:e?r.jsxs(r.Fragment,{children:[r.jsx(Ge,{leftIcon:s,children:e}),r.jsx(Ve,{children:o})]}):o})});eo.displayName="AccordionItem";const Ge=m.forwardRef(function({leftIcon:e,children:s,overStyled:t=!1,...o},a){const l=f(o,t),i=l.className;return r.jsx(u.Accordion.Control,{ref:a,className:i,icon:e?r.jsx("span",{className:ae.iconLeftWrapper,"aria-hidden":!0,children:e}):void 0,...l,children:s})});Ge.displayName="AccordionControl";const Ve=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Accordion.Panel,{ref:t,className:a,...o})});Ve.displayName="AccordionPanel";const He=Ao;He.Item=eo;He.Control=Ge;He.Panel=Ve;const Fs="Label-module__root___e6HXZ",Ds="Label-module__labelText___rieFR",Gs="Label-module__required___Ggrzc",Vs="Label-module__optionalText___Y2yun",Hs="Label-module__actionAreaWrapper___ELoZK",qs="Label-module__editIconWrapper___NG2xW",K={root:Fs,labelText:Ds,required:Gs,optionalText:Vs,actionAreaWrapper:Hs,editIconWrapper:qs},oo=m.forwardRef(function({labelSize:e="default",labelAlignment:s,required:t=!1,labelOptionalText:o,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:i,children:c,overStyled:d=!1,...p},_){const $=s||"left";let b;t||(o===!0?b="optional":o&&(b=o));const y=f(p,d),N=y,P={label:K.root,required:K.required},C=N.classNames;if(C&&typeof C=="object"&&!Array.isArray(C)){const R=C;P.label=R.label?`${K.root} ${R.label}`:K.root,P.required=R.required?`${K.required} ${R.required}`:K.required}const v=N.className,h=v?`${K.root} ${v}`:K.root;return r.jsxs(u.Input.Label,{ref:_,className:h,classNames:P,"data-size":e,"data-alignment":$,required:t&&!a,...y,children:[r.jsx("span",{className:K.labelText,children:c}),b&&r.jsx("span",{className:K.optionalText,children:typeof b=="string"?`(${b})`:b}),l?r.jsx("span",{className:K.actionAreaWrapper,children:l}):a?r.jsx("button",{type:"button",className:K.editIconWrapper,"data-replaces-asterisk":t?"true":void 0,onClick:i,"aria-label":"Edit",children:r.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.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]})});oo.displayName="Label";const Us="FormControlLayout-module__root___yNDhZ",Ys="FormControlLayout-module__leftSection___GBM1r",Zs="FormControlLayout-module__rightSection___bcL4v",ke={root:Us,leftSection:Ys,rightSection:Zs},le=m.forwardRef(function({formLayout:e="stacked",labelSize:s="default",controlMaxWidth:t,controlMinWidth:o,leftSection:a,children:l,className:i,style:c,...d},p){const _=i?`${ke.root} ${i}`:ke.root,b=a!=null||e==="side-by-side";return r.jsxs("div",{ref:p,className:_,"data-form-layout":e,style:{...c,...t?{"--form-control-max-width":t}:{},...o?{"--form-control-min-width":o}:{}},...d,children:[b&&r.jsx("div",{className:ke.leftSection,"data-size":s,children:a}),r.jsx("div",{className:ke.rightSection,children:l})]})});le.displayName="FormControlLayout";const Ks="AssistiveElement-module__root___WhQ43",Xs="AssistiveElement-module__textWrapper___sfy5E",Qs="AssistiveElement-module__iconWrapper___gObRF",Xe={root:Ks,textWrapper:Xs,iconWrapper:Qs},Js=()=>r.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:[r.jsx("circle",{cx:"12",cy:"12",r:"10"}),r.jsx("path",{d:"M12 16v-4"}),r.jsx("path",{d:"M12 8h.01"})]}),er=()=>r.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:[r.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"}),r.jsx("path",{d:"M12 9v4"}),r.jsx("path",{d:"M12 17h.01"})]}),Qe=m.forwardRef(function({assistiveVariant:e="help",assistiveWithIcon:s=!0,children:t,className:o,overStyled:a=!1,...l},i){const d=f(l,a),p=Xe.root,_=o?`${p} ${o}`:p,$=e==="error"?er:Js;return r.jsxs("div",{ref:i,className:_,"data-variant":e,style:d.style,...d,children:[s&&r.jsx("span",{className:Xe.iconWrapper,children:r.jsx($,{})}),r.jsx("span",{className:Xe.textWrapper,children:t})]})});Qe.displayName="AssistiveElement";const or="FormControlWrapper-module__root___c-UHo",tr="FormControlWrapper-module__inputSection___HenXk",wo={root:or,inputSection:tr},Fe=m.forwardRef(function({formLayout:e,labelSize:s,labelAlignment:t,labelOptionalText:o,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:i,label:c,description:d,assistiveText:p,assistiveWithIcon:_=!0,controlMaxWidth:$,controlMinWidth:b,error:y,required:N,withAsterisk:P,id:C,children:v,className:h,overStyled:R=!1,labelElement:x,...W},A){const S=m.useId(),O=C||`recursica-fc-${S}`,L=p||d,T=L?`${O}-assistive`:void 0,g=y?`${O}-error`:void 0,z=f(W,R),j=h||z.className,Ne=wo.root,he=j?`${Ne} ${j}`:Ne,U=m.isValidElement(v)?m.cloneElement(v,{...L&&!v.props["aria-describedby"]?{"aria-describedby":T}:{},...y&&!v.props["aria-errormessage"]?{"aria-errormessage":g}:{}}):v,Ye=c?r.jsx(oo,{id:O,labelAlignment:t,labelOptionalText:o,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:i,required:P??N,...x==="div"?{as:"div"}:{},children:c}):void 0;return r.jsx(le,{ref:A,className:he,formLayout:e,labelSize:s,controlMaxWidth:$,controlMinWidth:b,leftSection:Ye,...z,children:r.jsxs("div",{className:wo.inputSection,children:[U,y&&r.jsx(Qe,{id:g,assistiveVariant:"error",assistiveWithIcon:_,children:y}),!y&&L&&r.jsx(Qe,{id:T,assistiveVariant:"help",assistiveWithIcon:_,children:L})]})})});Fe.displayName="FormControlWrapper";const sr="_root_1qhn7_3",rr="_contents_1qhn7_18",Te={root:sr,contents:rr},Oo=m.forwardRef(function({layer:n,contentsOnly:e,children:s,className:t,style:o,...a},l){const i=e?t?`${Te.root} ${Te.contents} ${t}`:`${Te.root} ${Te.contents}`:t?`${Te.root} ${t}`:Te.root;return r.jsx("div",{ref:l,className:i,style:o,...e?{}:{"data-recursica-layer":String(n)},...a,children:s})});Oo.displayName="Layer";const Le=({emptyText:n="N/A"})=>r.jsx(m.Fragment,{children:n});Le.displayName="EmptyValueRenderer";Le.check=n=>n==null||n===""||Array.isArray(n)&&n.length===0;const ar={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"},be=(()=>{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:Ke&&Ke.tagName.toUpperCase()==="SCRIPT"&&Ke.src||new URL("mantine-adapter.cjs",document.baseURI).href}&&ar)return!0}catch{}if(typeof window<"u"){const n=window.location.hostname;return n==="localhost"||n==="127.0.0.1"||n.endsWith(".local")}return!1})(),Je=new Set;let ye=!1;function Lo(n){if(!be)return console.warn("[Recursica] overStyled highlight is disabled in production builds."),!1;if(ye=n!==void 0?n:!ye,typeof document<"u"){const e=document.documentElement,s=ye?"0 0 0 2px cyan":"none";e.style.setProperty("--recursica-over-styled-shadow",s),console.log(`[Recursica] Highlight outlines toggled: ${ye?"ACTIVE (0 0 0 2px cyan)":"INACTIVE"}`)}else console.warn("[Recursica] document is undefined. Cannot set CSS property.");return Je.forEach(e=>e()),ye}function nr(){return be&&ye}function Io(){const[n,e]=m.useState(ye);return m.useEffect(()=>{if(!be)return;to(),so();const s=()=>e(ye);return Je.add(s),()=>{Je.delete(s)}},[]),be&&n}function to(){if(!be)return;if(typeof document>"u"){console.warn("[Recursica] document is undefined. Cannot inject overStyled styles.");return}const n="recursica-over-styled-styles";let e=document.getElementById(n);e||(e=document.createElement("style"),e.id=n,e.textContent=`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),m=require("react"),u=require("@mantine/core"),Rs=require("@mantine/dates");var Xe=typeof document<"u"?document.currentScript:null;const As=["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"],Ao=new Set(["m","my","mx","mt","mb","ml","mr","gap","rowGap","columnGap","top","left","bottom","right"]),Ee={"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 Ie(n){const e={...n};for(const[s,t]of Object.entries(e))typeof t=="string"&&t.startsWith("rec-")&&Ao.has(s)&&t in Ee&&(e[s]=Ee[t]);return e}function f(n,e){if(e)return n;const s={...n};for(const t of As)t in s&&delete s[t];for(const[t,o]of Object.entries(s))typeof o=="string"&&o.startsWith("rec-")&&Ao.has(t)&&o in Ee&&(s[t]=Ee[o]);return s}const Os="Accordion-module__root___Dem6d",Ls="Accordion-module__item___7ryVk",Is="Accordion-module__noDivider___Ni2tT",Ws="Accordion-module__control___b4wgX",Ms="Accordion-module__label___Ss7uW",ks="Accordion-module__chevron___i-HVZ",zs="Accordion-module__iconLeftWrapper___5oLen",Bs="Accordion-module__panel___Wx50w",Es="Accordion-module__content___PEM9t",ae={root:Os,item:Ls,noDivider:Is,control:Ws,label:Ms,chevron:ks,iconLeftWrapper:zs,panel:Bs,content:Es},Oo=function({variant:e="unstyled",overStyled:s=!1,...t}){const o=f(t,s),a={root:ae.root,item:ae.item,control:ae.control,label:ae.label,chevron:ae.chevron,panel:ae.panel,content:ae.content},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const c=l;Object.keys(c).forEach(d=>{a[d]?a[d]=`${a[d]} ${c[d]}`:a[d]=c[d]})}const i=o.className;return r.jsx(u.Accordion,{variant:e,className:i,classNames:a,...o})};Oo.displayName="Accordion";const eo=m.forwardRef(function({title:e,leftIcon:s,divider:t=!0,children:o,overStyled:a=!1,...l},i){const c=f(l,a),d=c.className,p=[t?void 0:ae.noDivider,d].filter(Boolean).join(" ")||void 0;return r.jsx(u.Accordion.Item,{ref:i,className:p,...c,children:e?r.jsxs(r.Fragment,{children:[r.jsx(Ve,{leftIcon:s,children:e}),r.jsx(He,{children:o})]}):o})});eo.displayName="AccordionItem";const Ve=m.forwardRef(function({leftIcon:e,children:s,overStyled:t=!1,...o},a){const l=f(o,t),i=l.className;return r.jsx(u.Accordion.Control,{ref:a,className:i,icon:e?r.jsx("span",{className:ae.iconLeftWrapper,"aria-hidden":!0,children:e}):void 0,...l,children:s})});Ve.displayName="AccordionControl";const He=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Accordion.Panel,{ref:t,className:a,...o})});He.displayName="AccordionPanel";const qe=Oo;qe.Item=eo;qe.Control=Ve;qe.Panel=He;const Fs="AssistiveElement-module__root___WhQ43",Ds="AssistiveElement-module__textWrapper___sfy5E",Gs="AssistiveElement-module__iconWrapper___gObRF",Qe={root:Fs,textWrapper:Ds,iconWrapper:Gs},Vs=()=>r.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:[r.jsx("circle",{cx:"12",cy:"12",r:"10"}),r.jsx("path",{d:"M12 16v-4"}),r.jsx("path",{d:"M12 8h.01"})]}),Hs=()=>r.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:[r.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"}),r.jsx("path",{d:"M12 9v4"}),r.jsx("path",{d:"M12 17h.01"})]}),Fe=m.forwardRef(function({assistiveVariant:e="help",assistiveWithIcon:s=!0,children:t,className:o,overStyled:a=!1,...l},i){const d=f(l,a),p=Qe.root,_=o?`${p} ${o}`:p,$=e==="error"?Hs:Vs;return r.jsxs("div",{ref:i,className:_,"data-variant":e,style:d.style,...d,children:[s&&r.jsx("span",{className:Qe.iconWrapper,children:r.jsx($,{})}),r.jsx("span",{className:Qe.textWrapper,children:t})]})});Fe.displayName="AssistiveElement";const qs="Label-module__root___e6HXZ",Us="Label-module__labelText___rieFR",Ys="Label-module__required___Ggrzc",Zs="Label-module__optionalText___Y2yun",Ks="Label-module__actionAreaWrapper___ELoZK",Xs="Label-module__editIconWrapper___NG2xW",K={root:qs,labelText:Us,required:Ys,optionalText:Zs,actionAreaWrapper:Ks,editIconWrapper:Xs},oo=m.forwardRef(function({labelSize:e="default",labelAlignment:s,required:t=!1,labelOptionalText:o,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:i,children:c,overStyled:d=!1,...p},_){const $=s||"left";let b;t||(o===!0?b="optional":o&&(b=o));const y=f(p,d),N=y,P={label:K.root,required:K.required},C=N.classNames;if(C&&typeof C=="object"&&!Array.isArray(C)){const R=C;P.label=R.label?`${K.root} ${R.label}`:K.root,P.required=R.required?`${K.required} ${R.required}`:K.required}const v=N.className,h=v?`${K.root} ${v}`:K.root;return r.jsxs(u.Input.Label,{ref:_,className:h,classNames:P,"data-size":e,"data-alignment":$,required:t&&!a,...y,children:[r.jsx("span",{className:K.labelText,children:c}),b&&r.jsx("span",{className:K.optionalText,children:typeof b=="string"?`(${b})`:b}),l?r.jsx("span",{className:K.actionAreaWrapper,children:l}):a?r.jsx("button",{type:"button",className:K.editIconWrapper,"data-replaces-asterisk":t?"true":void 0,onClick:i,"aria-label":"Edit",children:r.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.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]})});oo.displayName="Label";const Qs="FormControlLayout-module__root___yNDhZ",Js="FormControlLayout-module__leftSection___GBM1r",er="FormControlLayout-module__rightSection___bcL4v",ke={root:Qs,leftSection:Js,rightSection:er},le=m.forwardRef(function({formLayout:e="stacked",labelSize:s="default",controlMaxWidth:t,controlMinWidth:o,leftSection:a,children:l,className:i,style:c,...d},p){const _=i?`${ke.root} ${i}`:ke.root,b=a!=null||e==="side-by-side";return r.jsxs("div",{ref:p,className:_,"data-form-layout":e,style:{...c,...t?{"--form-control-max-width":t}:{},...o?{"--form-control-min-width":o}:{}},...d,children:[b&&r.jsx("div",{className:ke.leftSection,"data-size":s,children:a}),r.jsx("div",{className:ke.rightSection,children:l})]})});le.displayName="FormControlLayout";const or="FormControlWrapper-module__root___c-UHo",tr="FormControlWrapper-module__inputSection___HenXk",Po={root:or,inputSection:tr},De=m.forwardRef(function({formLayout:e,labelSize:s,labelAlignment:t,labelOptionalText:o,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:i,label:c,description:d,assistiveText:p,assistiveWithIcon:_=!0,controlMaxWidth:$,controlMinWidth:b,error:y,required:N,withAsterisk:P,id:C,children:v,className:h,overStyled:R=!1,labelElement:x,...W},A){const S=m.useId(),O=C||`recursica-fc-${S}`,L=p||d,T=L?`${O}-assistive`:void 0,g=y?`${O}-error`:void 0,z=f(W,R),j=h||z.className,Ne=Po.root,he=j?`${Ne} ${j}`:Ne,U=m.isValidElement(v)?m.cloneElement(v,{...L&&!v.props["aria-describedby"]?{"aria-describedby":T}:{},...y&&!v.props["aria-errormessage"]?{"aria-errormessage":g}:{}}):v,Ze=c?r.jsx(oo,{id:O,labelAlignment:t,labelOptionalText:o,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:i,required:P??N,...x==="div"?{as:"div"}:{},children:c}):void 0;return r.jsx(le,{ref:A,className:he,formLayout:e,labelSize:s,controlMaxWidth:$,controlMinWidth:b,leftSection:Ze,...z,children:r.jsxs("div",{className:Po.inputSection,children:[U,y&&r.jsx(Fe,{id:g,assistiveVariant:"error",assistiveWithIcon:_,children:y}),!y&&L&&r.jsx(Fe,{id:T,assistiveVariant:"help",assistiveWithIcon:_,children:L})]})})});De.displayName="FormControlWrapper";const sr="_root_1qhn7_3",rr="_contents_1qhn7_18",Te={root:sr,contents:rr},to=m.forwardRef(function({layer:n,contentsOnly:e,children:s,className:t,style:o,...a},l){const i=e?t?`${Te.root} ${Te.contents} ${t}`:`${Te.root} ${Te.contents}`:t?`${Te.root} ${t}`:Te.root;return r.jsx("div",{ref:l,className:i,style:o,...e?{}:{"data-recursica-layer":String(n)},...a,children:s})});to.displayName="Layer";const Le=({emptyText:n="N/A"})=>r.jsx(m.Fragment,{children:n});Le.displayName="EmptyValueRenderer";Le.check=n=>n==null||n===""||Array.isArray(n)&&n.length===0;const ar={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"},be=(()=>{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:Xe&&Xe.tagName.toUpperCase()==="SCRIPT"&&Xe.src||new URL("mantine-adapter.cjs",document.baseURI).href}&&ar)return!0}catch{}if(typeof window<"u"){const n=window.location.hostname;return n==="localhost"||n==="127.0.0.1"||n.endsWith(".local")}return!1})(),Je=new Set;let ye=!1;function Lo(n){if(!be)return console.warn("[Recursica] overStyled highlight is disabled in production builds."),!1;if(ye=n!==void 0?n:!ye,typeof document<"u"){const e=document.documentElement,s=ye?"0 0 0 2px cyan":"none";e.style.setProperty("--recursica-over-styled-shadow",s),console.log(`[Recursica] Highlight outlines toggled: ${ye?"ACTIVE (0 0 0 2px cyan)":"INACTIVE"}`)}else console.warn("[Recursica] document is undefined. Cannot set CSS property.");return Je.forEach(e=>e()),ye}function nr(){return be&&ye}function Io(){const[n,e]=m.useState(ye);return m.useEffect(()=>{if(!be)return;so(),ro();const s=()=>e(ye);return Je.add(s),()=>{Je.delete(s)}},[]),be&&n}function so(){if(!be)return;if(typeof document>"u"){console.warn("[Recursica] document is undefined. Cannot inject overStyled styles.");return}const n="recursica-over-styled-styles";let e=document.getElementById(n);e||(e=document.createElement("style"),e.id=n,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 so(){if(!be)return;if(typeof window>"u"){console.warn("[Recursica] window is undefined. Cannot register console command.");return}const n=e=>{try{e.recursica=e.recursica||{},e.recursica.toggleOverStyled=()=>`[Recursica] Overstyled outline highlight is now: ${Lo()?"ON (cyan 2px box shadow)":"OFF"}`}catch{}};n(window),window.parent&&window.parent!==window&&n(window.parent)}const Po="data-recursica-theme";function lr({children:n,theme:e="light"}){return m.useEffect(()=>{const s=document.documentElement;return s.setAttribute(Po,e),()=>{s.removeAttribute(Po)}},[e]),m.useEffect(()=>{to(),so()},[]),r.jsx(r.Fragment,{children:n})}const ir=["Accordion","AssistiveElement","Autocomplete","Avatar","Badge","Breadcrumb","Button","Card","Checkbox","Chip","Container","DatePicker","Dropdown","EmptyValueRenderer","Flex","FormControlLayout","FormControlWrapper","Grid","Group","HoverCard","Label","Layer","Link","Loader","Menu","Modal","NumberInput","Pagination","Panel","Popover","Radio","ReadOnlyField","SegmentedControl","Slider","Stack","Stepper","Switch","Table","Tabs","Text","TextArea","TextField","TimePicker","Timeline","Title","Toast","Tooltip","TransferList"],cr=(n,e)=>{const s=document.activeElement;return new Promise((t,o)=>{if(e&&e.current){const a=document.createElement("textarea");a.readOnly=!0,a.defaultValue=n,e.current.appendChild(a),a.select();const l=document.execCommand("copy");e.current.removeChild(a),s&&s.focus(),l?t():o(new Error("Failed to copy"))}else o(new Error("Copy area reference is not defined"))})};function w(n){if(!be||typeof n!="function"&&!(n&&n.$$typeof))return n;const e=m.forwardRef((t,o)=>{const{overStyled:a}=t,l=Io(),i=m.createElement(n,{...t,ref:o});return a&&l?r.jsx("div",{className:"recursica-over-styled",children:i}):i});e.displayName=n.displayName||n.name||"Component";const s=Object.keys(n);for(const t of s){if(t==="render"||t==="$$typeof")continue;const o=n[t];(typeof o=="function"||o&&o.$$typeof)&&t[0]===t[0].toUpperCase()?e[t]=w(o):e[t]=o}return e}const dr="ReadOnlyField-module__layoutOverride___9fSsG",pr="ReadOnlyField-module__textField___qKn25",De={layoutOverride:dr,textField:pr},Be=({value:n,overStyled:e=!1,...s})=>{const t=f(s,e),o=t.className;return r.jsx(u.Box,{component:"p",className:o?`${De.textField} ${o}`:De.textField,...t,children:n!=null?m.isValidElement(n)?n:Array.isArray(n)?n.join(", "):String(n):""})};Be.displayName="ReadOnlyTextField";const ro=m.forwardRef(function({value:e,type:s="text",emptyValueComponent:t,overStyled:o=!1,className:a,style:l,...i},c){let d=null;const p=f(i,o),_=t||Le,b=(_.check?_.check(e):Le.check(e))?r.jsx(_,{value:e}):e;switch(s){case"boolean":d=r.jsx(Be,{value:e===!0?"True":e===!1?"False":b,overStyled:o});break;case"switch":d=r.jsx(Be,{value:e===!0?"On":e===!1?"Off":b,overStyled:o});break;case"text":default:d=r.jsx(Be,{value:b,overStyled:o});break}const y=a?`${De.layoutOverride} ${a}`:De.layoutOverride;return r.jsx(Fe,{ref:c,overStyled:o,className:y,style:l,...p,children:d})});ro.displayName="ReadOnlyField";const ee=m.forwardRef(function({readOnly:e,readOnlyComponent:s,readOnlyType:t="text",readOnlyValue:o,readOnlyNativeProps:a,emptyValueComponent:l,activeComponent:i,overStyled:c,onLabelEditClick:d,...p},_){if(e){if(s){const $=s;return r.jsx(Fe,{ref:_,...p,onLabelEditClick:d,overStyled:c,children:r.jsx($,{...a})})}return r.jsx(ro,{ref:_,type:t,value:o,emptyValueComponent:l,onLabelEditClick:d,overStyled:c,...p})}return r.jsx(Fe,{ref:_,...p,onLabelEditClick:d,overStyled:c,children:i})});ee.displayName="WithReadOnlyWrapper";const ur="AutoComplete-module__layoutOverride___-K9WL",mr="AutoComplete-module__root___kANza",_r="AutoComplete-module__input___g51MC",fr="AutoComplete-module__section___WAbf1",yr="AutoComplete-module__dropdown___NqO3E",br="AutoComplete-module__option___Y-Kja",D={layoutOverride:ur,root:mr,input:_r,section:fr,dropdown:yr,option:br},Wo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius;const g={wrapper:D.root,input:D.input,section:D.section,dropdown:D.dropdown,option:D.option},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${D.root} ${j.wrapper}`:D.root,g.input=j.input?`${D.input} ${j.input}`:D.input,g.section=j.section?`${D.section} ${j.section}`:D.section,g.dropdown=j.dropdown?`${D.dropdown} ${j.dropdown}`:D.dropdown,g.option=j.option?`${D.option} ${j.option}`:D.option}const z=C?`${D.layoutOverride} ${C}`:D.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_autocomplete_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_autocomplete_properties_min-width)",overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A:S,readOnlyNativeProps:e,activeComponent:r.jsx(u.Autocomplete,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});Wo.displayName="AutoComplete";const Nr="Avatar-module__root___fXu-J",hr="Avatar-module__iconWrapper___ojly2",$r="Avatar-module__textWrapper___zp-jD",vr="Avatar-module__image___ieqGp",xr="Avatar-module__placeholder___IDW7-",Q={root:Nr,iconWrapper:hr,textWrapper:$r,image:vr,placeholder:xr},Mo=m.forwardRef(function({size:e="default",variant:s="solid",icon:t,children:o,src:a,overStyled:l=!1,...i},c){const d={solid:"filled",outline:"outline",ghost:"transparent"},p={default:"md",small:"sm",large:"lg"},_=f(i,l),$=_;let b="text";a?b="image":t&&(b="icon");const y={root:Q.root,image:Q.image,placeholder:Q.placeholder},N=$.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const C=N;y.root=C.root?`${Q.root} ${C.root}`:Q.root,y.image=C.image?`${Q.image} ${C.image}`:Q.image,y.placeholder=C.placeholder?`${Q.placeholder} ${C.placeholder}`:Q.placeholder}const P=$.className;return r.jsx(u.Avatar,{ref:c,className:P,classNames:y,variant:d[s],size:p[e],src:a,"data-variant":s,"data-size":e,"data-style":b,..._,children:t!=null?r.jsx("span",{className:Q.iconWrapper,"aria-hidden":!0,children:t}):o!=null?r.jsx("span",{className:Q.textWrapper,children:o}):void 0})});Mo.displayName="Avatar";const Cr=u.createPolymorphicComponent(Mo),wr="Badge-module__root___5osNT",re={root:wr},ko=m.forwardRef(function({variant:e="primary-color",overStyled:s=!1,...t},o){const a=f(t,s),l={root:re.root,section:re.section,label:re.label},i=a.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;l.root=p.root?`${re.root} ${p.root}`:re.root,l.section=p.section??re.section,l.label=p.label??re.label}const c=a.className,d=c?`${re.root} ${c}`:re.root;return r.jsx(u.Badge,{ref:o,variant:"filled","data-variant":e,...a,className:d,classNames:l})});ko.displayName="Badge";const Pr=u.createPolymorphicComponent(ko),Tr="Breadcrumb-module__root___x-9ln",gr="Breadcrumb-module__separator___qrUX-",ue={root:Tr,separator:gr},zo=m.forwardRef(function({overStyled:e=!1,separator:s=">",...t},o){const a=f({separator:s,...t},e),l={root:ue.root,separator:ue.separator},i=a.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;l.root=p.root?`${ue.root} ${p.root}`:ue.root,l.separator=p.separator?`${ue.separator} ${p.separator}`:ue.separator}const c=a.className,d=c?`${ue.root} ${c}`:ue.root;return r.jsx(u.Breadcrumbs,{ref:o,...a,className:d,classNames:l})});zo.displayName="Breadcrumb";const jr="Loader-module__root___6iYOP",je={root:jr},ao=m.forwardRef(function({variant:e="oval",size:s="default",overStyled:t=!1,...o},a){const i={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[s]||"default",c=f(o,t),d={root:je.root},p=c.classNames;if(p&&typeof p=="object"&&!Array.isArray(p)){const b=p;d.root=b.root?`${je.root} ${b.root}`:je.root}const _=c.className,$=_?`${je.root} ${_}`:je.root;return r.jsx(u.Loader,{ref:a,type:e,"data-variant":e,"data-size":i,...c,className:$,classNames:d})});ao.displayName="Loader";const Sr="Button-module__root___Q2R8-",Rr="Button-module__loader___X-9u-",Ar="Button-module__label___UJ3Zt",Or="Button-module__labelText___rFV5p",Lr="Button-module__iconWrapper___uEKPa",Ir="Button-module__section___f2mKr",X={root:Sr,loader:Rr,label:Ar,labelText:Or,iconWrapper:Lr,section:Ir};function Wr(n){return n==null||n===""?!1:typeof n=="string"?n.trim()!=="":!0}const Bo=m.forwardRef(function({variant:e="solid",size:s="default",icon:t,children:o,overStyled:a=!1,loaderVariant:l="oval",loaderSize:i,useRecursicaLoader:c=!0,...d},p){const _={solid:"filled",outline:"outline",text:"subtle"},$={default:"md",small:"sm"},b=f(d,a),y=b;delete y.fullWidth;const N=!!t||!!y.leftSection,P=!!y.rightSection,C=Wr(o),v=(N||P)&&!C;let h="label";v?h="icon-only":(N||P)&&(h="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&v&&!y["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const R={root:X.root,section:X.section,label:X.label,loader:X.loader},x=y.classNames;if(x&&typeof x=="object"&&!Array.isArray(x)){const T=x;R.root=T.root?`${X.root} ${T.root}`:X.root,R.section=T.section??X.section,R.label=T.label??X.label}const W=y.className,A=W?`${X.root} ${W}`:X.root,S=y.loaderProps,O=i??(s==="small"?"small":"default");let L=S;return c&&(L={children:r.jsx(ao,{variant:l,size:O}),...S}),r.jsx(u.Button,{ref:p,className:A,classNames:R,variant:_[e],size:$[s],loaderProps:L,leftSection:t!=null?r.jsx("span",{className:X.iconWrapper,"aria-hidden":!0,children:t}):void 0,"data-variant":e,"data-size":s,"data-content":h,...b,disabled:!!y.disabled||!!y.loading,children:r.jsx("span",{className:X.labelText,children:o})})});Bo.displayName="Button";const Mr=u.createPolymorphicComponent(Bo),kr="Card-module__root___c9KvZ",zr="Card-module__header___PTXf2",Br="Card-module__footer___Mu-JC",Er="Card-module__section___BRT8H",Fr="Card-module__content___oFIQa",ie={root:kr,header:zr,footer:Br,section:Er,content:Fr},Eo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);["flex","flexGrow","flexShrink","flexBasis","grow","h","height"].forEach(d=>{d in s&&!(d in o)&&(o[d]=s[d])});const l={root:ie.root},i=o.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const d=i;Object.keys(d).forEach(p=>{l[p]?l[p]=`${l[p]} ${d[p]}`:l[p]=d[p]})}const c=o.className;return r.jsx(u.Card,{ref:t,className:c,classNames:l,...o})});Eo.displayName="Card";const Fo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Card.Section,{ref:t,className:a?`${ie.section} ${a}`:ie.section,...o})});Fo.displayName="CardSection";const Do=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Card.Section,{ref:t,className:a?`${ie.header} ${a}`:ie.header,...o})});Do.displayName="CardHeader";const Go=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Card.Section,{ref:t,className:a?`${ie.footer} ${a}`:ie.footer,...o})});Go.displayName="CardFooter";const Vo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx("div",{ref:t,className:a?`${ie.content} ${a}`:ie.content,...o})});Vo.displayName="CardContent";const Ho=u.createPolymorphicComponent(Eo),qe=Ho;qe.Section=Fo;qe.Header=Do;qe.Footer=Go;qe.Content=Vo;const Dr=Ho,Gr="Checkbox-module__groupRoot___cBS0o",Vr="Checkbox-module__root___mY3qk",Hr="Checkbox-module__body___5yC7q",qr="Checkbox-module__inner___rTke4",Ur="Checkbox-module__input___2kt-h",Yr="Checkbox-module__icon___-O7i6",Zr="Checkbox-module__labelWrapper___GpZkr",Kr="Checkbox-module__label___cwRtI",B={groupRoot:Gr,root:Vr,body:Hr,inner:qr,input:Ur,icon:Yr,labelWrapper:Zr,label:Kr},no=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,children:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,...L}=e,T=f(L,t),g=T;return delete g.size,r.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?S:O,readOnlyNativeProps:e,activeComponent:r.jsx(u.Checkbox.Group,{ref:s,...T,disabled:x||g.disabled,value:S,defaultValue:O,children:r.jsx("div",{className:B.groupRoot,"data-layout":o,children:R})})})});no.displayName="CheckboxGroup";const lo=m.forwardRef(function(e,s){const{overStyled:t=!1,readOnly:o,readOnlyComponent:a,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,..._}=e,$=f(_,t),b=$;delete b.size,delete b.color,delete b.radius,delete b.variant,delete b.iconColor;const y={root:B.root,body:B.body,inner:B.inner,input:B.input,icon:B.icon,labelWrapper:B.labelWrapper,label:B.label},N=b.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const h=N;y.root=h.root?`${B.root} ${h.root}`:B.root,y.body=h.body?`${B.body} ${h.body}`:B.body,y.inner=h.inner?`${B.inner} ${h.inner}`:B.inner,y.input=h.input?`${B.input} ${h.input}`:B.input,y.icon=h.icon?`${B.icon} ${h.icon}`:B.icon,y.labelWrapper=h.labelWrapper?`${B.labelWrapper} ${h.labelWrapper}`:B.labelWrapper,y.label=h.label?`${B.label} ${h.label}`:B.label}const P=b.className,C=P?`${B.root} ${P}`:B.root;if(o&&a){const h=!!(b.checked??b.defaultChecked),R=a,x=r.jsx(R,{...e,checked:h,label:b.label});return i?r.jsx(le,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:x}):r.jsx(r.Fragment,{children:x})}const v=r.jsx(u.Checkbox,{ref:s,className:C,classNames:y,disabled:o||l,...$});return i?r.jsx(le,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});lo.displayName="Checkbox";lo.Group=no;const Xr="Chip-module__root___f5pFk",Qr="Chip-module__label___Ov9pg",Jr="Chip-module__mantineIconWrapper___KLSz6",ea="Chip-module__innerWrapper___EnrTF",oa="Chip-module__children___zbRAR",ta="Chip-module__leadingIcon___JBtjQ",sa="Chip-module__removeIcon___pVju-",H={root:Xr,label:Qr,mantineIconWrapper:Jr,innerWrapper:ea,children:oa,leadingIcon:ta,removeIcon:sa};function ra(n){return r.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",...n,children:[r.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const qo=m.forwardRef(function({error:e=!1,icon:s,onRemove:t,removeLabel:o="Remove",children:a,overStyled:l=!1,...i},c){const d=f(i,l),p=d,_={root:H.root,label:H.label,input:H.input,iconWrapper:H.mantineIconWrapper,checkIcon:H.checkIcon},$=p.classNames;if($&&typeof $=="object"&&!Array.isArray($)){const v=$;_.root=v.root?`${H.root} ${v.root}`:H.root,_.label=v.label?`${H.label} ${v.label}`:H.label}const b=p.className,y=b?`${H.root} ${b}`:H.root,N=e?"":void 0,P=!a&&(!!s||!!t),C=p.checked!==void 0||p.defaultChecked!==void 0||t!==void 0||p.onClick!==void 0;return r.jsx(u.Chip,{ref:c,className:y,classNames:_,wrapperProps:N!==void 0?{"data-error":""}:void 0,...P?{"data-icon-only":""}:{},...C?{}:{tabIndex:-1,"aria-hidden":!0},...d,children:r.jsxs("span",{className:H.innerWrapper,children:[s&&r.jsx("span",{className:H.leadingIcon,"aria-hidden":!0,children:s}),r.jsx("span",{className:H.children,children:a}),t&&r.jsx("span",{role:"button",className:H.removeIcon,onClick:v=>{v.preventDefault(),v.stopPropagation(),t(v)},"aria-label":o,onKeyDown:v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),v.stopPropagation(),t(v))},tabIndex:0,children:r.jsx(ra,{})})]})})});qo.displayName="Chip";const aa="Container-module__root___UVssr",Se={root:aa},Uo=m.forwardRef(function({children:e,size:s,...t},o){const a={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},l=typeof s=="string"&&a[s]?a[s]:s,i={root:Se.root},c=t.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const _=c;i.root=_.root?`${Se.root} ${_.root}`:Se.root}const d=t.className,p=d?`${Se.root} ${d}`:Se.root;return r.jsx(u.Container,{ref:o,size:l,className:p,classNames:i,...t,children:e})});Uo.displayName="Container";const na="DatePicker-module__layoutOverride___X9yaM",la="DatePicker-module__root___6XvRT",ia="DatePicker-module__input___pcSW8",ca="DatePicker-module__section___n3iWA",da="DatePicker-module__dropdown___wjt08",pa="DatePicker-module__calendarHeader___KHxno",ua="DatePicker-module__day___U03J2",Y={layoutOverride:na,root:la,input:ia,section:ca,dropdown:da,calendarHeader:pa,day:ua},Yo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius,delete T.description;const g={wrapper:Y.root,input:Y.input,section:Y.section,dropdown:Y.dropdown,day:Y.day,calendarHeader:Y.calendarHeader},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${Y.root} ${j.wrapper}`:Y.root,g.input=j.input?`${Y.input} ${j.input}`:Y.input,g.section=j.section?`${Y.section} ${j.section}`:Y.section}const z=C?`${Y.layoutOverride} ${C}`:Y.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?String(A):S?String(S):void 0,readOnlyNativeProps:e,activeComponent:r.jsx(Rs.DatePickerInput,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,label:void 0,description:void 0,error:void 0,withAsterisk:!1,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});Yo.displayName="DatePicker";const ma="Dropdown-module__layoutOverride___FNcvP",_a="Dropdown-module__root___uVyL0",fa="Dropdown-module__input___dK4dN",ya="Dropdown-module__section___j3MRB",ba="Dropdown-module__dropdown___gG-Sw",Na="Dropdown-module__option___nAGU-",G={layoutOverride:ma,root:_a,input:fa,section:ya,dropdown:ba,option:Na},Zo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",containerWidth:a,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,disabled:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,data:L,...T}=e,g=f(T,t),I=g;delete I.size,delete I.variant,delete I.radius;const z={wrapper:G.root,input:G.input,section:G.section,dropdown:G.dropdown,option:G.option},j=I.classNames;if(j&&typeof j=="object"&&!Array.isArray(j)){const U=j;z.wrapper=U.wrapper?`${G.root} ${U.wrapper}`:G.root,z.input=U.input?`${G.input} ${U.input}`:G.input,z.section=U.section?`${G.section} ${U.section}`:G.section,z.dropdown=U.dropdown?`${G.dropdown} ${U.dropdown}`:G.dropdown,z.option=U.option?`${G.option} ${U.option}`:G.option}const Ne={...h||{},width:a||"100%"},he=v?`${G.layoutOverride} ${v}`:G.layoutOverride;return r.jsx(ee,{className:he,style:Ne,controlMaxWidth:"var(--recursica_ui-kit_components_dropdown_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_dropdown_properties_min-width)",overStyled:t,formLayout:o,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?String(S):O?String(O):void 0,readOnlyNativeProps:e,activeComponent:r.jsx(u.Select,{ref:s,classNames:z,disabled:R,value:S,defaultValue:O,data:L||[],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},...g})})});Zo.displayName="Dropdown";const ha=n=>r.jsx("div",{...n,children:"FileInput"}),$a=n=>r.jsx("div",{...n,children:"FileUpload"}),va="Flex-module__root___yYser",Re={root:va},Ko=m.forwardRef(function({children:e,gap:s="rec-default",rowGap:t,columnGap:o,...a},l){const i={root:Re.root},c=a.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const _=c;i.root=_.root?`${Re.root} ${_.root}`:Re.root}const d=a.className,p=d?`${Re.root} ${d}`:Re.root;return r.jsx(u.Flex,{ref:l,className:p,classNames:i,...Ie({gap:s,rowGap:t,columnGap:o,...a}),children:e})});Ko.displayName="Flex";const xa=u.createPolymorphicComponent(Ko),Ca="Grid-module__root___s-qPY",wa="Grid-module__col___tbuNg",oe={root:Ca,col:wa},Xo=m.forwardRef(function({children:e,gap:s="rec-default",...t},o){const a={root:oe.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const _=l;a.root=_.root?`${oe.root} ${_.root}`:oe.root}const i=t.className,c=i?`${oe.root} ${i}`:oe.root,{gap:d,...p}=Ie({gap:s,...t});return r.jsx(u.Grid,{ref:o,gutter:d,className:c,classNames:a,...p,children:e})});Xo.displayName="Grid";const Pa=u.createPolymorphicComponent(Xo),Qo=m.forwardRef(function({children:e,...s},t){const o={col:oe.col},a=s.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const c=a;o.col=c.col?`${oe.col} ${c.col}`:oe.col}const l=s.className,i=l?`${oe.col} ${l}`:oe.col;return r.jsx(u.Grid.Col,{ref:t,className:i,classNames:o,...Ie(s),children:e})});Qo.displayName="GridCol";const Jo=u.createPolymorphicComponent(Qo),et=Pa;et.Col=Jo;const Ta="Group-module__root___ftO64",Ae={root:Ta},ot=m.forwardRef(function({children:e,gap:s="rec-default",...t},o){const a={root:Ae.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;a.root=d.root?`${Ae.root} ${d.root}`:Ae.root}const i=t.className,c=i?`${Ae.root} ${i}`:Ae.root;return r.jsx(u.Group,{ref:o,className:c,classNames:a,...Ie({gap:s,...t}),children:e})});ot.displayName="Group";const ga="HoverCard-module__dropdown___FBPFW",ja="HoverCard-module__arrow___S9AkE",To={dropdown:ga,arrow:ja},tt=function({overStyled:e=!1,withBeak:s=!0,...t}){const o=f(t,e),a={dropdown:To.dropdown,arrow:To.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(_=>{a[_]?a[_]=`${a[_]} ${p[_]}`:a[_]=p[_]})}const i=o.arrowSize??16,c=o.withArrow,d=s??c;return r.jsx(u.HoverCard,{position:"top",arrowSize:i,withArrow:d,classNames:a,...o})};tt.displayName="HoverCard";const st=function(e){return r.jsx(u.HoverCard.Target,{...e})};st.displayName="HoverCardTarget";const rt=function({overStyled:e=!1,...s}){const t=f(s,e),o=t.className;return r.jsx(u.HoverCard.Dropdown,{className:o,...t})};rt.displayName="HoverCardDropdown";const io=tt;io.Target=st;io.Dropdown=rt;const Sa="Link-module__root___I0VGE",Ra="Link-module__iconWrapper___W-LlF",Aa="Link-module__labelText___wSvUy",ve={root:Sa,iconWrapper:Ra,labelText:Aa},at=m.forwardRef(function({icon:e,children:s,overStyled:t=!1,...o},a){const l=f(o,t),i=l,c={root:ve.root},d=i.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const $=d;c.root=$.root?`${ve.root} ${$.root}`:ve.root}const p=i.className,_=p?`${ve.root} ${p}`:ve.root;return r.jsxs(u.Anchor,{ref:a,className:_,classNames:c,underline:"never",...e?{"data-has-icon":""}:{},...l,children:[e&&r.jsx("span",{className:ve.iconWrapper,"aria-hidden":!0,children:e}),r.jsx("span",{className:ve.labelText,children:s})]})});at.displayName="Link";const Oa=u.createPolymorphicComponent(at),La="Menu-module__dropdown___j4xuA",Ia="Menu-module__item___NMXha",Wa="Menu-module__itemLabel___zvcqC",Ma="Menu-module__itemSection___pRIcn",ka="Menu-module__divider___wPiNq",za="Menu-module__label___4FBGa",Ba="Menu-module__chevron___hEEiy",xe={dropdown:La,item:Ia,itemLabel:Wa,itemSection:Ma,divider:ka,label:za,chevron:Ba},nt=function({overStyled:e=!1,...s}){const t=f(s,e),o={dropdown:xe.dropdown,item:xe.item,itemLabel:xe.itemLabel,itemSection:xe.itemSection,divider:xe.divider,label:xe.label,chevron:xe.chevron},a=t.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const l=a;Object.keys(l).forEach(i=>{o[i]?o[i]=`${o[i]} ${l[i]}`:o[i]=l[i]})}return r.jsx(u.Menu,{classNames:o,...t})};nt.displayName="Menu";const lt=function(e){return r.jsx(u.Menu.Target,{...e})};lt.displayName="MenuTarget";const it=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Dropdown,{ref:t,className:a,...o})});it.displayName="MenuDropdown";const ct=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o;e||delete a.color;const l=a.className;return r.jsx(u.Menu.Item,{ref:t,className:l,...o})});ct.displayName="MenuItem";const Ea=u.createPolymorphicComponent(ct),dt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Divider,{ref:t,className:a,...o})});dt.displayName="MenuDivider";const pt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Label,{ref:t,className:a,...o})});pt.displayName="MenuLabel";const ut=function(e){return r.jsx(u.Menu.Sub,{...e})};ut.displayName="MenuSub";const mt=function(e){return r.jsx(u.Menu.Sub.Target,{...e})};mt.displayName="MenuSubTarget";const _t=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o;e||delete a.color;const l=a.className;return r.jsx(u.Menu.Sub.Item,{ref:t,className:l,...o})});_t.displayName="MenuSubItem";const Fa=u.createPolymorphicComponent(_t),ft=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Sub.Dropdown,{ref:t,className:a,...o})});ft.displayName="MenuSubDropdown";const Ue=ut;Ue.Target=mt;Ue.Item=Fa;Ue.Dropdown=ft;const Pe=nt;Pe.Target=lt;Pe.Dropdown=it;Pe.Item=Ea;Pe.Divider=dt;Pe.Label=pt;Pe.Sub=Ue;const Da="Modal-module__root___ytPLl",Ga="Modal-module__inner___SSUJE",Va="Modal-module__content___dWO-B",Ha="Modal-module__header___ILG9i",qa="Modal-module__title___A5OeE",Ua="Modal-module__bodyWrapper___5CCL-",Ya="Modal-module__scrollArea___KD-hm",Za="Modal-module__footer___rro2w",Ka="Modal-module__close___-ER1C",ne={root:Da,inner:Ga,content:Va,header:Ha,title:qa,bodyWrapper:Ua,scrollArea:Ya,footer:Za,close:Ka},yt=m.forwardRef(function({overStyled:e=!1,children:s,title:t,withCloseButton:o=!0,overlayProps:a,withOverlay:l=!0,closeButtonProps:i,...c},d){const p=f(c,e),_={root:ne.root,inner:ne.inner,content:ne.content,header:ne.header,title:ne.title,close:ne.close},$=p.classNames;if($&&typeof $=="object"&&!Array.isArray($)){const b=$;Object.keys(b).forEach(y=>{_[y]?_[y]=`${_[y]} ${b[y]}`:_[y]=b[y]})}return r.jsxs(u.Modal.Root,{ref:d,classNames:_,...p,children:[l&&r.jsx(u.Modal.Overlay,{...a}),r.jsxs(u.Modal.Content,{children:[(t||o)&&r.jsxs(u.Modal.Header,{children:[t&&r.jsx(u.Modal.Title,{children:t}),o&&r.jsx(u.Modal.CloseButton,{...i})]}),r.jsx(po,{children:s})]})]})});yt.displayName="Modal";const co=m.forwardRef(function({overStyled:e=!1,className:s,...t},o){const a=f(t,e);return r.jsx("div",{ref:o,className:`${ne.footer} ${s||""}`,...a})});co.displayName="Modal.Footer";const po=m.forwardRef(function({className:e,onScroll:s,children:t,...o},a){const l=m.useRef(null),[i,c]=m.useState(!1),[d,p]=m.useState(!1),_=m.useCallback(()=>{if(l.current){const{scrollTop:N,scrollHeight:P,clientHeight:C}=l.current;c(N>0),p(Math.ceil(N+C)<P)}},[]);m.useEffect(()=>(_(),window.addEventListener("resize",_),()=>window.removeEventListener("resize",_)),[_,t]);const $=N=>{_(),s==null||s(N)};let b=null;const y=[];return m.Children.forEach(t,N=>{var P;m.isValidElement(N)&&(N.type===co||((P=N.type)==null?void 0:P.displayName)==="Modal.Footer")?b=N:y.push(N)}),r.jsxs(u.Modal.Body,{...o,ref:N=>{typeof a=="function"?a(N):a&&(a.current=N)},className:`${ne.bodyWrapper} ${e||""}`,children:[r.jsx("div",{ref:l,onScroll:$,"data-scrolled-top":i||void 0,"data-scrolled-bottom":d||void 0,className:ne.scrollArea,children:y}),b]})});po.displayName="Modal.Body";const bt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Root,{ref:t,...o})});bt.displayName="Modal.Root";const Nt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Overlay,{ref:t,...o})});Nt.displayName="Modal.Overlay";const ht=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Content,{ref:t,...o})});ht.displayName="Modal.Content";const $t=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Header,{ref:t,...o})});$t.displayName="Modal.Header";const vt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Title,{ref:t,...o})});vt.displayName="Modal.Title";const xt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.CloseButton,{ref:t,...o})});xt.displayName="Modal.CloseButton";const ce=yt;ce.Root=bt;ce.Overlay=Nt;ce.Content=ht;ce.Header=$t;ce.Title=vt;ce.CloseButton=xt;ce.Body=po;ce.Footer=co;const Xa="NumberInput-module__layoutOverride___5-9T4",Qa="NumberInput-module__root___C6rAn",Ja="NumberInput-module__input___Ss8p7",en="NumberInput-module__section___MijP0",on="NumberInput-module__controls___8UfQ2",tn="NumberInput-module__control___Qre9-",Ce={layoutOverride:Xa,root:Qa,input:Ja,section:en,controls:on,control:tn},Ct=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,hideControls:O=!1,...L}=e,T=f(L,t),g=T;delete g.size,delete g.variant,delete g.radius;const I={wrapper:Ce.root,input:Ce.input,section:Ce.section,controls:Ce.controls,control:Ce.control},z=C?`${Ce.layoutOverride} ${C}`:Ce.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_number-input_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_number-input_properties_min-width)",overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A==null?void 0:A.toString():S==null?void 0:S.toString(),readOnlyNativeProps:e,activeComponent:r.jsx(u.NumberInput,{ref:s,classNames:I,disabled:h,value:A,defaultValue:S,hideControls:O,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0,"data-with-left-section":g.leftSection?"true":void 0,"data-with-right-section":g.rightSection||!O?"true":void 0},...T})})});Ct.displayName="NumberInput";const sn="Pagination-module__root___ITRjt",rn="Pagination-module__control___40yNT",an="Pagination-module__dots___Yl9da",nn="Pagination-module__iconWithLabel___pLM4O",ln="Pagination-module__baseIcon___Qw3bJ",V={root:sn,control:rn,dots:an,iconWithLabel:nn,baseIcon:ln},cn="M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z",dn="M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z",pn="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",un="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",mn={next:cn,prev:dn,first:pn,last:un},We=({type:n,className:e,...s})=>r.jsx("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:`${V.baseIcon} ${e||""}`.trim(),...s,children:r.jsx("path",{d:mn[n],fill:"currentColor"})}),wt=n=>r.jsxs("div",{className:V.iconWithLabel,children:[r.jsx("span",{children:"Next"}),r.jsx(We,{type:"next",...n})]}),Pt=n=>r.jsxs("div",{className:V.iconWithLabel,children:[r.jsx(We,{type:"prev",...n}),r.jsx("span",{children:"Prev"})]}),Tt=n=>r.jsxs("div",{className:V.iconWithLabel,children:[r.jsx(We,{type:"first",...n}),r.jsx("span",{children:"First"})]}),gt=n=>r.jsxs("div",{className:V.iconWithLabel,children:[r.jsx("span",{children:"Last"}),r.jsx(We,{type:"last",...n})]});function jt(n){const e={root:V.root,control:V.control,dots:V.dots},s=n.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const a=s;e.root=a.root?`${V.root} ${a.root}`:V.root,e.control=a.control?`${V.control} ${a.control}`:V.control,e.dots=a.dots?`${V.dots} ${a.dots}`:V.dots}const t=n.className;return{className:t?`${V.root} ${t}`:V.root,classNames:e}}const St=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=jt(o);return r.jsx(u.Pagination.Root,{ref:t,className:a.className,classNames:a.classNames,...o})});St.displayName="Pagination.Root";const Rt=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?wt:void 0);return r.jsx(u.Pagination.Next,{ref:a,"data-variant":"text",icon:i,...l})});Rt.displayName="Pagination.Next";const At=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?Pt:void 0);return r.jsx(u.Pagination.Previous,{ref:a,"data-variant":"text",icon:i,...l})});At.displayName="Pagination.Previous";const Ot=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?Tt:void 0);return r.jsx(u.Pagination.First,{ref:a,"data-variant":"text",icon:i,...l})});Ot.displayName="Pagination.First";const Lt=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?gt:void 0);return r.jsx(u.Pagination.Last,{ref:a,"data-variant":"text",icon:i,...l})});Lt.displayName="Pagination.Last";const It=m.forwardRef(function({overStyled:e=!1,getControlProps:s,withLabels:t,...o},a){const l=f(o,e),i=jt(l),c=p=>{const _={"data-variant":"text"};return s?{..._,...s(p)}:_},d=t?{nextIcon:wt,previousIcon:Pt,firstIcon:Tt,lastIcon:gt}:{};return r.jsx(u.Pagination,{ref:a,className:i.className,classNames:i.classNames,getControlProps:c,...d,...l})});It.displayName="Pagination";const Wt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Pagination.Control,{ref:t,...o})});Wt.displayName="Pagination.Control";const Mt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Pagination.Dots,{ref:t,...o})});Mt.displayName="Pagination.Dots";const te=It;te.Root=St;te.Items=u.Pagination.Items;te.Control=Wt;te.Dots=Mt;te.Next=Rt;te.Previous=At;te.First=Ot;te.Last=Lt;te.Icon=We;const _n="Panel-module__content___wdGo-",fn="Panel-module__inner___ruA2b",yn="Panel-module__header___o7SiC",bn="Panel-module__title___181OP",Nn="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",hn="Panel-module__body___SEC3T",$n="Panel-module__footer___t6-hz",fe={content:_n,inner:fn,header:yn,title:bn,titleTruncate:Nn,body:hn,footer:$n},kt=function({overStyled:e=!1,placement:s="right",keepMounted:t=!0,wrapHeaderText:o=!1,...a}){const l=f(a,e),i={content:fe.content,header:fe.header,title:o?fe.titleTruncate:fe.title,body:fe.body,inner:fe.inner},c=l.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const d=c;Object.keys(d).forEach(p=>{i[p]?i[p]=`${i[p]} ${d[p]}`:i[p]=d[p]})}return r.jsx(u.Drawer,{position:s,keepMounted:t,closeOnClickOutside:a.closeOnClickOutside??!!a.opened,...l,classNames:i})};kt.displayName="Panel";const uo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className,l=a?`${fe.footer} ${a}`:fe.footer;return r.jsx("div",{ref:t,className:l,...o})});uo.displayName="PanelFooter";const zt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Root,{ref:t,...o})});zt.displayName="PanelRoot";const Bt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Overlay,{ref:t,...o})});Bt.displayName="PanelOverlay";const Et=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Content,{ref:t,...o})});Et.displayName="PanelContent";const Ft=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Header,{ref:t,...o})});Ft.displayName="PanelHeader";const Dt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Title,{ref:t,...o})});Dt.displayName="PanelTitle";const Gt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.CloseButton,{ref:t,...o})});Gt.displayName="PanelCloseButton";const Vt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Body,{ref:t,...o})});Vt.displayName="PanelBody";const se=kt;se.Root=zt;se.Overlay=Bt;se.Content=Et;se.Header=Ft;se.Title=Dt;se.CloseButton=Gt;se.Body=Vt;se.Stack=u.Drawer.Stack;se.Footer=uo;const vn="Popover-module__dropdown___svhS6",xn="Popover-module__arrow___5A-0e",go={dropdown:vn,arrow:xn},Ht=function({overStyled:e=!1,withBeak:s=!0,...t}){const o=f(t,e),a={dropdown:go.dropdown,arrow:go.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(_=>{a[_]?a[_]=`${a[_]} ${p[_]}`:a[_]=p[_]})}const i=o.arrowSize??16,c=o.withArrow,d=s??c;return r.jsx(u.Popover,{position:"top",arrowSize:i,withArrow:d,classNames:a,...o})};Ht.displayName="Popover";const qt=function(e){return r.jsx(u.Popover.Target,{...e})};qt.displayName="PopoverTarget";const Ut=function({overStyled:e=!1,...s}){const t=f(s,e),o=t.className;return r.jsx(u.Popover.Dropdown,{className:o,...t})};Ut.displayName="PopoverDropdown";const mo=Ht;mo.Target=qt;mo.Dropdown=Ut;const Cn="Radio-module__groupRoot___bfUii",wn="Radio-module__root___kAjTD",Pn="Radio-module__body___q2Wpj",Tn="Radio-module__inner___QaTBB",gn="Radio-module__radio___MfgN-",jn="Radio-module__icon___DWznm",Sn="Radio-module__labelWrapper___dB0Gi",Rn="Radio-module__label___vAFIP",E={groupRoot:Cn,root:wn,body:Pn,inner:Tn,radio:gn,icon:jn,labelWrapper:Sn,label:Rn},_o=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,children:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,...L}=e,T=f(L,t),g=T;return delete g.size,r.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?S:O,readOnlyNativeProps:e,activeComponent:r.jsx(u.Radio.Group,{ref:s,...T,disabled:x||g.disabled,value:S,defaultValue:O,children:r.jsx("div",{className:E.groupRoot,"data-layout":o,children:R})})})});_o.displayName="RadioGroup";const An=({className:n,style:e})=>r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:n,style:e,children:r.jsx("circle",{cx:"8",cy:"8",r:"5"})}),fo=m.forwardRef(function(e,s){const{overStyled:t=!1,readOnly:o,readOnlyComponent:a,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,..._}=e,$=f(_,t),b=$;delete b.size,delete b.color,delete b.radius,delete b.variant,delete b.iconColor;const y={root:E.root,body:E.body,inner:E.inner,radio:E.radio,icon:E.icon,labelWrapper:E.labelWrapper,label:E.label},N=b.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const h=N;y.root=h.root?`${E.root} ${h.root}`:E.root,y.body=h.body?`${E.body} ${h.body}`:E.body,y.inner=h.inner?`${E.inner} ${h.inner}`:E.inner,y.radio=h.radio?`${E.radio} ${h.radio}`:E.radio,y.icon=h.icon?`${E.icon} ${h.icon}`:E.icon,y.labelWrapper=h.labelWrapper?`${E.labelWrapper} ${h.labelWrapper}`:E.labelWrapper,y.label=h.label?`${E.label} ${h.label}`:E.label}const P=b.className,C=P?`${E.root} ${P}`:E.root;if(o&&a){const h=!!(b.checked??b.defaultChecked),R=a,x=r.jsx(R,{...e,checked:h,label:b.label});return i?r.jsx(le,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:x}):r.jsx(r.Fragment,{children:x})}const v=r.jsx(u.Radio,{ref:s,icon:An,className:C,classNames:y,disabled:o||l,...$});return i?r.jsx(le,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});fo.displayName="Radio";fo.Group=_o;const On="SegmentedControl-module__root___JFRhg",Ln="SegmentedControl-module__label___mS17q",In="SegmentedControl-module__control___znOdQ",Wn="SegmentedControl-module__indicator___ZMcJy",Z={root:On,label:Ln,control:In,indicator:Wn};function Mn(n){const e={root:Z.root,control:Z.control,label:Z.label,indicator:Z.indicator},s=n.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const a=s;e.root=a.root?`${Z.root} ${a.root}`:Z.root,e.control=a.control?`${Z.control} ${a.control}`:Z.control,e.label=a.label?`${Z.label} ${a.label}`:Z.label,e.indicator=a.indicator?`${Z.indicator} ${a.indicator}`:Z.indicator}const t=n.className;return{className:t?`${Z.root} ${t}`:Z.root,classNames:e}}const Yt=m.forwardRef(function({overStyled:e=!1,orientation:s="horizontal",fullWidth:t,...o},a){const l=f(o,e),i=l;delete i.disabled;const c=Mn(i);return r.jsx(u.SegmentedControl,{ref:a,className:c.className,classNames:c.classNames,orientation:s,fullWidth:t,"data-orientation":s,...l})});Yt.displayName="SegmentedControl";const kn=Yt,zn="Slider-module__layoutOverride___zYPun",Bn="Slider-module__sliderContainer___y8I0J",En="Slider-module__sliderTrackWrapper___UHpVh",Fn="Slider-module__iconWrapper___uqHpC",Dn="Slider-module__sliderRoot___LI86H",Gn="Slider-module__sliderTrack___oqnlG",Vn="Slider-module__sliderBar___TI4VY",Hn="Slider-module__sliderThumb___OFn8p",qn="Slider-module__sliderMark___1lM2B",Un="Slider-module__minMaxGuide___TaGqz",Yn="Slider-module__rightGuideContainer___8dOT8",Zn="Slider-module__currentValue___dGV2T",Kn="Slider-module__inputField___6x578",Xn="Slider-module__readOnlyValue___-ZzMW",M={layoutOverride:zn,sliderContainer:Bn,sliderTrackWrapper:En,iconWrapper:Fn,sliderRoot:Dn,sliderTrack:Gn,sliderBar:Vn,sliderThumb:Hn,sliderMark:qn,minMaxGuide:Un,rightGuideContainer:Yn,currentValue:Zn,inputField:Kn,readOnlyValue:Xn},Qn=({value:n})=>r.jsx("div",{className:M.readOnlyValue,children:n}),Zt=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:_,tooltipLabel:$,assistiveText:b,assistiveWithIcon:y,error:N,required:P,withAsterisk:C,id:v,className:h,style:R,disabled:x,readOnly:W,readOnlyComponent:A,emptyValueComponent:S,value:O,defaultValue:L,icon:T,showInput:g=!1,showMinMaxLabels:I=!0,min:z=0,max:j=100,step:Ne=1,onChange:he,onChangeEnd:U,...Ye}=e,[xs,Cs]=m.useState(()=>O!==void 0?O:L!==void 0?L:z),pe=O!==void 0?O:xs,[ws,Ze]=m.useState(pe.toString());m.useEffect(()=>{Ze(pe.toString())},[pe]);const $o=F=>{O===void 0&&Cs(F),he==null||he(F)},Ps=F=>{const xo=F.target.value;Ze(xo);const Co=parseFloat(xo);if(!isNaN(Co)){const Ss=Math.max(z,Math.min(j,Co));$o(Ss)}},Ts=()=>{Ze(pe.toString())},vo=f(Ye,t),ge=vo;delete ge.size,delete ge.variant,delete ge.radius,delete ge.wrapperProps;const $e={root:M.sliderRoot,track:M.sliderTrack,bar:M.sliderBar,thumb:M.sliderThumb,mark:M.sliderMark,markLabel:M.sliderMarkLabel},Me=ge.classNames;if(Me&&typeof Me=="object"&&!Array.isArray(Me)){const F=Me;$e.root=F.root?`${M.sliderRoot} ${F.root}`:M.sliderRoot,$e.track=F.track?`${M.sliderTrack} ${F.track}`:M.sliderTrack,$e.bar=F.bar?`${M.sliderBar} ${F.bar}`:M.sliderBar,$e.thumb=F.thumb?`${M.sliderThumb} ${F.thumb}`:M.sliderThumb,$e.mark=F.mark?`${M.sliderMark} ${F.mark}`:M.sliderMark,$e.markLabel=F.markLabel?`${M.sliderMarkLabel} ${F.markLabel}`:M.sliderMarkLabel}const gs=h?`${M.layoutOverride} ${h}`:M.layoutOverride,js=T?r.jsx("span",{className:M.iconWrapper,"aria-hidden":!0,children:T}):null;return r.jsx(ee,{ref:s,className:gs,style:R,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:_,assistiveText:b,assistiveWithIcon:y,error:N,required:P,withAsterisk:C,id:v,readOnly:W,readOnlyComponent:A||Qn,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:pe,readOnlyNativeProps:{value:pe},activeComponent:r.jsxs("div",{className:M.sliderContainer,"data-form-layout":o,"data-disabled":x?"true":void 0,"data-error":N?"true":void 0,children:[js,I&&r.jsx("span",{className:M.minMaxGuide,children:z}),r.jsx("div",{className:M.sliderTrackWrapper,children:r.jsx(u.Slider,{classNames:$e,disabled:x,value:pe,onChange:$o,onChangeEnd:U,min:z,max:j,step:Ne,label:$,...vo})}),r.jsxs("div",{className:M.rightGuideContainer,children:[!g&&r.jsx("span",{className:M.currentValue,children:pe}),I&&r.jsx("span",{className:M.minMaxGuide,children:j})]}),g&&r.jsx("input",{type:"number",className:M.inputField,value:ws,onChange:Ps,onBlur:Ts,min:z,max:j,step:Ne,disabled:x,"data-error":N?"true":void 0})]})})});Zt.displayName="Slider";const Jn="Stack-module__root___NUN-x",Oe={root:Jn},Kt=m.forwardRef(function({children:e,gap:s="rec-default",...t},o){const a={root:Oe.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;a.root=d.root?`${Oe.root} ${d.root}`:Oe.root}const i=t.className,c=i?`${Oe.root} ${i}`:Oe.root;return r.jsx(u.Stack,{ref:o,className:c,classNames:a,...Ie({gap:s,...t}),children:e})});Kt.displayName="Stack";const el=u.createPolymorphicComponent(Kt),ol="Stepper-module__root___jbSYO",tl="Stepper-module__horizontal___USHT1",sl="Stepper-module__steps___4HPO6",rl="Stepper-module__step___s2nqL",al="Stepper-module__stepBody___TBvys",nl="Stepper-module__stepLabel___N6nuy",ll="Stepper-module__stepDescription___DnDAy",il="Stepper-module__separator___pU0No",cl="Stepper-module__vertical___d4mOs",dl="Stepper-module__large___J18-y",pl="Stepper-module__small___Ub-zb",ul="Stepper-module__stepIcon___YQHNq",ml="Stepper-module__stepCompletedIcon___B9MeL",_l="Stepper-module__verticalSeparator___frWc1",fl="Stepper-module__content___J-h8X",q={root:ol,horizontal:tl,steps:sl,step:rl,stepBody:al,stepLabel:nl,stepDescription:ll,separator:il,vertical:cl,large:dl,small:pl,stepIcon:ul,stepCompletedIcon:ml,verticalSeparator:_l,content:fl},Xt=m.forwardRef(function(e,s){const{overStyled:t=!1,size:o="large",orientation:a="horizontal",className:l,style:i,...c}=e,d=f(c,t);return r.jsx(u.Stepper,{ref:s,orientation:a,className:`${q.root} ${a==="horizontal"?q.horizontal:q.vertical} ${o==="large"?q.large:q.small} ${l||""}`,style:i,"data-size":o,"data-orientation":a,classNames:{steps:q.steps,step:q.step,stepIcon:q.stepIcon,stepCompletedIcon:q.stepCompletedIcon,stepBody:q.stepBody,stepLabel:q.stepLabel,stepDescription:q.stepDescription,separator:q.separator,verticalSeparator:q.verticalSeparator,content:q.content},...d})}),Qt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Stepper.Step,{ref:t,...o})});Qt.displayName="Stepper.Step";const yl=Object.assign(Xt,{Step:Qt,Completed:u.Stepper.Completed});Xt.displayName="Stepper";const bl="Switch-module__root___Y5Ydi",Nl="Switch-module__body___Sw9Wr",hl="Switch-module__track___7ObdZ",$l="Switch-module__thumb___-FTeK",vl="Switch-module__labelWrapper___YSOwx",xl="Switch-module__label___LrH7V",Cl="Switch-module__thumbIconWrapper___sCY-1",wl="Switch-module__checkIcon___ZBAQN",Pl="Switch-module__closeIcon___bLLGw",Tl="Switch-module__groupRoot___-Uepi",k={root:bl,body:Nl,track:hl,thumb:$l,labelWrapper:vl,label:xl,thumbIconWrapper:Cl,checkIcon:wl,closeIcon:Pl,groupRoot:Tl},yo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,children:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,...L}=e,T=f(L,t),g=T;return delete g.size,r.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_switch-item_properties_label-max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?S:O,readOnlyNativeProps:e,activeComponent:r.jsx(u.Switch.Group,{ref:s,...T,disabled:x||g.disabled,value:S,defaultValue:O,children:r.jsx("div",{className:k.groupRoot,"data-layout":o,children:R})})})});yo.displayName="SwitchGroup";const bo=m.forwardRef(function(e,s){const{overStyled:t=!1,readOnly:o,readOnlyComponent:a,disabled:l,thumbIcon:i,formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,...$}=e,b=f($,t),y=b;delete y.size,delete y.color,delete y.radius,delete y.variant;const N={root:k.root,body:k.body,track:k.track,thumb:k.thumb,trackLabel:k.trackLabel,labelWrapper:k.labelWrapper,label:k.label},P=y.classNames;if(P&&typeof P=="object"&&!Array.isArray(P)){const x=P;N.root=x.root?`${k.root} ${x.root}`:k.root,N.body=x.body?`${k.body} ${x.body}`:k.body,N.track=x.track?`${k.track} ${x.track}`:k.track,N.thumb=x.thumb?`${k.thumb} ${x.thumb}`:k.thumb,N.trackLabel=x.trackLabel?`${k.trackLabel} ${x.trackLabel}`:k.trackLabel,N.labelWrapper=x.labelWrapper?`${k.labelWrapper} ${x.labelWrapper}`:k.labelWrapper,N.label=x.label?`${k.label} ${x.label}`:k.label}const C=y.className,v=C?`${k.root} ${C}`:k.root;if(o&&a){const x=!!(y.checked??y.defaultChecked),W=a,A=r.jsx(W,{...e,checked:x,label:y.label});return c?r.jsx(le,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:A}):r.jsx(r.Fragment,{children:A})}const h=r.jsxs("div",{className:k.thumbIconWrapper,children:[r.jsx(u.CheckIcon,{className:k.checkIcon}),r.jsx(u.CloseIcon,{className:k.closeIcon})]}),R=r.jsx(u.Switch,{ref:s,className:v,classNames:N,disabled:o||l,"data-disabled":o||l||void 0,thumbIcon:i??h,...b});return c?r.jsx(le,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:R}):R});bo.displayName="Switch";bo.Group=yo;const gl="Table-module__root___aMWWS",jl={root:gl},Jt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className,l=jl.root,i=a?`${l} ${a}`:l;return r.jsx(u.Table,{ref:t,className:i,...o})});Jt.displayName="Table";const es=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Thead,{ref:t,...o})});es.displayName="TableThead";const os=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Tbody,{ref:t,...o})});os.displayName="TableTbody";const ts=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Tr,{ref:t,...o})});ts.displayName="TableTr";const ss=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Th,{ref:t,...o})});ss.displayName="TableTh";const rs=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Td,{ref:t,...o})});rs.displayName="TableTd";const as=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Tfoot,{ref:t,...o})});as.displayName="TableTfoot";const ns=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Caption,{ref:t,...o})});ns.displayName="TableCaption";const ls=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.ScrollContainer,{ref:t,...o})});ls.displayName="TableScrollContainer";const de=Jt;de.Thead=es;de.Tbody=os;de.Tr=ts;de.Th=ss;de.Td=rs;de.Tfoot=as;de.Caption=ns;de.ScrollContainer=ls;const Sl="Tabs-module__root___-VKVI",Rl="Tabs-module__list___qRVME",Al="Tabs-module__tab___IdDYc",Ol="Tabs-module__panel___08i9c",ze={root:Sl,list:Rl,tab:Al,panel:Ol},is=m.forwardRef(function(e,s){const{variant:t="default",orientation:o="horizontal",overStyled:a=!1,className:l,...i}=e,c=f(i,a);return r.jsx(u.Tabs,{ref:s,variant:t,orientation:o,className:`${ze.root} ${l||""}`,"data-variant":t,"data-orientation":o,classNames:{list:ze.list,tab:ze.tab,panel:ze.panel},...c})});is.displayName="Tabs";const cs=m.forwardRef(function(e,s){const{overStyled:t=!1,...o}=e;return r.jsx(u.Tabs.List,{ref:s,...f(o,t)})});cs.displayName="Tabs.List";const ds=m.forwardRef(function(e,s){const{overStyled:t=!1,...o}=e;return r.jsx(u.Tabs.Tab,{ref:s,...f(o,t)})});ds.displayName="Tabs.Tab";const ps=m.forwardRef(function(e,s){const{overStyled:t=!1,...o}=e;return r.jsx(u.Tabs.Panel,{ref:s,...f(o,t)})});ps.displayName="Tabs.Panel";const Ll=Object.assign(is,{List:cs,Tab:ds,Panel:ps}),us=m.forwardRef(function({overStyled:e=!1,variant:s="body",...t},o){const a=f(t,e),l=a.className,i=`recursica_brand_typography_${s}`,c=l?`${i} ${l}`:i;return r.jsx(u.Text,{ref:o,className:c,...a})});us.displayName="Text";const Il=u.createPolymorphicComponent(us),Wl="TextArea-module__layoutOverride___4MCdm",Ml="TextArea-module__root___3dyeu",kl="TextArea-module__input___8l36v",me={layoutOverride:Wl,root:Ml,input:kl},ms=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius;const g={wrapper:me.root,input:me.input},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${me.root} ${j.wrapper}`:me.root,g.input=j.input?`${me.input} ${j.input}`:me.input}const z=C?`${me.layoutOverride} ${C}`:me.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_textarea_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_textarea_properties_min-width)",overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A:S,readOnlyNativeProps:e,activeComponent:r.jsx(u.Textarea,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});ms.displayName="TextArea";const zl="TextField-module__layoutOverride___SNZqc",Bl="TextField-module__root___2ZYkG",El="TextField-module__input___RL-My",Fl="TextField-module__section___bCIJ0",J={layoutOverride:zl,root:Bl,input:El,section:Fl},_s=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius;const g={wrapper:J.root,input:J.input,section:J.section},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${J.root} ${j.wrapper}`:J.root,g.input=j.input?`${J.input} ${j.input}`:J.input,g.section=j.section?`${J.section} ${j.section}`:J.section}const z=C?`${J.layoutOverride} ${C}`:J.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_text-field_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_text-field_properties_min-width)",overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A:S,readOnlyNativeProps:e,activeComponent:r.jsx(u.Input,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});_s.displayName="TextField";const Dl=n=>r.jsx("div",{...n,children:"TimePicker"}),Gl="Timeline-module__root___LwRdZ",Vl="Timeline-module__item___T5xdQ",Hl="Timeline-module__itemBody___XAV-E",ql="Timeline-module__itemBullet___rPXCy",Ul="Timeline-module__itemTitle___GgRRW",Yl="Timeline-module__itemContent___vurs-",Zl="Timeline-module__description___f9sxV",Kl="Timeline-module__timestamp___owiRu",_e={root:Gl,item:Vl,itemBody:Hl,itemBullet:ql,itemTitle:Ul,itemContent:Yl,description:Zl,timestamp:Kl},No=m.forwardRef(function({overStyled:e=!1,timestamp:s,bulletVariant:t="default",children:o,...a},l){const i=f(a,e),c={item:_e.item,itemBody:_e.itemBody,itemContent:_e.itemContent,itemBullet:_e.itemBullet,itemTitle:_e.itemTitle},d=i.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const _=d;Object.keys(_).forEach($=>{c[$]?c[$]=`${c[$]} ${_[$]}`:c[$]=_[$]})}const p=s?r.jsxs(r.Fragment,{children:[o&&r.jsx("div",{className:_e.description,children:o}),r.jsx("div",{className:_e.timestamp,children:s})]}):o;return r.jsx(u.TimelineItem,{ref:l,classNames:c,"data-variant":t,...i,children:p})});No.displayName="TimelineItem";const fs=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a={root:_e.root},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const i=l;Object.keys(i).forEach(c=>{a[c]?a[c]=`${a[c]} ${i[c]}`:a[c]=i[c]})}return r.jsx(u.Timeline,{ref:t,classNames:a,...o})});fs.displayName="Timeline";const ys=fs;ys.Item=No;const bs=m.forwardRef(function({overStyled:e=!1,order:s=1,...t},o){const a=f(t,e),l=a.className,i=`recursica_brand_typography_h${s}`,c=l?`${i} ${l}`:i;return r.jsx(u.Title,{ref:o,order:s,className:c,...a})});bs.displayName="Title";const Xl="Toast-module__root___MUvfI",Ql="Toast-module__icon___VwvE1",Jl="Toast-module__loader___8Gxd-",ei="Toast-module__title___-H6R2",oi="Toast-module__description___-QwfC",ti="Toast-module__closeButton___vGr7g",si="Toast-module__body___VLkXA",we={root:Xl,icon:Ql,loader:Jl,title:ei,description:oi,closeButton:ti,body:si},Ns=m.forwardRef(function({overStyled:e=!1,variant:s="default",withCloseButton:t=!0,...o},a){const l=f(o,e),i={root:we.root,body:we.body,title:we.title,description:we.description,closeButton:we.closeButton,icon:we.icon,loader:we.loader},c=l.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const d=c;Object.keys(d).forEach(p=>{i[p]?i[p]=`${i[p]} ${d[p]}`:i[p]=d[p]})}return r.jsx(u.Notification,{ref:a,withCloseButton:t,withBorder:!1,"data-variant":s,classNames:i,loading:!1,...l})});Ns.displayName="Toast";const ri="Tooltip-module__tooltip___UA7H9",ai="Tooltip-module__arrow___4zROk",jo={tooltip:ri,arrow:ai},hs=function({overStyled:e=!1,withBeak:s=!0,...t}){const o=f(t,e),a={tooltip:jo.tooltip,arrow:jo.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(_=>{a[_]?a[_]=`${a[_]} ${p[_]}`:a[_]=p[_]})}const i=o.arrowSize??16,c=o.withArrow,d=s??c;return r.jsx(u.Tooltip,{position:"top",multiline:!0,arrowSize:i,withArrow:d,classNames:a,...o})};hs.displayName="Tooltip";const $s=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Tooltip.Floating,{ref:t,...o})});$s.displayName="TooltipFloating";const ho=hs;ho.Floating=$s;ho.Group=u.Tooltip.Group;const ni=n=>r.jsx("div",{...n,children:"TransferList"}),li="Tree-module__root___ANcH3",So={root:li},vs=m.forwardRef(function({overStyled:e=!1,className:s,...t},o){const a=s?`${So.root} ${s}`:So.root;return r.jsx("div",{ref:o,className:a,...t,children:"Tree (Coming Soon)"})});vs.displayName="Tree";const ii=xa,ci=et,di=Jo,pi=ot,ui=el,mi=Uo,_i=Oa,fi=Il,yi=w(He),bi=w(eo),Ni=w(Ge),hi=w(Ve),$i=w(Wo),vi=w(Cr),xi=w(Pr),Ci=w(zo),wi=w(Mr),Pi=w(Dr),Ti=w(lo),gi=w(no),ji=w(qo),Si=w(Yo),Ri=w(Zo),Ai=w(ha),Oi=w($a),Li=w(le),Ii=w(io),Wi=w(ao),Mi=w(oo),ki=w(Pe),zi=w(ce),Bi=w(Ct),Ei=w(te),Fi=w(se),Di=w(uo),Gi=w(mo),Vi=w(fo),Hi=w(_o),qi=w(ro),Ui=w(kn),Yi=w(Zt),Zi=w(yl),Ki=w(bo),Xi=w(yo),Qi=w(de),Ji=w(Ll),ec=w(ms),oc=w(_s),tc=w(Dl),sc=w(ys),rc=w(No),ac=w(bs),nc=w(Ns),lc=w(ho),ic=w(ni),cc=w(vs);exports.Accordion=yi;exports.AccordionControl=Ni;exports.AccordionItem=bi;exports.AccordionPanel=hi;exports.AutoComplete=$i;exports.Avatar=vi;exports.Badge=xi;exports.Breadcrumb=Ci;exports.Button=wi;exports.Card=Pi;exports.Checkbox=Ti;exports.CheckboxGroup=gi;exports.Chip=ji;exports.Container=mi;exports.DatePicker=Si;exports.Dropdown=Ri;exports.EmptyValueRenderer=Le;exports.FileInput=Ai;exports.FileUpload=Oi;exports.Flex=ii;exports.FormControlLayout=Li;exports.Grid=ci;exports.GridCol=di;exports.Group=pi;exports.HoverCard=Ii;exports.IS_DEV=be;exports.Label=Mi;exports.Layer=Oo;exports.Link=_i;exports.Loader=Wi;exports.Menu=ki;exports.Modal=zi;exports.NumberInput=Bi;exports.Pagination=Ei;exports.Panel=Fi;exports.PanelFooter=Di;exports.Popover=Gi;exports.RECURSICA_COMPONENTS=ir;exports.Radio=Vi;exports.RadioGroup=Hi;exports.ReadOnlyField=qi;exports.RecursicaThemeProvider=lr;exports.SegmentedControl=Ui;exports.Slider=Yi;exports.Stack=ui;exports.Stepper=Zi;exports.Switch=Ki;exports.SwitchGroup=Xi;exports.Table=Qi;exports.Tabs=Ji;exports.Text=fi;exports.TextArea=ec;exports.TextField=oc;exports.TimePicker=tc;exports.Timeline=sc;exports.TimelineItem=rc;exports.Title=ac;exports.Toast=nc;exports.Tooltip=lc;exports.TransferList=ic;exports.Tree=cc;exports.copyToClipboard=cr;exports.injectOverStyledStyles=to;exports.isGlobalOverStyledActive=nr;exports.registerOverStyledConsoleCommand=so;exports.toggleGlobalOverStyled=Lo;exports.useGlobalOverStyled=Io;exports.wrapComponent=w;
|
|
11
|
+
`,document.head.appendChild(e))}function ro(){if(!be)return;if(typeof window>"u"){console.warn("[Recursica] window is undefined. Cannot register console command.");return}const n=e=>{try{e.recursica=e.recursica||{},e.recursica.toggleOverStyled=()=>`[Recursica] Overstyled outline highlight is now: ${Lo()?"ON (cyan 2px box shadow)":"OFF"}`}catch{}};n(window),window.parent&&window.parent!==window&&n(window.parent)}const To="data-recursica-theme";function lr({children:n,theme:e="light",initLayer0:s=!0}){return m.useEffect(()=>{const t=document.documentElement;return t.setAttribute(To,e),()=>{t.removeAttribute(To)}},[e]),m.useEffect(()=>{so(),ro()},[]),s?r.jsx(to,{layer:0,children:n}):r.jsx(r.Fragment,{children:n})}const ir=["Accordion","AssistiveElement","Autocomplete","Avatar","Badge","Breadcrumb","Button","Card","Checkbox","Chip","Container","DatePicker","Dropdown","EmptyValueRenderer","Flex","FormControlLayout","FormControlWrapper","Grid","Group","HoverCard","Label","Layer","Link","Loader","Menu","Modal","NumberInput","Pagination","Panel","Popover","Radio","ReadOnlyField","SegmentedControl","Slider","Stack","Stepper","Switch","Table","Tabs","Text","TextArea","TextField","TimePicker","Timeline","Title","Toast","Tooltip","TransferList"],cr=(n,e)=>{const s=document.activeElement;return new Promise((t,o)=>{if(e&&e.current){const a=document.createElement("textarea");a.readOnly=!0,a.defaultValue=n,e.current.appendChild(a),a.select();const l=document.execCommand("copy");e.current.removeChild(a),s&&s.focus(),l?t():o(new Error("Failed to copy"))}else o(new Error("Copy area reference is not defined"))})};function w(n){if(!be||typeof n!="function"&&!(n&&n.$$typeof))return n;const e=m.forwardRef((t,o)=>{const{overStyled:a}=t,l=Io(),i=m.createElement(n,{...t,ref:o});return a&&l?r.jsx("div",{className:"recursica-over-styled",children:i}):i});e.displayName=n.displayName||n.name||"Component";const s=Object.keys(n);for(const t of s){if(t==="render"||t==="$$typeof")continue;const o=n[t];(typeof o=="function"||o&&o.$$typeof)&&t[0]===t[0].toUpperCase()?e[t]=w(o):e[t]=o}return e}const dr="ReadOnlyField-module__layoutOverride___9fSsG",pr="ReadOnlyField-module__textField___qKn25",Ge={layoutOverride:dr,textField:pr},Be=({value:n,overStyled:e=!1,...s})=>{const t=f(s,e),o=t.className;return r.jsx(u.Box,{component:"p",className:o?`${Ge.textField} ${o}`:Ge.textField,...t,children:n!=null?m.isValidElement(n)?n:Array.isArray(n)?n.join(", "):String(n):""})};Be.displayName="ReadOnlyTextField";const ao=m.forwardRef(function({value:e,type:s="text",emptyValueComponent:t,overStyled:o=!1,className:a,style:l,...i},c){let d=null;const p=f(i,o),_=t||Le,b=(_.check?_.check(e):Le.check(e))?r.jsx(_,{value:e}):e;switch(s){case"boolean":d=r.jsx(Be,{value:e===!0?"True":e===!1?"False":b,overStyled:o});break;case"switch":d=r.jsx(Be,{value:e===!0?"On":e===!1?"Off":b,overStyled:o});break;case"text":default:d=r.jsx(Be,{value:b,overStyled:o});break}const y=a?`${Ge.layoutOverride} ${a}`:Ge.layoutOverride;return r.jsx(De,{ref:c,overStyled:o,className:y,style:l,...p,children:d})});ao.displayName="ReadOnlyField";const ee=m.forwardRef(function({readOnly:e,readOnlyComponent:s,readOnlyType:t="text",readOnlyValue:o,readOnlyNativeProps:a,emptyValueComponent:l,activeComponent:i,overStyled:c,onLabelEditClick:d,...p},_){if(e){if(s){const $=s;return r.jsx(De,{ref:_,...p,onLabelEditClick:d,overStyled:c,children:r.jsx($,{...a})})}return r.jsx(ao,{ref:_,type:t,value:o,emptyValueComponent:l,onLabelEditClick:d,overStyled:c,...p})}return r.jsx(De,{ref:_,...p,onLabelEditClick:d,overStyled:c,children:i})});ee.displayName="WithReadOnlyWrapper";const ur="AutoComplete-module__layoutOverride___-K9WL",mr="AutoComplete-module__root___kANza",_r="AutoComplete-module__input___g51MC",fr="AutoComplete-module__section___WAbf1",yr="AutoComplete-module__dropdown___NqO3E",br="AutoComplete-module__option___Y-Kja",D={layoutOverride:ur,root:mr,input:_r,section:fr,dropdown:yr,option:br},Wo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius;const g={wrapper:D.root,input:D.input,section:D.section,dropdown:D.dropdown,option:D.option},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${D.root} ${j.wrapper}`:D.root,g.input=j.input?`${D.input} ${j.input}`:D.input,g.section=j.section?`${D.section} ${j.section}`:D.section,g.dropdown=j.dropdown?`${D.dropdown} ${j.dropdown}`:D.dropdown,g.option=j.option?`${D.option} ${j.option}`:D.option}const z=C?`${D.layoutOverride} ${C}`:D.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_autocomplete_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_autocomplete_properties_min-width)",overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A:S,readOnlyNativeProps:e,activeComponent:r.jsx(u.Autocomplete,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});Wo.displayName="AutoComplete";const Nr="Avatar-module__root___fXu-J",hr="Avatar-module__iconWrapper___ojly2",$r="Avatar-module__textWrapper___zp-jD",vr="Avatar-module__image___ieqGp",xr="Avatar-module__placeholder___IDW7-",Q={root:Nr,iconWrapper:hr,textWrapper:$r,image:vr,placeholder:xr},Mo=m.forwardRef(function({size:e="default",variant:s="solid",icon:t,children:o,src:a,overStyled:l=!1,...i},c){const d={solid:"filled",outline:"outline",ghost:"transparent"},p={default:"md",small:"sm",large:"lg"},_=f(i,l),$=_;let b="text";a?b="image":t&&(b="icon");const y={root:Q.root,image:Q.image,placeholder:Q.placeholder},N=$.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const C=N;y.root=C.root?`${Q.root} ${C.root}`:Q.root,y.image=C.image?`${Q.image} ${C.image}`:Q.image,y.placeholder=C.placeholder?`${Q.placeholder} ${C.placeholder}`:Q.placeholder}const P=$.className;return r.jsx(u.Avatar,{ref:c,className:P,classNames:y,variant:d[s],size:p[e],src:a,"data-variant":s,"data-size":e,"data-style":b,..._,children:t!=null?r.jsx("span",{className:Q.iconWrapper,"aria-hidden":!0,children:t}):o!=null?r.jsx("span",{className:Q.textWrapper,children:o}):void 0})});Mo.displayName="Avatar";const Cr=u.createPolymorphicComponent(Mo),wr="Badge-module__root___5osNT",re={root:wr},ko=m.forwardRef(function({variant:e="primary-color",overStyled:s=!1,...t},o){const a=f(t,s),l={root:re.root,section:re.section,label:re.label},i=a.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;l.root=p.root?`${re.root} ${p.root}`:re.root,l.section=p.section??re.section,l.label=p.label??re.label}const c=a.className,d=c?`${re.root} ${c}`:re.root;return r.jsx(u.Badge,{ref:o,variant:"filled","data-variant":e,...a,className:d,classNames:l})});ko.displayName="Badge";const Pr=u.createPolymorphicComponent(ko),Tr="Breadcrumb-module__root___x-9ln",gr="Breadcrumb-module__separator___qrUX-",ue={root:Tr,separator:gr},zo=m.forwardRef(function({overStyled:e=!1,separator:s=">",...t},o){const a=f({separator:s,...t},e),l={root:ue.root,separator:ue.separator},i=a.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;l.root=p.root?`${ue.root} ${p.root}`:ue.root,l.separator=p.separator?`${ue.separator} ${p.separator}`:ue.separator}const c=a.className,d=c?`${ue.root} ${c}`:ue.root;return r.jsx(u.Breadcrumbs,{ref:o,...a,className:d,classNames:l})});zo.displayName="Breadcrumb";const jr="Loader-module__root___6iYOP",je={root:jr},no=m.forwardRef(function({variant:e="oval",size:s="default",overStyled:t=!1,...o},a){const i={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[s]||"default",c=f(o,t),d={root:je.root},p=c.classNames;if(p&&typeof p=="object"&&!Array.isArray(p)){const b=p;d.root=b.root?`${je.root} ${b.root}`:je.root}const _=c.className,$=_?`${je.root} ${_}`:je.root;return r.jsx(u.Loader,{ref:a,type:e,"data-variant":e,"data-size":i,...c,className:$,classNames:d})});no.displayName="Loader";const Sr="Button-module__root___Q2R8-",Rr="Button-module__loader___X-9u-",Ar="Button-module__label___UJ3Zt",Or="Button-module__labelText___rFV5p",Lr="Button-module__iconWrapper___uEKPa",Ir="Button-module__section___f2mKr",X={root:Sr,loader:Rr,label:Ar,labelText:Or,iconWrapper:Lr,section:Ir};function Wr(n){return n==null||n===""?!1:typeof n=="string"?n.trim()!=="":!0}const Bo=m.forwardRef(function({variant:e="solid",size:s="default",icon:t,children:o,overStyled:a=!1,loaderVariant:l="oval",loaderSize:i,useRecursicaLoader:c=!0,...d},p){const _={solid:"filled",outline:"outline",text:"subtle"},$={default:"md",small:"sm"},b=f(d,a),y=b;delete y.fullWidth;const N=!!t||!!y.leftSection,P=!!y.rightSection,C=Wr(o),v=(N||P)&&!C;let h="label";v?h="icon-only":(N||P)&&(h="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&v&&!y["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const R={root:X.root,section:X.section,label:X.label,loader:X.loader},x=y.classNames;if(x&&typeof x=="object"&&!Array.isArray(x)){const T=x;R.root=T.root?`${X.root} ${T.root}`:X.root,R.section=T.section??X.section,R.label=T.label??X.label}const W=y.className,A=W?`${X.root} ${W}`:X.root,S=y.loaderProps,O=i??(s==="small"?"small":"default");let L=S;return c&&(L={children:r.jsx(no,{variant:l,size:O}),...S}),r.jsx(u.Button,{ref:p,className:A,classNames:R,variant:_[e],size:$[s],loaderProps:L,leftSection:t!=null?r.jsx("span",{className:X.iconWrapper,"aria-hidden":!0,children:t}):void 0,"data-variant":e,"data-size":s,"data-content":h,...b,disabled:!!y.disabled||!!y.loading,children:r.jsx("span",{className:X.labelText,children:o})})});Bo.displayName="Button";const Mr=u.createPolymorphicComponent(Bo),kr="Card-module__root___c9KvZ",zr="Card-module__header___PTXf2",Br="Card-module__footer___Mu-JC",Er="Card-module__section___BRT8H",Fr="Card-module__content___oFIQa",ie={root:kr,header:zr,footer:Br,section:Er,content:Fr},Eo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);["flex","flexGrow","flexShrink","flexBasis","grow","h","height"].forEach(d=>{d in s&&!(d in o)&&(o[d]=s[d])});const l={root:ie.root},i=o.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const d=i;Object.keys(d).forEach(p=>{l[p]?l[p]=`${l[p]} ${d[p]}`:l[p]=d[p]})}const c=o.className;return r.jsx(u.Card,{ref:t,className:c,classNames:l,...o})});Eo.displayName="Card";const Fo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Card.Section,{ref:t,className:a?`${ie.section} ${a}`:ie.section,...o})});Fo.displayName="CardSection";const Do=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Card.Section,{ref:t,className:a?`${ie.header} ${a}`:ie.header,...o})});Do.displayName="CardHeader";const Go=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Card.Section,{ref:t,className:a?`${ie.footer} ${a}`:ie.footer,...o})});Go.displayName="CardFooter";const Vo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx("div",{ref:t,className:a?`${ie.content} ${a}`:ie.content,...o})});Vo.displayName="CardContent";const Ho=u.createPolymorphicComponent(Eo),Ue=Ho;Ue.Section=Fo;Ue.Header=Do;Ue.Footer=Go;Ue.Content=Vo;const Dr=Ho,Gr="Checkbox-module__groupRoot___cBS0o",Vr="Checkbox-module__root___mY3qk",Hr="Checkbox-module__body___5yC7q",qr="Checkbox-module__inner___rTke4",Ur="Checkbox-module__input___2kt-h",Yr="Checkbox-module__icon___-O7i6",Zr="Checkbox-module__labelWrapper___GpZkr",Kr="Checkbox-module__label___cwRtI",B={groupRoot:Gr,root:Vr,body:Hr,inner:qr,input:Ur,icon:Yr,labelWrapper:Zr,label:Kr},lo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,children:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,...L}=e,T=f(L,t),g=T;return delete g.size,r.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?S:O,readOnlyNativeProps:e,activeComponent:r.jsx(u.Checkbox.Group,{ref:s,...T,disabled:x||g.disabled,value:S,defaultValue:O,children:r.jsx("div",{className:B.groupRoot,"data-layout":o,children:R})})})});lo.displayName="CheckboxGroup";const io=m.forwardRef(function(e,s){const{overStyled:t=!1,readOnly:o,readOnlyComponent:a,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,..._}=e,$=f(_,t),b=$;delete b.size,delete b.color,delete b.radius,delete b.variant,delete b.iconColor;const y={root:B.root,body:B.body,inner:B.inner,input:B.input,icon:B.icon,labelWrapper:B.labelWrapper,label:B.label},N=b.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const h=N;y.root=h.root?`${B.root} ${h.root}`:B.root,y.body=h.body?`${B.body} ${h.body}`:B.body,y.inner=h.inner?`${B.inner} ${h.inner}`:B.inner,y.input=h.input?`${B.input} ${h.input}`:B.input,y.icon=h.icon?`${B.icon} ${h.icon}`:B.icon,y.labelWrapper=h.labelWrapper?`${B.labelWrapper} ${h.labelWrapper}`:B.labelWrapper,y.label=h.label?`${B.label} ${h.label}`:B.label}const P=b.className,C=P?`${B.root} ${P}`:B.root;if(o&&a){const h=!!(b.checked??b.defaultChecked),R=a,x=r.jsx(R,{...e,checked:h,label:b.label});return i?r.jsx(le,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:x}):r.jsx(r.Fragment,{children:x})}const v=r.jsx(u.Checkbox,{ref:s,className:C,classNames:y,disabled:o||l,...$});return i?r.jsx(le,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});io.displayName="Checkbox";io.Group=lo;const Xr="Chip-module__root___f5pFk",Qr="Chip-module__label___Ov9pg",Jr="Chip-module__mantineIconWrapper___KLSz6",ea="Chip-module__innerWrapper___EnrTF",oa="Chip-module__children___zbRAR",ta="Chip-module__leadingIcon___JBtjQ",sa="Chip-module__removeIcon___pVju-",H={root:Xr,label:Qr,mantineIconWrapper:Jr,innerWrapper:ea,children:oa,leadingIcon:ta,removeIcon:sa};function ra(n){return r.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",...n,children:[r.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const qo=m.forwardRef(function({error:e=!1,icon:s,onRemove:t,removeLabel:o="Remove",children:a,overStyled:l=!1,...i},c){const d=f(i,l),p=d,_={root:H.root,label:H.label,input:H.input,iconWrapper:H.mantineIconWrapper,checkIcon:H.checkIcon},$=p.classNames;if($&&typeof $=="object"&&!Array.isArray($)){const v=$;_.root=v.root?`${H.root} ${v.root}`:H.root,_.label=v.label?`${H.label} ${v.label}`:H.label}const b=p.className,y=b?`${H.root} ${b}`:H.root,N=e?"":void 0,P=!a&&(!!s||!!t),C=p.checked!==void 0||p.defaultChecked!==void 0||t!==void 0||p.onClick!==void 0;return r.jsx(u.Chip,{ref:c,className:y,classNames:_,wrapperProps:N!==void 0?{"data-error":""}:void 0,...P?{"data-icon-only":""}:{},...C?{}:{tabIndex:-1,"aria-hidden":!0},...d,children:r.jsxs("span",{className:H.innerWrapper,children:[s&&r.jsx("span",{className:H.leadingIcon,"aria-hidden":!0,children:s}),r.jsx("span",{className:H.children,children:a}),t&&r.jsx("span",{role:"button",className:H.removeIcon,onClick:v=>{v.preventDefault(),v.stopPropagation(),t(v)},"aria-label":o,onKeyDown:v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),v.stopPropagation(),t(v))},tabIndex:0,children:r.jsx(ra,{})})]})})});qo.displayName="Chip";const aa="Container-module__root___UVssr",Se={root:aa},Uo=m.forwardRef(function({children:e,size:s,...t},o){const a={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},l=typeof s=="string"&&a[s]?a[s]:s,i={root:Se.root},c=t.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const _=c;i.root=_.root?`${Se.root} ${_.root}`:Se.root}const d=t.className,p=d?`${Se.root} ${d}`:Se.root;return r.jsx(u.Container,{ref:o,size:l,className:p,classNames:i,...t,children:e})});Uo.displayName="Container";const na="DatePicker-module__layoutOverride___X9yaM",la="DatePicker-module__root___6XvRT",ia="DatePicker-module__input___pcSW8",ca="DatePicker-module__section___n3iWA",da="DatePicker-module__dropdown___wjt08",pa="DatePicker-module__calendarHeader___KHxno",ua="DatePicker-module__day___U03J2",Y={layoutOverride:na,root:la,input:ia,section:ca,dropdown:da,calendarHeader:pa,day:ua},Yo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius,delete T.description;const g={wrapper:Y.root,input:Y.input,section:Y.section,dropdown:Y.dropdown,day:Y.day,calendarHeader:Y.calendarHeader},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${Y.root} ${j.wrapper}`:Y.root,g.input=j.input?`${Y.input} ${j.input}`:Y.input,g.section=j.section?`${Y.section} ${j.section}`:Y.section}const z=C?`${Y.layoutOverride} ${C}`:Y.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?String(A):S?String(S):void 0,readOnlyNativeProps:e,activeComponent:r.jsx(Rs.DatePickerInput,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,label:void 0,description:void 0,error:void 0,withAsterisk:!1,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});Yo.displayName="DatePicker";const ma="Dropdown-module__layoutOverride___FNcvP",_a="Dropdown-module__root___uVyL0",fa="Dropdown-module__input___dK4dN",ya="Dropdown-module__section___j3MRB",ba="Dropdown-module__dropdown___gG-Sw",Na="Dropdown-module__option___nAGU-",G={layoutOverride:ma,root:_a,input:fa,section:ya,dropdown:ba,option:Na},Zo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",containerWidth:a,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,disabled:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,data:L,...T}=e,g=f(T,t),I=g;delete I.size,delete I.variant,delete I.radius;const z={wrapper:G.root,input:G.input,section:G.section,dropdown:G.dropdown,option:G.option},j=I.classNames;if(j&&typeof j=="object"&&!Array.isArray(j)){const U=j;z.wrapper=U.wrapper?`${G.root} ${U.wrapper}`:G.root,z.input=U.input?`${G.input} ${U.input}`:G.input,z.section=U.section?`${G.section} ${U.section}`:G.section,z.dropdown=U.dropdown?`${G.dropdown} ${U.dropdown}`:G.dropdown,z.option=U.option?`${G.option} ${U.option}`:G.option}const Ne={...h||{},width:a||"100%"},he=v?`${G.layoutOverride} ${v}`:G.layoutOverride;return r.jsx(ee,{className:he,style:Ne,controlMaxWidth:"var(--recursica_ui-kit_components_dropdown_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_dropdown_properties_min-width)",overStyled:t,formLayout:o,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?String(S):O?String(O):void 0,readOnlyNativeProps:e,activeComponent:r.jsx(u.Select,{ref:s,classNames:z,disabled:R,value:S,defaultValue:O,data:L||[],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},...g})})});Zo.displayName="Dropdown";const ha=n=>r.jsx("div",{...n,children:"FileInput"}),$a=n=>r.jsx("div",{...n,children:"FileUpload"}),va="Flex-module__root___yYser",Re={root:va},Ko=m.forwardRef(function({children:e,gap:s="rec-default",rowGap:t,columnGap:o,...a},l){const i={root:Re.root},c=a.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const _=c;i.root=_.root?`${Re.root} ${_.root}`:Re.root}const d=a.className,p=d?`${Re.root} ${d}`:Re.root;return r.jsx(u.Flex,{ref:l,className:p,classNames:i,...Ie({gap:s,rowGap:t,columnGap:o,...a}),children:e})});Ko.displayName="Flex";const xa=u.createPolymorphicComponent(Ko),Ca="Grid-module__root___s-qPY",wa="Grid-module__col___tbuNg",oe={root:Ca,col:wa},Xo=m.forwardRef(function({children:e,gap:s="rec-default",...t},o){const a={root:oe.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const _=l;a.root=_.root?`${oe.root} ${_.root}`:oe.root}const i=t.className,c=i?`${oe.root} ${i}`:oe.root,{gap:d,...p}=Ie({gap:s,...t});return r.jsx(u.Grid,{ref:o,gutter:d,className:c,classNames:a,...p,children:e})});Xo.displayName="Grid";const Pa=u.createPolymorphicComponent(Xo),Qo=m.forwardRef(function({children:e,...s},t){const o={col:oe.col},a=s.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const c=a;o.col=c.col?`${oe.col} ${c.col}`:oe.col}const l=s.className,i=l?`${oe.col} ${l}`:oe.col;return r.jsx(u.Grid.Col,{ref:t,className:i,classNames:o,...Ie(s),children:e})});Qo.displayName="GridCol";const Jo=u.createPolymorphicComponent(Qo),et=Pa;et.Col=Jo;const Ta="Group-module__root___ftO64",Ae={root:Ta},ot=m.forwardRef(function({children:e,gap:s="rec-default",...t},o){const a={root:Ae.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;a.root=d.root?`${Ae.root} ${d.root}`:Ae.root}const i=t.className,c=i?`${Ae.root} ${i}`:Ae.root;return r.jsx(u.Group,{ref:o,className:c,classNames:a,...Ie({gap:s,...t}),children:e})});ot.displayName="Group";const ga="HoverCard-module__dropdown___FBPFW",ja="HoverCard-module__arrow___S9AkE",go={dropdown:ga,arrow:ja},tt=function({overStyled:e=!1,withBeak:s=!0,...t}){const o=f(t,e),a={dropdown:go.dropdown,arrow:go.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(_=>{a[_]?a[_]=`${a[_]} ${p[_]}`:a[_]=p[_]})}const i=o.arrowSize??16,c=o.withArrow,d=s??c;return r.jsx(u.HoverCard,{position:"top",arrowSize:i,withArrow:d,classNames:a,...o})};tt.displayName="HoverCard";const st=function(e){return r.jsx(u.HoverCard.Target,{...e})};st.displayName="HoverCardTarget";const rt=function({overStyled:e=!1,...s}){const t=f(s,e),o=t.className;return r.jsx(u.HoverCard.Dropdown,{className:o,...t})};rt.displayName="HoverCardDropdown";const co=tt;co.Target=st;co.Dropdown=rt;const Sa="Link-module__root___I0VGE",Ra="Link-module__iconWrapper___W-LlF",Aa="Link-module__labelText___wSvUy",ve={root:Sa,iconWrapper:Ra,labelText:Aa},at=m.forwardRef(function({icon:e,children:s,overStyled:t=!1,...o},a){const l=f(o,t),i=l,c={root:ve.root},d=i.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const $=d;c.root=$.root?`${ve.root} ${$.root}`:ve.root}const p=i.className,_=p?`${ve.root} ${p}`:ve.root;return r.jsxs(u.Anchor,{ref:a,className:_,classNames:c,underline:"never",...e?{"data-has-icon":""}:{},...l,children:[e&&r.jsx("span",{className:ve.iconWrapper,"aria-hidden":!0,children:e}),r.jsx("span",{className:ve.labelText,children:s})]})});at.displayName="Link";const Oa=u.createPolymorphicComponent(at),La="Menu-module__dropdown___j4xuA",Ia="Menu-module__item___NMXha",Wa="Menu-module__itemLabel___zvcqC",Ma="Menu-module__itemSection___pRIcn",ka="Menu-module__divider___wPiNq",za="Menu-module__label___4FBGa",Ba="Menu-module__chevron___hEEiy",xe={dropdown:La,item:Ia,itemLabel:Wa,itemSection:Ma,divider:ka,label:za,chevron:Ba},nt=function({overStyled:e=!1,...s}){const t=f(s,e),o={dropdown:xe.dropdown,item:xe.item,itemLabel:xe.itemLabel,itemSection:xe.itemSection,divider:xe.divider,label:xe.label,chevron:xe.chevron},a=t.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const l=a;Object.keys(l).forEach(i=>{o[i]?o[i]=`${o[i]} ${l[i]}`:o[i]=l[i]})}return r.jsx(u.Menu,{classNames:o,...t})};nt.displayName="Menu";const lt=function(e){return r.jsx(u.Menu.Target,{...e})};lt.displayName="MenuTarget";const it=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Dropdown,{ref:t,className:a,...o})});it.displayName="MenuDropdown";const ct=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o;e||delete a.color;const l=a.className;return r.jsx(u.Menu.Item,{ref:t,className:l,...o})});ct.displayName="MenuItem";const Ea=u.createPolymorphicComponent(ct),dt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Divider,{ref:t,className:a,...o})});dt.displayName="MenuDivider";const pt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Label,{ref:t,className:a,...o})});pt.displayName="MenuLabel";const ut=function(e){return r.jsx(u.Menu.Sub,{...e})};ut.displayName="MenuSub";const mt=function(e){return r.jsx(u.Menu.Sub.Target,{...e})};mt.displayName="MenuSubTarget";const _t=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o;e||delete a.color;const l=a.className;return r.jsx(u.Menu.Sub.Item,{ref:t,className:l,...o})});_t.displayName="MenuSubItem";const Fa=u.createPolymorphicComponent(_t),ft=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Sub.Dropdown,{ref:t,className:a,...o})});ft.displayName="MenuSubDropdown";const Ye=ut;Ye.Target=mt;Ye.Item=Fa;Ye.Dropdown=ft;const Pe=nt;Pe.Target=lt;Pe.Dropdown=it;Pe.Item=Ea;Pe.Divider=dt;Pe.Label=pt;Pe.Sub=Ye;const Da="Modal-module__root___ytPLl",Ga="Modal-module__inner___SSUJE",Va="Modal-module__content___dWO-B",Ha="Modal-module__header___ILG9i",qa="Modal-module__title___A5OeE",Ua="Modal-module__bodyWrapper___5CCL-",Ya="Modal-module__scrollArea___KD-hm",Za="Modal-module__footer___rro2w",Ka="Modal-module__close___-ER1C",ne={root:Da,inner:Ga,content:Va,header:Ha,title:qa,bodyWrapper:Ua,scrollArea:Ya,footer:Za,close:Ka},yt=m.forwardRef(function({overStyled:e=!1,children:s,title:t,withCloseButton:o=!0,overlayProps:a,withOverlay:l=!0,closeButtonProps:i,...c},d){const p=f(c,e),_={root:ne.root,inner:ne.inner,content:ne.content,header:ne.header,title:ne.title,close:ne.close},$=p.classNames;if($&&typeof $=="object"&&!Array.isArray($)){const b=$;Object.keys(b).forEach(y=>{_[y]?_[y]=`${_[y]} ${b[y]}`:_[y]=b[y]})}return r.jsxs(u.Modal.Root,{ref:d,classNames:_,...p,children:[l&&r.jsx(u.Modal.Overlay,{...a}),r.jsxs(u.Modal.Content,{children:[(t||o)&&r.jsxs(u.Modal.Header,{children:[t&&r.jsx(u.Modal.Title,{children:t}),o&&r.jsx(u.Modal.CloseButton,{...i})]}),r.jsx(uo,{children:s})]})]})});yt.displayName="Modal";const po=m.forwardRef(function({overStyled:e=!1,className:s,...t},o){const a=f(t,e);return r.jsx("div",{ref:o,className:`${ne.footer} ${s||""}`,...a})});po.displayName="Modal.Footer";const uo=m.forwardRef(function({className:e,onScroll:s,children:t,...o},a){const l=m.useRef(null),[i,c]=m.useState(!1),[d,p]=m.useState(!1),_=m.useCallback(()=>{if(l.current){const{scrollTop:N,scrollHeight:P,clientHeight:C}=l.current;c(N>0),p(Math.ceil(N+C)<P)}},[]);m.useEffect(()=>(_(),window.addEventListener("resize",_),()=>window.removeEventListener("resize",_)),[_,t]);const $=N=>{_(),s==null||s(N)};let b=null;const y=[];return m.Children.forEach(t,N=>{var P;m.isValidElement(N)&&(N.type===po||((P=N.type)==null?void 0:P.displayName)==="Modal.Footer")?b=N:y.push(N)}),r.jsxs(u.Modal.Body,{...o,ref:N=>{typeof a=="function"?a(N):a&&(a.current=N)},className:`${ne.bodyWrapper} ${e||""}`,children:[r.jsx("div",{ref:l,onScroll:$,"data-scrolled-top":i||void 0,"data-scrolled-bottom":d||void 0,className:ne.scrollArea,children:y}),b]})});uo.displayName="Modal.Body";const bt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Root,{ref:t,...o})});bt.displayName="Modal.Root";const Nt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Overlay,{ref:t,...o})});Nt.displayName="Modal.Overlay";const ht=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Content,{ref:t,...o})});ht.displayName="Modal.Content";const $t=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Header,{ref:t,...o})});$t.displayName="Modal.Header";const vt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Title,{ref:t,...o})});vt.displayName="Modal.Title";const xt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.CloseButton,{ref:t,...o})});xt.displayName="Modal.CloseButton";const ce=yt;ce.Root=bt;ce.Overlay=Nt;ce.Content=ht;ce.Header=$t;ce.Title=vt;ce.CloseButton=xt;ce.Body=uo;ce.Footer=po;const Xa="NumberInput-module__layoutOverride___5-9T4",Qa="NumberInput-module__root___C6rAn",Ja="NumberInput-module__input___Ss8p7",en="NumberInput-module__section___MijP0",on="NumberInput-module__controls___8UfQ2",tn="NumberInput-module__control___Qre9-",Ce={layoutOverride:Xa,root:Qa,input:Ja,section:en,controls:on,control:tn},Ct=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,hideControls:O=!1,...L}=e,T=f(L,t),g=T;delete g.size,delete g.variant,delete g.radius;const I={wrapper:Ce.root,input:Ce.input,section:Ce.section,controls:Ce.controls,control:Ce.control},z=C?`${Ce.layoutOverride} ${C}`:Ce.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_number-input_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_number-input_properties_min-width)",overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A==null?void 0:A.toString():S==null?void 0:S.toString(),readOnlyNativeProps:e,activeComponent:r.jsx(u.NumberInput,{ref:s,classNames:I,disabled:h,value:A,defaultValue:S,hideControls:O,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0,"data-with-left-section":g.leftSection?"true":void 0,"data-with-right-section":g.rightSection||!O?"true":void 0},...T})})});Ct.displayName="NumberInput";const sn="Pagination-module__root___ITRjt",rn="Pagination-module__control___40yNT",an="Pagination-module__dots___Yl9da",nn="Pagination-module__iconWithLabel___pLM4O",ln="Pagination-module__baseIcon___Qw3bJ",V={root:sn,control:rn,dots:an,iconWithLabel:nn,baseIcon:ln},cn="M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z",dn="M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z",pn="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",un="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",mn={next:cn,prev:dn,first:pn,last:un},We=({type:n,className:e,...s})=>r.jsx("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:`${V.baseIcon} ${e||""}`.trim(),...s,children:r.jsx("path",{d:mn[n],fill:"currentColor"})}),wt=n=>r.jsxs("div",{className:V.iconWithLabel,children:[r.jsx("span",{children:"Next"}),r.jsx(We,{type:"next",...n})]}),Pt=n=>r.jsxs("div",{className:V.iconWithLabel,children:[r.jsx(We,{type:"prev",...n}),r.jsx("span",{children:"Prev"})]}),Tt=n=>r.jsxs("div",{className:V.iconWithLabel,children:[r.jsx(We,{type:"first",...n}),r.jsx("span",{children:"First"})]}),gt=n=>r.jsxs("div",{className:V.iconWithLabel,children:[r.jsx("span",{children:"Last"}),r.jsx(We,{type:"last",...n})]});function jt(n){const e={root:V.root,control:V.control,dots:V.dots},s=n.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const a=s;e.root=a.root?`${V.root} ${a.root}`:V.root,e.control=a.control?`${V.control} ${a.control}`:V.control,e.dots=a.dots?`${V.dots} ${a.dots}`:V.dots}const t=n.className;return{className:t?`${V.root} ${t}`:V.root,classNames:e}}const St=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=jt(o);return r.jsx(u.Pagination.Root,{ref:t,className:a.className,classNames:a.classNames,...o})});St.displayName="Pagination.Root";const Rt=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?wt:void 0);return r.jsx(u.Pagination.Next,{ref:a,"data-variant":"text",icon:i,...l})});Rt.displayName="Pagination.Next";const At=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?Pt:void 0);return r.jsx(u.Pagination.Previous,{ref:a,"data-variant":"text",icon:i,...l})});At.displayName="Pagination.Previous";const Ot=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?Tt:void 0);return r.jsx(u.Pagination.First,{ref:a,"data-variant":"text",icon:i,...l})});Ot.displayName="Pagination.First";const Lt=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?gt:void 0);return r.jsx(u.Pagination.Last,{ref:a,"data-variant":"text",icon:i,...l})});Lt.displayName="Pagination.Last";const It=m.forwardRef(function({overStyled:e=!1,getControlProps:s,withLabels:t,...o},a){const l=f(o,e),i=jt(l),c=p=>{const _={"data-variant":"text"};return s?{..._,...s(p)}:_},d=t?{nextIcon:wt,previousIcon:Pt,firstIcon:Tt,lastIcon:gt}:{};return r.jsx(u.Pagination,{ref:a,className:i.className,classNames:i.classNames,getControlProps:c,...d,...l})});It.displayName="Pagination";const Wt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Pagination.Control,{ref:t,...o})});Wt.displayName="Pagination.Control";const Mt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Pagination.Dots,{ref:t,...o})});Mt.displayName="Pagination.Dots";const te=It;te.Root=St;te.Items=u.Pagination.Items;te.Control=Wt;te.Dots=Mt;te.Next=Rt;te.Previous=At;te.First=Ot;te.Last=Lt;te.Icon=We;const _n="Panel-module__content___wdGo-",fn="Panel-module__inner___ruA2b",yn="Panel-module__header___o7SiC",bn="Panel-module__title___181OP",Nn="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",hn="Panel-module__body___SEC3T",$n="Panel-module__footer___t6-hz",fe={content:_n,inner:fn,header:yn,title:bn,titleTruncate:Nn,body:hn,footer:$n},kt=function({overStyled:e=!1,placement:s="right",keepMounted:t=!0,wrapHeaderText:o=!1,...a}){const l=f(a,e),i={content:fe.content,header:fe.header,title:o?fe.titleTruncate:fe.title,body:fe.body,inner:fe.inner},c=l.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const d=c;Object.keys(d).forEach(p=>{i[p]?i[p]=`${i[p]} ${d[p]}`:i[p]=d[p]})}return r.jsx(u.Drawer,{position:s,keepMounted:t,closeOnClickOutside:a.closeOnClickOutside??!!a.opened,...l,classNames:i})};kt.displayName="Panel";const mo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className,l=a?`${fe.footer} ${a}`:fe.footer;return r.jsx("div",{ref:t,className:l,...o})});mo.displayName="PanelFooter";const zt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Root,{ref:t,...o})});zt.displayName="PanelRoot";const Bt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Overlay,{ref:t,...o})});Bt.displayName="PanelOverlay";const Et=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Content,{ref:t,...o})});Et.displayName="PanelContent";const Ft=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Header,{ref:t,...o})});Ft.displayName="PanelHeader";const Dt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Title,{ref:t,...o})});Dt.displayName="PanelTitle";const Gt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.CloseButton,{ref:t,...o})});Gt.displayName="PanelCloseButton";const Vt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Body,{ref:t,...o})});Vt.displayName="PanelBody";const se=kt;se.Root=zt;se.Overlay=Bt;se.Content=Et;se.Header=Ft;se.Title=Dt;se.CloseButton=Gt;se.Body=Vt;se.Stack=u.Drawer.Stack;se.Footer=mo;const vn="Popover-module__dropdown___svhS6",xn="Popover-module__arrow___5A-0e",jo={dropdown:vn,arrow:xn},Ht=function({overStyled:e=!1,withBeak:s=!0,...t}){const o=f(t,e),a={dropdown:jo.dropdown,arrow:jo.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(_=>{a[_]?a[_]=`${a[_]} ${p[_]}`:a[_]=p[_]})}const i=o.arrowSize??16,c=o.withArrow,d=s??c;return r.jsx(u.Popover,{position:"top",arrowSize:i,withArrow:d,classNames:a,...o})};Ht.displayName="Popover";const qt=function(e){return r.jsx(u.Popover.Target,{...e})};qt.displayName="PopoverTarget";const Ut=function({overStyled:e=!1,...s}){const t=f(s,e),o=t.className;return r.jsx(u.Popover.Dropdown,{className:o,...t})};Ut.displayName="PopoverDropdown";const _o=Ht;_o.Target=qt;_o.Dropdown=Ut;const Cn="Radio-module__groupRoot___bfUii",wn="Radio-module__root___kAjTD",Pn="Radio-module__body___q2Wpj",Tn="Radio-module__inner___QaTBB",gn="Radio-module__radio___MfgN-",jn="Radio-module__icon___DWznm",Sn="Radio-module__labelWrapper___dB0Gi",Rn="Radio-module__label___vAFIP",E={groupRoot:Cn,root:wn,body:Pn,inner:Tn,radio:gn,icon:jn,labelWrapper:Sn,label:Rn},fo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,children:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,...L}=e,T=f(L,t),g=T;return delete g.size,r.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?S:O,readOnlyNativeProps:e,activeComponent:r.jsx(u.Radio.Group,{ref:s,...T,disabled:x||g.disabled,value:S,defaultValue:O,children:r.jsx("div",{className:E.groupRoot,"data-layout":o,children:R})})})});fo.displayName="RadioGroup";const An=({className:n,style:e})=>r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:n,style:e,children:r.jsx("circle",{cx:"8",cy:"8",r:"5"})}),yo=m.forwardRef(function(e,s){const{overStyled:t=!1,readOnly:o,readOnlyComponent:a,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,..._}=e,$=f(_,t),b=$;delete b.size,delete b.color,delete b.radius,delete b.variant,delete b.iconColor;const y={root:E.root,body:E.body,inner:E.inner,radio:E.radio,icon:E.icon,labelWrapper:E.labelWrapper,label:E.label},N=b.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const h=N;y.root=h.root?`${E.root} ${h.root}`:E.root,y.body=h.body?`${E.body} ${h.body}`:E.body,y.inner=h.inner?`${E.inner} ${h.inner}`:E.inner,y.radio=h.radio?`${E.radio} ${h.radio}`:E.radio,y.icon=h.icon?`${E.icon} ${h.icon}`:E.icon,y.labelWrapper=h.labelWrapper?`${E.labelWrapper} ${h.labelWrapper}`:E.labelWrapper,y.label=h.label?`${E.label} ${h.label}`:E.label}const P=b.className,C=P?`${E.root} ${P}`:E.root;if(o&&a){const h=!!(b.checked??b.defaultChecked),R=a,x=r.jsx(R,{...e,checked:h,label:b.label});return i?r.jsx(le,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:x}):r.jsx(r.Fragment,{children:x})}const v=r.jsx(u.Radio,{ref:s,icon:An,className:C,classNames:y,disabled:o||l,...$});return i?r.jsx(le,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});yo.displayName="Radio";yo.Group=fo;const On="SegmentedControl-module__root___JFRhg",Ln="SegmentedControl-module__label___mS17q",In="SegmentedControl-module__control___znOdQ",Wn="SegmentedControl-module__indicator___ZMcJy",Z={root:On,label:Ln,control:In,indicator:Wn};function Mn(n){const e={root:Z.root,control:Z.control,label:Z.label,indicator:Z.indicator},s=n.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const a=s;e.root=a.root?`${Z.root} ${a.root}`:Z.root,e.control=a.control?`${Z.control} ${a.control}`:Z.control,e.label=a.label?`${Z.label} ${a.label}`:Z.label,e.indicator=a.indicator?`${Z.indicator} ${a.indicator}`:Z.indicator}const t=n.className;return{className:t?`${Z.root} ${t}`:Z.root,classNames:e}}const Yt=m.forwardRef(function({overStyled:e=!1,orientation:s="horizontal",fullWidth:t,...o},a){const l=f(o,e),i=l;delete i.disabled;const c=Mn(i);return r.jsx(u.SegmentedControl,{ref:a,className:c.className,classNames:c.classNames,orientation:s,fullWidth:t,"data-orientation":s,...l})});Yt.displayName="SegmentedControl";const kn=Yt,zn="Slider-module__layoutOverride___zYPun",Bn="Slider-module__sliderContainer___y8I0J",En="Slider-module__sliderTrackWrapper___UHpVh",Fn="Slider-module__iconWrapper___uqHpC",Dn="Slider-module__sliderRoot___LI86H",Gn="Slider-module__sliderTrack___oqnlG",Vn="Slider-module__sliderBar___TI4VY",Hn="Slider-module__sliderThumb___OFn8p",qn="Slider-module__sliderMark___1lM2B",Un="Slider-module__minMaxGuide___TaGqz",Yn="Slider-module__rightGuideContainer___8dOT8",Zn="Slider-module__currentValue___dGV2T",Kn="Slider-module__inputField___6x578",Xn="Slider-module__readOnlyValue___-ZzMW",M={layoutOverride:zn,sliderContainer:Bn,sliderTrackWrapper:En,iconWrapper:Fn,sliderRoot:Dn,sliderTrack:Gn,sliderBar:Vn,sliderThumb:Hn,sliderMark:qn,minMaxGuide:Un,rightGuideContainer:Yn,currentValue:Zn,inputField:Kn,readOnlyValue:Xn},Qn=({value:n})=>r.jsx("div",{className:M.readOnlyValue,children:n}),Zt=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:_,tooltipLabel:$,assistiveText:b,assistiveWithIcon:y,error:N,required:P,withAsterisk:C,id:v,className:h,style:R,disabled:x,readOnly:W,readOnlyComponent:A,emptyValueComponent:S,value:O,defaultValue:L,icon:T,showInput:g=!1,showMinMaxLabels:I=!0,min:z=0,max:j=100,step:Ne=1,onChange:he,onChangeEnd:U,...Ze}=e,[xs,Cs]=m.useState(()=>O!==void 0?O:L!==void 0?L:z),pe=O!==void 0?O:xs,[ws,Ke]=m.useState(pe.toString());m.useEffect(()=>{Ke(pe.toString())},[pe]);const vo=F=>{O===void 0&&Cs(F),he==null||he(F)},Ps=F=>{const Co=F.target.value;Ke(Co);const wo=parseFloat(Co);if(!isNaN(wo)){const Ss=Math.max(z,Math.min(j,wo));vo(Ss)}},Ts=()=>{Ke(pe.toString())},xo=f(Ze,t),ge=xo;delete ge.size,delete ge.variant,delete ge.radius,delete ge.wrapperProps;const $e={root:M.sliderRoot,track:M.sliderTrack,bar:M.sliderBar,thumb:M.sliderThumb,mark:M.sliderMark,markLabel:M.sliderMarkLabel},Me=ge.classNames;if(Me&&typeof Me=="object"&&!Array.isArray(Me)){const F=Me;$e.root=F.root?`${M.sliderRoot} ${F.root}`:M.sliderRoot,$e.track=F.track?`${M.sliderTrack} ${F.track}`:M.sliderTrack,$e.bar=F.bar?`${M.sliderBar} ${F.bar}`:M.sliderBar,$e.thumb=F.thumb?`${M.sliderThumb} ${F.thumb}`:M.sliderThumb,$e.mark=F.mark?`${M.sliderMark} ${F.mark}`:M.sliderMark,$e.markLabel=F.markLabel?`${M.sliderMarkLabel} ${F.markLabel}`:M.sliderMarkLabel}const gs=h?`${M.layoutOverride} ${h}`:M.layoutOverride,js=T?r.jsx("span",{className:M.iconWrapper,"aria-hidden":!0,children:T}):null;return r.jsx(ee,{ref:s,className:gs,style:R,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:_,assistiveText:b,assistiveWithIcon:y,error:N,required:P,withAsterisk:C,id:v,readOnly:W,readOnlyComponent:A||Qn,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:pe,readOnlyNativeProps:{value:pe},activeComponent:r.jsxs("div",{className:M.sliderContainer,"data-form-layout":o,"data-disabled":x?"true":void 0,"data-error":N?"true":void 0,children:[js,I&&r.jsx("span",{className:M.minMaxGuide,children:z}),r.jsx("div",{className:M.sliderTrackWrapper,children:r.jsx(u.Slider,{classNames:$e,disabled:x,value:pe,onChange:vo,onChangeEnd:U,min:z,max:j,step:Ne,label:$,...xo})}),r.jsxs("div",{className:M.rightGuideContainer,children:[!g&&r.jsx("span",{className:M.currentValue,children:pe}),I&&r.jsx("span",{className:M.minMaxGuide,children:j})]}),g&&r.jsx("input",{type:"number",className:M.inputField,value:ws,onChange:Ps,onBlur:Ts,min:z,max:j,step:Ne,disabled:x,"data-error":N?"true":void 0})]})})});Zt.displayName="Slider";const Jn="Stack-module__root___NUN-x",Oe={root:Jn},Kt=m.forwardRef(function({children:e,gap:s="rec-default",...t},o){const a={root:Oe.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;a.root=d.root?`${Oe.root} ${d.root}`:Oe.root}const i=t.className,c=i?`${Oe.root} ${i}`:Oe.root;return r.jsx(u.Stack,{ref:o,className:c,classNames:a,...Ie({gap:s,...t}),children:e})});Kt.displayName="Stack";const el=u.createPolymorphicComponent(Kt),ol="Stepper-module__root___jbSYO",tl="Stepper-module__horizontal___USHT1",sl="Stepper-module__steps___4HPO6",rl="Stepper-module__step___s2nqL",al="Stepper-module__stepBody___TBvys",nl="Stepper-module__stepLabel___N6nuy",ll="Stepper-module__stepDescription___DnDAy",il="Stepper-module__separator___pU0No",cl="Stepper-module__vertical___d4mOs",dl="Stepper-module__large___J18-y",pl="Stepper-module__small___Ub-zb",ul="Stepper-module__stepIcon___YQHNq",ml="Stepper-module__stepCompletedIcon___B9MeL",_l="Stepper-module__verticalSeparator___frWc1",fl="Stepper-module__content___J-h8X",q={root:ol,horizontal:tl,steps:sl,step:rl,stepBody:al,stepLabel:nl,stepDescription:ll,separator:il,vertical:cl,large:dl,small:pl,stepIcon:ul,stepCompletedIcon:ml,verticalSeparator:_l,content:fl},Xt=m.forwardRef(function(e,s){const{overStyled:t=!1,size:o="large",orientation:a="horizontal",className:l,style:i,...c}=e,d=f(c,t);return r.jsx(u.Stepper,{ref:s,orientation:a,className:`${q.root} ${a==="horizontal"?q.horizontal:q.vertical} ${o==="large"?q.large:q.small} ${l||""}`,style:i,"data-size":o,"data-orientation":a,classNames:{steps:q.steps,step:q.step,stepIcon:q.stepIcon,stepCompletedIcon:q.stepCompletedIcon,stepBody:q.stepBody,stepLabel:q.stepLabel,stepDescription:q.stepDescription,separator:q.separator,verticalSeparator:q.verticalSeparator,content:q.content},...d})}),Qt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Stepper.Step,{ref:t,...o})});Qt.displayName="Stepper.Step";const yl=Object.assign(Xt,{Step:Qt,Completed:u.Stepper.Completed});Xt.displayName="Stepper";const bl="Switch-module__root___Y5Ydi",Nl="Switch-module__body___Sw9Wr",hl="Switch-module__track___7ObdZ",$l="Switch-module__thumb___-FTeK",vl="Switch-module__labelWrapper___YSOwx",xl="Switch-module__label___LrH7V",Cl="Switch-module__thumbIconWrapper___sCY-1",wl="Switch-module__checkIcon___ZBAQN",Pl="Switch-module__closeIcon___bLLGw",Tl="Switch-module__groupRoot___-Uepi",k={root:bl,body:Nl,track:hl,thumb:$l,labelWrapper:vl,label:xl,thumbIconWrapper:Cl,checkIcon:wl,closeIcon:Pl,groupRoot:Tl},bo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,children:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,...L}=e,T=f(L,t),g=T;return delete g.size,r.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_switch-item_properties_label-max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?S:O,readOnlyNativeProps:e,activeComponent:r.jsx(u.Switch.Group,{ref:s,...T,disabled:x||g.disabled,value:S,defaultValue:O,children:r.jsx("div",{className:k.groupRoot,"data-layout":o,children:R})})})});bo.displayName="SwitchGroup";const No=m.forwardRef(function(e,s){const{overStyled:t=!1,readOnly:o,readOnlyComponent:a,disabled:l,thumbIcon:i,formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,...$}=e,b=f($,t),y=b;delete y.size,delete y.color,delete y.radius,delete y.variant;const N={root:k.root,body:k.body,track:k.track,thumb:k.thumb,trackLabel:k.trackLabel,labelWrapper:k.labelWrapper,label:k.label},P=y.classNames;if(P&&typeof P=="object"&&!Array.isArray(P)){const x=P;N.root=x.root?`${k.root} ${x.root}`:k.root,N.body=x.body?`${k.body} ${x.body}`:k.body,N.track=x.track?`${k.track} ${x.track}`:k.track,N.thumb=x.thumb?`${k.thumb} ${x.thumb}`:k.thumb,N.trackLabel=x.trackLabel?`${k.trackLabel} ${x.trackLabel}`:k.trackLabel,N.labelWrapper=x.labelWrapper?`${k.labelWrapper} ${x.labelWrapper}`:k.labelWrapper,N.label=x.label?`${k.label} ${x.label}`:k.label}const C=y.className,v=C?`${k.root} ${C}`:k.root;if(o&&a){const x=!!(y.checked??y.defaultChecked),W=a,A=r.jsx(W,{...e,checked:x,label:y.label});return c?r.jsx(le,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:A}):r.jsx(r.Fragment,{children:A})}const h=r.jsxs("div",{className:k.thumbIconWrapper,children:[r.jsx(u.CheckIcon,{className:k.checkIcon}),r.jsx(u.CloseIcon,{className:k.closeIcon})]}),R=r.jsx(u.Switch,{ref:s,className:v,classNames:N,disabled:o||l,"data-disabled":o||l||void 0,thumbIcon:i??h,...b});return c?r.jsx(le,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:R}):R});No.displayName="Switch";No.Group=bo;const gl="Table-module__root___aMWWS",jl={root:gl},Jt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className,l=jl.root,i=a?`${l} ${a}`:l;return r.jsx(u.Table,{ref:t,className:i,...o})});Jt.displayName="Table";const es=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Thead,{ref:t,...o})});es.displayName="TableThead";const os=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Tbody,{ref:t,...o})});os.displayName="TableTbody";const ts=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Tr,{ref:t,...o})});ts.displayName="TableTr";const ss=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Th,{ref:t,...o})});ss.displayName="TableTh";const rs=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Td,{ref:t,...o})});rs.displayName="TableTd";const as=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Tfoot,{ref:t,...o})});as.displayName="TableTfoot";const ns=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Caption,{ref:t,...o})});ns.displayName="TableCaption";const ls=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.ScrollContainer,{ref:t,...o})});ls.displayName="TableScrollContainer";const de=Jt;de.Thead=es;de.Tbody=os;de.Tr=ts;de.Th=ss;de.Td=rs;de.Tfoot=as;de.Caption=ns;de.ScrollContainer=ls;const Sl="Tabs-module__root___-VKVI",Rl="Tabs-module__list___qRVME",Al="Tabs-module__tab___IdDYc",Ol="Tabs-module__panel___08i9c",ze={root:Sl,list:Rl,tab:Al,panel:Ol},is=m.forwardRef(function(e,s){const{variant:t="default",orientation:o="horizontal",overStyled:a=!1,className:l,...i}=e,c=f(i,a);return r.jsx(u.Tabs,{ref:s,variant:t,orientation:o,className:`${ze.root} ${l||""}`,"data-variant":t,"data-orientation":o,classNames:{list:ze.list,tab:ze.tab,panel:ze.panel},...c})});is.displayName="Tabs";const cs=m.forwardRef(function(e,s){const{overStyled:t=!1,...o}=e;return r.jsx(u.Tabs.List,{ref:s,...f(o,t)})});cs.displayName="Tabs.List";const ds=m.forwardRef(function(e,s){const{overStyled:t=!1,...o}=e;return r.jsx(u.Tabs.Tab,{ref:s,...f(o,t)})});ds.displayName="Tabs.Tab";const ps=m.forwardRef(function(e,s){const{overStyled:t=!1,...o}=e;return r.jsx(u.Tabs.Panel,{ref:s,...f(o,t)})});ps.displayName="Tabs.Panel";const Ll=Object.assign(is,{List:cs,Tab:ds,Panel:ps}),us=m.forwardRef(function({overStyled:e=!1,variant:s="body",...t},o){const a=f(t,e),l=a.className,i=`recursica_brand_typography_${s}`,c=l?`${i} ${l}`:i;return r.jsx(u.Text,{ref:o,className:c,...a})});us.displayName="Text";const Il=u.createPolymorphicComponent(us),Wl="TextArea-module__layoutOverride___4MCdm",Ml="TextArea-module__root___3dyeu",kl="TextArea-module__input___8l36v",me={layoutOverride:Wl,root:Ml,input:kl},ms=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius;const g={wrapper:me.root,input:me.input},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${me.root} ${j.wrapper}`:me.root,g.input=j.input?`${me.input} ${j.input}`:me.input}const z=C?`${me.layoutOverride} ${C}`:me.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_textarea_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_textarea_properties_min-width)",overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A:S,readOnlyNativeProps:e,activeComponent:r.jsx(u.Textarea,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});ms.displayName="TextArea";const zl="TextField-module__layoutOverride___SNZqc",Bl="TextField-module__root___2ZYkG",El="TextField-module__input___RL-My",Fl="TextField-module__section___bCIJ0",J={layoutOverride:zl,root:Bl,input:El,section:Fl},_s=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius;const g={wrapper:J.root,input:J.input,section:J.section},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${J.root} ${j.wrapper}`:J.root,g.input=j.input?`${J.input} ${j.input}`:J.input,g.section=j.section?`${J.section} ${j.section}`:J.section}const z=C?`${J.layoutOverride} ${C}`:J.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_text-field_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_text-field_properties_min-width)",overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A:S,readOnlyNativeProps:e,activeComponent:r.jsx(u.Input,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});_s.displayName="TextField";const Dl=n=>r.jsx("div",{...n,children:"TimePicker"}),Gl="Timeline-module__root___LwRdZ",Vl="Timeline-module__item___T5xdQ",Hl="Timeline-module__itemBody___XAV-E",ql="Timeline-module__itemBullet___rPXCy",Ul="Timeline-module__itemTitle___GgRRW",Yl="Timeline-module__itemContent___vurs-",Zl="Timeline-module__description___f9sxV",Kl="Timeline-module__timestamp___owiRu",_e={root:Gl,item:Vl,itemBody:Hl,itemBullet:ql,itemTitle:Ul,itemContent:Yl,description:Zl,timestamp:Kl},ho=m.forwardRef(function({overStyled:e=!1,timestamp:s,bulletVariant:t="default",children:o,...a},l){const i=f(a,e),c={item:_e.item,itemBody:_e.itemBody,itemContent:_e.itemContent,itemBullet:_e.itemBullet,itemTitle:_e.itemTitle},d=i.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const _=d;Object.keys(_).forEach($=>{c[$]?c[$]=`${c[$]} ${_[$]}`:c[$]=_[$]})}const p=s?r.jsxs(r.Fragment,{children:[o&&r.jsx("div",{className:_e.description,children:o}),r.jsx("div",{className:_e.timestamp,children:s})]}):o;return r.jsx(u.TimelineItem,{ref:l,classNames:c,"data-variant":t,...i,children:p})});ho.displayName="TimelineItem";const fs=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a={root:_e.root},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const i=l;Object.keys(i).forEach(c=>{a[c]?a[c]=`${a[c]} ${i[c]}`:a[c]=i[c]})}return r.jsx(u.Timeline,{ref:t,classNames:a,...o})});fs.displayName="Timeline";const ys=fs;ys.Item=ho;const bs=m.forwardRef(function({overStyled:e=!1,order:s=1,...t},o){const a=f(t,e),l=a.className,i=`recursica_brand_typography_h${s}`,c=l?`${i} ${l}`:i;return r.jsx(u.Title,{ref:o,order:s,className:c,...a})});bs.displayName="Title";const Xl="Toast-module__root___MUvfI",Ql="Toast-module__icon___VwvE1",Jl="Toast-module__loader___8Gxd-",ei="Toast-module__title___-H6R2",oi="Toast-module__description___-QwfC",ti="Toast-module__closeButton___vGr7g",si="Toast-module__body___VLkXA",we={root:Xl,icon:Ql,loader:Jl,title:ei,description:oi,closeButton:ti,body:si},Ns=m.forwardRef(function({overStyled:e=!1,variant:s="default",withCloseButton:t=!0,...o},a){const l=f(o,e),i={root:we.root,body:we.body,title:we.title,description:we.description,closeButton:we.closeButton,icon:we.icon,loader:we.loader},c=l.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const d=c;Object.keys(d).forEach(p=>{i[p]?i[p]=`${i[p]} ${d[p]}`:i[p]=d[p]})}return r.jsx(u.Notification,{ref:a,withCloseButton:t,withBorder:!1,"data-variant":s,classNames:i,loading:!1,...l})});Ns.displayName="Toast";const ri="Tooltip-module__tooltip___UA7H9",ai="Tooltip-module__arrow___4zROk",So={tooltip:ri,arrow:ai},hs=function({overStyled:e=!1,withBeak:s=!0,...t}){const o=f(t,e),a={tooltip:So.tooltip,arrow:So.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(_=>{a[_]?a[_]=`${a[_]} ${p[_]}`:a[_]=p[_]})}const i=o.arrowSize??16,c=o.withArrow,d=s??c;return r.jsx(u.Tooltip,{position:"top",multiline:!0,arrowSize:i,withArrow:d,classNames:a,...o})};hs.displayName="Tooltip";const $s=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Tooltip.Floating,{ref:t,...o})});$s.displayName="TooltipFloating";const $o=hs;$o.Floating=$s;$o.Group=u.Tooltip.Group;const ni=n=>r.jsx("div",{...n,children:"TransferList"}),li="Tree-module__root___ANcH3",Ro={root:li},vs=m.forwardRef(function({overStyled:e=!1,className:s,...t},o){const a=s?`${Ro.root} ${s}`:Ro.root;return r.jsx("div",{ref:o,className:a,...t,children:"Tree (Coming Soon)"})});vs.displayName="Tree";const ii=xa,ci=et,di=Jo,pi=ot,ui=el,mi=Uo,_i=Oa,fi=Il,yi=w(qe),bi=w(eo),Ni=w(Ve),hi=w(He),$i=w(Fe),vi=w(Wo),xi=w(Cr),Ci=w(Pr),wi=w(zo),Pi=w(Mr),Ti=w(Dr),gi=w(io),ji=w(lo),Si=w(qo),Ri=w(Yo),Ai=w(Zo),Oi=w(ha),Li=w($a),Ii=w(le),Wi=w(co),Mi=w(no),ki=w(oo),zi=w(Pe),Bi=w(ce),Ei=w(Ct),Fi=w(te),Di=w(se),Gi=w(mo),Vi=w(_o),Hi=w(yo),qi=w(fo),Ui=w(ao),Yi=w(kn),Zi=w(Zt),Ki=w(yl),Xi=w(No),Qi=w(bo),Ji=w(de),ec=w(Ll),oc=w(ms),tc=w(_s),sc=w(Dl),rc=w(ys),ac=w(ho),nc=w(bs),lc=w(Ns),ic=w($o),cc=w(ni),dc=w(vs);exports.Accordion=yi;exports.AccordionControl=Ni;exports.AccordionItem=bi;exports.AccordionPanel=hi;exports.AssistiveElement=$i;exports.AutoComplete=vi;exports.Avatar=xi;exports.Badge=Ci;exports.Breadcrumb=wi;exports.Button=Pi;exports.Card=Ti;exports.Checkbox=gi;exports.CheckboxGroup=ji;exports.Chip=Si;exports.Container=mi;exports.DatePicker=Ri;exports.Dropdown=Ai;exports.EmptyValueRenderer=Le;exports.FileInput=Oi;exports.FileUpload=Li;exports.Flex=ii;exports.FormControlLayout=Ii;exports.Grid=ci;exports.GridCol=di;exports.Group=pi;exports.HoverCard=Wi;exports.IS_DEV=be;exports.Label=ki;exports.Layer=to;exports.Link=_i;exports.Loader=Mi;exports.Menu=zi;exports.Modal=Bi;exports.NumberInput=Ei;exports.Pagination=Fi;exports.Panel=Di;exports.PanelFooter=Gi;exports.Popover=Vi;exports.RECURSICA_COMPONENTS=ir;exports.Radio=Hi;exports.RadioGroup=qi;exports.ReadOnlyField=Ui;exports.RecursicaThemeProvider=lr;exports.SegmentedControl=Yi;exports.Slider=Zi;exports.Stack=ui;exports.Stepper=Ki;exports.Switch=Xi;exports.SwitchGroup=Qi;exports.Table=Ji;exports.Tabs=ec;exports.Text=fi;exports.TextArea=oc;exports.TextField=tc;exports.TimePicker=sc;exports.Timeline=rc;exports.TimelineItem=ac;exports.Title=nc;exports.Toast=lc;exports.Tooltip=ic;exports.TransferList=cc;exports.Tree=dc;exports.copyToClipboard=cr;exports.injectOverStyledStyles=so;exports.isGlobalOverStyledActive=nr;exports.registerOverStyledConsoleCommand=ro;exports.toggleGlobalOverStyled=Lo;exports.useGlobalOverStyled=Io;exports.wrapComponent=w;
|
|
12
12
|
//# sourceMappingURL=mantine-adapter.cjs.map
|