design-system-silkhaus 0.0.87-beta.weekly-cleaning.0 → 0.0.87-beta.weekly-cleaning.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +23 -40
- package/package.json +1 -1
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,Q,Er,Q),at[Q+Oe]=!0}}return t===a?vr(z):hr(z),z}}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;be.Fragment=a,be.jsx=jr,be.jsxs=kr}()),be}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 y(){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 _t="!";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,p=0,g;for(let k=0;k<l.length;k++){let N=l[k];if(u===0){if(N===a&&(r||l.slice(k,k+d)===s)){i.push(l.slice(p,k)),p=k+d;continue}if(N==="/"){g=k;continue}}N==="["?u++:N==="]"&&u--}const m=i.length===0?l:l.substring(p),w=m.startsWith(_t),P=w?m.substring(1):m,F=g&&g>p?g-p:void 0;return{modifiers:i,hasImportantModifier:w,baseClassName:P,maybePostfixModifierPosition:F}}}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 M({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:p,maybePostfixModifierPosition:g}=r(l);let m=a(g?p.substring(0,g):p),w=!!g;if(!m){if(!g)return{isTailwindClass:!1,originalClassName:l};if(m=a(p),!m)return{isTailwindClass:!1,originalClassName:l};w=!1}const P=Dr(i).join(":");return{isTailwindClass:!0,modifierId:u?P+_t:P,classGroupId:m,originalClassName:l,hasPostfixModifier:w}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:i,classGroupId:u,hasPostfixModifier:p}=l,g=i+u;return o.has(g)?!1:(o.add(g),d(u,p).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=St(s))&&(a&&(a+=" "),a+=r);return a}function St(e){if(typeof e=="string")return e;let s,r="";for(let a=0;a<e.length;a++)e[a]&&(s=St(e[a]))&&(r&&(r+=" "),r+=s);return r}function Wr(e,...s){let r,a,d,o=l;function l(u){const p=s.reduce((g,m)=>m(g),e());return r=$r(p),a=r.cache.get,d=r.cache.set,o=i,i(u)}function i(u){const p=a(u);if(p)return p;const g=qr(u,r);return d(u,g),g}return function(){return o(Vr.apply(null,arguments))}}function B(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 V(e){return ee(e)||Yr.has(e)||Gr.test(e)}function U(e){return de(e,"length",ns)}function ee(e){return!!e&&!Number.isNaN(Number(e))}function Re(e){return de(e,"number",ee)}function xe(e){return!!e&&Number.isInteger(Number(e))}function Qr(e){return e.endsWith("%")&&ee(e.slice(0,-1))}function x(e){return Ct.test(e)}function H(e){return Ur.test(e)}const Zr=new Set(["length","size","percentage"]);function es(e){return de(e,Zr,Rt)}function ts(e){return de(e,"position",Rt)}const rs=new Set(["image","url"]);function ss(e){return de(e,rs,ds)}function as(e){return de(e,"",os)}function he(){return!0}function de(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=B("colors"),s=B("spacing"),r=B("blur"),a=B("brightness"),d=B("borderColor"),o=B("borderRadius"),l=B("borderSpacing"),i=B("borderWidth"),u=B("contrast"),p=B("grayscale"),g=B("hueRotate"),m=B("invert"),w=B("gap"),P=B("gradientColorStops"),F=B("gradientColorStopPositions"),k=B("inset"),N=B("margin"),h=B("opacity"),C=B("padding"),re=B("saturate"),le=B("scale"),ve=B("sepia"),ye=B("skew"),we=B("space"),je=B("translate"),se=()=>["auto","contain","none"],ie=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto",x,s],R=()=>[x,s],$=()=>["",V,U],L=()=>["auto",ee,x],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ae=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",x],fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[ee,Re],K=()=>[ee,x];return{cacheSize:500,separator:":",theme:{colors:[he],spacing:[V,U],blur:["none","",H,x],brightness:Y(),borderColor:[e],borderRadius:["none","","full",H,x],borderSpacing:R(),borderWidth:$(),contrast:Y(),grayscale:G(),hueRotate:K(),invert:G(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[Qr,U],inset:ce(),margin:ce(),opacity:Y(),padding:R(),saturate:Y(),scale:Y(),sepia:G(),skew:K(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",x]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":fe()}],"break-before":[{"break-before":fe()}],"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:[...W(),x]}],overflow:[{overflow:ie()}],"overflow-x":[{"overflow-x":ie()}],"overflow-y":[{"overflow-y":ie()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-y":[{"overscroll-y":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[k]}],"inset-x":[{"inset-x":[k]}],"inset-y":[{"inset-y":[k]}],start:[{start:[k]}],end:[{end:[k]}],top:[{top:[k]}],right:[{right:[k]}],bottom:[{bottom:[k]}],left:[{left:[k]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",xe,x]}],basis:[{basis:ce()}],"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:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",xe,x]}],"grid-cols":[{"grid-cols":[he]}],"col-start-end":[{col:["auto",{span:["full",xe,x]},x]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[he]}],"row-start-end":[{row:["auto",{span:[xe,x]},x]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"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:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],ms:[{ms:[N]}],me:[{me:[N]}],mt:[{mt:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"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:[H]},H]}],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",H,U]}],"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:[he]}],"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",ee,Re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,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":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,U]}],"underline-offset":[{"underline-offset":["auto",V,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:R()}],"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":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),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:[F]}],"gradient-via-pos":[{via:[F]}],"gradient-to-pos":[{to:[F]}],"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:[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":[h]}],"border-style":[{border:[...X(),"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":[h]}],"divide-style":[{divide:X()}],"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:["",...X()]}],"outline-offset":[{"outline-offset":[V,x]}],"outline-w":[{outline:[V,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[V,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,as]}],"shadow-color":[{shadow:[he]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ue()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",H,x]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[m]}],saturate:[{saturate:[re]}],sepia:[{sepia:[ve]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[re]}],"backdrop-sepia":[{"backdrop-sepia":[ve]}],"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:K()}],ease:[{ease:["linear","in","out","in-out",x]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",x]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[le]}],"scale-x":[{"scale-x":[le]}],"scale-y":[{"scale-y":[le]}],rotate:[{rotate:[xe,x]}],"translate-x":[{"translate-x":[je]}],"translate-y":[{"translate-y":[je]}],"skew-x":[{"skew-x":[ye]}],"skew-y":[{"skew-y":[ye]}],"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":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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:[V,U,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}),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-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"},J=_.forwardRef((g,p)=>{var m=g,{color:e="primary",size:s="small",disabled:r=!1,className:a,children:d,startIcon:o,selected:l,endIcon:i}=m,u=O(m,["color","size","disabled","className","children","startIcon","selected","endIcon"]);return n.jsxs("button",Z(M({ref:p,disabled:r,className:j(y({[is[e]]:l,[pt[e]]:!l},pt[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})]}))});J.displayName="Button";const 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-space100 ds-px-space100",large:"ds-py-space150 ds-px-space150"},Tt=_.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(y(gt[e],gt[s],a,"ds-flex ds-items-center ds-justify-center")),onClick:o,children:n.jsx(Le,{children:d})}));Tt.displayName="IconButton";const Te=_.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=_.forwardRef((w,m)=>{var P=w,{color:e="primary",disabled:s=!1,textarea:r=!1,label:a,required:d=!1,caption:o,labelClass:l,InputDivClass:i,captionClass:u,className:p}=P,g=O(P,["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",M({disabled:s,className:j(y(xt[e],p))},g)),o&&n.jsxs("caption",{className:j(y("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(y("ds-me-1"))}),e==="success"&&n.jsx("img",{src:bt,alt:"success",className:j(y("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",M({ref:m,disabled:s,className:j(y(xt[e],p))},g)),o&&n.jsxs("caption",{className:j(y("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(y("ds-me-1"))}),e==="success"&&n.jsx("img",{src:bt,alt:"success",className:j(y("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(p=>{const g=r==null?void 0:r[p],m=o==null?void 0:o[p];if(g===null)return null;const w=yt(g)||yt(m);return d[p][w]}),i=r&&Object.entries(r).reduce((p,g)=>{let[m,w]=g;return w===void 0||(p[m]=w),p},{}),u=s==null||(a=s.compoundVariants)===null||a===void 0?void 0:a.reduce((p,g)=>{let F=g,{class:m,className:w}=F,P=O(F,["class","className"]);return Object.entries(P).every(k=>{let[N,h]=k;return Array.isArray(h)?h.includes(M(M({},o),i)[N]):M(M({},o),i)[N]===h})?[...p,m,w]:p},[]);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=te.forwardRef((d,a)=>{var o=d,{className:e,cardType:s}=o,r=O(o,["className","cardType"]);return n.jsx("div",M({ref:a,className:j(y(us({cardType:s,className:e}),"ds-rounded"),e)},r))});At.displayName="Card";const zt=te.forwardRef((a,r)=>{var d=a,{className:e}=d,s=O(d,["className"]);return n.jsx("div",M({ref:r,className:j(y("ds-flex ds-flex-col ds-pt-space300 ds-pb-space200 ds-px-space300",e))},s))});zt.displayName="CardHeader";const Mt=te.forwardRef((a,r)=>{var d=a,{className:e}=d,s=O(d,["className"]);return n.jsx("div",M({ref:r,className:j(y("ds-font-medium",e))},s))});Mt.displayName="Title";const Ft=te.forwardRef((a,r)=>{var d=a,{className:e}=d,s=O(d,["className"]);return n.jsx("div",M({ref:r,className:j(y("ds-font-regular",e))},s))});Ft.displayName="Description";const It=te.forwardRef((a,r)=>{var d=a,{className:e}=d,s=O(d,["className"]);return n.jsx("div",M({ref:r,className:j(y("ds-pb-space300 ds-px-space300 ",e))},s))});It.displayName="Content";const Ot=te.forwardRef((a,r)=>{var d=a,{className:e}=d,s=O(d,["className"]);return n.jsx("div",M({ref:r,className:j(y("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=te.forwardRef((d,a)=>{var o=d,{className:e,children:s}=o,r=O(o,["className","children"]);return n.jsx("div",Z(M({className:j(y(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=_.forwardRef(({className:e,items:s,isExpandedInMobile:r},a)=>{const[d,o]=_.useState(!1);return _.useEffect(()=>{r&&o(r)},[r]),n.jsxs("div",{className:j(y(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:y(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:y("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:y("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:y(!["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 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%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",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%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=_.forwardRef(({images:e})=>{const[s,r]=_.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:ps,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:gs,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(y("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=_.forwardRef(({title:e,content:s,expandIcon:r,collapseIcon:a,accordionClass:d,accordionHeaderClass:o,accordionTitleClass:l,accordionContentClass:i,isEnabled:u=!0,isExpanded:p=!0},g)=>{const[m,w]=_.useState(p),P=()=>{u&&w(!m)};return _.useEffect(()=>{u&&w(p)},[u,p]),n.jsxs("div",{className:j(y("silkhaus-accordion",d)),ref:g,children:[n.jsxs("div",{className:j(y("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:P,children:[n.jsx("div",{className:j(y(l)),children:e}),m?a||"-":r||"+"]}),m&&n.jsx("div",{className:j(y("silkhaus-accordion-content",i)),children:s})]})});qt.displayName="Accordion";function ms(...e){return j(y(e))}const Ve=_.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=_.forwardRef((e,s)=>{const o=e,{open:r,children:a}=o,d=O(o,["open","children"]);return n.jsx("div",Z(M({ref:s,className:`dialog ${r?"open":""}`},d),{children:a}))});Vt.displayName="Dialog";const Wt=_.forwardRef(({outerDivClassName:e="",banner:s="",title:r,description:a,primaryBtnText:d="Submit",showPrimaryBtn:o,secondaryBtnText:l="Cancel",showSecondaryBtn:i,onPrimaryBtnClick:u,onSecondaryBtnClick:p,disablePrimaryBtn:g=!1,disableSecondaryBtn:m=!1},w)=>n.jsx("div",{className:j(e),children:n.jsxs("div",{className:j(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:w,children:[s&&n.jsx("div",{className:"ds-mb-4 ds-bg-Background-accentEggplant-5 banner",style:{backgroundImage:`url(${s})`}}),n.jsxs("div",{className:y(!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: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:r}),a&&n.jsx("span",{className:"ds-text-black MediumBodyRegular",children:a})]}),n.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&&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(J,{color:"secondary",onClick:p,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(J,{color:"primary",onClick:u,disabled:g,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=_.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,p=2*Math.PI*u,g=p-e*p;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(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",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:`${p}`,strokeDashoffset:`${g}`})]})})]})});We.displayName="RoundedProgressBar";const Gt=_.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(y("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(y("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=_.forwardRef(({time:e,text:s="",outerDivClass:r=""},a)=>{const[d,o]=_.useState(e);_.useEffect(()=>{const u=setInterval(()=>{o(p=>p<=1?(clearInterval(u),0):p-1)},1e3);return()=>{clearInterval(u)}},[d]),_.useEffect(()=>{o(e)},[e]);const i=(u=>{const p=Math.floor(u/3600),g=Math.floor(u%3600/60),m=u%60;return`${String(p).padStart(2,"0")}:${String(g).padStart(2,"0")}:${String(m).padStart(2,"0")}`})(d);return n.jsxs("div",{ref:a,className:j(y("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=_.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=_.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(J,{size:"large",startIcon:n.jsx("img",{src:i,alt:"whatsapp"}),onClick:a,children:u})})]})});Ht.displayName="TopNavContainerMobile";const Jt=_.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(J,{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=_.forwardRef((e,s)=>{const w=e,{show:r,handleClose:a,staticBackdrop:d,animation:o="slideDown",children:l}=w,i=O(w,["show","handleClose","staticBackdrop","animation","children"]),[u,p]=_.useState(r),g=hs[o],m=()=>{p(r)};return n.jsx("div",Z(M({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":g+"Close"}`,onClick:P=>P.stopPropagation(),onAnimationEnd:m,children:l})}))});Xt.displayName="AnimatedModal";const Kt=_.forwardRef((e,s)=>{const F=e,{value:r,options:a,onSelectionChange:d=()=>{},isMultiSelect:o,noDataError:l,minWidthButton:i,buttonWidth:u}=F,p=O(F,["value","options","onSelectionChange","isMultiSelect","noDataError","minWidthButton","buttonWidth"]),[g,m]=_.useState([]);_.useEffect(()=>{r&&r.length?m(r):m([])},[r]);const w=(k,N)=>{N.currentTarget.blur();const h=[...g],C=h.findIndex(re=>re.value===k.value);C!==-1?h.splice(C,1):h.push(k),m(h),d(h)},P=(k,N)=>{N.currentTarget.blur();const h=[k];m(h),d(h)};return n.jsx("div",Z(M({ref:s},p),{children:n.jsx("div",{className:"ds-flex ds-flex-wrap",children:a.length>0?a.map((k,N)=>n.jsx("div",{className:"ds-p-2",children:o?n.jsx(J,{selected:g.some(h=>h.value===k.value),onClick:h=>w(k,h),color:"secondary",size:"small",style:{minWidth:i,width:u},children:k.label}):n.jsx(J,{selected:g.some(h=>h.value===k.value),onClick:h=>P(k,h),color:"secondary",style:{minWidth:i,width:u},size:"small",children:k.label})},N)):n.jsx("div",{className:"ds-p-2 ds-text-System-red ds_xSmallSubheadRegular",children:l})})}))});Kt.displayName="ButtonsGroupSelector";const Qt=_.forwardRef((e,s)=>{const
|
|
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(y("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=_.forwardRef(({time:e,text:s="",outerDivClass:r=""},a)=>{const[d,o]=_.useState(e);_.useEffect(()=>{const u=setInterval(()=>{o(p=>p<=1?(clearInterval(u),0):p-1)},1e3);return()=>{clearInterval(u)}},[d]),_.useEffect(()=>{o(e)},[e]);const i=(u=>{const p=Math.floor(u/3600),g=Math.floor(u%3600/60),m=u%60;return`${String(p).padStart(2,"0")}:${String(g).padStart(2,"0")}:${String(m).padStart(2,"0")}`})(d);return n.jsxs("div",{ref:a,className:j(y("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=_.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=_.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(J,{size:"large",startIcon:n.jsx("img",{src:i,alt:"whatsapp"}),onClick:a,children:u})})]})});Ht.displayName="TopNavContainerMobile";const Jt=_.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(J,{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=_.forwardRef((e,s)=>{const w=e,{show:r,handleClose:a,staticBackdrop:d,animation:o="slideDown",children:l}=w,i=O(w,["show","handleClose","staticBackdrop","animation","children"]),[u,p]=_.useState(r),g=hs[o],m=()=>{p(r)};return n.jsx("div",Z(M({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":g+"Close"}`,onClick:P=>P.stopPropagation(),onAnimationEnd:m,children:l})}))});Xt.displayName="AnimatedModal";const Kt=_.forwardRef((e,s)=>{const F=e,{value:r,options:a,onSelectionChange:d=()=>{},isMultiSelect:o,noDataError:l,minWidthButton:i,buttonWidth:u}=F,p=O(F,["value","options","onSelectionChange","isMultiSelect","noDataError","minWidthButton","buttonWidth"]),[g,m]=_.useState([]);_.useEffect(()=>{r&&r.length?m(r):m([])},[r]);const w=(k,N)=>{N.currentTarget.blur();const h=[...g],C=h.findIndex(re=>re.value===k.value);C!==-1?h.splice(C,1):h.push(k),m(h),d(h)},P=(k,N)=>{N.currentTarget.blur();const h=[k];m(h),d(h)};return n.jsx("div",Z(M({ref:s},p),{children:n.jsx("div",{className:"ds-flex ds-flex-wrap",children:a.length>0?a.map((k,N)=>n.jsx("div",{className:"ds-p-2",children:o?n.jsx(J,{selected:g.some(h=>h.value===k.value),onClick:h=>w(k,h),color:"secondary",size:"small",style:{minWidth:i,width:u},children:k.label}):n.jsx(J,{selected:g.some(h=>h.value===k.value),onClick:h=>P(k,h),color:"secondary",style:{minWidth:i,width:u},size:"small",children:k.label})},N)):n.jsx("div",{className:"ds-p-2 ds-text-System-red ds_xSmallSubheadRegular",children:l})})}))});Kt.displayName="ButtonsGroupSelector";const Qt=_.forwardRef((e,s)=>{const g=e,{cardImg:r,children:a,onSelectionChange:d,enabled:o,heading:l,subHeading:i,htmlId:u}=g,p=O(g,["cardImg","children","onSelectionChange","enabled","heading","subHeading","htmlId"]);return n.jsx("div",Z(M({ref:s},p),{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=J;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.d.ts
CHANGED
|
@@ -231,6 +231,7 @@ export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement>
|
|
|
231
231
|
heading?: string;
|
|
232
232
|
enabled: boolean;
|
|
233
233
|
subHeading?: string;
|
|
234
|
+
htmlId?: string;
|
|
234
235
|
}
|
|
235
236
|
|
|
236
237
|
export declare const TopNavBar: default_2.ForwardRefExoticComponent<TopNavBarProps & default_2.RefAttributes<HTMLDivElement>>;
|
package/dist/index.js
CHANGED
|
@@ -33,18 +33,14 @@ var Le = { exports: {} }, xe = {};
|
|
|
33
33
|
*/
|
|
34
34
|
var ct;
|
|
35
35
|
function cr() {
|
|
36
|
-
if (ct)
|
|
37
|
-
return xe;
|
|
36
|
+
if (ct) return xe;
|
|
38
37
|
ct = 1;
|
|
39
38
|
var e = D, s = Symbol.for("react.element"), r = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, d = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
40
39
|
function l(i, u, p) {
|
|
41
40
|
var g, m = {}, w = null, P = null;
|
|
42
41
|
p !== void 0 && (w = "" + p), u.key !== void 0 && (w = "" + u.key), u.ref !== void 0 && (P = u.ref);
|
|
43
|
-
for (g in u)
|
|
44
|
-
|
|
45
|
-
if (i && i.defaultProps)
|
|
46
|
-
for (g in u = i.defaultProps, u)
|
|
47
|
-
m[g] === void 0 && (m[g] = u[g]);
|
|
42
|
+
for (g in u) a.call(u, g) && !o.hasOwnProperty(g) && (m[g] = u[g]);
|
|
43
|
+
if (i && i.defaultProps) for (g in u = i.defaultProps, u) m[g] === void 0 && (m[g] = u[g]);
|
|
48
44
|
return { $$typeof: s, type: i, key: w, ref: P, props: m, _owner: d.current };
|
|
49
45
|
}
|
|
50
46
|
return xe.Fragment = r, xe.jsx = l, xe.jsxs = l, xe;
|
|
@@ -657,21 +653,15 @@ process.env.NODE_ENV === "production" ? Le.exports = cr() : Le.exports = ur();
|
|
|
657
653
|
var n = Le.exports;
|
|
658
654
|
function Et(e) {
|
|
659
655
|
var s, r, a = "";
|
|
660
|
-
if (typeof e == "string" || typeof e == "number")
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
for (s = 0; s < d; s++)
|
|
666
|
-
e[s] && (r = Et(e[s])) && (a && (a += " "), a += r);
|
|
667
|
-
} else
|
|
668
|
-
for (r in e)
|
|
669
|
-
e[r] && (a && (a += " "), a += r);
|
|
656
|
+
if (typeof e == "string" || typeof e == "number") a += e;
|
|
657
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
658
|
+
var d = e.length;
|
|
659
|
+
for (s = 0; s < d; s++) e[s] && (r = Et(e[s])) && (a && (a += " "), a += r);
|
|
660
|
+
} else for (r in e) e[r] && (a && (a += " "), a += r);
|
|
670
661
|
return a;
|
|
671
662
|
}
|
|
672
663
|
function y() {
|
|
673
|
-
for (var e, s, r = 0, a = "", d = arguments.length; r < d; r++)
|
|
674
|
-
(e = arguments[r]) && (s = Et(e)) && (a && (a += " "), a += s);
|
|
664
|
+
for (var e, s, r = 0, a = "", d = arguments.length; r < d; r++) (e = arguments[r]) && (s = Et(e)) && (a && (a += " "), a += s);
|
|
675
665
|
return a;
|
|
676
666
|
}
|
|
677
667
|
const Ge = "-";
|
|
@@ -3214,30 +3204,21 @@ const bt = "data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%20
|
|
|
3214
3204
|
Gr.displayName = "Input";
|
|
3215
3205
|
function Nt(e) {
|
|
3216
3206
|
var s, r, a = "";
|
|
3217
|
-
if (typeof e == "string" || typeof e == "number")
|
|
3218
|
-
|
|
3219
|
-
else
|
|
3220
|
-
if (Array.isArray(e))
|
|
3221
|
-
for (s = 0; s < e.length; s++)
|
|
3222
|
-
e[s] && (r = Nt(e[s])) && (a && (a += " "), a += r);
|
|
3223
|
-
else
|
|
3224
|
-
for (s in e)
|
|
3225
|
-
e[s] && (a && (a += " "), a += s);
|
|
3207
|
+
if (typeof e == "string" || typeof e == "number") a += e;
|
|
3208
|
+
else if (typeof e == "object") if (Array.isArray(e)) for (s = 0; s < e.length; s++) e[s] && (r = Nt(e[s])) && (a && (a += " "), a += r);
|
|
3209
|
+
else for (s in e) e[s] && (a && (a += " "), a += s);
|
|
3226
3210
|
return a;
|
|
3227
3211
|
}
|
|
3228
3212
|
function Yr() {
|
|
3229
|
-
for (var e, s, r = 0, a = ""; r < arguments.length; )
|
|
3230
|
-
(e = arguments[r++]) && (s = Nt(e)) && (a && (a += " "), a += s);
|
|
3213
|
+
for (var e, s, r = 0, a = ""; r < arguments.length; ) (e = arguments[r++]) && (s = Nt(e)) && (a && (a += " "), a += s);
|
|
3231
3214
|
return a;
|
|
3232
3215
|
}
|
|
3233
3216
|
const wt = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, jt = Yr, Pt = (e, s) => (r) => {
|
|
3234
3217
|
var a;
|
|
3235
|
-
if ((s == null ? void 0 : s.variants) == null)
|
|
3236
|
-
return jt(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
3218
|
+
if ((s == null ? void 0 : s.variants) == null) return jt(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
3237
3219
|
const { variants: d, defaultVariants: o } = s, l = Object.keys(d).map((p) => {
|
|
3238
3220
|
const g = r == null ? void 0 : r[p], m = o == null ? void 0 : o[p];
|
|
3239
|
-
if (g === null)
|
|
3240
|
-
return null;
|
|
3221
|
+
if (g === null) return null;
|
|
3241
3222
|
const w = wt(g) || wt(m);
|
|
3242
3223
|
return d[p][w];
|
|
3243
3224
|
}), i = r && Object.entries(r).reduce((p, g) => {
|
|
@@ -4097,22 +4078,24 @@ const vs = re((e, s) => {
|
|
|
4097
4078
|
});
|
|
4098
4079
|
vs.displayName = "ButtonsGroupSelector";
|
|
4099
4080
|
const ys = re((e, s) => {
|
|
4100
|
-
const
|
|
4081
|
+
const g = e, {
|
|
4101
4082
|
cardImg: r,
|
|
4102
4083
|
children: a,
|
|
4103
4084
|
onSelectionChange: d,
|
|
4104
4085
|
enabled: o,
|
|
4105
4086
|
heading: l,
|
|
4106
|
-
subHeading: i
|
|
4107
|
-
|
|
4087
|
+
subHeading: i,
|
|
4088
|
+
htmlId: u
|
|
4089
|
+
} = g, p = I(g, [
|
|
4108
4090
|
"cardImg",
|
|
4109
4091
|
"children",
|
|
4110
4092
|
"onSelectionChange",
|
|
4111
4093
|
"enabled",
|
|
4112
4094
|
"heading",
|
|
4113
|
-
"subHeading"
|
|
4095
|
+
"subHeading",
|
|
4096
|
+
"htmlId"
|
|
4114
4097
|
]);
|
|
4115
|
-
return /* @__PURE__ */ n.jsx("div", Q(z({ ref: s },
|
|
4098
|
+
return /* @__PURE__ */ n.jsx("div", Q(z({ ref: s }, p), { children: /* @__PURE__ */ n.jsxs("div", { className: "ds-bg-white ds-border ds-rounded ds-border-Fills-quadrutery", children: [
|
|
4116
4099
|
/* @__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: [
|
|
4117
4100
|
/* @__PURE__ */ n.jsxs("div", { className: "ds-flex", children: [
|
|
4118
4101
|
/* @__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" }),
|
|
@@ -4121,7 +4104,7 @@ const ys = re((e, s) => {
|
|
|
4121
4104
|
/* @__PURE__ */ n.jsx("span", { className: "ds-tablet:ds_MediumCaption1Regular ds-mobile:ds_xSmallCaption1Regular ds-zero:ds_xSmallCaption1Regular", children: i })
|
|
4122
4105
|
] })
|
|
4123
4106
|
] }),
|
|
4124
|
-
/* @__PURE__ */ n.jsx("div", { className: "ds-flex ds-items-center", children: /* @__PURE__ */ n.jsx(At, { onChange: d, checked: o }) })
|
|
4107
|
+
/* @__PURE__ */ n.jsx("div", { className: "ds-flex ds-items-center", children: /* @__PURE__ */ n.jsx(At, { onChange: d, checked: o, htmlId: u }) })
|
|
4125
4108
|
] }),
|
|
4126
4109
|
/* @__PURE__ */ n.jsx("div", { className: `ds-min-h-[50px] ${o ? "ds-block" : "ds-hidden"}`, children: a })
|
|
4127
4110
|
] }) }));
|
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.
|
|
4
|
+
"version": "0.0.87-beta.weekly-cleaning.1",
|
|
5
5
|
"description": "A template for creating React component libraries with Vite, Tailwind, and Storybook.",
|
|
6
6
|
"author": "meet-codevyasa",
|
|
7
7
|
"license": "MIT",
|