@hanzo/ui 5.3.6 → 5.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/blocks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkER3ALPBZ_js=require('../chunk-ER3ALPBZ.js');require('../chunk-63HNMH7C.js'),require('../chunk-LWQTRAJQ.js'),require('../chunk-BSO3JZ7S.js'),require('../chunk-LPZWN5DR.js'),require('../chunk-RIQZF4MD.js'),require('../chunk-CH2T5MI4.js'),require('../chunk-JPGIJFW5.js'),require('../chunk-G2LRED4X.js'),require('../chunk-4V3ZHFMN.js'),require('../chunk-OFSGDRF7.js'),require('../chunk-JB2D6UKV.js'),require('../chunk-4TW4U2UN.js'),require('../chunk-DNHCQ446.js'),require('../chunk-K7YTUP2D.js'),require('../chunk-HAYVC5RR.js'),require('../chunk-FLC52TR6.js'),require('../chunk-Y5IP4FKL.js'),require('../chunk-3LHI3PX3.js'),require('../chunk-UMYLUB72.js'),require('../chunk-KA5C2ZIG.js'),require('../chunk-XYYYZCEM.js'),require('../chunk-PO4JYM6P.js'),require('../chunk-3COMMLYS.js'),require('../chunk-TNP7EGQ2.js'),require('../chunk-L4IEIO4B.js'),require('../chunk-NCEQVAW6.js'),require('../chunk-NJF3RXSG.js'),require('../chunk-O6FV6MCF.js'),require('../chunk-Q2ITEICA.js');var chunkNCPDG735_js=require('../chunk-NCPDG735.js');require('../chunk-SVCCHDR3.js'),require('../chunk-6T7CYRG7.js');var chunkLFWWUVJX_js=require('../chunk-LFWWUVJX.js');require('../chunk-BTHDX6LM.js'),require('../chunk-KOAG4CSB.js');var chunkPCWXM2CW_js=require('../chunk-PCWXM2CW.js');require('../chunk-G62CSYX2.js'),require('../chunk-KX4C4YC2.js');var chunk3YL43AE4_js=require('../chunk-3YL43AE4.js');require('../chunk-E45AM32Q.js'),require('../chunk-FOTLPQNB.js'),require('../chunk-M3BGNQQL.js'),require('../chunk-AQYYHBXT.js');var chunkYZFRWYNS_js=require('../chunk-YZFRWYNS.js'),chunkXUSV3KOD_js=require('../chunk-XUSV3KOD.js'),Fe=require('react'),jsxRuntime=require('react/jsx-runtime'),lucideReact=require('lucide-react'),ke=require('next/image'),Vt=require('next/link'),Bo=require('next/dynamic');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var Fe__default=/*#__PURE__*/_interopDefault(Fe);var ke__default=/*#__PURE__*/_interopDefault(ke);var Vt__default=/*#__PURE__*/_interopDefault(Vt);var Bo__default=/*#__PURE__*/_interopDefault(Bo);var de={xs:2,sm:4,md:5,lg:6,xl:8};var ct=chunkXUSV3KOD_js.a(({children:e})=>{let[i,n]=Fe.useState(false),t=chunkXUSV3KOD_js.a(r=>{n(r);let l=document.getElementsByTagName("video");Array.from(l).forEach(m=>{r?m.pause():m.play();});},"onOpenChange"),o=Fe__default.default.Children.map(e,r=>Fe__default.default.cloneElement(r,{open:i,onOpenChange:t}));return jsxRuntime.jsx(jsxRuntime.Fragment,{children:o})},"DialogVideoController"),Le=ct;var ft=chunkXUSV3KOD_js.a(({def:e,className:i="",...n})=>{if(e.action.type==="modal"){let t=e.action.def,o=t.Comp;return jsxRuntime.jsx(Le,{children:jsxRuntime.jsx(o,{title:t.title,byline:t.byline,buttonText:e.text,buttonProps:{...e.props,...n,className:chunkYZFRWYNS_js.a(e.props?.className??"",i)},action:t.action,actionEnclosure:t.actionEnclosure,...t.props})})}return jsxRuntime.jsx(jsxRuntime.Fragment,{})},"ActionButton"),ge=ft;var v=chunkXUSV3KOD_js.a(({children:e,className:i="",asTag:n="div",size:t="responsive",...o})=>{let r="typography gap-3 xs:typography-sm sm:typography sm:gap-4 lg:typography-lg lg:gap-5 xl:typography-xl xl:gap-6 typography-headings:font-heading ";switch(t){case "sm":r="typography typography-sm gap-3 typography-headings:font-heading typography-p:text-sm ";break;case "base":r="typography gap-4 typography-headings:font-heading ";break;case "lg":r="typography typography-lg gap-5 typography-headings:font-heading typography-p:text-lg ";break;case "xl":r="typography typography-xl gap-6 typography-headings:font-heading typography-p:text-lg ";break}return jsxRuntime.jsx(n,{...o,className:chunkYZFRWYNS_js.a(r,i),children:e})},"ApplyTypography");var ht=Fe__default.default.forwardRef(({sources:e,...i},n)=>jsxRuntime.jsx("video",{ref:n,...i,children:e.map((t,o)=>jsxRuntime.jsx("source",{src:t},o))})),$=ht;var Z={};chunkXUSV3KOD_js.b(Z,{burger:()=>lucideReact.Menu,gitHub:()=>Ee,linkOut:()=>lucideReact.ArrowUpRight,moon:()=>lucideReact.Moon,sun:()=>lucideReact.SunMedium,youtube:()=>ze});var bt=chunkXUSV3KOD_js.a(e=>jsxRuntime.jsx("svg",{viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsxs("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"none",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:[jsxRuntime.jsx("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"red",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"}),jsxRuntime.jsx("polygon",{points:"36,58.5 59.38,45 36,31.5 ",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"white",fillRule:"nonzero",opacity:1},transform:"matrix(1 0 0 1 0 0)"})]})}),"YouTubeLogo"),ze=bt;var Ct=chunkXUSV3KOD_js.a(e=>jsxRuntime.jsx("svg",{viewBox:"0 0 438.549 438.549",...e,children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"})}),"GitHub"),Ee=Ct;var wt=chunkXUSV3KOD_js.a(({block:e,className:i=""})=>{if(e.blockType!=="accordian")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"accordian block required"});let n=e;return jsxRuntime.jsx(chunkPCWXM2CW_js.a,{type:"single",collapsible:true,className:chunkYZFRWYNS_js.a("w-full border rounded-xl overflow-hidden",i),children:n.items.map((t,o)=>jsxRuntime.jsxs(chunkPCWXM2CW_js.b,{className:"border-b last:border-0 overflow-hidden",value:`value-${o}`,children:[jsxRuntime.jsx(chunkPCWXM2CW_js.c,{className:"px-3 md:px-4 lg:px-6 hover:no-underline hover:bg-level-3",children:jsxRuntime.jsx(v,{children:jsxRuntime.jsx("h6",{className:"leading-[1.2] text-[1.05rem] font-semibold ",children:t.trigger})})}),jsxRuntime.jsx(chunkPCWXM2CW_js.d,{className:"p-4 border-t bg-level-1",children:jsxRuntime.jsx(v,{className:"flex flex-col justify-start items-start ",children:typeof t.content=="string"?jsxRuntime.jsx("p",{children:t.content}):t.content})})]},o))})},"AccordianBlockComponent"),ye=wt;var Dt=chunkXUSV3KOD_js.a(({icon:e,size:i,agent:n,className:t=""})=>{if(!e)return null;let o=n==="phone";if(typeof e=="string"){let r=o&&i?i*.75:i;return jsxRuntime.jsx(ke__default.default,{src:e,width:r,height:r,alt:"icon",className:t})}return jsxRuntime.jsx("div",{className:t,children:e})},"InlineIcon"),ee=Dt;var At=chunkXUSV3KOD_js.a((e,i,n)=>{let t=chunkXUSV3KOD_js.a(()=>e<n,"isFirstRow"),o=chunkXUSV3KOD_js.a(()=>e%n===0,"isFirstColumn"),r=chunkXUSV3KOD_js.a(()=>e===0,"isTLCorner"),l=chunkXUSV3KOD_js.a(()=>e===n-1,"isTRCorner"),s=chunkXUSV3KOD_js.a(()=>e===i-n,"isBLCorner"),m=chunkXUSV3KOD_js.a(()=>e===i-1,"isBRCorner"),d="border-b md:border-r p-4 md:p-8 lg:p-12 ";return t()&&(d+="border-t "),o()&&(d+="md:border-l "),r()?d+="border-t md:rounded-tl-lg ":l()?d+="md:rounded-tr-lg ":s()?d+="md:rounded-bl-lg ":m()&&(d+="md:rounded-br-lg "),d},"getCellClx"),Pt="gap-0 md:gap-0 xl:gap-0",Ge={getCellClx:At,gapClx:Pt};var We=new Map;We.set("style-table-borders",Ge);var $e=chunkXUSV3KOD_js.a(e=>We.get(e),"default");var he=chunkXUSV3KOD_js.a((e,i)=>typeof e=="number"?`${i??""}grid-cols-${e} `:`${i??""}grid-cols-${e.columns} ${i??""}gap-${e.gap} `,"gridClx"),Ft=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n,children:t})=>{if(e.blockType!=="grid")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"grid block required"});let{cells:o,grid:r,specifiers:l}=e,m=chunkXUSV3KOD_js.a(f=>chunkNCPDG735_js.F(l,f),"specified")("style-table-borders")?$e("style-table-borders"):void 0,d="grid ";if(n==="phone"){let f=r.mobile?r.mobile:r.at.xs?r.at.xs:r.at.sm??1;d+=he(f);}else {let f=false;for(let[u,y]of Object.entries(r.at))f?d+=he(y,`${u}:`):(d+=he(y),f=true);}let c=chunkXUSV3KOD_js.a(f=>"","getMutatorCellClx");if(m?.getCellClx){let f=typeof r.at.md=="number"?r.at.md:r.at.md.columns,u=o?.length;if(!f||!u)throw new Error("GridBlockComponent: using mutator, but colCount and / or cellCount is invalid!");c=chunkXUSV3KOD_js.a(y=>m.getCellClx(y,u,f),"getMutatorCellClx");}return jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("grid gap-2 md:gap-4 xl:gap-6",d,m?.gapClx??"",i),children:Fe__default.default.Children.count(t)>0?t:o?.map((f,u)=>jsxRuntime.jsx(T,{blocks:f,agent:n,className:c(u)},`cell-${u}`))})},"GridBlockComponent"),te=Ft;var It=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n})=>{if(e.blockType!=="bullet-cards")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"bullet cards block required"});let t=e,o=chunkXUSV3KOD_js.a(m=>chunkNCPDG735_js.F(t.specifiers,m),"specified"),r=o("no-card-border")?"border-0":"md:border",l=o("mobile-small-text")?"text-xs":"text-sm",s=o("border-muted-3")?"md:border-muted-3":o("border-muted-1")?"md:border-muted-1":"md:border-muted-2";return jsxRuntime.jsx(te,{block:{blockType:"grid",grid:t.grid},className:i,agent:n,children:t.cards.map((m,d)=>jsxRuntime.jsxs("div",{className:chunkYZFRWYNS_js.a("px-0 sm:px-4 py-1 md:py-4 rounded-lg flex flex-row justify-start items-center not-typography text-foreground",r,s),children:[jsxRuntime.jsx(ee,{icon:m.icon,size:t.iconSize??28,agent:n,className:"shrink-0 mr-2 md:mr-4 "}),jsxRuntime.jsx("p",{className:chunkYZFRWYNS_js.a("m-0 sm:text-base",l),children:m.text})]},d))})},"BulletCardsBlockComponent"),Oe=It;var Gt=chunkXUSV3KOD_js.a(({def:e,onClick:i,size:n,variant:t,icon:o,iconAfter:r,className:l="",children:s})=>{let{href:m,newTab:d,variant:c,size:f,title:u}=e,y={};m.startsWith("http")||m.startsWith("mailto")?(y.rel="noreferrer noopener",(d??true)&&(y.target="_blank")):d&&(y.target="_blank");let h={href:m,...i?{onClick:i}:{},...y},g=chunkXUSV3KOD_js.a(()=>{if(Fe__default.default.Children.count(s)>0)return s;let k=o||(e.icon?e.icon:void 0),B=r||(e.iconAfter?e.iconAfter:false);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[k&&!B&&jsxRuntime.jsx("div",{className:"pr-1",children:k}),u&&jsxRuntime.jsx("div",{children:u}),k&&B&&jsxRuntime.jsx("div",{className:"pl-1",children:k})]})},"Contents");return jsxRuntime.jsx(Vt__default.default,{className:chunkYZFRWYNS_js.a(chunk3YL43AE4_js.a({variant:t||c||"link",size:n||f||"default"}),m.length>0||i?"":"pointer-events-none",l),...h,children:jsxRuntime.jsx(g,{})})},"LinkElement"),U=Gt;var Ot=chunkXUSV3KOD_js.a(({block:e,className:i="",itemClasses:n="",itemSize:t,renderLink:o,renderButton:r,agent:l})=>{if(e.blockType!=="cta")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"cta block required"});let{elements:s,specifiers:m}=e,d="",c="";chunkNCPDG735_js.F(m,"fill")?(d+="w-full ",c+="grow shrink !min-w-0"):chunkNCPDG735_js.F(m,"left")?d+="md:justify-start ":chunkNCPDG735_js.F(m,"right")?d+="md:justify-end ":d+="md:justify-center ";let f=chunkNCPDG735_js.F(m,"mobile-2-columns"),u=!chunkNCPDG735_js.F(m,"desktop-dont-fill"),y=chunkNCPDG735_js.F(m,"mobile-center-first-if-odd"),h=chunkNCPDG735_js.F(m,"mobile-odd-full-width"),g;if(s.length>1){let B=false;f&&(g="grid grid-cols-2 gap-2 self-stretch ",B=true),u?(g=g??"grid grid-cols-2 gap-2 self-stretch",B=true):g=g?g+"md:flex md:flex-row md:justify-center ":"flex flex-row justify-center ",c+=B?"!min-w-0 ":"";}g=g??"flex flex-col items-stretch gap-2 self-stretch md:flex-row sm:justify-center ";let k=chunkXUSV3KOD_js.a((B,S)=>{let C=S%2===0?-1:y?0:S-1;return l==="phone"&&f&&B===C?"col-span-2 "+(h?"w-full ":"w-3/5 mx-auto "):""},"getMobileColSpanClx");return jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a(g,d,i),children:s.map((B,S)=>{let C=k(S,s.length);if(B.title){let N=B;return o?o(N,S):jsxRuntime.jsx(U,{def:N,size:t,className:chunkYZFRWYNS_js.a(c,n,C)},S)}else {let N=B;return r?r(N,S):jsxRuntime.jsx(ge,{def:N,size:t,className:chunkYZFRWYNS_js.a(c,n,C)},S)}})})},"CtaBlockComponent"),R=Ot;var qt=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n,constraintTo:t})=>{if(e.blockType!=="image")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"image block required"});let{src:o,alt:r,dim:l,props:s,sizes:m,fullWidthOnMobile:d,svgFillClass:c,specifiers:f}=e,u=chunkXUSV3KOD_js.a(C=>chunkNCPDG735_js.F(f,C),"specified"),y={};if(s?.fill===void 0){let C=t?chunkNCPDG735_js.B(l,t):l;y.width=C.w,y.height=C.h;}let h;if(r)h=r;else {let C=o.split("/");h=C.length>0?C[C.length]:o;}let g=c??"";if(n==="phone")if(u("mobile-full-width")||d){let C={style:{width:"100%",height:"auto",maxWidth:"420px"},sizes:"100vw"};return C.width=l.w,C.height=l.h,jsxRuntime.jsx("div",{className:"flex flex-col items-center w-full",children:jsxRuntime.jsx(ke__default.default,{src:o,alt:h,...C,className:chunkYZFRWYNS_js.a(g,i)})})}else u("mobile-no-scale")||(s?.style?.width==="auto"&&typeof s.style.height=="number"?s.style.height=s.style.height*.75:s?.style?.height==="auto"&&typeof s?.style?.width=="number"?s.style.width=s.style.width*.75:s?.style&&!s?.style.width&&(y.width=l.w*.75,y.height=l.h*.75));m&&(y.sizes=m);let k=chunkNCPDG735_js.F(f,"right"),B=chunkNCPDG735_js.F(f,"center"),S=k?"self-end":B?"self-center":"self-start";return s?.fill?jsxRuntime.jsx("div",{className:"relative w-full h-full",children:jsxRuntime.jsx(ke__default.default,{src:o,alt:h,...y,...s,className:chunkYZFRWYNS_js.a(g,"max-w-[70vw] mx-auto",i)})}):jsxRuntime.jsx(ke__default.default,{src:o,alt:h,...y,...s,className:chunkYZFRWYNS_js.a(S,g,"max-w-[70vw] mx-auto",i)})},"ImageBlockComponent"),q=qt;var Yt=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n,usePoster:t=false,size:o="md",constrainTo:r})=>{let[l,s]=Fe.useState(void 0),m=chunkXUSV3KOD_js.a(()=>{s({w:window.innerWidth,h:window.innerHeight});},"onResize");if(Fe.useEffect(()=>{if(window&&n==="desktop")return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[typeof window<"u"]),Fe.useLayoutEffect(()=>{m();},[]),e.blockType!=="video")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"video block required"});let c=e,f=c.dim.md.w/c.dim.md.h;if(n==="phone"){if(c.sizing?.mobile?.vw)if(l){let g=c.sizing.mobile.vw/100*l.w,k={h:g/f,w:g};return jsxRuntime.jsx($,{className:chunkYZFRWYNS_js.a("mx-auto",i),sources:c.sources,width:k.w,height:k.h,...c.videoProps})}else {let g=`${c.sizing.mobile.vw}vw`;return jsxRuntime.jsx("div",{className:"dummy-div",style:{maxWidth:"100%",maxHeight:"100%",width:g,height:`calc(${g}/${f})`,backgroundImage:`url(${c.poster})`,backgroundSize:"contain",backgroundRepeat:"no-repeat"}})}}else if(c.sizing?.vh)if(l){let g=c.sizing.vh/100*l.h,k={h:g,w:g*f};return jsxRuntime.jsx($,{className:chunkYZFRWYNS_js.a("mx-auto",i),sources:c.sources,width:k.w,height:k.h,...c.videoProps})}else {let g=`${c.sizing.vh}vh`;return jsxRuntime.jsx("div",{className:"dummy-div",style:{maxWidth:"100%",maxHeight:"100%",height:g,width:`calc(${g}*${f})`,backgroundImage:`url(${c.poster})`,backgroundSize:"contain",backgroundRepeat:"no-repeat"}})}let u=c.dim,y=o&&o in u?u[o]:u.md,h=r?chunkNCPDG735_js.B(y,r):y;return t?jsxRuntime.jsx(ke__default.default,{src:c.poster,alt:"image",width:h.w,height:h.h,className:i}):jsxRuntime.jsx($,{className:chunkYZFRWYNS_js.a("mx-auto",i),sources:c.sources,width:h.w,height:h.h,...c.videoProps})},"VideoBlockComponent"),G=Yt;var Ue=chunkXUSV3KOD_js.a(e=>chunkNCPDG735_js.y(e,i=>chunkNCPDG735_js.u(i,"typography"),i=>{let n=i.split("-");return n[n.length-1]},"responsive"),"getTypographySize");var Zt=chunkXUSV3KOD_js.a(({def:e})=>jsxRuntime.jsx(U,{def:e,className:"justify-between",variant:"link",icon:jsxRuntime.jsx(Z.linkOut,{className:"w-[18px] h-[18px]"}),iconAfter:true}),"ArrowLinkElement"),_e=Zt;var eo=chunkXUSV3KOD_js.a(({block:e,className:i="",contentClassName:n=""})=>{if(e.blockType!=="card")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"card block required"});let t=e,o=chunkXUSV3KOD_js.a(P=>t.specifiers?.includes(P),"has"),r=o("ghost"),l=(o("content-left")?"items-start ":" items-center ")+(o("content-top")?"!justify-start":"")+n,s=o("appear-disabled")?" border-muted-4":" border-muted-3",m=o("no-outer-border")||r?" border-0":"",d=r?" border-0":"",c=r?" px-0 py-0":" px-6 py-3",f=r?" gap-2":"",u=o("appear-disabled")?" text-muted-2":"",y=o("appear-disabled")?" typography-p:text-muted-2":"",h=o("bg-card")?" bg-level-1":"",g=(o("heading-style-title")?" font-heading text-base leading-tight":"")+(r?" text-left md:text-xl":""),k=t.specifiers?Ue(t.specifiers):"responsive",B=k==="sm"?"typography-sm typography-p:text-sm ":k==="lg"?"typography-lg ":"",S=o("content-before"),C=o("icon-inline"),N=o("reveal-content-on-hover"),Ne=chunkXUSV3KOD_js.a(({inContent:P=false,className:ie=""})=>t.title||t.byline||t.icon?jsxRuntime.jsxs(chunkLFWWUVJX_js.b,{className:"not-typography text-accent"+u+c+d+ie,children:[jsxRuntime.jsxs("div",{className:C||P?"flex flex-row justify-start items-end my-3":"",children:[t.icon&&!t.iconAfter&&jsxRuntime.jsx("div",{className:C?"mr-1":"mb-2",children:t.icon}),t.title&&jsxRuntime.jsx(chunkLFWWUVJX_js.c,{className:"text-center text-lg font-medium"+g+(C?" md:text-xl/none":""),children:t.title}),t.icon&&t.iconAfter&&jsxRuntime.jsx("div",{className:C?"ml-1":"my-1",children:t.icon})]}),t.byline&&jsxRuntime.jsx(chunkLFWWUVJX_js.d,{children:t.byline})]}):null,"Header"),at=chunkXUSV3KOD_js.a(({className:P=""})=>o("media-left")?jsxRuntime.jsxs(chunkLFWWUVJX_js.e,{className:"flex flex-row justify-start items-stretch p-0 grow "+s+h+l+P,children:[t.media&&jsxRuntime.jsx("div",{className:"box-content grow-0 not-typography"+c,style:{width:t.media.dim.sm.w},children:jsxRuntime.jsx(G,{block:t.media,usePoster:o("video-use-poster"),size:"sm",className:o("appear-disabled")?"opacity-[0.6]":""})}),t.content&&jsxRuntime.jsx(v,{className:"grow border-l flex flex-col justify-center "+y+c+s+l,size:k,children:typeof t.content=="string"?jsxRuntime.jsx("p",{children:t.content}):t.content})]}):jsxRuntime.jsxs(chunkLFWWUVJX_js.e,{className:"grow typography flex flex-col justify-center "+B+y+h+c+l+(o("full-width")?" p-0 ":" ")+P,children:[N&&jsxRuntime.jsx(Ne,{inContent:true}),t.content&&S&&(typeof t.content=="string"?jsxRuntime.jsx("p",{children:t.content}):t.content),t.media&&(t.media.blockType==="image"?jsxRuntime.jsx(q,{block:t.media}):jsxRuntime.jsx(G,{block:t.media})),t.content&&!S&&(typeof t.content=="string"?jsxRuntime.jsx("p",{children:t.content}):t.content)]}),"MediaAndContent"),lt=chunkXUSV3KOD_js.a(()=>t.cta?o("links-w-arrow")?jsxRuntime.jsx(chunkLFWWUVJX_js.f,{className:"typography typography-a:text-muted-2 typography-a:hover:text-muted-1 typography-a:text-xs typography-a:no-underline typography-a:hover:underline flex flex-col justify-start items-stretch "+c,children:jsxRuntime.jsx(R,{block:t.cta,renderLink:(P,ie)=>jsxRuntime.jsx(_e,{def:P},ie)})}):jsxRuntime.jsx(chunkLFWWUVJX_js.f,{className:"grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center "+c,children:jsxRuntime.jsx(R,{block:t.cta})}):null,"Footer");return jsxRuntime.jsxs(chunkLFWWUVJX_js.a,{className:chunkYZFRWYNS_js.a("flex flex-col self-stretch "+(N?"group relative":"")+s+m+h+f,i),children:[jsxRuntime.jsx(Ne,{className:N?" absolute top-[0px] left-[0px] w-full hidden ":""}),jsxRuntime.jsx(at,{className:N?" bg-gradient-to-t from-secondary to-65% items-start justify-start rounded-lg p-4 transition-opacity duration-500 ease-out opacity-100 ":""}),jsxRuntime.jsx(lt,{})]})},"CardBlockComponent"),Ce=eo;var oo=chunkXUSV3KOD_js.a(({block:e,agent:i,className:n,headingclx:t,contentclx:o,footerclx:r})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("div",{className:"flex gap-2",children:[e.topContent&&jsxRuntime.jsx(T,{blocks:e.topContent,agent:i,className:"self-center ml-6 mt-6"}),jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e.heading&&jsxRuntime.jsx(chunkLFWWUVJX_js.b,{className:chunkYZFRWYNS_js.a("typography-img:m-0",t),children:jsxRuntime.jsx(E,{block:e.heading,className:"text-accent",agent:i})}),e.content&&jsxRuntime.jsx(chunkLFWWUVJX_js.e,{className:chunkYZFRWYNS_js.a("typography flex flex-col justify-start",o,n),children:jsxRuntime.jsx(T,{blocks:e.content,agent:i})})]})]}),e.cta&&jsxRuntime.jsx(chunkLFWWUVJX_js.f,{className:chunkYZFRWYNS_js.a("grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center mx-auto",r),children:jsxRuntime.jsx(R,{block:e.cta,agent:i})})]}),"VariantContentLeft"),je=oo;var no=chunkXUSV3KOD_js.a((e,i)=>{let n="";if(e==="big-padding")switch(i){case "header":n="md:p-8 lg:p-12 xl:p-16";break}if(e==="big-padding-content")switch(i){case "content":n="md:p-8 lg:p-12 xl:p-16";break}else if(e==="no-inner-borders")switch(i){case "header":n="border-none";break;case "footer":n="border-t-0";break}return n},"_getClx"),io=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n})=>{if(e.blockType!=="carte-blanche")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"carte blanche block required"});let t=e,o=chunkXUSV3KOD_js.a(u=>chunkNCPDG735_js.F(t.specifiers,u),"specified"),r=chunkXUSV3KOD_js.a((u,y)=>o(u)?no(u,y):"","getClx"),l=[r("big-padding","header"),r("no-inner-borders","header")].join(" "),s=[r("big-padding-content","content")].join(" "),m=[r("no-inner-borders","footer")].join(" "),d=o("no-outer-borders"),c=o("variant-content-left"),f=o("variant-mobile-content-left");return jsxRuntime.jsx(chunkLFWWUVJX_js.a,{className:chunkYZFRWYNS_js.a("flex flex-col",i,d?"border-none":""),children:c||f&&n==="phone"?jsxRuntime.jsx(je,{block:t,agent:n,className:i,headingclx:l,contentclx:s,footerclx:m}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[(t.heading||t.topContent)&&jsxRuntime.jsxs(chunkLFWWUVJX_js.b,{className:chunkYZFRWYNS_js.a("typography-img:m-0",l),children:[t.topContent&&jsxRuntime.jsx(T,{blocks:t.topContent,agent:n,className:""}),t.heading&&jsxRuntime.jsx(E,{block:t.heading,className:"text-accent",agent:n})]}),t.content&&jsxRuntime.jsx(chunkLFWWUVJX_js.e,{className:chunkYZFRWYNS_js.a("typography flex flex-col justify-center",s,i),children:jsxRuntime.jsx(T,{blocks:t.content,agent:n})}),t.cta&&jsxRuntime.jsx(chunkLFWWUVJX_js.f,{className:chunkYZFRWYNS_js.a("grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center",m),children:jsxRuntime.jsx(R,{block:t.cta,agent:n})})]})})},"CarteBlancheBlockComponent"),Xe=io;var j={preheading:{tag:"h4",mb:2},heading:{tag:"h1",mb:2},byline:{tag:"h6"}},Be=chunkXUSV3KOD_js.a(e=>{switch(e){case 1:return "h1";case 2:return "h2";case 3:return "h3";case 4:return "h4";case 5:return "h5";case 6:return "h6"}return "p"},"tagFromLevel"),Ye=chunkXUSV3KOD_js.a(({asTag:e,text:i,icon:n,iconLeft:t=true,className:o=""})=>jsxRuntime.jsx(e,{className:o,children:i}),"Element"),ao=chunkXUSV3KOD_js.a((e,i)=>{let n=e("mobile-heading-centered"),t=e("mobile-heading-left"),o=e("center"),r=e("right"),l=e("byline-center"),s=e("byline-right"),m=e("mobile-byline-left"),d="",c=l?"self-center !text-center":s?"self-end !text-right":"self-start !text-left";if(i==="phone")t?d="self-start text-left":d=n||o?"self-center text-center":r?"self-end text-right":"self-start text-left",m&&(c="self-start !text-left");else {let f=o?"self-center text-center":r?"self-end text-right":"self-start text-left";n?d="self-center text-center md:"+f.split(" ").join(" md:"):d=f;}return {preheading:d,heading:d,byline:c}},"getPositionClx"),lo=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n,applyTypography:t=true,extraSpecifiers:o=""})=>{if(e.blockType!=="enh-heading")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"enhance heading block required"});let r=e,l=chunkXUSV3KOD_js.a(u=>chunkNCPDG735_js.F(r.specifiers+o,u),"specified"),m=l("preheading-heading-font")?"font-heading":"",d=l("align-middle")?"my-auto":"",c=ao(l,n),f=chunkXUSV3KOD_js.a(()=>{let u=[{tag:r.preheading?r.preheading.level!==void 0?Be(r.preheading.level):j.preheading.tag:void 0,clx:r.preheading?(r.preheading.mb!==void 0?`mb-${r.preheading.mb}`:`mb-${j.preheading.mb}`)+" "+c.preheading+" "+m:c.preheading+" "+m,text:r.preheading?r.preheading.text:void 0},{tag:r.heading.level!==void 0?Be(r.heading.level):j.heading.tag,clx:(r.heading.mb!==void 0?`mb-${r.heading.mb}`:`mb-${j.heading.mb}`)+" "+c.heading,text:r.heading.text},{tag:r.byline?r.byline.level!==void 0?Be(r.byline.level):j.byline.tag:void 0,clx:c.byline,text:r.byline?r.byline.text:void 0}],y=false;return jsxRuntime.jsx(jsxRuntime.Fragment,{children:u.map(({tag:h,clx:g,text:k},B)=>h?r.icon&&!y?(y=true,jsxRuntime.jsxs("div",{className:chunkYZFRWYNS_js.a("flex flex-row items-center gap-2 sm:gap-4",g),children:[jsxRuntime.jsx(ee,{icon:r.icon,size:r.iconSize??32,agent:n}),jsxRuntime.jsx(Ye,{asTag:h,text:k})]},`div-${B}`)):jsxRuntime.jsx(Ye,{asTag:h,text:k,className:g},`el-${B}`):null)})},"Inner");return t?jsxRuntime.jsx(v,{className:chunkYZFRWYNS_js.a("flex flex-col w-full !gap-0",i,d),children:jsxRuntime.jsx(f,{})}):jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("flex flex-col w-full gap-0",i,d),children:jsxRuntime.jsx(f,{})})},"EnhHeadingBlockComponent"),E=lo;var po=chunkXUSV3KOD_js.a(({block:e,className:i=""})=>{if(e.blockType!=="heading")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"heading block required"});let n=e,t,o;switch(n.bylineLevel){case 0:o="p";break;case 1:o="h1";break;case 2:o="h2";break;case 3:o="h3";break;case 4:o="h4";break;case 5:o="h5";break;case 6:o="h6";break}switch(n.level){case 0:t="p",o=o??"p";break;case 1:t="h1",o=o??"h3";break;case 2:t="h2",o=o??"h4";break;case 4:t="h4",o=o??"h6";break;case 5:t="h5",o=o??"p";break;case 6:t="h6",o=o??"p";break;default:t="h3",o=o??"h5";}return jsxRuntime.jsxs(v,{className:i,children:[jsxRuntime.jsx(t,{children:n.heading}),n.spaceBetween&&jsxRuntime.jsx("div",{className:`w-[1px] h-${n.spaceBetween}`}),n.byline&&jsxRuntime.jsx(o,{children:n.byline}),n.spaceAfter&&jsxRuntime.jsx("div",{className:`w-[1px] h-${n.spaceAfter}`})]})},"HeadingBlockComponent"),ve=po;var fo=chunkXUSV3KOD_js.a(e=>{let n=e.split(" ").find(t=>t.startsWith("layout-"));if(n){let t=n.split("-"),o=t[1],r={};switch(o){case "grid":{let l=parseInt(t[2],10),s=t[4];if(Number.isNaN(l)||l<2||l>6||!chunkER3ALPBZ_js.a.includes(s))return;r={columns:l,starting:s};}break}return {layout:o,spec:r}}},"getLayoutInfo"),go=chunkXUSV3KOD_js.a(({block:e,className:i=""})=>{if(e.blockType!=="group")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"group block required"});let n=e;if(n.specifiers?.includes("layout")){let t=fo(n.specifiers);if(!t)return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"invalid or missing layout specifier in group block!"});if(t.layout==="grid"){let{elements:o}=n,{spec:{starting:r,columns:l}}=t,s=chunkYZFRWYNS_js.a("grid xs:grid-cols-1 gap-2 sm:gap-3",`${r}:grid-cols-${l} `,i);return jsxRuntime.jsx("div",{className:s,children:jsxRuntime.jsx(T,{blocks:o})})}}return null},"GroupBlockComponent"),Te=go;var uo=["div","h1","h2","h3","h4","h5","h6"],yo=chunkXUSV3KOD_js.a(({block:e,className:i=""})=>{if(e&&e.blockType!=="space")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"space block required"});let n=e;if(!n.level){if(typeof n.sizes=="number")return jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a(`invisible w-[1px] h-${n.sizes}`,i)});let r={};chunkNCPDG735_js.G(r,de,n.sizes);let l="";for(let[s,m]of Object.entries(r))l+=`${s}:h-${m} `;return n.test&&console.log(l),jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("invisible w-[1px] "+l,i)})}let t=uo[n.level],o=n.level===0?"h-4":"";return jsxRuntime.jsx(v,{className:i,children:jsxRuntime.jsx(t,{className:"invisible m-0 "+o,children:"\xA0"})})},"SpaceBlockComponent"),we=yo;var w=new Map;w.set("accordian",ye);w.set("bullet-cards",Oe);w.set("card",Ce);w.set("carte-blanche",Xe);w.set("cta",R);w.set("heading",ve);w.set("enh-heading",E);w.set("space",we);w.set("image",q);w.set("video",G);w.set("group",Te);w.set("grid",te);var bo=chunkXUSV3KOD_js.a((e,i)=>{w.set(e,i);},"registerBlockType"),et=chunkXUSV3KOD_js.a((e,i,n,t)=>{if(e.blockType==="element")return e.element;let o=w.get(e.blockType);return o?jsxRuntime.jsx(o,{block:e,className:i,agent:n},t??""):null},"renderBlock"),T=chunkXUSV3KOD_js.a(({blocks:e,className:i="",agent:n})=>e?Array.isArray(e)?e.map((t,o)=>et(t,i,n,`content-block-${t.blockType}-${o}`)):et(e,i,n):null,"ContentComponent");var Co=chunkXUSV3KOD_js.a(({children:e,banner:i,className:n=""})=>i?jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("relative",n),style:{height:"100%",width:"100%",backgroundImage:`url(${typeof i=="string"?i:i.poster})`,backgroundSize:"cover",backgroundRepeat:"no-repeat"},children:e}):jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("bg-transparent h-full w-full relative",n),children:e}),"Poster"),ot=Co;var rt=chunkXUSV3KOD_js.a(({blocks:e,specifiers:i,agent:n,className:t=""})=>{let o=chunkXUSV3KOD_js.a(l=>chunkNCPDG735_js.F(i,l),"specified"),r="";return n!=="phone"?o("right")?r+="items-end ":o("center")?r+="items-center ":r+="items-start ":r+="items-start ",n!=="phone"?(o("bottom")?r+="justify-end ":o("vert-center")?r+="justify-center ":r+="justify-start ",o("text-align-right")?r+="text-right ":r+="text-left "):o("mobile-vert-center")?r+="justify-center ":r+="justify-start ",n==="phone"&&o("mobile-center-headings")&&(r+="typography-headings:text-center "),jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("flex flex-col justify-center h-full",r,t),children:jsxRuntime.jsx(T,{blocks:e,agent:n})})},"ContentColumn"),xo=chunkXUSV3KOD_js.a(({block:e,agent:i,className:n=""})=>{let t="flex flex-col gap-2 sm:gap-4 h-full "+(i!=="phone"?`md:grid md:gap-8 md:grid-cols-${e.contentColumns.length} `:""),o=chunkXUSV3KOD_js.a(r=>{let l=e.mobileOrder?.indexOf(r);return l&&l>=0?`order-${l} md:order-none`:""},"orderclx");return e.contentColumns.length==1?jsxRuntime.jsx(rt,{blocks:e.contentColumns[0],specifiers:e.columnSpecifiers?.[0],agent:i,className:chunkYZFRWYNS_js.a(n)}):jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a(t,n),children:e.contentColumns.map((r,l)=>jsxRuntime.jsx(rt,{blocks:r,specifiers:e.columnSpecifiers?.[l],agent:i,className:o(l)},l))})},"Content"),nt=xo;var vo=Bo__default.default(()=>import('../video-background-LU3PHIPS.js'),{ssr:false,loading:chunkXUSV3KOD_js.a(()=>jsxRuntime.jsx(jsxRuntime.Fragment,{}),"loading")}),To=chunkXUSV3KOD_js.a(({block:e,agent:i,initialInView:n=false,snapTile:t=false,clx:o="",contentClx:r="",bottom:l})=>{if(e.blockType!=="screenful")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"screenful block required"});let s=e,m=chunkXUSV3KOD_js.a(()=>!!s.banner&&typeof s.banner=="object","hasBannerVideo"),d=i==="desktop"?"h-full ":"h-[100svh] ",c=chunkXUSV3KOD_js.a(B=>chunkNCPDG735_js.F(s.specifiers,B),"specified"),f=c("narrow-gutters"),u=c("no-gutters"),y=c("full-screen-width"),h=c("vert-center"),g=s.contentColumns.length===1,k=["xl:mx-auto overflow-y-hidden h-full",y?"":"max-w-screen-xl",f?"px-6 lg:px-8 2xl:px-2 pb-4 lg:pb-6 xl:pb-8 "+(t?"pt-15 md:pt-26 lg:pt-28 ":""):u?"px-0 pb-0 "+(t?"pt-11 lg:pt-20 ":""):"px-[8vw] xl:px-[1vw] pb-[8vh] pt-[calc(44px+4vh)] md:pt-[calc(80px+6vh)] ",i&&i!=="desktop"?"pt-15 sm:pt-17 pb-0 px-3 sm:px-8":""];return jsxRuntime.jsxs("section",{...s.anchorId?{id:s.anchorId}:{},className:chunkYZFRWYNS_js.a(t?"snap-start snap-always h-[100vh]":"min-h-screen",l?"flex flex-col":"",o),children:[jsxRuntime.jsx(v,{className:chunkYZFRWYNS_js.a("w-full flex flex-row justify-center self-stretch",t?d:"",l?"grow":""),children:jsxRuntime.jsxs(ot,{banner:s.banner,children:[m()&&jsxRuntime.jsx(vo,{block:s.banner,className:"absolute top-0 left-0 bottom-0 right-0",initialInView:n}),jsxRuntime.jsxs("div",{className:chunkYZFRWYNS_js.a(...k,t?"absolute left-0 right-0 top-0 bottom-0 ":"flex min-h-screen w-full",r,h?"self-center "+(g?"!py-0":""):""),children:[jsxRuntime.jsx(nt,{block:s,agent:i,className:"w-full"}),s.footer]})]})}),l]})},"ScreenfulComponent"),wo=To;
|
|
2
|
-
exports.AccordianBlockComponent=
|
|
1
|
+
'use strict';var chunkER3ALPBZ_js=require('../chunk-ER3ALPBZ.js');require('../chunk-63HNMH7C.js'),require('../chunk-LWQTRAJQ.js'),require('../chunk-BSO3JZ7S.js'),require('../chunk-LPZWN5DR.js'),require('../chunk-RIQZF4MD.js'),require('../chunk-CH2T5MI4.js'),require('../chunk-JPGIJFW5.js'),require('../chunk-G2LRED4X.js'),require('../chunk-4V3ZHFMN.js'),require('../chunk-OFSGDRF7.js'),require('../chunk-JB2D6UKV.js'),require('../chunk-4TW4U2UN.js'),require('../chunk-DNHCQ446.js'),require('../chunk-K7YTUP2D.js'),require('../chunk-HAYVC5RR.js'),require('../chunk-FLC52TR6.js'),require('../chunk-Y5IP4FKL.js'),require('../chunk-3LHI3PX3.js'),require('../chunk-UMYLUB72.js'),require('../chunk-KA5C2ZIG.js'),require('../chunk-XYYYZCEM.js'),require('../chunk-PO4JYM6P.js'),require('../chunk-3COMMLYS.js'),require('../chunk-TNP7EGQ2.js'),require('../chunk-L4IEIO4B.js'),require('../chunk-NCEQVAW6.js'),require('../chunk-NJF3RXSG.js'),require('../chunk-O6FV6MCF.js'),require('../chunk-Q2ITEICA.js');var chunkNCPDG735_js=require('../chunk-NCPDG735.js');require('../chunk-SVCCHDR3.js'),require('../chunk-6T7CYRG7.js');var chunkLFWWUVJX_js=require('../chunk-LFWWUVJX.js');require('../chunk-BTHDX6LM.js'),require('../chunk-KOAG4CSB.js');var chunkPCWXM2CW_js=require('../chunk-PCWXM2CW.js');require('../chunk-G62CSYX2.js'),require('../chunk-KX4C4YC2.js');var chunk3YL43AE4_js=require('../chunk-3YL43AE4.js');require('../chunk-E45AM32Q.js'),require('../chunk-FOTLPQNB.js'),require('../chunk-M3BGNQQL.js'),require('../chunk-AQYYHBXT.js');var chunkYZFRWYNS_js=require('../chunk-YZFRWYNS.js'),chunkXUSV3KOD_js=require('../chunk-XUSV3KOD.js'),jsxRuntime=require('react/jsx-runtime'),Ge=require('react'),Ce=require('next/image'),lucideReact=require('lucide-react'),Wo=require('next/link'),reactIntersectionObserver=require('react-intersection-observer');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var Ge__default=/*#__PURE__*/_interopDefault(Ge);var Ce__default=/*#__PURE__*/_interopDefault(Ce);var Wo__default=/*#__PURE__*/_interopDefault(Wo);var de={xs:2,sm:4,md:5,lg:6,xl:8};var v=chunkXUSV3KOD_js.a(({children:e,className:i="",asTag:n="div",size:o="responsive",...t})=>{let r="typography gap-3 xs:typography-sm sm:typography sm:gap-4 lg:typography-lg lg:gap-5 xl:typography-xl xl:gap-6 typography-headings:font-heading ";switch(o){case "sm":r="typography typography-sm gap-3 typography-headings:font-heading typography-p:text-sm ";break;case "base":r="typography gap-4 typography-headings:font-heading ";break;case "lg":r="typography typography-lg gap-5 typography-headings:font-heading typography-p:text-lg ";break;case "xl":r="typography typography-xl gap-6 typography-headings:font-heading typography-p:text-lg ";break}return jsxRuntime.jsx(n,{...t,className:chunkYZFRWYNS_js.a(r,i),children:e})},"ApplyTypography");var fo=Ge__default.default.forwardRef(({sources:e,...i},n)=>jsxRuntime.jsx("video",{ref:n,...i,children:e.map((o,t)=>jsxRuntime.jsx("source",{src:o},t))})),$=fo;var go=chunkXUSV3KOD_js.a(({block:e,className:i=""})=>{if(e.blockType!=="accordian")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"accordian block required"});let n=e;return jsxRuntime.jsx(chunkPCWXM2CW_js.a,{type:"single",collapsible:true,className:chunkYZFRWYNS_js.a("w-full border rounded-xl overflow-hidden",i),children:n.items.map((o,t)=>jsxRuntime.jsxs(chunkPCWXM2CW_js.b,{className:"border-b last:border-0 overflow-hidden",value:`value-${t}`,children:[jsxRuntime.jsx(chunkPCWXM2CW_js.c,{className:"px-3 md:px-4 lg:px-6 hover:no-underline hover:bg-level-3",children:jsxRuntime.jsx(v,{children:jsxRuntime.jsx("h6",{className:"leading-[1.2] text-[1.05rem] font-semibold ",children:o.trigger})})}),jsxRuntime.jsx(chunkPCWXM2CW_js.d,{className:"p-4 border-t bg-level-1",children:jsxRuntime.jsx(v,{className:"flex flex-col justify-start items-start ",children:typeof o.content=="string"?jsxRuntime.jsx("p",{children:o.content}):o.content})})]},t))})},"AccordianBlockComponent"),fe=go;var bo=chunkXUSV3KOD_js.a(({icon:e,size:i,agent:n,className:o=""})=>{if(!e)return null;let t=n==="phone";if(typeof e=="string"){let r=t&&i?i*.75:i;return jsxRuntime.jsx(Ce__default.default,{src:e,width:r,height:r,alt:"icon",className:o})}return jsxRuntime.jsx("div",{className:o,children:e})},"InlineIcon"),Z=bo;var Co=chunkXUSV3KOD_js.a((e,i,n)=>{let o=chunkXUSV3KOD_js.a(()=>e<n,"isFirstRow"),t=chunkXUSV3KOD_js.a(()=>e%n===0,"isFirstColumn"),r=chunkXUSV3KOD_js.a(()=>e===0,"isTLCorner"),l=chunkXUSV3KOD_js.a(()=>e===n-1,"isTRCorner"),s=chunkXUSV3KOD_js.a(()=>e===i-n,"isBLCorner"),m=chunkXUSV3KOD_js.a(()=>e===i-1,"isBRCorner"),d="border-b md:border-r p-4 md:p-8 lg:p-12 ";return o()&&(d+="border-t "),t()&&(d+="md:border-l "),r()?d+="border-t md:rounded-tl-lg ":l()?d+="md:rounded-tr-lg ":s()?d+="md:rounded-bl-lg ":m()&&(d+="md:rounded-br-lg "),d},"getCellClx"),ko="gap-0 md:gap-0 xl:gap-0",ze={getCellClx:Co,gapClx:ko};var Ve=new Map;Ve.set("style-table-borders",ze);var He=chunkXUSV3KOD_js.a(e=>Ve.get(e),"default");var ge=chunkXUSV3KOD_js.a((e,i)=>typeof e=="number"?`${i??""}grid-cols-${e} `:`${i??""}grid-cols-${e.columns} ${i??""}gap-${e.gap} `,"gridClx"),Bo=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n,children:o})=>{if(e.blockType!=="grid")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"grid block required"});let{cells:t,grid:r,specifiers:l}=e,m=chunkXUSV3KOD_js.a(f=>chunkNCPDG735_js.F(l,f),"specified")("style-table-borders")?He("style-table-borders"):void 0,d="grid ";if(n==="phone"){let f=r.mobile?r.mobile:r.at.xs?r.at.xs:r.at.sm??1;d+=ge(f);}else {let f=false;for(let[u,y]of Object.entries(r.at))f?d+=ge(y,`${u}:`):(d+=ge(y),f=true);}let c=chunkXUSV3KOD_js.a(f=>"","getMutatorCellClx");if(m?.getCellClx){let f=typeof r.at.md=="number"?r.at.md:r.at.md.columns,u=t?.length;if(!f||!u)throw new Error("GridBlockComponent: using mutator, but colCount and / or cellCount is invalid!");c=chunkXUSV3KOD_js.a(y=>m.getCellClx(y,u,f),"getMutatorCellClx");}return jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("grid gap-2 md:gap-4 xl:gap-6",d,m?.gapClx??"",i),children:Ge__default.default.Children.count(o)>0?o:t?.map((f,u)=>jsxRuntime.jsx(T,{blocks:f,agent:n,className:c(u)},`cell-${u}`))})},"GridBlockComponent"),ee=Bo;var To=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n})=>{if(e.blockType!=="bullet-cards")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"bullet cards block required"});let o=e,t=chunkXUSV3KOD_js.a(m=>chunkNCPDG735_js.F(o.specifiers,m),"specified"),r=t("no-card-border")?"border-0":"md:border",l=t("mobile-small-text")?"text-xs":"text-sm",s=t("border-muted-3")?"md:border-muted-3":t("border-muted-1")?"md:border-muted-1":"md:border-muted-2";return jsxRuntime.jsx(ee,{block:{blockType:"grid",grid:o.grid},className:i,agent:n,children:o.cards.map((m,d)=>jsxRuntime.jsxs("div",{className:chunkYZFRWYNS_js.a("px-0 sm:px-4 py-1 md:py-4 rounded-lg flex flex-row justify-start items-center not-typography text-foreground",r,s),children:[jsxRuntime.jsx(Z,{icon:m.icon,size:o.iconSize??28,agent:n,className:"shrink-0 mr-2 md:mr-4 "}),jsxRuntime.jsx("p",{className:chunkYZFRWYNS_js.a("m-0 sm:text-base",l),children:m.text})]},d))})},"BulletCardsBlockComponent"),Ee=To;var Ro=chunkXUSV3KOD_js.a(({children:e})=>{let[i,n]=Ge.useState(false),o=chunkXUSV3KOD_js.a(r=>{n(r);let l=document.getElementsByTagName("video");Array.from(l).forEach(m=>{r?m.pause():m.play();});},"onOpenChange"),t=Ge__default.default.Children.map(e,r=>Ge__default.default.cloneElement(r,{open:i,onOpenChange:o}));return jsxRuntime.jsx(jsxRuntime.Fragment,{children:t})},"DialogVideoController"),We=Ro;var Po=chunkXUSV3KOD_js.a(({def:e,className:i="",...n})=>{if(e.action.type==="modal"){let o=e.action.def,t=o.Comp;return jsxRuntime.jsx(We,{children:jsxRuntime.jsx(t,{title:o.title,byline:o.byline,buttonText:e.text,buttonProps:{...e.props,...n,className:chunkYZFRWYNS_js.a(e.props?.className??"",i)},action:o.action,actionEnclosure:o.actionEnclosure,...o.props})})}return jsxRuntime.jsx(jsxRuntime.Fragment,{})},"ActionButton"),he=Po;var te={};chunkXUSV3KOD_js.b(te,{burger:()=>lucideReact.Menu,gitHub:()=>Ue,linkOut:()=>lucideReact.ArrowUpRight,moon:()=>lucideReact.Moon,sun:()=>lucideReact.SunMedium,youtube:()=>$e});var Fo=chunkXUSV3KOD_js.a(e=>jsxRuntime.jsx("svg",{viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsxs("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"none",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:[jsxRuntime.jsx("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"red",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"}),jsxRuntime.jsx("polygon",{points:"36,58.5 59.38,45 36,31.5 ",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"white",fillRule:"nonzero",opacity:1},transform:"matrix(1 0 0 1 0 0)"})]})}),"YouTubeLogo"),$e=Fo;var Io=chunkXUSV3KOD_js.a(e=>jsxRuntime.jsx("svg",{viewBox:"0 0 438.549 438.549",...e,children:jsxRuntime.jsx("path",{fill:"currentColor",d:"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"})}),"GitHub"),Ue=Io;var $o=chunkXUSV3KOD_js.a(({def:e,onClick:i,size:n,variant:o,icon:t,iconAfter:r,className:l="",children:s})=>{let{href:m,newTab:d,variant:c,size:f,title:u}=e,y={};m.startsWith("http")||m.startsWith("mailto")?(y.rel="noreferrer noopener",(d??true)&&(y.target="_blank")):d&&(y.target="_blank");let h={href:m,...i?{onClick:i}:{},...y},g=chunkXUSV3KOD_js.a(()=>{if(Ge__default.default.Children.count(s)>0)return s;let C=t||(e.icon?e.icon:void 0),B=r||(e.iconAfter?e.iconAfter:false);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[C&&!B&&jsxRuntime.jsx("div",{className:"pr-1",children:C}),u&&jsxRuntime.jsx("div",{children:u}),C&&B&&jsxRuntime.jsx("div",{className:"pl-1",children:C})]})},"Contents");return jsxRuntime.jsx(Wo__default.default,{className:chunkYZFRWYNS_js.a(chunk3YL43AE4_js.a({variant:o||c||"link",size:n||f||"default"}),m.length>0||i?"":"pointer-events-none",l),...h,children:jsxRuntime.jsx(g,{})})},"LinkElement"),U=$o;var qo=chunkXUSV3KOD_js.a(({block:e,className:i="",itemClasses:n="",itemSize:o,renderLink:t,renderButton:r,agent:l})=>{if(e.blockType!=="cta")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"cta block required"});let{elements:s,specifiers:m}=e,d="",c="";chunkNCPDG735_js.F(m,"fill")?(d+="w-full ",c+="grow shrink !min-w-0"):chunkNCPDG735_js.F(m,"left")?d+="md:justify-start ":chunkNCPDG735_js.F(m,"right")?d+="md:justify-end ":d+="md:justify-center ";let f=chunkNCPDG735_js.F(m,"mobile-2-columns"),u=!chunkNCPDG735_js.F(m,"desktop-dont-fill"),y=chunkNCPDG735_js.F(m,"mobile-center-first-if-odd"),h=chunkNCPDG735_js.F(m,"mobile-odd-full-width"),g;if(s.length>1){let B=false;f&&(g="grid grid-cols-2 gap-2 self-stretch ",B=true),u?(g=g??"grid grid-cols-2 gap-2 self-stretch",B=true):g=g?g+"md:flex md:flex-row md:justify-center ":"flex flex-row justify-center ",c+=B?"!min-w-0 ":"";}g=g??"flex flex-col items-stretch gap-2 self-stretch md:flex-row sm:justify-center ";let C=chunkXUSV3KOD_js.a((B,S)=>{let k=S%2===0?-1:y?0:S-1;return l==="phone"&&f&&B===k?"col-span-2 "+(h?"w-full ":"w-3/5 mx-auto "):""},"getMobileColSpanClx");return jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a(g,d,i),children:s.map((B,S)=>{let k=C(S,s.length);if(B.title){let N=B;return t?t(N,S):jsxRuntime.jsx(U,{def:N,size:o,className:chunkYZFRWYNS_js.a(c,n,k)},S)}else {let N=B;return r?r(N,S):jsxRuntime.jsx(he,{def:N,size:o,className:chunkYZFRWYNS_js.a(c,n,k)},S)}})})},"CtaBlockComponent"),R=qo;var jo=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n,constraintTo:o})=>{if(e.blockType!=="image")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"image block required"});let{src:t,alt:r,dim:l,props:s,sizes:m,fullWidthOnMobile:d,svgFillClass:c,specifiers:f}=e,u=chunkXUSV3KOD_js.a(k=>chunkNCPDG735_js.F(f,k),"specified"),y={};if(s?.fill===void 0){let k=o?chunkNCPDG735_js.B(l,o):l;y.width=k.w,y.height=k.h;}let h;if(r)h=r;else {let k=t.split("/");h=k.length>0?k[k.length]:t;}let g=c??"";if(n==="phone")if(u("mobile-full-width")||d){let k={style:{width:"100%",height:"auto",maxWidth:"420px"},sizes:"100vw"};return k.width=l.w,k.height=l.h,jsxRuntime.jsx("div",{className:"flex flex-col items-center w-full",children:jsxRuntime.jsx(Ce__default.default,{src:t,alt:h,...k,className:chunkYZFRWYNS_js.a(g,i)})})}else u("mobile-no-scale")||(s?.style?.width==="auto"&&typeof s.style.height=="number"?s.style.height=s.style.height*.75:s?.style?.height==="auto"&&typeof s?.style?.width=="number"?s.style.width=s.style.width*.75:s?.style&&!s?.style.width&&(y.width=l.w*.75,y.height=l.h*.75));m&&(y.sizes=m);let C=chunkNCPDG735_js.F(f,"right"),B=chunkNCPDG735_js.F(f,"center"),S=C?"self-end":B?"self-center":"self-start";return s?.fill?jsxRuntime.jsx("div",{className:"relative w-full h-full",children:jsxRuntime.jsx(Ce__default.default,{src:t,alt:h,...y,...s,className:chunkYZFRWYNS_js.a(g,"max-w-[70vw] mx-auto",i)})}):jsxRuntime.jsx(Ce__default.default,{src:t,alt:h,...y,...s,className:chunkYZFRWYNS_js.a(S,g,"max-w-[70vw] mx-auto",i)})},"ImageBlockComponent"),q=jo;var Zo=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n,usePoster:o=false,size:t="md",constrainTo:r})=>{let[l,s]=Ge.useState(void 0),m=chunkXUSV3KOD_js.a(()=>{s({w:window.innerWidth,h:window.innerHeight});},"onResize");if(Ge.useEffect(()=>{if(window&&n==="desktop")return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[typeof window<"u"]),Ge.useLayoutEffect(()=>{m();},[]),e.blockType!=="video")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"video block required"});let c=e,f=c.dim.md.w/c.dim.md.h;if(n==="phone"){if(c.sizing?.mobile?.vw)if(l){let g=c.sizing.mobile.vw/100*l.w,C={h:g/f,w:g};return jsxRuntime.jsx($,{className:chunkYZFRWYNS_js.a("mx-auto",i),sources:c.sources,width:C.w,height:C.h,...c.videoProps})}else {let g=`${c.sizing.mobile.vw}vw`;return jsxRuntime.jsx("div",{className:"dummy-div",style:{maxWidth:"100%",maxHeight:"100%",width:g,height:`calc(${g}/${f})`,backgroundImage:`url(${c.poster})`,backgroundSize:"contain",backgroundRepeat:"no-repeat"}})}}else if(c.sizing?.vh)if(l){let g=c.sizing.vh/100*l.h,C={h:g,w:g*f};return jsxRuntime.jsx($,{className:chunkYZFRWYNS_js.a("mx-auto",i),sources:c.sources,width:C.w,height:C.h,...c.videoProps})}else {let g=`${c.sizing.vh}vh`;return jsxRuntime.jsx("div",{className:"dummy-div",style:{maxWidth:"100%",maxHeight:"100%",height:g,width:`calc(${g}*${f})`,backgroundImage:`url(${c.poster})`,backgroundSize:"contain",backgroundRepeat:"no-repeat"}})}let u=c.dim,y=t&&t in u?u[t]:u.md,h=r?chunkNCPDG735_js.B(y,r):y;return o?jsxRuntime.jsx(Ce__default.default,{src:c.poster,alt:"image",width:h.w,height:h.h,className:i}):jsxRuntime.jsx($,{className:chunkYZFRWYNS_js.a("mx-auto",i),sources:c.sources,width:h.w,height:h.h,...c.videoProps})},"VideoBlockComponent"),G=Zo;var qe=chunkXUSV3KOD_js.a(e=>chunkNCPDG735_js.y(e,i=>chunkNCPDG735_js.u(i,"typography"),i=>{let n=i.split("-");return n[n.length-1]},"responsive"),"getTypographySize");var ot=chunkXUSV3KOD_js.a(({def:e})=>jsxRuntime.jsx(U,{def:e,className:"justify-between",variant:"link",icon:jsxRuntime.jsx(te.linkOut,{className:"w-[18px] h-[18px]"}),iconAfter:true}),"ArrowLinkElement"),je=ot;var tt=chunkXUSV3KOD_js.a(({block:e,className:i="",contentClassName:n=""})=>{if(e.blockType!=="card")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"card block required"});let o=e,t=chunkXUSV3KOD_js.a(P=>o.specifiers?.includes(P),"has"),r=t("ghost"),l=(t("content-left")?"items-start ":" items-center ")+(t("content-top")?"!justify-start":"")+n,s=t("appear-disabled")?" border-muted-4":" border-muted-3",m=t("no-outer-border")||r?" border-0":"",d=r?" border-0":"",c=r?" px-0 py-0":" px-6 py-3",f=r?" gap-2":"",u=t("appear-disabled")?" text-muted-2":"",y=t("appear-disabled")?" typography-p:text-muted-2":"",h=t("bg-card")?" bg-level-1":"",g=(t("heading-style-title")?" font-heading text-base leading-tight":"")+(r?" text-left md:text-xl":""),C=o.specifiers?qe(o.specifiers):"responsive",B=C==="sm"?"typography-sm typography-p:text-sm ":C==="lg"?"typography-lg ":"",S=t("content-before"),k=t("icon-inline"),N=t("reveal-content-on-hover"),Re=chunkXUSV3KOD_js.a(({inContent:P=false,className:ie=""})=>o.title||o.byline||o.icon?jsxRuntime.jsxs(chunkLFWWUVJX_js.b,{className:"not-typography text-accent"+u+c+d+ie,children:[jsxRuntime.jsxs("div",{className:k||P?"flex flex-row justify-start items-end my-3":"",children:[o.icon&&!o.iconAfter&&jsxRuntime.jsx("div",{className:k?"mr-1":"mb-2",children:o.icon}),o.title&&jsxRuntime.jsx(chunkLFWWUVJX_js.c,{className:"text-center text-lg font-medium"+g+(k?" md:text-xl/none":""),children:o.title}),o.icon&&o.iconAfter&&jsxRuntime.jsx("div",{className:k?"ml-1":"my-1",children:o.icon})]}),o.byline&&jsxRuntime.jsx(chunkLFWWUVJX_js.d,{children:o.byline})]}):null,"Header"),lo=chunkXUSV3KOD_js.a(({className:P=""})=>t("media-left")?jsxRuntime.jsxs(chunkLFWWUVJX_js.e,{className:"flex flex-row justify-start items-stretch p-0 grow "+s+h+l+P,children:[o.media&&jsxRuntime.jsx("div",{className:"box-content grow-0 not-typography"+c,style:{width:o.media.dim.sm.w},children:jsxRuntime.jsx(G,{block:o.media,usePoster:t("video-use-poster"),size:"sm",className:t("appear-disabled")?"opacity-[0.6]":""})}),o.content&&jsxRuntime.jsx(v,{className:"grow border-l flex flex-col justify-center "+y+c+s+l,size:C,children:typeof o.content=="string"?jsxRuntime.jsx("p",{children:o.content}):o.content})]}):jsxRuntime.jsxs(chunkLFWWUVJX_js.e,{className:"grow typography flex flex-col justify-center "+B+y+h+c+l+(t("full-width")?" p-0 ":" ")+P,children:[N&&jsxRuntime.jsx(Re,{inContent:true}),o.content&&S&&(typeof o.content=="string"?jsxRuntime.jsx("p",{children:o.content}):o.content),o.media&&(o.media.blockType==="image"?jsxRuntime.jsx(q,{block:o.media}):jsxRuntime.jsx(G,{block:o.media})),o.content&&!S&&(typeof o.content=="string"?jsxRuntime.jsx("p",{children:o.content}):o.content)]}),"MediaAndContent"),so=chunkXUSV3KOD_js.a(()=>o.cta?t("links-w-arrow")?jsxRuntime.jsx(chunkLFWWUVJX_js.f,{className:"typography typography-a:text-muted-2 typography-a:hover:text-muted-1 typography-a:text-xs typography-a:no-underline typography-a:hover:underline flex flex-col justify-start items-stretch "+c,children:jsxRuntime.jsx(R,{block:o.cta,renderLink:(P,ie)=>jsxRuntime.jsx(je,{def:P},ie)})}):jsxRuntime.jsx(chunkLFWWUVJX_js.f,{className:"grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center "+c,children:jsxRuntime.jsx(R,{block:o.cta})}):null,"Footer");return jsxRuntime.jsxs(chunkLFWWUVJX_js.a,{className:chunkYZFRWYNS_js.a("flex flex-col self-stretch "+(N?"group relative":"")+s+m+h+f,i),children:[jsxRuntime.jsx(Re,{className:N?" absolute top-[0px] left-[0px] w-full hidden ":""}),jsxRuntime.jsx(lo,{className:N?" bg-gradient-to-t from-secondary to-65% items-start justify-start rounded-lg p-4 transition-opacity duration-500 ease-out opacity-100 ":""}),jsxRuntime.jsx(so,{})]})},"CardBlockComponent"),ke=tt;var nt=chunkXUSV3KOD_js.a(({block:e,agent:i,className:n,headingclx:o,contentclx:t,footerclx:r})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("div",{className:"flex gap-2",children:[e.topContent&&jsxRuntime.jsx(T,{blocks:e.topContent,agent:i,className:"self-center ml-6 mt-6"}),jsxRuntime.jsxs("div",{className:"flex flex-col",children:[e.heading&&jsxRuntime.jsx(chunkLFWWUVJX_js.b,{className:chunkYZFRWYNS_js.a("typography-img:m-0",o),children:jsxRuntime.jsx(H,{block:e.heading,className:"text-accent",agent:i})}),e.content&&jsxRuntime.jsx(chunkLFWWUVJX_js.e,{className:chunkYZFRWYNS_js.a("typography flex flex-col justify-start",t,n),children:jsxRuntime.jsx(T,{blocks:e.content,agent:i})})]})]}),e.cta&&jsxRuntime.jsx(chunkLFWWUVJX_js.f,{className:chunkYZFRWYNS_js.a("grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center mx-auto",r),children:jsxRuntime.jsx(R,{block:e.cta,agent:i})})]}),"VariantContentLeft"),Je=nt;var at=chunkXUSV3KOD_js.a((e,i)=>{let n="";if(e==="big-padding")switch(i){case "header":n="md:p-8 lg:p-12 xl:p-16";break}if(e==="big-padding-content")switch(i){case "content":n="md:p-8 lg:p-12 xl:p-16";break}else if(e==="no-inner-borders")switch(i){case "header":n="border-none";break;case "footer":n="border-t-0";break}return n},"_getClx"),lt=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n})=>{if(e.blockType!=="carte-blanche")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"carte blanche block required"});let o=e,t=chunkXUSV3KOD_js.a(u=>chunkNCPDG735_js.F(o.specifiers,u),"specified"),r=chunkXUSV3KOD_js.a((u,y)=>t(u)?at(u,y):"","getClx"),l=[r("big-padding","header"),r("no-inner-borders","header")].join(" "),s=[r("big-padding-content","content")].join(" "),m=[r("no-inner-borders","footer")].join(" "),d=t("no-outer-borders"),c=t("variant-content-left"),f=t("variant-mobile-content-left");return jsxRuntime.jsx(chunkLFWWUVJX_js.a,{className:chunkYZFRWYNS_js.a("flex flex-col",i,d?"border-none":""),children:c||f&&n==="phone"?jsxRuntime.jsx(Je,{block:o,agent:n,className:i,headingclx:l,contentclx:s,footerclx:m}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[(o.heading||o.topContent)&&jsxRuntime.jsxs(chunkLFWWUVJX_js.b,{className:chunkYZFRWYNS_js.a("typography-img:m-0",l),children:[o.topContent&&jsxRuntime.jsx(T,{blocks:o.topContent,agent:n,className:""}),o.heading&&jsxRuntime.jsx(H,{block:o.heading,className:"text-accent",agent:n})]}),o.content&&jsxRuntime.jsx(chunkLFWWUVJX_js.e,{className:chunkYZFRWYNS_js.a("typography flex flex-col justify-center",s,i),children:jsxRuntime.jsx(T,{blocks:o.content,agent:n})}),o.cta&&jsxRuntime.jsx(chunkLFWWUVJX_js.f,{className:chunkYZFRWYNS_js.a("grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center",m),children:jsxRuntime.jsx(R,{block:o.cta,agent:n})})]})})},"CarteBlancheBlockComponent"),Ye=lt;var j={preheading:{tag:"h4",mb:2},heading:{tag:"h1",mb:2},byline:{tag:"h6"}},Be=chunkXUSV3KOD_js.a(e=>{switch(e){case 1:return "h1";case 2:return "h2";case 3:return "h3";case 4:return "h4";case 5:return "h5";case 6:return "h6"}return "p"},"tagFromLevel"),Qe=chunkXUSV3KOD_js.a(({asTag:e,text:i,icon:n,iconLeft:o=true,className:t=""})=>jsxRuntime.jsx(e,{className:t,children:i}),"Element"),st=chunkXUSV3KOD_js.a((e,i)=>{let n=e("mobile-heading-centered"),o=e("mobile-heading-left"),t=e("center"),r=e("right"),l=e("byline-center"),s=e("byline-right"),m=e("mobile-byline-left"),d="",c=l?"self-center !text-center":s?"self-end !text-right":"self-start !text-left";if(i==="phone")o?d="self-start text-left":d=n||t?"self-center text-center":r?"self-end text-right":"self-start text-left",m&&(c="self-start !text-left");else {let f=t?"self-center text-center":r?"self-end text-right":"self-start text-left";n?d="self-center text-center md:"+f.split(" ").join(" md:"):d=f;}return {preheading:d,heading:d,byline:c}},"getPositionClx"),pt=chunkXUSV3KOD_js.a(({block:e,className:i="",agent:n,applyTypography:o=true,extraSpecifiers:t=""})=>{if(e.blockType!=="enh-heading")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"enhance heading block required"});let r=e,l=chunkXUSV3KOD_js.a(u=>chunkNCPDG735_js.F(r.specifiers+t,u),"specified"),m=l("preheading-heading-font")?"font-heading":"",d=l("align-middle")?"my-auto":"",c=st(l,n),f=chunkXUSV3KOD_js.a(()=>{let u=[{tag:r.preheading?r.preheading.level!==void 0?Be(r.preheading.level):j.preheading.tag:void 0,clx:r.preheading?(r.preheading.mb!==void 0?`mb-${r.preheading.mb}`:`mb-${j.preheading.mb}`)+" "+c.preheading+" "+m:c.preheading+" "+m,text:r.preheading?r.preheading.text:void 0},{tag:r.heading.level!==void 0?Be(r.heading.level):j.heading.tag,clx:(r.heading.mb!==void 0?`mb-${r.heading.mb}`:`mb-${j.heading.mb}`)+" "+c.heading,text:r.heading.text},{tag:r.byline?r.byline.level!==void 0?Be(r.byline.level):j.byline.tag:void 0,clx:c.byline,text:r.byline?r.byline.text:void 0}],y=false;return jsxRuntime.jsx(jsxRuntime.Fragment,{children:u.map(({tag:h,clx:g,text:C},B)=>h?r.icon&&!y?(y=true,jsxRuntime.jsxs("div",{className:chunkYZFRWYNS_js.a("flex flex-row items-center gap-2 sm:gap-4",g),children:[jsxRuntime.jsx(Z,{icon:r.icon,size:r.iconSize??32,agent:n}),jsxRuntime.jsx(Qe,{asTag:h,text:C})]},`div-${B}`)):jsxRuntime.jsx(Qe,{asTag:h,text:C,className:g},`el-${B}`):null)})},"Inner");return o?jsxRuntime.jsx(v,{className:chunkYZFRWYNS_js.a("flex flex-col w-full !gap-0",i,d),children:jsxRuntime.jsx(f,{})}):jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("flex flex-col w-full gap-0",i,d),children:jsxRuntime.jsx(f,{})})},"EnhHeadingBlockComponent"),H=pt;var mt=chunkXUSV3KOD_js.a(({block:e,className:i=""})=>{if(e.blockType!=="heading")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"heading block required"});let n=e,o,t;switch(n.bylineLevel){case 0:t="p";break;case 1:t="h1";break;case 2:t="h2";break;case 3:t="h3";break;case 4:t="h4";break;case 5:t="h5";break;case 6:t="h6";break}switch(n.level){case 0:o="p",t=t??"p";break;case 1:o="h1",t=t??"h3";break;case 2:o="h2",t=t??"h4";break;case 4:o="h4",t=t??"h6";break;case 5:o="h5",t=t??"p";break;case 6:o="h6",t=t??"p";break;default:o="h3",t=t??"h5";}return jsxRuntime.jsxs(v,{className:i,children:[jsxRuntime.jsx(o,{children:n.heading}),n.spaceBetween&&jsxRuntime.jsx("div",{className:`w-[1px] h-${n.spaceBetween}`}),n.byline&&jsxRuntime.jsx(t,{children:n.byline}),n.spaceAfter&&jsxRuntime.jsx("div",{className:`w-[1px] h-${n.spaceAfter}`})]})},"HeadingBlockComponent"),ve=mt;var gt=chunkXUSV3KOD_js.a(e=>{let n=e.split(" ").find(o=>o.startsWith("layout-"));if(n){let o=n.split("-"),t=o[1],r={};switch(t){case "grid":{let l=parseInt(o[2],10),s=o[4];if(Number.isNaN(l)||l<2||l>6||!chunkER3ALPBZ_js.a.includes(s))return;r={columns:l,starting:s};}break}return {layout:t,spec:r}}},"getLayoutInfo"),ut=chunkXUSV3KOD_js.a(({block:e,className:i=""})=>{if(e.blockType!=="group")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"group block required"});let n=e;if(n.specifiers?.includes("layout")){let o=gt(n.specifiers);if(!o)return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"invalid or missing layout specifier in group block!"});if(o.layout==="grid"){let{elements:t}=n,{spec:{starting:r,columns:l}}=o,s=chunkYZFRWYNS_js.a("grid xs:grid-cols-1 gap-2 sm:gap-3",`${r}:grid-cols-${l} `,i);return jsxRuntime.jsx("div",{className:s,children:jsxRuntime.jsx(T,{blocks:t})})}}return null},"GroupBlockComponent"),Te=ut;var yt=["div","h1","h2","h3","h4","h5","h6"],ht=chunkXUSV3KOD_js.a(({block:e,className:i=""})=>{if(e&&e.blockType!=="space")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"space block required"});let n=e;if(!n.level){if(typeof n.sizes=="number")return jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a(`invisible w-[1px] h-${n.sizes}`,i)});let r={};chunkNCPDG735_js.G(r,de,n.sizes);let l="";for(let[s,m]of Object.entries(r))l+=`${s}:h-${m} `;return n.test&&console.log(l),jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("invisible w-[1px] "+l,i)})}let o=yt[n.level],t=n.level===0?"h-4":"";return jsxRuntime.jsx(v,{className:i,children:jsxRuntime.jsx(o,{className:"invisible m-0 "+t,children:"\xA0"})})},"SpaceBlockComponent"),we=ht;var w=new Map;w.set("accordian",fe);w.set("bullet-cards",Ee);w.set("card",ke);w.set("carte-blanche",Ye);w.set("cta",R);w.set("heading",ve);w.set("enh-heading",H);w.set("space",we);w.set("image",q);w.set("video",G);w.set("group",Te);w.set("grid",ee);var Ct=chunkXUSV3KOD_js.a((e,i)=>{w.set(e,i);},"registerBlockType"),oo=chunkXUSV3KOD_js.a((e,i,n,o)=>{if(e.blockType==="element")return e.element;let t=w.get(e.blockType);return t?jsxRuntime.jsx(t,{block:e,className:i,agent:n},o??""):null},"renderBlock"),T=chunkXUSV3KOD_js.a(({blocks:e,className:i="",agent:n})=>e?Array.isArray(e)?e.map((o,t)=>oo(o,i,n,`content-block-${o.blockType}-${t}`)):oo(e,i,n):null,"ContentComponent");var xt=chunkXUSV3KOD_js.a(({children:e,banner:i,className:n=""})=>i?jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("relative",n),style:{height:"100%",width:"100%",backgroundImage:`url(${typeof i=="string"?i:i.poster})`,backgroundSize:"cover",backgroundRepeat:"no-repeat"},children:e}):jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("bg-transparent h-full w-full relative",n),children:e}),"Poster"),ro=xt;var no=chunkXUSV3KOD_js.a(({blocks:e,specifiers:i,agent:n,className:o=""})=>{let t=chunkXUSV3KOD_js.a(l=>chunkNCPDG735_js.F(i,l),"specified"),r="";return n!=="phone"?t("right")?r+="items-end ":t("center")?r+="items-center ":r+="items-start ":r+="items-start ",n!=="phone"?(t("bottom")?r+="justify-end ":t("vert-center")?r+="justify-center ":r+="justify-start ",t("text-align-right")?r+="text-right ":r+="text-left "):t("mobile-vert-center")?r+="justify-center ":r+="justify-start ",n==="phone"&&t("mobile-center-headings")&&(r+="typography-headings:text-center "),jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a("flex flex-col justify-center h-full",r,o),children:jsxRuntime.jsx(T,{blocks:e,agent:n})})},"ContentColumn"),Bt=chunkXUSV3KOD_js.a(({block:e,agent:i,className:n=""})=>{let o="flex flex-col gap-2 sm:gap-4 h-full "+(i!=="phone"?`md:grid md:gap-8 md:grid-cols-${e.contentColumns.length} `:""),t=chunkXUSV3KOD_js.a(r=>{let l=e.mobileOrder?.indexOf(r);return l&&l>=0?`order-${l} md:order-none`:""},"orderclx");return e.contentColumns.length==1?jsxRuntime.jsx(no,{blocks:e.contentColumns[0],specifiers:e.columnSpecifiers?.[0],agent:i,className:chunkYZFRWYNS_js.a(n)}):jsxRuntime.jsx("div",{className:chunkYZFRWYNS_js.a(o,n),children:e.contentColumns.map((r,l)=>jsxRuntime.jsx(no,{blocks:r,specifiers:e.columnSpecifiers?.[l],agent:i,className:t(l)},l))})},"Content"),io=Bt;var Tt=chunkXUSV3KOD_js.a(({block:e,className:i="",initialInView:n})=>{let{ref:o,inView:t}=reactIntersectionObserver.useInView({threshold:.75,initialInView:n});return e?jsxRuntime.jsx("div",{ref:o,className:i,children:t&&jsxRuntime.jsx("video",{autoPlay:true,loop:true,muted:true,style:{margin:0,height:"100%",width:"100%",objectFit:"cover"},children:e.sources?.map((r,l)=>jsxRuntime.jsx("source",{src:r},l))})}):null},"VideoBG"),ao=Tt;var Nt=chunkXUSV3KOD_js.a(e=>{let[i,n]=Ge.useState(false);return Ge.useEffect(()=>{n(true);},[]),i?jsxRuntime.jsx(ao,{...e}):null},"Video"),Rt=chunkXUSV3KOD_js.a(({block:e,agent:i,initialInView:n=false,snapTile:o=false,clx:t="",contentClx:r="",bottom:l})=>{if(e.blockType!=="screenful")return jsxRuntime.jsx(jsxRuntime.Fragment,{children:"screenful block required"});let s=e,m=chunkXUSV3KOD_js.a(()=>!!s.banner&&typeof s.banner=="object","hasBannerVideo"),d=i==="desktop"?"h-full ":"h-[100svh] ",c=chunkXUSV3KOD_js.a(B=>chunkNCPDG735_js.F(s.specifiers,B),"specified"),f=c("narrow-gutters"),u=c("no-gutters"),y=c("full-screen-width"),h=c("vert-center"),g=s.contentColumns.length===1,C=["xl:mx-auto overflow-y-hidden h-full",y?"":"max-w-screen-xl",f?"px-6 lg:px-8 2xl:px-2 pb-4 lg:pb-6 xl:pb-8 "+(o?"pt-15 md:pt-26 lg:pt-28 ":""):u?"px-0 pb-0 "+(o?"pt-11 lg:pt-20 ":""):"px-[8vw] xl:px-[1vw] pb-[8vh] pt-[calc(44px+4vh)] md:pt-[calc(80px+6vh)] ",i&&i!=="desktop"?"pt-15 sm:pt-17 pb-0 px-3 sm:px-8":""];return jsxRuntime.jsxs("section",{...s.anchorId?{id:s.anchorId}:{},className:chunkYZFRWYNS_js.a(o?"snap-start snap-always h-[100vh]":"min-h-screen",l?"flex flex-col":"",t),children:[jsxRuntime.jsx(v,{className:chunkYZFRWYNS_js.a("w-full flex flex-row justify-center self-stretch",o?d:"",l?"grow":""),children:jsxRuntime.jsxs(ro,{banner:s.banner,children:[m()&&jsxRuntime.jsx(Nt,{block:s.banner,className:"absolute top-0 left-0 bottom-0 right-0",initialInView:n}),jsxRuntime.jsxs("div",{className:chunkYZFRWYNS_js.a(...C,o?"absolute left-0 right-0 top-0 bottom-0 ":"flex min-h-screen w-full",r,h?"self-center "+(g?"!py-0":""):""),children:[jsxRuntime.jsx(io,{block:s,agent:i,className:"w-full"}),s.footer]})]})}),l]})},"ScreenfulComponent"),Dt=Rt;
|
|
2
|
+
exports.AccordianBlockComponent=fe;exports.BlocksComponent=T;exports.CTABlockComponent=R;exports.CardBlockComponent=ke;exports.ContentComponent=T;exports.EnhHeadingBlockComponent=H;exports.GroupBlockComponent=Te;exports.HeadingBlockComponent=ve;exports.ImageBlockComponent=q;exports.SPACE_DEFAULTS=de;exports.ScreenfulBlockComponent=Dt;exports.SpaceBlockComponent=we;exports.VideoBlockComponent=G;exports.registerBlockType=Ct;
|
package/dist/blocks/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {a as a$5}from'../chunk-H5T5EPQU.mjs';import'../chunk-72TOQ4DM.mjs';import'../chunk-LO46SH6E.mjs';import'../chunk-OTEETXQN.mjs';import'../chunk-XQ5PD6OG.mjs';import'../chunk-YGT4URRE.mjs';import'../chunk-3SCWILJG.mjs';import'../chunk-JOQWSZRJ.mjs';import'../chunk-VLNUXNN6.mjs';import'../chunk-ODLBKJ43.mjs';import'../chunk-G7QRK2WL.mjs';import'../chunk-5OFYCUOP.mjs';import'../chunk-PYX2CWVB.mjs';import'../chunk-74JIFEFB.mjs';import'../chunk-6JORQMRC.mjs';import'../chunk-3JXTWYX4.mjs';import'../chunk-AAEV2ONV.mjs';import'../chunk-M6TWUBHE.mjs';import'../chunk-HAMILVTN.mjs';import'../chunk-2NRIIJQX.mjs';import'../chunk-3MGIZWAB.mjs';import'../chunk-FLZRGQ3O.mjs';import'../chunk-AKV7ZDJN.mjs';import'../chunk-ZHYR5K4F.mjs';import'../chunk-7SGMZA6O.mjs';import'../chunk-PDWGHI5P.mjs';import'../chunk-BKKW66AM.mjs';import'../chunk-JYLGS2OX.mjs';import'../chunk-NGPIX3K3.mjs';import'../chunk-JWBQUHSX.mjs';import {F,B,y,u,G as G$1}from'../chunk-GIKQMGEY.mjs';import'../chunk-X7RQ2Z7V.mjs';import'../chunk-4Q7ZSPY5.mjs';import {b as b$2,c as c$1,d as d$1,e,f,a as a$4}from'../chunk-7SZPHHBV.mjs';import'../chunk-CY75DPD4.mjs';import'../chunk-V2ROY52O.mjs';import {a as a$2,b as b$1,c,d}from'../chunk-F6AIQXTW.mjs';import'../chunk-SSCZEDKZ.mjs';import'../chunk-WHGMPLBG.mjs';import {a as a$3}from'../chunk-KDE3N3L6.mjs';import'../chunk-OVM7NM4B.mjs';import'../chunk-AVI3IRMQ.mjs';import'../chunk-GRGR3K4M.mjs';import'../chunk-2WJA3HSQ.mjs';import {a as a$1}from'../chunk-3RI2CAUD.mjs';import {a,b}from'../chunk-CWFGLK4T.mjs';import Fe,{useState,useEffect,useLayoutEffect}from'react';import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {SunMedium,Moon,ArrowUpRight,Menu}from'lucide-react';import ke from'next/image';import Vt from'next/link';import Bo from'next/dynamic';var de={xs:2,sm:4,md:5,lg:6,xl:8};var ct=a(({children:e})=>{let[i,n]=useState(false),t=a(r=>{n(r);let l=document.getElementsByTagName("video");Array.from(l).forEach(m=>{r?m.pause():m.play();});},"onOpenChange"),o=Fe.Children.map(e,r=>Fe.cloneElement(r,{open:i,onOpenChange:t}));return jsx(Fragment,{children:o})},"DialogVideoController"),Le=ct;var ft=a(({def:e,className:i="",...n})=>{if(e.action.type==="modal"){let t=e.action.def,o=t.Comp;return jsx(Le,{children:jsx(o,{title:t.title,byline:t.byline,buttonText:e.text,buttonProps:{...e.props,...n,className:a$1(e.props?.className??"",i)},action:t.action,actionEnclosure:t.actionEnclosure,...t.props})})}return jsx(Fragment,{})},"ActionButton"),ge=ft;var v=a(({children:e,className:i="",asTag:n="div",size:t="responsive",...o})=>{let r="typography gap-3 xs:typography-sm sm:typography sm:gap-4 lg:typography-lg lg:gap-5 xl:typography-xl xl:gap-6 typography-headings:font-heading ";switch(t){case "sm":r="typography typography-sm gap-3 typography-headings:font-heading typography-p:text-sm ";break;case "base":r="typography gap-4 typography-headings:font-heading ";break;case "lg":r="typography typography-lg gap-5 typography-headings:font-heading typography-p:text-lg ";break;case "xl":r="typography typography-xl gap-6 typography-headings:font-heading typography-p:text-lg ";break}return jsx(n,{...o,className:a$1(r,i),children:e})},"ApplyTypography");var ht=Fe.forwardRef(({sources:e,...i},n)=>jsx("video",{ref:n,...i,children:e.map((t,o)=>jsx("source",{src:t},o))})),$=ht;var Z={};b(Z,{burger:()=>Menu,gitHub:()=>Ee,linkOut:()=>ArrowUpRight,moon:()=>Moon,sun:()=>SunMedium,youtube:()=>ze});var bt=a(e=>jsx("svg",{viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxs("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"none",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:[jsx("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"red",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"}),jsx("polygon",{points:"36,58.5 59.38,45 36,31.5 ",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"white",fillRule:"nonzero",opacity:1},transform:"matrix(1 0 0 1 0 0)"})]})}),"YouTubeLogo"),ze=bt;var Ct=a(e=>jsx("svg",{viewBox:"0 0 438.549 438.549",...e,children:jsx("path",{fill:"currentColor",d:"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"})}),"GitHub"),Ee=Ct;var wt=a(({block:e,className:i=""})=>{if(e.blockType!=="accordian")return jsx(Fragment,{children:"accordian block required"});let n=e;return jsx(a$2,{type:"single",collapsible:true,className:a$1("w-full border rounded-xl overflow-hidden",i),children:n.items.map((t,o)=>jsxs(b$1,{className:"border-b last:border-0 overflow-hidden",value:`value-${o}`,children:[jsx(c,{className:"px-3 md:px-4 lg:px-6 hover:no-underline hover:bg-level-3",children:jsx(v,{children:jsx("h6",{className:"leading-[1.2] text-[1.05rem] font-semibold ",children:t.trigger})})}),jsx(d,{className:"p-4 border-t bg-level-1",children:jsx(v,{className:"flex flex-col justify-start items-start ",children:typeof t.content=="string"?jsx("p",{children:t.content}):t.content})})]},o))})},"AccordianBlockComponent"),ye=wt;var Dt=a(({icon:e,size:i,agent:n,className:t=""})=>{if(!e)return null;let o=n==="phone";if(typeof e=="string"){let r=o&&i?i*.75:i;return jsx(ke,{src:e,width:r,height:r,alt:"icon",className:t})}return jsx("div",{className:t,children:e})},"InlineIcon"),ee=Dt;var At=a((e,i,n)=>{let t=a(()=>e<n,"isFirstRow"),o=a(()=>e%n===0,"isFirstColumn"),r=a(()=>e===0,"isTLCorner"),l=a(()=>e===n-1,"isTRCorner"),s=a(()=>e===i-n,"isBLCorner"),m=a(()=>e===i-1,"isBRCorner"),d="border-b md:border-r p-4 md:p-8 lg:p-12 ";return t()&&(d+="border-t "),o()&&(d+="md:border-l "),r()?d+="border-t md:rounded-tl-lg ":l()?d+="md:rounded-tr-lg ":s()?d+="md:rounded-bl-lg ":m()&&(d+="md:rounded-br-lg "),d},"getCellClx"),Pt="gap-0 md:gap-0 xl:gap-0",Ge={getCellClx:At,gapClx:Pt};var We=new Map;We.set("style-table-borders",Ge);var $e=a(e=>We.get(e),"default");var he=a((e,i)=>typeof e=="number"?`${i??""}grid-cols-${e} `:`${i??""}grid-cols-${e.columns} ${i??""}gap-${e.gap} `,"gridClx"),Ft=a(({block:e,className:i="",agent:n,children:t})=>{if(e.blockType!=="grid")return jsx(Fragment,{children:"grid block required"});let{cells:o,grid:r,specifiers:l}=e,m=a(f=>F(l,f),"specified")("style-table-borders")?$e("style-table-borders"):void 0,d="grid ";if(n==="phone"){let f=r.mobile?r.mobile:r.at.xs?r.at.xs:r.at.sm??1;d+=he(f);}else {let f=false;for(let[u,y]of Object.entries(r.at))f?d+=he(y,`${u}:`):(d+=he(y),f=true);}let c=a(f=>"","getMutatorCellClx");if(m?.getCellClx){let f=typeof r.at.md=="number"?r.at.md:r.at.md.columns,u=o?.length;if(!f||!u)throw new Error("GridBlockComponent: using mutator, but colCount and / or cellCount is invalid!");c=a(y=>m.getCellClx(y,u,f),"getMutatorCellClx");}return jsx("div",{className:a$1("grid gap-2 md:gap-4 xl:gap-6",d,m?.gapClx??"",i),children:Fe.Children.count(t)>0?t:o?.map((f,u)=>jsx(T,{blocks:f,agent:n,className:c(u)},`cell-${u}`))})},"GridBlockComponent"),te=Ft;var It=a(({block:e,className:i="",agent:n})=>{if(e.blockType!=="bullet-cards")return jsx(Fragment,{children:"bullet cards block required"});let t=e,o=a(m=>F(t.specifiers,m),"specified"),r=o("no-card-border")?"border-0":"md:border",l=o("mobile-small-text")?"text-xs":"text-sm",s=o("border-muted-3")?"md:border-muted-3":o("border-muted-1")?"md:border-muted-1":"md:border-muted-2";return jsx(te,{block:{blockType:"grid",grid:t.grid},className:i,agent:n,children:t.cards.map((m,d)=>jsxs("div",{className:a$1("px-0 sm:px-4 py-1 md:py-4 rounded-lg flex flex-row justify-start items-center not-typography text-foreground",r,s),children:[jsx(ee,{icon:m.icon,size:t.iconSize??28,agent:n,className:"shrink-0 mr-2 md:mr-4 "}),jsx("p",{className:a$1("m-0 sm:text-base",l),children:m.text})]},d))})},"BulletCardsBlockComponent"),Oe=It;var Gt=a(({def:e,onClick:i,size:n,variant:t,icon:o,iconAfter:r,className:l="",children:s})=>{let{href:m,newTab:d,variant:c,size:f,title:u}=e,y={};m.startsWith("http")||m.startsWith("mailto")?(y.rel="noreferrer noopener",(d??true)&&(y.target="_blank")):d&&(y.target="_blank");let h={href:m,...i?{onClick:i}:{},...y},g=a(()=>{if(Fe.Children.count(s)>0)return s;let k=o||(e.icon?e.icon:void 0),B=r||(e.iconAfter?e.iconAfter:false);return jsxs(Fragment,{children:[k&&!B&&jsx("div",{className:"pr-1",children:k}),u&&jsx("div",{children:u}),k&&B&&jsx("div",{className:"pl-1",children:k})]})},"Contents");return jsx(Vt,{className:a$1(a$3({variant:t||c||"link",size:n||f||"default"}),m.length>0||i?"":"pointer-events-none",l),...h,children:jsx(g,{})})},"LinkElement"),U=Gt;var Ot=a(({block:e,className:i="",itemClasses:n="",itemSize:t,renderLink:o,renderButton:r,agent:l})=>{if(e.blockType!=="cta")return jsx(Fragment,{children:"cta block required"});let{elements:s,specifiers:m}=e,d="",c="";F(m,"fill")?(d+="w-full ",c+="grow shrink !min-w-0"):F(m,"left")?d+="md:justify-start ":F(m,"right")?d+="md:justify-end ":d+="md:justify-center ";let f=F(m,"mobile-2-columns"),u=!F(m,"desktop-dont-fill"),y=F(m,"mobile-center-first-if-odd"),h=F(m,"mobile-odd-full-width"),g;if(s.length>1){let B=false;f&&(g="grid grid-cols-2 gap-2 self-stretch ",B=true),u?(g=g??"grid grid-cols-2 gap-2 self-stretch",B=true):g=g?g+"md:flex md:flex-row md:justify-center ":"flex flex-row justify-center ",c+=B?"!min-w-0 ":"";}g=g??"flex flex-col items-stretch gap-2 self-stretch md:flex-row sm:justify-center ";let k=a((B,S)=>{let C=S%2===0?-1:y?0:S-1;return l==="phone"&&f&&B===C?"col-span-2 "+(h?"w-full ":"w-3/5 mx-auto "):""},"getMobileColSpanClx");return jsx("div",{className:a$1(g,d,i),children:s.map((B,S)=>{let C=k(S,s.length);if(B.title){let N=B;return o?o(N,S):jsx(U,{def:N,size:t,className:a$1(c,n,C)},S)}else {let N=B;return r?r(N,S):jsx(ge,{def:N,size:t,className:a$1(c,n,C)},S)}})})},"CtaBlockComponent"),R=Ot;var qt=a(({block:e,className:i="",agent:n,constraintTo:t})=>{if(e.blockType!=="image")return jsx(Fragment,{children:"image block required"});let{src:o,alt:r,dim:l,props:s,sizes:m,fullWidthOnMobile:d,svgFillClass:c,specifiers:f}=e,u=a(C=>F(f,C),"specified"),y={};if(s?.fill===void 0){let C=t?B(l,t):l;y.width=C.w,y.height=C.h;}let h;if(r)h=r;else {let C=o.split("/");h=C.length>0?C[C.length]:o;}let g=c??"";if(n==="phone")if(u("mobile-full-width")||d){let C={style:{width:"100%",height:"auto",maxWidth:"420px"},sizes:"100vw"};return C.width=l.w,C.height=l.h,jsx("div",{className:"flex flex-col items-center w-full",children:jsx(ke,{src:o,alt:h,...C,className:a$1(g,i)})})}else u("mobile-no-scale")||(s?.style?.width==="auto"&&typeof s.style.height=="number"?s.style.height=s.style.height*.75:s?.style?.height==="auto"&&typeof s?.style?.width=="number"?s.style.width=s.style.width*.75:s?.style&&!s?.style.width&&(y.width=l.w*.75,y.height=l.h*.75));m&&(y.sizes=m);let k=F(f,"right"),B$1=F(f,"center"),S=k?"self-end":B$1?"self-center":"self-start";return s?.fill?jsx("div",{className:"relative w-full h-full",children:jsx(ke,{src:o,alt:h,...y,...s,className:a$1(g,"max-w-[70vw] mx-auto",i)})}):jsx(ke,{src:o,alt:h,...y,...s,className:a$1(S,g,"max-w-[70vw] mx-auto",i)})},"ImageBlockComponent"),q=qt;var Yt=a(({block:e,className:i="",agent:n,usePoster:t=false,size:o="md",constrainTo:r})=>{let[l,s]=useState(void 0),m=a(()=>{s({w:window.innerWidth,h:window.innerHeight});},"onResize");if(useEffect(()=>{if(window&&n==="desktop")return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[typeof window<"u"]),useLayoutEffect(()=>{m();},[]),e.blockType!=="video")return jsx(Fragment,{children:"video block required"});let c=e,f=c.dim.md.w/c.dim.md.h;if(n==="phone"){if(c.sizing?.mobile?.vw)if(l){let g=c.sizing.mobile.vw/100*l.w,k={h:g/f,w:g};return jsx($,{className:a$1("mx-auto",i),sources:c.sources,width:k.w,height:k.h,...c.videoProps})}else {let g=`${c.sizing.mobile.vw}vw`;return jsx("div",{className:"dummy-div",style:{maxWidth:"100%",maxHeight:"100%",width:g,height:`calc(${g}/${f})`,backgroundImage:`url(${c.poster})`,backgroundSize:"contain",backgroundRepeat:"no-repeat"}})}}else if(c.sizing?.vh)if(l){let g=c.sizing.vh/100*l.h,k={h:g,w:g*f};return jsx($,{className:a$1("mx-auto",i),sources:c.sources,width:k.w,height:k.h,...c.videoProps})}else {let g=`${c.sizing.vh}vh`;return jsx("div",{className:"dummy-div",style:{maxWidth:"100%",maxHeight:"100%",height:g,width:`calc(${g}*${f})`,backgroundImage:`url(${c.poster})`,backgroundSize:"contain",backgroundRepeat:"no-repeat"}})}let u=c.dim,y=o&&o in u?u[o]:u.md,h=r?B(y,r):y;return t?jsx(ke,{src:c.poster,alt:"image",width:h.w,height:h.h,className:i}):jsx($,{className:a$1("mx-auto",i),sources:c.sources,width:h.w,height:h.h,...c.videoProps})},"VideoBlockComponent"),G=Yt;var Ue=a(e=>y(e,i=>u(i,"typography"),i=>{let n=i.split("-");return n[n.length-1]},"responsive"),"getTypographySize");var Zt=a(({def:e})=>jsx(U,{def:e,className:"justify-between",variant:"link",icon:jsx(Z.linkOut,{className:"w-[18px] h-[18px]"}),iconAfter:true}),"ArrowLinkElement"),_e=Zt;var eo=a(({block:e$1,className:i="",contentClassName:n=""})=>{if(e$1.blockType!=="card")return jsx(Fragment,{children:"card block required"});let t=e$1,o=a(P=>t.specifiers?.includes(P),"has"),r=o("ghost"),l=(o("content-left")?"items-start ":" items-center ")+(o("content-top")?"!justify-start":"")+n,s=o("appear-disabled")?" border-muted-4":" border-muted-3",m=o("no-outer-border")||r?" border-0":"",d=r?" border-0":"",c=r?" px-0 py-0":" px-6 py-3",f$1=r?" gap-2":"",u=o("appear-disabled")?" text-muted-2":"",y=o("appear-disabled")?" typography-p:text-muted-2":"",h=o("bg-card")?" bg-level-1":"",g=(o("heading-style-title")?" font-heading text-base leading-tight":"")+(r?" text-left md:text-xl":""),k=t.specifiers?Ue(t.specifiers):"responsive",B=k==="sm"?"typography-sm typography-p:text-sm ":k==="lg"?"typography-lg ":"",S=o("content-before"),C=o("icon-inline"),N=o("reveal-content-on-hover"),Ne=a(({inContent:P=false,className:ie=""})=>t.title||t.byline||t.icon?jsxs(b$2,{className:"not-typography text-accent"+u+c+d+ie,children:[jsxs("div",{className:C||P?"flex flex-row justify-start items-end my-3":"",children:[t.icon&&!t.iconAfter&&jsx("div",{className:C?"mr-1":"mb-2",children:t.icon}),t.title&&jsx(c$1,{className:"text-center text-lg font-medium"+g+(C?" md:text-xl/none":""),children:t.title}),t.icon&&t.iconAfter&&jsx("div",{className:C?"ml-1":"my-1",children:t.icon})]}),t.byline&&jsx(d$1,{children:t.byline})]}):null,"Header"),at=a(({className:P=""})=>o("media-left")?jsxs(e,{className:"flex flex-row justify-start items-stretch p-0 grow "+s+h+l+P,children:[t.media&&jsx("div",{className:"box-content grow-0 not-typography"+c,style:{width:t.media.dim.sm.w},children:jsx(G,{block:t.media,usePoster:o("video-use-poster"),size:"sm",className:o("appear-disabled")?"opacity-[0.6]":""})}),t.content&&jsx(v,{className:"grow border-l flex flex-col justify-center "+y+c+s+l,size:k,children:typeof t.content=="string"?jsx("p",{children:t.content}):t.content})]}):jsxs(e,{className:"grow typography flex flex-col justify-center "+B+y+h+c+l+(o("full-width")?" p-0 ":" ")+P,children:[N&&jsx(Ne,{inContent:true}),t.content&&S&&(typeof t.content=="string"?jsx("p",{children:t.content}):t.content),t.media&&(t.media.blockType==="image"?jsx(q,{block:t.media}):jsx(G,{block:t.media})),t.content&&!S&&(typeof t.content=="string"?jsx("p",{children:t.content}):t.content)]}),"MediaAndContent"),lt=a(()=>t.cta?o("links-w-arrow")?jsx(f,{className:"typography typography-a:text-muted-2 typography-a:hover:text-muted-1 typography-a:text-xs typography-a:no-underline typography-a:hover:underline flex flex-col justify-start items-stretch "+c,children:jsx(R,{block:t.cta,renderLink:(P,ie)=>jsx(_e,{def:P},ie)})}):jsx(f,{className:"grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center "+c,children:jsx(R,{block:t.cta})}):null,"Footer");return jsxs(a$4,{className:a$1("flex flex-col self-stretch "+(N?"group relative":"")+s+m+h+f$1,i),children:[jsx(Ne,{className:N?" absolute top-[0px] left-[0px] w-full hidden ":""}),jsx(at,{className:N?" bg-gradient-to-t from-secondary to-65% items-start justify-start rounded-lg p-4 transition-opacity duration-500 ease-out opacity-100 ":""}),jsx(lt,{})]})},"CardBlockComponent"),Ce=eo;var oo=a(({block:e$1,agent:i,className:n,headingclx:t,contentclx:o,footerclx:r})=>jsxs(Fragment,{children:[jsxs("div",{className:"flex gap-2",children:[e$1.topContent&&jsx(T,{blocks:e$1.topContent,agent:i,className:"self-center ml-6 mt-6"}),jsxs("div",{className:"flex flex-col",children:[e$1.heading&&jsx(b$2,{className:a$1("typography-img:m-0",t),children:jsx(E,{block:e$1.heading,className:"text-accent",agent:i})}),e$1.content&&jsx(e,{className:a$1("typography flex flex-col justify-start",o,n),children:jsx(T,{blocks:e$1.content,agent:i})})]})]}),e$1.cta&&jsx(f,{className:a$1("grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center mx-auto",r),children:jsx(R,{block:e$1.cta,agent:i})})]}),"VariantContentLeft"),je=oo;var no=a((e,i)=>{let n="";if(e==="big-padding")switch(i){case "header":n="md:p-8 lg:p-12 xl:p-16";break}if(e==="big-padding-content")switch(i){case "content":n="md:p-8 lg:p-12 xl:p-16";break}else if(e==="no-inner-borders")switch(i){case "header":n="border-none";break;case "footer":n="border-t-0";break}return n},"_getClx"),io=a(({block:e$1,className:i="",agent:n})=>{if(e$1.blockType!=="carte-blanche")return jsx(Fragment,{children:"carte blanche block required"});let t=e$1,o=a(u=>F(t.specifiers,u),"specified"),r=a((u,y)=>o(u)?no(u,y):"","getClx"),l=[r("big-padding","header"),r("no-inner-borders","header")].join(" "),s=[r("big-padding-content","content")].join(" "),m=[r("no-inner-borders","footer")].join(" "),d=o("no-outer-borders"),c=o("variant-content-left"),f$1=o("variant-mobile-content-left");return jsx(a$4,{className:a$1("flex flex-col",i,d?"border-none":""),children:c||f$1&&n==="phone"?jsx(je,{block:t,agent:n,className:i,headingclx:l,contentclx:s,footerclx:m}):jsxs(Fragment,{children:[(t.heading||t.topContent)&&jsxs(b$2,{className:a$1("typography-img:m-0",l),children:[t.topContent&&jsx(T,{blocks:t.topContent,agent:n,className:""}),t.heading&&jsx(E,{block:t.heading,className:"text-accent",agent:n})]}),t.content&&jsx(e,{className:a$1("typography flex flex-col justify-center",s,i),children:jsx(T,{blocks:t.content,agent:n})}),t.cta&&jsx(f,{className:a$1("grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center",m),children:jsx(R,{block:t.cta,agent:n})})]})})},"CarteBlancheBlockComponent"),Xe=io;var j={preheading:{tag:"h4",mb:2},heading:{tag:"h1",mb:2},byline:{tag:"h6"}},Be=a(e=>{switch(e){case 1:return "h1";case 2:return "h2";case 3:return "h3";case 4:return "h4";case 5:return "h5";case 6:return "h6"}return "p"},"tagFromLevel"),Ye=a(({asTag:e,text:i,icon:n,iconLeft:t=true,className:o=""})=>jsx(e,{className:o,children:i}),"Element"),ao=a((e,i)=>{let n=e("mobile-heading-centered"),t=e("mobile-heading-left"),o=e("center"),r=e("right"),l=e("byline-center"),s=e("byline-right"),m=e("mobile-byline-left"),d="",c=l?"self-center !text-center":s?"self-end !text-right":"self-start !text-left";if(i==="phone")t?d="self-start text-left":d=n||o?"self-center text-center":r?"self-end text-right":"self-start text-left",m&&(c="self-start !text-left");else {let f=o?"self-center text-center":r?"self-end text-right":"self-start text-left";n?d="self-center text-center md:"+f.split(" ").join(" md:"):d=f;}return {preheading:d,heading:d,byline:c}},"getPositionClx"),lo=a(({block:e,className:i="",agent:n,applyTypography:t=true,extraSpecifiers:o=""})=>{if(e.blockType!=="enh-heading")return jsx(Fragment,{children:"enhance heading block required"});let r=e,l=a(u=>F(r.specifiers+o,u),"specified"),m=l("preheading-heading-font")?"font-heading":"",d=l("align-middle")?"my-auto":"",c=ao(l,n),f=a(()=>{let u=[{tag:r.preheading?r.preheading.level!==void 0?Be(r.preheading.level):j.preheading.tag:void 0,clx:r.preheading?(r.preheading.mb!==void 0?`mb-${r.preheading.mb}`:`mb-${j.preheading.mb}`)+" "+c.preheading+" "+m:c.preheading+" "+m,text:r.preheading?r.preheading.text:void 0},{tag:r.heading.level!==void 0?Be(r.heading.level):j.heading.tag,clx:(r.heading.mb!==void 0?`mb-${r.heading.mb}`:`mb-${j.heading.mb}`)+" "+c.heading,text:r.heading.text},{tag:r.byline?r.byline.level!==void 0?Be(r.byline.level):j.byline.tag:void 0,clx:c.byline,text:r.byline?r.byline.text:void 0}],y=false;return jsx(Fragment,{children:u.map(({tag:h,clx:g,text:k},B)=>h?r.icon&&!y?(y=true,jsxs("div",{className:a$1("flex flex-row items-center gap-2 sm:gap-4",g),children:[jsx(ee,{icon:r.icon,size:r.iconSize??32,agent:n}),jsx(Ye,{asTag:h,text:k})]},`div-${B}`)):jsx(Ye,{asTag:h,text:k,className:g},`el-${B}`):null)})},"Inner");return t?jsx(v,{className:a$1("flex flex-col w-full !gap-0",i,d),children:jsx(f,{})}):jsx("div",{className:a$1("flex flex-col w-full gap-0",i,d),children:jsx(f,{})})},"EnhHeadingBlockComponent"),E=lo;var po=a(({block:e,className:i=""})=>{if(e.blockType!=="heading")return jsx(Fragment,{children:"heading block required"});let n=e,t,o;switch(n.bylineLevel){case 0:o="p";break;case 1:o="h1";break;case 2:o="h2";break;case 3:o="h3";break;case 4:o="h4";break;case 5:o="h5";break;case 6:o="h6";break}switch(n.level){case 0:t="p",o=o??"p";break;case 1:t="h1",o=o??"h3";break;case 2:t="h2",o=o??"h4";break;case 4:t="h4",o=o??"h6";break;case 5:t="h5",o=o??"p";break;case 6:t="h6",o=o??"p";break;default:t="h3",o=o??"h5";}return jsxs(v,{className:i,children:[jsx(t,{children:n.heading}),n.spaceBetween&&jsx("div",{className:`w-[1px] h-${n.spaceBetween}`}),n.byline&&jsx(o,{children:n.byline}),n.spaceAfter&&jsx("div",{className:`w-[1px] h-${n.spaceAfter}`})]})},"HeadingBlockComponent"),ve=po;var fo=a(e=>{let n=e.split(" ").find(t=>t.startsWith("layout-"));if(n){let t=n.split("-"),o=t[1],r={};switch(o){case "grid":{let l=parseInt(t[2],10),s=t[4];if(Number.isNaN(l)||l<2||l>6||!a$5.includes(s))return;r={columns:l,starting:s};}break}return {layout:o,spec:r}}},"getLayoutInfo"),go=a(({block:e,className:i=""})=>{if(e.blockType!=="group")return jsx(Fragment,{children:"group block required"});let n=e;if(n.specifiers?.includes("layout")){let t=fo(n.specifiers);if(!t)return jsx(Fragment,{children:"invalid or missing layout specifier in group block!"});if(t.layout==="grid"){let{elements:o}=n,{spec:{starting:r,columns:l}}=t,s=a$1("grid xs:grid-cols-1 gap-2 sm:gap-3",`${r}:grid-cols-${l} `,i);return jsx("div",{className:s,children:jsx(T,{blocks:o})})}}return null},"GroupBlockComponent"),Te=go;var uo=["div","h1","h2","h3","h4","h5","h6"],yo=a(({block:e,className:i=""})=>{if(e&&e.blockType!=="space")return jsx(Fragment,{children:"space block required"});let n=e;if(!n.level){if(typeof n.sizes=="number")return jsx("div",{className:a$1(`invisible w-[1px] h-${n.sizes}`,i)});let r={};G$1(r,de,n.sizes);let l="";for(let[s,m]of Object.entries(r))l+=`${s}:h-${m} `;return n.test&&console.log(l),jsx("div",{className:a$1("invisible w-[1px] "+l,i)})}let t=uo[n.level],o=n.level===0?"h-4":"";return jsx(v,{className:i,children:jsx(t,{className:"invisible m-0 "+o,children:"\xA0"})})},"SpaceBlockComponent"),we=yo;var w=new Map;w.set("accordian",ye);w.set("bullet-cards",Oe);w.set("card",Ce);w.set("carte-blanche",Xe);w.set("cta",R);w.set("heading",ve);w.set("enh-heading",E);w.set("space",we);w.set("image",q);w.set("video",G);w.set("group",Te);w.set("grid",te);var bo=a((e,i)=>{w.set(e,i);},"registerBlockType"),et=a((e,i,n,t)=>{if(e.blockType==="element")return e.element;let o=w.get(e.blockType);return o?jsx(o,{block:e,className:i,agent:n},t??""):null},"renderBlock"),T=a(({blocks:e,className:i="",agent:n})=>e?Array.isArray(e)?e.map((t,o)=>et(t,i,n,`content-block-${t.blockType}-${o}`)):et(e,i,n):null,"ContentComponent");var Co=a(({children:e,banner:i,className:n=""})=>i?jsx("div",{className:a$1("relative",n),style:{height:"100%",width:"100%",backgroundImage:`url(${typeof i=="string"?i:i.poster})`,backgroundSize:"cover",backgroundRepeat:"no-repeat"},children:e}):jsx("div",{className:a$1("bg-transparent h-full w-full relative",n),children:e}),"Poster"),ot=Co;var rt=a(({blocks:e,specifiers:i,agent:n,className:t=""})=>{let o=a(l=>F(i,l),"specified"),r="";return n!=="phone"?o("right")?r+="items-end ":o("center")?r+="items-center ":r+="items-start ":r+="items-start ",n!=="phone"?(o("bottom")?r+="justify-end ":o("vert-center")?r+="justify-center ":r+="justify-start ",o("text-align-right")?r+="text-right ":r+="text-left "):o("mobile-vert-center")?r+="justify-center ":r+="justify-start ",n==="phone"&&o("mobile-center-headings")&&(r+="typography-headings:text-center "),jsx("div",{className:a$1("flex flex-col justify-center h-full",r,t),children:jsx(T,{blocks:e,agent:n})})},"ContentColumn"),xo=a(({block:e,agent:i,className:n=""})=>{let t="flex flex-col gap-2 sm:gap-4 h-full "+(i!=="phone"?`md:grid md:gap-8 md:grid-cols-${e.contentColumns.length} `:""),o=a(r=>{let l=e.mobileOrder?.indexOf(r);return l&&l>=0?`order-${l} md:order-none`:""},"orderclx");return e.contentColumns.length==1?jsx(rt,{blocks:e.contentColumns[0],specifiers:e.columnSpecifiers?.[0],agent:i,className:a$1(n)}):jsx("div",{className:a$1(t,n),children:e.contentColumns.map((r,l)=>jsx(rt,{blocks:r,specifiers:e.columnSpecifiers?.[l],agent:i,className:o(l)},l))})},"Content"),nt=xo;var vo=Bo(()=>import('../video-background-JPMYZ6FQ.mjs'),{ssr:false,loading:a(()=>jsx(Fragment,{}),"loading")}),To=a(({block:e,agent:i,initialInView:n=false,snapTile:t=false,clx:o="",contentClx:r="",bottom:l})=>{if(e.blockType!=="screenful")return jsx(Fragment,{children:"screenful block required"});let s=e,m=a(()=>!!s.banner&&typeof s.banner=="object","hasBannerVideo"),d=i==="desktop"?"h-full ":"h-[100svh] ",c=a(B=>F(s.specifiers,B),"specified"),f=c("narrow-gutters"),u=c("no-gutters"),y=c("full-screen-width"),h=c("vert-center"),g=s.contentColumns.length===1,k=["xl:mx-auto overflow-y-hidden h-full",y?"":"max-w-screen-xl",f?"px-6 lg:px-8 2xl:px-2 pb-4 lg:pb-6 xl:pb-8 "+(t?"pt-15 md:pt-26 lg:pt-28 ":""):u?"px-0 pb-0 "+(t?"pt-11 lg:pt-20 ":""):"px-[8vw] xl:px-[1vw] pb-[8vh] pt-[calc(44px+4vh)] md:pt-[calc(80px+6vh)] ",i&&i!=="desktop"?"pt-15 sm:pt-17 pb-0 px-3 sm:px-8":""];return jsxs("section",{...s.anchorId?{id:s.anchorId}:{},className:a$1(t?"snap-start snap-always h-[100vh]":"min-h-screen",l?"flex flex-col":"",o),children:[jsx(v,{className:a$1("w-full flex flex-row justify-center self-stretch",t?d:"",l?"grow":""),children:jsxs(ot,{banner:s.banner,children:[m()&&jsx(vo,{block:s.banner,className:"absolute top-0 left-0 bottom-0 right-0",initialInView:n}),jsxs("div",{className:a$1(...k,t?"absolute left-0 right-0 top-0 bottom-0 ":"flex min-h-screen w-full",r,h?"self-center "+(g?"!py-0":""):""),children:[jsx(nt,{block:s,agent:i,className:"w-full"}),s.footer]})]})}),l]})},"ScreenfulComponent"),wo=To;
|
|
2
|
-
export{
|
|
1
|
+
import {a as a$5}from'../chunk-H5T5EPQU.mjs';import'../chunk-72TOQ4DM.mjs';import'../chunk-LO46SH6E.mjs';import'../chunk-OTEETXQN.mjs';import'../chunk-XQ5PD6OG.mjs';import'../chunk-YGT4URRE.mjs';import'../chunk-3SCWILJG.mjs';import'../chunk-JOQWSZRJ.mjs';import'../chunk-VLNUXNN6.mjs';import'../chunk-ODLBKJ43.mjs';import'../chunk-G7QRK2WL.mjs';import'../chunk-5OFYCUOP.mjs';import'../chunk-PYX2CWVB.mjs';import'../chunk-74JIFEFB.mjs';import'../chunk-6JORQMRC.mjs';import'../chunk-3JXTWYX4.mjs';import'../chunk-AAEV2ONV.mjs';import'../chunk-M6TWUBHE.mjs';import'../chunk-HAMILVTN.mjs';import'../chunk-2NRIIJQX.mjs';import'../chunk-3MGIZWAB.mjs';import'../chunk-FLZRGQ3O.mjs';import'../chunk-AKV7ZDJN.mjs';import'../chunk-ZHYR5K4F.mjs';import'../chunk-7SGMZA6O.mjs';import'../chunk-PDWGHI5P.mjs';import'../chunk-BKKW66AM.mjs';import'../chunk-JYLGS2OX.mjs';import'../chunk-NGPIX3K3.mjs';import'../chunk-JWBQUHSX.mjs';import {F,B,y,u,G as G$1}from'../chunk-GIKQMGEY.mjs';import'../chunk-X7RQ2Z7V.mjs';import'../chunk-4Q7ZSPY5.mjs';import {b as b$2,c as c$1,d as d$1,e,f,a as a$4}from'../chunk-7SZPHHBV.mjs';import'../chunk-CY75DPD4.mjs';import'../chunk-V2ROY52O.mjs';import {a as a$2,b,c,d}from'../chunk-F6AIQXTW.mjs';import'../chunk-SSCZEDKZ.mjs';import'../chunk-WHGMPLBG.mjs';import {a as a$3}from'../chunk-KDE3N3L6.mjs';import'../chunk-OVM7NM4B.mjs';import'../chunk-AVI3IRMQ.mjs';import'../chunk-GRGR3K4M.mjs';import'../chunk-2WJA3HSQ.mjs';import {a as a$1}from'../chunk-3RI2CAUD.mjs';import {a,b as b$1}from'../chunk-CWFGLK4T.mjs';import {jsx,Fragment,jsxs}from'react/jsx-runtime';import Ge,{useState,useEffect,useLayoutEffect}from'react';import Ce from'next/image';import {SunMedium,Moon,ArrowUpRight,Menu}from'lucide-react';import Wo from'next/link';import {useInView}from'react-intersection-observer';var de={xs:2,sm:4,md:5,lg:6,xl:8};var v=a(({children:e,className:i="",asTag:n="div",size:o="responsive",...t})=>{let r="typography gap-3 xs:typography-sm sm:typography sm:gap-4 lg:typography-lg lg:gap-5 xl:typography-xl xl:gap-6 typography-headings:font-heading ";switch(o){case "sm":r="typography typography-sm gap-3 typography-headings:font-heading typography-p:text-sm ";break;case "base":r="typography gap-4 typography-headings:font-heading ";break;case "lg":r="typography typography-lg gap-5 typography-headings:font-heading typography-p:text-lg ";break;case "xl":r="typography typography-xl gap-6 typography-headings:font-heading typography-p:text-lg ";break}return jsx(n,{...t,className:a$1(r,i),children:e})},"ApplyTypography");var fo=Ge.forwardRef(({sources:e,...i},n)=>jsx("video",{ref:n,...i,children:e.map((o,t)=>jsx("source",{src:o},t))})),$=fo;var go=a(({block:e,className:i=""})=>{if(e.blockType!=="accordian")return jsx(Fragment,{children:"accordian block required"});let n=e;return jsx(a$2,{type:"single",collapsible:true,className:a$1("w-full border rounded-xl overflow-hidden",i),children:n.items.map((o,t)=>jsxs(b,{className:"border-b last:border-0 overflow-hidden",value:`value-${t}`,children:[jsx(c,{className:"px-3 md:px-4 lg:px-6 hover:no-underline hover:bg-level-3",children:jsx(v,{children:jsx("h6",{className:"leading-[1.2] text-[1.05rem] font-semibold ",children:o.trigger})})}),jsx(d,{className:"p-4 border-t bg-level-1",children:jsx(v,{className:"flex flex-col justify-start items-start ",children:typeof o.content=="string"?jsx("p",{children:o.content}):o.content})})]},t))})},"AccordianBlockComponent"),fe=go;var bo=a(({icon:e,size:i,agent:n,className:o=""})=>{if(!e)return null;let t=n==="phone";if(typeof e=="string"){let r=t&&i?i*.75:i;return jsx(Ce,{src:e,width:r,height:r,alt:"icon",className:o})}return jsx("div",{className:o,children:e})},"InlineIcon"),Z=bo;var Co=a((e,i,n)=>{let o=a(()=>e<n,"isFirstRow"),t=a(()=>e%n===0,"isFirstColumn"),r=a(()=>e===0,"isTLCorner"),l=a(()=>e===n-1,"isTRCorner"),s=a(()=>e===i-n,"isBLCorner"),m=a(()=>e===i-1,"isBRCorner"),d="border-b md:border-r p-4 md:p-8 lg:p-12 ";return o()&&(d+="border-t "),t()&&(d+="md:border-l "),r()?d+="border-t md:rounded-tl-lg ":l()?d+="md:rounded-tr-lg ":s()?d+="md:rounded-bl-lg ":m()&&(d+="md:rounded-br-lg "),d},"getCellClx"),ko="gap-0 md:gap-0 xl:gap-0",ze={getCellClx:Co,gapClx:ko};var Ve=new Map;Ve.set("style-table-borders",ze);var He=a(e=>Ve.get(e),"default");var ge=a((e,i)=>typeof e=="number"?`${i??""}grid-cols-${e} `:`${i??""}grid-cols-${e.columns} ${i??""}gap-${e.gap} `,"gridClx"),Bo=a(({block:e,className:i="",agent:n,children:o})=>{if(e.blockType!=="grid")return jsx(Fragment,{children:"grid block required"});let{cells:t,grid:r,specifiers:l}=e,m=a(f=>F(l,f),"specified")("style-table-borders")?He("style-table-borders"):void 0,d="grid ";if(n==="phone"){let f=r.mobile?r.mobile:r.at.xs?r.at.xs:r.at.sm??1;d+=ge(f);}else {let f=false;for(let[u,y]of Object.entries(r.at))f?d+=ge(y,`${u}:`):(d+=ge(y),f=true);}let c=a(f=>"","getMutatorCellClx");if(m?.getCellClx){let f=typeof r.at.md=="number"?r.at.md:r.at.md.columns,u=t?.length;if(!f||!u)throw new Error("GridBlockComponent: using mutator, but colCount and / or cellCount is invalid!");c=a(y=>m.getCellClx(y,u,f),"getMutatorCellClx");}return jsx("div",{className:a$1("grid gap-2 md:gap-4 xl:gap-6",d,m?.gapClx??"",i),children:Ge.Children.count(o)>0?o:t?.map((f,u)=>jsx(T,{blocks:f,agent:n,className:c(u)},`cell-${u}`))})},"GridBlockComponent"),ee=Bo;var To=a(({block:e,className:i="",agent:n})=>{if(e.blockType!=="bullet-cards")return jsx(Fragment,{children:"bullet cards block required"});let o=e,t=a(m=>F(o.specifiers,m),"specified"),r=t("no-card-border")?"border-0":"md:border",l=t("mobile-small-text")?"text-xs":"text-sm",s=t("border-muted-3")?"md:border-muted-3":t("border-muted-1")?"md:border-muted-1":"md:border-muted-2";return jsx(ee,{block:{blockType:"grid",grid:o.grid},className:i,agent:n,children:o.cards.map((m,d)=>jsxs("div",{className:a$1("px-0 sm:px-4 py-1 md:py-4 rounded-lg flex flex-row justify-start items-center not-typography text-foreground",r,s),children:[jsx(Z,{icon:m.icon,size:o.iconSize??28,agent:n,className:"shrink-0 mr-2 md:mr-4 "}),jsx("p",{className:a$1("m-0 sm:text-base",l),children:m.text})]},d))})},"BulletCardsBlockComponent"),Ee=To;var Ro=a(({children:e})=>{let[i,n]=useState(false),o=a(r=>{n(r);let l=document.getElementsByTagName("video");Array.from(l).forEach(m=>{r?m.pause():m.play();});},"onOpenChange"),t=Ge.Children.map(e,r=>Ge.cloneElement(r,{open:i,onOpenChange:o}));return jsx(Fragment,{children:t})},"DialogVideoController"),We=Ro;var Po=a(({def:e,className:i="",...n})=>{if(e.action.type==="modal"){let o=e.action.def,t=o.Comp;return jsx(We,{children:jsx(t,{title:o.title,byline:o.byline,buttonText:e.text,buttonProps:{...e.props,...n,className:a$1(e.props?.className??"",i)},action:o.action,actionEnclosure:o.actionEnclosure,...o.props})})}return jsx(Fragment,{})},"ActionButton"),he=Po;var te={};b$1(te,{burger:()=>Menu,gitHub:()=>Ue,linkOut:()=>ArrowUpRight,moon:()=>Moon,sun:()=>SunMedium,youtube:()=>$e});var Fo=a(e=>jsx("svg",{viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxs("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"none",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:[jsx("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"red",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"}),jsx("polygon",{points:"36,58.5 59.38,45 36,31.5 ",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"white",fillRule:"nonzero",opacity:1},transform:"matrix(1 0 0 1 0 0)"})]})}),"YouTubeLogo"),$e=Fo;var Io=a(e=>jsx("svg",{viewBox:"0 0 438.549 438.549",...e,children:jsx("path",{fill:"currentColor",d:"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"})}),"GitHub"),Ue=Io;var $o=a(({def:e,onClick:i,size:n,variant:o,icon:t,iconAfter:r,className:l="",children:s})=>{let{href:m,newTab:d,variant:c,size:f,title:u}=e,y={};m.startsWith("http")||m.startsWith("mailto")?(y.rel="noreferrer noopener",(d??true)&&(y.target="_blank")):d&&(y.target="_blank");let h={href:m,...i?{onClick:i}:{},...y},g=a(()=>{if(Ge.Children.count(s)>0)return s;let C=t||(e.icon?e.icon:void 0),B=r||(e.iconAfter?e.iconAfter:false);return jsxs(Fragment,{children:[C&&!B&&jsx("div",{className:"pr-1",children:C}),u&&jsx("div",{children:u}),C&&B&&jsx("div",{className:"pl-1",children:C})]})},"Contents");return jsx(Wo,{className:a$1(a$3({variant:o||c||"link",size:n||f||"default"}),m.length>0||i?"":"pointer-events-none",l),...h,children:jsx(g,{})})},"LinkElement"),U=$o;var qo=a(({block:e,className:i="",itemClasses:n="",itemSize:o,renderLink:t,renderButton:r,agent:l})=>{if(e.blockType!=="cta")return jsx(Fragment,{children:"cta block required"});let{elements:s,specifiers:m}=e,d="",c="";F(m,"fill")?(d+="w-full ",c+="grow shrink !min-w-0"):F(m,"left")?d+="md:justify-start ":F(m,"right")?d+="md:justify-end ":d+="md:justify-center ";let f=F(m,"mobile-2-columns"),u=!F(m,"desktop-dont-fill"),y=F(m,"mobile-center-first-if-odd"),h=F(m,"mobile-odd-full-width"),g;if(s.length>1){let B=false;f&&(g="grid grid-cols-2 gap-2 self-stretch ",B=true),u?(g=g??"grid grid-cols-2 gap-2 self-stretch",B=true):g=g?g+"md:flex md:flex-row md:justify-center ":"flex flex-row justify-center ",c+=B?"!min-w-0 ":"";}g=g??"flex flex-col items-stretch gap-2 self-stretch md:flex-row sm:justify-center ";let C=a((B,S)=>{let k=S%2===0?-1:y?0:S-1;return l==="phone"&&f&&B===k?"col-span-2 "+(h?"w-full ":"w-3/5 mx-auto "):""},"getMobileColSpanClx");return jsx("div",{className:a$1(g,d,i),children:s.map((B,S)=>{let k=C(S,s.length);if(B.title){let N=B;return t?t(N,S):jsx(U,{def:N,size:o,className:a$1(c,n,k)},S)}else {let N=B;return r?r(N,S):jsx(he,{def:N,size:o,className:a$1(c,n,k)},S)}})})},"CtaBlockComponent"),R=qo;var jo=a(({block:e,className:i="",agent:n,constraintTo:o})=>{if(e.blockType!=="image")return jsx(Fragment,{children:"image block required"});let{src:t,alt:r,dim:l,props:s,sizes:m,fullWidthOnMobile:d,svgFillClass:c,specifiers:f}=e,u=a(k=>F(f,k),"specified"),y={};if(s?.fill===void 0){let k=o?B(l,o):l;y.width=k.w,y.height=k.h;}let h;if(r)h=r;else {let k=t.split("/");h=k.length>0?k[k.length]:t;}let g=c??"";if(n==="phone")if(u("mobile-full-width")||d){let k={style:{width:"100%",height:"auto",maxWidth:"420px"},sizes:"100vw"};return k.width=l.w,k.height=l.h,jsx("div",{className:"flex flex-col items-center w-full",children:jsx(Ce,{src:t,alt:h,...k,className:a$1(g,i)})})}else u("mobile-no-scale")||(s?.style?.width==="auto"&&typeof s.style.height=="number"?s.style.height=s.style.height*.75:s?.style?.height==="auto"&&typeof s?.style?.width=="number"?s.style.width=s.style.width*.75:s?.style&&!s?.style.width&&(y.width=l.w*.75,y.height=l.h*.75));m&&(y.sizes=m);let C=F(f,"right"),B$1=F(f,"center"),S=C?"self-end":B$1?"self-center":"self-start";return s?.fill?jsx("div",{className:"relative w-full h-full",children:jsx(Ce,{src:t,alt:h,...y,...s,className:a$1(g,"max-w-[70vw] mx-auto",i)})}):jsx(Ce,{src:t,alt:h,...y,...s,className:a$1(S,g,"max-w-[70vw] mx-auto",i)})},"ImageBlockComponent"),q=jo;var Zo=a(({block:e,className:i="",agent:n,usePoster:o=false,size:t="md",constrainTo:r})=>{let[l,s]=useState(void 0),m=a(()=>{s({w:window.innerWidth,h:window.innerHeight});},"onResize");if(useEffect(()=>{if(window&&n==="desktop")return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[typeof window<"u"]),useLayoutEffect(()=>{m();},[]),e.blockType!=="video")return jsx(Fragment,{children:"video block required"});let c=e,f=c.dim.md.w/c.dim.md.h;if(n==="phone"){if(c.sizing?.mobile?.vw)if(l){let g=c.sizing.mobile.vw/100*l.w,C={h:g/f,w:g};return jsx($,{className:a$1("mx-auto",i),sources:c.sources,width:C.w,height:C.h,...c.videoProps})}else {let g=`${c.sizing.mobile.vw}vw`;return jsx("div",{className:"dummy-div",style:{maxWidth:"100%",maxHeight:"100%",width:g,height:`calc(${g}/${f})`,backgroundImage:`url(${c.poster})`,backgroundSize:"contain",backgroundRepeat:"no-repeat"}})}}else if(c.sizing?.vh)if(l){let g=c.sizing.vh/100*l.h,C={h:g,w:g*f};return jsx($,{className:a$1("mx-auto",i),sources:c.sources,width:C.w,height:C.h,...c.videoProps})}else {let g=`${c.sizing.vh}vh`;return jsx("div",{className:"dummy-div",style:{maxWidth:"100%",maxHeight:"100%",height:g,width:`calc(${g}*${f})`,backgroundImage:`url(${c.poster})`,backgroundSize:"contain",backgroundRepeat:"no-repeat"}})}let u=c.dim,y=t&&t in u?u[t]:u.md,h=r?B(y,r):y;return o?jsx(Ce,{src:c.poster,alt:"image",width:h.w,height:h.h,className:i}):jsx($,{className:a$1("mx-auto",i),sources:c.sources,width:h.w,height:h.h,...c.videoProps})},"VideoBlockComponent"),G=Zo;var qe=a(e=>y(e,i=>u(i,"typography"),i=>{let n=i.split("-");return n[n.length-1]},"responsive"),"getTypographySize");var ot=a(({def:e})=>jsx(U,{def:e,className:"justify-between",variant:"link",icon:jsx(te.linkOut,{className:"w-[18px] h-[18px]"}),iconAfter:true}),"ArrowLinkElement"),je=ot;var tt=a(({block:e$1,className:i="",contentClassName:n=""})=>{if(e$1.blockType!=="card")return jsx(Fragment,{children:"card block required"});let o=e$1,t=a(P=>o.specifiers?.includes(P),"has"),r=t("ghost"),l=(t("content-left")?"items-start ":" items-center ")+(t("content-top")?"!justify-start":"")+n,s=t("appear-disabled")?" border-muted-4":" border-muted-3",m=t("no-outer-border")||r?" border-0":"",d=r?" border-0":"",c=r?" px-0 py-0":" px-6 py-3",f$1=r?" gap-2":"",u=t("appear-disabled")?" text-muted-2":"",y=t("appear-disabled")?" typography-p:text-muted-2":"",h=t("bg-card")?" bg-level-1":"",g=(t("heading-style-title")?" font-heading text-base leading-tight":"")+(r?" text-left md:text-xl":""),C=o.specifiers?qe(o.specifiers):"responsive",B=C==="sm"?"typography-sm typography-p:text-sm ":C==="lg"?"typography-lg ":"",S=t("content-before"),k=t("icon-inline"),N=t("reveal-content-on-hover"),Re=a(({inContent:P=false,className:ie=""})=>o.title||o.byline||o.icon?jsxs(b$2,{className:"not-typography text-accent"+u+c+d+ie,children:[jsxs("div",{className:k||P?"flex flex-row justify-start items-end my-3":"",children:[o.icon&&!o.iconAfter&&jsx("div",{className:k?"mr-1":"mb-2",children:o.icon}),o.title&&jsx(c$1,{className:"text-center text-lg font-medium"+g+(k?" md:text-xl/none":""),children:o.title}),o.icon&&o.iconAfter&&jsx("div",{className:k?"ml-1":"my-1",children:o.icon})]}),o.byline&&jsx(d$1,{children:o.byline})]}):null,"Header"),lo=a(({className:P=""})=>t("media-left")?jsxs(e,{className:"flex flex-row justify-start items-stretch p-0 grow "+s+h+l+P,children:[o.media&&jsx("div",{className:"box-content grow-0 not-typography"+c,style:{width:o.media.dim.sm.w},children:jsx(G,{block:o.media,usePoster:t("video-use-poster"),size:"sm",className:t("appear-disabled")?"opacity-[0.6]":""})}),o.content&&jsx(v,{className:"grow border-l flex flex-col justify-center "+y+c+s+l,size:C,children:typeof o.content=="string"?jsx("p",{children:o.content}):o.content})]}):jsxs(e,{className:"grow typography flex flex-col justify-center "+B+y+h+c+l+(t("full-width")?" p-0 ":" ")+P,children:[N&&jsx(Re,{inContent:true}),o.content&&S&&(typeof o.content=="string"?jsx("p",{children:o.content}):o.content),o.media&&(o.media.blockType==="image"?jsx(q,{block:o.media}):jsx(G,{block:o.media})),o.content&&!S&&(typeof o.content=="string"?jsx("p",{children:o.content}):o.content)]}),"MediaAndContent"),so=a(()=>o.cta?t("links-w-arrow")?jsx(f,{className:"typography typography-a:text-muted-2 typography-a:hover:text-muted-1 typography-a:text-xs typography-a:no-underline typography-a:hover:underline flex flex-col justify-start items-stretch "+c,children:jsx(R,{block:o.cta,renderLink:(P,ie)=>jsx(je,{def:P},ie)})}):jsx(f,{className:"grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center "+c,children:jsx(R,{block:o.cta})}):null,"Footer");return jsxs(a$4,{className:a$1("flex flex-col self-stretch "+(N?"group relative":"")+s+m+h+f$1,i),children:[jsx(Re,{className:N?" absolute top-[0px] left-[0px] w-full hidden ":""}),jsx(lo,{className:N?" bg-gradient-to-t from-secondary to-65% items-start justify-start rounded-lg p-4 transition-opacity duration-500 ease-out opacity-100 ":""}),jsx(so,{})]})},"CardBlockComponent"),ke=tt;var nt=a(({block:e$1,agent:i,className:n,headingclx:o,contentclx:t,footerclx:r})=>jsxs(Fragment,{children:[jsxs("div",{className:"flex gap-2",children:[e$1.topContent&&jsx(T,{blocks:e$1.topContent,agent:i,className:"self-center ml-6 mt-6"}),jsxs("div",{className:"flex flex-col",children:[e$1.heading&&jsx(b$2,{className:a$1("typography-img:m-0",o),children:jsx(H,{block:e$1.heading,className:"text-accent",agent:i})}),e$1.content&&jsx(e,{className:a$1("typography flex flex-col justify-start",t,n),children:jsx(T,{blocks:e$1.content,agent:i})})]})]}),e$1.cta&&jsx(f,{className:a$1("grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center mx-auto",r),children:jsx(R,{block:e$1.cta,agent:i})})]}),"VariantContentLeft"),Je=nt;var at=a((e,i)=>{let n="";if(e==="big-padding")switch(i){case "header":n="md:p-8 lg:p-12 xl:p-16";break}if(e==="big-padding-content")switch(i){case "content":n="md:p-8 lg:p-12 xl:p-16";break}else if(e==="no-inner-borders")switch(i){case "header":n="border-none";break;case "footer":n="border-t-0";break}return n},"_getClx"),lt=a(({block:e$1,className:i="",agent:n})=>{if(e$1.blockType!=="carte-blanche")return jsx(Fragment,{children:"carte blanche block required"});let o=e$1,t=a(u=>F(o.specifiers,u),"specified"),r=a((u,y)=>t(u)?at(u,y):"","getClx"),l=[r("big-padding","header"),r("no-inner-borders","header")].join(" "),s=[r("big-padding-content","content")].join(" "),m=[r("no-inner-borders","footer")].join(" "),d=t("no-outer-borders"),c=t("variant-content-left"),f$1=t("variant-mobile-content-left");return jsx(a$4,{className:a$1("flex flex-col",i,d?"border-none":""),children:c||f$1&&n==="phone"?jsx(Je,{block:o,agent:n,className:i,headingclx:l,contentclx:s,footerclx:m}):jsxs(Fragment,{children:[(o.heading||o.topContent)&&jsxs(b$2,{className:a$1("typography-img:m-0",l),children:[o.topContent&&jsx(T,{blocks:o.topContent,agent:n,className:""}),o.heading&&jsx(H,{block:o.heading,className:"text-accent",agent:n})]}),o.content&&jsx(e,{className:a$1("typography flex flex-col justify-center",s,i),children:jsx(T,{blocks:o.content,agent:n})}),o.cta&&jsx(f,{className:a$1("grid grid-cols-1 gap-2 md:flex md:flex-row md:justify-center",m),children:jsx(R,{block:o.cta,agent:n})})]})})},"CarteBlancheBlockComponent"),Ye=lt;var j={preheading:{tag:"h4",mb:2},heading:{tag:"h1",mb:2},byline:{tag:"h6"}},Be=a(e=>{switch(e){case 1:return "h1";case 2:return "h2";case 3:return "h3";case 4:return "h4";case 5:return "h5";case 6:return "h6"}return "p"},"tagFromLevel"),Qe=a(({asTag:e,text:i,icon:n,iconLeft:o=true,className:t=""})=>jsx(e,{className:t,children:i}),"Element"),st=a((e,i)=>{let n=e("mobile-heading-centered"),o=e("mobile-heading-left"),t=e("center"),r=e("right"),l=e("byline-center"),s=e("byline-right"),m=e("mobile-byline-left"),d="",c=l?"self-center !text-center":s?"self-end !text-right":"self-start !text-left";if(i==="phone")o?d="self-start text-left":d=n||t?"self-center text-center":r?"self-end text-right":"self-start text-left",m&&(c="self-start !text-left");else {let f=t?"self-center text-center":r?"self-end text-right":"self-start text-left";n?d="self-center text-center md:"+f.split(" ").join(" md:"):d=f;}return {preheading:d,heading:d,byline:c}},"getPositionClx"),pt=a(({block:e,className:i="",agent:n,applyTypography:o=true,extraSpecifiers:t=""})=>{if(e.blockType!=="enh-heading")return jsx(Fragment,{children:"enhance heading block required"});let r=e,l=a(u=>F(r.specifiers+t,u),"specified"),m=l("preheading-heading-font")?"font-heading":"",d=l("align-middle")?"my-auto":"",c=st(l,n),f=a(()=>{let u=[{tag:r.preheading?r.preheading.level!==void 0?Be(r.preheading.level):j.preheading.tag:void 0,clx:r.preheading?(r.preheading.mb!==void 0?`mb-${r.preheading.mb}`:`mb-${j.preheading.mb}`)+" "+c.preheading+" "+m:c.preheading+" "+m,text:r.preheading?r.preheading.text:void 0},{tag:r.heading.level!==void 0?Be(r.heading.level):j.heading.tag,clx:(r.heading.mb!==void 0?`mb-${r.heading.mb}`:`mb-${j.heading.mb}`)+" "+c.heading,text:r.heading.text},{tag:r.byline?r.byline.level!==void 0?Be(r.byline.level):j.byline.tag:void 0,clx:c.byline,text:r.byline?r.byline.text:void 0}],y=false;return jsx(Fragment,{children:u.map(({tag:h,clx:g,text:C},B)=>h?r.icon&&!y?(y=true,jsxs("div",{className:a$1("flex flex-row items-center gap-2 sm:gap-4",g),children:[jsx(Z,{icon:r.icon,size:r.iconSize??32,agent:n}),jsx(Qe,{asTag:h,text:C})]},`div-${B}`)):jsx(Qe,{asTag:h,text:C,className:g},`el-${B}`):null)})},"Inner");return o?jsx(v,{className:a$1("flex flex-col w-full !gap-0",i,d),children:jsx(f,{})}):jsx("div",{className:a$1("flex flex-col w-full gap-0",i,d),children:jsx(f,{})})},"EnhHeadingBlockComponent"),H=pt;var mt=a(({block:e,className:i=""})=>{if(e.blockType!=="heading")return jsx(Fragment,{children:"heading block required"});let n=e,o,t;switch(n.bylineLevel){case 0:t="p";break;case 1:t="h1";break;case 2:t="h2";break;case 3:t="h3";break;case 4:t="h4";break;case 5:t="h5";break;case 6:t="h6";break}switch(n.level){case 0:o="p",t=t??"p";break;case 1:o="h1",t=t??"h3";break;case 2:o="h2",t=t??"h4";break;case 4:o="h4",t=t??"h6";break;case 5:o="h5",t=t??"p";break;case 6:o="h6",t=t??"p";break;default:o="h3",t=t??"h5";}return jsxs(v,{className:i,children:[jsx(o,{children:n.heading}),n.spaceBetween&&jsx("div",{className:`w-[1px] h-${n.spaceBetween}`}),n.byline&&jsx(t,{children:n.byline}),n.spaceAfter&&jsx("div",{className:`w-[1px] h-${n.spaceAfter}`})]})},"HeadingBlockComponent"),ve=mt;var gt=a(e=>{let n=e.split(" ").find(o=>o.startsWith("layout-"));if(n){let o=n.split("-"),t=o[1],r={};switch(t){case "grid":{let l=parseInt(o[2],10),s=o[4];if(Number.isNaN(l)||l<2||l>6||!a$5.includes(s))return;r={columns:l,starting:s};}break}return {layout:t,spec:r}}},"getLayoutInfo"),ut=a(({block:e,className:i=""})=>{if(e.blockType!=="group")return jsx(Fragment,{children:"group block required"});let n=e;if(n.specifiers?.includes("layout")){let o=gt(n.specifiers);if(!o)return jsx(Fragment,{children:"invalid or missing layout specifier in group block!"});if(o.layout==="grid"){let{elements:t}=n,{spec:{starting:r,columns:l}}=o,s=a$1("grid xs:grid-cols-1 gap-2 sm:gap-3",`${r}:grid-cols-${l} `,i);return jsx("div",{className:s,children:jsx(T,{blocks:t})})}}return null},"GroupBlockComponent"),Te=ut;var yt=["div","h1","h2","h3","h4","h5","h6"],ht=a(({block:e,className:i=""})=>{if(e&&e.blockType!=="space")return jsx(Fragment,{children:"space block required"});let n=e;if(!n.level){if(typeof n.sizes=="number")return jsx("div",{className:a$1(`invisible w-[1px] h-${n.sizes}`,i)});let r={};G$1(r,de,n.sizes);let l="";for(let[s,m]of Object.entries(r))l+=`${s}:h-${m} `;return n.test&&console.log(l),jsx("div",{className:a$1("invisible w-[1px] "+l,i)})}let o=yt[n.level],t=n.level===0?"h-4":"";return jsx(v,{className:i,children:jsx(o,{className:"invisible m-0 "+t,children:"\xA0"})})},"SpaceBlockComponent"),we=ht;var w=new Map;w.set("accordian",fe);w.set("bullet-cards",Ee);w.set("card",ke);w.set("carte-blanche",Ye);w.set("cta",R);w.set("heading",ve);w.set("enh-heading",H);w.set("space",we);w.set("image",q);w.set("video",G);w.set("group",Te);w.set("grid",ee);var Ct=a((e,i)=>{w.set(e,i);},"registerBlockType"),oo=a((e,i,n,o)=>{if(e.blockType==="element")return e.element;let t=w.get(e.blockType);return t?jsx(t,{block:e,className:i,agent:n},o??""):null},"renderBlock"),T=a(({blocks:e,className:i="",agent:n})=>e?Array.isArray(e)?e.map((o,t)=>oo(o,i,n,`content-block-${o.blockType}-${t}`)):oo(e,i,n):null,"ContentComponent");var xt=a(({children:e,banner:i,className:n=""})=>i?jsx("div",{className:a$1("relative",n),style:{height:"100%",width:"100%",backgroundImage:`url(${typeof i=="string"?i:i.poster})`,backgroundSize:"cover",backgroundRepeat:"no-repeat"},children:e}):jsx("div",{className:a$1("bg-transparent h-full w-full relative",n),children:e}),"Poster"),ro=xt;var no=a(({blocks:e,specifiers:i,agent:n,className:o=""})=>{let t=a(l=>F(i,l),"specified"),r="";return n!=="phone"?t("right")?r+="items-end ":t("center")?r+="items-center ":r+="items-start ":r+="items-start ",n!=="phone"?(t("bottom")?r+="justify-end ":t("vert-center")?r+="justify-center ":r+="justify-start ",t("text-align-right")?r+="text-right ":r+="text-left "):t("mobile-vert-center")?r+="justify-center ":r+="justify-start ",n==="phone"&&t("mobile-center-headings")&&(r+="typography-headings:text-center "),jsx("div",{className:a$1("flex flex-col justify-center h-full",r,o),children:jsx(T,{blocks:e,agent:n})})},"ContentColumn"),Bt=a(({block:e,agent:i,className:n=""})=>{let o="flex flex-col gap-2 sm:gap-4 h-full "+(i!=="phone"?`md:grid md:gap-8 md:grid-cols-${e.contentColumns.length} `:""),t=a(r=>{let l=e.mobileOrder?.indexOf(r);return l&&l>=0?`order-${l} md:order-none`:""},"orderclx");return e.contentColumns.length==1?jsx(no,{blocks:e.contentColumns[0],specifiers:e.columnSpecifiers?.[0],agent:i,className:a$1(n)}):jsx("div",{className:a$1(o,n),children:e.contentColumns.map((r,l)=>jsx(no,{blocks:r,specifiers:e.columnSpecifiers?.[l],agent:i,className:t(l)},l))})},"Content"),io=Bt;var Tt=a(({block:e,className:i="",initialInView:n})=>{let{ref:o,inView:t}=useInView({threshold:.75,initialInView:n});return e?jsx("div",{ref:o,className:i,children:t&&jsx("video",{autoPlay:true,loop:true,muted:true,style:{margin:0,height:"100%",width:"100%",objectFit:"cover"},children:e.sources?.map((r,l)=>jsx("source",{src:r},l))})}):null},"VideoBG"),ao=Tt;var Nt=a(e=>{let[i,n]=useState(false);return useEffect(()=>{n(true);},[]),i?jsx(ao,{...e}):null},"Video"),Rt=a(({block:e,agent:i,initialInView:n=false,snapTile:o=false,clx:t="",contentClx:r="",bottom:l})=>{if(e.blockType!=="screenful")return jsx(Fragment,{children:"screenful block required"});let s=e,m=a(()=>!!s.banner&&typeof s.banner=="object","hasBannerVideo"),d=i==="desktop"?"h-full ":"h-[100svh] ",c=a(B=>F(s.specifiers,B),"specified"),f=c("narrow-gutters"),u=c("no-gutters"),y=c("full-screen-width"),h=c("vert-center"),g=s.contentColumns.length===1,C=["xl:mx-auto overflow-y-hidden h-full",y?"":"max-w-screen-xl",f?"px-6 lg:px-8 2xl:px-2 pb-4 lg:pb-6 xl:pb-8 "+(o?"pt-15 md:pt-26 lg:pt-28 ":""):u?"px-0 pb-0 "+(o?"pt-11 lg:pt-20 ":""):"px-[8vw] xl:px-[1vw] pb-[8vh] pt-[calc(44px+4vh)] md:pt-[calc(80px+6vh)] ",i&&i!=="desktop"?"pt-15 sm:pt-17 pb-0 px-3 sm:px-8":""];return jsxs("section",{...s.anchorId?{id:s.anchorId}:{},className:a$1(o?"snap-start snap-always h-[100vh]":"min-h-screen",l?"flex flex-col":"",t),children:[jsx(v,{className:a$1("w-full flex flex-row justify-center self-stretch",o?d:"",l?"grow":""),children:jsxs(ro,{banner:s.banner,children:[m()&&jsx(Nt,{block:s.banner,className:"absolute top-0 left-0 bottom-0 right-0",initialInView:n}),jsxs("div",{className:a$1(...C,o?"absolute left-0 right-0 top-0 bottom-0 ":"flex min-h-screen w-full",r,h?"self-center "+(g?"!py-0":""):""),children:[jsx(io,{block:s,agent:i,className:"w-full"}),s.footer]})]})}),l]})},"ScreenfulComponent"),Dt=Rt;
|
|
2
|
+
export{fe as AccordianBlockComponent,T as BlocksComponent,R as CTABlockComponent,ke as CardBlockComponent,T as ContentComponent,H as EnhHeadingBlockComponent,Te as GroupBlockComponent,ve as HeadingBlockComponent,q as ImageBlockComponent,de as SPACE_DEFAULTS,Dt as ScreenfulBlockComponent,we as SpaceBlockComponent,G as VideoBlockComponent,Ct as registerBlockType};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/ui",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.8",
|
|
4
4
|
"description": "Multi-framework UI library with React, Vue, Svelte, and React Native support. Based on shadcn/ui with comprehensive framework coverage.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-CWFGLK4T.mjs';import {useInView}from'react-intersection-observer';import {jsx}from'react/jsx-runtime';var n=a(({block:o,className:t="",initialInView:r})=>{let{ref:l,inView:s}=useInView({threshold:.75,initialInView:r});return o?jsx("div",{ref:l,className:t,children:s&&jsx("video",{autoPlay:true,loop:true,muted:true,style:{margin:0,height:"100%",width:"100%",objectFit:"cover"},children:o.sources?.map((c,a)=>jsx("source",{src:c},a))})}):null},"VideoBG"),u=n;export{u as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkXUSV3KOD_js=require('./chunk-XUSV3KOD.js'),reactIntersectionObserver=require('react-intersection-observer'),jsxRuntime=require('react/jsx-runtime');var n=chunkXUSV3KOD_js.a(({block:o,className:t="",initialInView:r})=>{let{ref:l,inView:s}=reactIntersectionObserver.useInView({threshold:.75,initialInView:r});return o?jsxRuntime.jsx("div",{ref:l,className:t,children:s&&jsxRuntime.jsx("video",{autoPlay:true,loop:true,muted:true,style:{margin:0,height:"100%",width:"100%",objectFit:"cover"},children:o.sources?.map((c,a)=>jsxRuntime.jsx("source",{src:c},a))})}):null},"VideoBG"),u=n;module.exports=u;
|