@stackshift-ui/features 1.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-D7JAVEFI.mjs +1 -0
- package/dist/features.js +1 -1
- package/dist/features.mjs +1 -1
- package/dist/features_h.js +1 -1
- package/dist/features_h.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +13 -13
- package/dist/chunk-6F4XIN3R.mjs +0 -1
- /package/dist/{chunk-XOSBSNA7.mjs → chunk-LL2JDB7J.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Container as f}from"@stackshift-ui/container";import{Flex as N}from"@stackshift-ui/flex";import{Heading as b}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as s}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import T from"react";import{jsx as r,jsxs as o}from"react/jsx-runtime";function y({caption:t,title:n,features:l,images:e}){return r(s,{className:"py-20 bg-background",children:r(f,{maxWidth:1280,children:o(N,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(f,{maxWidth:448,children:[r(F,{caption:t,title:n}),r(k,{features:l})]})}),r(C,{images:e})]})})})}function F({caption:t,title:n}){return o(T.Fragment,{children:[t&&r(i,{weight:"bold",className:"text-secondary",children:t}),n&&r(b,{fontSize:"3xl",className:"mb-6",children:n})]})}function k({features:t}){return!t||(t==null?void 0:t.length)<=0?null:r("ul",{children:t.map(n=>r(A,{feature:n},n._key))})}function A({feature:t}){return t?o(N,{as:"li",children:[r(I,{}),o("div",{className:"max-w-xs",children:[r(i,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),r(i,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function I(){return r("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function C({images:t}){var n,l,e,c,m,x,a,w,p,h,u,v;return!t||(t==null?void 0:t.length)===0?null:o("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[o("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&r(d,{className:"object-cover overflow-hidden rounded-xl",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(c=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?c:"features-image-1"}),((m=t==null?void 0:t[1])==null?void 0:m.image)&&r(d,{className:"object-cover mt-6 overflow-hidden rounded-xl",src:`${(x=t==null?void 0:t[1])==null?void 0:x.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(a=t==null?void 0:t[1])==null?void 0:a.alt)!=null?w:"features-image-2"})]}),((p=t==null?void 0:t[2])==null?void 0:p.image)&&r(d,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:w-1/2",src:`${(h=t==null?void 0:t[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(u=t==null?void 0:t[2])==null?void 0:u.alt)!=null?v:"features-image-3"})]})}export{y as a};
|
package/dist/features.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var xn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var vn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)k(t,i,{get:n[i],enumerable:!0})},it=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of vn(n))!bn.call(t,l)&&l!==i&&k(t,l,{get:()=>n[l],enumerable:!(e=wn(n,l))||e.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(un(t)):{},it(n||!t||!t.__esModule?k(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>it(k({},"__esModule",{value:!0}),t);var at={};h(at,{Features_A:()=>mt,default:()=>mt});function mt({caption:t,title:n,features:i}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(Nn,{caption:t,title:n})}),(0,g.jsx)(lt.Flex,{wrap:!0,children:(0,g.jsx)(fn,{features:i})})]})})}function Nn({caption:t,title:n}){return(0,g.jsxs)(L.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function fn({features:t}){return t?(0,g.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,g.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,g.jsxs)("div",{className:"g-full px-4 mt-16 mb-12 md:g-1/2 lg:mb-0 lg:g-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(A.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)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,e,l;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}):null}var P,lt,et,ot,rt,A,L,g,st=f(()=>{"use strict";P=require("@stackshift-ui/container"),lt=require("@stackshift-ui/flex"),et=require("@stackshift-ui/heading"),ot=require("@stackshift-ui/image"),rt=require("@stackshift-ui/section"),A=require("@stackshift-ui/text"),L=F(require("react")),g=require("react/jsx-runtime")});var vt={};h(vt,{Features_B:()=>wt,default:()=>wt});function wt({caption:t,title:n,description:i,features:e,tags:l}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(_.Container,{maxWidth:448,children:[(0,g.jsx)(yn,{caption:t,title:n,description:i}),(0,g.jsx)(Cn,{tags:l})]})}),(0,g.jsx)(kn,{features:e})]})})})}function yn({caption:t,title:n,description:i}){return(0,g.jsxs)(xt.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(n=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"g-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)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,g.jsx)(lt.Flex,{wrap:!0,className:"g-full lg:g-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var e,l,a,x;return(0,g.jsx)("div",{className:`g-full px-4 mb-8 md:g-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(ct.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((e=n==null?void 0:n.mainImage)==null?void 0:e.image)&&(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(l=n==null?void 0:n.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(x=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?x:`features-image-${i}`})}),(0,g.jsx)(A.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var ct,_,lt,et,ot,rt,A,xt,g,ut=f(()=>{"use strict";ct=require("@stackshift-ui/card"),_=require("@stackshift-ui/container"),xt=F(require("react"))});var Ct={};h(Ct,{Features_C:()=>yt,default:()=>yt});function yt({caption:t,title:n,features:i}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(_.Container,{maxWidth:1280,children:[(0,g.jsx)(_.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(An,{caption:t,title:n})}),(0,g.jsx)(Sn,{features:i})]})})}function An({caption:t,title:n}){return(0,g.jsxs)(Tt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,g.jsx)(lt.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,g.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-3 mb-6 lg:g-1/2",children:(0,g.jsxs)(bt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),(0,g.jsxs)("div",{className:"g-full lg:g-2/3",children:[(0,g.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var bt,_,lt,et,ot,rt,A,Tt,g,kt=f(()=>{"use strict";bt=require("@stackshift-ui/card"),Tt=F(require("react"))});var _t={};h(_t,{Features_D:()=>Lt,default:()=>Lt});function Lt({caption:t,title:n,features:i}){return(0,g.jsx)(rt.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)(Rn,{caption:t,title:n})}),(0,g.jsx)(zn,{features:i})]})})}function Rn({caption:t,title:n}){return(0,g.jsxs)(Pt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,g.jsx)(lt.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,g.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-4 mt-8 lg:mb-0 lg:g-1/3",children:(0,g.jsxs)(At.Card,{className:"h-full px-6 py-12 text-center",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}),(0,g.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var At,_,lt,et,ot,rt,A,Pt,g,Ht=f(()=>{"use strict";At=require("@stackshift-ui/card"),Pt=F(require("react"))});var Bt={};h(Bt,{Features_E:()=>Gt,default:()=>Gt});function Gt({featuredItems:t}){let[n,i]=V.default.useState(0);return(0,g.jsx)(rt.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsx)(lt.Flex,{className:"relative",children:(0,g.jsx)(Hn,{featuredItems:t,slider:l=>{t&&(l==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 g-full ml-auto xl:g-4/5",children:[(0,g.jsx)(Ln,{featuredItems:t,item:n}),(0,g.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,e,l,a,x,p,v;return(e=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-g-xl xl:max-g-4xl",children:(0,g.jsx)($t.Image,{className:"relative object-cover",src:`${(a=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(x=t==null?void 0:t[n])==null?void 0:x.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,e,l,a,x,p;return t?(0,g.jsxs)(Ot.Card,{className:"top-0 left-0 max-g-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[(0,g.jsx)($.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[n])==null?void 0:e.subtitle)}),(0,g.jsx)(et.Heading,{fontSize:"3xl",children:((l=t==null?void 0:t[n])==null?void 0:l.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,g.jsx)($.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((x=t==null?void 0:t[n])==null?void 0:x.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,g.jsxs)(V.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 A-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)(j.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"g-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"})})})}),n,(0,g.jsx)("div",{className:"absolute right-0 A-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)(j.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"g-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 V,et,$,Ot,j,$t,rt,_,lt,g,Dt=f(()=>{"use strict";V=F(require("react")),Ot=require("@stackshift-ui/card"),j=require("@stackshift-ui/button")});var Ut={};h(Ut,{Features_F:()=>Qt,default:()=>Qt});function Qt({caption:t,title:n,description:i,images:e,primaryButton:l}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(lt.Flex,{direction:"col",className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:[(0,g.jsx)(Wn,{caption:t,title:n,description:i}),(0,g.jsx)(On,{primaryButton:l})]}),(0,g.jsx)($n,{images:e})]})})})}function Wn({caption:t,title:n,description:i}){return(0,g.jsxs)(_.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,g.jsx)(Et.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(j.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(ot.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-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:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(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:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Et,A,j,ot,rt,_,lt,g,Xt=f(()=>{"use strict";Et=require("@stackshift-ui/heading")});var en={};h(en,{Features_G:()=>ln,default:()=>ln});function ln({caption:t,title:n,description:i,images:e,tags:l}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full px-4 mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(_.Container,{maxWidth:448,children:[(0,g.jsx)(jn,{caption:t,title:n,description:i}),(0,g.jsx)(Vn,{tags:l})]})}),(0,g.jsx)(Gn,{images:e})]})})})}function jn({caption:t,title:n,description:i}){return(0,g.jsxs)(Yt.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(et.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,g.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,g.jsxs)(lt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"g-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 Gn({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(ot.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-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:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(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:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Yt,et,A,ot,rt,_,lt,g,on=f(()=>{"use strict";Yt=F(require("react"))});var cn={};h(cn,{Features_H:()=>sn,default:()=>sn});function sn({caption:t,title:n,features:i,images:e}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(_.Container,{maxWidth:448,children:[(0,g.jsx)(Bn,{caption:t,title:n}),(0,g.jsx)(Dn,{features:i})]})}),(0,g.jsx)(Jn,{images:e})]})})})}function Bn({caption:t,title:n}){return(0,g.jsxs)(rn.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.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,g.jsx)("ul",{children:t.map(n=>(0,g.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,g.jsxs)(lt.Flex,{as:"li",children:[(0,g.jsx)(qn,{}),(0,g.jsxs)("div",{className:"max-g-xs",children:[(0,g.jsx)(A.Text,{weight:"bold",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose ",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,g.jsx)("svg",{className:"g-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 Jn({images:t}){var n,i,e,l,a,x,p,v,u,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center g-full px-4 sm:flex md:px-0 lg:g-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:g-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,g.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-xl",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(ot.Image,{className:"object-cover mt-6 overflow-hidden rounded-xl",src:`${(x=t==null?void 0:t[1])==null?void 0:x.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,g.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:g-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var rn,et,A,ot,rt,_,lt,g,pn=f(()=>{"use strict";rn=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(()=>(ut(),vt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(kt(),Ct))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ht(),_t))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Xt(),Ut))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(on(),en))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(pn(),cn)))},Qn="Features",gn=({data:t})=>{var l,a,x,p,v,u,b,y,C,Q,U,X,Y,Z,tt,nt;let n=t==null?void 0:t.variant,i=n&&Kn[n],e={caption:(a=(l=t==null?void 0:t.variants)==null?void 0:l.caption)!=null?a:void 0,title:(p=(x=t==null?void 0:t.variants)==null?void 0:x.title)!=null?p:void 0,description:(u=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?u:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(Q=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?Q:void 0,featuredItems:(X=(U=t==null?void 0:t.variants)==null?void 0:U.featuredItems)!=null?X:void 0,images:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.images)!=null?Z:void 0,primaryButton:(nt=(tt=t==null?void 0:t.variants)==null?void 0:tt.primaryButton)!=null?nt:void 0};return i?(0,g.jsx)(i,{...e}):null};gn.displayName=Qn;0&&(module.exports={Features});
|
|
1
|
+
"use strict";var xn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var vn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)k(t,i,{get:n[i],enumerable:!0})},it=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of vn(n))!bn.call(t,l)&&l!==i&&k(t,l,{get:()=>n[l],enumerable:!(e=wn(n,l))||e.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(un(t)):{},it(n||!t||!t.__esModule?k(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>it(k({},"__esModule",{value:!0}),t);var at={};h(at,{Features_A:()=>mt,default:()=>mt});function mt({caption:t,title:n,features:i}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(Nn,{caption:t,title:n})}),(0,g.jsx)(lt.Flex,{wrap:!0,children:(0,g.jsx)(fn,{features:i})})]})})}function Nn({caption:t,title:n}){return(0,g.jsxs)(L.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function fn({features:t}){return t?(0,g.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,g.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,g.jsxs)("div",{className:"g-full px-4 mt-16 mb-12 md:g-1/2 lg:mb-0 lg:g-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(A.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)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,e,l;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}):null}var P,lt,et,ot,rt,A,L,g,st=f(()=>{"use strict";P=require("@stackshift-ui/container"),lt=require("@stackshift-ui/flex"),et=require("@stackshift-ui/heading"),ot=require("@stackshift-ui/image"),rt=require("@stackshift-ui/section"),A=require("@stackshift-ui/text"),L=F(require("react")),g=require("react/jsx-runtime")});var vt={};h(vt,{Features_B:()=>wt,default:()=>wt});function wt({caption:t,title:n,description:i,features:e,tags:l}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(_.Container,{maxWidth:448,children:[(0,g.jsx)(yn,{caption:t,title:n,description:i}),(0,g.jsx)(Cn,{tags:l})]})}),(0,g.jsx)(kn,{features:e})]})})})}function yn({caption:t,title:n,description:i}){return(0,g.jsxs)(xt.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(n=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"g-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)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,g.jsx)(lt.Flex,{wrap:!0,className:"g-full lg:g-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var e,l,a,x;return(0,g.jsx)("div",{className:`g-full px-4 mb-8 md:g-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(ct.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((e=n==null?void 0:n.mainImage)==null?void 0:e.image)&&(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(l=n==null?void 0:n.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(x=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?x:`features-image-${i}`})}),(0,g.jsx)(A.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var ct,_,lt,et,ot,rt,A,xt,g,ut=f(()=>{"use strict";ct=require("@stackshift-ui/card"),_=require("@stackshift-ui/container"),xt=F(require("react"))});var Ct={};h(Ct,{Features_C:()=>yt,default:()=>yt});function yt({caption:t,title:n,features:i}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(_.Container,{maxWidth:1280,children:[(0,g.jsx)(_.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(An,{caption:t,title:n})}),(0,g.jsx)(Sn,{features:i})]})})}function An({caption:t,title:n}){return(0,g.jsxs)(Tt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,g.jsx)(lt.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,g.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-3 mb-6 lg:g-1/2",children:(0,g.jsxs)(bt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),(0,g.jsxs)("div",{className:"g-full lg:g-2/3",children:[(0,g.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var bt,_,lt,et,ot,rt,A,Tt,g,kt=f(()=>{"use strict";bt=require("@stackshift-ui/card"),Tt=F(require("react"))});var _t={};h(_t,{Features_D:()=>Lt,default:()=>Lt});function Lt({caption:t,title:n,features:i}){return(0,g.jsx)(rt.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)(Rn,{caption:t,title:n})}),(0,g.jsx)(zn,{features:i})]})})}function Rn({caption:t,title:n}){return(0,g.jsxs)(Pt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,g.jsx)(lt.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,g.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-4 mt-8 lg:mb-0 lg:g-1/3",children:(0,g.jsxs)(At.Card,{className:"h-full px-6 py-12 text-center",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}),(0,g.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var At,_,lt,et,ot,rt,A,Pt,g,Ht=f(()=>{"use strict";At=require("@stackshift-ui/card"),Pt=F(require("react"))});var Bt={};h(Bt,{Features_E:()=>Gt,default:()=>Gt});function Gt({featuredItems:t}){let[n,i]=V.default.useState(0);return(0,g.jsx)(rt.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsx)(lt.Flex,{className:"relative",children:(0,g.jsx)(Hn,{featuredItems:t,slider:l=>{t&&(l==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 g-full ml-auto xl:g-4/5",children:[(0,g.jsx)(Ln,{featuredItems:t,item:n}),(0,g.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,e,l,a,x,p,v;return(e=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-g-xl xl:max-g-4xl",children:(0,g.jsx)($t.Image,{className:"relative object-cover",src:`${(a=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(x=t==null?void 0:t[n])==null?void 0:x.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,e,l,a,x,p;return t?(0,g.jsxs)(Ot.Card,{className:"top-0 left-0 max-g-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[(0,g.jsx)($.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[n])==null?void 0:e.subtitle)}),(0,g.jsx)(et.Heading,{fontSize:"3xl",children:((l=t==null?void 0:t[n])==null?void 0:l.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,g.jsx)($.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((x=t==null?void 0:t[n])==null?void 0:x.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,g.jsxs)(V.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 A-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)(j.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"g-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"})})})}),n,(0,g.jsx)("div",{className:"absolute right-0 A-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)(j.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"g-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 V,et,$,Ot,j,$t,rt,_,lt,g,Dt=f(()=>{"use strict";V=F(require("react")),Ot=require("@stackshift-ui/card"),j=require("@stackshift-ui/button")});var Ut={};h(Ut,{Features_F:()=>Qt,default:()=>Qt});function Qt({caption:t,title:n,description:i,images:e,primaryButton:l}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(lt.Flex,{direction:"col",className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:[(0,g.jsx)(Wn,{caption:t,title:n,description:i}),(0,g.jsx)(On,{primaryButton:l})]}),(0,g.jsx)($n,{images:e})]})})})}function Wn({caption:t,title:n,description:i}){return(0,g.jsxs)(_.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,g.jsx)(Et.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(j.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(ot.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-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:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(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:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Et,A,j,ot,rt,_,lt,g,Xt=f(()=>{"use strict";Et=require("@stackshift-ui/heading")});var en={};h(en,{Features_G:()=>ln,default:()=>ln});function ln({caption:t,title:n,description:i,images:e,tags:l}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full px-4 mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(_.Container,{maxWidth:448,children:[(0,g.jsx)(jn,{caption:t,title:n,description:i}),(0,g.jsx)(Vn,{tags:l})]})}),(0,g.jsx)(Gn,{images:e})]})})})}function jn({caption:t,title:n,description:i}){return(0,g.jsxs)(Yt.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(et.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,g.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,g.jsxs)(lt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"g-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 Gn({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(ot.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-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:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(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:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Yt,et,A,ot,rt,_,lt,g,on=f(()=>{"use strict";Yt=F(require("react"))});var cn={};h(cn,{Features_H:()=>sn,default:()=>sn});function sn({caption:t,title:n,features:i,images:e}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(J.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(J.Container,{maxWidth:448,children:[(0,g.jsx)(Bn,{caption:t,title:n}),(0,g.jsx)(Dn,{features:i})]})}),(0,g.jsx)(Jn,{images:e})]})})})}function Bn({caption:t,title:n}){return(0,g.jsxs)(an.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.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,g.jsx)("ul",{children:t.map(n=>(0,g.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,g.jsxs)(lt.Flex,{as:"li",children:[(0,g.jsx)(qn,{}),(0,g.jsxs)("div",{className:"max-g-xs",children:[(0,g.jsx)(A.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,g.jsx)("svg",{className:"g-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 Jn({images:t}){var n,i,e,l,a,x,p,v,u,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center g-full px-4 sm:flex md:px-0 lg:g-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:g-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,g.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-xl",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(ot.Image,{className:"object-cover mt-6 overflow-hidden rounded-xl",src:`${(x=t==null?void 0:t[1])==null?void 0:x.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,g.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:g-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var J,lt,et,ot,rt,A,an,g,pn=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(()=>(ut(),vt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(kt(),Ct))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ht(),_t))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Xt(),Ut))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(on(),en))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(pn(),cn)))},Qn="Features",gn=({data:t})=>{var l,a,x,p,v,u,b,y,C,Q,U,X,Y,Z,tt,nt;let n=t==null?void 0:t.variant,i=n&&Kn[n],e={caption:(a=(l=t==null?void 0:t.variants)==null?void 0:l.caption)!=null?a:void 0,title:(p=(x=t==null?void 0:t.variants)==null?void 0:x.title)!=null?p:void 0,description:(u=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?u:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(Q=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?Q:void 0,featuredItems:(X=(U=t==null?void 0:t.variants)==null?void 0:U.featuredItems)!=null?X:void 0,images:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.images)!=null?Z:void 0,primaryButton:(nt=(tt=t==null?void 0:t.variants)==null?void 0:tt.primaryButton)!=null?nt:void 0};return i?(0,g.jsx)(i,{...e}):null};gn.displayName=Qn;0&&(module.exports={Features});
|
package/dist/features.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-LL2JDB7J.mjs";export{a as Features};
|
package/dist/features_h.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var k=Object.create;var d=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty;var S=(t,n)=>{for(var o in n)d(t,o,{get:n[o],enumerable:!0})},
|
|
1
|
+
"use strict";var k=Object.create;var d=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty;var S=(t,n)=>{for(var o in n)d(t,o,{get:n[o],enumerable:!0})},b=(t,n,o,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of I(n))!z.call(t,l)&&l!==o&&d(t,l,{get:()=>n[l],enumerable:!(e=A(n,l))||e.enumerable});return t};var j=(t,n,o)=>(o=t!=null?k(C(t)):{},b(n||!t||!t.__esModule?d(o,"default",{value:t,enumerable:!0}):o,t)),H=t=>b(d({},"__esModule",{value:!0}),t);var P={};S(P,{Features_H:()=>F,default:()=>F});module.exports=H(P);var m=require("@stackshift-ui/container"),x=require("@stackshift-ui/flex"),s=require("@stackshift-ui/heading"),i=require("@stackshift-ui/image"),T=require("@stackshift-ui/section"),c=require("@stackshift-ui/text"),y=j(require("react")),r=require("react/jsx-runtime");function F({caption:t,title:n,features:o,images:e}){return(0,r.jsx)(T.Section,{className:"py-20 bg-background",children:(0,r.jsx)(m.Container,{maxWidth:1280,children:(0,r.jsxs)(x.Flex,{wrap:!0,align:"center",children:[(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(m.Container,{maxWidth:448,children:[(0,r.jsx)(L,{caption:t,title:n}),(0,r.jsx)(O,{features:o})]})}),(0,r.jsx)($,{images:e})]})})})}function L({caption:t,title:n}){return(0,r.jsxs)(y.default.Fragment,{children:[t&&(0,r.jsx)(c.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,r.jsx)(s.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function O({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,r.jsx)("ul",{children:t.map(n=>(0,r.jsx)(V,{feature:n},n._key))})}function V({feature:t}){return t?(0,r.jsxs)(x.Flex,{as:"li",children:[(0,r.jsx)(W,{}),(0,r.jsxs)("div",{className:"max-w-xs",children:[(0,r.jsx)(c.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,r.jsx)(c.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function W(){return(0,r.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function $({images:t}){var n,o,e,l,a,w,p,h,u,v,f,N;return!t||(t==null?void 0:t.length)===0?null:(0,r.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,r.jsx)(i.Image,{className:"object-cover overflow-hidden rounded-xl",src:`${(o=t==null?void 0:t[0])==null?void 0:o.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,r.jsx)(i.Image,{className:"object-cover mt-6 overflow-hidden rounded-xl",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:(h=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?h:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,r.jsx)(i.Image,{className:"object-cover overflow-hidden rounded-xl 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:(N=(f=t==null?void 0:t[2])==null?void 0:f.alt)!=null?N:"features-image-3"})]})}0&&(module.exports={Features_H});
|
package/dist/features_h.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-D7JAVEFI.mjs";export{a as Features_H,a as default};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var dn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var vn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var N=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)k(t,i,{get:n[i],enumerable:!0})},bt=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of vn(n))!bn.call(t,l)&&l!==i&&k(t,l,{get:()=>n[l],enumerable:!(e=wn(n,l))||e.enumerable});return t};var F=(t,n,i)=>(i=t!=null?dn(un(t)):{},bt(n||!t||!t.__esModule?k(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>bt(k({},"__esModule",{value:!0}),t);var Tt={};h(Tt,{Features_A:()=>_,default:()=>_});function _({caption:t,title:n,features:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(fn,{caption:t,title:n})}),(0,g.jsx)(ht.Flex,{wrap:!0,children:(0,g.jsx)(Nn,{features:i})})]})})}function fn({caption:t,title:n}){return(0,g.jsxs)(L.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function Nn({features:t}){return t?(0,g.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,g.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,g.jsxs)("div",{className:"g-full px-4 W-16 mb-12 md:g-1/2 lg:mb-0 lg:g-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(A.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)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,e,l;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}):null}var P,ht,ft,Nt,Ft,A,L,g,H=N(()=>{"use strict";P=require("@stackshift-ui/container"),ht=require("@stackshift-ui/flex"),ft=require("@stackshift-ui/heading"),Nt=require("@stackshift-ui/image"),Ft=require("@stackshift-ui/section"),A=require("@stackshift-ui/text"),L=F(require("react")),g=require("react/jsx-runtime")});var It={};h(It,{Features_B:()=>$,default:()=>$});function $({caption:t,title:n,description:i,features:e,tags:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(yn,{caption:t,title:n,description:i}),(0,g.jsx)(Cn,{tags:l})]})}),(0,g.jsx)(kn,{features:e})]})})})}function yn({caption:t,title:n,description:i}){return(0,g.jsxs)(St.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(n=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"g-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",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,g.jsx)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,g.jsx)(ht.Flex,{wrap:!0,className:"g-full lg:g-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var e,l,a,d;return(0,g.jsx)("div",{className:`g-full px-4 mb-8 md:g-1/2 ${i%2===0?"lg:mb-0":"lg:W-12"}`,children:(0,g.jsxs)(yt.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((e=n==null?void 0:n.mainImage)==null?void 0:e.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(l=n==null?void 0:n.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(d=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?d:`features-image-${i}`})}),(0,g.jsx)(A.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var yt,W,ht,ft,Nt,Ft,A,St,g,j=N(()=>{"use strict";yt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),St=F(require("react"))});var Wt={};h(Wt,{Features_C:()=>M,default:()=>M});function M({caption:t,title:n,features:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(An,{caption:t,title:n})}),(0,g.jsx)(Sn,{features:i})]})})}function An({caption:t,title:n}){return(0,g.jsxs)(Ht.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,g.jsx)(ht.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,g.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-3 mb-6 lg:g-1/2",children:(0,g.jsxs)(Rt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),(0,g.jsxs)("div",{className:"g-full lg:g-2/3",children:[(0,g.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var Rt,W,ht,ft,Nt,Ft,A,Ht,g,G=N(()=>{"use strict";Rt=require("@stackshift-ui/card"),Ht=F(require("react"))});var Bt={};h(Bt,{Features_D:()=>D,default:()=>D});function D({caption:t,title:n,features:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(Rn,{caption:t,title:n})}),(0,g.jsx)(zn,{features:i})]})})}function Rn({caption:t,title:n}){return(0,g.jsxs)(Gt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,g.jsx)($t.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,g.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-4 W-8 lg:mb-0 lg:g-1/3",children:(0,g.jsxs)(Ot.Card,{className:"h-full px-6 py-12 text-center",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}),(0,g.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Ot,W,$t,ft,Nt,Ft,A,Gt,g,E=N(()=>{"use strict";Ot=require("@stackshift-ui/card"),Gt=F(require("react"))});var Ut={};h(Ut,{Features_E:()=>Q,default:()=>Q});function Q({featuredItems:t}){let[n,i]=K.default.useState(0);return(0,g.jsx)(Ft.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsx)(ht.Flex,{className:"relative",children:(0,g.jsx)(Hn,{featuredItems:t,slider:l=>{t&&(l==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 g-full ml-auto xl:g-4/5",children:[(0,g.jsx)(Ln,{featuredItems:t,item:n}),(0,g.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,e,l,a,d,p,v;return(e=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-g-xl xl:max-g-4xl",children:(0,g.jsx)(Nt.Image,{className:"relative object-cover",src:`${(a=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(d=t==null?void 0:t[n])==null?void 0:d.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,e,l,a,d,p;return t?(0,g.jsxs)(Et.Card,{className:"top-0 left-0 max-g-xl p-6 mx-auto text-center bg-white md:W-12 md:p-10 lg:W-12 lg:p-10 xl:absolute xl:mx-0 xl:W-20 xl:py-24",children:[(0,g.jsx)(A.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[n])==null?void 0:e.subtitle)}),(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:((l=t==null?void 0:t[n])==null?void 0:l.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,g.jsx)(A.Text,{muted:!0,className:"text-xs leading-loose text-center md:W-5 md:text-sm lg:W-5 lg:text-sm",children:((d=t==null?void 0:t[n])==null?void 0:d.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,g.jsxs)(K.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 A-40 items-center W-20 -mx-3 order-0 md:W-40 lg:W-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(J.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"g-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",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,g.jsx)("div",{className:"absolute right-0 A-40 items-center order-2 W-20 -mx-3 md:W-40 lg:W-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(J.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"g-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",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var K,ft,A,Et,J,Nt,Ft,W,ht,g,U=N(()=>{"use strict";K=F(require("react")),Et=require("@stackshift-ui/card"),J=require("@stackshift-ui/button")});var nn={};h(nn,{Features_F:()=>tt,default:()=>tt});function tt({caption:t,title:n,description:i,images:e,primaryButton:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(ht.Flex,{direction:"col",className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:[(0,g.jsx)(Wn,{caption:t,title:n,description:i}),(0,g.jsx)(On,{primaryButton:l})]}),(0,g.jsx)($n,{images:e})]})})})}function Wn({caption:t,title:n,description:i}){return(0,g.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,g.jsx)(Xt.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(J.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(d,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(Nt.Image,{className:"object-cover g-full h-auto",src:d,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-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:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(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:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Xt,A,J,Nt,Ft,W,ht,g,nt=N(()=>{"use strict";Xt=require("@stackshift-ui/heading")});var mn={};h(mn,{Features_G:()=>ot,default:()=>ot});function ot({caption:t,title:n,description:i,images:e,tags:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full px-4 mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(jn,{caption:t,title:n,description:i}),(0,g.jsx)(Vn,{tags:l})]})}),(0,g.jsx)(Gn,{images:e})]})})})}function jn({caption:t,title:n,description:i}){return(0,g.jsxs)(ln.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,g.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,g.jsxs)(ht.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"g-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",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,g.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(d,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(Nt.Image,{className:"object-cover g-full h-auto",src:d,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-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:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(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:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var ln,ft,A,Nt,Ft,W,ht,g,rt=N(()=>{"use strict";ln=F(require("react"))});var pn={};h(pn,{Features_H:()=>st,default:()=>st});function st({caption:t,title:n,features:i,images:e}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(Bn,{caption:t,title:n}),(0,g.jsx)(Dn,{features:i})]})}),(0,g.jsx)(Jn,{images:e})]})})})}function Bn({caption:t,title:n}){return(0,g.jsxs)(an.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(n=>(0,g.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,g.jsxs)(ht.Flex,{as:"li",children:[(0,g.jsx)(qn,{}),(0,g.jsxs)("div",{className:"max-g-xs",children:[(0,g.jsx)(A.Text,{weight:"bold",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose ",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,g.jsx)("svg",{className:"g-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,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Jn({images:t}){var n,i,e,l,a,d,p,v,u,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center g-full px-4 sm:flex md:px-0 lg:g-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:g-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-xl",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover W-6 overflow-hidden rounded-xl",src:`${(d=t==null?void 0:t[1])==null?void 0:d.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:g-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var an,ft,A,Nt,Ft,W,ht,g,ct=N(()=>{"use strict";an=F(require("react"))});var Un={};h(Un,{Features:()=>gn,Features_A:()=>_,Features_B:()=>$,Features_C:()=>M,Features_D:()=>D,Features_E:()=>Q,Features_F:()=>tt,Features_G:()=>ot,Features_H:()=>st});module.exports=hn(Un);var f=require("react"),Kn={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(H(),Tt))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>(j(),It))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(G(),Wt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(E(),Bt))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(U(),Ut))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),nn))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(rt(),mn))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(ct(),pn)))},Qn="Features",gn=({data:t})=>{var l,a,d,p,v,u,b,y,C,pt,gt,xt,dt,wt,vt,ut;let n=t==null?void 0:t.variant,i=n&&Kn[n],e={caption:(a=(l=t==null?void 0:t.variants)==null?void 0:l.caption)!=null?a:void 0,title:(p=(d=t==null?void 0:t.variants)==null?void 0:d.title)!=null?p:void 0,description:(u=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?u:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(pt=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?pt:void 0,featuredItems:(xt=(gt=t==null?void 0:t.variants)==null?void 0:gt.featuredItems)!=null?xt:void 0,images:(wt=(dt=t==null?void 0:t.variants)==null?void 0:dt.images)!=null?wt:void 0,primaryButton:(ut=(vt=t==null?void 0:t.variants)==null?void 0:vt.primaryButton)!=null?ut:void 0};return i?(0,g.jsx)(i,{...e}):null};gn.displayName=Qn;H();j();G();E();U();nt();rt();ct();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
|
|
2
|
+
"use strict";var dn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var vn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var N=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)k(t,i,{get:n[i],enumerable:!0})},bt=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of vn(n))!bn.call(t,l)&&l!==i&&k(t,l,{get:()=>n[l],enumerable:!(e=wn(n,l))||e.enumerable});return t};var F=(t,n,i)=>(i=t!=null?dn(un(t)):{},bt(n||!t||!t.__esModule?k(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>bt(k({},"__esModule",{value:!0}),t);var Tt={};h(Tt,{Features_A:()=>_,default:()=>_});function _({caption:t,title:n,features:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(fn,{caption:t,title:n})}),(0,g.jsx)(ht.Flex,{wrap:!0,children:(0,g.jsx)(Nn,{features:i})})]})})}function fn({caption:t,title:n}){return(0,g.jsxs)(L.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function Nn({features:t}){return t?(0,g.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,g.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,g.jsxs)("div",{className:"g-full px-4 mt-16 mb-12 md:g-1/2 lg:mb-0 lg:g-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(A.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)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,e,l;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}):null}var P,ht,ft,Nt,Ft,A,L,g,H=N(()=>{"use strict";P=require("@stackshift-ui/container"),ht=require("@stackshift-ui/flex"),ft=require("@stackshift-ui/heading"),Nt=require("@stackshift-ui/image"),Ft=require("@stackshift-ui/section"),A=require("@stackshift-ui/text"),L=F(require("react")),g=require("react/jsx-runtime")});var It={};h(It,{Features_B:()=>$,default:()=>$});function $({caption:t,title:n,description:i,features:e,tags:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(yn,{caption:t,title:n,description:i}),(0,g.jsx)(Cn,{tags:l})]})}),(0,g.jsx)(kn,{features:e})]})})})}function yn({caption:t,title:n,description:i}){return(0,g.jsxs)(St.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(n=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"g-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",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,g.jsx)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,g.jsx)(ht.Flex,{wrap:!0,className:"g-full lg:g-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var e,l,a,d;return(0,g.jsx)("div",{className:`g-full px-4 mb-8 md:g-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(yt.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((e=n==null?void 0:n.mainImage)==null?void 0:e.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(l=n==null?void 0:n.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(d=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?d:`features-image-${i}`})}),(0,g.jsx)(A.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var yt,W,ht,ft,Nt,Ft,A,St,g,j=N(()=>{"use strict";yt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),St=F(require("react"))});var Wt={};h(Wt,{Features_C:()=>M,default:()=>M});function M({caption:t,title:n,features:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(An,{caption:t,title:n})}),(0,g.jsx)(Sn,{features:i})]})})}function An({caption:t,title:n}){return(0,g.jsxs)(Ht.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,g.jsx)(ht.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,g.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-3 mb-6 lg:g-1/2",children:(0,g.jsxs)(Rt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),(0,g.jsxs)("div",{className:"g-full lg:g-2/3",children:[(0,g.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var Rt,W,ht,ft,Nt,Ft,A,Ht,g,G=N(()=>{"use strict";Rt=require("@stackshift-ui/card"),Ht=F(require("react"))});var Bt={};h(Bt,{Features_D:()=>D,default:()=>D});function D({caption:t,title:n,features:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(Rn,{caption:t,title:n})}),(0,g.jsx)(zn,{features:i})]})})}function Rn({caption:t,title:n}){return(0,g.jsxs)(Gt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,g.jsx)($t.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,g.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-4 mt-8 lg:mb-0 lg:g-1/3",children:(0,g.jsxs)(Ot.Card,{className:"h-full px-6 py-12 text-center",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}),(0,g.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Ot,W,$t,ft,Nt,Ft,A,Gt,g,E=N(()=>{"use strict";Ot=require("@stackshift-ui/card"),Gt=F(require("react"))});var Ut={};h(Ut,{Features_E:()=>Q,default:()=>Q});function Q({featuredItems:t}){let[n,i]=K.default.useState(0);return(0,g.jsx)(Ft.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsx)(ht.Flex,{className:"relative",children:(0,g.jsx)(Hn,{featuredItems:t,slider:l=>{t&&(l==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 g-full ml-auto xl:g-4/5",children:[(0,g.jsx)(Ln,{featuredItems:t,item:n}),(0,g.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,e,l,a,d,p,v;return(e=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-g-xl xl:max-g-4xl",children:(0,g.jsx)(Nt.Image,{className:"relative object-cover",src:`${(a=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(d=t==null?void 0:t[n])==null?void 0:d.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,e,l,a,d,p;return t?(0,g.jsxs)(Et.Card,{className:"top-0 left-0 max-g-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",children:[(0,g.jsx)(A.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[n])==null?void 0:e.subtitle)}),(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:((l=t==null?void 0:t[n])==null?void 0:l.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,g.jsx)(A.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((d=t==null?void 0:t[n])==null?void 0:d.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,g.jsxs)(K.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 A-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)(J.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"g-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",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,g.jsx)("div",{className:"absolute right-0 A-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)(J.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"g-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",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var K,ft,A,Et,J,Nt,Ft,W,ht,g,U=N(()=>{"use strict";K=F(require("react")),Et=require("@stackshift-ui/card"),J=require("@stackshift-ui/button")});var nn={};h(nn,{Features_F:()=>tt,default:()=>tt});function tt({caption:t,title:n,description:i,images:e,primaryButton:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(ht.Flex,{direction:"col",className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:[(0,g.jsx)(Wn,{caption:t,title:n,description:i}),(0,g.jsx)(On,{primaryButton:l})]}),(0,g.jsx)($n,{images:e})]})})})}function Wn({caption:t,title:n,description:i}){return(0,g.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,g.jsx)(Xt.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(J.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(d,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(Nt.Image,{className:"object-cover g-full h-auto",src:d,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-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:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(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:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Xt,A,J,Nt,Ft,W,ht,g,nt=N(()=>{"use strict";Xt=require("@stackshift-ui/heading")});var mn={};h(mn,{Features_G:()=>ot,default:()=>ot});function ot({caption:t,title:n,description:i,images:e,tags:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full px-4 mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(jn,{caption:t,title:n,description:i}),(0,g.jsx)(Vn,{tags:l})]})}),(0,g.jsx)(Gn,{images:e})]})})})}function jn({caption:t,title:n,description:i}){return(0,g.jsxs)(ln.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,g.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,g.jsxs)(ht.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"g-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",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,g.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(d,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(Nt.Image,{className:"object-cover g-full h-auto",src:d,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-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:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(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:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var ln,ft,A,Nt,Ft,W,ht,g,rt=N(()=>{"use strict";ln=F(require("react"))});var pn={};h(pn,{Features_H:()=>st,default:()=>st});function st({caption:t,title:n,features:i,images:e}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(mt.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(mt.Container,{maxWidth:448,children:[(0,g.jsx)(Bn,{caption:t,title:n}),(0,g.jsx)(Dn,{features:i})]})}),(0,g.jsx)(Jn,{images:e})]})})})}function Bn({caption:t,title:n}){return(0,g.jsxs)(cn.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(n=>(0,g.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,g.jsxs)(ht.Flex,{as:"li",children:[(0,g.jsx)(qn,{}),(0,g.jsxs)("div",{className:"max-g-xs",children:[(0,g.jsx)(A.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,g.jsx)("svg",{className:"g-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,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Jn({images:t}){var n,i,e,l,a,d,p,v,u,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center g-full px-4 sm:flex md:px-0 lg:g-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:g-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-xl",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover mt-6 overflow-hidden rounded-xl",src:`${(d=t==null?void 0:t[1])==null?void 0:d.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:g-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var mt,ht,ft,Nt,Ft,A,cn,g,ct=N(()=>{"use strict";mt=require("@stackshift-ui/container"),cn=F(require("react"))});var Un={};h(Un,{Features:()=>gn,Features_A:()=>_,Features_B:()=>$,Features_C:()=>M,Features_D:()=>D,Features_E:()=>Q,Features_F:()=>tt,Features_G:()=>ot,Features_H:()=>st});module.exports=hn(Un);var f=require("react"),Kn={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(H(),Tt))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>(j(),It))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(G(),Wt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(E(),Bt))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(U(),Ut))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),nn))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(rt(),mn))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(ct(),pn)))},Qn="Features",gn=({data:t})=>{var l,a,d,p,v,u,b,y,C,pt,gt,xt,dt,wt,vt,ut;let n=t==null?void 0:t.variant,i=n&&Kn[n],e={caption:(a=(l=t==null?void 0:t.variants)==null?void 0:l.caption)!=null?a:void 0,title:(p=(d=t==null?void 0:t.variants)==null?void 0:d.title)!=null?p:void 0,description:(u=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?u:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(pt=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?pt:void 0,featuredItems:(xt=(gt=t==null?void 0:t.variants)==null?void 0:gt.featuredItems)!=null?xt:void 0,images:(wt=(dt=t==null?void 0:t.variants)==null?void 0:dt.images)!=null?wt:void 0,primaryButton:(ut=(vt=t==null?void 0:t.variants)==null?void 0:vt.primaryButton)!=null?ut:void 0};return i?(0,g.jsx)(i,{...e}):null};gn.displayName=Qn;H();j();G();E();U();nt();rt();ct();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a as p}from"./chunk-N5NYGJGG.mjs";import{a as x}from"./chunk-
|
|
2
|
+
"use strict";import{a as p}from"./chunk-N5NYGJGG.mjs";import{a as x}from"./chunk-D7JAVEFI.mjs";import{a as c}from"./chunk-LL2JDB7J.mjs";import{a as o}from"./chunk-GGPLBP3I.mjs";import{a as r}from"./chunk-JLMJ5WKU.mjs";import{a as e}from"./chunk-VJX6I62Q.mjs";import{a as t}from"./chunk-PLE2ZDCT.mjs";import{a as f}from"./chunk-CUE2SXLU.mjs";import{a as m}from"./chunk-LXDA6H5R.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": "
|
|
4
|
+
"version": "6.0.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -28,21 +28,21 @@
|
|
|
28
28
|
"typescript": "^5.6.2",
|
|
29
29
|
"vite-tsconfig-paths": "^5.0.1",
|
|
30
30
|
"vitest": "^2.1.1",
|
|
31
|
-
"@stackshift-ui/eslint-config": "
|
|
32
|
-
"@stackshift-ui/typescript-config": "
|
|
31
|
+
"@stackshift-ui/eslint-config": "6.0.2",
|
|
32
|
+
"@stackshift-ui/typescript-config": "6.0.2"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"classnames": "^2.5.1",
|
|
36
|
-
"@stackshift-ui/scripts": "
|
|
37
|
-
"@stackshift-ui/
|
|
38
|
-
"@stackshift-ui/
|
|
39
|
-
"@stackshift-ui/heading": "
|
|
40
|
-
"@stackshift-ui/
|
|
41
|
-
"@stackshift-ui/
|
|
42
|
-
"@stackshift-ui/
|
|
43
|
-
"@stackshift-ui/
|
|
44
|
-
"@stackshift-ui/container": "
|
|
45
|
-
"@stackshift-ui/
|
|
36
|
+
"@stackshift-ui/scripts": "6.0.2",
|
|
37
|
+
"@stackshift-ui/text": "6.0.2",
|
|
38
|
+
"@stackshift-ui/system": "6.0.2",
|
|
39
|
+
"@stackshift-ui/heading": "6.0.2",
|
|
40
|
+
"@stackshift-ui/image": "6.0.2",
|
|
41
|
+
"@stackshift-ui/button": "6.0.2",
|
|
42
|
+
"@stackshift-ui/section": "6.0.2",
|
|
43
|
+
"@stackshift-ui/card": "6.0.2",
|
|
44
|
+
"@stackshift-ui/container": "6.0.2",
|
|
45
|
+
"@stackshift-ui/flex": "6.0.2"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@types/react": "16.8 - 19",
|
package/dist/chunk-6F4XIN3R.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import N from"react";import{Heading as T}from"@stackshift-ui/heading";import{Text as i}from"@stackshift-ui/text";import{Image as d}from"@stackshift-ui/image";import{Section as F}from"@stackshift-ui/section";import{Container as f}from"@stackshift-ui/container";import{Flex as b}from"@stackshift-ui/flex";import{jsx as r,jsxs as o}from"react/jsx-runtime";function s({caption:t,title:n,features:l,images:e}){return r(F,{className:"py-20 bg-background",children:r(f,{maxWidth:1280,children:o(b,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(f,{maxWidth:448,children:[r(y,{caption:t,title:n}),r(k,{features:l})]})}),r(C,{images:e})]})})})}function y({caption:t,title:n}){return o(N.Fragment,{children:[t&&r(i,{weight:"bold",className:"text-secondary",children:t}),n&&r(T,{fontSize:"3xl",className:"mb-6",children:n})]})}function k({features:t}){return!t||(t==null?void 0:t.length)<=0?null:r("ul",{children:t.map(n=>r(A,{feature:n},n._key))})}function A({feature:t}){return t?o(b,{as:"li",children:[r(I,{}),o("div",{className:"max-w-xs",children:[r(i,{weight:"bold",children:t==null?void 0:t.title}),r(i,{muted:!0,className:"leading-loose ",children:t==null?void 0:t.plainText})]})]}):null}function I(){return r("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function C({images:t}){var n,l,e,c,m,x,w,a,p,h,u,v;return!t||(t==null?void 0:t.length)===0?null:o("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[o("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&r(d,{className:"object-cover overflow-hidden rounded-xl",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(c=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?c:"features-image-1"}),((m=t==null?void 0:t[1])==null?void 0:m.image)&&r(d,{className:"object-cover mt-6 overflow-hidden rounded-xl",src:`${(x=t==null?void 0:t[1])==null?void 0:x.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(a=(w=t==null?void 0:t[1])==null?void 0:w.alt)!=null?a:"features-image-2"})]}),((p=t==null?void 0:t[2])==null?void 0:p.image)&&r(d,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:w-1/2",src:`${(h=t==null?void 0:t[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(u=t==null?void 0:t[2])==null?void 0:u.alt)!=null?v:"features-image-3"})]})}export{s as a};
|
|
File without changes
|