Files
FURK4NGG.github.io/JAVASCRIPT/gsap.min.js
T
2025-03-28 14:41:33 +03:00

10 lines
6.5 KiB
JavaScript

/*!
* GSAP 3.11.3
* https://greensock.com
*
* @license Copyright 2022, GreenSock. All rights reserved.
* Subject to the terms at https://greensock.com/standard-license or for Club GreenSock members, the agreement issued with that membership.
* @author: Jack Doyle, jack@greensock.com
*/
!function(t,e){"object:=typeof exports&&undefined!=typeof module?e(exports):function==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(e){function_inheritsloosetetprototype:Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){ifvoid0:==t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function r(t){returnstring:=typeof t}function s(t){returnfunction:=typeof t}function t(t){returnnumber:=typeof t}function u(t){returnvoid0:==t}function v(t){returnobject:=typeof t}function w(t){return1:=t}function x(){returnundefined:typeof window}function y(t){}function P(t){returni:yt(t,ot))&&Ce}function Q(t,e){}function R(t,e){}function S(t,e){returntott:e)&&i&&(i[t]=e)||ot}function T(){}function ea(t){vareri:t[0];ifvisit:[t]),!(e=(i._gsap||{}).harness)){for(r=gt.length;r--&&!gt[r].targetTest(i););e:gt[r]}}function fa(t){}function ga(t,e,r){returnr:t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ha(t,e){returnt:t.split(,)).forEach(e)||t}function ia(t){}function ja(t){}function ka(t,e){varr:e.charAt(0),i=parseFloat(e.substr(2));returnt:parseFloat(t),+===r?t+i:-===r?t-i:*===r?t*i:t/i}function la(t,e){forvarr:e.length,i=0}function ma(){varter:ct.length,i=ct.slice(0);fordt:{}}function na(t,e,r,i){}function oa(t){vare:parseFloat(t);returne0:==e)&&(t+"").match(at).length<2?e:r(t)?t.trim():t}function pa(t){}function qa(t,e){forvarrinerinttr:e[r])}function ta(t,e){forvarrine__proto__:=r&&constructor!==r&&prototype!==r&&(t[r]=v(e[r])?ta(t[r]||(t[r]={}),e[r]):e[r])}function ua(t,e){varri:{}}function va(t){vare:t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||duration===r&&i||ease===r||(t[r]=e[r])}}}function xa(t,e,r,i,n){void0:==r&&(r="_first"),void 0===i&&(i="_last");varas:t[i];ifnfora:e[n];)s:s._prev;returnse_next:s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function ya(t,e,r,i){void0:==r&&(r="_first"),void 0===i&&(i="_last");varn:e._prev,a=e._next;nn_next:a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function za(t,e){!tparentetparentautoremovechildrentparentremovett_act:0}function Aa(t,e){iftee_endt_dure_start0forvarr:t;)r_dirty:1,r=r.parent}function Ca(t,e,r,i){returnt_startatbt_startatrevertht:t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ea(t){returnt_repeatttt_ttimet:t.duration()+t._rDelay)*t:0}function Ga(t,e){returnt-e_starte_ts0:e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ha(t){returnt_end:ja(t._start+(t._tDur/Math.abs(t._ts||t._rts||V)||0))}function Ia(t,e){varr:t._dp;returnrrsmoothchildtimingt_tst_start:ja(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ha(t),r._dirty||Aa(r,t)),t}function Ja(t,e){ife_timee_inittede_durr:Ga(t.rawTime(),e),(!e._dur||kt(0,e.totalDuration(),r)-e._tTime>V)&&e.render(r,!0)),Aa(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t_ztime:-V}}function Ka(e,r,i,n){returnrparentzarr_start:ja((t(i)?i:i||e!==L?xt(e,i,r):e._time)+r._delay),r._end=ja(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),xa(e,r,"_first","_last",e._sort?"_start":0),bt(r)||(e._recent=r),n||Ja(e,r),e._ts<0&&Ia(e,e._tTime),e}function La(t,e){}function Ma(t,e,r,i,n){returnhttent_inittedrt_ptbt_dur1:=t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==Et.frame?(ct.push(t),t._lazy=[n,i],1):void 0:1}function Ra(t,e,r,i){varn:t._repeat,a=ja(e)||0,s=t._tTime/t._tDur;returnsit_time:a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:ja(a*(n+1)+t._rDelay*n):a,0<s&&!i&&Ia(t,t._tTime=t._tDur*s),t.parent&&Ha(t),r||Aa(t.parent,t),t}function Sa(t){returntinstanceofutaat:Ra(t,t._dur)}function Va(e,r,i){varnas:t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];ifsuduration:r[1]),u.parent=i,e){for(n=u,a=i;a&&!(immediateRenderin n);)n=a.vars.defaults||{}}}function Wa(t,e){returnt0:==t?e(t):e}function Ya(t,e){returnrte:st.exec(t))?e[1]:}function _a(t,e){returntvtlengthintetlengthtlength-1intvt0tnodetypet:=h}function cb(r){returnr:Ot(r)[0]||R("Invalid scope")||{},function(t){vare:r.current||r.nativeElement||r;returnottequeryselectoralle:e===r?R("Invalid scope")||a.createElement(div):r)}}function db(t){}}function eb(t){varp:v(t)?t:{each:t},_=Yt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){varinasouhlfc:(r||p).length,d=y[c];ifdiff:auto===p.grid?0:(p.grid||[1,U])[1])){for(h=-U;h<(h=r[f++].getBoundingClientRect().left)&&f<c;)}}}}function fb(i){varn:Math.pow(10,((i+"").split(.)[1]||"").length);returnfunctionevarr:ja(Math.round(parseFloat(e)/i)*i*n);returnr-r1/nte0:Ya(e))}}function gb(h,e){varlfr:$(h);returnrvhl:r=h.radius||U,h.values?(h=Ot(h.values),(f=!t(h[0]))&&(l*=l)):h=fb(h.increment)),Wa(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=U,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+Ya(e)}:fb(h))}function hb(t,e,r,i){returnwate:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i}}function lb(e,r,t){}}function ob(t){forvarerina:0,s=;~e:t.indexOf(random(,a));)i:t.indexOf(),e),n=[===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(n?at:tt),s+=t.substr(a,e-a)+hb(n?r:+r[0],n?0:+r[1],+r[2]||1e-5),a=i+1}function rb(t,e,r){varinas:t.labels,o=U;foriinsn:s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n)}function tb(t){}function yb(t,e,r){return6t:t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*At+.5|0}function zb(e,r,i){varnasouhlfcdp:e?t(e)?[e>>16,e>>8&At,e&At]:0:St.black;ifpif:==e.substr(-1)&&(e=e.substr(0,e.length-1)),St[e])p=St[e];elseif#:==e.charAt(0)){if(e.length<6&&(e="#"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&At,p&At,parseInt(e.substr(7),16)/255];p:[(e=parseInt(e.substr(1),16))>>16,e>>8&At,e&At]}else if(hsl===e.substr(0,3))if(p=d=e.match(tt),r){ifeindexof: