design-system-silkhaus 0.0.87-beta.weekly-cleaning.3 → 0.0.87-beta.weekly-cleaning.5

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 CHANGED
@@ -28,4 +28,4 @@ Check the top-level render call using <`+f+">.")}return c}}function rt(t,c){{if(
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
30
  <%s key={someKey} {...props} />`,Oe,te,Er,te),at[te+Oe]=!0}}return t===a?vr(M):hr(M),M}}function yr(t,c,f){return nt(t,c,f,!0)}function wr(t,c,f){return nt(t,c,f,!1)}var jr=wr,kr=yr;he.Fragment=a,he.jsx=jr,he.jsxs=kr}()),he}process.env.NODE_ENV==="production"?De.exports=Nr():De.exports=Br();var n=De.exports;function kt(e){var s,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(s=0;s<d;s++)e[s]&&(r=kt(e[s]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function w(){for(var e,s,r=0,a="",d=arguments.length;r<d;r++)(e=arguments[r])&&(s=kt(e))&&(a&&(a+=" "),a+=s);return a}const qe="-";function Pr(e){const s=zr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;function d(l){const i=l.split(qe);return i[0]===""&&i.length!==1&&i.shift(),Et(i,s)||Ar(l)}function o(l,i){const u=r[l]||[];return i&&a[l]?[...u,...a[l]]:u}return{getClassGroupId:d,getConflictingClassGroupIds:o}}function Et(e,s){var l;if(e.length===0)return s.classGroupId;const r=e[0],a=s.nextPart.get(r),d=a?Et(e.slice(1),a):void 0;if(d)return d;if(s.validators.length===0)return;const o=e.join(qe);return(l=s.validators.find(({validator:i})=>i(o)))==null?void 0:l.classGroupId}const ut=/^\[(.+)\]$/;function Ar(e){if(ut.test(e)){const s=ut.exec(e)[1],r=s==null?void 0:s.substring(0,s.indexOf(":"));if(r)return"arbitrary.."+r}}function zr(e){const{theme:s,prefix:r}=e,a={nextPart:new Map,validators:[]};return Fr(Object.entries(e.classGroups),r).forEach(([o,l])=>{$e(l,a,o,s)}),a}function $e(e,s,r,a){e.forEach(d=>{if(typeof d=="string"){const o=d===""?s:ft(s,d);o.classGroupId=r;return}if(typeof d=="function"){if(Mr(d)){$e(d(a),s,r,a);return}s.validators.push({validator:d,classGroupId:r});return}Object.entries(d).forEach(([o,l])=>{$e(l,ft(s,o),r,a)})})}function ft(e,s){let r=e;return s.split(qe).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r}function Mr(e){return e.isThemeGetter}function Fr(e,s){return s?e.map(([r,a])=>{const d=a.map(o=>typeof o=="string"?s+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,i])=>[s+l,i])):o);return[r,d]}):e}function Ir(e){if(e<1)return{get:()=>{},set:()=>{}};let s=0,r=new Map,a=new Map;function d(o,l){r.set(o,l),s++,s>e&&(s=0,a=r,r=new Map)}return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=a.get(o))!==void 0)return d(o,l),l},set(o,l){r.has(o)?r.set(o,l):d(o,l)}}}const St="!";function Or(e){const s=e.separator,r=s.length===1,a=s[0],d=s.length;return function(l){const i=[];let u=0,g=0,p;for(let N=0;N<l.length;N++){let A=l[N];if(u===0){if(A===a&&(r||l.slice(N,N+d)===s)){i.push(l.slice(g,N)),g=N+d;continue}if(A==="/"){p=N;continue}}A==="["?u++:A==="]"&&u--}const m=i.length===0?l:l.substring(g),h=m.startsWith(St),T=h?m.substring(1):m,I=p&&p>g?p-g:void 0;return{modifiers:i,hasImportantModifier:h,baseClassName:T,maybePostfixModifierPosition:I}}}function Dr(e){if(e.length<=1)return e;const s=[];let r=[];return e.forEach(a=>{a[0]==="["?(s.push(...r.sort(),a),r=[]):r.push(a)}),s.push(...r.sort()),s}function $r(e){return F({cache:Ir(e.cacheSize),splitModifiers:Or(e)},Pr(e))}const Lr=/\s+/;function qr(e,s){const{splitModifiers:r,getClassGroupId:a,getConflictingClassGroupIds:d}=s,o=new Set;return e.trim().split(Lr).map(l=>{const{modifiers:i,hasImportantModifier:u,baseClassName:g,maybePostfixModifierPosition:p}=r(l);let m=a(p?g.substring(0,p):g),h=!!p;if(!m){if(!p)return{isTailwindClass:!1,originalClassName:l};if(m=a(g),!m)return{isTailwindClass:!1,originalClassName:l};h=!1}const T=Dr(i).join(":");return{isTailwindClass:!0,modifierId:u?T+St:T,classGroupId:m,originalClassName:l,hasPostfixModifier:h}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:i,classGroupId:u,hasPostfixModifier:g}=l,p=i+u;return o.has(p)?!1:(o.add(p),d(u,g).forEach(m=>o.add(i+m)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function Vr(){let e=0,s,r,a="";for(;e<arguments.length;)(s=arguments[e++])&&(r=_t(s))&&(a&&(a+=" "),a+=r);return a}function _t(e){if(typeof e=="string")return e;let s,r="";for(let a=0;a<e.length;a++)e[a]&&(s=_t(e[a]))&&(r&&(r+=" "),r+=s);return r}function Wr(e,...s){let r,a,d,o=l;function l(u){const g=s.reduce((p,m)=>m(p),e());return r=$r(g),a=r.cache.get,d=r.cache.set,o=i,i(u)}function i(u){const g=a(u);if(g)return g;const p=qr(u,r);return d(u,p),p}return function(){return o(Vr.apply(null,arguments))}}function R(e){const s=r=>r[e]||[];return s.isThemeGetter=!0,s}const Ct=/^\[(?:([a-z-]+):)?(.+)\]$/i,Gr=/^\d+\/\d+$/,Yr=new Set(["px","full","screen"]),Ur=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hr=/\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$/,Jr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Xr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Kr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function G(e){return se(e)||Yr.has(e)||Gr.test(e)}function J(e){return ce(e,"length",ns)}function se(e){return!!e&&!Number.isNaN(Number(e))}function Re(e){return ce(e,"number",se)}function ve(e){return!!e&&Number.isInteger(Number(e))}function Qr(e){return e.endsWith("%")&&se(e.slice(0,-1))}function x(e){return Ct.test(e)}function X(e){return Ur.test(e)}const Zr=new Set(["length","size","percentage"]);function es(e){return ce(e,Zr,Rt)}function ts(e){return ce(e,"position",Rt)}const rs=new Set(["image","url"]);function ss(e){return ce(e,rs,ds)}function as(e){return ce(e,"",os)}function ye(){return!0}function ce(e,s,r){const a=Ct.exec(e);return a?a[1]?typeof s=="string"?a[1]===s:s.has(a[1]):r(a[2]):!1}function ns(e){return Hr.test(e)&&!Jr.test(e)}function Rt(){return!1}function os(e){return Xr.test(e)}function ds(e){return Kr.test(e)}function ls(){const e=R("colors"),s=R("spacing"),r=R("blur"),a=R("brightness"),d=R("borderColor"),o=R("borderRadius"),l=R("borderSpacing"),i=R("borderWidth"),u=R("contrast"),g=R("grayscale"),p=R("hueRotate"),m=R("invert"),h=R("gap"),T=R("gradientColorStops"),I=R("gradientColorStopPositions"),N=R("inset"),A=R("margin"),P=R("opacity"),v=R("padding"),W=R("saturate"),B=R("scale"),Q=R("sepia"),ne=R("skew"),we=R("space"),je=R("translate"),oe=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",x,s],_=()=>[x,s],L=()=>["",G,J],q=()=>["auto",se,x],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",x],pe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[se,Re],ee=()=>[se,x];return{cacheSize:500,separator:":",theme:{colors:[ye],spacing:[G,J],blur:["none","",X,x],brightness:H(),borderColor:[e],borderRadius:["none","","full",X,x],borderSpacing:_(),borderWidth:L(),contrast:H(),grayscale:U(),hueRotate:ee(),invert:U(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[Qr,J],inset:fe(),margin:fe(),opacity:H(),padding:_(),saturate:H(),scale:H(),sepia:U(),skew:ee(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",x]}],container:["container"],columns:[{columns:[X]}],"break-after":[{"break-after":pe()}],"break-before":[{"break-before":pe()}],"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:[...Y(),x]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[N]}],"inset-x":[{"inset-x":[N]}],"inset-y":[{"inset-y":[N]}],start:[{start:[N]}],end:[{end:[N]}],top:[{top:[N]}],right:[{right:[N]}],bottom:[{bottom:[N]}],left:[{left:[N]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ve,x]}],basis:[{basis:fe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",x]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",ve,x]}],"grid-cols":[{"grid-cols":[ye]}],"col-start-end":[{col:["auto",{span:["full",ve,x]},x]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[ye]}],"row-start-end":[{row:["auto",{span:[ve,x]},x]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",x]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",x]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...de()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...de(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...de(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[A]}],mx:[{mx:[A]}],my:[{my:[A]}],ms:[{ms:[A]}],me:[{me:[A]}],mt:[{mt:[A]}],mr:[{mr:[A]}],mb:[{mb:[A]}],ml:[{ml:[A]}],"space-x":[{"space-x":[we]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[we]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",x,s]}],"min-w":[{"min-w":[x,s,"min","max","fit"]}],"max-w":[{"max-w":[x,s,"none","full","min","max","fit","prose",{screen:[X]},X]}],h:[{h:[x,s,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[x,s,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[x,s,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[x,s,"auto","min","max","fit"]}],"font-size":[{text:["base",X,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Re]}],"font-family":[{font:[ye]}],"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",x]}],"line-clamp":[{"line-clamp":["none",se,Re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",G,x]}],"list-image":[{"list-image":["none",x]}],"list-style-type":[{list:["none","disc","decimal",x]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",G,J]}],"underline-offset":[{"underline-offset":["auto",G,x]}],"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:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",x]}],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",x]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),ts]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",es]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ss]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],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:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:Z()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[G,x]}],"outline-w":[{outline:[G,J]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[G,J]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",X,as]}],"shadow-color":[{shadow:[ye]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...ge(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ge()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",X,x]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[m]}],saturate:[{saturate:[W]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",x]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",x]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",x]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[ve,x]}],"translate-x":[{"translate-x":[je]}],"translate-y":[{"translate-y":[je]}],"skew-x":[{"skew-x":[ne]}],"skew-y":[{"skew-y":[ne]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",x]}],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",x]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"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",x]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[G,J,Re]}],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 j=Wr(ls),Le=({children:e,size:s="small"})=>n.jsx("div",{className:`ds-flex ds-items-center ds-justify-center ${s==="small"?"ds-w-5 ds-h-5":"ds-w-6 ds-h-6"}`,children:e}),gt={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-rounded-none focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Background-accentEggplant-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentEggplant-100 hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-Background-accentEggplant-100 active:ds-border active:ds-border-Fills-Background-accentEggplant-100 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border-2 focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-terciary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",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 ds_SmallBodyEmphasized",large:"ds-py-space150 ds-px-space400 ds_MediumBodyEmphasized"},is={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-none ds-border ds-border-white ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)]",secondary:"ds-rounded-sm ds-border ds-bg-Background-accentEggplant-5 ds-text-accentEggplant-100 ds-border-2 ds-border-Background-accentEggplant-100",tertiary:"ds-text-Text-secondary ds-rounded-sm ds-bg-Fills-quadrutery",quaternary:"ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark"},K=E.forwardRef((p,g)=>{var m=p,{color:e="primary",size:s="small",disabled:r=!1,className:a,children:d,startIcon:o,selected:l,endIcon:i}=m,u=D(m,["color","size","disabled","className","children","startIcon","selected","endIcon"]);return n.jsxs("button",re(F({ref:g,disabled:r,className:j(w({[is[e]]:l,[gt[e]]:!l},gt[s],a,"ds-flex ds-items-center ds-justify-center"))},u),{children:[o&&n.jsx(Le,{size:s,children:o}),d&&n.jsx("div",{className:`${o?"ds-ml-2":""} ${i?"ds-mr-2":""}`,children:d}),i&&n.jsx(Le,{size:s,children:i})]}))});K.displayName="Button";const pt={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-rounded-none focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Background-accentEggplant-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentEggplant-100 hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-Background-accentEggplant-100 active:ds-border active:ds-border-Fills-Background-accentEggplant-100 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border-2 focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-terciary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",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-space100 ds-px-space100",large:"ds-py-space150 ds-px-space150"},Tt=E.forwardRef(({color:e="primary",size:s="small",disabled:r=!1,className:a,children:d,onClick:o},l)=>n.jsx("button",{ref:l,disabled:r,className:j(w(pt[e],pt[s],a,"ds-flex ds-items-center ds-justify-center")),onClick:o,children:n.jsx(Le,{children:d})}));Tt.displayName="IconButton";const Te=E.forwardRef(({className:e=""},s)=>{const a=j("ds-text-System-red ds-ms-[2px]",e);return n.jsx("span",{className:a,ref:s,children:"*"})});Te.displayName="Asteric";const mt="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",bt="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",xt={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 disabled:ds-text-Text-secondary 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 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 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-secondary ds_MediumBodyRegular ds-border ds-border-Fills-quintiary ds-cursor-not-allowed ds-rounded-sm hover:ds-border-Fills-quintiary active:ds-placeholder-Fills-quadrutery 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]"},ht={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"},vt={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"},Nt=E.forwardRef((h,m)=>{var T=h,{color:e="primary",disabled:s=!1,textarea:r=!1,label:a,required:d=!1,caption:o,labelClass:l,InputDivClass:i,captionClass:u,className:g}=T,p=D(T,["color","disabled","textarea","label","required","caption","labelClass","InputDivClass","captionClass","className"]);return r?n.jsx(n.Fragment,{children:n.jsxs("div",{className:j("ds-flex ds-flex-col ds-items-start ds-w-full",i),children:[a&&n.jsxs("label",{className:j("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-desktop:MediumSubheadRegular ds-mb-space075",l,ht[e]),children:[a," ",d&&n.jsx(Te,{})]}),n.jsx("textarea",F({disabled:s,className:j(w(xt[e],g))},p)),o&&n.jsxs("caption",{className:j(w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-font-normal ds-mt-space075",vt[e]),u),children:[e==="error"&&n.jsx("img",{src:mt,alt:"error",className:j(w("ds-me-1"))}),e==="success"&&n.jsx("img",{src:bt,alt:"success",className:j(w("ds-me-1"))}),o]})]})}):n.jsxs("div",{className:j("ds-flex ds-flex-col ds-items-start ds-w-full",i),children:[a&&n.jsxs("label",{className:j("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-mb-space075",l,ht[e]),children:[a," ",d&&n.jsx(Te,{})]}),n.jsx("input",F({ref:m,disabled:s,className:j(w(xt[e],g))},p)),o&&n.jsxs("caption",{className:j(w("ds-text-mediumFootnoteRegular ds-tablet:ds-text-mediumCaption1Regular ds-font-normal ds-mt-space075",vt[e]),u),children:[e==="error"&&n.jsx("img",{src:mt,alt:"error",className:j(w("ds-me-1"))}),e==="success"&&n.jsx("img",{src:bt,alt:"success",className:j(w("ds-me-1"))}),o]})]})});Nt.displayName="Input";function Bt(e){var s,r,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]&&(r=Bt(e[s]))&&(a&&(a+=" "),a+=r);else for(s in e)e[s]&&(a&&(a+=" "),a+=s);return a}function cs(){for(var e,s,r=0,a="";r<arguments.length;)(e=arguments[r++])&&(s=Bt(e))&&(a&&(a+=" "),a+=s);return a}const yt=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,wt=cs,Pt=(e,s)=>r=>{var a;if((s==null?void 0:s.variants)==null)return wt(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:d,defaultVariants:o}=s,l=Object.keys(d).map(g=>{const p=r==null?void 0:r[g],m=o==null?void 0:o[g];if(p===null)return null;const h=yt(p)||yt(m);return d[g][h]}),i=r&&Object.entries(r).reduce((g,p)=>{let[m,h]=p;return h===void 0||(g[m]=h),g},{}),u=s==null||(a=s.compoundVariants)===null||a===void 0?void 0:a.reduce((g,p)=>{let I=p,{class:m,className:h}=I,T=D(I,["class","className"]);return Object.entries(T).every(N=>{let[A,P]=N;return Array.isArray(P)?P.includes(F(F({},o),i)[A]):F(F({},o),i)[A]===P})?[...g,m,h]:g},[]);return wt(e,l,u,r==null?void 0:r.class,r==null?void 0:r.className)},us=Pt("ds-border ds-text-text-primary",{variants:{cardType:{default:"ds-shadow-none",shadowCard:"ds-shadow-card"}},defaultVariants:{cardType:"default"}}),At=ae.forwardRef((d,a)=>{var o=d,{className:e,cardType:s}=o,r=D(o,["className","cardType"]);return n.jsx("div",F({ref:a,className:j(w(us({cardType:s,className:e}),"ds-rounded"),e)},r))});At.displayName="Card";const zt=ae.forwardRef((a,r)=>{var d=a,{className:e}=d,s=D(d,["className"]);return n.jsx("div",F({ref:r,className:j(w("ds-flex ds-flex-col ds-pt-space300 ds-pb-space200 ds-px-space300",e))},s))});zt.displayName="CardHeader";const Mt=ae.forwardRef((a,r)=>{var d=a,{className:e}=d,s=D(d,["className"]);return n.jsx("div",F({ref:r,className:j(w("ds-font-medium",e))},s))});Mt.displayName="Title";const Ft=ae.forwardRef((a,r)=>{var d=a,{className:e}=d,s=D(d,["className"]);return n.jsx("div",F({ref:r,className:j(w("ds-font-regular",e))},s))});Ft.displayName="Description";const It=ae.forwardRef((a,r)=>{var d=a,{className:e}=d,s=D(d,["className"]);return n.jsx("div",F({ref:r,className:j(w("ds-pb-space300 ds-px-space300 ",e))},s))});It.displayName="Content";const Ot=ae.forwardRef((a,r)=>{var d=a,{className:e}=d,s=D(d,["className"]);return n.jsx("div",F({ref:r,className:j(w("ds-pb-space300 ds-px-space300",e))},s))});Ot.displayName="Footer";const fs=Pt("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"}}}),Dt=ae.forwardRef((d,a)=>{var o=d,{className:e,children:s}=o,r=D(o,["className","children"]);return n.jsx("div",re(F({className:j(w(fs({display:r==null?void 0:r.display,gap:r==null?void 0:r.gap,gapX:r==null?void 0:r.gapX,gapY:r==null?void 0:r.gapY,justifyContent:r==null?void 0:r.justifyContent,justifyItems:r==null?void 0:r.justifyItems,alignContent:r==null?void 0:r.alignContent,alignItems:r==null?void 0:r.alignItems,placeContent:r==null?void 0:r.placeContent,placeItems:r==null?void 0:r.placeItems,className:e}))),ref:a},r),{children:s}))});Dt.displayName="Grid";const jt=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},$t=E.forwardRef(({className:e,items:s,isExpandedInMobile:r},a)=>{const[d,o]=E.useState(!1);return E.useEffect(()=>{r&&o(r)},[r]),n.jsxs("div",{className:j(w(e,"ds-w-full ds-flex ds-flex-col")),ref:a,children:[n.jsx("div",{children:s.length>0&&s.map((l,i)=>{var u;return n.jsx("div",{children:n.jsxs("div",{className:w(l.key_name!=="total_amount"&&"line-items",d===!0&&"show"),children:[l.type==="STANDARD_LINE_SEPARATED"&&n.jsx("hr",{className:"ds-mt-3 ds-mb-1"}),n.jsxs("div",{className:w("ds-flex ds-flex-row ds-justify-between",i>0&&"ds-mt-2",i!==s.length&&l.type==="STANDARD_LINE_SEPARATED"&&"ds-mb-1"),children:[n.jsx("span",{className:w("ds-me-3",l.key_name!=="total_amount"&&jt(l.type),((u=l.display_name)==null?void 0:u.toLocaleLowerCase())==="vat"&&"ds-uppercase",l.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized"),children:l.display_name}),n.jsx("span",{className:w(!["total_amount"].includes(l.key_name)&&l.type!=="SLASHED"&&jt(l.type),l.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized",l.type==="SLASHED"&&"ds-line-through ds-font-normal ds-text-Text-secondary"),children:l.currency_converted_amount})]})]})},`BookingQuoteLineItemType-${i}`)})}),n.jsx("div",{children:n.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(!d),children:["See ",d?"less":"details"]})})]})});$t.displayName="Booking_Quote_Card";const gs="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",ps="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",Lt=E.forwardRef(({images:e})=>{const[s,r]=E.useState(0),a=()=>{r(o=>o===e.length-1?0:o+1)},d=()=>{r(o=>o===0?e.length-1:o-1)};return n.jsx(n.Fragment,{children:n.jsxs("div",{className:"ds-relative ds-rounded-[4px] ds-w-full",children:[e.length>1&&n.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:d,children:n.jsx("img",{src:gs,alt:"prev"})}),n.jsx("div",{className:"picture ds-w-full ds-rounded-[4px]",style:{backgroundImage:`url(${e[s]})`}}),e.length>1&&n.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:n.jsx("img",{src:ps,alt:"next"})}),e.length>1&&n.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,l)=>n.jsx("li",{"aria-description":o,className:j(w("ds-w-[5px] ds-h-[4px] ds-block ds-z-10 ds-mx-[2.5px] ds-rounded-[1px]",l!==s&&"ds-bg-[rgba(255,255,255,0.5)]",l===s&&"ds-bg-[rgba(255,255,255,0.8)]"))},l))})]})})});Lt.displayName="Image_Carousel";const qt=E.forwardRef(({title:e,content:s,expandIcon:r,collapseIcon:a,accordionClass:d,accordionHeaderClass:o,accordionTitleClass:l,accordionContentClass:i,isEnabled:u=!0,isExpanded:g=!0},p)=>{const[m,h]=E.useState(g),T=()=>{u&&h(!m)};return E.useEffect(()=>{u&&h(g)},[u,g]),n.jsxs("div",{className:j(w("silkhaus-accordion",d)),ref:p,children:[n.jsxs("div",{className:j(w("silkhaus-accordion-header ds-flex ds-flex-row ds-justify-between ds-items-center",o,!u&&"ds-cursor-not-allowed",u&&"ds-cursor-pointer")),onClick:T,children:[n.jsx("div",{className:j(w(l)),children:e}),m?a||"-":r||"+"]}),m&&n.jsx("div",{className:j(w("silkhaus-accordion-content",i)),children:s})]})});qt.displayName="Accordion";function ms(...e){return j(w(e))}const Ve=E.forwardRef(({checked:e=!1,onChange:s,disabled:r=!1,htmlId:a="wa"},d)=>n.jsxs("label",{className:ms("switch",r&&"disabled"),htmlFor:a,children:[n.jsx("input",{id:a,type:"checkbox",checked:e,onChange:s,ref:d,disabled:r}),n.jsx("span",{className:"slider round",style:{opacity:r?.5:1,cursor:r?"not-allowed":"pointer"}})]}));Ve.displayName="Switch";const Vt=E.forwardRef((e,s)=>{const o=e,{open:r,children:a}=o,d=D(o,["open","children"]);return n.jsx("div",re(F({ref:s,className:`dialog ${r?"open":""}`},d),{children:a}))});Vt.displayName="Dialog";const Wt=E.forwardRef(({outerDivClassName:e="",banner:s="",title:r,description:a,primaryBtnText:d="Submit",showPrimaryBtn:o,secondaryBtnText:l="Cancel",showSecondaryBtn:i,onPrimaryBtnClick:u,onSecondaryBtnClick:g,disablePrimaryBtn:p=!1,disableSecondaryBtn:m=!1},h)=>n.jsx("div",{className:j(e),children:n.jsxs("div",{className:j(w("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:h,children:[s&&n.jsx("div",{className:"ds-mb-4 ds-bg-Background-accentEggplant-5 banner",style:{backgroundImage:`url(${s})`}}),n.jsxs("div",{className:w(!s&&"ds-p-6 ds-border-t-4 ds-rounded-s ds-rounded-e ds-border-Background-accentEggplant-100"),children:[n.jsxs("div",{children:[n.jsx("h2",{className:w("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:r}),a&&n.jsx("span",{className:"ds-text-black MediumBodyRegular",children:a})]}),n.jsxs("div",{className:w("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&&i&&"ds-tablet:ds-justify-between ds-items-center",o&&!i&&"ds-tablet:ds-justify-end ds-items-center"),children:[n.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:i&&n.jsx(K,{color:"secondary",onClick:g,disabled:m,className:"ds_MediumBodyEmphasized",size:"large",children:l})}),n.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&&n.jsx(K,{color:"primary",onClick:u,disabled:p,className:"ds_MediumBodyEmphasized",size:"large",children:d})})]})]})]})}));Wt.displayName="AlertDialog";const bs="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",We=E.forwardRef(({progress:e,text:s="",borderColor:r="rgba(0, 0, 0, 0.1)",progressColor:a="#542686",size:d="48px",strokeWidth:o=3,textClass:l=""},i)=>{const u=parseInt(d)/2-4,g=2*Math.PI*u,p=g-e*g;return n.jsxs("div",{ref:i,className:"rounded-progress-bar",style:{"--progress":e,"--border-color":r,"--progress-color":a,width:d,height:d},children:[n.jsx("span",{className:j(w("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",l)),children:s}),n.jsx("div",{className:"progress-ring",children:n.jsxs("svg",{width:d,height:d,viewBox:`0 0 ${d} ${d}`,children:[n.jsx("circle",{className:"progress-ring-circle",stroke:"var(--border-color)",strokeWidth:o,fill:"transparent",r:u.toString(),cx:(parseInt(d)/2).toString(),cy:(parseInt(d)/2).toString()}),n.jsx("circle",{className:"progress-ring-circle-progress",stroke:"var(--progress-color)",strokeWidth:o,fill:"transparent",r:u.toString(),cx:(parseInt(d)/2).toString(),cy:(parseInt(d)/2).toString(),strokeDasharray:`${g}`,strokeDashoffset:`${p}`})]})})]})});We.displayName="RoundedProgressBar";const Gt=E.forwardRef(({steps:e,outerDivClass:s="",outerMobileDivClass:r=""},a)=>{var o,l;let d=0;for(let i=0;i<e.length;i++)(((o=e[i])==null?void 0:o.status)==="completed"||((l=e[i])==null?void 0:l.status)==="active")&&d++;return n.jsxs(n.Fragment,{children:[n.jsx("div",{ref:a,className:j(w("ds-hidden ds-tablet:ds-block ds-relative ds-h-[72px]",s)),children:n.jsxs("div",{className:"ds-relative ds-w-full ds-flex ds-items-center ds-flex-row ds-justify-between",children:[n.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((i,u)=>n.jsxs("div",{className:"ds-relative",children:[n.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 ${i.status==="active"||i.status==="completed"?"ds-bg-Background-accentEggplant-100":"ds-bg-white"}
31
- `,children:i.status==="completed"?n.jsx("span",{className:"ds-text-white ds-flex ds-justify-center ds-items-center",children:n.jsx("img",{src:bs,alt:"check-icon"})}):n.jsx("span",{className:`ds_MediumCaption2Emphasized ${i.status==="active"?"ds-text-white":"ds-text-gray-600"}`,children:i.number})}),n.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:i.title})]},u))]})}),n.jsx("div",{ref:a,className:j(w("ds-block ds-tablet:ds-hidden",r)),children:e.map((i,u)=>(i.status==="active"||i.status==="completed"&&u+1==e.length)&&n.jsxs("div",{className:"ds-flex ds-flex-row ds-justify-between ds-items-center",children:[n.jsx(We,{progress:d/e.length,text:`${u+1} / ${e.length}`}),n.jsxs("div",{className:"ds-flex ds-flex-col ds-justify-end ds-items-end",children:[n.jsx("span",{className:"ds_SmallCalloutEmphasized",children:`Step ${u+1}: ${i==null?void 0:i.mobileTitle}`}),n.jsx("span",{className:"ds_SmallCaption2Regular ds-text-Text-secondary ds-mt-2",children:`Next: ${i==null?void 0:i.mobileNextTitle}`})]})]},`mobile-stepper-${u}`))})]})});Gt.displayName="Stepper";const xs="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",Yt=E.forwardRef(({time:e,text:s="",outerDivClass:r=""},a)=>{const[d,o]=E.useState(e);E.useEffect(()=>{const u=setInterval(()=>{o(g=>g<=1?(clearInterval(u),0):g-1)},1e3);return()=>{clearInterval(u)}},[d]),E.useEffect(()=>{o(e)},[e]);const i=(u=>{const g=Math.floor(u/3600),p=Math.floor(u%3600/60),m=u%60;return`${String(g).padStart(2,"0")}:${String(p).padStart(2,"0")}:${String(m).padStart(2,"0")}`})(d);return n.jsxs("div",{ref:a,className:j(w("ds-flex ds-flex-row ds-justify-start ds-items-center",r)),children:[n.jsx("img",{src:xs,alt:"clock",className:"ds-w-5 ds-h-5"}),n.jsx("div",{className:"ds-ms-[18px] ds-tablet:ds-ms-2 ds_xSmallCalloutEmphasized ds-tablet:ds_MediumCalloutEmphasized",children:s}),n.jsx("div",{className:"ds-ms-1 ds_xSmallCalloutEmphasized ds-text-Background-accentTeal-100 ds-tablet:ds_MediumCalloutEmphasized",children:i})]})});Yt.displayName="Timer";const Ut=E.forwardRef((e,s)=>{const{text:r,onNavBarClick:a,isMarquee:d,direction:o="left"}=e;return n.jsx("div",{ref:s,className:"ds-h-10 ds-cursor-pointer ds-flex ds-justify-center ds-items-center ds-bg-Background-accentEggplant-5 ds-text-Background-accentEggplant-100 ds-desktop:ds_MediumSubheadEmphasized ds-tablet:ds_SmallSubheadEmphasized ds-mobile:ds_xSmallSubheadEmphasized",onClick:a,children:d?n.jsx("div",{className:"marquee",children:n.jsx("span",{className:`${o}`,children:r})}):n.jsx("span",{children:r})})});Ut.displayName="TopNavBar";const Ht=E.forwardRef((e,s)=>{const{img:r,handleDialogButtonClick:a,handleCloseButtonClick:d,dialogHeader:o,dialogDescription:l,buttonIcon:i,buttonText:u}=e;return n.jsxs("div",{ref:s,className:"top-nav-container-mobile",children:[n.jsx("button",{className:"top-nav-container-close ds_xSmallSubheadEmphasized",onClick:d,children:"Close"}),n.jsx("div",{className:"ds-mb-4",children:n.jsx("img",{src:r,alt:"promotional_image",className:"top-nav-container-image"})}),n.jsxs("div",{children:[n.jsx("p",{className:"ds_xSmallTitle2Emphasized ds-mb-4",children:o}),n.jsx("p",{className:"ds_xSmallBodyRegular ds-mb-6",children:l})]}),n.jsx("div",{className:"ds-flex ds-justify-center",children:n.jsx(K,{size:"large",startIcon:n.jsx("img",{src:i,alt:"whatsapp"}),onClick:a,children:u})})]})});Ht.displayName="TopNavContainerMobile";const Jt=E.forwardRef((e,s)=>{const{img:r,handleDialogButtonClick:a,dialogHeader:d,dialogDescription:o,buttonIcon:l,buttonText:i}=e;return n.jsxs("div",{ref:s,className:"two-column-dialog-container ds-flex",children:[n.jsx("div",{children:n.jsx("img",{src:r,alt:"promotional_image",className:"two-column-dialog-image"})}),n.jsxs("div",{className:"two-column-dialog-action",children:[n.jsxs("div",{className:"two-column-dialog-text",children:[n.jsx("p",{className:"ds-desktop:ds_MediumTitle3Emphasized ds-tablet:ds_xSmallTitle3Emphasized ds-mb-4",children:d}),n.jsx("p",{className:"ds-desktop:ds_MediumSubheadRegular ds-tablet:ds_SmallSubheadRegular ds-mb-4",children:o})]}),n.jsx(K,{size:"large",startIcon:n.jsx("img",{src:l,alt:"whatsapp"}),onClick:a,children:i})]})]})});Jt.displayName="TwoColumnDialog";const hs={slideUp:"slideDown",slideDown:"slideUp",fadeIn:"fadeOut"},Xt=E.forwardRef((e,s)=>{const h=e,{show:r,handleClose:a,staticBackdrop:d,animation:o="slideDown",children:l}=h,i=D(h,["show","handleClose","staticBackdrop","animation","children"]),[u,g]=E.useState(r),p=hs[o],m=()=>{g(r)};return n.jsx("div",re(F({ref:s,className:`modal-animated ${r||u?"show":"hide"}`,onClick:d?void 0:a},i),{children:n.jsx("div",{className:`modal-animated-content ${r?o+"Open":p+"Close"}`,onClick:T=>T.stopPropagation(),onAnimationEnd:m,children:l})}))});Xt.displayName="AnimatedModal";const Kt=E.forwardRef((e,s)=>{const P=e,{value:r,options:a,onSelectionChange:d=()=>{},isMultiSelect:o,noDataError:l,minWidthButton:i,buttonWidth:u,minSelectionError:g}=P,p=D(P,["value","options","onSelectionChange","isMultiSelect","noDataError","minWidthButton","buttonWidth","minSelectionError"]),[m,h]=E.useState([]),[T,I]=E.useState("");E.useEffect(()=>{r&&r.length?h(r):h([])},[r]);const N=(v,W)=>{W.currentTarget.blur();const B=[...m],Q=B.findIndex(ne=>ne.value===v.value);Q!==-1?B.length>1?(B.splice(Q,1),I("")):I(g):(B.push(v),I("")),h(B),d(B)},A=(v,W)=>{W.currentTarget.blur();const B=[v];h(B),d(B)};return n.jsxs("div",re(F({ref:s},p),{children:[n.jsx("div",{className:"ds-flex ds-flex-wrap",children:a.length>0?a.map((v,W)=>n.jsx("div",{className:"ds-p-2",children:o?n.jsx(K,{selected:m.some(B=>B.value===v.value),onClick:B=>N(v,B),color:"secondary",size:"small",style:{minWidth:i,width:u},children:v.label}):n.jsx(K,{selected:m.some(B=>B.value===v.value),onClick:B=>A(v,B),color:"secondary",style:{minWidth:i,width:u},size:"small",children:v.label})},W)):n.jsx("div",{className:"ds-p-2 ds-text-System-red ds_xSmallSubheadRegular",children:l})}),n.jsx("div",{className:"ds-p-2 ds-text-System-red ds_xSmallSubheadRegular",children:T})]}))});Kt.displayName="ButtonsGroupSelector";const Qt=E.forwardRef((e,s)=>{const p=e,{cardImg:r,children:a,onSelectionChange:d,enabled:o,heading:l,subHeading:i,htmlId:u}=p,g=D(p,["cardImg","children","onSelectionChange","enabled","heading","subHeading","htmlId"]);return n.jsx("div",re(F({ref:s},g),{children:n.jsxs("div",{className:"ds-bg-white ds-border ds-rounded ds-border-Fills-quadrutery",children:[n.jsxs("div",{className:"ds-flex ds-min-h-[80px] ds-tablet:ds-p-4 ds-mobile:ds-p-2 ds-zero:ds-p-2 ds-justify-between",children:[n.jsxs("div",{className:"ds-flex",children:[n.jsx("img",{className:"ds-tablet:ds-w-[72px] ds-tablet:ds-h-[48px] ds-mobile:ds-w-[64px] ds-mobile:ds-h-[64px] ds-zero:ds-w-[64px] ds-zero:ds-h-[64px]",src:r,alt:"card_image"}),n.jsxs("div",{className:"ds-flex ds-flex-col ds-tablet:ds-mx-4 ds-mobile:ds-mx-2 ds-zero:ds-mx-2 ds-justify-between",children:[n.jsx("span",{className:"ds-tablet:ds_MediumHeadlineRegular ds-mobile:ds_xSmallHeadlineEmphasized ds-zero:ds_xSmallHeadlineEmphasized",children:l}),n.jsx("span",{className:"ds-tablet:ds_MediumCaption1Regular ds-mobile:ds_xSmallCaption1Regular ds-zero:ds_xSmallCaption1Regular",children:i})]})]}),n.jsx("div",{className:"ds-flex ds-items-center",children:n.jsx(Ve,{onChange:d,checked:o,htmlId:u})})]}),n.jsx("div",{className:`ds-min-h-[50px] ${o?"ds-block":"ds-hidden"}`,children:a})]})}))});Qt.displayName="ToggleCard";exports.Accordion=qt;exports.AlertDialog=Wt;exports.AnimatedModal=Xt;exports.Asterisk=Te;exports.BookingQuoteCard=$t;exports.Button=K;exports.ButtonsGroupSelector=Kt;exports.Card=At;exports.CardContent=It;exports.CardDescription=Ft;exports.CardFooter=Ot;exports.CardHeader=zt;exports.CardTitle=Mt;exports.Dialog=Vt;exports.Grid=Dt;exports.IconButton=Tt;exports.ImageCarousel=Lt;exports.Input=Nt;exports.RoundedProgressBar=We;exports.Stepper=Gt;exports.Switch=Ve;exports.Timer=Yt;exports.ToggleCard=Qt;exports.TopNavBar=Ut;exports.TopNavContainerMobile=Ht;exports.TwoColumnDialog=Jt;
31
+ `,children:i.status==="completed"?n.jsx("span",{className:"ds-text-white ds-flex ds-justify-center ds-items-center",children:n.jsx("img",{src:bs,alt:"check-icon"})}):n.jsx("span",{className:`ds_MediumCaption2Emphasized ${i.status==="active"?"ds-text-white":"ds-text-gray-600"}`,children:i.number})}),n.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:i.title})]},u))]})}),n.jsx("div",{ref:a,className:j(w("ds-block ds-tablet:ds-hidden",r)),children:e.map((i,u)=>(i.status==="active"||i.status==="completed"&&u+1==e.length)&&n.jsxs("div",{className:"ds-flex ds-flex-row ds-justify-between ds-items-center",children:[n.jsx(We,{progress:d/e.length,text:`${u+1} / ${e.length}`}),n.jsxs("div",{className:"ds-flex ds-flex-col ds-justify-end ds-items-end",children:[n.jsx("span",{className:"ds_SmallCalloutEmphasized",children:`Step ${u+1}: ${i==null?void 0:i.mobileTitle}`}),n.jsx("span",{className:"ds_SmallCaption2Regular ds-text-Text-secondary ds-mt-2",children:`Next: ${i==null?void 0:i.mobileNextTitle}`})]})]},`mobile-stepper-${u}`))})]})});Gt.displayName="Stepper";const xs="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",Yt=E.forwardRef(({time:e,text:s="",outerDivClass:r=""},a)=>{const[d,o]=E.useState(e);E.useEffect(()=>{const u=setInterval(()=>{o(g=>g<=1?(clearInterval(u),0):g-1)},1e3);return()=>{clearInterval(u)}},[d]),E.useEffect(()=>{o(e)},[e]);const i=(u=>{const g=Math.floor(u/3600),p=Math.floor(u%3600/60),m=u%60;return`${String(g).padStart(2,"0")}:${String(p).padStart(2,"0")}:${String(m).padStart(2,"0")}`})(d);return n.jsxs("div",{ref:a,className:j(w("ds-flex ds-flex-row ds-justify-start ds-items-center",r)),children:[n.jsx("img",{src:xs,alt:"clock",className:"ds-w-5 ds-h-5"}),n.jsx("div",{className:"ds-ms-[18px] ds-tablet:ds-ms-2 ds_xSmallCalloutEmphasized ds-tablet:ds_MediumCalloutEmphasized",children:s}),n.jsx("div",{className:"ds-ms-1 ds_xSmallCalloutEmphasized ds-text-Background-accentTeal-100 ds-tablet:ds_MediumCalloutEmphasized",children:i})]})});Yt.displayName="Timer";const Ut=E.forwardRef((e,s)=>{const{text:r,onNavBarClick:a,isMarquee:d,direction:o="left"}=e;return n.jsx("div",{ref:s,className:"ds-h-10 ds-cursor-pointer ds-flex ds-justify-center ds-items-center ds-bg-Background-accentEggplant-5 ds-text-Background-accentEggplant-100 ds-desktop:ds_MediumSubheadEmphasized ds-tablet:ds_SmallSubheadEmphasized ds-mobile:ds_xSmallSubheadEmphasized",onClick:a,children:d?n.jsx("div",{className:"marquee",children:n.jsx("span",{className:`${o}`,children:r})}):n.jsx("span",{children:r})})});Ut.displayName="TopNavBar";const Ht=E.forwardRef((e,s)=>{const{img:r,handleDialogButtonClick:a,handleCloseButtonClick:d,dialogHeader:o,dialogDescription:l,buttonIcon:i,buttonText:u}=e;return n.jsxs("div",{ref:s,className:"top-nav-container-mobile",children:[n.jsx("button",{className:"top-nav-container-close ds_xSmallSubheadEmphasized",onClick:d,children:"Close"}),n.jsx("div",{className:"ds-mb-4",children:n.jsx("img",{src:r,alt:"promotional_image",className:"top-nav-container-image"})}),n.jsxs("div",{children:[n.jsx("p",{className:"ds_xSmallTitle2Emphasized ds-mb-4",children:o}),n.jsx("p",{className:"ds_xSmallBodyRegular ds-mb-6",children:l})]}),n.jsx("div",{className:"ds-flex ds-justify-center",children:n.jsx(K,{size:"large",startIcon:n.jsx("img",{src:i,alt:"whatsapp"}),onClick:a,children:u})})]})});Ht.displayName="TopNavContainerMobile";const Jt=E.forwardRef((e,s)=>{const{img:r,handleDialogButtonClick:a,dialogHeader:d,dialogDescription:o,buttonIcon:l,buttonText:i}=e;return n.jsxs("div",{ref:s,className:"two-column-dialog-container ds-flex",children:[n.jsx("div",{children:n.jsx("img",{src:r,alt:"promotional_image",className:"two-column-dialog-image"})}),n.jsxs("div",{className:"two-column-dialog-action",children:[n.jsxs("div",{className:"two-column-dialog-text",children:[n.jsx("p",{className:"ds-desktop:ds_MediumTitle3Emphasized ds-tablet:ds_xSmallTitle3Emphasized ds-mb-4",children:d}),n.jsx("p",{className:"ds-desktop:ds_MediumSubheadRegular ds-tablet:ds_SmallSubheadRegular ds-mb-4",children:o})]}),n.jsx(K,{size:"large",startIcon:n.jsx("img",{src:l,alt:"whatsapp"}),onClick:a,children:i})]})]})});Jt.displayName="TwoColumnDialog";const hs={slideUp:"slideDown",slideDown:"slideUp",fadeIn:"fadeOut"},Xt=E.forwardRef((e,s)=>{const h=e,{show:r,handleClose:a,staticBackdrop:d,animation:o="slideDown",children:l}=h,i=D(h,["show","handleClose","staticBackdrop","animation","children"]),[u,g]=E.useState(r),p=hs[o],m=()=>{g(r)};return n.jsx("div",re(F({ref:s,className:`modal-animated ${r||u?"show":"hide"}`,onClick:d?void 0:a},i),{children:n.jsx("div",{className:`modal-animated-content ${r?o+"Open":p+"Close"}`,onClick:T=>T.stopPropagation(),onAnimationEnd:m,children:l})}))});Xt.displayName="AnimatedModal";const Kt=E.forwardRef((e,s)=>{const P=e,{value:r,options:a,onSelectionChange:d=()=>{},isMultiSelect:o,noDataError:l,minWidthButton:i,buttonWidth:u,minSelectionError:g}=P,p=D(P,["value","options","onSelectionChange","isMultiSelect","noDataError","minWidthButton","buttonWidth","minSelectionError"]),[m,h]=E.useState([]),[T,I]=E.useState("");E.useEffect(()=>{r&&r.length?h(r):h([])},[r]);const N=(v,W)=>{W.currentTarget.blur();const B=[...m],Q=B.findIndex(ne=>ne.value===v.value);Q!==-1?B.length>1?(B.splice(Q,1),I("")):I(g):(B.push(v),I("")),h(B),d(B)},A=(v,W)=>{W.currentTarget.blur();const B=[v];h(B),d(B)};return n.jsxs("div",re(F({ref:s},p),{children:[n.jsx("div",{className:"ds-flex ds-flex-wrap",children:a.length>0?a.map((v,W)=>n.jsx("div",{className:"ds-p-2",children:o?n.jsx(K,{selected:m.some(B=>B.value===v.value),onClick:B=>N(v,B),color:"secondary",size:"small",style:{minWidth:i,width:u},children:v.label}):n.jsx(K,{selected:m.some(B=>B.value===v.value),onClick:B=>A(v,B),color:"secondary",style:{minWidth:i,width:u},size:"small",children:v.label})},W)):n.jsx("div",{className:"ds-p-2 ds-text-System-red ds_xSmallSubheadRegular",children:l})}),n.jsx("div",{className:"ds-p-2 ds-text-System-red ds_xSmallSubheadRegular",children:T})]}))});Kt.displayName="ButtonsGroupSelector";const Qt=E.forwardRef((e,s)=>{const p=e,{cardImg:r,children:a,onSelectionChange:d,enabled:o,heading:l,subHeading:i,htmlId:u}=p,g=D(p,["cardImg","children","onSelectionChange","enabled","heading","subHeading","htmlId"]);return n.jsx("div",re(F({ref:s},g),{children:n.jsxs("div",{className:"ds-bg-white ds-border ds-rounded ds-border-Fills-quadrutery",children:[n.jsxs("div",{className:"ds-flex ds-min-h-[80px] ds-tablet:ds-p-4 ds-mobile:ds-p-2 ds-zero:ds-p-2 ds-justify-between",children:[n.jsxs("div",{className:"ds-flex",children:[n.jsx("img",{className:"ds-rounded-sm ds-tablet:ds-w-[72px] ds-tablet:ds-h-[48px] ds-mobile:ds-w-[64px] ds-mobile:ds-h-[64px] ds-zero:ds-w-[64px] ds-zero:ds-h-[64px]",src:r,alt:"card_image"}),n.jsxs("div",{className:"ds-flex ds-flex-col ds-tablet:ds-mx-4 ds-mobile:ds-mx-2 ds-zero:ds-mx-2 ds-justify-between",children:[n.jsx("span",{className:"ds-tablet:ds_MediumHeadlineRegular ds-mobile:ds_xSmallHeadlineEmphasized ds-zero:ds_xSmallHeadlineEmphasized",children:l}),n.jsx("span",{className:"ds-tablet:ds_MediumCaption1Regular ds-mobile:ds_xSmallCaption1Regular ds-zero:ds_xSmallCaption1Regular",children:i})]})]}),n.jsx("div",{className:"ds-flex ds-items-center",children:n.jsx(Ve,{onChange:d,checked:o,htmlId:u})})]}),n.jsx("div",{className:`ds-min-h-[50px] ${o?"ds-block":"ds-hidden"}`,children:a})]})}))});Qt.displayName="ToggleCard";exports.Accordion=qt;exports.AlertDialog=Wt;exports.AnimatedModal=Xt;exports.Asterisk=Te;exports.BookingQuoteCard=$t;exports.Button=K;exports.ButtonsGroupSelector=Kt;exports.Card=At;exports.CardContent=It;exports.CardDescription=Ft;exports.CardFooter=Ot;exports.CardHeader=zt;exports.CardTitle=Mt;exports.Dialog=Vt;exports.Grid=Dt;exports.IconButton=Tt;exports.ImageCarousel=Lt;exports.Input=Nt;exports.RoundedProgressBar=We;exports.Stepper=Gt;exports.Switch=Ve;exports.Timer=Yt;exports.ToggleCard=Qt;exports.TopNavBar=Ut;exports.TopNavContainerMobile=Ht;exports.TwoColumnDialog=Jt;
package/dist/index.js CHANGED
@@ -4103,7 +4103,7 @@ const ys = oe((e, s) => {
4103
4103
  return /* @__PURE__ */ n.jsx("div", te(F({ ref: s }, p), { children: /* @__PURE__ */ n.jsxs("div", { className: "ds-bg-white ds-border ds-rounded ds-border-Fills-quadrutery", children: [
4104
4104
  /* @__PURE__ */ n.jsxs("div", { className: "ds-flex ds-min-h-[80px] ds-tablet:ds-p-4 ds-mobile:ds-p-2 ds-zero:ds-p-2 ds-justify-between", children: [
4105
4105
  /* @__PURE__ */ n.jsxs("div", { className: "ds-flex", children: [
4106
- /* @__PURE__ */ n.jsx("img", { className: "ds-tablet:ds-w-[72px] ds-tablet:ds-h-[48px] ds-mobile:ds-w-[64px] ds-mobile:ds-h-[64px] ds-zero:ds-w-[64px] ds-zero:ds-h-[64px]", src: r, alt: "card_image" }),
4106
+ /* @__PURE__ */ n.jsx("img", { className: "ds-rounded-sm ds-tablet:ds-w-[72px] ds-tablet:ds-h-[48px] ds-mobile:ds-w-[64px] ds-mobile:ds-h-[64px] ds-zero:ds-w-[64px] ds-zero:ds-h-[64px]", src: r, alt: "card_image" }),
4107
4107
  /* @__PURE__ */ n.jsxs("div", { className: "ds-flex ds-flex-col ds-tablet:ds-mx-4 ds-mobile:ds-mx-2 ds-zero:ds-mx-2 ds-justify-between", children: [
4108
4108
  /* @__PURE__ */ n.jsx("span", { className: "ds-tablet:ds_MediumHeadlineRegular ds-mobile:ds_xSmallHeadlineEmphasized ds-zero:ds_xSmallHeadlineEmphasized", children: l }),
4109
4109
  /* @__PURE__ */ n.jsx("span", { className: "ds-tablet:ds_MediumCaption1Regular ds-mobile:ds_xSmallCaption1Regular ds-zero:ds_xSmallCaption1Regular", children: i })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "design-system-silkhaus",
3
3
  "private": false,
4
- "version": "0.0.87-beta.weekly-cleaning.3",
4
+ "version": "0.0.87-beta.weekly-cleaning.5",
5
5
  "description": "A template for creating React component libraries with Vite, Tailwind, and Storybook.",
6
6
  "author": "meet-codevyasa",
7
7
  "license": "MIT",