export declare const motionEngine = "vanilla"; export declare const motionAssetHref = "/motion-465c0e1b6d85.js"; export declare const motionAssetHash = "465c0e1b6d851c4d2cb310d9b41a2bbd533728b4ab53910de78058d169ee7bbe"; export declare const motionJs = "(()=>{function W(a){window.VitrisMotion?.dispose();let n=()=>{},r=new Map,p=!1,u=matchMedia(\"(prefers-reduced-motion: reduce)\"),c=matchMedia(\"(max-width: 599px)\"),l=new WeakSet,b=[\"count\",\"text\",\"sequence\",\"draw\"],m=[\"entrance\",\"stagger\",...b],h=(o,s,w)=>Number(o.getAttribute(\"data-motion-\"+s)??w),v=()=>{p||(u.addEventListener(\"change\",v),p=!0);for(let[i,g]of r)if(b.includes(g.effect)&&g.phase===\"playing\"){let A=document.getElementById(i);A&&l.add(A)}n(),r=new Map;let o=[],s=[],w=new Map,I=!1,M=(i,g,A,$)=>{i.addEventListener(g,A,$),s.push(()=>i.removeEventListener(g,A,$))},L=i=>{w.get(i)?.(),w.delete(i),i.classList.add(\"is-in\");let g=r.get(i.id);g&&(g.phase=\"complete\")};if(n=()=>{I=!0;for(let i of o)i();for(let i of w.values())i();w.clear();for(let i of s)i()},!(document.documentElement.dataset.motionPolicy===\"off\"||u.matches||!window.IntersectionObserver||!Element.prototype.animate))try{let i=document.documentElement.dataset.motionPolicy===\"enabled\",g=i?'[data-motion],[data-reveal],[data-island=\"counter\"] [data-count-to]':'[data-reveal],[data-island=\"counter\"] [data-count-to]',A=[...document.querySelectorAll(g)],$=(e,t)=>{t.run=a.enter(t.children,t.options,()=>{I||(t.phase=\"complete\",l.add(e),e.classList.add(\"is-in\"))},!0),w.set(e,t.run.cancel)},O=new IntersectionObserver(e=>{try{for(let t of e){let x=t.target,d=r.get(x.id);!d||d.static||(t.isIntersecting&&(d.effect!==\"count\"||t.intersectionRatio>=.35)&&d.phase===\"pending\"?(d.phase=\"playing\",d.run||$(x,d),d.run.play(),d.repeat||O.unobserve(x)):!t.isIntersecting&&d.phase===\"playing\"&&b.includes(d.effect)?(l.add(x),L(x)):!t.isIntersecting&&d.repeat&&d.phase===\"complete\"&&(L(x),d.phase=\"pending\",d.run=null,$(x,d)))}}catch(t){n(),r.clear(),console.warn(\"Motion playback failed; static content restored\",t)}},{threshold:[0,.35],rootMargin:\"0px 0px -10% 0px\"});o.push(()=>O.disconnect());for(let e of A){e.id||(e.id=`motion-runtime-${A.indexOf(e)}`);let t=i&&e.getAttribute(\"data-motion\")||(e.hasAttribute(\"data-count-to\")?\"count\":e.hasAttribute(\"data-reveal-stagger\")?\"stagger\":\"entrance\"),x=e.getBoundingClientRect(),d=getComputedStyle(e),K=e.parentElement?.closest(g),R=t===\"story\"||!!K||[\"MAIN\",\"HEADER\",\"FOOTER\",\"BODY\",\"HTML\"].includes(e.tagName)||/(?:^|\\s)c-(?:site-)?(?:hero|header|footer)(?:\\s|$)/.test(e.className)||x.height>innerHeight*2||d.position===\"sticky\"||d.position===\"fixed\"||c.matches&&(e.getAttribute(\"data-motion-mobile\")===\"static\"||t===\"drift\"&&!e.hasAttribute(\"data-motion-mobile\")),Q=t===\"text\"?\"[data-motion-word]\":t===\"draw\"?\"[data-motion-path]\":i?\"[data-motion-child],[data-reveal-child]\":\"[data-reveal-child]\",V=[\"stagger\",\"text\",\"sequence\",\"draw\"].includes(t)?[...e.querySelectorAll(Q)].filter(S=>S.closest(g)===e&&(t!==\"stagger\"||!S.hasAttribute(\"data-motion-child\")||S.parentElement===e)):[],Z=V.length?V:[e],B={effect:t,treatment:e.getAttribute(\"data-motion-treatment\")||\"phrase\",duration:h(e,\"duration\",t===\"count\"?900:Number.parseFloat(d.getPropertyValue(\"--reveal-dur\"))||550),delay:h(e,\"delay\",0),distance:h(e,\"distance\",t===\"text\"?4:Number.parseFloat(d.getPropertyValue(\"--reveal-dist\"))||16),stagger:h(e,\"stagger\",70),from:e.getAttribute(\"data-motion-from\")||e.getAttribute(\"data-reveal-from\")||\"up\",ease:e.getAttribute(\"data-motion-ease\")||\"editorial\"},C={effect:t,static:R,phase:\"pending\",children:Z,options:B,repeat:e.getAttribute(\"data-motion-replay\")===\"repeat\",progress:null};if(r.set(e.id,C),R||b.includes(t)&&l.has(e)||m.includes(t)&&(x.bottom<=0||location.hash.slice(1)===e.id||e.contains(document.activeElement))||[\"entrance\",\"stagger\",\"text\",\"sequence\"].includes(t)&&x.top{let U=S.getBoundingClientRect();return Math.max(0,Math.min(1,((innerHeight-U.top)/(innerHeight+U.height)-T)/(H-T)))};let Y=a.link(e,S,t,{...B,start:T,end:H},C.progress);w.set(e,Y.cancel),o.push(Y.cancel)}}for(let e of A){let t=r.get(e.id);t&&!t.static&&m.includes(t.effect)&&$(e,t)}let D=e=>{for(let t of A)(t===e.target||t.contains(e.target))&&L(t)},P=()=>{let e=document.getElementById(decodeURIComponent(location.hash.slice(1)));e&&D({target:e})};M(document,\"focusin\",D),M(window,\"hashchange\",P),P(),M(window,\"pageshow\",e=>{e.persisted&&v()}),M(c,\"change\",v),M(window,\"resize\",()=>{for(let e of A){let t=r.get(e.id);t&&[\"text\",\"sequence\"].includes(t.effect)&&(l.add(e),L(e))}}),M(document.fonts,\"loadingdone\",()=>{for(let e of A){let t=r.get(e.id);t&&t.phase!==\"pending\"&&[\"text\",\"sequence\"].includes(t.effect)&&(l.add(e),L(e))}})}catch(i){n(),r.clear(),console.warn(\"Motion initialization left static content readable\",i)}},f=!1,y=0,E=()=>{let o=!1,s=()=>{o||f||(o=!0,clearTimeout(y),v())};y=setTimeout(s,1500),(document.fonts?.status===\"loading\"?document.fonts.ready:Promise.resolve()).then(s,s)};window.VitrisMotion={version:1,engine:a.name,init:v,dispose(){f=!0,clearTimeout(y),document.removeEventListener(\"DOMContentLoaded\",E),n(),r=new Map,u.removeEventListener(\"change\",v),p=!1},inspect(o){let s=r.get(o);return s?{effect:s.effect,static:s.static,phase:s.phase,progress:typeof s.progress==\"function\"?s.progress():null}:{static:!0,phase:\"static\",progress:null}}},window.VitrisCounters={dispose(){window.VitrisMotion.dispose()}},document.readyState===\"complete\"||performance.getEntriesByType(\"navigation\")[0]?.domContentLoadedEventStart>0?E():document.addEventListener(\"DOMContentLoaded\",E,{once:!0})}var q=new Set,z=0;function X(a){z=0;for(let n of[...q])n.update(a);q.size&&(z=requestAnimationFrame(X))}function j(a,n,r){let p=a.textContent,u=!a.hasAttribute(\"data-motion\"),c=Number(a.getAttribute(u?\"data-count-to\":\"data-motion-value\")),l=p.match(/[-+]?\\d[\\d,]*(?:\\.\\d+)?/);if(!Number.isFinite(c)||!l||a.children.length)return{play(){r()},cancel(){}};let b=u?p.slice(0,l.index):a.getAttribute(\"data-motion-prefix\")||\"\",m=u?p.slice(l.index+l[0].length):a.getAttribute(\"data-motion-suffix\")||\"\",h=u?l[0].split(\".\")[1]?.length||0:Number(a.getAttribute(\"data-motion-decimals\")||0),v=u?l[0].includes(\",\"):a.getAttribute(\"data-motion-group\")!==\"false\",f=u?l[0].startsWith(\"+\"):a.getAttribute(\"data-motion-sign\")===\"always\",y=i=>b+(f&&i>=0?\"+\":\"\")+i.toLocaleString(\"en-US\",{minimumFractionDigits:h,maximumFractionDigits:h,useGrouping:v})+m;if(!u&&y(c)!==p)return{play(){r()},cancel(){}};let E=null,o=null,s=null,w=!1,I=a.getAttribute(\"style\"),M=()=>{q.delete(L),q.size||(cancelAnimationFrame(z),z=0),o&&(a.replaceChildren(...o.childNodes),o=null,s=null,I===null?a.removeAttribute(\"style\"):a.setAttribute(\"style\",I))},L={update(i){E===null&&(E=i);let g=Math.min(1,(i-E)/n.duration);if(g>=1){M(),w=!0,r();return}s.textContent=y(c*(1-Math.pow(1-g,3)))}};return{play(){w||o||(o=document.createElement(\"span\"),o.style.opacity=\"0\",o.append(...a.childNodes),s=document.createElement(\"span\"),s.setAttribute(\"aria-hidden\",\"true\"),s.setAttribute(\"data-motion-visual\",\"\"),s.style.cssText=\"position:absolute;inset:0;user-select:none;pointer-events:none;white-space:inherit\",s.textContent=y(0),a.style.position=\"relative\",a.style.display=\"inline-block\",a.append(o,s),q.add(L),z||(z=requestAnimationFrame(X)))},cancel(){w=!0,M()}}}var _={editorial:\"cubic-bezier(.22,1,.36,1)\",gentle:\"cubic-bezier(.25,.1,.25,1)\",linear:\"linear\"},G=a=>{let n=getComputedStyle(a).transform;return n===\"none\"?\"\":n},F=new Set,N=0,ee=()=>{N=0;let a=[...F].filter(n=>n.active||n.dirty).map(n=>[n,n.progress()]);for(let[n,r]of a)n.write(r),n.dirty=!1},k=()=>{N||(N=requestAnimationFrame(ee))},J={name:\"vanilla\",enter(a,n,r,p=!1){if(n.effect===\"count\")return j(a[0],n,r);let u=a.map((c,l)=>{let b=G(c),m=getComputedStyle(c).opacity,h=[\"left\",\"right\"].includes(n.from)?\"X\":\"Y\",v=[\"down\",\"left\"].includes(n.from)?-1:1,f={opacity:0,transform:`${b} translate${h}(${v*n.distance}px)`},y={opacity:m,transform:b||\"none\"};if(n.effect===\"text\"&&n.treatment===\"mask\"&&(f.clipPath=\"inset(0 0 100% 0)\",y.clipPath=\"inset(0 0 0% 0)\"),n.effect===\"sequence\"&&c.getAttribute(\"data-motion-role\")===\"image\"&&(f={opacity:m,transform:`${b} scale(1.015)`},y={opacity:m,transform:b||\"none\"}),n.effect===\"draw\"){let o=c.getTotalLength?.()||1;f={strokeDasharray:`${o} ${o}`,strokeDashoffset:o},y={strokeDasharray:`${o} ${o}`,strokeDashoffset:0}}let E=c.animate([f,y],{duration:n.duration,delay:Math.min(300,n.delay+l*n.stagger),easing:_[n.ease],fill:\"both\"});return p&&E.pause(),E});return Promise.all(u.map(c=>c.finished)).then(()=>{for(let c of u)c.cancel();r()}).catch(()=>{}),{play(){for(let c of u)c.play()},cancel(){for(let c of u)c.cancel()}}},link(a,n,r,p,u){let c=G(a),l=f=>r===\"drift\"?`${c} translateY(${p.distance*(2*f-1)}px)`:`${c} scaleX(${f})`;try{if(window.ViewTimeline){let f=new ViewTimeline({subject:n,axis:\"block\",inset:\"0px\"}),y=a.animate([{transform:l(0)},{transform:l(1)}],{timeline:f,rangeStart:`cover ${p.start*100}%`,rangeEnd:`cover ${p.end*100}%`,easing:\"linear\",fill:\"both\"});return{cancel(){y.cancel()}}}}catch{}let b=a.style.transform,m={active:!0,dirty:!0,progress:u,write:f=>{a.style.transform=l(f)}};F.size||(addEventListener(\"scroll\",k,{passive:!0}),addEventListener(\"resize\",k)),F.add(m);let h=new IntersectionObserver(f=>{m.active=f[0].isIntersecting,m.dirty=!0,k()});h.observe(n);let v=window.ResizeObserver?new ResizeObserver(()=>{m.dirty=!0,k()}):null;return v?.observe(n),document.fonts?.ready.then(()=>{F.has(m)&&(m.dirty=!0,k())}),k(),{cancel(){F.delete(m),F.size||(cancelAnimationFrame(N),N=0,removeEventListener(\"scroll\",k),removeEventListener(\"resize\",k)),h.disconnect(),v?.disconnect(),a.style.transform=b}}}};W(J);})();\n";