@stackshift-ui/features 6.0.13 → 7.0.0-beta.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 (42) hide show
  1. package/dist/chunk-2ZMZT34T.mjs +1 -0
  2. package/dist/chunk-4EWXUBOB.mjs +1 -0
  3. package/dist/chunk-MJRSGLBB.mjs +1 -0
  4. package/dist/chunk-QAMGECN2.mjs +1 -0
  5. package/dist/chunk-URBAFHHX.mjs +1 -0
  6. package/dist/chunk-VEID3YEG.mjs +1 -0
  7. package/dist/chunk-WMAYXQDK.mjs +1 -0
  8. package/dist/features.js +1 -1
  9. package/dist/features.mjs +1 -1
  10. package/dist/features_a.js +1 -1
  11. package/dist/features_a.mjs +1 -1
  12. package/dist/features_b.js +1 -1
  13. package/dist/features_b.mjs +1 -1
  14. package/dist/features_c.js +1 -1
  15. package/dist/features_c.mjs +1 -1
  16. package/dist/features_d.js +1 -1
  17. package/dist/features_d.mjs +1 -1
  18. package/dist/features_e.js +1 -1
  19. package/dist/features_e.mjs +1 -1
  20. package/dist/features_f.js +1 -1
  21. package/dist/features_f.mjs +1 -1
  22. package/dist/features_g.js +1 -1
  23. package/dist/features_g.mjs +1 -1
  24. package/dist/index.js +1 -1
  25. package/dist/index.mjs +1 -1
  26. package/package.json +15 -14
  27. package/src/features.test.tsx +2 -2
  28. package/src/features_a.tsx +2 -3
  29. package/src/features_b.tsx +3 -3
  30. package/src/features_c.tsx +6 -7
  31. package/src/features_d.tsx +7 -8
  32. package/src/features_e.tsx +9 -11
  33. package/src/features_f.tsx +12 -2
  34. package/src/features_g.tsx +1 -1
  35. package/dist/chunk-24O5VU3C.mjs +0 -1
  36. package/dist/chunk-3S2KSCPX.mjs +0 -1
  37. package/dist/chunk-5AMMO42A.mjs +0 -1
  38. package/dist/chunk-6BDXLZOT.mjs +0 -1
  39. package/dist/chunk-7B6FI3PR.mjs +0 -1
  40. package/dist/chunk-M4ZCOWFN.mjs +0 -1
  41. package/dist/chunk-XY27OBDB.mjs +0 -1
  42. /package/dist/{chunk-NMRXZVBL.mjs → chunk-NGEHDE36.mjs} +0 -0
@@ -0,0 +1 @@
1
+ import{Button as p}from"@stackshift-ui/button";import{Card as w,CardTitle as v}from"@stackshift-ui/card";import{Container as e}from"@stackshift-ui/container";import{Flex as N}from"@stackshift-ui/flex";import{Heading as b}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as F}from"@stackshift-ui/section";import{Text as h}from"@stackshift-ui/text";import s from"react";import{jsx as l,jsxs as a}from"react/jsx-runtime";function C({featuredItems:o}){let[i,n]=s.useState(0);return l(F,{className:"py-20 overflow-x-auto bg-background",children:l(e,{maxWidth:1280,children:l(N,{className:"relative",children:l(z,{featuredItems:o,slider:t=>{o&&(t==="next"?i!==o.length-1?n(r=>r+1):n(0):i>=1?n(r=>r-1):n(o.length-1))},children:a("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[l(k,{featuredItems:o,item:i}),l(S,{featuredItems:o,item:i})]})})})})})}function k({featuredItems:o,item:i}){var n,x,t,r,m,c,g;return(x=(n=o==null?void 0:o[i])==null?void 0:n.mainImage)!=null&&x.image?l("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:l(d,{className:"relative object-cover rounded-md",src:`${(r=(t=o==null?void 0:o[i])==null?void 0:t.mainImage)==null?void 0:r.image}`,sizes:"100vw",width:896,height:575,alt:(g=(c=(m=o==null?void 0:o[i])==null?void 0:m.mainImage)==null?void 0:c.alt)!=null?g:`features-image-${i}`})}):null}function S({featuredItems:o,item:i}){var n,x,t,r,m,c;return o?a(w,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24 rounded-md",children:[l(h,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[i])==null?void 0:n.subtitle)&&((x=o==null?void 0:o[i])==null?void 0:x.subtitle)}),l(v,{children:l(b,{fontSize:"3xl",children:((t=o==null?void 0:o[i])==null?void 0:t.title)&&((r=o==null?void 0:o[i])==null?void 0:r.title)})}),l(h,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[i])==null?void 0:m.description)&&((c=o==null?void 0:o[i])==null?void 0:c.description)})]}):null}function z({featuredItems:o,children:i,slider:n}){return o?a(s.Fragment,{children:[l("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{"aria-label":"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),i,l("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}export{C as a};
@@ -0,0 +1 @@
1
+ import{Container as g}from"@stackshift-ui/container";import{Flex as a}from"@stackshift-ui/flex";import{Heading as e}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as d}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import{jsx as i,jsxs as s}from"react/jsx-runtime";function p({caption:n,title:t,description:m,features:l}){return i(d,{className:"py-20 bg-background",children:s(g,{maxWidth:1280,children:[i(g,{maxWidth:640,className:"mb-16 text-center",children:i(x,{caption:n,title:t,description:m})}),i(I,{features:l})]})})}function x({caption:n,title:t,description:m}){return s(a,{direction:"col",gap:3,align:"center",children:[n?i(o,{weight:"bold",className:"text-secondary",children:n}):null,t?i(e,{fontSize:"3xl",children:t}):null,m?i(o,{muted:!0,children:m}):null]})}function I({features:n}){return n?i("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:n==null?void 0:n.map(t=>i(T,{feature:t},t._key))}):null}function T({feature:n}){var t;return s("div",{className:"text-center sm:text-start p-3",children:[(t=n==null?void 0:n.mainImage)!=null&&t.image?i(b,{feature:n}):null,n!=null&&n.title?i(o,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?i(o,{muted:!0,children:n==null?void 0:n.plainText}):null]})}function b({feature:n}){var t,m,l,r;return(t=n==null?void 0:n.mainImage)!=null&&t.image?i("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:i(c,{className:"object-scale-down",src:`${(m=n==null?void 0:n.mainImage)==null?void 0:m.image}`,width:40,height:40,alt:(r=(l=n==null?void 0:n.mainImage)==null?void 0:l.alt)!=null?r:"features-image-"})}):null}export{p as a};
@@ -0,0 +1 @@
1
+ import{Container as s}from"@stackshift-ui/container";import{Flex as u}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as d}from"@stackshift-ui/text";import{jsx as l,jsxs as a}from"react/jsx-runtime";function h({caption:e,title:t,description:r,images:i,tags:n}){return l(w,{className:"py-20 bg-background",children:l(s,{maxWidth:1280,children:a(u,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(s,{maxWidth:448,children:[l(b,{caption:e,title:t,description:r}),l(N,{tags:n})]})}),l(y,{images:i})]})})})}function b({caption:e,title:t,description:r}){return a("div",{className:"flex flex-col gap-3",children:[e&&l(d,{weight:"bold",className:"text-secondary",children:e}),t&&l(v,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(d,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function N({tags:e}){return e?l("ul",{className:"font-bold text-gray-500",children:e.map(t=>l(F,{item:t}))}):null}function F({item:e}){return e?a(u,{as:"li",align:"center",className:"mb-2 ",children:[l("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:l("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),l("span",{children:e})]}):null}function y({images:e}){var r,i,n,o;if(!e||(e==null?void 0:e.length)===0)return null;function t(f,m,c,g,p){return l("div",{className:`overflow-hidden rounded-md ${p}`,children:l(x,{className:"object-cover w-full h-full",src:f,sizes:"100vw",width:c,height:g,alt:m!=null?m:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=e[2])==null?void 0:n.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((o=e[3])==null?void 0:o.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{h as a};
@@ -0,0 +1 @@
1
+ import{Button as h}from"@stackshift-ui/button";import{Container as o}from"@stackshift-ui/container";import{Flex as c}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as w}from"@stackshift-ui/image";import{Link as N}from"@stackshift-ui/link";import{Section as u}from"@stackshift-ui/section";import{buildSanityLink as k}from"@stackshift-ui/system";import{Text as g}from"@stackshift-ui/text";import{jsx as l,jsxs as s}from"react/jsx-runtime";function L({caption:e,title:i,description:n,images:a,primaryButton:d}){return l(u,{className:"py-20 bg-background",children:l(o,{maxWidth:1280,children:s(c,{wrap:!0,align:"center",children:[s(c,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[l(F,{caption:e,title:i,description:n}),l(C,{primaryButton:d})]}),l(I,{images:a})]})})})}function F({caption:e,title:i,description:n}){return s(o,{maxWidth:448,className:"ml-0",children:[e&&l(g,{weight:"bold",className:"font-bold text-secondary",children:e}),i&&l(v,{fontSize:"3xl",className:"mb-6",children:i}),n&&l(g,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function C({primaryButton:e}){var n,a,d;if(!(e!=null&&e.label))return null;let i=k({type:(n=e==null?void 0:e.type)!=null?n:"",internalLink:(a=e==null?void 0:e.internalLink)!=null?a:"",externalLink:(d=e==null?void 0:e.externalLink)!=null?d:""});return l(o,{maxWidth:448,className:"ml-0",children:l(h,{"aria-label":e==null?void 0:e.label,asChild:!0,children:l(N,{href:i.href,target:i.target,rel:i.rel,children:e==null?void 0:e.label})})})}function I({images:e}){var n,a,d,t;if(!e||(e==null?void 0:e.length)===0)return null;function i(m,f,r,x,b){return l("div",{className:`overflow-hidden rounded-md ${b}`,children:l(w,{className:"object-cover w-full h-full",src:m,sizes:"100vw",width:r,height:x,alt:f!=null?f:"feature-image"})})}return s("div",{className:"w-full lg:w-1/2",children:[s("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((n=e[0])==null?void 0:n.image)&&i(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((a=e[1])==null?void 0:a.image)&&i(e[1].image,e[1].alt,166,128,"")})]}),s("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((d=e[2])==null?void 0:d.image)&&i(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((t=e[3])==null?void 0:t.image)&&i(e[3].image,e[3].alt,356,192,"")})]})]})}export{L as a};
@@ -0,0 +1 @@
1
+ import{Card as d,CardTitle as c}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as p}from"@stackshift-ui/image";import{Section as x}from"@stackshift-ui/section";import{Text as l}from"@stackshift-ui/text";import{jsx as i,jsxs as o}from"react/jsx-runtime";function T({caption:t,title:n,description:e,features:m}){return i(x,{className:"py-20 bg-background",children:o(r,{maxWidth:1280,children:[i(r,{maxWidth:640,className:"mb-8 text-center",children:i(b,{caption:t,title:n,description:e})}),i(y,{features:m})]})})}function b({caption:t,title:n,description:e}){return o(s,{direction:"col",gap:3,align:"center",children:[t?i(l,{weight:"bold",className:"text-secondary",children:t}):null,n?i(g,{fontSize:"3xl",children:n}):null,e?i(l,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function y({features:t}){return t?i(s,{wrap:!0,justify:"center",align:"stretch",children:t.map(n=>i(h,{feature:n},n._key))}):null}function h({feature:t}){var n,e,m,a;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:o(d,{className:"h-full px-6 py-12 text-center bg-white rounded-md",children:[i("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&i(p,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(a=(m=t==null?void 0:t.mainImage)==null?void 0:m.alt)!=null?a:"features-image-"})}),i(c,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:t==null?void 0:t.title}),i(l,{muted:!0,children:t==null?void 0:t.plainText})]})})}export{T as a};
@@ -0,0 +1 @@
1
+ import{Card as s,CardTitle as d}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as c}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as p}from"@stackshift-ui/image";import{Section as x}from"@stackshift-ui/section";import{Text as a}from"@stackshift-ui/text";import{jsx as i,jsxs as n}from"react/jsx-runtime";function b({caption:l,title:t,description:e,features:m}){return i(x,{className:"py-20 bg-background",children:n(r,{maxWidth:1800,children:[i(r,{maxWidth:640,className:"mb-16 text-center",children:i(T,{caption:l,title:t,description:e})}),i(N,{features:m})]})})}function T({caption:l,title:t,description:e}){return n(c,{direction:"col",gap:3,align:"center",children:[l?i(a,{weight:"bold",className:"text-secondary",children:l}):null,t?i(g,{fontSize:"3xl",children:t}):null,e?i(a,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function N({features:l}){return l?i("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(t=>i(C,{feature:t},t._key))}):null}function C({feature:l}){var t,e,m,o;return i("div",{className:"w-full p-3",children:n(s,{className:"flex flex-wrap h-full p-6 bg-white rounded-md",children:[i("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&i(p,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(o=(m=l==null?void 0:l.mainImage)==null?void 0:m.alt)!=null?o:"features-main-image"})}),n("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[i(d,{className:"text-xl md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),i(a,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}export{b as a};
@@ -0,0 +1 @@
1
+ import{Card as c}from"@stackshift-ui/card";import{Container as d}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as b}from"@stackshift-ui/section";import{Text as t}from"@stackshift-ui/text";import{jsx as i,jsxs as a}from"react/jsx-runtime";function w({caption:m,title:l,description:o,features:n,tags:e}){return i(b,{className:"py-20 bg-background",children:i(d,{maxWidth:1280,children:a(s,{wrap:!0,align:"center",children:[i("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(d,{maxWidth:448,children:[i(h,{caption:m,title:l,description:o}),i(N,{tags:e})]})}),i(T,{features:n})]})})})}function h({caption:m,title:l,description:o}){return a(s,{direction:"col",gap:3,children:[m&&i(t,{weight:"bold",className:"text-secondary",children:m}),l&&i(p,{fontSize:"3xl",children:l}),o&&i(t,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function N({tags:m}){return m?i("ul",{children:m&&m.map(l=>a("li",{className:"flex mb-4",children:[i("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:i("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),i(t,{muted:!0,weight:"bold",children:l})]},l))}):null}function T({features:m}){return m?i(s,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,o)=>{var n,e,r,g;return i("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:a(c,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((n=l==null?void 0:l.mainImage)==null?void 0:n.image)&&i("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:i(x,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(g=(r=l==null?void 0:l.mainImage)==null?void 0:r.alt)!=null?g:`features-image-${o}`})}),i(t,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),i(t,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},o)}))}):null}export{w as a};
package/dist/features.js CHANGED
@@ -1 +1 @@
1
- "use strict";var el=Object.create;var S=Object.defineProperty;var ol=Object.getOwnPropertyDescriptor;var rl=Object.getOwnPropertyNames;var ml=Object.getPrototypeOf,al=Object.prototype.hasOwnProperty;var f=(t,l)=>()=>(t&&(l=t(t=0)),l);var h=(t,l)=>{for(var i in l)S(t,i,{get:l[i],enumerable:!0})},tt=(t,l,i,n)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of rl(l))!al.call(t,e)&&e!==i&&S(t,e,{get:()=>l[e],enumerable:!(n=ol(l,e))||n.enumerable});return t};var sl=(t,l,i)=>(i=t!=null?el(ml(t)):{},tt(l||!t||!t.__esModule?S(i,"default",{value:t,enumerable:!0}):i,t)),cl=t=>tt(S({},"__esModule",{value:!0}),t);var ot={};h(ot,{Features_A:()=>et,default:()=>et});function et({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(dl,{caption:t,title:l,description:i})}),(0,g.jsx)(pl,{features:n})]})})}function dl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(C.Text,{muted:!0,children:i}):null]})}function pl({features:t}){return t?(0,g.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t==null?void 0:t.map(l=>(0,g.jsx)(gl,{feature:l},l._key))}):null}function gl({feature:t}){var l;return(0,g.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,g.jsx)(xl,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(C.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,g.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function xl({feature:t}){var l,i,n,e;return(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,g.jsx)(it.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}):null}var P,lt,it,nt,C,g,rt=f(()=>{"use strict";P=require("@stackshift-ui/container"),lt=require("@stackshift-ui/heading"),it=require("@stackshift-ui/image"),nt=require("@stackshift-ui/section"),C=require("@stackshift-ui/text"),g=require("react/jsx-runtime")});var pt={};h(pt,{Features_B:()=>dt,default:()=>dt});function dt({caption:t,title:l,description:i,features:n,tags:e}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(L.Container,{maxWidth:1280,children:(0,g.jsxs)(_.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(L.Container,{maxWidth:448,children:[(0,g.jsx)(vl,{caption:t,title:l,description:i}),(0,g.jsx)(ul,{tags:e})]})}),(0,g.jsx)(wl,{features:n})]})})})}function vl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:l}),i&&(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function ul({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(l=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)(C.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function wl({features:t}){return t?(0,g.jsx)(_.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((l,i)=>{var n,e,a,v;return(0,g.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(mt.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((n=l==null?void 0:l.mainImage)==null?void 0:n.image)&&(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,g.jsx)(it.Image,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(v=(a=l==null?void 0:l.mainImage)==null?void 0:a.alt)!=null?v:`features-image-${i}`})}),(0,g.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,g.jsx)(C.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},i)}))}):null}var mt,L,_,lt,it,nt,C,g,gt=f(()=>{"use strict";mt=require("@stackshift-ui/card"),L=require("@stackshift-ui/container"),_=require("@stackshift-ui/flex")});var ht={};h(ht,{Features_C:()=>bt,default:()=>bt});function bt({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(L.Container,{maxWidth:1800,children:[(0,g.jsx)(L.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(bl,{caption:t,title:l,description:i})}),(0,g.jsx)(hl,{features:n})]})})}function bl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function hl({features:t}){return t?(0,g.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:t.map(l=>(0,g.jsx)(Nl,{feature:l},l._key))}):null}function Nl({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(xt.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,g.jsx)(it.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-main-image"})}),(0,g.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,g.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl break-all",children:t==null?void 0:t.title}),(0,g.jsx)(C.Text,{muted:!0,className:"break-all",children:t==null?void 0:t.plainText})]})]})})}var xt,L,lt,it,nt,C,g,Nt=f(()=>{"use strict";xt=require("@stackshift-ui/card")});var At={};h(At,{Features_D:()=>kt,default:()=>kt});function kt({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(L.Container,{maxWidth:1280,children:[(0,g.jsx)(L.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(fl,{caption:t,title:l,description:i})}),(0,g.jsx)(Tl,{features:n})]})})}function fl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Tl({features:t}){return t?(0,g.jsx)(_.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(l=>(0,g.jsx)(Fl,{feature:l},l._key))}):null}function Fl({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,g.jsxs)(ft.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,g.jsx)(it.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}),(0,g.jsx)(C.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var ft,L,_,lt,it,nt,C,g,St=f(()=>{"use strict";ft=require("@stackshift-ui/card")});var Ht={};h(Ht,{Features_E:()=>Wt,default:()=>Wt});function Wt({featuredItems:t}){let[l,i]=V.default.useState(0);return(0,g.jsx)(nt.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(L.Container,{maxWidth:1280,children:(0,g.jsx)(_.Flex,{className:"relative",children:(0,g.jsx)(kl,{featuredItems:t,slider:e=>{t&&(e==="next"?l!==t.length-1?i(a=>a+1):i(0):l>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,g.jsx)(yl,{featuredItems:t,item:l}),(0,g.jsx)(Cl,{featuredItems:t,item:l})]})})})})})}function yl({featuredItems:t,item:l}){var i,n,e,a,v,p,u;return(n=(i=t==null?void 0:t[l])==null?void 0:i.mainImage)!=null&&n.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,g.jsx)(it.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[l])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(p=(v=t==null?void 0:t[l])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?u:`features-image-${l}`})}):null}function Cl({featuredItems:t,item:l}){var i,n,e,a,v,p;return t?(0,g.jsxs)(It.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,g.jsx)($.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[l])==null?void 0:i.subtitle)&&((n=t==null?void 0:t[l])==null?void 0:n.subtitle)}),(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[l])==null?void 0:e.title)&&((a=t==null?void 0:t[l])==null?void 0:a.title)}),(0,g.jsx)($.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((v=t==null?void 0:t[l])==null?void 0:v.description)&&((p=t==null?void 0:t[l])==null?void 0:p.description)})]}):null}function kl({featuredItems:t,children:l,slider:i}){return t?(0,g.jsxs)(V.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 C-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(O.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"C-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,g.jsx)("div",{className:"absolute right-0 C-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(O.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var O,It,L,_,lt,it,nt,$,V,g,Ot=f(()=>{"use strict";O=require("@stackshift-ui/button"),It=require("@stackshift-ui/card"),V=sl(require("react"))});var Bt={};h(Bt,{Features_F:()=>Gt,default:()=>Gt});function Gt({caption:t,title:l,description:i,images:n,primaryButton:e}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(L.Container,{maxWidth:1280,children:(0,g.jsxs)(_.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(_.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(Al,{caption:t,title:l,description:i}),(0,g.jsx)(Sl,{primaryButton:e})]}),(0,g.jsx)(Il,{images:n})]})})})}function Al({caption:t,title:l,description:i}){return(0,g.jsxs)(L.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(C.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),l&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",className:"mb-6",children:l}),i&&(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Sl({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(L.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)($t.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label})}):null}function Il({images:t}){var i,n,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(it.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=t[1])==null?void 0:n.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var $t,L,_,lt,it,nt,C,g,Dt=f(()=>{"use strict";$t=require("@stackshift-ui/button")});var Qt={};h(Qt,{Features_G:()=>Kt,default:()=>Kt});function Kt({caption:t,title:l,description:i,images:n,tags:e}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(G.Container,{maxWidth:1280,children:(0,g.jsxs)(_.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(G.Container,{maxWidth:448,children:[(0,g.jsx)(Rl,{caption:t,title:l,description:i}),(0,g.jsx)(zl,{tags:e})]})}),(0,g.jsx)(Ll,{images:n})]})})})}function Rl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",className:"mb-3",children:l}),i&&(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function zl({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(l=>(0,g.jsx)(Pl,{item:l}))}):null}function Pl({item:t}){return t?(0,g.jsxs)(_.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)("span",{children:t})]}):null}function Ll({images:t}){var i,n,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(it.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=t[1])==null?void 0:n.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var G,_,lt,it,nt,C,g,Ut=f(()=>{"use strict";G=require("@stackshift-ui/container")});var tl={};h(tl,{Features_H:()=>Zt,default:()=>Zt});function Zt({caption:t,title:l,features:i,images:n}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(E.Container,{maxWidth:1280,children:(0,g.jsxs)(_.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(E.Container,{maxWidth:448,children:[(0,g.jsx)(_l,{caption:t,title:l}),(0,g.jsx)(Wl,{features:i})]})}),(0,g.jsx)($l,{images:n})]})})})}function _l({caption:t,title:l}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",className:"mb-6",children:l})]})}function Wl({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(l=>(0,g.jsx)(Hl,{feature:l},l._key))})}function Hl({feature:t}){return t?(0,g.jsxs)(_.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Ol,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(C.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(C.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Ol(){return(0,g.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,g:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function $l({images:t}){var l,i,n,e,a,v,p,u,w,b,F,y;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((l=t==null?void 0:t[0])==null?void 0:l.image)&&(0,g.jsx)(it.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(n=t==null?void 0:t[0])==null?void 0:n.alt)!=null?e:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(it.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(v=t==null?void 0:t[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?u:"features-image-2"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,g.jsx)(it.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(y=(F=t==null?void 0:t[2])==null?void 0:F.alt)!=null?y:"features-image-3"})]})}var E,_,lt,it,nt,C,g,ll=f(()=>{"use strict";E=require("@stackshift-ui/container")});var Ml={};h(Ml,{Features:()=>il});module.exports=cl(Ml);var N=require("react"),Vl={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(rt(),ot))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(gt(),pt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(Nt(),ht))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(St(),At))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ot(),Ht))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ut(),Qt))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(ll(),tl)))},jl="Features",il=({data:t})=>{var e,a,v,p,u,w,b,F,y,J,K,Q,U,X,Y,Z;let l=t==null?void 0:t.variant,i=l&&Vl[l],n={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?a:void 0,title:(p=(v=t==null?void 0:t.variants)==null?void 0:v.title)!=null?p:void 0,description:(w=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?w:void 0,features:(F=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?F:void 0,tags:(J=(y=t==null?void 0:t.variants)==null?void 0:y.tags)!=null?J:void 0,featuredItems:(Q=(K=t==null?void 0:t.variants)==null?void 0:K.featuredItems)!=null?Q:void 0,images:(X=(U=t==null?void 0:t.variants)==null?void 0:U.images)!=null?X:void 0,primaryButton:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.primaryButton)!=null?Z:void 0};return i?(0,g.jsx)(i,{...n}):null};il.displayName=jl;0&&(module.exports={Features});
1
+ "use strict";var at=Object.create;var k=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var ct=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty;var f=(l,t)=>()=>(l&&(t=l(l=0)),t);var u=(l,t)=>{for(var i in t)k(l,i,{get:t[i],enumerable:!0})},el=(l,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of ct(t))!gt.call(l,e)&&e!==i&&k(l,e,{get:()=>t[e],enumerable:!(n=st(t,e))||n.enumerable});return l};var pt=(l,t,i)=>(i=l!=null?at(dt(l)):{},el(t||!l||!l.__esModule?k(i,"default",{value:l,enumerable:!0}):i,l)),xt=l=>el(k({},"__esModule",{value:!0}),l);var cl={};u(cl,{Features_A:()=>sl,default:()=>sl});function sl({caption:l,title:t,description:i,features:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(R.Container,{maxWidth:1280,children:[(0,p.jsx)(R.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,p.jsx)(vt,{caption:l,title:t,description:i})}),(0,p.jsx)(wt,{features:n})]})})}function vt({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}):null,i?(0,p.jsx)(y.Text,{muted:!0,children:i}):null]})}function wt({features:l}){return l?(0,p.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 ml:grid-cols-4 gap-6",children:l==null?void 0:l.map(t=>(0,p.jsx)(bt,{feature:t},t._key))}):null}function bt({feature:l}){var t;return(0,p.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,p.jsx)(ht,{feature:l}):null,l!=null&&l.title?(0,p.jsx)(y.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"ml",children:l==null?void 0:l.title}):null,l!=null&&l.plainText?(0,p.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText}):null]})}function ht({feature:l}){var t,i,n,e;return(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}):null}var R,ol,rl,ml,al,y,p,dl=f(()=>{"use strict";R=require("@stackshift-ui/container"),ol=require("@stackshift-ui/flex"),rl=require("@stackshift-ui/heading"),ml=require("@stackshift-ui/image"),al=require("@stackshift-ui/section"),y=require("@stackshift-ui/text"),p=require("react/jsx-runtime")});var bl={};u(bl,{Features_B:()=>wl,default:()=>wl});function wl({caption:l,title:t,description:i,features:n,tags:e}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(O.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(O.Container,{maxWidth:448,children:[(0,p.jsx)(ut,{caption:l,title:t,description:i}),(0,p.jsx)(Nt,{tags:e})]})}),(0,p.jsx)(ft,{features:n})]})})})}function ut({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}),i&&(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Nt({tags:l}){return l?(0,p.jsx)("ol",{children:l&&l.map(t=>(0,p.jsxs)("li",{className:"flex mb-4",children:[(0,p.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)(y.Text,{muted:!0,weight:"bold",children:t})]},t))}):null}function ft({features:l}){return l?(0,p.jsx)(ol.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:l&&(l==null?void 0:l.map((t,i)=>{var n,e,c,v;return(0,p.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:p-12"}`,children:(0,p.jsxs)(gl.Card,{className:"py-6 rl-6 pr-4 mb-8 bg-white rounded-md",children:[((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(v=(c=t==null?void 0:t.mainImage)==null?void 0:c.alt)!=null?v:`features-image-${i}`})}),(0,p.jsx)(y.Text,{weight:"bold",className:"text-ml md:text-2xl mb-2 text-gray-500 break-all",children:t==null?void 0:t.title}),(0,p.jsx)(y.Text,{muted:!0,className:"leading-loose break-all",children:t==null?void 0:t.plainText})]})},i)}))}):null}var gl,O,ol,rl,ml,al,y,p,hl=f(()=>{"use strict";gl=require("@stackshift-ui/card"),O=require("@stackshift-ui/container")});var Cl={};u(Cl,{Features_C:()=>Fl,default:()=>Fl});function Fl({caption:l,title:t,description:i,features:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsxs)($.Container,{maxWidth:1800,children:[(0,p.jsx)($.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,p.jsx)(Tt,{caption:l,title:t,description:i})}),(0,p.jsx)(Ft,{features:n})]})})}function Tt({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}):null,i?(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Ft({features:l}){return l?(0,p.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(t=>(0,p.jsx)(Ct,{feature:t},t._key))}):null}function Ct({feature:l}){var t,i,n,e;return(0,p.jsx)("div",{className:"w-full p-3",children:(0,p.jsxs)(I.Card,{className:"flex flex-wrap h-full p-6 bg-white rounded-md",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?e:"features-main-image"})}),(0,p.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,p.jsx)(I.CardTitle,{className:"text-ml md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),(0,p.jsx)(y.Text,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}var I,$,ol,rl,ml,al,y,p,yl=f(()=>{"use strict";I=require("@stackshift-ui/card")});var Ll={};u(Ll,{Features_D:()=>Il,default:()=>Il});function Il({caption:l,title:t,description:i,features:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(O.Container,{maxWidth:1280,children:[(0,p.jsx)(O.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,p.jsx)(yt,{caption:l,title:t,description:i})}),(0,p.jsx)(kt,{features:n})]})})}function yt({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}):null,i?(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function kt({features:l}){return l?(0,p.jsx)(ol.Flex,{wrap:!0,justify:"center",align:"stretch",children:l.map(t=>(0,p.jsx)(At,{feature:t},t._key))}):null}function At({feature:l}){var t,i,n,e;return(0,p.jsx)("div",{className:"w-full px-4 p-8 lg:mb-0 lg:w-1/3",children:(0,p.jsxs)(P.Card,{className:"h-full px-6 py-12 text-center bg-white rounded-md",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}),(0,p.jsx)(P.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-ml",children:l==null?void 0:l.title}),(0,p.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText})]})})}var P,O,ol,rl,ml,al,y,p,Pl=f(()=>{"use strict";P=require("@stackshift-ui/card")});var $l={};u($l,{Features_E:()=>Ol,default:()=>Ol});function Ol({featuredItems:l}){let[t,i]=D.default.useState(0);return(0,p.jsx)(al.Section,{className:"py-20 overflow-p-auto bg-background",children:(0,p.jsx)(O.Container,{maxWidth:1280,children:(0,p.jsx)(ol.Flex,{className:"relative",children:(0,p.jsx)(Lt,{featuredItems:l,slider:e=>{l&&(e==="next"?t!==l.length-1?i(c=>c+1):i(0):t>=1?i(c=>c-1):i(l.length-1))},children:(0,p.jsxs)("div",{className:"order-1 w-full ml-auto ml:w-4/5",children:[(0,p.jsx)(St,{featuredItems:l,item:t}),(0,p.jsx)(It,{featuredItems:l,item:t})]})})})})})}function St({featuredItems:l,item:t}){var i,n,e,c,v,g,w;return(n=(i=l==null?void 0:l[t])==null?void 0:i.mainImage)!=null&&n.image?(0,p.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-ml ml:max-w-4xl",children:(0,p.jsx)(ml.Image,{className:"relative object-cover rounded-md",src:`${(c=(e=l==null?void 0:l[t])==null?void 0:e.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(w=(g=(v=l==null?void 0:l[t])==null?void 0:v.mainImage)==null?void 0:g.alt)!=null?w:`features-image-${t}`})}):null}function It({featuredItems:l,item:t}){var i,n,e,c,v,g;return l?(0,p.jsxs)(z.Card,{className:"top-0 left-0 max-w-ml p-6 mx-auto text-center bg-white md:p-12 md:p-10 lg:p-12 lg:p-10 ml:absolute ml:mx-0 ml:p-20 ml:py-24 rounded-md",children:[(0,p.jsx)(y.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm ml:text-lg text-secondary",children:((i=l==null?void 0:l[t])==null?void 0:i.subtitle)&&((n=l==null?void 0:l[t])==null?void 0:n.subtitle)}),(0,p.jsx)(z.CardTitle,{children:(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:((e=l==null?void 0:l[t])==null?void 0:e.title)&&((c=l==null?void 0:l[t])==null?void 0:c.title)})}),(0,p.jsx)(y.Text,{muted:!0,className:"text-xs leading-loose text-center md:p-5 md:text-sm lg:p-5 lg:text-sm",children:((v=l==null?void 0:l[t])==null?void 0:v.description)&&((g=l==null?void 0:l[t])==null?void 0:g.description)})]}):null}function Lt({featuredItems:l,children:t,slider:i}){return l?(0,p.jsxs)(D.default.Fragment,{children:[(0,p.jsx)("div",{className:"absolute left-0 z-40 items-center p-20 -mx-3 order-0 md:p-40 lg:p-60 ml:-mx-6 ml:flex",children:(l==null?void 0:l.length)>=2&&(0,p.jsx)(M.Button,{"aria-label":"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,p.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),t,(0,p.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 p-20 -mx-3 md:p-40 lg:p-60 ml:-mx-6 ml:flex",children:(l==null?void 0:l.length)>=2&&(0,p.jsx)(M.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,p.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var M,z,O,ol,rl,ml,al,y,D,p,Vl=f(()=>{"use strict";M=require("@stackshift-ui/button"),z=require("@stackshift-ui/card"),D=pt(require("react"))});var Kl={};u(Kl,{Features_F:()=>Jl,default:()=>Jl});function Jl({caption:l,title:t,description:i,images:n,primaryButton:e}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(O.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsxs)(ol.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,p.jsx)(Pt,{caption:l,title:t,description:i}),(0,p.jsx)(zt,{primaryButton:e})]}),(0,p.jsx)(_t,{images:n})]})})})}function Pt({caption:l,title:t,description:i}){return(0,p.jsxs)(O.Container,{maxWidth:448,className:"ml-0",children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"font-bold text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",className:"mb-6",children:t}),i&&(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function zt({primaryButton:l}){var i,n,e;if(!(l!=null&&l.label))return null;let t=(0,ql.buildSanityLink)({type:(i=l==null?void 0:l.type)!=null?i:"",internalLink:(n=l==null?void 0:l.internalLink)!=null?n:"",externalLink:(e=l==null?void 0:l.externalLink)!=null?e:""});return(0,p.jsx)(O.Container,{maxWidth:448,className:"ml-0",children:(0,p.jsx)(jl.Button,{"aria-label":l==null?void 0:l.label,asChild:!0,children:(0,p.jsx)(Dl.Link,{href:t.href,target:t.target,rel:t.rel,children:l==null?void 0:l.label})})})}function _t({images:l}){var i,n,e,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,g,w,b,h){return(0,p.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,p.jsx)(ml.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=l[1])==null?void 0:n.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=l[2])==null?void 0:e.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var jl,O,ol,rl,ml,Dl,al,ql,y,p,Ql=f(()=>{"use strict";jl=require("@stackshift-ui/button"),Dl=require("@stackshift-ui/link"),ql=require("@stackshift-ui/system")});var Bl={};u(Bl,{Features_G:()=>Zl,default:()=>Zl});function Zl({caption:l,title:t,description:i,images:n,tags:e}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(J.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(J.Container,{maxWidth:448,children:[(0,p.jsx)(Wt,{caption:l,title:t,description:i}),(0,p.jsx)(Ht,{tags:e})]})}),(0,p.jsx)(Ot,{images:n})]})})})}function Wt({caption:l,title:t,description:i}){return(0,p.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",className:"mb-3",children:t}),i&&(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Ht({tags:l}){return l?(0,p.jsx)("ol",{className:"font-bold text-gray-500",children:l.map(t=>(0,p.jsx)(Rt,{item:t}))}):null}function Rt({item:l}){return l?(0,p.jsxs)(ol.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,p.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)("span",{children:l})]}):null}function Ot({images:l}){var i,n,e,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,g,w,b,h){return(0,p.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,p.jsx)(ml.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=l[1])==null?void 0:n.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=l[2])==null?void 0:e.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var J,ol,rl,ml,al,y,p,lt=f(()=>{"use strict";J=require("@stackshift-ui/container")});var et={};u(et,{Features_H:()=>nt,default:()=>nt});function nt({caption:l,title:t,features:i,images:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(U.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(U.Container,{maxWidth:448,children:[(0,p.jsx)($t,{caption:l,title:t}),(0,p.jsx)(Vt,{features:i})]})}),(0,p.jsx)(Gt,{images:n})]})})})}function $t({caption:l,title:t}){return(0,p.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",className:"mb-6",children:t})]})}function Vt({features:l}){return!l||(l==null?void 0:l.length)<=0?null:(0,p.jsx)("ol",{children:l.map(t=>(0,p.jsx)(jt,{feature:t},t._key))})}function jt({feature:l}){return l?(0,p.jsxs)(ol.Flex,{as:"li",className:"mb-5",children:[(0,p.jsx)(Mt,{}),(0,p.jsxs)("div",{className:"max-w-xs",children:[(0,p.jsx)(y.Text,{weight:"bold",className:"text-gray-500",children:l==null?void 0:l.title}),(0,p.jsx)(y.Text,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})]}):null}function Mt(){return(0,p.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,p:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Gt({images:l}){var t,i,n,e,c,v,g,w,b,h,F,C;return!l||(l==null?void 0:l.length)===0?null:(0,p.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,p.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((t=l==null?void 0:l[0])==null?void 0:t.image)&&(0,p.jsx)(ml.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=l==null?void 0:l[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(n=l==null?void 0:l[0])==null?void 0:n.alt)!=null?e:"features-image-1"}),((c=l==null?void 0:l[1])==null?void 0:c.image)&&(0,p.jsx)(ml.Image,{className:"object-cover p-6 overflow-hidden rounded-md",src:`${(v=l==null?void 0:l[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(g=l==null?void 0:l[1])==null?void 0:g.alt)!=null?w:"features-image-2"})]}),((b=l==null?void 0:l[2])==null?void 0:b.image)&&(0,p.jsx)(ml.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(h=l==null?void 0:l[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(F=l==null?void 0:l[2])==null?void 0:F.alt)!=null?C:"features-image-3"})]})}var U,ol,rl,ml,al,y,p,ot=f(()=>{"use strict";U=require("@stackshift-ui/container")});var qt={};u(qt,{Features:()=>rt});module.exports=xt(qt);var N=require("react"),Dt={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(dl(),cl))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(hl(),bl))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(yl(),Cl))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Pl(),Ll))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Vl(),$l))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ql(),Kl))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(lt(),Bl))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(ot(),et)))},Et="Features",rt=({data:l})=>{var e,c,v,g,w,b,h,F,C,Y,Z,B,ll,tl,il,nl;let t=l==null?void 0:l.variant,i=t&&Dt[t],n={caption:(c=(e=l==null?void 0:l.variants)==null?void 0:e.subtitle)!=null?c:void 0,title:(g=(v=l==null?void 0:l.variants)==null?void 0:v.title)!=null?g:void 0,description:(b=(w=l==null?void 0:l.variants)==null?void 0:w.description)!=null?b:void 0,features:(F=(h=l==null?void 0:l.variants)==null?void 0:h.arrayOfImageTitleAndText)!=null?F:void 0,tags:(Y=(C=l==null?void 0:l.variants)==null?void 0:C.tags)!=null?Y:void 0,featuredItems:(B=(Z=l==null?void 0:l.variants)==null?void 0:Z.featuredItems)!=null?B:void 0,images:(tl=(ll=l==null?void 0:l.variants)==null?void 0:ll.images)!=null?tl:void 0,primaryButton:(nl=(il=l==null?void 0:l.variants)==null?void 0:il.primaryButton)!=null?nl:void 0};return i?(0,p.jsx)(i,{...n}):null};rt.displayName=Et;0&&(module.exports={Features});
package/dist/features.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-NMRXZVBL.mjs";export{a as Features};
1
+ import{a}from"./chunk-NGEHDE36.mjs";export{a as Features};
@@ -1 +1 @@
1
- "use strict";var r=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var T=(i,n)=>{for(var m in n)r(i,m,{get:n[m],enumerable:!0})},b=(i,n,m,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of x(n))!I.call(i,l)&&l!==m&&r(i,l,{get:()=>n[l],enumerable:!(o=p(n,l))||o.enumerable});return i};var F=i=>b(r({},"__esModule",{value:!0}),i);var A={};T(A,{Features_A:()=>d,default:()=>d});module.exports=F(A);var a=require("@stackshift-ui/container"),g=require("@stackshift-ui/heading"),e=require("@stackshift-ui/image"),c=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),t=require("react/jsx-runtime");function d({caption:i,title:n,description:m,features:o}){return(0,t.jsx)(c.Section,{className:"py-20 bg-background",children:(0,t.jsxs)(a.Container,{maxWidth:1280,children:[(0,t.jsx)(a.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,t.jsx)(y,{caption:i,title:n,description:m})}),(0,t.jsx)(N,{features:o})]})})}function y({caption:i,title:n,description:m}){return(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[i?(0,t.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:i}):null,n?(0,t.jsx)(g.Heading,{fontSize:"3xl",children:n}):null,m?(0,t.jsx)(s.Text,{muted:!0,children:m}):null]})}function N({features:i}){return i?(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:i==null?void 0:i.map(n=>(0,t.jsx)(h,{feature:n},n._key))}):null}function h({feature:i}){var n;return(0,t.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(n=i==null?void 0:i.mainImage)!=null&&n.image?(0,t.jsx)(v,{feature:i}):null,i!=null&&i.title?(0,t.jsx)(s.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:i==null?void 0:i.title}):null,i!=null&&i.plainText?(0,t.jsx)(s.Text,{muted:!0,children:i==null?void 0:i.plainText}):null]})}function v({feature:i}){var n,m,o,l;return(n=i==null?void 0:i.mainImage)!=null&&n.image?(0,t.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,t.jsx)(e.Image,{className:"object-scale-down",src:`${(m=i==null?void 0:i.mainImage)==null?void 0:m.image}`,width:40,height:40,alt:(l=(o=i==null?void 0:i.mainImage)==null?void 0:o.alt)!=null?l:"features-image-"})}):null}0&&(module.exports={Features_A});
1
+ "use strict";var r=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var b=(n,i)=>{for(var m in i)r(n,m,{get:i[m],enumerable:!0})},F=(n,i,m,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let l of I(i))!T.call(n,l)&&l!==m&&r(n,l,{get:()=>i[l],enumerable:!(o=x(i,l))||o.enumerable});return n};var y=n=>F(r({},"__esModule",{value:!0}),n);var k={};b(k,{Features_A:()=>p,default:()=>p});module.exports=y(k);var g=require("@stackshift-ui/container"),a=require("@stackshift-ui/flex"),e=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),d=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),t=require("react/jsx-runtime");function p({caption:n,title:i,description:m,features:o}){return(0,t.jsx)(d.Section,{className:"py-20 bg-background",children:(0,t.jsxs)(g.Container,{maxWidth:1280,children:[(0,t.jsx)(g.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,t.jsx)(N,{caption:n,title:i,description:m})}),(0,t.jsx)(h,{features:o})]})})}function N({caption:n,title:i,description:m}){return(0,t.jsxs)(a.Flex,{direction:"col",gap:3,align:"center",children:[n?(0,t.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:n}):null,i?(0,t.jsx)(e.Heading,{fontSize:"3xl",children:i}):null,m?(0,t.jsx)(s.Text,{muted:!0,children:m}):null]})}function h({features:n}){return n?(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:n==null?void 0:n.map(i=>(0,t.jsx)(A,{feature:i},i._key))}):null}function A({feature:n}){var i;return(0,t.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(i=n==null?void 0:n.mainImage)!=null&&i.image?(0,t.jsx)(P,{feature:n}):null,n!=null&&n.title?(0,t.jsx)(s.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?(0,t.jsx)(s.Text,{muted:!0,children:n==null?void 0:n.plainText}):null]})}function P({feature:n}){var i,m,o,l;return(i=n==null?void 0:n.mainImage)!=null&&i.image?(0,t.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,t.jsx)(c.Image,{className:"object-scale-down",src:`${(m=n==null?void 0:n.mainImage)==null?void 0:m.image}`,width:40,height:40,alt:(l=(o=n==null?void 0:n.mainImage)==null?void 0:o.alt)!=null?l:"features-image-"})}):null}0&&(module.exports={Features_A});
@@ -1 +1 @@
1
- import{a}from"./chunk-XY27OBDB.mjs";export{a as Features_A,a as default};
1
+ import{a}from"./chunk-4EWXUBOB.mjs";export{a as Features_A,a as default};
@@ -1 +1 @@
1
- "use strict";var s=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var T=(m,l)=>{for(var a in l)s(m,a,{get:l[a],enumerable:!0})},y=(m,l,a,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let o of h(l))!v.call(m,o)&&o!==a&&s(m,o,{get:()=>l[o],enumerable:!(t=N(l,o))||t.enumerable});return m};var F=m=>y(s({},"__esModule",{value:!0}),m);var u={};T(u,{Features_B:()=>w,default:()=>w});module.exports=F(u);var c=require("@stackshift-ui/card"),e=require("@stackshift-ui/container"),r=require("@stackshift-ui/flex"),p=require("@stackshift-ui/heading"),x=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),n=require("@stackshift-ui/text"),i=require("react/jsx-runtime");function w({caption:m,title:l,description:a,features:t,tags:o}){return(0,i.jsx)(b.Section,{className:"py-20 bg-background",children:(0,i.jsx)(e.Container,{maxWidth:1280,children:(0,i.jsxs)(r.Flex,{wrap:!0,align:"center",children:[(0,i.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(e.Container,{maxWidth:448,children:[(0,i.jsx)(I,{caption:m,title:l,description:a}),(0,i.jsx)(k,{tags:o})]})}),(0,i.jsx)(C,{features:t})]})})})}function I({caption:m,title:l,description:a}){return(0,i.jsxs)("div",{className:"flex flex-col gap-3",children:[m&&(0,i.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:m}),l&&(0,i.jsx)(p.Heading,{fontSize:"3xl",children:l}),a&&(0,i.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:a})]})}function k({tags:m}){return m?(0,i.jsx)("ul",{children:m&&m.map(l=>(0,i.jsxs)("li",{className:"flex mb-4",children:[(0,i.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,i.jsx)(n.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function C({features:m}){return m?(0,i.jsx)(r.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,a)=>{var t,o,d,g;return(0,i.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${a%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,i.jsxs)(c.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,i.jsx)(x.Image,{className:"object-scale-down",src:`${(o=l==null?void 0:l.mainImage)==null?void 0:o.image}`,width:40,height:40,alt:(g=(d=l==null?void 0:l.mainImage)==null?void 0:d.alt)!=null?g:`features-image-${a}`})}),(0,i.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,i.jsx)(n.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},a)}))}):null}0&&(module.exports={Features_B});
1
+ "use strict";var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var v=(m,l)=>{for(var o in l)s(m,o,{get:l[o],enumerable:!0})},y=(m,l,o,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of N(l))!T.call(m,t)&&t!==o&&s(m,t,{get:()=>l[t],enumerable:!(a=h(l,t))||a.enumerable});return m};var F=m=>y(s({},"__esModule",{value:!0}),m);var u={};v(u,{Features_B:()=>w,default:()=>w});module.exports=F(u);var c=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),e=require("@stackshift-ui/flex"),p=require("@stackshift-ui/heading"),x=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),n=require("@stackshift-ui/text"),i=require("react/jsx-runtime");function w({caption:m,title:l,description:o,features:a,tags:t}){return(0,i.jsx)(b.Section,{className:"py-20 bg-background",children:(0,i.jsx)(r.Container,{maxWidth:1280,children:(0,i.jsxs)(e.Flex,{wrap:!0,align:"center",children:[(0,i.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(r.Container,{maxWidth:448,children:[(0,i.jsx)(I,{caption:m,title:l,description:o}),(0,i.jsx)(k,{tags:t})]})}),(0,i.jsx)(C,{features:a})]})})})}function I({caption:m,title:l,description:o}){return(0,i.jsxs)(e.Flex,{direction:"col",gap:3,children:[m&&(0,i.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:m}),l&&(0,i.jsx)(p.Heading,{fontSize:"3xl",children:l}),o&&(0,i.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function k({tags:m}){return m?(0,i.jsx)("ul",{children:m&&m.map(l=>(0,i.jsxs)("li",{className:"flex mb-4",children:[(0,i.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,i.jsx)(n.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function C({features:m}){return m?(0,i.jsx)(e.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,o)=>{var a,t,g,d;return(0,i.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,i.jsxs)(c.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((a=l==null?void 0:l.mainImage)==null?void 0:a.image)&&(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,i.jsx)(x.Image,{className:"object-scale-down",src:`${(t=l==null?void 0:l.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(d=(g=l==null?void 0:l.mainImage)==null?void 0:g.alt)!=null?d:`features-image-${o}`})}),(0,i.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,i.jsx)(n.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},o)}))}):null}0&&(module.exports={Features_B});
@@ -1 +1 @@
1
- import{a}from"./chunk-24O5VU3C.mjs";export{a as Features_B,a as default};
1
+ import{a}from"./chunk-WMAYXQDK.mjs";export{a as Features_B,a as default};
@@ -1 +1 @@
1
- "use strict";var o=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var T=(i,l)=>{for(var t in l)o(i,t,{get:l[t],enumerable:!0})},v=(i,l,t,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of b(l))!N.call(i,e)&&e!==t&&o(i,e,{get:()=>l[e],enumerable:!(a=x(l,e))||a.enumerable});return i};var f=i=>v(o({},"__esModule",{value:!0}),i);var y={};T(y,{Features_C:()=>p,default:()=>p});module.exports=f(y);var s=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),d=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),g=require("@stackshift-ui/section"),n=require("@stackshift-ui/text"),m=require("react/jsx-runtime");function p({caption:i,title:l,description:t,features:a}){return(0,m.jsx)(g.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(r.Container,{maxWidth:1800,children:[(0,m.jsx)(r.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,m.jsx)(h,{caption:i,title:l,description:t})}),(0,m.jsx)(w,{features:a})]})})}function h({caption:i,title:l,description:t}){return(0,m.jsxs)("div",{className:"flex flex-col gap-3",children:[i?(0,m.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:i}):null,l?(0,m.jsx)(d.Heading,{fontSize:"3xl",children:l}):null,t?(0,m.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function w({features:i}){return i?(0,m.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:i.map(l=>(0,m.jsx)(I,{feature:l},l._key))}):null}function I({feature:i}){var l,t,a,e;return(0,m.jsx)("div",{className:"w-full p-3",children:(0,m.jsxs)(s.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=i==null?void 0:i.mainImage)==null?void 0:l.image)&&(0,m.jsx)(c.Image,{className:"object-scale-down",src:`${(t=i==null?void 0:i.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(e=(a=i==null?void 0:i.mainImage)==null?void 0:a.alt)!=null?e:"features-main-image"})}),(0,m.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,m.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl break-all",children:i==null?void 0:i.title}),(0,m.jsx)(n.Text,{muted:!0,className:"break-all",children:i==null?void 0:i.plainText})]})]})})}0&&(module.exports={Features_C});
1
+ "use strict";var r=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(l,i)=>{for(var e in i)r(l,e,{get:i[e],enumerable:!0})},I=(l,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let m of T(i))!N.call(l,m)&&m!==e&&r(l,m,{get:()=>i[m],enumerable:!(n=b(i,m))||n.enumerable});return l};var h=l=>I(r({},"__esModule",{value:!0}),l);var f={};C(f,{Features_C:()=>x,default:()=>x});module.exports=h(f);var o=require("@stackshift-ui/card"),s=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),t=require("react/jsx-runtime");function x({caption:l,title:i,description:e,features:n}){return(0,t.jsx)(p.Section,{className:"py-20 bg-background",children:(0,t.jsxs)(s.Container,{maxWidth:1800,children:[(0,t.jsx)(s.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,t.jsx)(v,{caption:l,title:i,description:e})}),(0,t.jsx)(w,{features:n})]})})}function v({caption:l,title:i,description:e}){return(0,t.jsxs)(d.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,t.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:l}):null,i?(0,t.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,e?(0,t.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function w({features:l}){return l?(0,t.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(i=>(0,t.jsx)(y,{feature:i},i._key))}):null}function y({feature:l}){var i,e,n,m;return(0,t.jsx)("div",{className:"w-full p-3",children:(0,t.jsxs)(o.Card,{className:"flex flex-wrap h-full p-6 bg-white rounded-md",children:[(0,t.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((i=l==null?void 0:l.mainImage)==null?void 0:i.image)&&(0,t.jsx)(g.Image,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(m=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?m:"features-main-image"})}),(0,t.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,t.jsx)(o.CardTitle,{className:"text-xl md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),(0,t.jsx)(a.Text,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}0&&(module.exports={Features_C});
@@ -1 +1 @@
1
- import{a}from"./chunk-3S2KSCPX.mjs";export{a as Features_C,a as default};
1
+ import{a}from"./chunk-VEID3YEG.mjs";export{a as Features_C,a as default};
@@ -1 +1 @@
1
- "use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var h=(t,i)=>{for(var e in i)a(t,e,{get:i[e],enumerable:!0})},N=(t,i,e,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of T(i))!y.call(t,n)&&n!==e&&a(t,n,{get:()=>i[n],enumerable:!(o=b(i,n))||o.enumerable});return t};var I=t=>N(a({},"__esModule",{value:!0}),t);var f={};h(f,{Features_D:()=>x,default:()=>x});module.exports=I(f);var s=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),l=require("@stackshift-ui/text"),m=require("react/jsx-runtime");function x({caption:t,title:i,description:e,features:o}){return(0,m.jsx)(p.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(r.Container,{maxWidth:1280,children:[(0,m.jsx)(r.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,m.jsx)(w,{caption:t,title:i,description:e})}),(0,m.jsx)(A,{features:o})]})})}function w({caption:t,title:i,description:e}){return(0,m.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,m.jsx)(l.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,m.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,e?(0,m.jsx)(l.Text,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function A({features:t}){return t?(0,m.jsx)(d.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(i=>(0,m.jsx)(F,{feature:i},i._key))}):null}function F({feature:t}){var i,e,o,n;return(0,m.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,m.jsxs)(s.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,m.jsx)(g.Image,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(n=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?n:"features-image-"})}),(0,m.jsx)(l.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,m.jsx)(l.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
1
+ "use strict";var r=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var h=(t,i)=>{for(var e in i)r(t,e,{get:i[e],enumerable:!0})},I=(t,i,e,l)=>{if(i&&typeof i=="object"||typeof i=="function")for(let m of b(i))!y.call(t,m)&&m!==e&&r(t,m,{get:()=>i[m],enumerable:!(l=T(i,m))||l.enumerable});return t};var N=t=>I(r({},"__esModule",{value:!0}),t);var A={};h(A,{Features_D:()=>x,default:()=>x});module.exports=N(A);var a=require("@stackshift-ui/card"),s=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),o=require("@stackshift-ui/text"),n=require("react/jsx-runtime");function x({caption:t,title:i,description:e,features:l}){return(0,n.jsx)(p.Section,{className:"py-20 bg-background",children:(0,n.jsxs)(s.Container,{maxWidth:1280,children:[(0,n.jsx)(s.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,n.jsx)(C,{caption:t,title:i,description:e})}),(0,n.jsx)(F,{features:l})]})})}function C({caption:t,title:i,description:e}){return(0,n.jsxs)(d.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,n.jsx)(o.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,n.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,e?(0,n.jsx)(o.Text,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function F({features:t}){return t?(0,n.jsx)(d.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(i=>(0,n.jsx)(w,{feature:i},i._key))}):null}function w({feature:t}){var i,e,l,m;return(0,n.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,n.jsxs)(a.Card,{className:"h-full px-6 py-12 text-center bg-white rounded-md",children:[(0,n.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,n.jsx)(g.Image,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(m=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?m:"features-image-"})}),(0,n.jsx)(a.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:t==null?void 0:t.title}),(0,n.jsx)(o.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
@@ -1 +1 @@
1
- import{a}from"./chunk-5AMMO42A.mjs";export{a as Features_D,a as default};
1
+ import{a}from"./chunk-URBAFHHX.mjs";export{a as Features_D,a as default};
@@ -1 +1 @@
1
- "use strict";var C=Object.create;var c=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var z=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty;var R=(o,l)=>{for(var n in l)c(o,n,{get:l[n],enumerable:!0})},w=(o,l,n,r)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of L(l))!B.call(o,t)&&t!==n&&c(o,t,{get:()=>l[t],enumerable:!(r=S(l,t))||r.enumerable});return o};var u=(o,l,n)=>(n=o!=null?C(z(o)):{},w(l||!o||!o.__esModule?c(n,"default",{value:o,enumerable:!0}):n,o)),y=o=>w(c({},"__esModule",{value:!0}),o);var W={};R(W,{Features_E:()=>k,default:()=>k});module.exports=y(W);var g=require("@stackshift-ui/button"),v=require("@stackshift-ui/card"),b=require("@stackshift-ui/container"),e=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),F=require("@stackshift-ui/image"),d=require("@stackshift-ui/section"),p=require("@stackshift-ui/text"),s=u(require("react")),i=require("react/jsx-runtime");function k({featuredItems:o}){let[l,n]=s.default.useState(0);return(0,i.jsx)(d.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,i.jsx)(b.Container,{maxWidth:1280,children:(0,i.jsx)(e.Flex,{className:"relative",children:(0,i.jsx)(T,{featuredItems:o,slider:t=>{o&&(t==="next"?l!==o.length-1?n(x=>x+1):n(0):l>=1?n(x=>x-1):n(o.length-1))},children:(0,i.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,i.jsx)(H,{featuredItems:o,item:l}),(0,i.jsx)(P,{featuredItems:o,item:l})]})})})})})}function H({featuredItems:o,item:l}){var n,r,t,x,m,a,h;return(r=(n=o==null?void 0:o[l])==null?void 0:n.mainImage)!=null&&r.image?(0,i.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,i.jsx)(F.Image,{className:"relative object-cover rounded-md",src:`${(x=(t=o==null?void 0:o[l])==null?void 0:t.mainImage)==null?void 0:x.image}`,sizes:"100vw",width:896,height:575,alt:(h=(a=(m=o==null?void 0:o[l])==null?void 0:m.mainImage)==null?void 0:a.alt)!=null?h:`features-image-${l}`})}):null}function P({featuredItems:o,item:l}){var n,r,t,x,m,a;return o?(0,i.jsxs)(v.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,i.jsx)(p.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[l])==null?void 0:n.subtitle)&&((r=o==null?void 0:o[l])==null?void 0:r.subtitle)}),(0,i.jsx)(N.Heading,{fontSize:"3xl",children:((t=o==null?void 0:o[l])==null?void 0:t.title)&&((x=o==null?void 0:o[l])==null?void 0:x.title)}),(0,i.jsx)(p.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[l])==null?void 0:m.description)&&((a=o==null?void 0:o[l])==null?void 0:a.description)})]}):null}function T({featuredItems:o,children:l,slider:n}){return o?(0,i.jsxs)(s.default.Fragment,{children:[(0,i.jsx)("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(g.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,i.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(g.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}0&&(module.exports={Features_E});
1
+ "use strict";var k=Object.create;var a=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var B=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty;var L=(o,l)=>{for(var n in l)a(o,n,{get:l[n],enumerable:!0})},v=(o,l,n,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let r of z(l))!T.call(o,r)&&r!==n&&a(o,r,{get:()=>l[r],enumerable:!(t=S(l,r))||t.enumerable});return o};var R=(o,l,n)=>(n=o!=null?k(B(o)):{},v(l||!o||!o.__esModule?a(n,"default",{value:o,enumerable:!0}):n,o)),y=o=>v(a({},"__esModule",{value:!0}),o);var j={};L(j,{Features_E:()=>C,default:()=>C});module.exports=y(j);var p=require("@stackshift-ui/button"),g=require("@stackshift-ui/card"),e=require("@stackshift-ui/container"),N=require("@stackshift-ui/flex"),b=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),F=require("@stackshift-ui/section"),h=require("@stackshift-ui/text"),s=R(require("react")),i=require("react/jsx-runtime");function C({featuredItems:o}){let[l,n]=s.default.useState(0);return(0,i.jsx)(F.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,i.jsx)(e.Container,{maxWidth:1280,children:(0,i.jsx)(N.Flex,{className:"relative",children:(0,i.jsx)(W,{featuredItems:o,slider:r=>{o&&(r==="next"?l!==o.length-1?n(x=>x+1):n(0):l>=1?n(x=>x-1):n(o.length-1))},children:(0,i.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,i.jsx)(H,{featuredItems:o,item:l}),(0,i.jsx)(P,{featuredItems:o,item:l})]})})})})})}function H({featuredItems:o,item:l}){var n,t,r,x,m,c,w;return(t=(n=o==null?void 0:o[l])==null?void 0:n.mainImage)!=null&&t.image?(0,i.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,i.jsx)(d.Image,{className:"relative object-cover rounded-md",src:`${(x=(r=o==null?void 0:o[l])==null?void 0:r.mainImage)==null?void 0:x.image}`,sizes:"100vw",width:896,height:575,alt:(w=(c=(m=o==null?void 0:o[l])==null?void 0:m.mainImage)==null?void 0:c.alt)!=null?w:`features-image-${l}`})}):null}function P({featuredItems:o,item:l}){var n,t,r,x,m,c;return o?(0,i.jsxs)(g.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24 rounded-md",children:[(0,i.jsx)(h.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[l])==null?void 0:n.subtitle)&&((t=o==null?void 0:o[l])==null?void 0:t.subtitle)}),(0,i.jsx)(g.CardTitle,{children:(0,i.jsx)(b.Heading,{fontSize:"3xl",children:((r=o==null?void 0:o[l])==null?void 0:r.title)&&((x=o==null?void 0:o[l])==null?void 0:x.title)})}),(0,i.jsx)(h.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[l])==null?void 0:m.description)&&((c=o==null?void 0:o[l])==null?void 0:c.description)})]}):null}function W({featuredItems:o,children:l,slider:n}){return o?(0,i.jsxs)(s.default.Fragment,{children:[(0,i.jsx)("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(p.Button,{"aria-label":"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,i.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(p.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}0&&(module.exports={Features_E});
@@ -1 +1 @@
1
- import{a}from"./chunk-7B6FI3PR.mjs";export{a as Features_E,a as default};
1
+ import{a}from"./chunk-2ZMZT34T.mjs";export{a as Features_E,a as default};
@@ -1 +1 @@
1
- "use strict";var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var I=(e,a)=>{for(var i in a)d(e,i,{get:a[i],enumerable:!0})},T=(e,a,i,n)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of F(a))!C.call(e,t)&&t!==i&&d(e,t,{get:()=>a[t],enumerable:!(n=p(a,t))||n.enumerable});return e};var k=e=>T(d({},"__esModule",{value:!0}),e);var z={};I(z,{Features_F:()=>x,default:()=>x});module.exports=k(z);var c=require("@stackshift-ui/button"),o=require("@stackshift-ui/container"),m=require("@stackshift-ui/flex"),g=require("@stackshift-ui/heading"),u=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function x({caption:e,title:a,description:i,images:n,primaryButton:t}){return(0,l.jsx)(b.Section,{className:"py-20 bg-background",children:(0,l.jsx)(o.Container,{maxWidth:1280,children:(0,l.jsxs)(m.Flex,{wrap:!0,align:"center",children:[(0,l.jsxs)(m.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,l.jsx)(L,{caption:e,title:a,description:i}),(0,l.jsx)(S,{primaryButton:t})]}),(0,l.jsx)(W,{images:n})]})})})}function L({caption:e,title:a,description:i}){return(0,l.jsxs)(o.Container,{maxWidth:448,className:"ml-0",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"font-bold text-secondary",children:e}),a&&(0,l.jsx)(g.Heading,{fontSize:"3xl",className:"mb-6",children:a}),i&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function S({primaryButton:e}){return e!=null&&e.label?(0,l.jsx)(o.Container,{maxWidth:448,className:"ml-0",children:(0,l.jsx)(c.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label})}):null}function W({images:e}){var i,n,t,f;if(!e||(e==null?void 0:e.length)===0)return null;function a(v,r,h,w,N){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${N}`,children:(0,l.jsx)(u.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:h,height:w,alt:r!=null?r:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=e[0])==null?void 0:i.image)&&a(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&a(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((t=e[2])==null?void 0:t.image)&&a(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((f=e[3])==null?void 0:f.image)&&a(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_F});
1
+ "use strict";var o=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var S=(e,i)=>{for(var n in i)o(e,n,{get:i[n],enumerable:!0})},T=(e,i,n,d)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of C(i))!I.call(e,a)&&a!==n&&o(e,a,{get:()=>i[a],enumerable:!(d=F(i,a))||d.enumerable});return e};var p=e=>T(o({},"__esModule",{value:!0}),e);var P={};S(P,{Features_F:()=>w,default:()=>w});module.exports=p(P);var m=require("@stackshift-ui/button"),s=require("@stackshift-ui/container"),t=require("@stackshift-ui/flex"),r=require("@stackshift-ui/heading"),x=require("@stackshift-ui/image"),b=require("@stackshift-ui/link"),h=require("@stackshift-ui/section"),v=require("@stackshift-ui/system"),c=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function w({caption:e,title:i,description:n,images:d,primaryButton:a}){return(0,l.jsx)(h.Section,{className:"py-20 bg-background",children:(0,l.jsx)(s.Container,{maxWidth:1280,children:(0,l.jsxs)(t.Flex,{wrap:!0,align:"center",children:[(0,l.jsxs)(t.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,l.jsx)(W,{caption:e,title:i,description:n}),(0,l.jsx)(z,{primaryButton:a})]}),(0,l.jsx)(H,{images:d})]})})})}function W({caption:e,title:i,description:n}){return(0,l.jsxs)(s.Container,{maxWidth:448,className:"ml-0",children:[e&&(0,l.jsx)(c.Text,{weight:"bold",className:"font-bold text-secondary",children:e}),i&&(0,l.jsx)(r.Heading,{fontSize:"3xl",className:"mb-6",children:i}),n&&(0,l.jsx)(c.Text,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function z({primaryButton:e}){var n,d,a;if(!(e!=null&&e.label))return null;let i=(0,v.buildSanityLink)({type:(n=e==null?void 0:e.type)!=null?n:"",internalLink:(d=e==null?void 0:e.internalLink)!=null?d:"",externalLink:(a=e==null?void 0:e.externalLink)!=null?a:""});return(0,l.jsx)(s.Container,{maxWidth:448,className:"ml-0",children:(0,l.jsx)(m.Button,{"aria-label":e==null?void 0:e.label,asChild:!0,children:(0,l.jsx)(b.Link,{href:i.href,target:i.target,rel:i.rel,children:e==null?void 0:e.label})})})}function H({images:e}){var n,d,a,g;if(!e||(e==null?void 0:e.length)===0)return null;function i(N,f,u,k,L){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${L}`,children:(0,l.jsx)(x.Image,{className:"object-cover w-full h-full",src:N,sizes:"100vw",width:u,height:k,alt:f!=null?f:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((n=e[0])==null?void 0:n.image)&&i(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((d=e[1])==null?void 0:d.image)&&i(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&i(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((g=e[3])==null?void 0:g.image)&&i(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_F});
@@ -1 +1 @@
1
- import{a}from"./chunk-M4ZCOWFN.mjs";export{a as Features_F,a as default};
1
+ import{a}from"./chunk-QAMGECN2.mjs";export{a as Features_F,a as default};
@@ -1 +1 @@
1
- "use strict";var m=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var r in t)m(e,r,{get:t[r],enumerable:!0})},I=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N(t))!F.call(e,a)&&a!==r&&m(e,a,{get:()=>t[a],enumerable:!(i=b(t,a))||i.enumerable});return e};var z=e=>I(m({},"__esModule",{value:!0}),e);var G={};y(G,{Features_G:()=>p,default:()=>p});module.exports=z(G);var o=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),f=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),g=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function p({caption:e,title:t,description:r,images:i,tags:a}){return(0,l.jsx)(g.Section,{className:"py-20 bg-background",children:(0,l.jsx)(o.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(o.Container,{maxWidth:448,children:[(0,l.jsx)(C,{caption:e,title:t,description:r}),(0,l.jsx)(T,{tags:a})]})}),(0,l.jsx)(S,{images:i})]})})})}function C({caption:e,title:t,description:r}){return(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(f.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function T({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(R,{item:t}))}):null}function R({item:e}){return e?(0,l.jsxs)(d.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function S({images:e}){var r,i,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(v,n,x,w,h){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,l.jsx)(c.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:x,height:w,alt:n!=null?n:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
1
+ "use strict";var m=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var r in t)m(e,r,{get:t[r],enumerable:!0})},I=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N(t))!F.call(e,a)&&a!==r&&m(e,a,{get:()=>t[a],enumerable:!(i=b(t,a))||i.enumerable});return e};var z=e=>I(m({},"__esModule",{value:!0}),e);var G={};y(G,{Features_G:()=>p,default:()=>p});module.exports=z(G);var o=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),f=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),g=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function p({caption:e,title:t,description:r,images:i,tags:a}){return(0,l.jsx)(g.Section,{className:"py-20 bg-background",children:(0,l.jsx)(o.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(o.Container,{maxWidth:448,children:[(0,l.jsx)(C,{caption:e,title:t,description:r}),(0,l.jsx)(T,{tags:a})]})}),(0,l.jsx)(S,{images:i})]})})})}function C({caption:e,title:t,description:r}){return(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(f.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function T({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(R,{item:t}))}):null}function R({item:e}){return e?(0,l.jsxs)(d.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function S({images:e}){var r,i,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(v,n,x,w,h){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,l.jsx)(c.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:x,height:w,alt:n!=null?n:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
@@ -1 +1 @@
1
- import{a}from"./chunk-6BDXLZOT.mjs";export{a as Features_G,a as default};
1
+ import{a}from"./chunk-MJRSGLBB.mjs";export{a as Features_G,a as default};
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";var nl=Object.create;var S=Object.defineProperty;var ol=Object.getOwnPropertyDescriptor;var rl=Object.getOwnPropertyNames;var ml=Object.getPrototypeOf,al=Object.prototype.hasOwnProperty;var N=(t,l)=>()=>(t&&(l=t(t=0)),l);var h=(t,l)=>{for(var i in l)S(t,i,{get:l[i],enumerable:!0})},ut=(t,l,i,e)=>{if(l&&typeof l=="object"||typeof l=="function")for(let n of rl(l))!al.call(t,n)&&n!==i&&S(t,n,{get:()=>l[n],enumerable:!(e=ol(l,n))||e.enumerable});return t};var sl=(t,l,i)=>(i=t!=null?nl(ml(t)):{},ut(l||!t||!t.__esModule?S(i,"default",{value:t,enumerable:!0}):i,t)),cl=t=>ut(S({},"__esModule",{value:!0}),t);var ft={};h(ft,{Features_A:()=>L,default:()=>L});function L({caption:t,title:l,description:i,features:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsxs)(P.Container,{maxWidth:1280,children:[(0,x.jsx)(P.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,x.jsx)(dl,{caption:t,title:l,description:i})}),(0,x.jsx)(pl,{features:e})]})})}function dl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}):null,i?(0,x.jsx)(C.Text,{muted:!0,children:i}):null]})}function pl({features:t}){return t?(0,x.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t==null?void 0:t.map(l=>(0,x.jsx)(xl,{feature:l},l._key))}):null}function xl({feature:t}){var l;return(0,x.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,x.jsx)(gl,{feature:t}):null,t!=null&&t.title?(0,x.jsx)(C.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,x.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function gl({feature:t}){var l,i,e,n;return(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,x.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}):null}var P,wt,bt,ht,C,x,_=N(()=>{"use strict";P=require("@stackshift-ui/container"),wt=require("@stackshift-ui/heading"),bt=require("@stackshift-ui/image"),ht=require("@stackshift-ui/section"),C=require("@stackshift-ui/text"),x=require("react/jsx-runtime")});var Ct={};h(Ct,{Features_B:()=>O,default:()=>O});function O({caption:t,title:l,description:i,features:e,tags:n}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(W.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,x.jsxs)(W.Container,{maxWidth:448,children:[(0,x.jsx)(vl,{caption:t,title:l,description:i}),(0,x.jsx)(ul,{tags:n})]})}),(0,x.jsx)(wl,{features:e})]})})})}function vl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}),i&&(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function ul({tags:t}){return t?(0,x.jsx)("ul",{children:t&&t.map(l=>(0,x.jsxs)("li",{className:"flex mb-4",children:[(0,x.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,x.jsx)("path",{fillRule:"evenodd",x:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,x.jsx)(C.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function wl({features:t}){return t?(0,x.jsx)(H.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((l,i)=>{var e,n,a,v;return(0,x.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,x.jsxs)(Nt.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((e=l==null?void 0:l.mainImage)==null?void 0:e.image)&&(0,x.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(n=l==null?void 0:l.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(v=(a=l==null?void 0:l.mainImage)==null?void 0:a.alt)!=null?v:`features-image-${i}`})}),(0,x.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,x.jsx)(C.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},i)}))}):null}var Nt,W,H,wt,bt,ht,C,x,$=N(()=>{"use strict";Nt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),H=require("@stackshift-ui/flex")});var Rt={};h(Rt,{Features_C:()=>j,default:()=>j});function j({caption:t,title:l,description:i,features:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsxs)(W.Container,{maxWidth:1800,children:[(0,x.jsx)(W.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,x.jsx)(bl,{caption:t,title:l,description:i})}),(0,x.jsx)(hl,{features:e})]})})}function bl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}):null,i?(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function hl({features:t}){return t?(0,x.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:t.map(l=>(0,x.jsx)(fl,{feature:l},l._key))}):null}function fl({feature:t}){var l,i,e,n;return(0,x.jsx)("div",{className:"w-full p-3",children:(0,x.jsxs)(kt.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,x.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?n:"features-main-image"})}),(0,x.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,x.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl break-all",children:t==null?void 0:t.title}),(0,x.jsx)(C.Text,{muted:!0,className:"break-all",children:t==null?void 0:t.plainText})]})]})})}var kt,W,wt,bt,ht,C,x,M=N(()=>{"use strict";kt=require("@stackshift-ui/card")});var Ht={};h(Ht,{Features_D:()=>B,default:()=>B});function B({caption:t,title:l,description:i,features:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsxs)(W.Container,{maxWidth:1280,children:[(0,x.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,x.jsx)(Nl,{caption:t,title:l,description:i})}),(0,x.jsx)(Tl,{features:e})]})})}function Nl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}):null,i?(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Tl({features:t}){return t?(0,x.jsx)(H.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(l=>(0,x.jsx)(Fl,{feature:l},l._key))}):null}function Fl({feature:t}){var l,i,e,n;return(0,x.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,x.jsxs)(zt.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,x.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}),(0,x.jsx)(C.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,x.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var zt,W,H,wt,bt,ht,C,x,D=N(()=>{"use strict";zt=require("@stackshift-ui/card")});var Bt={};h(Bt,{Features_E:()=>K,default:()=>K});function K({featuredItems:t}){let[l,i]=J.default.useState(0);return(0,x.jsx)(ht.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,x.jsx)($t.Container,{maxWidth:1280,children:(0,x.jsx)(H.Flex,{className:"relative",children:(0,x.jsx)(kl,{featuredItems:t,slider:n=>{t&&(n==="next"?l!==t.length-1?i(a=>a+1):i(0):l>=1?i(a=>a-1):i(t.length-1))},children:(0,x.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,x.jsx)(yl,{featuredItems:t,item:l}),(0,x.jsx)(Cl,{featuredItems:t,item:l})]})})})})})}function yl({featuredItems:t,item:l}){var i,e,n,a,v,p,u;return(e=(i=t==null?void 0:t[l])==null?void 0:i.mainImage)!=null&&e.image?(0,x.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,x.jsx)(bt.Image,{className:"relative object-cover rounded-md",src:`${(a=(n=t==null?void 0:t[l])==null?void 0:n.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(p=(v=t==null?void 0:t[l])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?u:`features-image-${l}`})}):null}function Cl({featuredItems:t,item:l}){var i,e,n,a,v,p;return t?(0,x.jsxs)(Ot.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,x.jsx)(C.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[l])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[l])==null?void 0:e.subtitle)}),(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:((n=t==null?void 0:t[l])==null?void 0:n.title)&&((a=t==null?void 0:t[l])==null?void 0:a.title)}),(0,x.jsx)(C.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((v=t==null?void 0:t[l])==null?void 0:v.description)&&((p=t==null?void 0:t[l])==null?void 0:p.description)})]}):null}function kl({featuredItems:t,children:l,slider:i}){return t?(0,x.jsxs)(J.default.Fragment,{children:[(0,x.jsx)("div",{className:"absolute left-0 C-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,x.jsx)(E.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"C-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,x.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,x.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",x:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,x.jsx)("div",{className:"absolute right-0 C-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,x.jsx)(E.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,x.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,x.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",x:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var E,Ot,$t,H,wt,bt,ht,C,J,x,Q=N(()=>{"use strict";E=require("@stackshift-ui/button"),Ot=require("@stackshift-ui/card"),J=sl(require("react"))});var Kt={};h(Kt,{Features_F:()=>Y,default:()=>Y});function Y({caption:t,title:l,description:i,images:e,primaryButton:n}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(W.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsxs)(H.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,x.jsx)(Al,{caption:t,title:l,description:i}),(0,x.jsx)(Sl,{primaryButton:n})]}),(0,x.jsx)(Il,{images:e})]})})})}function Al({caption:t,title:l,description:i}){return(0,x.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",className:"mb-6",children:l}),i&&(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Sl({primaryButton:t}){return t!=null&&t.label?(0,x.jsx)(W.Container,{maxWidth:448,className:"ml-0",children:(0,x.jsx)(Dt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label})}):null}function Il({images:t}){var i,e,n,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,x.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,x.jsx)(bt.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,x.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,x.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=t[1])==null?void 0:e.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,x.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=t[2])==null?void 0:n.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var Dt,W,H,wt,bt,ht,C,x,Z=N(()=>{"use strict";Dt=require("@stackshift-ui/button")});var Yt={};h(Yt,{Features_G:()=>et,default:()=>et});function et({caption:t,title:l,description:i,images:e,tags:n}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(tt.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,x.jsxs)(tt.Container,{maxWidth:448,children:[(0,x.jsx)(Rl,{caption:t,title:l,description:i}),(0,x.jsx)(zl,{tags:n})]})}),(0,x.jsx)(Ll,{images:e})]})})})}function Rl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",className:"mb-3",children:l}),i&&(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function zl({tags:t}){return t?(0,x.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(l=>(0,x.jsx)(Pl,{item:l}))}):null}function Pl({item:t}){return t?(0,x.jsxs)(H.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,x.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,x.jsx)("path",{fillRule:"evenodd",x:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,x.jsx)("span",{children:t})]}):null}function Ll({images:t}){var i,e,n,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,x.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,x.jsx)(bt.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,x.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,x.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=t[1])==null?void 0:e.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,x.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=t[2])==null?void 0:n.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var tt,H,wt,bt,ht,C,x,nt=N(()=>{"use strict";tt=require("@stackshift-ui/container")});var ll={};h(ll,{Features_H:()=>mt,default:()=>mt});function mt({caption:t,title:l,features:i,images:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(ot.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,x.jsxs)(ot.Container,{maxWidth:448,children:[(0,x.jsx)(_l,{caption:t,title:l}),(0,x.jsx)(Wl,{features:i})]})}),(0,x.jsx)($l,{images:e})]})})})}function _l({caption:t,title:l}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",className:"mb-6",children:l})]})}function Wl({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,x.jsx)("ul",{children:t.map(l=>(0,x.jsx)(Hl,{feature:l},l._key))})}function Hl({feature:t}){return t?(0,x.jsxs)(H.Flex,{as:"li",className:"mb-5",children:[(0,x.jsx)(Ol,{}),(0,x.jsxs)("div",{className:"max-w-xs",children:[(0,x.jsx)(C.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,x.jsx)(C.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Ol(){return(0,x.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,x.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,x:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function $l({images:t}){var l,i,e,n,a,v,p,u,w,b,F,y;return!t||(t==null?void 0:t.length)===0?null:(0,x.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,x.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((l=t==null?void 0:t[0])==null?void 0:l.image)&&(0,x.jsx)(bt.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(n=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?n:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,x.jsx)(bt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(v=t==null?void 0:t[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?u:"features-image-2"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,x.jsx)(bt.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(y=(F=t==null?void 0:t[2])==null?void 0:F.alt)!=null?y:"features-image-3"})]})}var ot,H,wt,bt,ht,C,x,at=N(()=>{"use strict";ot=require("@stackshift-ui/container")});var Ml={};h(Ml,{Features:()=>il,Features_A:()=>L,Features_B:()=>O,Features_C:()=>j,Features_D:()=>B,Features_E:()=>K,Features_F:()=>Y,Features_G:()=>et,Features_H:()=>mt});module.exports=cl(Ml);var f=require("react"),Vl={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(_(),ft))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>($(),Ct))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(M(),Rt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(D(),Ht))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(Q(),Bt))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(Z(),Kt))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),Yt))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(at(),ll)))},jl="Features",il=({data:t})=>{var n,a,v,p,u,w,b,F,y,st,ct,dt,pt,xt,gt,vt;let l=t==null?void 0:t.variant,i=l&&Vl[l],e={caption:(a=(n=t==null?void 0:t.variants)==null?void 0:n.subtitle)!=null?a:void 0,title:(p=(v=t==null?void 0:t.variants)==null?void 0:v.title)!=null?p:void 0,description:(w=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?w:void 0,features:(F=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?F:void 0,tags:(st=(y=t==null?void 0:t.variants)==null?void 0:y.tags)!=null?st:void 0,featuredItems:(dt=(ct=t==null?void 0:t.variants)==null?void 0:ct.featuredItems)!=null?dt:void 0,images:(xt=(pt=t==null?void 0:t.variants)==null?void 0:pt.images)!=null?xt:void 0,primaryButton:(vt=(gt=t==null?void 0:t.variants)==null?void 0:gt.primaryButton)!=null?vt:void 0};return i?(0,x.jsx)(i,{...e}):null};il.displayName=jl;_();$();M();D();Q();Z();nt();at();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
2
+ "use strict";var at=Object.create;var k=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var ct=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,pt=Object.prototype.hasOwnProperty;var f=(l,t)=>()=>(l&&(t=l(l=0)),t);var u=(l,t)=>{for(var i in t)k(l,i,{get:t[i],enumerable:!0})},Nl=(l,t,i,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ct(t))!pt.call(l,n)&&n!==i&&k(l,n,{get:()=>t[n],enumerable:!(e=st(t,n))||e.enumerable});return l};var gt=(l,t,i)=>(i=l!=null?at(dt(l)):{},Nl(t||!l||!l.__esModule?k(i,"default",{value:l,enumerable:!0}):i,l)),xt=l=>Nl(k({},"__esModule",{value:!0}),l);var yl={};u(yl,{Features_A:()=>O,default:()=>O});function O({caption:l,title:t,description:i,features:e}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(R.Container,{maxWidth:1280,children:[(0,g.jsx)(R.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(vt,{caption:l,title:t,description:i})}),(0,g.jsx)(wt,{features:e})]})})}function vt({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}):null,i?(0,g.jsx)(y.Text,{muted:!0,children:i}):null]})}function wt({features:l}){return l?(0,g.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:l==null?void 0:l.map(t=>(0,g.jsx)(bt,{feature:t},t._key))}):null}function bt({feature:l}){var t;return(0,g.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,g.jsx)(ht,{feature:l}):null,l!=null&&l.title?(0,g.jsx)(y.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:l==null?void 0:l.title}):null,l!=null&&l.plainText?(0,g.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText}):null]})}function ht({feature:l}){var t,i,e,n;return(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}):null}var R,fl,Tl,Fl,Cl,y,g,$=f(()=>{"use strict";R=require("@stackshift-ui/container"),fl=require("@stackshift-ui/flex"),Tl=require("@stackshift-ui/heading"),Fl=require("@stackshift-ui/image"),Cl=require("@stackshift-ui/section"),y=require("@stackshift-ui/text"),g=require("react/jsx-runtime")});var Ll={};u(Ll,{Features_B:()=>j,default:()=>j});function j({caption:l,title:t,description:i,features:e,tags:n}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(V.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(V.Container,{maxWidth:448,children:[(0,g.jsx)(ut,{caption:l,title:t,description:i}),(0,g.jsx)(Nt,{tags:n})]})}),(0,g.jsx)(ft,{features:e})]})})})}function ut({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}),i&&(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Nt({tags:l}){return l?(0,g.jsx)("ul",{children:l&&l.map(t=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)(y.Text,{muted:!0,weight:"bold",children:t})]},t))}):null}function ft({features:l}){return l?(0,g.jsx)(fl.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:l&&(l==null?void 0:l.map((t,i)=>{var e,n,c,v;return(0,g.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:g-12"}`,children:(0,g.jsxs)(kl.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((e=t==null?void 0:t.mainImage)==null?void 0:e.image)&&(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(v=(c=t==null?void 0:t.mainImage)==null?void 0:c.alt)!=null?v:`features-image-${i}`})}),(0,g.jsx)(y.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:t==null?void 0:t.title}),(0,g.jsx)(y.Text,{muted:!0,className:"leading-loose break-all",children:t==null?void 0:t.plainText})]})},i)}))}):null}var kl,V,fl,Tl,Fl,Cl,y,g,M=f(()=>{"use strict";kl=require("@stackshift-ui/card"),V=require("@stackshift-ui/container")});var Hl={};u(Hl,{Features_C:()=>D,default:()=>D});function D({caption:l,title:t,description:i,features:e}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(V.Container,{maxWidth:1800,children:[(0,g.jsx)(V.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(Tt,{caption:l,title:t,description:i})}),(0,g.jsx)(Ft,{features:e})]})})}function Tt({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}):null,i?(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Ft({features:l}){return l?(0,g.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(t=>(0,g.jsx)(Ct,{feature:t},t._key))}):null}function Ct({feature:l}){var t,i,e,n;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(I.Card,{className:"flex flex-wrap h-full p-6 bg-white rounded-md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?n:"features-main-image"})}),(0,g.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,g.jsx)(I.CardTitle,{className:"text-xl md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),(0,g.jsx)(y.Text,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}var I,V,fl,Tl,Fl,Cl,y,g,E=f(()=>{"use strict";I=require("@stackshift-ui/card")});var Vl={};u(Vl,{Features_D:()=>K,default:()=>K});function K({caption:l,title:t,description:i,features:e}){return(0,g.jsx)($l.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(V.Container,{maxWidth:1280,children:[(0,g.jsx)(V.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,g.jsx)(yt,{caption:l,title:t,description:i})}),(0,g.jsx)(kt,{features:e})]})})}function yt({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}):null,i?(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function kt({features:l}){return l?(0,g.jsx)(fl.Flex,{wrap:!0,justify:"center",align:"stretch",children:l.map(t=>(0,g.jsx)(At,{feature:t},t._key))}):null}function At({feature:l}){var t,i,e,n;return(0,g.jsx)("div",{className:"w-full px-4 g-8 lg:mb-0 lg:w-1/3",children:(0,g.jsxs)(P.Card,{className:"h-full px-6 py-12 text-center bg-white rounded-md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}),(0,g.jsx)(P.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:l==null?void 0:l.title}),(0,g.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText})]})})}var P,V,fl,Tl,Fl,$l,y,g,Q=f(()=>{"use strict";P=require("@stackshift-ui/card")});var ql={};u(ql,{Features_E:()=>Z,default:()=>Z});function Z({featuredItems:l}){let[t,i]=Y.default.useState(0);return(0,g.jsx)(Cl.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(V.Container,{maxWidth:1280,children:(0,g.jsx)(fl.Flex,{className:"relative",children:(0,g.jsx)(Lt,{featuredItems:l,slider:n=>{l&&(n==="next"?t!==l.length-1?i(c=>c+1):i(0):t>=1?i(c=>c-1):i(l.length-1))},children:(0,g.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,g.jsx)(St,{featuredItems:l,item:t}),(0,g.jsx)(It,{featuredItems:l,item:t})]})})})})})}function St({featuredItems:l,item:t}){var i,e,n,c,v,p,w;return(e=(i=l==null?void 0:l[t])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,g.jsx)(Fl.Image,{className:"relative object-cover rounded-md",src:`${(c=(n=l==null?void 0:l[t])==null?void 0:n.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(w=(p=(v=l==null?void 0:l[t])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?w:`features-image-${t}`})}):null}function It({featuredItems:l,item:t}){var i,e,n,c,v,p;return l?(0,g.jsxs)(z.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:g-12 md:p-10 lg:g-12 lg:p-10 xl:absolute xl:mx-0 xl:g-20 xl:py-24 rounded-md",children:[(0,g.jsx)(y.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=l==null?void 0:l[t])==null?void 0:i.subtitle)&&((e=l==null?void 0:l[t])==null?void 0:e.subtitle)}),(0,g.jsx)(z.CardTitle,{children:(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:((n=l==null?void 0:l[t])==null?void 0:n.title)&&((c=l==null?void 0:l[t])==null?void 0:c.title)})}),(0,g.jsx)(y.Text,{muted:!0,className:"text-xs leading-loose text-center md:g-5 md:text-sm lg:g-5 lg:text-sm",children:((v=l==null?void 0:l[t])==null?void 0:v.description)&&((p=l==null?void 0:l[t])==null?void 0:p.description)})]}):null}function Lt({featuredItems:l,children:t,slider:i}){return l?(0,g.jsxs)(Y.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 z-40 items-center g-20 -mx-3 order-0 md:g-40 lg:g-60 xl:-mx-6 xl:flex",children:(l==null?void 0:l.length)>=2&&(0,g.jsx)(U.Button,{"aria-label":"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),t,(0,g.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 g-20 -mx-3 md:g-40 lg:g-60 xl:-mx-6 xl:flex",children:(l==null?void 0:l.length)>=2&&(0,g.jsx)(U.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var U,z,V,fl,Tl,Fl,Cl,y,Y,g,B=f(()=>{"use strict";U=require("@stackshift-ui/button"),z=require("@stackshift-ui/card"),Y=gt(require("react"))});var Zl={};u(Zl,{Features_F:()=>il,default:()=>il});function il({caption:l,title:t,description:i,images:e,primaryButton:n}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(V.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(fl.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(Pt,{caption:l,title:t,description:i}),(0,g.jsx)(zt,{primaryButton:n})]}),(0,g.jsx)(_t,{images:e})]})})})}function Pt({caption:l,title:t,description:i}){return(0,g.jsxs)(V.Container,{maxWidth:448,className:"ml-0",children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"font-bold text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",className:"mb-6",children:t}),i&&(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function zt({primaryButton:l}){var i,e,n;if(!(l!=null&&l.label))return null;let t=(0,Yl.buildSanityLink)({type:(i=l==null?void 0:l.type)!=null?i:"",internalLink:(e=l==null?void 0:l.internalLink)!=null?e:"",externalLink:(n=l==null?void 0:l.externalLink)!=null?n:""});return(0,g.jsx)(V.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)(Jl.Button,{"aria-label":l==null?void 0:l.label,asChild:!0,children:(0,g.jsx)(Ul.Link,{href:t.href,target:t.target,rel:t.rel,children:l==null?void 0:l.label})})})}function _t({images:l}){var i,e,n,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,p,w,b,h){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,g.jsx)(Fl.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=l[1])==null?void 0:e.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=l[2])==null?void 0:n.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var Jl,V,fl,Tl,Fl,Ul,Cl,Yl,y,g,el=f(()=>{"use strict";Jl=require("@stackshift-ui/button"),Ul=require("@stackshift-ui/link"),Yl=require("@stackshift-ui/system")});var it={};u(it,{Features_G:()=>ml,default:()=>ml});function ml({caption:l,title:t,description:i,images:e,tags:n}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(nl.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(nl.Container,{maxWidth:448,children:[(0,g.jsx)(Wt,{caption:l,title:t,description:i}),(0,g.jsx)(Ht,{tags:n})]})}),(0,g.jsx)(Ot,{images:e})]})})})}function Wt({caption:l,title:t,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",className:"mb-3",children:t}),i&&(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Ht({tags:l}){return l?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:l.map(t=>(0,g.jsx)(Rt,{item:t}))}):null}function Rt({item:l}){return l?(0,g.jsxs)(fl.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)("span",{children:l})]}):null}function Ot({images:l}){var i,e,n,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,p,w,b,h){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,g.jsx)(Fl.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=l[1])==null?void 0:e.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=l[2])==null?void 0:n.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var nl,fl,Tl,Fl,Cl,y,g,al=f(()=>{"use strict";nl=require("@stackshift-ui/container")});var ot={};u(ot,{Features_H:()=>dl,default:()=>dl});function dl({caption:l,title:t,features:i,images:e}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(sl.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(sl.Container,{maxWidth:448,children:[(0,g.jsx)($t,{caption:l,title:t}),(0,g.jsx)(Vt,{features:i})]})}),(0,g.jsx)(Gt,{images:e})]})})})}function $t({caption:l,title:t}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",className:"mb-6",children:t})]})}function Vt({features:l}){return!l||(l==null?void 0:l.length)<=0?null:(0,g.jsx)("ul",{children:l.map(t=>(0,g.jsx)(jt,{feature:t},t._key))})}function jt({feature:l}){return l?(0,g.jsxs)(fl.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Mt,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(y.Text,{weight:"bold",className:"text-gray-500",children:l==null?void 0:l.title}),(0,g.jsx)(y.Text,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})]}):null}function Mt(){return(0,g.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,g:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Gt({images:l}){var t,i,e,n,c,v,p,w,b,h,F,C;return!l||(l==null?void 0:l.length)===0?null:(0,g.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((t=l==null?void 0:l[0])==null?void 0:t.image)&&(0,g.jsx)(Fl.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=l==null?void 0:l[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(n=(e=l==null?void 0:l[0])==null?void 0:e.alt)!=null?n:"features-image-1"}),((c=l==null?void 0:l[1])==null?void 0:c.image)&&(0,g.jsx)(Fl.Image,{className:"object-cover g-6 overflow-hidden rounded-md",src:`${(v=l==null?void 0:l[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(p=l==null?void 0:l[1])==null?void 0:p.alt)!=null?w:"features-image-2"})]}),((b=l==null?void 0:l[2])==null?void 0:b.image)&&(0,g.jsx)(Fl.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(h=l==null?void 0:l[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(F=l==null?void 0:l[2])==null?void 0:F.alt)!=null?C:"features-image-3"})]})}var sl,fl,Tl,Fl,Cl,y,g,pl=f(()=>{"use strict";sl=require("@stackshift-ui/container")});var qt={};u(qt,{Features:()=>rt,Features_A:()=>O,Features_B:()=>j,Features_C:()=>D,Features_D:()=>K,Features_E:()=>Z,Features_F:()=>il,Features_G:()=>ml,Features_H:()=>dl});module.exports=xt(qt);var N=require("react"),Dt={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>($(),yl))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(M(),Ll))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(E(),Hl))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Q(),Vl))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(B(),ql))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(el(),Zl))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(al(),it))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(pl(),ot)))},Et="Features",rt=({data:l})=>{var n,c,v,p,w,b,h,F,C,gl,xl,vl,wl,bl,hl,ul;let t=l==null?void 0:l.variant,i=t&&Dt[t],e={caption:(c=(n=l==null?void 0:l.variants)==null?void 0:n.subtitle)!=null?c:void 0,title:(p=(v=l==null?void 0:l.variants)==null?void 0:v.title)!=null?p:void 0,description:(b=(w=l==null?void 0:l.variants)==null?void 0:w.description)!=null?b:void 0,features:(F=(h=l==null?void 0:l.variants)==null?void 0:h.arrayOfImageTitleAndText)!=null?F:void 0,tags:(gl=(C=l==null?void 0:l.variants)==null?void 0:C.tags)!=null?gl:void 0,featuredItems:(vl=(xl=l==null?void 0:l.variants)==null?void 0:xl.featuredItems)!=null?vl:void 0,images:(bl=(wl=l==null?void 0:l.variants)==null?void 0:wl.images)!=null?bl:void 0,primaryButton:(ul=(hl=l==null?void 0:l.variants)==null?void 0:hl.primaryButton)!=null?ul:void 0};return i?(0,g.jsx)(i,{...e}):null};rt.displayName=Et;$();M();E();Q();B();el();al();pl();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a as p}from"./chunk-6BDXLZOT.mjs";import{a as x}from"./chunk-7ZZLNFYE.mjs";import{a as c}from"./chunk-NMRXZVBL.mjs";import{a as o}from"./chunk-XY27OBDB.mjs";import{a as r}from"./chunk-24O5VU3C.mjs";import{a as e}from"./chunk-3S2KSCPX.mjs";import{a as t}from"./chunk-5AMMO42A.mjs";import{a as f}from"./chunk-7B6FI3PR.mjs";import{a as m}from"./chunk-M4ZCOWFN.mjs";export{c as Features,o as Features_A,r as Features_B,e as Features_C,t as Features_D,f as Features_E,m as Features_F,p as Features_G,x as Features_H};
2
+ "use strict";import{a as p}from"./chunk-MJRSGLBB.mjs";import{a as x}from"./chunk-7ZZLNFYE.mjs";import{a as c}from"./chunk-NGEHDE36.mjs";import{a as o}from"./chunk-4EWXUBOB.mjs";import{a as r}from"./chunk-WMAYXQDK.mjs";import{a as e}from"./chunk-VEID3YEG.mjs";import{a as t}from"./chunk-URBAFHHX.mjs";import{a as f}from"./chunk-2ZMZT34T.mjs";import{a as m}from"./chunk-QAMGECN2.mjs";export{c as Features,o as Features_A,r as Features_B,e as Features_C,t as Features_D,f as Features_E,m as Features_F,p as Features_G,x as Features_H};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/features",
3
3
  "description": "",
4
- "version": "6.0.13",
4
+ "version": "7.0.0-beta.1",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -29,28 +29,29 @@
29
29
  "typescript": "^5.6.2",
30
30
  "vite-tsconfig-paths": "^5.0.1",
31
31
  "vitest": "^2.1.1",
32
- "@stackshift-ui/eslint-config": "6.0.10",
33
- "@stackshift-ui/typescript-config": "6.0.10"
32
+ "@stackshift-ui/typescript-config": "6.0.10",
33
+ "@stackshift-ui/eslint-config": "6.0.10"
34
34
  },
35
35
  "dependencies": {
36
36
  "classnames": "^2.5.1",
37
- "@stackshift-ui/scripts": "6.0.10",
38
- "@stackshift-ui/text": "6.0.11",
39
- "@stackshift-ui/heading": "6.0.11",
40
- "@stackshift-ui/system": "6.0.11",
41
- "@stackshift-ui/image": "6.0.11",
42
- "@stackshift-ui/card": "6.0.11",
43
- "@stackshift-ui/button": "6.0.11",
44
- "@stackshift-ui/section": "6.0.11",
45
- "@stackshift-ui/container": "6.0.11",
46
- "@stackshift-ui/flex": "6.0.11"
37
+ "@stackshift-ui/scripts": "6.1.0-beta.0",
38
+ "@stackshift-ui/heading": "7.0.0-beta.0",
39
+ "@stackshift-ui/text": "7.0.0-beta.0",
40
+ "@stackshift-ui/image": "6.1.0-beta.0",
41
+ "@stackshift-ui/system": "6.1.0-beta.0",
42
+ "@stackshift-ui/button": "6.1.0-beta.0",
43
+ "@stackshift-ui/card": "7.0.0-beta.0",
44
+ "@stackshift-ui/section": "7.0.0-beta.0",
45
+ "@stackshift-ui/container": "7.0.0-beta.0",
46
+ "@stackshift-ui/flex": "7.0.0-beta.0",
47
+ "@stackshift-ui/link": "6.0.12-beta.0"
47
48
  },
48
49
  "peerDependencies": {
49
50
  "@types/react": "16.8 - 19",
50
51
  "next": "10 - 14",
51
52
  "react": "16.8 - 19",
52
53
  "react-dom": "16.8 - 19",
53
- "@stackshift-ui/system": ">=6.0.11"
54
+ "@stackshift-ui/system": ">=6.1.0-beta.0"
54
55
  },
55
56
  "peerDependenciesMeta": {
56
57
  "next": {
@@ -7,7 +7,7 @@ describe.concurrent("features", () => {
7
7
 
8
8
  test.skip("Dummy test - test if renders without errors", ({ expect }) => {
9
9
  const clx = "my-class";
10
- render(<Features />);
11
- expect(screen.getByTestId("{ kebabCase name }}").classList).toContain(clx);
10
+ render(<Features data-testid="features" />);
11
+ expect(screen.getByTestId("features").classList).toContain(clx);
12
12
  });
13
13
  });
@@ -4,7 +4,6 @@ import { Heading } from "@stackshift-ui/heading";
4
4
  import { Image } from "@stackshift-ui/image";
5
5
  import { Section } from "@stackshift-ui/section";
6
6
  import { Text } from "@stackshift-ui/text";
7
- import React from "react";
8
7
  import { FeaturesProps } from ".";
9
8
  import { ArrayOfImageTitleAndText, Images } from "./types";
10
9
 
@@ -40,7 +39,7 @@ function CaptionAndTitleText({
40
39
  description?: string;
41
40
  }) {
42
41
  return (
43
- <div className="flex flex-col gap-3">
42
+ <Flex direction="col" gap={3} align="center">
44
43
  {caption ? (
45
44
  <Text weight="bold" className="text-secondary">
46
45
  {caption}
@@ -48,7 +47,7 @@ function CaptionAndTitleText({
48
47
  ) : null}
49
48
  {title ? <Heading fontSize="3xl">{title}</Heading> : null}
50
49
  {description ? <Text muted>{description}</Text> : null}
51
- </div>
50
+ </Flex>
52
51
  );
53
52
  }
54
53
 
@@ -37,7 +37,7 @@ function FeatureInfo({
37
37
  description?: string;
38
38
  }) {
39
39
  return (
40
- <div className="flex flex-col gap-3">
40
+ <Flex direction="col" gap={3}>
41
41
  {caption && (
42
42
  <Text weight="bold" className="text-secondary">
43
43
  {caption}
@@ -49,7 +49,7 @@ function FeatureInfo({
49
49
  {description}
50
50
  </Text>
51
51
  )}
52
- </div>
52
+ </Flex>
53
53
  );
54
54
  }
55
55
 
@@ -91,7 +91,7 @@ function FeaturesLists({ features }: { features?: ArrayOfImageTitleAndText[] })
91
91
  <div
92
92
  className={`w-full px-4 mb-8 md:w-1/2 ${index % 2 === 0 ? `lg:mb-0` : "lg:mt-12"}`}
93
93
  key={index}>
94
- <Card className="py-6 pl-6 pr-4 mb-8 bg-white" borderRadius="md">
94
+ <Card className="py-6 pl-6 pr-4 mb-8 bg-white rounded-md">
95
95
  {feature?.mainImage?.image && (
96
96
  <span className="inline-block p-3 mb-4 rounded-lg bg-secondary/50">
97
97
  <Image
@@ -1,11 +1,10 @@
1
- import { Card } from "@stackshift-ui/card";
1
+ import { Card, CardTitle } from "@stackshift-ui/card";
2
2
  import { Container } from "@stackshift-ui/container";
3
3
  import { Flex } from "@stackshift-ui/flex";
4
4
  import { Heading } from "@stackshift-ui/heading";
5
5
  import { Image } from "@stackshift-ui/image";
6
6
  import { Section } from "@stackshift-ui/section";
7
7
  import { Text } from "@stackshift-ui/text";
8
- import React from "react";
9
8
  import { FeaturesProps } from ".";
10
9
  import { ArrayOfImageTitleAndText } from "./types";
11
10
 
@@ -32,7 +31,7 @@ function CaptionAndTitleSection({
32
31
  description?: string;
33
32
  }) {
34
33
  return (
35
- <div className="flex flex-col gap-3">
34
+ <Flex direction="col" gap={3} align="center">
36
35
  {caption ? (
37
36
  <Text weight="bold" className="text-secondary">
38
37
  {caption}
@@ -44,7 +43,7 @@ function CaptionAndTitleSection({
44
43
  {description}
45
44
  </Text>
46
45
  ) : null}
47
- </div>
46
+ </Flex>
48
47
  );
49
48
  }
50
49
 
@@ -63,7 +62,7 @@ function FeatureItems({ features }: { features?: ArrayOfImageTitleAndText[] }) {
63
62
  function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
64
63
  return (
65
64
  <div className="w-full p-3">
66
- <Card className="flex flex-wrap h-full p-6 bg-white" borderRadius="md">
65
+ <Card className="flex flex-wrap h-full p-6 bg-white rounded-md">
67
66
  <div className="self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0">
68
67
  {feature?.mainImage?.image && (
69
68
  <Image
@@ -76,9 +75,9 @@ function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
76
75
  )}
77
76
  </div>
78
77
  <div className="w-full lg:w-2/3 flex flex-col gap-2">
79
- <Text weight="bold" className="text-xl md:text-2xl break-all">
78
+ <CardTitle className="text-xl md:text-2xl break-all font-bold">
80
79
  {feature?.title}
81
- </Text>
80
+ </CardTitle>
82
81
  <Text muted className="break-all">
83
82
  {feature?.plainText}
84
83
  </Text>
@@ -1,11 +1,10 @@
1
- import { Card } from "@stackshift-ui/card";
1
+ import { Card, CardTitle } from "@stackshift-ui/card";
2
2
  import { Container } from "@stackshift-ui/container";
3
3
  import { Flex } from "@stackshift-ui/flex";
4
4
  import { Heading } from "@stackshift-ui/heading";
5
5
  import { Image } from "@stackshift-ui/image";
6
6
  import { Section } from "@stackshift-ui/section";
7
7
  import { Text } from "@stackshift-ui/text";
8
- import React from "react";
9
8
  import { FeaturesProps } from ".";
10
9
  import { ArrayOfImageTitleAndText } from "./types";
11
10
 
@@ -13,7 +12,7 @@ export default function Features_D({ caption, title, description, features }: Fe
13
12
  return (
14
13
  <Section className="py-20 bg-background">
15
14
  <Container maxWidth={1280}>
16
- <Container maxWidth={448} className="mb-8 text-center">
15
+ <Container maxWidth={640} className="mb-8 text-center">
17
16
  <CaptionAndTitleSection caption={caption} title={title} description={description} />
18
17
  </Container>
19
18
  <FeatureItems features={features} />
@@ -32,7 +31,7 @@ function CaptionAndTitleSection({
32
31
  description?: string;
33
32
  }) {
34
33
  return (
35
- <div className="flex flex-col gap-3">
34
+ <Flex direction="col" gap={3} align="center">
36
35
  {caption ? (
37
36
  <Text weight="bold" className="text-secondary">
38
37
  {caption}
@@ -44,7 +43,7 @@ function CaptionAndTitleSection({
44
43
  {description}
45
44
  </Text>
46
45
  ) : null}
47
- </div>
46
+ </Flex>
48
47
  );
49
48
  }
50
49
 
@@ -63,7 +62,7 @@ function FeatureItems({ features }: { features?: ArrayOfImageTitleAndText[] }) {
63
62
  function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
64
63
  return (
65
64
  <div className="w-full px-4 mt-8 lg:mb-0 lg:w-1/3">
66
- <Card className="h-full px-6 py-12 text-center bg-white" borderRadius="md">
65
+ <Card className="h-full px-6 py-12 text-center bg-white rounded-md">
67
66
  <div className="self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5">
68
67
  {feature?.mainImage?.image && (
69
68
  <Image
@@ -75,9 +74,9 @@ function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
75
74
  />
76
75
  )}
77
76
  </div>
78
- <Text fontSize="xl" weight="bold" className="px-8 mb-4 text-gray-500">
77
+ <CardTitle className="px-8 mb-4 text-gray-500 font-bold text-xl">
79
78
  {feature?.title}
80
- </Text>
79
+ </CardTitle>
81
80
  <Text muted>{feature?.plainText}</Text>
82
81
  </Card>
83
82
  </div>
@@ -1,5 +1,5 @@
1
1
  import { Button } from "@stackshift-ui/button";
2
- import { Card } from "@stackshift-ui/card";
2
+ import { Card, CardTitle } from "@stackshift-ui/card";
3
3
  import { Container } from "@stackshift-ui/container";
4
4
  import { Flex } from "@stackshift-ui/flex";
5
5
  import { Heading } from "@stackshift-ui/heading";
@@ -62,15 +62,15 @@ function FeaturesInfo({ featuredItems, item }: { featuredItems?: FeaturedItem[];
62
62
  if (!featuredItems) return null;
63
63
 
64
64
  return (
65
- <Card
66
- className="top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24"
67
- borderRadius="md">
65
+ <Card className="top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24 rounded-md">
68
66
  <Text weight="bold" className="text-xs lg:text-md md:text-sm xl:text-lg text-secondary">
69
67
  {featuredItems?.[item]?.subtitle && featuredItems?.[item]?.subtitle}
70
68
  </Text>
71
- <Heading fontSize="3xl">
72
- {featuredItems?.[item]?.title && featuredItems?.[item]?.title}
73
- </Heading>
69
+ <CardTitle>
70
+ <Heading fontSize="3xl">
71
+ {featuredItems?.[item]?.title && featuredItems?.[item]?.title}
72
+ </Heading>
73
+ </CardTitle>
74
74
  <Text
75
75
  muted
76
76
  className="text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm">
@@ -96,8 +96,7 @@ function SliderControls({
96
96
  <div className="absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex">
97
97
  {featuredItems?.length >= 2 && (
98
98
  <Button
99
- as="button"
100
- ariaLabel="Show Previous Feature"
99
+ aria-label="Show Previous Feature"
101
100
  className="z-10 p-4 text-white "
102
101
  onClick={() => slider("prev")}>
103
102
  <svg
@@ -119,8 +118,7 @@ function SliderControls({
119
118
  <div className="absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex">
120
119
  {featuredItems?.length >= 2 && (
121
120
  <Button
122
- as="button"
123
- ariaLabel="Show Next Feature"
121
+ aria-label="Show Next Feature"
124
122
  className="p-4 text-white "
125
123
  onClick={() => slider("next")}>
126
124
  <svg
@@ -3,7 +3,9 @@ import { Container } from "@stackshift-ui/container";
3
3
  import { Flex } from "@stackshift-ui/flex";
4
4
  import { Heading } from "@stackshift-ui/heading";
5
5
  import { Image } from "@stackshift-ui/image";
6
+ import { Link } from "@stackshift-ui/link";
6
7
  import { Section } from "@stackshift-ui/section";
8
+ import { buildSanityLink } from "@stackshift-ui/system";
7
9
  import { Text } from "@stackshift-ui/text";
8
10
  import { FeaturesProps } from ".";
9
11
  import { LabeledRoute } from "./types";
@@ -63,10 +65,18 @@ function FeaturesInfo({
63
65
  function CTAButton({ primaryButton }: { primaryButton?: LabeledRoute }) {
64
66
  if (!primaryButton?.label) return null;
65
67
 
68
+ const link = buildSanityLink({
69
+ type: primaryButton?.type ?? "",
70
+ internalLink: primaryButton?.internalLink ?? "",
71
+ externalLink: primaryButton?.externalLink ?? "",
72
+ });
73
+
66
74
  return (
67
75
  <Container maxWidth={448} className="ml-0">
68
- <Button as="link" link={primaryButton} ariaLabel={primaryButton?.label}>
69
- {primaryButton?.label}
76
+ <Button aria-label={primaryButton?.label} asChild>
77
+ <Link href={link.href} target={link.target} rel={link.rel}>
78
+ {primaryButton?.label}
79
+ </Link>
70
80
  </Button>
71
81
  </Container>
72
82
  );
@@ -73,7 +73,7 @@ function FeatureItem({ item }: { item?: string }) {
73
73
  return (
74
74
  <Flex as="li" align="center" className="mb-2 ">
75
75
  <svg
76
- className="w-5 h-5 mr-2 text-primary-foreground"
76
+ className="w-5 h-5 mr-2 text-primary"
77
77
  xmlns="http://www.w3.org/2000/svg"
78
78
  viewBox="0 0 20 20"
79
79
  fill="currentColor">
@@ -1 +0,0 @@
1
- import{Card as c}from"@stackshift-ui/card";import{Container as d}from"@stackshift-ui/container";import{Flex as g}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as b}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import{jsx as i,jsxs as t}from"react/jsx-runtime";function w({caption:m,title:l,description:a,features:n,tags:s}){return i(b,{className:"py-20 bg-background",children:i(d,{maxWidth:1280,children:t(g,{wrap:!0,align:"center",children:[i("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:t(d,{maxWidth:448,children:[i(N,{caption:m,title:l,description:a}),i(h,{tags:s})]})}),i(v,{features:n})]})})})}function N({caption:m,title:l,description:a}){return t("div",{className:"flex flex-col gap-3",children:[m&&i(o,{weight:"bold",className:"text-secondary",children:m}),l&&i(p,{fontSize:"3xl",children:l}),a&&i(o,{muted:!0,className:"mb-6 leading-loose",children:a})]})}function h({tags:m}){return m?i("ul",{children:m&&m.map(l=>t("li",{className:"flex mb-4",children:[i("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:i("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),i(o,{muted:!0,weight:"bold",children:l})]},l))}):null}function v({features:m}){return m?i(g,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,a)=>{var n,s,e,r;return i("div",{className:`w-full px-4 mb-8 md:w-1/2 ${a%2===0?"lg:mb-0":"lg:mt-12"}`,children:t(c,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((n=l==null?void 0:l.mainImage)==null?void 0:n.image)&&i("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:i(x,{className:"object-scale-down",src:`${(s=l==null?void 0:l.mainImage)==null?void 0:s.image}`,width:40,height:40,alt:(r=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?r:`features-image-${a}`})}),i(o,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),i(o,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},a)}))}):null}export{w as a};
@@ -1 +0,0 @@
1
- import{Card as s}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Heading as d}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as g}from"@stackshift-ui/section";import{Text as a}from"@stackshift-ui/text";import{jsx as l,jsxs as n}from"react/jsx-runtime";function p({caption:i,title:m,description:t,features:e}){return l(g,{className:"py-20 bg-background",children:n(r,{maxWidth:1800,children:[l(r,{maxWidth:640,className:"mb-16 text-center",children:l(x,{caption:i,title:m,description:t})}),l(b,{features:e})]})})}function x({caption:i,title:m,description:t}){return n("div",{className:"flex flex-col gap-3",children:[i?l(a,{weight:"bold",className:"text-secondary",children:i}):null,m?l(d,{fontSize:"3xl",children:m}):null,t?l(a,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function b({features:i}){return i?l("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:i.map(m=>l(N,{feature:m},m._key))}):null}function N({feature:i}){var m,t,e,o;return l("div",{className:"w-full p-3",children:n(s,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[l("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((m=i==null?void 0:i.mainImage)==null?void 0:m.image)&&l(c,{className:"object-scale-down",src:`${(t=i==null?void 0:i.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(o=(e=i==null?void 0:i.mainImage)==null?void 0:e.alt)!=null?o:"features-main-image"})}),n("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[l(a,{weight:"bold",className:"text-xl md:text-2xl break-all",children:i==null?void 0:i.title}),l(a,{muted:!0,className:"break-all",children:i==null?void 0:i.plainText})]})]})})}export{p as a};
@@ -1 +0,0 @@
1
- import{Card as s}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as c}from"@stackshift-ui/heading";import{Image as g}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import{jsx as i,jsxs as l}from"react/jsx-runtime";function x({caption:t,title:m,description:e,features:n}){return i(p,{className:"py-20 bg-background",children:l(r,{maxWidth:1280,children:[i(r,{maxWidth:448,className:"mb-8 text-center",children:i(b,{caption:t,title:m,description:e})}),i(T,{features:n})]})})}function b({caption:t,title:m,description:e}){return l("div",{className:"flex flex-col gap-3",children:[t?i(o,{weight:"bold",className:"text-secondary",children:t}):null,m?i(c,{fontSize:"3xl",children:m}):null,e?i(o,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function T({features:t}){return t?i(d,{wrap:!0,justify:"center",align:"stretch",children:t.map(m=>i(y,{feature:m},m._key))}):null}function y({feature:t}){var m,e,n,a;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:l(s,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[i("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&i(g,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(a=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?a:"features-image-"})}),i(o,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),i(o,{muted:!0,children:t==null?void 0:t.plainText})]})})}export{x as a};
@@ -1 +0,0 @@
1
- import{Container as s}from"@stackshift-ui/container";import{Flex as u}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as d}from"@stackshift-ui/text";import{jsx as l,jsxs as a}from"react/jsx-runtime";function h({caption:e,title:t,description:r,images:i,tags:n}){return l(w,{className:"py-20 bg-background",children:l(s,{maxWidth:1280,children:a(u,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(s,{maxWidth:448,children:[l(b,{caption:e,title:t,description:r}),l(N,{tags:n})]})}),l(y,{images:i})]})})})}function b({caption:e,title:t,description:r}){return a("div",{className:"flex flex-col gap-3",children:[e&&l(d,{weight:"bold",className:"text-secondary",children:e}),t&&l(v,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(d,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function N({tags:e}){return e?l("ul",{className:"font-bold text-gray-500",children:e.map(t=>l(F,{item:t}))}):null}function F({item:e}){return e?a(u,{as:"li",align:"center",className:"mb-2 ",children:[l("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:l("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),l("span",{children:e})]}):null}function y({images:e}){var r,i,n,o;if(!e||(e==null?void 0:e.length)===0)return null;function t(f,m,c,g,p){return l("div",{className:`overflow-hidden rounded-md ${p}`,children:l(x,{className:"object-cover w-full h-full",src:f,sizes:"100vw",width:c,height:g,alt:m!=null?m:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=e[2])==null?void 0:n.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((o=e[3])==null?void 0:o.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{h as a};
@@ -1 +0,0 @@
1
- import{Button as p}from"@stackshift-ui/button";import{Card as w}from"@stackshift-ui/card";import{Container as v}from"@stackshift-ui/container";import{Flex as b}from"@stackshift-ui/flex";import{Heading as e}from"@stackshift-ui/heading";import{Image as N}from"@stackshift-ui/image";import{Section as F}from"@stackshift-ui/section";import{Text as s}from"@stackshift-ui/text";import h from"react";import{jsx as l,jsxs as c}from"react/jsx-runtime";function d({featuredItems:o}){let[i,n]=h.useState(0);return l(F,{className:"py-20 overflow-x-auto bg-background",children:l(v,{maxWidth:1280,children:l(b,{className:"relative",children:l(S,{featuredItems:o,slider:r=>{o&&(r==="next"?i!==o.length-1?n(t=>t+1):n(0):i>=1?n(t=>t-1):n(o.length-1))},children:c("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[l(k,{featuredItems:o,item:i}),l(C,{featuredItems:o,item:i})]})})})})})}function k({featuredItems:o,item:i}){var n,x,r,t,m,a,g;return(x=(n=o==null?void 0:o[i])==null?void 0:n.mainImage)!=null&&x.image?l("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:l(N,{className:"relative object-cover rounded-md",src:`${(t=(r=o==null?void 0:o[i])==null?void 0:r.mainImage)==null?void 0:t.image}`,sizes:"100vw",width:896,height:575,alt:(g=(a=(m=o==null?void 0:o[i])==null?void 0:m.mainImage)==null?void 0:a.alt)!=null?g:`features-image-${i}`})}):null}function C({featuredItems:o,item:i}){var n,x,r,t,m,a;return o?c(w,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[l(s,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[i])==null?void 0:n.subtitle)&&((x=o==null?void 0:o[i])==null?void 0:x.subtitle)}),l(e,{fontSize:"3xl",children:((r=o==null?void 0:o[i])==null?void 0:r.title)&&((t=o==null?void 0:o[i])==null?void 0:t.title)}),l(s,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[i])==null?void 0:m.description)&&((a=o==null?void 0:o[i])==null?void 0:a.description)})]}):null}function S({featuredItems:o,children:i,slider:n}){return o?c(h.Fragment,{children:[l("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{as:"button",ariaLabel:"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),i,l("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}export{d as a};
@@ -1 +0,0 @@
1
- import{Button as x}from"@stackshift-ui/button";import{Container as d}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as h}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as f}from"@stackshift-ui/text";import{jsx as l,jsxs as t}from"react/jsx-runtime";function N({caption:e,title:a,description:i,images:n,primaryButton:o}){return l(w,{className:"py-20 bg-background",children:l(d,{maxWidth:1280,children:t(s,{wrap:!0,align:"center",children:[t(s,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[l(p,{caption:e,title:a,description:i}),l(F,{primaryButton:o})]}),l(C,{images:n})]})})})}function p({caption:e,title:a,description:i}){return t(d,{maxWidth:448,className:"ml-0",children:[e&&l(f,{weight:"bold",className:"font-bold text-secondary",children:e}),a&&l(v,{fontSize:"3xl",className:"mb-6",children:a}),i&&l(f,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function F({primaryButton:e}){return e!=null&&e.label?l(d,{maxWidth:448,className:"ml-0",children:l(x,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label})}):null}function C({images:e}){var i,n,o,m;if(!e||(e==null?void 0:e.length)===0)return null;function a(c,r,g,u,b){return l("div",{className:`overflow-hidden rounded-md ${b}`,children:l(h,{className:"object-cover w-full h-full",src:c,sizes:"100vw",width:g,height:u,alt:r!=null?r:"feature-image"})})}return t("div",{className:"w-full lg:w-1/2",children:[t("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=e[0])==null?void 0:i.image)&&a(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&a(e[1].image,e[1].alt,166,128,"")})]}),t("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((o=e[2])==null?void 0:o.image)&&a(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((m=e[3])==null?void 0:m.image)&&a(e[3].image,e[3].alt,356,192,"")})]})]})}export{N as a};
@@ -1 +0,0 @@
1
- import{Container as a}from"@stackshift-ui/container";import{Heading as g}from"@stackshift-ui/heading";import{Image as e}from"@stackshift-ui/image";import{Section as c}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import{jsx as n,jsxs as s}from"react/jsx-runtime";function d({caption:i,title:t,description:m,features:l}){return n(c,{className:"py-20 bg-background",children:s(a,{maxWidth:1280,children:[n(a,{maxWidth:640,className:"mb-16 text-center",children:n(p,{caption:i,title:t,description:m})}),n(x,{features:l})]})})}function p({caption:i,title:t,description:m}){return s("div",{className:"flex flex-col gap-3",children:[i?n(o,{weight:"bold",className:"text-secondary",children:i}):null,t?n(g,{fontSize:"3xl",children:t}):null,m?n(o,{muted:!0,children:m}):null]})}function x({features:i}){return i?n("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:i==null?void 0:i.map(t=>n(I,{feature:t},t._key))}):null}function I({feature:i}){var t;return s("div",{className:"text-center sm:text-start p-3",children:[(t=i==null?void 0:i.mainImage)!=null&&t.image?n(T,{feature:i}):null,i!=null&&i.title?n(o,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:i==null?void 0:i.title}):null,i!=null&&i.plainText?n(o,{muted:!0,children:i==null?void 0:i.plainText}):null]})}function T({feature:i}){var t,m,l,r;return(t=i==null?void 0:i.mainImage)!=null&&t.image?n("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:n(e,{className:"object-scale-down",src:`${(m=i==null?void 0:i.mainImage)==null?void 0:m.image}`,width:40,height:40,alt:(r=(l=i==null?void 0:i.mainImage)==null?void 0:l.alt)!=null?r:"features-image-"})}):null}export{d as a};
File without changes