@stackshift-ui/features 6.0.13-beta.1 → 6.0.13-beta.2

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