@uniformdev/csk-components 6.0.39-alpha.1 → 6.0.41-alpha.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.
Files changed (38) hide show
  1. package/dist/{accordion-item-ZOZZ7NXW.mjs → accordion-item-ZS3TSISI.mjs} +1 -1
  2. package/dist/{banner-IEIW6KBW.mjs → banner-NNL34KVD.mjs} +1 -1
  3. package/dist/{carousel-ZJ3ZOXUF.mjs → carousel-KSNELZEM.mjs} +1 -1
  4. package/dist/{carousel-XYMSTRWI.mjs → carousel-YLA2VELY.mjs} +1 -1
  5. package/dist/{chunk-K5MNNF5E.mjs → chunk-26BSLQVU.mjs} +1 -1
  6. package/dist/{chunk-2DY4O2JO.mjs → chunk-BHR3T7BX.mjs} +1 -1
  7. package/dist/{chunk-BQAAJHM4.mjs → chunk-CLSZO62H.mjs} +1 -1
  8. package/dist/{chunk-HFK5YODN.mjs → chunk-DBSKI4UW.mjs} +1 -1
  9. package/dist/chunk-J2GMOCYV.mjs +1 -0
  10. package/dist/{chunk-PFD46UJF.mjs → chunk-PC5W2GRG.mjs} +1 -1
  11. package/dist/chunk-RZFK2OR7.mjs +1 -0
  12. package/dist/{chunk-QLEOPXHB.mjs → chunk-VZCFPWET.mjs} +1 -1
  13. package/dist/components/canvas/emptyPlaceholders.mjs +1 -1
  14. package/dist/components/canvas/index.d.mts +14 -14
  15. package/dist/components/canvas/index.mjs +1 -1
  16. package/dist/components/ui/index.d.mts +2 -2
  17. package/dist/components/ui/index.mjs +1 -1
  18. package/dist/content/components/canvas/Button/index.tsx +3 -3
  19. package/dist/content/components/canvas/DemoHero/index.tsx +4 -4
  20. package/dist/content/components/canvas/IconLabel/index.tsx +2 -2
  21. package/dist/content/components/canvas/Image/index.tsx +2 -2
  22. package/dist/content/components/canvas/ImageGallery/index.tsx +2 -2
  23. package/dist/content/components/canvas/NavigationFlyout/index.tsx +2 -2
  24. package/dist/content/components/canvas/NavigationGroup/index.tsx +2 -2
  25. package/dist/content/components/canvas/NavigationLink/index.tsx +2 -2
  26. package/dist/content/components/canvas/Video/index.tsx +2 -2
  27. package/dist/content/components/ui/Container/container.tsx +7 -1
  28. package/dist/content/components/ui/Container/index.ts +1 -0
  29. package/dist/content/utils/assets.ts +3 -3
  30. package/dist/{image-gallery-DBTZBKG5.mjs → image-gallery-ISM5BLSF.mjs} +1 -1
  31. package/dist/{index-D-lbmp5W.d.mts → index-GfacBA0f.d.mts} +1 -0
  32. package/dist/{mobile-UY6GVZNF.mjs → mobile-C3RAMYEQ.mjs} +1 -1
  33. package/dist/{navigation-flyout-2NRYXQ2N.mjs → navigation-flyout-TQO777FY.mjs} +1 -1
  34. package/dist/{tabs-VSNSBQQ6.mjs → tabs-QEFLGIZ3.mjs} +1 -1
  35. package/dist/utils/assets.d.mts +3 -3
  36. package/package.json +5 -5
  37. package/dist/chunk-EI3IJHIE.mjs +0 -1
  38. package/dist/chunk-IUFXERZ7.mjs +0 -1
@@ -1 +1 @@
1
- "use client";import{a as p}from"./chunk-QHIWJPL6.mjs";import{a as n}from"./chunk-EI3IJHIE.mjs";import{c as m}from"./chunk-S7CSCIW4.mjs";import{useCallback as P,useState as B}from"react";import{UniformSlot as N,UniformText as R}from"@uniformdev/canvas-next-rsc/component";import{jsx as c}from"react/jsx-runtime";var f=({className:t,...o})=>c("svg",{className:t,width:"15",height:"9",viewBox:"0 0 15 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...o,children:c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.50013 0L0 7.13651L1.95843 9L7.5 3.7271L13.0416 9L15 7.13651L7.50013 0Z",fill:"currentColor"})});import{jsx as d}from"react/jsx-runtime";var a=({className:t,...o})=>d("svg",{className:t,width:"15",height:"9",viewBox:"0 0 15 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...o,children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.49987 9L15 1.86349L13.0416 0L7.5 5.2729L1.95843 0L0 1.86349L7.49987 9Z",fill:"currentColor"})});import{jsx as e,jsxs as w}from"react/jsx-runtime";var q=({tag:t,alignment:o,color:u,size:x,font:v,weight:C,transform:h,decoration:L,letterSpacing:g,slots:S,component:l,context:i,backgroundColor:r,spacing:I,className:A})=>{let[s,G]=B(!1),V=P(()=>G(F=>!F),[]);return w(n,{fluidContent:!0,fullHeight:!1,children:[e(n,{backgroundColor:r,spacing:I,fluidContent:!0,className:A,children:w("button",{onClick:V,className:"flex w-full flex-row items-center justify-between text-start",children:[e(p,{alignment:o,color:u,size:x,font:v,weight:C,transform:h,decoration:L,letterSpacing:g,children:e(R,{placeholder:"Text goes here",parameterId:"text",as:t||void 0,component:l,context:i})}),e("div",{className:m({[`text-${r} invert`]:!!r,"text-black dark:text-white":!r}),children:s?e(f,{}):e(a,{})})]})}),s&&e(N,{data:l,context:i,slot:S.accordionItemContent})]})};export{q as AccordionItem};
1
+ "use client";import{a as p}from"./chunk-QHIWJPL6.mjs";import{a as n}from"./chunk-RZFK2OR7.mjs";import{c as m}from"./chunk-S7CSCIW4.mjs";import{useCallback as P,useState as B}from"react";import{UniformSlot as N,UniformText as R}from"@uniformdev/canvas-next-rsc/component";import{jsx as c}from"react/jsx-runtime";var f=({className:t,...o})=>c("svg",{className:t,width:"15",height:"9",viewBox:"0 0 15 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...o,children:c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.50013 0L0 7.13651L1.95843 9L7.5 3.7271L13.0416 9L15 7.13651L7.50013 0Z",fill:"currentColor"})});import{jsx as d}from"react/jsx-runtime";var a=({className:t,...o})=>d("svg",{className:t,width:"15",height:"9",viewBox:"0 0 15 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...o,children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.49987 9L15 1.86349L13.0416 0L7.5 5.2729L1.95843 0L0 1.86349L7.49987 9Z",fill:"currentColor"})});import{jsx as e,jsxs as w}from"react/jsx-runtime";var q=({tag:t,alignment:o,color:u,size:x,font:v,weight:C,transform:h,decoration:L,letterSpacing:g,slots:S,component:l,context:i,backgroundColor:r,spacing:I,className:A})=>{let[s,G]=B(!1),V=P(()=>G(F=>!F),[]);return w(n,{fluidContent:!0,fullHeight:!1,children:[e(n,{backgroundColor:r,spacing:I,fluidContent:!0,className:A,children:w("button",{onClick:V,className:"flex w-full flex-row items-center justify-between text-start",children:[e(p,{alignment:o,color:u,size:x,font:v,weight:C,transform:h,decoration:L,letterSpacing:g,children:e(R,{placeholder:"Text goes here",parameterId:"text",as:t||void 0,component:l,context:i})}),e("div",{className:m({[`text-${r} invert`]:!!r,"text-black dark:text-white":!r}),children:s?e(f,{}):e(a,{})})]})}),s&&e(N,{data:l,context:i,slot:S.accordionItemContent})]})};export{q as AccordionItem};
@@ -1 +1 @@
1
- "use client";import"./chunk-BQAAJHM4.mjs";import{a as i}from"./chunk-EI3IJHIE.mjs";import"./chunk-MSXDLSXH.mjs";import{c as e}from"./chunk-S7CSCIW4.mjs";import{useCallback as L,useState as S}from"react";import{UniformSlot as V}from"@uniformdev/canvas-next-rsc/component";import{jsx as s}from"react/jsx-runtime";var h=({className:t,...o})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",className:e("size-5",t),...o,children:s("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})}),y=({onClose:t,iconColor:o})=>s("button",{onClick:t,className:e("absolute right-5 top-1/2 -translate-y-1/2",{[`text-${o}`]:o}),children:s(h,{})}),C=y;var f=({variant:t,floating:o})=>e({"!w-11/12 left-1/2 -translate-x-1/2 my-4":o&&!!t,"fixed top-0 w-full z-10":t==="top","fixed bottom-0 w-full z-10":t==="bottom","p-4":o&&!t}),u=({contentAlignment:t,iconColor:o,fluidContent:r,floating:n})=>e("flex flex-row gap-x-4",{"justify-start":t==="left","justify-center":t==="center","justify-end":t==="right","pr-10":t==="right"&&o,"!mx-0":!r,"rounded-lg":n});import{jsx as p,jsxs as k}from"react/jsx-runtime";var X=({component:t,context:o,backgroundColor:r,spacing:n,border:c,fluidContent:a,slots:P,iconColor:l,contentAlignment:x="center",floating:m=!1})=>{let[d,B]=S(!0),g=L(()=>{B(!1)},[]);if(!d)return null;let w=f({variant:t.variant,floating:m}),b=u({contentAlignment:x,iconColor:l,fluidContent:a,floating:m});return p(i,{className:w,fluidContent:a,border:c,children:k(i,{className:e("relative w-full",b),backgroundColor:r,spacing:n,fluidContent:a,children:[p(V,{data:t,context:o,slot:P.bannerContent}),l&&p(C,{onClose:g,iconColor:l})]})})};export{X as Banner};
1
+ "use client";import"./chunk-CLSZO62H.mjs";import{a as i}from"./chunk-RZFK2OR7.mjs";import"./chunk-MSXDLSXH.mjs";import{c as e}from"./chunk-S7CSCIW4.mjs";import{useCallback as L,useState as S}from"react";import{UniformSlot as V}from"@uniformdev/canvas-next-rsc/component";import{jsx as s}from"react/jsx-runtime";var h=({className:t,...o})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",className:e("size-5",t),...o,children:s("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})}),y=({onClose:t,iconColor:o})=>s("button",{onClick:t,className:e("absolute right-5 top-1/2 -translate-y-1/2",{[`text-${o}`]:o}),children:s(h,{})}),C=y;var f=({variant:t,floating:o})=>e({"!w-11/12 left-1/2 -translate-x-1/2 my-4":o&&!!t,"fixed top-0 w-full z-10":t==="top","fixed bottom-0 w-full z-10":t==="bottom","p-4":o&&!t}),u=({contentAlignment:t,iconColor:o,fluidContent:r,floating:n})=>e("flex flex-row gap-x-4",{"justify-start":t==="left","justify-center":t==="center","justify-end":t==="right","pr-10":t==="right"&&o,"!mx-0":!r,"rounded-lg":n});import{jsx as p,jsxs as k}from"react/jsx-runtime";var X=({component:t,context:o,backgroundColor:r,spacing:n,border:c,fluidContent:a,slots:P,iconColor:l,contentAlignment:x="center",floating:m=!1})=>{let[d,B]=S(!0),g=L(()=>{B(!1)},[]);if(!d)return null;let w=f({variant:t.variant,floating:m}),b=u({contentAlignment:x,iconColor:l,fluidContent:a,floating:m});return p(i,{className:w,fluidContent:a,border:c,children:k(i,{className:e("relative w-full",b),backgroundColor:r,spacing:n,fluidContent:a,children:[p(V,{data:t,context:o,slot:P.bannerContent}),l&&p(C,{onClose:g,iconColor:l})]})})};export{X as Banner};
@@ -1 +1 @@
1
- "use client";import{a as m}from"./chunk-EI3IJHIE.mjs";import{c as d}from"./chunk-S7CSCIW4.mjs";import{useCallback as i,useEffect as C,useRef as E,useState as v}from"react";import{jsx as s,jsxs as x}from"react/jsx-runtime";var R=({countOfItems:l,backgroundColor:t,spacing:h,border:p,fluidContent:w,fullHeight:b,children:o})=>{let n=E(null),[a,u]=v(0),[B,N]=v(!1),r=l||(Array.isArray(o)?o.length:1);C(()=>{let e=()=>N(y=>!y);return window.addEventListener("resize",e,{passive:!0}),()=>window.removeEventListener("resize",e)},[]),C(()=>{if(n.current){let{clientWidth:e}=n.current;n.current.scrollLeft=a*e}},[a,B]);let c=i(()=>u(e=>e===0?r-1:e-1),[r]),f=i(()=>u(e=>r-1===e?0:e+1),[r]),k=i(()=>x("div",{className:d("absolute inset-x-5 top-1/2 flex -translate-y-1/2 justify-between",{[`text-${t} invert`]:!!t,"text-black dark:text-white":!t}),children:[s("button",{onClick:c,children:"\u276E"}),s("button",{onClick:f,children:"\u276F"})]}),[t,f,c]);return s(m,{backgroundColor:t,spacing:h,border:p,fluidContent:w,fullHeight:b,children:x("div",{className:"relative",children:[s("div",{ref:n,className:"flex flex-row items-center overflow-x-hidden scroll-smooth",children:o}),k()]})})};export{R as Carousel};
1
+ "use client";import{a as m}from"./chunk-RZFK2OR7.mjs";import{c as d}from"./chunk-S7CSCIW4.mjs";import{useCallback as i,useEffect as C,useRef as E,useState as v}from"react";import{jsx as s,jsxs as x}from"react/jsx-runtime";var R=({countOfItems:l,backgroundColor:t,spacing:h,border:p,fluidContent:w,fullHeight:b,children:o})=>{let n=E(null),[a,u]=v(0),[B,N]=v(!1),r=l||(Array.isArray(o)?o.length:1);C(()=>{let e=()=>N(y=>!y);return window.addEventListener("resize",e,{passive:!0}),()=>window.removeEventListener("resize",e)},[]),C(()=>{if(n.current){let{clientWidth:e}=n.current;n.current.scrollLeft=a*e}},[a,B]);let c=i(()=>u(e=>e===0?r-1:e-1),[r]),f=i(()=>u(e=>r-1===e?0:e+1),[r]),k=i(()=>x("div",{className:d("absolute inset-x-5 top-1/2 flex -translate-y-1/2 justify-between",{[`text-${t} invert`]:!!t,"text-black dark:text-white":!t}),children:[s("button",{onClick:c,children:"\u276E"}),s("button",{onClick:f,children:"\u276F"})]}),[t,f,c]);return s(m,{backgroundColor:t,spacing:h,border:p,fluidContent:w,fullHeight:b,children:x("div",{className:"relative",children:[s("div",{ref:n,className:"flex flex-row items-center overflow-x-hidden scroll-smooth",children:o}),k()]})})};export{R as Carousel};
@@ -1 +1 @@
1
- "use client";import{a as r}from"./chunk-IUFXERZ7.mjs";import{UniformSlot as a}from"@uniformdev/canvas-next-rsc/component";import{jsx as t}from"react/jsx-runtime";var c=({child:e,key:o})=>t("div",{className:"flex size-full min-w-full items-center justify-center",children:e},o),p=({slots:e,component:o,context:s,backgroundColor:l,spacing:m,border:i,fluidContent:n,fullHeight:u})=>t(r,{backgroundColor:l,spacing:m,border:i,fluidContent:n,fullHeight:u,countOfItems:e.carouselItems?.items.length??0,children:t(a,{context:s,slot:e.carouselItems,data:o,children:c})});export{p as Carousel};
1
+ "use client";import{a as r}from"./chunk-J2GMOCYV.mjs";import{UniformSlot as a}from"@uniformdev/canvas-next-rsc/component";import{jsx as t}from"react/jsx-runtime";var c=({child:e,key:o})=>t("div",{className:"flex size-full min-w-full items-center justify-center",children:e},o),p=({slots:e,component:o,context:s,backgroundColor:l,spacing:m,border:i,fluidContent:n,fullHeight:u})=>t(r,{backgroundColor:l,spacing:m,border:i,fluidContent:n,fullHeight:u,countOfItems:e.carouselItems?.items.length??0,children:t(a,{context:s,slot:e.carouselItems,data:o,children:c})});export{p as Carousel};
@@ -1 +1 @@
1
- import{c as B,d as w}from"./chunk-3TBBNSCU.mjs";import{a as F}from"./chunk-QHIWJPL6.mjs";import{a as R,b as d}from"./chunk-QLEOPXHB.mjs";import{a as m}from"./chunk-EI3IJHIE.mjs";import{d as y}from"./chunk-2OD4OVSF.mjs";import{a as g,c as a}from"./chunk-S7CSCIW4.mjs";import A from"next/link";import{jsx as _}from"react/jsx-runtime";var x=({children:o,link:e,openInNewTab:t,rel:i,className:r})=>_(A,{href:e,className:a("[&:hover_img]:scale-[0.98] [&_img]:transition-transform hover:underline transition-transform",r),target:t?"_blank":"_self",rel:i,children:o});var L=(e=>(e.Link="link",e))(L||{});import{jsx as H,jsxs as Z}from"react/jsx-runtime";var O=({children:o,href:e,className:t,onClick:i})=>{let r=y(e);return e?H(x,{className:t,link:e,openInNewTab:r,rel:r?"noopener noreferrer":"",children:o}):H("button",{onClick:i,className:t,children:o})},E=({variant:o,children:e,href:t,className:i,onClick:r,textColor:n,textSize:s,buttonColor:p,isActive:W,icon:c,iconPosition:z,border:h="",textTransform:u="",textWeight:P,textFont:C,size:N,hoverButtonColor:k,hoverTextColor:b})=>{let D=a("block w-max font-medium focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50",{[`text-${n}`]:n,[`hover:text-${b}`]:b,"flex flex-row gap-x-2":c,"flex-row-reverse":c&&z==="right",[`font-${C}`]:!!C,[`font-${P}`]:!!P,[`p-${N}`]:N,[u]:!!u,[g(h,"{value}")]:h,[g(s,"text-{value}")]:s}),G=a({[`bg-${p}`]:p,[`hover:bg-${k}`]:k}),V=a("bg-transparent hover:underline hover:opacity-100",{[`hover:decoration-${p}`]:p,"!underline":t===W});return Z(O,{href:t,onClick:r,className:a(D,{[G]:!o,[V]:o==="link"},i),children:[c,e]})};import{jsx as T,jsxs as J}from"react/jsx-runtime";var q=({type:o,placeholder:e})=>J("div",{className:"flex aspect-video size-full flex-col items-center justify-center bg-white text-black dark:bg-black dark:text-white",children:[T(o==="video"?w:B,{className:"size-1/2 max-h-36 max-w-36"}),!!e&&T(F,{className:"text-center",weight:"bold",children:e})]});import{jsx as v,jsxs as S}from"react/jsx-runtime";var K=({logo:o,content:e,copyright:t,backgroundColor:i,spacing:r,border:n,fluidContent:s})=>v("footer",{children:v(m,{backgroundColor:i,spacing:r,border:n,fluidContent:s,children:S(m,{className:"flex w-full flex-col justify-between gap-4 md:flex-row",children:[S("div",{className:"flex flex-col gap-2 gap-y-4 md:w-1/2",children:[o,t]}),v("div",{children:e})]})})});import U from"next/dynamic";import{jsx as l,jsxs as Q}from"react/jsx-runtime";var M=({leftSection:o,rightSection:e,children:t,backgroundColor:i,spacing:r,border:n,className:s})=>l("nav",{children:l(m,{fluidContent:!0,backgroundColor:i,spacing:r,border:n,className:s,children:Q(R,{className:"items-center",columnsCount:"12",children:[l(d,{columnSpan:"span-3",children:l("div",{className:"flex items-center justify-start",children:o})}),l(d,{columnSpan:"span-6",children:l("div",{className:"flex items-center justify-center gap-x-8",children:t})}),l(d,{columnSpan:"span-3",children:l("div",{className:"flex items-center justify-end gap-x-4",children:e})})]})})});import{jsx as f,jsxs as j}from"react/jsx-runtime";var X=U(()=>import("./mobile-UY6GVZNF.mjs").then(o=>o.MobileHeader)),Y=({sticky:o,...e})=>j("header",{className:a({"sticky top-0 shadow z-10":o}),children:[f("div",{className:"hidden md:block",children:f(M,{...e})}),f("div",{className:"block md:hidden",children:f(X,{...e})})]});import{jsx as oe,jsxs as te}from"react/jsx-runtime";var ee=({className:o,header:e,footer:t,children:i,backgroundColor:r,...n})=>te("div",{className:a("flex min-h-screen flex-col",o,{[`bg-${r}`]:!!r}),...n,children:[e,oe("div",{className:"flex flex-1 flex-col",children:i}),t]});import{jsx as $,jsxs as I}from"react/jsx-runtime";var re=({rating:o,showReviewLabel:e,starsColor:t,activeStarsColor:i})=>I("div",{className:"flex items-center space-x-1",children:[Array.from({length:5},(r,n)=>{let s=o>=n+1;return $("svg",{className:a("w-5 h-5",{[`fill-${t}`]:!s,[`fill-${i}`]:s}),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 22 20",children:$("path",{d:"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"})},n)}),e&&I("div",{className:"text-sm leading-[3px]",children:["(",o,"/5)"]})]});export{x as a,E as b,L as c,q as d,K as e,Y as f,ee as g,re as h};
1
+ import{c as B,d as w}from"./chunk-3TBBNSCU.mjs";import{a as F}from"./chunk-QHIWJPL6.mjs";import{a as R,b as d}from"./chunk-VZCFPWET.mjs";import{a as m}from"./chunk-RZFK2OR7.mjs";import{d as y}from"./chunk-2OD4OVSF.mjs";import{a as g,c as a}from"./chunk-S7CSCIW4.mjs";import A from"next/link";import{jsx as _}from"react/jsx-runtime";var x=({children:o,link:e,openInNewTab:t,rel:i,className:r})=>_(A,{href:e,className:a("[&:hover_img]:scale-[0.98] [&_img]:transition-transform hover:underline transition-transform",r),target:t?"_blank":"_self",rel:i,children:o});var L=(e=>(e.Link="link",e))(L||{});import{jsx as H,jsxs as Z}from"react/jsx-runtime";var O=({children:o,href:e,className:t,onClick:i})=>{let r=y(e);return e?H(x,{className:t,link:e,openInNewTab:r,rel:r?"noopener noreferrer":"",children:o}):H("button",{onClick:i,className:t,children:o})},E=({variant:o,children:e,href:t,className:i,onClick:r,textColor:n,textSize:s,buttonColor:p,isActive:W,icon:c,iconPosition:z,border:h="",textTransform:u="",textWeight:P,textFont:C,size:N,hoverButtonColor:k,hoverTextColor:b})=>{let D=a("block w-max font-medium focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50",{[`text-${n}`]:n,[`hover:text-${b}`]:b,"flex flex-row gap-x-2":c,"flex-row-reverse":c&&z==="right",[`font-${C}`]:!!C,[`font-${P}`]:!!P,[`p-${N}`]:N,[u]:!!u,[g(h,"{value}")]:h,[g(s,"text-{value}")]:s}),G=a({[`bg-${p}`]:p,[`hover:bg-${k}`]:k}),V=a("bg-transparent hover:underline hover:opacity-100",{[`hover:decoration-${p}`]:p,"!underline":t===W});return Z(O,{href:t,onClick:r,className:a(D,{[G]:!o,[V]:o==="link"},i),children:[c,e]})};import{jsx as T,jsxs as J}from"react/jsx-runtime";var q=({type:o,placeholder:e})=>J("div",{className:"flex aspect-video size-full flex-col items-center justify-center bg-white text-black dark:bg-black dark:text-white",children:[T(o==="video"?w:B,{className:"size-1/2 max-h-36 max-w-36"}),!!e&&T(F,{className:"text-center",weight:"bold",children:e})]});import{jsx as v,jsxs as S}from"react/jsx-runtime";var K=({logo:o,content:e,copyright:t,backgroundColor:i,spacing:r,border:n,fluidContent:s})=>v("footer",{children:v(m,{backgroundColor:i,spacing:r,border:n,fluidContent:s,children:S(m,{className:"flex w-full flex-col justify-between gap-4 md:flex-row",children:[S("div",{className:"flex flex-col gap-2 gap-y-4 md:w-1/2",children:[o,t]}),v("div",{children:e})]})})});import U from"next/dynamic";import{jsx as l,jsxs as Q}from"react/jsx-runtime";var M=({leftSection:o,rightSection:e,children:t,backgroundColor:i,spacing:r,border:n,className:s})=>l("nav",{children:l(m,{fluidContent:!0,backgroundColor:i,spacing:r,border:n,className:s,children:Q(R,{className:"items-center",columnsCount:"12",children:[l(d,{columnSpan:"span-3",children:l("div",{className:"flex items-center justify-start",children:o})}),l(d,{columnSpan:"span-6",children:l("div",{className:"flex items-center justify-center gap-x-8",children:t})}),l(d,{columnSpan:"span-3",children:l("div",{className:"flex items-center justify-end gap-x-4",children:e})})]})})});import{jsx as f,jsxs as j}from"react/jsx-runtime";var X=U(()=>import("./mobile-C3RAMYEQ.mjs").then(o=>o.MobileHeader)),Y=({sticky:o,...e})=>j("header",{className:a({"sticky top-0 shadow z-10":o}),children:[f("div",{className:"hidden md:block",children:f(M,{...e})}),f("div",{className:"block md:hidden",children:f(X,{...e})})]});import{jsx as oe,jsxs as te}from"react/jsx-runtime";var ee=({className:o,header:e,footer:t,children:i,backgroundColor:r,...n})=>te("div",{className:a("flex min-h-screen flex-col",o,{[`bg-${r}`]:!!r}),...n,children:[e,oe("div",{className:"flex flex-1 flex-col",children:i}),t]});import{jsx as $,jsxs as I}from"react/jsx-runtime";var re=({rating:o,showReviewLabel:e,starsColor:t,activeStarsColor:i})=>I("div",{className:"flex items-center space-x-1",children:[Array.from({length:5},(r,n)=>{let s=o>=n+1;return $("svg",{className:a("w-5 h-5",{[`fill-${t}`]:!s,[`fill-${i}`]:s}),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 22 20",children:$("path",{d:"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"})},n)}),e&&I("div",{className:"text-sm leading-[3px]",children:["(",o,"/5)"]})]});export{x as a,E as b,L as c,q as d,K as e,Y as f,ee as g,re as h};
@@ -1 +1 @@
1
- import{a as s}from"./chunk-EI3IJHIE.mjs";import{a as e,c as i}from"./chunk-S7CSCIW4.mjs";import{jsx as n}from"react/jsx-runtime";var u=({className:r,wrapperClassName:o,direction:t,justifyContent:l,gap:a,alignItems:p,backgroundColor:m,spacing:f,border:c,fluidContent:P,fullHeight:x,children:d})=>n(s,{backgroundColor:m,spacing:f,border:c,fluidContent:P,fullHeight:x,wrapperClassName:o,children:n("div",{className:i("flex",{[e(t,"flex-{value}")]:t,[e(l,"justify-{value}")]:l,[e(a,"gap-{value}")]:a,[e(p,"items-{value}")]:p},r),children:d})});import{jsx as y}from"react/jsx-runtime";var v=({className:r,alignSelf:o,shrink:t,children:l})=>y("div",{className:i({[e(o,"self-{value}")]:o,[`shrink-${t}`]:t},r),children:l});import F from"next/dynamic";var B=F(()=>import("./video-KDSPOKOF.mjs").then(r=>r.Video));export{u as a,v as b,B as c};
1
+ import{a as s}from"./chunk-RZFK2OR7.mjs";import{a as e,c as i}from"./chunk-S7CSCIW4.mjs";import{jsx as n}from"react/jsx-runtime";var u=({className:r,wrapperClassName:o,direction:t,justifyContent:l,gap:a,alignItems:p,backgroundColor:m,spacing:f,border:c,fluidContent:P,fullHeight:x,children:d})=>n(s,{backgroundColor:m,spacing:f,border:c,fluidContent:P,fullHeight:x,wrapperClassName:o,children:n("div",{className:i("flex",{[e(t,"flex-{value}")]:t,[e(l,"justify-{value}")]:l,[e(a,"gap-{value}")]:a,[e(p,"items-{value}")]:p},r),children:d})});import{jsx as y}from"react/jsx-runtime";var v=({className:r,alignSelf:o,shrink:t,children:l})=>y("div",{className:i({[e(o,"self-{value}")]:o,[`shrink-${t}`]:t},r),children:l});import F from"next/dynamic";var B=F(()=>import("./video-KDSPOKOF.mjs").then(r=>r.Video));export{u as a,v as b,B as c};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";import{jsx as m}from"react/jsx-runtime";var a=e=>{switch(e.slotName){case"bannerContent":return{component:()=>m("div",{className:"h-20 w-full"})};default:return o}};var l=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(l||{}),t=(n=>(n.BannerContent="bannerContent",n))(t||{}),h=p(()=>import("./banner-IEIW6KBW.mjs").then(e=>e.Banner));export{l as a,t as b,h as c,a as d};
1
+ import{a as o}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";import{jsx as m}from"react/jsx-runtime";var a=e=>{switch(e.slotName){case"bannerContent":return{component:()=>m("div",{className:"h-20 w-full"})};default:return o}};var l=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(l||{}),t=(n=>(n.BannerContent="bannerContent",n))(t||{}),h=p(()=>import("./banner-NNL34KVD.mjs").then(e=>e.Banner));export{l as a,t as b,h as c,a as d};
@@ -1 +1 @@
1
- import{b as xe,d as ye,e as he,f as Re,g as Ne,h as D}from"./chunk-K5MNNF5E.mjs";import{a as q}from"./chunk-EIQPM3DQ.mjs";import{a as ve}from"./chunk-QHIWJPL6.mjs";import{a as c}from"./chunk-EI3IJHIE.mjs";import{a as x}from"./chunk-HDKBSM4X.mjs";import{a as $}from"./chunk-JNIJ5N3Y.mjs";import{a as p}from"./chunk-MSXDLSXH.mjs";import{c as ge}from"./chunk-2OD4OVSF.mjs";import{c as l}from"./chunk-S7CSCIW4.mjs";import{UniformSlot as Te}from"@uniformdev/canvas-next-rsc/component";import{jsx as J,jsxs as xo}from"react/jsx-runtime";var go=({slots:e,component:o,context:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m})=>xo(c,{className:"flex flex-col gap-8",backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,children:[J("div",{className:"flex flex-col gap-4 text-start",children:J(Te,{data:o,context:t,slot:e.accordionContent})}),J(Te,{data:o,context:t,slot:e.accordionItems})]});import{jsx as we}from"react/jsx-runtime";var vo=e=>{switch(e.slotName){case"accordionContent":return{component:()=>we("div",{className:"h-20"})};case"accordionItems":return{component:()=>we("div",{className:"h-28"})};default:return p}};var be=(t=>(t.AccordionContent="accordionContent",t.AccordionItems="accordionItems",t))(be||{});import{UniformSlot as Fe}from"@uniformdev/canvas-next-rsc/component";import{jsx as ho}from"react/jsx-runtime";var yo=e=>{switch(e.slotName){case"cardMedia":return{component:()=>null};case"cardContent":return{component:()=>ho("div",{className:"h-20"})};default:return p}};var He=(o=>(o.BackgroundImage="backgroundImage",o))(He||{}),Ee=(t=>(t.CardMedia="cardMedia",t.CardContent="cardContent",t))(Ee||{});import{jsx as S,jsxs as No}from"react/jsx-runtime";var Ro=({component:e,context:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,className:s,contentClassName:d})=>{let f=e.variant==="backgroundImage";return No(c,{className:l("relative overflow-hidden",s),backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,children:[S("div",{className:l({"inset-0 size-full absolute":f}),children:S(Fe,{data:e,context:o,slot:t.cardMedia})}),S("div",{className:l("relative flex flex-col gap-y-2",d),children:S(Fe,{data:e,context:o,slot:t.cardContent})})]})};import bo from"next/dynamic";import{jsx as wo}from"react/jsx-runtime";var To=e=>{switch(e.slotName){case"carouselItems":return{component:()=>wo("div",{className:"mx-20 h-20 w-full"})};default:return p}};var Ae=(o=>(o.Items="carouselItems",o))(Ae||{}),Ar=bo(()=>import("./carousel-XYMSTRWI.mjs").then(e=>e.Carousel));import{UniformSlot as Ue}from"@uniformdev/canvas-next-rsc/component";import{UniformText as Le}from"@uniformdev/canvas-next-rsc/component";import{jsx as C}from"react/jsx-runtime";var V=({component:e,context:o,parameterId:t,text:r,...a})=>{let i=o.previewMode==="editor"&&o.isContextualEditing;return!r&&!i?null:C(ve,{...a,children:C(Le,{placeholder:"Text goes here",parameterId:t,as:a.tag||void 0,component:e,context:o})})},Be=({component:e,context:o,parameterId:t,text:r,...a})=>{let{link:i,icon:n}=a,m=ge(i),s=o.previewMode==="editor"&&o.isContextualEditing;return!r&&!m&&!s?null:C(xe,{...a,href:m,icon:C(()=>{let[f]=$(n),{url:P,title:T=""}=f||{};return P?C(q,{src:P,alt:T,width:20,height:20,containerStyle:{width:"20px",height:"20px"}}):void 0},{}),children:C(Le,{placeholder:"Button text goes here",parameterId:t,component:e,context:o})})},Ie=({component:e,context:o,image:t,objectFit:r,width:a,height:i,overlayColor:n,overlayOpacity:m,border:s,priority:d,unoptimized:f})=>{let[P]=$(t);if(!P){let G=o.previewMode==="editor"&&o.isContextualEditing,Y=e?._id?.includes("placeholder_");return!G||Y||!e.variant?null:C("div",{style:{width:a?`${a}px`:"auto",height:i?`${i}px`:"auto"},children:C(ye,{type:"image",placeholder:"Please add an asset to display an image"})})}let{url:T,title:K=""}=P;return C(q,{containerStyle:{...a?{width:`${a}px`}:{},...i?{height:`${i}px`}:{}},src:T,alt:K,fill:!0,unoptimized:f,priority:d,sizes:"100%",style:{objectFit:r},overlayColor:n,overlayOpacity:m,border:s})};import{jsx as w,jsxs as De}from"react/jsx-runtime";var Se=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,variant:i,demoHeroMedia:n,demoHeroContent:m,demoHeroCTA:s,textAlignmentClass:d,buttonAlignmentClass:f})=>w(c,{backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:De("div",{className:l("grid grid-cols-1 items-center gap-4 px-4 lg:grid-cols-2 xl:px-0"),children:[w("div",{className:l("aspect-square",{"order-last":i==="columnsReverse"}),children:w("div",{className:"flex size-full items-center justify-center overflow-hidden",children:n})}),De("div",{className:"flex flex-col justify-center gap-8",children:[w("div",{className:l("flex flex-col gap-4",d),children:m}),w("div",{className:l("flex flex-wrap gap-2 items-center",f),children:s})]})]})});import{jsx as X,jsxs as Ve}from"react/jsx-runtime";var ke=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,demoHeroMedia:i,demoHeroContent:n,demoHeroCTA:m,textAlignmentClass:s,buttonAlignmentClass:d})=>Ve(c,{className:"relative overflow-hidden",backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:[X("div",{className:"absolute left-0 top-0 size-full overflow-hidden",children:i}),Ve(c,{className:"relative flex flex-col gap-8",children:[X("div",{className:l("flex flex-col gap-4",s),children:n}),X("div",{className:l("flex flex-wrap gap-2 items-center",d),children:m})]})]});var Oe=({contentAlignment:e})=>l("justify-center",{"!justify-start":e==="left","!justify-end":e==="right"}),Me=({contentAlignment:e})=>l("text-center",{"text-start":e==="left","text-end":e==="right"});var h=(e,o)=>Object.entries(e).reduce((t,[r,a])=>{if(r.startsWith(o)){let i=r.slice(o.length).replace(/^./,n=>n.toLowerCase());return{...t,[i]:a}}return{...t,[r]:a}},{});import{Fragment as Z,jsx as u,jsxs as Eo}from"react/jsx-runtime";var k=({eyebrowTitleText:e,eyebrowTitleTag:o,eyebrowTitleSize:t,eyebrowTitleColor:r,eyebrowTitleWeight:a,eyebrowTitleFont:i,eyebrowTitleAlignment:n,eyebrowTitleTransform:m,eyebrowTitleDecoration:s,eyebrowTitleLetterSpacing:d,eyebrowTitleLineCountRestrictions:f,titleText:P,titleTag:T,titleSize:K,titleColor:G,titleWeight:Y,titleFont:Rt,titleAlignment:Nt,titleTransform:Tt,titleDecoration:wt,titleLetterSpacing:bt,titleLineCountRestrictions:Et,descriptionText:Ht,descriptionTag:Ft,descriptionSize:At,descriptionColor:Lt,descriptionWeight:Bt,descriptionFont:It,descriptionAlignment:Dt,descriptionTransform:St,descriptionDecoration:Vt,descriptionLetterSpacing:kt,descriptionLineCountRestrictions:Ot,primaryButtonVariant:Mt,primaryButtonText:_t,primaryButtonLink:Ut,primaryButtonTextColor:zt,primaryButtonTextWeight:Wt,primaryButtonTextFont:Kt,primaryButtonTextTransform:Gt,primaryButtonButtonColor:Yt,primaryButtonBorder:$t,primaryButtonSize:qt,primaryButtonIcon:Jt,primaryButtonTextSize:Qt,primaryButtonIconPosition:Xt,primaryButtonHoverButtonColor:Zt,primaryButtonHoverTextColor:jt,image:eo,imageWidth:to,imageHeight:oo,imageObjectFit:ro,imageOverlayColor:ao,imageOverlayOpacity:io,imageBorder:no,imagePriority:mo,imageUnoptimized:so,contentAlignment:ce,backgroundColor:lo,spacing:po,border:co,fluidContent:fo,fullHeight:Po,isFlexibleHero:fe=!1,component:g,context:v,slots:Pe})=>{let ue=g.variant,uo=fe?u(Ue,{data:g,context:v,slot:Pe.flexibleHeroContent}):Eo(Z,{children:[u(V,{...h({eyebrowTitleText:e,eyebrowTitleTag:o,eyebrowTitleSize:t,eyebrowTitleColor:r,eyebrowTitleWeight:a,eyebrowTitleFont:i,eyebrowTitleAlignment:n,eyebrowTitleTransform:m,eyebrowTitleDecoration:s,eyebrowTitleLetterSpacing:d,eyebrowTitleLineCountRestrictions:f},"eyebrowTitle"),component:g,context:v,parameterId:"eyebrowTitleText"}),u(V,{...h({titleText:P,titleTag:T,titleSize:K,titleColor:G,titleWeight:Y,titleFont:Rt,titleAlignment:Nt,titleTransform:Tt,titleDecoration:wt,titleLetterSpacing:bt,titleLineCountRestrictions:Et},"title"),component:g,context:v,parameterId:"titleText"}),u(V,{...h({descriptionText:Ht,descriptionTag:Ft,descriptionSize:At,descriptionColor:Lt,descriptionWeight:Bt,descriptionFont:It,descriptionAlignment:Dt,descriptionTransform:St,descriptionDecoration:Vt,descriptionLetterSpacing:kt,descriptionLineCountRestrictions:Ot},"description"),component:g,context:v,parameterId:"descriptionText"})]}),Co=fe?u(Ue,{data:g,context:v,slot:Pe.flexibleHeroCta}):u(Z,{children:u(Be,{...h({primaryButtonVariant:Mt,primaryButtonText:_t,primaryButtonLink:Ut,primaryButtonTextColor:zt,primaryButtonTextWeight:Wt,primaryButtonTextFont:Kt,primaryButtonTextTransform:Gt,primaryButtonButtonColor:Yt,primaryButtonBorder:$t,primaryButtonSize:qt,primaryButtonIcon:Jt,primaryButtonTextSize:Qt,primaryButtonIconPosition:Xt,primaryButtonHoverButtonColor:Zt,primaryButtonHoverTextColor:jt},"primaryButton"),component:g,context:v,parameterId:"primaryButtonText"})}),Ce={variant:ue,backgroundColor:lo,spacing:po,border:co,fluidContent:fo,fullHeight:Po,textAlignmentClass:Me({contentAlignment:ce}),buttonAlignmentClass:Oe({contentAlignment:ce}),demoHeroMedia:u(Z,{children:u(Ie,{image:eo,...h({imageWidth:to,imageHeight:oo,imageObjectFit:ro,imageOverlayColor:ao,imageOverlayOpacity:io,imageBorder:no,imagePriority:mo,imageUnoptimized:so},"image"),component:g,context:v})}),demoHeroContent:uo,demoHeroCTA:Co};switch(ue){case"columns":case"columnsReverse":return u(Se,{...Ce});default:return u(ke,{...Ce})}};import{jsx as Ho}from"react/jsx-runtime";var ze=e=>Ho(k,{...e,eyebrowTitleTag:"span",eyebrowTitleSize:{mobile:"xs",tablet:"lg",desktop:"xl"},eyebrowTitleWeight:"bold",eyebrowTitleTransform:"uppercase",titleSize:{mobile:"3xl",tablet:"5xl",desktop:"7xl"},titleWeight:"bold",descriptionTag:"p",descriptionSize:{mobile:"sm",tablet:"lg",desktop:"xl"},descriptionWeight:"normal",primaryButtonSize:"button-medium",primaryButtonTextSize:"sm",primaryButtonTextColor:"text-light",primaryButtonTextWeight:"normal",primaryButtonButtonColor:"button-primary",primaryButtonTextTransform:"uppercase",primaryButtonHoverButtonColor:"button-primary-hover",imagePriority:!0,imageObjectFit:"cover",imageUnoptimized:!0,spacing:{paddingTop:"container-xlarge",paddingLeft:"container-small",paddingRight:"container-small",paddingBottom:"container-xlarge"},fluidContent:!e.component.variant,isFlexibleHero:!1});import{jsx as Fo}from"react/jsx-runtime";var We=e=>Fo(k,{...e,isFlexibleHero:!0});import{jsx as Ke}from"react/jsx-runtime";var Ao=e=>{switch(e.slotName){case"flexibleHeroContent":return{component:()=>Ke("div",{className:"h-20"})};case"flexibleHeroCta":return{component:()=>Ke("div",{className:"mx-40 h-20 w-full"})};default:return p}};var _e=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(_e||{}),Q=(t=>(t.Columns="columns",t.ColumnsReverse="columnsReverse",t))(Q||{}),Ge=(t=>(t.FlexibleHeroContent="flexibleHeroContent",t.FlexibleHeroCta="flexibleHeroCta",t))(Ge||{}),Lo={FixedHero:ze,FlexibleHero:We},Ea=Lo;import{UniformSlot as j}from"@uniformdev/canvas-next-rsc/component";import{jsx as O}from"react/jsx-runtime";var Ye=({context:e,component:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n})=>O(he,{logo:O(j,{context:e,slot:t.footerLogo,data:o}),copyright:O(j,{context:e,slot:t.footerCopyright,data:o}),content:O(j,{context:e,slot:t.footerContent,data:o}),backgroundColor:r,spacing:a,border:i,fluidContent:n});import{jsx as ee}from"react/jsx-runtime";var Bo=e=>{switch(e.slotName){case"footerLogo":return{component:()=>ee("div",{className:"h-20 w-48"})};case"footerCopyright":return{component:()=>ee("div",{className:"h-20 w-48"})};case"footerContent":return{component:()=>ee("div",{className:"h-20 w-48"})};default:return p}};var $e=(r=>(r.FooterLogo="footerLogo",r.FooterCopyright="footerCopyright",r.FooterContent="footerContent",r))($e||{}),_a=x(Ye);import{UniformSlot as te}from"@uniformdev/canvas-next-rsc/component";import{jsx as M}from"react/jsx-runtime";var qe=({backgroundColor:e,color:o,spacing:t,border:r,context:a,component:i,slots:n})=>M(Re,{sticky:i.variant==="sticky",leftSection:M(te,{context:a,slot:n.headerLeftContent,data:i}),rightSection:M(te,{context:a,slot:n.headerRightContent,data:i}),backgroundColor:e,color:o,spacing:t,border:r,children:M(te,{context:a,slot:n.headerCenterContent,data:i})});import{jsx as oe}from"react/jsx-runtime";var Io=e=>{switch(e.slotName){case"headerLeftContent":return{component:()=>oe("div",{className:"h-20 w-48"})};case"headerCenterContent":return{component:()=>oe("div",{className:"h-20 w-full"})};case"headerRightContent":return{component:()=>oe("div",{className:"h-20 w-48"})};default:return p}};var Qe=(r=>(r.HeaderLeftContent="headerLeftContent",r.HeaderCenterContent="headerCenterContent",r.HeaderRightContent="headerRightContent",r))(Qe||{}),Je=(o=>(o.Sticky="sticky",o))(Je||{}),ti=x(qe);import Vo from"next/dynamic";import{jsx as So}from"react/jsx-runtime";var Do=e=>{switch(e.slotName){case"imageGalleryItems":return{component:()=>So("div",{className:" mx-auto size-48"})};default:return p}};var Xe=(o=>(o.Items="imageGalleryItems",o))(Xe||{}),li=Vo(()=>import("./image-gallery-DBTZBKG5.mjs").then(e=>e.ImageGallery));import Oo from"next/dynamic";import{jsx as Ze}from"react/jsx-runtime";var ko=e=>{switch(e.slotName){case"navigationFlyoutLeftContent":return{component:()=>Ze("div",{className:"h-40 w-48"})};case"navigationFlyoutRightContent":return{component:()=>Ze("div",{className:"h-40 w-48"})};default:return p}};var vi=Oo(()=>import("./navigation-flyout-2NRYXQ2N.mjs").then(e=>x(e.NavigationFlyout)));import Uo from"next/dynamic";import{jsx as _o}from"react/jsx-runtime";var Mo=e=>{switch(e.slotName){case"links":return{component:()=>_o("div",{className:"h-40 w-48"})};default:return p}};var Fi=Uo(()=>import("./navigation-group-3YBAK65R.mjs").then(e=>x(e.NavigationGroup)));import{UniformSlot as re}from"@uniformdev/canvas-next-rsc/component";import{jsx as _}from"react/jsx-runtime";var zo=({slots:e,component:o,context:t,backgroundColor:r,headerCustomRenderer:a,contentCustomRenderer:i,footerCustomRenderer:n})=>_(Ne,{backgroundColor:r,header:_(re,{context:t,slot:e.pageHeader,data:o,children:a}),footer:_(re,{context:t,slot:e.pageFooter,data:o,children:n}),children:_(re,{context:t,slot:e.pageContent,data:o,children:i})});import{jsx as ae}from"react/jsx-runtime";var Wo=e=>{switch(e.slotName){case"pageHeader":return{component:()=>ae("div",{className:"h-40"})};case"pageContent":return{component:()=>ae("div",{className:"h-[calc(100vh-10rem*2)]"})};case"pageFooter":return{component:()=>ae("div",{className:"h-40"})};default:return p}};var je=(r=>(r.PageContent="pageContent",r.PageHeader="pageHeader",r.PageFooter="pageFooter",r))(je||{});import{UniformSlot as ne}from"@uniformdev/canvas-next-rsc/component";import{jsx as b}from"react/jsx-runtime";var Ko=({parentComponent:e,slotName:o})=>{let t=e?.variant==="multiColumn";switch(o){case"reviewImage":return{component:()=>t?b("div",{className:"size-full"}):null};case"reviewPersonInfo":return{component:()=>t?b("div",{className:"h-20 w-full"}):b("div",{className:"h-20 w-52"})};case"reviewContent":return{component:()=>t?b("div",{className:"h-20 w-full"}):b("div",{className:"h-20 w-52"})};default:return p}};var ie=(o=>(o.MultiColumn="multiColumn",o))(ie||{}),et=(r=>(r.ReviewImage="reviewImage",r.ReviewPersonInfo="reviewPersonInfo",r.ReviewContent="reviewContent",r))(et||{});import{jsx as E,jsxs as tt}from"react/jsx-runtime";var ot=({stars:e,starsColor:o,activeStarsColor:t,showRatingLabel:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,ReviewImage:d,ReviewPersonInfo:f,ReviewContent:P})=>E(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:tt("div",{className:"mx-auto flex lg:max-w-[60%]",children:[E("div",{className:"aspect-square size-12 shrink-0 rounded-full",children:d}),tt("div",{className:"ml-6",children:[f,E("div",{className:"py-4",children:E(D,{rating:e,showReviewLabel:r,starsColor:o,activeStarsColor:t})}),E("div",{className:"flex flex-col gap-y-5",children:P})]})]})});import{jsx as R,jsxs as rt}from"react/jsx-runtime";var at=({stars:e,starsColor:o,activeStarsColor:t,showRatingLabel:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,ReviewImage:d,ReviewPersonInfo:f,ReviewContent:P})=>R(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:rt("div",{className:"grid md:grid-cols-12",children:[rt("div",{className:"mb-2 md:col-span-4 md:my-0",children:[R("div",{className:"mb-2 aspect-square size-12 rounded-full",children:d}),R("div",{className:"flex flex-col gap-y-1",children:f})]}),R("div",{className:"my-2 md:col-span-4 md:my-0",children:R(D,{rating:e,showReviewLabel:r,starsColor:o,activeStarsColor:t})}),R("div",{className:"mt-2 flex flex-col gap-y-3 md:col-span-4 md:my-0",children:P})]})});import{jsx as H}from"react/jsx-runtime";var Go=e=>{let{component:o,context:t,slots:r}=e,a=o.variant,i={...e,ReviewImage:H(ne,{context:t,data:o,slot:r.reviewImage}),ReviewPersonInfo:H(ne,{context:t,data:o,slot:r.reviewPersonInfo}),ReviewContent:H(ne,{context:t,data:o,slot:r.reviewContent})};switch(a){case"multiColumn":return H(at,{...i});default:return H(ot,{...i})}};import{UniformSlot as pe}from"@uniformdev/canvas-next-rsc/component";import{jsx as me}from"react/jsx-runtime";var Yo=({parentComponent:e,slotName:o})=>{let t=!e?.variant;switch(o){case"sectionMedia":return{component:()=>t?null:me("div",{className:"size-full"})};case"sectionContent":return{component:()=>me("div",{className:"h-20"})};case"sectionCTA":return{component:()=>me("div",{className:"mx-40 h-20 w-full"})};default:return p}};var nt=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(nt||{}),se=(t=>(t.Columns="columns",t.ColumnsReverse="columnsReverse",t))(se||{}),it=(r=>(r.SectionContent="sectionContent",r.SectionMedia="sectionMedia",r.SectionCTA="sectionCTA",r))(it||{});import{jsx as F,jsxs as mt}from"react/jsx-runtime";var st=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,variant:i,sectionMedia:n,sectionContent:m,sectionCTA:s,textAlignmentClass:d,buttonAlignmentClass:f})=>F(c,{backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:mt("div",{className:l("grid grid-cols-1 items-center gap-4 px-4 lg:grid-cols-2 xl:px-0"),children:[F("div",{className:l("aspect-square",{"order-last":i==="columnsReverse"}),children:F("div",{className:"flex size-full items-center justify-center overflow-hidden",children:n})}),mt("div",{className:"flex flex-col justify-center gap-8",children:[F("div",{className:l("flex flex-col gap-4",d),children:m}),F("div",{className:l("flex flex-wrap gap-2",f),children:s})]})]})});import{jsx as le,jsxs as lt}from"react/jsx-runtime";var pt=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,previewMode:i,sectionMedia:n,sectionContent:m,sectionCTA:s,textAlignmentClass:d,buttonAlignmentClass:f})=>lt(c,{className:l("relative overflow-hidden",{"p-32":i}),backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:[le("div",{className:"absolute left-0 top-0 size-full overflow-hidden",children:n}),lt(c,{className:"relative flex flex-col gap-8",children:[le("div",{className:l("flex flex-col gap-4",d),children:m}),le("div",{className:l("flex flex-wrap gap-2",f),children:s})]})]});var dt=({contentAlignment:e})=>l("justify-center",{"!justify-start":e==="left","!justify-end":e==="right"}),ct=({contentAlignment:e})=>l("text-center",{"text-start":e==="left","text-end":e==="right"});import{jsx as A}from"react/jsx-runtime";var $o=({contentAlignment:e,slots:o,component:t,context:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>{let d=t.variant,{previewMode:f}=r||{},P={variant:d,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,textAlignmentClass:ct({contentAlignment:e}),buttonAlignmentClass:dt({contentAlignment:e}),sectionMedia:A(pe,{data:t,context:r,slot:o.sectionMedia}),sectionContent:A(pe,{data:t,context:r,slot:o.sectionContent}),sectionCTA:A(pe,{data:t,context:r,slot:o.sectionCTA})};switch(d){case"columns":case"columnsReverse":return A(st,{...P});default:return A(pt,{...P,previewMode:f})}};import{UniformSlot as Pt}from"@uniformdev/canvas-next-rsc/component";var ft=({size:e,textColor:o})=>l("text-left w-full [&_tr:not(:last-child)_td]:border-b [&_th]:border-b",{[`text-${o}`]:o,[`[&_td]:p-${e} [&_th]:p-${e}`]:e});import{jsx as N,jsxs as Jo}from"react/jsx-runtime";var qo=({size:e,textColor:o,slots:t,component:r,context:a,backgroundColor:i,spacing:n,border:m,fluidContent:s,fullHeight:d})=>N(c,{className:"flex flex-col gap-5",backgroundColor:i,spacing:n,border:m,fluidContent:s,fullHeight:d,children:N("div",{className:"overflow-x-auto",children:Jo("table",{className:ft({size:e,textColor:o}),children:[N("thead",{children:N(Pt,{slot:t.tableHead,context:a,data:r})}),N("tbody",{children:N(Pt,{slot:t.tableBody,context:a,data:r})})]})})});import{jsx as ut}from"react/jsx-runtime";var Qo=e=>{switch(e.slotName){case"tableHead":return{component:()=>ut("tr",{className:"h-20"})};case"tableBody":return{component:()=>ut("tr",{className:"h-40"})};default:return p}};var Ct=(t=>(t.TableHead="tableHead",t.TableBody="tableBody",t))(Ct||{});import{UniformSlot as W}from"@uniformdev/canvas-next-rsc/component";import{jsx as U}from"react/jsx-runtime";var Xo=({slotName:e})=>{switch(e){case"testimonialSecondaryImage":return{component:()=>U("div",{className:"h-20 w-64"})};case"testimonialContent":return{component:()=>U("div",{className:"h-20 w-64"})};case"testimonialPrimaryImage":return{component:()=>U("div",{className:"size-full"})};case"testimonialAuthor":return{component:()=>U("div",{className:"h-20 w-64"})};default:return p}};var xt=(t=>(t.WithLargeAvatar="withLargeAvatar",t.WithOverlappingImage="withOverlappingImage",t))(xt||{}),gt=(a=>(a.TestimonialSecondaryImage="testimonialSecondaryImage",a.TestimonialContent="testimonialContent",a.TestimonialPrimaryImage="testimonialPrimaryImage",a.TestimonialAuthor="testimonialAuthor",a))(gt||{});import{jsx as L,jsxs as jo}from"react/jsx-runtime";var vt=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>L(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:jo("div",{className:"mx-auto flex flex-col items-center md:max-w-[80%]",children:[L("div",{children:r}),L("div",{className:"my-8",children:o}),L("div",{className:"size-10 rounded-full",children:e}),L("div",{className:"mt-4 flex gap-3",children:t})]})});import{jsx as B,jsxs as z}from"react/jsx-runtime";var yt=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>B(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:z("div",{className:"mx-auto flex items-center gap-x-10 md:max-w-[80%]",children:[B("div",{className:"hidden aspect-square w-full max-w-xs shrink-0 overflow-hidden rounded-xl lg:block",children:e}),z("div",{className:"flex flex-col gap-y-8",children:[B("div",{className:"",children:o}),z("div",{className:"flex items-center justify-between",children:[z("div",{className:"flex items-center gap-x-4",children:[B("div",{className:"block aspect-square w-10 overflow-hidden rounded-md lg:hidden",children:e}),B("div",{className:"gap-3",children:t})]}),r]})]})]})});import{jsx as I,jsxs as de}from"react/jsx-runtime";var ht=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>I(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:I(c,{className:"pb-10 lg:pb-0",children:de("div",{className:"mx-auto flex max-w-2xl flex-col items-center gap-10 lg:max-w-none lg:flex-row",children:[I("div",{className:"-mt-7 aspect-[2/1] w-full shrink-0 overflow-hidden rounded-xl lg:-my-7 lg:aspect-[1/1.4] lg:max-w-xs",children:e}),de("div",{className:"flex flex-col gap-y-8",children:[I("div",{className:"",children:o}),de("div",{className:"flex items-center justify-between",children:[I("div",{className:"gap-3",children:t}),r]})]})]})})});import{jsx as y}from"react/jsx-runtime";var Zo=({context:e,component:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m})=>{let s=o.variant,d={backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,testimonialPrimaryImage:y(W,{context:e,data:o,slot:t.testimonialPrimaryImage}),testimonialContent:y(W,{context:e,data:o,slot:t.testimonialContent}),testimonialAuthor:y(W,{context:e,data:o,slot:t.testimonialAuthor}),testimonialSecondaryImage:y(W,{context:e,data:o,slot:t.testimonialSecondaryImage})};switch(s){case"withLargeAvatar":return y(yt,{...d});case"withOverlappingImage":return y(ht,{...d});default:return y(vt,{...d})}};export{go as a,be as b,vo as c,Ro as d,He as e,Ee as f,yo as g,Ae as h,Ar as i,To as j,_e as k,Q as l,Ge as m,Ea as n,Ao as o,$e as p,_a as q,Bo as r,Qe as s,Je as t,ti as u,Io as v,Xe as w,li as x,Do as y,vi as z,ko as A,Fi as B,Mo as C,zo as D,je as E,Wo as F,Go as G,ie as H,et as I,Ko as J,$o as K,nt as L,se as M,it as N,Yo as O,qo as P,Ct as Q,Qo as R,Zo as S,xt as T,gt as U,Xo as V};
1
+ import{b as xe,d as ye,e as he,f as Re,g as Ne,h as D}from"./chunk-26BSLQVU.mjs";import{a as q}from"./chunk-EIQPM3DQ.mjs";import{a as ve}from"./chunk-QHIWJPL6.mjs";import{a as c}from"./chunk-RZFK2OR7.mjs";import{a as x}from"./chunk-HDKBSM4X.mjs";import{a as $}from"./chunk-JNIJ5N3Y.mjs";import{a as p}from"./chunk-MSXDLSXH.mjs";import{c as ge}from"./chunk-2OD4OVSF.mjs";import{c as l}from"./chunk-S7CSCIW4.mjs";import{UniformSlot as Te}from"@uniformdev/canvas-next-rsc/component";import{jsx as J,jsxs as xo}from"react/jsx-runtime";var go=({slots:e,component:o,context:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m})=>xo(c,{className:"flex flex-col gap-8",backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,children:[J("div",{className:"flex flex-col gap-4 text-start",children:J(Te,{data:o,context:t,slot:e.accordionContent})}),J(Te,{data:o,context:t,slot:e.accordionItems})]});import{jsx as we}from"react/jsx-runtime";var vo=e=>{switch(e.slotName){case"accordionContent":return{component:()=>we("div",{className:"h-20"})};case"accordionItems":return{component:()=>we("div",{className:"h-28"})};default:return p}};var be=(t=>(t.AccordionContent="accordionContent",t.AccordionItems="accordionItems",t))(be||{});import{UniformSlot as Fe}from"@uniformdev/canvas-next-rsc/component";import{jsx as ho}from"react/jsx-runtime";var yo=e=>{switch(e.slotName){case"cardMedia":return{component:()=>null};case"cardContent":return{component:()=>ho("div",{className:"h-20"})};default:return p}};var He=(o=>(o.BackgroundImage="backgroundImage",o))(He||{}),Ee=(t=>(t.CardMedia="cardMedia",t.CardContent="cardContent",t))(Ee||{});import{jsx as V,jsxs as No}from"react/jsx-runtime";var Ro=({component:e,context:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,className:s,contentClassName:d})=>{let f=e.variant==="backgroundImage";return No(c,{className:l("relative overflow-hidden",s),backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,children:[V("div",{className:l({"inset-0 size-full absolute":f}),children:V(Fe,{data:e,context:o,slot:t.cardMedia})}),V("div",{className:l("relative flex flex-col gap-y-2",d),children:V(Fe,{data:e,context:o,slot:t.cardContent})})]})};import bo from"next/dynamic";import{jsx as wo}from"react/jsx-runtime";var To=e=>{switch(e.slotName){case"carouselItems":return{component:()=>wo("div",{className:"mx-20 h-20 w-full"})};default:return p}};var Ae=(o=>(o.Items="carouselItems",o))(Ae||{}),Ar=bo(()=>import("./carousel-YLA2VELY.mjs").then(e=>e.Carousel));import{UniformSlot as Ue}from"@uniformdev/canvas-next-rsc/component";import{UniformText as Le}from"@uniformdev/canvas-next-rsc/component";import{jsx as C}from"react/jsx-runtime";var S=({component:e,context:o,parameterId:t,text:r,...a})=>{let i=o.previewMode==="editor"&&o.isContextualEditing;return!r&&!i?null:C(ve,{...a,children:C(Le,{placeholder:"Text goes here",parameterId:t,as:a.tag||void 0,component:e,context:o})})},Be=({component:e,context:o,parameterId:t,text:r,...a})=>{let{link:i,icon:n}=a,m=ge(i),s=o.previewMode==="editor"&&o.isContextualEditing;return!r&&!m&&!s?null:C(xe,{...a,href:m,icon:C(()=>{let[f]=$(n),{url:P,title:T=""}=f||{};return P?C(q,{src:P,alt:T,width:20,height:20,containerStyle:{width:"20px",height:"20px"}}):void 0},{}),children:C(Le,{placeholder:"Button text goes here",parameterId:t,component:e,context:o})})},Ie=({component:e,context:o,image:t,objectFit:r,width:a,height:i,overlayColor:n,overlayOpacity:m,border:s,priority:d,unoptimized:f})=>{let[P]=$(t);if(!P){let G=o.previewMode==="editor"&&o.isContextualEditing,Y=e?._id?.includes("placeholder_");return!G||Y||!e.variant?null:C("div",{style:{width:a?`${a}px`:"auto",height:i?`${i}px`:"auto"},children:C(ye,{type:"image",placeholder:"Please add an asset to display an image"})})}let{url:T,title:K=""}=P;return C(q,{containerStyle:{...a?{width:`${a}px`}:{},...i?{height:`${i}px`}:{}},src:T,alt:K,fill:!0,unoptimized:f,priority:d,sizes:"100%",style:{objectFit:r},overlayColor:n,overlayOpacity:m,border:s})};import{jsx as w,jsxs as De}from"react/jsx-runtime";var Ve=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,variant:i,demoHeroMedia:n,demoHeroContent:m,demoHeroCTA:s,textAlignmentClass:d,buttonAlignmentClass:f})=>w(c,{backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:De("div",{className:l("grid grid-cols-1 items-center gap-4 px-4 lg:grid-cols-2 xl:px-0"),children:[w("div",{className:l("aspect-square",{"order-last":i==="columnsReverse"}),children:w("div",{className:"flex size-full items-center justify-center overflow-hidden",children:n})}),De("div",{className:"flex flex-col justify-center gap-8",children:[w("div",{className:l("flex flex-col gap-4",d),children:m}),w("div",{className:l("flex flex-wrap gap-2 items-center",f),children:s})]})]})});import{jsx as X,jsxs as Se}from"react/jsx-runtime";var ke=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,demoHeroMedia:i,demoHeroContent:n,demoHeroCTA:m,textAlignmentClass:s,buttonAlignmentClass:d})=>Se(c,{className:"relative overflow-hidden",backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:[X("div",{className:"absolute left-0 top-0 size-full overflow-hidden",children:i}),Se(c,{className:"relative flex flex-col gap-8",children:[X("div",{className:l("flex flex-col gap-4",s),children:n}),X("div",{className:l("flex flex-wrap gap-2 items-center",d),children:m})]})]});var Oe=({contentAlignment:e})=>l("justify-center",{"!justify-start":e==="left","!justify-end":e==="right"}),Me=({contentAlignment:e})=>l("text-center",{"text-start":e==="left","text-end":e==="right"});var h=(e,o)=>Object.entries(e).reduce((t,[r,a])=>{if(r.startsWith(o)){let i=r.slice(o.length).replace(/^./,n=>n.toLowerCase());return{...t,[i]:a}}return{...t,[r]:a}},{});import{Fragment as Z,jsx as u,jsxs as Eo}from"react/jsx-runtime";var k=({eyebrowTitleText:e,eyebrowTitleTag:o,eyebrowTitleSize:t,eyebrowTitleColor:r,eyebrowTitleWeight:a,eyebrowTitleFont:i,eyebrowTitleAlignment:n,eyebrowTitleTransform:m,eyebrowTitleDecoration:s,eyebrowTitleLetterSpacing:d,eyebrowTitleLineCountRestrictions:f,titleText:P,titleTag:T,titleSize:K,titleColor:G,titleWeight:Y,titleFont:Rt,titleAlignment:Nt,titleTransform:Tt,titleDecoration:wt,titleLetterSpacing:bt,titleLineCountRestrictions:Et,descriptionText:Ht,descriptionTag:Ft,descriptionSize:At,descriptionColor:Lt,descriptionWeight:Bt,descriptionFont:It,descriptionAlignment:Dt,descriptionTransform:Vt,descriptionDecoration:St,descriptionLetterSpacing:kt,descriptionLineCountRestrictions:Ot,primaryButtonVariant:Mt,primaryButtonText:_t,primaryButtonLink:Ut,primaryButtonTextColor:zt,primaryButtonTextWeight:Wt,primaryButtonTextFont:Kt,primaryButtonTextTransform:Gt,primaryButtonButtonColor:Yt,primaryButtonBorder:$t,primaryButtonSize:qt,primaryButtonIcon:Jt,primaryButtonTextSize:Qt,primaryButtonIconPosition:Xt,primaryButtonHoverButtonColor:Zt,primaryButtonHoverTextColor:jt,image:eo,imageWidth:to,imageHeight:oo,imageObjectFit:ro,imageOverlayColor:ao,imageOverlayOpacity:io,imageBorder:no,imagePriority:mo,imageUnoptimized:so,contentAlignment:ce,backgroundColor:lo,spacing:po,border:co,fluidContent:fo,fullHeight:Po,isFlexibleHero:fe=!1,component:g,context:v,slots:Pe})=>{let ue=g.variant,uo=fe?u(Ue,{data:g,context:v,slot:Pe.flexibleHeroContent}):Eo(Z,{children:[u(S,{...h({eyebrowTitleText:e,eyebrowTitleTag:o,eyebrowTitleSize:t,eyebrowTitleColor:r,eyebrowTitleWeight:a,eyebrowTitleFont:i,eyebrowTitleAlignment:n,eyebrowTitleTransform:m,eyebrowTitleDecoration:s,eyebrowTitleLetterSpacing:d,eyebrowTitleLineCountRestrictions:f},"eyebrowTitle"),component:g,context:v,parameterId:"eyebrowTitleText"}),u(S,{...h({titleText:P,titleTag:T,titleSize:K,titleColor:G,titleWeight:Y,titleFont:Rt,titleAlignment:Nt,titleTransform:Tt,titleDecoration:wt,titleLetterSpacing:bt,titleLineCountRestrictions:Et},"title"),component:g,context:v,parameterId:"titleText"}),u(S,{...h({descriptionText:Ht,descriptionTag:Ft,descriptionSize:At,descriptionColor:Lt,descriptionWeight:Bt,descriptionFont:It,descriptionAlignment:Dt,descriptionTransform:Vt,descriptionDecoration:St,descriptionLetterSpacing:kt,descriptionLineCountRestrictions:Ot},"description"),component:g,context:v,parameterId:"descriptionText"})]}),Co=fe?u(Ue,{data:g,context:v,slot:Pe.flexibleHeroCta}):u(Z,{children:u(Be,{...h({primaryButtonVariant:Mt,primaryButtonText:_t,primaryButtonLink:Ut,primaryButtonTextColor:zt,primaryButtonTextWeight:Wt,primaryButtonTextFont:Kt,primaryButtonTextTransform:Gt,primaryButtonButtonColor:Yt,primaryButtonBorder:$t,primaryButtonSize:qt,primaryButtonIcon:Jt,primaryButtonTextSize:Qt,primaryButtonIconPosition:Xt,primaryButtonHoverButtonColor:Zt,primaryButtonHoverTextColor:jt},"primaryButton"),component:g,context:v,parameterId:"primaryButtonText"})}),Ce={variant:ue,backgroundColor:lo,spacing:po,border:co,fluidContent:fo,fullHeight:Po,textAlignmentClass:Me({contentAlignment:ce}),buttonAlignmentClass:Oe({contentAlignment:ce}),demoHeroMedia:u(Z,{children:u(Ie,{image:eo,...h({imageWidth:to,imageHeight:oo,imageObjectFit:ro,imageOverlayColor:ao,imageOverlayOpacity:io,imageBorder:no,imagePriority:mo,imageUnoptimized:so},"image"),component:g,context:v})}),demoHeroContent:uo,demoHeroCTA:Co};switch(ue){case"columns":case"columnsReverse":return u(Ve,{...Ce});default:return u(ke,{...Ce})}};import{jsx as Ho}from"react/jsx-runtime";var ze=e=>Ho(k,{...e,eyebrowTitleTag:"span",eyebrowTitleSize:{mobile:"xs",tablet:"lg",desktop:"xl"},eyebrowTitleWeight:"bold",eyebrowTitleTransform:"uppercase",titleSize:{mobile:"3xl",tablet:"5xl",desktop:"7xl"},titleWeight:"bold",descriptionTag:"p",descriptionSize:{mobile:"sm",tablet:"lg",desktop:"xl"},descriptionWeight:"normal",primaryButtonSize:"button-medium",primaryButtonTextSize:"sm",primaryButtonTextColor:"text-light",primaryButtonTextWeight:"normal",primaryButtonButtonColor:"button-primary",primaryButtonTextTransform:"uppercase",primaryButtonHoverButtonColor:"button-primary-hover",imagePriority:!0,imageObjectFit:"cover",imageUnoptimized:!0,spacing:{paddingTop:"container-xlarge",paddingLeft:"container-small",paddingRight:"container-small",paddingBottom:"container-xlarge"},fluidContent:!e.component.variant,isFlexibleHero:!1});import{jsx as Fo}from"react/jsx-runtime";var We=e=>Fo(k,{...e,isFlexibleHero:!0});import{jsx as Ke}from"react/jsx-runtime";var Ao=e=>{switch(e.slotName){case"flexibleHeroContent":return{component:()=>Ke("div",{className:"h-20"})};case"flexibleHeroCta":return{component:()=>Ke("div",{className:"mx-40 h-20 w-full"})};default:return p}};var _e=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(_e||{}),Q=(t=>(t.Columns="columns",t.ColumnsReverse="columnsReverse",t))(Q||{}),Ge=(t=>(t.FlexibleHeroContent="flexibleHeroContent",t.FlexibleHeroCta="flexibleHeroCta",t))(Ge||{}),Lo={FixedHero:ze,FlexibleHero:We},Ea=Lo;import{UniformSlot as j}from"@uniformdev/canvas-next-rsc/component";import{jsx as O}from"react/jsx-runtime";var Ye=({context:e,component:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n})=>O(he,{logo:O(j,{context:e,slot:t.footerLogo,data:o}),copyright:O(j,{context:e,slot:t.footerCopyright,data:o}),content:O(j,{context:e,slot:t.footerContent,data:o}),backgroundColor:r,spacing:a,border:i,fluidContent:n});import{jsx as ee}from"react/jsx-runtime";var Bo=e=>{switch(e.slotName){case"footerLogo":return{component:()=>ee("div",{className:"h-20 w-48"})};case"footerCopyright":return{component:()=>ee("div",{className:"h-20 w-48"})};case"footerContent":return{component:()=>ee("div",{className:"h-20 w-48"})};default:return p}};var $e=(r=>(r.FooterLogo="footerLogo",r.FooterCopyright="footerCopyright",r.FooterContent="footerContent",r))($e||{}),_a=x(Ye);import{UniformSlot as te}from"@uniformdev/canvas-next-rsc/component";import{jsx as M}from"react/jsx-runtime";var qe=({backgroundColor:e,color:o,spacing:t,border:r,context:a,component:i,slots:n})=>M(Re,{sticky:i.variant==="sticky",leftSection:M(te,{context:a,slot:n.headerLeftContent,data:i}),rightSection:M(te,{context:a,slot:n.headerRightContent,data:i}),backgroundColor:e,color:o,spacing:t,border:r,children:M(te,{context:a,slot:n.headerCenterContent,data:i})});import{jsx as oe}from"react/jsx-runtime";var Io=e=>{switch(e.slotName){case"headerLeftContent":return{component:()=>oe("div",{className:"h-20 w-48"})};case"headerCenterContent":return{component:()=>oe("div",{className:"h-20 w-full"})};case"headerRightContent":return{component:()=>oe("div",{className:"h-20 w-48"})};default:return p}};var Qe=(r=>(r.HeaderLeftContent="headerLeftContent",r.HeaderCenterContent="headerCenterContent",r.HeaderRightContent="headerRightContent",r))(Qe||{}),Je=(o=>(o.Sticky="sticky",o))(Je||{}),ti=x(qe);import So from"next/dynamic";import{jsx as Vo}from"react/jsx-runtime";var Do=e=>{switch(e.slotName){case"imageGalleryItems":return{component:()=>Vo("div",{className:" mx-auto size-48"})};default:return p}};var Xe=(o=>(o.Items="imageGalleryItems",o))(Xe||{}),li=So(()=>import("./image-gallery-ISM5BLSF.mjs").then(e=>e.ImageGallery));import Oo from"next/dynamic";import{jsx as Ze}from"react/jsx-runtime";var ko=e=>{switch(e.slotName){case"navigationFlyoutLeftContent":return{component:()=>Ze("div",{className:"h-40 w-48"})};case"navigationFlyoutRightContent":return{component:()=>Ze("div",{className:"h-40 w-48"})};default:return p}};var vi=Oo(()=>import("./navigation-flyout-TQO777FY.mjs").then(e=>x(e.NavigationFlyout)));import Uo from"next/dynamic";import{jsx as _o}from"react/jsx-runtime";var Mo=e=>{switch(e.slotName){case"links":return{component:()=>_o("div",{className:"h-40 w-48"})};default:return p}};var Fi=Uo(()=>import("./navigation-group-3YBAK65R.mjs").then(e=>x(e.NavigationGroup)));import{UniformSlot as re}from"@uniformdev/canvas-next-rsc/component";import{jsx as _}from"react/jsx-runtime";var zo=({slots:e,component:o,context:t,backgroundColor:r,headerCustomRenderer:a,contentCustomRenderer:i,footerCustomRenderer:n})=>_(Ne,{backgroundColor:r,header:_(re,{context:t,slot:e.pageHeader,data:o,children:a}),footer:_(re,{context:t,slot:e.pageFooter,data:o,children:n}),children:_(re,{context:t,slot:e.pageContent,data:o,children:i})});import{jsx as ae}from"react/jsx-runtime";var Wo=e=>{switch(e.slotName){case"pageHeader":return{component:()=>ae("div",{className:"h-40"})};case"pageContent":return{component:()=>ae("div",{className:"h-[calc(100vh-10rem*2)]"})};case"pageFooter":return{component:()=>ae("div",{className:"h-40"})};default:return p}};var je=(r=>(r.PageContent="pageContent",r.PageHeader="pageHeader",r.PageFooter="pageFooter",r))(je||{});import{UniformSlot as ne}from"@uniformdev/canvas-next-rsc/component";import{jsx as b}from"react/jsx-runtime";var Ko=({parentComponent:e,slotName:o})=>{let t=e?.variant==="multiColumn";switch(o){case"reviewImage":return{component:()=>t?b("div",{className:"size-full"}):null};case"reviewPersonInfo":return{component:()=>t?b("div",{className:"h-20 w-full"}):b("div",{className:"h-20 w-52"})};case"reviewContent":return{component:()=>t?b("div",{className:"h-20 w-full"}):b("div",{className:"h-20 w-52"})};default:return p}};var ie=(o=>(o.MultiColumn="multiColumn",o))(ie||{}),et=(r=>(r.ReviewImage="reviewImage",r.ReviewPersonInfo="reviewPersonInfo",r.ReviewContent="reviewContent",r))(et||{});import{jsx as E,jsxs as tt}from"react/jsx-runtime";var ot=({stars:e,starsColor:o,activeStarsColor:t,showRatingLabel:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,ReviewImage:d,ReviewPersonInfo:f,ReviewContent:P})=>E(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:tt("div",{className:"mx-auto flex lg:max-w-[60%]",children:[E("div",{className:"aspect-square size-12 shrink-0 rounded-full",children:d}),tt("div",{className:"ml-6",children:[f,E("div",{className:"py-4",children:E(D,{rating:e,showReviewLabel:r,starsColor:o,activeStarsColor:t})}),E("div",{className:"flex flex-col gap-y-5",children:P})]})]})});import{jsx as R,jsxs as rt}from"react/jsx-runtime";var at=({stars:e,starsColor:o,activeStarsColor:t,showRatingLabel:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,ReviewImage:d,ReviewPersonInfo:f,ReviewContent:P})=>R(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:rt("div",{className:"grid md:grid-cols-12",children:[rt("div",{className:"mb-2 md:col-span-4 md:my-0",children:[R("div",{className:"mb-2 aspect-square size-12 rounded-full",children:d}),R("div",{className:"flex flex-col gap-y-1",children:f})]}),R("div",{className:"my-2 md:col-span-4 md:my-0",children:R(D,{rating:e,showReviewLabel:r,starsColor:o,activeStarsColor:t})}),R("div",{className:"mt-2 flex flex-col gap-y-3 md:col-span-4 md:my-0",children:P})]})});import{jsx as H}from"react/jsx-runtime";var Go=e=>{let{component:o,context:t,slots:r}=e,a=o.variant,i={...e,ReviewImage:H(ne,{context:t,data:o,slot:r.reviewImage}),ReviewPersonInfo:H(ne,{context:t,data:o,slot:r.reviewPersonInfo}),ReviewContent:H(ne,{context:t,data:o,slot:r.reviewContent})};switch(a){case"multiColumn":return H(at,{...i});default:return H(ot,{...i})}};import{UniformSlot as pe}from"@uniformdev/canvas-next-rsc/component";import{jsx as me}from"react/jsx-runtime";var Yo=({parentComponent:e,slotName:o})=>{let t=!e?.variant;switch(o){case"sectionMedia":return{component:()=>t?null:me("div",{className:"size-full"})};case"sectionContent":return{component:()=>me("div",{className:"h-20"})};case"sectionCTA":return{component:()=>me("div",{className:"mx-40 h-20 w-full"})};default:return p}};var nt=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(nt||{}),se=(t=>(t.Columns="columns",t.ColumnsReverse="columnsReverse",t))(se||{}),it=(r=>(r.SectionContent="sectionContent",r.SectionMedia="sectionMedia",r.SectionCTA="sectionCTA",r))(it||{});import{jsx as F,jsxs as mt}from"react/jsx-runtime";var st=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,variant:i,sectionMedia:n,sectionContent:m,sectionCTA:s,textAlignmentClass:d,buttonAlignmentClass:f})=>F(c,{backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:mt("div",{className:l("grid grid-cols-1 items-center gap-4 px-4 lg:grid-cols-2 xl:px-0"),children:[F("div",{className:l("aspect-square",{"order-last":i==="columnsReverse"}),children:F("div",{className:"flex size-full items-center justify-center overflow-hidden",children:n})}),mt("div",{className:"flex flex-col justify-center gap-8",children:[F("div",{className:l("flex flex-col gap-4",d),children:m}),F("div",{className:l("flex flex-wrap gap-2",f),children:s})]})]})});import{jsx as le,jsxs as lt}from"react/jsx-runtime";var pt=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,previewMode:i,sectionMedia:n,sectionContent:m,sectionCTA:s,textAlignmentClass:d,buttonAlignmentClass:f})=>lt(c,{className:l("relative overflow-hidden",{"p-32":i}),backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:[le("div",{className:"absolute left-0 top-0 size-full overflow-hidden",children:n}),lt(c,{className:"relative flex flex-col gap-8",children:[le("div",{className:l("flex flex-col gap-4",d),children:m}),le("div",{className:l("flex flex-wrap gap-2",f),children:s})]})]});var dt=({contentAlignment:e})=>l("justify-center",{"!justify-start":e==="left","!justify-end":e==="right"}),ct=({contentAlignment:e})=>l("text-center",{"text-start":e==="left","text-end":e==="right"});import{jsx as A}from"react/jsx-runtime";var $o=({contentAlignment:e,slots:o,component:t,context:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>{let d=t.variant,{previewMode:f}=r||{},P={variant:d,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,textAlignmentClass:ct({contentAlignment:e}),buttonAlignmentClass:dt({contentAlignment:e}),sectionMedia:A(pe,{data:t,context:r,slot:o.sectionMedia}),sectionContent:A(pe,{data:t,context:r,slot:o.sectionContent}),sectionCTA:A(pe,{data:t,context:r,slot:o.sectionCTA})};switch(d){case"columns":case"columnsReverse":return A(st,{...P});default:return A(pt,{...P,previewMode:f})}};import{UniformSlot as Pt}from"@uniformdev/canvas-next-rsc/component";var ft=({size:e,textColor:o})=>l("text-left w-full [&_tr:not(:last-child)_td]:border-b [&_th]:border-b",{[`text-${o}`]:o,[`[&_td]:p-${e} [&_th]:p-${e}`]:e});import{jsx as N,jsxs as Jo}from"react/jsx-runtime";var qo=({size:e,textColor:o,slots:t,component:r,context:a,backgroundColor:i,spacing:n,border:m,fluidContent:s,fullHeight:d})=>N(c,{className:"flex flex-col gap-5",backgroundColor:i,spacing:n,border:m,fluidContent:s,fullHeight:d,children:N("div",{className:"overflow-x-auto",children:Jo("table",{className:ft({size:e,textColor:o}),children:[N("thead",{children:N(Pt,{slot:t.tableHead,context:a,data:r})}),N("tbody",{children:N(Pt,{slot:t.tableBody,context:a,data:r})})]})})});import{jsx as ut}from"react/jsx-runtime";var Qo=e=>{switch(e.slotName){case"tableHead":return{component:()=>ut("tr",{className:"h-20"})};case"tableBody":return{component:()=>ut("tr",{className:"h-40"})};default:return p}};var Ct=(t=>(t.TableHead="tableHead",t.TableBody="tableBody",t))(Ct||{});import{UniformSlot as W}from"@uniformdev/canvas-next-rsc/component";import{jsx as U}from"react/jsx-runtime";var Xo=({slotName:e})=>{switch(e){case"testimonialSecondaryImage":return{component:()=>U("div",{className:"h-20 w-64"})};case"testimonialContent":return{component:()=>U("div",{className:"h-20 w-64"})};case"testimonialPrimaryImage":return{component:()=>U("div",{className:"size-full"})};case"testimonialAuthor":return{component:()=>U("div",{className:"h-20 w-64"})};default:return p}};var xt=(t=>(t.WithLargeAvatar="withLargeAvatar",t.WithOverlappingImage="withOverlappingImage",t))(xt||{}),gt=(a=>(a.TestimonialSecondaryImage="testimonialSecondaryImage",a.TestimonialContent="testimonialContent",a.TestimonialPrimaryImage="testimonialPrimaryImage",a.TestimonialAuthor="testimonialAuthor",a))(gt||{});import{jsx as L,jsxs as jo}from"react/jsx-runtime";var vt=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>L(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:jo("div",{className:"mx-auto flex flex-col items-center md:max-w-[80%]",children:[L("div",{children:r}),L("div",{className:"my-8",children:o}),L("div",{className:"size-10 rounded-full",children:e}),L("div",{className:"mt-4 flex gap-3",children:t})]})});import{jsx as B,jsxs as z}from"react/jsx-runtime";var yt=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>B(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:z("div",{className:"mx-auto flex items-center gap-x-10 md:max-w-[80%]",children:[B("div",{className:"hidden aspect-square w-full max-w-xs shrink-0 overflow-hidden rounded-xl lg:block",children:e}),z("div",{className:"flex flex-col gap-y-8",children:[B("div",{className:"",children:o}),z("div",{className:"flex items-center justify-between",children:[z("div",{className:"flex items-center gap-x-4",children:[B("div",{className:"block aspect-square w-10 overflow-hidden rounded-md lg:hidden",children:e}),B("div",{className:"gap-3",children:t})]}),r]})]})]})});import{jsx as I,jsxs as de}from"react/jsx-runtime";var ht=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>I(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:I(c,{className:"pb-10 lg:pb-0",children:de("div",{className:"mx-auto flex max-w-2xl flex-col items-center gap-10 lg:max-w-none lg:flex-row",children:[I("div",{className:"-mt-7 aspect-[2/1] w-full shrink-0 overflow-hidden rounded-xl lg:-my-7 lg:aspect-[1/1.4] lg:max-w-xs",children:e}),de("div",{className:"flex flex-col gap-y-8",children:[I("div",{className:"",children:o}),de("div",{className:"flex items-center justify-between",children:[I("div",{className:"gap-3",children:t}),r]})]})]})})});import{jsx as y}from"react/jsx-runtime";var Zo=({context:e,component:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m})=>{let s=o.variant,d={backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,testimonialPrimaryImage:y(W,{context:e,data:o,slot:t.testimonialPrimaryImage}),testimonialContent:y(W,{context:e,data:o,slot:t.testimonialContent}),testimonialAuthor:y(W,{context:e,data:o,slot:t.testimonialAuthor}),testimonialSecondaryImage:y(W,{context:e,data:o,slot:t.testimonialSecondaryImage})};switch(s){case"withLargeAvatar":return y(yt,{...d});case"withOverlappingImage":return y(ht,{...d});default:return y(vt,{...d})}};export{go as a,be as b,vo as c,Ro as d,He as e,Ee as f,yo as g,Ae as h,Ar as i,To as j,_e as k,Q as l,Ge as m,Ea as n,Ao as o,$e as p,_a as q,Bo as r,Qe as s,Je as t,ti as u,Io as v,Xe as w,li as x,Do as y,vi as z,ko as A,Fi as B,Mo as C,zo as D,je as E,Wo as F,Go as G,ie as H,et as I,Ko as J,$o as K,nt as L,se as M,it as N,Yo as O,qo as P,Ct as Q,Qo as R,Zo as S,xt as T,gt as U,Xo as V};
@@ -0,0 +1 @@
1
+ import t from"next/dynamic";var r=t(()=>import("./carousel-KSNELZEM.mjs").then(e=>e.Carousel));export{r as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-HDKBSM4X.mjs";import{a as t}from"./chunk-MSXDLSXH.mjs";import l from"next/dynamic";import{jsx as s}from"react/jsx-runtime";var a=e=>{switch(e.slotName){case"tabItems":return{component:()=>s("div",{className:"h-20 w-full"})};default:return t}};var n=(o=>(o.Default="default",o.Bordered="bordered",o))(n||{}),m=(p=>(p.TabItems="tabItems",p))(m||{}),u=l(()=>import("./tabs-VSNSBQQ6.mjs").then(e=>r(e.Tabs)));export{n as a,m as b,u as c,a as d};
1
+ import{a as r}from"./chunk-HDKBSM4X.mjs";import{a as t}from"./chunk-MSXDLSXH.mjs";import l from"next/dynamic";import{jsx as s}from"react/jsx-runtime";var a=e=>{switch(e.slotName){case"tabItems":return{component:()=>s("div",{className:"h-20 w-full"})};default:return t}};var n=(o=>(o.Default="default",o.Bordered="bordered",o))(n||{}),m=(p=>(p.TabItems="tabItems",p))(m||{}),u=l(()=>import("./tabs-QEFLGIZ3.mjs").then(e=>r(e.Tabs)));export{n as a,m as b,u as c,a as d};
@@ -0,0 +1 @@
1
+ import{a as e,b as f,c as t}from"./chunk-S7CSCIW4.mjs";import{jsx as c}from"react/jsx-runtime";var y=({className:d,wrapperClassName:x,style:w,children:P,backgroundColor:o,spacing:T,border:i="",fluidContent:a=!1,fullHeight:b=!1,maxWidth:r,...C})=>{let[V,{marginTop:p,marginBottom:n,marginRight:m,marginLeft:l,paddingTop:s,paddingBottom:g,paddingRight:u,paddingLeft:v}]=f(T);return c("div",{className:t("px-4 xl:px-0",{"!px-0":a,"mx-auto w-full":!a,"max-w-7xl max-w-container-width":!r&&!a,[`max-w-${r}`]:!!r&&!a},x),children:c("div",{className:t({"!h-screen":b,[`bg-${o}`]:!!o,[e(p,"mt-{value}")]:p,[e(n,"mb-{value}")]:n,[e(m,"mr-{value}")]:m,[e(l,"ml-{value}")]:l,[e(s,"pt-{value}")]:s,[e(g,"pb-{value}")]:g,[e(u,"pr-{value}")]:u,[e(v,"pl-{value}")]:v,[e(i,"{value}")]:i},d),style:{...V,...w},...C,children:P})})};export{y as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-EI3IJHIE.mjs";import{a as e,c as i}from"./chunk-S7CSCIW4.mjs";import{jsx as n}from"react/jsx-runtime";var f=({className:l,columnsCount:a,gapX:o,gapY:r,backgroundColor:t,spacing:m,border:s,fluidContent:u,fullHeight:v,children:d})=>n(p,{backgroundColor:t,spacing:m,border:s,fluidContent:u,fullHeight:v,children:n("div",{className:i("grid",{[e(a,"grid-cols-{value}")]:a,[e(o,"gap-x-{value}")]:o,[e(r,"gap-y-{value}")]:r},l),children:d})});import{jsx as b}from"react/jsx-runtime";var C=({className:l,columnStart:a,columnSpan:o,rowStart:r,rowSpan:t,children:m})=>b("div",{className:i({[e(a,"col-start-{value}")]:a,[e(o,"col-{value}")]:o,[e(r,"row-start-{value}")]:r,[e(t,"row-{value}")]:t},l),children:m});export{f as a,C as b};
1
+ import{a as p}from"./chunk-RZFK2OR7.mjs";import{a as e,c as i}from"./chunk-S7CSCIW4.mjs";import{jsx as n}from"react/jsx-runtime";var f=({className:l,columnsCount:a,gapX:o,gapY:r,backgroundColor:t,spacing:m,border:s,fluidContent:u,fullHeight:v,children:d})=>n(p,{backgroundColor:t,spacing:m,border:s,fluidContent:u,fullHeight:v,children:n("div",{className:i("grid",{[e(a,"grid-cols-{value}")]:a,[e(o,"gap-x-{value}")]:o,[e(r,"gap-y-{value}")]:r},l),children:d})});import{jsx as b}from"react/jsx-runtime";var C=({className:l,columnStart:a,columnSpan:o,rowStart:r,rowSpan:t,children:m})=>b("div",{className:i({[e(a,"col-start-{value}")]:a,[e(o,"col-{value}")]:o,[e(r,"row-start-{value}")]:r,[e(t,"row-{value}")]:t},l),children:m});export{f as a,C as b};
@@ -1 +1 @@
1
- import{A as y,C as n,F as P,J as h,O as E,R as f,V as g,c as e,g as m,j as l,o as a,r as p,v as i,y as c}from"../../chunk-HFK5YODN.mjs";import{d}from"../../chunk-HDWSBDVE.mjs";import{d as s}from"../../chunk-PFD46UJF.mjs";import"../../chunk-K5MNNF5E.mjs";import"../../chunk-3TBBNSCU.mjs";import"../../chunk-EIQPM3DQ.mjs";import"../../chunk-QHIWJPL6.mjs";import{d as r}from"../../chunk-BQAAJHM4.mjs";import{d as t}from"../../chunk-UDP47PNB.mjs";import"../../chunk-QLEOPXHB.mjs";import"../../chunk-EI3IJHIE.mjs";import"../../chunk-6POLDE2K.mjs";import"../../chunk-HDKBSM4X.mjs";import"../../chunk-JNIJ5N3Y.mjs";import{b as o}from"../../chunk-MSXDLSXH.mjs";import"../../chunk-2OD4OVSF.mjs";import"../../chunk-S7CSCIW4.mjs";var u={accordion:e,banner:r,card:m,carousel:l,countdown:t,flexibleHero:a,footer:p,header:i,imageGallery:c,modal:d,navigationFlyout:y,navigationGroup:n,page:P,review:h,section:E,table:f,tabs:s,testimonial:g},K=u,L=o(u);export{K as default,L as emptyPlaceholderResolver};
1
+ import{A as y,C as n,F as P,J as h,O as E,R as f,V as g,c as e,g as m,j as l,o as a,r as p,v as i,y as c}from"../../chunk-DBSKI4UW.mjs";import{d}from"../../chunk-HDWSBDVE.mjs";import{d as s}from"../../chunk-PC5W2GRG.mjs";import"../../chunk-26BSLQVU.mjs";import"../../chunk-3TBBNSCU.mjs";import"../../chunk-EIQPM3DQ.mjs";import"../../chunk-QHIWJPL6.mjs";import{d as r}from"../../chunk-CLSZO62H.mjs";import{d as t}from"../../chunk-UDP47PNB.mjs";import"../../chunk-VZCFPWET.mjs";import"../../chunk-RZFK2OR7.mjs";import"../../chunk-6POLDE2K.mjs";import"../../chunk-HDKBSM4X.mjs";import"../../chunk-JNIJ5N3Y.mjs";import{b as o}from"../../chunk-MSXDLSXH.mjs";import"../../chunk-2OD4OVSF.mjs";import"../../chunk-S7CSCIW4.mjs";var u={accordion:e,banner:r,card:m,carousel:l,countdown:t,flexibleHero:a,footer:p,header:i,imageGallery:c,modal:d,navigationFlyout:y,navigationGroup:n,page:P,review:h,section:E,table:f,tabs:s,testimonial:g},K=u,L=o(u);export{K as default,L as emptyPlaceholderResolver};
@@ -7,9 +7,9 @@ import { ComponentMapping } from '../../utils/createComponentResolver.mjs';
7
7
  import { SpaceType, ViewPort } from '../../types/cskTypes.mjs';
8
8
  import * as react from 'react';
9
9
  import { FC } from 'react';
10
- import { T as TextProps$1, B as ButtonProps$1, a as ButtonVariant, F as FooterProps$1, H as HeaderProps$1 } from '../../index-D-lbmp5W.mjs';
10
+ import { T as TextProps$1, B as ButtonProps$1, a as ButtonVariant, F as FooterProps$1, H as HeaderProps$1 } from '../../index-GfacBA0f.mjs';
11
11
  import { DefaultTheme } from 'tailwindcss/types/generated/default-theme';
12
- import { Asset } from '@uniformdev/assets';
12
+ import { AssetParamValue } from '@uniformdev/assets';
13
13
  import { RichTextNode } from '@uniformdev/richtext';
14
14
 
15
15
  type ContainerParameters = {
@@ -101,8 +101,8 @@ type ButtonParameters = {
101
101
  buttonColor?: string;
102
102
  border?: string | ViewPort<string>;
103
103
  size?: string;
104
- icon?: Asset[];
105
- test?: Asset[];
104
+ icon?: AssetParamValue;
105
+ test?: AssetParamValue;
106
106
  textSize?: ButtonProps$1['textSize'];
107
107
  iconPosition?: ButtonProps$1['iconPosition'];
108
108
  hoverButtonColor?: string;
@@ -186,15 +186,15 @@ type BaseButtonParameters = {
186
186
  buttonColor?: string;
187
187
  border?: string | ViewPort<string>;
188
188
  size?: string;
189
- icon?: Asset[];
190
- test?: Asset[];
189
+ icon?: AssetParamValue;
190
+ test?: AssetParamValue;
191
191
  textSize?: ButtonProps$1['textSize'];
192
192
  iconPosition?: ButtonProps$1['iconPosition'];
193
193
  hoverButtonColor?: string;
194
194
  hoverTextColor?: string;
195
195
  };
196
196
  type BaseImageParameters = {
197
- image?: Asset[];
197
+ image?: AssetParamValue;
198
198
  width?: number;
199
199
  height?: number;
200
200
  objectFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
@@ -332,7 +332,7 @@ type HeaderProps = ComponentProps<HeaderParameters, HeaderSlots>;
332
332
  declare const _default$c: react.FC<ComponentProps<HeaderProps>>;
333
333
 
334
334
  type IconLabelParameters = TextParameters & {
335
- icon?: Asset[];
335
+ icon?: AssetParamValue;
336
336
  };
337
337
  type IconLabelProps = ComponentProps<IconLabelParameters>;
338
338
  declare const _default$b: react.FC<ComponentProps<IconLabelProps>>;
@@ -340,7 +340,7 @@ declare const _default$b: react.FC<ComponentProps<IconLabelProps>>;
340
340
  declare const Image: FC<ImageProps>;
341
341
 
342
342
  type ImageParameters = {
343
- image?: Asset[];
343
+ image?: AssetParamValue;
344
344
  width?: number;
345
345
  height?: number;
346
346
  objectFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
@@ -354,7 +354,7 @@ type ImageProps = ComponentProps<ImageParameters>;
354
354
 
355
355
  type ImageGalleryParameters = ContainerParameters & {
356
356
  aspectRatio?: 'square' | 'video';
357
- items?: Asset[];
357
+ items?: AssetParamValue;
358
358
  };
359
359
  declare enum ImageGallerySlots {
360
360
  Items = "imageGalleryItems"
@@ -394,7 +394,7 @@ type ModalProps = ComponentProps<ModalParameters, ModalSlots>;
394
394
  declare const _default$8: react.ComponentType<ModalProps>;
395
395
 
396
396
  type NavigationFlyoutParameters = TextParameters & {
397
- icon?: Asset[];
397
+ icon?: AssetParamValue;
398
398
  link?: LinkParamValue;
399
399
  backgroundColor?: string;
400
400
  border?: string | ViewPort<string>;
@@ -407,7 +407,7 @@ type NavigationFlyoutProps = ComponentProps<NavigationFlyoutParameters, Navigati
407
407
  declare const _default$7: react.ComponentType<ComponentProps<NavigationFlyoutProps>>;
408
408
 
409
409
  type NavigationGroupParameters = TextParameters & {
410
- icon?: Asset[];
410
+ icon?: AssetParamValue;
411
411
  link?: LinkParamValue;
412
412
  backgroundColor?: string;
413
413
  border?: string | ViewPort<string>;
@@ -419,7 +419,7 @@ type NavigationGroupProps = ComponentProps<NavigationGroupParameters, Navigation
419
419
  declare const _default$6: react.ComponentType<ComponentProps<NavigationGroupProps>>;
420
420
 
421
421
  type NavigationLinkParameters = TextParameters & {
422
- icon?: Asset[];
422
+ icon?: AssetParamValue;
423
423
  link?: LinkParamValue;
424
424
  activeState?: boolean;
425
425
  };
@@ -596,7 +596,7 @@ declare const Video: FC<VideoProps>;
596
596
 
597
597
  type VideoParameters = {
598
598
  url?: LinkParamValue;
599
- placeholderImage?: Asset[];
599
+ placeholderImage?: AssetParamValue;
600
600
  autoPlay?: boolean;
601
601
  lazyLoad?: boolean;
602
602
  loop?: boolean;
@@ -1 +1 @@
1
- import{B as re,D as te,E as Yo,G as ae,H as qo,I as Ko,K as pe,L as Qo,M as Zo,N as jo,P as me,Q as er,S as ie,T as tr,U as ar,a as O,b as Lo,d as Y,e as Ro,f as Do,h as Ho,i as q,k as Mo,l as $o,m as zo,n as w,p as Eo,q as Q,s as _o,t as Jo,u as Z,w as Oo,x as j,z as oe}from"../../chunk-HFK5YODN.mjs";import{b as Xo,c as ee}from"../../chunk-HDWSBDVE.mjs";import{a as or,b as rr,c as ne}from"../../chunk-PFD46UJF.mjs";import{a as Ne,b as Re,c as De}from"../../chunk-2DY4O2JO.mjs";import{a as F}from"../../chunk-VEUVLMJO.mjs";import{a as v,b as I,d as B}from"../../chunk-K5MNNF5E.mjs";import"../../chunk-3TBBNSCU.mjs";import{a as g}from"../../chunk-EIQPM3DQ.mjs";import{a as y}from"../../chunk-QHIWJPL6.mjs";import{a as Vo,b as No,c as X}from"../../chunk-BQAAJHM4.mjs";import{a as Wo,b as Uo,c as K}from"../../chunk-UDP47PNB.mjs";import{a as Le,b as Ve}from"../../chunk-QLEOPXHB.mjs";import{a as Ge}from"../../chunk-EI3IJHIE.mjs";import"../../chunk-6POLDE2K.mjs";import{a as n}from"../../chunk-HDKBSM4X.mjs";import{a as x}from"../../chunk-JNIJ5N3Y.mjs";import{a as Se}from"../../chunk-56OQGKRM.mjs";import"../../chunk-MSXDLSXH.mjs";import{a as Ae,c as u,d as ke}from"../../chunk-2OD4OVSF.mjs";import{c as d}from"../../chunk-S7CSCIW4.mjs";import pr from"next/dynamic";var He=(e=>(e.AccordionItemContent="accordionItemContent",e))(He||{}),se=pr(()=>import("../../accordion-item-ZOZZ7NXW.mjs").then(o=>o.AccordionItem));import{UniformText as mr}from"@uniformdev/canvas-next-rsc/component";import{jsx as We}from"react/jsx-runtime";var Ue=({className:o,...e})=>We("svg",{viewBox:"0 0 6 6","aria-hidden":"true",className:d("w-1.5 h-1.5",o),...e,children:We("circle",{r:"3",cx:"3",cy:"3"})});var Me=({pill:o,size:e,dotColor:r,borderColor:t,backgroundColor:a})=>d("inline-flex items-center w-fit",{"rounded-full":o,"rounded-md":!o,"gap-x-1.5":!!r,[`ring-1 ring-inset ring-${t}`]:!!t,[`bg-${a}`]:!!a,[`p-${e}`]:e});import{jsx as le,jsxs as nr}from"react/jsx-runtime";var $e=({component:o,context:e,textColor:r,backgroundColor:t,borderColor:a,dotColor:p,pill:i=!1,size:m})=>nr("div",{className:Me({pill:i,size:m,dotColor:p,borderColor:a,backgroundColor:t}),children:[p&&le(Ue,{className:d({[`fill-${p}`]:p})}),le(y,{color:r,size:"xs",children:le(mr,{placeholder:"Badge text goes here",parameterId:"text",component:o,context:e})})]});var de=n($e);import{flattenValues as ir}from"@uniformdev/canvas";import{jsx as S}from"react/jsx-runtime";var ze=o=>{switch(o){case"slash":return S("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:S("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 20.247 6-16.5"})});case"chevron":default:return S("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:S("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})}};import{jsx as A,jsxs as sr}from"react/jsx-runtime";var Ee=({separator:o,links:e,size:r,color:t,font:a,transform:p})=>{let i=e?.reduce((m,s)=>{let{title:l,link:f}=ir(s)||{};return l?[...m,{title:l,link:u(f)}]:m},[])||[];return i.length?A("ul",{className:d("flex items-center",{[`text-${r}`]:!!r,[`text-${t}`]:!!t}),children:i.map(({title:m,link:s},l)=>sr("li",{className:"flex items-center",children:[!!l&&A("div",{className:"mx-2 size-[1em]",children:ze(o)}),s?A(I,{variant:"link",textColor:t,className:d({[`font-${a}`]:!!a,[`text-${r}`]:!!r,[p||""]:!!p}),href:s,children:m}):A(y,{size:r,font:a,color:t,transform:p,children:m})]},`${m}-${l}`))}):null};var fe=n(Ee);import{useMemo as lr}from"react";import{UniformText as dr}from"@uniformdev/canvas-next-rsc/component";import{jsx as k}from"react/jsx-runtime";var _e=({component:o,context:e,link:r,textColor:t,textFont:a,textWeight:p,textTransform:i,buttonColor:m,icon:s,iconPosition:l,border:f,size:P,textSize:C,hoverButtonColor:c,hoverTextColor:b,className:z,onClick:T,text:E})=>{let Fe=u(r),Ao=e.previewMode==="editor"&&e?.isContextualEditing,_=lr(()=>{let[J]=x(s),{url:h,title:Go=""}=J||{};if(h)return{url:h,title:Go}},[s]),ko=()=>{if(!_)return;let{url:J,title:h}=_;return k(g,{src:J,alt:h,width:20,height:20,containerStyle:{width:"20px",height:"20px"}})};return!(!!E||!!_)&&!Ao?null:k(I,{variant:o.variant,href:Fe,border:f,size:P,onClick:T,className:z,textSize:C,isActive:e.matchedRoute===Fe,textColor:t,textFont:a,textWeight:p,textTransform:i,buttonColor:m,hoverButtonColor:c,hoverTextColor:b,icon:k(ko,{}),iconPosition:l,children:k(dr,{placeholder:"Button text goes here",parameterId:"text",component:o,context:e})})};var Pe=n(_e);import{UniformSlot as fr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Je}from"react/jsx-runtime";var G=({displayName:o,anchor:e,slots:r,component:t,context:a,backgroundColor:p,spacing:i,border:m,fluidContent:s,fullHeight:l,className:f})=>Je(Ge,{title:o,id:e,backgroundColor:p,spacing:i,border:m,fluidContent:s,fullHeight:l,className:f,children:Je(fr,{data:t,context:a,slot:r.containerContent})});var Oe=(e=>(e.ContainerContent="containerContent",e))(Oe||{});import{jsx as Xe}from"react/jsx-runtime";var L=({color:o,thickness:e,width:r,alignment:t})=>Xe("div",{className:d("flex w-full",`justify-${t||"center"}`),children:Xe("div",{className:d({[`bg-${o}`]:!!o}),style:{width:r,height:e}})});import{UniformSlot as Pr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ye}from"react/jsx-runtime";var qe=({direction:o,justifyContent:e,gap:r,alignItems:t,backgroundColor:a,spacing:p,border:i,fluidContent:m,fullHeight:s,slots:l,component:f,context:P,className:C,wrapperClassName:c})=>Ye(Ne,{direction:o,justifyContent:e,gap:r,alignItems:t,backgroundColor:a,spacing:p,border:i,fluidContent:m,fullHeight:s,wrapperClassName:c,className:C,children:Ye(Pr,{data:f,context:P,slot:l.flexItem})});var ce=n(qe);import{UniformSlot as cr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ke}from"react/jsx-runtime";var V=({alignSelf:o,shrink:e,context:r,component:t,slots:a})=>Ke(Re,{alignSelf:o,shrink:e,children:Ke(cr,{data:t,context:r,slot:a.inner})});import{UniformSlot as xr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Qe}from"react/jsx-runtime";var Ze=({columnsCount:o,gapX:e,gapY:r,backgroundColor:t,spacing:a,border:p,fluidContent:i,fullHeight:m,slots:s,component:l,context:f,className:P})=>Qe(Le,{className:P,columnsCount:o,gapX:e,gapY:r,backgroundColor:t,spacing:a,border:p,fluidContent:i,fullHeight:m,children:Qe(xr,{data:l,context:f,slot:s.gridInner})});var je=(e=>(e.GridInner="gridInner",e))(je||{}),xe=n(Ze);import{UniformSlot as Cr}from"@uniformdev/canvas-next-rsc/component";import{jsx as eo}from"react/jsx-runtime";var oo=({columnStart:o,columnSpan:e,rowStart:r,className:t,rowSpan:a,context:p,component:i,slots:m})=>eo(Ve,{columnStart:o,columnSpan:e,rowStart:r,rowSpan:a,className:t,children:eo(Cr,{data:i,context:p,slot:m.inner})});var ro=(e=>(e.Inner="inner",e))(ro||{}),Ce=n(oo);import{UniformText as ur}from"@uniformdev/canvas-next-rsc/component";import{jsx as ue}from"react/jsx-runtime";var to=({icon:o,size:e,tag:r,color:t,weight:a,font:p,transform:i,decoration:m,letterSpacing:s,alignment:l,component:f,context:P})=>{let[C]=x(o),{url:c,title:b=""}=C||{};return ue(F,{icon:c?ue(g,{src:c,alt:b,fill:!0}):void 0,size:e,tag:r,color:t,weight:a,font:p,transform:i,decoration:m,letterSpacing:s,alignment:l,children:ue(ur,{placeholder:"Text goes here",parameterId:"text",component:f,context:P})})};var ge=n(to);import{jsx as ao}from"react/jsx-runtime";var po=({context:o,component:e,width:r,height:t})=>{let a=o.previewMode==="editor"&&o.isContextualEditing,p=e?._id?.includes("placeholder_");return!a||p?null:ao("div",{style:{width:r?`${r}px`:"auto",height:t?`${t}px`:"auto"},children:ao(B,{type:"image",placeholder:"Please add an asset to display an image"})})};import{jsx as mo}from"react/jsx-runtime";var N=({image:o,objectFit:e,width:r,height:t,overlayColor:a,overlayOpacity:p,border:i,priority:m,unoptimized:s,context:l,component:f})=>{let[P]=x(o);if(!P)return mo(po,{context:l,component:f,width:r,height:t});let{url:C,title:c=""}=P;return mo(g,{containerStyle:{...r?{width:`${r}px`}:{},...t?{height:`${t}px`}:{}},src:C,alt:c,fill:!0,unoptimized:s,priority:m,sizes:"100%",style:{objectFit:e},overlayColor:a,overlayOpacity:p,border:i})};import{UniformSlot as gr}from"@uniformdev/canvas-next-rsc/component";import{jsx as no}from"react/jsx-runtime";var io=({component:o,context:e,slots:r,link:t,openInNewTab:a})=>no(v,{link:u(t),openInNewTab:a,children:no(gr,{data:o,context:e,slot:r.linkContent})});var so=(e=>(e.LinkContent="linkContent",e))(so||{}),ye=n(io);import{UniformText as br}from"@uniformdev/canvas-next-rsc/component";var lo=({activeState:o,context:e,href:r})=>d("hover:underline",{underline:o&&Ae(e.matchedRoute,e.dynamicInputs)===r});import{Fragment as yr}from"react";import{jsx as fo}from"react/jsx-runtime";var Po=({href:o,isExternalLink:e,children:r})=>o?fo(v,{link:o,openInNewTab:e,rel:e?"noopener noreferrer":"",children:r}):fo(yr,{children:r});import{jsx as R}from"react/jsx-runtime";var co=({icon:o,link:e,activeState:r,size:t,tag:a,color:p,weight:i,font:m,transform:s,decoration:l,letterSpacing:f,alignment:P,component:C,context:c})=>{let b=u(e),[z]=x(o),{url:T,title:E=""}=z||{};return R(Po,{href:b,isExternalLink:ke(b),children:R(F,{textClassName:lo({activeState:r,context:c,href:b}),icon:T&&R(g,{src:T,alt:E,fill:!0}),size:t,tag:a,color:p,weight:i,font:m,transform:s,decoration:l,letterSpacing:f,alignment:P,children:R(br,{placeholder:"Text goes here",parameterId:"text",className:"whitespace-nowrap",component:C,context:c})})})};var be=n(co);import{UniformRichText as Tr}from"@uniformdev/canvas-next-rsc/component";import{jsx as xo}from"react/jsx-runtime";var Co=({color:o,lineCountRestrictions:e,font:r,component:t,className:a})=>xo(y,{lineCountRestrictions:e,color:o,font:r,children:xo(Tr,{className:d("prose max-w-full marker:text-current [&_*:not(pre)]:text-current",a),parameterId:"text",component:t,placeholder:"Rich text content goes here..."})});var Te=n(Co);import{jsx as hr}from"react/jsx-runtime";var D=({size:o,component:{variant:e}})=>{let r=e==="horizontal";return hr("div",{className:d({[`w-${o}`]:r,[`h-${o}`]:!r})})};var he=(e=>(e.Horizontal="horizontal",e))(he||{});import{UniformSlot as vr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ir}from"react/jsx-runtime";var uo=({slots:o,component:e,context:r})=>Ir(vr,{data:e,context:r,slot:o.tabContent});var go=(e=>(e.TabContent="tabContent",e))(go||{}),ve=n(uo);import{UniformSlot as Br}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ie}from"react/jsx-runtime";var H=({component:o,context:e,slots:r,alignment:t})=>Ie("td",{children:Ie("div",{className:d("w-fit",yo[t||"left"]),children:Ie(Br,{slot:r.tableCustomCellContent,context:e,data:o})})});var yo={left:"ml-0",center:"mx-auto",right:"ml-auto"},bo=(e=>(e.TableCustomCellContent="tableCustomCellContent",e))(bo||{});import{UniformText as wr}from"@uniformdev/canvas-next-rsc/component";import{jsx as To}from"react/jsx-runtime";var W=({component:o,context:e})=>To("td",{children:To(wr,{component:o,context:e,parameterId:"value",placeholder:"Value"})});import{UniformText as Fr}from"@uniformdev/canvas-next-rsc/component";import{jsx as ho}from"react/jsx-runtime";var U=({component:o,context:e})=>ho("th",{children:ho(Fr,{component:o,context:e,parameterId:"value",placeholder:"Value"})});import{UniformSlot as Sr}from"@uniformdev/canvas-next-rsc/component";import{jsx as vo}from"react/jsx-runtime";var M=({slots:o,component:e,context:r})=>vo("tr",{children:vo(Sr,{data:e,context:r,slot:o.tableRowCells})});import{UniformText as Ar}from"@uniformdev/canvas-next-rsc/component";import{jsx as Io}from"react/jsx-runtime";var Bo=({tag:o,size:e,color:r,weight:t,font:a,transform:p,decoration:i,letterSpacing:m,lineCountRestrictions:s,alignment:l,component:f,context:P})=>Io(y,{color:r,size:e,font:a,weight:t,transform:p,decoration:i,letterSpacing:m,alignment:l,lineCountRestrictions:s,children:Io(Ar,{placeholder:"Text goes here",parameterId:"text",as:o||void 0,component:f,context:P})});var Be=n(Bo);import kr from"next/dynamic";var we=kr(()=>import("../../theme-switcher-JE6MRNXM.mjs").then(o=>n(o.ThemeSwitcher)));import{jsx as Gr}from"react/jsx-runtime";var wo=({context:o,component:e})=>{let r=o.previewMode==="editor"&&o.isContextualEditing,t=e?._id?.includes("placeholder_");return!r||t?null:Gr(B,{type:"video",placeholder:"Please add video link to display a video"})};import{jsx as Fo}from"react/jsx-runtime";var $=({url:o,placeholderImage:e,autoPlay:r,lazyLoad:t,loop:a,controls:p,muted:i,component:m,context:s})=>{if(!o||o.type!=="url"||!o.path)return Fo(wo,{component:m,context:s});let[l]=x(e);return Fo(De,{url:o.path,placeholderImageUrl:l?.url,autoPlay:r,lazyLoad:t,loop:a,controls:p,muted:i})};var So={accordion:{component:O},accordionItem:{component:se},badge:{component:de},banner:{component:X},button:{component:Pe},card:{component:Y},carousel:{component:q},container:{component:G},countdown:{component:K},divider:{component:L},grid:{component:xe},gridItem:{component:Ce},flex:{component:ce},flexItem:{component:V},header:{component:Z},section:{component:pe},iconLabel:{component:ge},image:{component:N},page:{component:te},richText:{component:Te},spacer:{component:D},text:{component:Be},video:{component:$},tabs:{component:ne},tab:{component:ve},table:{component:me},tableRow:{component:M},tableHeaderCell:{component:U},tableDataCell:{component:W},tableCustomCell:{component:H},modal:{component:ee},imageGallery:{component:j},testimonial:{component:ie},breadcrumbs:{component:fe},review:{component:ae},navigationLink:{component:be},navigationGroup:{component:re},navigationFlyout:{component:oe},footer:{component:Q},themeSwitcher:{component:we},link:{component:ye},fixedHero:{component:w.FixedHero},flexibleHero:{component:w.FlexibleHero}},an=So,pn=Se(So);export{O as Accordion,se as AccordionItem,He as AccordionItemSlots,Lo as AccordionSlots,de as Badge,X as Banner,Vo as BannerContentAlignment,No as BannerSlots,fe as Breadcrumbs,Pe as Button,Y as Card,Do as CardSlots,Ro as CardVariants,q as Carousel,Ho as CarouselSlots,Yo as CommonPageSlots,G as Container,Oe as ContainerSlots,K as Countdown,Wo as CountdownSlots,Uo as CountdownVariants,w as DemoHero,Mo as DemoHeroContentAlignment,$o as DemoHeroVariants,L as Divider,ce as Flex,V as FlexItem,zo as FlexibleHeroSlots,Q as Footer,Eo as FooterSlots,xe as Grid,Ce as GridItem,ro as GridItemSlots,je as GridSlots,Z as Header,_o as HeaderSlots,Jo as HeaderVariants,ge as IconLabel,N as Image,j as ImageGallery,Oo as ImageGallerySlots,ye as Link,so as LinkSlots,ee as Modal,Xo as ModalSlots,oe as NavigationFlyout,re as NavigationGroup,be as NavigationLink,te as Page,ae as Review,Ko as ReviewSlots,qo as ReviewVariants,Te as RichText,pe as Section,Qo as SectionContentAlignment,jo as SectionSlots,Zo as SectionVariants,D as Spacer,he as SpacerVariants,ve as Tab,go as TabSlots,me as Table,H as TableCustomCell,bo as TableCustomCellSlots,W as TableDataCell,U as TableHeaderCell,M as TableRow,er as TableSlots,ne as Tabs,rr as TabsSlots,or as TabsVariants,ie as Testimonial,ar as TestimonialSlots,tr as TestimonialVariants,Be as Text,we as ThemeSwitcher,$ as Video,pn as componentResolver,So as cskComponentsMapping,an as default};
1
+ import{B as re,D as te,E as Yo,G as ae,H as qo,I as Ko,K as pe,L as Qo,M as Zo,N as jo,P as me,Q as er,S as ie,T as tr,U as ar,a as O,b as Vo,d as Y,e as Ro,f as Do,h as Ho,i as q,k as Mo,l as $o,m as zo,n as w,p as Eo,q as Q,s as _o,t as Jo,u as Z,w as Oo,x as j,z as oe}from"../../chunk-DBSKI4UW.mjs";import{b as Xo,c as ee}from"../../chunk-HDWSBDVE.mjs";import{a as or,b as rr,c as ne}from"../../chunk-PC5W2GRG.mjs";import{a as Ne,b as Re,c as De}from"../../chunk-BHR3T7BX.mjs";import{a as F}from"../../chunk-VEUVLMJO.mjs";import{a as v,b as I,d as B}from"../../chunk-26BSLQVU.mjs";import"../../chunk-3TBBNSCU.mjs";import{a as g}from"../../chunk-EIQPM3DQ.mjs";import{a as y}from"../../chunk-QHIWJPL6.mjs";import{a as Lo,b as No,c as X}from"../../chunk-CLSZO62H.mjs";import{a as Wo,b as Uo,c as K}from"../../chunk-UDP47PNB.mjs";import{a as Ve,b as Le}from"../../chunk-VZCFPWET.mjs";import{a as Ge}from"../../chunk-RZFK2OR7.mjs";import"../../chunk-6POLDE2K.mjs";import{a as n}from"../../chunk-HDKBSM4X.mjs";import{a as x}from"../../chunk-JNIJ5N3Y.mjs";import{a as Se}from"../../chunk-56OQGKRM.mjs";import"../../chunk-MSXDLSXH.mjs";import{a as Ae,c as C,d as ke}from"../../chunk-2OD4OVSF.mjs";import{c as d}from"../../chunk-S7CSCIW4.mjs";import pr from"next/dynamic";var He=(e=>(e.AccordionItemContent="accordionItemContent",e))(He||{}),se=pr(()=>import("../../accordion-item-ZS3TSISI.mjs").then(o=>o.AccordionItem));import{UniformText as mr}from"@uniformdev/canvas-next-rsc/component";import{jsx as We}from"react/jsx-runtime";var Ue=({className:o,...e})=>We("svg",{viewBox:"0 0 6 6","aria-hidden":"true",className:d("w-1.5 h-1.5",o),...e,children:We("circle",{r:"3",cx:"3",cy:"3"})});var Me=({pill:o,size:e,dotColor:r,borderColor:t,backgroundColor:a})=>d("inline-flex items-center w-fit",{"rounded-full":o,"rounded-md":!o,"gap-x-1.5":!!r,[`ring-1 ring-inset ring-${t}`]:!!t,[`bg-${a}`]:!!a,[`p-${e}`]:e});import{jsx as le,jsxs as nr}from"react/jsx-runtime";var $e=({component:o,context:e,textColor:r,backgroundColor:t,borderColor:a,dotColor:p,pill:i=!1,size:m})=>nr("div",{className:Me({pill:i,size:m,dotColor:p,borderColor:a,backgroundColor:t}),children:[p&&le(Ue,{className:d({[`fill-${p}`]:p})}),le(y,{color:r,size:"xs",children:le(mr,{placeholder:"Badge text goes here",parameterId:"text",component:o,context:e})})]});var de=n($e);import{flattenValues as ir}from"@uniformdev/canvas";import{jsx as S}from"react/jsx-runtime";var ze=o=>{switch(o){case"slash":return S("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:S("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 20.247 6-16.5"})});case"chevron":default:return S("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:S("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})}};import{jsx as A,jsxs as sr}from"react/jsx-runtime";var Ee=({separator:o,links:e,size:r,color:t,font:a,transform:p})=>{let i=e?.reduce((m,s)=>{let{title:l,link:f}=ir(s)||{};return l?[...m,{title:l,link:C(f)}]:m},[])||[];return i.length?A("ul",{className:d("flex items-center",{[`text-${r}`]:!!r,[`text-${t}`]:!!t}),children:i.map(({title:m,link:s},l)=>sr("li",{className:"flex items-center",children:[!!l&&A("div",{className:"mx-2 size-[1em]",children:ze(o)}),s?A(I,{variant:"link",textColor:t,className:d({[`font-${a}`]:!!a,[`text-${r}`]:!!r,[p||""]:!!p}),href:s,children:m}):A(y,{size:r,font:a,color:t,transform:p,children:m})]},`${m}-${l}`))}):null};var fe=n(Ee);import{useMemo as lr}from"react";import{UniformText as dr}from"@uniformdev/canvas-next-rsc/component";import{jsx as k}from"react/jsx-runtime";var _e=({component:o,context:e,link:r,textColor:t,textFont:a,textWeight:p,textTransform:i,buttonColor:m,icon:s,iconPosition:l,border:f,size:P,textSize:u,hoverButtonColor:c,hoverTextColor:b,className:z,onClick:T,text:E})=>{let Fe=C(r),Ao=e.previewMode==="editor"&&e?.isContextualEditing,_=lr(()=>{let[J]=x(s),{url:h,title:Go=""}=J||{};if(h)return{url:h,title:Go}},[s]),ko=()=>{if(!_)return;let{url:J,title:h}=_;return k(g,{src:J,alt:h,width:20,height:20,containerStyle:{width:"20px",height:"20px"}})};return!(!!E||!!_)&&!Ao?null:k(I,{variant:o.variant,href:Fe,border:f,size:P,onClick:T,className:z,textSize:u,isActive:e.matchedRoute===Fe,textColor:t,textFont:a,textWeight:p,textTransform:i,buttonColor:m,hoverButtonColor:c,hoverTextColor:b,icon:k(ko,{}),iconPosition:l,children:k(dr,{placeholder:"Button text goes here",parameterId:"text",component:o,context:e})})};var Pe=n(_e);import{UniformSlot as fr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Je}from"react/jsx-runtime";var G=({displayName:o,anchor:e,slots:r,component:t,context:a,backgroundColor:p,spacing:i,border:m,fluidContent:s,fullHeight:l,className:f})=>Je(Ge,{title:o,id:e,backgroundColor:p,spacing:i,border:m,fluidContent:s,fullHeight:l,className:f,children:Je(fr,{data:t,context:a,slot:r.containerContent})});var Oe=(e=>(e.ContainerContent="containerContent",e))(Oe||{});import{jsx as Xe}from"react/jsx-runtime";var V=({color:o,thickness:e,width:r,alignment:t})=>Xe("div",{className:d("flex w-full",`justify-${t||"center"}`),children:Xe("div",{className:d({[`bg-${o}`]:!!o}),style:{width:r,height:e}})});import{UniformSlot as Pr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ye}from"react/jsx-runtime";var qe=({direction:o,justifyContent:e,gap:r,alignItems:t,backgroundColor:a,spacing:p,border:i,fluidContent:m,fullHeight:s,slots:l,component:f,context:P,className:u,wrapperClassName:c})=>Ye(Ne,{direction:o,justifyContent:e,gap:r,alignItems:t,backgroundColor:a,spacing:p,border:i,fluidContent:m,fullHeight:s,wrapperClassName:c,className:u,children:Ye(Pr,{data:f,context:P,slot:l.flexItem})});var ce=n(qe);import{UniformSlot as cr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ke}from"react/jsx-runtime";var L=({alignSelf:o,shrink:e,context:r,component:t,slots:a})=>Ke(Re,{alignSelf:o,shrink:e,children:Ke(cr,{data:t,context:r,slot:a.inner})});import{UniformSlot as xr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Qe}from"react/jsx-runtime";var Ze=({columnsCount:o,gapX:e,gapY:r,backgroundColor:t,spacing:a,border:p,fluidContent:i,fullHeight:m,slots:s,component:l,context:f,className:P})=>Qe(Ve,{className:P,columnsCount:o,gapX:e,gapY:r,backgroundColor:t,spacing:a,border:p,fluidContent:i,fullHeight:m,children:Qe(xr,{data:l,context:f,slot:s.gridInner})});var je=(e=>(e.GridInner="gridInner",e))(je||{}),xe=n(Ze);import{UniformSlot as ur}from"@uniformdev/canvas-next-rsc/component";import{jsx as eo}from"react/jsx-runtime";var oo=({columnStart:o,columnSpan:e,rowStart:r,className:t,rowSpan:a,context:p,component:i,slots:m})=>eo(Le,{columnStart:o,columnSpan:e,rowStart:r,rowSpan:a,className:t,children:eo(ur,{data:i,context:p,slot:m.inner})});var ro=(e=>(e.Inner="inner",e))(ro||{}),ue=n(oo);import{UniformText as Cr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ce}from"react/jsx-runtime";var to=({icon:o,size:e,tag:r,color:t,weight:a,font:p,transform:i,decoration:m,letterSpacing:s,alignment:l,component:f,context:P})=>{let[u]=x(o),{url:c,title:b=""}=u||{};return Ce(F,{icon:c?Ce(g,{src:c,alt:b,fill:!0}):void 0,size:e,tag:r,color:t,weight:a,font:p,transform:i,decoration:m,letterSpacing:s,alignment:l,children:Ce(Cr,{placeholder:"Text goes here",parameterId:"text",component:f,context:P})})};var ge=n(to);import{jsx as ao}from"react/jsx-runtime";var po=({context:o,component:e,width:r,height:t})=>{let a=o.previewMode==="editor"&&o.isContextualEditing,p=e?._id?.includes("placeholder_");return!a||p?null:ao("div",{style:{width:r?`${r}px`:"auto",height:t?`${t}px`:"auto"},children:ao(B,{type:"image",placeholder:"Please add an asset to display an image"})})};import{jsx as mo}from"react/jsx-runtime";var N=({image:o,objectFit:e,width:r,height:t,overlayColor:a,overlayOpacity:p,border:i,priority:m,unoptimized:s,context:l,component:f})=>{let[P]=x(o);if(!P)return mo(po,{context:l,component:f,width:r,height:t});let{url:u,title:c=""}=P;return mo(g,{containerStyle:{...r?{width:`${r}px`}:{},...t?{height:`${t}px`}:{}},src:u,alt:c,fill:!0,unoptimized:s,priority:m,sizes:"100%",style:{objectFit:e},overlayColor:a,overlayOpacity:p,border:i})};import{UniformSlot as gr}from"@uniformdev/canvas-next-rsc/component";import{jsx as no}from"react/jsx-runtime";var io=({component:o,context:e,slots:r,link:t,openInNewTab:a})=>no(v,{link:C(t),openInNewTab:a,children:no(gr,{data:o,context:e,slot:r.linkContent})});var so=(e=>(e.LinkContent="linkContent",e))(so||{}),ye=n(io);import{UniformText as br}from"@uniformdev/canvas-next-rsc/component";var lo=({activeState:o,context:e,href:r})=>d("hover:underline",{underline:o&&Ae(e.matchedRoute,e.dynamicInputs)===r});import{Fragment as yr}from"react";import{jsx as fo}from"react/jsx-runtime";var Po=({href:o,isExternalLink:e,children:r})=>o?fo(v,{link:o,openInNewTab:e,rel:e?"noopener noreferrer":"",children:r}):fo(yr,{children:r});import{jsx as R}from"react/jsx-runtime";var co=({icon:o,link:e,activeState:r,size:t,tag:a,color:p,weight:i,font:m,transform:s,decoration:l,letterSpacing:f,alignment:P,component:u,context:c})=>{let b=C(e),[z]=x(o),{url:T,title:E=""}=z||{};return R(Po,{href:b,isExternalLink:ke(b),children:R(F,{textClassName:lo({activeState:r,context:c,href:b}),icon:T&&R(g,{src:T,alt:E,fill:!0}),size:t,tag:a,color:p,weight:i,font:m,transform:s,decoration:l,letterSpacing:f,alignment:P,children:R(br,{placeholder:"Text goes here",parameterId:"text",className:"whitespace-nowrap",component:u,context:c})})})};var be=n(co);import{UniformRichText as Tr}from"@uniformdev/canvas-next-rsc/component";import{jsx as xo}from"react/jsx-runtime";var uo=({color:o,lineCountRestrictions:e,font:r,component:t,className:a})=>xo(y,{lineCountRestrictions:e,color:o,font:r,children:xo(Tr,{className:d("prose max-w-full marker:text-current [&_*:not(pre)]:text-current",a),parameterId:"text",component:t,placeholder:"Rich text content goes here..."})});var Te=n(uo);import{jsx as hr}from"react/jsx-runtime";var D=({size:o,component:{variant:e}})=>{let r=e==="horizontal";return hr("div",{className:d({[`w-${o}`]:r,[`h-${o}`]:!r})})};var he=(e=>(e.Horizontal="horizontal",e))(he||{});import{UniformSlot as vr}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ir}from"react/jsx-runtime";var Co=({slots:o,component:e,context:r})=>Ir(vr,{data:e,context:r,slot:o.tabContent});var go=(e=>(e.TabContent="tabContent",e))(go||{}),ve=n(Co);import{UniformSlot as Br}from"@uniformdev/canvas-next-rsc/component";import{jsx as Ie}from"react/jsx-runtime";var H=({component:o,context:e,slots:r,alignment:t})=>Ie("td",{children:Ie("div",{className:d("w-fit",yo[t||"left"]),children:Ie(Br,{slot:r.tableCustomCellContent,context:e,data:o})})});var yo={left:"ml-0",center:"mx-auto",right:"ml-auto"},bo=(e=>(e.TableCustomCellContent="tableCustomCellContent",e))(bo||{});import{UniformText as wr}from"@uniformdev/canvas-next-rsc/component";import{jsx as To}from"react/jsx-runtime";var W=({component:o,context:e})=>To("td",{children:To(wr,{component:o,context:e,parameterId:"value",placeholder:"Value"})});import{UniformText as Fr}from"@uniformdev/canvas-next-rsc/component";import{jsx as ho}from"react/jsx-runtime";var U=({component:o,context:e})=>ho("th",{children:ho(Fr,{component:o,context:e,parameterId:"value",placeholder:"Value"})});import{UniformSlot as Sr}from"@uniformdev/canvas-next-rsc/component";import{jsx as vo}from"react/jsx-runtime";var M=({slots:o,component:e,context:r})=>vo("tr",{children:vo(Sr,{data:e,context:r,slot:o.tableRowCells})});import{UniformText as Ar}from"@uniformdev/canvas-next-rsc/component";import{jsx as Io}from"react/jsx-runtime";var Bo=({tag:o,size:e,color:r,weight:t,font:a,transform:p,decoration:i,letterSpacing:m,lineCountRestrictions:s,alignment:l,component:f,context:P})=>Io(y,{color:r,size:e,font:a,weight:t,transform:p,decoration:i,letterSpacing:m,alignment:l,lineCountRestrictions:s,children:Io(Ar,{placeholder:"Text goes here",parameterId:"text",as:o||void 0,component:f,context:P})});var Be=n(Bo);import kr from"next/dynamic";var we=kr(()=>import("../../theme-switcher-JE6MRNXM.mjs").then(o=>n(o.ThemeSwitcher)));import{jsx as Gr}from"react/jsx-runtime";var wo=({context:o,component:e})=>{let r=o.previewMode==="editor"&&o.isContextualEditing,t=e?._id?.includes("placeholder_");return!r||t?null:Gr(B,{type:"video",placeholder:"Please add video link to display a video"})};import{jsx as Fo}from"react/jsx-runtime";var $=({url:o,placeholderImage:e,autoPlay:r,lazyLoad:t,loop:a,controls:p,muted:i,component:m,context:s})=>{if(!o||o.type!=="url"||!o.path)return Fo(wo,{component:m,context:s});let[l]=x(e);return Fo(De,{url:o.path,placeholderImageUrl:l?.url,autoPlay:r,lazyLoad:t,loop:a,controls:p,muted:i})};var So={accordion:{component:O},accordionItem:{component:se},badge:{component:de},banner:{component:X},button:{component:Pe},card:{component:Y},carousel:{component:q},container:{component:G},countdown:{component:K},divider:{component:V},grid:{component:xe},gridItem:{component:ue},flex:{component:ce},flexItem:{component:L},header:{component:Z},section:{component:pe},iconLabel:{component:ge},image:{component:N},page:{component:te},richText:{component:Te},spacer:{component:D},text:{component:Be},video:{component:$},tabs:{component:ne},tab:{component:ve},table:{component:me},tableRow:{component:M},tableHeaderCell:{component:U},tableDataCell:{component:W},tableCustomCell:{component:H},modal:{component:ee},imageGallery:{component:j},testimonial:{component:ie},breadcrumbs:{component:fe},review:{component:ae},navigationLink:{component:be},navigationGroup:{component:re},navigationFlyout:{component:oe},footer:{component:Q},themeSwitcher:{component:we},link:{component:ye},fixedHero:{component:w.FixedHero},flexibleHero:{component:w.FlexibleHero}},an=So,pn=Se(So);export{O as Accordion,se as AccordionItem,He as AccordionItemSlots,Vo as AccordionSlots,de as Badge,X as Banner,Lo as BannerContentAlignment,No as BannerSlots,fe as Breadcrumbs,Pe as Button,Y as Card,Do as CardSlots,Ro as CardVariants,q as Carousel,Ho as CarouselSlots,Yo as CommonPageSlots,G as Container,Oe as ContainerSlots,K as Countdown,Wo as CountdownSlots,Uo as CountdownVariants,w as DemoHero,Mo as DemoHeroContentAlignment,$o as DemoHeroVariants,V as Divider,ce as Flex,L as FlexItem,zo as FlexibleHeroSlots,Q as Footer,Eo as FooterSlots,xe as Grid,ue as GridItem,ro as GridItemSlots,je as GridSlots,Z as Header,_o as HeaderSlots,Jo as HeaderVariants,ge as IconLabel,N as Image,j as ImageGallery,Oo as ImageGallerySlots,ye as Link,so as LinkSlots,ee as Modal,Xo as ModalSlots,oe as NavigationFlyout,re as NavigationGroup,be as NavigationLink,te as Page,ae as Review,Ko as ReviewSlots,qo as ReviewVariants,Te as RichText,pe as Section,Qo as SectionContentAlignment,jo as SectionSlots,Zo as SectionVariants,D as Spacer,he as SpacerVariants,ve as Tab,go as TabSlots,me as Table,H as TableCustomCell,bo as TableCustomCellSlots,W as TableDataCell,U as TableHeaderCell,M as TableRow,er as TableSlots,ne as Tabs,rr as TabsSlots,or as TabsVariants,ie as Testimonial,ar as TestimonialSlots,tr as TestimonialVariants,Be as Text,we as ThemeSwitcher,$ as Video,pn as componentResolver,So as cskComponentsMapping,an as default};
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { FC, SVGProps, ReactElement, HTMLAttributes, ReactNode, PropsWithChildren } from 'react';
3
- import { T as TextProps, B as ButtonProps, C as ContainerProps, F as FooterProps, H as HeaderProps } from '../../index-D-lbmp5W.mjs';
4
- export { a as ButtonVariant } from '../../index-D-lbmp5W.mjs';
3
+ import { T as TextProps, B as ButtonProps, C as ContainerProps, F as FooterProps, H as HeaderProps } from '../../index-GfacBA0f.mjs';
4
+ export { a as ButtonVariant } from '../../index-GfacBA0f.mjs';
5
5
  import { DefaultTheme } from 'tailwindcss/types/generated/default-theme';
6
6
  import { ViewPort } from '../../types/cskTypes.mjs';
7
7
  import { ImageProps as ImageProps$1 } from 'next/image';
@@ -1 +1 @@
1
- import{a as F}from"../../chunk-ZWDCDE5W.mjs";import{a as g,b as h,c as C}from"../../chunk-2DY4O2JO.mjs";import{a as i}from"../../chunk-VEUVLMJO.mjs";import{a as t,b as r,c as a,d as x,e as u,f as y,g as I,h as c}from"../../chunk-K5MNNF5E.mjs";import{a as f,b as s,c as d,d as l}from"../../chunk-3TBBNSCU.mjs";import{a as p}from"../../chunk-EIQPM3DQ.mjs";import{a as m}from"../../chunk-QHIWJPL6.mjs";import{a as o}from"../../chunk-IUFXERZ7.mjs";import{a as P,b as n}from"../../chunk-QLEOPXHB.mjs";import{a as e}from"../../chunk-EI3IJHIE.mjs";import"../../chunk-2OD4OVSF.mjs";import"../../chunk-S7CSCIW4.mjs";export{f as ArrowIcon,r as Button,a as ButtonVariant,o as Carousel,s as ChevronDownIcon,e as Container,g as Flex,h as FlexItem,u as Footer,P as Grid,n as GridItem,y as Header,i as IconLabel,p as Image,d as ImageIcon,t as Link,x as MediaPlaceholder,I as Page,c as Rating,m as Text,F as ThemeSwitcher,C as Video,l as VideoIcon};
1
+ import{a as F}from"../../chunk-ZWDCDE5W.mjs";import{a as g,b as h,c as C}from"../../chunk-BHR3T7BX.mjs";import{a as i}from"../../chunk-VEUVLMJO.mjs";import{a as t,b as r,c as a,d as x,e as u,f as y,g as I,h as c}from"../../chunk-26BSLQVU.mjs";import{a as f,b as s,c as d,d as l}from"../../chunk-3TBBNSCU.mjs";import{a as p}from"../../chunk-EIQPM3DQ.mjs";import{a as m}from"../../chunk-QHIWJPL6.mjs";import{a as o}from"../../chunk-J2GMOCYV.mjs";import{a as P,b as n}from"../../chunk-VZCFPWET.mjs";import{a as e}from"../../chunk-RZFK2OR7.mjs";import"../../chunk-2OD4OVSF.mjs";import"../../chunk-S7CSCIW4.mjs";export{f as ArrowIcon,r as Button,a as ButtonVariant,o as Carousel,s as ChevronDownIcon,e as Container,g as Flex,h as FlexItem,u as Footer,P as Grid,n as GridItem,y as Header,i as IconLabel,p as Image,d as ImageIcon,t as Link,x as MediaPlaceholder,I as Page,c as Rating,m as Text,F as ThemeSwitcher,C as Video,l as VideoIcon};
@@ -1,5 +1,5 @@
1
1
  import { DefaultTheme } from 'tailwindcss/types/generated/default-theme';
2
- import { Asset } from '@uniformdev/assets';
2
+ import { AssetParamValue } from '@uniformdev/assets';
3
3
  import { LinkParamValue } from '@uniformdev/canvas';
4
4
  import { ComponentProps } from '@uniformdev/canvas-next-rsc/component';
5
5
  import { ButtonProps as BaseButtonProps } from '@/components/ui/Button';
@@ -17,8 +17,8 @@ export type ButtonParameters = {
17
17
  buttonColor?: string;
18
18
  border?: string | ViewPort<string>;
19
19
  size?: string;
20
- icon?: Asset[];
21
- test?: Asset[];
20
+ icon?: AssetParamValue;
21
+ test?: AssetParamValue;
22
22
  textSize?: BaseButtonProps['textSize'];
23
23
  iconPosition?: BaseButtonProps['iconPosition'];
24
24
  hoverButtonColor?: string;
@@ -1,5 +1,5 @@
1
1
  import { DefaultTheme } from 'tailwindcss/types/generated/default-theme';
2
- import { Asset } from '@uniformdev/assets';
2
+ import { AssetParamValue } from '@uniformdev/assets';
3
3
  import { LinkParamValue } from '@uniformdev/canvas';
4
4
  import { ComponentProps } from '@uniformdev/canvas-next-rsc/component';
5
5
  import { ContainerParameters } from '@/components/canvas/Container/parameters';
@@ -26,8 +26,8 @@ export type BaseButtonParameters = {
26
26
  buttonColor?: string;
27
27
  border?: string | ViewPort<string>;
28
28
  size?: string;
29
- icon?: Asset[];
30
- test?: Asset[];
29
+ icon?: AssetParamValue;
30
+ test?: AssetParamValue;
31
31
  textSize?: BaseButtonProps['textSize'];
32
32
  iconPosition?: BaseButtonProps['iconPosition'];
33
33
  hoverButtonColor?: string;
@@ -35,7 +35,7 @@ export type BaseButtonParameters = {
35
35
  };
36
36
 
37
37
  export type BaseImageParameters = {
38
- image?: Asset[];
38
+ image?: AssetParamValue;
39
39
  width?: number;
40
40
  height?: number;
41
41
  objectFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
@@ -1,11 +1,11 @@
1
- import { Asset } from '@uniformdev/assets';
1
+ import { AssetParamValue } from '@uniformdev/assets';
2
2
  import { ComponentProps } from '@uniformdev/canvas-next-rsc/component';
3
3
  import { TextParameters } from '@/components/canvas/Text/parameters';
4
4
  import { withPlaygroundWrapper } from '@/hocs/withPlaygroundWrapper';
5
5
  import { IconLabel } from './icon-label';
6
6
 
7
7
  export type IconLabelParameters = TextParameters & {
8
- icon?: Asset[];
8
+ icon?: AssetParamValue;
9
9
  };
10
10
 
11
11
  export type IconLabelProps = ComponentProps<IconLabelParameters>;
@@ -1,9 +1,9 @@
1
- import { Asset } from '@uniformdev/assets';
1
+ import { AssetParamValue } from '@uniformdev/assets';
2
2
  import { ComponentProps } from '@uniformdev/canvas-next-rsc/component';
3
3
  import { ViewPort } from '@/types/cskTypes';
4
4
 
5
5
  export type ImageParameters = {
6
- image?: Asset[];
6
+ image?: AssetParamValue;
7
7
  width?: number;
8
8
  height?: number;
9
9
  objectFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
@@ -1,11 +1,11 @@
1
1
  import dynamic from 'next/dynamic';
2
- import { Asset } from '@uniformdev/assets';
2
+ import { AssetParamValue } from '@uniformdev/assets';
3
3
  import { ComponentProps } from '@uniformdev/canvas-next-rsc/component';
4
4
  import { ContainerParameters } from '@/components/canvas/Container/parameters';
5
5
 
6
6
  export type ImageGalleryParameters = ContainerParameters & {
7
7
  aspectRatio?: 'square' | 'video';
8
- items?: Asset[];
8
+ items?: AssetParamValue;
9
9
  };
10
10
 
11
11
  export enum ImageGallerySlots {
@@ -1,5 +1,5 @@
1
1
  import dynamic from 'next/dynamic';
2
- import { Asset } from '@uniformdev/assets';
2
+ import { AssetParamValue } from '@uniformdev/assets';
3
3
  import { LinkParamValue } from '@uniformdev/canvas';
4
4
  import { ComponentProps } from '@uniformdev/canvas-next-rsc/component';
5
5
  import { TextParameters } from '@/components/canvas/Text/parameters';
@@ -7,7 +7,7 @@ import { withPlaygroundWrapper } from '@/hocs/withPlaygroundWrapper';
7
7
  import { ViewPort } from '@/types/cskTypes';
8
8
 
9
9
  export type NavigationFlyoutParameters = TextParameters & {
10
- icon?: Asset[];
10
+ icon?: AssetParamValue;
11
11
  link?: LinkParamValue;
12
12
  backgroundColor?: string;
13
13
  border?: string | ViewPort<string>;
@@ -1,5 +1,5 @@
1
1
  import dynamic from 'next/dynamic';
2
- import { Asset } from '@uniformdev/assets';
2
+ import { AssetParamValue } from '@uniformdev/assets';
3
3
  import { LinkParamValue } from '@uniformdev/canvas';
4
4
  import { ComponentProps } from '@uniformdev/canvas-next-rsc/component';
5
5
  import { TextParameters } from '@/components/canvas/Text/parameters';
@@ -7,7 +7,7 @@ import { withPlaygroundWrapper } from '@/hocs/withPlaygroundWrapper';
7
7
  import { ViewPort } from '@/types/cskTypes';
8
8
 
9
9
  export type NavigationGroupParameters = TextParameters & {
10
- icon?: Asset[];
10
+ icon?: AssetParamValue;
11
11
  link?: LinkParamValue;
12
12
  backgroundColor?: string;
13
13
  border?: string | ViewPort<string>;
@@ -1,4 +1,4 @@
1
- import { Asset } from '@uniformdev/assets';
1
+ import { AssetParamValue } from '@uniformdev/assets';
2
2
  import { LinkParamValue } from '@uniformdev/canvas';
3
3
  import { ComponentProps } from '@uniformdev/canvas-next-rsc/component';
4
4
  import { TextParameters } from '@/components/canvas/Text/parameters';
@@ -6,7 +6,7 @@ import { withPlaygroundWrapper } from '@/hocs/withPlaygroundWrapper';
6
6
  import { NavigationLink } from './navigation-link';
7
7
 
8
8
  export type NavigationLinkParameters = TextParameters & {
9
- icon?: Asset[];
9
+ icon?: AssetParamValue;
10
10
  link?: LinkParamValue;
11
11
  activeState?: boolean;
12
12
  };
@@ -1,10 +1,10 @@
1
- import { Asset } from '@uniformdev/assets';
1
+ import { AssetParamValue } from '@uniformdev/assets';
2
2
  import { LinkParamValue } from '@uniformdev/canvas';
3
3
  import { ComponentProps } from '@uniformdev/canvas-next-rsc/component';
4
4
 
5
5
  export type VideoParameters = {
6
6
  url?: LinkParamValue;
7
- placeholderImage?: Asset[];
7
+ placeholderImage?: AssetParamValue;
8
8
  autoPlay?: boolean;
9
9
  lazyLoad?: boolean;
10
10
  loop?: boolean;
@@ -12,6 +12,7 @@ export const Container: FC<ContainerProps> = ({
12
12
  border = '',
13
13
  fluidContent = false,
14
14
  fullHeight = false,
15
+ maxWidth,
15
16
  ...rest
16
17
  }) => {
17
18
  const [
@@ -23,7 +24,12 @@ export const Container: FC<ContainerProps> = ({
23
24
  <div
24
25
  className={cn(
25
26
  'px-4 xl:px-0',
26
- { 'mx-auto w-full max-w-7xl': !fluidContent, '!px-0': fluidContent },
27
+ {
28
+ '!px-0': fluidContent,
29
+ 'mx-auto w-full': !fluidContent,
30
+ 'max-w-7xl max-w-container-width': !maxWidth && !fluidContent,
31
+ [`max-w-${maxWidth}`]: !!maxWidth && !fluidContent,
32
+ },
27
33
  wrapperClassName
28
34
  )}
29
35
  >
@@ -8,6 +8,7 @@ export type ContainerProps = HTMLAttributes<HTMLDivElement> & {
8
8
  fluidContent?: boolean;
9
9
  fullHeight?: boolean;
10
10
  wrapperClassName?: string;
11
+ maxWidth?: string;
11
12
  };
12
13
 
13
14
  export { Container as default } from './container';
@@ -1,4 +1,4 @@
1
- import { Asset } from '@uniformdev/assets';
1
+ import { AssetParamValue } from '@uniformdev/assets';
2
2
  import { flattenValues } from '@uniformdev/canvas';
3
3
 
4
4
  type ResolvedAsset = {
@@ -16,8 +16,8 @@ type ResolvedAsset = {
16
16
  /**
17
17
  * Resolves a list of assets, filtering out any entries without a valid URL.
18
18
  *
19
- * @param {Asset[] | undefined} image - The list of assets to resolve.
19
+ * @param {AssetParamValue | undefined} image - The list of assets to resolve.
20
20
  * @returns {ResolvedAsset[]} - An array of resolved assets with valid URLs.
21
21
  */
22
- export const resolveAsset = (image?: Asset[]): ResolvedAsset[] =>
22
+ export const resolveAsset = (image?: AssetParamValue): ResolvedAsset[] =>
23
23
  (flattenValues(image as never) || []).filter(({ url }) => Boolean(url));
@@ -1 +1 @@
1
- "use client";import{a as d}from"./chunk-EIQPM3DQ.mjs";import{a as I}from"./chunk-EI3IJHIE.mjs";import{a as G}from"./chunk-JNIJ5N3Y.mjs";import{c as h}from"./chunk-S7CSCIW4.mjs";import{UniformSlot as R}from"@uniformdev/canvas-next-rsc/component";import F from"react-responsive-masonry";import{Fragment as v,jsx as y}from"react/jsx-runtime";var g={firstLineCount:2,secondLineCount:3,otherLinesCount:4},L=({slot:n,aspectRatio:s,config:r})=>{let{firstLineCount:i=g.firstLineCount,secondLineCount:p=g.secondLineCount,otherLinesCount:m=g.otherLinesCount}=r||{},{items:f=[]}=n||{},c=f.reduce((e,o,t)=>(t<i?e[0]?.push(o):t<i+p?e[1]?.push(o):e[2]?.push(o),e),[[],[],[]])||[];return y(v,{children:c?.map((e,o)=>e.length?y(F,{columnsCount:o<2||e.length<m?e.length:m,gutter:"4px",children:e.map((t,u)=>y("div",{className:h("flex flex-1 items-center justify-center",{[`aspect-${s}`]:!!s}),children:t},`img-${u}`))},`line-${o}`):null)})};import{jsx as l}from"react/jsx-runtime";var M=({slots:n,aspectRatio:s,items:r,backgroundColor:i,spacing:p,border:m,fluidContent:f,fullHeight:c,config:e,context:o,component:t})=>{let u=r?.length?{name:"items",items:G(r)?.map((a,C)=>l(d,{src:a.url,style:{objectFit:"cover"},alt:`Image ${C}`,fill:!0},a?.id||`image-${C}`))||[]}:n.imageGalleryItems,P=!r?.length&&!t?.slots?.imageGalleryItems?.filter(({_id:a})=>!a?.startsWith("placeholder"))?.length;return l(I,{backgroundColor:i,spacing:p,border:m,fluidContent:f,fullHeight:c,children:l("div",{className:"flex flex-col gap-1",children:P?l(R,{context:o,slot:n.imageGalleryItems,data:t}):l(L,{slot:u,aspectRatio:s,config:e})})})};export{M as ImageGallery};
1
+ "use client";import{a as d}from"./chunk-EIQPM3DQ.mjs";import{a as I}from"./chunk-RZFK2OR7.mjs";import{a as G}from"./chunk-JNIJ5N3Y.mjs";import{c as h}from"./chunk-S7CSCIW4.mjs";import{UniformSlot as R}from"@uniformdev/canvas-next-rsc/component";import F from"react-responsive-masonry";import{Fragment as v,jsx as y}from"react/jsx-runtime";var g={firstLineCount:2,secondLineCount:3,otherLinesCount:4},L=({slot:n,aspectRatio:s,config:r})=>{let{firstLineCount:i=g.firstLineCount,secondLineCount:p=g.secondLineCount,otherLinesCount:m=g.otherLinesCount}=r||{},{items:f=[]}=n||{},c=f.reduce((e,o,t)=>(t<i?e[0]?.push(o):t<i+p?e[1]?.push(o):e[2]?.push(o),e),[[],[],[]])||[];return y(v,{children:c?.map((e,o)=>e.length?y(F,{columnsCount:o<2||e.length<m?e.length:m,gutter:"4px",children:e.map((t,u)=>y("div",{className:h("flex flex-1 items-center justify-center",{[`aspect-${s}`]:!!s}),children:t},`img-${u}`))},`line-${o}`):null)})};import{jsx as l}from"react/jsx-runtime";var M=({slots:n,aspectRatio:s,items:r,backgroundColor:i,spacing:p,border:m,fluidContent:f,fullHeight:c,config:e,context:o,component:t})=>{let u=r?.length?{name:"items",items:G(r)?.map((a,C)=>l(d,{src:a.url,style:{objectFit:"cover"},alt:`Image ${C}`,fill:!0},a?.id||`image-${C}`))||[]}:n.imageGalleryItems,P=!r?.length&&!t?.slots?.imageGalleryItems?.filter(({_id:a})=>!a?.startsWith("placeholder"))?.length;return l(I,{backgroundColor:i,spacing:p,border:m,fluidContent:f,fullHeight:c,children:l("div",{className:"flex flex-col gap-1",children:P?l(R,{context:o,slot:n.imageGalleryItems,data:t}):l(L,{slot:u,aspectRatio:s,config:e})})})};export{M as ImageGallery};
@@ -48,6 +48,7 @@ type ContainerProps = HTMLAttributes<HTMLDivElement> & {
48
48
  fluidContent?: boolean;
49
49
  fullHeight?: boolean;
50
50
  wrapperClassName?: string;
51
+ maxWidth?: string;
51
52
  };
52
53
 
53
54
  type FooterProps = Omit<ContainerProps, 'fullHeight' | 'content'> & {
@@ -1 +1 @@
1
- "use client";import{a as u,b as s}from"./chunk-QLEOPXHB.mjs";import{a as o}from"./chunk-EI3IJHIE.mjs";import{c as n}from"./chunk-S7CSCIW4.mjs";import{useState as C}from"react";import{jsx as e,jsxs as l}from"react/jsx-runtime";var B=({isOpen:t,onClick:i,color:a})=>e("button",{onClick:i,"aria-label":"Menu",className:n("w-7 h-7 relative focus:outline-none"),children:l("div",{className:"absolute left-1/2 top-1/2 block w-7 -translate-x-1/2 -translate-y-1/2",children:[e("span",{"aria-hidden":"true",className:n("block absolute h-0.5 w-7 transform transition duration-500 ease-in-out",{"rotate-45":t," -translate-y-2":!t,[`bg-${a}`]:!!a})}),e("span",{"aria-hidden":"true",className:n("block absolute h-0.5 w-7 transform transition duration-500 ease-in-out",{"opacity-0":t,[`bg-${a}`]:!!a})}),e("span",{"aria-hidden":"true",className:n("block absolute h-0.5 w-7 transform transition duration-500 ease-in-out",{"-rotate-45":t," translate-y-2":!t,[`bg-${a}`]:!!a})})]})}),G=({leftSection:t,rightSection:i,children:a,backgroundColor:m,spacing:c,border:d,className:p,color:f})=>{let[r,b]=C(!1);return l("nav",{children:[e(o,{id:"mobile-header",fluidContent:!0,backgroundColor:m,spacing:c,border:d,className:p,children:l(u,{className:"items-center",columnsCount:"12",children:[e(s,{columnSpan:"span-2",children:e(B,{isOpen:r,onClick:()=>{b(v=>!v)},color:f})}),e(s,{columnSpan:"span-6",children:e("div",{className:"flex items-center justify-start",children:t})}),e(s,{columnSpan:"span-4",children:e("div",{className:"flex items-center justify-end gap-x-4",children:i})})]})}),e(o,{fluidContent:!0,className:n({"min-h-screen":r}),backgroundColor:m,children:r&&e("div",{className:"size-full py-8",children:e("div",{className:"flex flex-col items-center justify-center gap-y-8",children:a})})})]})};export{G as MobileHeader};
1
+ "use client";import{a as u,b as s}from"./chunk-VZCFPWET.mjs";import{a as o}from"./chunk-RZFK2OR7.mjs";import{c as n}from"./chunk-S7CSCIW4.mjs";import{useState as C}from"react";import{jsx as e,jsxs as l}from"react/jsx-runtime";var B=({isOpen:t,onClick:i,color:a})=>e("button",{onClick:i,"aria-label":"Menu",className:n("w-7 h-7 relative focus:outline-none"),children:l("div",{className:"absolute left-1/2 top-1/2 block w-7 -translate-x-1/2 -translate-y-1/2",children:[e("span",{"aria-hidden":"true",className:n("block absolute h-0.5 w-7 transform transition duration-500 ease-in-out",{"rotate-45":t," -translate-y-2":!t,[`bg-${a}`]:!!a})}),e("span",{"aria-hidden":"true",className:n("block absolute h-0.5 w-7 transform transition duration-500 ease-in-out",{"opacity-0":t,[`bg-${a}`]:!!a})}),e("span",{"aria-hidden":"true",className:n("block absolute h-0.5 w-7 transform transition duration-500 ease-in-out",{"-rotate-45":t," translate-y-2":!t,[`bg-${a}`]:!!a})})]})}),G=({leftSection:t,rightSection:i,children:a,backgroundColor:m,spacing:c,border:d,className:p,color:f})=>{let[r,b]=C(!1);return l("nav",{children:[e(o,{id:"mobile-header",fluidContent:!0,backgroundColor:m,spacing:c,border:d,className:p,children:l(u,{className:"items-center",columnsCount:"12",children:[e(s,{columnSpan:"span-2",children:e(B,{isOpen:r,onClick:()=>{b(v=>!v)},color:f})}),e(s,{columnSpan:"span-6",children:e("div",{className:"flex items-center justify-start",children:t})}),e(s,{columnSpan:"span-4",children:e("div",{className:"flex items-center justify-end gap-x-4",children:i})})]})}),e(o,{fluidContent:!0,className:n({"min-h-screen":r}),backgroundColor:m,children:r&&e("div",{className:"size-full py-8",children:e("div",{className:"flex flex-col items-center justify-center gap-y-8",children:a})})})]})};export{G as MobileHeader};
@@ -1 +1 @@
1
- "use client";import{a as k}from"./chunk-VEUVLMJO.mjs";import{a as P,b as x}from"./chunk-3TBBNSCU.mjs";import{a as N}from"./chunk-EIQPM3DQ.mjs";import"./chunk-QHIWJPL6.mjs";import{a as b,b as u}from"./chunk-QLEOPXHB.mjs";import"./chunk-EI3IJHIE.mjs";import{a as h}from"./chunk-JNIJ5N3Y.mjs";import{a as F,c as a}from"./chunk-S7CSCIW4.mjs";import{useCallback as L,useMemo as Q,useState as W}from"react";import{UniformText as Y}from"@uniformdev/canvas-next-rsc/component";import{UniformSlot as I}from"@uniformdev/canvas-next-rsc/component";import{jsx as r,jsxs as X}from"react/jsx-runtime";var w=({isOpen:t,backgroundColor:e,context:o,slots:n,border:l,component:i,hasRightContent:m})=>r("div",{className:a("absolute z-10 w-max left-1/2 -translate-x-1/2 pt-4",{hidden:!t,block:t,"w-full md:w-[460px]":!m,"w-full md:w-[460px] xl:w-[768px]":m}),children:r("div",{className:a("p-8",{[`bg-${e}`]:!!e,[F(l,"{value}")]:l}),children:X(b,{columnsCount:"2",gapX:"4",children:[r(u,{children:r("div",{className:"flex flex-col gap-y-4",children:r(I,{context:o,data:i,slot:n.navigationFlyoutLeftContent})})}),r(u,{children:r(I,{context:o,data:i,slot:n.navigationFlyoutRightContent})})]})})});import{useEffect as q,useState as J}from"react";import{UniformSlot as B}from"@uniformdev/canvas-next-rsc/component";import{jsx as d,jsxs as H}from"react/jsx-runtime";var K=()=>{let[t,e]=J(0);return q(()=>{let o=document.getElementById("mobile-header");o&&e(o.offsetHeight)},[]),t},M=({isOpen:t,backgroundColor:e,context:o,slots:n,onClose:l,component:i})=>{let m=K();return H("div",{style:{top:m},className:a("fixed left-0 right-0 bottom-0 z-10 w-full pt-4",{[`bg-${e}`]:!!e,hidden:!t,block:t}),children:[d("button",{onClick:l,className:"w-max rotate-180 px-4",children:d(P,{})}),H("div",{className:"flex flex-col items-center justify-center gap-y-8 p-4",children:[d(B,{context:o,data:i,slot:n.navigationFlyoutLeftContent}),d(B,{context:o,data:i,slot:n.navigationFlyoutRightContent})]})]})};var D=({isOpen:t})=>a("transition transform hidden md:block",{"rotate-180":t,"rotate-0":!t}),G=({color:t})=>a("flex items-center gap-x-2",{[`text-${t}`]:!!t});import{jsx as s,jsxs as R}from"react/jsx-runtime";var Pt=({icon:t,backgroundColor:e,border:o,size:n,tag:l,color:i,weight:m,font:O,transform:S,decoration:E,letterSpacing:U,alignment:$,component:p,context:v,slots:f})=>{let[c,g]=W(!1),z=L(()=>g(!0),[]),C=L(()=>g(!1),[]),A=Q(()=>!!p.slots?.navigationFlyoutRightContent?.length,[p.slots]),[T]=h(t),{url:y,title:V=""}=T||{};return R("div",{className:"relative",onMouseLeave:C,children:[R("button",{onMouseEnter:z,className:G({color:i}),children:[s(k,{icon:y&&s(N,{src:y,alt:V,fill:!0}),size:n,tag:l,color:i,weight:m,font:O,transform:S,decoration:E,letterSpacing:U,alignment:$,children:s(Y,{placeholder:"Text goes here",parameterId:"text",component:p,context:v})}),s("div",{className:D({isOpen:c}),children:s(x,{})})]}),s("div",{className:"hidden md:block",children:s(w,{hasRightContent:A,isOpen:c,backgroundColor:e,context:v,slots:f,border:o,component:p})}),s("div",{className:"block md:hidden",children:s(M,{onClose:C,isOpen:c,backgroundColor:e,context:v,slots:f,border:o,component:p})})]})};export{Pt as NavigationFlyout};
1
+ "use client";import{a as k}from"./chunk-VEUVLMJO.mjs";import{a as P,b as x}from"./chunk-3TBBNSCU.mjs";import{a as N}from"./chunk-EIQPM3DQ.mjs";import"./chunk-QHIWJPL6.mjs";import{a as b,b as u}from"./chunk-VZCFPWET.mjs";import"./chunk-RZFK2OR7.mjs";import{a as h}from"./chunk-JNIJ5N3Y.mjs";import{a as F,c as a}from"./chunk-S7CSCIW4.mjs";import{useCallback as L,useMemo as Q,useState as W}from"react";import{UniformText as Y}from"@uniformdev/canvas-next-rsc/component";import{UniformSlot as I}from"@uniformdev/canvas-next-rsc/component";import{jsx as r,jsxs as X}from"react/jsx-runtime";var w=({isOpen:t,backgroundColor:e,context:o,slots:n,border:l,component:i,hasRightContent:m})=>r("div",{className:a("absolute z-10 w-max left-1/2 -translate-x-1/2 pt-4",{hidden:!t,block:t,"w-full md:w-[460px]":!m,"w-full md:w-[460px] xl:w-[768px]":m}),children:r("div",{className:a("p-8",{[`bg-${e}`]:!!e,[F(l,"{value}")]:l}),children:X(b,{columnsCount:"2",gapX:"4",children:[r(u,{children:r("div",{className:"flex flex-col gap-y-4",children:r(I,{context:o,data:i,slot:n.navigationFlyoutLeftContent})})}),r(u,{children:r(I,{context:o,data:i,slot:n.navigationFlyoutRightContent})})]})})});import{useEffect as q,useState as J}from"react";import{UniformSlot as B}from"@uniformdev/canvas-next-rsc/component";import{jsx as d,jsxs as H}from"react/jsx-runtime";var K=()=>{let[t,e]=J(0);return q(()=>{let o=document.getElementById("mobile-header");o&&e(o.offsetHeight)},[]),t},M=({isOpen:t,backgroundColor:e,context:o,slots:n,onClose:l,component:i})=>{let m=K();return H("div",{style:{top:m},className:a("fixed left-0 right-0 bottom-0 z-10 w-full pt-4",{[`bg-${e}`]:!!e,hidden:!t,block:t}),children:[d("button",{onClick:l,className:"w-max rotate-180 px-4",children:d(P,{})}),H("div",{className:"flex flex-col items-center justify-center gap-y-8 p-4",children:[d(B,{context:o,data:i,slot:n.navigationFlyoutLeftContent}),d(B,{context:o,data:i,slot:n.navigationFlyoutRightContent})]})]})};var D=({isOpen:t})=>a("transition transform hidden md:block",{"rotate-180":t,"rotate-0":!t}),G=({color:t})=>a("flex items-center gap-x-2",{[`text-${t}`]:!!t});import{jsx as s,jsxs as R}from"react/jsx-runtime";var Pt=({icon:t,backgroundColor:e,border:o,size:n,tag:l,color:i,weight:m,font:O,transform:S,decoration:E,letterSpacing:U,alignment:$,component:p,context:v,slots:f})=>{let[c,g]=W(!1),z=L(()=>g(!0),[]),C=L(()=>g(!1),[]),A=Q(()=>!!p.slots?.navigationFlyoutRightContent?.length,[p.slots]),[T]=h(t),{url:y,title:V=""}=T||{};return R("div",{className:"relative",onMouseLeave:C,children:[R("button",{onMouseEnter:z,className:G({color:i}),children:[s(k,{icon:y&&s(N,{src:y,alt:V,fill:!0}),size:n,tag:l,color:i,weight:m,font:O,transform:S,decoration:E,letterSpacing:U,alignment:$,children:s(Y,{placeholder:"Text goes here",parameterId:"text",component:p,context:v})}),s("div",{className:D({isOpen:c}),children:s(x,{})})]}),s("div",{className:"hidden md:block",children:s(w,{hasRightContent:A,isOpen:c,backgroundColor:e,context:v,slots:f,border:o,component:p})}),s("div",{className:"block md:hidden",children:s(M,{onClose:C,isOpen:c,backgroundColor:e,context:v,slots:f,border:o,component:p})})]})};export{Pt as NavigationFlyout};
@@ -1 +1 @@
1
- "use client";import"./chunk-PFD46UJF.mjs";import{a as u}from"./chunk-EI3IJHIE.mjs";import"./chunk-HDKBSM4X.mjs";import"./chunk-MSXDLSXH.mjs";import{c as b}from"./chunk-S7CSCIW4.mjs";import{useCallback as y,useEffect as I,useMemo as V,useState as h}from"react";import{flattenValues as k}from"@uniformdev/canvas";import{UniformSlot as E,UniformText as F}from"@uniformdev/canvas-next-rsc/component";var f=({color:r,variant:a})=>b("flex flex-row overflow-x-auto ",{[`border-${r} border-b`]:r&&a==="bordered"}),p=({color:r,variant:a,tabItem:t,activeTabId:e})=>b("text-lg shrink-0 font-medium px-5 py-3",{[`text-${r}`]:r,[`border-${r}`]:t.id===e&&a==="bordered","border-b-2":a==="bordered","opacity-60 hover:opacity-100":t.id!==e,"border-transparent":t.id!==e&&a==="bordered"});import{Fragment as C,jsx as o,jsxs as N}from"react/jsx-runtime";var J=({slots:r,color:a,component:t,context:e,backgroundColor:g,spacing:T,border:c,fluidContent:x,fullHeight:B})=>{let m=t.variant||"default",[i,d]=h(t?.slots?.tabItems?.[0]?._id),n=V(()=>t?.slots?.tabItems?t.slots.tabItems.map(s=>({...k(s),id:s._id})):[],[t?.slots?.tabItems]);I(()=>{n.length&&(i||d(n[0]?.id||""))},[n,i]);let P=y(s=>{e.isContextualEditing&&d(s)},[e.isContextualEditing]);return N(u,{className:"flex flex-col gap-5",backgroundColor:g,spacing:T,border:c,fluidContent:x,fullHeight:B,children:[o("div",{className:f({color:a,variant:m}),children:n.map((s,l)=>o("button",{onClick:()=>d(s.id),className:p({color:a,variant:m,tabItem:s,activeTabId:i}),children:t?.slots?.tabItems?.[l]&&o(F,{onFocus:()=>P(s.id),context:e,parameterId:"text",component:t?.slots?.tabItems[l],placeholder:"Tab title"})},s.id))}),o(E,{data:t,context:e,slot:r.tabItems,children:({child:s,component:l})=>l._id===i?o(C,{children:s}):o(C,{})})]})};export{J as Tabs};
1
+ "use client";import"./chunk-PC5W2GRG.mjs";import{a as u}from"./chunk-RZFK2OR7.mjs";import"./chunk-HDKBSM4X.mjs";import"./chunk-MSXDLSXH.mjs";import{c as b}from"./chunk-S7CSCIW4.mjs";import{useCallback as y,useEffect as I,useMemo as V,useState as h}from"react";import{flattenValues as k}from"@uniformdev/canvas";import{UniformSlot as E,UniformText as F}from"@uniformdev/canvas-next-rsc/component";var f=({color:r,variant:a})=>b("flex flex-row overflow-x-auto ",{[`border-${r} border-b`]:r&&a==="bordered"}),p=({color:r,variant:a,tabItem:t,activeTabId:e})=>b("text-lg shrink-0 font-medium px-5 py-3",{[`text-${r}`]:r,[`border-${r}`]:t.id===e&&a==="bordered","border-b-2":a==="bordered","opacity-60 hover:opacity-100":t.id!==e,"border-transparent":t.id!==e&&a==="bordered"});import{Fragment as C,jsx as o,jsxs as N}from"react/jsx-runtime";var J=({slots:r,color:a,component:t,context:e,backgroundColor:g,spacing:T,border:c,fluidContent:x,fullHeight:B})=>{let m=t.variant||"default",[i,d]=h(t?.slots?.tabItems?.[0]?._id),n=V(()=>t?.slots?.tabItems?t.slots.tabItems.map(s=>({...k(s),id:s._id})):[],[t?.slots?.tabItems]);I(()=>{n.length&&(i||d(n[0]?.id||""))},[n,i]);let P=y(s=>{e.isContextualEditing&&d(s)},[e.isContextualEditing]);return N(u,{className:"flex flex-col gap-5",backgroundColor:g,spacing:T,border:c,fluidContent:x,fullHeight:B,children:[o("div",{className:f({color:a,variant:m}),children:n.map((s,l)=>o("button",{onClick:()=>d(s.id),className:p({color:a,variant:m,tabItem:s,activeTabId:i}),children:t?.slots?.tabItems?.[l]&&o(F,{onFocus:()=>P(s.id),context:e,parameterId:"text",component:t?.slots?.tabItems[l],placeholder:"Tab title"})},s.id))}),o(E,{data:t,context:e,slot:r.tabItems,children:({child:s,component:l})=>l._id===i?o(C,{children:s}):o(C,{})})]})};export{J as Tabs};
@@ -1,4 +1,4 @@
1
- import { Asset } from '@uniformdev/assets';
1
+ import { AssetParamValue } from '@uniformdev/assets';
2
2
 
3
3
  type ResolvedAsset = {
4
4
  id?: string;
@@ -14,9 +14,9 @@ type ResolvedAsset = {
14
14
  /**
15
15
  * Resolves a list of assets, filtering out any entries without a valid URL.
16
16
  *
17
- * @param {Asset[] | undefined} image - The list of assets to resolve.
17
+ * @param {AssetParamValue | undefined} image - The list of assets to resolve.
18
18
  * @returns {ResolvedAsset[]} - An array of resolved assets with valid URLs.
19
19
  */
20
- declare const resolveAsset: (image?: Asset[]) => ResolvedAsset[];
20
+ declare const resolveAsset: (image?: AssetParamValue) => ResolvedAsset[];
21
21
 
22
22
  export { resolveAsset };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/csk-components",
3
- "version": "6.0.39-alpha.1",
3
+ "version": "6.0.41-alpha.1",
4
4
  "description": "Components Starter Kit that provides a set of basic components for building websites within a Uniform project",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -81,10 +81,10 @@
81
81
  "devDependencies": {
82
82
  "@repo/eslint-config": "*",
83
83
  "@repo/typescript-config": "*",
84
- "@uniformdev/assets": "^20.14.1",
85
- "@uniformdev/canvas": "^20.14.1",
86
- "@uniformdev/canvas-next-rsc": "^20.14.1",
87
- "next": "^15.3.1",
84
+ "@uniformdev/assets": "^20.14.2",
85
+ "@uniformdev/canvas": "^20.14.2",
86
+ "@uniformdev/canvas-next-rsc": "^20.14.2",
87
+ "next": "^15.3.2",
88
88
  "react": "^19.1.0",
89
89
  "react-dom": "^19.1.0",
90
90
  "tailwindcss": "^3.4.17",
@@ -1 +0,0 @@
1
- import{a as e,b as f,c as a}from"./chunk-S7CSCIW4.mjs";import{jsx as v}from"react/jsx-runtime";var V=({className:d,wrapperClassName:c,style:x,children:C,backgroundColor:t,spacing:P,border:r="",fluidContent:o=!1,fullHeight:T=!1,...b})=>{let[w,{marginTop:i,marginBottom:p,marginRight:n,marginLeft:l,paddingTop:m,paddingBottom:s,paddingRight:g,paddingLeft:u}]=f(P);return v("div",{className:a("px-4 xl:px-0",{"mx-auto w-full max-w-7xl":!o,"!px-0":o},c),children:v("div",{className:a({"!h-screen":T,[`bg-${t}`]:!!t,[e(i,"mt-{value}")]:i,[e(p,"mb-{value}")]:p,[e(n,"mr-{value}")]:n,[e(l,"ml-{value}")]:l,[e(m,"pt-{value}")]:m,[e(s,"pb-{value}")]:s,[e(g,"pr-{value}")]:g,[e(u,"pl-{value}")]:u,[e(r,"{value}")]:r},d),style:{...w,...x},...b,children:C})})};export{V as a};
@@ -1 +0,0 @@
1
- import t from"next/dynamic";var r=t(()=>import("./carousel-ZJ3ZOXUF.mjs").then(e=>e.Carousel));export{r as a};