@stackshift-ui/features 7.0.0-beta.4 → 7.0.0-beta.6

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{Container as s}from"@stackshift-ui/container";import{Flex as c}from"@stackshift-ui/flex";import{Heading as N}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as b}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import{jsx as r,jsxs as o}from"react/jsx-runtime";function T({caption:t,title:n,features:l,images:e}){return r(b,{className:"py-20 bg-background",children:r(s,{maxWidth:1280,children:o(c,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(s,{maxWidth:448,children:[r(y,{caption:t,title:n}),r(F,{features:l})]})}),r(I,{images:e})]})})})}function y({caption:t,title:n}){return o(c,{gap:3,direction:"col",children:[t&&r(i,{weight:"bold",className:"text-secondary",children:t}),n&&r(N,{fontSize:"3xl",className:"mb-6",children:n})]})}function F({features:t}){return!t||(t==null?void 0:t.length)<=0?null:r("ul",{children:t.map(n=>r(k,{feature:n},n._key))})}function k({feature:t}){return t?o(c,{as:"li",className:"mb-5",children:[r(A,{}),o("div",{className:"max-w-xs",children:[r(i,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),r(i,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function A(){return r("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function I({images:t}){var n,l,e,m,x,a,w,p,h,u,v,f;return!t||(t==null?void 0:t.length)===0?null:o("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[o("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&r(d,{className:"object-cover overflow-hidden rounded-md",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(m=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?m:"features-image-1"}),((x=t==null?void 0:t[1])==null?void 0:x.image)&&r(d,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(a=t==null?void 0:t[1])==null?void 0:a.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(p=(w=t==null?void 0:t[1])==null?void 0:w.alt)!=null?p:"features-image-2"})]}),((h=t==null?void 0:t[2])==null?void 0:h.image)&&r(d,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(u=t==null?void 0:t[2])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(f=(v=t==null?void 0:t[2])==null?void 0:v.alt)!=null?f:"features-image-3"})]})}export{T as a};
@@ -0,0 +1 @@
1
+ import{Container as d}from"@stackshift-ui/container";import{Flex as o}from"@stackshift-ui/flex";import{Heading as x}from"@stackshift-ui/heading";import{Image as v}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as u}from"@stackshift-ui/text";import{jsx as l,jsxs as a}from"react/jsx-runtime";function h({caption:e,title:t,description:r,images:i,tags:n}){return l(w,{className:"py-20 bg-background",children:l(d,{maxWidth:1280,children:a(o,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(d,{maxWidth:448,children:[l(b,{caption:e,title:t,description:r}),l(N,{tags:n})]})}),l(y,{images:i})]})})})}function b({caption:e,title:t,description:r}){return a(o,{direction:"col",gap:3,children:[e&&l(u,{weight:"bold",className:"text-secondary",children:e}),t&&l(x,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(u,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function N({tags:e}){return e?l("ul",{className:"font-bold text-gray-500",children:e.map(t=>l(F,{item:t}))}):null}function F({item:e}){return e?a(o,{as:"li",align:"center",className:"mb-2 ",children:[l("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:l("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),l("span",{children:e})]}):null}function y({images:e}){var r,i,n,s;if(!e||(e==null?void 0:e.length)===0)return null;function t(c,m,g,f,p){return l("div",{className:`overflow-hidden rounded-md ${p}`,children:l(v,{className:"object-cover w-full h-full",src:c,sizes:"100vw",width:g,height:f,alt:m!=null?m:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=e[2])==null?void 0:n.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((s=e[3])==null?void 0:s.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{h as a};
@@ -0,0 +1 @@
1
+ import{Card as c}from"@stackshift-ui/card";import{Container as d}from"@stackshift-ui/container";import{Flex as s}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 t}from"@stackshift-ui/text";import{jsx as m,jsxs as a}from"react/jsx-runtime";function w({caption:i,title:l,description:o,features:n,tags:e}){return m(b,{className:"py-20 bg-background",children:m(d,{maxWidth:1280,children:a(s,{wrap:!0,align:"center",children:[m("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(d,{maxWidth:448,children:[m(h,{caption:i,title:l,description:o}),m(N,{tags:e})]})}),m(T,{features:n})]})})})}function h({caption:i,title:l,description:o}){return a(s,{direction:"col",gap:3,children:[i&&m(t,{weight:"bold",className:"text-secondary",children:i}),l&&m(p,{fontSize:"3xl",children:l}),o&&m(t,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function N({tags:i}){return i?m("ul",{children:i&&i.map(l=>a(s,{as:"li",className:"mb-4",children:[m("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:m("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),m(t,{muted:!0,weight:"bold",children:l})]},l))}):null}function T({features:i}){return i?m(s,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:i&&(i==null?void 0:i.map((l,o)=>{var n,e,r,g;return m("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:a(c,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((n=l==null?void 0:l.mainImage)==null?void 0:n.image)&&m("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:m(x,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(g=(r=l==null?void 0:l.mainImage)==null?void 0:r.alt)!=null?g:`features-image-${o}`})}),m(t,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-normal",children:l==null?void 0:l.title}),m(t,{muted:!0,className:"leading-loose break-normal",children:l==null?void 0:l.plainText})]})},o)}))}):null}export{w as a};
@@ -0,0 +1 @@
1
+ import{Card as d,CardTitle as c}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as p}from"@stackshift-ui/image";import{Section as x}from"@stackshift-ui/section";import{Text as a}from"@stackshift-ui/text";import{jsx as l,jsxs as e}from"react/jsx-runtime";function b({caption:i,title:t,description:n,features:m}){return l(x,{className:"py-20 bg-background",children:e(r,{maxWidth:1800,children:[l(r,{maxWidth:640,className:"mb-16 text-center",children:l(T,{caption:i,title:t,description:n})}),l(N,{features:m})]})})}function T({caption:i,title:t,description:n}){return e(s,{direction:"col",gap:3,align:"center",children:[i?l(a,{weight:"bold",className:"text-secondary",children:i}):null,t?l(g,{fontSize:"3xl",children:t}):null,n?l(a,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function N({features:i}){return i?l("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:i.map(t=>l(C,{feature:t},t._key))}):null}function C({feature:i}){var t,n,m,o;return l("div",{className:"w-full p-3",children:e(d,{className:"flex h-full p-6 bg-white rounded-md",children:[l("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((t=i==null?void 0:i.mainImage)==null?void 0:t.image)&&l(p,{className:"object-scale-down",src:`${(n=i==null?void 0:i.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(o=(m=i==null?void 0:i.mainImage)==null?void 0:m.alt)!=null?o:"features-main-image"})}),e(s,{direction:"col",gap:2,className:"w-full",children:[l(c,{className:"text-xl md:text-2xl break-normal font-bold",children:i==null?void 0:i.title}),l(a,{muted:!0,className:"break-all",children:i==null?void 0:i.plainText})]})]})})}export{b as a};
@@ -0,0 +1 @@
1
+ import{Button as x}from"@stackshift-ui/button";import{Container as d}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as h}from"@stackshift-ui/heading";import{Image as v}from"@stackshift-ui/image";import{Link as w}from"@stackshift-ui/link";import{Section as N}from"@stackshift-ui/section";import{buildSanityLink as p}from"@stackshift-ui/system";import{Text as f}from"@stackshift-ui/text";import{jsx as l,jsxs as a}from"react/jsx-runtime";function F({caption:e,title:t,description:i,images:r,primaryButton:n}){return l(N,{className:"py-20 bg-background",children:l(d,{maxWidth:1280,children:a(s,{wrap:!0,align:"center",children:[a(s,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[l(C,{caption:e,title:t,description:i}),l(k,{primaryButton:n})]}),l(L,{images:r})]})})})}function C({caption:e,title:t,description:i}){return a(d,{maxWidth:448,className:"ml-0",children:[e&&l(f,{weight:"bold",className:"font-bold text-secondary",children:e}),t&&l(h,{fontSize:"3xl",className:"mb-6",children:t}),i&&l(f,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function k({primaryButton:e}){if(!(e!=null&&e.label))return null;let t=p(e);return l(d,{maxWidth:448,className:"ml-0",children:l(x,{"aria-label":e==null?void 0:e.label,asChild:!0,children:l(w,{href:t.href,target:t.target,rel:t.rel,children:e==null?void 0:e.label})})})}function L({images:e}){var i,r,n,m;if(!e||(e==null?void 0:e.length)===0)return null;function t(c,o,g,u,b){return l("div",{className:`overflow-hidden rounded-md ${b}`,children:l(v,{className:"object-cover w-full h-full",src:c,sizes:"100vw",width:g,height:u,alt:o!=null?o:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=e[0])==null?void 0:i.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((r=e[1])==null?void 0:r.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=e[2])==null?void 0:n.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((m=e[3])==null?void 0:m.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{F as a};
@@ -0,0 +1 @@
1
+ import{a as R}from"./chunk-G6RGNQG4.mjs";import{a as O}from"./chunk-FTSR7WIU.mjs";import{a as A}from"./chunk-4EWXUBOB.mjs";import{a as T}from"./chunk-VAA2TWIH.mjs";import{a as _}from"./chunk-W24RHXVA.mjs";import{a as x}from"./chunk-URBAFHHX.mjs";import{a as b}from"./chunk-2ZMZT34T.mjs";import{a as B}from"./chunk-W2ZOZPQE.mjs";import{jsx as N}from"react/jsx-runtime";var L={variant_a:A,variant_b:T,variant_c:_,variant_d:x,variant_e:b,variant_f:B,variant_g:R,variant_h:O},V="Features",C=({data:e})=>{var t,n,s,o,m,u,f,p,g,c,v,F,l,a,I,y;let r=e==null?void 0:e.variant,i=r&&L[r],P={caption:(n=(t=e==null?void 0:e.variants)==null?void 0:t.subtitle)!=null?n:void 0,title:(o=(s=e==null?void 0:e.variants)==null?void 0:s.title)!=null?o:void 0,description:(u=(m=e==null?void 0:e.variants)==null?void 0:m.description)!=null?u:void 0,features:(p=(f=e==null?void 0:e.variants)==null?void 0:f.arrayOfImageTitleAndText)!=null?p:void 0,tags:(c=(g=e==null?void 0:e.variants)==null?void 0:g.tags)!=null?c:void 0,featuredItems:(F=(v=e==null?void 0:e.variants)==null?void 0:v.featuredItems)!=null?F:void 0,images:(a=(l=e==null?void 0:e.variants)==null?void 0:l.images)!=null?a:void 0,primaryButton:(y=(I=e==null?void 0:e.variants)==null?void 0:I.primaryButton)!=null?y:void 0};return i?N(i,{...P}):null};C.displayName=V;export{C as a};
package/dist/features.js CHANGED
@@ -1 +1 @@
1
- "use strict";var at=Object.create;var k=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var ct=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty;var f=(l,t)=>()=>(l&&(t=l(l=0)),t);var u=(l,t)=>{for(var i in t)k(l,i,{get:t[i],enumerable:!0})},el=(l,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of ct(t))!gt.call(l,e)&&e!==i&&k(l,e,{get:()=>t[e],enumerable:!(n=st(t,e))||n.enumerable});return l};var pt=(l,t,i)=>(i=l!=null?at(dt(l)):{},el(t||!l||!l.__esModule?k(i,"default",{value:l,enumerable:!0}):i,l)),xt=l=>el(k({},"__esModule",{value:!0}),l);var cl={};u(cl,{Features_A:()=>sl,default:()=>sl});function sl({caption:l,title:t,description:i,features:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(R.Container,{maxWidth:1280,children:[(0,p.jsx)(R.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,p.jsx)(vt,{caption:l,title:t,description:i})}),(0,p.jsx)(wt,{features:n})]})})}function vt({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}):null,i?(0,p.jsx)(y.Text,{muted:!0,children:i}):null]})}function wt({features:l}){return l?(0,p.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 ml:grid-cols-4 gap-6",children:l==null?void 0:l.map(t=>(0,p.jsx)(bt,{feature:t},t._key))}):null}function bt({feature:l}){var t;return(0,p.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,p.jsx)(ht,{feature:l}):null,l!=null&&l.title?(0,p.jsx)(y.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"ml",children:l==null?void 0:l.title}):null,l!=null&&l.plainText?(0,p.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText}):null]})}function ht({feature:l}){var t,i,n,e;return(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}):null}var R,ol,rl,ml,al,y,p,dl=f(()=>{"use strict";R=require("@stackshift-ui/container"),ol=require("@stackshift-ui/flex"),rl=require("@stackshift-ui/heading"),ml=require("@stackshift-ui/image"),al=require("@stackshift-ui/section"),y=require("@stackshift-ui/text"),p=require("react/jsx-runtime")});var bl={};u(bl,{Features_B:()=>wl,default:()=>wl});function wl({caption:l,title:t,description:i,features:n,tags:e}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(O.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(O.Container,{maxWidth:448,children:[(0,p.jsx)(ut,{caption:l,title:t,description:i}),(0,p.jsx)(Nt,{tags:e})]})}),(0,p.jsx)(ft,{features:n})]})})})}function ut({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}),i&&(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Nt({tags:l}){return l?(0,p.jsx)("ol",{children:l&&l.map(t=>(0,p.jsxs)("li",{className:"flex mb-4",children:[(0,p.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)(y.Text,{muted:!0,weight:"bold",children:t})]},t))}):null}function ft({features:l}){return l?(0,p.jsx)(ol.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:l&&(l==null?void 0:l.map((t,i)=>{var n,e,c,v;return(0,p.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:p-12"}`,children:(0,p.jsxs)(gl.Card,{className:"py-6 rl-6 pr-4 mb-8 bg-white rounded-md",children:[((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(v=(c=t==null?void 0:t.mainImage)==null?void 0:c.alt)!=null?v:`features-image-${i}`})}),(0,p.jsx)(y.Text,{weight:"bold",className:"text-ml md:text-2xl mb-2 text-gray-500 break-all",children:t==null?void 0:t.title}),(0,p.jsx)(y.Text,{muted:!0,className:"leading-loose break-all",children:t==null?void 0:t.plainText})]})},i)}))}):null}var gl,O,ol,rl,ml,al,y,p,hl=f(()=>{"use strict";gl=require("@stackshift-ui/card"),O=require("@stackshift-ui/container")});var Cl={};u(Cl,{Features_C:()=>Fl,default:()=>Fl});function Fl({caption:l,title:t,description:i,features:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsxs)($.Container,{maxWidth:1800,children:[(0,p.jsx)($.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,p.jsx)(Tt,{caption:l,title:t,description:i})}),(0,p.jsx)(Ft,{features:n})]})})}function Tt({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}):null,i?(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Ft({features:l}){return l?(0,p.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(t=>(0,p.jsx)(Ct,{feature:t},t._key))}):null}function Ct({feature:l}){var t,i,n,e;return(0,p.jsx)("div",{className:"w-full p-3",children:(0,p.jsxs)(I.Card,{className:"flex flex-wrap h-full p-6 bg-white rounded-md",children:[(0,p.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:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?e:"features-main-image"})}),(0,p.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,p.jsx)(I.CardTitle,{className:"text-ml md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),(0,p.jsx)(y.Text,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}var I,$,ol,rl,ml,al,y,p,yl=f(()=>{"use strict";I=require("@stackshift-ui/card")});var Ll={};u(Ll,{Features_D:()=>Il,default:()=>Il});function Il({caption:l,title:t,description:i,features:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(O.Container,{maxWidth:1280,children:[(0,p.jsx)(O.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,p.jsx)(yt,{caption:l,title:t,description:i})}),(0,p.jsx)(kt,{features:n})]})})}function yt({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}):null,i?(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function kt({features:l}){return l?(0,p.jsx)(ol.Flex,{wrap:!0,justify:"center",align:"stretch",children:l.map(t=>(0,p.jsx)(At,{feature:t},t._key))}):null}function At({feature:l}){var t,i,n,e;return(0,p.jsx)("div",{className:"w-full px-4 p-8 lg:mb-0 lg:w-1/3",children:(0,p.jsxs)(P.Card,{className:"h-full px-6 py-12 text-center bg-white rounded-md",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}),(0,p.jsx)(P.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-ml",children:l==null?void 0:l.title}),(0,p.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText})]})})}var P,O,ol,rl,ml,al,y,p,Pl=f(()=>{"use strict";P=require("@stackshift-ui/card")});var $l={};u($l,{Features_E:()=>Ol,default:()=>Ol});function Ol({featuredItems:l}){let[t,i]=D.default.useState(0);return(0,p.jsx)(al.Section,{className:"py-20 overflow-p-auto bg-background",children:(0,p.jsx)(O.Container,{maxWidth:1280,children:(0,p.jsx)(ol.Flex,{className:"relative",children:(0,p.jsx)(Lt,{featuredItems:l,slider:e=>{l&&(e==="next"?t!==l.length-1?i(c=>c+1):i(0):t>=1?i(c=>c-1):i(l.length-1))},children:(0,p.jsxs)("div",{className:"order-1 w-full ml-auto ml:w-4/5",children:[(0,p.jsx)(St,{featuredItems:l,item:t}),(0,p.jsx)(It,{featuredItems:l,item:t})]})})})})})}function St({featuredItems:l,item:t}){var i,n,e,c,v,g,w;return(n=(i=l==null?void 0:l[t])==null?void 0:i.mainImage)!=null&&n.image?(0,p.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-ml ml:max-w-4xl",children:(0,p.jsx)(ml.Image,{className:"relative object-cover rounded-md",src:`${(c=(e=l==null?void 0:l[t])==null?void 0:e.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(w=(g=(v=l==null?void 0:l[t])==null?void 0:v.mainImage)==null?void 0:g.alt)!=null?w:`features-image-${t}`})}):null}function It({featuredItems:l,item:t}){var i,n,e,c,v,g;return l?(0,p.jsxs)(z.Card,{className:"top-0 left-0 max-w-ml p-6 mx-auto text-center bg-white md:p-12 md:p-10 lg:p-12 lg:p-10 ml:absolute ml:mx-0 ml:p-20 ml:py-24 rounded-md",children:[(0,p.jsx)(y.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm ml:text-lg text-secondary",children:((i=l==null?void 0:l[t])==null?void 0:i.subtitle)&&((n=l==null?void 0:l[t])==null?void 0:n.subtitle)}),(0,p.jsx)(z.CardTitle,{children:(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:((e=l==null?void 0:l[t])==null?void 0:e.title)&&((c=l==null?void 0:l[t])==null?void 0:c.title)})}),(0,p.jsx)(y.Text,{muted:!0,className:"text-xs leading-loose text-center md:p-5 md:text-sm lg:p-5 lg:text-sm",children:((v=l==null?void 0:l[t])==null?void 0:v.description)&&((g=l==null?void 0:l[t])==null?void 0:g.description)})]}):null}function Lt({featuredItems:l,children:t,slider:i}){return l?(0,p.jsxs)(D.default.Fragment,{children:[(0,p.jsx)("div",{className:"absolute left-0 z-40 items-center p-20 -mx-3 order-0 md:p-40 lg:p-60 ml:-mx-6 ml:flex",children:(l==null?void 0:l.length)>=2&&(0,p.jsx)(M.Button,{"aria-label":"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,p.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),t,(0,p.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 p-20 -mx-3 md:p-40 lg:p-60 ml:-mx-6 ml:flex",children:(l==null?void 0:l.length)>=2&&(0,p.jsx)(M.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,p.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var M,z,O,ol,rl,ml,al,y,D,p,Vl=f(()=>{"use strict";M=require("@stackshift-ui/button"),z=require("@stackshift-ui/card"),D=pt(require("react"))});var Kl={};u(Kl,{Features_F:()=>Jl,default:()=>Jl});function Jl({caption:l,title:t,description:i,images:n,primaryButton:e}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(O.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsxs)(ol.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,p.jsx)(Pt,{caption:l,title:t,description:i}),(0,p.jsx)(zt,{primaryButton:e})]}),(0,p.jsx)(_t,{images:n})]})})})}function Pt({caption:l,title:t,description:i}){return(0,p.jsxs)(O.Container,{maxWidth:448,className:"ml-0",children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"font-bold text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",className:"mb-6",children:t}),i&&(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function zt({primaryButton:l}){var i,n,e;if(!(l!=null&&l.label))return null;let t=(0,ql.buildSanityLink)({type:(i=l==null?void 0:l.type)!=null?i:"",internalLink:(n=l==null?void 0:l.internalLink)!=null?n:"",externalLink:(e=l==null?void 0:l.externalLink)!=null?e:""});return(0,p.jsx)(O.Container,{maxWidth:448,className:"ml-0",children:(0,p.jsx)(jl.Button,{"aria-label":l==null?void 0:l.label,asChild:!0,children:(0,p.jsx)(Dl.Link,{href:t.href,target:t.target,rel:t.rel,children:l==null?void 0:l.label})})})}function _t({images:l}){var i,n,e,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,g,w,b,h){return(0,p.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,p.jsx)(ml.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=l[1])==null?void 0:n.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=l[2])==null?void 0:e.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var jl,O,ol,rl,ml,Dl,al,ql,y,p,Ql=f(()=>{"use strict";jl=require("@stackshift-ui/button"),Dl=require("@stackshift-ui/link"),ql=require("@stackshift-ui/system")});var Bl={};u(Bl,{Features_G:()=>Zl,default:()=>Zl});function Zl({caption:l,title:t,description:i,images:n,tags:e}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(J.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(J.Container,{maxWidth:448,children:[(0,p.jsx)(Wt,{caption:l,title:t,description:i}),(0,p.jsx)(Ht,{tags:e})]})}),(0,p.jsx)(Ot,{images:n})]})})})}function Wt({caption:l,title:t,description:i}){return(0,p.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",className:"mb-3",children:t}),i&&(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Ht({tags:l}){return l?(0,p.jsx)("ol",{className:"font-bold text-gray-500",children:l.map(t=>(0,p.jsx)(Rt,{item:t}))}):null}function Rt({item:l}){return l?(0,p.jsxs)(ol.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,p.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,p.jsx)("path",{fillRule:"evenodd",p:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,p.jsx)("span",{children:l})]}):null}function Ot({images:l}){var i,n,e,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,g,w,b,h){return(0,p.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,p.jsx)(ml.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=l[1])==null?void 0:n.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=l[2])==null?void 0:e.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var J,ol,rl,ml,al,y,p,lt=f(()=>{"use strict";J=require("@stackshift-ui/container")});var et={};u(et,{Features_H:()=>nt,default:()=>nt});function nt({caption:l,title:t,features:i,images:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(U.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(U.Container,{maxWidth:448,children:[(0,p.jsx)($t,{caption:l,title:t}),(0,p.jsx)(Vt,{features:i})]})}),(0,p.jsx)(Gt,{images:n})]})})})}function $t({caption:l,title:t}){return(0,p.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",className:"mb-6",children:t})]})}function Vt({features:l}){return!l||(l==null?void 0:l.length)<=0?null:(0,p.jsx)("ol",{children:l.map(t=>(0,p.jsx)(jt,{feature:t},t._key))})}function jt({feature:l}){return l?(0,p.jsxs)(ol.Flex,{as:"li",className:"mb-5",children:[(0,p.jsx)(Mt,{}),(0,p.jsxs)("div",{className:"max-w-xs",children:[(0,p.jsx)(y.Text,{weight:"bold",className:"text-gray-500",children:l==null?void 0:l.title}),(0,p.jsx)(y.Text,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})]}):null}function Mt(){return(0,p.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,p:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function Gt({images:l}){var t,i,n,e,c,v,g,w,b,h,F,C;return!l||(l==null?void 0:l.length)===0?null:(0,p.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,p.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((t=l==null?void 0:l[0])==null?void 0:t.image)&&(0,p.jsx)(ml.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=l==null?void 0:l[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(n=l==null?void 0:l[0])==null?void 0:n.alt)!=null?e:"features-image-1"}),((c=l==null?void 0:l[1])==null?void 0:c.image)&&(0,p.jsx)(ml.Image,{className:"object-cover p-6 overflow-hidden rounded-md",src:`${(v=l==null?void 0:l[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(g=l==null?void 0:l[1])==null?void 0:g.alt)!=null?w:"features-image-2"})]}),((b=l==null?void 0:l[2])==null?void 0:b.image)&&(0,p.jsx)(ml.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(h=l==null?void 0:l[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(F=l==null?void 0:l[2])==null?void 0:F.alt)!=null?C:"features-image-3"})]})}var U,ol,rl,ml,al,y,p,ot=f(()=>{"use strict";U=require("@stackshift-ui/container")});var qt={};u(qt,{Features:()=>rt});module.exports=xt(qt);var N=require("react"),Dt={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(dl(),cl))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(hl(),bl))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(yl(),Cl))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Pl(),Ll))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Vl(),$l))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ql(),Kl))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(lt(),Bl))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(ot(),et)))},Et="Features",rt=({data:l})=>{var e,c,v,g,w,b,h,F,C,Y,Z,B,ll,tl,il,nl;let t=l==null?void 0:l.variant,i=t&&Dt[t],n={caption:(c=(e=l==null?void 0:l.variants)==null?void 0:e.subtitle)!=null?c:void 0,title:(g=(v=l==null?void 0:l.variants)==null?void 0:v.title)!=null?g:void 0,description:(b=(w=l==null?void 0:l.variants)==null?void 0:w.description)!=null?b:void 0,features:(F=(h=l==null?void 0:l.variants)==null?void 0:h.arrayOfImageTitleAndText)!=null?F:void 0,tags:(Y=(C=l==null?void 0:l.variants)==null?void 0:C.tags)!=null?Y:void 0,featuredItems:(B=(Z=l==null?void 0:l.variants)==null?void 0:Z.featuredItems)!=null?B:void 0,images:(tl=(ll=l==null?void 0:l.variants)==null?void 0:ll.images)!=null?tl:void 0,primaryButton:(nl=(il=l==null?void 0:l.variants)==null?void 0:il.primaryButton)!=null?nl:void 0};return i?(0,p.jsx)(i,{...n}):null};rt.displayName=Et;0&&(module.exports={Features});
1
+ "use strict";var Bt=Object.create;var y=Object.defineProperty;var Dt=Object.getOwnPropertyDescriptor;var Et=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Kt=(t,l)=>{for(var i in l)y(t,i,{get:l[i],enumerable:!0})},ct=(t,l,i,n)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of Et(l))!Jt.call(t,e)&&e!==i&&y(t,e,{get:()=>l[e],enumerable:!(n=Dt(l,e))||n.enumerable});return t};var Qt=(t,l,i)=>(i=t!=null?Bt(qt(t)):{},ct(l||!t||!t.__esModule?y(i,"default",{value:t,enumerable:!0}):i,t)),Ut=t=>ct(y({},"__esModule",{value:!0}),t);var Al={};Kt(Al,{Features:()=>Gt});module.exports=Ut(Al);var W=require("@stackshift-ui/container"),dt=require("@stackshift-ui/flex"),pt=require("@stackshift-ui/heading"),gt=require("@stackshift-ui/image"),xt=require("@stackshift-ui/section"),F=require("@stackshift-ui/text"),g=require("react/jsx-runtime");function O({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(Xt,{caption:t,title:l,description:i})}),(0,g.jsx)(Yt,{features:n})]})})}function Xt({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,children:i}):null]})}function Yt({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)(Zt,{feature:l},l._key))}):null}function Zt({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)(tl,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(F.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)(F.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function tl({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)(gt.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 ut=require("@stackshift-ui/card");function $({caption:t,title:l,description:i,features:n,tags:e}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.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)(W.Container,{maxWidth:448,children:[(0,g.jsx)(ll,{caption:t,title:l,description:i}),(0,g.jsx)(il,{tags:e})]})}),(0,g.jsx)(nl,{features:n})]})})})}function ll({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function il({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(l=>(0,g.jsxs)(dt.Flex,{as:"li",className:"mb-4",children:[(0,g.jsx)("svg",{className:"w-6 F-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)(F.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function nl({features:t}){return t?(0,g.jsx)(dt.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,c,u;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)(ut.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-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)(gt.Image,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(u=(c=l==null?void 0:l.mainImage)==null?void 0:c.alt)!=null?u:`features-image-${i}`})}),(0,g.jsx)(F.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-normal",children:l==null?void 0:l.title}),(0,g.jsx)(F.Text,{muted:!0,className:"leading-loose break-normal",children:l==null?void 0:l.plainText})]})},i)}))}):null}function G({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1800,children:[(0,g.jsx)(W.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(el,{caption:t,title:l,description:i})}),(0,g.jsx)(rl,{features:n})]})})}function el({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function rl({features:t}){return t?(0,g.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:t.map(l=>(0,g.jsx)(ol,{feature:l},l._key))}):null}function ol({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(ut.Card,{className:"flex F-full p-6 bg-white rounded-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)(gt.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)(dt.Flex,{direction:"col",gap:2,className:"w-full",children:[(0,g.jsx)(ut.CardTitle,{className:"text-xl md:text-2xl break-normal font-bold",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,className:"break-all",children:t==null?void 0:t.plainText})]})]})})}function D({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,g.jsx)(ml,{caption:t,title:l,description:i})}),(0,g.jsx)(al,{features:n})]})})}function ml({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function al({features:t}){return t?(0,g.jsx)(dt.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(l=>(0,g.jsx)(sl,{feature:l},l._key))}):null}function sl({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)(ut.Card,{className:"F-full px-6 py-12 text-center bg-white rounded-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)(gt.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)(ut.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var E=require("@stackshift-ui/button"),J=Qt(require("react"));function K({featuredItems:t}){let[l,i]=J.default.useState(0);return(0,g.jsx)(xt.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsx)(dt.Flex,{className:"relative",children:(0,g.jsx)(pl,{featuredItems:t,slider:e=>{t&&(e==="next"?l!==t.length-1?i(c=>c+1):i(0):l>=1?i(c=>c-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)(cl,{featuredItems:t,item:l}),(0,g.jsx)(dl,{featuredItems:t,item:l})]})})})})})}function cl({featuredItems:t,item:l}){var i,n,e,c,u,p,v;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)(gt.Image,{className:"relative object-cover rounded-md",src:`${(c=(e=t==null?void 0:t[l])==null?void 0:e.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(u=t==null?void 0:t[l])==null?void 0:u.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${l}`})}):null}function dl({featuredItems:t,item:l}){var i,n,e,c,u,p;return t?(0,g.jsxs)(ut.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 rounded-md",children:[(0,g.jsx)(F.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)(ut.CardTitle,{children:(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[l])==null?void 0:e.title)&&((c=t==null?void 0:t[l])==null?void 0:c.title)})}),(0,g.jsx)(F.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((u=t==null?void 0:t[l])==null?void 0:u.description)&&((p=t==null?void 0:t[l])==null?void 0:p.description)})]}):null}function pl({featuredItems:t,children:l,slider:i}){return t?(0,g.jsxs)(J.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 dt-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)(E.Button,{"aria-label":"Show Previous Feature",className:"dt-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"w-4 F-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 dt-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)(E.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"w-4 F-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 _t=require("@stackshift-ui/link"),Wt=require("@stackshift-ui/system");function X({caption:t,title:l,description:i,images:n,primaryButton:e}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(dt.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(gl,{caption:t,title:l,description:i}),(0,g.jsx)(xl,{primaryButton:e})]}),(0,g.jsx)(ul,{images:n})]})})})}function gl({caption:t,title:l,description:i}){return(0,g.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-6",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function xl({primaryButton:t}){if(!(t!=null&&t.label))return null;let l=(0,Wt.buildSanityLink)(t);return(0,g.jsx)(W.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)(E.Button,{"aria-label":t==null?void 0:t.label,asChild:!0,children:(0,g.jsx)(_t.Link,{href:l.href,target:l.target,rel:l.rel,children:t==null?void 0:t.label})})})}function ul({images:t}){var i,n,e,c;if(!t||(t==null?void 0:t.length)===0)return null;function l(u,p,v,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(gt.Image,{className:"object-cover w-full F-full",src:u,sizes:"100vw",width:v,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:"F-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,"F-[269px]")}),(0,g.jsx)("div",{className:"F-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:"F-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,"F-[269px] lg:F-[126px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-2/3",children:((c=t[3])==null?void 0:c.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}function tt({caption:t,title:l,description:i,images:n,tags:e}){return(0,g.jsx)($t.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.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)(W.Container,{maxWidth:448,children:[(0,g.jsx)(vl,{caption:t,title:l,description:i}),(0,g.jsx)(wl,{tags:e})]})}),(0,g.jsx)(hl,{images:n})]})})})}function vl({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-3",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function wl({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(l=>(0,g.jsx)(bl,{item:l}))}):null}function bl({item:t}){return t?(0,g.jsxs)(dt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 F-5 mr-2 text-primary",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 hl({images:t}){var i,n,e,c;if(!t||(t==null?void 0:t.length)===0)return null;function l(u,p,v,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(gt.Image,{className:"object-cover w-full F-full",src:u,sizes:"100vw",width:v,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:"F-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,"F-[269px]")}),(0,g.jsx)("div",{className:"F-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:"F-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,"F-[269px] lg:F-[126px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-2/3",children:((c=t[3])==null?void 0:c.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}function it({caption:t,title:l,features:i,images:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.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)(W.Container,{maxWidth:448,children:[(0,g.jsx)(Nl,{caption:t,title:l}),(0,g.jsx)(fl,{features:i})]})}),(0,g.jsx)(yl,{images:n})]})})})}function Nl({caption:t,title:l}){return(0,g.jsxs)(dt.Flex,{gap:3,direction:"col",children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-6",children:l})]})}function fl({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(l=>(0,g.jsx)(Fl,{feature:l},l._key))})}function Fl({feature:t}){return t?(0,g.jsxs)(dt.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Tl,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(F.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Tl(){return(0,g.jsx)("svg",{className:"w-8 F-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 yl({images:t}){var l,i,n,e,c,u,p,v,w,b,N,f;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)(gt.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"}),((c=t==null?void 0:t[1])==null?void 0:c.image)&&(0,g.jsx)(gt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(u=t==null?void 0:t[1])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,g.jsx)(gt.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:(f=(N=t==null?void 0:t[2])==null?void 0:N.alt)!=null?f:"features-image-3"})]})}var Cl={variant_a:O,variant_b:$,variant_c:G,variant_d:D,variant_e:K,variant_f:X,variant_g:tt,variant_h:it},kl="Features",Gt=({data:t})=>{var e,c,u,p,v,w,b,N,f,nt,et,rt,ot,mt,at,st;let l=t==null?void 0:t.variant,i=l&&Cl[l],n={caption:(c=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?c:void 0,title:(p=(u=t==null?void 0:t.variants)==null?void 0:u.title)!=null?p:void 0,description:(w=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?w:void 0,features:(N=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?N:void 0,tags:(nt=(f=t==null?void 0:t.variants)==null?void 0:f.tags)!=null?nt:void 0,featuredItems:(rt=(et=t==null?void 0:t.variants)==null?void 0:et.featuredItems)!=null?rt:void 0,images:(mt=(ot=t==null?void 0:t.variants)==null?void 0:ot.images)!=null?mt:void 0,primaryButton:(st=(at=t==null?void 0:t.variants)==null?void 0:at.primaryButton)!=null?st:void 0};return i?(0,g.jsx)(i,{...n}):null};Gt.displayName=kl;0&&(module.exports={Features});
package/dist/features.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-NGEHDE36.mjs";export{a as Features};
1
+ import{a}from"./chunk-Z3NQ3WOW.mjs";import"./chunk-G6RGNQG4.mjs";import"./chunk-FTSR7WIU.mjs";import"./chunk-4EWXUBOB.mjs";import"./chunk-VAA2TWIH.mjs";import"./chunk-W24RHXVA.mjs";import"./chunk-URBAFHHX.mjs";import"./chunk-2ZMZT34T.mjs";import"./chunk-W2ZOZPQE.mjs";export{a as Features};
@@ -1 +1 @@
1
- "use strict";var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var v=(m,l)=>{for(var o in l)s(m,o,{get:l[o],enumerable:!0})},y=(m,l,o,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of N(l))!T.call(m,t)&&t!==o&&s(m,t,{get:()=>l[t],enumerable:!(a=h(l,t))||a.enumerable});return m};var F=m=>y(s({},"__esModule",{value:!0}),m);var u={};v(u,{Features_B:()=>w,default:()=>w});module.exports=F(u);var c=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),e=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:o,features:a,tags:t}){return(0,i.jsx)(b.Section,{className:"py-20 bg-background",children:(0,i.jsx)(r.Container,{maxWidth:1280,children:(0,i.jsxs)(e.Flex,{wrap:!0,align:"center",children:[(0,i.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(r.Container,{maxWidth:448,children:[(0,i.jsx)(I,{caption:m,title:l,description:o}),(0,i.jsx)(k,{tags:t})]})}),(0,i.jsx)(C,{features:a})]})})})}function I({caption:m,title:l,description:o}){return(0,i.jsxs)(e.Flex,{direction:"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}),o&&(0,i.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:o})]})}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)(e.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,o)=>{var a,t,g,d;return(0,i.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,i.jsxs)(c.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((a=l==null?void 0:l.mainImage)==null?void 0:a.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:`${(t=l==null?void 0:l.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(d=(g=l==null?void 0:l.mainImage)==null?void 0:g.alt)!=null?d:`features-image-${o}`})}),(0,i.jsx)(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})]})},o)}))}):null}0&&(module.exports={Features_B});
1
+ "use strict";var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var v=(i,l)=>{for(var o in l)s(i,o,{get:l[o],enumerable:!0})},y=(i,l,o,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of N(l))!T.call(i,t)&&t!==o&&s(i,t,{get:()=>l[t],enumerable:!(a=h(l,t))||a.enumerable});return i};var F=i=>y(s({},"__esModule",{value:!0}),i);var u={};v(u,{Features_B:()=>w,default:()=>w});module.exports=F(u);var c=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),e=require("@stackshift-ui/flex"),p=require("@stackshift-ui/heading"),x=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),n=require("@stackshift-ui/text"),m=require("react/jsx-runtime");function w({caption:i,title:l,description:o,features:a,tags:t}){return(0,m.jsx)(b.Section,{className:"py-20 bg-background",children:(0,m.jsx)(r.Container,{maxWidth:1280,children:(0,m.jsxs)(e.Flex,{wrap:!0,align:"center",children:[(0,m.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,m.jsxs)(r.Container,{maxWidth:448,children:[(0,m.jsx)(I,{caption:i,title:l,description:o}),(0,m.jsx)(k,{tags:t})]})}),(0,m.jsx)(C,{features:a})]})})})}function I({caption:i,title:l,description:o}){return(0,m.jsxs)(e.Flex,{direction:"col",gap:3,children:[i&&(0,m.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:i}),l&&(0,m.jsx)(p.Heading,{fontSize:"3xl",children:l}),o&&(0,m.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function k({tags:i}){return i?(0,m.jsx)("ul",{children:i&&i.map(l=>(0,m.jsxs)(e.Flex,{as:"li",className:"mb-4",children:[(0,m.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,m.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,m.jsx)(n.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function C({features:i}){return i?(0,m.jsx)(e.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:i&&(i==null?void 0:i.map((l,o)=>{var a,t,g,d;return(0,m.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,m.jsxs)(c.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((a=l==null?void 0:l.mainImage)==null?void 0:a.image)&&(0,m.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,m.jsx)(x.Image,{className:"object-scale-down",src:`${(t=l==null?void 0:l.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(d=(g=l==null?void 0:l.mainImage)==null?void 0:g.alt)!=null?d:`features-image-${o}`})}),(0,m.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-normal",children:l==null?void 0:l.title}),(0,m.jsx)(n.Text,{muted:!0,className:"leading-loose break-normal",children:l==null?void 0:l.plainText})]})},o)}))}):null}0&&(module.exports={Features_B});
@@ -1 +1 @@
1
- import{a}from"./chunk-WMAYXQDK.mjs";export{a as Features_B,a as default};
1
+ import{a}from"./chunk-VAA2TWIH.mjs";export{a as Features_B,a as default};
@@ -1 +1 @@
1
- "use strict";var r=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(l,i)=>{for(var e in i)r(l,e,{get:i[e],enumerable:!0})},I=(l,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let m of T(i))!N.call(l,m)&&m!==e&&r(l,m,{get:()=>i[m],enumerable:!(n=b(i,m))||n.enumerable});return l};var h=l=>I(r({},"__esModule",{value:!0}),l);var f={};C(f,{Features_C:()=>x,default:()=>x});module.exports=h(f);var o=require("@stackshift-ui/card"),s=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),t=require("react/jsx-runtime");function x({caption:l,title:i,description:e,features:n}){return(0,t.jsx)(p.Section,{className:"py-20 bg-background",children:(0,t.jsxs)(s.Container,{maxWidth:1800,children:[(0,t.jsx)(s.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,t.jsx)(v,{caption:l,title:i,description:e})}),(0,t.jsx)(w,{features:n})]})})}function v({caption:l,title:i,description:e}){return(0,t.jsxs)(d.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,t.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:l}):null,i?(0,t.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,e?(0,t.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function w({features:l}){return l?(0,t.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(i=>(0,t.jsx)(y,{feature:i},i._key))}):null}function y({feature:l}){var i,e,n,m;return(0,t.jsx)("div",{className:"w-full p-3",children:(0,t.jsxs)(o.Card,{className:"flex flex-wrap h-full p-6 bg-white rounded-md",children:[(0,t.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((i=l==null?void 0:l.mainImage)==null?void 0:i.image)&&(0,t.jsx)(g.Image,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(m=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?m:"features-main-image"})}),(0,t.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,t.jsx)(o.CardTitle,{className:"text-xl md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),(0,t.jsx)(a.Text,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}0&&(module.exports={Features_C});
1
+ "use strict";var r=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(i,l)=>{for(var n in l)r(i,n,{get:l[n],enumerable:!0})},I=(i,l,n,e)=>{if(l&&typeof l=="object"||typeof l=="function")for(let m of T(l))!N.call(i,m)&&m!==n&&r(i,m,{get:()=>l[m],enumerable:!(e=b(l,m))||e.enumerable});return i};var h=i=>I(r({},"__esModule",{value:!0}),i);var k={};C(k,{Features_C:()=>x,default:()=>x});module.exports=h(k);var o=require("@stackshift-ui/card"),s=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),t=require("react/jsx-runtime");function x({caption:i,title:l,description:n,features:e}){return(0,t.jsx)(p.Section,{className:"py-20 bg-background",children:(0,t.jsxs)(s.Container,{maxWidth:1800,children:[(0,t.jsx)(s.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,t.jsx)(y,{caption:i,title:l,description:n})}),(0,t.jsx)(F,{features:e})]})})}function y({caption:i,title:l,description:n}){return(0,t.jsxs)(d.Flex,{direction:"col",gap:3,align:"center",children:[i?(0,t.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:i}):null,l?(0,t.jsx)(c.Heading,{fontSize:"3xl",children:l}):null,n?(0,t.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function F({features:i}){return i?(0,t.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:i.map(l=>(0,t.jsx)(A,{feature:l},l._key))}):null}function A({feature:i}){var l,n,e,m;return(0,t.jsx)("div",{className:"w-full p-3",children:(0,t.jsxs)(o.Card,{className:"flex h-full p-6 bg-white rounded-md",children:[(0,t.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=i==null?void 0:i.mainImage)==null?void 0:l.image)&&(0,t.jsx)(g.Image,{className:"object-scale-down",src:`${(n=i==null?void 0:i.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(m=(e=i==null?void 0:i.mainImage)==null?void 0:e.alt)!=null?m:"features-main-image"})}),(0,t.jsxs)(d.Flex,{direction:"col",gap:2,className:"w-full",children:[(0,t.jsx)(o.CardTitle,{className:"text-xl md:text-2xl break-normal font-bold",children:i==null?void 0:i.title}),(0,t.jsx)(a.Text,{muted:!0,className:"break-all",children:i==null?void 0:i.plainText})]})]})})}0&&(module.exports={Features_C});
@@ -1 +1 @@
1
- import{a}from"./chunk-VEID3YEG.mjs";export{a as Features_C,a as default};
1
+ import{a}from"./chunk-W24RHXVA.mjs";export{a as Features_C,a as default};
@@ -1 +1 @@
1
- "use strict";var o=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var S=(e,i)=>{for(var n in i)o(e,n,{get:i[n],enumerable:!0})},T=(e,i,n,d)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of C(i))!I.call(e,a)&&a!==n&&o(e,a,{get:()=>i[a],enumerable:!(d=F(i,a))||d.enumerable});return e};var p=e=>T(o({},"__esModule",{value:!0}),e);var P={};S(P,{Features_F:()=>w,default:()=>w});module.exports=p(P);var m=require("@stackshift-ui/button"),s=require("@stackshift-ui/container"),t=require("@stackshift-ui/flex"),r=require("@stackshift-ui/heading"),x=require("@stackshift-ui/image"),b=require("@stackshift-ui/link"),h=require("@stackshift-ui/section"),v=require("@stackshift-ui/system"),c=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function w({caption:e,title:i,description:n,images:d,primaryButton:a}){return(0,l.jsx)(h.Section,{className:"py-20 bg-background",children:(0,l.jsx)(s.Container,{maxWidth:1280,children:(0,l.jsxs)(t.Flex,{wrap:!0,align:"center",children:[(0,l.jsxs)(t.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,l.jsx)(W,{caption:e,title:i,description:n}),(0,l.jsx)(z,{primaryButton:a})]}),(0,l.jsx)(H,{images:d})]})})})}function W({caption:e,title:i,description:n}){return(0,l.jsxs)(s.Container,{maxWidth:448,className:"ml-0",children:[e&&(0,l.jsx)(c.Text,{weight:"bold",className:"font-bold text-secondary",children:e}),i&&(0,l.jsx)(r.Heading,{fontSize:"3xl",className:"mb-6",children:i}),n&&(0,l.jsx)(c.Text,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function z({primaryButton:e}){var n,d,a;if(!(e!=null&&e.label))return null;let i=(0,v.buildSanityLink)({type:(n=e==null?void 0:e.type)!=null?n:"",internalLink:(d=e==null?void 0:e.internalLink)!=null?d:"",externalLink:(a=e==null?void 0:e.externalLink)!=null?a:""});return(0,l.jsx)(s.Container,{maxWidth:448,className:"ml-0",children:(0,l.jsx)(m.Button,{"aria-label":e==null?void 0:e.label,asChild:!0,children:(0,l.jsx)(b.Link,{href:i.href,target:i.target,rel:i.rel,children:e==null?void 0:e.label})})})}function H({images:e}){var n,d,a,g;if(!e||(e==null?void 0:e.length)===0)return null;function i(N,f,u,k,L){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${L}`,children:(0,l.jsx)(x.Image,{className:"object-cover w-full h-full",src:N,sizes:"100vw",width:u,height:k,alt:f!=null?f:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((n=e[0])==null?void 0:n.image)&&i(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((d=e[1])==null?void 0:d.image)&&i(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&i(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((g=e[3])==null?void 0:g.image)&&i(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_F});
1
+ "use strict";var d=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var L=Object.prototype.hasOwnProperty;var I=(e,t)=>{for(var i in t)d(e,i,{get:t[i],enumerable:!0})},S=(e,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of k(t))!L.call(e,a)&&a!==i&&d(e,a,{get:()=>t[a],enumerable:!(r=C(t,a))||r.enumerable});return e};var T=e=>S(d({},"__esModule",{value:!0}),e);var P={};I(P,{Features_F:()=>v,default:()=>v});module.exports=T(P);var c=require("@stackshift-ui/button"),n=require("@stackshift-ui/container"),m=require("@stackshift-ui/flex"),g=require("@stackshift-ui/heading"),u=require("@stackshift-ui/image"),b=require("@stackshift-ui/link"),x=require("@stackshift-ui/section"),h=require("@stackshift-ui/system"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function v({caption:e,title:t,description:i,images:r,primaryButton:a}){return(0,l.jsx)(x.Section,{className:"py-20 bg-background",children:(0,l.jsx)(n.Container,{maxWidth:1280,children:(0,l.jsxs)(m.Flex,{wrap:!0,align:"center",children:[(0,l.jsxs)(m.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,l.jsx)(W,{caption:e,title:t,description:i}),(0,l.jsx)(z,{primaryButton:a})]}),(0,l.jsx)(H,{images:r})]})})})}function W({caption:e,title:t,description:i}){return(0,l.jsxs)(n.Container,{maxWidth:448,className:"ml-0",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"font-bold text-secondary",children:e}),t&&(0,l.jsx)(g.Heading,{fontSize:"3xl",className:"mb-6",children:t}),i&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function z({primaryButton:e}){if(!(e!=null&&e.label))return null;let t=(0,h.buildSanityLink)(e);return(0,l.jsx)(n.Container,{maxWidth:448,className:"ml-0",children:(0,l.jsx)(c.Button,{"aria-label":e==null?void 0:e.label,asChild:!0,children:(0,l.jsx)(b.Link,{href:t.href,target:t.target,rel:t.rel,children:e==null?void 0:e.label})})})}function H({images:e}){var i,r,a,f;if(!e||(e==null?void 0:e.length)===0)return null;function t(w,o,N,p,F){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${F}`,children:(0,l.jsx)(u.Image,{className:"object-cover w-full h-full",src:w,sizes:"100vw",width:N,height:p,alt:o!=null?o:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=e[0])==null?void 0:i.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((r=e[1])==null?void 0:r.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((f=e[3])==null?void 0:f.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_F});
@@ -1 +1 @@
1
- import{a}from"./chunk-QAMGECN2.mjs";export{a as Features_F,a as default};
1
+ import{a}from"./chunk-W2ZOZPQE.mjs";export{a as Features_F,a as default};
@@ -1 +1 @@
1
- "use strict";var m=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var r in t)m(e,r,{get:t[r],enumerable:!0})},I=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N(t))!F.call(e,a)&&a!==r&&m(e,a,{get:()=>t[a],enumerable:!(i=b(t,a))||i.enumerable});return e};var z=e=>I(m({},"__esModule",{value:!0}),e);var G={};y(G,{Features_G:()=>p,default:()=>p});module.exports=z(G);var o=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),f=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),g=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function p({caption:e,title:t,description:r,images:i,tags:a}){return(0,l.jsx)(g.Section,{className:"py-20 bg-background",children:(0,l.jsx)(o.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(o.Container,{maxWidth:448,children:[(0,l.jsx)(C,{caption:e,title:t,description:r}),(0,l.jsx)(T,{tags:a})]})}),(0,l.jsx)(S,{images:i})]})})})}function C({caption:e,title:t,description:r}){return(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(f.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function T({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(R,{item:t}))}):null}function R({item:e}){return e?(0,l.jsxs)(d.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function S({images:e}){var r,i,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(v,n,x,w,h){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,l.jsx)(c.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:x,height:w,alt:n!=null?n:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
1
+ "use strict";var o=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})},I=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N(t))!F.call(e,a)&&a!==r&&o(e,a,{get:()=>t[a],enumerable:!(i=b(t,a))||i.enumerable});return e};var z=e=>I(o({},"__esModule",{value:!0}),e);var H={};y(H,{Features_G:()=>p,default:()=>p});module.exports=z(H);var s=require("@stackshift-ui/container"),n=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),f=require("@stackshift-ui/section"),d=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function p({caption:e,title:t,description:r,images:i,tags:a}){return(0,l.jsx)(f.Section,{className:"py-20 bg-background",children:(0,l.jsx)(s.Container,{maxWidth:1280,children:(0,l.jsxs)(n.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(s.Container,{maxWidth:448,children:[(0,l.jsx)(C,{caption:e,title:t,description:r}),(0,l.jsx)(T,{tags:a})]})}),(0,l.jsx)(G,{images:i})]})})})}function C({caption:e,title:t,description:r}){return(0,l.jsxs)(n.Flex,{direction:"col",gap:3,children:[e&&(0,l.jsx)(d.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(c.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(d.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function T({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(S,{item:t}))}):null}function S({item:e}){return e?(0,l.jsxs)(n.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function G({images:e}){var r,i,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(x,m,v,w,h){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,l.jsx)(g.Image,{className:"object-cover w-full h-full",src:x,sizes:"100vw",width:v,height:w,alt:m!=null?m:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
@@ -1 +1 @@
1
- import{a}from"./chunk-MJRSGLBB.mjs";export{a as Features_G,a as default};
1
+ import{a}from"./chunk-G6RGNQG4.mjs";export{a as Features_G,a as default};
@@ -1 +1 @@
1
- "use strict";var c=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var A=(t,n)=>{for(var o in n)c(t,o,{get:n[o],enumerable:!0})},I=(t,n,o,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of F(n))!k.call(t,l)&&l!==o&&c(t,l,{get:()=>n[l],enumerable:!(e=y(n,l))||e.enumerable});return t};var C=t=>I(c({},"__esModule",{value:!0}),t);var O={};A(O,{Features_H:()=>T,default:()=>T});module.exports=C(O);var m=require("@stackshift-ui/container"),a=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),i=require("@stackshift-ui/text"),r=require("react/jsx-runtime");function T({caption:t,title:n,features:o,images:e}){return(0,r.jsx)(b.Section,{className:"py-20 bg-background",children:(0,r.jsx)(m.Container,{maxWidth:1280,children:(0,r.jsxs)(a.Flex,{wrap:!0,align:"center",children:[(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(m.Container,{maxWidth:448,children:[(0,r.jsx)(z,{caption:t,title:n}),(0,r.jsx)(S,{features:o})]})}),(0,r.jsx)(L,{images:e})]})})})}function z({caption:t,title:n}){return(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,r.jsx)(i.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,r.jsx)(N.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function S({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,r.jsx)("ul",{children:t.map(n=>(0,r.jsx)(j,{feature:n},n._key))})}function j({feature:t}){return t?(0,r.jsxs)(a.Flex,{as:"li",className:"mb-5",children:[(0,r.jsx)(H,{}),(0,r.jsxs)("div",{className:"max-w-xs",children:[(0,r.jsx)(i.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,r.jsx)(i.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function H(){return(0,r.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function L({images:t}){var n,o,e,l,x,w,p,v,h,u,f,s;return!t||(t==null?void 0:t.length)===0?null:(0,r.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(o=t==null?void 0:t[0])==null?void 0:o.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((x=t==null?void 0:t[1])==null?void 0:x.image)&&(0,r.jsx)(d.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(w=t==null?void 0:t[1])==null?void 0:w.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((h=t==null?void 0:t[2])==null?void 0:h.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(u=t==null?void 0:t[2])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(s=(f=t==null?void 0:t[2])==null?void 0:f.alt)!=null?s:"features-image-3"})]})}0&&(module.exports={Features_H});
1
+ "use strict";var m=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var A=(t,n)=>{for(var o in n)m(t,o,{get:n[o],enumerable:!0})},I=(t,n,o,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of F(n))!k.call(t,l)&&l!==o&&m(t,l,{get:()=>n[l],enumerable:!(e=y(n,l))||e.enumerable});return t};var C=t=>I(m({},"__esModule",{value:!0}),t);var O={};A(O,{Features_H:()=>T,default:()=>T});module.exports=C(O);var x=require("@stackshift-ui/container"),c=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),i=require("@stackshift-ui/text"),r=require("react/jsx-runtime");function T({caption:t,title:n,features:o,images:e}){return(0,r.jsx)(b.Section,{className:"py-20 bg-background",children:(0,r.jsx)(x.Container,{maxWidth:1280,children:(0,r.jsxs)(c.Flex,{wrap:!0,align:"center",children:[(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(x.Container,{maxWidth:448,children:[(0,r.jsx)(z,{caption:t,title:n}),(0,r.jsx)(S,{features:o})]})}),(0,r.jsx)(L,{images:e})]})})})}function z({caption:t,title:n}){return(0,r.jsxs)(c.Flex,{gap:3,direction:"col",children:[t&&(0,r.jsx)(i.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,r.jsx)(N.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function S({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,r.jsx)("ul",{children:t.map(n=>(0,r.jsx)(j,{feature:n},n._key))})}function j({feature:t}){return t?(0,r.jsxs)(c.Flex,{as:"li",className:"mb-5",children:[(0,r.jsx)(H,{}),(0,r.jsxs)("div",{className:"max-w-xs",children:[(0,r.jsx)(i.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,r.jsx)(i.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function H(){return(0,r.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function L({images:t}){var n,o,e,l,a,w,p,h,u,v,f,s;return!t||(t==null?void 0:t.length)===0?null:(0,r.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(o=t==null?void 0:t[0])==null?void 0:o.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,r.jsx)(d.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(w=t==null?void 0:t[1])==null?void 0:w.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(h=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?h:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(v=t==null?void 0:t[2])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(s=(f=t==null?void 0:t[2])==null?void 0:f.alt)!=null?s:"features-image-3"})]})}0&&(module.exports={Features_H});
@@ -1 +1 @@
1
- import{a}from"./chunk-7ZZLNFYE.mjs";export{a as Features_H,a as default};
1
+ import{a}from"./chunk-FTSR7WIU.mjs";export{a as Features_H,a as default};
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";var at=Object.create;var k=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var ct=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,pt=Object.prototype.hasOwnProperty;var f=(l,t)=>()=>(l&&(t=l(l=0)),t);var u=(l,t)=>{for(var i in t)k(l,i,{get:t[i],enumerable:!0})},Nl=(l,t,i,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ct(t))!pt.call(l,n)&&n!==i&&k(l,n,{get:()=>t[n],enumerable:!(e=st(t,n))||e.enumerable});return l};var gt=(l,t,i)=>(i=l!=null?at(dt(l)):{},Nl(t||!l||!l.__esModule?k(i,"default",{value:l,enumerable:!0}):i,l)),xt=l=>Nl(k({},"__esModule",{value:!0}),l);var yl={};u(yl,{Features_A:()=>O,default:()=>O});function O({caption:l,title:t,description:i,features:e}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(R.Container,{maxWidth:1280,children:[(0,g.jsx)(R.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(vt,{caption:l,title:t,description:i})}),(0,g.jsx)(wt,{features:e})]})})}function vt({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}):null,i?(0,g.jsx)(y.Text,{muted:!0,children:i}):null]})}function wt({features:l}){return l?(0,g.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:l==null?void 0:l.map(t=>(0,g.jsx)(bt,{feature:t},t._key))}):null}function bt({feature:l}){var t;return(0,g.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,g.jsx)(ht,{feature:l}):null,l!=null&&l.title?(0,g.jsx)(y.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:l==null?void 0:l.title}):null,l!=null&&l.plainText?(0,g.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText}):null]})}function ht({feature:l}){var t,i,e,n;return(t=l==null?void 0:l.mainImage)!=null&&t.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)(Fl.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}):null}var R,fl,Tl,Fl,Cl,y,g,$=f(()=>{"use strict";R=require("@stackshift-ui/container"),fl=require("@stackshift-ui/flex"),Tl=require("@stackshift-ui/heading"),Fl=require("@stackshift-ui/image"),Cl=require("@stackshift-ui/section"),y=require("@stackshift-ui/text"),g=require("react/jsx-runtime")});var Ll={};u(Ll,{Features_B:()=>j,default:()=>j});function j({caption:l,title:t,description:i,features:e,tags:n}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(V.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.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)(V.Container,{maxWidth:448,children:[(0,g.jsx)(ut,{caption:l,title:t,description:i}),(0,g.jsx)(Nt,{tags:n})]})}),(0,g.jsx)(ft,{features:e})]})})})}function ut({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}),i&&(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Nt({tags:l}){return l?(0,g.jsx)("ul",{children:l&&l.map(t=>(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)(y.Text,{muted:!0,weight:"bold",children:t})]},t))}):null}function ft({features:l}){return l?(0,g.jsx)(fl.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:l&&(l==null?void 0:l.map((t,i)=>{var e,n,c,v;return(0,g.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:g-12"}`,children:(0,g.jsxs)(kl.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((e=t==null?void 0:t.mainImage)==null?void 0:e.image)&&(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(v=(c=t==null?void 0:t.mainImage)==null?void 0:c.alt)!=null?v:`features-image-${i}`})}),(0,g.jsx)(y.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:t==null?void 0:t.title}),(0,g.jsx)(y.Text,{muted:!0,className:"leading-loose break-all",children:t==null?void 0:t.plainText})]})},i)}))}):null}var kl,V,fl,Tl,Fl,Cl,y,g,M=f(()=>{"use strict";kl=require("@stackshift-ui/card"),V=require("@stackshift-ui/container")});var Hl={};u(Hl,{Features_C:()=>D,default:()=>D});function D({caption:l,title:t,description:i,features:e}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(V.Container,{maxWidth:1800,children:[(0,g.jsx)(V.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(Tt,{caption:l,title:t,description:i})}),(0,g.jsx)(Ft,{features:e})]})})}function Tt({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}):null,i?(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Ft({features:l}){return l?(0,g.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(t=>(0,g.jsx)(Ct,{feature:t},t._key))}):null}function Ct({feature:l}){var t,i,e,n;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(I.Card,{className:"flex flex-wrap h-full p-6 bg-white rounded-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:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?n:"features-main-image"})}),(0,g.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,g.jsx)(I.CardTitle,{className:"text-xl md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),(0,g.jsx)(y.Text,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}var I,V,fl,Tl,Fl,Cl,y,g,E=f(()=>{"use strict";I=require("@stackshift-ui/card")});var Vl={};u(Vl,{Features_D:()=>K,default:()=>K});function K({caption:l,title:t,description:i,features:e}){return(0,g.jsx)($l.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(V.Container,{maxWidth:1280,children:[(0,g.jsx)(V.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,g.jsx)(yt,{caption:l,title:t,description:i})}),(0,g.jsx)(kt,{features:e})]})})}function yt({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}):null,i?(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function kt({features:l}){return l?(0,g.jsx)(fl.Flex,{wrap:!0,justify:"center",align:"stretch",children:l.map(t=>(0,g.jsx)(At,{feature:t},t._key))}):null}function At({feature:l}){var t,i,e,n;return(0,g.jsx)("div",{className:"w-full px-4 g-8 lg:mb-0 lg:w-1/3",children:(0,g.jsxs)(P.Card,{className:"h-full px-6 py-12 text-center bg-white rounded-md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}),(0,g.jsx)(P.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:l==null?void 0:l.title}),(0,g.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText})]})})}var P,V,fl,Tl,Fl,$l,y,g,Q=f(()=>{"use strict";P=require("@stackshift-ui/card")});var ql={};u(ql,{Features_E:()=>Z,default:()=>Z});function Z({featuredItems:l}){let[t,i]=Y.default.useState(0);return(0,g.jsx)(Cl.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(V.Container,{maxWidth:1280,children:(0,g.jsx)(fl.Flex,{className:"relative",children:(0,g.jsx)(Lt,{featuredItems:l,slider:n=>{l&&(n==="next"?t!==l.length-1?i(c=>c+1):i(0):t>=1?i(c=>c-1):i(l.length-1))},children:(0,g.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,g.jsx)(St,{featuredItems:l,item:t}),(0,g.jsx)(It,{featuredItems:l,item:t})]})})})})})}function St({featuredItems:l,item:t}){var i,e,n,c,v,p,w;return(e=(i=l==null?void 0:l[t])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,g.jsx)(Fl.Image,{className:"relative object-cover rounded-md",src:`${(c=(n=l==null?void 0:l[t])==null?void 0:n.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(w=(p=(v=l==null?void 0:l[t])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?w:`features-image-${t}`})}):null}function It({featuredItems:l,item:t}){var i,e,n,c,v,p;return l?(0,g.jsxs)(z.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:g-12 md:p-10 lg:g-12 lg:p-10 xl:absolute xl:mx-0 xl:g-20 xl:py-24 rounded-md",children:[(0,g.jsx)(y.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=l==null?void 0:l[t])==null?void 0:i.subtitle)&&((e=l==null?void 0:l[t])==null?void 0:e.subtitle)}),(0,g.jsx)(z.CardTitle,{children:(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:((n=l==null?void 0:l[t])==null?void 0:n.title)&&((c=l==null?void 0:l[t])==null?void 0:c.title)})}),(0,g.jsx)(y.Text,{muted:!0,className:"text-xs leading-loose text-center md:g-5 md:text-sm lg:g-5 lg:text-sm",children:((v=l==null?void 0:l[t])==null?void 0:v.description)&&((p=l==null?void 0:l[t])==null?void 0:p.description)})]}):null}function Lt({featuredItems:l,children:t,slider:i}){return l?(0,g.jsxs)(Y.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 z-40 items-center g-20 -mx-3 order-0 md:g-40 lg:g-60 xl:-mx-6 xl:flex",children:(l==null?void 0:l.length)>=2&&(0,g.jsx)(U.Button,{"aria-label":"Show Previous Feature",className:"z-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"})})})}),t,(0,g.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 g-20 -mx-3 md:g-40 lg:g-60 xl:-mx-6 xl:flex",children:(l==null?void 0:l.length)>=2&&(0,g.jsx)(U.Button,{"aria-label":"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 U,z,V,fl,Tl,Fl,Cl,y,Y,g,B=f(()=>{"use strict";U=require("@stackshift-ui/button"),z=require("@stackshift-ui/card"),Y=gt(require("react"))});var Zl={};u(Zl,{Features_F:()=>il,default:()=>il});function il({caption:l,title:t,description:i,images:e,primaryButton:n}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(V.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(fl.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(Pt,{caption:l,title:t,description:i}),(0,g.jsx)(zt,{primaryButton:n})]}),(0,g.jsx)(_t,{images:e})]})})})}function Pt({caption:l,title:t,description:i}){return(0,g.jsxs)(V.Container,{maxWidth:448,className:"ml-0",children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"font-bold text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",className:"mb-6",children:t}),i&&(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function zt({primaryButton:l}){var i,e,n;if(!(l!=null&&l.label))return null;let t=(0,Yl.buildSanityLink)({type:(i=l==null?void 0:l.type)!=null?i:"",internalLink:(e=l==null?void 0:l.internalLink)!=null?e:"",externalLink:(n=l==null?void 0:l.externalLink)!=null?n:""});return(0,g.jsx)(V.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)(Jl.Button,{"aria-label":l==null?void 0:l.label,asChild:!0,children:(0,g.jsx)(Ul.Link,{href:t.href,target:t.target,rel:t.rel,children:l==null?void 0:l.label})})})}function _t({images:l}){var i,e,n,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,p,w,b,h){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,g.jsx)(Fl.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,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=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=l[1])==null?void 0:e.image)&&t(l[1].image,l[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:((n=l[2])==null?void 0:n.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var Jl,V,fl,Tl,Fl,Ul,Cl,Yl,y,g,el=f(()=>{"use strict";Jl=require("@stackshift-ui/button"),Ul=require("@stackshift-ui/link"),Yl=require("@stackshift-ui/system")});var it={};u(it,{Features_G:()=>ml,default:()=>ml});function ml({caption:l,title:t,description:i,images:e,tags:n}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(nl.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.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)(nl.Container,{maxWidth:448,children:[(0,g.jsx)(Wt,{caption:l,title:t,description:i}),(0,g.jsx)(Ht,{tags:n})]})}),(0,g.jsx)(Ot,{images:e})]})})})}function Wt({caption:l,title:t,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",className:"mb-3",children:t}),i&&(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Ht({tags:l}){return l?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:l.map(t=>(0,g.jsx)(Rt,{item:t}))}):null}function Rt({item:l}){return l?(0,g.jsxs)(fl.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary",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:l})]}):null}function Ot({images:l}){var i,e,n,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,p,w,b,h){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,g.jsx)(Fl.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,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=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=l[1])==null?void 0:e.image)&&t(l[1].image,l[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:((n=l[2])==null?void 0:n.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var nl,fl,Tl,Fl,Cl,y,g,al=f(()=>{"use strict";nl=require("@stackshift-ui/container")});var ot={};u(ot,{Features_H:()=>dl,default:()=>dl});function dl({caption:l,title:t,features:i,images:e}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(sl.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.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)(sl.Container,{maxWidth:448,children:[(0,g.jsx)($t,{caption:l,title:t}),(0,g.jsx)(Vt,{features:i})]})}),(0,g.jsx)(Gt,{images:e})]})})})}function $t({caption:l,title:t}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",className:"mb-6",children:t})]})}function Vt({features:l}){return!l||(l==null?void 0:l.length)<=0?null:(0,g.jsx)("ul",{children:l.map(t=>(0,g.jsx)(jt,{feature:t},t._key))})}function jt({feature:l}){return l?(0,g.jsxs)(fl.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Mt,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(y.Text,{weight:"bold",className:"text-gray-500",children:l==null?void 0:l.title}),(0,g.jsx)(y.Text,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})]}):null}function Mt(){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 Gt({images:l}){var t,i,e,n,c,v,p,w,b,h,F,C;return!l||(l==null?void 0:l.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:[((t=l==null?void 0:l[0])==null?void 0:t.image)&&(0,g.jsx)(Fl.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=l==null?void 0:l[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(n=(e=l==null?void 0:l[0])==null?void 0:e.alt)!=null?n:"features-image-1"}),((c=l==null?void 0:l[1])==null?void 0:c.image)&&(0,g.jsx)(Fl.Image,{className:"object-cover g-6 overflow-hidden rounded-md",src:`${(v=l==null?void 0:l[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(p=l==null?void 0:l[1])==null?void 0:p.alt)!=null?w:"features-image-2"})]}),((b=l==null?void 0:l[2])==null?void 0:b.image)&&(0,g.jsx)(Fl.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(h=l==null?void 0:l[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(F=l==null?void 0:l[2])==null?void 0:F.alt)!=null?C:"features-image-3"})]})}var sl,fl,Tl,Fl,Cl,y,g,pl=f(()=>{"use strict";sl=require("@stackshift-ui/container")});var qt={};u(qt,{Features:()=>rt,Features_A:()=>O,Features_B:()=>j,Features_C:()=>D,Features_D:()=>K,Features_E:()=>Z,Features_F:()=>il,Features_G:()=>ml,Features_H:()=>dl});module.exports=xt(qt);var N=require("react"),Dt={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>($(),yl))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(M(),Ll))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(E(),Hl))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Q(),Vl))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(B(),ql))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(el(),Zl))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(al(),it))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(pl(),ot)))},Et="Features",rt=({data:l})=>{var n,c,v,p,w,b,h,F,C,gl,xl,vl,wl,bl,hl,ul;let t=l==null?void 0:l.variant,i=t&&Dt[t],e={caption:(c=(n=l==null?void 0:l.variants)==null?void 0:n.subtitle)!=null?c:void 0,title:(p=(v=l==null?void 0:l.variants)==null?void 0:v.title)!=null?p:void 0,description:(b=(w=l==null?void 0:l.variants)==null?void 0:w.description)!=null?b:void 0,features:(F=(h=l==null?void 0:l.variants)==null?void 0:h.arrayOfImageTitleAndText)!=null?F:void 0,tags:(gl=(C=l==null?void 0:l.variants)==null?void 0:C.tags)!=null?gl:void 0,featuredItems:(vl=(xl=l==null?void 0:l.variants)==null?void 0:xl.featuredItems)!=null?vl:void 0,images:(bl=(wl=l==null?void 0:l.variants)==null?void 0:wl.images)!=null?bl:void 0,primaryButton:(ul=(hl=l==null?void 0:l.variants)==null?void 0:hl.primaryButton)!=null?ul:void 0};return i?(0,g.jsx)(i,{...e}):null};rt.displayName=Et;$();M();E();Q();B();el();al();pl();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
2
+ "use strict";var Bt=Object.create;var y=Object.defineProperty;var Dt=Object.getOwnPropertyDescriptor;var Et=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Kt=(t,l)=>{for(var i in l)y(t,i,{get:l[i],enumerable:!0})},ct=(t,l,i,n)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of Et(l))!Jt.call(t,e)&&e!==i&&y(t,e,{get:()=>l[e],enumerable:!(n=Dt(l,e))||n.enumerable});return t};var Qt=(t,l,i)=>(i=t!=null?Bt(qt(t)):{},ct(l||!t||!t.__esModule?y(i,"default",{value:t,enumerable:!0}):i,t)),Ut=t=>ct(y({},"__esModule",{value:!0}),t);var Al={};Kt(Al,{Features:()=>Gt,Features_A:()=>C,Features_B:()=>k,Features_C:()=>I,Features_D:()=>L,Features_E:()=>H,Features_F:()=>O,Features_G:()=>$,Features_H:()=>M});module.exports=Ut(Al);var B=require("@stackshift-ui/container"),dt=require("@stackshift-ui/flex"),pt=require("@stackshift-ui/heading"),gt=require("@stackshift-ui/image"),xt=require("@stackshift-ui/section"),F=require("@stackshift-ui/text"),g=require("react/jsx-runtime");function C({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(B.Container,{maxWidth:1280,children:[(0,g.jsx)(B.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(Xt,{caption:t,title:l,description:i})}),(0,g.jsx)(Yt,{features:n})]})})}function Xt({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,children:i}):null]})}function Yt({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)(Zt,{feature:l},l._key))}):null}function Zt({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)(tl,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(F.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)(F.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function tl({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)(gt.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 ut=require("@stackshift-ui/card");function k({caption:t,title:l,description:i,features:n,tags:e}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(B.Container,{maxWidth:448,children:[(0,g.jsx)(ll,{caption:t,title:l,description:i}),(0,g.jsx)(il,{tags:e})]})}),(0,g.jsx)(nl,{features:n})]})})})}function ll({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function il({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(l=>(0,g.jsxs)(dt.Flex,{as:"li",className:"mb-4",children:[(0,g.jsx)("svg",{className:"w-6 F-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)(F.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function nl({features:t}){return t?(0,g.jsx)(dt.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,c,u;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)(ut.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-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)(gt.Image,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(u=(c=l==null?void 0:l.mainImage)==null?void 0:c.alt)!=null?u:`features-image-${i}`})}),(0,g.jsx)(F.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-normal",children:l==null?void 0:l.title}),(0,g.jsx)(F.Text,{muted:!0,className:"leading-loose break-normal",children:l==null?void 0:l.plainText})]})},i)}))}):null}function I({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(B.Container,{maxWidth:1800,children:[(0,g.jsx)(B.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(el,{caption:t,title:l,description:i})}),(0,g.jsx)(rl,{features:n})]})})}function el({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function rl({features:t}){return t?(0,g.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:t.map(l=>(0,g.jsx)(ol,{feature:l},l._key))}):null}function ol({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(ut.Card,{className:"flex F-full p-6 bg-white rounded-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)(gt.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)(dt.Flex,{direction:"col",gap:2,className:"w-full",children:[(0,g.jsx)(ut.CardTitle,{className:"text-xl md:text-2xl break-normal font-bold",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,className:"break-all",children:t==null?void 0:t.plainText})]})]})})}function L({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(B.Container,{maxWidth:1280,children:[(0,g.jsx)(B.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,g.jsx)(ml,{caption:t,title:l,description:i})}),(0,g.jsx)(al,{features:n})]})})}function ml({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function al({features:t}){return t?(0,g.jsx)(dt.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(l=>(0,g.jsx)(sl,{feature:l},l._key))}):null}function sl({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)(ut.Card,{className:"F-full px-6 py-12 text-center bg-white rounded-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)(gt.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)(ut.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Q=require("@stackshift-ui/button"),X=Qt(require("react"));function H({featuredItems:t}){let[l,i]=X.default.useState(0);return(0,g.jsx)(xt.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsx)(dt.Flex,{className:"relative",children:(0,g.jsx)(pl,{featuredItems:t,slider:e=>{t&&(e==="next"?l!==t.length-1?i(c=>c+1):i(0):l>=1?i(c=>c-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)(cl,{featuredItems:t,item:l}),(0,g.jsx)(dl,{featuredItems:t,item:l})]})})})})})}function cl({featuredItems:t,item:l}){var i,n,e,c,u,p,v;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)(gt.Image,{className:"relative object-cover rounded-md",src:`${(c=(e=t==null?void 0:t[l])==null?void 0:e.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(u=t==null?void 0:t[l])==null?void 0:u.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${l}`})}):null}function dl({featuredItems:t,item:l}){var i,n,e,c,u,p;return t?(0,g.jsxs)(ut.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 rounded-md",children:[(0,g.jsx)(F.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)(ut.CardTitle,{children:(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[l])==null?void 0:e.title)&&((c=t==null?void 0:t[l])==null?void 0:c.title)})}),(0,g.jsx)(F.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((u=t==null?void 0:t[l])==null?void 0:u.description)&&((p=t==null?void 0:t[l])==null?void 0:p.description)})]}):null}function pl({featuredItems:t,children:l,slider:i}){return t?(0,g.jsxs)(X.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 ut-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)(Q.Button,{"aria-label":"Show Previous Feature",className:"ut-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"w-4 F-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 ut-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)(Q.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"w-4 F-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 _t=require("@stackshift-ui/link"),Wt=require("@stackshift-ui/system");function O({caption:t,title:l,description:i,images:n,primaryButton:e}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(dt.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(gl,{caption:t,title:l,description:i}),(0,g.jsx)(xl,{primaryButton:e})]}),(0,g.jsx)(ul,{images:n})]})})})}function gl({caption:t,title:l,description:i}){return(0,g.jsxs)(B.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-6",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function xl({primaryButton:t}){if(!(t!=null&&t.label))return null;let l=(0,Wt.buildSanityLink)(t);return(0,g.jsx)(B.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)(Q.Button,{"aria-label":t==null?void 0:t.label,asChild:!0,children:(0,g.jsx)(_t.Link,{href:l.href,target:l.target,rel:l.rel,children:t==null?void 0:t.label})})})}function ul({images:t}){var i,n,e,c;if(!t||(t==null?void 0:t.length)===0)return null;function l(u,p,v,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(gt.Image,{className:"object-cover w-full F-full",src:u,sizes:"100vw",width:v,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:"F-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,"F-[269px]")}),(0,g.jsx)("div",{className:"F-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:"F-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,"F-[269px] lg:F-[126px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-2/3",children:((c=t[3])==null?void 0:c.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}function $({caption:t,title:l,description:i,images:n,tags:e}){return(0,g.jsx)($t.Section,{className:"py-20 bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(B.Container,{maxWidth:448,children:[(0,g.jsx)(vl,{caption:t,title:l,description:i}),(0,g.jsx)(wl,{tags:e})]})}),(0,g.jsx)(hl,{images:n})]})})})}function vl({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-3",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function wl({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(l=>(0,g.jsx)(bl,{item:l}))}):null}function bl({item:t}){return t?(0,g.jsxs)(dt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 F-5 mr-2 text-primary",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 hl({images:t}){var i,n,e,c;if(!t||(t==null?void 0:t.length)===0)return null;function l(u,p,v,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(gt.Image,{className:"object-cover w-full F-full",src:u,sizes:"100vw",width:v,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:"F-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,"F-[269px]")}),(0,g.jsx)("div",{className:"F-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:"F-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,"F-[269px] lg:F-[126px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-2/3",children:((c=t[3])==null?void 0:c.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}function M({caption:t,title:l,features:i,images:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.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)(B.Container,{maxWidth:448,children:[(0,g.jsx)(Nl,{caption:t,title:l}),(0,g.jsx)(fl,{features:i})]})}),(0,g.jsx)(yl,{images:n})]})})})}function Nl({caption:t,title:l}){return(0,g.jsxs)(dt.Flex,{gap:3,direction:"col",children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-6",children:l})]})}function fl({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(l=>(0,g.jsx)(Fl,{feature:l},l._key))})}function Fl({feature:t}){return t?(0,g.jsxs)(dt.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Tl,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(F.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Tl(){return(0,g.jsx)("svg",{className:"w-8 F-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 yl({images:t}){var l,i,n,e,c,u,p,v,w,b,N,f;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)(gt.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"}),((c=t==null?void 0:t[1])==null?void 0:c.image)&&(0,g.jsx)(gt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(u=t==null?void 0:t[1])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,g.jsx)(gt.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:(f=(N=t==null?void 0:t[2])==null?void 0:N.alt)!=null?f:"features-image-3"})]})}var Cl={variant_a:C,variant_b:k,variant_c:I,variant_d:L,variant_e:H,variant_f:O,variant_g:$,variant_h:M},kl="Features",Gt=({data:t})=>{var e,c,u,p,v,w,b,N,f,nt,et,rt,ot,mt,at,st;let l=t==null?void 0:t.variant,i=l&&Cl[l],n={caption:(c=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?c:void 0,title:(p=(u=t==null?void 0:t.variants)==null?void 0:u.title)!=null?p:void 0,description:(w=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?w:void 0,features:(N=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?N:void 0,tags:(nt=(f=t==null?void 0:t.variants)==null?void 0:f.tags)!=null?nt:void 0,featuredItems:(rt=(et=t==null?void 0:t.variants)==null?void 0:et.featuredItems)!=null?rt:void 0,images:(mt=(ot=t==null?void 0:t.variants)==null?void 0:ot.images)!=null?mt:void 0,primaryButton:(st=(at=t==null?void 0:t.variants)==null?void 0:at.primaryButton)!=null?st:void 0};return i?(0,g.jsx)(i,{...n}):null};Gt.displayName=kl;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-MJRSGLBB.mjs";import{a as x}from"./chunk-7ZZLNFYE.mjs";import{a as c}from"./chunk-NGEHDE36.mjs";import{a as o}from"./chunk-4EWXUBOB.mjs";import{a as r}from"./chunk-WMAYXQDK.mjs";import{a as e}from"./chunk-VEID3YEG.mjs";import{a as t}from"./chunk-URBAFHHX.mjs";import{a as f}from"./chunk-2ZMZT34T.mjs";import{a as m}from"./chunk-QAMGECN2.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 c}from"./chunk-Z3NQ3WOW.mjs";import{a as p}from"./chunk-G6RGNQG4.mjs";import{a as x}from"./chunk-FTSR7WIU.mjs";import{a as o}from"./chunk-4EWXUBOB.mjs";import{a as r}from"./chunk-VAA2TWIH.mjs";import{a as e}from"./chunk-W24RHXVA.mjs";import{a as t}from"./chunk-URBAFHHX.mjs";import{a as f}from"./chunk-2ZMZT34T.mjs";import{a as m}from"./chunk-W2ZOZPQE.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": "7.0.0-beta.4",
4
+ "version": "7.0.0-beta.6",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -34,24 +34,24 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "classnames": "^2.5.1",
37
- "@stackshift-ui/scripts": "6.1.0-beta.0",
38
- "@stackshift-ui/heading": "7.0.0-beta.1",
39
- "@stackshift-ui/system": "6.1.0-beta.1",
40
- "@stackshift-ui/text": "7.0.0-beta.1",
41
- "@stackshift-ui/image": "6.1.0-beta.1",
42
- "@stackshift-ui/button": "6.1.0-beta.3",
43
- "@stackshift-ui/card": "7.0.0-beta.1",
44
- "@stackshift-ui/section": "7.0.0-beta.1",
45
- "@stackshift-ui/container": "7.0.0-beta.1",
46
- "@stackshift-ui/flex": "7.0.0-beta.1",
47
- "@stackshift-ui/link": "6.0.12-beta.1"
37
+ "@stackshift-ui/scripts": "6.1.0-beta.2",
38
+ "@stackshift-ui/heading": "7.0.0-beta.3",
39
+ "@stackshift-ui/text": "7.0.0-beta.3",
40
+ "@stackshift-ui/system": "6.1.0-beta.3",
41
+ "@stackshift-ui/button": "6.1.0-beta.5",
42
+ "@stackshift-ui/image": "6.1.0-beta.3",
43
+ "@stackshift-ui/card": "7.0.0-beta.3",
44
+ "@stackshift-ui/link": "6.1.0-beta.3",
45
+ "@stackshift-ui/flex": "7.0.0-beta.3",
46
+ "@stackshift-ui/section": "7.0.0-beta.3",
47
+ "@stackshift-ui/container": "7.0.0-beta.3"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@types/react": "16.8 - 19",
51
51
  "next": "10 - 14",
52
52
  "react": "16.8 - 19",
53
53
  "react-dom": "16.8 - 19",
54
- "@stackshift-ui/system": ">=6.1.0-beta.1"
54
+ "@stackshift-ui/system": ">=6.1.0-beta.3"
55
55
  },
56
56
  "peerDependenciesMeta": {
57
57
  "next": {
package/src/features.tsx CHANGED
@@ -1,22 +1,29 @@
1
- import React, { lazy } from "react";
2
-
1
+ import React from "react";
2
+ import FeaturesA from "./features_a";
3
+ import FeaturesB from "./features_b";
4
+ import FeaturesC from "./features_c";
5
+ import FeaturesD from "./features_d";
6
+ import FeaturesE from "./features_e";
7
+ import FeaturesF from "./features_f";
8
+ import FeaturesG from "./features_g";
9
+ import FeaturesH from "./features_h";
3
10
  import {
4
- ArrayOfImageTitleAndText,
5
- FeaturedItem,
6
- Images,
7
- LabeledRoute,
8
- SectionsProps,
11
+ ArrayOfImageTitleAndText,
12
+ FeaturedItem,
13
+ Images,
14
+ LabeledRoute,
15
+ SectionsProps,
9
16
  } from "./types";
10
17
 
11
18
  const Variants = {
12
- variant_a: lazy(() => import("./features_a")),
13
- variant_b: lazy(() => import("./features_b")),
14
- variant_c: lazy(() => import("./features_c")),
15
- variant_d: lazy(() => import("./features_d")),
16
- variant_e: lazy(() => import("./features_e")),
17
- variant_f: lazy(() => import("./features_f")),
18
- variant_g: lazy(() => import("./features_g")),
19
- variant_h: lazy(() => import("./features_h")),
19
+ variant_a: FeaturesA,
20
+ variant_b: FeaturesB,
21
+ variant_c: FeaturesC,
22
+ variant_d: FeaturesD,
23
+ variant_e: FeaturesE,
24
+ variant_f: FeaturesF,
25
+ variant_g: FeaturesG,
26
+ variant_h: FeaturesH,
20
27
  };
21
28
 
22
29
  export interface FeaturesProps {
@@ -60,7 +60,7 @@ function TagList({ tags }: { tags?: string[] }) {
60
60
  <ul>
61
61
  {tags &&
62
62
  tags.map(item => (
63
- <li className="flex mb-4" key={item}>
63
+ <Flex as="li" className="mb-4" key={item}>
64
64
  <svg
65
65
  className="w-6 h-6 mr-2 text-secondary"
66
66
  xmlns="http://www.w3.org/2000/svg"
@@ -75,7 +75,7 @@ function TagList({ tags }: { tags?: string[] }) {
75
75
  <Text muted weight="bold">
76
76
  {item}
77
77
  </Text>
78
- </li>
78
+ </Flex>
79
79
  ))}
80
80
  </ul>
81
81
  );
@@ -103,10 +103,10 @@ function FeaturesLists({ features }: { features?: ArrayOfImageTitleAndText[] })
103
103
  />
104
104
  </span>
105
105
  )}
106
- <Text weight="bold" className="text-xl md:text-2xl mb-2 text-gray-500 break-all">
106
+ <Text weight="bold" className="text-xl md:text-2xl mb-2 text-gray-500 break-normal">
107
107
  {feature?.title}
108
108
  </Text>
109
- <Text muted className="leading-loose break-all">
109
+ <Text muted className="leading-loose break-normal">
110
110
  {feature?.plainText}
111
111
  </Text>
112
112
  </Card>
@@ -62,7 +62,7 @@ function FeatureItems({ features }: { features?: ArrayOfImageTitleAndText[] }) {
62
62
  function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
63
63
  return (
64
64
  <div className="w-full p-3">
65
- <Card className="flex flex-wrap h-full p-6 bg-white rounded-md">
65
+ <Card className="flex h-full p-6 bg-white rounded-md">
66
66
  <div className="self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0">
67
67
  {feature?.mainImage?.image && (
68
68
  <Image
@@ -74,14 +74,14 @@ function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
74
74
  />
75
75
  )}
76
76
  </div>
77
- <div className="w-full lg:w-2/3 flex flex-col gap-2">
78
- <CardTitle className="text-xl md:text-2xl break-all font-bold">
77
+ <Flex direction="col" gap={2} className="w-full">
78
+ <CardTitle className="text-xl md:text-2xl break-normal font-bold">
79
79
  {feature?.title}
80
80
  </CardTitle>
81
81
  <Text muted className="break-all">
82
82
  {feature?.plainText}
83
83
  </Text>
84
- </div>
84
+ </Flex>
85
85
  </Card>
86
86
  </div>
87
87
  );
@@ -65,11 +65,7 @@ function FeaturesInfo({
65
65
  function CTAButton({ primaryButton }: { primaryButton?: LabeledRoute }) {
66
66
  if (!primaryButton?.label) return null;
67
67
 
68
- const link = buildSanityLink({
69
- type: primaryButton?.type ?? "",
70
- internalLink: primaryButton?.internalLink ?? "",
71
- externalLink: primaryButton?.externalLink ?? "",
72
- });
68
+ const link = buildSanityLink(primaryButton);
73
69
 
74
70
  return (
75
71
  <Container maxWidth={448} className="ml-0">
@@ -4,7 +4,6 @@ import { Heading } from "@stackshift-ui/heading";
4
4
  import { Image } from "@stackshift-ui/image";
5
5
  import { Section } from "@stackshift-ui/section";
6
6
  import { Text } from "@stackshift-ui/text";
7
- import React from "react";
8
7
  import { FeaturesProps } from ".";
9
8
 
10
9
  export default function Features_G({ caption, title, description, images, tags }: FeaturesProps) {
@@ -35,7 +34,7 @@ function FeaturesInfo({
35
34
  description?: string;
36
35
  }) {
37
36
  return (
38
- <div className="flex flex-col gap-3">
37
+ <Flex direction="col" gap={3}>
39
38
  {caption && (
40
39
  <Text weight="bold" className="text-secondary">
41
40
  {caption}
@@ -51,7 +50,7 @@ function FeaturesInfo({
51
50
  {description}
52
51
  </Text>
53
52
  )}
54
- </div>
53
+ </Flex>
55
54
  );
56
55
  }
57
56
 
@@ -28,7 +28,7 @@ export default function Features_H({ caption, title, features, images }: Feature
28
28
 
29
29
  function CaptionAndTitleSection({ caption, title }: { caption?: string; title?: string }) {
30
30
  return (
31
- <div className="flex flex-col gap-3">
31
+ <Flex gap={3} direction="col">
32
32
  {caption && (
33
33
  <Text weight="bold" className="text-secondary">
34
34
  {caption}
@@ -39,7 +39,7 @@ function CaptionAndTitleSection({ caption, title }: { caption?: string; title?:
39
39
  {title}
40
40
  </Heading>
41
41
  )}
42
- </div>
42
+ </Flex>
43
43
  );
44
44
  }
45
45
 
@@ -1 +0,0 @@
1
- import{Container as f}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as N}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as b}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import{jsx as r,jsxs as o}from"react/jsx-runtime";function T({caption:t,title:n,features:l,images:e}){return r(b,{className:"py-20 bg-background",children:r(f,{maxWidth:1280,children:o(s,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(f,{maxWidth:448,children:[r(y,{caption:t,title:n}),r(F,{features:l})]})}),r(I,{images:e})]})})})}function y({caption:t,title:n}){return o("div",{className:"flex flex-col gap-3",children:[t&&r(i,{weight:"bold",className:"text-secondary",children:t}),n&&r(N,{fontSize:"3xl",className:"mb-6",children:n})]})}function F({features:t}){return!t||(t==null?void 0:t.length)<=0?null:r("ul",{children:t.map(n=>r(k,{feature:n},n._key))})}function k({feature:t}){return t?o(s,{as:"li",className:"mb-5",children:[r(A,{}),o("div",{className:"max-w-xs",children:[r(i,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),r(i,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function A(){return r("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function I({images:t}){var n,l,e,c,m,a,x,w,p,v,h,u;return!t||(t==null?void 0:t.length)===0?null:o("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[o("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&r(d,{className:"object-cover overflow-hidden rounded-md",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(c=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?c:"features-image-1"}),((m=t==null?void 0:t[1])==null?void 0:m.image)&&r(d,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(a=t==null?void 0:t[1])==null?void 0:a.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(x=t==null?void 0:t[1])==null?void 0:x.alt)!=null?w:"features-image-2"})]}),((p=t==null?void 0:t[2])==null?void 0:p.image)&&r(d,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(v=t==null?void 0:t[2])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(h=t==null?void 0:t[2])==null?void 0:h.alt)!=null?u:"features-image-3"})]})}export{T as a};
@@ -1 +0,0 @@
1
- import{Container as s}from"@stackshift-ui/container";import{Flex as u}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as d}from"@stackshift-ui/text";import{jsx as l,jsxs as a}from"react/jsx-runtime";function h({caption:e,title:t,description:r,images:i,tags:n}){return l(w,{className:"py-20 bg-background",children:l(s,{maxWidth:1280,children:a(u,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(s,{maxWidth:448,children:[l(b,{caption:e,title:t,description:r}),l(N,{tags:n})]})}),l(y,{images:i})]})})})}function b({caption:e,title:t,description:r}){return a("div",{className:"flex flex-col gap-3",children:[e&&l(d,{weight:"bold",className:"text-secondary",children:e}),t&&l(v,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(d,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function N({tags:e}){return e?l("ul",{className:"font-bold text-gray-500",children:e.map(t=>l(F,{item:t}))}):null}function F({item:e}){return e?a(u,{as:"li",align:"center",className:"mb-2 ",children:[l("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:l("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),l("span",{children:e})]}):null}function y({images:e}){var r,i,n,o;if(!e||(e==null?void 0:e.length)===0)return null;function t(f,m,c,g,p){return l("div",{className:`overflow-hidden rounded-md ${p}`,children:l(x,{className:"object-cover w-full h-full",src:f,sizes:"100vw",width:c,height:g,alt:m!=null?m:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=e[2])==null?void 0:n.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((o=e[3])==null?void 0:o.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{h as a};
@@ -1 +0,0 @@
1
- import{lazy as r}from"react";import{jsx as R}from"react/jsx-runtime";var A={variant_a:r(()=>import("./features_a.mjs")),variant_b:r(()=>import("./features_b.mjs")),variant_c:r(()=>import("./features_c.mjs")),variant_d:r(()=>import("./features_d.mjs")),variant_e:r(()=>import("./features_e.mjs")),variant_f:r(()=>import("./features_f.mjs")),variant_g:r(()=>import("./features_g.mjs")),variant_h:r(()=>import("./features_h.mjs"))},x="Features",b=({data:e})=>{var t,s,o,m,p,u,f,g,c,v,l,I,y,a,F,T;let i=e==null?void 0:e.variant,n=i&&A[i],_={caption:(s=(t=e==null?void 0:e.variants)==null?void 0:t.subtitle)!=null?s:void 0,title:(m=(o=e==null?void 0:e.variants)==null?void 0:o.title)!=null?m:void 0,description:(u=(p=e==null?void 0:e.variants)==null?void 0:p.description)!=null?u:void 0,features:(g=(f=e==null?void 0:e.variants)==null?void 0:f.arrayOfImageTitleAndText)!=null?g:void 0,tags:(v=(c=e==null?void 0:e.variants)==null?void 0:c.tags)!=null?v:void 0,featuredItems:(I=(l=e==null?void 0:e.variants)==null?void 0:l.featuredItems)!=null?I:void 0,images:(a=(y=e==null?void 0:e.variants)==null?void 0:y.images)!=null?a:void 0,primaryButton:(T=(F=e==null?void 0:e.variants)==null?void 0:F.primaryButton)!=null?T:void 0};return n?R(n,{..._}):null};b.displayName=x;export{b as a};
@@ -1 +0,0 @@
1
- import{Button as h}from"@stackshift-ui/button";import{Container as o}from"@stackshift-ui/container";import{Flex as c}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as w}from"@stackshift-ui/image";import{Link as N}from"@stackshift-ui/link";import{Section as u}from"@stackshift-ui/section";import{buildSanityLink as k}from"@stackshift-ui/system";import{Text as g}from"@stackshift-ui/text";import{jsx as l,jsxs as s}from"react/jsx-runtime";function L({caption:e,title:i,description:n,images:a,primaryButton:d}){return l(u,{className:"py-20 bg-background",children:l(o,{maxWidth:1280,children:s(c,{wrap:!0,align:"center",children:[s(c,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[l(F,{caption:e,title:i,description:n}),l(C,{primaryButton:d})]}),l(I,{images:a})]})})})}function F({caption:e,title:i,description:n}){return s(o,{maxWidth:448,className:"ml-0",children:[e&&l(g,{weight:"bold",className:"font-bold text-secondary",children:e}),i&&l(v,{fontSize:"3xl",className:"mb-6",children:i}),n&&l(g,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function C({primaryButton:e}){var n,a,d;if(!(e!=null&&e.label))return null;let i=k({type:(n=e==null?void 0:e.type)!=null?n:"",internalLink:(a=e==null?void 0:e.internalLink)!=null?a:"",externalLink:(d=e==null?void 0:e.externalLink)!=null?d:""});return l(o,{maxWidth:448,className:"ml-0",children:l(h,{"aria-label":e==null?void 0:e.label,asChild:!0,children:l(N,{href:i.href,target:i.target,rel:i.rel,children:e==null?void 0:e.label})})})}function I({images:e}){var n,a,d,t;if(!e||(e==null?void 0:e.length)===0)return null;function i(m,f,r,x,b){return l("div",{className:`overflow-hidden rounded-md ${b}`,children:l(w,{className:"object-cover w-full h-full",src:m,sizes:"100vw",width:r,height:x,alt:f!=null?f:"feature-image"})})}return s("div",{className:"w-full lg:w-1/2",children:[s("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((n=e[0])==null?void 0:n.image)&&i(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((a=e[1])==null?void 0:a.image)&&i(e[1].image,e[1].alt,166,128,"")})]}),s("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((d=e[2])==null?void 0:d.image)&&i(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((t=e[3])==null?void 0:t.image)&&i(e[3].image,e[3].alt,356,192,"")})]})]})}export{L as a};
@@ -1 +0,0 @@
1
- import{Card as s,CardTitle as d}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as c}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as p}from"@stackshift-ui/image";import{Section as x}from"@stackshift-ui/section";import{Text as a}from"@stackshift-ui/text";import{jsx as i,jsxs as n}from"react/jsx-runtime";function b({caption:l,title:t,description:e,features:m}){return i(x,{className:"py-20 bg-background",children:n(r,{maxWidth:1800,children:[i(r,{maxWidth:640,className:"mb-16 text-center",children:i(T,{caption:l,title:t,description:e})}),i(N,{features:m})]})})}function T({caption:l,title:t,description:e}){return n(c,{direction:"col",gap:3,align:"center",children:[l?i(a,{weight:"bold",className:"text-secondary",children:l}):null,t?i(g,{fontSize:"3xl",children:t}):null,e?i(a,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function N({features:l}){return l?i("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(t=>i(C,{feature:t},t._key))}):null}function C({feature:l}){var t,e,m,o;return i("div",{className:"w-full p-3",children:n(s,{className:"flex flex-wrap h-full p-6 bg-white rounded-md",children:[i("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&i(p,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(o=(m=l==null?void 0:l.mainImage)==null?void 0:m.alt)!=null?o:"features-main-image"})}),n("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[i(d,{className:"text-xl md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),i(a,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}export{b as a};
@@ -1 +0,0 @@
1
- import{Card as c}from"@stackshift-ui/card";import{Container as d}from"@stackshift-ui/container";import{Flex as s}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 t}from"@stackshift-ui/text";import{jsx as i,jsxs as a}from"react/jsx-runtime";function w({caption:m,title:l,description:o,features:n,tags:e}){return i(b,{className:"py-20 bg-background",children:i(d,{maxWidth:1280,children:a(s,{wrap:!0,align:"center",children:[i("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(d,{maxWidth:448,children:[i(h,{caption:m,title:l,description:o}),i(N,{tags:e})]})}),i(T,{features:n})]})})})}function h({caption:m,title:l,description:o}){return a(s,{direction:"col",gap:3,children:[m&&i(t,{weight:"bold",className:"text-secondary",children:m}),l&&i(p,{fontSize:"3xl",children:l}),o&&i(t,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function N({tags:m}){return m?i("ul",{children:m&&m.map(l=>a("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(t,{muted:!0,weight:"bold",children:l})]},l))}):null}function T({features:m}){return m?i(s,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,o)=>{var n,e,r,g;return i("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:a(c,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-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:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(g=(r=l==null?void 0:l.mainImage)==null?void 0:r.alt)!=null?g:`features-image-${o}`})}),i(t,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),i(t,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},o)}))}):null}export{w as a};