PageSourceSearch

https://ai-up.ru/_next/static/chunks/3635-427adab333d60898.js

js ai-up.ru collected 2026-10-06 13:40:08 UTC 16,847 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3635],{36530:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});var n={default:function(){return u},getImageProps:function(){return c}};for(var o in n)Object.defineProperty(e,o,{enumerable:!0,get:n[o]});let i=r(54730),s=r(68154),a=r(42402),l=i._(r(19434));function c(t){let{props:e}=(0,s.getImgProps)(t,{defaultLoader:l.default,imgConf:{deviceSizes:[768,1024,1280,1440,1920,2048],imageSizes:[16,24,28,32,40,48,56,64,96,128,256,384,450,640],qualities:[70,75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,r]of Object.entries(e))void 0===r&&delete e[t];return{props:e}}let u=a.Image},63482:(t,e,r)=>{r.d(e,{R:()=>_});var n,o,i,s,a,l,c,u,f,p,h,g,d,v,m,y=function(){return"u">typeof window},b=function(){return n||y()&&(n=window.gsap)&&n.registerPlugin&&n},x=function(t){return f.maxScroll(t||i)},T=function(t,e){var r,n,o=t.parentNode||a,s=t.getBoundingClientRect(),l=o.getBoundingClientRect(),c=l.top-s.top,u=l.bottom-s.bottom,f=(Math.abs(c)>Math.abs(u)?c:u)/(1-e),p=-f*e;return f>0&&(n=.5==(r=l.height/(i.innerHeight+l.height))?2*l.height:2*Math.min(l.height,Math.abs(-f*r/(2*r-1)))*(e||1),p+=e?-n*e:-n/2,f+=n),{change:f,offset:p}},w=function(t){var e=s.querySelector(".ScrollSmoother-wrapper");return e||((e=s.createElement("div")).classList.add("ScrollSmoother-wrapper"),t.parentNode.insertBefore(e,t),e.appendChild(t)),e},_=function(){var t;function e(t){var r=this;o||e.register(n)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),t=this.vars=t||{},p&&p.kill(),p=this,v(this);var y,b,_,S,P,k,C,E,R,A,L,N,O,Y,M,X,z=t,I=z.smoothTouch,B=z.onUpdate,F=z.onStop,K=z.smooth,H=z.onFocusIn,U=z.normalizeScroll,j=z.wholePixels,V=this,q=t.effectsPrefix||"",W=f.getScrollFunc(i),D=1===f.isTouch?!0===I?.8:parseFloat(I)||0:0===K||!1===K?0:parseFloat(K)||.8,G=D&&+t.speed||1,J=0,Q=0,Z=1,$=g(0),tt=function(){return $.update(-J)},te={y:0},tr=function(){return y.style.overflow="visible"},tn=function(t){t.update();var e=t.getTween();e&&(e.pause(),e._time=e._dur,e._tTime=e._tDur),M=!1,t.animation.progress(t.progress,!0)},to=function(t,r){(t!==J&&!A||r)&&(j&&(t=Math.round(t)),D&&(y.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+t+", 0, 1)",y._gsap.y=t+"px"),Q=t-J,J=t,f.isUpdating||e.isRefreshing||f.update())},ti=function(t){return arguments.length?(t<0&&(t=0),te.y=-t,M=!0,A?J=-t:to(-t),f.isRefreshing?S.update():W(t/G),this):-J},ts="u">typeof ResizeObserver&&!1!==t.autoResize&&new ResizeObserver(function(){if(!f.isRefreshing){var t=x(b)*G;t<-J&&ti(t),m.restart(!0)}}),ta=function(t){b.scrollTop=0,t.target.contains&&t.target.contains(b)||H&&!1===H(r,t)||(f.isInViewport(t.target)||t.target===X||r.scrollTo(t.target,!1,"center center"),X=t.target)},tl=function(t,e){if(t<e.start)return t;var r=isNaN(e.ratio)?1:e.ratio,n=e.end-e.start,o=t-e.start,i=e.offset||0,s=e.pins||[],a=s.offset||0,l=e._startClamp&&e.start<=0||e.pins&&e.pins.offset?0:e._endClamp&&e.end===x()?1:.5;return s.forEach(function(e){n-=e.distance,e.nativeStart<=t&&(o-=e.distance)}),a&&(o*=(n-a/r)/n),t+(o-i*l)/r-o},tc=function t(e,r,o){o||(e.pins.length=e.pins.offset=0);var i,s,a,l,c,u,f,p,h=e.pins,g=e.markers;for(f=0;f<r.length;f++)if(p=r[f],e.trigger&&p.trigger&&e!==p&&(p.trigger===e.trigger||p.pinnedContainer===e.trigger||e.trigger.contains(p.trigger))&&(c=p._startNative||p._startClamp||p.start,u=p._endNative||p._endClamp||p.end,a=tl(c,e),l=p.pin&&u>0?a+(u-c):tl(u,e),p.setPositions(a,l,!0,(p._startClamp?Math.max(0,a):a)-c),p.markerStart&&g.push(n.quickSetter([p.markerStart,p.markerEnd],"y","px")),p.pin&&p.end>0&&!o)){if(i=p.end-p.start,s=e._startClamp&&p.start<0){if(e.start>0){e.setPositions(0,e.end+(e._startNative-e.start),!0),t(e,r);return}i+=p.start,h.offset=-p.start}h.push({start:p.start,nativeStart:c,end:p.end,distance:i,trig:p}),e.setPositions(e.start,e.end+(s?-p.start:i),!0)}},tu=function(t,e){P.forEach(function(r){return tc(r,t,e)})},tf=function(){a=s.documentElement,l=s.body,tr(),requestAnimationFrame(tr),P&&(f.getAll().forEach(function(t){t._startNative=t.start,t._endNative=t.end}),P.forEach(function(t){var e=t._startClamp||t.start,r=t.autoSpeed?Math.min(x(),t.end):e+Math.abs((t.end-e)/t.ratio),n=r-t.end;if((e-=n/2)>(r-=n/2)){var o=e;e=r,r=o}t._startClamp&&e<0?(n=(r=t.ratio<0?x():t.end/t.ratio)-t.end,e=0):(t.ratio<0||t._endClamp&&r>=x())&&(r=x(),e=t.ratio<0||t.ratio>1?0:r-(r-t.start)/t.ratio,n=(r-e)*t.ratio-(t.end-t.start)),t.offset=n||1e-4,t.pins.length=t.pins.offset=0,t.setPositions(e,r,!0)}),tu(f.sort())),$.reset()},tp=function(){return f.addEventListener("refresh",tf)},th=function(){return P&&P.forEach(function(t){return t.vars.onRefresh(t)})},tg=function(){return P&&P.forEach(function(t){return t.vars.onRefreshInit(t)}),th},td=function(t,e,r,n){return function(){var o="function"==typeof e?e(r,n):e;o||0===o||(o=n.getAttribute("data-"+q+t)||+("speed"===t)),n.setAttribute("data-"+q+t,o);var i="clamp("===(o+"").substr(0,6);return{clamp:i,value:i?o.substr(6,o.length-7):o}}},tv=function(t,e,r,o,i){i=("function"==typeof i?i(o,t):i)||0;var s,a,l,c,p,g,d=td("speed",e,o,t),v=td("lag",r,o,t),m=n.getProperty(t,"y"),y=t._gsap,w=[],_=function(){e=d(),r=parseFloat(v().value),s=parseFloat(e.value)||1,p=(l="auto"===e.value)||a&&a._startClamp&&a.start<=0||w.offset?0:a&&a._endClamp&&a.end===x()?1:.5,c&&c.kill(),c=r&&n.to(t,{ease:h,overwrite:!1,y:"+=0",duration:r}),a&&(a.ratio=s,a.autoSpeed=l)},S=function(){y.y=m+"px",y.renderTransform(1),_()},k=[],C=0,E=function(e){if(l){S();var r=T(t,u(0,1,-e.start/(e.end-e.start)));C=r.change,g=r.offset}else g=w.offset||0,C=(e.end-e.start-g)*(1-s);
1w.forEach(function(t){return C-=t.distance*(1-s)}),e.offset=C||.001,e.vars.onUpdate(e),c&&c.progress(1)};return _(),(1!==s||l||c)&&(a=f.create({trigger:l?t.parentNode:t,start:function(){return e.clamp?"clamp(top bottom+="+i+")":"top bottom+="+i},end:function(){return e.value<0?"max":e.clamp?"clamp(bottom top-="+i+")":"bottom top-="+i},scroller:b,scrub:!0,refreshPriority:-999,onRefreshInit:S,onRefresh:E,onKill:function(t){var e=P.indexOf(t);e>=0&&P.splice(e,1),S()},onUpdate:function(t){var e,r,o,i=m+C*(t.progress-p),s=w.length,a=0;if(t.offset){if(s){for(r=-J,o=t.end;s--;){if((e=w[s]).trig.isActive||r>=e.start&&r<=e.end){c&&(e.trig.progress+=e.trig.direction<0?.001:-.001,e.trig.update(0,0,1),c.resetTo("y",parseFloat(y.y),-Q,!0),Z&&c.progress(1));return}r>e.end&&(a+=e.distance),o-=e.distance}i=m+a+C*((n.utils.clamp(t.start,t.end,r)-t.start-a)/(o-t.start)-p)}k.length&&!l&&k.forEach(function(t){return t(i-a)}),i=Math.round(1e5*(i+g))/1e5||0,c?(c.resetTo("y",i,-Q,!0),Z&&c.progress(1)):(y.y=i+"px",y.renderTransform(1))}}}),E(a),n.core.getCache(a.trigger).stRevert=tg,a.startY=m,a.pins=w,a.markers=k,a.ratio=s,a.autoSpeed=l,t.style.willChange="transform"),a};function tm(){return _=y.clientHeight,y.style.overflow="visible",l.style.height=i.innerHeight+(_-i.innerHeight)/G+"px",_-i.innerHeight}tp(),f.addEventListener("killAll",tp),n.delayedCall(.5,function(){return Z=0}),this.scrollTop=ti,this.scrollTo=function(t,e,o){var i=n.utils.clamp(0,x(),isNaN(t)?r.offset(t,o,!!e&&!A):+t);e?A?n.to(r,{duration:D,scrollTop:i,overwrite:"auto",ease:h}):W(i):ti(i)},this.offset=function(t,e,r){var o,i=(t=c(t)[0]).style.cssText,s=f.create({trigger:t,start:e||"top top"});return P&&(Z?f.refresh():tu([s],!0)),o=s.start/(r?G:1),s.kill(!1),t.style.cssText=i,n.core.getCache(t).uncache=1,o},this.content=function(t){if(arguments.length){var e=c(t||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||l.children[0];return e!==y&&(R=(y=e).getAttribute("style")||"",ts&&ts.observe(y),n.set(y,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),D||n.set(y,{clearProps:"transform"})),this}return y},this.wrapper=function(t){return arguments.length?(E=(b=c(t||"#smooth-wrapper")[0]||w(y)).getAttribute("style")||"",tm(),n.set(b,D?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):b},this.effects=function(t,e){if(P||(P=[]),!t)return P.slice(0);(t=c(t)).forEach(function(t){for(var e=P.length;e--;)P[e].trigger===t&&P[e].kill()});var r,n,o,i=e=e||{},s=i.speed,a=i.lag,l=i.effectsPadding,u=[];for(n=0;n<t.length;n++)(o=tv(t[n],s,a,n,l))&&u.push(o);return(r=P).push.apply(r,u),!1!==e.refresh&&f.refresh(),u},this.sections=function(t,e){if(k||(k=[]),!t)return k.slice(0);var r,n=c(t).map(function(t){return f.create({trigger:t,start:"top 120%",end:"bottom -20%",onToggle:function(e){t.style.opacity=e.isActive?"1":"0",t.style.pointerEvents=e.isActive?"all":"none"}})});return e&&e.add?(r=k).push.apply(r,n):k=n.slice(0),n},this.content(t.content),this.wrapper(t.wrapper),this.render=function(t){return to(t||0===t?t:J)},this.getVelocity=function(){return $.getVelocity(-J)},f.scrollerProxy(b,{scrollTop:ti,scrollHeight:function(){return tm()&&l.scrollHeight},fixedMarkers:!1!==t.fixedMarkers&&!!D,content:y,getBoundingClientRect:function(){return{top:0,left:0,width:i.innerWidth,height:i.innerHeight}}}),f.defaults({scroller:b});var ty=f.getAll().filter(function(t){return t.scroller===i||t.scroller===b});ty.forEach(function(t){return t.revert(!0,!0)}),S=f.create({animation:n.fromTo(te,{y:function(){return Y=0,0}},{y:function(){return Y=1,-tm()},immediateRender:!1,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:function(){if(Y){var t=M;t&&(tn(S),te.y=J),to(te.y,t),tt(),B&&!A&&B(V)}}}),onRefreshInit:function(t){if(!e.isRefreshing){if(e.isRefreshing=!0,P){var r=f.getAll().filter(function(t){return!!t.pin});P.forEach(function(t){t.vars.pinnedContainer||r.forEach(function(e){if(e.pin.contains(t.trigger)){var r=t.vars;r.pinnedContainer=e.pin,t.vars=null,t.init(r,t.animation)}})})}var n=t.getTween();O=n&&n._end>n._dp._time,N=J,te.y=0,D&&(1===f.isTouch&&(b.style.position="absolute"),b.scrollTop=0,1===f.isTouch&&(b.style.position="fixed"))}},onRefresh:function(t){t.animation.invalidate(),te.y=0,t.setPositions(t.start,tm()/G),O||tn(t),te.y=-W()*G,to(te.y),Z||(O&&(M=!1),t.animation.progress(n.utils.clamp(0,1,-(N/G/t.end)))),O&&(t.progress-=.001,t.update(
1)),e.isRefreshing=!1},id:"ScrollSmoother",scroller:i,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function(){return tm()/G},onScrubComplete:function(){$.reset(),F&&F(r)},scrub:D||!0}),this.smooth=function(e){return arguments.length&&(G=(D=e||0)&&+t.speed||1,S.scrubDuration(e)),S.getTween()?S.getTween().duration():0},S.getTween()&&(S.getTween().vars.ease=t.ease||h),this.scrollTrigger=S,t.effects&&this.effects(!0===t.effects?"[data-"+q+"speed], [data-"+q+"lag]":t.effects,{effectsPadding:t.effectsPadding,refresh:!1}),t.sections&&this.sections(!0===t.sections?"[data-section]":t.sections),ty.forEach(function(t){t.vars.scroller=b,t.revert(!1,!0),t.init(t.vars,t.animation)}),this.paused=function(t,e){return arguments.length?(!!A!==t&&(t?(S.getTween()&&S.getTween().pause(),W(-J/G),$.reset(),(L=f.normalizeScroll())&&L.disable(),(A=f.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function(){return ti(-J)}})).nested=d(a,"wheel,touch,scroll",!0,!1!==e)):(A.nested.kill(),A.kill(),A=0,L&&L.enable(),S.progress=(-J/G-S.start)/(S.end-S.start),tn(S))),this):!!A},this.kill=this.revert=function(){r.paused(!1),tn(S),S.kill();for(var t=(P||[]).concat(k||[]),e=t.length;e--;)t[e].kill();f.scrollerProxy(b),f.removeEventListener("killAll",tp),f.removeEventListener("refresh",tf),b.style.cssText=E,y.style.cssText=R;var n=f.defaults({});n&&n.scroller===b&&f.defaults({scroller:i}),r.normalizer&&f.normalizeScroll(!1),clearInterval(C),p=null,ts&&ts.disconnect(),l.style.removeProperty("height"),i.removeEventListener("focusin",ta)},this.refresh=function(t,e){return S.refresh(t,e)},U&&(this.normalizer=f.normalizeScroll(!0===U?{debounce:!0,content:!D&&y}:U)),f.config(t),"scrollBehavior"in i.getComputedStyle(l)&&n.set([l,a],{scrollBehavior:"auto"}),i.addEventListener("focusin",ta),C=setInterval(tt,250),"loading"===s.readyState||requestAnimationFrame(function(){return f.refresh()})}return e.register=function(t){return!o&&(n=t||b(),y()&&window.document&&(i=window,a=(s=document).documentElement,l=s.body),n)&&(c=n.utils.toArray,u=n.utils.clamp,h=n.parseEase("expo"),v=n.core.context||function(){},f=n.core.globals().ScrollTrigger,n.core.globals("ScrollSmoother",e),l&&f)&&(m=n.delayedCall(.2,function(){return f.isRefreshing||p&&p.refresh()}).pause(),g=f.core._getVelocityProp,d=f.core._inputObserver,e.refresh=f.refresh,o=1),o},t=[{key:"progress",get:function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,t),e}();_.version="3.14.2",_.create=function(t){return p&&t&&p.content()===c(t.content)[0]?p:new _(t)},_.get=function(){return p},b()&&n.registerPlugin(_)},73981:(t,e,r)=>{r.d(e,{default:()=>o.a});var n=r(36530),o=r.n(n)},74213:(t,e,r)=>{r.d(e,{I:()=>T});var n,o,i,s,a,l,c,u,f=function(){return"u">typeof window},p=function(){return n||f()&&(n=window.gsap)&&n.registerPlugin&&n},h=function(t){return"string"==typeof t},g=function(t){return"function"==typeof t},d=function(t,e){var r="x"===e?"Width":"Height",n="scroll"+r,o="client"+r;return t===i||t===s||t===a?Math.max(s[n],a[n])-(i["inner"+r]||s[o]||a[o]):t[n]-t["offset"+r]},v=function(t,e){var r="scroll"+("x"===e?"Left":"Top");return t===i&&(null!=t.pageXOffset?r="page"+e.toUpperCase()+"Offset":t=null!=s[r]?s:a),function(){return t[r]}},m=function(t,e,r,n){if(g(t)&&(t=t(e,r,n)),"object"!=typeof t)return h(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var o,i={};for(o in t)i[o]="onAutoKill"!==o&&g(t[o])?t[o](e,r,n):t[o];return i},y=function(t,e){if(!(t=l(t)[0])||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=t.getBoundingClientRect(),n=!e||e===i||e===a,o=n?{top:s.clientTop-(i.pageYOffset||s.scrollTop||a.scrollTop||0),left:s.clientLeft-(i.pageXOffset||s.scrollLeft||a.scrollLeft||0)}:e.getBoundingClientRect(),c={x:r.left-o.left,y:r.top-o.top};return!n&&e&&(c.x+=v(e,"x")(),c.y+=v(e,"y")()),c},b=function(t,e,r,n,o){return isNaN(t)||"object"==typeof t?h(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+n-o:"max"===t?d(e,r)-o:Math.min(d(e,r),y(t,e)[r]-o):parseFloat(t)-o},x=function(){n=p(),f()&&n&&"u">typeof document&&document.body&&(i=window,a=document.body,s=document.documentElement,l=n.utils.toArray,n.config({autoKillThreshold:7}),c=n.config(),o=1)},T={version:"3.14.2",name:"scrollTo",rawVars:1,register:function(t){n=t,x()},init:function(t,e,r,s,a){o||x();var l=n.getProperty(t,"scrollSnapType");this.isWin=t===i,this.target=t,this.tween=r,e=m(e,s,t,a),this.vars=e,this.autoKill=!!("autoKill"in e?e:c).autoKill,this.getX=v(t,"x"),this.getY=v(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),u||(u=n.core.globals().ScrollTrigger),"smooth"===n.getProperty(t,"scrollBehavior")&&n.set(t,{scrollBehavior:"auto"}),l&&"none"!==l&&(this.snap=1,this.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=e.x?(this.add(this,"x",this.x,b(e.x,t,"x",this.x,e.offsetX||0),s,a),this._props.push("scrollTo_x")):this.skipX=1,null!=e.y?(this.add(this,"y",this.y,b(e.y,t,"y",this.y,e.offsetY||0),s,a),this._props.push("scrollTo_y")):this.skipY=1},render:function(t,e){for(var r,n,o,s,a,l=e._pt,f=e.target,p=e.tween,h=e.autoKill,g=e.xPrev,v=e.yPrev,m=e.isWin,y=e.snap,b=e.snapInline;l;)l.r(t,l.d),l=l._next;r=m||!e.skipX?e.getX():g,o=(n=m||!e.skipY?e.getY():v)-v,s=r-g,a=c.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),h&&(!e.skipX&&(s>a||s<-a)&&r<d(f,"x")&&(e.skipX=1),!e.skipY&&(o>a||o<-a)&&n<d(f,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(p.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(p,e.vars.onAutoKillParam
1s||[]))),m?i.scrollTo(e.skipX?r:e.x,e.skipY?n:e.y):(e.skipY||(f.scrollTop=e.y),e.skipX||(f.scrollLeft=e.x)),y&&(1===t||0===t)&&(n=f.scrollTop,r=f.scrollLeft,b?f.style.scrollSnapType=b:f.style.removeProperty("scroll-snap-type"),f.scrollTop=n+1,f.scrollLeft=r+1,f.scrollTop=n,f.scrollLeft=r),e.xPrev=e.x,e.yPrev=e.y,u&&u.update()},kill:function(t){var e="scrollTo"===t,r=this._props.indexOf(t);return(e||"scrollTo_x"===t)&&(this.skipX=1),(e||"scrollTo_y"===t)&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};T.max=d,T.getOffset=y,T.buildGetter=v,T.config=function(t){for(var e in c||x()||(c=n.config()),t)c[e]=t[e]},p()&&n.registerPlugin(T)},82222:(t,e,r)=>{var n=r(55042);r.o(n,"usePathname")&&r.d(e,{usePathname:function(){return n.usePathname}}),r.o(n,"useSearchParams")&&r.d(e,{useSearchParams:function(){return n.useSearchParams}})}}]);

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.