PageSourceSearch

https://amigo-mvp-production.up.railway.app/_next/static/chunks/5685-8c5685620ab81666.js

js amigo-mvp-production.up.railway.app collected 2026-10-03 12:11:36 UTC 12,426 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5685],{10887:function(e,t){!function(e){"use strict";var t,n,r=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,i=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,s=Math.PI/180,o=Math.sin,l=Math.cos,a=Math.abs,u=Math.sqrt,c=function(e){return Math.round(1e5*e)/1e5||0},f=function(){return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t},h=function(){(t=f())?(t.registerEase("_CE",v.create),n=1):console.warn("Please gsap.registerPlugin(CustomEase)")},d=function(e){return~~(1e3*e+(e<0?-.5:.5))/1e3},p=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,g=/[cLlsSaAhHvVtTqQ]/g,x=function(e){var t,n=e.length,r=1e20;for(t=1;t<n;t+=6)+e[t]<r&&(r=+e[t]);return r},m=function(e,t,n){n||0===n||(n=Math.max(+e[e.length-1],+e[1]));var r,i=-+ +e[0],s=-n,o=e.length,l=1/(+e[o-2]+i),a=-t||(Math.abs(+e[o-1]-+e[1])<.01*(+e[o-2]-+e[0])?x(e)+s:+e[o-1]+s);for(r=0,a=a?1/a:-l;r<o;r+=2)e[r]=(+e[r]+i)*l,e[r+1]=(+e[r+1]+s)*a},y=function e(t,n,r,i,s,o,l,a,u,c,f){var h,d=(t+r)/2,p=(n+i)/2,g=(r+s)/2,x=(i+o)/2,m=(s+l)/2,y=(o+a)/2,v=(d+g)/2,M=(p+x)/2,E=(g+m)/2,w=(x+y)/2,C=(v+E)/2,b=(M+w)/2,P=l-t,A=a-n,j=Math.abs((r-l)*A-(i-a)*P),R=Math.abs((s-l)*A-(o-a)*P);return c||(c=[{x:t,y:n},{x:l,y:a}],f=1),c.splice(f||c.length-1,0,{x:C,y:b}),(j+R)*(j+R)>u*(P*P+A*A)&&(h=c.length,e(t,n,d,p,v,M,C,b,u,c,f),e(C,b,E,w,m,y,l,a,u,c,f+1+(c.length-h))),c},v=function(){function e(e,t,r){n||h(),this.id=e,this.setData(t,r)}var f=e.prototype;
1return f.setData=function(e,n){n=n||{};var c,f,h,d,x,v,M,E,w,C=(e=e||"0,0,1,1").match(p),b=1,P=[],A=[],j=n.precision||1,R=j<=1;if(this.data=e,(g.test(e)||~e.indexOf("M")&&0>e.indexOf("C"))&&(C=function(e){var t,n,c,f,h,d,p,g,x,m,y,v,M,E,w,C=(e+"").replace(i,function(e){var t=+e;return t<1e-4&&t>-1e-4?0:t}).match(r)||[],b=[],P=0,A=0,j=2/3,R=C.length,S=0,N="ERROR: malformed path: "+e,L=function(e,t,n,r){m=(n-e)/3,y=(r-t)/3,p.push(e+m,t+y,n-m,r-y,n,r)};if(!e||!isNaN(C[0])||isNaN(C[1]))return console.log(N),b;for(t=0;t<R;t++)if(M=h,isNaN(C[t])?d=(h=C[t].toUpperCase())!==C[t]:t--,c=+C[t+1],f=+C[t+2],d&&(c+=P,f+=A),t||(g=c,x=f),"M"===h)p&&(p.length<8?b.length-=1:S+=p.length),P=g=c,A=x=f,p=[c,f],b.push(p),t+=2,h="L";else if("C"===h)p||(p=[0,0]),d||(P=A=0),p.push(c,f,P+ +C[t+3],A+ +C[t+4],P+=+C[t+5],A+=+C[t+6]),t+=6;else if("S"===h)m=P,y=A,("C"===M||"S"===M)&&(m+=P-p[p.length-4],y+=A-p[p.length-3]),d||(P=A=0),p.push(m,y,c,f,P+=+C[t+3],A+=+C[t+4]),t+=4;else if("Q"===h)m=P+(c-P)*j,y=A+(f-A)*j,d||(P=A=0),P+=+C[t+3],A+=+C[t+4],p.push(m,y,P+(c-P)*j,A+(f-A)*j,P,A),t+=4;else if("T"===h)m=P-p[p.length-4],y=A-p[p.length-3],p.push(P+m,A+y,c+(P+1.5*m-c)*j,f+(A+1.5*y-f)*j,P=c,A=f),t+=2;else if("H"===h)L(P,A,P=c,A),t+=1;else if("V"===h)L(P,A,P,A=c+(d?A-P:0)),t+=1;else if("L"===h||"Z"===h)"Z"===h&&(c=g,f=x,p.closed=!0),("L"===h||a(P-c)>.5||a(A-f)>.5)&&(L(P,A,c,f),"L"===h&&(t+=2)),P=c,A=f;else if("A"===h){if(E=C[t+4],w=C[t+5],m=C[t+6],y=C[t+7],n=7,E.length>1&&(E.length<3?(y=m,m=w,n--):(y=w,m=E.substr(2),n-=2),w=E.charAt(1),E=E.charAt(0)),v=function(e,t,n,r,i,c,f,h,d){if(e!==h||t!==d){n=a(n),r=a(r);var p=i%360*s,g=l(p),x=o(p),m=Math.PI,y=2*m,v=(e-h)/2,M=(t-d)/2,E=g*v+x*M,w=-x*v+g*M,C=E*E,b=w*w,P=C/(n*n)+b/(r*r);P>1&&(n=u(P)*n,r=u(P)*r);var A=n*n,j=r*r,R=(A*j-A*b-j*C)/(A*b+j*C);R<0&&(R=0);var S=(c===f?-1:1)*u(R),N=n*w/r*S,L=-(r*E/n*S),O=(e+h)/2+(g*N-x*L),k=(t+d)/2+(x*N+g*L),T=(E-N)/n,V=(w-L)/r,D=(-E-N)/n,_=(-w-L)/r,I=T*T+V*V,q=(V<0?-1:1)*Math.acos(T/u(I)),z=(T*_-V*D<0?-1:1)*Math.acos((T*D+V*_)/u(I*(D*D+_*_)));isNaN(z)&&(z=m),!f&&z>0?z-=y:f&&z<0&&(z+=y),q%=y;var G,F=Math.ceil(a(z%=y)/(y/4)),H=[],Q=z/F,U=4/3*o(Q/2)/(1+l(Q/2)),W=g*n,X=x*n,Y=-(x*r),Z=g*r;for(G=0;G<F;G++)E=l(i=q+G*Q),w=o(i),T=l(i+=Q),V=o(i),H.push(E-U*w,w+U*E,T+U*V,V-U*T,T,V);for(G=0;G<H.length;G+=2)E=H[G],w=H[G+1],H[G]=E*W+w*Y+O,H[G+1]=E*X+w*Z+k;return H[G-2]=h,H[G-1]=d,H}}(P,A,+C[t+1],+C[t+2],+C[t+3],+E,+w,(d?P:0)+ +m,(d?A:0)+ +y),t+=n,v)for(n=0;n<v.length;n++)p.push(v[n]);P=p[p.length-2],A=p[p.length-1]}else console.log(N);return(t=p.length)<6?(b.pop(),t=0):p[0]===p[t-2]&&p[1]===p[t-1]&&(p.closed=!0),b.totalPoints=S+t,b}(e)[0]),4===(c=C.length))C.unshift(0,0),C.push(1,1),c=8;else if((c-2)%6)throw"Invalid CustomEase";for((0!=+C[0]||1!=+C[c-2])&&m(C,n.height,n.originY),this.segment=C,d=2;d<c;d+=6)f={x:+C[d-2],y:+C[d-1]},h={x:+C[d+4],y:+C[d+5]},P.push(f,h),y(f.x,f.y,+C[d],+C[d+1],+C[d+2],+C[d+3],h.x,h.y,1/(2e5*j),P,P.length-1);for(d=0,c=P.length;d<c;d++)M=P[d],E=P[d-1]||M,(M.x>E.x||E.y!==M.y&&E.x===M.x||M===E)&&M.x<=1?(E.cx=M.x-E.x,E.cy=M.y-E.y,E.n=M,E.nx=M.x,R&&d>1&&Math.abs(E.cy/E.cx-P[d-2].cy/P[d-2].cx)>2&&(R=0),E.cx<b&&(E.cx?b=E.cx:(E.cx=.001,d===c-1&&(E.x-=.001,b=Math.min(b,.001),R=0)))):(P.splice(d--,1),c--);if(x=1/(c=1/b+1|0),v=0,M=P[0],R){for(d=0;d<c;d++)w=d*x,M.nx<w&&(M=P[++v]),f=M.y+(w-M.x)/M.cx*M.cy,A[d]={x:w,cx:x,y:f,cy:0,nx:9},d&&(A[d-1].cy=f-A[d-1].y);v=P[P.length-1],A[c-1].cy=v.y-f,A[c-1].cx=v.x-A[A.length-1].x}else{for(d=0;d<c;d++)M.nx<d*x&&(M=P[++v]),A[d]=M;v<P.length-1&&(A[d-1]=P[P.length-2])}return this.ease=function(e){var t=A[e*c|0]||A[c-1];return t.nx<e&&(t=t.n),t.y+(e-t.x)/t.cx*t.cy},this.ease.custom=this,this.id&&t&&t.registerEase(this.id,this.ease),this},f.getSVGData=function(t){return e.getSVGData(this,t)},e.create=function(t,n,r){return new e(t,n,r).ease},e.register=function(e){t=e,h()},e.get=function(e){return t.parseEase(e)},e.getSVGData=function(n,r){var i,s,o,l,a,u,f,h,p,g,x=(r=r||{}).width||100,m=r.height||100,y=r.x||0,v=(r.y||0)+m,M=t.utils.toArray(r.path)[0];if(r.invert&&(m=-m,v=0),"string"==typeof n&&(n=t.parseEase(n)),n.custom&&(n=n.custom),n instanceof e)i=function(e){"number"==typeof e[0]&&(e=[e]);var t,n,r,i,s="",o=e.length;for(n=0;n<o;n++){for(s+="M"+c((i=e[n])[0])+","+c(i[1])+" C",t=i.length,r=2;r<t;r++)s+=c(i[r++])+","+c(i[r++])+" "+c(i[r++])+","+c(i[r++])+" "+c(i[r++])+","+c(i[r])+" ";i.closed&&(s+="z")}return s}(function(e,t,n,r,i,s,o){for(var l,a,u,c,f,h=e.length;--h>-1;)for(u=0,a=(l=e[h]).length;u<a;u+=2)c=l[u],f=l[u+1],l[u]=c*t+0*f+s,l[u+1]=0*c+f*i+o;return e._dirty=1,e}
1([n.segment],x,0,0,-m,y,v));else{for(i=[y,v],l=1/(f=Math.max(5,200*(r.precision||1))),f+=2,h=5/f,p=d(y+l*x),s=((g=d(v+-(n(l)*m)))-v)/(p-y),o=2;o<f;o++)a=d(y+o*l*x),(Math.abs(((u=d(v+-(n(o*l)*m)))-g)/(a-p)-s)>h||o===f-1)&&(i.push(p,g),s=(u-g)/(a-p)),p=a,g=u;i="M"+i.join(",")}return M&&M.setAttribute("d",i),i},e}();v.version="3.13.0",v.headless=!0,f()&&t.registerPlugin(v),e.CustomEase=v,e.default=v,Object.defineProperty(e,"__esModule",{value:!0})}(t)},15990:(e,t,n)=>{"use strict";n.d(t,{zo:()=>l});var r=n(24076),i=n(14357),s=n(96536);let o=e=>e===Object(e)&&!Array.isArray(e)&&"function"!=typeof e;function l(e,t){let n=(0,s.C)(e=>e.gl),l=(0,s.G)(i.Tap,o(e)?Object.values(e):e);return(0,r.useLayoutEffect)(()=>{null==t||t(l)},[t]),(0,r.useEffect)(()=>{if("initTexture"in n){let e=[];Array.isArray(l)?e=l:l instanceof i.gPd?e=[l]:o(l)&&(e=Object.values(l)),e.forEach(e=>{e instanceof i.gPd&&n.initTexture(e)})}},[n,l]),(0,r.useMemo)(()=>{if(!o(e))return l;{let t={},n=0;for(let r in e)t[r]=l[n++];return t}},[e,l])}l.preload=e=>s.G.preload(i.Tap,e),l.clear=e=>s.G.clear(i.Tap,e)},35961:(e,t,n)=>{"use strict";n.d(t,{M:()=>f});var r=n(24076),i=n(14357),s=n(96536),o=n(61292),l=n(27484);let a=((e,t)=>"undefined"!=typeof window&&"function"==typeof(null==(e=window.document)?void 0:e.createElement)&&"string"==typeof(null==(t=window.navigator)?void 0:t.userAgent))(),u=null;async function c(...e){var t;null!==(t=u)&&void 0!==t||(u=await Promise.resolve().then(n.bind(n,27484)));let r=u.default;return r.isSupported()?new r(...e):null}function f(e,{unsuspend:t="loadedmetadata",start:n=!0,hls:u={},crossOrigin:d="anonymous",muted:p=!0,loop:g=!0,playsInline:x=!0,onVideoFrame:m,...y}={}){let v=(0,s.C)(e=>e.gl),M=(0,r.useRef)(null),E=(0,o.DY)(()=>new Promise(async n=>{let r,s;"string"==typeof e?r=e:s=e;let o=Object.assign(document.createElement("video"),{src:r,srcObject:s,crossOrigin:d,loop:g,muted:p,playsInline:x,...y});if(r&&a&&r.endsWith(".m3u8")){let e=M.current=await c(u);e&&(e.on(l.Events.MEDIA_ATTACHED,()=>void e.loadSource(r)),e.attachMedia(o))}let f=new i.Nv2(o);f.colorSpace=v.outputColorSpace,o.addEventListener(t,()=>n(f))}),[e]);return h(E.source.data,m),(0,r.useEffect)(()=>(n&&E.image.play(),()=>{M.current&&(M.current.destroy(),M.current=null)}),[E,n]),E}let h=(e,t)=>{(0,r.useEffect)(()=>{let n;if(!t||!e.requestVideoFrameCallback)return;let r=(...i)=>{t(...i),n=e.requestVideoFrameCallback(r)};return e.requestVideoFrameCallback(r),()=>e.cancelVideoFrameCallback(n)},[e,t])}},83033:(e,t,n)=>{"use strict";n.d(t,{N:()=>v});var r=n(43072),i=n(24076),s=n(35643),o=n(48223),l=n(93779),a=n(36791),u=n(20867),c=n(742);function f(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class h extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,u.s)(e)&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d(e){let{children:t,isPresent:n,anchorX:s,root:o}=e,l=(0,i.useId)(),a=(0,i.useRef)(null),u=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,i.useContext)(c.Q),p=function(...e){return i.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=f(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():f(e[t],null)}}}}(...e),e)}(a,null==t?void 0:t.ref);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i,right:c}=u.current;if(n||!a.current||!e||!t)return;a.current.dataset.motionPopId=l;let f=document.createElement("style");d&&(f.nonce=d);let h=null!=o?o:document.head;return h.appendChild(f),f.sheet&&f.sheet.insertRule('\n          [data-motion-pop-id="'.concat(l,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            ").concat("left"===s?"left: ".concat(i):"right: ".concat(c),"px !important;\n            top: ").concat(r,"px !important;\n          }\n        ")),()=>{h.contains(f)&&h.removeChild(f)}},[n]),(0,r.jsx)(h,{isPresent:n,childRef:a,sizeRef:u,children:i.cloneElement(t,{ref:p})})}let p=e=>{let{children:t,initial:n,isPresent:s,onExitComplete:l,custom:u,presenceAffectsLayout:c,mode:f,anchorX:h,root:p}=e,x=(0,o.M)(g),m=(0,i.useId)(),y=!0,v=(0,i.useMemo)(()=>(y=!1,{id:m,initial:n,isPresent:s,custom:u,onExitComplete:e=>
1{for(let t of(x.set(e,!0),x.values()))if(!t)return;l&&l()},register:e=>(x.set(e,!1),()=>x.delete(e))}),[s,x,l]);return c&&y&&(v={...v}),(0,i.useMemo)(()=>{x.forEach((e,t)=>x.set(t,!1))},[s]),i.useEffect(()=>{s||x.size||!l||l()},[s]),"popLayout"===f&&(t=(0,r.jsx)(d,{isPresent:s,anchorX:h,root:p,children:t})),(0,r.jsx)(a.t.Provider,{value:v,children:t})};function g(){return new Map}var x=n(28336);let m=e=>e.key||"";function y(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let v=e=>{let{children:t,custom:n,initial:a=!0,onExitComplete:u,presenceAffectsLayout:c=!0,mode:f="sync",propagate:h=!1,anchorX:d="left",root:g}=e,[v,M]=(0,x.xQ)(h),E=(0,i.useMemo)(()=>y(t),[t]),w=h&&!v?[]:E.map(m),C=(0,i.useRef)(!0),b=(0,i.useRef)(E),P=(0,o.M)(()=>new Map),[A,j]=(0,i.useState)(E),[R,S]=(0,i.useState)(E);(0,l.E)(()=>{C.current=!1,b.current=E;for(let e=0;e<R.length;e++){let t=m(R[e]);w.includes(t)?P.delete(t):!0!==P.get(t)&&P.set(t,!1)}},[R,w.length,w.join("-")]);let N=[];if(E!==A){let e=[...E];for(let t=0;t<R.length;t++){let n=R[t],r=m(n);w.includes(r)||(e.splice(t,0,n),N.push(n))}return"wait"===f&&N.length&&(e=N),S(y(e)),j(E),null}let{forceRender:L}=(0,i.useContext)(s.L);return(0,r.jsx)(r.Fragment,{children:R.map(e=>{let t=m(e),i=(!h||!!v)&&(E===R||w.includes(t));return(0,r.jsx)(p,{isPresent:i,initial:(!C.current||!!a)&&void 0,custom:n,presenceAffectsLayout:c,mode:f,root:g,onExitComplete:i?void 0:()=>{if(!P.has(t))return;P.set(t,!0);let e=!0;P.forEach(t=>{t||(e=!1)}),e&&(null==L||L(),S(b.current),h&&(null==M||M()),u&&u())},anchorX:d,children:e},t)})})}},85408:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{A:()=>r})}}]);

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.