1import H from"./DPJi5sd9.js";import{_ as j}from"./Bw92kh4q.js";import{d as z,u as I,j as M,r as o,a5 as N,o as P,a as r,e as f,f as t,R as h,a4 as w,t as S,h as v,q as k,w as V,F as E,y as L,c as T,N as q,v as F}from"./BgOPsrZ5.js";import{s as O}from"./DCGO9W7S.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new a.Error().stack;c&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[c]="06d83d78-fa22-49d3-9f98-b61901b25be0",a._sentryDebugIdIdentifier="sentry-dbid-06d83d78-fa22-49d3-9f98-b61901b25be0")}catch{}})();const R={class:"absolute w-full h-full"},A={class:"sticky top-0 flex items-center justify-center h-screen overflow-hidden"},U={class:"absolute left-0 right-0 flex items-center justify-center w-full h-full -translate-y-1/2 top-1/2"},W={class:"relative flex flex-col items-center mb-20 top-1/2 lg:mb-40"},G={key:0,class:"flex flex-wrap items-center justify-center gap-4 text-sm mt-14 md:text-base"},J={key:0,class:"flex justify-center py-6 lg:py-8"},ee=z({__name:"gradient-call-out",props:{copy:{},cards:{},cta:{},color:{default:"purple-aqua"},outfit7neo:{type:Boolean,default:!1},cardPlacement:{default:"horizontal"}},setup(a){const{$event:c}=I(),y=M(),n=o(0),p=o(!1),m=o(1),g=o(null),u=o(null),C=o(null);function b(){g.value.offsetHeight!==n.value&&(n.value=g.value.offsetHeight)}function B(e){if(!window||u.value===null)return;const s=(n.value+(window.innerHeight/2-n.value/2))/u.value.offsetHeight,d=1/s*e,i=Math.max(window.innerWidth,window.innerHeight)/480*1.6;e>s?p.value=!0:p.value=!1,m.value=d>=1?i:Math.max(1,Math.min(i,1+(i-1)*d))}function $(e){if(!(!e||!e.href)&&y.path.includes("our-work"))return c("Link",{props:{"Our work page":e.href}})}return N(()=>{b()}),P(()=>{C.value=O(({y:e})=>{B(e.progress)},{target:u.value,offset:["start start","end end"]}),b()}),(e,s)=>{const d=H,x=j,_=q,i=F;return r(),f("div",{ref_key:"container",ref:u,class:"relative lg:min-h-[200vh]"},[t("div",R,[t("div",A,[t("div",U,[t("div",{class:h(["rounded-full blur-3xl md:blur-2xl md:w-[480px] md:h-[480px] w-[100vw] h-[100vw] duration-150",[`bg-${e.color}`]]),style:w({transform:`scale3d(${m.value}, ${m.value}, 1)`})},null,6)])])]),t("div",{class:"sticky top-0 flex flex-col pb-16 lg:pb-24",style:w({paddingTop:`calc(50vh - ${n.value/2}px)`})},[t("div",W,[t("p",{ref_key:"textContainer",ref:g,class:"px-6 mx-auto text-3xl text-center text-white lg:px-24 md:max-w-2xl lg:max-w-4xl lg:text-5xl lg:leading-tight"},S(e.copy),513),e.outfit7neo?(r(),f("div",G,[s[0]||(s[0]=t("span",{class:"w-full text-center text-white md:w-auto md:text-left"},"Published by:",-1)),v(d,{class:"h-9"})])):k("",!0)]),v(i,{class:"relative w-full"},{default:V(()=>[t("div",{class:h(["grid gap-6 mb-6 transition duration-500 lg:mb-8",[p.value?"opacity-100 scale-100":"opacity-0 scale-90 ",e.cardPlacement==="vertical"?"grid-cols-1":"grid-cols-1 md:grid-cols-2"]])},[(r(!0),f(E,null,L(e.cards,(l,D)=>(r(),T(x,{key:D,title:l.title,copy:l.copy,cta:l.cta,logo:l.logo,"background-image":l.img,"background-image-mobile":l.imgMobile,type:e.cardPlacement==="vertical"?"product":"product-small",class:h({"xs:h-[360px]":e.cardPlacement==="horizontal"}),onClick:K=>$(l.cta)},null,8,["title","copy","cta","logo","background-image","background-image-mobile","type","class","onClick"]))),128))],2),e.cta?(r(),f("div",J,[v(_,{type:e.cta.type,href:e.cta.href,label:e.cta.title},null,8,["type","href","label"])])):k("",!0)]),_:1})],4)],512)}}});export{ee as _}; 2//# sourceMappingURL=CB8pA9ed.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.