PageSourceSearch

https://envless.cloud/assets/PageHero.Li5Wljal.js

js envless.cloud collected 2026-10-08 19:58:17 UTC 3,213 bytes, 1 lines download raw bytes

1import{j as e}from"./jsx-runtime.u17CrQMm.js";import{H as h}from"./interaction.CJtquuJa.js";import{H as _}from"./jwt-generator.DZpDpWmD.js";import{r as f}from"./chunk-BV7QT456.BQ71lt_D.js";const E={MARKETING:"marketing",FEATURE:"feature",TOOL:"tool",COMPACT:"compact"},m={marketing:"text-[42px] sm:text-[54px] md:text-[66px] lg:text-[78px] leading-[1] tracking-[-1.5px]",feature:"text-[42px] sm:text-[54px] md:text-[64px] lg:text-[72px] leading-[1] tracking-[-1.5px] lg:max-w-[620px]",tool:"text-[36px] sm:text-[44px] md:text-[54px] lg:text-[62px] leading-[1.02] tracking-[-1px]",compact:"text-[34px] sm:text-[42px] md:text-[50px] lg:text-[58px] leading-[1.05] tracking-[-0.75px]"},d={marketing:"text-base sm:text-lg md:text-xl",feature:"text-base sm:text-lg md:text-xl",tool:"text-base md:text-lg",compact:"text-base md:text-lg"},p={WORD_STEP:h,WORD_BUDGET:.6,SUBTITLE_GAP:.1,ACTIONS_GAP:.15,VISUAL_GAP:.25},A=()=>e.jsxs(e.Fragment,{children:[e.jsx("img",{className:"page-hero__media",src:_,alt:"",width:"2048",height:"1365",loading:"eager",decoding:"async","aria-hidden":"true"}),e.jsx("div",{className:"page-hero__veil","aria-hidden":"true"})]}),u=t=>{const a=t.trim().split(/\s+/),s=Math.min(p.WORD_STEP,p.WORD_BUDGET/a.length),x=a.length*s,l=x+p.SUBTITLE_GAP;return{words:a,step:s,subtitle:l,actions:l+p.ACTIONS_GAP,visual:x+p.VISUAL_GAP}},i=t=>({animationDelay:`${t.toFixed(3)}s`}),S=({delays:t,subtitle:a,kind:s,subtitleClassName:x})=>{const l=t.words.length-1,r=m[s]??m.marketing,c=d[s]??d.marketing;return e.jsxs(e.Fragment,{children:[e.jsx("h1",{className:`font-display font-normal text-foreground text-balance break-words max-w-[880px] ${r}`,children:t.words.map((o,n)=>e.jsxs(f.Fragment,{children:[e.jsx("span",{className:"page-hero-word",style:i(n*t.step),children:o}),n<l?" ":null]},`${o}-${n}`))}),a&&e.jsx("p",{className:`page-hero__subtitle page-hero-fade mt-5 md:mt-6 max-w-[560px] text-muted-foreground text-pretty ${c}${x?` ${x}`:""}`,style:i(t.subtitle),children:a})]})},N=({title:t,subtitle:a,kind:s=E.MARKETING,lead:x,actions:l,visual:r,subtitleClassName:c})=>{const o=u(t),n=r?" lg:grid-cols-[minmax(0,1fr)_minmax(0,480px)]":"",g=r?"pb-0 lg:pb-[calc(var(--sheet-overlap)+72px)]":"pb-[calc(var(--sheet-overlap)+48px)] md:pb-[calc(var(--sheet-overlap)+72px)]";return e.jsxs("section",{"data-kind":s,className:"page-hero relative isolate flex flex-col overflow-hidden bg-background",children:[e.jsx(A,{}),e.jsx("div",{className:"relative z-10 mx-auto flex w-full max-w-section flex-1 flex-col px-5 md:px-[60px]",children:e.jsxs("div",{className:`grid flex-1 items-end gap-8 lg:gap-14${n}`,children:[e.jsxs("div",{className:`page-hero__copy flex min-w-0 flex-col items-start pt-[120px] md:pt-[148px] ${g}`,children:[x&&e.jsx("div",{className:"page-hero-fade mb-6",children:x}),e.jsx(S,{delays:o,subtitle:a,kind:s,subtitleClassName:c}),l&&e.jsx("div",{className:"page-hero-fade mt-8 flex flex-wrap items-center gap-3",style:i(o.actions),children:l})]}),r&&e.jsx("div",{"aria-hidden":"true","data-md-skip":"",className:"page-hero-visual relative h-[220px] w-full self-end overflow-hidden rounded-t-[24px] sm:h-[260px] lg:h-[380px]",style:i(o.visual),children:r})]})})]})};export{N as P,E as a};

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.