PageSourceSearch

https://secondstep.shop/_next/static/chunks/0ef-70l_1ajqq.js

js secondstep.shop collected 2026-10-04 13:37:54 UTC 34,988 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90843,e=>{"use strict";var t=e.i(17683);e.s(["HashScroll",0,function(){return(0,t.useEffect)(()=>{let e=()=>{let{hash:e}=window.location;if(!e)return;let t=document.querySelector(e);if(!(t instanceof HTMLElement))return;let a=parseFloat(getComputedStyle(t).scrollMarginTop),s=t.getBoundingClientRect().top+window.scrollY-a;window.scrollTo({top:s,behavior:"smooth"})};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]),null}])},94055,e=>{"use strict";var t=e.i(38991),a=e.i(7284);function s({headlines:e,compact:a}){return(0,t.jsx)(t.Fragment,{children:e.map((e,s)=>(0,t.jsxs)("div",{className:"flex shrink-0 items-center",children:[(0,t.jsx)("span",{className:a?"px-3 font-sans text-[clamp(0.8125rem,3.2vw,1rem)] leading-none font-extrabold tracking-tight text-ink uppercase":"px-4 font-sans text-[clamp(0.875rem,2.4vw,1.75rem)] leading-none font-extrabold tracking-tight text-ink uppercase sm:px-6",children:e}),(0,t.jsx)("img",{src:"/brand/icono.svg",alt:"",width:41,height:26,className:a?"h-4 w-auto shrink-0 opacity-40":"h-[clamp(1rem,2.2vw,1.75rem)] w-auto shrink-0 opacity-40","aria-hidden":!0})]},s))})}e.s(["MarqueeTrack",0,function({headlines:e,compact:r=!1}){return(0,t.jsx)("div",{className:"overflow-hidden border-y-2 border-ink bg-lime select-none","aria-hidden":"true",children:(0,t.jsxs)("div",{className:(0,a.default)("flex w-max will-change-transform motion-reduce:animate-none",r?"min-h-[2.625rem] animate-marquee py-2":"min-h-[3rem] animate-marquee py-2.5 sm:min-h-[3.25rem] sm:py-3"),children:[(0,t.jsx)("div",{className:"flex shrink-0 items-center",children:(0,t.jsx)(s,{headlines:e,compact:r})}),(0,t.jsx)("div",{className:"flex shrink-0 items-center","aria-hidden":!0,children:(0,t.jsx)(s,{headlines:e,compact:r})})]})})}])},8724,e=>{"use strict";var t=e.i(38991),a=e.i(7284),s=e.i(58693),r=e.i(38819),n=e.i(17683),l=e.i(56904),i=e.i(31492),o=e.i(30345),c=e.i(51090),d=e.i(26699);let m=4200,u="cubic-bezier(0.22, 1, 0.36, 1)",x=[{className:"left-[10%] top-[14%] text-lg",delay:"0ms"},{className:"right-[8%] top-[20%] text-2xl",delay:"350ms"},{className:"left-[18%] bottom-[26%] text-sm",delay:"700ms"},{className:"right-[16%] bottom-[20%] text-xl",delay:"150ms"},{className:"left-[42%] top-[8%] text-xs",delay:"500ms"},{className:"right-[36%] bottom-[12%] text-base",delay:"900ms"},{className:"left-[6%] top-[46%] text-base",delay:"250ms"},{className:"right-[6%] top-[52%] text-sm",delay:"600ms"}];function h({visible:e,transitionMs:s}){return(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-0",style:{opacity:+!!e,transform:e?"scale(1)":"scale(0.92)",transition:`opacity ${s}ms ${u}, transform ${s}ms ${u}`},children:x.map((e,s)=>(0,t.jsx)("span",{className:(0,a.default)("absolute text-primary animate-sparkle-twinkle",e.className),style:{animationDelay:e.delay},children:"✦"},s))})}function f({progress:e}){let n=e>=1,l=.965+.035*e,i=(0,s.useTranslations)("Brand");return(0,t.jsxs)("div",{className:(0,a.default)("relative aspect-[4/5] w-full overflow-hidden rounded-3xl will-change-transform motion-reduce:transition-none",n&&"animate-hiw-shoe-pop motion-reduce:animate-none"),style:{"--hiw-shoe-scale":l,transform:`scale(${l})`,transition:`transform 480ms ${u}`},children:[(0,t.jsx)(h,{visible:n,transitionMs:480}),(0,t.jsx)(r.default,{src:"/images/zapatilla-nueva.webp",alt:i("shoeAfterAlt"),fill:!0,className:"z-10 object-contain object-center p-2 sm:p-5",sizes:"(max-width: 448px) 100vw, 28rem",priority:!0}),(0,t.jsx)("div",{className:"absolute inset-0 z-10 overflow-hidden",style:{clipPath:`inset(0 ${100*e}% 0 0)`,transition:`clip-path 480ms ${u}`},children:(0,t.jsx)(r.default,{src:"/images/zapatilla-vieja.webp",alt:i("shoeBeforeAlt"),fill:!0,className:"object-contain object-center p-2 sm:p-5",sizes:"(max-width: 448px) 100vw, 28rem"})})]})}function p({step:e,isActive:a}){return(0,t.jsxs)("article",{"aria-hidden":!a,className:"flex w-full min-w-0 flex-col items-center px-2 text-center [overflow-wrap:anywhere]",children:[(0,t.jsx)("h3",{className:"w-full font-sans text-[clamp(1.5rem,6.5vw,2.25rem)] font-bold leading-tight text-balance text-ink",children:e.title}),(0,t.jsx)("p",{className:"mt-2 max-w-[18rem] text-base leading-relaxed text-pretty text-text-muted sm:max-w-sm sm:text-lg",children:e.text})]})}function g({steps:e,activeStep:a,reducedMotion:s}
1){let r=(0,n.useRef)(null),[l,i]=(0,n.useState)(0),[o,c]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let e=r.current;if(!e)return;let t=()=>{let t=e.offsetWidth,s=+t;c(s),i(-a*(s+0)+(t-s)/2)};t();let s=new ResizeObserver(t);return s.observe(e),()=>s.disconnect()},[a]),(0,t.jsx)("div",{ref:r,className:"relative w-full overflow-hidden",children:(0,t.jsx)("div",{className:"flex will-change-transform motion-reduce:transition-none",style:{gap:0,transform:`translate3d(${l}px, 0, 0)`,transition:s?"none":`transform 380ms ${u}`},children:e.map((e,s)=>(0,t.jsx)("div",{className:"shrink-0",style:{width:o>0?o:"100%"},children:(0,t.jsx)(p,{step:e,isActive:s===a})},e.n))})})}function v({visible:e}){let a=(0,s.useTranslations)("Brand");return e?(0,t.jsxs)("p",{"aria-hidden":!0,className:"mt-2 flex items-center justify-center gap-1 text-[11px] font-medium tracking-wide text-ink/35 motion-safe:animate-pulse motion-reduce:animate-none",children:[(0,t.jsx)(i.ArrowLeft,{className:"h-3 w-3 shrink-0"}),(0,t.jsx)("span",{children:a("howItWorksSwipeHint")})]}):null}function w({isShop:e}){let r=(0,s.useTranslations)("Brand");return(0,t.jsx)(l.Link,{href:e?"/tienda":"/donar",className:(0,a.default)("group relative inline-flex w-full max-w-xs items-center justify-center overflow-hidden rounded-full border border-transparent px-6 py-3.5 font-sans text-sm font-bold text-cream","transition-[background-color,box-shadow,transform] duration-350 motion-reduce:transition-none","hover:-translate-y-0.5 active:scale-[0.98] motion-reduce:hover:translate-y-0 motion-reduce:active:scale-100",e?"bg-primary shadow-[0_6px_20px_-4px_rgb(0_130_57/0.32)]":"bg-ink shadow-[0_6px_20px_-4px_rgb(13_42_26/0.28)]"),style:{transitionTimingFunction:u},children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 animate-hiw-cta-morph motion-reduce:animate-none",children:[r(e?"howItWorksShopCta":"howItWorksCta"),(0,t.jsx)(o.ArrowRight,{className:"transition-transform duration-300 ease-out group-hover:translate-x-1 motion-reduce:transition-none motion-reduce:group-hover:translate-x-0"})]},e?"shop":"donate")})}function b(){let e=(0,s.useTranslations)("Brand");return(0,t.jsx)("div",{className:"mx-auto max-w-3xl text-center",children:(0,t.jsx)("h2",{className:c.HOME_SECTION_H2_MOBILE_CLASS,children:e.rich("howItWorksTitle",{br:()=>(0,t.jsx)("br",{}),accent:e=>(0,t.jsx)("span",{className:"text-primary",children:e})})})})}function j({steps:e}){let a=(0,s.useTranslations)("Brand"),{sectionRef:r,isInView:l}=function(e=.35){let t=(0,n.useRef)(null),[a,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let a=t.current;if(!a)return;let r=new IntersectionObserver(([e])=>{s(e?.isIntersecting??!1)},{threshold:e});return r.observe(a),()=>r.disconnect()},[e]),{sectionRef:t,isInView:a}}(),[i,o]=(0,n.useState)(!1),{activeStep:c,goToNextStep:u,goToPreviousStep:x,shoeProgress:h,reducedMotion:p,pauseAutoAdvance:y}=function(e,t){var a;let[s,r]=(0,n.useState)(0),[l,i]=(0,n.useState)(1),[o,c]=(0,n.useState)(!1),[d,u]=(0,n.use
1State)(!1),x=(0,n.useRef)(null),h=(0,n.useRef)(null),f=(0,n.useRef)(!1),p=(0,n.useCallback)(()=>{null!==x.current&&(window.clearInterval(x.current),x.current=null)},[]),g=(0,n.useCallback)(()=>{null!==h.current&&(window.clearTimeout(h.current),h.current=null)},[]),v=(0,n.useCallback)(()=>{p(),x.current=window.setInterval(()=>{i(1),r(t=>{var a;return((t+1)%(a=e.length)+a)%a})},m)},[p,e.length]),w=(0,n.useCallback)(a=>{i(a>0?1:-1),r(t=>{var s;return((t+a)%(s=e.length)+s)%s}),!t||o||d||v()},[t,d,o,v,e.length]),b=(0,n.useCallback)(()=>{w(1)},[w]),j=(0,n.useCallback)(()=>{w(-1)},[w]),y=(0,n.useCallback)((e=m)=>{o||(u(!0),p(),g(),h.current=window.setTimeout(()=>{u(!1)},e))},[g,p,o]);(0,n.useEffect)(()=>{let t=window.matchMedia("(prefers-reduced-motion: reduce)"),a=()=>{let a=t.matches;c(a),a&&(p(),g(),r(e.length-1))};return a(),t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[g,p,e.length]),(0,n.useEffect)(()=>t?o||(f.current||(f.current=!0,r(0)),d)?void 0:(v(),p):void p(),[p,t,d,o,v]),(0,n.useEffect)(()=>()=>{g()},[g]);let N=o?1:t?(a=e.length)<=1?1:s/(a-1):0;return{activeStep:s,stepDirection:l,goToNextStep:b,goToPreviousStep:j,shoeProgress:N,reducedMotion:o,pauseAutoAdvance:y}}(e,l),N=(0,n.useCallback)(()=>y(),[y]),k=c===e.length-1,C=function({onSwipeLeft:e,onSwipeRight:t,onInteraction:a}){let s=(0,n.useRef)(null);return{onTouchStart:(0,n.useCallback)(e=>{let t=e.touches[0];t&&(s.current={x:t.clientX,y:t.clientY},a())},[a]),onTouchEnd:(0,n.useCallback)(a=>{let r=s.current;if(s.current=null,!r)return;let n=a.changedTouches[0];if(!n)return;let l=n.clientX-r.x,i=n.clientY-r.y;48>Math.abs(l)||Math.abs(l)<=Math.abs(i)||(l<0?e():t())},[e,t])}}({onSwipeLeft:()=>{o(!0),u()},onSwipeRight:()=>{o(!0),x()},onInteraction:N}),M=e[c]??e[0];return(0,t.jsxs)("div",{ref:r,className:"relative flex h-full min-h-0 min-w-0 flex-1 flex-col justify-center",...C,children:[(0,t.jsx)("p",{className:"sr-only","aria-live":"polite","aria-atomic":"true",children:a("stepAnnouncement",{current:c+1,total:e.length,title:M.title,text:M.text})}),(0,t.jsx)(d.Reveal,{className:"shrink-0 pt-2",children:(0,t.jsx)(b,{})}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"mx-auto w-[min(70vw,13rem)] shrink-0 transition-transform duration-350 sm:w-[min(72vw,13.5rem)] motion-reduce:transition-none",children:(0,t.jsx)(f,{progress:h})}),(0,t.jsxs)("div",{className:"flex min-h-[8rem] shrink-0 flex-col items-center justify-start",role:"group","aria-label":a("stepsAriaLabel"),"aria-roledescription":"carousel",children:[(0,t.jsx)(g,{steps:e,activeStep:c,reducedMotion:p}),(0,t.jsx)(v,{visible:!p&&!i&&c<e.length-1})]}),(0,t.jsx)("div",{className:"mt-4 flex shrink-0 flex-col items-center justify-center",children:(0,t.jsx)(w,{isShop:k})})]})]})}var y=e.i(20511);let N="cubic-bezier(0.33, 1, 0.68, 1)",k=[13,42,26],C=[245,245,245],M=[245,245,245];function S(e){return Math.min(1,Math.max(0,e))}function T(e,t,a){let s=S(a);return`rgb(${e.map((e,a)=>Math.round(e+(t[a]-e)*s)).join(", ")})`}let _=[{className:"left-[10%] top-[14%] text-lg",delay:"0ms"},{className:"right-[8%] top-[20%] text-2xl",delay:"350ms"},{className:"left-[18%] bottom-[26%] text-sm",delay:"700ms"},{className:"right-[16%] bottom-[20%] text-xl",delay:"150ms"},{className:"left-[42%] top-[8%] text-xs",delay:"500ms"},{className:"right-[36%] bottom-[12%] text-base",delay:"900ms"},{className:"left-[6%] top-[46%] text-base",delay:"250ms"},{className:"right-[6%] top-[52%] text-sm",delay:"600ms"}];function E({visible:e,transitionMs:s,onDarkBg:r}){return(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-0",style:{opacity:+!!e,transition:`opacity ${s}ms ease-in-out`},children:_.map((e,s)=>(0,t.jsx)("span",{className:(0,a.default)("absolute animate-sparkle-twinkle transition-colors duration-700",r?"text-lime":"text-primary",e.className),style:{animationDelay:e.delay},children:"✦"},s))})}function L({progress:e,fillHeight:n=!1,compact:l=!1,transitionMs:i=500,continuous:o=!1,onDarkBg:c=!1}){let d=l?"object-contain object-center p-1 md:p-2 lg:p-3":"object-contain object-center p-6 md:p-8 lg:p-10",m=(0,s.useTranslations)("Brand");return(0,t.jsx)("div",{className:(0,a.default)("relative w-full overflow-hidden rounded-3xl",n&&"h-full min-h-0 flex-1"),children:(0,t.jsxs)("div",{className:(0,a.default)("relative w-full",n?"h-full min-h-0 flex-1":"aspect-[4/5]"),children:[(0,t.jsx)(E,{visible:e>=1,transitionMs:i,onDarkBg:c}),(0,t.jsxs)("div",{className:"relative z-10 h-full w-full",children:[(0,t.jsx)(r.default,{src:"/images/zapatilla-nueva.webp",alt:m("shoeAfterAlt"),fill:!0,className:d,sizes:"(min-width: 1024px) 576px, (min-width: 768px) 45vw, 100vw"}),(0,t.jsx)("div",{className:"absolute inset-0 overflow-hidden ease-in-out",style:{clipPath:`inset(0 ${100*e}% 0 0)`,transition:o?void 0:`clip-path ${i}ms ease-in-out`},children:(0,t.jsx)(r.default,{src:"/images/zapatilla-vieja.webp",alt:m("shoeBeforeAlt"),fill:!0,className:d,sizes:"(min-width: 1024px) 576px, (min-width: 768px) 45vw, 100vw"})})]})]})})}function z({steps:e,activeStep:r,onSelect:l,progress:i,onDarkBg:o}){let c=(0,s.useTranslations)("Brand"),d=(0,n.useRef)(null),m=(0,n.useRef)([]),[u,x]=(0,n.use
1State)({top:0,height:0}),h=(0,n.useCallback)(()=>{let t=d.current,a=m.current[0],s=m.current[e.length-1];if(!t||!a||!s)return;let r=t.getBoundingClientRect().top,n=a.getBoundingClientRect().top+a.offsetHeight/2-r;x({top:n,height:s.getBoundingClientRect().top+s.offsetHeight/2-r-n})},[e.length]);(0,n.useLayoutEffect)(()=>{h();let e=d.current;if(!e)return;let t=new ResizeObserver(h);return t.observe(e),window.addEventListener("resize",h),()=>{t.disconnect(),window.removeEventListener("resize",h)}},[h,r]);let f=e.length;return(0,t.jsxs)("div",{ref:d,role:"tablist","aria-label":c("stepsAriaLabel"),className:"relative mx-auto flex min-h-0 min-w-0 w-full max-w-md flex-col justify-start lg:max-w-xl",children:[u.height>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute left-[7px] w-px -translate-x-1/2 bg-current/12",style:{top:u.top,height:u.height}}),(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.default)("pointer-events-none absolute left-[7px] w-px -translate-x-1/2 origin-top transition-colors duration-700",o?"bg-lime":"bg-primary"),style:{top:u.top,height:u.height*i}})]}),(0,t.jsx)("ol",{className:"relative flex flex-col gap-5 lg:gap-7 xl:gap-9",children:e.map((s,n)=>{let c=n===r,d=i>=(f>1?n/(f-1):0)-.001,u=n===e.length-1;return(0,t.jsxs)("li",{className:(0,a.default)("flex items-start gap-4 lg:gap-5",c?"py-1.5":"py-1"),children:[(0,t.jsx)("div",{className:(0,a.default)("relative flex w-3.5 shrink-0 justify-center",c?u?"pt-2 lg:pt-2.5":"pt-3 lg:pt-3.5":"pt-2.5"),children:u?(0,t.jsx)("span",{ref:e=>{m.current[n]=e},"aria-hidden":!0,className:(0,a.default)("absolute left-1/2 z-10 -translate-x-1/2 transition-all duration-500 ease-out",c?"top-1.5 h-10 w-10":d?"top-2 h-7 w-7 opacity-70":"top-2.5 h-6 w-6 opacity-25"),style:{transitionTimingFunction:N},children:(0,t.jsx)(y.Logo,{variant:"icon",tone:o?"light":"primary",className:"h-full w-full"})}):(0,t.jsx)("span",{ref:e=>{m.current[n]=e},"aria-hidden":!0,className:(0,a.default)("relative z-10 block rounded-full transition-all duration-500 ease-out",c?(0,a.default)("size-4 ring-[5px]",o?"bg-lime ring-lime/20":"bg-primary ring-primary/15"):d?"size-2.5 bg-current/50":"size-2.5 border border-current/25 bg-current/5"),style:{transitionTimingFunction:N}})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("button",{type:"button",role:"tab",id:`step-tab-${n}`,"aria-selected":c,"aria-controls":`step-panel-${n}`,onClick:()=>l(n),className:(0,a.default)("block w-full origin-left text-left transition-all duration-700 hover:opacity-100",c?"scale-100 opacity-100":d?"scale-[0.94] opacity-40":"scale-[0.9] opacity-25"),style:{transitionTimingFunction:N},children:(0,t.jsx)("span",{className:(0,a.default)("block font-sans font-extrabold leading-[0.92] tracking-tight transition-all duration-700",c?"text-[clamp(2.25rem,4.5vw,4rem)]":"text-xl font-bold lg:text-2xl"),style:{transitionTimingFunction:N},children:s.title})}),(0,t.jsx)("p",{role:"tabpanel",id:`step-panel-${n}`,"aria-labelledby":`step-tab-${n}`,className:(0,a.default)("overflow-hidden text-left text-lg leading-relaxed transition-all duration-700 lg:text-xl xl:text-2xl",c?"mt-4 max-h-48 translate-y-0 opacity-100 lg:mt-5 lg:max-h-56 xl:max-h-64":"mt-0 max-h-0 -translate-y-1 opacity-0"),style:{color:"color-mix(in srgb, currentColor 82%, transparent)",transitionTimingFunction:N},children:s.text})]})]},s.n)})})]})}function R(e){return e<=1?1:(e-1)/e}function $({themeActive:e=!1}){let a=(0,s.useTranslations)("Brand");return(0,t.jsx)("div",{className:"@container w-full",children:(0,t.jsx)("h2",{className:"mx-auto w-full max-w-4xl text-center font-sans text-[clamp(1.75rem,4.2vw,3.75rem)] leading-[0.95] font-extrabold tracking-[-0.02em] lg:text-[clamp(2rem,4.8vw,4.25rem)]",children:a.rich("howItWorksTitle",{br:()=>(0,t.jsx)("br",{}),accent:a=>(0,t.jsx)("span",{className:e?"text-lime":"text-primary",style:{transition:`color 1000ms ${N}`},children:a})})})})}e.s(["HowItWorksScroll",0,function({steps:e}){let a,r=(0,s.useTranslations)("Brand"),l=window.matchMedia("(prefers-reduced-motion: reduce)").matches,i=(0,n.useRef)(null),[o,c]=(0,n.use
1State)(0),d=function(e,t){if(t<=1)return 0;let a=Math.min(1,e/R(t));return Math.min(t-1,Math.floor(a*(t-1)+1e-4))}(o,e.length),m=l?1:o,u=o>0,x={...{backgroundColor:T(C,k,a=S(+!!u)),color:T(k,M,a)},transition:`background-color 1000ms ${N}, color 1000ms ${N}`},h=(0,n.useCallback)(t=>{let a=i.current;if(!a)return;let s=a.offsetHeight-window.innerHeight,r=function(e,t){if(t<=1)return 1;let a=R(t);return e/(t-1)*a}(t,e.length),n=a.offsetTop+r*s;window.scrollTo({top:n,behavior:"smooth"})},[e.length]),f=(0,n.useCallback)(()=>{let e=i.current;if(e){let t;c((t=e.offsetHeight-window.innerHeight)<=0?+(e.getBoundingClientRect().top<=0):Math.min(1,Math.max(0,-e.getBoundingClientRect().top/t)))}},[]);return(0,n.useEffect)(()=>{if(l)return;let e=window.matchMedia("(min-width: 768px)"),t=!1,a=()=>{!e.matches||t||(t=!0,requestAnimationFrame(()=>{f(),t=!1}))},s=()=>{e.matches&&f()};return s(),window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a,{passive:!0}),e.addEventListener("change",s),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",a),e.removeEventListener("change",s)}},[l,f]),(0,n.useEffect)(()=>{if(!l)return;let e=i.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e?.isIntersecting&&c(1)},{threshold:.2});return t.observe(e),()=>t.disconnect()},[l]),(0,t.jsxs)("section",{id:"como-funciona",className:"scroll-mt-24 overflow-x-visible",children:[(0,t.jsx)("div",{className:"relative z-10 flex min-h-[100svh] flex-col bg-cream px-5 py-12 text-ink sm:px-8 sm:py-16 md:hidden",children:(0,t.jsx)(j,{steps:e})}),(0,t.jsx)("div",{"data-how-it-works-theme":!0,className:"hidden overflow-x-visible px-5 pt-6 pb-8 sm:px-8 sm:pt-8 sm:pb-10 lg:pt-10 lg:pb-12 md:block",style:x,children:(0,t.jsxs)("div",{className:"relative mx-auto min-w-0 max-w-7xl overflow-x-visible md:overflow-x-clip",children:[(0,t.jsx)("p",{className:"sr-only","aria-live":"polite","aria-atomic":"true",children:r("stepAnnouncement",{current:d+1,total:e.length,title:e[d]?.title??"",text:e[d]?.text??""})}),(0,t.jsx)("div",{ref:i,"data-how-it-works-track":!0,className:"relative",style:{height:`${80*Math.max(e.length,2)+60}vh`},children:(0,t.jsx)("div",{className:"sticky relative top-[4.75rem] mx-auto flex h-[calc(100svh-4.75rem)] max-h-[calc(100svh-4.75rem)] w-full min-h-0 flex-col items-center justify-center overflow-hidden pb-2 lg:pb-3",children:(0,t.jsxs)("div",{className:"flex w-full min-h-0 max-h-full flex-col justify-center gap-6 lg:gap-8",children:[(0,t.jsx)("div",{className:"w-full shrink-0",children:(0,t.jsx)($,{themeActive:u})}),(0,t.jsxs)("div",{className:"grid min-h-0 min-w-0 w-full max-w-5xl grid-cols-[minmax(0,1fr)_minmax(0,1fr)] items-center justify-center gap-8 lg:max-w-6xl lg:gap-12 xl:max-w-7xl xl:gap-14",children:[(0,t.jsx)(z,{steps:e,activeStep:d,onSelect:h,progress:o,onDarkBg:u}),(0,t.jsx)("div",{className:"flex min-h-0 w-full min-w-0 items-center justify-center overflow-hidden",children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-[min(100%,22rem)]",children:(0,t.jsx)(L,{progress:m,compact:!0,continuous:!0,onDarkBg:u})})})]})]})})})]})})]})}],8724)},7490,e=>{"use strict";var t=e.i(38991),a=e.i(53662),s=e.i(26699);e.s(["ImpactStatsScroll",0,function({stats:e}){return(0,t.jsx)(s.Reveal,{children:(0,t.jsx)("div",{className:"relative isolate",children:(0,t.jsx)(a.AnimatedStatGrid,{stats:e,valueClassName:"lg:!text-[4rem]"})})})}])},88910,e=>{"use strict";var t=e.i(38991),a=e.i(17683);function s({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 45.81 70.83",fill:"none","aria-hidden":"true",className:e,children:(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M37.73.03c9.93-.72,8.6,13.73,6.91,19.68-.99,3.49-3.21,8.86-5.03,11.99-.1.18-.28.58-.49.59l-9.66-3.33c.25-2.24.18-4.5-.05-6.74-.5-4.99-2.12-7.63-.84-12.74C29.61,5.31,33.13.36,37.73.03Z"}),(0,t.jsx)("path",{d:"M6.62,22.9c5.49-.43,9.38,5.3,10.43,10.07s.02,8.21-.45,12.96c-.14,1.4-.39,3.65-.03,6.74l-9.65,3.35c-.2,0-.39-.41-.49-.59-1.84-3.15-4.08-8.55-5.07-12.06-1.61-5.7-3.46-19.79,5.27-20.48Z"}),(0,t.jsx)("path",{d:"M37.7,35.73c-.62,3.7-1.84,8.83-5.43,10.74-3.6,1.91-7.06-.7-7.35-4.48-.28-3.71,1.29-6.49,3.24-9.46l9.55,3.2Z"}),(0,t.jsx)("path",{d:"M8.35,59.46l9.54-3.21c1.96,2.96,3.53,5.74,3.26,9.45s-3.74,6.4-7.34,4.5-4.83-7.04-5.45-10.73Z"})]})})}let r="(max-width: 639px)";function n(e){return Math.round(1e4*e)/1e4}function l(e){let t=function(e,t){let a=[0];for(let t=1;t<e.length;t++){let s=e[t-1],r=e[t];a.push(a[t-1]+Math.hypot(r.x-s.x,r.y-s.y))}let s=a[a.length-1]??0;return 0===s||t<=1?[e[0]??{x:50,y:50}]:Array.from({length:t}
1,(r,n)=>{let l=n/(t-1)*s,i=a.findIndex(e=>e>=l);i<=0&&(i=1);let o=i-1,c=e[o],d=e[i],m=a[i]-a[o],u=0===m?0:(l-a[o])/m;return{x:c.x+(d.x-c.x)*u,y:c.y+(d.y-c.y)*u}})}(function({yAmplitude:e,xPadding:t,xSpan:a,wavePeriods:s=2}){return Array.from({length:140},(r,n)=>{let l=n/139;return{x:t+l*a,y:50+Math.sin(-Math.PI/2+l*Math.PI*s)*e}})}(e),e.stepCount),a=e.scaleMin??.8,s=(e.scaleMax??.92)-a;return t.map((r,l)=>{let i=t[Math.max(0,l-1)],o=t[Math.min(t.length-1,l+1)],c=Math.atan2(o.y-i.y,o.x-i.x),d=180*c/Math.PI+90,m=l%2==0,u=m?-1:1,x=Math.hypot(o.x-i.x,o.y-i.y),h=e.lateral*(x<9?1+(9-x)*.14:1),f=Math.cos(c+Math.PI/2)*u*h,p=Math.sin(c+Math.PI/2)*u*h;return{left:`${n(r.x)}%`,top:`${n(r.y)}%`,perpX:n(f),perpY:n(p),angleDeg:n(d),isLeft:m,scale:n(a+l/(t.length-1)*s)}})}let i=l({stepCount:5,yAmplitude:16,lateral:.88,xPadding:6,xSpan:88,wavePeriods:1}),o=l({stepCount:10,yAmplitude:30,lateral:.62,xPadding:2,xSpan:96,wavePeriods:2,scaleMin:.92,scaleMax:1.06});function c(e,t){let a=window.matchMedia(e);return a.addEventListener("change",t),()=>a.removeEventListener("change",t)}function d({steps:e,stepCount:r,reducedMotion:l}){let[i,o]=(0,a.useState)(0),c=l?r:i;return(0,a.useEffect)(()=>{if(l)return;let e=0,t=0,a=()=>{if((t+=1)>r){e=window.setTimeout(()=>{t=0,o(0),e=window.setTimeout(a,280)},2400);return}o(t),e=window.setTimeout(a,580)};return e=window.setTimeout(a,400),()=>window.clearTimeout(e)},[l,r]),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-0 overflow-hidden",children:e.map((e,a)=>{let i=l?r:5,o=c-1-a,d=a<c&&o>=0&&o<i,m=a===c-1,u=i<=1?.17:.17-o/(i-1)*.08;return(0,t.jsx)("div",{className:"absolute",style:{left:e.left,top:e.top},children:(0,t.jsx)("div",{className:"origin-center transition-[opacity,transform] duration-500 ease-out motion-reduce:transition-none",style:{opacity:d?m?u:.75*u:0,transform:`translate(-50%, -50%) translate(${e.perpX}rem, ${e.perpY}rem) rotate(${e.angleDeg}deg) scaleX(${e.isLeft?-1:1}) scale(${d?e.scale:n(.88*e.scale)})`},children:(0,t.jsx)(s,{className:"h-[4.5rem] w-auto text-primary sm:h-[5rem] lg:h-[5.75rem] xl:h-[6.25rem]"})})},a)})})}e.s(["ManifestoFootprints",0,function(){let e=(0,a.useSyncExternalStore)(e=>c(r,e),()=>window.matchMedia(r).matches,()=>!1)?i:o,s=e.length,n=(0,a.useSyncExternalStore)(e=>c("(prefers-reduced-motion: reduce)",e),()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,()=>!1);return(0,t.jsx)(d,{steps:e,stepCount:s,reducedMotion:n},s)}],88910)},12834,e=>{"use strict";var t=e.i(38991),a=e.i(24041),s=e.i(48472),r=e.i(7284),n=e.i(58693),l=e.i(17683),i=e.i(82970),o=e.i(94179),c=e.i(30345),d=e.i(20511),m=e.i(56904),u=e.i(38819),x=e.i(66681);let h="transition-shadow duration-300",f="overflow-hidden",p="rounded-2xl bg-white shadow-[0_8px_28px_rgba(13,42,26,0.05)] ring-1 ring-ink/[0.05] hover:shadow-[0_12px_36px_rgba(13,42,26,0.09)] hover:ring-ink/[0.08]",g="rounded-2xl bg-white shadow-[0_6px_20px_rgba(13,42,26,0.07)] ring-1 ring-ink/[0.06] sm:shadow-[0_8px_28px_rgba(13,42,26,0.05)] sm:ring-ink/[0.05] sm:hover:shadow-[0_12px_36px_rgba(13,42,26,0.09)] sm:hover:ring-ink/[0.08]",v="flex h-full w-full min-h-0 flex-col",w="relative aspect-square w-full shrink-0 overflow-hidden rounded-2xl bg-cream-200 ring-1 ring-cream/15 sm:rounded-3xl",b="relative mt-3 flex min-h-[4.25rem] shrink-0 flex-col justify-center rounded-2xl border border-cream/10 bg-white/[0.04] px-4 py-3.5 transition-[background-color,border-color] duration-300 group-hover:border-lime/50 group-hover:bg-lime sm:mt-3.5 sm:min-h-[4.5rem] sm:px-4 sm:py-4";function j({product:e,compactMobile:a=!1,compact:s=!1,rail:l=!1,slider:y=!1}){let N=(0,n.useTranslations)("Shop"),k=!e.availableForSale,C=s||a||y;return(0,t.jsxs)("div",{className:(0,r.default)("group relative",l?v:(0,r.default)(h,!y&&f,y?g:s||a?p:"rounded-3xl shadow-[0_12px_40px_rgba(13,42,26,0.06)] hover:shadow-[0_16px_48px_rgba(13,42,26,0.08)]",y&&"flex h-full w-full flex-col")),children:[(0,t.jsxs)(m.Link,{href:{pathname:"/product/[handle]",params:{handle:e.handle}},className:l?"flex h-full w-full min-h-0 flex-1 flex-col":y?"flex h-full flex-1 flex-col":"block",children:[(0,t.jsxs)("div",{className:(0,r.default)(l?w:(0,r.default)("relative w-full overflow-hidden",y?"aspect-square shrink-0 overflow-hidden rounded-2xl bg-cream-200":C?s?"aspect-square bg-cream-200":"aspect-[6
1/7] bg-cream-200 sm:aspect-square":"aspect-square bg-cream-200")),children:[e.featuredImage?.url?(0,t.jsx)(u.default,{src:e.featuredImage.url,alt:e.featuredImage.altText||e.title,fill:!0,sizes:l?"(max-width: 767px) 72vw, (min-width: 1024px) 25vw, 18rem":y?"18rem":s?"(max-width: 639px) 45vw, (min-width: 1280px) 20vw, (min-width: 1024px) 25vw, (min-width: 640px) 30vw":C?"(max-width: 639px) 45vw, (min-width: 1024px) 25vw, (min-width: 640px) 50vw, 100vw":"(min-width: 1024px) 25vw, (min-width: 640px) 50vw, 100vw",className:"object-cover transition-transform duration-500 group-hover:scale-[1.03]"}):(0,t.jsx)("div",{className:"grid h-full w-full place-items-center text-ink/20",children:(0,t.jsx)(d.LoopMark,{className:(0,r.default)(l?"h-12 w-12":"h-16 w-16")})}),k&&(0,t.jsx)(o.Badge,{variant:"agotado",className:(0,r.default)("absolute z-10",l?"top-2.5 right-2.5":s?"top-1.5 right-1.5":"top-2 right-2 sm:top-3 sm:right-3"),children:N("soldOut")})]}),l?(0,t.jsx)("div",{className:b,children:(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("h3",{className:"line-clamp-2 min-w-0 flex-1 font-sans text-sm font-medium leading-snug text-cream transition-colors duration-300 group-hover:text-ink sm:text-base",children:e.title}),(0,t.jsx)(i.default,{amount:e.priceRange.maxVariantPrice.amount,currencyCode:e.priceRange.maxVariantPrice.currencyCode,className:"shrink-0 pt-0.5 font-sans text-sm font-semibold text-lime transition-colors duration-300 group-hover:text-ink sm:text-base",currencyCodeClassName:"!hidden"})]})}):(0,t.jsxs)("div",{className:(0,r.default)("relative transition-colors duration-300 group-hover:bg-lime",y?"relative flex min-h-[4.75rem] flex-1 flex-col justify-center rounded-b-2xl px-4 py-3.5":s?"px-2.5 py-3 sm:px-3 sm:py-3":C?"px-3 py-4 max-sm:min-h-[3.75rem] sm:min-h-0 sm:px-5":"p-3 sm:p-5"),children:[(0,t.jsxs)("div",{className:(0,r.default)("flex items-start justify-between gap-2","sm:transition-opacity sm:duration-300 sm:group-hover:opacity-0"),children:[(0,t.jsx)("h3",{className:(0,r.default)("min-w-0 flex-1 font-sans font-medium leading-snug text-ink",y?"line-clamp-2 text-sm sm:text-[0.9375rem]":s?"truncate text-xs sm:text-sm":"truncate text-sm sm:text-base"),children:e.title}),(0,t.jsx)(i.default,{amount:e.priceRange.maxVariantPrice.amount,currencyCode:e.priceRange.maxVariantPrice.currencyCode,className:(0,r.default)("shrink-0 font-sans font-semibold text-primary",y||s?"text-sm":"text-sm sm:text-base"),currencyCodeClassName:"!hidden"})]}),(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0 hidden items-center justify-center gap-1.5 opacity-0 transition-opacity duration-300 sm:flex sm:group-hover:opacity-100",children:[(0,t.jsx)("span",{className:(0,r.default)("font-sans font-semibold text-ink",y||s?"text-xs":"text-sm"),children:N("viewProduct")}),(0,t.jsx)(c.ArrowRight,{className:(0,r.default)("text-ink",y||s?"h-3 w-3":"h-3.5 w-3.5")})]})]})]}),(0,t.jsx)(x.ProductCardQuickAdd,{product:e,compact:(s||y)&&!l})]})}function y({compact:e=!1,slider:a=!1}){let s=(0,n.useTranslations)("Shop");return e||a?(0,t.jsxs)("div",{className:(0,r.default)(h,!a&&f,a?g:p,"flex h-full w-full flex-col"),children:[(0,t.jsx)("div",{className:"relative aspect-square w-full shrink-0 overflow-hidden rounded-2xl bg-cream-200",children:(0,t.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center gap-3 p-6 text-center",children:[(0,t.jsx)(d.LoopMark,{className:"h-11 w-11 shrink-0 text-mint"}),(0,t.jsx)("p",{className:"line-clamp-3 text-xs leading-relaxed text-text-muted sm:text-sm",children:s("comingSoonCard")})]})}),(0,t.jsx)("div",{className:(0,r.default)("flex min-h-[4.75rem] flex-1 flex-col justify-center px-3 py-3",a&&"flex-1"),children:(0,t.jsx)("p",{className:"font-sans text-sm font-medium text-ink/30",children:"—"})})]}):(0,t.jsxs)("div",{className:(0,r.default)(v,"h-full"),children:[(0,t.jsxs)("div",{className:(0,r.default)(w,"flex flex-col items-center justify-center gap-3 border border-dashed border-cream/20 bg-ink-500/40 p-6 text-center"),children:[(0,t.jsx)(d.LoopMark,{className:"h-11 w-11 shrink-0 text-mint"}),(0,t.jsx)("p",{className:"line-clamp-3 text-xs leading-relaxed text-cream/55 sm:text-sm",children:s("comingSoonCard")})]}),(0,t.jsx)("div",{className:(0,r.default)(b,"pointer-events-none border-dashed border-cream/15 bg-transparent"),children:(0,t.jsx)("p",{className:"font-sans text-sm font-medium text-cream/30",children:"—"})})]})}let N="[data-rail-card]";function k({products:e,placeholderCount:a,cardClassName:s}){return(0,t.jsxs)(t.Fragment,{children:[e.map(e=>(0,t.jsx)("div",{"data-rail-card":!0,className:s,children:(0,t.jsx)(j,{product:e,slider:!0})},e.handle)),Array.from({length:a}).map((e,a)=>(0,t.jsx)("div",{"data-rail-card":!0,className:s,children:(0,t.jsx)(y,{slider:!0})},`soon-${a}`))]})}e.s(["ProductRailSlider",0,function({products:e,placeholderCount:i}){let o=(0,n.useTranslations)("Shop"),c=function(){let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=window.matchMedia("(min-width: 1024px)"),a=()=>t(e.matches);return a(),e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[]),e}(),d=(0,l.useRef)(null),[m,u]=(0,l.useState)(!1),[x,h]=(0,l.useState)(!1),f=e.length+i,p=(0,l.useCallback)(()=>{let e=d.current;if(!e)return;let t=e.scrollWidth-e.clientWidth,a=t>8;u(a&&e.scrollLeft>8),h(a&&e.scrollLeft<t-8)},[]);(0,l.useEffect)(()=>
1{if(c)return;let e=d.current;if(!e)return;p(),e.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",p,{passive:!0});let t=new ResizeObserver(p);for(let a of(t.observe(e),e.querySelectorAll(N)))t.observe(a);return()=>{e.removeEventListener("scroll",p),window.removeEventListener("resize",p),t.disconnect()}},[f,p,c]);let g=(0,l.useCallback)(e=>{let t=d.current;if(!t)return;let a=t.querySelector(N),s=a?.offsetWidth??320,r=parseFloat(getComputedStyle(t).columnGap||"0")||16;t.scrollBy({left:e*(s+r),behavior:"smooth"})},[]),v=!c&&(m||x);return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"relative mt-10 w-full sm:mt-10 lg:mt-10",children:c?(0,t.jsx)("div",{role:"region","aria-label":o("railTitle"),className:"mx-auto grid w-full max-w-7xl grid-cols-4 items-stretch gap-5 lg:gap-6",children:(0,t.jsx)(k,{products:e,placeholderCount:i,cardClassName:"flex min-w-0 w-full self-stretch"})}):(0,t.jsxs)("div",{className:"relative -mx-5 w-[calc(100%+2.5rem)] sm:-mx-8 sm:w-[calc(100%+4rem)] md:left-1/2 md:mx-0 md:w-screen md:max-w-none md:-translate-x-1/2",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:(0,r.default)("pointer-events-none absolute inset-y-0 left-0 z-[1] hidden w-10 bg-gradient-to-r from-cream via-cream/80 to-transparent transition-opacity duration-300 md:block sm:w-14",v&&m?"opacity-100":"opacity-0")}),(0,t.jsx)("div",{"aria-hidden":!0,className:(0,r.default)("pointer-events-none absolute inset-y-0 right-0 z-[1] hidden w-10 bg-gradient-to-l from-cream via-cream/80 to-transparent transition-opacity duration-300 md:block sm:w-14",v&&x?"opacity-100":"opacity-0")}),v&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button","aria-label":o("railScrollPrev"),onClick:()=>g(-1),disabled:!m,className:(0,r.default)("absolute top-1/2 z-[2] hidden h-11 w-11 -translate-y-1/2 items-center justify-center rounded-full border border-ink/10 bg-cream/95 text-ink shadow-[0_4px_20px_rgba(13,42,26,0.08)] backdrop-blur-sm transition-[opacity,transform,border-color,background-color] duration-200 md:flex","hover:scale-105 hover:border-primary/30 hover:bg-white","focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-lime focus-visible:ring-offset-2 focus-visible:ring-offset-cream","disabled:pointer-events-none disabled:opacity-0","left-2 sm:left-4"),children:(0,t.jsx)(a.ChevronLeftIcon,{className:"h-5 w-5",strokeWidth:2,"aria-hidden":!0})}),(0,t.jsx)("button",{type:"button","aria-label":o("railScrollNext"),onClick:()=>g(1),disabled:!x,className:(0,r.default)("absolute top-1/2 z-[2] hidden h-11 w-11 -translate-y-1/2 items-center justify-center rounded-full border border-ink/10 bg-cream/95 text-ink shadow-[0_4px_20px_rgba(13,42,26,0.08)] backdrop-blur-sm transition-[opacity,transform,border-color,background-color] duration-200 md:flex","hover:scale-105 hover:border-primary/30 hover:bg-white","focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-lime focus-visible:ring-offset-2 focus-visible:ring-offset-cream","disabled:pointer-events-none disabled:opacity-0","right-2 sm:right-4"),children:(0,t.jsx)(s.ChevronRightIcon,{className:"h-5 w-5",strokeWidth:2,"aria-hidden":!0})})]}),(0,t.jsx)("div",{ref:d,role:"region","aria-label":o("railTitle"),className:"scrollbar-none flex snap-x snap-mandatory items-stretch gap-4 overflow-x-auto overscroll-x-contain scroll-ps-5 py-4 pl-5 pr-5 touch-pan-x sm:scroll-px-8 sm:gap-5 sm:py-0 sm:pb-3 sm:pl-8 sm:pr-8 [-webkit-overflow-scrolling:touch]",children:(0,t.jsx)(k,{products:e,placeholderCount:i,cardClassName:"flex w-[min(72vw,18rem)] min-w-[min(72vw,18rem)] shrink-0 snap-start self-stretch py-3 sm:w-[19rem] sm:min-w-[19rem] sm:py-0"})})]})})})}],12834)}]);

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.