@stackshift-ui/features 6.0.13-beta.0 → 6.0.13-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-24O5VU3C.mjs +1 -0
- package/dist/chunk-3S2KSCPX.mjs +1 -0
- package/dist/chunk-5AMMO42A.mjs +1 -0
- package/dist/chunk-6BDXLZOT.mjs +1 -0
- package/dist/chunk-7ZZLNFYE.mjs +1 -0
- package/dist/features.js +1 -1
- package/dist/features.mjs +1 -1
- package/dist/features_b.js +1 -1
- package/dist/features_b.mjs +1 -1
- package/dist/features_c.js +1 -1
- package/dist/features_c.mjs +1 -1
- package/dist/features_d.js +1 -1
- package/dist/features_d.mjs +1 -1
- package/dist/features_g.js +1 -1
- package/dist/features_g.mjs +1 -1
- package/dist/features_h.js +1 -1
- package/dist/features_h.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +14 -14
- package/src/features_b.tsx +6 -6
- package/src/features_c.tsx +5 -3
- package/src/features_d.tsx +2 -2
- package/src/features_g.tsx +2 -2
- package/src/features_h.tsx +2 -2
- package/dist/chunk-37NVYEW6.mjs +0 -1
- package/dist/chunk-A45XZBNO.mjs +0 -1
- package/dist/chunk-AFTO2DW4.mjs +0 -1
- package/dist/chunk-BD3OUXBE.mjs +0 -1
- package/dist/chunk-NMDQZ26M.mjs +0 -1
- /package/dist/{chunk-UA57YG5Y.mjs → chunk-NMRXZVBL.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Card as c}from"@stackshift-ui/card";import{Container as d}from"@stackshift-ui/container";import{Flex as g}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as b}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import{jsx as i,jsxs as t}from"react/jsx-runtime";function w({caption:m,title:l,description:a,features:n,tags:s}){return i(b,{className:"py-20 bg-background",children:i(d,{maxWidth:1280,children:t(g,{wrap:!0,align:"center",children:[i("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:t(d,{maxWidth:448,children:[i(N,{caption:m,title:l,description:a}),i(h,{tags:s})]})}),i(v,{features:n})]})})})}function N({caption:m,title:l,description:a}){return t("div",{className:"flex flex-col gap-3",children:[m&&i(o,{weight:"bold",className:"text-secondary",children:m}),l&&i(p,{fontSize:"3xl",children:l}),a&&i(o,{muted:!0,className:"mb-6 leading-loose",children:a})]})}function h({tags:m}){return m?i("ul",{children:m&&m.map(l=>t("li",{className:"flex mb-4",children:[i("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:i("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),i(o,{muted:!0,weight:"bold",children:l})]},l))}):null}function v({features:m}){return m?i(g,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,a)=>{var n,s,e,r;return i("div",{className:`w-full px-4 mb-8 md:w-1/2 ${a%2===0?"lg:mb-0":"lg:mt-12"}`,children:t(c,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((n=l==null?void 0:l.mainImage)==null?void 0:n.image)&&i("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:i(x,{className:"object-scale-down",src:`${(s=l==null?void 0:l.mainImage)==null?void 0:s.image}`,width:40,height:40,alt:(r=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?r:`features-image-${a}`})}),i(o,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),i(o,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},a)}))}):null}export{w as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Card as s}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Heading as d}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as g}from"@stackshift-ui/section";import{Text as a}from"@stackshift-ui/text";import{jsx as l,jsxs as n}from"react/jsx-runtime";function p({caption:i,title:m,description:t,features:e}){return l(g,{className:"py-20 bg-background",children:n(r,{maxWidth:1800,children:[l(r,{maxWidth:640,className:"mb-16 text-center",children:l(x,{caption:i,title:m,description:t})}),l(b,{features:e})]})})}function x({caption:i,title:m,description:t}){return n("div",{className:"flex flex-col gap-3",children:[i?l(a,{weight:"bold",className:"text-secondary",children:i}):null,m?l(d,{fontSize:"3xl",children:m}):null,t?l(a,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function b({features:i}){return i?l("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:i.map(m=>l(N,{feature:m},m._key))}):null}function N({feature:i}){var m,t,e,o;return l("div",{className:"w-full p-3",children:n(s,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[l("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((m=i==null?void 0:i.mainImage)==null?void 0:m.image)&&l(c,{className:"object-scale-down",src:`${(t=i==null?void 0:i.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(o=(e=i==null?void 0:i.mainImage)==null?void 0:e.alt)!=null?o:"features-main-image"})}),n("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[l(a,{weight:"bold",className:"text-xl md:text-2xl break-all",children:i==null?void 0:i.title}),l(a,{muted:!0,className:"break-all",children:i==null?void 0:i.plainText})]})]})})}export{p as a};
|
|
@@ -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{jsx as i,jsxs as l}from"react/jsx-runtime";function x({caption:t,title:m,description:e,features:n}){return i(p,{className:"py-20 bg-background",children:l(r,{maxWidth:1280,children:[i(r,{maxWidth:448,className:"mb-8 text-center",children:i(b,{caption:t,title:m,description:e})}),i(T,{features:n})]})})}function b({caption:t,title:m,description:e}){return l("div",{className:"flex flex-col gap-3",children:[t?i(o,{weight:"bold",className:"text-secondary",children:t}):null,m?i(c,{fontSize:"3xl",children:m}):null,e?i(o,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function T({features:t}){return t?i(d,{wrap:!0,justify:"center",align:"stretch",children:t.map(m=>i(y,{feature:m},m._key))}):null}function y({feature:t}){var m,e,n,a;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:l(s,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[i("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&i(g,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(a=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?a:"features-image-"})}),i(o,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),i(o,{muted:!0,children:t==null?void 0:t.plainText})]})})}export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Container as s}from"@stackshift-ui/container";import{Flex as u}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as d}from"@stackshift-ui/text";import{jsx as l,jsxs as a}from"react/jsx-runtime";function h({caption:e,title:t,description:r,images:i,tags:n}){return l(w,{className:"py-20 bg-background",children:l(s,{maxWidth:1280,children:a(u,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(s,{maxWidth:448,children:[l(b,{caption:e,title:t,description:r}),l(N,{tags:n})]})}),l(y,{images:i})]})})})}function b({caption:e,title:t,description:r}){return a("div",{className:"flex flex-col gap-3",children:[e&&l(d,{weight:"bold",className:"text-secondary",children:e}),t&&l(v,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(d,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function N({tags:e}){return e?l("ul",{className:"font-bold text-gray-500",children:e.map(t=>l(F,{item:t}))}):null}function F({item:e}){return e?a(u,{as:"li",align:"center",className:"mb-2 ",children:[l("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:l("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),l("span",{children:e})]}):null}function y({images:e}){var r,i,n,o;if(!e||(e==null?void 0:e.length)===0)return null;function t(f,m,c,g,p){return l("div",{className:`overflow-hidden rounded-md ${p}`,children:l(x,{className:"object-cover w-full h-full",src:f,sizes:"100vw",width:c,height:g,alt:m!=null?m:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=e[2])==null?void 0:n.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((o=e[3])==null?void 0:o.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{h as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Container as f}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as N}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as b}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import{jsx as r,jsxs as o}from"react/jsx-runtime";function T({caption:t,title:n,features:l,images:e}){return r(b,{className:"py-20 bg-background",children:r(f,{maxWidth:1280,children:o(s,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(f,{maxWidth:448,children:[r(y,{caption:t,title:n}),r(F,{features:l})]})}),r(I,{images:e})]})})})}function y({caption:t,title:n}){return o("div",{className:"flex flex-col gap-3",children:[t&&r(i,{weight:"bold",className:"text-secondary",children:t}),n&&r(N,{fontSize:"3xl",className:"mb-6",children:n})]})}function F({features:t}){return!t||(t==null?void 0:t.length)<=0?null:r("ul",{children:t.map(n=>r(k,{feature:n},n._key))})}function k({feature:t}){return t?o(s,{as:"li",className:"mb-5",children:[r(A,{}),o("div",{className:"max-w-xs",children:[r(i,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),r(i,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function A(){return r("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:r("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 I({images:t}){var n,l,e,c,m,a,x,w,p,v,h,u;return!t||(t==null?void 0:t.length)===0?null:o("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[o("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&r(d,{className:"object-cover overflow-hidden rounded-md",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(c=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?c:"features-image-1"}),((m=t==null?void 0:t[1])==null?void 0:m.image)&&r(d,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(a=t==null?void 0:t[1])==null?void 0:a.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(x=t==null?void 0:t[1])==null?void 0:x.alt)!=null?w:"features-image-2"})]}),((p=t==null?void 0:t[2])==null?void 0:p.image)&&r(d,{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:(u=(h=t==null?void 0:t[2])==null?void 0:h.alt)!=null?u:"features-image-3"})]})}export{T as a};
|
package/dist/features.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var si=Object.create;var I=Object.defineProperty;var ci=Object.getOwnPropertyDescriptor;var di=Object.getOwnPropertyNames;var pi=Object.getPrototypeOf,gi=Object.prototype.hasOwnProperty;var f=(t,i)=>()=>(t&&(i=t(t=0)),i);var h=(t,i)=>{for(var n in i)I(t,n,{get:i[n],enumerable:!0})},it=(t,i,n,l)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of di(i))!gi.call(t,e)&&e!==n&&I(t,e,{get:()=>i[e],enumerable:!(l=ci(i,e))||l.enumerable});return t};var C=(t,i,n)=>(n=t!=null?si(pi(t)):{},it(i||!t||!t.__esModule?I(n,"default",{value:t,enumerable:!0}):n,t)),xi=t=>it(I({},"__esModule",{value:!0}),t);var rt={};h(rt,{Features_A:()=>ot,default:()=>ot});function ot({caption:t,title:i,description:n,features:l}){return(0,g.jsx)(et.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(L.Container,{maxWidth:1280,children:[(0,g.jsx)(L.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(vi,{caption:t,title:i,description:n})}),(0,g.jsx)(ui,{features:l})]})})}function vi({caption:t,title:i,description:n}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,g.jsx)(nt.Heading,{fontSize:"3xl",children:i}):null,n?(0,g.jsx)(k.Text,{muted:!0,children:n}):null]})}function ui({features:t}){return t?(0,g.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t==null?void 0:t.map(i=>(0,g.jsx)(wi,{feature:i},i._key))}):null}function wi({feature:t}){var i;return(0,g.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(i=t==null?void 0:t.mainImage)!=null&&i.image?(0,g.jsx)(bi,{feature:t}):null,t!=null&&t.title?(0,g.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,g.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function bi({feature:t}){var i,n,l,e;return(i=t==null?void 0:t.mainImage)!=null&&i.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,g.jsx)(lt.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-image-"})}):null}var L,nt,lt,et,k,g,mt=f(()=>{"use strict";L=require("@stackshift-ui/container"),nt=require("@stackshift-ui/heading"),lt=require("@stackshift-ui/image"),et=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),g=require("react/jsx-runtime")});var xt={};h(xt,{Features_B:()=>gt,default:()=>gt});function gt({caption:t,title:i,description:n,features:l,tags:e}){return(0,g.jsx)(et.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(W.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(_.Container,{maxWidth:448,children:[(0,g.jsx)(hi,{caption:t,title:i,description:n}),(0,g.jsx)(Ni,{tags:e})]})}),(0,g.jsx)(fi,{features:l})]})})})}function hi({caption:t,title:i,description:n}){return(0,g.jsxs)(pt.default.Fragment,{children:[t&&(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),i&&(0,g.jsx)(nt.Heading,{fontSize:"3xl",children:i}),n&&(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function Ni({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(i=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)(k.Text,{muted:!0,weight:"bold",children:i})]},i))}):null}function fi({features:t}){return t?(0,g.jsx)(W.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((i,n)=>{var l,e,a,v;return(0,g.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${n%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(at.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((l=i==null?void 0:i.mainImage)==null?void 0:l.image)&&(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,g.jsx)(lt.Image,{className:"object-scale-down",src:`${(e=i==null?void 0:i.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(v=(a=i==null?void 0:i.mainImage)==null?void 0:a.alt)!=null?v:`features-image-${n}`})}),(0,g.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:i==null?void 0:i.title}),(0,g.jsx)(k.Text,{muted:!0,className:"leading-loose",children:i==null?void 0:i.plainText})]})},n)}))}):null}var at,_,W,nt,lt,et,k,pt,g,vt=f(()=>{"use strict";at=require("@stackshift-ui/card"),_=require("@stackshift-ui/container"),W=require("@stackshift-ui/flex"),pt=C(require("react"))});var ft={};h(ft,{Features_C:()=>Nt,default:()=>Nt});function Nt({caption:t,title:i,description:n,features:l}){return(0,g.jsx)(et.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(_.Container,{maxWidth:1800,children:[(0,g.jsx)(_.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(Fi,{caption:t,title:i,description:n})}),(0,g.jsx)(Ti,{features:l})]})})}function Fi({caption:t,title:i,description:n}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,g.jsx)(nt.Heading,{fontSize:"3xl",children:i}):null,n?(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function Ti({features:t}){return t?(0,g.jsx)("div",{className:"grid lg:grid-cols-2 gap-3",children:t.map(i=>(0,g.jsx)(yi,{feature:i},i._key))}):null}function yi({feature:t}){var i,n,l,e;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(ut.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,g.jsx)(lt.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,g.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,g.jsx)(k.Text,{fontSize:"2xl",weight:"bold",children:t==null?void 0:t.title}),(0,g.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var ut,_,nt,lt,et,k,g,Ft=f(()=>{"use strict";ut=require("@stackshift-ui/card")});var Rt={};h(Rt,{Features_D:()=>It,default:()=>It});function It({caption:t,title:i,description:n,features:l}){return(0,g.jsx)(et.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(_.Container,{maxWidth:1280,children:[(0,g.jsx)(_.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(Ci,{caption:t,title:i,description:n})}),(0,g.jsx)(ki,{features:l})]})})}function Ci({caption:t,title:i,description:n}){return(0,g.jsxs)(St.default.Fragment,{children:[t?(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,g.jsx)(nt.Heading,{fontSize:"3xl",children:i}):null,n?(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function ki({features:t}){return t?(0,g.jsx)(W.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(i=>(0,g.jsx)(Ai,{feature:i},i._key))}):null}function Ai({feature:t}){var i,n,l,e;return(0,g.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,g.jsxs)(Tt.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,g.jsx)(lt.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-image-"})}),(0,g.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Tt,_,W,nt,lt,et,k,St,g,zt=f(()=>{"use strict";Tt=require("@stackshift-ui/card"),St=C(require("react"))});var Vt={};h(Vt,{Features_E:()=>$t,default:()=>$t});function $t({featuredItems:t}){let[i,n]=j.default.useState(0);return(0,g.jsx)(et.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsx)(W.Flex,{className:"relative",children:(0,g.jsx)(Ri,{featuredItems:t,slider:e=>{t&&(e==="next"?i!==t.length-1?n(a=>a+1):n(0):i>=1?n(a=>a-1):n(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,g.jsx)(Si,{featuredItems:t,item:i}),(0,g.jsx)(Ii,{featuredItems:t,item:i})]})})})})})}function Si({featuredItems:t,item:i}){var n,l,e,a,v,p,u;return(l=(n=t==null?void 0:t[i])==null?void 0:n.mainImage)!=null&&l.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,g.jsx)(lt.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[i])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(p=(v=t==null?void 0:t[i])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?u:`features-image-${i}`})}):null}function Ii({featuredItems:t,item:i}){var n,l,e,a,v,p;return t?(0,g.jsxs)(Pt.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,g.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=t==null?void 0:t[i])==null?void 0:n.subtitle)&&((l=t==null?void 0:t[i])==null?void 0:l.subtitle)}),(0,g.jsx)(nt.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[i])==null?void 0:e.title)&&((a=t==null?void 0:t[i])==null?void 0:a.title)}),(0,g.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:((v=t==null?void 0:t[i])==null?void 0:v.description)&&((p=t==null?void 0:t[i])==null?void 0:p.description)})]}):null}function Ri({featuredItems:t,children:i,slider:n}){return t?(0,g.jsxs)(j.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 lt-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)($.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"lt-10 p-4 text-white ",onClick:()=>n("prev"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),i,(0,g.jsx)("div",{className:"absolute right-0 lt-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)($.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var $,Pt,_,W,nt,lt,et,k,j,g,jt=f(()=>{"use strict";$=require("@stackshift-ui/button"),Pt=require("@stackshift-ui/card"),j=C(require("react"))});var qt={};h(qt,{Features_F:()=>Et,default:()=>Et});function Et({caption:t,title:i,description:n,images:l,primaryButton:e}){return(0,g.jsx)(et.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(W.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(W.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(zi,{caption:t,title:i,description:n}),(0,g.jsx)(Pi,{primaryButton:e})]}),(0,g.jsx)(Li,{images:l})]})})})}function zi({caption:t,title:i,description:n}){return(0,g.jsxs)(_.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),i&&(0,g.jsx)(nt.Heading,{fontSize:"3xl",className:"mb-6",children:i}),n&&(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function Pi({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(_.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)(Mt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label})}):null}function Li({images:t}){var n,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function i(v,p,u,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(lt.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((n=t[0])==null?void 0:n.image)&&i(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&i(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&i(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&i(t[3].image,t[3].alt,356,192,"")})]})]})}var Mt,_,W,nt,lt,et,k,g,Jt=f(()=>{"use strict";Mt=require("@stackshift-ui/button")});var Zt={};h(Zt,{Features_G:()=>Yt,default:()=>Yt});function Yt({caption:t,title:i,description:n,images:l,tags:e}){return(0,g.jsx)(et.Section,{className:"py-20 bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsxs)(W.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(B.Container,{maxWidth:448,children:[(0,g.jsx)(_i,{caption:t,title:i,description:n}),(0,g.jsx)(Wi,{tags:e})]})}),(0,g.jsx)(Oi,{images:l})]})})})}function _i({caption:t,title:i,description:n}){return(0,g.jsxs)(Xt.default.Fragment,{children:[t&&(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),i&&(0,g.jsx)(nt.Heading,{fontSize:"3xl",className:"mb-3",children:i}),n&&(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:n})]})}function Wi({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(i=>(0,g.jsx)(Hi,{item:i}))}):null}function Hi({item:t}){return t?(0,g.jsxs)(W.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)("span",{children:t})]}):null}function Oi({images:t}){var n,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function i(v,p,u,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(lt.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((n=t[0])==null?void 0:n.image)&&i(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&i(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&i(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&i(t[3].image,t[3].alt,356,192,"")})]})]})}var B,W,nt,lt,et,k,Xt,g,ti=f(()=>{"use strict";B=require("@stackshift-ui/container"),Xt=C(require("react"))});var oi={};h(oi,{Features_H:()=>ei,default:()=>ei});function ei({caption:t,title:i,features:n,images:l}){return(0,g.jsx)(et.Section,{className:"py-20 bg-background",children:(0,g.jsx)(q.Container,{maxWidth:1280,children:(0,g.jsxs)(W.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(q.Container,{maxWidth:448,children:[(0,g.jsx)($i,{caption:t,title:i}),(0,g.jsx)(Vi,{features:n})]})}),(0,g.jsx)(Gi,{images:l})]})})})}function $i({caption:t,title:i}){return(0,g.jsxs)(li.default.Fragment,{children:[t&&(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),i&&(0,g.jsx)(nt.Heading,{fontSize:"3xl",className:"mb-6",children:i})]})}function Vi({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(i=>(0,g.jsx)(ji,{feature:i},i._key))})}function ji({feature:t}){return t?(0,g.jsxs)(W.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Mi,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Mi(){return(0,g.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,g:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Gi({images:t}){var i,n,l,e,a,v,p,u,w,b,T,y;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((i=t==null?void 0:t[0])==null?void 0:i.image)&&(0,g.jsx)(lt.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(n=t==null?void 0:t[0])==null?void 0:n.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,g.jsx)(lt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(v=t==null?void 0:t[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?u:"features-image-2"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,g.jsx)(lt.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(y=(T=t==null?void 0:t[2])==null?void 0:T.alt)!=null?y:"features-image-3"})]})}var q,W,nt,lt,et,k,li,g,ri=f(()=>{"use strict";q=require("@stackshift-ui/container"),li=C(require("react"))});var Ei={};h(Ei,{Features:()=>mi});module.exports=xi(Ei);var N=require("react"),Bi={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(mt(),rt))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(vt(),xt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ft(),ft))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(zt(),Rt))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(jt(),Vt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Jt(),qt))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(ti(),Zt))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(ri(),oi)))},Di="Features",mi=({data:t})=>{var e,a,v,p,u,w,b,T,y,K,Q,U,X,Y,Z,tt;let i=t==null?void 0:t.variant,n=i&&Bi[i],l={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?a:void 0,title:(p=(v=t==null?void 0:t.variants)==null?void 0:v.title)!=null?p:void 0,description:(w=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?w:void 0,features:(T=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?T:void 0,tags:(K=(y=t==null?void 0:t.variants)==null?void 0:y.tags)!=null?K:void 0,featuredItems:(U=(Q=t==null?void 0:t.variants)==null?void 0:Q.featuredItems)!=null?U:void 0,images:(Y=(X=t==null?void 0:t.variants)==null?void 0:X.images)!=null?Y:void 0,primaryButton:(tt=(Z=t==null?void 0:t.variants)==null?void 0:Z.primaryButton)!=null?tt:void 0};return n?(0,g.jsx)(n,{...l}):null};mi.displayName=Di;0&&(module.exports={Features});
|
|
1
|
+
"use strict";var el=Object.create;var S=Object.defineProperty;var ol=Object.getOwnPropertyDescriptor;var rl=Object.getOwnPropertyNames;var ml=Object.getPrototypeOf,al=Object.prototype.hasOwnProperty;var f=(t,l)=>()=>(t&&(l=t(t=0)),l);var h=(t,l)=>{for(var i in l)S(t,i,{get:l[i],enumerable:!0})},tt=(t,l,i,n)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of rl(l))!al.call(t,e)&&e!==i&&S(t,e,{get:()=>l[e],enumerable:!(n=ol(l,e))||n.enumerable});return t};var sl=(t,l,i)=>(i=t!=null?el(ml(t)):{},tt(l||!t||!t.__esModule?S(i,"default",{value:t,enumerable:!0}):i,t)),cl=t=>tt(S({},"__esModule",{value:!0}),t);var ot={};h(ot,{Features_A:()=>et,default:()=>et});function et({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(dl,{caption:t,title:l,description:i})}),(0,g.jsx)(pl,{features:n})]})})}function dl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(C.Text,{muted:!0,children:i}):null]})}function pl({features:t}){return t?(0,g.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t==null?void 0:t.map(l=>(0,g.jsx)(gl,{feature:l},l._key))}):null}function gl({feature:t}){var l;return(0,g.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,g.jsx)(xl,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(C.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,g.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function xl({feature:t}){var l,i,n,e;return(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,g.jsx)(it.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}):null}var P,lt,it,nt,C,g,rt=f(()=>{"use strict";P=require("@stackshift-ui/container"),lt=require("@stackshift-ui/heading"),it=require("@stackshift-ui/image"),nt=require("@stackshift-ui/section"),C=require("@stackshift-ui/text"),g=require("react/jsx-runtime")});var pt={};h(pt,{Features_B:()=>dt,default:()=>dt});function dt({caption:t,title:l,description:i,features:n,tags:e}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(L.Container,{maxWidth:1280,children:(0,g.jsxs)(_.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(L.Container,{maxWidth:448,children:[(0,g.jsx)(vl,{caption:t,title:l,description:i}),(0,g.jsx)(ul,{tags:e})]})}),(0,g.jsx)(wl,{features:n})]})})})}function vl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:l}),i&&(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function ul({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(l=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)(C.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function wl({features:t}){return t?(0,g.jsx)(_.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((l,i)=>{var n,e,a,v;return(0,g.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(mt.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((n=l==null?void 0:l.mainImage)==null?void 0:n.image)&&(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,g.jsx)(it.Image,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(v=(a=l==null?void 0:l.mainImage)==null?void 0:a.alt)!=null?v:`features-image-${i}`})}),(0,g.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,g.jsx)(C.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},i)}))}):null}var mt,L,_,lt,it,nt,C,g,gt=f(()=>{"use strict";mt=require("@stackshift-ui/card"),L=require("@stackshift-ui/container"),_=require("@stackshift-ui/flex")});var ht={};h(ht,{Features_C:()=>bt,default:()=>bt});function bt({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(L.Container,{maxWidth:1800,children:[(0,g.jsx)(L.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(bl,{caption:t,title:l,description:i})}),(0,g.jsx)(hl,{features:n})]})})}function bl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function hl({features:t}){return t?(0,g.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:t.map(l=>(0,g.jsx)(Nl,{feature:l},l._key))}):null}function Nl({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(xt.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,g.jsx)(it.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-main-image"})}),(0,g.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,g.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl break-all",children:t==null?void 0:t.title}),(0,g.jsx)(C.Text,{muted:!0,className:"break-all",children:t==null?void 0:t.plainText})]})]})})}var xt,L,lt,it,nt,C,g,Nt=f(()=>{"use strict";xt=require("@stackshift-ui/card")});var At={};h(At,{Features_D:()=>kt,default:()=>kt});function kt({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(L.Container,{maxWidth:1280,children:[(0,g.jsx)(L.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(fl,{caption:t,title:l,description:i})}),(0,g.jsx)(Tl,{features:n})]})})}function fl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Tl({features:t}){return t?(0,g.jsx)(_.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(l=>(0,g.jsx)(Fl,{feature:l},l._key))}):null}function Fl({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,g.jsxs)(ft.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,g.jsx)(it.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}),(0,g.jsx)(C.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var ft,L,_,lt,it,nt,C,g,St=f(()=>{"use strict";ft=require("@stackshift-ui/card")});var Ht={};h(Ht,{Features_E:()=>Wt,default:()=>Wt});function Wt({featuredItems:t}){let[l,i]=V.default.useState(0);return(0,g.jsx)(nt.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(L.Container,{maxWidth:1280,children:(0,g.jsx)(_.Flex,{className:"relative",children:(0,g.jsx)(kl,{featuredItems:t,slider:e=>{t&&(e==="next"?l!==t.length-1?i(a=>a+1):i(0):l>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,g.jsx)(yl,{featuredItems:t,item:l}),(0,g.jsx)(Cl,{featuredItems:t,item:l})]})})})})})}function yl({featuredItems:t,item:l}){var i,n,e,a,v,p,u;return(n=(i=t==null?void 0:t[l])==null?void 0:i.mainImage)!=null&&n.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,g.jsx)(it.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[l])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(p=(v=t==null?void 0:t[l])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?u:`features-image-${l}`})}):null}function Cl({featuredItems:t,item:l}){var i,n,e,a,v,p;return t?(0,g.jsxs)(It.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,g.jsx)($.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[l])==null?void 0:i.subtitle)&&((n=t==null?void 0:t[l])==null?void 0:n.subtitle)}),(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[l])==null?void 0:e.title)&&((a=t==null?void 0:t[l])==null?void 0:a.title)}),(0,g.jsx)($.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((v=t==null?void 0:t[l])==null?void 0:v.description)&&((p=t==null?void 0:t[l])==null?void 0:p.description)})]}):null}function kl({featuredItems:t,children:l,slider:i}){return t?(0,g.jsxs)(V.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 C-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(O.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"C-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,g.jsx)("div",{className:"absolute right-0 C-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(O.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var O,It,L,_,lt,it,nt,$,V,g,Ot=f(()=>{"use strict";O=require("@stackshift-ui/button"),It=require("@stackshift-ui/card"),V=sl(require("react"))});var Bt={};h(Bt,{Features_F:()=>Gt,default:()=>Gt});function Gt({caption:t,title:l,description:i,images:n,primaryButton:e}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(L.Container,{maxWidth:1280,children:(0,g.jsxs)(_.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(_.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(Al,{caption:t,title:l,description:i}),(0,g.jsx)(Sl,{primaryButton:e})]}),(0,g.jsx)(Il,{images:n})]})})})}function Al({caption:t,title:l,description:i}){return(0,g.jsxs)(L.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(C.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),l&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",className:"mb-6",children:l}),i&&(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Sl({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(L.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)($t.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label})}):null}function Il({images:t}){var i,n,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(it.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=t[1])==null?void 0:n.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var $t,L,_,lt,it,nt,C,g,Dt=f(()=>{"use strict";$t=require("@stackshift-ui/button")});var Qt={};h(Qt,{Features_G:()=>Kt,default:()=>Kt});function Kt({caption:t,title:l,description:i,images:n,tags:e}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(G.Container,{maxWidth:1280,children:(0,g.jsxs)(_.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(G.Container,{maxWidth:448,children:[(0,g.jsx)(Rl,{caption:t,title:l,description:i}),(0,g.jsx)(zl,{tags:e})]})}),(0,g.jsx)(Ll,{images:n})]})})})}function Rl({caption:t,title:l,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",className:"mb-3",children:l}),i&&(0,g.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function zl({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(l=>(0,g.jsx)(Pl,{item:l}))}):null}function Pl({item:t}){return t?(0,g.jsxs)(_.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)("span",{children:t})]}):null}function Ll({images:t}){var i,n,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(it.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=t[1])==null?void 0:n.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var G,_,lt,it,nt,C,g,Ut=f(()=>{"use strict";G=require("@stackshift-ui/container")});var tl={};h(tl,{Features_H:()=>Zt,default:()=>Zt});function Zt({caption:t,title:l,features:i,images:n}){return(0,g.jsx)(nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(E.Container,{maxWidth:1280,children:(0,g.jsxs)(_.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(E.Container,{maxWidth:448,children:[(0,g.jsx)(_l,{caption:t,title:l}),(0,g.jsx)(Wl,{features:i})]})}),(0,g.jsx)($l,{images:n})]})})})}function _l({caption:t,title:l}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,g.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",className:"mb-6",children:l})]})}function Wl({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(l=>(0,g.jsx)(Hl,{feature:l},l._key))})}function Hl({feature:t}){return t?(0,g.jsxs)(_.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Ol,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(C.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(C.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Ol(){return(0,g.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,g:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function $l({images:t}){var l,i,n,e,a,v,p,u,w,b,F,y;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((l=t==null?void 0:t[0])==null?void 0:l.image)&&(0,g.jsx)(it.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(n=t==null?void 0:t[0])==null?void 0:n.alt)!=null?e:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(it.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(v=t==null?void 0:t[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?u:"features-image-2"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,g.jsx)(it.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(y=(F=t==null?void 0:t[2])==null?void 0:F.alt)!=null?y:"features-image-3"})]})}var E,_,lt,it,nt,C,g,ll=f(()=>{"use strict";E=require("@stackshift-ui/container")});var Ml={};h(Ml,{Features:()=>il});module.exports=cl(Ml);var N=require("react"),Vl={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(rt(),ot))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(gt(),pt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(Nt(),ht))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(St(),At))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ot(),Ht))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ut(),Qt))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(ll(),tl)))},jl="Features",il=({data:t})=>{var e,a,v,p,u,w,b,F,y,J,K,Q,U,X,Y,Z;let l=t==null?void 0:t.variant,i=l&&Vl[l],n={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?a:void 0,title:(p=(v=t==null?void 0:t.variants)==null?void 0:v.title)!=null?p:void 0,description:(w=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?w:void 0,features:(F=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?F:void 0,tags:(J=(y=t==null?void 0:t.variants)==null?void 0:y.tags)!=null?J:void 0,featuredItems:(Q=(K=t==null?void 0:t.variants)==null?void 0:K.featuredItems)!=null?Q:void 0,images:(X=(U=t==null?void 0:t.variants)==null?void 0:U.images)!=null?X:void 0,primaryButton:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.primaryButton)!=null?Z:void 0};return i?(0,g.jsx)(i,{...n}):null};il.displayName=jl;0&&(module.exports={Features});
|
package/dist/features.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-NMRXZVBL.mjs";export{a as Features};
|
package/dist/features_b.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var s=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var T=(m,l)=>{for(var a in l)s(m,a,{get:l[a],enumerable:!0})},y=(m,l,a,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let o of h(l))!v.call(m,o)&&o!==a&&s(m,o,{get:()=>l[o],enumerable:!(t=N(l,o))||t.enumerable});return m};var F=m=>y(s({},"__esModule",{value:!0}),m);var u={};T(u,{Features_B:()=>w,default:()=>w});module.exports=F(u);var c=require("@stackshift-ui/card"),e=require("@stackshift-ui/container"),r=require("@stackshift-ui/flex"),p=require("@stackshift-ui/heading"),x=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),n=require("@stackshift-ui/text"),i=require("react/jsx-runtime");function w({caption:m,title:l,description:a,features:t,tags:o}){return(0,i.jsx)(b.Section,{className:"py-20 bg-background",children:(0,i.jsx)(e.Container,{maxWidth:1280,children:(0,i.jsxs)(r.Flex,{wrap:!0,align:"center",children:[(0,i.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(e.Container,{maxWidth:448,children:[(0,i.jsx)(I,{caption:m,title:l,description:a}),(0,i.jsx)(k,{tags:o})]})}),(0,i.jsx)(C,{features:t})]})})})}function I({caption:m,title:l,description:a}){return(0,i.jsxs)("div",{className:"flex flex-col gap-3",children:[m&&(0,i.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:m}),l&&(0,i.jsx)(p.Heading,{fontSize:"3xl",children:l}),a&&(0,i.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:a})]})}function k({tags:m}){return m?(0,i.jsx)("ul",{children:m&&m.map(l=>(0,i.jsxs)("li",{className:"flex mb-4",children:[(0,i.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,i.jsx)(n.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function C({features:m}){return m?(0,i.jsx)(r.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,a)=>{var t,o,d,g;return(0,i.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${a%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,i.jsxs)(c.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,i.jsx)(x.Image,{className:"object-scale-down",src:`${(o=l==null?void 0:l.mainImage)==null?void 0:o.image}`,width:40,height:40,alt:(g=(d=l==null?void 0:l.mainImage)==null?void 0:d.alt)!=null?g:`features-image-${a}`})}),(0,i.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,i.jsx)(n.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},a)}))}):null}0&&(module.exports={Features_B});
|
package/dist/features_b.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-24O5VU3C.mjs";export{a as Features_B,a as default};
|
package/dist/features_c.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var o=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var T=(i,l)=>{for(var t in l)o(i,t,{get:l[t],enumerable:!0})},v=(i,l,t,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of b(l))!N.call(i,e)&&e!==t&&o(i,e,{get:()=>l[e],enumerable:!(a=x(l,e))||a.enumerable});return i};var f=i=>v(o({},"__esModule",{value:!0}),i);var y={};T(y,{Features_C:()=>p,default:()=>p});module.exports=f(y);var s=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),d=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),g=require("@stackshift-ui/section"),n=require("@stackshift-ui/text"),m=require("react/jsx-runtime");function p({caption:i,title:l,description:t,features:a}){return(0,m.jsx)(g.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(r.Container,{maxWidth:1800,children:[(0,m.jsx)(r.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,m.jsx)(h,{caption:i,title:l,description:t})}),(0,m.jsx)(w,{features:a})]})})}function h({caption:i,title:l,description:t}){return(0,m.jsxs)("div",{className:"flex flex-col gap-3",children:[i?(0,m.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:i}):null,l?(0,m.jsx)(d.Heading,{fontSize:"3xl",children:l}):null,t?(0,m.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function w({features:i}){return i?(0,m.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:i.map(l=>(0,m.jsx)(I,{feature:l},l._key))}):null}function I({feature:i}){var l,t,a,e;return(0,m.jsx)("div",{className:"w-full p-3",children:(0,m.jsxs)(s.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=i==null?void 0:i.mainImage)==null?void 0:l.image)&&(0,m.jsx)(c.Image,{className:"object-scale-down",src:`${(t=i==null?void 0:i.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(e=(a=i==null?void 0:i.mainImage)==null?void 0:a.alt)!=null?e:"features-main-image"})}),(0,m.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,m.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl break-all",children:i==null?void 0:i.title}),(0,m.jsx)(n.Text,{muted:!0,className:"break-all",children:i==null?void 0:i.plainText})]})]})})}0&&(module.exports={Features_C});
|
package/dist/features_c.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-3S2KSCPX.mjs";export{a as Features_C,a as default};
|
package/dist/features_d.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var h=(t,i)=>{for(var e in i)a(t,e,{get:i[e],enumerable:!0})},N=(t,i,e,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of T(i))!y.call(t,n)&&n!==e&&a(t,n,{get:()=>i[n],enumerable:!(o=b(i,n))||o.enumerable});return t};var I=t=>N(a({},"__esModule",{value:!0}),t);var f={};h(f,{Features_D:()=>x,default:()=>x});module.exports=I(f);var s=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),l=require("@stackshift-ui/text"),m=require("react/jsx-runtime");function x({caption:t,title:i,description:e,features:o}){return(0,m.jsx)(p.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(r.Container,{maxWidth:1280,children:[(0,m.jsx)(r.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,m.jsx)(w,{caption:t,title:i,description:e})}),(0,m.jsx)(A,{features:o})]})})}function w({caption:t,title:i,description:e}){return(0,m.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,m.jsx)(l.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,m.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,e?(0,m.jsx)(l.Text,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function A({features:t}){return t?(0,m.jsx)(d.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(i=>(0,m.jsx)(F,{feature:i},i._key))}):null}function F({feature:t}){var i,e,o,n;return(0,m.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,m.jsxs)(s.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,m.jsx)(g.Image,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(n=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?n:"features-image-"})}),(0,m.jsx)(l.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,m.jsx)(l.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
|
package/dist/features_d.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-5AMMO42A.mjs";export{a as Features_D,a as default};
|
package/dist/features_g.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var m=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var r in t)m(e,r,{get:t[r],enumerable:!0})},I=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N(t))!F.call(e,a)&&a!==r&&m(e,a,{get:()=>t[a],enumerable:!(i=b(t,a))||i.enumerable});return e};var z=e=>I(m({},"__esModule",{value:!0}),e);var G={};y(G,{Features_G:()=>p,default:()=>p});module.exports=z(G);var o=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),f=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),g=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function p({caption:e,title:t,description:r,images:i,tags:a}){return(0,l.jsx)(g.Section,{className:"py-20 bg-background",children:(0,l.jsx)(o.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(o.Container,{maxWidth:448,children:[(0,l.jsx)(C,{caption:e,title:t,description:r}),(0,l.jsx)(T,{tags:a})]})}),(0,l.jsx)(S,{images:i})]})})})}function C({caption:e,title:t,description:r}){return(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(f.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function T({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(R,{item:t}))}):null}function R({item:e}){return e?(0,l.jsxs)(d.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function S({images:e}){var r,i,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(v,n,x,w,h){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,l.jsx)(c.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:x,height:w,alt:n!=null?n:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
|
package/dist/features_g.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-6BDXLZOT.mjs";export{a as Features_G,a as default};
|
package/dist/features_h.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var c=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var A=(t,n)=>{for(var o in n)c(t,o,{get:n[o],enumerable:!0})},I=(t,n,o,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of F(n))!k.call(t,l)&&l!==o&&c(t,l,{get:()=>n[l],enumerable:!(e=y(n,l))||e.enumerable});return t};var C=t=>I(c({},"__esModule",{value:!0}),t);var O={};A(O,{Features_H:()=>T,default:()=>T});module.exports=C(O);var m=require("@stackshift-ui/container"),a=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),i=require("@stackshift-ui/text"),r=require("react/jsx-runtime");function T({caption:t,title:n,features:o,images:e}){return(0,r.jsx)(b.Section,{className:"py-20 bg-background",children:(0,r.jsx)(m.Container,{maxWidth:1280,children:(0,r.jsxs)(a.Flex,{wrap:!0,align:"center",children:[(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(m.Container,{maxWidth:448,children:[(0,r.jsx)(z,{caption:t,title:n}),(0,r.jsx)(S,{features:o})]})}),(0,r.jsx)(L,{images:e})]})})})}function z({caption:t,title:n}){return(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,r.jsx)(i.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,r.jsx)(N.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function S({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,r.jsx)("ul",{children:t.map(n=>(0,r.jsx)(j,{feature:n},n._key))})}function j({feature:t}){return t?(0,r.jsxs)(a.Flex,{as:"li",className:"mb-5",children:[(0,r.jsx)(H,{}),(0,r.jsxs)("div",{className:"max-w-xs",children:[(0,r.jsx)(i.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,r.jsx)(i.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function H(){return(0,r.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,r.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 L({images:t}){var n,o,e,l,x,w,p,v,h,u,f,s;return!t||(t==null?void 0:t.length)===0?null:(0,r.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,r.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,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(o=t==null?void 0:t[0])==null?void 0:o.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"}),((x=t==null?void 0:t[1])==null?void 0:x.image)&&(0,r.jsx)(d.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:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((h=t==null?void 0:t[2])==null?void 0:h.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(u=t==null?void 0:t[2])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(s=(f=t==null?void 0:t[2])==null?void 0:f.alt)!=null?s:"features-image-3"})]})}0&&(module.exports={Features_H});
|
package/dist/features_h.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-7ZZLNFYE.mjs";export{a as Features_H,a as default};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var si=Object.create;var I=Object.defineProperty;var ci=Object.getOwnPropertyDescriptor;var di=Object.getOwnPropertyNames;var pi=Object.getPrototypeOf,gi=Object.prototype.hasOwnProperty;var N=(t,i)=>()=>(t&&(i=t(t=0)),i);var h=(t,i)=>{for(var n in i)I(t,n,{get:i[n],enumerable:!0})},wt=(t,i,n,l)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of di(i))!gi.call(t,e)&&e!==n&&I(t,e,{get:()=>i[e],enumerable:!(l=ci(i,e))||l.enumerable});return t};var C=(t,i,n)=>(n=t!=null?si(pi(t)):{},wt(i||!t||!t.__esModule?I(n,"default",{value:t,enumerable:!0}):n,t)),xi=t=>wt(I({},"__esModule",{value:!0}),t);var Nt={};h(Nt,{Features_A:()=>_,default:()=>_});function _({caption:t,title:i,description:n,features:l}){return(0,g.jsx)(ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(L.Container,{maxWidth:1280,children:[(0,g.jsx)(L.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(vi,{caption:t,title:i,description:n})}),(0,g.jsx)(ui,{features:l})]})})}function vi({caption:t,title:i,description:n}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,g.jsx)(bt.Heading,{fontSize:"3xl",children:i}):null,n?(0,g.jsx)(k.Text,{muted:!0,children:n}):null]})}function ui({features:t}){return t?(0,g.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t==null?void 0:t.map(i=>(0,g.jsx)(wi,{feature:i},i._key))}):null}function wi({feature:t}){var i;return(0,g.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(i=t==null?void 0:t.mainImage)!=null&&i.image?(0,g.jsx)(bi,{feature:t}):null,t!=null&&t.title?(0,g.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,g.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function bi({feature:t}){var i,n,l,e;return(i=t==null?void 0:t.mainImage)!=null&&i.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,g.jsx)(ht.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-image-"})}):null}var L,bt,ht,ft,k,g,W=N(()=>{"use strict";L=require("@stackshift-ui/container"),bt=require("@stackshift-ui/heading"),ht=require("@stackshift-ui/image"),ft=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),g=require("react/jsx-runtime")});var At={};h(At,{Features_B:()=>$,default:()=>$});function $({caption:t,title:i,description:n,features:l,tags:e}){return(0,g.jsx)(ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(H.Container,{maxWidth:1280,children:(0,g.jsxs)(O.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(H.Container,{maxWidth:448,children:[(0,g.jsx)(hi,{caption:t,title:i,description:n}),(0,g.jsx)(fi,{tags:e})]})}),(0,g.jsx)(Ni,{features:l})]})})})}function hi({caption:t,title:i,description:n}){return(0,g.jsxs)(kt.default.Fragment,{children:[t&&(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),i&&(0,g.jsx)(bt.Heading,{fontSize:"3xl",children:i}),n&&(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function fi({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(i=>(0,g.jsxs)("bt",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)(k.Text,{muted:!0,weight:"bold",children:i})]},i))}):null}function Ni({features:t}){return t?(0,g.jsx)(O.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((i,n)=>{var l,e,a,v;return(0,g.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${n%2===0?"lg:mb-0":"lg:O-12"}`,children:(0,g.jsxs)(Ft.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((l=i==null?void 0:i.mainImage)==null?void 0:l.image)&&(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,g.jsx)(ht.Image,{className:"object-scale-down",src:`${(e=i==null?void 0:i.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(v=(a=i==null?void 0:i.mainImage)==null?void 0:a.alt)!=null?v:`features-image-${n}`})}),(0,g.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:i==null?void 0:i.title}),(0,g.jsx)(k.Text,{muted:!0,className:"leading-loose",children:i==null?void 0:i.plainText})]})},n)}))}):null}var Ft,H,O,bt,ht,ft,k,kt,g,V=N(()=>{"use strict";Ft=require("@stackshift-ui/card"),H=require("@stackshift-ui/container"),O=require("@stackshift-ui/flex"),kt=C(require("react"))});var Pt={};h(Pt,{Features_C:()=>M,default:()=>M});function M({caption:t,title:i,description:n,features:l}){return(0,g.jsx)(ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(H.Container,{maxWidth:1800,children:[(0,g.jsx)(H.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(Fi,{caption:t,title:i,description:n})}),(0,g.jsx)(Ti,{features:l})]})})}function Fi({caption:t,title:i,description:n}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,g.jsx)(bt.Heading,{fontSize:"3xl",children:i}):null,n?(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function Ti({features:t}){return t?(0,g.jsx)("div",{className:"grid lg:grid-cols-2 gap-3",children:t.map(i=>(0,g.jsx)(yi,{feature:i},i._key))}):null}function yi({feature:t}){var i,n,l,e;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(St.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,g.jsx)(ht.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,g.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,g.jsx)(k.Text,{fontSize:"2xl",weight:"bold",children:t==null?void 0:t.title}),(0,g.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var St,H,bt,ht,ft,k,g,G=N(()=>{"use strict";St=require("@stackshift-ui/card")});var Vt={};h(Vt,{Features_D:()=>D,default:()=>D});function D({caption:t,title:i,description:n,features:l}){return(0,g.jsx)(ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(H.Container,{maxWidth:1280,children:[(0,g.jsx)(H.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(Ci,{caption:t,title:i,description:n})}),(0,g.jsx)(ki,{features:l})]})})}function Ci({caption:t,title:i,description:n}){return(0,g.jsxs)($t.default.Fragment,{children:[t?(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,g.jsx)(bt.Heading,{fontSize:"3xl",children:i}):null,n?(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function ki({features:t}){return t?(0,g.jsx)(O.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(i=>(0,g.jsx)(Ai,{feature:i},i._key))}):null}function Ai({feature:t}){var i,n,l,e;return(0,g.jsx)("div",{className:"w-full px-4 O-8 lg:mb-0 lg:w-1/3",children:(0,g.jsxs)(Lt.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,g.jsx)(ht.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-image-"})}),(0,g.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Lt,H,O,bt,ht,ft,k,$t,g,E=N(()=>{"use strict";Lt=require("@stackshift-ui/card"),$t=C(require("react"))});var qt={};h(qt,{Features_E:()=>Q,default:()=>Q});function Q({featuredItems:t}){let[i,n]=K.default.useState(0);return(0,g.jsx)(ft.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(H.Container,{maxWidth:1280,children:(0,g.jsx)(O.Flex,{className:"relative",children:(0,g.jsx)(Ri,{featuredItems:t,slider:e=>{t&&(e==="next"?i!==t.length-1?n(a=>a+1):n(0):i>=1?n(a=>a-1):n(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,g.jsx)(Si,{featuredItems:t,item:i}),(0,g.jsx)(Ii,{featuredItems:t,item:i})]})})})})})}function Si({featuredItems:t,item:i}){var n,l,e,a,v,p,u;return(l=(n=t==null?void 0:t[i])==null?void 0:n.mainImage)!=null&&l.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,g.jsx)(ht.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[i])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(p=(v=t==null?void 0:t[i])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?u:`features-image-${i}`})}):null}function Ii({featuredItems:t,item:i}){var n,l,e,a,v,p;return t?(0,g.jsxs)(jt.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:O-12 md:p-10 lg:O-12 lg:p-10 xl:absolute xl:mx-0 xl:O-20 xl:py-24",borderRadius:"md",children:[(0,g.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=t==null?void 0:t[i])==null?void 0:n.subtitle)&&((l=t==null?void 0:t[i])==null?void 0:l.subtitle)}),(0,g.jsx)(bt.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[i])==null?void 0:e.title)&&((a=t==null?void 0:t[i])==null?void 0:a.title)}),(0,g.jsx)(k.Text,{muted:!0,className:"text-xs leading-loose text-center md:O-5 md:text-sm lg:O-5 lg:text-sm",children:((v=t==null?void 0:t[i])==null?void 0:v.description)&&((p=t==null?void 0:t[i])==null?void 0:p.description)})]}):null}function Ri({featuredItems:t,children:i,slider:n}){return t?(0,g.jsxs)(K.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 ht-40 items-center O-20 -mx-3 order-0 md:O-40 lg:O-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(q.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"ht-10 p-4 text-white ",onClick:()=>n("prev"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),i,(0,g.jsx)("div",{className:"absolute right-0 ht-40 items-center order-2 O-20 -mx-3 md:O-40 lg:O-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(q.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:(0,g.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var q,jt,H,O,bt,ht,ft,k,K,g,U=N(()=>{"use strict";q=require("@stackshift-ui/button"),jt=require("@stackshift-ui/card"),K=C(require("react"))});var Xt={};h(Xt,{Features_F:()=>Z,default:()=>Z});function Z({caption:t,title:i,description:n,images:l,primaryButton:e}){return(0,g.jsx)(ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(H.Container,{maxWidth:1280,children:(0,g.jsxs)(O.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(O.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(zi,{caption:t,title:i,description:n}),(0,g.jsx)(Pi,{primaryButton:e})]}),(0,g.jsx)(Li,{images:l})]})})})}function zi({caption:t,title:i,description:n}){return(0,g.jsxs)(H.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),i&&(0,g.jsx)(bt.Heading,{fontSize:"3xl",className:"mb-6",children:i}),n&&(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function Pi({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(H.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)(Jt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label})}):null}function Li({images:t}){var n,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function i(v,p,u,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(ht.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((n=t[0])==null?void 0:n.image)&&i(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&i(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&i(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&i(t[3].image,t[3].alt,356,192,"")})]})]})}var Jt,H,O,bt,ht,ft,k,g,tt=N(()=>{"use strict";Jt=require("@stackshift-ui/button")});var ni={};h(ni,{Features_G:()=>et,default:()=>et});function et({caption:t,title:i,description:n,images:l,tags:e}){return(0,g.jsx)(ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(it.Container,{maxWidth:1280,children:(0,g.jsxs)(O.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(it.Container,{maxWidth:448,children:[(0,g.jsx)(_i,{caption:t,title:i,description:n}),(0,g.jsx)(Wi,{tags:e})]})}),(0,g.jsx)(Oi,{images:l})]})})})}function _i({caption:t,title:i,description:n}){return(0,g.jsxs)(ii.default.Fragment,{children:[t&&(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),i&&(0,g.jsx)(bt.Heading,{fontSize:"3xl",className:"mb-3",children:i}),n&&(0,g.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:n})]})}function Wi({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(i=>(0,g.jsx)(Hi,{item:i}))}):null}function Hi({item:t}){return t?(0,g.jsxs)(O.Flex,{as:"bt",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,g.jsx)("span",{children:t})]}):null}function Oi({images:t}){var n,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function i(v,p,u,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(ht.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((n=t[0])==null?void 0:n.image)&&i(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&i(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&i(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&i(t[3].image,t[3].alt,356,192,"")})]})]})}var it,O,bt,ht,ft,k,ii,g,ot=N(()=>{"use strict";it=require("@stackshift-ui/container"),ii=C(require("react"))});var ri={};h(ri,{Features_H:()=>at,default:()=>at});function at({caption:t,title:i,features:n,images:l}){return(0,g.jsx)(ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(rt.Container,{maxWidth:1280,children:(0,g.jsxs)(O.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(rt.Container,{maxWidth:448,children:[(0,g.jsx)($i,{caption:t,title:i}),(0,g.jsx)(Vi,{features:n})]})}),(0,g.jsx)(Gi,{images:l})]})})})}function $i({caption:t,title:i}){return(0,g.jsxs)(oi.default.Fragment,{children:[t&&(0,g.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),i&&(0,g.jsx)(bt.Heading,{fontSize:"3xl",className:"mb-6",children:i})]})}function Vi({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(i=>(0,g.jsx)(ji,{feature:i},i._key))})}function ji({feature:t}){return t?(0,g.jsxs)(O.Flex,{as:"bt",className:"mb-5",children:[(0,g.jsx)(Mi,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Mi(){return(0,g.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,g:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Gi({images:t}){var i,n,l,e,a,v,p,u,w,b,T,y;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((i=t==null?void 0:t[0])==null?void 0:i.image)&&(0,g.jsx)(ht.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(n=t==null?void 0:t[0])==null?void 0:n.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,g.jsx)(ht.Image,{className:"object-cover O-6 overflow-hidden rounded-md",src:`${(v=t==null?void 0:t[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?u:"features-image-2"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,g.jsx)(ht.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(y=(T=t==null?void 0:t[2])==null?void 0:T.alt)!=null?y:"features-image-3"})]})}var rt,O,bt,ht,ft,k,oi,g,st=N(()=>{"use strict";rt=require("@stackshift-ui/container"),oi=C(require("react"))});var Ei={};h(Ei,{Features:()=>mi,Features_A:()=>_,Features_B:()=>$,Features_C:()=>M,Features_D:()=>D,Features_E:()=>Q,Features_F:()=>Z,Features_G:()=>et,Features_H:()=>at});module.exports=xi(Ei);var f=require("react"),Bi={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(W(),Nt))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>(V(),At))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(G(),Pt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(E(),Vt))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(U(),qt))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(tt(),Xt))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(ot(),ni))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(st(),ri)))},Di="Features",mi=({data:t})=>{var e,a,v,p,u,w,b,T,y,ct,dt,pt,gt,xt,vt,ut;let i=t==null?void 0:t.variant,n=i&&Bi[i],l={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?a:void 0,title:(p=(v=t==null?void 0:t.variants)==null?void 0:v.title)!=null?p:void 0,description:(w=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?w:void 0,features:(T=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?T:void 0,tags:(ct=(y=t==null?void 0:t.variants)==null?void 0:y.tags)!=null?ct:void 0,featuredItems:(pt=(dt=t==null?void 0:t.variants)==null?void 0:dt.featuredItems)!=null?pt:void 0,images:(xt=(gt=t==null?void 0:t.variants)==null?void 0:gt.images)!=null?xt:void 0,primaryButton:(ut=(vt=t==null?void 0:t.variants)==null?void 0:vt.primaryButton)!=null?ut:void 0};return n?(0,g.jsx)(n,{...l}):null};mi.displayName=Di;W();V();G();E();U();tt();ot();st();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
|
|
2
|
+
"use strict";var nl=Object.create;var S=Object.defineProperty;var ol=Object.getOwnPropertyDescriptor;var rl=Object.getOwnPropertyNames;var ml=Object.getPrototypeOf,al=Object.prototype.hasOwnProperty;var N=(t,l)=>()=>(t&&(l=t(t=0)),l);var h=(t,l)=>{for(var i in l)S(t,i,{get:l[i],enumerable:!0})},ut=(t,l,i,e)=>{if(l&&typeof l=="object"||typeof l=="function")for(let n of rl(l))!al.call(t,n)&&n!==i&&S(t,n,{get:()=>l[n],enumerable:!(e=ol(l,n))||e.enumerable});return t};var sl=(t,l,i)=>(i=t!=null?nl(ml(t)):{},ut(l||!t||!t.__esModule?S(i,"default",{value:t,enumerable:!0}):i,t)),cl=t=>ut(S({},"__esModule",{value:!0}),t);var ft={};h(ft,{Features_A:()=>L,default:()=>L});function L({caption:t,title:l,description:i,features:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsxs)(P.Container,{maxWidth:1280,children:[(0,x.jsx)(P.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,x.jsx)(dl,{caption:t,title:l,description:i})}),(0,x.jsx)(pl,{features:e})]})})}function dl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}):null,i?(0,x.jsx)(C.Text,{muted:!0,children:i}):null]})}function pl({features:t}){return t?(0,x.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t==null?void 0:t.map(l=>(0,x.jsx)(xl,{feature:l},l._key))}):null}function xl({feature:t}){var l;return(0,x.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,x.jsx)(gl,{feature:t}):null,t!=null&&t.title?(0,x.jsx)(C.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,x.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function gl({feature:t}){var l,i,e,n;return(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,x.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}):null}var P,wt,bt,ht,C,x,_=N(()=>{"use strict";P=require("@stackshift-ui/container"),wt=require("@stackshift-ui/heading"),bt=require("@stackshift-ui/image"),ht=require("@stackshift-ui/section"),C=require("@stackshift-ui/text"),x=require("react/jsx-runtime")});var Ct={};h(Ct,{Features_B:()=>O,default:()=>O});function O({caption:t,title:l,description:i,features:e,tags:n}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(W.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,x.jsxs)(W.Container,{maxWidth:448,children:[(0,x.jsx)(vl,{caption:t,title:l,description:i}),(0,x.jsx)(ul,{tags:n})]})}),(0,x.jsx)(wl,{features:e})]})})})}function vl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}),i&&(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function ul({tags:t}){return t?(0,x.jsx)("ul",{children:t&&t.map(l=>(0,x.jsxs)("li",{className:"flex mb-4",children:[(0,x.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,x.jsx)("path",{fillRule:"evenodd",x:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,x.jsx)(C.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function wl({features:t}){return t?(0,x.jsx)(H.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((l,i)=>{var e,n,a,v;return(0,x.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,x.jsxs)(Nt.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((e=l==null?void 0:l.mainImage)==null?void 0:e.image)&&(0,x.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(n=l==null?void 0:l.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(v=(a=l==null?void 0:l.mainImage)==null?void 0:a.alt)!=null?v:`features-image-${i}`})}),(0,x.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,x.jsx)(C.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},i)}))}):null}var Nt,W,H,wt,bt,ht,C,x,$=N(()=>{"use strict";Nt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),H=require("@stackshift-ui/flex")});var Rt={};h(Rt,{Features_C:()=>j,default:()=>j});function j({caption:t,title:l,description:i,features:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsxs)(W.Container,{maxWidth:1800,children:[(0,x.jsx)(W.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,x.jsx)(bl,{caption:t,title:l,description:i})}),(0,x.jsx)(hl,{features:e})]})})}function bl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}):null,i?(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function hl({features:t}){return t?(0,x.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:t.map(l=>(0,x.jsx)(fl,{feature:l},l._key))}):null}function fl({feature:t}){var l,i,e,n;return(0,x.jsx)("div",{className:"w-full p-3",children:(0,x.jsxs)(kt.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,x.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?n:"features-main-image"})}),(0,x.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,x.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl break-all",children:t==null?void 0:t.title}),(0,x.jsx)(C.Text,{muted:!0,className:"break-all",children:t==null?void 0:t.plainText})]})]})})}var kt,W,wt,bt,ht,C,x,M=N(()=>{"use strict";kt=require("@stackshift-ui/card")});var Ht={};h(Ht,{Features_D:()=>B,default:()=>B});function B({caption:t,title:l,description:i,features:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsxs)(W.Container,{maxWidth:1280,children:[(0,x.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,x.jsx)(Nl,{caption:t,title:l,description:i})}),(0,x.jsx)(Tl,{features:e})]})})}function Nl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}):null,i?(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Tl({features:t}){return t?(0,x.jsx)(H.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(l=>(0,x.jsx)(Fl,{feature:l},l._key))}):null}function Fl({feature:t}){var l,i,e,n;return(0,x.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,x.jsxs)(zt.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,x.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}),(0,x.jsx)(C.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,x.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var zt,W,H,wt,bt,ht,C,x,D=N(()=>{"use strict";zt=require("@stackshift-ui/card")});var Bt={};h(Bt,{Features_E:()=>K,default:()=>K});function K({featuredItems:t}){let[l,i]=J.default.useState(0);return(0,x.jsx)(ht.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,x.jsx)($t.Container,{maxWidth:1280,children:(0,x.jsx)(H.Flex,{className:"relative",children:(0,x.jsx)(kl,{featuredItems:t,slider:n=>{t&&(n==="next"?l!==t.length-1?i(a=>a+1):i(0):l>=1?i(a=>a-1):i(t.length-1))},children:(0,x.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,x.jsx)(yl,{featuredItems:t,item:l}),(0,x.jsx)(Cl,{featuredItems:t,item:l})]})})})})})}function yl({featuredItems:t,item:l}){var i,e,n,a,v,p,u;return(e=(i=t==null?void 0:t[l])==null?void 0:i.mainImage)!=null&&e.image?(0,x.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,x.jsx)(bt.Image,{className:"relative object-cover rounded-md",src:`${(a=(n=t==null?void 0:t[l])==null?void 0:n.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(p=(v=t==null?void 0:t[l])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?u:`features-image-${l}`})}):null}function Cl({featuredItems:t,item:l}){var i,e,n,a,v,p;return t?(0,x.jsxs)(Ot.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,x.jsx)(C.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[l])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[l])==null?void 0:e.subtitle)}),(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:((n=t==null?void 0:t[l])==null?void 0:n.title)&&((a=t==null?void 0:t[l])==null?void 0:a.title)}),(0,x.jsx)(C.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((v=t==null?void 0:t[l])==null?void 0:v.description)&&((p=t==null?void 0:t[l])==null?void 0:p.description)})]}):null}function kl({featuredItems:t,children:l,slider:i}){return t?(0,x.jsxs)(J.default.Fragment,{children:[(0,x.jsx)("div",{className:"absolute left-0 C-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,x.jsx)(E.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"C-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,x.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,x.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",x:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,x.jsx)("div",{className:"absolute right-0 C-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,x.jsx)(E.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,x.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,x.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",x:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var E,Ot,$t,H,wt,bt,ht,C,J,x,Q=N(()=>{"use strict";E=require("@stackshift-ui/button"),Ot=require("@stackshift-ui/card"),J=sl(require("react"))});var Kt={};h(Kt,{Features_F:()=>Y,default:()=>Y});function Y({caption:t,title:l,description:i,images:e,primaryButton:n}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(W.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsxs)(H.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,x.jsx)(Al,{caption:t,title:l,description:i}),(0,x.jsx)(Sl,{primaryButton:n})]}),(0,x.jsx)(Il,{images:e})]})})})}function Al({caption:t,title:l,description:i}){return(0,x.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",className:"mb-6",children:l}),i&&(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Sl({primaryButton:t}){return t!=null&&t.label?(0,x.jsx)(W.Container,{maxWidth:448,className:"ml-0",children:(0,x.jsx)(Dt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label})}):null}function Il({images:t}){var i,e,n,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,x.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,x.jsx)(bt.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,x.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,x.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=t[1])==null?void 0:e.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,x.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=t[2])==null?void 0:n.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var Dt,W,H,wt,bt,ht,C,x,Z=N(()=>{"use strict";Dt=require("@stackshift-ui/button")});var Yt={};h(Yt,{Features_G:()=>et,default:()=>et});function et({caption:t,title:l,description:i,images:e,tags:n}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(tt.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,x.jsxs)(tt.Container,{maxWidth:448,children:[(0,x.jsx)(Rl,{caption:t,title:l,description:i}),(0,x.jsx)(zl,{tags:n})]})}),(0,x.jsx)(Ll,{images:e})]})})})}function Rl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",className:"mb-3",children:l}),i&&(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function zl({tags:t}){return t?(0,x.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(l=>(0,x.jsx)(Pl,{item:l}))}):null}function Pl({item:t}){return t?(0,x.jsxs)(H.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,x.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,x.jsx)("path",{fillRule:"evenodd",x:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,x.jsx)("span",{children:t})]}):null}function Ll({images:t}){var i,e,n,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,x.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,x.jsx)(bt.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,x.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,x.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=t[1])==null?void 0:e.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,x.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=t[2])==null?void 0:n.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var tt,H,wt,bt,ht,C,x,nt=N(()=>{"use strict";tt=require("@stackshift-ui/container")});var ll={};h(ll,{Features_H:()=>mt,default:()=>mt});function mt({caption:t,title:l,features:i,images:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(ot.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,x.jsxs)(ot.Container,{maxWidth:448,children:[(0,x.jsx)(_l,{caption:t,title:l}),(0,x.jsx)(Wl,{features:i})]})}),(0,x.jsx)($l,{images:e})]})})})}function _l({caption:t,title:l}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",className:"mb-6",children:l})]})}function Wl({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,x.jsx)("ul",{children:t.map(l=>(0,x.jsx)(Hl,{feature:l},l._key))})}function Hl({feature:t}){return t?(0,x.jsxs)(H.Flex,{as:"li",className:"mb-5",children:[(0,x.jsx)(Ol,{}),(0,x.jsxs)("div",{className:"max-w-xs",children:[(0,x.jsx)(C.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,x.jsx)(C.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Ol(){return(0,x.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,x.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,x:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function $l({images:t}){var l,i,e,n,a,v,p,u,w,b,F,y;return!t||(t==null?void 0:t.length)===0?null:(0,x.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,x.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((l=t==null?void 0:t[0])==null?void 0:l.image)&&(0,x.jsx)(bt.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(n=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?n:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,x.jsx)(bt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(v=t==null?void 0:t[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?u:"features-image-2"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,x.jsx)(bt.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(y=(F=t==null?void 0:t[2])==null?void 0:F.alt)!=null?y:"features-image-3"})]})}var ot,H,wt,bt,ht,C,x,at=N(()=>{"use strict";ot=require("@stackshift-ui/container")});var Ml={};h(Ml,{Features:()=>il,Features_A:()=>L,Features_B:()=>O,Features_C:()=>j,Features_D:()=>B,Features_E:()=>K,Features_F:()=>Y,Features_G:()=>et,Features_H:()=>mt});module.exports=cl(Ml);var f=require("react"),Vl={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(_(),ft))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>($(),Ct))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(M(),Rt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(D(),Ht))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(Q(),Bt))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(Z(),Kt))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),Yt))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(at(),ll)))},jl="Features",il=({data:t})=>{var n,a,v,p,u,w,b,F,y,st,ct,dt,pt,xt,gt,vt;let l=t==null?void 0:t.variant,i=l&&Vl[l],e={caption:(a=(n=t==null?void 0:t.variants)==null?void 0:n.subtitle)!=null?a:void 0,title:(p=(v=t==null?void 0:t.variants)==null?void 0:v.title)!=null?p:void 0,description:(w=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?w:void 0,features:(F=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?F:void 0,tags:(st=(y=t==null?void 0:t.variants)==null?void 0:y.tags)!=null?st:void 0,featuredItems:(dt=(ct=t==null?void 0:t.variants)==null?void 0:ct.featuredItems)!=null?dt:void 0,images:(xt=(pt=t==null?void 0:t.variants)==null?void 0:pt.images)!=null?xt:void 0,primaryButton:(vt=(gt=t==null?void 0:t.variants)==null?void 0:gt.primaryButton)!=null?vt:void 0};return i?(0,x.jsx)(i,{...e}):null};il.displayName=jl;_();$();M();D();Q();Z();nt();at();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a as p}from"./chunk-
|
|
2
|
+
"use strict";import{a as p}from"./chunk-6BDXLZOT.mjs";import{a as x}from"./chunk-7ZZLNFYE.mjs";import{a as c}from"./chunk-NMRXZVBL.mjs";import{a as o}from"./chunk-XY27OBDB.mjs";import{a as r}from"./chunk-24O5VU3C.mjs";import{a as e}from"./chunk-3S2KSCPX.mjs";import{a as t}from"./chunk-5AMMO42A.mjs";import{a as f}from"./chunk-7B6FI3PR.mjs";import{a as m}from"./chunk-M4ZCOWFN.mjs";export{c as Features,o as Features_A,r as Features_B,e as Features_C,t as Features_D,f as Features_E,m as Features_F,p as Features_G,x as Features_H};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/features",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "6.0.13-beta.
|
|
4
|
+
"version": "6.0.13-beta.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -29,28 +29,28 @@
|
|
|
29
29
|
"typescript": "^5.6.2",
|
|
30
30
|
"vite-tsconfig-paths": "^5.0.1",
|
|
31
31
|
"vitest": "^2.1.1",
|
|
32
|
-
"@stackshift-ui/typescript-config": "6.0.10-beta.
|
|
33
|
-
"@stackshift-ui/eslint-config": "6.0.10-beta.
|
|
32
|
+
"@stackshift-ui/typescript-config": "6.0.10-beta.2",
|
|
33
|
+
"@stackshift-ui/eslint-config": "6.0.10-beta.2"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
|
-
"@stackshift-ui/scripts": "6.0.10-beta.
|
|
38
|
-
"@stackshift-ui/
|
|
39
|
-
"@stackshift-ui/
|
|
40
|
-
"@stackshift-ui/
|
|
41
|
-
"@stackshift-ui/
|
|
42
|
-
"@stackshift-ui/
|
|
43
|
-
"@stackshift-ui/
|
|
44
|
-
"@stackshift-ui/
|
|
45
|
-
"@stackshift-ui/
|
|
46
|
-
"@stackshift-ui/
|
|
37
|
+
"@stackshift-ui/scripts": "6.0.10-beta.2",
|
|
38
|
+
"@stackshift-ui/heading": "6.0.11-beta.2",
|
|
39
|
+
"@stackshift-ui/system": "6.0.11-beta.2",
|
|
40
|
+
"@stackshift-ui/text": "6.0.11-beta.2",
|
|
41
|
+
"@stackshift-ui/image": "6.0.11-beta.2",
|
|
42
|
+
"@stackshift-ui/card": "6.0.11-beta.2",
|
|
43
|
+
"@stackshift-ui/container": "6.0.11-beta.2",
|
|
44
|
+
"@stackshift-ui/section": "6.0.11-beta.2",
|
|
45
|
+
"@stackshift-ui/button": "6.0.11-beta.2",
|
|
46
|
+
"@stackshift-ui/flex": "6.0.11-beta.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@types/react": "16.8 - 19",
|
|
50
50
|
"next": "10 - 14",
|
|
51
51
|
"react": "16.8 - 19",
|
|
52
52
|
"react-dom": "16.8 - 19",
|
|
53
|
-
"@stackshift-ui/system": ">=6.0.11-beta.
|
|
53
|
+
"@stackshift-ui/system": ">=6.0.11-beta.2"
|
|
54
54
|
},
|
|
55
55
|
"peerDependenciesMeta": {
|
|
56
56
|
"next": {
|
package/src/features_b.tsx
CHANGED
|
@@ -14,7 +14,7 @@ export default function Features_B({ caption, title, description, features, tags
|
|
|
14
14
|
<Section className="py-20 bg-background">
|
|
15
15
|
<Container maxWidth={1280}>
|
|
16
16
|
<Flex wrap align="center">
|
|
17
|
-
<div className="w-full mb-12 lg:mb-0 lg:w-1/2">
|
|
17
|
+
<div className="w-full px-4 mb-12 lg:mb-0 lg:w-1/2">
|
|
18
18
|
<Container maxWidth={448}>
|
|
19
19
|
<FeatureInfo caption={caption} title={title} description={description} />
|
|
20
20
|
<TagList tags={tags} />
|
|
@@ -37,7 +37,7 @@ function FeatureInfo({
|
|
|
37
37
|
description?: string;
|
|
38
38
|
}) {
|
|
39
39
|
return (
|
|
40
|
-
<
|
|
40
|
+
<div className="flex flex-col gap-3">
|
|
41
41
|
{caption && (
|
|
42
42
|
<Text weight="bold" className="text-secondary">
|
|
43
43
|
{caption}
|
|
@@ -49,7 +49,7 @@ function FeatureInfo({
|
|
|
49
49
|
{description}
|
|
50
50
|
</Text>
|
|
51
51
|
)}
|
|
52
|
-
</
|
|
52
|
+
</div>
|
|
53
53
|
);
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -85,7 +85,7 @@ function FeaturesLists({ features }: { features?: ArrayOfImageTitleAndText[] })
|
|
|
85
85
|
if (!features) return null;
|
|
86
86
|
|
|
87
87
|
return (
|
|
88
|
-
<Flex wrap className="w-full lg:w-1/2">
|
|
88
|
+
<Flex wrap align="stretch" className="w-full lg:w-1/2">
|
|
89
89
|
{features &&
|
|
90
90
|
features?.map((feature, index) => (
|
|
91
91
|
<div
|
|
@@ -103,10 +103,10 @@ function FeaturesLists({ features }: { features?: ArrayOfImageTitleAndText[] })
|
|
|
103
103
|
/>
|
|
104
104
|
</span>
|
|
105
105
|
)}
|
|
106
|
-
<Text weight="bold"
|
|
106
|
+
<Text weight="bold" className="text-xl md:text-2xl mb-2 text-gray-500 break-all">
|
|
107
107
|
{feature?.title}
|
|
108
108
|
</Text>
|
|
109
|
-
<Text muted className="leading-loose">
|
|
109
|
+
<Text muted className="leading-loose break-all">
|
|
110
110
|
{feature?.plainText}
|
|
111
111
|
</Text>
|
|
112
112
|
</Card>
|
package/src/features_c.tsx
CHANGED
|
@@ -52,7 +52,7 @@ function FeatureItems({ features }: { features?: ArrayOfImageTitleAndText[] }) {
|
|
|
52
52
|
if (!features) return null;
|
|
53
53
|
|
|
54
54
|
return (
|
|
55
|
-
<div className="grid lg:grid-cols-2 gap-3">
|
|
55
|
+
<div className="lg:grid lg:grid-cols-2 gap-3">
|
|
56
56
|
{features.map(feature => {
|
|
57
57
|
return <FeatureItem feature={feature} key={feature._key} />;
|
|
58
58
|
})}
|
|
@@ -76,10 +76,12 @@ function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
|
|
|
76
76
|
)}
|
|
77
77
|
</div>
|
|
78
78
|
<div className="w-full lg:w-2/3 flex flex-col gap-2">
|
|
79
|
-
<Text
|
|
79
|
+
<Text weight="bold" className="text-xl md:text-2xl break-all">
|
|
80
80
|
{feature?.title}
|
|
81
81
|
</Text>
|
|
82
|
-
<Text muted>
|
|
82
|
+
<Text muted className="break-all">
|
|
83
|
+
{feature?.plainText}
|
|
84
|
+
</Text>
|
|
83
85
|
</div>
|
|
84
86
|
</Card>
|
|
85
87
|
</div>
|
package/src/features_d.tsx
CHANGED
|
@@ -32,7 +32,7 @@ function CaptionAndTitleSection({
|
|
|
32
32
|
description?: string;
|
|
33
33
|
}) {
|
|
34
34
|
return (
|
|
35
|
-
<
|
|
35
|
+
<div className="flex flex-col gap-3">
|
|
36
36
|
{caption ? (
|
|
37
37
|
<Text weight="bold" className="text-secondary">
|
|
38
38
|
{caption}
|
|
@@ -44,7 +44,7 @@ function CaptionAndTitleSection({
|
|
|
44
44
|
{description}
|
|
45
45
|
</Text>
|
|
46
46
|
) : null}
|
|
47
|
-
</
|
|
47
|
+
</div>
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
|
package/src/features_g.tsx
CHANGED
|
@@ -35,7 +35,7 @@ function FeaturesInfo({
|
|
|
35
35
|
description?: string;
|
|
36
36
|
}) {
|
|
37
37
|
return (
|
|
38
|
-
<
|
|
38
|
+
<div className="flex flex-col gap-3">
|
|
39
39
|
{caption && (
|
|
40
40
|
<Text weight="bold" className="text-secondary">
|
|
41
41
|
{caption}
|
|
@@ -51,7 +51,7 @@ function FeaturesInfo({
|
|
|
51
51
|
{description}
|
|
52
52
|
</Text>
|
|
53
53
|
)}
|
|
54
|
-
</
|
|
54
|
+
</div>
|
|
55
55
|
);
|
|
56
56
|
}
|
|
57
57
|
|
package/src/features_h.tsx
CHANGED
|
@@ -28,7 +28,7 @@ export default function Features_H({ caption, title, features, images }: Feature
|
|
|
28
28
|
|
|
29
29
|
function CaptionAndTitleSection({ caption, title }: { caption?: string; title?: string }) {
|
|
30
30
|
return (
|
|
31
|
-
<
|
|
31
|
+
<div className="flex flex-col gap-3">
|
|
32
32
|
{caption && (
|
|
33
33
|
<Text weight="bold" className="text-secondary">
|
|
34
34
|
{caption}
|
|
@@ -39,7 +39,7 @@ function CaptionAndTitleSection({ caption, title }: { caption?: string; title?:
|
|
|
39
39
|
{title}
|
|
40
40
|
</Heading>
|
|
41
41
|
)}
|
|
42
|
-
</
|
|
42
|
+
</div>
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
|
package/dist/chunk-37NVYEW6.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Container as s}from"@stackshift-ui/container";import{Flex as u}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as d}from"@stackshift-ui/text";import h from"react";import{jsx as l,jsxs as a}from"react/jsx-runtime";function b({caption:e,title:t,description:r,images:n,tags:i}){return l(w,{className:"py-20 bg-background",children:l(s,{maxWidth:1280,children:a(u,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(s,{maxWidth:448,children:[l(N,{caption:e,title:t,description:r}),l(F,{tags:i})]})}),l(I,{images:n})]})})})}function N({caption:e,title:t,description:r}){return a(h.Fragment,{children:[e&&l(d,{weight:"bold",className:"text-secondary",children:e}),t&&l(v,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(d,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function F({tags:e}){return e?l("ul",{className:"font-bold text-gray-500",children:e.map(t=>l(y,{item:t}))}):null}function y({item:e}){return e?a(u,{as:"li",align:"center",className:"mb-2 ",children:[l("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:l("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),l("span",{children:e})]}):null}function I({images:e}){var r,n,i,o;if(!e||(e==null?void 0:e.length)===0)return null;function t(g,m,f,c,p){return l("div",{className:`overflow-hidden rounded-md ${p}`,children:l(x,{className:"object-cover w-full h-full",src:g,sizes:"100vw",width:f,height:c,alt:m!=null?m:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((i=e[2])==null?void 0:i.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((o=e[3])==null?void 0:o.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{b as a};
|
package/dist/chunk-A45XZBNO.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
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:[((a=l==null?void 0:l.mainImage)==null?void 0:a.image)&&m("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children: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};
|
package/dist/chunk-AFTO2DW4.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Card as s}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as c}from"@stackshift-ui/heading";import{Image as g}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import 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",align:"stretch",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/chunk-BD3OUXBE.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Card as s}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Heading as d}from"@stackshift-ui/heading";import{Image as g}from"@stackshift-ui/image";import{Section as c}from"@stackshift-ui/section";import{Text as n}from"@stackshift-ui/text";import{jsx as l,jsxs as o}from"react/jsx-runtime";function p({caption:i,title:m,description:t,features:e}){return l(c,{className:"py-20 bg-background",children:o(r,{maxWidth:1800,children:[l(r,{maxWidth:640,className:"mb-16 text-center",children:l(x,{caption:i,title:m,description:t})}),l(b,{features:e})]})})}function x({caption:i,title:m,description:t}){return o("div",{className:"flex flex-col gap-3",children:[i?l(n,{weight:"bold",className:"text-secondary",children:i}):null,m?l(d,{fontSize:"3xl",children:m}):null,t?l(n,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function b({features:i}){return i?l("div",{className:"grid lg:grid-cols-2 gap-3",children:i.map(m=>l(T,{feature:m},m._key))}):null}function T({feature:i}){var m,t,e,a;return l("div",{className:"w-full p-3",children:o(s,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[l("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((m=i==null?void 0:i.mainImage)==null?void 0:m.image)&&l(g,{className:"object-scale-down",src:`${(t=i==null?void 0:i.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(a=(e=i==null?void 0:i.mainImage)==null?void 0:e.alt)!=null?a:"features-main-image"})}),o("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[l(n,{fontSize:"2xl",weight:"bold",children:i==null?void 0:i.title}),l(n,{muted:!0,children:i==null?void 0:i.plainText})]})]})})}export{p as a};
|
package/dist/chunk-NMDQZ26M.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Container as f}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as N}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as b}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import T from"react";import{jsx as r,jsxs as o}from"react/jsx-runtime";function y({caption:t,title:n,features:l,images:e}){return r(b,{className:"py-20 bg-background",children:r(f,{maxWidth:1280,children:o(s,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(f,{maxWidth:448,children:[r(F,{caption:t,title:n}),r(k,{features:l})]})}),r(C,{images:e})]})})})}function F({caption:t,title:n}){return o(T.Fragment,{children:[t&&r(i,{weight:"bold",className:"text-secondary",children:t}),n&&r(N,{fontSize:"3xl",className:"mb-6",children:n})]})}function k({features:t}){return!t||(t==null?void 0:t.length)<=0?null:r("ul",{children:t.map(n=>r(A,{feature:n},n._key))})}function A({feature:t}){return t?o(s,{as:"li",className:"mb-5",children:[r(I,{}),o("div",{className:"max-w-xs",children:[r(i,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),r(i,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function I(){return r("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:r("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 C({images:t}){var n,l,e,m,c,a,w,x,p,h,u,v;return!t||(t==null?void 0:t.length)===0?null:o("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[o("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&r(d,{className:"object-cover overflow-hidden rounded-md",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(m=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?m:"features-image-1"}),((c=t==null?void 0:t[1])==null?void 0:c.image)&&r(d,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(a=t==null?void 0:t[1])==null?void 0:a.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(x=(w=t==null?void 0:t[1])==null?void 0:w.alt)!=null?x:"features-image-2"})]}),((p=t==null?void 0:t[2])==null?void 0:p.image)&&r(d,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(h=t==null?void 0:t[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(u=t==null?void 0:t[2])==null?void 0:u.alt)!=null?v:"features-image-3"})]})}export{y as a};
|
|
File without changes
|