1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[692],{8692:function(t,e,r){r.d(e,{Hj:function(){return u},gM:function(){return a},A$:function(){return y},$m:function(){return s},Ym:function(){return h}});var o=r(7437),i=r(2265),n=r(6498),l=r(9498);n.ZP.registerPlugin(l.i);let c={up:{x:0,y:40},down:{x:0,y:-40},left:{x:40,y:0},right:{x:-40,y:0},none:{x:0,y:0}};function s(t){let{children:e,direction:r="up",delay:s=0,duration:a=.8,distance:u=40,threshold:f=.2,className:g="",once:p=!0}=t,y=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=y.current;if(!t)return;let e=c[r],o=u/40;n.ZP.set(t,{opacity:0,x:e.x*o,y:e.y*o});let i=l.i.create({trigger:t,start:"top ".concat(100-100*f,"%"),onEnter:()=>{n.ZP.to(t,{opacity:1,x:0,y:0,duration:a,delay:s,ease:"power3.out"})},onLeaveBack:p?void 0:()=>{n.ZP.to(t,{opacity:0,x:e.x*o,y:e.y*o,duration:.5*a,ease:"power2.in"})},once:p});return()=>{i.kill()}},[r,s,a,u,f,p]),(0,o.jsx)("div",{ref:y,className:g,children:e})}function a(t){let{children:e,duration:r=1.5,delay:c=0,ease:s="power2.out",scrub:a=!1,start:u="top 80%",end:f="bottom 20%",className:g=""}=t,p=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=p.current;if(!t)return;let e=t.querySelectorAll("path, line, polyline, polygon, circle, rect, ellipse");return e.forEach(t=>{let e;try{e=t.getTotalLength()}catch(t){e=1e3}n.ZP.set(t,{strokeDasharray:e,strokeDashoffset:e})}),a?n.ZP.to(e,{strokeDashoffset:0,ease:"none",scrollTrigger:{trigger:t,start:u,end:f,scrub:"number"==typeof a?a:1}}):l.i.create({trigger:t,start:u,onEnter:()=>{n.ZP.to(e,{strokeDashoffset:0,duration:r,delay:c,ease:s,stagger:.1})},once:!0}),()=>{l.i.getAll().forEach(e=>{e.trigger===t&&e.kill()})}},[r,c,s,a,u,f]),(0,o.jsx)("div",{ref:p,className:g,children:e})}function u(t){let{children:e,style:r="slide-up",duration:c=.8,delay:s=0,stagger:a=.1,scrub:u=!1,start:f="top 85%",end:g="bottom 20%",className:p="",markers:y=!1}=t,h=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=h.current;if(!t)return;let e=t.querySelectorAll("[data-construct]"),o=e.length>0?e:[t],{from:i,to:p}=(()=>{switch(r){case"slide-up":return{from:{opacity:0,y:50},to:{opacity:1,y:0}};case"slide-left":return{from:{opacity:0,x:50},to:{opacity:1,x:0}};case"slide-right":return{from:{opacity:0,x:-50},to:{opacity:1,x:0}};case"scale":return{from:{opacity:0,scale:.8},to:{opacity:1,scale:1}};case"fade":return{from:{opacity:0}
1,to:{opacity:1}};case"draw-border":return{from:{clipPath:"inset(0 100% 0 0)"},to:{clipPath:"inset(0 0% 0 0)"}};case"typewriter":return{from:{width:"0%"},to:{width:"100%"}};default:return{from:{opacity:0,y:30},to:{opacity:1,y:0}}}})();return n.ZP.set(o,i),u?n.ZP.to(o,{...p,ease:"none",stagger:a,scrollTrigger:{trigger:t,start:f,end:g,scrub:"number"==typeof u?u:1,markers:y}}):l.i.create({trigger:t,start:f,markers:y,onEnter:()=>{n.ZP.to(o,{...p,duration:c,delay:s,stagger:a,ease:"power3.out"})},once:!0}),()=>{l.i.getAll().forEach(e=>{e.trigger===t&&e.kill()})}},[r,c,s,a,u,f,g,y]),(0,o.jsx)("div",{ref:h,className:p,children:e})}n.ZP.registerPlugin(l.i),n.ZP.registerPlugin(l.i),n.ZP.registerPlugin(l.i);var f=r(5447),g=r(5584),p=r(9653);function y(t){let{position:e="top",color:r="var(--color-maker-orange, #f59e0b)",height:n=3,showPercentage:l=!1,className:c=""}=t,{scrollYProgress:s}=(0,f.v)(),a=(0,g.q)(s,{stiffness:100,damping:30,restDelta:.001}),[u,y]=(0,i.useState)(0);(0,i.useEffect)(()=>s.on("change",t=>{y(Math.round(100*t))}),[s]);let h="top"===e||"bottom"===e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(p.E.div,{className:"fixed z-50 ".concat(c),style:{...{top:{top:0,left:0,right:0,height:n},bottom:{bottom:0,left:0,right:0,height:n},left:{top:0,left:0,bottom:0,width:n},right:{top:0,right:0,bottom:0,width:n}}[e],backgroundColor:r,transformOrigin:h?"left":"top",scaleX:h?a:1,scaleY:h?1:a}}),l&&(0,o.jsxs)("div",{className:"fixed z-50 font-mono text-xs",style:{right:16,bottom:16,color:r},children:[u,"%"]})]})}function h(t){let{children:e,stagger:r=.15,className:c=""}=t,s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=s.current;if(!t)return;let e=t.children;return n.ZP.set(e,{opacity:0,y:40}),l.i.create({trigger:t,start:"top 75%",onEnter:()=>{n.ZP.to(e,{opacity:1,y:0,duration:.6,stagger:r,ease:"power3.out"})},once:!0}),()=>{l.i.getAll().forEach(e=>{e.trigger===t&&e.kill()})}},[r]),(0,o.jsx)("div",{ref:s,className:c,children:e})}n.ZP.registerPlugin(l.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.