@stackshift-ui/features 6.0.5-beta.0 → 6.0.5-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.
@@ -0,0 +1 @@
1
+ import{Card as c}from"@stackshift-ui/card";import{Container as g}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as n}from"@stackshift-ui/text";import b from"react";import{jsx as m,jsxs as t}from"react/jsx-runtime";function N({caption:i,title:l,description:o,features:a,tags:s}){return m(w,{className:"py-20 bg-background",children:m(g,{maxWidth:1280,children:t(d,{wrap:!0,align:"center",children:[m("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:t(g,{maxWidth:448,children:[m(h,{caption:i,title:l,description:o}),m(T,{tags:s})]})}),m(v,{features:a})]})})})}function h({caption:i,title:l,description:o}){return t(b.Fragment,{children:[i&&m(n,{weight:"bold",className:"text-secondary",children:i}),l&&m(p,{fontSize:"3xl",children:l}),o&&m(n,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function T({tags:i}){return i?m("ul",{children:i&&i.map(l=>t("li",{className:"flex mb-4",children:[m("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:m("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"})}),m(n,{muted:!0,weight:"bold",children:l})]},l))}):null}function v({features:i}){return i?m(d,{wrap:!0,className:"w-full lg:w-1/2",children:i&&(i==null?void 0:i.map((l,o)=>{var a,s,e,r;return m("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%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:[m("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:((a=l==null?void 0:l.mainImage)==null?void 0:a.image)&&m(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-${o}`})}),m(n,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:l==null?void 0:l.title}),m(n,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})},o)}))}):null}export{N as a};
@@ -0,0 +1 @@
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};
@@ -0,0 +1 @@
1
+ import{lazy as r}from"react";import{jsx as R}from"react/jsx-runtime";var A={variant_a:r(()=>import("./features_a.mjs")),variant_b:r(()=>import("./features_b.mjs")),variant_c:r(()=>import("./features_c.mjs")),variant_d:r(()=>import("./features_d.mjs")),variant_e:r(()=>import("./features_e.mjs")),variant_f:r(()=>import("./features_f.mjs")),variant_g:r(()=>import("./features_g.mjs")),variant_h:r(()=>import("./features_h.mjs"))},x="Features",b=({data:e})=>{var t,s,o,m,p,u,f,g,c,v,l,I,y,a,F,T;let i=e==null?void 0:e.variant,n=i&&A[i],_={caption:(s=(t=e==null?void 0:e.variants)==null?void 0:t.subtitle)!=null?s:void 0,title:(m=(o=e==null?void 0:e.variants)==null?void 0:o.title)!=null?m:void 0,description:(u=(p=e==null?void 0:e.variants)==null?void 0:p.description)!=null?u:void 0,features:(g=(f=e==null?void 0:e.variants)==null?void 0:f.arrayOfImageTitleAndText)!=null?g:void 0,tags:(v=(c=e==null?void 0:e.variants)==null?void 0:c.tags)!=null?v:void 0,featuredItems:(I=(l=e==null?void 0:e.variants)==null?void 0:l.featuredItems)!=null?I:void 0,images:(a=(y=e==null?void 0:e.variants)==null?void 0:y.images)!=null?a:void 0,primaryButton:(T=(F=e==null?void 0:e.variants)==null?void 0:F.primaryButton)!=null?T:void 0};return n?R(n,{..._}):null};b.displayName=x;export{b as a};
@@ -1 +1 @@
1
- import{Container as r}from"@stackshift-ui/container";import{Flex as g}from"@stackshift-ui/flex";import{Heading as p}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 s from"react";import{jsx as m,jsxs as a}from"react/jsx-runtime";function x({caption:n,title:i,description:t,features:l}){return m(d,{className:"py-20 bg-background",children:a(r,{maxWidth:1280,children:[m(r,{maxWidth:448,className:"mb-16 text-center ",children:m(I,{caption:n,title:i,description:t})}),m(g,{wrap:!0,children:m(F,{features:l})})]})})}function I({caption:n,title:i,description:t}){return a(s.Fragment,{children:[n?m(o,{weight:"bold",className:"text-secondary",children:n}):null,i?m(p,{fontSize:"3xl",children:i}):null,t?m(o,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function F({features:n}){return n?m(s.Fragment,{children:n==null?void 0:n.map(i=>m(b,{feature:i},i._key))}):null}function b({feature:n}){var i;return a("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(i=n==null?void 0:n.mainImage)!=null&&i.image?m(T,{feature:n}):null,n!=null&&n.title?m(o,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?m(o,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function T({feature:n}){var i,t,l,e;return(i=n==null?void 0:n.mainImage)!=null&&i.image?m("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:m(c,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(e=(l=n==null?void 0:n.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}export{x as a};
1
+ import{Container as s}from"@stackshift-ui/container";import{Flex as g}from"@stackshift-ui/flex";import{Heading as p}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 r from"react";import{jsx as m,jsxs as a}from"react/jsx-runtime";function x({caption:n,title:i,description:t,features:l}){return m(d,{className:"py-20 bg-background",children:a(s,{maxWidth:1280,children:[m(s,{maxWidth:448,className:"mb-16 text-center ",children:m(I,{caption:n,title:i,description:t})}),m(g,{wrap:!0,children:m(F,{features:l})})]})})}function I({caption:n,title:i,description:t}){return a(r.Fragment,{children:[n?m(o,{weight:"bold",className:"text-secondary",children:n}):null,i?m(p,{fontSize:"3xl",children:i}):null,t?m(o,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function F({features:n}){return n?m(r.Fragment,{children:n==null?void 0:n.map(i=>m(b,{feature:i},i._key))}):null}function b({feature:n}){var i;return a("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(i=n==null?void 0:n.mainImage)!=null&&i.image?m(T,{feature:n}):null,n!=null&&n.title?m(o,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?m(o,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function T({feature:n}){var i,t,l,e;return(i=n==null?void 0:n.mainImage)!=null&&i.image?m("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:m(c,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(e=(l=n==null?void 0:n.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}export{x as a};
@@ -0,0 +1 @@
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 g}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as a}from"@stackshift-ui/text";import x from"react";import{jsx as i,jsxs as l}from"react/jsx-runtime";function b({caption:t,title:m,description:n,features:e}){return i(p,{className:"py-20 bg-background",children:l(r,{maxWidth:1280,children:[i(r,{maxWidth:448,className:"mb-16 text-center ",children:i(T,{caption:t,title:m,description:n})}),i(w,{features:e})]})})}function T({caption:t,title:m,description:n}){return l(x.Fragment,{children:[t?i(a,{weight:"bold",className:"text-secondary",children:t}):null,m?i(g,{fontSize:"3xl",children:m}):null,n?i(a,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function w({features:t}){return t?i(d,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(m=>i(N,{feature:m},m._key))}):null}function N({feature:t}){var m,n,e,o;return i("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:l(s,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"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:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&i(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(o=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?o:"features-main-image"})}),l("div",{className:"w-full lg:w-2/3",children:[i(a,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),i(a,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}export{b as a};
@@ -0,0 +1 @@
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 x from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";function b({caption:t,title:m,description:n,features:e}){return i(p,{className:"py-20 bg-background",children:a(r,{maxWidth:1280,children:[i(r,{maxWidth:448,className:"mb-8 text-center",children:i(T,{caption:t,title:m,description:n})}),i(y,{features:e})]})})}function T({caption:t,title:m,description:n}){return a(x.Fragment,{children:[t?i(o,{weight:"bold",className:"text-secondary",children:t}):null,m?i(c,{fontSize:"3xl",children:m}):null,n?i(o,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function y({features:t}){return t?i(d,{wrap:!0,justify:"center",children:t.map(m=>i(h,{feature:m},m._key))}):null}function h({feature:t}){var m,n,e,l;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:a(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:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"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{b as a};
package/dist/features.js CHANGED
@@ -1 +1 @@
1
- "use strict";var xn=Object.create;var I=Object.defineProperty;var un=Object.getOwnPropertyDescriptor;var wn=Object.getOwnPropertyNames;var vn=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)I(t,i,{get:n[i],enumerable:!0})},it=(t,n,i,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of wn(n))!bn.call(t,e)&&e!==i&&I(t,e,{get:()=>n[e],enumerable:!(l=un(n,e))||l.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(vn(t)):{},it(n||!t||!t.__esModule?I(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>it(I({},"__esModule",{value:!0}),t);var at={};h(at,{Features_A:()=>mt,default:()=>mt});function mt({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(P.Container,{maxWidth:1280,children:[(0,p.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(Nn,{caption:t,title:n,description:i})}),(0,p.jsx)(lt.Flex,{wrap:!0,children:(0,p.jsx)(fn,{features:l})})]})})}function Nn({caption:t,title:n,description:i}){return(0,p.jsxs)(L.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function fn({features:t}){return t?(0,p.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,p.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,p.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,p.jsx)(k.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,l,e;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}var P,lt,et,ot,rt,k,L,p,st=f(()=>{"use strict";P=require("@stackshift-ui/container"),lt=require("@stackshift-ui/flex"),et=require("@stackshift-ui/heading"),ot=require("@stackshift-ui/image"),rt=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),L=F(require("react")),p=require("react/jsx-runtime")});var wt={};h(wt,{Features_B:()=>ut,default:()=>ut});function ut({caption:t,title:n,description:i,features:l,tags:e}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(_.Container,{maxWidth:1280,children:(0,p.jsxs)(lt.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)(_.Container,{maxWidth:448,children:[(0,p.jsx)(yn,{caption:t,title:n,description:i}),(0,p.jsx)(Cn,{tags:e})]})}),(0,p.jsx)(kn,{features:l})]})})})}function yn({caption:t,title:n,description:i}){return(0,p.jsxs)(xt.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,p.jsx)("ul",{children:t&&t.map(n=>(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)(k.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,p.jsx)(lt.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var l,e,a,u;return(0,p.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,p.jsxs)(ct.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((l=n==null?void 0:n.mainImage)==null?void 0:l.image)&&(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(e=n==null?void 0:n.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(u=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?u:`features-image-${i}`})}),(0,p.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var ct,_,lt,et,ot,rt,k,xt,p,vt=f(()=>{"use strict";ct=require("@stackshift-ui/card"),_=require("@stackshift-ui/container"),xt=F(require("react"))});var Ct={};h(Ct,{Features_C:()=>yt,default:()=>yt});function yt({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(_.Container,{maxWidth:1280,children:[(0,p.jsx)(_.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(An,{caption:t,title:n,description:i})}),(0,p.jsx)(Sn,{features:l})]})})}function An({caption:t,title:n,description:i}){return(0,p.jsxs)(Tt.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Sn({features:t}){return t?(0,p.jsx)(lt.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,p.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,l,e;return(0,p.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,p.jsxs)(bt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),(0,p.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,p.jsx)(k.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var bt,_,lt,et,ot,rt,k,Tt,p,kt=f(()=>{"use strict";bt=require("@stackshift-ui/card"),Tt=F(require("react"))});var _t={};h(_t,{Features_D:()=>Lt,default:()=>Lt});function Lt({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(_.Container,{maxWidth:1280,children:[(0,p.jsx)(_.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,p.jsx)(Rn,{caption:t,title:n,description:i})}),(0,p.jsx)(zn,{features:l})]})})}function Rn({caption:t,title:n,description:i}){return(0,p.jsxs)(Pt.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,p.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function zn({features:t}){return t?(0,p.jsx)(lt.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,p.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,l,e;return(0,p.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,p.jsxs)(At.Card,{className:"h-full px-6 py-12 text-center",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}),(0,p.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var At,_,lt,et,ot,rt,k,Pt,p,Ht=f(()=>{"use strict";At=require("@stackshift-ui/card"),Pt=F(require("react"))});var Bt={};h(Bt,{Features_E:()=>Gt,default:()=>Gt});function Gt({featuredItems:t}){let[n,i]=V.default.useState(0);return(0,p.jsx)(rt.Section,{className:"py-20 overflow-p-auto bg-background",children:(0,p.jsx)(_.Container,{maxWidth:1280,children:(0,p.jsx)($t.Flex,{className:"relative",children:(0,p.jsx)(Hn,{featuredItems:t,slider:e=>{t&&(e==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,p.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,p.jsx)(Ln,{featuredItems:t,item:n}),(0,p.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,l,e,a,u,g,w;return(l=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&l.image?(0,p.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,p.jsx)(ot.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[n])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(w=(g=(u=t==null?void 0:t[n])==null?void 0:u.mainImage)==null?void 0:g.alt)!=null?w:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,l,e,a,u,g;return t?(0,p.jsxs)(Wt.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",children:[(0,p.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((l=t==null?void 0:t[n])==null?void 0:l.subtitle)}),(0,p.jsx)(et.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[n])==null?void 0:e.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,p.jsx)(k.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((u=t==null?void 0:t[n])==null?void 0:u.description)&&((g=t==null?void 0:t[n])==null?void 0:g.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,p.jsxs)(V.default.Fragment,{children:[(0,p.jsx)("div",{className:"absolute left-0 k-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,p.jsx)($.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"k-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"})})})}),n,(0,p.jsx)("div",{className:"absolute right-0 k-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,p.jsx)($.Button,{as:"button",ariaLabel:"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 $,Wt,_,$t,et,ot,rt,k,V,p,Dt=f(()=>{"use strict";$=require("@stackshift-ui/button"),Wt=require("@stackshift-ui/card"),V=F(require("react"))});var Ut={};h(Ut,{Features_F:()=>Qt,default:()=>Qt});function Qt({caption:t,title:n,description:i,images:l,primaryButton:e}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(_.Container,{maxWidth:1280,children:(0,p.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,p.jsxs)(lt.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,p.jsx)(Wn,{caption:t,title:n,description:i}),(0,p.jsx)(On,{primaryButton:e})]}),(0,p.jsx)($n,{images:l})]})})})}function Wn({caption:t,title:n,description:i}){return(0,p.jsxs)(_.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,p.jsx)(Et.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(u,g,w,v,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(ot.Image,{className:"object-cover w-full h-auto rounded-md",src:u,sizes:"100vw",width:w,height:v,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=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[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=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Et,_,lt,et,ot,rt,k,p,Xt=f(()=>{"use strict";Et=require("@stackshift-ui/button")});var en={};h(en,{Features_G:()=>ln,default:()=>ln});function ln({caption:t,title:n,description:i,images:l,tags:e}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(D.Container,{maxWidth:1280,children:(0,p.jsxs)(lt.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)(D.Container,{maxWidth:448,children:[(0,p.jsx)(jn,{caption:t,title:n,description:i}),(0,p.jsx)(Vn,{tags:e})]})}),(0,p.jsx)(Gn,{images:l})]})})})}function jn({caption:t,title:n,description:i}){return(0,p.jsxs)(nn.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,p.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,p.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,p.jsxs)(lt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,p.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,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:t})]}):null}function Gn({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(u,g,w,v,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(ot.Image,{className:"object-cover w-full h-auto rounded-md",src:u,sizes:"100vw",width:w,height:v,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=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[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=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var D,lt,et,ot,rt,k,nn,p,on=f(()=>{"use strict";D=require("@stackshift-ui/container"),nn=F(require("react"))});var cn={};h(cn,{Features_H:()=>sn,default:()=>sn});function sn({caption:t,title:n,features:i,images:l}){return(0,p.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,p.jsx)(J.Container,{maxWidth:1280,children:(0,p.jsxs)(lt.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)(J.Container,{maxWidth:448,children:[(0,p.jsx)(Bn,{caption:t,title:n}),(0,p.jsx)(Dn,{features:i})]})}),(0,p.jsx)(Jn,{images:l})]})})})}function Bn({caption:t,title:n}){return(0,p.jsxs)(an.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,p.jsx)("ul",{children:t.map(n=>(0,p.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,p.jsxs)(lt.Flex,{as:"li",children:[(0,p.jsx)(qn,{}),(0,p.jsxs)("div",{className:"max-w-xs",children:[(0,p.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){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 Jn({images:t}){var n,i,l,e,a,u,g,w,v,b,y,C;return!t||(t==null?void 0:t.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:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,p.jsx)(ot.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=(l=t==null?void 0:t[0])==null?void 0:l.alt)!=null?e:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,p.jsx)(ot.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(u=t==null?void 0:t[1])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(g=t==null?void 0:t[1])==null?void 0:g.alt)!=null?w:"features-image-2"})]}),((v=t==null?void 0:t[2])==null?void 0:v.image)&&(0,p.jsx)(ot.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:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var J,lt,et,ot,rt,k,an,p,pn=f(()=>{"use strict";J=require("@stackshift-ui/container"),an=F(require("react"))});var Un={};h(Un,{Features:()=>dn});module.exports=hn(Un);var N=require("react"),Kn={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(st(),at))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(vt(),wt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(kt(),Ct))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ht(),_t))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Xt(),Ut))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(on(),en))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(pn(),cn)))},Qn="Features",dn=({data:t})=>{var e,a,u,g,w,v,b,y,C,Q,U,X,Y,Z,tt,nt;let n=t==null?void 0:t.variant,i=n&&Kn[n],l={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.caption)!=null?a:void 0,title:(g=(u=t==null?void 0:t.variants)==null?void 0:u.title)!=null?g:void 0,description:(v=(w=t==null?void 0:t.variants)==null?void 0:w.description)!=null?v:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(Q=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?Q:void 0,featuredItems:(X=(U=t==null?void 0:t.variants)==null?void 0:U.featuredItems)!=null?X:void 0,images:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.images)!=null?Z:void 0,primaryButton:(nt=(tt=t==null?void 0:t.variants)==null?void 0:tt.primaryButton)!=null?nt:void 0};return i?(0,p.jsx)(i,{...l}):null};dn.displayName=Qn;0&&(module.exports={Features});
1
+ "use strict";var xn=Object.create;var R=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var un=Object.getOwnPropertyNames;var bn=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty;var F=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)R(t,i,{get:n[i],enumerable:!0})},it=(t,n,i,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of un(n))!vn.call(t,e)&&e!==i&&R(t,e,{get:()=>n[e],enumerable:!(l=wn(n,e))||l.enumerable});return t};var f=(t,n,i)=>(i=t!=null?xn(bn(t)):{},it(n||!t||!t.__esModule?R(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>it(R({},"__esModule",{value:!0}),t);var at={};h(at,{Features_A:()=>mt,default:()=>mt});function mt({caption:t,title:n,description:i,features:l}){return(0,d.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(P.Container,{maxWidth:1280,children:[(0,d.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,d.jsx)(Nn,{caption:t,title:n,description:i})}),(0,d.jsx)(lt.Flex,{wrap:!0,children:(0,d.jsx)(Fn,{features:l})})]})})}function Nn({caption:t,title:n,description:i}){return(0,d.jsxs)(L.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Fn({features:t}){return t?(0,d.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,d.jsx)(fn,{feature:n},n._key))}):null}function fn({feature:t}){var n;return(0,d.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,d.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,d.jsx)(k.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,l,e;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,d.jsx)("span",{className:"inline-block d-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,d.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}var P,lt,et,ot,rt,k,L,d,st=F(()=>{"use strict";P=require("@stackshift-ui/container"),lt=require("@stackshift-ui/flex"),et=require("@stackshift-ui/heading"),ot=require("@stackshift-ui/image"),rt=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),L=f(require("react")),d=require("react/jsx-runtime")});var ut={};h(ut,{Features_B:()=>wt,default:()=>wt});function wt({caption:t,title:n,description:i,features:l,tags:e}){return(0,d.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,d.jsx)(_.Container,{maxWidth:1280,children:(0,d.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(_.Container,{maxWidth:448,children:[(0,d.jsx)(yn,{caption:t,title:n,description:i}),(0,d.jsx)(Cn,{tags:e})]})}),(0,d.jsx)(kn,{features:l})]})})})}function yn({caption:t,title:n,description:i}){return(0,d.jsxs)(xt.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(et.Heading,{fontSize:"3xl",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,d.jsx)("ul",{children:t&&t.map(n=>(0,d.jsxs)("li",{className:"flex mb-4",children:[(0,d.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,d.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,d.jsx)(k.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,d.jsx)(lt.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var l,e,a,w;return(0,d.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,d.jsxs)(ct.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[(0,d.jsx)("span",{className:"inline-block d-3 mb-4 rounded-lg bg-secondary/50",children:((l=n==null?void 0:n.mainImage)==null?void 0:l.image)&&(0,d.jsx)(ot.Image,{className:"object-scale-down",src:`${(e=n==null?void 0:n.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(w=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?w:`features-image-${i}`})}),(0,d.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var ct,_,lt,et,ot,rt,k,xt,d,bt=F(()=>{"use strict";ct=require("@stackshift-ui/card"),_=require("@stackshift-ui/container"),xt=f(require("react"))});var Ct={};h(Ct,{Features_C:()=>yt,default:()=>yt});function yt({caption:t,title:n,description:i,features:l}){return(0,d.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(_.Container,{maxWidth:1280,children:[(0,d.jsx)(_.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,d.jsx)(An,{caption:t,title:n,description:i})}),(0,d.jsx)(Sn,{features:l})]})})}function An({caption:t,title:n,description:i}){return(0,d.jsxs)(Tt.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Sn({features:t}){return t?(0,d.jsx)(lt.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,d.jsx)(Rn,{feature:n},n._key))}):null}function Rn({feature:t}){var n,i,l,e;return(0,d.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,d.jsxs)(vt.Card,{className:"flex flex-wrap h-full d-6 bg-white",borderRadius:"md",children:[(0,d.jsx)("div",{className:"self-start inline-block d-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:d-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,d.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),(0,d.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,d.jsx)(k.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var vt,_,lt,et,ot,rt,k,Tt,d,kt=F(()=>{"use strict";vt=require("@stackshift-ui/card"),Tt=f(require("react"))});var _t={};h(_t,{Features_D:()=>Lt,default:()=>Lt});function Lt({caption:t,title:n,description:i,features:l}){return(0,d.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(_.Container,{maxWidth:1280,children:[(0,d.jsx)(_.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,d.jsx)(In,{caption:t,title:n,description:i})}),(0,d.jsx)(zn,{features:l})]})})}function In({caption:t,title:n,description:i}){return(0,d.jsxs)(Pt.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function zn({features:t}){return t?(0,d.jsx)(lt.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,d.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,l,e;return(0,d.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,d.jsxs)(At.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,d.jsx)("div",{className:"self-start inline-block d-3 mb-6 rounded-lg bg-secondary/50 md:d-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,d.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}),(0,d.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var At,_,lt,et,ot,rt,k,Pt,d,Ht=F(()=>{"use strict";At=require("@stackshift-ui/card"),Pt=f(require("react"))});var Bt={};h(Bt,{Features_E:()=>Gt,default:()=>Gt});function Gt({featuredItems:t}){let[n,i]=V.default.useState(0);return(0,d.jsx)(rt.Section,{className:"py-20 overflow-d-auto bg-background",children:(0,d.jsx)(_.Container,{maxWidth:1280,children:(0,d.jsx)($t.Flex,{className:"relative",children:(0,d.jsx)(Hn,{featuredItems:t,slider:e=>{t&&(e==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,d.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,d.jsx)(Ln,{featuredItems:t,item:n}),(0,d.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,l,e,a,w,g,u;return(l=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&l.image?(0,d.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,d.jsx)(ot.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[n])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(g=(w=t==null?void 0:t[n])==null?void 0:w.mainImage)==null?void 0:g.alt)!=null?u:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,l,e,a,w,g;return t?(0,d.jsxs)(Wt.Card,{className:"top-0 left-0 max-w-xl d-6 mx-auto text-center bg-white md:mt-12 md:d-10 lg:mt-12 lg:d-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,d.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((l=t==null?void 0:t[n])==null?void 0:l.subtitle)}),(0,d.jsx)(et.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[n])==null?void 0:e.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,d.jsx)(k.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((w=t==null?void 0:t[n])==null?void 0:w.description)&&((g=t==null?void 0:t[n])==null?void 0:g.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,d.jsxs)(V.default.Fragment,{children:[(0,d.jsx)("div",{className:"absolute left-0 k-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,d.jsx)($.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"k-10 d-4 text-white ",onClick:()=>i("prev"),children:(0,d.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,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,d.jsx)("div",{className:"absolute right-0 k-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,d.jsx)($.Button,{as:"button",ariaLabel:"Show Next Feature",className:"d-4 text-white ",onClick:()=>i("next"),children:(0,d.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,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var $,Wt,_,$t,et,ot,rt,k,V,d,Dt=F(()=>{"use strict";$=require("@stackshift-ui/button"),Wt=require("@stackshift-ui/card"),V=f(require("react"))});var Ut={};h(Ut,{Features_F:()=>Qt,default:()=>Qt});function Qt({caption:t,title:n,description:i,images:l,primaryButton:e}){return(0,d.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,d.jsx)(_.Container,{maxWidth:1280,children:(0,d.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,d.jsxs)(lt.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,d.jsx)(Wn,{caption:t,title:n,description:i}),(0,d.jsx)(On,{primaryButton:e})]}),(0,d.jsx)($n,{images:l})]})})})}function Wn({caption:t,title:n,description:i}){return(0,d.jsxs)(_.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,d.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,d.jsx)(Et.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(w,g,u,b,v){return(0,d.jsx)("div",{className:`overflow-hidden ${v}`,children:(0,d.jsx)(ot.Image,{className:"object-cover w-full h-auto rounded-md",src:w,sizes:"100vw",width:u,height:b,alt:g!=null?g:"feature-image"})})}return(0,d.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,d.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,d.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)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,d.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,d.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)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Et,_,lt,et,ot,rt,k,d,Xt=F(()=>{"use strict";Et=require("@stackshift-ui/button")});var en={};h(en,{Features_G:()=>ln,default:()=>ln});function ln({caption:t,title:n,description:i,images:l,tags:e}){return(0,d.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,d.jsx)(D.Container,{maxWidth:1280,children:(0,d.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(D.Container,{maxWidth:448,children:[(0,d.jsx)(jn,{caption:t,title:n,description:i}),(0,d.jsx)(Vn,{tags:e})]})}),(0,d.jsx)(Gn,{images:l})]})})})}function jn({caption:t,title:n,description:i}){return(0,d.jsxs)(nn.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(et.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,d.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,d.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,d.jsxs)(lt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,d.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,d.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,d.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(w,g,u,b,v){return(0,d.jsx)("div",{className:`overflow-hidden ${v}`,children:(0,d.jsx)(ot.Image,{className:"object-cover w-full h-auto rounded-md",src:w,sizes:"100vw",width:u,height:b,alt:g!=null?g:"feature-image"})})}return(0,d.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,d.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,d.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)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,d.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,d.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)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var D,lt,et,ot,rt,k,nn,d,on=F(()=>{"use strict";D=require("@stackshift-ui/container"),nn=f(require("react"))});var cn={};h(cn,{Features_H:()=>sn,default:()=>sn});function sn({caption:t,title:n,features:i,images:l}){return(0,d.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,d.jsx)(J.Container,{maxWidth:1280,children:(0,d.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(J.Container,{maxWidth:448,children:[(0,d.jsx)(Bn,{caption:t,title:n}),(0,d.jsx)(Dn,{features:i})]})}),(0,d.jsx)(Jn,{images:l})]})})})}function Bn({caption:t,title:n}){return(0,d.jsxs)(an.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,d.jsx)("ul",{children:t.map(n=>(0,d.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,d.jsxs)(lt.Flex,{as:"li",children:[(0,d.jsx)(qn,{}),(0,d.jsxs)("div",{className:"max-w-xs",children:[(0,d.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,d.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,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"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 Jn({images:t}){var n,i,l,e,a,w,g,u,b,v,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,d.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,d.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,d.jsx)(ot.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=(l=t==null?void 0:t[0])==null?void 0:l.alt)!=null?e:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,d.jsx)(ot.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(w=t==null?void 0:t[1])==null?void 0:w.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(g=t==null?void 0:t[1])==null?void 0:g.alt)!=null?u:"features-image-2"})]}),((b=t==null?void 0:t[2])==null?void 0:b.image)&&(0,d.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(v=t==null?void 0:t[2])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var J,lt,et,ot,rt,k,an,d,dn=F(()=>{"use strict";J=require("@stackshift-ui/container"),an=f(require("react"))});var Un={};h(Un,{Features:()=>pn});module.exports=hn(Un);var N=require("react"),Kn={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(st(),at))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(bt(),ut))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(kt(),Ct))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ht(),_t))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Xt(),Ut))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(on(),en))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(dn(),cn)))},Qn="Features",pn=({data:t})=>{var e,a,w,g,u,b,v,y,C,Q,U,X,Y,Z,tt,nt;let n=t==null?void 0:t.variant,i=n&&Kn[n],l={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?a:void 0,title:(g=(w=t==null?void 0:t.variants)==null?void 0:w.title)!=null?g:void 0,description:(b=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?b:void 0,features:(y=(v=t==null?void 0:t.variants)==null?void 0:v.arrayOfImageTitleAndText)!=null?y:void 0,tags:(Q=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?Q:void 0,featuredItems:(X=(U=t==null?void 0:t.variants)==null?void 0:U.featuredItems)!=null?X:void 0,images:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.images)!=null?Z:void 0,primaryButton:(nt=(tt=t==null?void 0:t.variants)==null?void 0:tt.primaryButton)!=null?nt:void 0};return i?(0,d.jsx)(i,{...l}):null};pn.displayName=Qn;0&&(module.exports={Features});
package/dist/features.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-GDVSJ2UR.mjs";export{a as Features};
1
+ import{a}from"./chunk-DODP4JDQ.mjs";export{a as Features};
@@ -1 +1 @@
1
- "use strict";var F=Object.create;var e=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var w=(n,m)=>{for(var t in m)e(n,t,{get:m[t],enumerable:!0})},g=(n,m,t,o)=>{if(m&&typeof m=="object"||typeof m=="function")for(let l of T(m))!N.call(n,l)&&l!==t&&e(n,l,{get:()=>m[l],enumerable:!(o=b(m,l))||o.enumerable});return n};var h=(n,m,t)=>(t=n!=null?F(y(n)):{},g(m||!n||!n.__esModule?e(t,"default",{value:n,enumerable:!0}):t,n)),A=n=>g(e({},"__esModule",{value:!0}),n);var R={};w(R,{Features_A:()=>I,default:()=>I});module.exports=A(R);var r=require("@stackshift-ui/container"),p=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),s=h(require("react")),i=require("react/jsx-runtime");function I({caption:n,title:m,description:t,features:o}){return(0,i.jsx)(x.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(r.Container,{maxWidth:1280,children:[(0,i.jsx)(r.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,i.jsx)(P,{caption:n,title:m,description:t})}),(0,i.jsx)(p.Flex,{wrap:!0,children:(0,i.jsx)(k,{features:o})})]})})}function P({caption:n,title:m,description:t}){return(0,i.jsxs)(s.default.Fragment,{children:[n?(0,i.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:n}):null,m?(0,i.jsx)(c.Heading,{fontSize:"3xl",children:m}):null,t?(0,i.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function k({features:n}){return n?(0,i.jsx)(s.default.Fragment,{children:n==null?void 0:n.map(m=>(0,i.jsx)(C,{feature:m},m._key))}):null}function C({feature:n}){var m;return(0,i.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)(S,{feature:n}):null,n!=null&&n.title?(0,i.jsx)(a.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?(0,i.jsx)(a.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function S({feature:n}){var m,t,o,l;return(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,i.jsx)(d.Image,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.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
+ "use strict";var F=Object.create;var e=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var w=(n,m)=>{for(var t in m)e(n,t,{get:m[t],enumerable:!0})},g=(n,m,t,o)=>{if(m&&typeof m=="object"||typeof m=="function")for(let l of T(m))!N.call(n,l)&&l!==t&&e(n,l,{get:()=>m[l],enumerable:!(o=b(m,l))||o.enumerable});return n};var h=(n,m,t)=>(t=n!=null?F(y(n)):{},g(m||!n||!n.__esModule?e(t,"default",{value:n,enumerable:!0}):t,n)),A=n=>g(e({},"__esModule",{value:!0}),n);var R={};w(R,{Features_A:()=>I,default:()=>I});module.exports=A(R);var s=require("@stackshift-ui/container"),p=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),r=h(require("react")),i=require("react/jsx-runtime");function I({caption:n,title:m,description:t,features:o}){return(0,i.jsx)(x.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(s.Container,{maxWidth:1280,children:[(0,i.jsx)(s.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,i.jsx)(P,{caption:n,title:m,description:t})}),(0,i.jsx)(p.Flex,{wrap:!0,children:(0,i.jsx)(k,{features:o})})]})})}function P({caption:n,title:m,description:t}){return(0,i.jsxs)(r.default.Fragment,{children:[n?(0,i.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:n}):null,m?(0,i.jsx)(c.Heading,{fontSize:"3xl",children:m}):null,t?(0,i.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function k({features:n}){return n?(0,i.jsx)(r.default.Fragment,{children:n==null?void 0:n.map(m=>(0,i.jsx)(C,{feature:m},m._key))}):null}function C({feature:n}){var m;return(0,i.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)(S,{feature:n}):null,n!=null&&n.title?(0,i.jsx)(a.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?(0,i.jsx)(a.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function S({feature:n}){var m,t,o,l;return(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,i.jsx)(d.Image,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.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-J5AVUHPT.mjs";export{a as Features_A,a as default};
1
+ import{a}from"./chunk-IS5MPNWR.mjs";export{a as Features_A,a as default};
@@ -1 +1 @@
1
- "use strict";var h=Object.create;var s=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var C=(m,l)=>{for(var o in l)s(m,o,{get:l[o],enumerable:!0})},p=(m,l,o,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let n of y(l))!I.call(m,n)&&n!==o&&s(m,n,{get:()=>l[n],enumerable:!(t=v(l,n))||t.enumerable});return m};var k=(m,l,o)=>(o=m!=null?h(F(m)):{},p(l||!m||!m.__esModule?s(o,"default",{value:m,enumerable:!0}):o,m)),u=m=>p(s({},"__esModule",{value:!0}),m);var S={};C(S,{Features_B:()=>T,default:()=>T});module.exports=u(S);var c=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),e=require("@stackshift-ui/flex"),x=require("@stackshift-ui/heading"),w=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),N=k(require("react")),i=require("react/jsx-runtime");function T({caption:m,title:l,description:o,features:t,tags:n}){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 mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(r.Container,{maxWidth:448,children:[(0,i.jsx)(z,{caption:m,title:l,description:o}),(0,i.jsx)(A,{tags:n})]})}),(0,i.jsx)(R,{features:t})]})})})}function z({caption:m,title:l,description:o}){return(0,i.jsxs)(N.default.Fragment,{children:[m&&(0,i.jsx)(a.Text,{weight:"bold",className:"text-primary",children:m}),l&&(0,i.jsx)(x.Heading,{fontSize:"3xl",children:l}),o&&(0,i.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function A({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)(a.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function R({features:m}){return m?(0,i.jsx)(e.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,o)=>{var t,n,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",children:[(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,i.jsx)(w.Image,{className:"object-scale-down",src:`${(n=l==null?void 0:l.mainImage)==null?void 0:n.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)(a.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:l==null?void 0:l.title}),(0,i.jsx)(a.Text,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})},o)}))}):null}0&&(module.exports={Features_B});
1
+ "use strict";var T=Object.create;var s=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var C=(m,l)=>{for(var o in l)s(m,o,{get:l[o],enumerable:!0})},c=(m,l,o,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let n of y(l))!I.call(m,n)&&n!==o&&s(m,n,{get:()=>l[n],enumerable:!(t=v(l,n))||t.enumerable});return m};var R=(m,l,o)=>(o=m!=null?T(F(m)):{},c(l||!m||!m.__esModule?s(o,"default",{value:m,enumerable:!0}):o,m)),k=m=>c(s({},"__esModule",{value:!0}),m);var S={};C(S,{Features_B:()=>h,default:()=>h});module.exports=k(S);var p=require("@stackshift-ui/card"),e=require("@stackshift-ui/container"),r=require("@stackshift-ui/flex"),x=require("@stackshift-ui/heading"),w=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),N=R(require("react")),i=require("react/jsx-runtime");function h({caption:m,title:l,description:o,features:t,tags:n}){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 mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(e.Container,{maxWidth:448,children:[(0,i.jsx)(u,{caption:m,title:l,description:o}),(0,i.jsx)(z,{tags:n})]})}),(0,i.jsx)(A,{features:t})]})})})}function u({caption:m,title:l,description:o}){return(0,i.jsxs)(N.default.Fragment,{children:[m&&(0,i.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:m}),l&&(0,i.jsx)(x.Heading,{fontSize:"3xl",children:l}),o&&(0,i.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function z({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)(a.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function A({features:m}){return m?(0,i.jsx)(r.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,o)=>{var t,n,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)(p.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,i.jsx)(w.Image,{className:"object-scale-down",src:`${(n=l==null?void 0:l.mainImage)==null?void 0:n.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)(a.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:l==null?void 0:l.title}),(0,i.jsx)(a.Text,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})},o)}))}):null}0&&(module.exports={Features_B});
@@ -1 +1 @@
1
- import{a}from"./chunk-JLMJ5WKU.mjs";export{a as Features_B,a as default};
1
+ import{a}from"./chunk-76IS6VW4.mjs";export{a as Features_B,a as default};
@@ -1 +1 @@
1
- "use strict";var N=Object.create;var o=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var f=(t,m)=>{for(var n in m)o(t,n,{get:m[n],enumerable:!0})},s=(t,m,n,l)=>{if(m&&typeof m=="object"||typeof m=="function")for(let e of y(m))!I.call(t,e)&&e!==n&&o(t,e,{get:()=>m[e],enumerable:!(l=w(m,e))||l.enumerable});return t};var h=(t,m,n)=>(n=t!=null?N(F(t)):{},s(m||!t||!t.__esModule?o(n,"default",{value:t,enumerable:!0}):n,t)),u=t=>s(o({},"__esModule",{value:!0}),t);var S={};f(S,{Features_C:()=>T,default:()=>T});module.exports=u(S);var d=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),g=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),p=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),b=h(require("react")),i=require("react/jsx-runtime");function T({caption:t,title:m,description:n,features:l}){return(0,i.jsx)(x.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(r.Container,{maxWidth:1280,children:[(0,i.jsx)(r.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,i.jsx)(A,{caption:t,title:m,description:n})}),(0,i.jsx)(C,{features:l})]})})}function A({caption:t,title:m,description:n}){return(0,i.jsxs)(b.default.Fragment,{children:[t?(0,i.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:t}):null,m?(0,i.jsx)(c.Heading,{fontSize:"3xl",children:m}):null,n?(0,i.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function C({features:t}){return t?(0,i.jsx)(g.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(m=>(0,i.jsx)(v,{feature:m},m._key))}):null}function v({feature:t}){var m,n,l,e;return(0,i.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,i.jsxs)(d.Card,{className:"flex flex-wrap h-full p-6",children:[(0,i.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&(0,i.jsx)(p.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),(0,i.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,i.jsx)(a.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,i.jsx)(a.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}0&&(module.exports={Features_C});
1
+ "use strict";var w=Object.create;var o=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty;var I=(t,i)=>{for(var n in i)o(t,n,{get:i[n],enumerable:!0})},s=(t,i,n,a)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of y(i))!F.call(t,e)&&e!==n&&o(t,e,{get:()=>i[e],enumerable:!(a=N(i,e))||a.enumerable});return t};var f=(t,i,n)=>(n=t!=null?w(h(t)):{},s(i||!t||!t.__esModule?o(n,"default",{value:t,enumerable:!0}):n,t)),u=t=>s(o({},"__esModule",{value:!0}),t);var S={};I(S,{Features_C:()=>T,default:()=>T});module.exports=u(S);var d=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),g=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),p=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),l=require("@stackshift-ui/text"),b=f(require("react")),m=require("react/jsx-runtime");function T({caption:t,title:i,description:n,features:a}){return(0,m.jsx)(x.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(r.Container,{maxWidth:1280,children:[(0,m.jsx)(r.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,m.jsx)(A,{caption:t,title:i,description:n})}),(0,m.jsx)(C,{features:a})]})})}function A({caption:t,title:i,description:n}){return(0,m.jsxs)(b.default.Fragment,{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,n?(0,m.jsx)(l.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function C({features:t}){return t?(0,m.jsx)(g.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(i=>(0,m.jsx)(v,{feature:i},i._key))}):null}function v({feature:t}){var i,n,a,e;return(0,m.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,m.jsxs)(d.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:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,m.jsx)(p.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(e=(a=t==null?void 0:t.mainImage)==null?void 0:a.alt)!=null?e:"features-main-image"})}),(0,m.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,m.jsx)(l.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 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_C});
@@ -1 +1 @@
1
- import{a}from"./chunk-WGYOMYCJ.mjs";export{a as Features_C,a as default};
1
+ import{a}from"./chunk-W3RGT6IT.mjs";export{a as Features_C,a as default};
@@ -1 +1 @@
1
- "use strict";var y=Object.create;var l=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var w=(t,i)=>{for(var n in i)l(t,n,{get:i[n],enumerable:!0})},s=(t,i,n,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of I(i))!h.call(t,e)&&e!==n&&l(t,e,{get:()=>i[e],enumerable:!(o=F(i,e))||o.enumerable});return t};var A=(t,i,n)=>(n=t!=null?y(N(t)):{},s(i||!t||!t.__esModule?l(n,"default",{value:t,enumerable:!0}):n,t)),C=t=>s(l({},"__esModule",{value:!0}),t);var k={};w(k,{Features_D:()=>b,default:()=>b});module.exports=C(k);var d=require("@stackshift-ui/card"),a=require("@stackshift-ui/container"),g=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),p=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),r=require("@stackshift-ui/text"),T=A(require("react")),m=require("react/jsx-runtime");function b({caption:t,title:i,description:n,features:o}){return(0,m.jsx)(x.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(a.Container,{maxWidth:1280,children:[(0,m.jsx)(a.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,m.jsx)(f,{caption:t,title:i,description:n})}),(0,m.jsx)(u,{features:o})]})})}function f({caption:t,title:i,description:n}){return(0,m.jsxs)(T.default.Fragment,{children:[t?(0,m.jsx)(r.Text,{weight:"bold",className:"text-primary",children:t}):null,i?(0,m.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,n?(0,m.jsx)(r.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function u({features:t}){return t?(0,m.jsx)(g.Flex,{wrap:!0,justify:"center",children:t.map(i=>(0,m.jsx)(S,{feature:i},i._key))}):null}function S({feature:t}){var i,n,o,e;return(0,m.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,m.jsxs)(d.Card,{className:"h-full px-6 py-12 text-center",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,m.jsx)(p.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(e=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?e:"features-image-"})}),(0,m.jsx)(r.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,m.jsx)(r.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
1
+ "use strict";var y=Object.create;var l=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var I=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var w=(t,i)=>{for(var n in i)l(t,n,{get:i[n],enumerable:!0})},s=(t,i,n,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of F(i))!N.call(t,e)&&e!==n&&l(t,e,{get:()=>i[e],enumerable:!(o=h(i,e))||o.enumerable});return t};var A=(t,i,n)=>(n=t!=null?y(I(t)):{},s(i||!t||!t.__esModule?l(n,"default",{value:t,enumerable:!0}):n,t)),C=t=>s(l({},"__esModule",{value:!0}),t);var k={};w(k,{Features_D:()=>T,default:()=>T});module.exports=C(k);var d=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),c=require("@stackshift-ui/flex"),g=require("@stackshift-ui/heading"),p=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),b=A(require("react")),m=require("react/jsx-runtime");function T({caption:t,title:i,description:n,features:o}){return(0,m.jsx)(x.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)(u,{caption:t,title:i,description:n})}),(0,m.jsx)(S,{features:o})]})})}function u({caption:t,title:i,description:n}){return(0,m.jsxs)(b.default.Fragment,{children:[t?(0,m.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,m.jsx)(g.Heading,{fontSize:"3xl",children:i}):null,n?(0,m.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function S({features:t}){return t?(0,m.jsx)(c.Flex,{wrap:!0,justify:"center",children:t.map(i=>(0,m.jsx)(f,{feature:i},i._key))}):null}function f({feature:t}){var i,n,o,e;return(0,m.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,m.jsxs)(d.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)(p.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(e=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?e:"features-image-"})}),(0,m.jsx)(a.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,m.jsx)(a.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
@@ -1 +1 @@
1
- import{a}from"./chunk-EZOHFSWE.mjs";export{a as Features_D,a as default};
1
+ import{a}from"./chunk-YVG2YZHF.mjs";export{a as Features_D,a as default};
@@ -1 +1 @@
1
- "use strict";var d=Object.create;var a=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)a(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&&a(o,t,{get:()=>l[t],enumerable:!(r=S(l,t))||r.enumerable});return o};var y=(o,l,n)=>(n=o!=null?d(z(o)):{},w(l||!o||!o.__esModule?a(n,"default",{value:o,enumerable:!0}):n,o)),H=o=>w(a({},"__esModule",{value:!0}),o);var j={};R(j,{Features_E:()=>C,default:()=>C});module.exports=H(j);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"),k=require("@stackshift-ui/section"),p=require("@stackshift-ui/text"),s=y(require("react")),i=require("react/jsx-runtime");function C({featuredItems:o}){let[l,n]=s.default.useState(0);return(0,i.jsx)(k.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)(W,{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)(P,{featuredItems:o,item:l}),(0,i.jsx)(T,{featuredItems:o,item:l})]})})})})})}function P({featuredItems:o,item:l}){var n,r,t,x,m,c,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=(c=(m=o==null?void 0:o[l])==null?void 0:m.mainImage)==null?void 0:c.alt)!=null?h:`features-image-${l}`})}):null}function T({featuredItems:o,item:l}){var n,r,t,x,m,c;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",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)&&((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)(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 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 +1 @@
1
- import{a}from"./chunk-UZBEJEEL.mjs";export{a as Features_E,a as default};
1
+ import{a}from"./chunk-7B6FI3PR.mjs";export{a as Features_E,a as default};
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";var xn=Object.create;var I=Object.defineProperty;var un=Object.getOwnPropertyDescriptor;var wn=Object.getOwnPropertyNames;var vn=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var N=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)I(t,i,{get:n[i],enumerable:!0})},bt=(t,n,i,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of wn(n))!bn.call(t,e)&&e!==i&&I(t,e,{get:()=>n[e],enumerable:!(l=un(n,e))||l.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(vn(t)):{},bt(n||!t||!t.__esModule?I(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>bt(I({},"__esModule",{value:!0}),t);var Tt={};h(Tt,{Features_A:()=>_,default:()=>_});function _({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(P.Container,{maxWidth:1280,children:[(0,p.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(fn,{caption:t,title:n,description:i})}),(0,p.jsx)(ht.Flex,{wrap:!0,children:(0,p.jsx)(Nn,{features:l})})]})})}function fn({caption:t,title:n,description:i}){return(0,p.jsxs)(L.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Nn({features:t}){return t?(0,p.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,p.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,p.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,p.jsx)(k.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,l,e;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,p.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}var P,ht,ft,Nt,Ft,k,L,p,H=N(()=>{"use strict";P=require("@stackshift-ui/container"),ht=require("@stackshift-ui/flex"),ft=require("@stackshift-ui/heading"),Nt=require("@stackshift-ui/image"),Ft=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),L=F(require("react")),p=require("react/jsx-runtime")});var It={};h(It,{Features_B:()=>$,default:()=>$});function $({caption:t,title:n,description:i,features:l,tags:e}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsx)(W.Container,{maxWidth:1280,children:(0,p.jsxs)(ht.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)(W.Container,{maxWidth:448,children:[(0,p.jsx)(yn,{caption:t,title:n,description:i}),(0,p.jsx)(Cn,{tags:e})]})}),(0,p.jsx)(kn,{features:l})]})})})}function yn({caption:t,title:n,description:i}){return(0,p.jsxs)(St.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,p.jsx)("ul",{children:t&&t.map(n=>(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)(k.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,p.jsx)(ht.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var l,e,a,u;return(0,p.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,p.jsxs)(yt.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((l=n==null?void 0:n.mainImage)==null?void 0:l.image)&&(0,p.jsx)(Nt.Image,{className:"object-scale-down",src:`${(e=n==null?void 0:n.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(u=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?u:`features-image-${i}`})}),(0,p.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var yt,W,ht,ft,Nt,Ft,k,St,p,j=N(()=>{"use strict";yt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),St=F(require("react"))});var Wt={};h(Wt,{Features_C:()=>M,default:()=>M});function M({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(W.Container,{maxWidth:1280,children:[(0,p.jsx)(W.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,p.jsx)(An,{caption:t,title:n,description:i})}),(0,p.jsx)(Sn,{features:l})]})})}function An({caption:t,title:n,description:i}){return(0,p.jsxs)(Ht.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Sn({features:t}){return t?(0,p.jsx)(ht.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,p.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,l,e;return(0,p.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,p.jsxs)(Rt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),(0,p.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,p.jsx)(k.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var Rt,W,ht,ft,Nt,Ft,k,Ht,p,G=N(()=>{"use strict";Rt=require("@stackshift-ui/card"),Ht=F(require("react"))});var Bt={};h(Bt,{Features_D:()=>D,default:()=>D});function D({caption:t,title:n,description:i,features:l}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(W.Container,{maxWidth:1280,children:[(0,p.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,p.jsx)(Rn,{caption:t,title:n,description:i})}),(0,p.jsx)(zn,{features:l})]})})}function Rn({caption:t,title:n,description:i}){return(0,p.jsxs)(Gt.default.Fragment,{children:[t?(0,p.jsx)(k.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null,i?(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function zn({features:t}){return t?(0,p.jsx)($t.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,p.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,l,e;return(0,p.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,p.jsxs)(Ot.Card,{className:"h-full px-6 py-12 text-center",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}),(0,p.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Ot,W,$t,ft,Nt,Ft,k,Gt,p,E=N(()=>{"use strict";Ot=require("@stackshift-ui/card"),Gt=F(require("react"))});var Ut={};h(Ut,{Features_E:()=>Q,default:()=>Q});function Q({featuredItems:t}){let[n,i]=K.default.useState(0);return(0,p.jsx)(Ft.Section,{className:"py-20 overflow-p-auto bg-background",children:(0,p.jsx)(W.Container,{maxWidth:1280,children:(0,p.jsx)(ht.Flex,{className:"relative",children:(0,p.jsx)(Hn,{featuredItems:t,slider:e=>{t&&(e==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,p.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,p.jsx)(Ln,{featuredItems:t,item:n}),(0,p.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,l,e,a,u,g,w;return(l=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&l.image?(0,p.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,p.jsx)(Nt.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[n])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(w=(g=(u=t==null?void 0:t[n])==null?void 0:u.mainImage)==null?void 0:g.alt)!=null?w:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,l,e,a,u,g;return t?(0,p.jsxs)(Dt.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",children:[(0,p.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((l=t==null?void 0:t[n])==null?void 0:l.subtitle)}),(0,p.jsx)(ft.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[n])==null?void 0:e.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,p.jsx)(k.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((u=t==null?void 0:t[n])==null?void 0:u.description)&&((g=t==null?void 0:t[n])==null?void 0:g.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,p.jsxs)(K.default.Fragment,{children:[(0,p.jsx)("div",{className:"absolute left-0 k-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,p.jsx)(q.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"k-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"})})})}),n,(0,p.jsx)("div",{className:"absolute right-0 k-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,p.jsx)(q.Button,{as:"button",ariaLabel:"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 q,Dt,W,ht,ft,Nt,Ft,k,K,p,U=N(()=>{"use strict";q=require("@stackshift-ui/button"),Dt=require("@stackshift-ui/card"),K=F(require("react"))});var nn={};h(nn,{Features_F:()=>tt,default:()=>tt});function tt({caption:t,title:n,description:i,images:l,primaryButton:e}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsx)(W.Container,{maxWidth:1280,children:(0,p.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,p.jsxs)(ht.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,p.jsx)(Wn,{caption:t,title:n,description:i}),(0,p.jsx)(On,{primaryButton:e})]}),(0,p.jsx)($n,{images:l})]})})})}function Wn({caption:t,title:n,description:i}){return(0,p.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,p.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,p.jsx)(Xt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(u,g,w,v,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(Nt.Image,{className:"object-cover w-full h-auto rounded-md",src:u,sizes:"100vw",width:w,height:v,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=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[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=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Xt,W,ht,ft,Nt,Ft,k,p,nt=N(()=>{"use strict";Xt=require("@stackshift-ui/button")});var mn={};h(mn,{Features_G:()=>ot,default:()=>ot});function ot({caption:t,title:n,description:i,images:l,tags:e}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsx)(it.Container,{maxWidth:1280,children:(0,p.jsxs)(ht.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)(it.Container,{maxWidth:448,children:[(0,p.jsx)(jn,{caption:t,title:n,description:i}),(0,p.jsx)(Vn,{tags:e})]})}),(0,p.jsx)(Gn,{images:l})]})})})}function jn({caption:t,title:n,description:i}){return(0,p.jsxs)(rn.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,p.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,p.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,p.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,p.jsxs)(ht.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,p.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,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:t})]}):null}function Gn({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(u,g,w,v,b){return(0,p.jsx)("div",{className:`overflow-hidden ${b}`,children:(0,p.jsx)(Nt.Image,{className:"object-cover w-full h-auto rounded-md",src:u,sizes:"100vw",width:w,height:v,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=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[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=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var it,ht,ft,Nt,Ft,k,rn,p,rt=N(()=>{"use strict";it=require("@stackshift-ui/container"),rn=F(require("react"))});var pn={};h(pn,{Features_H:()=>st,default:()=>st});function st({caption:t,title:n,features:i,images:l}){return(0,p.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,p.jsx)(mt.Container,{maxWidth:1280,children:(0,p.jsxs)(ht.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)(mt.Container,{maxWidth:448,children:[(0,p.jsx)(Bn,{caption:t,title:n}),(0,p.jsx)(Dn,{features:i})]})}),(0,p.jsx)(Jn,{images:l})]})})})}function Bn({caption:t,title:n}){return(0,p.jsxs)(cn.default.Fragment,{children:[t&&(0,p.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,p.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,p.jsx)("ul",{children:t.map(n=>(0,p.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,p.jsxs)(ht.Flex,{as:"li",children:[(0,p.jsx)(qn,{}),(0,p.jsxs)("div",{className:"max-w-xs",children:[(0,p.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,p.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){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 Jn({images:t}){var n,i,l,e,a,u,g,w,v,b,y,C;return!t||(t==null?void 0:t.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:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,p.jsx)(Nt.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=(l=t==null?void 0:t[0])==null?void 0:l.alt)!=null?e:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,p.jsx)(Nt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(u=t==null?void 0:t[1])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(g=t==null?void 0:t[1])==null?void 0:g.alt)!=null?w:"features-image-2"})]}),((v=t==null?void 0:t[2])==null?void 0:v.image)&&(0,p.jsx)(Nt.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:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var mt,ht,ft,Nt,Ft,k,cn,p,ct=N(()=>{"use strict";mt=require("@stackshift-ui/container"),cn=F(require("react"))});var Un={};h(Un,{Features:()=>dn,Features_A:()=>_,Features_B:()=>$,Features_C:()=>M,Features_D:()=>D,Features_E:()=>Q,Features_F:()=>tt,Features_G:()=>ot,Features_H:()=>st});module.exports=hn(Un);var f=require("react"),Kn={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(H(),Tt))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>(j(),It))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(G(),Wt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(E(),Bt))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(U(),Ut))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),nn))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(rt(),mn))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(ct(),pn)))},Qn="Features",dn=({data:t})=>{var e,a,u,g,w,v,b,y,C,pt,dt,gt,xt,ut,wt,vt;let n=t==null?void 0:t.variant,i=n&&Kn[n],l={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.caption)!=null?a:void 0,title:(g=(u=t==null?void 0:t.variants)==null?void 0:u.title)!=null?g:void 0,description:(v=(w=t==null?void 0:t.variants)==null?void 0:w.description)!=null?v:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(pt=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?pt:void 0,featuredItems:(gt=(dt=t==null?void 0:t.variants)==null?void 0:dt.featuredItems)!=null?gt:void 0,images:(ut=(xt=t==null?void 0:t.variants)==null?void 0:xt.images)!=null?ut:void 0,primaryButton:(vt=(wt=t==null?void 0:t.variants)==null?void 0:wt.primaryButton)!=null?vt:void 0};return i?(0,p.jsx)(i,{...l}):null};dn.displayName=Qn;H();j();G();E();U();nt();rt();ct();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
2
+ "use strict";var xn=Object.create;var R=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var un=Object.getOwnPropertyNames;var bn=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)R(t,i,{get:n[i],enumerable:!0})},vt=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of un(n))!vn.call(t,l)&&l!==i&&R(t,l,{get:()=>n[l],enumerable:!(e=wn(n,l))||e.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(bn(t)):{},vt(n||!t||!t.__esModule?R(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>vt(R({},"__esModule",{value:!0}),t);var Tt={};h(Tt,{Features_A:()=>_,default:()=>_});function _({caption:t,title:n,description:i,features:e}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(P.Container,{maxWidth:1280,children:[(0,d.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,d.jsx)(Nn,{caption:t,title:n,description:i})}),(0,d.jsx)(ht.Flex,{wrap:!0,children:(0,d.jsx)(fn,{features:e})})]})})}function Nn({caption:t,title:n,description:i}){return(0,d.jsxs)(L.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function fn({features:t}){return t?(0,d.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,d.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,d.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,d.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,d.jsx)(k.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,e,l;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,d.jsx)("span",{className:"inline-block d-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,d.jsx)(ft.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}):null}var P,ht,Nt,ft,Ft,k,L,d,H=f(()=>{"use strict";P=require("@stackshift-ui/container"),ht=require("@stackshift-ui/flex"),Nt=require("@stackshift-ui/heading"),ft=require("@stackshift-ui/image"),Ft=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),L=F(require("react")),d=require("react/jsx-runtime")});var Rt={};h(Rt,{Features_B:()=>$,default:()=>$});function $({caption:t,title:n,description:i,features:e,tags:l}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsx)(W.Container,{maxWidth:1280,children:(0,d.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(W.Container,{maxWidth:448,children:[(0,d.jsx)(yn,{caption:t,title:n,description:i}),(0,d.jsx)(Cn,{tags:l})]})}),(0,d.jsx)(kn,{features:e})]})})})}function yn({caption:t,title:n,description:i}){return(0,d.jsxs)(St.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,d.jsx)("ul",{children:t&&t.map(n=>(0,d.jsxs)("li",{className:"flex mb-4",children:[(0,d.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,d.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,d.jsx)(k.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,d.jsx)(ht.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var e,l,a,w;return(0,d.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,d.jsxs)(yt.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[(0,d.jsx)("span",{className:"inline-block d-3 mb-4 rounded-lg bg-secondary/50",children:((e=n==null?void 0:n.mainImage)==null?void 0:e.image)&&(0,d.jsx)(ft.Image,{className:"object-scale-down",src:`${(l=n==null?void 0:n.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(w=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?w:`features-image-${i}`})}),(0,d.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var yt,W,ht,Nt,ft,Ft,k,St,d,j=f(()=>{"use strict";yt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),St=F(require("react"))});var Wt={};h(Wt,{Features_C:()=>M,default:()=>M});function M({caption:t,title:n,description:i,features:e}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(W.Container,{maxWidth:1280,children:[(0,d.jsx)(W.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,d.jsx)(An,{caption:t,title:n,description:i})}),(0,d.jsx)(Sn,{features:e})]})})}function An({caption:t,title:n,description:i}){return(0,d.jsxs)(Ht.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Sn({features:t}){return t?(0,d.jsx)(ht.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,d.jsx)(Rn,{feature:n},n._key))}):null}function Rn({feature:t}){var n,i,e,l;return(0,d.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,d.jsxs)(It.Card,{className:"flex flex-wrap h-full d-6 bg-white",borderRadius:"md",children:[(0,d.jsx)("div",{className:"self-start inline-block d-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:d-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,d.jsx)(ft.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),(0,d.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,d.jsx)(k.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var It,W,ht,Nt,ft,Ft,k,Ht,d,G=f(()=>{"use strict";It=require("@stackshift-ui/card"),Ht=F(require("react"))});var Bt={};h(Bt,{Features_D:()=>D,default:()=>D});function D({caption:t,title:n,description:i,features:e}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(W.Container,{maxWidth:1280,children:[(0,d.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,d.jsx)(In,{caption:t,title:n,description:i})}),(0,d.jsx)(zn,{features:e})]})})}function In({caption:t,title:n,description:i}){return(0,d.jsxs)(Gt.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function zn({features:t}){return t?(0,d.jsx)($t.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,d.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,e,l;return(0,d.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,d.jsxs)(Ot.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,d.jsx)("div",{className:"self-start inline-block d-3 mb-6 rounded-lg bg-secondary/50 md:d-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,d.jsx)(ft.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}),(0,d.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Ot,W,$t,Nt,ft,Ft,k,Gt,d,E=f(()=>{"use strict";Ot=require("@stackshift-ui/card"),Gt=F(require("react"))});var Ut={};h(Ut,{Features_E:()=>Q,default:()=>Q});function Q({featuredItems:t}){let[n,i]=K.default.useState(0);return(0,d.jsx)(Ft.Section,{className:"py-20 overflow-d-auto bg-background",children:(0,d.jsx)(W.Container,{maxWidth:1280,children:(0,d.jsx)(ht.Flex,{className:"relative",children:(0,d.jsx)(Hn,{featuredItems:t,slider:l=>{t&&(l==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,d.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,d.jsx)(Ln,{featuredItems:t,item:n}),(0,d.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,e,l,a,w,g,u;return(e=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&e.image?(0,d.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,d.jsx)(ft.Image,{className:"relative object-cover rounded-md",src:`${(a=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(g=(w=t==null?void 0:t[n])==null?void 0:w.mainImage)==null?void 0:g.alt)!=null?u:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,e,l,a,w,g;return t?(0,d.jsxs)(Dt.Card,{className:"top-0 left-0 max-w-xl d-6 mx-auto text-center bg-white md:mt-12 md:d-10 lg:mt-12 lg:d-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,d.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[n])==null?void 0:e.subtitle)}),(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:((l=t==null?void 0:t[n])==null?void 0:l.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,d.jsx)(k.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((w=t==null?void 0:t[n])==null?void 0:w.description)&&((g=t==null?void 0:t[n])==null?void 0:g.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,d.jsxs)(K.default.Fragment,{children:[(0,d.jsx)("div",{className:"absolute left-0 k-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,d.jsx)(q.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"k-10 d-4 text-white ",onClick:()=>i("prev"),children:(0,d.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,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,d.jsx)("div",{className:"absolute right-0 k-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,d.jsx)(q.Button,{as:"button",ariaLabel:"Show Next Feature",className:"d-4 text-white ",onClick:()=>i("next"),children:(0,d.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,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var q,Dt,W,ht,Nt,ft,Ft,k,K,d,U=f(()=>{"use strict";q=require("@stackshift-ui/button"),Dt=require("@stackshift-ui/card"),K=F(require("react"))});var nn={};h(nn,{Features_F:()=>tt,default:()=>tt});function tt({caption:t,title:n,description:i,images:e,primaryButton:l}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsx)(W.Container,{maxWidth:1280,children:(0,d.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,d.jsxs)(ht.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,d.jsx)(Wn,{caption:t,title:n,description:i}),(0,d.jsx)(On,{primaryButton:l})]}),(0,d.jsx)($n,{images:e})]})})})}function Wn({caption:t,title:n,description:i}){return(0,d.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,d.jsx)(Nt.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,d.jsx)(Xt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(w,g,u,b,v){return(0,d.jsx)("div",{className:`overflow-hidden ${v}`,children:(0,d.jsx)(ft.Image,{className:"object-cover w-full h-auto rounded-md",src:w,sizes:"100vw",width:u,height:b,alt:g!=null?g:"feature-image"})})}return(0,d.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,d.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,d.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)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,d.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Xt,W,ht,Nt,ft,Ft,k,d,nt=f(()=>{"use strict";Xt=require("@stackshift-ui/button")});var mn={};h(mn,{Features_G:()=>ot,default:()=>ot});function ot({caption:t,title:n,description:i,images:e,tags:l}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsx)(it.Container,{maxWidth:1280,children:(0,d.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(it.Container,{maxWidth:448,children:[(0,d.jsx)(jn,{caption:t,title:n,description:i}),(0,d.jsx)(Vn,{tags:l})]})}),(0,d.jsx)(Gn,{images:e})]})})})}function jn({caption:t,title:n,description:i}){return(0,d.jsxs)(rn.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(Nt.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,d.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,d.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,d.jsxs)(ht.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,d.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,d.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,d.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(w,g,u,b,v){return(0,d.jsx)("div",{className:`overflow-hidden ${v}`,children:(0,d.jsx)(ft.Image,{className:"object-cover w-full h-auto rounded-md",src:w,sizes:"100vw",width:u,height:b,alt:g!=null?g:"feature-image"})})}return(0,d.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,d.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,d.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)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,d.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var it,ht,Nt,ft,Ft,k,rn,d,rt=f(()=>{"use strict";it=require("@stackshift-ui/container"),rn=F(require("react"))});var dn={};h(dn,{Features_H:()=>st,default:()=>st});function st({caption:t,title:n,features:i,images:e}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsx)(mt.Container,{maxWidth:1280,children:(0,d.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(mt.Container,{maxWidth:448,children:[(0,d.jsx)(Bn,{caption:t,title:n}),(0,d.jsx)(Dn,{features:i})]})}),(0,d.jsx)(Jn,{images:e})]})})})}function Bn({caption:t,title:n}){return(0,d.jsxs)(cn.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(Nt.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,d.jsx)("ul",{children:t.map(n=>(0,d.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,d.jsxs)(ht.Flex,{as:"li",children:[(0,d.jsx)(qn,{}),(0,d.jsxs)("div",{className:"max-w-xs",children:[(0,d.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,d.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,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"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 Jn({images:t}){var n,i,e,l,a,w,g,u,b,v,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,d.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,d.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,d.jsx)(ft.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:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,d.jsx)(ft.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(w=t==null?void 0:t[1])==null?void 0:w.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(g=t==null?void 0:t[1])==null?void 0:g.alt)!=null?u:"features-image-2"})]}),((b=t==null?void 0:t[2])==null?void 0:b.image)&&(0,d.jsx)(ft.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(v=t==null?void 0:t[2])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var mt,ht,Nt,ft,Ft,k,cn,d,ct=f(()=>{"use strict";mt=require("@stackshift-ui/container"),cn=F(require("react"))});var Un={};h(Un,{Features:()=>pn,Features_A:()=>_,Features_B:()=>$,Features_C:()=>M,Features_D:()=>D,Features_E:()=>Q,Features_F:()=>tt,Features_G:()=>ot,Features_H:()=>st});module.exports=hn(Un);var N=require("react"),Kn={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(H(),Tt))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(j(),Rt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(G(),Wt))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(E(),Bt))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(U(),Ut))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(nt(),nn))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(rt(),mn))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(ct(),dn)))},Qn="Features",pn=({data:t})=>{var l,a,w,g,u,b,v,y,C,dt,pt,gt,xt,wt,ut,bt;let n=t==null?void 0:t.variant,i=n&&Kn[n],e={caption:(a=(l=t==null?void 0:t.variants)==null?void 0:l.subtitle)!=null?a:void 0,title:(g=(w=t==null?void 0:t.variants)==null?void 0:w.title)!=null?g:void 0,description:(b=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?b:void 0,features:(y=(v=t==null?void 0:t.variants)==null?void 0:v.arrayOfImageTitleAndText)!=null?y:void 0,tags:(dt=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?dt:void 0,featuredItems:(gt=(pt=t==null?void 0:t.variants)==null?void 0:pt.featuredItems)!=null?gt:void 0,images:(wt=(xt=t==null?void 0:t.variants)==null?void 0:xt.images)!=null?wt:void 0,primaryButton:(bt=(ut=t==null?void 0:t.variants)==null?void 0:ut.primaryButton)!=null?bt:void 0};return i?(0,d.jsx)(i,{...e}):null};pn.displayName=Qn;H();j();G();E();U();nt();rt();ct();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-VMJMULYP.mjs";import{a as x}from"./chunk-AN3PFBVX.mjs";import{a as c}from"./chunk-GDVSJ2UR.mjs";import{a as o}from"./chunk-J5AVUHPT.mjs";import{a as r}from"./chunk-JLMJ5WKU.mjs";import{a as e}from"./chunk-WGYOMYCJ.mjs";import{a as t}from"./chunk-EZOHFSWE.mjs";import{a as f}from"./chunk-UZBEJEEL.mjs";import{a as m}from"./chunk-CH65ARWJ.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-VMJMULYP.mjs";import{a as x}from"./chunk-AN3PFBVX.mjs";import{a as c}from"./chunk-DODP4JDQ.mjs";import{a as o}from"./chunk-IS5MPNWR.mjs";import{a as r}from"./chunk-76IS6VW4.mjs";import{a as e}from"./chunk-W3RGT6IT.mjs";import{a as t}from"./chunk-YVG2YZHF.mjs";import{a as f}from"./chunk-7B6FI3PR.mjs";import{a as m}from"./chunk-CH65ARWJ.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.5-beta.0",
4
+ "version": "6.0.5-beta.1",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -29,21 +29,21 @@
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.2",
33
- "@stackshift-ui/typescript-config": "6.0.2"
32
+ "@stackshift-ui/typescript-config": "6.0.2",
33
+ "@stackshift-ui/eslint-config": "6.0.2"
34
34
  },
35
35
  "dependencies": {
36
36
  "classnames": "^2.5.1",
37
37
  "@stackshift-ui/scripts": "6.0.2",
38
38
  "@stackshift-ui/heading": "6.0.3",
39
- "@stackshift-ui/system": "6.0.3",
40
39
  "@stackshift-ui/text": "6.0.3",
40
+ "@stackshift-ui/system": "6.0.3",
41
41
  "@stackshift-ui/button": "6.0.3",
42
- "@stackshift-ui/section": "6.0.3",
43
42
  "@stackshift-ui/card": "6.0.3",
43
+ "@stackshift-ui/section": "6.0.3",
44
+ "@stackshift-ui/flex": "6.0.3",
44
45
  "@stackshift-ui/image": "6.0.3",
45
- "@stackshift-ui/container": "6.0.3",
46
- "@stackshift-ui/flex": "6.0.3"
46
+ "@stackshift-ui/container": "6.0.3"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@types/react": "16.8 - 19",
package/src/features.tsx CHANGED
@@ -48,7 +48,7 @@ export const Features: React.FC<SectionsProps> = ({ data }) => {
48
48
  const Variant = variant && Variants[variant as keyof typeof Variants];
49
49
 
50
50
  const props = {
51
- caption: data?.variants?.caption ?? undefined,
51
+ caption: data?.variants?.subtitle ?? undefined,
52
52
  title: data?.variants?.title ?? undefined,
53
53
  description: data?.variants?.description ?? undefined,
54
54
  features: data?.variants?.arrayOfImageTitleAndText ?? undefined,
@@ -93,7 +93,7 @@ function FeatureImage({ feature }: FeatureItemProps) {
93
93
  if (!feature?.mainImage?.image) return null;
94
94
 
95
95
  return (
96
- <span className="inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6">
96
+ <span className="inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6">
97
97
  <Image
98
98
  className="object-scale-down"
99
99
  src={`${feature?.mainImage?.image}`}
@@ -39,7 +39,7 @@ function FeatureInfo({
39
39
  return (
40
40
  <React.Fragment>
41
41
  {caption && (
42
- <Text weight="bold" className="text-primary">
42
+ <Text weight="bold" className="text-secondary">
43
43
  {caption}
44
44
  </Text>
45
45
  )}
@@ -91,8 +91,8 @@ 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">
95
- <span className="inline-block p-3 mb-4 rounded-lg bg-secondary-foreground">
94
+ <Card className="py-6 pl-6 pr-4 mb-8 bg-white" borderRadius="md">
95
+ <span className="inline-block p-3 mb-4 rounded-lg bg-secondary/50">
96
96
  {feature?.mainImage?.image && (
97
97
  <Image
98
98
  className="object-scale-down"
@@ -63,8 +63,8 @@ function FeatureItems({ features }: { features?: ArrayOfImageTitleAndText[] }) {
63
63
  function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
64
64
  return (
65
65
  <div className="w-full px-3 mb-6 lg:w-1/2">
66
- <Card className="flex flex-wrap h-full p-6">
67
- <div className="self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0">
66
+ <Card className="flex flex-wrap h-full p-6 bg-white" borderRadius="md">
67
+ <div className="self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0">
68
68
  {feature?.mainImage?.image && (
69
69
  <Image
70
70
  className="object-scale-down"
@@ -34,7 +34,7 @@ function CaptionAndTitleSection({
34
34
  return (
35
35
  <React.Fragment>
36
36
  {caption ? (
37
- <Text weight="bold" className="text-primary">
37
+ <Text weight="bold" className="text-secondary">
38
38
  {caption}
39
39
  </Text>
40
40
  ) : null}
@@ -63,8 +63,8 @@ function FeatureItems({ features }: { features?: ArrayOfImageTitleAndText[] }) {
63
63
  function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
64
64
  return (
65
65
  <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">
67
- <div className="self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5">
66
+ <Card className="h-full px-6 py-12 text-center bg-white" borderRadius="md">
67
+ <div className="self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5">
68
68
  {feature?.mainImage?.image && (
69
69
  <Image
70
70
  className="object-scale-down"
@@ -62,7 +62,9 @@ function FeaturesInfo({ featuredItems, item }: { featuredItems?: FeaturedItem[];
62
62
  if (!featuredItems) return null;
63
63
 
64
64
  return (
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">
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">
66
68
  <Text weight="bold" className="text-xs lg:text-md md:text-sm xl:text-lg text-secondary">
67
69
  {featuredItems?.[item]?.subtitle && featuredItems?.[item]?.subtitle}
68
70
  </Text>
@@ -1 +0,0 @@
1
- import{Card as s}from"@stackshift-ui/card";import{Container as a}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import x from"react";import{jsx as i,jsxs as r}from"react/jsx-runtime";function T({caption:t,title:m,description:n,features:e}){return i(p,{className:"py-20 bg-background",children:r(a,{maxWidth:1280,children:[i(a,{maxWidth:448,className:"mb-8 text-center",children:i(b,{caption:t,title:m,description:n})}),i(y,{features:e})]})})}function b({caption:t,title:m,description:n}){return r(x.Fragment,{children:[t?i(o,{weight:"bold",className:"text-primary",children:t}):null,m?i(g,{fontSize:"3xl",children:m}):null,n?i(o,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function y({features:t}){return t?i(d,{wrap:!0,justify:"center",children:t.map(m=>i(F,{feature:m},m._key))}):null}function F({feature:t}){var m,n,e,l;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:r(s,{className:"h-full px-6 py-12 text-center",children:[i("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&i(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"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{T as a};
@@ -1 +0,0 @@
1
- import{lazy as r}from"react";import{jsx as b}from"react/jsx-runtime";var A={variant_a:r(()=>import("./features_a.mjs")),variant_b:r(()=>import("./features_b.mjs")),variant_c:r(()=>import("./features_c.mjs")),variant_d:r(()=>import("./features_d.mjs")),variant_e:r(()=>import("./features_e.mjs")),variant_f:r(()=>import("./features_f.mjs")),variant_g:r(()=>import("./features_g.mjs")),variant_h:r(()=>import("./features_h.mjs"))},x="Features",R=({data:e})=>{var t,s,o,m,p,u,f,g,c,v,l,I,y,a,F,T;let i=e==null?void 0:e.variant,n=i&&A[i],_={caption:(s=(t=e==null?void 0:e.variants)==null?void 0:t.caption)!=null?s:void 0,title:(m=(o=e==null?void 0:e.variants)==null?void 0:o.title)!=null?m:void 0,description:(u=(p=e==null?void 0:e.variants)==null?void 0:p.description)!=null?u:void 0,features:(g=(f=e==null?void 0:e.variants)==null?void 0:f.arrayOfImageTitleAndText)!=null?g:void 0,tags:(v=(c=e==null?void 0:e.variants)==null?void 0:c.tags)!=null?v:void 0,featuredItems:(I=(l=e==null?void 0:e.variants)==null?void 0:l.featuredItems)!=null?I:void 0,images:(a=(y=e==null?void 0:e.variants)==null?void 0:y.images)!=null?a:void 0,primaryButton:(T=(F=e==null?void 0:e.variants)==null?void 0:F.primaryButton)!=null?T:void 0};return n?b(n,{..._}):null};R.displayName=x;export{R as a};
@@ -1 +0,0 @@
1
- import{Card as p}from"@stackshift-ui/card";import{Container as g}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as c}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as n}from"@stackshift-ui/text";import b from"react";import{jsx as m,jsxs as t}from"react/jsx-runtime";function N({caption:i,title:l,description:o,features:a,tags:s}){return m(w,{className:"py-20 bg-background",children:m(g,{maxWidth:1280,children:t(d,{wrap:!0,align:"center",children:[m("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:t(g,{maxWidth:448,children:[m(T,{caption:i,title:l,description:o}),m(h,{tags:s})]})}),m(v,{features:a})]})})})}function T({caption:i,title:l,description:o}){return t(b.Fragment,{children:[i&&m(n,{weight:"bold",className:"text-primary",children:i}),l&&m(c,{fontSize:"3xl",children:l}),o&&m(n,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function h({tags:i}){return i?m("ul",{children:i&&i.map(l=>t("li",{className:"flex mb-4",children:[m("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:m("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"})}),m(n,{muted:!0,weight:"bold",children:l})]},l))}):null}function v({features:i}){return i?m(d,{wrap:!0,className:"w-full lg:w-1/2",children:i&&(i==null?void 0:i.map((l,o)=>{var a,s,r,e;return m("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:t(p,{className:"py-6 pl-6 pr-4 mb-8",children:[m("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((a=l==null?void 0:l.mainImage)==null?void 0:a.image)&&m(x,{className:"object-scale-down",src:`${(s=l==null?void 0:l.mainImage)==null?void 0:s.image}`,width:40,height:40,alt:(e=(r=l==null?void 0:l.mainImage)==null?void 0:r.alt)!=null?e:`features-image-${o}`})}),m(n,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:l==null?void 0:l.title}),m(n,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})},o)}))}):null}export{N 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 a}from"react/jsx-runtime";function k({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:a("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[l(C,{featuredItems:o,item:i}),l(d,{featuredItems:o,item:i})]})})})})})}function C({featuredItems:o,item:i}){var n,x,r,t,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(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=(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 d({featuredItems:o,item:i}){var n,x,r,t,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",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)&&((c=o==null?void 0:o[i])==null?void 0:c.description)})]}):null}function S({featuredItems:o,children:i,slider:n}){return o?a(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{k 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 g}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as l}from"@stackshift-ui/text";import x from"react";import{jsx as m,jsxs as a}from"react/jsx-runtime";function b({caption:t,title:i,description:n,features:e}){return m(p,{className:"py-20 bg-background",children:a(r,{maxWidth:1280,children:[m(r,{maxWidth:448,className:"mb-16 text-center ",children:m(T,{caption:t,title:i,description:n})}),m(N,{features:e})]})})}function T({caption:t,title:i,description:n}){return a(x.Fragment,{children:[t?m(l,{weight:"bold",className:"text-secondary",children:t}):null,i?m(g,{fontSize:"3xl",children:i}):null,n?m(l,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function N({features:t}){return t?m(d,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(i=>m(w,{feature:i},i._key))}):null}function w({feature:t}){var i,n,e,o;return m("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:a(s,{className:"flex flex-wrap h-full p-6",children:[m("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&m(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(o=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?o:"features-main-image"})}),a("div",{className:"w-full lg:w-2/3",children:[m(l,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),m(l,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}export{b as a};