design-system-silkhaus 0.0.75 → 0.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +290 -289
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -24,5 +24,5 @@ Check the render method of \``+r+"`."}return""}}function nt(r){{if(r!==void 0){v
|
|
|
24
24
|
|
|
25
25
|
Check your code at `+i+":"+u+"."}return""}}var Ke={};function ot(r){{var i=Xe();if(!i){var u=typeof r=="string"?r:r.displayName||r.name;u&&(i=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+u+">.")}return i}}function Qe(r,i){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var u=ot(i);if(Ke[u])return;Ke[u]=!0;var m="";r&&r._owner&&r._owner!==Fe.current&&(m=" It was passed a child from "+D(r._owner.type)+"."),re(r),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,m),re(null)}}function Ze(r,i){{if(typeof r!="object")return;if(Pe(r))for(var u=0;u<r.length;u++){var m=r[u];Me(m)&&Qe(m,i)}else if(Me(r))r._store&&(r._store.validated=!0);else if(r){var j=F(r);if(typeof j=="function"&&j!==r.entries)for(var C=j.call(r),v;!(v=C.next()).done;)Me(v.value)&&Qe(v.value,i)}}}function it(r){{var i=r.type;if(i==null||typeof i=="string")return;var u;if(typeof i=="function")u=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===f||i.$$typeof===b))u=i.propTypes;else return;if(u){var m=D(i);Ur(u,r.props,"prop",m,r)}else if(i.PropTypes!==void 0&&!Ie){Ie=!0;var j=D(i);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",j||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(r){{for(var i=Object.keys(r.props),u=0;u<i.length;u++){var m=i[u];if(m!=="children"&&m!=="key"){re(r),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),re(null);break}}r.ref!==null&&(re(r),_("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}function er(r,i,u,m,j,C){{var v=ne(r);if(!v){var x="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(x+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O=nt(j);O?x+=O:x+=Xe();var N;r===null?N="null":Pe(r)?N="array":r!==void 0&&r.$$typeof===s?(N="<"+(D(r.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):N=typeof r,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,x)}var A=at(r,i,u,j,C);if(A==null)return A;if(v){var $=i.children;if($!==void 0)if(m)if(Pe($)){for(var te=0;te<$.length;te++)Ze($[te],r);Object.freeze&&Object.freeze($)}else _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ze($,r)}return r===a?lt(A):it(A),A}}function dt(r,i,u){return er(r,i,u,!0)}function ct(r,i,u){return er(r,i,u,!1)}var ut=ct,ft=dt;ue.Fragment=a,ue.jsx=ut,ue.jsxs=ft}()),ue}process.env.NODE_ENV==="production"?ze.exports=ht():ze.exports=xt();var l=ze.exports;function xr(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(s=0;s<n;s++)e[s]&&(t=xr(e[s]))&&(a&&(a+=" "),a+=t)}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function y(){for(var e,s,t=0,a="",n=arguments.length;t<n;t++)(e=arguments[t])&&(s=xr(e))&&(a&&(a+=" "),a+=s);return a}const Be="-";function yt(e){const s=wt(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;function n(d){const c=d.split(Be);return c[0]===""&&c.length!==1&&c.shift(),yr(c,s)||vt(d)}function o(d,c){const f=t[d]||[];return c&&a[d]?[...f,...a[d]]:f}return{getClassGroupId:n,getConflictingClassGroupIds:o}}function yr(e,s){var d;if(e.length===0)return s.classGroupId;const t=e[0],a=s.nextPart.get(t),n=a?yr(e.slice(1),a):void 0;if(n)return n;if(s.validators.length===0)return;const o=e.join(Be);return(d=s.validators.find(({validator:c})=>c(o)))==null?void 0:d.classGroupId}const ir=/^\[(.+)\]$/;function vt(e){if(ir.test(e)){const s=ir.exec(e)[1],t=s==null?void 0:s.substring(0,s.indexOf(":"));if(t)return"arbitrary.."+t}}function wt(e){const{theme:s,prefix:t}=e,a={nextPart:new Map,validators:[]};return Rt(Object.entries(e.classGroups),t).forEach(([o,d])=>{De(d,a,o,s)}),a}function De(e,s,t,a){e.forEach(n=>{if(typeof n=="string"){const o=n===""?s:lr(s,n);o.classGroupId=t;return}if(typeof n=="function"){if(jt(n)){De(n(a),s,t,a);return}s.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([o,d])=>{De(d,lr(s,o),t,a)})})}function lr(e,s){let t=e;return s.split(Be).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a)}),t}function jt(e){return e.isThemeGetter}function Rt(e,s){return s?e.map(([t,a])=>{const n=a.map(o=>typeof o=="string"?s+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([d,c])=>[s+d,c])):o);return[t,n]}):e}function kt(e){if(e<1)return{get:()=>{},set:()=>{}};let s=0,t=new Map,a=new Map;function n(o,d){t.set(o,d),s++,s>e&&(s=0,a=t,t=new Map)}return{get(o){let d=t.get(o);if(d!==void 0)return d;if((d=a.get(o))!==void 0)return n(o,d),d},set(o,d){t.has(o)?t.set(o,d):n(o,d)}}}const vr="!";function Ct(e){const s=e.separator,t=s.length===1,a=s[0],n=s.length;return function(d){const c=[];let f=0,p=0,g;for(let T=0;T<d.length;T++){let F=d[T];if(f===0){if(F===a&&(t||d.slice(T,T+n)===s)){c.push(d.slice(p,T)),p=T+n;continue}if(F==="/"){g=T;continue}}F==="["?f++:F==="]"&&f--}const b=c.length===0?d:d.substring(p),R=b.startsWith(vr),P=R?b.substring(1):b,z=g&&g>p?g-p:void 0;return{modifiers:c,hasImportantModifier:R,baseClassName:P,maybePostfixModifierPosition:z}}}function _t(e){if(e.length<=1)return e;const s=[];let t=[];return e.forEach(a=>{a[0]==="["?(s.push(...t.sort(),a),t=[]):t.push(a)}),s.push(...t.sort()),s}function Et(e){return M({cache:kt(e.cacheSize),splitModifiers:Ct(e)},yt(e))}const St=/\s+/;function Tt(e,s){const{splitModifiers:t,getClassGroupId:a,getConflictingClassGroupIds:n}=s,o=new Set;return e.trim().split(St).map(d=>{const{modifiers:c,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:g}=t(d);let b=a(g?p.substring(0,g):p),R=!!g;if(!b){if(!g)return{isTailwindClass:!1,originalClassName:d};if(b=a(p),!b)return{isTailwindClass:!1,originalClassName:d};R=!1}const P=_t(c).join(":");return{isTailwindClass:!0,modifierId:f?P+vr:P,classGroupId:b,originalClassName:d,hasPostfixModifier:R}}).reverse().filter(d=>{if(!d.isTailwindClass)return!0;const{modifierId:c,classGroupId:f,hasPostfixModifier:p}=d,g=c+f;return o.has(g)?!1:(o.add(g),n(f,p).forEach(b=>o.add(c+b)),!0)}).reverse().map(d=>d.originalClassName).join(" ")}function Nt(){let e=0,s,t,a="";for(;e<arguments.length;)(s=arguments[e++])&&(t=wr(s))&&(a&&(a+=" "),a+=t);return a}function wr(e){if(typeof e=="string")return e;let s,t="";for(let a=0;a<e.length;a++)e[a]&&(s=wr(e[a]))&&(t&&(t+=" "),t+=s);return t}function Pt(e,...s){let t,a,n,o=d;function d(f){const p=s.reduce((g,b)=>b(g),e());return t=Et(p),a=t.cache.get,n=t.cache.set,o=c,c(f)}function c(f){const p=a(f);if(p)return p;const g=Tt(f,t);return n(f,g),g}return function(){return o(Nt.apply(null,arguments))}}function E(e){const s=t=>t[e]||[];return s.isThemeGetter=!0,s}const jr=/^\[(?:([a-z-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,Ft=new Set(["px","full","screen"]),It=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ot=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function W(e){return K(e)||Ft.has(e)||At.test(e)}function U(e){return se(e,"length",Yt)}function K(e){return!!e&&!Number.isNaN(Number(e))}function Ce(e){return se(e,"number",K)}function fe(e){return!!e&&Number.isInteger(Number(e))}function Bt(e){return e.endsWith("%")&&K(e.slice(0,-1))}function h(e){return jr.test(e)}function H(e){return It.test(e)}const $t=new Set(["length","size","percentage"]);function Lt(e){return se(e,$t,Rr)}function Vt(e){return se(e,"position",Rr)}const Wt=new Set(["image","url"]);function qt(e){return se(e,Wt,Ht)}function Gt(e){return se(e,"",Ut)}function pe(){return!0}function se(e,s,t){const a=jr.exec(e);return a?a[1]?typeof s=="string"?a[1]===s:s.has(a[1]):t(a[2]):!1}function Yt(e){return Mt.test(e)&&!Ot.test(e)}function Rr(){return!1}function Ut(e){return zt.test(e)}function Ht(e){return Dt.test(e)}function Jt(){const e=E("colors"),s=E("spacing"),t=E("blur"),a=E("brightness"),n=E("borderColor"),o=E("borderRadius"),d=E("borderSpacing"),c=E("borderWidth"),f=E("contrast"),p=E("grayscale"),g=E("hueRotate"),b=E("invert"),R=E("gap"),P=E("gradientColorStops"),z=E("gradientColorStopPositions"),T=E("inset"),F=E("margin"),I=E("opacity"),_=E("padding"),ge=E("saturate"),ae=E("scale"),me=E("sepia"),be=E("skew"),he=E("space"),xe=E("translate"),Z=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",h,s],k=()=>[h,s],D=()=>["",W,U],B=()=>["auto",K,h],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],ee=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",h],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[K,Ce],X=()=>[K,h];return{cacheSize:500,separator:":",theme:{colors:[pe],spacing:[W,U],blur:["none","",H,h],brightness:Y(),borderColor:[e],borderRadius:["none","","full",H,h],borderSpacing:k(),borderWidth:D(),contrast:Y(),grayscale:G(),hueRotate:X(),invert:G(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Bt,U],inset:oe(),margin:oe(),opacity:Y(),padding:k(),saturate:Y(),scale:Y(),sepia:G(),skew:X(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...q(),h]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fe,h]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",fe,h]}],"grid-cols":[{"grid-cols":[pe]}],"col-start-end":[{col:["auto",{span:["full",fe,h]},h]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[pe]}],"row-start-end":[{row:["auto",{span:[fe,h]},h]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[F]}],mx:[{mx:[F]}],my:[{my:[F]}],ms:[{ms:[F]}],me:[{me:[F]}],mt:[{mt:[F]}],mr:[{mr:[F]}],mb:[{mb:[F]}],ml:[{ml:[F]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,s]}],"min-w":[{"min-w":[h,s,"min","max","fit"]}],"max-w":[{"max-w":[h,s,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[h,s,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,s,"auto","min","max","fit"]}],"font-size":[{text:["base",H,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ce]}],"font-family":[{font:[pe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",h]}],"line-clamp":[{"line-clamp":["none",K,Ce]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,U]}],"underline-offset":[{"underline-offset":["auto",W,h]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},qt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:J()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[W,h]}],"outline-w":[{outline:[W,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[W,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,Gt]}],"shadow-color":[{shadow:[pe]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[a]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",H,h]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[b]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[me]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ae]}],"scale-x":[{"scale-x":[ae]}],"scale-y":[{"scale-y":[ae]}],rotate:[{rotate:[fe,h]}],"translate-x":[{"translate-x":[xe]}],"translate-y":[{"translate-y":[xe]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,U,Ce]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const w=Pt(Jt),dr={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Text-secondary ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-black hover:ds-border hover:ds-border-Fills-black active:ds-text-black active:ds-border active:ds-border-Fills-black focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-quadrutery disabled:ds-text-Text-tertiary",tertiary:"ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",quaternary:"ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",small:"ds-py-space075 ds-px-space400",large:"ds-py-space150 ds-px-space400"},_e=S.forwardRef((d,o)=>{var c=d,{color:e="primary",size:s="small",disabled:t=!1,className:a}=c,n=L(c,["color","size","disabled","className"]);return l.jsx("button",M({ref:o,disabled:t,className:w(y(dr[e],dr[s],a))},n))});_e.displayName="Button";const Ee=S.forwardRef(({className:e=""},s)=>{const a=w("ds-text-System-red ds-ms-[2px]",e);return l.jsx("span",{className:a,ref:s,children:"*"})});Ee.displayName="Asteric";const cr="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%23FF453A'/%3e%3cpath%20d='M4.452%207.978h1.821a.316.316%200%201%200%200-.631h-.555V5.069c0-.242-.12-.403-.349-.403h-.841a.316.316%200%201%200%200%20.631h.479v2.05h-.555a.316.316%200%201%200%200%20.631zm.743-4.055c.326%200%20.582-.26.582-.587a.582.582%200%201%200-1.164%200c0%20.327.26.587.582.587z'%20fill='%23FF453A'/%3e%3c/svg%3e",ur="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%2328CD41'/%3e%3cpath%20d='M5.242%207.713a.42.42%200%200%200%20.363-.21L7.65%204.283c.05-.09.108-.188.108-.286%200-.202-.18-.332-.367-.332-.112%200-.224.072-.31.202l-1.857%202.98-.881-1.14c-.108-.144-.206-.18-.332-.18a.347.347%200%200%200-.344.354c0%20.099.04.193.103.278l1.092%201.342c.112.148.233.21.38.21z'%20fill='%2328CD41'/%3e%3c/svg%3e",fr={primary:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",primaryRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",success:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",error:"ds-bg-System-red ds-bg-opacity-[0.1] ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",errorRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",disabled:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-quintiary ds-cursor-not-allowed ds-rounded-sm hover:ds-border-Fills-quintiary active:ds-text-Text-primary active:ds-border-Fills-quintiary focus:ds-border-Fills-quintiary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]"},pr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},gr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-flex ds-flex-row ds-items-center ds-justify-start ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},kr=S.forwardRef((R,b)=>{var P=R,{color:e="primary",disabled:s=!1,textarea:t=!1,label:a,required:n=!1,caption:o,labelClass:d,InputDivClass:c,captionClass:f,className:p}=P,g=L(P,["color","disabled","textarea","label","required","caption","labelClass","InputDivClass","captionClass","className"]);return t?l.jsx(l.Fragment,{children:l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-desktop:MediumSubheadRegular ds-mb-space075",d,pr[e]),children:[a," ",n&&l.jsx(Ee,{})]}),l.jsx("textarea",M({disabled:s,className:w(y(fr[e],p))},g)),o&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(y("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(y("ds-me-1"))}),o]})]})}):l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-mb-space075",d,pr[e]),children:[a," ",n&&l.jsx(Ee,{})]}),l.jsx("input",M({ref:b,disabled:s,className:w(y(fr[e],p))},g)),o&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:ds-text-mediumCaption1Regular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(y("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(y("ds-me-1"))}),o]})]})});kr.displayName="Input";function Cr(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e))for(s=0;s<e.length;s++)e[s]&&(t=Cr(e[s]))&&(a&&(a+=" "),a+=t);else for(s in e)e[s]&&(a&&(a+=" "),a+=s);return a}function Xt(){for(var e,s,t=0,a="";t<arguments.length;)(e=arguments[t++])&&(s=Cr(e))&&(a&&(a+=" "),a+=s);return a}const mr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,br=Xt,_r=(e,s)=>t=>{var a;if((s==null?void 0:s.variants)==null)return br(e,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:n,defaultVariants:o}=s,d=Object.keys(n).map(p=>{const g=t==null?void 0:t[p],b=o==null?void 0:o[p];if(g===null)return null;const R=mr(g)||mr(b);return n[p][R]}),c=t&&Object.entries(t).reduce((p,g)=>{let[b,R]=g;return R===void 0||(p[b]=R),p},{}),f=s==null||(a=s.compoundVariants)===null||a===void 0?void 0:a.reduce((p,g)=>{let z=g,{class:b,className:R}=z,P=L(z,["class","className"]);return Object.entries(P).every(T=>{let[F,I]=T;return Array.isArray(I)?I.includes(M(M({},o),c)[F]):M(M({},o),c)[F]===I})?[...p,b,R]:p},[]);return br(e,d,f,t==null?void 0:t.class,t==null?void 0:t.className)},Kt=_r("ds-border ds-text-text-primary",{variants:{cardType:{default:"ds-shadow-none",shadowCard:"ds-shadow-card"}},defaultVariants:{cardType:"default"}}),Er=Q.forwardRef((n,a)=>{var o=n,{className:e,cardType:s}=o,t=L(o,["className","cardType"]);return l.jsx("div",M({ref:a,className:w(y(Kt({cardType:s,className:e}),"ds-rounded"),e)},t))});Er.displayName="Card";const Sr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-flex ds-flex-col ds-pt-space300 ds-pb-space200 ds-px-space300",e))},s))});Sr.displayName="CardHeader";const Tr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-medium",e))},s))});Tr.displayName="Title";const Nr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-regular",e))},s))});Nr.displayName="Description";const Pr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300 ",e))},s))});Pr.displayName="Content";const Ar=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300",e))},s))});Ar.displayName="Footer";const Qt=_r("ds-grid ds-zero:ds-grid-cols-4 ds-gap-x-8 ds-mobile:ds-grid-cols-4 ds-tablet:ds-grid-cols-6 ds-desktop:ds-grid-cols-12 ds-wide_desktop:ds-grid-cols-12 ds-w-full",{variants:{display:{grid:"ds-grid",inlineGrid:"ds-inline-grid"},gap:{gap0:"ds-gap0",gap100:"ds-gap-100",gap150:"ds-gap-150",gap200:"ds-gap-200",gap300:"ds-gap-300",gap400:"ds-gap-400",gap600:"ds-gap-600",gap800:"ds-gap-800",gap1000:"ds-gap-1000",gap1200:"ds-gap-1200",gap1600:"ds-gap-1600",gap2000:"ds-gap-2000"},gapX:{gap0:"ds-gap-x-0",gap100:"ds-gap-x-100",gap150:"ds-gap-x-150",gap200:"ds-gap-x-200",gap300:"ds-gap-x-300",gap400:"ds-gap-x-400",gap600:"ds-gap-x-600",gap800:"ds-gap-x-800",gap1000:"ds-gap-x-1000",gap1200:"ds-gap-x-1200",gap1600:"ds-gap-x-1600",gap2000:"ds-gap-x-2000"},gapY:{gap0:"ds-gap-y-0",gap100:"ds-gap-y-100",gap150:"ds-gap-y-150",gap200:"ds-gap-y-200",gap300:"ds-gap-y-300",gap400:"ds-gap-y-400",gap600:"ds-gap-y-600",gap800:"ds-gap-y-800",gap1000:"ds-gap-y-1000",gap1200:"ds-gap-y-1200",gap1600:"ds-gap-y-1600",gap2000:"ds-gap-y-2000"},justifyContent:{normal:"ds-justify-normal",start:"ds-justify-start",end:"ds-justify-end",center:"ds-justify-center",between:"ds-justify-between",around:"ds-justify-around",evenly:"ds-justify-evenly",stretch:"ds-justify-stretch"},justifyItems:{start:"ds-justify-items-start",end:"ds-justify-items-end",center:"ds-justify-items-center",stretch:"ds-justify-items-stretch"},alignContent:{normal:"ds-content-normal",center:"ds-content-center",start:"ds-content-start",end:"ds-content-end",between:"ds-content-between",around:"ds-content-around",evenly:"ds-content-evenly",baseline:"ds-content-baseline",stretch:"ds-content-stretch"},alignItems:{start:"ds-items-start",end:"ds-items-end",center:"ds-items-center",baseline:"ds-items-baseline",stretch:"ds-items-stretch"},placeContent:{center:"ds-place-content-center",start:"ds-place-content-start",end:"ds-place-content-end",between:"ds-place-content-between",around:"ds-place-content-around",evenly:"ds-place-content-evenly",baseline:"ds-place-content-baseline",stretch:"ds-place-content-stretch"},placeItems:{start:"ds-place-items-start",end:"ds-place-items-end",center:"ds-place-items-center",baseline:"ds-place-items-baseline",stretch:"ds-place-items-stretch"}}}),Fr=Q.forwardRef((n,a)=>{var o=n,{className:e,children:s}=o,t=L(o,["className","children"]);return l.jsx("div",Oe(M({className:w(y(Qt({display:t==null?void 0:t.display,gap:t==null?void 0:t.gap,gapX:t==null?void 0:t.gapX,gapY:t==null?void 0:t.gapY,justifyContent:t==null?void 0:t.justifyContent,justifyItems:t==null?void 0:t.justifyItems,alignContent:t==null?void 0:t.alignContent,alignItems:t==null?void 0:t.alignItems,placeContent:t==null?void 0:t.placeContent,placeItems:t==null?void 0:t.placeItems,className:e}))),ref:a},t),{children:s}))});Fr.displayName="Grid";const hr=e=>{let s="";switch(e){case"STANDARD":case"STANDARD_LINE_SEPARATED":s="ds-font-semibold ds-text-Text-primary ds_xSmallBodyEmphasized ds-tablet:ds_SmallBodyEmphasized ds-desktop:ds_MediumCalloutEmphasized";break;case"DISCOUNT":s="ds-font-normal ds-text-teal-400 ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break;case"FEE":case"TAX":s="ds-font-normal ds-text-Text-secondary ds_xSmallCalloutRegular ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break}return s},Ir=S.forwardRef(({className:e,items:s,isExpandedInMobile:t},a)=>{const[n,o]=S.useState(!1);return S.useEffect(()=>{t&&o(t)},[t]),l.jsxs("div",{className:w(y(e,"ds-w-full ds-flex ds-flex-col")),ref:a,children:[l.jsx("div",{children:s.length>0&&s.map((d,c)=>{var f;return l.jsx("div",{children:l.jsxs("div",{className:y(d.key_name!=="total_amount"&&"line-items",n===!0&&"show"),children:[d.type==="STANDARD_LINE_SEPARATED"&&l.jsx("hr",{className:"ds-mt-3 ds-mb-1"}),l.jsxs("div",{className:y("ds-flex ds-flex-row ds-justify-between",c>0&&"ds-mt-2",c!==s.length&&d.type==="STANDARD_LINE_SEPARATED"&&"ds-mb-1"),children:[l.jsx("span",{className:y("ds-me-3",d.key_name!=="total_amount"&&hr(d.type),((f=d.display_name)==null?void 0:f.toLocaleLowerCase())==="vat"&&"ds-uppercase",d.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized"),children:d.display_name}),l.jsx("span",{className:y(d.key_name!=="total_amount"&&hr(d.type),d.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized"),children:d.currency_converted_amount})]})]})},`BookingQuoteLineItemType-${c}`)})}),l.jsx("div",{children:l.jsxs("span",{className:"ds-flex ds-mt-3 ds-justify-end ds-items-center ds-text-Background-accentEggplant-100 ds-underline ds-cursor-pointer ds_xSmallFootnoteEmphasized ds-tablet:ds-hidden",onClick:()=>o(!n),children:["See ",n?"less":"details"]})})]})});Ir.displayName="Booking_Quote_Card";const Zt="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23cr9x6s95oa)'%3e%3cpath%20d='M4.222%206.738c0%20.13.05.246.152.345l4.302%204.057a.475.475%200%200%200%20.353.141c.282%200%20.5-.204.5-.476a.483.483%200%200%200-.147-.34l-3.95-3.727%203.95-3.727a.493.493%200%200%200%20.146-.34c0-.273-.217-.477-.499-.477a.492.492%200%200%200-.353.136L4.374%206.392a.455.455%200%200%200-.152.346z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='cr9x6s95oa'%3e%3cpath%20fill='%23fff'%20transform='translate(.333%20.05)'%20d='M0%200h13.333v12.864H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",es="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.084%206.738a.46.46%200%200%200-.158-.346L5.63%202.33a.514.514%200%200%200-.358-.136.477.477%200%200%200-.353.817l3.95%203.727-3.95%203.727a.477.477%200%200%200%20.353.817c.14%200%20.26-.048.358-.142l4.296-4.057a.47.47%200%200%200%20.158-.345z'%20fill='%23fff'/%3e%3c/svg%3e",Mr=S.forwardRef(({images:e})=>{const[s,t]=S.useState(0),a=()=>{t(o=>o===e.length-1?0:o+1)},n=()=>{t(o=>o===0?e.length-1:o-1)};return l.jsx(l.Fragment,{children:l.jsxs("div",{className:"ds-relative ds-rounded-[4px] ds-w-full",children:[e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-left-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:n,children:l.jsx("img",{src:Zt,alt:"prev"})}),l.jsx("div",{className:"picture ds-w-full ds-rounded-[4px]",style:{backgroundImage:`url(${e[s]})`}}),e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-right-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:a,children:l.jsx("img",{src:es,alt:"next"})}),e.length>1&&l.jsx("ul",{className:"ds-absolute ds-flex ds-flex-row ds-bottom-1 ds-left-1/2 -ds-translate-x-1/2 ds-z-10",children:e.map((o,d)=>l.jsx("li",{"aria-description":o,className:w(y("ds-w-[5px] ds-h-[4px] ds-block ds-z-10 ds-mx-[2.5px] ds-rounded-[1px]",d!==s&&"ds-bg-[rgba(255,255,255,0.5)]",d===s&&"ds-bg-[rgba(255,255,255,0.8)]"))},d))})]})})});Mr.displayName="Image_Carousel";const Or=S.forwardRef(({title:e,content:s,expandIcon:t,collapseIcon:a,accordionClass:n,accordionHeaderClass:o,accordionTitleClass:d,accordionContentClass:c,isEnabled:f=!0,isExpanded:p=!0},g)=>{const[b,R]=S.useState(p),P=()=>{f&&R(!b)};return S.useEffect(()=>{f&&R(p)},[f,p]),l.jsxs("div",{className:w(y("silkhaus-accordion",n)),ref:g,children:[l.jsxs("div",{className:w(y("silkhaus-accordion-header ds-flex ds-flex-row ds-justify-between ds-items-center",o,!f&&"ds-cursor-not-allowed",f&&"ds-cursor-pointer")),onClick:P,children:[l.jsx("div",{className:w(y(d)),children:e}),b?a||"-":t||"+"]}),b&&l.jsx("div",{className:w(y("silkhaus-accordion-content",c)),children:s})]})});Or.displayName="Accordion";function rs(...e){return w(y(e))}const zr=S.forwardRef(({checked:e=!1,onChange:s,disabled:t=!1,htmlId:a="wa"},n)=>l.jsxs("label",{className:rs("switch",t&&"disabled"),htmlFor:a,children:[l.jsx("input",{id:a,type:"checkbox",checked:e,onChange:s,ref:n,disabled:t}),l.jsx("span",{className:"slider round",style:{opacity:t?.5:1,cursor:t?"not-allowed":"pointer"}})]}));zr.displayName="Switch";const Dr=S.forwardRef((e,s)=>{const o=e,{open:t,children:a}=o,n=L(o,["open","children"]);return l.jsx("div",Oe(M({ref:s,className:`dialog ${t?"open":""}`},n),{children:a}))});Dr.displayName="Dialog";const Br=S.forwardRef(({outerDivClassName:e="",banner:s="",title:t,description:a,primaryBtnText:n="Submit",showPrimaryBtn:o,secondaryBtnText:d="Cancel",showSecondaryBtn:c,onPrimaryBtnClick:f,onSecondaryBtnClick:p,disablePrimaryBtn:g=!1,disableSecondaryBtn:b=!1},R)=>l.jsx("div",{className:w(e),children:l.jsxs("div",{className:w(y("ds-bg-white ds-w-full ds-wide_ds-desktop:ds-w-[528px] ds-desktop:ds-w-[528px] ds-tablet:ds-w-[528px] ds-border ds-rounded",s&&"ds-p-6")),ref:R,children:[s&&l.jsx("div",{className:"ds-mb-4 ds-bg-Background-accentEggplant-5 banner",style:{backgroundImage:`url(${s})`}}),l.jsxs("div",{className:y(!s&&"ds-p-6 ds-border-t-4 ds-rounded-s ds-rounded-e ds-border-Background-accentEggplant-100"),children:[l.jsxs("div",{children:[l.jsx("h2",{className:y("ds_MediumTitle1Emphasized ds-text-black ds-mb-0 ds-pb-4",s&&"ds-border-t-2 ds-border-Background-accentEggplant-100 ds-pt-4"),children:t}),a&&l.jsx("span",{className:"ds-text-black MediumBodyRegular",children:a})]}),l.jsxs("div",{className:y("ds-flex ds-flex-col ds-pt-4 ds-tablet:ds-grid ds-tablet:ds-grid-flow-row ds-tablet:ds-grid-cols-2 ds-tablet:ds-gap-x-4 ds-tablet:ds-flex-row",o&&c&&"ds-tablet:ds-justify-between ds-items-center",o&&!c&&"ds-tablet:ds-justify-end ds-items-center"),children:[l.jsx("div",{className:"ds-tablet:ds-mt-0 ds-mt-4 ds-w-full ds-tablet:ds-w-auto ds-flex ds-flex-col ds-order-2 ds-tablet:ds-order-1",children:c&&l.jsx(_e,{color:"secondary",onClick:p,disabled:b,className:"ds_MediumBodyEmphasized",size:"large",children:d})}),l.jsx("div",{className:"ds-w-full ds-flex ds-flex-col ds-tablet:ds-w-auto ds-order-1 ds-tablet:ds-order-2",children:o&&l.jsx(_e,{color:"primary",onClick:f,disabled:g,className:"ds_MediumBodyEmphasized",size:"large",children:n})})]})]})]})}));Br.displayName="AlertDialog";const ts="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23jy0s9xho2a)'%3e%3cpath%20d='M6.647%2012.969a.925.925%200%200%200%20.82-.431l5.586-8.641c.14-.215.196-.405.196-.586%200-.475-.345-.811-.827-.811-.338%200-.54.116-.745.437l-5.054%208.009-2.589-3.28c-.193-.247-.4-.353-.692-.353-.492%200-.842.348-.842.825%200%20.207.071.404.247.614l3.088%203.81c.226.276.478.407.812.407z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='jy0s9xho2a'%3e%3cpath%20fill='%23fff'%20transform='translate(.667%20.667)'%20d='M0%200h14.667v14.667H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$e=S.forwardRef(({progress:e,text:s="",borderColor:t="rgba(0, 0, 0, 0.1)",progressColor:a="#542686",size:n="48px",strokeWidth:o=3,textClass:d=""},c)=>{const f=parseInt(n)/2-4,p=2*Math.PI*f,g=p-e*p;return l.jsxs("div",{ref:c,className:"rounded-progress-bar",style:{"--progress":e,"--border-color":t,"--progress-color":a,width:n,height:n},children:[l.jsx("span",{className:w(y("ds-absolute ds-top-1/2 ds-left-1/2 -ds-translate-x-1/2 -ds-translate-y-1/2 ds_SmallCaption2Emphasized ds-text-nowrap",d)),children:s}),l.jsx("div",{className:"progress-ring",children:l.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,children:[l.jsx("circle",{className:"progress-ring-circle",stroke:"var(--border-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString()}),l.jsx("circle",{className:"progress-ring-circle-progress",stroke:"var(--progress-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString(),strokeDasharray:`${p}`,strokeDashoffset:`${g}`})]})})]})});$e.displayName="RoundedProgressBar";const $r=S.forwardRef(({steps:e,outerDivClass:s="",outerMobileDivClass:t=""},a)=>{var o,d;let n=0;for(let c=0;c<e.length;c++)(((o=e[c])==null?void 0:o.status)==="completed"||((d=e[c])==null?void 0:d.status)==="active")&&n++;return l.jsxs(l.Fragment,{children:[l.jsx("div",{ref:a,className:w(y("ds-hidden ds-tablet:ds-block ds-relative ds-h-[72px]",s)),children:l.jsxs("div",{className:"ds-relative ds-w-full ds-flex ds-items-center ds-flex-row ds-justify-between",children:[l.jsx("div",{className:"ds-absolute ds-left-0 ds-top-2/4 ds-h-0.5 ds-w-full -translate-y-2/4 ds-bg-Fills-quintiary"}),e.map((c,f)=>l.jsxs("div",{className:"ds-relative",children:[l.jsx("div",{className:`ds-flex ds-items-center ds-justify-center ds-w-[22px] ds-h-[22px] ds-rounded ds-border ds-border-Background-accentEggplant-100 ${c.status==="active"||c.status==="completed"?"ds-bg-Background-accentEggplant-100":"ds-bg-white"}
|
|
27
|
+
Check the top-level render call using <`+u+">.")}return i}}function Qe(r,i){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var u=ot(i);if(Ke[u])return;Ke[u]=!0;var m="";r&&r._owner&&r._owner!==Fe.current&&(m=" It was passed a child from "+D(r._owner.type)+"."),re(r),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,m),re(null)}}function Ze(r,i){{if(typeof r!="object")return;if(Pe(r))for(var u=0;u<r.length;u++){var m=r[u];Me(m)&&Qe(m,i)}else if(Me(r))r._store&&(r._store.validated=!0);else if(r){var j=F(r);if(typeof j=="function"&&j!==r.entries)for(var C=j.call(r),v;!(v=C.next()).done;)Me(v.value)&&Qe(v.value,i)}}}function it(r){{var i=r.type;if(i==null||typeof i=="string")return;var u;if(typeof i=="function")u=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===f||i.$$typeof===b))u=i.propTypes;else return;if(u){var m=D(i);Ur(u,r.props,"prop",m,r)}else if(i.PropTypes!==void 0&&!Ie){Ie=!0;var j=D(i);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",j||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(r){{for(var i=Object.keys(r.props),u=0;u<i.length;u++){var m=i[u];if(m!=="children"&&m!=="key"){re(r),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),re(null);break}}r.ref!==null&&(re(r),_("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}function er(r,i,u,m,j,C){{var v=ne(r);if(!v){var x="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(x+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O=nt(j);O?x+=O:x+=Xe();var N;r===null?N="null":Pe(r)?N="array":r!==void 0&&r.$$typeof===s?(N="<"+(D(r.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):N=typeof r,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,x)}var A=at(r,i,u,j,C);if(A==null)return A;if(v){var $=i.children;if($!==void 0)if(m)if(Pe($)){for(var te=0;te<$.length;te++)Ze($[te],r);Object.freeze&&Object.freeze($)}else _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ze($,r)}return r===a?lt(A):it(A),A}}function dt(r,i,u){return er(r,i,u,!0)}function ct(r,i,u){return er(r,i,u,!1)}var ut=ct,ft=dt;ue.Fragment=a,ue.jsx=ut,ue.jsxs=ft}()),ue}process.env.NODE_ENV==="production"?ze.exports=ht():ze.exports=xt();var l=ze.exports;function xr(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(s=0;s<n;s++)e[s]&&(t=xr(e[s]))&&(a&&(a+=" "),a+=t)}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function y(){for(var e,s,t=0,a="",n=arguments.length;t<n;t++)(e=arguments[t])&&(s=xr(e))&&(a&&(a+=" "),a+=s);return a}const Be="-";function yt(e){const s=wt(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;function n(d){const c=d.split(Be);return c[0]===""&&c.length!==1&&c.shift(),yr(c,s)||vt(d)}function o(d,c){const f=t[d]||[];return c&&a[d]?[...f,...a[d]]:f}return{getClassGroupId:n,getConflictingClassGroupIds:o}}function yr(e,s){var d;if(e.length===0)return s.classGroupId;const t=e[0],a=s.nextPart.get(t),n=a?yr(e.slice(1),a):void 0;if(n)return n;if(s.validators.length===0)return;const o=e.join(Be);return(d=s.validators.find(({validator:c})=>c(o)))==null?void 0:d.classGroupId}const ir=/^\[(.+)\]$/;function vt(e){if(ir.test(e)){const s=ir.exec(e)[1],t=s==null?void 0:s.substring(0,s.indexOf(":"));if(t)return"arbitrary.."+t}}function wt(e){const{theme:s,prefix:t}=e,a={nextPart:new Map,validators:[]};return Rt(Object.entries(e.classGroups),t).forEach(([o,d])=>{De(d,a,o,s)}),a}function De(e,s,t,a){e.forEach(n=>{if(typeof n=="string"){const o=n===""?s:lr(s,n);o.classGroupId=t;return}if(typeof n=="function"){if(jt(n)){De(n(a),s,t,a);return}s.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([o,d])=>{De(d,lr(s,o),t,a)})})}function lr(e,s){let t=e;return s.split(Be).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a)}),t}function jt(e){return e.isThemeGetter}function Rt(e,s){return s?e.map(([t,a])=>{const n=a.map(o=>typeof o=="string"?s+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([d,c])=>[s+d,c])):o);return[t,n]}):e}function kt(e){if(e<1)return{get:()=>{},set:()=>{}};let s=0,t=new Map,a=new Map;function n(o,d){t.set(o,d),s++,s>e&&(s=0,a=t,t=new Map)}return{get(o){let d=t.get(o);if(d!==void 0)return d;if((d=a.get(o))!==void 0)return n(o,d),d},set(o,d){t.has(o)?t.set(o,d):n(o,d)}}}const vr="!";function Ct(e){const s=e.separator,t=s.length===1,a=s[0],n=s.length;return function(d){const c=[];let f=0,p=0,g;for(let T=0;T<d.length;T++){let F=d[T];if(f===0){if(F===a&&(t||d.slice(T,T+n)===s)){c.push(d.slice(p,T)),p=T+n;continue}if(F==="/"){g=T;continue}}F==="["?f++:F==="]"&&f--}const b=c.length===0?d:d.substring(p),R=b.startsWith(vr),P=R?b.substring(1):b,z=g&&g>p?g-p:void 0;return{modifiers:c,hasImportantModifier:R,baseClassName:P,maybePostfixModifierPosition:z}}}function _t(e){if(e.length<=1)return e;const s=[];let t=[];return e.forEach(a=>{a[0]==="["?(s.push(...t.sort(),a),t=[]):t.push(a)}),s.push(...t.sort()),s}function Et(e){return M({cache:kt(e.cacheSize),splitModifiers:Ct(e)},yt(e))}const St=/\s+/;function Tt(e,s){const{splitModifiers:t,getClassGroupId:a,getConflictingClassGroupIds:n}=s,o=new Set;return e.trim().split(St).map(d=>{const{modifiers:c,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:g}=t(d);let b=a(g?p.substring(0,g):p),R=!!g;if(!b){if(!g)return{isTailwindClass:!1,originalClassName:d};if(b=a(p),!b)return{isTailwindClass:!1,originalClassName:d};R=!1}const P=_t(c).join(":");return{isTailwindClass:!0,modifierId:f?P+vr:P,classGroupId:b,originalClassName:d,hasPostfixModifier:R}}).reverse().filter(d=>{if(!d.isTailwindClass)return!0;const{modifierId:c,classGroupId:f,hasPostfixModifier:p}=d,g=c+f;return o.has(g)?!1:(o.add(g),n(f,p).forEach(b=>o.add(c+b)),!0)}).reverse().map(d=>d.originalClassName).join(" ")}function Nt(){let e=0,s,t,a="";for(;e<arguments.length;)(s=arguments[e++])&&(t=wr(s))&&(a&&(a+=" "),a+=t);return a}function wr(e){if(typeof e=="string")return e;let s,t="";for(let a=0;a<e.length;a++)e[a]&&(s=wr(e[a]))&&(t&&(t+=" "),t+=s);return t}function Pt(e,...s){let t,a,n,o=d;function d(f){const p=s.reduce((g,b)=>b(g),e());return t=Et(p),a=t.cache.get,n=t.cache.set,o=c,c(f)}function c(f){const p=a(f);if(p)return p;const g=Tt(f,t);return n(f,g),g}return function(){return o(Nt.apply(null,arguments))}}function E(e){const s=t=>t[e]||[];return s.isThemeGetter=!0,s}const jr=/^\[(?:([a-z-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,Ft=new Set(["px","full","screen"]),It=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ot=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function W(e){return K(e)||Ft.has(e)||At.test(e)}function U(e){return se(e,"length",Yt)}function K(e){return!!e&&!Number.isNaN(Number(e))}function Ce(e){return se(e,"number",K)}function fe(e){return!!e&&Number.isInteger(Number(e))}function Bt(e){return e.endsWith("%")&&K(e.slice(0,-1))}function h(e){return jr.test(e)}function H(e){return It.test(e)}const $t=new Set(["length","size","percentage"]);function Lt(e){return se(e,$t,Rr)}function Vt(e){return se(e,"position",Rr)}const Wt=new Set(["image","url"]);function qt(e){return se(e,Wt,Ht)}function Gt(e){return se(e,"",Ut)}function pe(){return!0}function se(e,s,t){const a=jr.exec(e);return a?a[1]?typeof s=="string"?a[1]===s:s.has(a[1]):t(a[2]):!1}function Yt(e){return Mt.test(e)&&!Ot.test(e)}function Rr(){return!1}function Ut(e){return zt.test(e)}function Ht(e){return Dt.test(e)}function Jt(){const e=E("colors"),s=E("spacing"),t=E("blur"),a=E("brightness"),n=E("borderColor"),o=E("borderRadius"),d=E("borderSpacing"),c=E("borderWidth"),f=E("contrast"),p=E("grayscale"),g=E("hueRotate"),b=E("invert"),R=E("gap"),P=E("gradientColorStops"),z=E("gradientColorStopPositions"),T=E("inset"),F=E("margin"),I=E("opacity"),_=E("padding"),ge=E("saturate"),ae=E("scale"),me=E("sepia"),be=E("skew"),he=E("space"),xe=E("translate"),Z=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",h,s],k=()=>[h,s],D=()=>["",W,U],B=()=>["auto",K,h],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],ee=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",h],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[K,Ce],X=()=>[K,h];return{cacheSize:500,separator:":",theme:{colors:[pe],spacing:[W,U],blur:["none","",H,h],brightness:Y(),borderColor:[e],borderRadius:["none","","full",H,h],borderSpacing:k(),borderWidth:D(),contrast:Y(),grayscale:G(),hueRotate:X(),invert:G(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Bt,U],inset:oe(),margin:oe(),opacity:Y(),padding:k(),saturate:Y(),scale:Y(),sepia:G(),skew:X(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...q(),h]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fe,h]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",fe,h]}],"grid-cols":[{"grid-cols":[pe]}],"col-start-end":[{col:["auto",{span:["full",fe,h]},h]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[pe]}],"row-start-end":[{row:["auto",{span:[fe,h]},h]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[F]}],mx:[{mx:[F]}],my:[{my:[F]}],ms:[{ms:[F]}],me:[{me:[F]}],mt:[{mt:[F]}],mr:[{mr:[F]}],mb:[{mb:[F]}],ml:[{ml:[F]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,s]}],"min-w":[{"min-w":[h,s,"min","max","fit"]}],"max-w":[{"max-w":[h,s,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[h,s,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,s,"auto","min","max","fit"]}],"font-size":[{text:["base",H,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ce]}],"font-family":[{font:[pe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",h]}],"line-clamp":[{"line-clamp":["none",K,Ce]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,U]}],"underline-offset":[{"underline-offset":["auto",W,h]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},qt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:J()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[W,h]}],"outline-w":[{outline:[W,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[W,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,Gt]}],"shadow-color":[{shadow:[pe]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[a]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",H,h]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[b]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[me]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ae]}],"scale-x":[{"scale-x":[ae]}],"scale-y":[{"scale-y":[ae]}],rotate:[{rotate:[fe,h]}],"translate-x":[{"translate-x":[xe]}],"translate-y":[{"translate-y":[xe]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,U,Ce]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const w=Pt(Jt),dr={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Text-secondary ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-black hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-black active:ds-border active:ds-border-Fills-black focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-quadrutery disabled:ds-text-Text-tertiary",tertiary:"ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",quaternary:"ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",small:"ds-py-space075 ds-px-space400",large:"ds-py-space150 ds-px-space400"},_e=S.forwardRef((d,o)=>{var c=d,{color:e="primary",size:s="small",disabled:t=!1,className:a}=c,n=L(c,["color","size","disabled","className"]);return l.jsx("button",M({ref:o,disabled:t,className:w(y(dr[e],dr[s],a))},n))});_e.displayName="Button";const Ee=S.forwardRef(({className:e=""},s)=>{const a=w("ds-text-System-red ds-ms-[2px]",e);return l.jsx("span",{className:a,ref:s,children:"*"})});Ee.displayName="Asteric";const cr="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%23FF453A'/%3e%3cpath%20d='M4.452%207.978h1.821a.316.316%200%201%200%200-.631h-.555V5.069c0-.242-.12-.403-.349-.403h-.841a.316.316%200%201%200%200%20.631h.479v2.05h-.555a.316.316%200%201%200%200%20.631zm.743-4.055c.326%200%20.582-.26.582-.587a.582.582%200%201%200-1.164%200c0%20.327.26.587.582.587z'%20fill='%23FF453A'/%3e%3c/svg%3e",ur="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%2328CD41'/%3e%3cpath%20d='M5.242%207.713a.42.42%200%200%200%20.363-.21L7.65%204.283c.05-.09.108-.188.108-.286%200-.202-.18-.332-.367-.332-.112%200-.224.072-.31.202l-1.857%202.98-.881-1.14c-.108-.144-.206-.18-.332-.18a.347.347%200%200%200-.344.354c0%20.099.04.193.103.278l1.092%201.342c.112.148.233.21.38.21z'%20fill='%2328CD41'/%3e%3c/svg%3e",fr={primary:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",primaryRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",success:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",error:"ds-bg-System-red ds-bg-opacity-[0.1] ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",errorRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",disabled:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-quintiary ds-cursor-not-allowed ds-rounded-sm hover:ds-border-Fills-quintiary active:ds-text-Text-primary active:ds-border-Fills-quintiary focus:ds-border-Fills-quintiary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]"},pr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},gr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-flex ds-flex-row ds-items-center ds-justify-start ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},kr=S.forwardRef((R,b)=>{var P=R,{color:e="primary",disabled:s=!1,textarea:t=!1,label:a,required:n=!1,caption:o,labelClass:d,InputDivClass:c,captionClass:f,className:p}=P,g=L(P,["color","disabled","textarea","label","required","caption","labelClass","InputDivClass","captionClass","className"]);return t?l.jsx(l.Fragment,{children:l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-desktop:MediumSubheadRegular ds-mb-space075",d,pr[e]),children:[a," ",n&&l.jsx(Ee,{})]}),l.jsx("textarea",M({disabled:s,className:w(y(fr[e],p))},g)),o&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(y("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(y("ds-me-1"))}),o]})]})}):l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-mb-space075",d,pr[e]),children:[a," ",n&&l.jsx(Ee,{})]}),l.jsx("input",M({ref:b,disabled:s,className:w(y(fr[e],p))},g)),o&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:ds-text-mediumCaption1Regular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(y("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(y("ds-me-1"))}),o]})]})});kr.displayName="Input";function Cr(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e))for(s=0;s<e.length;s++)e[s]&&(t=Cr(e[s]))&&(a&&(a+=" "),a+=t);else for(s in e)e[s]&&(a&&(a+=" "),a+=s);return a}function Xt(){for(var e,s,t=0,a="";t<arguments.length;)(e=arguments[t++])&&(s=Cr(e))&&(a&&(a+=" "),a+=s);return a}const mr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,br=Xt,_r=(e,s)=>t=>{var a;if((s==null?void 0:s.variants)==null)return br(e,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:n,defaultVariants:o}=s,d=Object.keys(n).map(p=>{const g=t==null?void 0:t[p],b=o==null?void 0:o[p];if(g===null)return null;const R=mr(g)||mr(b);return n[p][R]}),c=t&&Object.entries(t).reduce((p,g)=>{let[b,R]=g;return R===void 0||(p[b]=R),p},{}),f=s==null||(a=s.compoundVariants)===null||a===void 0?void 0:a.reduce((p,g)=>{let z=g,{class:b,className:R}=z,P=L(z,["class","className"]);return Object.entries(P).every(T=>{let[F,I]=T;return Array.isArray(I)?I.includes(M(M({},o),c)[F]):M(M({},o),c)[F]===I})?[...p,b,R]:p},[]);return br(e,d,f,t==null?void 0:t.class,t==null?void 0:t.className)},Kt=_r("ds-border ds-text-text-primary",{variants:{cardType:{default:"ds-shadow-none",shadowCard:"ds-shadow-card"}},defaultVariants:{cardType:"default"}}),Er=Q.forwardRef((n,a)=>{var o=n,{className:e,cardType:s}=o,t=L(o,["className","cardType"]);return l.jsx("div",M({ref:a,className:w(y(Kt({cardType:s,className:e}),"ds-rounded"),e)},t))});Er.displayName="Card";const Sr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-flex ds-flex-col ds-pt-space300 ds-pb-space200 ds-px-space300",e))},s))});Sr.displayName="CardHeader";const Tr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-medium",e))},s))});Tr.displayName="Title";const Nr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-regular",e))},s))});Nr.displayName="Description";const Pr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300 ",e))},s))});Pr.displayName="Content";const Ar=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300",e))},s))});Ar.displayName="Footer";const Qt=_r("ds-grid ds-zero:ds-grid-cols-4 ds-gap-x-8 ds-mobile:ds-grid-cols-4 ds-tablet:ds-grid-cols-6 ds-desktop:ds-grid-cols-12 ds-wide_desktop:ds-grid-cols-12 ds-w-full",{variants:{display:{grid:"ds-grid",inlineGrid:"ds-inline-grid"},gap:{gap0:"ds-gap0",gap100:"ds-gap-100",gap150:"ds-gap-150",gap200:"ds-gap-200",gap300:"ds-gap-300",gap400:"ds-gap-400",gap600:"ds-gap-600",gap800:"ds-gap-800",gap1000:"ds-gap-1000",gap1200:"ds-gap-1200",gap1600:"ds-gap-1600",gap2000:"ds-gap-2000"},gapX:{gap0:"ds-gap-x-0",gap100:"ds-gap-x-100",gap150:"ds-gap-x-150",gap200:"ds-gap-x-200",gap300:"ds-gap-x-300",gap400:"ds-gap-x-400",gap600:"ds-gap-x-600",gap800:"ds-gap-x-800",gap1000:"ds-gap-x-1000",gap1200:"ds-gap-x-1200",gap1600:"ds-gap-x-1600",gap2000:"ds-gap-x-2000"},gapY:{gap0:"ds-gap-y-0",gap100:"ds-gap-y-100",gap150:"ds-gap-y-150",gap200:"ds-gap-y-200",gap300:"ds-gap-y-300",gap400:"ds-gap-y-400",gap600:"ds-gap-y-600",gap800:"ds-gap-y-800",gap1000:"ds-gap-y-1000",gap1200:"ds-gap-y-1200",gap1600:"ds-gap-y-1600",gap2000:"ds-gap-y-2000"},justifyContent:{normal:"ds-justify-normal",start:"ds-justify-start",end:"ds-justify-end",center:"ds-justify-center",between:"ds-justify-between",around:"ds-justify-around",evenly:"ds-justify-evenly",stretch:"ds-justify-stretch"},justifyItems:{start:"ds-justify-items-start",end:"ds-justify-items-end",center:"ds-justify-items-center",stretch:"ds-justify-items-stretch"},alignContent:{normal:"ds-content-normal",center:"ds-content-center",start:"ds-content-start",end:"ds-content-end",between:"ds-content-between",around:"ds-content-around",evenly:"ds-content-evenly",baseline:"ds-content-baseline",stretch:"ds-content-stretch"},alignItems:{start:"ds-items-start",end:"ds-items-end",center:"ds-items-center",baseline:"ds-items-baseline",stretch:"ds-items-stretch"},placeContent:{center:"ds-place-content-center",start:"ds-place-content-start",end:"ds-place-content-end",between:"ds-place-content-between",around:"ds-place-content-around",evenly:"ds-place-content-evenly",baseline:"ds-place-content-baseline",stretch:"ds-place-content-stretch"},placeItems:{start:"ds-place-items-start",end:"ds-place-items-end",center:"ds-place-items-center",baseline:"ds-place-items-baseline",stretch:"ds-place-items-stretch"}}}),Fr=Q.forwardRef((n,a)=>{var o=n,{className:e,children:s}=o,t=L(o,["className","children"]);return l.jsx("div",Oe(M({className:w(y(Qt({display:t==null?void 0:t.display,gap:t==null?void 0:t.gap,gapX:t==null?void 0:t.gapX,gapY:t==null?void 0:t.gapY,justifyContent:t==null?void 0:t.justifyContent,justifyItems:t==null?void 0:t.justifyItems,alignContent:t==null?void 0:t.alignContent,alignItems:t==null?void 0:t.alignItems,placeContent:t==null?void 0:t.placeContent,placeItems:t==null?void 0:t.placeItems,className:e}))),ref:a},t),{children:s}))});Fr.displayName="Grid";const hr=e=>{let s="";switch(e){case"STANDARD":case"STANDARD_LINE_SEPARATED":s="ds-font-semibold ds-text-Text-primary ds_xSmallBodyEmphasized ds-tablet:ds_SmallBodyEmphasized ds-desktop:ds_MediumCalloutEmphasized";break;case"DISCOUNT":s="ds-font-normal ds-text-teal-400 ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break;case"FEE":case"TAX":s="ds-font-normal ds-text-Text-secondary ds_xSmallCalloutRegular ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break}return s},Ir=S.forwardRef(({className:e,items:s,isExpandedInMobile:t},a)=>{const[n,o]=S.useState(!1);return S.useEffect(()=>{t&&o(t)},[t]),l.jsxs("div",{className:w(y(e,"ds-w-full ds-flex ds-flex-col")),ref:a,children:[l.jsx("div",{children:s.length>0&&s.map((d,c)=>{var f;return l.jsx("div",{children:l.jsxs("div",{className:y(d.key_name!=="total_amount"&&"line-items",n===!0&&"show"),children:[d.type==="STANDARD_LINE_SEPARATED"&&l.jsx("hr",{className:"ds-mt-3 ds-mb-1"}),l.jsxs("div",{className:y("ds-flex ds-flex-row ds-justify-between",c>0&&"ds-mt-2",c!==s.length&&d.type==="STANDARD_LINE_SEPARATED"&&"ds-mb-1"),children:[l.jsx("span",{className:y("ds-me-3",d.key_name!=="total_amount"&&hr(d.type),((f=d.display_name)==null?void 0:f.toLocaleLowerCase())==="vat"&&"ds-uppercase",d.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized"),children:d.display_name}),l.jsx("span",{className:y(!["total_amount"].includes(d.key_name)&&d.type!=="SLASHED"&&hr(d.type),d.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized",d.type==="SLASHED"&&"ds-line-through ds-font-normal ds-text-Text-secondary"),children:d.currency_converted_amount})]})]})},`BookingQuoteLineItemType-${c}`)})}),l.jsx("div",{children:l.jsxs("span",{className:"ds-flex ds-mt-3 ds-justify-end ds-items-center ds-text-Background-accentEggplant-100 ds-underline ds-cursor-pointer ds_xSmallFootnoteEmphasized ds-tablet:ds-hidden",onClick:()=>o(!n),children:["See ",n?"less":"details"]})})]})});Ir.displayName="Booking_Quote_Card";const Zt="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23cr9x6s95oa)'%3e%3cpath%20d='M4.222%206.738c0%20.13.05.246.152.345l4.302%204.057a.475.475%200%200%200%20.353.141c.282%200%20.5-.204.5-.476a.483.483%200%200%200-.147-.34l-3.95-3.727%203.95-3.727a.493.493%200%200%200%20.146-.34c0-.273-.217-.477-.499-.477a.492.492%200%200%200-.353.136L4.374%206.392a.455.455%200%200%200-.152.346z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='cr9x6s95oa'%3e%3cpath%20fill='%23fff'%20transform='translate(.333%20.05)'%20d='M0%200h13.333v12.864H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",es="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.084%206.738a.46.46%200%200%200-.158-.346L5.63%202.33a.514.514%200%200%200-.358-.136.477.477%200%200%200-.353.817l3.95%203.727-3.95%203.727a.477.477%200%200%200%20.353.817c.14%200%20.26-.048.358-.142l4.296-4.057a.47.47%200%200%200%20.158-.345z'%20fill='%23fff'/%3e%3c/svg%3e",Mr=S.forwardRef(({images:e})=>{const[s,t]=S.useState(0),a=()=>{t(o=>o===e.length-1?0:o+1)},n=()=>{t(o=>o===0?e.length-1:o-1)};return l.jsx(l.Fragment,{children:l.jsxs("div",{className:"ds-relative ds-rounded-[4px] ds-w-full",children:[e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-left-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:n,children:l.jsx("img",{src:Zt,alt:"prev"})}),l.jsx("div",{className:"picture ds-w-full ds-rounded-[4px]",style:{backgroundImage:`url(${e[s]})`}}),e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-right-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:a,children:l.jsx("img",{src:es,alt:"next"})}),e.length>1&&l.jsx("ul",{className:"ds-absolute ds-flex ds-flex-row ds-bottom-1 ds-left-1/2 -ds-translate-x-1/2 ds-z-10",children:e.map((o,d)=>l.jsx("li",{"aria-description":o,className:w(y("ds-w-[5px] ds-h-[4px] ds-block ds-z-10 ds-mx-[2.5px] ds-rounded-[1px]",d!==s&&"ds-bg-[rgba(255,255,255,0.5)]",d===s&&"ds-bg-[rgba(255,255,255,0.8)]"))},d))})]})})});Mr.displayName="Image_Carousel";const Or=S.forwardRef(({title:e,content:s,expandIcon:t,collapseIcon:a,accordionClass:n,accordionHeaderClass:o,accordionTitleClass:d,accordionContentClass:c,isEnabled:f=!0,isExpanded:p=!0},g)=>{const[b,R]=S.useState(p),P=()=>{f&&R(!b)};return S.useEffect(()=>{f&&R(p)},[f,p]),l.jsxs("div",{className:w(y("silkhaus-accordion",n)),ref:g,children:[l.jsxs("div",{className:w(y("silkhaus-accordion-header ds-flex ds-flex-row ds-justify-between ds-items-center",o,!f&&"ds-cursor-not-allowed",f&&"ds-cursor-pointer")),onClick:P,children:[l.jsx("div",{className:w(y(d)),children:e}),b?a||"-":t||"+"]}),b&&l.jsx("div",{className:w(y("silkhaus-accordion-content",c)),children:s})]})});Or.displayName="Accordion";function rs(...e){return w(y(e))}const zr=S.forwardRef(({checked:e=!1,onChange:s,disabled:t=!1,htmlId:a="wa"},n)=>l.jsxs("label",{className:rs("switch",t&&"disabled"),htmlFor:a,children:[l.jsx("input",{id:a,type:"checkbox",checked:e,onChange:s,ref:n,disabled:t}),l.jsx("span",{className:"slider round",style:{opacity:t?.5:1,cursor:t?"not-allowed":"pointer"}})]}));zr.displayName="Switch";const Dr=S.forwardRef((e,s)=>{const o=e,{open:t,children:a}=o,n=L(o,["open","children"]);return l.jsx("div",Oe(M({ref:s,className:`dialog ${t?"open":""}`},n),{children:a}))});Dr.displayName="Dialog";const Br=S.forwardRef(({outerDivClassName:e="",banner:s="",title:t,description:a,primaryBtnText:n="Submit",showPrimaryBtn:o,secondaryBtnText:d="Cancel",showSecondaryBtn:c,onPrimaryBtnClick:f,onSecondaryBtnClick:p,disablePrimaryBtn:g=!1,disableSecondaryBtn:b=!1},R)=>l.jsx("div",{className:w(e),children:l.jsxs("div",{className:w(y("ds-bg-white ds-w-full ds-wide_ds-desktop:ds-w-[528px] ds-desktop:ds-w-[528px] ds-tablet:ds-w-[528px] ds-border ds-rounded",s&&"ds-p-6")),ref:R,children:[s&&l.jsx("div",{className:"ds-mb-4 ds-bg-Background-accentEggplant-5 banner",style:{backgroundImage:`url(${s})`}}),l.jsxs("div",{className:y(!s&&"ds-p-6 ds-border-t-4 ds-rounded-s ds-rounded-e ds-border-Background-accentEggplant-100"),children:[l.jsxs("div",{children:[l.jsx("h2",{className:y("ds_MediumTitle1Emphasized ds-text-black ds-mb-0 ds-pb-4",s&&"ds-border-t-2 ds-border-Background-accentEggplant-100 ds-pt-4"),children:t}),a&&l.jsx("span",{className:"ds-text-black MediumBodyRegular",children:a})]}),l.jsxs("div",{className:y("ds-flex ds-flex-col ds-pt-4 ds-tablet:ds-grid ds-tablet:ds-grid-flow-row ds-tablet:ds-grid-cols-2 ds-tablet:ds-gap-x-4 ds-tablet:ds-flex-row",o&&c&&"ds-tablet:ds-justify-between ds-items-center",o&&!c&&"ds-tablet:ds-justify-end ds-items-center"),children:[l.jsx("div",{className:"ds-tablet:ds-mt-0 ds-mt-4 ds-w-full ds-tablet:ds-w-auto ds-flex ds-flex-col ds-order-2 ds-tablet:ds-order-1",children:c&&l.jsx(_e,{color:"secondary",onClick:p,disabled:b,className:"ds_MediumBodyEmphasized",size:"large",children:d})}),l.jsx("div",{className:"ds-w-full ds-flex ds-flex-col ds-tablet:ds-w-auto ds-order-1 ds-tablet:ds-order-2",children:o&&l.jsx(_e,{color:"primary",onClick:f,disabled:g,className:"ds_MediumBodyEmphasized",size:"large",children:n})})]})]})]})}));Br.displayName="AlertDialog";const ts="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23jy0s9xho2a)'%3e%3cpath%20d='M6.647%2012.969a.925.925%200%200%200%20.82-.431l5.586-8.641c.14-.215.196-.405.196-.586%200-.475-.345-.811-.827-.811-.338%200-.54.116-.745.437l-5.054%208.009-2.589-3.28c-.193-.247-.4-.353-.692-.353-.492%200-.842.348-.842.825%200%20.207.071.404.247.614l3.088%203.81c.226.276.478.407.812.407z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='jy0s9xho2a'%3e%3cpath%20fill='%23fff'%20transform='translate(.667%20.667)'%20d='M0%200h14.667v14.667H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$e=S.forwardRef(({progress:e,text:s="",borderColor:t="rgba(0, 0, 0, 0.1)",progressColor:a="#542686",size:n="48px",strokeWidth:o=3,textClass:d=""},c)=>{const f=parseInt(n)/2-4,p=2*Math.PI*f,g=p-e*p;return l.jsxs("div",{ref:c,className:"rounded-progress-bar",style:{"--progress":e,"--border-color":t,"--progress-color":a,width:n,height:n},children:[l.jsx("span",{className:w(y("ds-absolute ds-top-1/2 ds-left-1/2 -ds-translate-x-1/2 -ds-translate-y-1/2 ds_SmallCaption2Emphasized ds-text-nowrap",d)),children:s}),l.jsx("div",{className:"progress-ring",children:l.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,children:[l.jsx("circle",{className:"progress-ring-circle",stroke:"var(--border-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString()}),l.jsx("circle",{className:"progress-ring-circle-progress",stroke:"var(--progress-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString(),strokeDasharray:`${p}`,strokeDashoffset:`${g}`})]})})]})});$e.displayName="RoundedProgressBar";const $r=S.forwardRef(({steps:e,outerDivClass:s="",outerMobileDivClass:t=""},a)=>{var o,d;let n=0;for(let c=0;c<e.length;c++)(((o=e[c])==null?void 0:o.status)==="completed"||((d=e[c])==null?void 0:d.status)==="active")&&n++;return l.jsxs(l.Fragment,{children:[l.jsx("div",{ref:a,className:w(y("ds-hidden ds-tablet:ds-block ds-relative ds-h-[72px]",s)),children:l.jsxs("div",{className:"ds-relative ds-w-full ds-flex ds-items-center ds-flex-row ds-justify-between",children:[l.jsx("div",{className:"ds-absolute ds-left-0 ds-top-2/4 ds-h-0.5 ds-w-full -translate-y-2/4 ds-bg-Fills-quintiary"}),e.map((c,f)=>l.jsxs("div",{className:"ds-relative",children:[l.jsx("div",{className:`ds-flex ds-items-center ds-justify-center ds-w-[22px] ds-h-[22px] ds-rounded ds-border ds-border-Background-accentEggplant-100 ${c.status==="active"||c.status==="completed"?"ds-bg-Background-accentEggplant-100":"ds-bg-white"}
|
|
28
28
|
`,children:c.status==="completed"?l.jsx("span",{className:"ds-text-white ds-flex ds-justify-center ds-items-center",children:l.jsx("img",{src:ts,alt:"check-icon"})}):l.jsx("span",{className:`ds_MediumCaption2Emphasized ${c.status==="active"?"ds-text-white":"ds-text-gray-600"}`,children:c.number})}),l.jsx("div",{className:"ds-text-black ds-block ds_MediumCaption2Regular ds-mt-2 ds-absolute ds-text-nowrap ds-left-1/2 -ds-translate-x-1/2",children:c.title})]},f))]})}),l.jsx("div",{ref:a,className:w(y("ds-block ds-tablet:ds-hidden",t)),children:e.map((c,f)=>(c.status==="active"||c.status==="completed"&&f+1==e.length)&&l.jsxs("div",{className:"ds-flex ds-flex-row ds-justify-between ds-items-center",children:[l.jsx($e,{progress:n/e.length,text:`${f+1} / ${e.length}`}),l.jsxs("div",{className:"ds-flex ds-flex-col ds-justify-end ds-items-end",children:[l.jsx("span",{className:"ds_SmallCalloutEmphasized",children:`Step ${f+1}: ${c==null?void 0:c.mobileTitle}`}),l.jsx("span",{className:"ds_SmallCaption2Regular ds-text-Text-secondary ds-mt-2",children:`Next: ${c==null?void 0:c.mobileNextTitle}`})]})]},`mobile-stepper-${f}`))})]})});$r.displayName="Stepper";const ss="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23rma6vptgva)'%20fill='%23000'%20fill-opacity='.85'%3e%3cpath%20d='M5.727%2010.882h4.265a.563.563%200%200%200%20.572-.572V4.804a.562.562%200%200%200-.572-.564.555.555%200%200%200-.564.564v4.943h-3.7a.557.557%200%200%200-.573.563c0%20.327.245.572.572.572z'/%3e%3cpath%20d='M10%2018.333c4.559%200%208.333-3.782%208.333-8.333%200-4.559-3.782-8.333-8.341-8.333-4.55%200-8.325%203.774-8.325%208.333%200%204.55%203.782%208.333%208.333%208.333zm0-1.389A6.91%206.91%200%200%201%203.064%2010a6.904%206.904%200%200%201%206.928-6.944A6.925%206.925%200%200%201%2016.945%2010%206.918%206.918%200%200%201%2010%2016.944z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='rma6vptgva'%3e%3cpath%20fill='%23fff'%20d='M0%200h20v20H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Lr=S.forwardRef(({time:e,text:s="",outerDivClass:t=""},a)=>{const[n,o]=S.useState(e);S.useEffect(()=>{const f=setInterval(()=>{o(p=>p<=1?(clearInterval(f),0):p-1)},1e3);return()=>{clearInterval(f)}},[n]),S.useEffect(()=>{o(e)},[e]);const c=(f=>{const p=Math.floor(f/3600),g=Math.floor(f%3600/60),b=f%60;return`${String(p).padStart(2,"0")}:${String(g).padStart(2,"0")}:${String(b).padStart(2,"0")}`})(n);return l.jsxs("div",{ref:a,className:w(y("ds-flex ds-flex-row ds-justify-start ds-items-center",t)),children:[l.jsx("img",{src:ss,alt:"clock",className:"ds-w-5 ds-h-5"}),l.jsx("div",{className:"ds-ms-[18px] ds-tablet:ds-ms-2 ds_xSmallCalloutEmphasized ds-tablet:ds_MediumCalloutEmphasized",children:s}),l.jsx("div",{className:"ds-ms-1 ds_xSmallCalloutEmphasized ds-text-Background-accentTeal-100 ds-tablet:ds_MediumCalloutEmphasized",children:c})]})});Lr.displayName="Timer";exports.Accordion=Or;exports.AlertDialog=Br;exports.Asterisk=Ee;exports.BookingQuoteCard=Ir;exports.Button=_e;exports.Card=Er;exports.CardContent=Pr;exports.CardDescription=Nr;exports.CardFooter=Ar;exports.CardHeader=Sr;exports.CardTitle=Tr;exports.Dialog=Dr;exports.Grid=Fr;exports.ImageCarousel=Mr;exports.Input=kr;exports.RoundedProgressBar=$e;exports.Stepper=$r;exports.Switch=zr;exports.Timer=Lr;
|