@uniformdev/csk-components 6.0.21-alpha.4 → 6.0.28-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 (65) hide show
  1. package/dist/ThemeSwitcher-EUDUX3QI.mjs +1 -0
  2. package/dist/accordion-item-ZOZZ7NXW.mjs +1 -0
  3. package/dist/banner-IEIW6KBW.mjs +1 -0
  4. package/dist/carousel-XYMSTRWI.mjs +1 -0
  5. package/dist/carousel-ZJ3ZOXUF.mjs +1 -0
  6. package/dist/{chunk-KBVRGBYA.mjs → chunk-2DY4O2JO.mjs} +1 -1
  7. package/dist/{chunk-CMC7VUXZ.mjs → chunk-BQAAJHM4.mjs} +1 -1
  8. package/dist/{chunk-FZGQ6H67.mjs → chunk-HDWSBDVE.mjs} +1 -1
  9. package/dist/chunk-IUFXERZ7.mjs +1 -0
  10. package/dist/{chunk-DHDW7WOM.mjs → chunk-K5MNNF5E.mjs} +1 -1
  11. package/dist/{chunk-GAKP4BZM.mjs → chunk-PFD46UJF.mjs} +1 -1
  12. package/dist/{chunk-CHB6WYZU.mjs → chunk-QQVRA2Z7.mjs} +1 -1
  13. package/dist/{chunk-CN42QYIK.mjs → chunk-UDP47PNB.mjs} +1 -1
  14. package/dist/{chunk-NE7J3F6D.mjs → chunk-ZWDCDE5W.mjs} +1 -1
  15. package/dist/components/canvas/emptyPlaceholders.mjs +1 -1
  16. package/dist/components/canvas/index.mjs +1 -1
  17. package/dist/components/ui/index.mjs +1 -1
  18. package/dist/countdown-7D7WECEZ.mjs +1 -0
  19. package/dist/hocs/withPlaygroundWrapper.mjs +1 -1
  20. package/dist/image-gallery-DBTZBKG5.mjs +1 -0
  21. package/dist/index.mjs +9 -138
  22. package/dist/mobile-UY6GVZNF.mjs +1 -0
  23. package/dist/modal-335SDLM4.mjs +1 -0
  24. package/dist/navigation-flyout-2NRYXQ2N.mjs +1 -0
  25. package/dist/navigation-group-3YBAK65R.mjs +1 -0
  26. package/dist/tabs-VSNSBQQ6.mjs +1 -0
  27. package/dist/theme-switcher-JE6MRNXM.mjs +1 -0
  28. package/dist/theme-switcher-QTX46Z7E.mjs +1 -0
  29. package/dist/utils/assets.mjs +1 -1
  30. package/dist/utils/createComponentResolver.mjs +1 -1
  31. package/dist/utils/createEmptyPlaceholderResolver.mjs +1 -1
  32. package/dist/utils/routing.mjs +1 -1
  33. package/dist/utils/styling.mjs +1 -1
  34. package/dist/video-KDSPOKOF.mjs +1 -0
  35. package/package.json +9 -4
  36. package/dist/ThemeSwitcher-HVPNHLLN.mjs +0 -1
  37. package/dist/accordion-item-53WFH45O.mjs +0 -1
  38. package/dist/acorn-YIN7FKVX.mjs +0 -15
  39. package/dist/angular-YBODSURR.mjs +0 -2
  40. package/dist/babel-X5YPA3VV.mjs +0 -15
  41. package/dist/banner-HVOASB6N.mjs +0 -1
  42. package/dist/carousel-6LQUUPAT.mjs +0 -1
  43. package/dist/carousel-XKGLXZ3Y.mjs +0 -1
  44. package/dist/chunk-5GYXKLT3.mjs +0 -1
  45. package/dist/chunk-JZXLCA2E.mjs +0 -1
  46. package/dist/countdown-B2A5OGGX.mjs +0 -1
  47. package/dist/estree-34EJNANR.mjs +0 -36
  48. package/dist/flow-FZXY7EGH.mjs +0 -19
  49. package/dist/glimmer-MXWERDXP.mjs +0 -30
  50. package/dist/graphql-HJMERX66.mjs +0 -29
  51. package/dist/html-7YFNJLBH.mjs +0 -23
  52. package/dist/image-gallery-YRX6VALM.mjs +0 -1
  53. package/dist/markdown-IPSXE7X2.mjs +0 -63
  54. package/dist/meriyah-7WEPU7AQ.mjs +0 -4
  55. package/dist/mobile-FNXQQQSE.mjs +0 -1
  56. package/dist/modal-QX7HYIFN.mjs +0 -1
  57. package/dist/navigation-flyout-ZQAL2L2U.mjs +0 -1
  58. package/dist/navigation-group-N6JTWUOD.mjs +0 -1
  59. package/dist/postcss-LYWSIGWB.mjs +0 -54
  60. package/dist/tabs-43FN2CHG.mjs +0 -1
  61. package/dist/theme-switcher-COKOQWD5.mjs +0 -1
  62. package/dist/theme-switcher-HIDE5PO6.mjs +0 -1
  63. package/dist/typescript-LJ4IHAUQ.mjs +0 -20
  64. package/dist/video-7X3EPEIA.mjs +0 -1
  65. package/dist/yaml-NSJQCI74.mjs +0 -161
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-ZWDCDE5W.mjs";export{a as default};
@@ -0,0 +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};
@@ -0,0 +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};
@@ -0,0 +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};
@@ -0,0 +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 +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-7X3EPEIA.mjs").then(r=>r.Video));export{u as a,v as b,B as c};
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 +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-HVOASB6N.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-IEIW6KBW.mjs").then(e=>e.Banner));export{l as a,t as b,h as c,a as d};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-MSXDLSXH.mjs";import m from"next/dynamic";import{jsx as a}from"react/jsx-runtime";var l=o=>{switch(o.slotName){case"trigger":return{component:()=>a("div",{className:"h-20 w-full"})};default:return r}};var c={small:"max-w-xl",medium:"max-w-2xl",large:"max-w-4xl"},t=(e=>(e.Trigger="trigger",e.ModalContent="modalContent",e.ModalActions="modalActions",e))(t||{}),x=m(()=>import("./modal-QX7HYIFN.mjs").then(o=>o.Modal));export{c as a,t as b,x as c,l as d};
1
+ import{a as r}from"./chunk-MSXDLSXH.mjs";import m from"next/dynamic";import{jsx as a}from"react/jsx-runtime";var l=o=>{switch(o.slotName){case"trigger":return{component:()=>a("div",{className:"h-20 w-full"})};default:return r}};var c={small:"max-w-xl",medium:"max-w-2xl",large:"max-w-4xl"},t=(e=>(e.Trigger="trigger",e.ModalContent="modalContent",e.ModalActions="modalActions",e))(t||{}),x=m(()=>import("./modal-335SDLM4.mjs").then(o=>o.Modal));export{c as a,t as b,x as c,l as d};
@@ -0,0 +1 @@
1
+ import t from"next/dynamic";var r=t(()=>import("./carousel-ZJ3ZOXUF.mjs").then(e=>e.Carousel));export{r as a};
@@ -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-FNXQQQSE.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-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 +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-43FN2CHG.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-VSNSBQQ6.mjs").then(e=>r(e.Tabs)));export{n as a,m as b,u 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-DHDW7WOM.mjs";import{a as ve}from"./chunk-QHIWJPL6.mjs";import{a as q}from"./chunk-EIQPM3DQ.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-6LQUUPAT.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",eyebrowTitleColor:"text-tertiary",eyebrowTitleSize:{mobile:"xs",tablet:"lg",desktop:"xl"},eyebrowTitleWeight:"bold",eyebrowTitleTransform:"uppercase",titleColor:"text-primary",titleSize:{mobile:"3xl",tablet:"5xl",desktop:"7xl"},titleWeight:"bold",descriptionTag:"p",descriptionColor:"text-primary",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:!0,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-YRX6VALM.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-ZQAL2L2U.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-N6JTWUOD.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-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",eyebrowTitleColor:"text-tertiary",eyebrowTitleSize:{mobile:"xs",tablet:"lg",desktop:"xl"},eyebrowTitleWeight:"bold",eyebrowTitleTransform:"uppercase",titleColor:"text-primary",titleSize:{mobile:"3xl",tablet:"5xl",desktop:"7xl"},titleWeight:"bold",descriptionTag:"p",descriptionColor:"text-primary",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:!0,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 +1 @@
1
- import{a as e}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";var n=o=>{switch(o.slotName){case"countdownComplete":return{component:()=>null};default:return e}};var r=(t=>(t.CountdownComplete="countdownComplete",t))(r||{}),m=(t=>(t.LabelsUnder="labelsUnder",t))(m||{}),d=p(()=>import("./countdown-B2A5OGGX.mjs").then(o=>o.Countdown));export{r as a,m as b,d as c,n as d};
1
+ import{a as e}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";var n=o=>{switch(o.slotName){case"countdownComplete":return{component:()=>null};default:return e}};var r=(t=>(t.CountdownComplete="countdownComplete",t))(r||{}),m=(t=>(t.LabelsUnder="labelsUnder",t))(m||{}),d=p(()=>import("./countdown-7D7WECEZ.mjs").then(o=>o.Countdown));export{r as a,m as b,d as c,n as d};
@@ -1 +1 @@
1
- import t from"next/dynamic";var r=t(()=>import("./theme-switcher-HIDE5PO6.mjs").then(e=>e.ThemeSwitcher));export{r as a};
1
+ import t from"next/dynamic";var r=t(()=>import("./theme-switcher-QTX46Z7E.mjs").then(e=>e.ThemeSwitcher));export{r as a};
@@ -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-CHB6WYZU.mjs";import{d as s}from"../../chunk-GAKP4BZM.mjs";import{d as r}from"../../chunk-CMC7VUXZ.mjs";import{d as t}from"../../chunk-CN42QYIK.mjs";import{d}from"../../chunk-FZGQ6H67.mjs";import"../../chunk-DHDW7WOM.mjs";import"../../chunk-3TBBNSCU.mjs";import"../../chunk-QHIWJPL6.mjs";import"../../chunk-QLEOPXHB.mjs";import"../../chunk-EIQPM3DQ.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";import"../../chunk-JZXLCA2E.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-QQVRA2Z7.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 +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-CHB6WYZU.mjs";import{a as or,b as rr,c as ne}from"../../chunk-GAKP4BZM.mjs";import{a as Vo,b as No,c as X}from"../../chunk-CMC7VUXZ.mjs";import{a as Wo,b as Uo,c as K}from"../../chunk-CN42QYIK.mjs";import{b as Xo,c as ee}from"../../chunk-FZGQ6H67.mjs";import{a as Ne,b as Re,c as De}from"../../chunk-KBVRGBYA.mjs";import{a as F}from"../../chunk-VEUVLMJO.mjs";import{a as v,b as I,d as B}from"../../chunk-DHDW7WOM.mjs";import"../../chunk-3TBBNSCU.mjs";import{a as y}from"../../chunk-QHIWJPL6.mjs";import{a as Le,b as Ve}from"../../chunk-QLEOPXHB.mjs";import{a as g}from"../../chunk-EIQPM3DQ.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"../../chunk-JZXLCA2E.mjs";import pr from"next/dynamic";var He=(e=>(e.AccordionItemContent="accordionItemContent",e))(He||{}),se=pr(()=>import("../../accordion-item-53WFH45O.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-COKOQWD5.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 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-QQVRA2Z7.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 +1 @@
1
- import{a as F}from"../../chunk-NE7J3F6D.mjs";import{a as o}from"../../chunk-5GYXKLT3.mjs";import{a as g,b as h,c as C}from"../../chunk-KBVRGBYA.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-DHDW7WOM.mjs";import{a as f,b as s,c as d,d as l}from"../../chunk-3TBBNSCU.mjs";import{a as m}from"../../chunk-QHIWJPL6.mjs";import{a as P,b as n}from"../../chunk-QLEOPXHB.mjs";import{a as p}from"../../chunk-EIQPM3DQ.mjs";import{a as e}from"../../chunk-EI3IJHIE.mjs";import"../../chunk-2OD4OVSF.mjs";import"../../chunk-S7CSCIW4.mjs";import"../../chunk-JZXLCA2E.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-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};
@@ -0,0 +1 @@
1
+ "use client";import"./chunk-UDP47PNB.mjs";import"./chunk-MSXDLSXH.mjs";import{a as l,c as a}from"./chunk-S7CSCIW4.mjs";import{useState as T,useEffect as y,useMemo as H}from"react";import{UniformSlot as h}from"@uniformdev/canvas-next-rsc/component";var S=({variant:e,backgroundColor:r,border:o,size:t})=>a("flex w-fit p-4 text-center gap-2 items-end leading-none",{"flex-col":e==="labelsUnder",[`bg-${r}`]:!!r,[l(o,"{value}")]:o,"items-center":o,[l(t,"text-{value}")]:!!t,[l(o,"{value}")]:!!o}),_=({textColor:e})=>a("flex gap-5 flex-wrap flex-col sm:flex-row",{[`text-${e}`]:e});import{jsx as u}from"react/jsx-runtime";var c=e=>{let r=new Date(e?.datetime??0).getTime(),o=new Date().getTime(),t=Math.max(Math.floor((r-o)/1e3),0),m=Math.floor(t%60),n=Math.floor(t/60%60),d=Math.floor(t/3600%24);return{days:Math.floor(t/86400),hours:d,minutes:n,seconds:m,timeDifference:t}},p=({maxUnitsCount:e,currentTime:r,unit:o,isAlignEnd:t})=>u("div",{className:"relative mx-auto h-[1.25em] w-[1.75em] overflow-hidden",children:u("div",{className:"absolute transition-transform duration-500 ease-in-out",style:{transform:`translateY(-${r*1.25}em)`},children:Array.from({length:e+1},(m,n)=>u("div",{className:a("flex h-[1.25em] w-[1.75em] justify-center",{"items-end":t,"items-center":!t}),children:n<10?`0${n}`:n},`${o}-${n}`))})});import{jsx as i,jsxs as R}from"react/jsx-runtime";var g=["days","hours","minutes","seconds"],Z=({targetDate:e,backgroundColor:r,textColor:o,border:t,size:m,component:n,context:d,slots:N})=>{let[{timeDifference:f,...C},I]=T(c(e)),v=H(()=>{let{days:s}=c(e);return{seconds:59,minutes:59,hours:23,days:s}},[e]);return y(()=>{if(f>0){let s=setInterval(()=>{I(c(e))},1e3);return()=>clearInterval(s)}},[e,f]),i("div",{children:f?i("div",{className:_({textColor:o}),children:g.map(s=>{if(C[s]===0&&s==="days")return null;let U=C[s];return R("div",{className:S({variant:n.variant,backgroundColor:r,border:t,size:m}),children:[i("div",{className:"mx-auto",children:p({maxUnitsCount:v[s],currentTime:U,unit:s,isAlignEnd:!t})}),i("div",{className:"mx-auto",style:{fontSize:"0.5em"},children:s})]},s)})}):i(h,{data:n,context:d,slot:N.countdownComplete})})};export{Z as Countdown};
@@ -1 +1 @@
1
- import{a}from"../chunk-HDKBSM4X.mjs";import"../chunk-JZXLCA2E.mjs";export{a as withPlaygroundWrapper};
1
+ import{a}from"../chunk-HDKBSM4X.mjs";export{a as withPlaygroundWrapper};
@@ -0,0 +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};