1var e=Object.defineProperty,t=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,r=(t,o,n)=>o in t?e(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,i=(e,i)=>{for(var a in i||(i={}))o.call(i,a)&&r(e,a,i[a]);if(t)for(var a of t(i))n.call(i,a)&&r(e,a,i[a]);return e};import{L as a}from"./lenis-49c5o5K0.js";import{g as s,S as d}from"./gsap-B-5fMxXX.js";!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();function c(){return"undefined"!=typeof window}function u(){try{}catch(e){}return"production"}function l(){return"development"===((c()?window.vam:u())||"production")}function m(e){return e.scriptSrc?h(e.scriptSrc):l()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?h(`${e.basePath}/insights/script.js`):"/_vercel/insights/script.js"}function p(e,t){var o;let n=e;if(t)try{n=i(i({},null==(o=JSON.parse(t))?void 0:o.analytics),e)}catch(a){}!function(e="auto"){window.vam="auto"!==e?e:u()}(n.mode);const r={sdkn:"@vercel/analytics"+(n.framework?`/${n.framework}`:""),sdkv:"2.0.1"};return n.disableAutoTrack&&(r.disableAutoTrack="1"),n.viewEndpoint&&(r.viewEndpoint=h(n.viewEndpoint)),n.eventEndpoint&&(r.eventEndpoint=h(n.eventEndpoint)),n.sessionEndpoint&&(r.sessionEndpoint=h(n.sessionEndpoint)),l()&&!1===n.debug&&(r.debug="false"),n.dsn&&(r.dsn=n.dsn),n.endpoint?r.endpoint=n.endpoint:n.basePath&&(r.endpoint=h(`${n.basePath}/insights`)),{beforeSend:n.beforeSend,src:m(n),dataset:r}}function h(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function f(e={debug:!0},t){var o;if(!c())return;const{beforeSend:n,src:r,dataset:i}=p(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),n&&(null==(o=window.va)||o.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${r}"]`))return;const a=document.createElement("script");a.src=r;for(const[s,d]of Object.entries(i))a.dataset[s]=d;a.defer=!0,a.onerror=()=>{const e=l()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${r}. ${e}`)},document.head.appendChild(a)}function v(){const e=new a({lerp:.08,smoothWheel:!0,syncTouch:!1});return s.ticker.add(t=>{e.raf(1e3*t)}),s.ticker.lagSmoothing(0),e.on("scroll",({scroll:e})=>{document.dispatchEvent(new CustomEvent("lenis-scroll",{detail:{scroll:e}})),d.update()}),e}function b(){if(!window.matchMedia("(hover: hover)").matches||"ontouchstart"in window){document.body.style.cursor="auto";const e=document.getElementById("cursor"),t=document.getElementById("cursorRing");return e&&(e.style.display="none"),void(t&&(t.style.display="none"))}const e=document.getElementById("cursor"),t=document.getElementById("cursorRing");if(!e||!t)return;let o=0,n=0,r=0,i=0;document.addEventListener("mousemove",t=>{o=t.clientX,n=t.clientY,e.style.left=o+"px",e.style.top=n+"px"}),function e(){r+=.11*(o-r),i+=.11*(n-i),t.style.left=r+"px",t.style.top=i+"px",requestAnimationFrame(e)}();const a={default(){s.to(e,{width:10,height:10,borderRadius:"50%",background:"var(--ember)",duration:.25}),s.to(t,{width:36,height:36,borderColor:"rgba(224,99,42,0.5)",opacity:.5,duration:.3})},hover(){s.to(e,{width:6,height:6,background:"var(--ember-2)",duration:.2}),s.to(t,{width:54,height:54,borderColor:"rgba(224,99,42,0.8)",opacity:1,duration:.3})},text(){s.to(e,{width:2,height:28,borderRadius:"1px",background:"var(--ember)",duration:.2}),s.to(t,{opacity:0,duration:.2})},media(){s.to(e,{width:64,height:64,background:"rgba(224,99,42,0.15)",borderRadius:"50%",duration:.3}),s.to(t,{width:64,height:64,borderColor:"rgba(224,99,42,0.6)",opacity:1,duration:.3})},button(){s.to(e,{width:8,height:8,borderRadius:"50%",background:"var(--black)",duration:.2}),s.to(t,{width:48,height:48,borderColor:"rgba(224,99,42,0.8)",opacity:1,duration:.25})}};
1document.querySelectorAll("a, button, .nav-cta").forEach(e=>{e.addEventListener("mouseenter",()=>{e.classList.contains("btn-primary")||e.classList.contains("btn-ghost")||e.classList.contains("nav-cta")?a.button():a.hover()}),e.addEventListener("mouseleave",()=>a.default())}),document.querySelectorAll(".hero-media-panel, .journal-card-img").forEach(e=>{e.addEventListener("mouseenter",()=>a.media()),e.addEventListener("mouseleave",()=>a.default())}),document.querySelectorAll("p, .story-paragraph, .topic-desc, .bento-desc").forEach(e=>{e.addEventListener("mouseenter",()=>a.text()),e.addEventListener("mouseleave",()=>a.default())}),document.addEventListener("mouseleave",()=>s.to([e,t],{opacity:0,duration:.3})),document.addEventListener("mouseenter",()=>s.to([e,t],{opacity:1,duration:.3})),document.addEventListener("mousedown",()=>{s.to(t,{scale:.7,duration:.12,ease:"power2.in",onComplete:()=>s.to(t,{scale:1,duration:.4,ease:"elastic.out(1, 0.5)"})})})}function y(){window.matchMedia("(hover: hover)").matches&&document.querySelectorAll(".btn-primary, .btn-ghost, .nav-cta").forEach(e=>{e.addEventListener("mousemove",t=>{const o=e.getBoundingClientRect(),n=.28*(t.clientX-o.left-o.width/2),r=.28*(t.clientY-o.top-o.height/2);s.to(e,{x:n,y:r,duration:.3,ease:"power2.out"})}),e.addEventListener("mouseleave",()=>{s.to(e,{x:0,y:0,duration:.7,ease:"elastic.out(1, 0.5)"})})})}function g(){const e=document.querySelector(".ticker-track");if(!e)return;e.style.animation="none";const t=s.to(e,{x:"-50%",duration:30,ease:"none",repeat:-1}),o=e.closest(".ticker");o&&(o.addEventListener("mouseenter",()=>{s.to(t,{timeScale:.2,duration:.4,ease:"power2.out"})}),o.addEventListener("mouseleave",()=>{s.to(t,{timeScale:1,duration:.6,ease:"power2.out"})}))}function w(){const e=document.querySelector(".logo-strip-track");if(!e)return;e.style.animation="none";const t=s.to(e,{x:"-50%",duration:22,ease:"none",repeat:-1}),o=e.closest(".logo-strip");o&&(o.addEventListener("mouseenter",()=>t.pause()),o.addEventListener("mouseleave",()=>t.play()))}function E(){const e=document.getElementById("stickyBookCta");if(!e)return;const t=document.querySelector(".hero"),o=t||document.body,n=t?"bottom 80%":"top -200px";d.create({trigger:o,start:n,onEnter:()=>e.classList.add("visible"),onLeaveBack:()=>e.classList.remove("visible")})}function L(){const e=document.createElement("div");e.id="scrollProgress",document.body.appendChild(e),d.create({trigger:document.body,start:"top top",end:"bottom bottom",onUpdate:t=>{e.style.width=100*t.progress+"%"}})}export{v as a,b,g as c,w as d,L as e,E as f,y as g,f as i};
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.