@stackshift-ui/features 6.0.12 → 6.0.13-beta.0
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-BD3OUXBE.mjs +1 -0
- package/dist/chunk-XY27OBDB.mjs +1 -0
- package/dist/features.js +1 -1
- package/dist/features.mjs +1 -1
- package/dist/features_a.js +1 -1
- package/dist/features_a.mjs +1 -1
- package/dist/features_c.js +1 -1
- package/dist/features_c.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +14 -14
- package/dist/chunk-5MQSXFN3.mjs +0 -1
- package/dist/chunk-IS5MPNWR.mjs +0 -1
- /package/dist/{chunk-HAXWIVPS.mjs → chunk-UA57YG5Y.mjs} +0 -0
|
@@ -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 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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Container as a}from"@stackshift-ui/container";import{Heading as g}from"@stackshift-ui/heading";import{Image as e}from"@stackshift-ui/image";import{Section as c}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import{jsx as n,jsxs as s}from"react/jsx-runtime";function d({caption:i,title:t,description:m,features:l}){return n(c,{className:"py-20 bg-background",children:s(a,{maxWidth:1280,children:[n(a,{maxWidth:640,className:"mb-16 text-center",children:n(p,{caption:i,title:t,description:m})}),n(x,{features:l})]})})}function p({caption:i,title:t,description:m}){return s("div",{className:"flex flex-col gap-3",children:[i?n(o,{weight:"bold",className:"text-secondary",children:i}):null,t?n(g,{fontSize:"3xl",children:t}):null,m?n(o,{muted:!0,children:m}):null]})}function x({features:i}){return i?n("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:i==null?void 0:i.map(t=>n(I,{feature:t},t._key))}):null}function I({feature:i}){var t;return s("div",{className:"text-center sm:text-start p-3",children:[(t=i==null?void 0:i.mainImage)!=null&&t.image?n(T,{feature:i}):null,i!=null&&i.title?n(o,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:i==null?void 0:i.title}):null,i!=null&&i.plainText?n(o,{muted:!0,children:i==null?void 0:i.plainText}):null]})}function T({feature:i}){var t,m,l,r;return(t=i==null?void 0:i.mainImage)!=null&&t.image?n("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:n(e,{className:"object-scale-down",src:`${(m=i==null?void 0:i.mainImage)==null?void 0:m.image}`,width:40,height:40,alt:(r=(l=i==null?void 0:i.mainImage)==null?void 0:l.alt)!=null?r:"features-image-"})}):null}export{d as a};
|
package/dist/features.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var xn=Object.create;var R=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var un=Object.getOwnPropertyNames;var bn=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)R(t,i,{get:n[i],enumerable:!0})},it=(t,n,i,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of un(n))!vn.call(t,e)&&e!==i&&R(t,e,{get:()=>n[e],enumerable:!(l=wn(n,e))||l.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(bn(t)):{},it(n||!t||!t.__esModule?R(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>it(R({},"__esModule",{value:!0}),t);var at={};h(at,{Features_A:()=>mt,default:()=>mt});function mt({caption:t,title:n,description:i,features:l}){return(0,d.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(L.Container,{maxWidth:1280,children:[(0,d.jsx)(L.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,d.jsx)(Nn,{caption:t,title:n,description:i})}),(0,d.jsx)(lt.Flex,{wrap:!0,children:(0,d.jsx)(fn,{features:l})})]})})}function Nn({caption:t,title:n,description:i}){return(0,d.jsxs)(_.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function fn({features:t}){return t?(0,d.jsx)(_.default.Fragment,{children:t==null?void 0:t.map(n=>(0,d.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,d.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,d.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,d.jsx)(k.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,l,e;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,d.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,d.jsx)(rt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}var L,lt,et,rt,ot,k,_,d,st=f(()=>{"use strict";L=require("@stackshift-ui/container"),lt=require("@stackshift-ui/flex"),et=require("@stackshift-ui/heading"),rt=require("@stackshift-ui/image"),ot=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),_=F(require("react")),d=require("react/jsx-runtime")});var ut={};h(ut,{Features_B:()=>wt,default:()=>wt});function wt({caption:t,title:n,description:i,features:l,tags:e}){return(0,d.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,d.jsx)(W.Container,{maxWidth:1280,children:(0,d.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(W.Container,{maxWidth:448,children:[(0,d.jsx)(yn,{caption:t,title:n,description:i}),(0,d.jsx)(Cn,{tags:e})]})}),(0,d.jsx)(kn,{features:l})]})})})}function yn({caption:t,title:n,description:i}){return(0,d.jsxs)(xt.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(et.Heading,{fontSize:"3xl",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,d.jsx)("ul",{children:t&&t.map(n=>(0,d.jsxs)("li",{className:"flex mb-4",children:[(0,d.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,d.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,d.jsx)(k.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,d.jsx)(lt.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var l,e,a,w;return(0,d.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,d.jsxs)(ct.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((l=n==null?void 0:n.mainImage)==null?void 0:l.image)&&(0,d.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,d.jsx)(rt.Image,{className:"object-scale-down",src:`${(e=n==null?void 0:n.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(w=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?w:`features-image-${i}`})}),(0,d.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var ct,W,lt,et,rt,ot,k,xt,d,bt=f(()=>{"use strict";ct=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),xt=F(require("react"))});var Ct={};h(Ct,{Features_C:()=>yt,default:()=>yt});function yt({caption:t,title:n,description:i,features:l}){return(0,d.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(W.Container,{maxWidth:1280,children:[(0,d.jsx)(W.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,d.jsx)(An,{caption:t,title:n,description:i})}),(0,d.jsx)(Sn,{features:l})]})})}function An({caption:t,title:n,description:i}){return(0,d.jsxs)(Tt.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Sn({features:t}){return t?(0,d.jsx)(lt.Flex,{wrap:!0,justify:"start",align:"stretch",className:"-mx-3",children:t.map(n=>(0,d.jsx)(Rn,{feature:n},n._key))}):null}function Rn({feature:t}){var n,i,l,e;return(0,d.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,d.jsxs)(vt.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,d.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:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,d.jsx)(rt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),(0,d.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,d.jsx)(k.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var vt,W,lt,et,rt,ot,k,Tt,d,kt=f(()=>{"use strict";vt=require("@stackshift-ui/card"),Tt=F(require("react"))});var _t={};h(_t,{Features_D:()=>Lt,default:()=>Lt});function Lt({caption:t,title:n,description:i,features:l}){return(0,d.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,d.jsxs)($.Container,{maxWidth:1280,children:[(0,d.jsx)($.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,d.jsx)(In,{caption:t,title:n,description:i})}),(0,d.jsx)(zn,{features:l})]})})}function In({caption:t,title:n,description:i}){return(0,d.jsxs)(Pt.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(et.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function zn({features:t}){return t?(0,d.jsx)(lt.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(n=>(0,d.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,l,e;return(0,d.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,d.jsxs)(At.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,d.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,d.jsx)(rt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}),(0,d.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var At,$,lt,et,rt,ot,k,Pt,d,Wt=f(()=>{"use strict";At=require("@stackshift-ui/card"),Pt=F(require("react"))});var Bt={};h(Bt,{Features_E:()=>Gt,default:()=>Gt});function Gt({featuredItems:t}){let[n,i]=M.default.useState(0);return(0,d.jsx)(ot.Section,{className:"py-20 overflow-d-auto bg-background",children:(0,d.jsx)(W.Container,{maxWidth:1280,children:(0,d.jsx)($t.Flex,{className:"relative",children:(0,d.jsx)(Wn,{featuredItems:t,slider:e=>{t&&(e==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,d.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,d.jsx)(Ln,{featuredItems:t,item:n}),(0,d.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,l,e,a,w,p,u;return(l=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&l.image?(0,d.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,d.jsx)(rt.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[n])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(p=(w=t==null?void 0:t[n])==null?void 0:w.mainImage)==null?void 0:p.alt)!=null?u:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,l,e,a,w,p;return t?(0,d.jsxs)(Ht.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,d.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((l=t==null?void 0:t[n])==null?void 0:l.subtitle)}),(0,d.jsx)(et.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[n])==null?void 0:e.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,d.jsx)(k.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((w=t==null?void 0:t[n])==null?void 0:w.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Wn({featuredItems:t,children:n,slider:i}){return t?(0,d.jsxs)(M.default.Fragment,{children:[(0,d.jsx)("div",{className:"absolute left-0 rt-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,d.jsx)(j.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"rt-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,d.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,d.jsx)("div",{className:"absolute right-0 rt-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,d.jsx)(j.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,d.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var j,Ht,W,$t,et,rt,ot,k,M,d,Dt=f(()=>{"use strict";j=require("@stackshift-ui/button"),Ht=require("@stackshift-ui/card"),M=F(require("react"))});var Ut={};h(Ut,{Features_F:()=>Qt,default:()=>Qt});function Qt({caption:t,title:n,description:i,images:l,primaryButton:e}){return(0,d.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,d.jsx)(W.Container,{maxWidth:1280,children:(0,d.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,d.jsxs)(lt.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,d.jsx)(Hn,{caption:t,title:n,description:i}),(0,d.jsx)(On,{primaryButton:e})]}),(0,d.jsx)($n,{images:l})]})})})}function Hn({caption:t,title:n,description:i}){return(0,d.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,d.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,d.jsx)(W.Container,{maxWidth:448,className:"ml-0",children:(0,d.jsx)(Et.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label})}):null}function $n({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(w,p,u,b,v){return(0,d.jsx)("div",{className:`overflow-hidden rounded-md ${v}`,children:(0,d.jsx)(rt.Image,{className:"object-cover w-full h-full",src:w,sizes:"100vw",width:u,height:b,alt:p!=null?p:"feature-image"})})}return(0,d.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,d.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,d.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Et,W,lt,et,rt,ot,k,d,Xt=f(()=>{"use strict";Et=require("@stackshift-ui/button")});var en={};h(en,{Features_G:()=>ln,default:()=>ln});function ln({caption:t,title:n,description:i,images:l,tags:e}){return(0,d.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,d.jsx)(D.Container,{maxWidth:1280,children:(0,d.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(D.Container,{maxWidth:448,children:[(0,d.jsx)(jn,{caption:t,title:n,description:i}),(0,d.jsx)(Vn,{tags:e})]})}),(0,d.jsx)(Gn,{images:l})]})})})}function jn({caption:t,title:n,description:i}){return(0,d.jsxs)(nn.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(et.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,d.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,d.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,d.jsxs)(lt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,d.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,d.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,d.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(w,p,u,b,v){return(0,d.jsx)("div",{className:`overflow-hidden rounded-md ${v}`,children:(0,d.jsx)(rt.Image,{className:"object-cover w-full h-full",src:w,sizes:"100vw",width:u,height:b,alt:p!=null?p:"feature-image"})})}return(0,d.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,d.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,d.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var D,lt,et,rt,ot,k,nn,d,rn=f(()=>{"use strict";D=require("@stackshift-ui/container"),nn=F(require("react"))});var cn={};h(cn,{Features_H:()=>sn,default:()=>sn});function sn({caption:t,title:n,features:i,images:l}){return(0,d.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,d.jsx)(J.Container,{maxWidth:1280,children:(0,d.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(J.Container,{maxWidth:448,children:[(0,d.jsx)(Bn,{caption:t,title:n}),(0,d.jsx)(Dn,{features:i})]})}),(0,d.jsx)(Jn,{images:l})]})})})}function Bn({caption:t,title:n}){return(0,d.jsxs)(an.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,d.jsx)("ul",{children:t.map(n=>(0,d.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,d.jsxs)(lt.Flex,{as:"li",className:"mb-5",children:[(0,d.jsx)(qn,{}),(0,d.jsxs)("div",{className:"max-w-xs",children:[(0,d.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,d.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Jn({images:t}){var n,i,l,e,a,w,p,u,b,v,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,d.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,d.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,d.jsx)(rt.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(l=t==null?void 0:t[0])==null?void 0:l.alt)!=null?e:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,d.jsx)(rt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(w=t==null?void 0:t[1])==null?void 0:w.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?u:"features-image-2"})]}),((b=t==null?void 0:t[2])==null?void 0:b.image)&&(0,d.jsx)(rt.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(v=t==null?void 0:t[2])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var J,lt,et,rt,ot,k,an,d,dn=f(()=>{"use strict";J=require("@stackshift-ui/container"),an=F(require("react"))});var Un={};h(Un,{Features:()=>gn});module.exports=hn(Un);var N=require("react"),Kn={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(st(),at))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(bt(),ut))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(kt(),Ct))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Wt(),_t))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Xt(),Ut))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(rn(),en))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(dn(),cn)))},Qn="Features",gn=({data:t})=>{var e,a,w,p,u,b,v,y,C,Q,U,X,Y,Z,tt,nt;let n=t==null?void 0:t.variant,i=n&&Kn[n],l={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?a:void 0,title:(p=(w=t==null?void 0:t.variants)==null?void 0:w.title)!=null?p:void 0,description:(b=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?b:void 0,features:(y=(v=t==null?void 0:t.variants)==null?void 0:v.arrayOfImageTitleAndText)!=null?y:void 0,tags:(Q=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?Q:void 0,featuredItems:(X=(U=t==null?void 0:t.variants)==null?void 0:U.featuredItems)!=null?X:void 0,images:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.images)!=null?Z:void 0,primaryButton:(nt=(tt=t==null?void 0:t.variants)==null?void 0:tt.primaryButton)!=null?nt:void 0};return i?(0,d.jsx)(i,{...l}):null};gn.displayName=Qn;0&&(module.exports={Features});
|
|
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});
|
package/dist/features.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-UA57YG5Y.mjs";export{a as Features};
|
package/dist/features_a.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var r=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var T=(i,n)=>{for(var m in n)r(i,m,{get:n[m],enumerable:!0})},b=(i,n,m,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of x(n))!I.call(i,l)&&l!==m&&r(i,l,{get:()=>n[l],enumerable:!(o=p(n,l))||o.enumerable});return i};var F=i=>b(r({},"__esModule",{value:!0}),i);var A={};T(A,{Features_A:()=>d,default:()=>d});module.exports=F(A);var a=require("@stackshift-ui/container"),g=require("@stackshift-ui/heading"),e=require("@stackshift-ui/image"),c=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),t=require("react/jsx-runtime");function d({caption:i,title:n,description:m,features:o}){return(0,t.jsx)(c.Section,{className:"py-20 bg-background",children:(0,t.jsxs)(a.Container,{maxWidth:1280,children:[(0,t.jsx)(a.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,t.jsx)(y,{caption:i,title:n,description:m})}),(0,t.jsx)(N,{features:o})]})})}function y({caption:i,title:n,description:m}){return(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[i?(0,t.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:i}):null,n?(0,t.jsx)(g.Heading,{fontSize:"3xl",children:n}):null,m?(0,t.jsx)(s.Text,{muted:!0,children:m}):null]})}function N({features:i}){return i?(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:i==null?void 0:i.map(n=>(0,t.jsx)(h,{feature:n},n._key))}):null}function h({feature:i}){var n;return(0,t.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(n=i==null?void 0:i.mainImage)!=null&&n.image?(0,t.jsx)(v,{feature:i}):null,i!=null&&i.title?(0,t.jsx)(s.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:i==null?void 0:i.title}):null,i!=null&&i.plainText?(0,t.jsx)(s.Text,{muted:!0,children:i==null?void 0:i.plainText}):null]})}function v({feature:i}){var n,m,o,l;return(n=i==null?void 0:i.mainImage)!=null&&n.image?(0,t.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,t.jsx)(e.Image,{className:"object-scale-down",src:`${(m=i==null?void 0:i.mainImage)==null?void 0:m.image}`,width:40,height:40,alt:(l=(o=i==null?void 0:i.mainImage)==null?void 0:o.alt)!=null?l:"features-image-"})}):null}0&&(module.exports={Features_A});
|
package/dist/features_a.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-XY27OBDB.mjs";export{a as Features_A,a as default};
|
package/dist/features_c.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var a=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var N=(i,l)=>{for(var t in l)a(i,t,{get:l[t],enumerable:!0})},f=(i,l,t,n)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of b(l))!T.call(i,e)&&e!==t&&a(i,e,{get:()=>l[e],enumerable:!(n=x(l,e))||n.enumerable});return i};var v=i=>f(a({},"__esModule",{value:!0}),i);var y={};N(y,{Features_C:()=>p,default:()=>p});module.exports=v(y);var s=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),d=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),c=require("@stackshift-ui/section"),o=require("@stackshift-ui/text"),m=require("react/jsx-runtime");function p({caption:i,title:l,description:t,features:n}){return(0,m.jsx)(c.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:n})]})})}function h({caption:i,title:l,description:t}){return(0,m.jsxs)("div",{className:"flex flex-col gap-3",children:[i?(0,m.jsx)(o.Text,{weight:"bold",className:"text-secondary",children:i}):null,l?(0,m.jsx)(d.Heading,{fontSize:"3xl",children:l}):null,t?(0,m.jsx)(o.Text,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function w({features:i}){return i?(0,m.jsx)("div",{className:"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,n,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)(g.Image,{className:"object-scale-down",src:`${(t=i==null?void 0:i.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(e=(n=i==null?void 0:i.mainImage)==null?void 0:n.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)(o.Text,{fontSize:"2xl",weight:"bold",children:i==null?void 0:i.title}),(0,m.jsx)(o.Text,{muted:!0,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-BD3OUXBE.mjs";export{a as Features_C,a as default};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var xn=Object.create;var R=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var un=Object.getOwnPropertyNames;var bn=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)R(t,i,{get:n[i],enumerable:!0})},vt=(t,n,i,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of un(n))!vn.call(t,e)&&e!==i&&R(t,e,{get:()=>n[e],enumerable:!(l=wn(n,e))||l.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(bn(t)):{},vt(n||!t||!t.__esModule?R(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>vt(R({},"__esModule",{value:!0}),t);var Tt={};h(Tt,{Features_A:()=>W,default:()=>W});function W({caption:t,title:n,description:i,features:l}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(L.Container,{maxWidth:1280,children:[(0,d.jsx)(L.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,d.jsx)(Nn,{caption:t,title:n,description:i})}),(0,d.jsx)(ht.Flex,{wrap:!0,children:(0,d.jsx)(fn,{features:l})})]})})}function Nn({caption:t,title:n,description:i}){return(0,d.jsxs)(_.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function fn({features:t}){return t?(0,d.jsx)(_.default.Fragment,{children:t==null?void 0:t.map(n=>(0,d.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,d.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,d.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,d.jsx)(k.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,l,e;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,d.jsx)("span",{className:"inline-block d-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,d.jsx)(ft.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}var L,ht,Nt,ft,Ft,k,_,d,H=f(()=>{"use strict";L=require("@stackshift-ui/container"),ht=require("@stackshift-ui/flex"),Nt=require("@stackshift-ui/heading"),ft=require("@stackshift-ui/image"),Ft=require("@stackshift-ui/section"),k=require("@stackshift-ui/text"),_=F(require("react")),d=require("react/jsx-runtime")});var Rt={};h(Rt,{Features_B:()=>j,default:()=>j});function j({caption:t,title:n,description:i,features:l,tags:e}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsx)(O.Container,{maxWidth:1280,children:(0,d.jsxs)($.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(O.Container,{maxWidth:448,children:[(0,d.jsx)(yn,{caption:t,title:n,description:i}),(0,d.jsx)(Cn,{tags:e})]})}),(0,d.jsx)(kn,{features:l})]})})})}function yn({caption:t,title:n,description:i}){return(0,d.jsxs)(St.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,d.jsx)("ul",{children:t&&t.map(n=>(0,d.jsxs)("li",{className:"flex mb-4",children:[(0,d.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,d.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,d.jsx)(k.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,d.jsx)($.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var l,e,a,w;return(0,d.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,d.jsxs)(yt.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((l=n==null?void 0:n.mainImage)==null?void 0:l.image)&&(0,d.jsx)("span",{className:"inline-block d-3 mb-4 rounded-lg bg-secondary/50",children:(0,d.jsx)(ft.Image,{className:"object-scale-down",src:`${(e=n==null?void 0:n.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(w=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?w:`features-image-${i}`})}),(0,d.jsx)(k.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var yt,O,$,Nt,ft,Ft,k,St,d,V=f(()=>{"use strict";yt=require("@stackshift-ui/card"),O=require("@stackshift-ui/container"),St=F(require("react"))});var Ht={};h(Ht,{Features_C:()=>G,default:()=>G});function G({caption:t,title:n,description:i,features:l}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(O.Container,{maxWidth:1280,children:[(0,d.jsx)(O.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,d.jsx)(An,{caption:t,title:n,description:i})}),(0,d.jsx)(Sn,{features:l})]})})}function An({caption:t,title:n,description:i}){return(0,d.jsxs)(Wt.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Sn({features:t}){return t?(0,d.jsx)(ht.Flex,{wrap:!0,justify:"start",align:"stretch",className:"-mx-3",children:t.map(n=>(0,d.jsx)(Rn,{feature:n},n._key))}):null}function Rn({feature:t}){var n,i,l,e;return(0,d.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,d.jsxs)(It.Card,{className:"flex flex-wrap h-full d-6 bg-white",borderRadius:"md",children:[(0,d.jsx)("div",{className:"self-start inline-block d-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:d-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,d.jsx)(ft.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),(0,d.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,d.jsx)(k.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var It,O,ht,Nt,ft,Ft,k,Wt,d,B=f(()=>{"use strict";It=require("@stackshift-ui/card"),Wt=F(require("react"))});var Bt={};h(Bt,{Features_D:()=>E,default:()=>E});function E({caption:t,title:n,description:i,features:l}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsxs)(O.Container,{maxWidth:1280,children:[(0,d.jsx)(O.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,d.jsx)(In,{caption:t,title:n,description:i})}),(0,d.jsx)(zn,{features:l})]})})}function In({caption:t,title:n,description:i}){return(0,d.jsxs)(Gt.default.Fragment,{children:[t?(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:n}):null,i?(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function zn({features:t}){return t?(0,d.jsx)($t.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(n=>(0,d.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,l,e;return(0,d.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,d.jsxs)(Ot.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,d.jsx)("div",{className:"self-start inline-block d-3 mb-6 rounded-lg bg-secondary/50 md:d-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,d.jsx)(ft.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}),(0,d.jsx)(k.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Ot,O,$t,Nt,ft,Ft,k,Gt,d,q=f(()=>{"use strict";Ot=require("@stackshift-ui/card"),Gt=F(require("react"))});var Ut={};h(Ut,{Features_E:()=>U,default:()=>U});function U({featuredItems:t}){let[n,i]=Q.default.useState(0);return(0,d.jsx)(Ft.Section,{className:"py-20 overflow-d-auto bg-background",children:(0,d.jsx)(O.Container,{maxWidth:1280,children:(0,d.jsx)(ht.Flex,{className:"relative",children:(0,d.jsx)(Wn,{featuredItems:t,slider:e=>{t&&(e==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,d.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,d.jsx)(Ln,{featuredItems:t,item:n}),(0,d.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,l,e,a,w,g,u;return(l=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&l.image?(0,d.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,d.jsx)(ft.Image,{className:"relative object-cover rounded-md",src:`${(a=(e=t==null?void 0:t[n])==null?void 0:e.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(g=(w=t==null?void 0:t[n])==null?void 0:w.mainImage)==null?void 0:g.alt)!=null?u:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,l,e,a,w,g;return t?(0,d.jsxs)(Dt.Card,{className:"top-0 left-0 max-w-xl d-6 mx-auto text-center bg-white md:mt-12 md:d-10 lg:mt-12 lg:d-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,d.jsx)(k.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((l=t==null?void 0:t[n])==null?void 0:l.subtitle)}),(0,d.jsx)(Nt.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[n])==null?void 0:e.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,d.jsx)(k.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((w=t==null?void 0:t[n])==null?void 0:w.description)&&((g=t==null?void 0:t[n])==null?void 0:g.description)})]}):null}function Wn({featuredItems:t,children:n,slider:i}){return t?(0,d.jsxs)(Q.default.Fragment,{children:[(0,d.jsx)("div",{className:"absolute left-0 ft-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,d.jsx)(J.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"ft-10 d-4 text-white ",onClick:()=>i("prev"),children:(0,d.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,d.jsx)("div",{className:"absolute right-0 ft-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,d.jsx)(J.Button,{as:"button",ariaLabel:"Show Next Feature",className:"d-4 text-white ",onClick:()=>i("next"),children:(0,d.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var J,Dt,O,ht,Nt,ft,Ft,k,Q,d,X=f(()=>{"use strict";J=require("@stackshift-ui/button"),Dt=require("@stackshift-ui/card"),Q=F(require("react"))});var nn={};h(nn,{Features_F:()=>tt,default:()=>tt});function tt({caption:t,title:n,description:i,images:l,primaryButton:e}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsx)(O.Container,{maxWidth:1280,children:(0,d.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,d.jsxs)(ht.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,d.jsx)(Hn,{caption:t,title:n,description:i}),(0,d.jsx)(On,{primaryButton:e})]}),(0,d.jsx)($n,{images:l})]})})})}function Hn({caption:t,title:n,description:i}){return(0,d.jsxs)(O.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,d.jsx)(Nt.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,d.jsx)(O.Container,{maxWidth:448,className:"ml-0",children:(0,d.jsx)(Xt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label})}):null}function $n({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(w,g,u,b,v){return(0,d.jsx)("div",{className:`overflow-hidden rounded-md ${v}`,children:(0,d.jsx)(ft.Image,{className:"object-cover w-full h-full",src:w,sizes:"100vw",width:u,height:b,alt:g!=null?g:"feature-image"})})}return(0,d.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,d.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,d.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Xt,O,ht,Nt,ft,Ft,k,d,nt=f(()=>{"use strict";Xt=require("@stackshift-ui/button")});var mn={};h(mn,{Features_G:()=>rt,default:()=>rt});function rt({caption:t,title:n,description:i,images:l,tags:e}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsx)(it.Container,{maxWidth:1280,children:(0,d.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(it.Container,{maxWidth:448,children:[(0,d.jsx)(jn,{caption:t,title:n,description:i}),(0,d.jsx)(Vn,{tags:e})]})}),(0,d.jsx)(Gn,{images:l})]})})})}function jn({caption:t,title:n,description:i}){return(0,d.jsxs)(on.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(Nt.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,d.jsx)(k.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,d.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,d.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,d.jsxs)(ht.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,d.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,d.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,d.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,l,e,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(w,g,u,b,v){return(0,d.jsx)("div",{className:`overflow-hidden rounded-md ${v}`,children:(0,d.jsx)(ft.Image,{className:"object-cover w-full h-full",src:w,sizes:"100vw",width:u,height:b,alt:g!=null?g:"feature-image"})})}return(0,d.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,d.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((l=t[1])==null?void 0:l.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,d.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,d.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,d.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var it,ht,Nt,ft,Ft,k,on,d,ot=f(()=>{"use strict";it=require("@stackshift-ui/container"),on=F(require("react"))});var dn={};h(dn,{Features_H:()=>st,default:()=>st});function st({caption:t,title:n,features:i,images:l}){return(0,d.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,d.jsx)(mt.Container,{maxWidth:1280,children:(0,d.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,d.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,d.jsxs)(mt.Container,{maxWidth:448,children:[(0,d.jsx)(Bn,{caption:t,title:n}),(0,d.jsx)(Dn,{features:i})]})}),(0,d.jsx)(Jn,{images:l})]})})})}function Bn({caption:t,title:n}){return(0,d.jsxs)(cn.default.Fragment,{children:[t&&(0,d.jsx)(k.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,d.jsx)(Nt.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,d.jsx)("ul",{children:t.map(n=>(0,d.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,d.jsxs)(ht.Flex,{as:"li",className:"mb-5",children:[(0,d.jsx)(qn,{}),(0,d.jsxs)("div",{className:"max-w-xs",children:[(0,d.jsx)(k.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,d.jsx)(k.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,d.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Jn({images:t}){var n,i,l,e,a,w,g,u,b,v,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,d.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,d.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,d.jsx)(ft.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(l=t==null?void 0:t[0])==null?void 0:l.alt)!=null?e:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,d.jsx)(ft.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(w=t==null?void 0:t[1])==null?void 0:w.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(g=t==null?void 0:t[1])==null?void 0:g.alt)!=null?u:"features-image-2"})]}),((b=t==null?void 0:t[2])==null?void 0:b.image)&&(0,d.jsx)(ft.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(v=t==null?void 0:t[2])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var mt,ht,Nt,ft,Ft,k,cn,d,ct=f(()=>{"use strict";mt=require("@stackshift-ui/container"),cn=F(require("react"))});var Un={};h(Un,{Features:()=>pn,Features_A:()=>W,Features_B:()=>j,Features_C:()=>G,Features_D:()=>E,Features_E:()=>U,Features_F:()=>tt,Features_G:()=>rt,Features_H:()=>st});module.exports=hn(Un);var N=require("react"),Kn={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(H(),Tt))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(V(),Rt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(B(),Ht))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(q(),Bt))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(X(),Ut))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(nt(),nn))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(ot(),mn))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(ct(),dn)))},Qn="Features",pn=({data:t})=>{var e,a,w,g,u,b,v,y,C,dt,pt,gt,xt,wt,ut,bt;let n=t==null?void 0:t.variant,i=n&&Kn[n],l={caption:(a=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?a:void 0,title:(g=(w=t==null?void 0:t.variants)==null?void 0:w.title)!=null?g:void 0,description:(b=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?b:void 0,features:(y=(v=t==null?void 0:t.variants)==null?void 0:v.arrayOfImageTitleAndText)!=null?y:void 0,tags:(dt=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?dt:void 0,featuredItems:(gt=(pt=t==null?void 0:t.variants)==null?void 0:pt.featuredItems)!=null?gt:void 0,images:(wt=(xt=t==null?void 0:t.variants)==null?void 0:xt.images)!=null?wt:void 0,primaryButton:(bt=(ut=t==null?void 0:t.variants)==null?void 0:ut.primaryButton)!=null?bt:void 0};return i?(0,d.jsx)(i,{...l}):null};pn.displayName=Qn;H();V();B();q();X();nt();ot();ct();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
|
|
2
|
+
"use strict";var 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});
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a as p}from"./chunk-37NVYEW6.mjs";import{a as x}from"./chunk-NMDQZ26M.mjs";import{a as c}from"./chunk-
|
|
2
|
+
"use strict";import{a as p}from"./chunk-37NVYEW6.mjs";import{a as x}from"./chunk-NMDQZ26M.mjs";import{a as c}from"./chunk-UA57YG5Y.mjs";import{a as o}from"./chunk-XY27OBDB.mjs";import{a as r}from"./chunk-A45XZBNO.mjs";import{a as e}from"./chunk-BD3OUXBE.mjs";import{a as t}from"./chunk-AFTO2DW4.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.
|
|
4
|
+
"version": "6.0.13-beta.0",
|
|
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.
|
|
33
|
-
"@stackshift-ui/eslint-config": "6.0.
|
|
32
|
+
"@stackshift-ui/typescript-config": "6.0.10-beta.0",
|
|
33
|
+
"@stackshift-ui/eslint-config": "6.0.10-beta.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
|
-
"@stackshift-ui/scripts": "6.0.
|
|
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/image": "6.0.
|
|
37
|
+
"@stackshift-ui/scripts": "6.0.10-beta.0",
|
|
38
|
+
"@stackshift-ui/text": "6.0.11-beta.0",
|
|
39
|
+
"@stackshift-ui/button": "6.0.11-beta.0",
|
|
40
|
+
"@stackshift-ui/section": "6.0.11-beta.0",
|
|
41
|
+
"@stackshift-ui/card": "6.0.11-beta.0",
|
|
42
|
+
"@stackshift-ui/flex": "6.0.11-beta.0",
|
|
43
|
+
"@stackshift-ui/system": "6.0.11-beta.0",
|
|
44
|
+
"@stackshift-ui/heading": "6.0.11-beta.0",
|
|
45
|
+
"@stackshift-ui/container": "6.0.11-beta.0",
|
|
46
|
+
"@stackshift-ui/image": "6.0.11-beta.0"
|
|
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.
|
|
53
|
+
"@stackshift-ui/system": ">=6.0.11-beta.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependenciesMeta": {
|
|
56
56
|
"next": {
|
package/dist/chunk-5MQSXFN3.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 g}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as a}from"@stackshift-ui/text";import x from"react";import{jsx as i,jsxs as l}from"react/jsx-runtime";function b({caption:t,title:m,description:n,features:e}){return i(p,{className:"py-20 bg-background",children:l(r,{maxWidth:1280,children:[i(r,{maxWidth:448,className:"mb-16 text-center ",children:i(T,{caption:t,title:m,description:n})}),i(w,{features:e})]})})}function T({caption:t,title:m,description:n}){return l(x.Fragment,{children:[t?i(a,{weight:"bold",className:"text-secondary",children:t}):null,m?i(g,{fontSize:"3xl",children:m}):null,n?i(a,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function w({features:t}){return t?i(d,{wrap:!0,justify:"start",align:"stretch",className:"-mx-3",children:t.map(m=>i(N,{feature:m},m._key))}):null}function N({feature:t}){var m,n,e,o;return i("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:l(s,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[i("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&i(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(o=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?o:"features-main-image"})}),l("div",{className:"w-full lg:w-2/3",children:[i(a,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),i(a,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}export{b as a};
|
package/dist/chunk-IS5MPNWR.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Container as s}from"@stackshift-ui/container";import{Flex as g}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as d}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import r from"react";import{jsx as m,jsxs as a}from"react/jsx-runtime";function x({caption:n,title:i,description:t,features:l}){return m(d,{className:"py-20 bg-background",children:a(s,{maxWidth:1280,children:[m(s,{maxWidth:448,className:"mb-16 text-center ",children:m(I,{caption:n,title:i,description:t})}),m(g,{wrap:!0,children:m(F,{features:l})})]})})}function I({caption:n,title:i,description:t}){return a(r.Fragment,{children:[n?m(o,{weight:"bold",className:"text-secondary",children:n}):null,i?m(p,{fontSize:"3xl",children:i}):null,t?m(o,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function F({features:n}){return n?m(r.Fragment,{children:n==null?void 0:n.map(i=>m(b,{feature:i},i._key))}):null}function b({feature:n}){var i;return a("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(i=n==null?void 0:n.mainImage)!=null&&i.image?m(T,{feature:n}):null,n!=null&&n.title?m(o,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?m(o,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function T({feature:n}){var i,t,l,e;return(i=n==null?void 0:n.mainImage)!=null&&i.image?m("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:m(c,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(e=(l=n==null?void 0:n.mainImage)==null?void 0:l.alt)!=null?e:"features-image-"})}):null}export{x as a};
|
|
File without changes
|