@yahoo/uds 1.8.1 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use strict";var e=require("../chunk-QELQ6JY6.cjs"),t=require("../chunk-PECN66KD.cjs"),n=require("../chunk-WLOEKYUI.cjs"),i=require("../chunk-J6D4HCFT.cjs"),a=require("@yahoo/uds/fixtures"),o=require("react/jsx-runtime"),s=require("framer-motion"),r=require("react"),c={scale:.7,opacity:0},l={scale:[.7,.7,1],opacity:[0,0,1],transition:{times:[0,.5,1]}},u={icon:l,hide:c,loading:c},d={loading:l,hide:c,icon:c},m=`var(${i.BUTTON_CSS_VAR_MAP.columnGap})`,h=`var(${i.BUTTON_CSS_VAR_MAP.iconSize})`,p={rest:{scale:`var(${i.BUTTON_CSS_VAR_MAP.effects.scale.rest})`},hover:{scale:`var(${i.BUTTON_CSS_VAR_MAP.effects.scale.hover})`},pressed:{scale:`var(${i.BUTTON_CSS_VAR_MAP.effects.scale.pressed})`},withoutIcon:{columnGap:"0px"},withIcon:{columnGap:m}},g={hide:{width:"0px",opacity:0,display:"none"},loading:{width:h,display:"flex",opacity:1},icon:{width:h,display:"flex",opacity:1}},x=({size:e,variant:t})=>{if("outline"===t)switch(e){case"sm":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===t)switch(e){case"sm":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return o.jsx(o.Fragment,{})},f=()=>import("../motionFeatures-THWWLQYC.cjs").then((({domAnimation:e})=>e));/*! © 2024 Yahoo, Inc. UDS v0.0.0-development */function v({reducedMotion:e="user",children:i,layoutVariant:a="subtle",layoutSpeed:c="3",colorVariant:l="smooth",colorSpeed:u="3"}){const d=n.motion[a][c],m=n.motion[l][u],[h,p]=r.useState(d),[g,x]=r.useState(m),v={variant:l,speed:u},j=t.getMotionVar({...v,control:"stiffness"}),b=t.getMotionVar({...v,control:"damping"}),S={variant:a,speed:c},y=t.getMotionVar({...S,control:"stiffness"}),M=t.getMotionVar({...S,control:"damping"});r.useEffect((()=>{const e=getComputedStyle(document.documentElement),t={damping:Number(e.getPropertyValue(M)),stiffness:Number(e.getPropertyValue(y))},n={damping:Number(e.getPropertyValue(b)),stiffness:Number(e.getPropertyValue(j))};p(t),x(n)}),[b,j,M,y]);const C=r.useMemo((()=>({type:"spring",mass:1,...h,layout:h,opacity:g,color:g,borderColor:g,backgroundColor:g})),[g,h]);return o.jsx(s.LazyMotion,{features:f,strict:!0,children:o.jsx(s.MotionConfig,{transition:C,reducedMotion:e,children:i})})}var j=e.createSlot(),b=s.m.create(j),S=r.forwardRef((function({palette:t,variant:n,size:i,startIcon:c,endIcon:l,iconVariant:m,loading:h,disableEffects:f,children:j,asChild:S,className:y,...M},C){const I=r.useRef(null);r.useImperativeHandle(C,(()=>I.current));const N=l?"icon":"hide",w=(({startIcon:e,endIcon:t,loading:n})=>e||t||n?"withIcon":"withoutIcon")({startIcon:c,endIcon:l,loading:h}),V=(({loading:e,startIcon:t})=>e?"loading":t?"icon":"hide")({loading:h,startIcon:c}),z={button:e.getStyles({buttonSize:i,buttonVariant:n,buttonPalette:t,className:e.cx("uds-button","uds-ring","uds-hit-target",h&&"uds-button-loading",f&&"uds-button-without-effects","withIcon"===w&&"uds-button-with-gap",y)}),content:"uds-button-content truncate",iconContainer:"uds-button-icon-container flex overflow-clip",loading:"uds-button-icon start-content animate-spin",start:"uds-button-icon start-content",end:"uds-button-icon end-content"},A=s.useReducedMotion()?"smooth":"subtle",P=r.useMemo((()=>o.jsx(s.m.span,{className:z.iconContainer,initial:!1,variants:g,animate:V,children:o.jsxs(s.AnimatePresence,{initial:!1,mode:"popLayout",children:[h&&o.jsx(s.m.span,{variants:d,initial:"hide",animate:"loading",exit:"hide",children:o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:x,variant:m,color:"current",className:z.loading})},"loading"),c&&!h&&o.jsx(s.m.span,{variants:u,initial:"hide",animate:"icon",exit:"hide",children:o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:c,variant:m,color:"current",className:z.start})},c.name)]})})),[z.iconContainer,z.loading,z.start,V,h,m,c]),T=r.useMemo((()=>o.jsx(s.m.span,{className:z.iconContainer,initial:!1,variants:g,animate:N,children:o.jsx(s.AnimatePresence,{initial:!1,mode:"popLayout",children:l&&o.jsx(s.m.span,{variants:u,initial:"hide",animate:"icon",exit:"hide",children:o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:l,variant:m,color:"current",className:z.start})},l.name)})})),[z.iconContainer,z.start,l,N,m]),_=r.useMemo((()=>f?{...p,rest:{},hover:{},pressed:{}}:p),[f]);return S&&r.isValidElement(j)?o.jsx(v,{layoutSpeed:"3",layoutVariant:A,children:o.jsx(b,{className:z.button,initial:["hide",w],animate:w,variants:_,whileHover:"hover",whileTap:"pressed",...M,children:r.cloneElement(j,j.props,o.jsxs(o.Fragment,{children:[P,o.jsx("span",{className:z.content,children:j.props.children}),T]}))})}):o.jsx(v,{layoutSpeed:"3",layoutVariant:A,children:o.jsxs(s.m.button,{ref:I,className:z.button,initial:["hide",w],animate:w,variants:_,whileHover:"hover",whileTap:"pressed",...M,children:[P,o.jsx("span",{className:z.content,children:j}),T]})})})),y=r.forwardRef((function({palette:t,variant:n,size:i,iconVariant:c,loading:l,disableEffects:m,name:h,className:g,...f},j){const b=r.useRef(null);r.useImperativeHandle(j,(()=>b.current));const S=r.useMemo((()=>({button:e.getStyles({buttonVariant:n,buttonPalette:t,iconButtonSize:i,className:e.cx("uds-icon-button","uds-button","uds-ring","uds-hit-target",l&&"uds-button-loading",m&&"uds-button-without-effects",g)}),loading:"uds-button-icon start-content animate-spin",icon:"uds-button-icon start-content"})),[t,n,g,m,i,l]),y=s.useReducedMotion(),M=r.useMemo((()=>y?"smooth":"subtle"),[y]),C=r.useMemo((()=>{const{rest:e,hover:t,pressed:n}=p;return m?{rest:{},hover:{},pressed:{}}:{rest:e,hover:t,pressed:n}}),[m]);return o.jsx(v,{layoutSpeed:"3",layoutVariant:M,reducedMotion:m?"always":"user",children:o.jsx(s.m.button,{ref:b,className:S.button,initial:"icon",variants:C,whileHover:"hover",whileTap:"pressed",...f,children:o.jsxs(s.AnimatePresence,{initial:!1,mode:"popLayout",children:[l&&o.jsx(s.m.span,{variants:d,initial:"loading",animate:"loading",exit:"hide",children:o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:x,variant:c,color:"current",className:S.loading})},"loading"),h&&!l&&o.jsx(s.m.span,{variants:u,initial:"icon",animate:"icon",exit:"hide",children:o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:h,variant:c,color:"current",className:S.icon})},h.name)]})})})}));
2
+ "use strict";var e=require("../chunk-QELQ6JY6.cjs"),t=require("../chunk-PECN66KD.cjs"),n=require("../chunk-WLOEKYUI.cjs"),i=require("../chunk-J6D4HCFT.cjs"),a=require("@yahoo/uds/fixtures"),o=require("react/jsx-runtime"),r=require("framer-motion"),s=require("react"),c={scale:.7,opacity:0},l={scale:[.7,.7,1],opacity:[0,0,1],transition:{times:[0,.5,1]}},u={icon:l,hide:c,loading:c},d={loading:l,hide:c,icon:c},m=`var(${i.BUTTON_CSS_VAR_MAP.columnGap})`,h=`var(${i.BUTTON_CSS_VAR_MAP.iconSize})`,p={rest:{scale:`var(${i.BUTTON_CSS_VAR_MAP.effects.scale.rest})`},hover:{scale:`var(${i.BUTTON_CSS_VAR_MAP.effects.scale.hover})`},pressed:{scale:`var(${i.BUTTON_CSS_VAR_MAP.effects.scale.pressed})`},withoutIcon:{columnGap:"0px"},withIcon:{columnGap:m}},g={hide:{width:"0px",opacity:0,display:"none"},loading:{width:h,display:"flex",opacity:1},icon:{width:h,display:"flex",opacity:1}},x=({size:e,variant:t})=>{if("outline"===t)switch(e){case"sm":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===t)switch(e){case"sm":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return o.jsx(o.Fragment,{children:o.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return o.jsx(o.Fragment,{})},f=()=>import("../motionFeatures-THWWLQYC.cjs").then((({domAnimation:e})=>e));/*! © 2024 Yahoo, Inc. UDS v0.0.0-development */function v({reducedMotion:e="user",children:i,layoutVariant:a="subtle",layoutSpeed:c="3",colorVariant:l="smooth",colorSpeed:u="3"}){const d=n.motion[a][c],m=n.motion[l][u],[h,p]=s.useState(d),[g,x]=s.useState(m),v={variant:l,speed:u},j=t.getMotionVar({...v,control:"stiffness"}),b=t.getMotionVar({...v,control:"damping"}),S={variant:a,speed:c},y=t.getMotionVar({...S,control:"stiffness"}),M=t.getMotionVar({...S,control:"damping"});s.useEffect((()=>{const e=getComputedStyle(document.documentElement),t={damping:Number(e.getPropertyValue(M)),stiffness:Number(e.getPropertyValue(y))},n={damping:Number(e.getPropertyValue(b)),stiffness:Number(e.getPropertyValue(j))};p(t),x(n)}),[b,j,M,y]);const C=s.useMemo((()=>({type:"spring",mass:1,...h,layout:h,opacity:g,color:g,borderColor:g,backgroundColor:g})),[g,h]);return o.jsx(r.LazyMotion,{features:f,strict:!0,children:o.jsx(r.MotionConfig,{transition:C,reducedMotion:e,children:i})})}var j=e.createSlot(),b=r.m.create(j),S=s.forwardRef((function({palette:t,variant:n,size:i,startIcon:c,endIcon:l,iconVariant:m,loading:h,disableEffects:f,children:j,asChild:S,className:y,...M},C){const I=s.useRef(null);s.useImperativeHandle(C,(()=>I.current));const N=l?"icon":"hide",w=(({startIcon:e,endIcon:t,loading:n})=>e||t||n?"withIcon":"withoutIcon")({startIcon:c,endIcon:l,loading:h}),V=(({loading:e,startIcon:t})=>e?"loading":t?"icon":"hide")({loading:h,startIcon:c}),z={button:e.getStyles({buttonSize:i,buttonVariant:n,buttonPalette:t,className:e.cx("uds-button","uds-ring","uds-hit-target",h&&"uds-button-loading",f&&"uds-button-without-effects","withIcon"===w&&"uds-button-with-gap",y)}),content:"uds-button-content truncate",iconContainer:"uds-button-icon-container flex overflow-clip",loading:"uds-button-icon start-content animate-spin",start:"uds-button-icon start-content",end:"uds-button-icon end-content"},A=r.useReducedMotion()?"smooth":"subtle",P=s.useMemo((()=>o.jsx(r.m.span,{className:z.iconContainer,initial:!1,variants:g,animate:V,children:o.jsxs(r.AnimatePresence,{initial:!1,mode:"popLayout",children:[h&&o.jsx(r.m.span,{variants:d,initial:"hide",animate:"loading",exit:"hide",children:o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:x,variant:m,color:"current",className:z.loading})},"loading"),c&&!h&&o.jsx(r.m.span,{variants:u,initial:"hide",animate:"icon",exit:"hide",children:o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:c,variant:m,color:"current",className:z.start})},c.name)]})})),[z.iconContainer,z.loading,z.start,V,h,m,c]),T=s.useMemo((()=>o.jsx(r.m.span,{className:z.iconContainer,initial:!1,variants:g,animate:N,children:o.jsx(r.AnimatePresence,{initial:!1,mode:"popLayout",children:l&&o.jsx(r.m.span,{variants:u,initial:"hide",animate:"icon",exit:"hide",children:o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:l,variant:m,color:"current",className:z.start})},l.name)})})),[z.iconContainer,z.start,l,N,m]),_=s.useMemo((()=>f?{...p,rest:{},hover:{},pressed:{}}:p),[f]);return S&&s.isValidElement(j)?o.jsx(v,{layoutSpeed:"3",layoutVariant:A,children:o.jsx(b,{className:z.button,initial:["hide",w],animate:w,variants:_,whileHover:"hover",whileTap:"pressed",...M,children:s.cloneElement(j,j.props,o.jsxs(o.Fragment,{children:[P,o.jsx("span",{className:z.content,children:j.props.children}),T]}))})}):o.jsx(v,{layoutSpeed:"3",layoutVariant:A,children:o.jsxs(r.m.button,{ref:I,className:z.button,initial:["hide",w],animate:w,variants:_,whileHover:"hover",whileTap:"pressed",...M,children:[P,o.jsx("span",{className:z.content,children:j}),T]})})})),y=s.forwardRef((function({palette:t,variant:n,size:i,iconVariant:c,loading:l,disableEffects:m,name:h,className:g,children:f,...j},b){const S=s.useRef(null);s.useImperativeHandle(b,(()=>S.current));const y=s.useMemo((()=>({button:e.getStyles({buttonVariant:n,buttonPalette:t,iconButtonSize:i,className:e.cx("uds-icon-button","uds-button","uds-ring","uds-hit-target",l&&"uds-button-loading",m&&"uds-button-without-effects",g)}),loading:"uds-button-icon start-content animate-spin",icon:"uds-button-icon start-content"})),[t,n,g,m,i,l]),M=r.useReducedMotion(),C=s.useMemo((()=>M?"smooth":"subtle"),[M]),I=s.useMemo((()=>{const{rest:e,hover:t,pressed:n}=p;return m?{rest:{},hover:{},pressed:{}}:{rest:e,hover:t,pressed:n}}),[m]);return o.jsx(v,{layoutSpeed:"3",layoutVariant:C,reducedMotion:m?"always":"user",children:o.jsx(r.m.button,{ref:S,className:y.button,initial:"icon",variants:I,whileHover:"hover",whileTap:"pressed",...j,children:o.jsxs(r.AnimatePresence,{initial:!1,mode:"popLayout",children:[l&&o.jsx(r.m.span,{variants:d,initial:"loading",animate:"loading",exit:"hide",children:o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:x,variant:c,color:"current",className:y.loading})},"loading"),h&&!l&&o.jsx(r.m.span,{variants:u,initial:"icon",animate:"icon",exit:"hide",children:f||o.jsx(e.Icon,{size:a.buttonIconSvgSize,name:h,variant:c,color:"current",className:y.icon})},h.name)]})})})}));
3
3
  /*! © 2024 Yahoo, Inc. UDS v0.0.0-development */exports.Button=S,exports.IconButton=y,exports.SpringMotionConfig=v;
@@ -1,4 +1,4 @@
1
1
  "use client";
2
- import{createSlot as t,getStyles as n,cx as e,Icon as a}from"../chunk-FK7UKIGU.js";import{getMotionVar as i}from"../chunk-PSTMMXTR.js";import{motion as o}from"../chunk-YRYDHL65.js";import{BUTTON_CSS_VAR_MAP as r}from"../chunk-33B23P5G.js";import{buttonIconSvgSize as s}from"@yahoo/uds/fixtures";import{jsx as c,jsxs as l,Fragment as d}from"react/jsx-runtime";import{m as u,useReducedMotion as h,AnimatePresence as m,LazyMotion as p,MotionConfig as f}from"framer-motion";import{forwardRef as g,useRef as v,useImperativeHandle as b,useMemo as y,isValidElement as w,cloneElement as N,useState as C,useEffect as S}from"react";/*! © 2024 Yahoo, Inc. UDS v0.0.0-development */
3
- var I={scale:.7,opacity:0},V={scale:[.7,.7,1],opacity:[0,0,1],transition:{times:[0,.5,1]}},x={icon:V,hide:I,loading:I},z={loading:V,hide:I,icon:I},M=`var(${r.columnGap})`,P=`var(${r.iconSize})`,j={rest:{scale:`var(${r.effects.scale.rest})`},hover:{scale:`var(${r.effects.scale.hover})`},pressed:{scale:`var(${r.effects.scale.pressed})`},withoutIcon:{columnGap:"0px"},withIcon:{columnGap:M}},G={hide:{width:"0px",opacity:0,display:"none"},loading:{width:P,display:"flex",opacity:1},icon:{width:P,display:"flex",opacity:1}},k=({size:t,variant:n})=>{if("outline"===n)switch(t){case"sm":return c(d,{children:c("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return c(d,{children:c("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return c(d,{children:c("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===n)switch(t){case"sm":return c(d,{children:c("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return c(d,{children:c("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return c(d,{children:c("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return c(d,{})},T=()=>import("../motionFeatures-B5UV2GY2.js").then((({domAnimation:t})=>t));function $({reducedMotion:t="user",children:n,layoutVariant:e="subtle",layoutSpeed:a="3",colorVariant:r="smooth",colorSpeed:s="3"}){const l=o[e][a],d=o[r][s],[u,h]=C(l),[m,g]=C(d),v={variant:r,speed:s},b=i({...v,control:"stiffness"}),w=i({...v,control:"damping"}),N={variant:e,speed:a},I=i({...N,control:"stiffness"}),V=i({...N,control:"damping"});S((()=>{const t=getComputedStyle(document.documentElement),n={damping:Number(t.getPropertyValue(V)),stiffness:Number(t.getPropertyValue(I))},e={damping:Number(t.getPropertyValue(w)),stiffness:Number(t.getPropertyValue(b))};h(n),g(e)}),[w,b,V,I]);const x=y((()=>({type:"spring",mass:1,...u,layout:u,opacity:m,color:m,borderColor:m,backgroundColor:m})),[m,u]);return c(p,{features:T,strict:!0,children:c(f,{transition:x,reducedMotion:t,children:n})})}var A=t(),H=u.create(A),L=g((function({palette:t,variant:i,size:o,startIcon:r,endIcon:p,iconVariant:f,loading:g,disableEffects:C,children:S,asChild:I,className:V,...M},P){const T=v(null);b(P,(()=>T.current));const A=p?"icon":"hide",L=(({startIcon:t,endIcon:n,loading:e})=>t||n||e?"withIcon":"withoutIcon")({startIcon:r,endIcon:p,loading:g}),B=(({loading:t,startIcon:n})=>t?"loading":n?"icon":"hide")({loading:g,startIcon:r}),E={button:n({buttonSize:o,buttonVariant:i,buttonPalette:t,className:e("uds-button","uds-ring","uds-hit-target",g&&"uds-button-loading",C&&"uds-button-without-effects","withIcon"===L&&"uds-button-with-gap",V)}),content:"uds-button-content truncate",iconContainer:"uds-button-icon-container flex overflow-clip",loading:"uds-button-icon start-content animate-spin",start:"uds-button-icon start-content",end:"uds-button-icon end-content"},U=h()?"smooth":"subtle",Y=y((()=>c(u.span,{className:E.iconContainer,initial:!1,variants:G,animate:B,children:l(m,{initial:!1,mode:"popLayout",children:[g&&c(u.span,{variants:z,initial:"hide",animate:"loading",exit:"hide",children:c(a,{size:s,name:k,variant:f,color:"current",className:E.loading})},"loading"),r&&!g&&c(u.span,{variants:x,initial:"hide",animate:"icon",exit:"hide",children:c(a,{size:s,name:r,variant:f,color:"current",className:E.start})},r.name)]})})),[E.iconContainer,E.loading,E.start,B,g,f,r]),F=y((()=>c(u.span,{className:E.iconContainer,initial:!1,variants:G,animate:A,children:c(m,{initial:!1,mode:"popLayout",children:p&&c(u.span,{variants:x,initial:"hide",animate:"icon",exit:"hide",children:c(a,{size:s,name:p,variant:f,color:"current",className:E.start})},p.name)})})),[E.iconContainer,E.start,p,A,f]),K=y((()=>C?{...j,rest:{},hover:{},pressed:{}}:j),[C]);return I&&w(S)?c($,{layoutSpeed:"3",layoutVariant:U,children:c(H,{className:E.button,initial:["hide",L],animate:L,variants:K,whileHover:"hover",whileTap:"pressed",...M,children:N(S,S.props,l(d,{children:[Y,c("span",{className:E.content,children:S.props.children}),F]}))})}):c($,{layoutSpeed:"3",layoutVariant:U,children:l(u.button,{ref:T,className:E.button,initial:["hide",L],animate:L,variants:K,whileHover:"hover",whileTap:"pressed",...M,children:[Y,c("span",{className:E.content,children:S}),F]})})})),B=g((function({palette:t,variant:i,size:o,iconVariant:r,loading:d,disableEffects:p,name:f,className:g,...w},N){const C=v(null);b(N,(()=>C.current));const S=y((()=>({button:n({buttonVariant:i,buttonPalette:t,iconButtonSize:o,className:e("uds-icon-button","uds-button","uds-ring","uds-hit-target",d&&"uds-button-loading",p&&"uds-button-without-effects",g)}),loading:"uds-button-icon start-content animate-spin",icon:"uds-button-icon start-content"})),[t,i,g,p,o,d]),I=h(),V=y((()=>I?"smooth":"subtle"),[I]),M=y((()=>{const{rest:t,hover:n,pressed:e}=j;return p?{rest:{},hover:{},pressed:{}}:{rest:t,hover:n,pressed:e}}),[p]);return c($,{layoutSpeed:"3",layoutVariant:V,reducedMotion:p?"always":"user",children:c(u.button,{ref:C,className:S.button,initial:"icon",variants:M,whileHover:"hover",whileTap:"pressed",...w,children:l(m,{initial:!1,mode:"popLayout",children:[d&&c(u.span,{variants:z,initial:"loading",animate:"loading",exit:"hide",children:c(a,{size:s,name:k,variant:r,color:"current",className:S.loading})},"loading"),f&&!d&&c(u.span,{variants:x,initial:"icon",animate:"icon",exit:"hide",children:c(a,{size:s,name:f,variant:r,color:"current",className:S.icon})},f.name)]})})})}));
2
+ import{createSlot as t,getStyles as n,cx as e,Icon as i}from"../chunk-FK7UKIGU.js";import{getMotionVar as a}from"../chunk-PSTMMXTR.js";import{motion as o}from"../chunk-YRYDHL65.js";import{BUTTON_CSS_VAR_MAP as r}from"../chunk-33B23P5G.js";import{buttonIconSvgSize as s}from"@yahoo/uds/fixtures";import{jsx as c,jsxs as l,Fragment as d}from"react/jsx-runtime";import{m as u,useReducedMotion as h,AnimatePresence as m,LazyMotion as p,MotionConfig as f}from"framer-motion";import{forwardRef as g,useRef as v,useImperativeHandle as b,useMemo as y,isValidElement as w,cloneElement as N,useState as C,useEffect as S}from"react";/*! © 2024 Yahoo, Inc. UDS v0.0.0-development */
3
+ var I={scale:.7,opacity:0},V={scale:[.7,.7,1],opacity:[0,0,1],transition:{times:[0,.5,1]}},x={icon:V,hide:I,loading:I},z={loading:V,hide:I,icon:I},M=`var(${r.columnGap})`,P=`var(${r.iconSize})`,j={rest:{scale:`var(${r.effects.scale.rest})`},hover:{scale:`var(${r.effects.scale.hover})`},pressed:{scale:`var(${r.effects.scale.pressed})`},withoutIcon:{columnGap:"0px"},withIcon:{columnGap:M}},G={hide:{width:"0px",opacity:0,display:"none"},loading:{width:P,display:"flex",opacity:1},icon:{width:P,display:"flex",opacity:1}},k=({size:t,variant:n})=>{if("outline"===n)switch(t){case"sm":return c(d,{children:c("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return c(d,{children:c("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return c(d,{children:c("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===n)switch(t){case"sm":return c(d,{children:c("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return c(d,{children:c("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return c(d,{children:c("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return c(d,{})},T=()=>import("../motionFeatures-B5UV2GY2.js").then((({domAnimation:t})=>t));function $({reducedMotion:t="user",children:n,layoutVariant:e="subtle",layoutSpeed:i="3",colorVariant:r="smooth",colorSpeed:s="3"}){const l=o[e][i],d=o[r][s],[u,h]=C(l),[m,g]=C(d),v={variant:r,speed:s},b=a({...v,control:"stiffness"}),w=a({...v,control:"damping"}),N={variant:e,speed:i},I=a({...N,control:"stiffness"}),V=a({...N,control:"damping"});S((()=>{const t=getComputedStyle(document.documentElement),n={damping:Number(t.getPropertyValue(V)),stiffness:Number(t.getPropertyValue(I))},e={damping:Number(t.getPropertyValue(w)),stiffness:Number(t.getPropertyValue(b))};h(n),g(e)}),[w,b,V,I]);const x=y((()=>({type:"spring",mass:1,...u,layout:u,opacity:m,color:m,borderColor:m,backgroundColor:m})),[m,u]);return c(p,{features:T,strict:!0,children:c(f,{transition:x,reducedMotion:t,children:n})})}var A=t(),H=u.create(A),L=g((function({palette:t,variant:a,size:o,startIcon:r,endIcon:p,iconVariant:f,loading:g,disableEffects:C,children:S,asChild:I,className:V,...M},P){const T=v(null);b(P,(()=>T.current));const A=p?"icon":"hide",L=(({startIcon:t,endIcon:n,loading:e})=>t||n||e?"withIcon":"withoutIcon")({startIcon:r,endIcon:p,loading:g}),B=(({loading:t,startIcon:n})=>t?"loading":n?"icon":"hide")({loading:g,startIcon:r}),E={button:n({buttonSize:o,buttonVariant:a,buttonPalette:t,className:e("uds-button","uds-ring","uds-hit-target",g&&"uds-button-loading",C&&"uds-button-without-effects","withIcon"===L&&"uds-button-with-gap",V)}),content:"uds-button-content truncate",iconContainer:"uds-button-icon-container flex overflow-clip",loading:"uds-button-icon start-content animate-spin",start:"uds-button-icon start-content",end:"uds-button-icon end-content"},U=h()?"smooth":"subtle",Y=y((()=>c(u.span,{className:E.iconContainer,initial:!1,variants:G,animate:B,children:l(m,{initial:!1,mode:"popLayout",children:[g&&c(u.span,{variants:z,initial:"hide",animate:"loading",exit:"hide",children:c(i,{size:s,name:k,variant:f,color:"current",className:E.loading})},"loading"),r&&!g&&c(u.span,{variants:x,initial:"hide",animate:"icon",exit:"hide",children:c(i,{size:s,name:r,variant:f,color:"current",className:E.start})},r.name)]})})),[E.iconContainer,E.loading,E.start,B,g,f,r]),F=y((()=>c(u.span,{className:E.iconContainer,initial:!1,variants:G,animate:A,children:c(m,{initial:!1,mode:"popLayout",children:p&&c(u.span,{variants:x,initial:"hide",animate:"icon",exit:"hide",children:c(i,{size:s,name:p,variant:f,color:"current",className:E.start})},p.name)})})),[E.iconContainer,E.start,p,A,f]),K=y((()=>C?{...j,rest:{},hover:{},pressed:{}}:j),[C]);return I&&w(S)?c($,{layoutSpeed:"3",layoutVariant:U,children:c(H,{className:E.button,initial:["hide",L],animate:L,variants:K,whileHover:"hover",whileTap:"pressed",...M,children:N(S,S.props,l(d,{children:[Y,c("span",{className:E.content,children:S.props.children}),F]}))})}):c($,{layoutSpeed:"3",layoutVariant:U,children:l(u.button,{ref:T,className:E.button,initial:["hide",L],animate:L,variants:K,whileHover:"hover",whileTap:"pressed",...M,children:[Y,c("span",{className:E.content,children:S}),F]})})})),B=g((function({palette:t,variant:a,size:o,iconVariant:r,loading:d,disableEffects:p,name:f,className:g,children:w,...N},C){const S=v(null);b(C,(()=>S.current));const I=y((()=>({button:n({buttonVariant:a,buttonPalette:t,iconButtonSize:o,className:e("uds-icon-button","uds-button","uds-ring","uds-hit-target",d&&"uds-button-loading",p&&"uds-button-without-effects",g)}),loading:"uds-button-icon start-content animate-spin",icon:"uds-button-icon start-content"})),[t,a,g,p,o,d]),V=h(),M=y((()=>V?"smooth":"subtle"),[V]),P=y((()=>{const{rest:t,hover:n,pressed:e}=j;return p?{rest:{},hover:{},pressed:{}}:{rest:t,hover:n,pressed:e}}),[p]);return c($,{layoutSpeed:"3",layoutVariant:M,reducedMotion:p?"always":"user",children:c(u.button,{ref:S,className:I.button,initial:"icon",variants:P,whileHover:"hover",whileTap:"pressed",...N,children:l(m,{initial:!1,mode:"popLayout",children:[d&&c(u.span,{variants:z,initial:"loading",animate:"loading",exit:"hide",children:c(i,{size:s,name:k,variant:r,color:"current",className:I.loading})},"loading"),f&&!d&&c(u.span,{variants:x,initial:"icon",animate:"icon",exit:"hide",children:w||c(i,{size:s,name:f,variant:r,color:"current",className:I.icon})},f.name)]})})})}));
4
4
  /*! © 2024 Yahoo, Inc. UDS v0.0.0-development */export{L as Button,B as IconButton,$ as SpringMotionConfig};
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),r=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),o=require("clsx"),n=require("imurmurhash"),a=require("tailwind-merge"),l=require("react"),i=require("@ariakit/react"),s=require("@yahoo/uds/client"),d=require("react-toastify");function c(e){return e&&e.__esModule?e:{default:e}}var p=c(o),m=c(n),b=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e.jsx(e.Fragment,{})},u=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M7.795 12.199 1.381 5.783 2.795 4.37l5 5 5-5 1.414 1.414z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M11.56 17.24 4.31 9.756 5.78 8.24l5.781 5.969 5.782-5.969 1.469 1.516z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M15.768 23.536 3 10.767 4.768 9l11 11 11-11 1.767 1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M8.001 12.627 1.375 6l1.626-1.626 5 5 5-5L14.628 6z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 17.763-7.686-7.686 1.839-1.839L12 14.086l5.848-5.848 1.838 1.839z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M16.121 24.243 3 11.12 5.121 9l11 11 11-11 2.122 2.121z"})})}return e.jsx(e.Fragment,{})},f=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m7.795 3.37 6.414 6.414-1.414 1.414-5-5-5 5-1.414-1.414z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m11.56 6.24 7.25 7.485-1.468 1.515-5.781-5.968-5.782 5.968-1.468-1.515z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m15.649 7.38 12.767 12.768-1.767 1.767-11-11-11 11-1.768-1.767z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M8.001 3.374 14.628 10 13 11.627l-5-5-5 5L1.375 10z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 6.238 7.686 7.686-1.838 1.839L12 9.915l-5.847 5.848-1.839-1.839z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M16 7.379 29.122 20.5 27 22.622l-11-11-11 11L2.88 20.5z"})})}return e.jsx(e.Fragment,{})},x=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e.jsx(e.Fragment,{})},h=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e.jsx(e.Fragment,{})};function g(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}var y="uds",w={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary",current:"border-current"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary",current:"border-s-current"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary",current:"border-e-current"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary",current:"border-b-current"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${y}-color-mode-dark`,light:`${y}-color-mode-light`},scaleMode:{xSmall:`${y}-scale-mode-xsmall`,small:`${y}-scale-mode-small`,medium:`${y}-scale-mode-medium`,large:`${y}-scale-mode-large`,xLarge:`${y}-scale-mode-xlarge`,xxxLarge:`${y}-scale-mode-xxxlarge`,xxLarge:`${y}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"}};function v(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,n=t.length;o<n;o++){const n=t[o];void 0!==e[n]&&(r[n]=e[n])}return r}var C,j=a.extendTailwindMerge({extend:{theme:{borderColor:r.lineColors,borderWidth:r.borderWidths,borderRadius:r.borderRadii}},override:{classGroups:{"text-color":[{text:[...r.foregroundColors,...r.spectrumColors]}],"bg-color":[{bg:r.backgroundColors}],"font-family":[{font:["icons",...r.textVariants]}],leading:[{leading:r.textVariants}]},conflictingClassGroups:{}}}),z=(...e)=>{const r=p.default(e);return j(r)},k=(C={variants:w},e=>{if(!C?.variants)return z(C?.base,e?.className);const{variants:r,defaultVariants:t}=C,o=Object.keys(r).map((o=>{const n=e?.[o],a=t?.[o],l=g(n)||g(a);return r[o][l]})),n={...t,...e&&v(e)},a=C?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>n[e]===r))?z(e,r):e),"");return z(C?.base,o,a,e?.className)}),S=new Map,T=e=>{const{useGetStylesCache:r}=t.getFeatureFlags();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,n=t.length;o<n;o++){const n=t[o];r[n]=e[n]}return r}(v(e)),t=(new m.default).hash(JSON.stringify(r)).result();if(S.has(t))return S.get(t);const o=k(r);return S.set(t,o),o}return k(e)},R={sm:16,md:24,lg:32},W=l.forwardRef((function({name:r,size:t="md",variant:o="outline",color:n="primary",className:a,...l},i){const s=T({color:n,flex:"none",className:a}),d=R[t];return e.jsx("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",focusable:"false",className:s,...l,children:e.jsx(r,{size:t,variant:o})})}));function B(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function N(){const r=l.forwardRef(((r,o)=>{const{children:a,...i}=r,s=l.Children.toArray(a),d=s.find(n);if(d){const r=d.props.children,n=s.map((e=>e===d?l.Children.count(r)>1?l.Children.only(null):l.isValidElement(r)?r.props.children:null:e));return e.jsx(t,{...i,ref:o,children:l.isValidElement(r)?l.cloneElement(r,void 0,n):null})}return e.jsx(t,{...i,ref:o,children:a})}));r.displayName="Slot";const t=l.forwardRef(((e,r)=>{const{children:t,...o}=e;return l.isValidElement(t)?l.cloneElement(t,{...a(o,t.props),ref:r?B(r,t.ref):t.ref}):l.Children.count(t)>1?l.Children.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function n(e){return l.isValidElement(e)&&e.type===o}function a(e,r){const t={...r};for(const o in r){const n=e[o],a=r[o];/^on[A-Z]/.test(o)?n&&a?t[o]=(...e)=>{a(...e),n(...e)}:n&&(t[o]=n):"style"===o&&(t[o]={...n,...a})}return{...e,...t}}return r}var H=N(),E=l.forwardRef((function({className:r,asChild:t,onPress:o,onClick:n=o,backgroundColor:a,borderRadius:l,borderTopStartRadius:i,borderTopEndRadius:s,borderBottomStartRadius:d,borderBottomEndRadius:c,borderColor:p,borderStartColor:m,borderEndColor:b,borderTopColor:u,borderBottomColor:f,borderWidth:x,borderVerticalWidth:h,borderHorizontalWidth:g,borderStartWidth:y,borderEndWidth:w,borderTopWidth:v,borderBottomWidth:C,alignContent:j,alignItems:z,alignSelf:k,flex:S,flexDirection:R,flexGrow:W,flexShrink:B,flexWrap:N,justifyContent:E,flexBasis:F,display:V,overflow:M,overflowX:I,overflowY:D,position:G,spacing:P,spacingHorizontal:L,spacingVertical:q,spacingBottom:A,spacingEnd:$,spacingStart:O,spacingTop:X,offset:Y,offsetVertical:_,offsetHorizontal:Z,offsetBottom:J,offsetEnd:K,offsetStart:Q,offsetTop:U,columnGap:ee,rowGap:re,...te},oe){const ne=T({backgroundColor:a,borderRadius:l,borderTopStartRadius:i,borderTopEndRadius:s,borderBottomStartRadius:d,borderBottomEndRadius:c,borderColor:p,borderStartColor:m,borderEndColor:b,borderTopColor:u,borderBottomColor:f,borderWidth:x,borderVerticalWidth:h,borderHorizontalWidth:g,borderStartWidth:y,borderEndWidth:w,borderTopWidth:v,borderBottomWidth:C,alignContent:j,alignItems:z,alignSelf:k,flex:S,flexDirection:R,flexGrow:W,flexShrink:B,flexWrap:N,justifyContent:E,flexBasis:F,display:V,overflow:M,overflowX:I,overflowY:D,position:G,spacing:P,spacingHorizontal:L,spacingVertical:q,spacingBottom:A,spacingEnd:$,spacingStart:O,spacingTop:X,offset:Y,offsetVertical:_,offsetHorizontal:Z,offsetBottom:J,offsetEnd:K,offsetStart:Q,offsetTop:U,columnGap:ee,rowGap:re,className:r}),ae=t?H:"button";return e.jsx(ae,{className:ne,ref:oe,onClick:n,...te})})),F=N(),V={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},M=l.forwardRef((function({className:r,asChild:t,color:o="primary",variant:n="body1",as:a=V[n],fontSize:l=n,fontFamily:i=n,fontWeight:s=n,lineHeight:d=n,textTransform:c=n,textAlign:p,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:f,borderBottomStartRadius:x,borderBottomEndRadius:h,borderColor:g,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:j,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:R,borderTopWidth:W,borderBottomWidth:B,alignContent:N,alignItems:H,alignSelf:E,flex:M,flexDirection:I,flexGrow:D,flexShrink:G,flexWrap:P,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:X,position:Y,spacing:_,spacingHorizontal:Z,spacingVertical:J,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:le,offsetTop:ie,columnGap:se,rowGap:de,...ce},pe){const me=T({className:r,color:o,fontFamily:i,fontSize:l,fontWeight:s,lineHeight:d,textTransform:c,textAlign:p,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:f,borderBottomStartRadius:x,borderBottomEndRadius:h,borderColor:g,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:j,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:R,borderTopWidth:W,borderBottomWidth:B,alignContent:N,alignItems:H,alignSelf:E,flex:M,flexDirection:I,flexGrow:D,flexShrink:G,flexWrap:P,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:X,position:Y,spacing:_,spacingHorizontal:Z,spacingVertical:J,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:le,offsetTop:ie,columnGap:se,rowGap:de}),be=t?F:a;return e.jsx(be,{className:me,ref:pe,...ce})})),I=N(),D=l.forwardRef((function({asChild:r,className:t,backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:i,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:p,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:f,borderHorizontalWidth:x,borderStartWidth:h,borderEndWidth:g,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:j,flex:z,flexDirection:k,flexGrow:S,flexShrink:R,flexWrap:W,justifyContent:B,flexBasis:N,display:H="flex",overflow:E,overflowX:F,overflowY:V,position:M,spacing:D,spacingHorizontal:G,spacingVertical:P,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:X,offsetHorizontal:Y,offsetBottom:_,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:U,...ee},re){const te=T({backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:i,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:p,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:f,borderHorizontalWidth:x,borderStartWidth:h,borderEndWidth:g,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:j,flex:z,flexDirection:k,flexGrow:S,flexShrink:R,flexWrap:W,justifyContent:B,flexBasis:N,display:H,overflow:E,overflowX:F,overflowY:V,position:M,spacing:D,spacingHorizontal:G,spacingVertical:P,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:X,offsetHorizontal:Y,offsetBottom:_,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:U,className:t}),oe=r?I:"div";return e.jsx(oe,{className:te,ref:re,...ee})})),G=l.forwardRef((function({gap:r,...t},o){return e.jsx(D,{ref:o,flexDirection:"column",columnGap:r,rowGap:r,...t})}));var P={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"};var L=l.forwardRef((function({gap:r,...t},o){return e.jsx(D,{ref:o,flexDirection:"row",rowGap:r,columnGap:r,...t})})),q={accent:"on-color",secondary:"primary"},A={accent:"on-color",secondary:"tertiary"};var $=i.Popover,O=i.PopoverArrow,X=i.PopoverAnchor,Y=i.PopoverDescription,_=i.PopoverDismiss,Z=i.PopoverProvider,J=i.PopoverDisclosure,K=i.PopoverDisclosureArrow,Q=Z,U=l.forwardRef((function({children:r,disabled:t,onClick:o,...n},a){const s=i.usePopoverStore(),d=l.useCallback((e=>{e.preventDefault();o?.((()=>s.setOpen(!1)))}),[o,s]);return e.jsx(E,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:z(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?d:void 0,ref:a,...n,children:r})}));var ee=l.forwardRef((function({children:r,className:t,overflow:o="scroll",...n},a){return e.jsx(G,{borderRadius:"lg",backgroundColor:"primary",className:z("z-10 max-h-[312px] min-w-[220px] shadow-md",t),overflow:o,asChild:!0,children:e.jsxs($,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:a,children:[e.jsx(O,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),r]})})}));var re=i.DialogDismiss;var te=l.forwardRef((function({children:r,className:t,display:o="table",overflow:n="hidden",borderColor:a="muted",borderRadius:l="md",...i},s){return e.jsx(D,{asChild:!0,borderColor:a,borderRadius:l,className:t,overflow:n,display:o,...i,children:e.jsx("table",{ref:s,children:r})})})),oe=l.forwardRef((function({children:r,display:t="table-row",...o},n){return e.jsx(D,{asChild:!0,display:t,...o,children:e.jsx("tr",{ref:n,children:r})})})),ne=l.forwardRef((function({children:r,display:t="table-header-group",...o},n){return e.jsx(D,{asChild:!0,display:t,...o,children:e.jsx("thead",{ref:n,children:r})})})),ae=l.forwardRef((function({children:r,display:t="table-row-group",...o},n){return e.jsx(D,{asChild:!0,display:t,...o,children:e.jsx("tbody",{ref:n,children:r})})})),le=l.forwardRef((function({asHeaderCell:r,className:t,display:o="table-cell",spacing:n="3",borderBottomColor:a="muted",color:l="primary",...i},s){const d=T({textAlign:"start",className:t}),c=r?"th":"td",p="row"===r?"row":r?"column":void 0,m=r?"headline1":"body1";return e.jsx(M,{asChild:!0,variant:m,color:l,display:o,spacing:n,borderBottomColor:a,borderBottomWidth:"thin",className:d,children:e.jsx(c,{scope:p,...i,ref:s})})}));function ie({data:r,columns:t,...o}){return e.jsxs(ie.Root,{...o,children:[e.jsx(ie.Header,{children:e.jsx(ie.Row,{children:t.map(((r,t)=>e.jsx(ie.Cell,{asHeaderCell:"column",children:r.title},t)))})}),e.jsx(ie.Body,{children:r.map(((r,o)=>e.jsx(ie.Row,{children:t.map(((t,n)=>{const a=r[t.dataIndex];return e.jsx(ie.Cell,{children:t.render?t.render(a,r,o):l.isValidElement(a)?a:String(a)},n)}))},o)))})]})}ie.Root=te,ie.Row=oe,ie.Header=ne,ie.Body=ae,ie.Cell=le;var se=N();var de=l.forwardRef((function({className:r,...t},o){const n=T({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e.jsx(i.TabList,{ref:o,...t,className:n})})),ce=l.forwardRef((function(r,t){const o=i.useTabContext();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const n=o.useState("selectedId");return e.jsx(i.TabPanel,{ref:t,tabId:n,...r})}));function pe({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:n="tertiary",borderWidth:a="thin",borderRadius:l="md",color:i="primary",placeholderColor:s="tertiary",spacingVertical:d="3",spacingHorizontal:c="4",fontSize:p="body1",...m}){return e.jsx("input",{type:"text","data-1p-ignore":!0,className:z(T({backgroundColor:o,borderColor:n,borderWidth:a,borderRadius:l,spacingVertical:d,spacingHorizontal:c,fontSize:p,fontWeight:p,lineHeight:p,fontFamily:p,color:i,placeholderColor:s}),"w-full",r),disabled:t,...m})}function me({children:r,required:t}){return e.jsxs(M,{variant:"caption2",color:"primary",children:[r,t&&e.jsx(M,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}var be=T({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),ue=T({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),fe=T({backgroundColor:"positive"}),xe=T({backgroundColor:"alert"}),he=T({backgroundColor:"accent"}),ge=T({backgroundColor:"warning"}),ye=T({backgroundColor:"accent"}),we=T({backgroundColor:"brand"}),ve=T({backgroundColor:"accent"}),Ce=e=>"default"===e?.type?z(be,ve):e?.defaultClassName??"";function je(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:fe,error:xe,info:he,warning:ge,default:ye,dark:we}[r],n=t.replace(/Toastify__progress-bar-theme--light/,"");return z(n,o)}function ze({closeToast:r,type:t}){const o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t];return e.jsx(s.IconButton,{name:x,size:"sm",palette:o,onClick:r,className:"h-fit self-center"})}
1
+ "use strict";var e=require("react/jsx-runtime"),r=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),o=require("clsx"),n=require("imurmurhash"),a=require("tailwind-merge"),l=require("react"),i=require("@ariakit/react"),s=require("@yahoo/uds/client"),d=require("react-toastify");function c(e){return e&&e.__esModule?e:{default:e}}var p=c(o),m=c(n),b=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e.jsx(e.Fragment,{})},u=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M7.795 12.199 1.381 5.783 2.795 4.37l5 5 5-5 1.414 1.414z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M11.56 17.24 4.31 9.756 5.78 8.24l5.781 5.969 5.782-5.969 1.469 1.516z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M15.768 23.536 3 10.767 4.768 9l11 11 11-11 1.767 1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M8.001 12.627 1.375 6l1.626-1.626 5 5 5-5L14.628 6z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 17.763-7.686-7.686 1.839-1.839L12 14.086l5.848-5.848 1.838 1.839z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M16.121 24.243 3 11.12 5.121 9l11 11 11-11 2.122 2.121z"})})}return e.jsx(e.Fragment,{})},f=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m7.795 3.37 6.414 6.414-1.414 1.414-5-5-5 5-1.414-1.414z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m11.56 6.24 7.25 7.485-1.468 1.515-5.781-5.968-5.782 5.968-1.468-1.515z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m15.649 7.38 12.767 12.768-1.767 1.767-11-11-11 11-1.768-1.767z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M8.001 3.374 14.628 10 13 11.627l-5-5-5 5L1.375 10z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 6.238 7.686 7.686-1.838 1.839L12 9.915l-5.847 5.848-1.839-1.839z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M16 7.379 29.122 20.5 27 22.622l-11-11-11 11L2.88 20.5z"})})}return e.jsx(e.Fragment,{})},x=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e.jsx(e.Fragment,{})},h=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e.jsx(e.Fragment,{})};function g(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}var y="uds",w={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary",current:"border-current"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary",current:"border-s-current"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary",current:"border-e-current"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary",current:"border-b-current"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${y}-color-mode-dark`,light:`${y}-color-mode-light`},scaleMode:{xSmall:`${y}-scale-mode-xsmall`,small:`${y}-scale-mode-small`,medium:`${y}-scale-mode-medium`,large:`${y}-scale-mode-large`,xLarge:`${y}-scale-mode-xlarge`,xxxLarge:`${y}-scale-mode-xxxlarge`,xxLarge:`${y}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"}};function v(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,n=t.length;o<n;o++){const n=t[o];void 0!==e[n]&&(r[n]=e[n])}return r}var C,j=a.extendTailwindMerge({extend:{theme:{borderColor:r.lineColors,borderWidth:r.borderWidths,borderRadius:r.borderRadii}},override:{classGroups:{"text-color":[{text:[...r.foregroundColors,...r.spectrumColors]}],"bg-color":[{bg:r.backgroundColors}],"font-family":[{font:["icons",...r.textVariants]}],leading:[{leading:r.textVariants}]},conflictingClassGroups:{}}}),z=(...e)=>{const r=p.default(e);return j(r)},k=(C={variants:w},e=>{if(!C?.variants)return z(C?.base,e?.className);const{variants:r,defaultVariants:t}=C,o=Object.keys(r).map((o=>{const n=e?.[o],a=t?.[o],l=g(n)||g(a);return r[o][l]})),n={...t,...e&&v(e)},a=C?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>n[e]===r))?z(e,r):e),"");return z(C?.base,o,a,e?.className)}),S=new Map,T=e=>{const{useGetStylesCache:r}=t.getFeatureFlags();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,n=t.length;o<n;o++){const n=t[o];r[n]=e[n]}return r}(v(e)),t=(new m.default).hash(JSON.stringify(r)).result();if(S.has(t))return S.get(t);const o=k(r);return S.set(t,o),o}return k(e)},R={sm:16,md:24,lg:32},W=l.forwardRef((function({name:r,size:t="md",variant:o="outline",color:n="primary",className:a,...l},i){const s=T({color:n,flex:"none",className:a}),d=R[t];return e.jsx("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",focusable:"false",className:s,...l,children:e.jsx(r,{size:t,variant:o})})}));function B(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function N(){const r=l.forwardRef(((r,o)=>{const{children:a,...i}=r,s=l.Children.toArray(a),d=s.find(n);if(d){const r=d.props.children,n=s.map((e=>e===d?l.Children.count(r)>1?l.Children.only(null):l.isValidElement(r)?r.props.children:null:e));return e.jsx(t,{...i,ref:o,children:l.isValidElement(r)?l.cloneElement(r,void 0,n):null})}return e.jsx(t,{...i,ref:o,children:a})}));r.displayName="Slot";const t=l.forwardRef(((e,r)=>{const{children:t,...o}=e;return l.isValidElement(t)?l.cloneElement(t,{...a(o,t.props),ref:r?B(r,t.ref):t.ref}):l.Children.count(t)>1?l.Children.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function n(e){return l.isValidElement(e)&&e.type===o}function a(e,r){const t={...r};for(const o in r){const n=e[o],a=r[o];/^on[A-Z]/.test(o)?n&&a?t[o]=(...e)=>{a(...e),n(...e)}:n&&(t[o]=n):"style"===o&&(t[o]={...n,...a})}return{...e,...t}}return r}var H=N(),E=l.forwardRef((function({className:r,asChild:t,onPress:o,onClick:n=o,backgroundColor:a,borderRadius:l,borderTopStartRadius:i,borderTopEndRadius:s,borderBottomStartRadius:d,borderBottomEndRadius:c,borderColor:p,borderStartColor:m,borderEndColor:b,borderTopColor:u,borderBottomColor:f,borderWidth:x,borderVerticalWidth:h,borderHorizontalWidth:g,borderStartWidth:y,borderEndWidth:w,borderTopWidth:v,borderBottomWidth:C,alignContent:j,alignItems:z,alignSelf:k,flex:S,flexDirection:R,flexGrow:W,flexShrink:B,flexWrap:N,justifyContent:E,flexBasis:F,display:V,overflow:M,overflowX:I,overflowY:D,position:G,spacing:P,spacingHorizontal:L,spacingVertical:q,spacingBottom:A,spacingEnd:$,spacingStart:O,spacingTop:X,offset:Y,offsetVertical:_,offsetHorizontal:Z,offsetBottom:J,offsetEnd:K,offsetStart:Q,offsetTop:U,columnGap:ee,rowGap:re,...te},oe){const ne=T({backgroundColor:a,borderRadius:l,borderTopStartRadius:i,borderTopEndRadius:s,borderBottomStartRadius:d,borderBottomEndRadius:c,borderColor:p,borderStartColor:m,borderEndColor:b,borderTopColor:u,borderBottomColor:f,borderWidth:x,borderVerticalWidth:h,borderHorizontalWidth:g,borderStartWidth:y,borderEndWidth:w,borderTopWidth:v,borderBottomWidth:C,alignContent:j,alignItems:z,alignSelf:k,flex:S,flexDirection:R,flexGrow:W,flexShrink:B,flexWrap:N,justifyContent:E,flexBasis:F,display:V,overflow:M,overflowX:I,overflowY:D,position:G,spacing:P,spacingHorizontal:L,spacingVertical:q,spacingBottom:A,spacingEnd:$,spacingStart:O,spacingTop:X,offset:Y,offsetVertical:_,offsetHorizontal:Z,offsetBottom:J,offsetEnd:K,offsetStart:Q,offsetTop:U,columnGap:ee,rowGap:re,className:r}),ae=t?H:"button";return e.jsx(ae,{className:ne,ref:oe,onClick:n,...te})})),F=N(),V={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},M=l.forwardRef((function({className:r,asChild:t,color:o="primary",variant:n="body1",as:a=V[n],fontSize:l=n,fontFamily:i=n,fontWeight:s=n,lineHeight:d=n,textTransform:c=n,textAlign:p,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:f,borderBottomStartRadius:x,borderBottomEndRadius:h,borderColor:g,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:j,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:R,borderTopWidth:W,borderBottomWidth:B,alignContent:N,alignItems:H,alignSelf:E,flex:M,flexDirection:I,flexGrow:D,flexShrink:G,flexWrap:P,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:X,position:Y,spacing:_,spacingHorizontal:Z,spacingVertical:J,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:le,offsetTop:ie,columnGap:se,rowGap:de,...ce},pe){const me=T({className:r,color:o,fontFamily:i,fontSize:l,fontWeight:s,lineHeight:d,textTransform:c,textAlign:p,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:f,borderBottomStartRadius:x,borderBottomEndRadius:h,borderColor:g,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:j,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:R,borderTopWidth:W,borderBottomWidth:B,alignContent:N,alignItems:H,alignSelf:E,flex:M,flexDirection:I,flexGrow:D,flexShrink:G,flexWrap:P,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:X,position:Y,spacing:_,spacingHorizontal:Z,spacingVertical:J,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:le,offsetTop:ie,columnGap:se,rowGap:de}),be=t?F:a;return e.jsx(be,{className:me,ref:pe,...ce})})),I=N(),D=l.forwardRef((function({asChild:r,className:t,backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:i,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:p,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:f,borderHorizontalWidth:x,borderStartWidth:h,borderEndWidth:g,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:j,flex:z,flexDirection:k,flexGrow:S,flexShrink:R,flexWrap:W,justifyContent:B,flexBasis:N,display:H="flex",overflow:E,overflowX:F,overflowY:V,position:M,spacing:D,spacingHorizontal:G,spacingVertical:P,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:X,offsetHorizontal:Y,offsetBottom:_,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:U,...ee},re){const te=T({backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:i,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:p,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:f,borderHorizontalWidth:x,borderStartWidth:h,borderEndWidth:g,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:j,flex:z,flexDirection:k,flexGrow:S,flexShrink:R,flexWrap:W,justifyContent:B,flexBasis:N,display:H,overflow:E,overflowX:F,overflowY:V,position:M,spacing:D,spacingHorizontal:G,spacingVertical:P,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:X,offsetHorizontal:Y,offsetBottom:_,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:U,className:t}),oe=r?I:"div";return e.jsx(oe,{className:te,ref:re,...ee})})),G=l.forwardRef((function({gap:r,...t},o){return e.jsx(D,{ref:o,flexDirection:"column",columnGap:r,rowGap:r,...t})}));var P={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"};var L=l.forwardRef((function({gap:r,...t},o){return e.jsx(D,{ref:o,flexDirection:"row",rowGap:r,columnGap:r,...t})})),q={accent:"on-color",secondary:"primary"},A={accent:"on-color",secondary:"tertiary"};var $=i.Popover,O=i.PopoverArrow,X=i.PopoverAnchor,Y=i.PopoverDescription,_=i.PopoverDismiss,Z=i.PopoverProvider,J=i.PopoverDisclosure,K=i.PopoverDisclosureArrow,Q=Z,U=l.forwardRef((function({children:r,disabled:t,onClick:o,...n},a){const s=i.usePopoverStore(),d=l.useCallback((e=>{e.preventDefault();o?.((()=>s.setOpen(!1)))}),[o,s]);return e.jsx(E,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:z(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?d:void 0,ref:a,...n,children:r})}));var ee=l.forwardRef((function({children:r,className:t,overflow:o="scroll",...n},a){return e.jsx(G,{borderRadius:"lg",backgroundColor:"primary",position:"relative",className:z("z-10 max-h-[312px] min-w-[220px] shadow-md",t),overflow:o,asChild:!0,children:e.jsxs($,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:a,children:[e.jsx(O,{className:"!stroke-2"}),r]})})}));var re=i.DialogDismiss;var te=l.forwardRef((function({children:r,className:t,display:o="table",overflow:n="hidden",borderColor:a="muted",borderRadius:l="md",...i},s){return e.jsx(D,{asChild:!0,borderColor:a,borderRadius:l,className:t,overflow:n,display:o,...i,children:e.jsx("table",{ref:s,children:r})})})),oe=l.forwardRef((function({children:r,display:t="table-row",...o},n){return e.jsx(D,{asChild:!0,display:t,...o,children:e.jsx("tr",{ref:n,children:r})})})),ne=l.forwardRef((function({children:r,display:t="table-header-group",...o},n){return e.jsx(D,{asChild:!0,display:t,...o,children:e.jsx("thead",{ref:n,children:r})})})),ae=l.forwardRef((function({children:r,display:t="table-row-group",...o},n){return e.jsx(D,{asChild:!0,display:t,...o,children:e.jsx("tbody",{ref:n,children:r})})})),le=l.forwardRef((function({asHeaderCell:r,className:t,display:o="table-cell",spacing:n="3",borderBottomColor:a="muted",color:l="primary",...i},s){const d=T({textAlign:"start",className:t}),c=r?"th":"td",p="row"===r?"row":r?"column":void 0,m=r?"headline1":"body1";return e.jsx(M,{asChild:!0,variant:m,color:l,display:o,spacing:n,borderBottomColor:a,borderBottomWidth:"thin",className:d,children:e.jsx(c,{scope:p,...i,ref:s})})}));function ie({data:r,columns:t,...o}){return e.jsxs(ie.Root,{...o,children:[e.jsx(ie.Header,{children:e.jsx(ie.Row,{children:t.map(((r,t)=>e.jsx(ie.Cell,{asHeaderCell:"column",children:r.title},t)))})}),e.jsx(ie.Body,{children:r.map(((r,o)=>e.jsx(ie.Row,{children:t.map(((t,n)=>{const a=r[t.dataIndex];return e.jsx(ie.Cell,{children:t.render?t.render(a,r,o):l.isValidElement(a)?a:String(a)},n)}))},o)))})]})}ie.Root=te,ie.Row=oe,ie.Header=ne,ie.Body=ae,ie.Cell=le;var se=N();var de=l.forwardRef((function({className:r,...t},o){const n=T({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e.jsx(i.TabList,{ref:o,...t,className:n})})),ce=l.forwardRef((function(r,t){const o=i.useTabContext();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const n=o.useState("selectedId");return e.jsx(i.TabPanel,{ref:t,tabId:n,...r})}));function pe({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:n="tertiary",borderWidth:a="thin",borderRadius:l="md",color:i="primary",placeholderColor:s="tertiary",spacingVertical:d="3",spacingHorizontal:c="4",fontSize:p="body1",...m}){return e.jsx("input",{type:"text","data-1p-ignore":!0,className:z(T({backgroundColor:o,borderColor:n,borderWidth:a,borderRadius:l,spacingVertical:d,spacingHorizontal:c,fontSize:p,fontWeight:p,lineHeight:p,fontFamily:p,color:i,placeholderColor:s}),"w-full",r),disabled:t,...m})}function me({children:r,required:t}){return e.jsxs(M,{variant:"caption2",color:"primary",children:[r,t&&e.jsx(M,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}var be=T({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),ue=T({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),fe=T({backgroundColor:"positive"}),xe=T({backgroundColor:"alert"}),he=T({backgroundColor:"accent"}),ge=T({backgroundColor:"warning"}),ye=T({backgroundColor:"accent"}),we=T({backgroundColor:"brand"}),ve=T({backgroundColor:"accent"}),Ce=e=>"default"===e?.type?z(be,ve):e?.defaultClassName??"";function je(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:fe,error:xe,info:he,warning:ge,default:ye,dark:we}[r],n=t.replace(/Toastify__progress-bar-theme--light/,"");return z(n,o)}function ze({closeToast:r,type:t}){const o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t];return e.jsx(s.IconButton,{name:x,size:"sm",palette:o,onClick:r,className:"h-fit self-center"})}
2
2
  /*! © 2024 Yahoo, Inc. UDS v0.0.0-development */Object.defineProperty(exports,"usePopoverStore",{enumerable:!0,get:function(){return i.usePopoverStore}}),Object.defineProperty(exports,"toast",{enumerable:!0,get:function(){return d.toast}}),exports.Accordion=function({label:r,children:t,onClick:o,open:n,spacingHorizontal:a="4",_content:l,className:i,textProps:s,...d}){return e.jsxs(e.Fragment,{children:[e.jsxs(E,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"4",spacingHorizontal:a,borderRadius:"md",onClick:o,className:z("hover:bg-secondary/80","w-full",i),...d,children:[e.jsx(M,{variant:"title4",color:"primary",...s||{},children:r}),e.jsx(W,{name:n?u:f,variant:"fill",size:"sm",color:"primary"})]}),e.jsx(G,{overflow:"hidden",className:z("transition-[max-height]","duration-500","ease-in-out",n?"max-h-full":"max-h-0"),spacingHorizontal:a,...l,children:e.jsx(G,{className:"min-h-min",children:t})})]})},exports.Avatar=function({size:r,shape:t,src:o,alt:n,...a}){const l=T({...P,avatarSize:r,borderRadius:t});return e.jsx("img",{src:o,alt:n,className:l,...a})},exports.CheckBox=({label:r,checked:t,onChange:o})=>e.jsx(L,{asChild:!0,alignItems:"center",className:"cursor-pointer",gap:"2",children:e.jsxs("label",{children:[e.jsx("input",{type:"checkbox",checked:t,onChange:e=>{o(e.target.checked)},className:"!max-w-0 cursor-pointer opacity-0"}),e.jsx(W,{name:t?b:h,color:"tertiary",size:"md"}),e.jsx(M,{variant:"label2",color:"secondary",className:"select-none",children:r})]})}),exports.Chip=function({children:r,variant:t,startIcon:o,startContent:n=(o?e.jsx(W,{name:o,variant:"fill",size:"sm",color:q[t]}):null),endIcon:a,endContent:l=(a?e.jsx(W,{name:a,variant:"fill",size:"sm",color:q[t]}):null)}){return e.jsxs(E,{display:"inline-flex",flexDirection:"row",columnGap:"2",borderRadius:"full",backgroundColor:t,alignItems:"center",spacingVertical:"2",spacingHorizontal:"3",children:[n,e.jsx(M,{variant:"label2",color:A[t],children:r}),l]})},exports.Dropdown=Q,exports.DropdownItem=function({title:r,description:t,_title:o,_description:n,startIcon:a,endIcon:l,...i}){return e.jsxs(U,{...i,children:[a&&e.jsx(W,{name:a,size:"md",color:"primary"}),e.jsxs(G,{gap:"3",alignItems:"flex-start",children:[r&&e.jsx(M,{variant:"headline1",color:"primary",...o,children:r}),t&&e.jsx(M,{variant:"label2",color:"muted",...n,children:t})]}),l&&e.jsx(W,{name:l,size:"md",color:"primary"})]})},exports.DropdownItemPressable=U,exports.DropdownItems=ee,exports.DropdownTrigger=function(r){return e.jsx(J,{render:t=>r.children?e.jsx(D,{...t,asChild:!0,children:e.jsx(s.Button,{startIcon:r.startIcon,...r,children:r.children})}):e.jsx(D,{...t,asChild:!0,children:e.jsx(s.IconButton,{...r,name:r.name??r.startIcon})})})},exports.Modal=function({className:r,...t}){return e.jsx(G,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:z("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",r),spacing:"8",asChild:!0,overflow:"hidden",children:e.jsx(i.Dialog,{backdrop:e.jsx("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-60 data-[enter]:backdrop-blur-sm"}),...t})})},exports.ModalDismiss=re,exports.ModalHeader=function({children:r,handleClose:t}){return e.jsxs(L,{alignItems:"center",justifyContent:"space-between",children:[e.jsx(M,{variant:"headline1",color:"primary",children:r}),e.jsx(s.IconButton,{"aria-label":"Close",size:"sm",variant:"tertiary",name:x,onClick:t})]})},exports.Popover=$,exports.PopoverAnchor=X,exports.PopoverArrow=O,exports.PopoverDescription=Y,exports.PopoverDisclosure=J,exports.PopoverDisclosureArrow=K,exports.PopoverDismiss=_,exports.PopoverHeading=function({children:r,leading:t,trailing:o}){return e.jsxs(L,{children:[t,e.jsx(M,{variant:"headline1",color:"primary",asChild:!0,children:e.jsx(i.PopoverHeading,{children:r})}),o]})},exports.PopoverProvider=Z,exports.Spinner=function({className:r,...t}){return e.jsxs("div",{role:"status",className:z("self-center","relative",r),...t,style:{width:32,maxWidth:32,height:32,maxHeight:32},children:[e.jsxs("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent top-half left-half absolute left-0 right-0 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e.jsx("span",{className:"sr-only",children:"Loading..."})]})},exports.Tab=function({asChild:r,label:t,value:o,startIcon:n}){const a=r?se:"button",l=T({});if(!i.useTabContext())throw new Error("Tab must be wrapped in a Tabs component");const s=z("text-tertiary","border-b-transparent","aria-selected:border-b-accent","aria-selected:text-accent");return e.jsx(i.Tab,{id:o,className:l,render:e.jsx(E,{borderBottomWidth:"thick",spacingBottom:"1",spacingTop:"4",className:s,asChild:!0,children:e.jsxs(a,{children:[n?e.jsx(W,{name:n,className:"text-current",size:"md"}):null,e.jsx(M,{className:"text-current",variant:"headline1",as:"span",children:t})]})})})},exports.TabList=de,exports.TabPanel=ce,exports.Table=ie,exports.Tabs=function(r){return e.jsx(i.TabProvider,{...r})},exports.TextInput=pe,exports.TextInputGroup=function({label:r,required:t,...o}){return e.jsxs(G,{gap:"4",className:"w-full",children:[e.jsx(me,{required:t,children:r}),e.jsx(pe,{required:t,...o})]})},exports.TextInputLabel=me,exports.ToastContainer=function(r){return e.jsx(d.ToastContainer,{toastClassName:Ce,bodyClassName:ue,progressClassName:je,transition:d.Slide,closeButton:ze,...r})},exports.useModalStore=function(e){return i.useDialogStore({animated:!0,...e})};
@@ -1,2 +1,2 @@
1
- import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{lineColors as o,borderWidths as a,borderRadii as n,foregroundColors as l,spectrumColors as i,backgroundColors as d,textVariants as s}from"@yahoo/uds/fixtures";import{getFeatureFlags as c}from"@yahoo/uds/flags";import p from"clsx";import m from"imurmurhash";import{extendTailwindMerge as b}from"tailwind-merge";import{forwardRef as f,useCallback as u,Children as h,isValidElement as g,cloneElement as x}from"react";import{usePopoverStore as y,TabList as w,useTabContext as v,TabPanel as C,PopoverHeading as z,Popover as k,PopoverArrow as S,PopoverAnchor as W,PopoverDescription as B,PopoverDismiss as N,PopoverProvider as T,PopoverDisclosure as H,PopoverDisclosureArrow as R,useDialogStore as E,Dialog as V,DialogDismiss as M,TabProvider as G,Tab as j}from"@ariakit/react";export{usePopoverStore}from"@ariakit/react";import{Button as I,IconButton as L}from"@yahoo/uds/client";import{ToastContainer as D,Slide as P}from"react-toastify";export{toast}from"react-toastify";/*! © 2024 Yahoo, Inc. UDS v0.0.0-development */var $=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e(t,{})},A=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M7.795 12.199 1.381 5.783 2.795 4.37l5 5 5-5 1.414 1.414z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M11.56 17.24 4.31 9.756 5.78 8.24l5.781 5.969 5.782-5.969 1.469 1.516z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M15.768 23.536 3 10.767 4.768 9l11 11 11-11 1.767 1.768z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M8.001 12.627 1.375 6l1.626-1.626 5 5 5-5L14.628 6z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m12 17.763-7.686-7.686 1.839-1.839L12 14.086l5.848-5.848 1.838 1.839z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M16.121 24.243 3 11.12 5.121 9l11 11 11-11 2.122 2.121z"})})}return e(t,{})},O=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m7.795 3.37 6.414 6.414-1.414 1.414-5-5-5 5-1.414-1.414z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m11.56 6.24 7.25 7.485-1.468 1.515-5.781-5.968-5.782 5.968-1.468-1.515z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"m15.649 7.38 12.767 12.768-1.767 1.767-11-11-11 11-1.768-1.767z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M8.001 3.374 14.628 10 13 11.627l-5-5-5 5L1.375 10z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m12 6.238 7.686 7.686-1.838 1.839L12 9.915l-5.847 5.848-1.839-1.839z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M16 7.379 29.122 20.5 27 22.622l-11-11-11 11L2.88 20.5z"})})}return e(t,{})},F=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e(t,{})},X=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e(t,{})};function Y(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}var _="uds",q={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary",current:"border-current"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary",current:"border-s-current"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary",current:"border-e-current"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary",current:"border-b-current"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${_}-color-mode-dark`,light:`${_}-color-mode-light`},scaleMode:{xSmall:`${_}-scale-mode-xsmall`,small:`${_}-scale-mode-small`,medium:`${_}-scale-mode-medium`,large:`${_}-scale-mode-large`,xLarge:`${_}-scale-mode-xlarge`,xxxLarge:`${_}-scale-mode-xxxlarge`,xxLarge:`${_}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"}};function Z(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,a=t.length;o<a;o++){const a=t[o];void 0!==e[a]&&(r[a]=e[a])}return r}var J,K=b({extend:{theme:{borderColor:o,borderWidth:a,borderRadius:n}},override:{classGroups:{"text-color":[{text:[...l,...i]}],"bg-color":[{bg:d}],"font-family":[{font:["icons",...s]}],leading:[{leading:s}]},conflictingClassGroups:{}}}),Q=(...e)=>{const r=p(e);return K(r)},U=(J={variants:q},e=>{if(!J?.variants)return Q(J?.base,e?.className);const{variants:r,defaultVariants:t}=J,o=Object.keys(r).map((o=>{const a=e?.[o],n=t?.[o],l=Y(a)||Y(n);return r[o][l]})),a={...t,...e&&Z(e)},n=J?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>a[e]===r))?Q(e,r):e),"");return Q(J?.base,o,n,e?.className)}),ee=new Map,re=e=>{const{useGetStylesCache:r}=c();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,a=t.length;o<a;o++){const a=t[o];r[a]=e[a]}return r}(Z(e)),t=(new m).hash(JSON.stringify(r)).result();if(ee.has(t))return ee.get(t);const o=U(r);return ee.set(t,o),o}return U(e)},te={sm:16,md:24,lg:32},oe=f((function({name:r,size:t="md",variant:o="outline",color:a="primary",className:n,...l},i){const d=re({color:a,flex:"none",className:n}),s=te[t];return e("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:`0 0 ${s} ${s}`,"aria-hidden":"true",focusable:"false",className:d,...l,children:e(r,{size:t,variant:o})})}));function ae(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function ne(){const r=f(((r,o)=>{const{children:n,...l}=r,i=h.toArray(n),d=i.find(a);if(d){const r=d.props.children,a=i.map((e=>e===d?h.count(r)>1?h.only(null):g(r)?r.props.children:null:e));return e(t,{...l,ref:o,children:g(r)?x(r,void 0,a):null})}return e(t,{...l,ref:o,children:n})}));r.displayName="Slot";const t=f(((e,r)=>{const{children:t,...o}=e;return g(t)?x(t,{...n(o,t.props),ref:r?ae(r,t.ref):t.ref}):h.count(t)>1?h.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function a(e){return g(e)&&e.type===o}function n(e,r){const t={...r};for(const o in r){const a=e[o],n=r[o];/^on[A-Z]/.test(o)?a&&n?t[o]=(...e)=>{n(...e),a(...e)}:a&&(t[o]=a):"style"===o&&(t[o]={...a,...n})}return{...e,...t}}return r}var le=ne(),ie=f((function({className:r,asChild:t,onPress:o,onClick:a=o,backgroundColor:n,borderRadius:l,borderTopStartRadius:i,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:c,borderColor:p,borderStartColor:m,borderEndColor:b,borderTopColor:f,borderBottomColor:u,borderWidth:h,borderVerticalWidth:g,borderHorizontalWidth:x,borderStartWidth:y,borderEndWidth:w,borderTopWidth:v,borderBottomWidth:C,alignContent:z,alignItems:k,alignSelf:S,flex:W,flexDirection:B,flexGrow:N,flexShrink:T,flexWrap:H,justifyContent:R,flexBasis:E,display:V,overflow:M,overflowX:G,overflowY:j,position:I,spacing:L,spacingHorizontal:D,spacingVertical:P,spacingBottom:$,spacingEnd:A,spacingStart:O,spacingTop:F,offset:X,offsetVertical:Y,offsetHorizontal:_,offsetBottom:q,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:U,...ee},te){const oe=re({backgroundColor:n,borderRadius:l,borderTopStartRadius:i,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:c,borderColor:p,borderStartColor:m,borderEndColor:b,borderTopColor:f,borderBottomColor:u,borderWidth:h,borderVerticalWidth:g,borderHorizontalWidth:x,borderStartWidth:y,borderEndWidth:w,borderTopWidth:v,borderBottomWidth:C,alignContent:z,alignItems:k,alignSelf:S,flex:W,flexDirection:B,flexGrow:N,flexShrink:T,flexWrap:H,justifyContent:R,flexBasis:E,display:V,overflow:M,overflowX:G,overflowY:j,position:I,spacing:L,spacingHorizontal:D,spacingVertical:P,spacingBottom:$,spacingEnd:A,spacingStart:O,spacingTop:F,offset:X,offsetVertical:Y,offsetHorizontal:_,offsetBottom:q,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:U,className:r});return e(t?le:"button",{className:oe,ref:te,onClick:a,...ee})})),de=ne(),se={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},ce=f((function({className:r,asChild:t,color:o="primary",variant:a="body1",as:n=se[a],fontSize:l=a,fontFamily:i=a,fontWeight:d=a,lineHeight:s=a,textTransform:c=a,textAlign:p,backgroundColor:m,borderRadius:b,borderTopStartRadius:f,borderTopEndRadius:u,borderBottomStartRadius:h,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:z,borderVerticalWidth:k,borderHorizontalWidth:S,borderStartWidth:W,borderEndWidth:B,borderTopWidth:N,borderBottomWidth:T,alignContent:H,alignItems:R,alignSelf:E,flex:V,flexDirection:M,flexGrow:G,flexShrink:j,flexWrap:I,justifyContent:L,flexBasis:D,display:P,overflow:$,overflowX:A,overflowY:O,position:F,spacing:X,spacingHorizontal:Y,spacingVertical:_,spacingBottom:q,spacingEnd:Z,spacingStart:J,spacingTop:K,offset:Q,offsetVertical:U,offsetHorizontal:ee,offsetBottom:te,offsetEnd:oe,offsetStart:ae,offsetTop:ne,columnGap:le,rowGap:ie,...ce},pe){const me=re({className:r,color:o,fontFamily:i,fontSize:l,fontWeight:d,lineHeight:s,textTransform:c,textAlign:p,backgroundColor:m,borderRadius:b,borderTopStartRadius:f,borderTopEndRadius:u,borderBottomStartRadius:h,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:z,borderVerticalWidth:k,borderHorizontalWidth:S,borderStartWidth:W,borderEndWidth:B,borderTopWidth:N,borderBottomWidth:T,alignContent:H,alignItems:R,alignSelf:E,flex:V,flexDirection:M,flexGrow:G,flexShrink:j,flexWrap:I,justifyContent:L,flexBasis:D,display:P,overflow:$,overflowX:A,overflowY:O,position:F,spacing:X,spacingHorizontal:Y,spacingVertical:_,spacingBottom:q,spacingEnd:Z,spacingStart:J,spacingTop:K,offset:Q,offsetVertical:U,offsetHorizontal:ee,offsetBottom:te,offsetEnd:oe,offsetStart:ae,offsetTop:ne,columnGap:le,rowGap:ie});return e(t?de:n,{className:me,ref:pe,...ce})})),pe=ne(),me=f((function({asChild:r,className:t,backgroundColor:o,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:l,borderBottomStartRadius:i,borderBottomEndRadius:d,borderColor:s,borderStartColor:c,borderEndColor:p,borderTopColor:m,borderBottomColor:b,borderWidth:f,borderVerticalWidth:u,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:z,flex:k,flexDirection:S,flexGrow:W,flexShrink:B,flexWrap:N,justifyContent:T,flexBasis:H,display:R="flex",overflow:E,overflowX:V,overflowY:M,position:G,spacing:j,spacingHorizontal:I,spacingVertical:L,spacingBottom:D,spacingEnd:P,spacingStart:$,spacingTop:A,offset:O,offsetVertical:F,offsetHorizontal:X,offsetBottom:Y,offsetEnd:_,offsetStart:q,offsetTop:Z,columnGap:J,rowGap:K,...Q},U){const ee=re({backgroundColor:o,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:l,borderBottomStartRadius:i,borderBottomEndRadius:d,borderColor:s,borderStartColor:c,borderEndColor:p,borderTopColor:m,borderBottomColor:b,borderWidth:f,borderVerticalWidth:u,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:z,flex:k,flexDirection:S,flexGrow:W,flexShrink:B,flexWrap:N,justifyContent:T,flexBasis:H,display:R,overflow:E,overflowX:V,overflowY:M,position:G,spacing:j,spacingHorizontal:I,spacingVertical:L,spacingBottom:D,spacingEnd:P,spacingStart:$,spacingTop:A,offset:O,offsetVertical:F,offsetHorizontal:X,offsetBottom:Y,offsetEnd:_,offsetStart:q,offsetTop:Z,columnGap:J,rowGap:K,className:t});return e(r?pe:"div",{className:ee,ref:U,...Q})})),be=f((function({gap:r,...t},o){return e(me,{ref:o,flexDirection:"column",columnGap:r,rowGap:r,...t})}));function fe({label:o,children:a,onClick:n,open:l,spacingHorizontal:i="4",_content:d,className:s,textProps:c,...p}){return r(t,{children:[r(ie,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"4",spacingHorizontal:i,borderRadius:"md",onClick:n,className:Q("hover:bg-secondary/80","w-full",s),...p,children:[e(ce,{variant:"title4",color:"primary",...c||{},children:o}),e(oe,{name:l?A:O,variant:"fill",size:"sm",color:"primary"})]}),e(be,{overflow:"hidden",className:Q("transition-[max-height]","duration-500","ease-in-out",l?"max-h-full":"max-h-0"),spacingHorizontal:i,...d,children:e(be,{className:"min-h-min",children:a})})]})}var ue={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"};function he({size:r,shape:t,src:o,alt:a,...n}){const l=re({...ue,avatarSize:r,borderRadius:t});return e("img",{src:o,alt:a,className:l,...n})}var ge=f((function({gap:r,...t},o){return e(me,{ref:o,flexDirection:"row",rowGap:r,columnGap:r,...t})})),xe=({label:t,checked:o,onChange:a})=>e(ge,{asChild:!0,alignItems:"center",className:"cursor-pointer",gap:"2",children:r("label",{children:[e("input",{type:"checkbox",checked:o,onChange:e=>{a(e.target.checked)},className:"!max-w-0 cursor-pointer opacity-0"}),e(oe,{name:o?$:X,color:"tertiary",size:"md"}),e(ce,{variant:"label2",color:"secondary",className:"select-none",children:t})]})}),ye={accent:"on-color",secondary:"primary"},we={accent:"on-color",secondary:"tertiary"};function ve({children:t,variant:o,startIcon:a,startContent:n=(a?e(oe,{name:a,variant:"fill",size:"sm",color:ye[o]}):null),endIcon:l,endContent:i=(l?e(oe,{name:l,variant:"fill",size:"sm",color:ye[o]}):null)}){return r(ie,{display:"inline-flex",flexDirection:"row",columnGap:"2",borderRadius:"full",backgroundColor:o,alignItems:"center",spacingVertical:"2",spacingHorizontal:"3",children:[n,e(ce,{variant:"label2",color:we[o],children:t}),i]})}function Ce({children:t,leading:o,trailing:a}){return r(ge,{children:[o,e(ce,{variant:"headline1",color:"primary",asChild:!0,children:e(z,{children:t})}),a]})}var ze=k,ke=S,Se=W,We=B,Be=N,Ne=T,Te=H,He=R,Re=Ne,Ee=f((function({children:r,disabled:t,onClick:o,...a},n){const l=y(),i=u((e=>{e.preventDefault();o?.((()=>l.setOpen(!1)))}),[o,l]);return e(ie,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:Q(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?i:void 0,ref:n,...a,children:r})}));function Ve({title:t,description:o,_title:a,_description:n,startIcon:l,endIcon:i,...d}){return r(Ee,{...d,children:[l&&e(oe,{name:l,size:"md",color:"primary"}),r(be,{gap:"3",alignItems:"flex-start",children:[t&&e(ce,{variant:"headline1",color:"primary",...a,children:t}),o&&e(ce,{variant:"label2",color:"muted",...n,children:o})]}),i&&e(oe,{name:i,size:"md",color:"primary"})]})}var Me=f((function({children:t,className:o,overflow:a="scroll",...n},l){return e(be,{borderRadius:"lg",backgroundColor:"primary",className:Q("z-10 max-h-[312px] min-w-[220px] shadow-md",o),overflow:a,asChild:!0,children:r(ze,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:l,children:[e(ke,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),t]})})}));function Ge(r){return e(Te,{render:t=>r.children?e(me,{...t,asChild:!0,children:e(I,{startIcon:r.startIcon,...r,children:r.children})}):e(me,{...t,asChild:!0,children:e(L,{...r,name:r.name??r.startIcon})})})}function je(e){return E({animated:!0,...e})}function Ie({children:t,handleClose:o}){return r(ge,{alignItems:"center",justifyContent:"space-between",children:[e(ce,{variant:"headline1",color:"primary",children:t}),e(L,{"aria-label":"Close",size:"sm",variant:"tertiary",name:F,onClick:o})]})}function Le({className:r,...t}){return e(be,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:Q("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",r),spacing:"8",asChild:!0,overflow:"hidden",children:e(V,{backdrop:e("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-60 data-[enter]:backdrop-blur-sm"}),...t})})}var De=M;function Pe({className:t,...o}){return r("div",{role:"status",className:Q("self-center","relative",t),...o,style:{width:32,maxWidth:32,height:32,maxHeight:32},children:[r("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent top-half left-half absolute left-0 right-0 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e("span",{className:"sr-only",children:"Loading..."})]})}var $e=f((function({children:r,className:t,display:o="table",overflow:a="hidden",borderColor:n="muted",borderRadius:l="md",...i},d){return e(me,{asChild:!0,borderColor:n,borderRadius:l,className:t,overflow:a,display:o,...i,children:e("table",{ref:d,children:r})})})),Ae=f((function({children:r,display:t="table-row",...o},a){return e(me,{asChild:!0,display:t,...o,children:e("tr",{ref:a,children:r})})})),Oe=f((function({children:r,display:t="table-header-group",...o},a){return e(me,{asChild:!0,display:t,...o,children:e("thead",{ref:a,children:r})})})),Fe=f((function({children:r,display:t="table-row-group",...o},a){return e(me,{asChild:!0,display:t,...o,children:e("tbody",{ref:a,children:r})})})),Xe=f((function({asHeaderCell:r,className:t,display:o="table-cell",spacing:a="3",borderBottomColor:n="muted",color:l="primary",...i},d){const s=re({textAlign:"start",className:t});return e(ce,{asChild:!0,variant:r?"headline1":"body1",color:l,display:o,spacing:a,borderBottomColor:n,borderBottomWidth:"thin",className:s,children:e(r?"th":"td",{scope:"row"===r?"row":r?"column":void 0,...i,ref:d})})}));function Ye({data:t,columns:o,...a}){return r(Ye.Root,{...a,children:[e(Ye.Header,{children:e(Ye.Row,{children:o.map(((r,t)=>e(Ye.Cell,{asHeaderCell:"column",children:r.title},t)))})}),e(Ye.Body,{children:t.map(((r,t)=>e(Ye.Row,{children:o.map(((o,a)=>{const n=r[o.dataIndex];return e(Ye.Cell,{children:o.render?o.render(n,r,t):g(n)?n:String(n)},a)}))},t)))})]})}Ye.Root=$e,Ye.Row=Ae,Ye.Header=Oe,Ye.Body=Fe,Ye.Cell=Xe;var _e=ne();function qe(r){return e(G,{...r})}var Ze=f((function({className:r,...t},o){const a=re({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e(w,{ref:o,...t,className:a})})),Je=function({asChild:t,label:o,value:a,startIcon:n}){const l=t?_e:"button",i=re({});if(!v())throw new Error("Tab must be wrapped in a Tabs component");const d=Q("text-tertiary","border-b-transparent","aria-selected:border-b-accent","aria-selected:text-accent");return e(j,{id:a,className:i,render:e(ie,{borderBottomWidth:"thick",spacingBottom:"1",spacingTop:"4",className:d,asChild:!0,children:r(l,{children:[n?e(oe,{name:n,className:"text-current",size:"md"}):null,e(ce,{className:"text-current",variant:"headline1",as:"span",children:o})]})})})},Ke=f((function(r,t){const o=v();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const a=o.useState("selectedId");return e(C,{ref:t,tabId:a,...r})}));function Qe({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:a="tertiary",borderWidth:n="thin",borderRadius:l="md",color:i="primary",placeholderColor:d="tertiary",spacingVertical:s="3",spacingHorizontal:c="4",fontSize:p="body1",...m}){return e("input",{type:"text","data-1p-ignore":!0,className:Q(re({backgroundColor:o,borderColor:a,borderWidth:n,borderRadius:l,spacingVertical:s,spacingHorizontal:c,fontSize:p,fontWeight:p,lineHeight:p,fontFamily:p,color:i,placeholderColor:d}),"w-full",r),disabled:t,...m})}function Ue({children:t,required:o}){return r(ce,{variant:"caption2",color:"primary",children:[t,o&&e(ce,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}function er({label:t,required:o,...a}){return r(be,{gap:"4",className:"w-full",children:[e(Ue,{required:o,children:t}),e(Qe,{required:o,...a})]})}var rr=re({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),tr=re({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),or=re({backgroundColor:"positive"}),ar=re({backgroundColor:"alert"}),nr=re({backgroundColor:"accent"}),lr=re({backgroundColor:"warning"}),ir=re({backgroundColor:"accent"}),dr=re({backgroundColor:"brand"}),sr=re({backgroundColor:"accent"}),cr=e=>"default"===e?.type?Q(rr,sr):e?.defaultClassName??"";function pr(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:or,error:ar,info:nr,warning:lr,default:ir,dark:dr}[r],a=t.replace(/Toastify__progress-bar-theme--light/,"");return Q(a,o)}function mr({closeToast:r,type:t}){return e(L,{name:F,size:"sm",palette:{success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t],onClick:r,className:"h-fit self-center"})}function br(r){return e(D,{toastClassName:cr,bodyClassName:tr,progressClassName:pr,transition:P,closeButton:mr,...r})}
1
+ import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import{lineColors as o,borderWidths as a,borderRadii as n,foregroundColors as l,spectrumColors as i,backgroundColors as d,textVariants as s}from"@yahoo/uds/fixtures";import{getFeatureFlags as c}from"@yahoo/uds/flags";import p from"clsx";import m from"imurmurhash";import{extendTailwindMerge as b}from"tailwind-merge";import{forwardRef as f,useCallback as u,Children as h,isValidElement as g,cloneElement as x}from"react";import{usePopoverStore as y,TabList as w,useTabContext as v,TabPanel as C,PopoverHeading as z,Popover as k,PopoverArrow as S,PopoverAnchor as W,PopoverDescription as B,PopoverDismiss as N,PopoverProvider as T,PopoverDisclosure as H,PopoverDisclosureArrow as R,useDialogStore as E,Dialog as V,DialogDismiss as M,TabProvider as G,Tab as j}from"@ariakit/react";export{usePopoverStore}from"@ariakit/react";import{Button as I,IconButton as L}from"@yahoo/uds/client";import{ToastContainer as D,Slide as P}from"react-toastify";export{toast}from"react-toastify";/*! © 2024 Yahoo, Inc. UDS v0.0.0-development */var $=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e(t,{})},A=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M7.795 12.199 1.381 5.783 2.795 4.37l5 5 5-5 1.414 1.414z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M11.56 17.24 4.31 9.756 5.78 8.24l5.781 5.969 5.782-5.969 1.469 1.516z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M15.768 23.536 3 10.767 4.768 9l11 11 11-11 1.767 1.768z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M8.001 12.627 1.375 6l1.626-1.626 5 5 5-5L14.628 6z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m12 17.763-7.686-7.686 1.839-1.839L12 14.086l5.848-5.848 1.838 1.839z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M16.121 24.243 3 11.12 5.121 9l11 11 11-11 2.122 2.121z"})})}return e(t,{})},O=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m7.795 3.37 6.414 6.414-1.414 1.414-5-5-5 5-1.414-1.414z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m11.56 6.24 7.25 7.485-1.468 1.515-5.781-5.968-5.782 5.968-1.468-1.515z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"m15.649 7.38 12.767 12.768-1.767 1.767-11-11-11 11-1.768-1.767z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M8.001 3.374 14.628 10 13 11.627l-5-5-5 5L1.375 10z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m12 6.238 7.686 7.686-1.838 1.839L12 9.915l-5.847 5.848-1.839-1.839z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M16 7.379 29.122 20.5 27 22.622l-11-11-11 11L2.88 20.5z"})})}return e(t,{})},F=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e(t,{})},X=({size:r,variant:o})=>{if("outline"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===o)switch(r){case"sm":return e(t,{children:e("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e(t,{children:e("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e(t,{children:e("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e(t,{})};function Y(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}var _="uds",q={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary",current:"border-current"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary",current:"border-s-current"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary",current:"border-e-current"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary",current:"border-b-current"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${_}-color-mode-dark`,light:`${_}-color-mode-light`},scaleMode:{xSmall:`${_}-scale-mode-xsmall`,small:`${_}-scale-mode-small`,medium:`${_}-scale-mode-medium`,large:`${_}-scale-mode-large`,xLarge:`${_}-scale-mode-xlarge`,xxxLarge:`${_}-scale-mode-xxxlarge`,xxLarge:`${_}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"}};function Z(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,a=t.length;o<a;o++){const a=t[o];void 0!==e[a]&&(r[a]=e[a])}return r}var J,K=b({extend:{theme:{borderColor:o,borderWidth:a,borderRadius:n}},override:{classGroups:{"text-color":[{text:[...l,...i]}],"bg-color":[{bg:d}],"font-family":[{font:["icons",...s]}],leading:[{leading:s}]},conflictingClassGroups:{}}}),Q=(...e)=>{const r=p(e);return K(r)},U=(J={variants:q},e=>{if(!J?.variants)return Q(J?.base,e?.className);const{variants:r,defaultVariants:t}=J,o=Object.keys(r).map((o=>{const a=e?.[o],n=t?.[o],l=Y(a)||Y(n);return r[o][l]})),a={...t,...e&&Z(e)},n=J?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>a[e]===r))?Q(e,r):e),"");return Q(J?.base,o,n,e?.className)}),ee=new Map,re=e=>{const{useGetStylesCache:r}=c();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,a=t.length;o<a;o++){const a=t[o];r[a]=e[a]}return r}(Z(e)),t=(new m).hash(JSON.stringify(r)).result();if(ee.has(t))return ee.get(t);const o=U(r);return ee.set(t,o),o}return U(e)},te={sm:16,md:24,lg:32},oe=f((function({name:r,size:t="md",variant:o="outline",color:a="primary",className:n,...l},i){const d=re({color:a,flex:"none",className:n}),s=te[t];return e("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:`0 0 ${s} ${s}`,"aria-hidden":"true",focusable:"false",className:d,...l,children:e(r,{size:t,variant:o})})}));function ae(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function ne(){const r=f(((r,o)=>{const{children:n,...l}=r,i=h.toArray(n),d=i.find(a);if(d){const r=d.props.children,a=i.map((e=>e===d?h.count(r)>1?h.only(null):g(r)?r.props.children:null:e));return e(t,{...l,ref:o,children:g(r)?x(r,void 0,a):null})}return e(t,{...l,ref:o,children:n})}));r.displayName="Slot";const t=f(((e,r)=>{const{children:t,...o}=e;return g(t)?x(t,{...n(o,t.props),ref:r?ae(r,t.ref):t.ref}):h.count(t)>1?h.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function a(e){return g(e)&&e.type===o}function n(e,r){const t={...r};for(const o in r){const a=e[o],n=r[o];/^on[A-Z]/.test(o)?a&&n?t[o]=(...e)=>{n(...e),a(...e)}:a&&(t[o]=a):"style"===o&&(t[o]={...a,...n})}return{...e,...t}}return r}var le=ne(),ie=f((function({className:r,asChild:t,onPress:o,onClick:a=o,backgroundColor:n,borderRadius:l,borderTopStartRadius:i,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:c,borderColor:p,borderStartColor:m,borderEndColor:b,borderTopColor:f,borderBottomColor:u,borderWidth:h,borderVerticalWidth:g,borderHorizontalWidth:x,borderStartWidth:y,borderEndWidth:w,borderTopWidth:v,borderBottomWidth:C,alignContent:z,alignItems:k,alignSelf:S,flex:W,flexDirection:B,flexGrow:N,flexShrink:T,flexWrap:H,justifyContent:R,flexBasis:E,display:V,overflow:M,overflowX:G,overflowY:j,position:I,spacing:L,spacingHorizontal:D,spacingVertical:P,spacingBottom:$,spacingEnd:A,spacingStart:O,spacingTop:F,offset:X,offsetVertical:Y,offsetHorizontal:_,offsetBottom:q,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:U,...ee},te){const oe=re({backgroundColor:n,borderRadius:l,borderTopStartRadius:i,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:c,borderColor:p,borderStartColor:m,borderEndColor:b,borderTopColor:f,borderBottomColor:u,borderWidth:h,borderVerticalWidth:g,borderHorizontalWidth:x,borderStartWidth:y,borderEndWidth:w,borderTopWidth:v,borderBottomWidth:C,alignContent:z,alignItems:k,alignSelf:S,flex:W,flexDirection:B,flexGrow:N,flexShrink:T,flexWrap:H,justifyContent:R,flexBasis:E,display:V,overflow:M,overflowX:G,overflowY:j,position:I,spacing:L,spacingHorizontal:D,spacingVertical:P,spacingBottom:$,spacingEnd:A,spacingStart:O,spacingTop:F,offset:X,offsetVertical:Y,offsetHorizontal:_,offsetBottom:q,offsetEnd:Z,offsetStart:J,offsetTop:K,columnGap:Q,rowGap:U,className:r});return e(t?le:"button",{className:oe,ref:te,onClick:a,...ee})})),de=ne(),se={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},ce=f((function({className:r,asChild:t,color:o="primary",variant:a="body1",as:n=se[a],fontSize:l=a,fontFamily:i=a,fontWeight:d=a,lineHeight:s=a,textTransform:c=a,textAlign:p,backgroundColor:m,borderRadius:b,borderTopStartRadius:f,borderTopEndRadius:u,borderBottomStartRadius:h,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:z,borderVerticalWidth:k,borderHorizontalWidth:S,borderStartWidth:W,borderEndWidth:B,borderTopWidth:N,borderBottomWidth:T,alignContent:H,alignItems:R,alignSelf:E,flex:V,flexDirection:M,flexGrow:G,flexShrink:j,flexWrap:I,justifyContent:L,flexBasis:D,display:P,overflow:$,overflowX:A,overflowY:O,position:F,spacing:X,spacingHorizontal:Y,spacingVertical:_,spacingBottom:q,spacingEnd:Z,spacingStart:J,spacingTop:K,offset:Q,offsetVertical:U,offsetHorizontal:ee,offsetBottom:te,offsetEnd:oe,offsetStart:ae,offsetTop:ne,columnGap:le,rowGap:ie,...ce},pe){const me=re({className:r,color:o,fontFamily:i,fontSize:l,fontWeight:d,lineHeight:s,textTransform:c,textAlign:p,backgroundColor:m,borderRadius:b,borderTopStartRadius:f,borderTopEndRadius:u,borderBottomStartRadius:h,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:C,borderWidth:z,borderVerticalWidth:k,borderHorizontalWidth:S,borderStartWidth:W,borderEndWidth:B,borderTopWidth:N,borderBottomWidth:T,alignContent:H,alignItems:R,alignSelf:E,flex:V,flexDirection:M,flexGrow:G,flexShrink:j,flexWrap:I,justifyContent:L,flexBasis:D,display:P,overflow:$,overflowX:A,overflowY:O,position:F,spacing:X,spacingHorizontal:Y,spacingVertical:_,spacingBottom:q,spacingEnd:Z,spacingStart:J,spacingTop:K,offset:Q,offsetVertical:U,offsetHorizontal:ee,offsetBottom:te,offsetEnd:oe,offsetStart:ae,offsetTop:ne,columnGap:le,rowGap:ie});return e(t?de:n,{className:me,ref:pe,...ce})})),pe=ne(),me=f((function({asChild:r,className:t,backgroundColor:o,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:l,borderBottomStartRadius:i,borderBottomEndRadius:d,borderColor:s,borderStartColor:c,borderEndColor:p,borderTopColor:m,borderBottomColor:b,borderWidth:f,borderVerticalWidth:u,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:z,flex:k,flexDirection:S,flexGrow:W,flexShrink:B,flexWrap:N,justifyContent:T,flexBasis:H,display:R="flex",overflow:E,overflowX:V,overflowY:M,position:G,spacing:j,spacingHorizontal:I,spacingVertical:L,spacingBottom:D,spacingEnd:P,spacingStart:$,spacingTop:A,offset:O,offsetVertical:F,offsetHorizontal:X,offsetBottom:Y,offsetEnd:_,offsetStart:q,offsetTop:Z,columnGap:J,rowGap:K,...Q},U){const ee=re({backgroundColor:o,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:l,borderBottomStartRadius:i,borderBottomEndRadius:d,borderColor:s,borderStartColor:c,borderEndColor:p,borderTopColor:m,borderBottomColor:b,borderWidth:f,borderVerticalWidth:u,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:C,alignSelf:z,flex:k,flexDirection:S,flexGrow:W,flexShrink:B,flexWrap:N,justifyContent:T,flexBasis:H,display:R,overflow:E,overflowX:V,overflowY:M,position:G,spacing:j,spacingHorizontal:I,spacingVertical:L,spacingBottom:D,spacingEnd:P,spacingStart:$,spacingTop:A,offset:O,offsetVertical:F,offsetHorizontal:X,offsetBottom:Y,offsetEnd:_,offsetStart:q,offsetTop:Z,columnGap:J,rowGap:K,className:t});return e(r?pe:"div",{className:ee,ref:U,...Q})})),be=f((function({gap:r,...t},o){return e(me,{ref:o,flexDirection:"column",columnGap:r,rowGap:r,...t})}));function fe({label:o,children:a,onClick:n,open:l,spacingHorizontal:i="4",_content:d,className:s,textProps:c,...p}){return r(t,{children:[r(ie,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"4",spacingHorizontal:i,borderRadius:"md",onClick:n,className:Q("hover:bg-secondary/80","w-full",s),...p,children:[e(ce,{variant:"title4",color:"primary",...c||{},children:o}),e(oe,{name:l?A:O,variant:"fill",size:"sm",color:"primary"})]}),e(be,{overflow:"hidden",className:Q("transition-[max-height]","duration-500","ease-in-out",l?"max-h-full":"max-h-0"),spacingHorizontal:i,...d,children:e(be,{className:"min-h-min",children:a})})]})}var ue={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"};function he({size:r,shape:t,src:o,alt:a,...n}){const l=re({...ue,avatarSize:r,borderRadius:t});return e("img",{src:o,alt:a,className:l,...n})}var ge=f((function({gap:r,...t},o){return e(me,{ref:o,flexDirection:"row",rowGap:r,columnGap:r,...t})})),xe=({label:t,checked:o,onChange:a})=>e(ge,{asChild:!0,alignItems:"center",className:"cursor-pointer",gap:"2",children:r("label",{children:[e("input",{type:"checkbox",checked:o,onChange:e=>{a(e.target.checked)},className:"!max-w-0 cursor-pointer opacity-0"}),e(oe,{name:o?$:X,color:"tertiary",size:"md"}),e(ce,{variant:"label2",color:"secondary",className:"select-none",children:t})]})}),ye={accent:"on-color",secondary:"primary"},we={accent:"on-color",secondary:"tertiary"};function ve({children:t,variant:o,startIcon:a,startContent:n=(a?e(oe,{name:a,variant:"fill",size:"sm",color:ye[o]}):null),endIcon:l,endContent:i=(l?e(oe,{name:l,variant:"fill",size:"sm",color:ye[o]}):null)}){return r(ie,{display:"inline-flex",flexDirection:"row",columnGap:"2",borderRadius:"full",backgroundColor:o,alignItems:"center",spacingVertical:"2",spacingHorizontal:"3",children:[n,e(ce,{variant:"label2",color:we[o],children:t}),i]})}function Ce({children:t,leading:o,trailing:a}){return r(ge,{children:[o,e(ce,{variant:"headline1",color:"primary",asChild:!0,children:e(z,{children:t})}),a]})}var ze=k,ke=S,Se=W,We=B,Be=N,Ne=T,Te=H,He=R,Re=Ne,Ee=f((function({children:r,disabled:t,onClick:o,...a},n){const l=y(),i=u((e=>{e.preventDefault();o?.((()=>l.setOpen(!1)))}),[o,l]);return e(ie,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:Q(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?i:void 0,ref:n,...a,children:r})}));function Ve({title:t,description:o,_title:a,_description:n,startIcon:l,endIcon:i,...d}){return r(Ee,{...d,children:[l&&e(oe,{name:l,size:"md",color:"primary"}),r(be,{gap:"3",alignItems:"flex-start",children:[t&&e(ce,{variant:"headline1",color:"primary",...a,children:t}),o&&e(ce,{variant:"label2",color:"muted",...n,children:o})]}),i&&e(oe,{name:i,size:"md",color:"primary"})]})}var Me=f((function({children:t,className:o,overflow:a="scroll",...n},l){return e(be,{borderRadius:"lg",backgroundColor:"primary",position:"relative",className:Q("z-10 max-h-[312px] min-w-[220px] shadow-md",o),overflow:a,asChild:!0,children:r(ze,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:l,children:[e(ke,{className:"!stroke-2"}),t]})})}));function Ge(r){return e(Te,{render:t=>r.children?e(me,{...t,asChild:!0,children:e(I,{startIcon:r.startIcon,...r,children:r.children})}):e(me,{...t,asChild:!0,children:e(L,{...r,name:r.name??r.startIcon})})})}function je(e){return E({animated:!0,...e})}function Ie({children:t,handleClose:o}){return r(ge,{alignItems:"center",justifyContent:"space-between",children:[e(ce,{variant:"headline1",color:"primary",children:t}),e(L,{"aria-label":"Close",size:"sm",variant:"tertiary",name:F,onClick:o})]})}function Le({className:r,...t}){return e(be,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:Q("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",r),spacing:"8",asChild:!0,overflow:"hidden",children:e(V,{backdrop:e("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-60 data-[enter]:backdrop-blur-sm"}),...t})})}var De=M;function Pe({className:t,...o}){return r("div",{role:"status",className:Q("self-center","relative",t),...o,style:{width:32,maxWidth:32,height:32,maxHeight:32},children:[r("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent top-half left-half absolute left-0 right-0 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e("span",{className:"sr-only",children:"Loading..."})]})}var $e=f((function({children:r,className:t,display:o="table",overflow:a="hidden",borderColor:n="muted",borderRadius:l="md",...i},d){return e(me,{asChild:!0,borderColor:n,borderRadius:l,className:t,overflow:a,display:o,...i,children:e("table",{ref:d,children:r})})})),Ae=f((function({children:r,display:t="table-row",...o},a){return e(me,{asChild:!0,display:t,...o,children:e("tr",{ref:a,children:r})})})),Oe=f((function({children:r,display:t="table-header-group",...o},a){return e(me,{asChild:!0,display:t,...o,children:e("thead",{ref:a,children:r})})})),Fe=f((function({children:r,display:t="table-row-group",...o},a){return e(me,{asChild:!0,display:t,...o,children:e("tbody",{ref:a,children:r})})})),Xe=f((function({asHeaderCell:r,className:t,display:o="table-cell",spacing:a="3",borderBottomColor:n="muted",color:l="primary",...i},d){const s=re({textAlign:"start",className:t});return e(ce,{asChild:!0,variant:r?"headline1":"body1",color:l,display:o,spacing:a,borderBottomColor:n,borderBottomWidth:"thin",className:s,children:e(r?"th":"td",{scope:"row"===r?"row":r?"column":void 0,...i,ref:d})})}));function Ye({data:t,columns:o,...a}){return r(Ye.Root,{...a,children:[e(Ye.Header,{children:e(Ye.Row,{children:o.map(((r,t)=>e(Ye.Cell,{asHeaderCell:"column",children:r.title},t)))})}),e(Ye.Body,{children:t.map(((r,t)=>e(Ye.Row,{children:o.map(((o,a)=>{const n=r[o.dataIndex];return e(Ye.Cell,{children:o.render?o.render(n,r,t):g(n)?n:String(n)},a)}))},t)))})]})}Ye.Root=$e,Ye.Row=Ae,Ye.Header=Oe,Ye.Body=Fe,Ye.Cell=Xe;var _e=ne();function qe(r){return e(G,{...r})}var Ze=f((function({className:r,...t},o){const a=re({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e(w,{ref:o,...t,className:a})})),Je=function({asChild:t,label:o,value:a,startIcon:n}){const l=t?_e:"button",i=re({});if(!v())throw new Error("Tab must be wrapped in a Tabs component");const d=Q("text-tertiary","border-b-transparent","aria-selected:border-b-accent","aria-selected:text-accent");return e(j,{id:a,className:i,render:e(ie,{borderBottomWidth:"thick",spacingBottom:"1",spacingTop:"4",className:d,asChild:!0,children:r(l,{children:[n?e(oe,{name:n,className:"text-current",size:"md"}):null,e(ce,{className:"text-current",variant:"headline1",as:"span",children:o})]})})})},Ke=f((function(r,t){const o=v();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const a=o.useState("selectedId");return e(C,{ref:t,tabId:a,...r})}));function Qe({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:a="tertiary",borderWidth:n="thin",borderRadius:l="md",color:i="primary",placeholderColor:d="tertiary",spacingVertical:s="3",spacingHorizontal:c="4",fontSize:p="body1",...m}){return e("input",{type:"text","data-1p-ignore":!0,className:Q(re({backgroundColor:o,borderColor:a,borderWidth:n,borderRadius:l,spacingVertical:s,spacingHorizontal:c,fontSize:p,fontWeight:p,lineHeight:p,fontFamily:p,color:i,placeholderColor:d}),"w-full",r),disabled:t,...m})}function Ue({children:t,required:o}){return r(ce,{variant:"caption2",color:"primary",children:[t,o&&e(ce,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}function er({label:t,required:o,...a}){return r(be,{gap:"4",className:"w-full",children:[e(Ue,{required:o,children:t}),e(Qe,{required:o,...a})]})}var rr=re({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),tr=re({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),or=re({backgroundColor:"positive"}),ar=re({backgroundColor:"alert"}),nr=re({backgroundColor:"accent"}),lr=re({backgroundColor:"warning"}),ir=re({backgroundColor:"accent"}),dr=re({backgroundColor:"brand"}),sr=re({backgroundColor:"accent"}),cr=e=>"default"===e?.type?Q(rr,sr):e?.defaultClassName??"";function pr(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:or,error:ar,info:nr,warning:lr,default:ir,dark:dr}[r],a=t.replace(/Toastify__progress-bar-theme--light/,"");return Q(a,o)}function mr({closeToast:r,type:t}){return e(L,{name:F,size:"sm",palette:{success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t],onClick:r,className:"h-fit self-center"})}function br(r){return e(D,{toastClassName:cr,bodyClassName:tr,progressClassName:pr,transition:P,closeButton:mr,...r})}
2
2
  /*! © 2024 Yahoo, Inc. UDS v0.0.0-development */export{fe as Accordion,he as Avatar,xe as CheckBox,ve as Chip,Re as Dropdown,Ve as DropdownItem,Ee as DropdownItemPressable,Me as DropdownItems,Ge as DropdownTrigger,Le as Modal,De as ModalDismiss,Ie as ModalHeader,ze as Popover,Se as PopoverAnchor,ke as PopoverArrow,We as PopoverDescription,Te as PopoverDisclosure,He as PopoverDisclosureArrow,Be as PopoverDismiss,Ce as PopoverHeading,Ne as PopoverProvider,Pe as Spinner,Je as Tab,Ze as TabList,Ke as TabPanel,Ye as Table,qe as Tabs,Qe as TextInput,er as TextInputGroup,Ue as TextInputLabel,br as ToastContainer,je as useModalStore};