PageSourceSearch

https://juara666spin.com/_next/static/chunks/0lje8z~.m2t1c.js

js juara666spin.com collected 2026-10-09 22:41:04 UTC 89,140 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,14526,t=>{"use strict";var e,r,i=t.i(43476),n=t.i(67448),s=t.i(47167),a=t.i(78158),o=t.i(98573),u=t.i(57688),l=t.i(71645);let h=({setIsQrcodeVisible:t,downloadUrl:e})=>{let[r,n]=o.message.useMessage(),h=s.default?.env?.NEXT_PUBLIC_DEFAULT_LANGUAGE||a.Language.English,c=(0,l.useMemo)(()=>["mx","id","en"].includes(h)?`/common/index/H5/QRcode-${h}.png`:"/common/index/H5/QRcode-en.png",[h]);return(0,i.jsxs)(i.Fragment,{children:[n,(0,i.jsx)(u.default,{onClick:()=>{if(!e)return r.open({type:"error",content:"No Brand!"});t(!0)},className:"mt-[20px] w-full cursor-pointer",src:c,width:90,height:90,alt:"QRcode"})]})},c=({open:t,onClose:e,children:r})=>t&&(0,i.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 z-[1000] bg-black/30",onClick:()=>e(),children:(0,i.jsx)("div",{className:"flex h-screen items-center justify-center",children:(0,i.jsx)("div",{className:" relative flex min-h-[86px] min-w-full items-center justify-center",children:r})})});var d=t.i(88111);function f(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var _,m,g,v,y,w,x,b,T,O,k,A,E,M,S,C,R,B,j,P,N,D,H,I,z,F,U={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},L={duration:.5,overwrite:!1,delay:0},$=2*Math.PI,Y=$/4,G=0,V=Math.sqrt,q=Math.cos,X=Math.sin,Q=function(t){return"string"==typeof t},W=function(t){return"function"==typeof t},J=function(t){return"number"==typeof t},K=function(t){return void 0===t},Z=function(t){return"object"==typeof t},tt=function(t){return!1!==t},te=function(){return"u">typeof window},tr=function(t){return W(t)||Q(t)},ti="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},tn=Array.isArray,ts=/(?:-?\.?\d|\.)+/gi,ta=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,to=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,tu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,tl=/[+-]=-?[.\d]+/,th=/[^,'"\[\]\s]+/gi,tc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,td={},tf={},tp=function(t){return(tf=t$(t,td))&&rN},t_=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},tm=function(t,e){return!e&&console.warn(t)},tg=function(t,e){return t&&(td[t]=e)&&tf&&(tf[t]=e)||td},tv=function(){return 0},ty={suppressEvents:!0,isStart:!0,kill:!1},tw={suppressEvents:!0,kill:!1},tx={suppressEvents:!0},tb={},tT=[],tO={},tk={},tA={},tE=30,tM=[],tS="",tC=function(t){var e,r,i=t[0];if(Z(i)||W(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=tM.length;r--&&!tM[r].targetTest(i););e=tM[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new eJ(t[r],e)))||t.splice(r,1);return t},tR=function(t){return t._gsap||tC(ef(t))[0]._gsap},tB=function(t,e,r){return(r=t[e])&&W(r)?t[e]():K(r)&&t.getAttribute&&t.getAttribute(e)||r},tj=function(t,e){return(t=t.split(",")).forEach(e)||t},tP=function(t){return Math.round(1e5*t)/1e5||0},tN=function(t){return Math.round(1e7*t)/1e7||0},tD=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i},tH=function(t,e){for(var r=e.length,i=0;0>t.indexOf(e[i])&&++i<r;);return i<r},tI=function(){var t,e,r=tT.length,i=tT.slice(0);for(t=0,tO={},tT.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},tz=function(t,e,r,i){tT.length&&!R&&tI(),t.render(e,r,i||R&&e<0&&(t._initted||t._startAt)),tT.length&&!R&&tI()},tF=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(th).length<2?e:Q(t)?t.trim():t},tU=function(t){return t},tL=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},t$=function(t,e){for(var r in e)t[r]=e[r];return t},tY=function t(e,r){for(var i in r)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=Z(r[i])?t(e[i]||(e[i]={}),r[i]):r[i]);return e},tG=function(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i},tV=function(t){var e,r=t.parent||j,i=t.keyframes?(e=tn(t.keyframes),function(t,r){for(var i in r)i in t||"duration"===i&&e||"ease"===i||(t[i]=r[i])}):tL;if(tt(t.inherit))for(;r;)i(t,r.vars.defaults),r=r.parent||r._dp;return t},tq=function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0},tX=function(t,e,r,i,n){void 0===r&&(r="_first"),void 0===i&&(i="_last");var s,a=t[i];if(n)for(s=e[n];a&&a[n]>s;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t,e},tQ=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},tW=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},tJ=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},tK=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},tZ=function(t,e,r,i){return t._startAt&&(R?t._startAt.revert(tw):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},t0=function(t){return t._repeat?t1(t._tTime,t=t.duration()+t._rDelay)*t:0},t1=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},t5=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},t2=function(t){return t._end=tN(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},t8=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=tN(r._time-(t._ts>0?e/t._ts:-(((t._dirty?t.totalDuration():t._tDur)-e)/t._ts))),t2(t),r._dirty||tJ(r,t)),t},t3=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=t5(t.rawTime(),e),(!e._dur||el(0,e.totalDuration(),r)-e._tTime>
11e-8)&&e.render(r,!0)),tJ(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},t6=function(t,e,r,i){return e.parent&&tW(e),e._start=tN((J(r)?r:r||t!==j?ea(t,r,e):t._time)+e._delay),e._end=tN(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),tX(t,e,"_first","_last",t._sort?"_start":0),et(e)||(t._recent=e),i||t3(t,e),t._ts<0&&t8(t,t._tTime),t},t4=function(t,e){return(td.ScrollTrigger||t_("scrollTrigger",e))&&td.ScrollTrigger.create(e,t)},t9=function(t,e,r,i,n){return(rt(t,e,n),t._initted)?!r&&t._pt&&!R&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&I!==eD.frame?(tT.push(t),t._lazy=[n,i],1):void 0:1},t7=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(0>r.rawTime()||t(r))},et=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},ee=function(t,e,r,i){var n,s,a,o=t.ratio,u=e<0||!e&&(!t._start&&t7(t)&&!(!t._initted&&et(t))||(t._ts<0||t._dp._ts<0)&&!et(t))?0:1,l=t._rDelay,h=0;if(l&&t._repeat&&(s=t1(h=el(0,t._tDur,e),l),t._yoyo&&1&s&&(u=1-u),s!==t1(t._tTime,l)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||R||i||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&t9(t,e,i,r,h))return;for(a=t._zTime,t._zTime=e||1e-8*!!r,r||(r=e&&!a),t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=h,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&tZ(t,e,r,!0),t._onUpdate&&!r&&eO(t,"onUpdate"),h&&t._repeat&&!r&&t.parent&&eO(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&tW(t,1),r||R||(eO(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},er=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start<e)return i;i=i._prev}},ei=function(t,e,r,i){var n=t._repeat,s=tN(e)||0,a=t._tTime/t._tDur;return a&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:tN(s*(n+1)+t._rDelay*n):s,a>0&&!i&&t8(t,t._tTime=t._tDur*a),t.parent&&t2(t),r||tJ(t.parent,t),t},en=function(t){return t instanceof eZ?tJ(t):ei(t,t._dur)},es={_start:0,endTime:tv,totalDuration:tv},ea=function t(e,r,i){var n,s,a,o=e.labels,u=e._recent||es,l=e.duration()>=1e8?u.endTime(!1):e._dur;return Q(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),n=r.indexOf("="),"<"===s||">"===s)?(n>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(n<0?u:i).totalDuration()/100:1)):n<0?(r in o||(o[r]=l),o[r]):(s=parseFloat(r.charAt(n-1)+r.substr(n+1)),a&&i&&(s=s/100*(tn(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+s:l+s):null==r?l:+r},eo=function(t,e,r){var i,n,s=J(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(i=o,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=tt(n.vars.inherit)&&n.parent;o.immediateRender=tt(i.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new ro(e[0],o,e[a+1])},eu=function(t,e){return t||0===t?e(t):e},el=function(t,e,r){return r<t?t:r>e?e:r},eh=function(t,e){return Q(t)&&(e=tc.exec(t))?e[1]:""},ec=[].slice,ed=function(t,e){return t&&Z(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&Z(t[0]))&&!t.nodeType&&t!==P},ef=function(t,e,r){var i;return B&&!e&&B.selector?B.selector(t):Q(t)&&!r&&(N||!eH())?ec.call((e||D).querySelectorAll(t),0):tn(t)?(void 0===i&&(i=[]),t.forEach(function(t){var e;return Q(t)&&!r||ed(t,1)?(e=i).push.apply(e,ef(t)):i.push(t)}
1)||i):ed(t)?ec.call(t,0):t?[t]:[]},ep=function(t){return t=ef(t)[0]||tm("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ef(e,r.querySelectorAll?r:r===t?tm("Invalid scope")||D.createElement("div"):t)}},e_=function(t){return t.sort(function(){return .5-Math.random()})},em=function(t){if(W(t))return t;var e=Z(t)?t:{each:t},r=eV(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},a=i>0&&i<1,o=isNaN(i)||a,u=e.axis,l=i,h=i;return Q(i)?l=h=({center:.5,edges:.5,end:1})[i]||0:!a&&o&&(l=i[0],h=i[1]),function(t,a,c){var d,f,p,_,m,g,v,y,w,x=(c||e).length,b=s[x];if(!b){if(!(w="auto"===e.grid?0:(e.grid||[1,1e8])[1])){for(v=-1e8;v<(v=c[w++].getBoundingClientRect().left)&&w<x;);w<x&&w--}for(g=0,b=s[x]=[],d=o?Math.min(w,x)*l-.5:i%w,f=1e8===w?0:o?x*h/w-.5:i/w|0,v=0,y=1e8;g<x;g++)p=g%w-d,_=f-(g/w|0),b[g]=m=u?Math.abs("y"===u?_:p):V(p*p+_*_),m>v&&(v=m),m<y&&(y=m);"random"===i&&e_(b),b.max=v-y,b.min=y,b.v=x=(parseFloat(e.amount)||parseFloat(e.each)*(w>x?x-1:u?"y"===u?x/w:w:Math.max(w,x/w))||0)*("edges"===i?-1:1),b.b=x<0?n-x:n,b.u=eh(e.amount||e.each)||0,r=r&&x<0?eY(r):r}return x=(b[t]-b.min)/b.max||0,tN(b.b+(r?r(x):x)*b.v)+b.u}},eg=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=tN(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(J(r)?0:eh(r))}},ev=function(t,e){var r,i,n=tn(t);return!n&&Z(t)&&(r=n=t.radius||1e8,t.values?(i=!J((t=ef(t.values))[0]))&&(r*=r):t=eg(t.increment)),eu(e,n?W(t)?function(e){return Math.abs((i=t(e))-e)<=r?i:e}:function(e){for(var n,s,a=parseFloat(i?e.x:e),o=parseFloat(i?e.y:0),u=1e8,l=0,h=t.length;h--;)(n=i?(n=t[h].x-a)*n+(s=t[h].y-o)*s:Math.abs(t[h]-a))<u&&(u=n,l=h);return l=!r||u<=r?t[l]:e,i||l===e||J(e)?l:l+eh(e)}:eg(t))},ey=function(t,e,r,i){return eu(tn(t)?!e:!0===r?(r=0,!1):!i,function(){return tn(t)?t[~~(Math.random()*t.length)]:(i=(r=r||1e-5)<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})},ew=function(t,e,r){return eu(r,function(r){return t[~~e(r)]})},ex=function(t){for(var e,r,i,n,s=0,a="";~(e=t.indexOf("random(",s));)i=t.indexOf(")",e),n="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(n?th:ts),a+=t.substr(s,e-s)+ey(n?r:+r[0],n?0:+r[1],+r[2]||1e-5),s=i+1;return a+t.substr(s,t.length-s)},eb=function(t,e,r,i,n){var s=e-t,a=i-r;return eu(n,function(e){return r+((e-t)/s*a||0)})},eT=function(t,e,r){var i,n,s,a=t.labels,o=1e8;for(i in a)(n=a[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(s=i,o=n);return s},eO=function(t,e,r){var i,n,s,a=t.vars,o=a[e],u=B,l=t._ctx;if(o)return i=a[e+"Params"],n=a.callbackScope||t,r&&tT.length&&tI(),l&&(B=l),s=i?o.apply(n,i):o.call(n),B=u,s},ek=function(t){return tW(t),t.scrollTrigger&&t.scrollTrigger.kill(!!R),1>t.progress()&&eO(t,"onInterrupt"),t},eA=[],eE=function(t){if(te()&&t){var e=(t=!t.name&&t.default||t).name,r=W(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:tv,render:rm,add:e4,kill:rv,modifier:rg,rawVars:0},s={targetTest:0,get:0,getSetter:rd,aliases:{},register:0};if(eH(),t!==i){if(tk[e])return;tL(i,tL(tG(t,n),s)),t$(i.prototype,t$(n,tG(t,s))),tk[i.prop=e]=i,t.targetTest&&(tM.push(i),tb[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}tg(e,i),t.register&&t.register(rN,i,rx)}else t&&eA.push(t)},eM={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},eS=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*255+.5|0},eC=function(t,e,r){var i,n,s,a,o,u,l,h,c,d,f=t?J(t)?[t>>16,t>>8&255,255&t]:0:eM.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),eM[t])f=eM[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),t="#"+i+i+(n=t.charAt(2))+n+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&255,255&f,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(f=d=t.match(ts),e){if(~t.indexOf("="))return f=t.match(ta),r&&f.length<4&&(f[3]=1),f}else a=f[0]%360/360,o=f[1]/100,n=(u=f[2]/100)<=.5?u*(o+1):u+o-u*o,i=2*u-n,f.length>3&&(f[3]*=1),f[0]=eS(a+1/3,i,n),f[1]=eS(a,i,n),f[2]=eS(a-1/3,i,n);else f=t.match(ts)||eM.transparent;f=f.map(Number)}
1return e&&!d&&(i=f[0]/255,u=((l=Math.max(i,n=f[1]/255,s=f[2]/255))+(h=Math.min(i,n,s)))/2,l===h?a=o=0:(c=l-h,o=u>.5?c/(2-l-h):c/(l+h),a=(l===i?(n-s)/c+6*(n<s):l===n?(s-i)/c+2:(i-n)/c+4)*60),f[0]=~~(a+.5),f[1]=~~(100*o+.5),f[2]=~~(100*u+.5)),r&&f.length<4&&(f[3]=1),f},eR=function(t){var e=[],r=[],i=-1;return t.split(ej).forEach(function(t){var n=t.match(to)||[];e.push.apply(e,n),r.push(i+=n.length+1)}),e.c=r,e},eB=function(t,e,r){var i,n,s,a,o="",u=(t+o).match(ej),l=e?"hsla(":"rgba(",h=0;if(!u)return t;if(u=u.map(function(t){return(t=eC(t,e,1))&&l+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(s=eR(t),(i=r.c).join(o)!==s.c.join(o)))for(a=(n=t.replace(ej,"1").split(to)).length-1;h<a;h++)o+=n[h]+(~i.indexOf(h)?u.shift()||l+"0,0,0,0)":(s.length?s:u.length?u:r).shift());if(!n)for(a=(n=t.split(ej)).length-1;h<a;h++)o+=n[h]+u[h];return o+n[a]},ej=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in eM)e+="|"+t+"\\b";return RegExp(e+")","gi")}(),eP=/hsl[a]?\(/,eN=function(t){var e,r=t.join(" ");if(ej.lastIndex=0,ej.test(r))return e=eP.test(r),t[1]=eB(t[1],e),t[0]=eB(t[0],e,eR(t[1])),!0},eD=(x=Date.now,b=500,T=33,k=O=x(),A=1e3/240,E=1e3/240,M=[],S=function t(e){var r,i,n,s,a=x()-k,o=!0===e;if(a>b&&(O+=a-T),k+=a,((r=(n=k-O)-E)>0||o)&&(s=++v.frame,y=n-1e3*v.time,v.time=n/=1e3,E+=r+(r>=A?4:A-r),i=1),o||(_=m(t)),i)for(w=0;w<M.length;w++)M[w](n,y,s,e)},v={time:0,frame:0,tick:function(){S(!0)},deltaRatio:function(t){return y/(1e3/(t||60))},wake:function(){H&&(!N&&te()&&(D=(P=N=window).document||{},td.gsap=rN,(P.gsapVersions||(P.gsapVersions=[])).push(rN.version),tp(tf||P.GreenSockGlobals||!P.gsap&&P||{}),g=P.requestAnimationFrame,eA.forEach(eE)),_&&v.sleep(),m=g||function(t){return setTimeout(t,E-1e3*v.time+1|0)},F=1,S(2))},sleep:function(){(g?P.cancelAnimationFrame:clearTimeout)(_),F=0,m=tv},lagSmoothing:function(t,e){T=Math.min(e||33,b=t||1/0)},fps:function(t){A=1e3/(t||240),E=1e3*v.time+A},add:function(t,e,r){var i=e?function(e,r,n,s){t(e,r,n,s),v.remove(i)}:t;return v.remove(t),M[r?"unshift":"push"](i),eH(),i},remove:function(t,e){~(e=M.indexOf(t))&&M.splice(e,1)&&w>=e&&w--},_listeners:M}),eH=function(){return!F&&eD.wake()},eI={},ez=/^[\d.\-M][\d.\-,\s]/,eF=/["']/g,eU=function(t){for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o<u;o++)r=s[o],e=o!==u-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[a]=isNaN(i)?i.replace(eF,"").trim():+i,a=r.substr(e+1).trim();return n},eL=function(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<r?t.indexOf(")",r+1):r)},e$=function(t){var e=(t+"").split("("),r=eI[e[0]];return r&&e.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[eU(e[1])]:eL(t).split(",").map(tF)):eI._CE&&ez.test(t)?eI._CE("",t):r},eY=function(t){return function(e){return 1-t(1-e)}},eG=function t(e,r){for(var i,n=e._first;n;)n instanceof eZ?t(n,r):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===r||(n.timeline?t(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},eV=function(t,e){return t&&(W(t)?t:eI[t]||e$(t))||e},eq=function(t,e,r,i){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===i&&(i=function(t){return t<.5?e(2*t)/2:1-e((1-t)*2)/2});var n,s={easeIn:e,easeOut:r,easeInOut:i};return tj(t,function(t){for(var e in eI[t]=td[t]=s,eI[n=t.toLowerCase()]=r,s)eI[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=eI[t+"."+e]=s[e]}),s},eX=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t((e-.5)*2)/2}},eQ=function t(e,r,i){var n=r>=1?r:1,s=(i||(e?.3:.45))/(r<1?r:1),a=s/$*(Math.asin(1/n)||0),o=function(t){return 1===t?1:n*Math.pow(2,-10*t)*X((t-a)*s)+1},u="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:eX(o);return s=$/s,u.config=function(r,i){return t(e,r,i)},u},eW=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:eX(i);return n.config=function(r){return t(e,r)},n};tj("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;eq(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow((1-t)*2,r)/2})}),eI.Linear.easeNone=eI.none=eI.Linear.easeIn,eq("Elastic",eQ("in"),eQ("out"),eQ()),e1=2*(e0=1/2.75),e5=2.5*e0,eq("Bounce",function(t){return 1-e2(1-t)},e2=function(t){return t<e0?7.5625*t*t:t<e1?7.5625*Math.pow(t-1.5/2.75,2)+.75:t<e5?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*Math.pow(t-2.625/2.75,2)+.984375}),eq("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),eq("Circ",function(t){return-(V(1-t*t)-1)}),eq("Sine",function(t){return 1===t?1:-q(t*Y)+1}),eq("Back",eW("in"),eW("out"),eW()),eI.SteppedEase=eI.steps=td.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,i=t+ +!e,n=+!!e,s=.99999999;return function(t){return((i*el(0,s,t)|0)+n)*r}}},L.ease=eI["quad.out"],tj("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return tS+=t+","+t+"Param
1s,"});var eJ=function(t,e){this.id=G++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:tB,this.set=e?e.getSetter:rd},eK=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,ei(this,+t.duration,1,1),this.data=t.data,B&&(this._ctx=B,B.data.push(this)),F||eD.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,ei(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(eH(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(t8(this,t),!r._dp||r.parent||t3(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:-((r.totalDuration()-r._tTime)/r._ts))&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&t6(this._dp,this,this._start-this._delay)}return this._tTime===t&&(this._dur||e)&&(!this._initted||1e-8!==Math.abs(this._zTime))&&(t||this._initted||!this.add&&!this._ptLookup)||(this._ts||(this._pTime=t),tz(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+t0(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):+(this.rawTime()>0)},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-t:t)+t0(this),e):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?t1(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return -1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?t5(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(el(-Math.abs(this._delay),this._tDur,r),!1!==e),t2(this),tK(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(eH(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&t6(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(tt(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?t5(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=tx);var e=R;return R=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),R=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,en(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,en(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(ea(this,t),tt(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,tt(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0}
vendor: 4,418 bytes, line 1
1,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!!(!e||this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-1e-8)},e.eventCallback=function(t,e,r){var i=this.vars;return arguments.length>1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise(function(r){var i=W(t)?t:tU,n=function(){var t=e.then;e.then=null,W(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n})},e.kill=function(){ek(this)},t}();tL(eK.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var eZ=function(t){function e(e,r){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=tt(e.sortChildren),j&&t6(e.parent||j,f(i),r),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&t4(f(i),e.scrollTrigger),i}p(e,t);var r=e.prototype;return r.to=function(t,e,r){return eo(0,arguments,this),this},r.from=function(t,e,r){return eo(1,arguments,this),this},r.fromTo=function(t,e,r,i){return eo(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,tV(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new ro(t,e,ea(this,r),1),this},r.call=function(t,e,r){return t6(this,ro.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,i,n,s,a){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new ro(t,r,ea(this,n)),this},r.staggerFrom=function(t,e,r,i,n,s,a){return r.runBackwards=1,tV(r).immediateRender=tt(r.immediateRender),this.staggerTo(t,e,r,i,n,s,a)},r.staggerFromTo=function(t,e,r,i,n,s,a,o){return i.startAt=r,tV(i).immediateRender=tt(i.immediateRender),this.staggerTo(t,e,i,n,s,a,o)},r.render=function(t,e,r){var i,n,s,a,o,u,l,h,c,d,f,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:tN(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==j&&v>m&&t>=0&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,c=this._start,u=!(h=this._ts),y&&(g||(_=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(f=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=tN(v%o),v===m?(a=this._repeat,i=g):((a=~~(v/o))&&a===v/o&&(i=g,a--),i>g&&(i=g)),d=t1(this._tTime,o),!_&&this._tTime&&d!==a&&this._tTime-d*o-this._dur<=0&&(d=a),f&&1&a&&(i=g-i,p=1),a!==d&&!this._lock){var w=f&&1&d,x=w===(f&&1&a);if(a<d&&(w=!w),_=w?0:v%g?g:v,this._lock=1,this.render(_||(p?0:tN(a*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&eO(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),_&&_!==this._time||!this._ts!==u||this.vars.onRepeat&&!this.parent&&!this._act||(g=this._dur,m=this._tDur,x&&(this._lock=2,_=w?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u))return this;eG(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=er(this,tN(_),tN(i)))&&(v-=i-(i=l._start)),this._tTime=v,this._time=i,this._act=!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&i&&!e&&!a&&(eO(this,"onStart"),this._tTime!==v))return this;if(i>=_&&t>=0)for(n=this._first;n;){if(s=n._next,(n._act||i>=n._start)&&n._ts&&l!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){l=0,s&&(v+=this._zTime=-1e-8);break}}n=s}else{n=this._last;for(var b=t<0?t:i;n;){if(s=n._prev,(n._act||b<=n._end)&&n._ts&&l!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(b-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(b-n._start)*n._ts,e,r||R&&(n._initted||n._startAt)),i!==this._time||!this._ts&&!u){l=0,s&&(v+=this._zTime=b?-1e-8:1e-8);break}}n=s}}if(l&&!e&&(this.pause(),l.render(i>=_?0:-1e-8)._zTime=i>=_?1:-1,this._ts))return this._start=c,t2(this),this.render(t,e,r);this._onUpdate&&!e&&eO(this,"onUpdate",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(c===this._start||Math.abs(h)!==Math.abs(this._ts
1))&&!this._lock&&((t||!g)&&(v===m&&this._ts>0||!v&&this._ts<0)&&tW(this,1),e||t<0&&!_||!v&&!_&&m||(eO(this,v===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v<m&&this.timeScale()>0)&&this._prom()))}return this},r.add=function(t,e){var r=this;if(J(e)||(e=ea(this,e,t)),!(t instanceof eK)){if(tn(t))return t.forEach(function(t){return r.add(t,e)}),this;if(Q(t))return this.addLabel(t,e);if(!W(t))return this;t=ro.delayedCall(0,t)}return this!==t?t6(this,t,e):this},r.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-1e8);for(var n=[],s=this._first;s;)s._start>=i&&(s instanceof ro?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return Q(t)?this.removeLabel(t):W(t)?this.killTweensOf(t):(tQ(this,t),t===this._recent&&(this._recent=this._last),tJ(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=tN(eD.time-(this._ts>0?e/this._ts:-((this.totalDuration()-e)/this._ts)))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=ea(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var i=ro.delayedCall(0,e||tv,r);return i.data="isPause",this._hasPause=1,t6(this,i,ea(this,t))},r.removePause=function(t){var e=this._first;for(t=ea(this,t);e;)e._start===t&&"isPause"===e.data&&tW(e),e=e._next},r.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)e8!==i[n]&&i[n].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,i=[],n=ef(t),s=this._first,a=J(e);s;)s instanceof ro?tH(s._targets,n)&&(a?(!e8||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},r.tweenTo=function(t,e){e=e||{};var r,i=this,n=ea(i,t),s=e,a=s.startAt,o=s.onStart,u=s.onStartParams,l=s.immediateRender,h=ro.to(i,tL({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale())||1e-8,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale());h._dur!==t&&ei(h,t,0,1).render(h._time,!0,!0),r=1}o&&o.apply(h,u||[])}},e));return l?h.render(0):h},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,tL({startAt:{time:ea(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),eT(this,ea(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),eT(this,ea(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return tJ(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),tJ(this)},r.totalDuration=function(t){var e,r,i,n=0,s=this._last,a=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-t:t));if(this._dirty){for(i=this.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),(r=s._start)>a&&this._sort&&s._ts&&!this._lock?(this._lock=1,t6(this,s,r-s._delay,1)._lock=0):a=r,r<0&&s._ts&&(n-=r,(!i&&!this._dp||i&&i.smoothChildTiming)&&(this._start+=r/this._ts,this._time-=r,this._tTime-=r),this.shiftChildren(-r,!1,-Infinity),a=0),s._end>n&&s._ts&&(n=s._end),s=e;ei(this,this===j&&this._time>n?this._time:n,1,1),this._dirty=0}return this._tDur},e.updateRoot=function(t){if(j._ts&&(tz(j,t5(t,j)),I=eD.frame),eD.frame>=tE){tE+=U.autoSleep||120;var e=j._first;if((!e||!e._ts)&&U.autoSleep&&eD._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||eD.sleep()}}},e}(eK);tL(eZ.prototype,{_lock:0,_hasPause:0,_forcing:0});var e0,e1,e5,e2,e8,e3,e6=function(t,e,r,i,n,s,a){var o,u,l,h,c,d,f,p,_=new rx(this._pt,t,e,0,1,r_,null,n),m=0,g=0;for(_.b=r,_.e=i,r+="",i+="",(f=~i.indexOf("random("))&&(i=ex(i)),s&&(s(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(tu)||[];o=tu.exec(i);)h=o[0],c=i.substring(m,o.index),l?l=(l+1)%5:"rgba("===c.substr(-5)&&(l=1),h!==u[g++]&&
vendor: 5,371 bytes, line 1
1(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:c||1===g?c:",",s:d,c:"="===h.charAt(1)?tD(d,h)-d:parseFloat(h)-d,m:l&&l<4?Math.round:0},m=tu.lastIndex);return _.c=m<i.length?i.substring(m,i.length):"",_.fp=a,(tl.test(i)||f)&&(_.e=0),this._pt=_,_},e4=function(t,e,r,i,n,s,a,o,u,l){W(i)&&(i=i(n||0,t,s));var h,c=t[e],d="get"!==r?r:W(c)?u?t[e.indexOf("set")||!W(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():c,f=W(c)?u?rh:rl:ru;if(Q(i)&&(~i.indexOf("random(")&&(i=ex(i)),"="===i.charAt(1)&&((h=tD(d,i)+(eh(d)||0))||0===h)&&(i=h)),!l||d!==i||e3)return isNaN(d*i)||""===i?(c||e in t||t_(e,i),e6.call(this,t,e,d,i,f,o||U.stringFilter,u)):(h=new rx(this._pt,t,e,+d||0,i-(d||0),"boolean"==typeof c?rp:rf,0,f),u&&(h.fp=u),a&&h.modifier(a,this,t),this._pt=h)},e9=function(t,e,r,i,n){if(W(t)&&(t=rn(t,n,e,r,i)),!Z(t)||t.style&&t.nodeType||tn(t)||ti(t))return Q(t)?rn(t,n,e,r,i):t;var s,a={};for(s in t)a[s]=rn(t[s],n,e,r,i);return a},e7=function(t,e,r,i,n,s){var a,o,u,l;if(tk[t]&&!1!==(a=new tk[t]).init(n,a.rawVars?e[t]:e9(e[t],i,n,s,r),r,i,s)&&(r._pt=o=new rx(r._pt,n,t,0,1,a.render,a,0,a.priority),r!==z))for(u=r._ptLookup[r._targets.indexOf(n)],l=a._props.length;l--;)u[a._props[l]]=o;return a},rt=function t(e,r,i){var n,s,a,o,u,l,h,c,d,f,p,_,m,g=e.vars,v=g.ease,y=g.startAt,w=g.immediateRender,x=g.lazy,b=g.onUpdate,T=g.runBackwards,O=g.yoyoEase,k=g.keyframes,A=g.autoRevert,E=e._dur,M=e._startAt,S=e._targets,B=e.parent,P=B&&"nested"===B.data?B.vars.targets:S,N="auto"===e._overwrite&&!C,D=e.timeline;if(!D||k&&v||(v="none"),e._ease=eV(v,L.ease),e._yEase=O?eY(eV(!0===O?v:O,L.ease)):0,O&&e._yoyo&&!e._repeat&&(O=e._yEase,e._yEase=e._ease,e._ease=O),e._from=!D&&!!g.runBackwards,!D||k&&!g.stagger){if(_=(c=S[0]?tR(S[0]).harness:0)&&g[c.prop],n=tG(g,tb),M&&(M._zTime<0&&M.progress(1),r<0&&T&&w&&!A?M.render(-1,!0):M.revert(T&&E?tw:ty),M._lazy=0),y){if(tW(e._startAt=ro.set(S,tL({data:"isStart",overwrite:!1,parent:B,immediateRender:!0,lazy:!M&&tt(x),startAt:null,delay:0,onUpdate:b&&function(){return eO(e,"onUpdate")},stagger:0},y))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(R||!w&&!A)&&e._startAt.revert(tw),w&&E&&r<=0&&i<=0){r&&(e._zTime=r);return}}else if(T&&E&&!M)if(r&&(w=!1),a=tL({overwrite:!1,data:"isFromStart",lazy:w&&!M&&tt(x),immediateRender:w,stagger:0,parent:B},n),_&&(a[c.prop]=_),tW(e._startAt=ro.set(S,a)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(R?e._startAt.revert(tw):e._startAt.render(-1,!0)),e._zTime=r,w){if(!r)return}else t(e._startAt,1e-8,1e-8);for(s=0,e._pt=e._ptCache=0,x=E&&tt(x)||x&&!E;s<S.length;s++){if(h=(u=S[s])._gsap||tC(S)[s]._gsap,e._ptLookup[s]=f={},tO[h.id]&&tT.length&&tI(),p=P===S?s:P.indexOf(u),c&&!1!==(d=new c).init(u,_||n,e,p,P)&&(e._pt=o=new rx(e._pt,u,d.name,0,1,d.render,d,0,d.priority),d._props.forEach(function(t){f[t]=o}),d.priority&&(l=1)),!c||_)for(a in n)tk[a]&&(d=e7(a,n,e,p,u,P))?d.priority&&(l=1):f[a]=o=e4.call(e,u,a,"get",n[a],p,P,0,g.stringFilter);e._op&&e._op[s]&&e.kill(u,e._op[s]),N&&e._pt&&(e8=e,j.killTweensOf(u,f,e.globalTime(r)),m=!e.parent,e8=0),e._pt&&x&&(tO[h.id]=1)}l&&rw(e),e._onInit&&e._onInit(e)}e._onUpdate=b,e._initted=(!e._op||e._pt)&&!m,k&&r<=0&&D.render(1e8,!0,!0)},re=function(t,e,r,i,n,s,a,o){var u,l,h,c,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],h=t._ptLookup,c=t._targets.length;c--;){if((u=h[c][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return e3=1,t.vars[e]="+=0",rt(t,a),e3=0,o?tm(e+" not eligible for reset"):1;d.push(u)}for(c=d.length;c--;)(u=(l=d[c])._pt||l).s=(i||0===i)&&!n?i:u.s+(i||0)+s*u.c,u.c=r-u.s,l.e&&(l.e=tP(r)+eh(l.e)),l.b&&(l.b=u.s+eh(l.b))},rr=function(t,e){var r,i,n,s,a=t[0]?tR(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(i in r=t$({},e),o)if(i in r)for(n=(s=o[i].split(",")).length;n--;)r[s[n]]=r[i];return r},ri=function(t,e,r,i){var n,s,a=e.ease||i||"power1.inOut";if(tn(e))s=r[t]||(r[t]=[]),e.forEach(function(t,r){return s.push({t:r/(e.length-1)*100,v:t,e:a})});else for(n in e)s=r[n]||(r[n]=[]),"ease"===n||s.push({t:parseFloat(t),v:e[n],e:a})},rn=function(t,e,r,i,n){return W(t)?t.call(e,r,i,n):Q(t)&&~t.indexOf("random(")?ex(t):t},rs=tS+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ra={};tj(rs+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return ra[t]=1});var ro=function(t){function e(e,r,i,n){"number"==typeof r&&(i.duration=r,r=i,i=null);var s,a,o,u,l,h,c,d,p=t.call(this,n?r:tV(r))||this,_=p.vars,m=_.duration,g=_.delay,v=_.immediateRender,y=_.stagger,w=_.overwrite,x=_.keyframes,b=_.defaults,T=_.scrollTrigger,O=_.yoyoEase,k=r.parent||j,A=(tn(e)||ti(e)?J(e[0]):"length"in r)?[e]:ef(e);if(p._targets=A.length?tC(A):tm("GSAP target "+e+" not found. https://gsap.com",!U.nullTargetWarn)||[],p._ptLookup=[],p._overwrite=w,x||y||tr(m)||tr(g)){if(r=p.vars,(s=p.timeline=new eZ({data:"nested",defaults:b||{},targets:k&&"nested"===k.data?k.vars.targets:A})).kill(),s.parent=s._dp=f(p),s._start=0,y||tr(m)||tr(g)){if(u=A.length,c=y&&em(y),Z(y))for(l in y)~rs.indexOf(l)&&(d||(d={}),d[l]=y[l]);for(a=0;a<u;a++)(o=tG(r,ra)).stagger=0,O&&(o.yoyoEase=O),d&&t$(o,d),h=A[a],o.duration=+rn(m,f(p),a,h,A),o.delay=(+rn(g,f(p),a,h,A)||0)-p._delay,!y&&1===u&&o.delay&&(p._delay=g=o.delay,p._start+=g,o.delay=0),s.to(h,o,c?c(a,h,A):0),s._ease=eI.none;s.duration()?m=g=0:p.timeline=0}else if(x){tV(tL(s.vars.defaults,{ease:"none"})),s._ease=eV(x.ease||r.ease||"none");var E,M,S,R=0;
1if(tn(x))x.forEach(function(t){return s.to(A,t,">")}),s.duration();else{for(l in o={},x)"ease"===l||"easeEach"===l||ri(l,x[l],o,x.easeEach);for(l in o)for(a=0,E=o[l].sort(function(t,e){return t.t-e.t}),R=0;a<E.length;a++)(S={ease:(M=E[a]).e,duration:(M.t-(a?E[a-1].t:0))/100*m})[l]=M.v,s.to(A,S,R),R+=S.duration;s.duration()<m&&s.to({},{duration:m-s.duration()})}}m||p.duration(m=s.duration())}else p.timeline=0;return!0!==w||C||(e8=f(p),j.killTweensOf(A),e8=0),t6(k,f(p),i),r.reversed&&p.reverse(),r.paused&&p.paused(!0),(v||!m&&!x&&p._start===tN(k._time)&&tt(v)&&function t(e){return!e||e._ts&&t(e.parent)}(f(p))&&"nested"!==k.data)&&(p._tTime=-1e-8,p.render(Math.max(0,-g)||0)),T&&t4(f(p),T),p}p(e,t);var r=e.prototype;return r.render=function(t,e,r){var i,n,s,a,o,u,l,h,c,d=this._time,f=this._tDur,p=this._dur,_=t<0,m=t>f-1e-8&&!_?f:t<1e-8?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==_){if(i=m,h=this.timeline,this._repeat){if(a=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*a+t,e,r);if(i=tN(m%a),m===f?(s=this._repeat,i=p):((s=~~(m/a))&&s===tN(m/a)&&(i=p,s--),i>p&&(i=p)),(u=this._yoyo&&1&s)&&(c=this._yEase,i=p-i),o=t1(this._tTime,a),i===d&&!r&&this._initted&&s===o)return this._tTime=m,this;s!==o&&(h&&this._yEase&&eG(h,u),this.vars.repeatRefresh&&!u&&!this._lock&&this._time!==p&&this._initted&&(this._lock=r=1,this.render(tN(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(t9(this,_?t:i,r,e,m))return this._tTime=0,this;if(d!==this._time&&!(r&&this.vars.repeatRefresh&&s!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=l=(c||this._ease)(i/p),this._from&&(this.ratio=l=1-l),i&&!d&&!e&&!s&&(eO(this,"onStart"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(l,n.d),n=n._next;h&&h.render(t<0?t:!i&&u?-1e-8:h._dur*h._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&tZ(this,t,e,r),eO(this,"onUpdate")),this._repeat&&s!==o&&this.vars.onRepeat&&!e&&this.parent&&eO(this,"onRepeat"),(m===this._tDur||!m)&&this._tTime===m&&(_&&!this._onUpdate&&tZ(this,t,!0,!0),(t||!p)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&tW(this,1),!e&&!(_&&!d)&&(m||d||u)&&(eO(this,m===f?"onComplete":"onReverseComplete",!0),this._prom&&!(m<f&&this.timeScale()>0)&&this._prom()))}}else ee(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return e&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,i,n){F||eD.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||rt(this,s),re(this,t,e,r,i,this._ease(s/this._dur),s,n))?this.resetTo(t,e,r,i,1):(t8(this,0),this.parent||tX(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!t&&(!e||"all"===e))return this._lazy=this._pt=0,this.parent?ek(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,e8&&!0!==e8.vars.overwrite)._first||ek(this),this.parent&&r!==this.timeline.totalDuration()&&ei(this,this._dur*this.timeline._tDur/r,0,1),this}var i,n,s,a,o,u,l,h=this._targets,c=t?ef(t):h,d=this._ptLookup,f=this._pt;if((!e||"all"===e)&&tq(h,c))return"all"===e&&(this._pt=0),ek(this);for(i=this._op=this._op||[],"all"!==e&&(Q(e)&&(o={},tj(e,function(t){return o[t]=1}),e=o),e=rr(h,e)),l=h.length;l--;)if(~c.indexOf(h[l]))for(o in n=d[l],"all"===e?(i[l]=e,a=n,s={}):(s=i[l]=i[l]||{},a=e),a)(u=n&&n[o])&&("kill"in u.d&&!0!==u.d.kill(o)||tQ(this,u,"_pt"),delete n[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&f&&ek(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return eo(1,arguments)},e.delayedCall=function(t,r,i,n){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},e.fromTo=function(t,e,r){return eo(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return j.killTweensOf(t,e,r)},e}(eK);tL(ro.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),tj("staggerTo,staggerFrom,staggerFromTo",function(t){ro[t]=function(){var e=new eZ,r=ec.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}});var ru=function(t,e,r){return t[e]=r},rl=function(t,e,r){return t[e](r)},rh=function(t,e,r,i){return t[e](i.fp,r)},rc=function(t,e,r){return t.setAttribute(e,r)},rd=function(t,e){return W(t[e])?rl:K(t[e])&&t.setAttribute?rc:ru},rf=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},rp=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},r_=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},rm=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},rg=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n},rv=function(t){for(var e,r,i=this._pt;i;)r=i._next,(i.p!==t||i.op)&&i.op!==t?i.dep||(e=1):tQ(this,i,"_pt"),i=r;return!e},ry=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},rw=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},rx=function(){function t(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||rf,this.d=a||this,this.set=o||ru,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=ry,this.m=t,this.mt=r,this.tween=e},t}();tj(tS+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return tb[t]=1}),td.TweenMax=td.TweenLite=ro,td.TimelineLite=td.TimelineMax=eZ,j=new eZ({sortChildren:!1,defaults:L,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),U.stringFilter=eN;var rb=[],rT={},rO=[],rk=0,rA=0,rE=function(t){return(rT[t]||rO).map(function(t){return t()})},rM=function(){var t=Date.now(),e=[];t-rk>2&&(rE("matchMediaInit"),rb.forEach(function(t){var r,i,n,s,a=t.queries,o=t.conditions;for(i in a)(r=P.matchMedia(a[i]).matches)&&(n=1),r!==o[i]&&(o[i]=r,s=1);s&&(t.revert(),n&&e.push(t))}),rE("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),rk=t,rE("matchMedia"))},rS=function(){function t(t,e){this.selector=e&&ep(e),this.data=[],this._r=[],this.isReverted=!1,this.id=rA++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){W(t)&&(r=e,e=t,t=W);var i=this,n=function(){var t,n=B,s=i.selector;return n&&n!==i&&n.data.push(i),r&&(i.selector=ep(r)),B=i,t=e.apply(i,arguments),W(t)&&i._r.push(t),B=n,i.selector=s,i.isReverted=!1,t};return i.last=n,t===W?n(i,function(t){return i.add(null,t)}):t?i[t]=n:n},e.ignore=function(t){var e=B;B=null,t(this),B=e},e.getTweens=function(){var e=[];return this.data.forEach(function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof ro&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t){for(var i,n=r.getTweens(),s=r.data.length;s--;)"isFlip"===(i=r.data[s]).data&&(i.revert(),i.getChildren(!0,!0,!1).forEac
1h(function(t){return n.splice(n.indexOf(t),1)}));for(n.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),s=r.data.length;s--;)(i=r.data[s])instanceof eZ?"nested"!==i.data&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):i instanceof ro||!i.revert||i.revert(t);r._r.forEach(function(e){return e(t,r)}),r.isReverted=!0}else this.data.forEach(function(t){return t.kill&&t.kill()});if(this.clear(),e)for(var a=rb.length;a--;)rb[a].id===this.id&&rb.splice(a,1)},e.revert=function(t){this.kill(t||{})},t}(),rC=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,r){Z(t)||(t={matches:t});var i,n,s,a=new rS(0,r||this.scope),o=a.conditions={};for(n in B&&!a.selector&&(a.selector=B.selector),this.contexts.push(a),e=a.add("onMatch",e),a.queries=t,t)"all"===n?s=1:(i=P.matchMedia(t[n]))&&(0>rb.indexOf(a)&&rb.push(a),(o[n]=i.matches)&&(s=1),i.addListener?i.addListener(rM):i.addEventListener("change",rM));return s&&e(a,function(t){return a.add(null,t)}),this},e.revert=function(t){this.kill(t||{})}
vendor: 7,391 bytes, line 1
1,e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),rR={registerPlugin:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return eE(t)})},timeline:function(t){return new eZ(t)},getTweensOf:function(t,e){return j.getTweensOf(t,e)},getProperty:function(t,e,r,i){Q(t)&&(t=ef(t)[0]);var n=tR(t||{}).get,s=r?tU:tF;return"native"===r&&(r=""),t?e?s((tk[e]&&tk[e].get||n)(t,e,r,i)):function(e,r,i){return s((tk[e]&&tk[e].get||n)(t,e,r,i))}:t},quickSetter:function(t,e,r){if((t=ef(t)).length>1){var i=t.map(function(t){return rN.quickSetter(t,e,r)}),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var s=tk[e],a=tR(t),o=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(e){var i=new s;z._pt=0,i.init(t,r?e+r:e,z,0,[t]),i.render(1,i),z._pt&&rm(1,z)}:a.set(t,o);return s?u:function(e){return u(t,o,r?e+r:e,a,1)}},quickTo:function(t,e,r){var i,n=rN.to(t,t$(((i={})[e]="+=0.1",i.paused=!0,i),r||{})),s=function(t,r,i){return n.resetTo(e,t,r,i)};return s.tween=n,s},isTweening:function(t){return j.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=eV(t.ease,L.ease)),tY(L,t||{})},config:function(t){return tY(U,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach(function(t){return t&&!tk[t]&&!td[t]&&tm(e+" effect requires "+t+" plugin.")}),tA[e]=function(t,e,i){return r(ef(t),tL(e||{},n),i)},s&&(eZ.prototype[e]=function(t,r,i){return this.add(tA[e](t,Z(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){eI[t]=eV(e)},parseEase:function(t,e){return arguments.length?eV(t,e):eI},getById:function(t){return j.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new eZ(t);for(n.smoothChildTiming=tt(t.smoothChildTiming),j.remove(n),n._dp=0,n._time=n._tTime=j._time,r=j._first;r;)i=r._next,(e||!(!r._dur&&r instanceof ro&&r.vars.onComplete===r._targets[0]))&&t6(n,r,r._start-r._delay),r=i;return t6(j,n,0),n},context:function(t,e){return t?new rS(t,e):B},matchMedia:function(t){return new rC(t)},matchMediaRefresh:function(){return rb.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||rM()},addEventListener:function(t,e){var r=rT[t]||(rT[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=rT[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:function t(e,r,i){var n=r-e;return tn(e)?ew(e,t(0,e.length),r):eu(i,function(t){return(n+(t-e)%n)%n+e})},wrapYoyo:function t(e,r,i){var n=r-e,s=2*n;return tn(e)?ew(e,t(0,e.length-1),r):eu(i,function(t){return t=(s+(t-e)%s)%s||0,e+(t>n?s-t:t)})},distribute:em,random:ey,snap:ev,normalize:function(t,e,r){return eb(t,e,0,1,r)},getUnit:eh,clamp:function(t,e,r){return eu(r,function(r){return el(t,e,r)})},splitColor:eC,toArray:ef,selector:ep,mapRange:eb,pipe:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(t,e){return function(r){return t(parseFloat(r))+(e||eh(r))}},interpolate:function t(e,r,i,n){var s=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!s){var a,o,u,l,h,c=Q(e),d={};if(!0===i&&(n=1)&&(i=null),c)e={p:e},r={p:r};else if(tn(e)&&!tn(r)){for(o=1,u=[],h=(l=e.length)-2;o<l;o++)u.push(t(e[o-1],e[o]));l--,s=function(t){var e=Math.min(h,~~(t*=l));return u[e](t-e)},i=r}else n||(e=t$(tn(e)?[]:{},e));if(!u){for(a in r)e4.call(d,e,a,"get",r[a]);s=function(t){return rm(t,d)||(c?e.p:e)}}}return eu(i,s)},shuffle:e_},install:tp,effects:tA,ticker:eD,updateRoot:eZ.updateRoot,plugins:tk,globalTimeline:j,core:{PropTween:rx,globals:tg,Tween:ro,Timeline:eZ,Animation:eK,getCache:tR,_removeLinkedListItem:tQ,reverting:function(){return R},context:function(t){return t&&B&&(B.data.push(t),t._ctx=B),B},suppressOverwrites:function(t){return C=t}}};tj("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return rR[t]=ro[t]}),eD.add(eZ.updateRoot),z=rR.to({},{duration:0});var rB=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},rj=function(t,e){var r,i,n,s=t._targets;for(r in e)for(i=s.length;i--;)(n=t._ptLookup[i][r])&&(n=n.d)&&(n._pt&&(n=rB(n,r)),n&&n.modifier&&n.modifier(e[r],t,s[i],r))},rP=function(t,e){return{name:t,rawVars:1,init:function(t,r,i){i._onInit=function(t){var i,n;if(Q(r)&&(i={},tj(r,function(t){return i[t]=1}),r=i),e){for(n in i={},r)i[n]=e(r[n]);r=i}rj(t,r)}}}},rN=rR.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,a,o;for(s in this.tween=r,e)o=t.getAttribute(s)||"",(a=this.add(t,"setAttribute",(o||0)+"",e[s],i,n,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)R?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},rP("roundProps",eg),rP("modifiers"),rP("snap",ev))||rR;ro.version=eZ.version=rN.version="3.12.4",H=1,te()&&eH(),eI.Power0,eI.Power1,eI.Power2;var rD=eI.Power3;eI.Power4,eI.Linear,eI.Quad,eI.Cubic,eI.Quart,eI.Quint,eI.Strong,eI.Elastic,eI.Back,eI.SteppedEase,eI.Bounce,eI.Sine,eI.Expo,eI.Circ;var rH,rI,rz,rF,rU,rL,r$,rY={},rG=180/Math.PI,rV=Math.PI/180,rq=Math.atan2,rX=/([A-Z])/g,rQ=/(left|right|width|margin|padding|x)/i,rW=/[\s,\(]\S/,rJ={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},rK=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},rZ=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},r0=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},r1=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},r5=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},r2=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},r8=function(t,e,r){return t.style[e]=r},r3=function(t,e,r){return t.style.setProperty(e,r)},r6=function(t,e,r){return t._gsap[e]=r},r4=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},r9=function(t,e,r,i,n){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s)},r7=function(t,e,r,i,n){var s=t._gsap;s[e]=r,s.renderTransform(n,s)},it="transform",ie=it+"Origin",ir=function t(e,r){var i=this,n=this.target,s=n.style,a=n._gsap;if(e in rY&&s){if(this.tfm=this.tfm||{},"transform"===e)return rJ.transform.split(",").forEach(function(e){return t.call(i,e,r)});if(~(e=rJ[e]||e).indexOf(",")?e.split(",").forEach(function(t){return i.tfm[t]=ib(n,t)}):this.tfm[e]=a.x?a[e]:ib(n,e),e===ie&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(it)>=0)return;a.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(ie,r,"")),e=it}(s||r)&&this.props.push(e,r,s[e])},ii=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},is=function(){var t,e,r=this.props,i=this.target,n=i.style,s=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(rX,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(t=rL())&&t.isStart||n[it]||(ii(n),s.zOrigin&&n[ie]&&(n[ie]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},ia=function(t,e){var r={target:t,props:[],revert:is,save:ir};return t._gsap||rN.core.getCache(t),e&&e.split(",").forEach(function(t){return r.s
1ave(t)}),r},io=function(t,e){var r=rH.createElementNS?rH.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):rH.createElement(t);return r&&r.style?r:rH.createElement(t)},iu=function t(e,r,i){var n=getComputedStyle(e);return n[r]||n.getPropertyValue(r.replace(rX,"-$1").toLowerCase())||n.getPropertyValue(r)||!i&&t(e,ih(r)||r,1)||""},il="O,Moz,ms,Ms,Webkit".split(","),ih=function(t,e,r){var i=(e||rF).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(il[n]+t in i););return n<0?null:(3===n?"ms":n>=0?il[n]:"")+t},ic=function(){"u">typeof window&&window.document&&(rI=(rH=window.document).documentElement,rF=io("div")||{style:{}},io("div"),ie=(it=ih(it))+"Origin",rF.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",r$=!!ih("perspective"),rL=rN.core.reverting,rz=1)},id=function t(e){var r,i=io("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,a=this.style.cssText;if(rI.appendChild(i),i.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return n&&(s?n.insertBefore(this,s):n.appendChild(this)),rI.removeChild(i),this.style.cssText=a,r},ip=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},i_=function(t){var e;try{e=t.getBBox()}catch(r){e=id.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===id||(e=id.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+ip(t,["x","cx","x1"])||0,y:+ip(t,["y","cy","y1"])||0,width:0,height:0}},im=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&i_(t))},ig=function(t,e){if(e){var r,i=t.style;e in rY&&e!==ie&&(e=it),i.removeProperty?(("ms"===(r=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),i.removeProperty("--"===r?e:e.replace(rX,"-$1").toLowerCase())):i.removeAttribute(e)}},iv=function(t,e,r,i,n,s){var a=new rx(t._pt,e,r,0,1,s?r2:r5);return t._pt=a,a.b=i,a.e=n,t._props.push(r),a},iy={deg:1,rad:1,turn:1},iw={grid:1,flex:1},ix=function t(e,r,i,n){var s,a,o,u,l=parseFloat(i)||0,h=(i+"").trim().substr((l+"").length)||"px",c=rF.style,d=rQ.test(r),f="svg"===e.tagName.toLowerCase(),p=(f?"client":"offset")+(d?"Width":"Height"),_="px"===n,m="%"===n;if(n===h||!l||iy[n]||iy[h])return l;if("px"===h||_||(l=t(e,r,i,"px")),u=e.getCTM&&im(e),(m||"%"===h)&&(rY[r]||~r.indexOf("adius")))return s=u?e.getBBox()[d?"width":"height"]:e[p],tP(m?l/s*100:l/100*s);if(c[d?"width":"height"]=100+(_?h:n),a=~r.indexOf("adius")||"em"===n&&e.appendChild&&!f?e:e.parentNode,u&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==rH&&a.appendChild||(a=rH.body),(o=a._gsap)&&m&&o.width&&d&&o.time===eD.time&&!o.uncache)return tP(l/o.width*100);if(m&&("height"===r||"width"===r)){var g=e.style[r];e.style[r]=100+n,s=e[p],g?e.style[r]=g:ig(e,r)}else(m||"%"===h)&&!iw[iu(a,"display")]&&(c.position=iu(e,"position")),a===e&&(c.position="static"),a.appendChild(rF),s=rF[p],a.removeChild(rF),c.position="absolute";return d&&m&&((o=tR(a)).time=eD.time,o.width=a[p]),tP(_?s*l/100:s&&l?100/s*l:0)},ib=function(t,e,r,i){var n;return rz||ic(),e in rJ&&"transform"!==e&&~(e=rJ[e]).indexOf(",")&&(e=e.split(",")[0]),rY[e]&&"transform"!==e?(n=iP(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:iN(iu(t,ie))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||i||~(n+"").indexOf("calc("))&&(n=iE[e]&&iE[e](t,e,r)||iu(t,e)||tB(t,e)||+("opacity"===e)),r&&!~(n+"").trim().indexOf(" ")?ix(t,e,n,r)+r:n},iT=function(t,e,r,i){if(!r||"none"===r){var n=ih(e,t,1),s=n&&iu(t,n,1);s&&s!==r?(e=n,r=s):"borderColor"===e&&(r=iu(t,"borderTopColor"))}var a,o,u,l,h,c,d,f,p,_,m,g=new rx(this._pt,t.style,e,0,1,r_),v=0,y=0;if(g.b=r,g.e=i,r+="","auto"==(i+="")&&(c=t.style[e],t.style[e]=i,i=iu(t,e)||i,c?t.style[e]=c:ig(t,e)),eN(a=[r,i]),r=a[0],i=a[1],u=r.match(to)||[],(i.match(to)||[]).length){for(;o=to.exec(i);)d=o[0],p=i.substring(v,o.index),h?h=(h+1)%5:("rgba("===p.substr(-5)||"hsla("===p.substr(-5))&&(h=1),d!==(c=u[y++]||"")&&(l=parseFloat(c)||0,m=c.substr((l+"").length),"="===d.charAt(1)&&(d=tD(l,d)+m),f=parseFloat(d),_=d.substr((f+"").length),v=to.lastIndex-_.length,_||(_=_||U.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(l=ix(t,e,c,_)||0),g._pt={_next:g._pt,p:p||1===y?p:",",s:l,c:f-l,m:h&&h<4||"zIndex"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):""}
1else g.r="display"===e&&"none"===i?r2:r5;return tl.test(i)&&(g.e=0),this._pt=g,g},iO={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ik=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return("top"===r||"bottom"===r||"left"===i||"right"===i)&&(t=r,r=i,i=t),e[0]=iO[r]||r,e[1]=iO[i]||i,e.join(" ")},iA=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,s=e.t,a=s.style,o=e.u,u=s._gsap;if("all"===o||!0===o)a.cssText="",i=1;else for(n=(o=o.split(",")).length;--n>-1;)rY[r=o[n]]&&(i=1,r="transformOrigin"===r?ie:it),ig(s,r);i&&(ig(s,it),u&&(u.svg&&s.removeAttribute("transform"),iP(s,1),u.uncache=1,ii(a)))}},iE={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data){var s=t._pt=new rx(t._pt,e,r,0,0,iA);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},iM=[1,0,0,1,0,0],iS={},iC=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},iR=function(t){var e=iu(t,it);return iC(e)?iM:e.substr(7).match(ta).map(tP)},iB=function(t,e){var r,i,n,s,a=t._gsap||tR(t),o=t.style,u=iR(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?iM:u:(u!==iM||t.offsetParent||t===rI||a.svg||(n=o.display,o.display="block",(r=t.parentNode)&&t.offsetParent||(s=1,i=t.nextElementSibling,rI.appendChild(t)),u=iR(t),n?o.display=n:ig(t,"display"),s&&(i?r.insertBefore(t,i):r?r.appendChild(t):rI.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},ij=function(t,e,r,i,n,s){var a,o,u,l,h=t._gsap,c=n||iB(t,!0),d=h.xOrigin||0,f=h.yOrigin||0,p=h.xOffset||0,_=h.yOffset||0,m=c[0],g=c[1],v=c[2],y=c[3],w=c[4],x=c[5],b=e.split(" "),T=parseFloat(b[0])||0,O=parseFloat(b[1])||0;r?c!==iM&&(o=m*y-g*v)&&(u=y/o*T+-v/o*O+(v*x-y*w)/o,l=-g/o*T+m/o*O-(m*x-g*w)/o,T=u,O=l):(T=(a=i_(t)).x+(~b[0].indexOf("%")?T/100*a.width:T),O=a.y+(~(b[1]||b[0]).indexOf("%")?O/100*a.height:O)),i||!1!==i&&h.smooth?(h.xOffset=p+((w=T-d)*m+(x=O-f)*v)-w,h.yOffset=_+(w*g+x*y)-x):h.xOffset=h.yOffset=0,h.xOrigin=T,h.yOrigin=O,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[ie]="0px 0px",s&&(iv(s,h,"xOrigin",d,T),iv(s,h,"yOrigin",f,O),iv(s,h,"xOffset",p,h.xOffset),iv(s,h,"yOffset",_,h.yOffset)),t.setAttribute("data-svg-origin",T+" "+O)},iP=function(t,e){var r=t._gsap||new eJ(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,s,a,o,u,l,h,c,d,f,p,_,m,g,v,y,w,x,b,T,O,k,A,E,M,S,C,R,B,j,P,N=t.style,D=r.scaleX<0,H=getComputedStyle(t),I=iu(t,ie)||"0";return i=n=s=u=l=h=c=d=f=0,a=o=1,r.svg=!!(t.getCTM&&im(t)),H.translate&&(("none"!==H.translate||"none"!==H.scale||"none"!==H.rotate)&&(N[it]=("none"!==H.translate?"translate3d("+(H.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==H.rotate?"rotate("+H.rotate+") ":"")+("none"!==H.scale?"scale("+H.scale.split(" ").join(",")+") ":"")+("none"!==H[it]?H[it]:"")),N.scale=N.rotate=N.translate="none"),m=iB(t,r.svg),r.svg&&(r.uncache?(E=t.getBBox(),I=r.xOrigin-E.x+"px "+(r.yOrigin-E.y)+"px",A=""):A=!e&&t.getAttribute("data-svg-origin"),ij(t,A||I,!!A||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==iM&&(w=m[0],x=m[1],b=m[2],T=m[3],i=O=m[4],n=k=m[5],6===m.length?(a=Math.sqrt(w*w+x*x),o=Math.sqrt(T*T+b*b),u=w||x?rq(x,w)*rG:0,(c=b||T?rq(b,T)*rG+u:0)&&(o*=Math.abs(Math.cos(c*rV))),r.svg&&(i-=p-(p*w+_*b),n-=_-(p*x+_*T))):(P=m[6],B=m[7],S=m[8],C=m[9],R=m[10],j=m[11],i=m[12],n=m[13],s=m[14],l=(g=rq(P,R))*rG,g&&(A=O*(v=Math.cos(-g))+S*(y=Math.sin(-g)),E=k*v+C*y,M=P*v+R*y,S=-(O*y)+S*v,C=-(k*y)+C*v,R=-(P*y)+R*v,j=-(B*y)+j*v,O=A,k=E,P=M),h=(g=rq(-b,R))*rG,g&&(A=w*(v=Math.cos(-g))-S*(y=Math.sin(-g)),E=x*v-C*y,M=b*v-R*y,j=T*y+j*v,w=A,x=E,b=M),u=(g=rq(x,w))*rG,g&&(A=w*(v=Math.cos(g))+x*(y=Math.sin(g)),E=O*v+k*y,x=x*v-w*y,k=k*v-O*y,w=A,O=E),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,h=180-h),a=tP(Math.sqrt(w*w+x*x+b*b)),o=tP(Math.sqrt(k*k+P*P)),c=Math.abs(g=rq(O,k))>2e-4?g*rG:0,f=j?1/(j<0?-j:j):0),r.svg&&(A=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!iC(iu(t,it)),A&&t.setAttribute("transform",A))),Math.abs(c)>90&&270>Math.abs(c)&&(D?(a*=-1,c+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,c+=c<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+"px",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+"px",r.z=s+"px",r.scaleX=tP(a),r.scaleY=tP(o),r.rotation=tP(u)+"deg",r.rotationX=tP(l)+"deg",r.rotationY=tP(h)+"deg",r.skewX=c+"deg",r.skewY=d+"deg",r.transformPerspective=f+"px",(r.zOrigin=parseFloat(I.split(" ")[2])||!e&&r.zOrigin||0)&&(N[ie]=iN(I)),r.xOffset=r.yOffset=0,r.force3D=U.force3D,r.renderTransform=r.svg?iF:r$?iz:iH,r.uncache=0,r},iN=function(t){return(t=t.split(" "))[0]+" "+t[1]},iD=function(t,e,r){var i=eh(e);return tP(parseFloat(e)+parseFloat(ix(t,"x",r+"px",i)))+i},iH=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,iz(t,e)},iI="0deg",iz=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.z,u=r.rotation,l=r.rotationY,h=r.rotationX,c=r.skewX,d=r.skewY,f=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y="",w="auto"===m&&t&&1!==t||!0===m;if(v&&(h!==iI||l!==iI)){var x,b=parseFloat(l)*rV,T=Math.sin(b),O=Math.cos(b);s=iD(g,s,-(T*(x=Math.cos(b=parseFloat(h)*rV))*v)),a=iD(g,a,-(-Math.sin(b)*v)),o=iD(g,o,-(O*x*v)+v)}"0px"!==_&&(y+="perspective("+_+") "),(i||n)&&(y+="translate("+i+"%, "+n+"%) "),(w||"0px"!==s||"0px"!==a||"0px"!==o)&&(y+="0px"!==o||w?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+") "),u!==iI&&(y+="rotate("+u+") "),l!==iI&&(y+="rotateY("+l+") "),h!==iI&&(y+="rotateX("+h+") "),(c!==iI||d!==iI)&&(y+="skew("+c+", "+d+") "),(1!==f||1!==p)&&
1(y+="scale("+f+", "+p+") "),g.style[it]=y||"translate(0, 0)"},iF=function(t,e){var r,i,n,s,a,o=e||this,u=o.xPercent,l=o.yPercent,h=o.x,c=o.y,d=o.rotation,f=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,w=o.xOffset,x=o.yOffset,b=o.forceCSS,T=parseFloat(h),O=parseFloat(c);d=parseFloat(d),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),d+=p),d||f?(d*=rV,f*=rV,r=Math.cos(d)*_,i=Math.sin(d)*_,n=-(Math.sin(d-f)*m),s=Math.cos(d-f)*m,f&&(p*=rV,n*=a=Math.sqrt(1+(a=Math.tan(f-p))*a),s*=a,p&&(r*=a=Math.sqrt(1+(a=Math.tan(p))*a),i*=a)),r=tP(r),i=tP(i),n=tP(n),s=tP(s)):(r=_,s=m,i=n=0),(T&&!~(h+"").indexOf("px")||O&&!~(c+"").indexOf("px"))&&(T=ix(g,"x",h,"px"),O=ix(g,"y",c,"px")),(v||y||w||x)&&(T=tP(T+v-(v*r+y*n)+w),O=tP(O+y-(v*i+y*s)+x)),(u||l)&&(T=tP(T+u/100*(a=g.getBBox()).width),O=tP(O+l/100*a.height)),a="matrix("+r+","+i+","+n+","+s+","+T+","+O+")",g.setAttribute("transform",a),b&&(g.style[it]=a)},iU=function(t,e,r,i,n){var s,a,o=Q(n),u=parseFloat(n)*(o&&~n.indexOf("rad")?rG:1)-i,l=i+u+"deg";return o&&("short"===(s=n.split("_")[1])&&(u%=360)!=u%180&&(u+=u<0?360:-360),"cw"===s&&u<0?u=(u+36e9)%360-360*~~(u/360):"ccw"===s&&u>0&&(u=(u-36e9)%360-360*~~(u/360))),t._pt=a=new rx(t._pt,e,r,i,u,rZ),a.e=l,a.u="deg",t._props.push(r),a},iL=function(t,e){for(var r in e)t[r]=e[r];return t},i$=function(t,e,r){var i,n,s,a,o,u,l,h=iL({},r._gsap),c=r.style;for(n in h.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),c[it]=e,i=iP(r,1),ig(r,it),r.setAttribute("transform",s)):(s=getComputedStyle(r)[it],c[it]=e,i=iP(r,1),c[it]=s),rY)(s=h[n])!==(a=i[n])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)&&(o=eh(s)!==(l=eh(a))?ix(r,n,s,l):parseFloat(s),u=parseFloat(a),t._pt=new rx(t._pt,i,n,o,u-o,rK),t._pt.u=l||0,t._props.push(n));iL(i,h)};tj("padding,margin,Width,Radius",function(t,e){var r="Right",i="Bottom",n="Left",s=(e<3?["Top",r,i,n]:["Top"+n,"Top"+r,i+r,i+n]).map(function(r){return e<2?t+r:"border"+r+t});iE[e>1?"border"+t:t]=function(t,e,r,i,n){var a,o;if(arguments.length<4)return 5===(o=(a=s.map(function(e){return ib(t,e,r)})).join(" ")).split(a[0]).length?a[0]:o;a=(i+"").split(" "),o={},s.forEach(function(t,e){return o[t]=a[e]=a[e]||a[(e-1)/2|0]}),t.init(e,o,n)}});var iY={name:"css",register:ic,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s,a,o,u,l,h,c,d,f,p,_,m,g,v,y,w,x=this._props,b=t.style,T=r.vars.startAt;for(c in rz||ic(),this.styles=this.styles||ia(t),w=this.styles.props,this.tween=r,e)if("autoRound"!==c&&(a=e[c],!(tk[c]&&e7(c,e,r,i,t,n)))){if(l=typeof a,h=iE[c],"function"===l&&(l=typeof(a=a.call(r,i,t,n))),"string"===l&&~a.indexOf("random(")&&(a=ex(a)),h)h(this,t,c,a,r)&&(y=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),a+="",ej.lastIndex=0,ej.test(s)||(d=eh(s),f=eh(a)),f?d!==f&&(s=ix(t,c,s,f)+f):d&&(a+=d),this.add(b,"setProperty",s,a,i,n,0,0,c),x.push(c),w.push(c,0,b[c]);else if("undefined"!==l){if(T&&c in T?(Q(s="function"==typeof T[c]?T[c].call(r,i,t,n):T[c])&&~s.indexOf("random(")&&(s=ex(s)),eh(s+"")||"auto"===s||(s+=U.units[c]||eh(ib(t,c))||""),"="===(s+"").charAt(1)&&(s=ib(t,c))):s=ib(t,c),u=parseFloat(s),(p="string"===l&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),c in rJ&&("autoAlpha"===c&&(1===u&&"hidden"===ib(t,"visibility")&&o&&(u=0),w.push("visibility",0,b.visibility),iv(this,b,"visibility",u?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==c&&"transform"!==c&&~(c=rJ[c]).indexOf(",")&&(c=c.split(",")[0])),_=c in rY){if(this.styles.save(c),m||((g=t._gsap).renderTransform&&!e.parseTransform||iP(t,e.parseTransform),v=!1!==e.smoothOrigin&&g.smooth,(m=this._pt=new rx(this._pt,b,it,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===c)this._pt=new rx(this._pt,g,"scaleY",g.scaleY,(p?tD(g.scaleY,p+o):o)-g.scaleY||0,rK),this._pt.u=0,x.push("scaleY",c),c+="X";else if("transformOrigin"===c){w.push(ie,0,b[ie]),a=ik(a),g.svg?ij(t,a,0,v,0,this):((f=parseFloat(a.split(" ")[2])||0)!==g.zOrigin&&iv(this,g,"zOrigin",g.zOrigin,f),iv(this,b,c,iN(s),iN(a)));continue}else if("svgOrigin"===c){ij(t,a,1,v,0,this);continue}else if(c in iS){iU(this,g,c,u,p?tD(u,p+a):a);continue}else if("smoothOrigin"===c){iv(this,g,"smooth",g.smooth,a);continue}else if("force3D"===c){g[c]=a;continue}else if("transform"===c){i$(this,a,t);continue}}else c in b||(c=ih(c)||c);if(_||(o||0===o)&&(u||0===u)&&!rW.test(a)&&c in b)d=(s+"").substr((u+"").length),o||(o=0),f=eh(a)||(c in U.units?U.units[c]:d),d!==f&&(u=ix(t,c,s,f)),this._pt=new rx(this._pt,_?g:b,c,u,(p?tD(u,p+o):o)-u,!_&&("px"===f||"zIndex"===c)&&!1!==e.autoRound?r1:rK),this._pt.u=f||0,d!==f&&"%"!==f&&(this._pt.b=s,this._pt.r=r0);else if(c in b)iT.call(this,t,c,s,p?p+a:a);else if(c in t)this.add(t,c,s||t[c],p?p+a:a,i,n);else if("parseTransform"!==c){t_(c,a);continue}_||(c in b?w.push(c,0,b[c]):w.push(c,1,s||t[c])),x.push(c)}}y&&rw(this)},render:function(t,e){if(e.tween._time||!rL())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:ib,aliases:rJ,getSetter:function(t,e,r){var i=rJ[e];return i&&0>i.indexOf(",")&&(e=i),e in rY&&e!==ie&&(t._gsap.x||ib(t,"x"))?r&&rU===r?"scale"===e?r4:r6:(rU=r||{},"scale"===e?r9:r7):t.style&&!K(t.style[e])?r8:~e.indexOf("-")?r3:rd(t,e)},core:{_removeProperty:ig,_getMatrix:iB}};rN.utils.checkPrefix=ih,rN.core.getStyleSaver=ia,r=tj("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(e="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){rY[t]=1}),tj(e,function(t){U.units[t]="deg",iS[t]=1}),rJ[r[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+e,tj("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");rJ[e[1]]=r[e[0]]}),tj("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){U.units[t]="px"}),rN.registerPlugin(iY);var iG=rN.registerPlugin(iY)||rN;iG.core.Tween;var iV=t.i(48148),iq=t.i(33750),iX=t.i(90571),iQ=t.i(34913),iW=t.i(64729);let iJ=function(t){var e=(0,l.useRef)(0),r=(0,iX.__read)((0,l.useState)(t),2),i=r[0],n=r[1],s=(0,l.useCallback)(function(t){cancelAnimationFrame(e.current),e.current=requestAnimationFrame(function(){n(t)})},[]);return(0,iW.default)(function(){cancelAnimationFrame(e.current)}),[i,s]};var iK=t.i(94612),iZ=t.i(31097),i0=t.i(96928),i1=(0,t.i(80649).default)(l.useLayoutEffect),i5=iZ.default?i1:i0.default;let i2=function(t){var e=(0,iX.__read)(iJ(function(){var e=(0,iK.getTargetElement)(t);return e?{width:e.clientWidth,height:e.clientHeight}:void 0}),2),r=e[0],i=e[1];return i5(function(){var e=(0,iK.getTargetElement)(t);
1if(e){var r=new iQ.default(function(t){t.forEach(function(t){var e=t.target;i({width:e.clientWidth,height:e.clientHeight})})});return r.observe(e),function(){r.disconnect()}}},[],t),r};var i8=t.i(28835);let i3=l.default.memo(({qrcodeBg:t,qrcodeValue:e,data:r})=>{let n=(0,l.useRef)(null),s=i2(n),a=(0,l.useRef)(null),o=i2(a),h=(0,l.useRef)(null),c=i2(h);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u.default,{className:"w-full object-contain",src:t||"/common/index/H5/QRcode-modal-bg.png",width:606,height:603,alt:"QRcode-modal-bg"}),iq.isMobile?(0,i.jsx)("div",{ref:n,className:"absolute left-[50%] top-[60%] w-[50%] -translate-x-1/2 -translate-y-1/2",children:(0,i.jsx)(i8.default,{className:"box-border bg-white p-2",value:e,size:s?.width??180})}):(0,i.jsxs)("div",{ref:n,className:"absolute left-[50%] top-[60%] flex w-[80%] -translate-x-1/2 -translate-y-1/2",children:[(0,i.jsxs)("div",{className:"flex w-1/2 flex-col items-center",ref:a,children:[(0,i.jsx)(u.default,{className:"w-[50%]",src:"/common/index/H5/android-bg.png",width:1,height:1,alt:"android-bg"}),(0,i.jsx)(i8.default,{className:"mt-10 bg-white p-2",value:r.d_apk,size:(o?.width??180)*.9})]}),(0,i.jsxs)("div",{className:"flex w-1/2 flex-col items-center",ref:h,children:[(0,i.jsx)(u.default,{className:"w-[50%]",src:"/common/index/H5/ios-bg.png",width:1,height:1,alt:"ios-bg"}),(0,i.jsx)(i8.default,{className:"mt-10 bg-white p-2",value:r.v_ios,size:(c?.width??180)*.9})]})]})]})}),i6=l.default.memo(({qrcodeBg:t,qrcodeValue:e,data:r})=>{let n=(0,l.useRef)(null),s=i2(n),a=(0,l.useRef)(null),o=i2(a),h=(0,l.useRef)(null),c=i2(h);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u.default,{className:"w-full object-contain",src:t||"/common/index/H5/QRcode-modal.png",width:606,height:603,alt:"QRcode-modal"}),iq.isMobile?(0,i.jsx)("div",{ref:n,className:"absolute left-[50%] top-[50%] w-[50%] -translate-x-1/2 -translate-y-1/2",children:(0,i.jsx)(i8.default,{className:"bg-white p-2",value:e,size:s?.width??180})}):(0,i.jsxs)("div",{ref:n,className:"absolute left-[50%] top-[50%] flex w-[80%] -translate-x-1/2 -translate-y-1/2",children:[(0,i.jsxs)("div",{className:"flex w-1/2 flex-col items-center",ref:a,children:[(0,i.jsx)(u.default,{className:"w-[50%]",src:"/common/index/H5/android-common.png",width:1,height:1,alt:"android_common"}),(0,i.jsx)(i8.default,{className:"mt-10 bg-white p-2",value:r.d_apk,size:(o?.width??180)*.9})]}),(0,i.jsxs)("div",{className:"flex w-1/2 flex-col items-center",ref:h,children:[(0,i.jsx)(u.default,{className:"w-[50%]",src:"/common/index/H5/ios-common.png",width:1,height:1,alt:"ios_common"}),(0,i.jsx)(i8.default,{className:"mt-10 bg-white p-2",value:r.v_ios,size:(c?.width??180)*.9})]})]})]})}),i4=l.default.memo(({data:t,isVisible:e,setVisible:r,qrcodeBg:n,isHiddenClose:s=!1,skinId:a})=>{(0,iV.useTranslations)("LandingPage");let o=(0,l.useRef)(null),h=(0,l.useMemo)(()=>iq.isIOS?t.v_ios:t.d_apk,[t]);(0,l.useEffect)(()=>
1{let t=o.current;e&&t?iG.to(t,{opacity:1,duration:.5,ease:rD.easeInOut}):iG.to(t,{opacity:0,duration:.5,ease:rD.easeInOut}),e&&iq.isMobile},[e,h]);let f=(0,l.useCallback)(t=>{r(t)},[r]);return(0,i.jsx)(c,{open:e,onClose:()=>r(!1),children:(0,i.jsxs)("div",{ref:o,className:"relative w-[80%] opacity-0",onClick:t=>{t.stopPropagation()},children:[a===d.Skin.BlackGold?(0,i.jsx)(i3,{qrcodeBg:n||"",qrcodeValue:h,data:t}):(0,i.jsx)(i6,{qrcodeBg:n||"",qrcodeValue:h,data:t}),!s&&(0,i.jsx)(u.default,{className:"absolute right-[5%] top-[5%] w-[6%] object-contain",src:"/common/index/H5/close.png",onClick:()=>f(!1),width:31,height:29,alt:"close"})]})})});var i9=t.i(56632),i7=t.i(38738),nt=t.i(40031);let ne=({serviceUrl:t,chn:e,brand:r,customer_type:n})=>{let[s,a]=(0,l.useState)(""),h=(0,l.useContext)(i9.LandingPageConfigContext),[c,d]=o.message.useMessage();(0,l.useEffect)(()=>{(async()=>{if(n===i7.CUSTOMER_TYPE_ENUM.PLATFORM){let i=await (0,nt.geneServiceUrlByVisitorId)(t,e,h,r);i&&a(i)}else n===i7.CUSTOMER_TYPE_ENUM.THIRD_PARTY&&a(t)})()},[h,t,e,r]);let f=(0,l.useCallback)(async()=>{if(!t)return c.open({type:"error",content:"No Brand!"});window.open(s,"_blank")},[c,t,s]);return(0,i.jsxs)(i.Fragment,{children:[d,(0,i.jsx)(u.default,{className:"w-full cursor-pointer",src:"/common/service-button.png",width:82,height:72,alt:"service-button",onClick:f})]})};var nr=t.i(37674),ni=t.i(11079),nn=t.i(17037);let ns=({config:t,data:e,params:r})=>{let i=(0,l.useRef)({config:t,data:e,params:r}),n=(0,l.useRef)(null);return i.current={config:t,data:e,params:r},(0,l.useEffect)(()=>{let r=(0,ni.createAutoH5RedirectController)({enabled:t.is_auto_jump_h5,seconds:t.auto_jump_h5_seconds,targetUrl:e.official_website_h5_game_url,resolveTarget:()=>{let t=i.current,e=t.config.background_button_jump_method===i7.BgOrBgBtnTypeEnum.H5_PROMOTION?i7.BgOrBgBtnTypeEnum.H5_PROMOTION:i7.BgOrBgBtnTypeEnum.H5;return(0,nn.buildBrandH5JumpUrl)({data:t.data,config:{...t.config,background_button_jump_method:e},params:t.params,isIOS:!1})},navigate:t=>window.location.assign(t)});return n.current=r,()=>{r.cancel(),n.current===r&&(n.current=null)}},[t.auto_jump_h5_seconds,t.is_auto_jump_h5,e.official_website_h5_game_url]),(0,l.useCallback)(()=>{n.current?.cancel(),n.current=null},[])};var na=t.i(19777),no=t.i(46530),nu=t.i(43474),nl=t.i(63241),nh=t.i(37686),nc=t.i(62691),nd=t.i(8063),nf=t.i(22235),np=t.i(25764);let n_=l.default.memo(({data:t,brand:e,locale:r,config:s,params:a,pixelType:o,countryCode:c})=>{let{download_url:d,logo:f,tagline1:p,skip_button:_,tagline2:m,game_icons:g=[],game_promotional_pictures:v=[],background_button_jump_method:y,promotion_jump_position:w,auto_invocation_apk:x,is_download_apk_redirect_new_page:b}=s,{brand_scheme:T}=t,[O,k]=(0,l.useState)(!1),[A,E]=(0,l.useState)(""),[M,S]=(0,l.useState)(!1),C=(0,l.useRef)(null),R=(0,l.useRef)(!1),B=y===i7.BgOrBgBtnTypeEnum.H5_PROMOTION,j=a.lang||r||"en",P=(0,nu.buildBrandManifestUrl)({brand:e,locale:j,params:a}),N=iq.isIOS||nh.isAndroidOrHarmony,D=(0,nd.shouldShowAddToHomeGuide)(s.user_h5_jump_type)||(0,nd.shouldShowAddToHomeGuide)(s.ios_download_buoy_jump_type),H=ns({config:s,data:t,params:a});(0,l.useEffect)(()=>{if(!nh.isAndroidOrHarmony||!D)return;(0,nd.registerMinimalPWA)(P);let t=t=>{t.preventDefault(),C.current=t};return window.addEventListener("beforeinstallprompt",t),()=>window.removeEventListener("beforeinstallprompt",t)},[P,D]);let I=(0,l.useCallback)(t=>{!1===b&&y===i7.BgOrBgBtnTypeEnum.ApkIos?window.location.href=t:window.open(t)},[y,b]),z=(0,l.useCallback)(()=>y===i7.BgOrBgBtnTypeEnum.H5||y===i7.BgOrBgBtnTypeEnum.H5_PROMOTION||y===i7.BgOrBgBtnTypeEnum.H5Ios||y===i7.BgOrBgBtnTypeEnum.ApkIos&&iq.isIOS,[y]),F=(0,l.useCallback)(t=>o&&window?.[o]?.getAdjustUrl(t)||t,[o]),U=(0,l.useCallback)((t,{skipGuide:e=!1,cacheBeforeOpen:r=!1}={})=>{let i=F(t);if(r){(0,nd.cacheAddToHomeH5Url)(i,s,{landingSource:"brand_landing"}),window.location.href=na.clientLocalStorage.get(nr.H5_GAME_KEY)||i;return}if(!e&&!B&&N&&z()&&(0,nd.shouldShowAddToHomeGuide)(s.user_h5_jump_type)){(0,nd.cacheAddToHomeH5Url)(i,s,{landingSource:"brand_landing"}),S((0,nd.shouldMarkPwaLandingSource)(s,{source:"user_h5"})),E(i),k(!0);return}I(i)},[s,F,z,N,I,B]);(0,l.useEffect)(()=>{window.location.hash===nr.H5_REGENERATE_HASH||z()&&(0,nd.redirectStandaloneToBrandRedirect)({brand:e,locale:j,params:a,rewardConfig:s})},[e,j,s,z,a]),(0,l.useEffect)(()=>{let t=iG.timeline({});t.to(".icon",{opacity:1,delay:.2,duration:.5,y:0,ease:"Power4.inOut",rotation:360,stagger:.2}),t.fromTo(".logo",{y:-5},{y:5,ease:"Power4.inOut",repeat:-1,yoyo:!0,duration:2})},[]);let L=(0,l.useCallback)(async({isRegenerateH5:e=!1}={})=>{e||H();let r={clickId:a.fbclid||a.click_id||a.p2||a.ttclid||a.pixel_click_id,referUrl:window.location.hostname,chn:a.chn};a.id&&(r.userId=atob(a.id)),a.actshare&&(r.actshare=a.actshare),a.fpactid&&(r.fpactid=atob(a.fpactid)),a.fsource&&(r.fsource=a.fs
1ource),(0,nl.copyText)(btoa(JSON.stringify(r)));let i=(0,nn.buildBrandH5JumpUrl)({data:t,config:s,params:a,isIOS:iq.isIOS});!e&&!B&&N&&z()&&(0,nd.shouldShowAddToHomeGuide)(s.user_h5_jump_type)?U(i):!e&&!B&&x&&nh.isAndroidOrHarmony&&T&&await (0,no.openAppByScheme)(T,a?.chn)||U(i,{skipGuide:e,cacheBeforeOpen:e})},[x,T,H,s,t,z,N,U,a,B]);(0,l.useEffect)(()=>{if(R.current||window.location.hash!==nr.H5_REGENERATE_HASH||!B&&!z())return;let t=()=>{R.current||(R.current=!0,window.history.replaceState(null,"",`${window.location.pathname}${window.location.search}`),L({isRegenerateH5:!0}))};if(!(a.fbpxid||a.kwpxid||a.ttpxid)||o)return void t();let e=window.setTimeout(t,1e3);return()=>window.clearTimeout(e)},[z,L,a.fbpxid,a.kwpxid,a.ttpxid,o,B]);let $=async()=>{H();let e={clickId:a.fbclid||a.click_id||a.p2||a.ttclid||a.pixel_click_id,referUrl:window.location.hostname,chn:a.chn};a.id&&(e.userId=atob(a.id)),a.actshare&&(e.actshare=a.actshare),a.fpactid&&(e.fpactid=atob(a.fpactid)),a.fsource&&(e.fsource=a.fsource),(0,nl.copyText)(btoa(JSON.stringify(e)));let r="";if(r=iq.isIOS?t.v_ios:t.d_apk,r=(0,nc.appendParamsToURL)(r,{referurl:window.location.hostname,clickid:a.fbclid||a.click_id,actshare:a.actshare,fsource:a.fsource}),x&&nh.isAndroidOrHarmony&&T&&await (0,no.openAppByScheme)(T,a?.chn))return;let i=F(r);if(iq.isIOS&&(0,nd.shouldShowAddToHomeGuide)(s.ios_download_buoy_jump_type)){(0,nd.cacheAddToHomeH5Url)(i,s,{source:"ios_buoy",landingSource:"brand_landing"}),S((0,nd.shouldMarkPwaLandingSource)(s,{source:"ios_buoy"})),E(i),k(!0);return}I(i)};(0,nf.logAppVersion)();let[Y,G]=(0,l.useState)(!1);return(0,i.jsx)(i9.LandingPageConfigContext.Provider,{value:s,children:(0,i.jsx)("div",{className:"pc_background flex w-full justify-center overflow-hidden overflow-x-hidden bg-cover bg-no-repeat",style:{backgroundImage:`url(${d}${s.pc_bg})`,height:"var(--app-height)"},children:(0,i.jsxs)("div",{className:"relative  w-[1000px]",children:[(0,i.jsx)("div",{className:"landingPage relative h-screen w-full overflow-y-auto",children:(0,i.jsxs)("div",{className:"bg-[length:100%_100%] bg-no-repeat",style:{backgroundImage:`url(${s.download_url}${s.background})`},children:[(0,i.jsx)(u.default,{className:"logo w-full px-[5%]",src:`${d}${f}`,width:1080,height:1080,alt:"logo"}),(0,i.jsxs)("div",{className:"relative -top-10 w-full",children:[(0,i.jsx)(u.default,{className:"w-full",src:`${d}${p}`,width:1080,height:1080,alt:"tagline1"}),(0,i.jsxs)("div",{className:"absolute right-0 top-[-20%] z-[100] flex w-[18%] flex-col items-end pr-[5%]",children:[(0,i.jsx)(ne,{serviceUrl:t.customer_url,chn:a.chn,brand:e,customer_type:t.customer_type}),(0,i.jsx)(h,{setIsQrcodeVisible:G,downloadUrl:t.d_apk})]})]}),(0,i.jsx)(u.default,{className:"relative -top-10 w-full px-[20%]",src:`${d}${_}`,width:247,height:64,onClick:()=>L(),alt:"Hero Tryout Button"}),(0,i.jsx)(u.default,{className:"relative -top-8 w-full",src:`${d}${m}`,width:1080,height:1080,alt:"tagline2"}),(0,i.jsx)("div",{className:"flex flex-wrap",children:g.map((t,e)=>(0,i.jsx)(u.default,{className:"icon  w-[25%]  opacity-0",src:`${d}${t}`,width:1080,height:1080,alt:"icon"},e))}),(0,i.jsx)("div",{className:"mt-5 flex flex-col",children:v.map((t,e)=>(0,i.jsx)(u.default,{className:"mb-5 w-full",src:`${d}${t}`,width:1080,height:1080,alt:"advertising"},e))})]})}),(0,i.jsx)(n.default,{open:O,appIconUrl:s.favicon?`${d}${s.favicon}`:void 0,appName:s.title,h5Url:A,rewardSwitch:M,reward:s.home_screen_reward,countryCode:c,onNativePrompt:C.current?()=>{C.current?.prompt?.(),C.current=null}:void 0,onFallbackToH5:A?()=>I(A):void 0,onClose:()=>k(!1)}),(0,i.jsx)(i4,{data:t,skinId:s.skin_id,isVisible:Y,setVisible:G}),(0,i.jsx)(np.default,{brand:e,downloadUrl:t.d_apk,params:a,handleClickTryOut:$})]})})})}),nm=({data:t,brand:e,locale:r,config:s,params:a,pixelType:o,countryCode:h})=>{let{download_url:c,background:d,customer_btn:f,qrcode_btn:p,download_buoy:_,buoy_icon:m,qrcode_bg:g,background_button_jump_method:v,promotion_jump_position:y,is_download_apk_redirect_new_page:w}=s,{customer_url:x,brand_scheme:b,customer_type:T}=t,{chn:O,id:k}=a,[A,E]=(0,l.useState)(!1),[M,S]=(0,l.useState)(""),[C,R]=(0,l.useState)(!1),B=(0,l.useRef)(null),j=(0,l.useRef)(!1),P=v===i7.BgOrBgBtnTypeEnum.H5_PROMOTION,N=a.lang||r||"en",D=(0,nu.buildBrandManifestUrl)({brand:e,locale:N,params:a}),H=iq.isIOS||nh.isAndroidOrHarmony,I=(0,nd.shouldShowAddToHomeGuide)(s.user_h5_jump_type)||(0,nd.shouldShowAddToHomeGuide)(s.ios_download_buoy_jump_type),z=ns({config:s,data:t,params:a});(0,l.useEffect)(()=>
1{if(!nh.isAndroidOrHarmony||!I)return;(0,nd.registerMinimalPWA)(D);let t=t=>{t.preventDefault(),B.current=t};return window.addEventListener("beforeinstallprompt",t),()=>window.removeEventListener("beforeinstallprompt",t)},[D,I]);let F=(0,l.useCallback)(t=>{!1===w&&v===i7.BgOrBgBtnTypeEnum.ApkIos?window.location.href=t:window.open(t)},[v,w]),U=(0,l.useCallback)(()=>v===i7.BgOrBgBtnTypeEnum.H5||v===i7.BgOrBgBtnTypeEnum.H5_PROMOTION||v===i7.BgOrBgBtnTypeEnum.H5Ios||v===i7.BgOrBgBtnTypeEnum.ApkIos&&iq.isIOS,[v]),L=(0,l.useCallback)(t=>o&&window?.[o]?.getAdjustUrl(t)||t,[o]),$=(0,l.useCallback)((t,{skipGuide:e=!1,cacheBeforeOpen:r=!1}={})=>{let i=L(t);if(r){(0,nd.cacheAddToHomeH5Url)(i,s,{landingSource:"brand_landing"}),window.location.href=na.clientLocalStorage.get(nr.H5_GAME_KEY)||i;return}if(!e&&!P&&H&&U()&&(0,nd.shouldShowAddToHomeGuide)(s.user_h5_jump_type)){(0,nd.cacheAddToHomeH5Url)(i,s,{landingSource:"brand_landing"}),R((0,nd.shouldMarkPwaLandingSource)(s,{source:"user_h5"})),S(i),E(!0);return}F(i)},[s,L,U,H,F,P]),[Y,G]=(0,l.useState)(!1),V=(0,l.useCallback)(async({isRegenerateH5:e=!1}={})=>{e||z();let r={clickId:a.fbclid||a.click_id||a.p2||a.ttclid||a.pixel_click_id,referUrl:window.location.hostname,chn:O};a.id&&(r.userId=atob(a.id)),a.actshare&&(r.actshare=a.actshare),a.fpactid&&(r.fpactid=atob(a.fpactid)),a.fsource&&(r.fsource=a.fsource),(0,nl.copyText)(btoa(JSON.stringify(r)));let i=(0,nn.buildBrandH5JumpUrl)({data:t,config:s,params:a,isIOS:iq.isIOS});!e&&!P&&H&&U()&&(0,nd.shouldShowAddToHomeGuide)(s.user_h5_jump_type)?$(i):!e&&!P&&s.auto_invocation_apk&&nh.isAndroidOrHarmony&&b&&await (0,no.openAppByScheme)(b,a?.chn)||$(i,{skipGuide:e,cacheBeforeOpen:e})},[b,z,O,s,t,U,H,$,a,P]),q=async()=>{if(T===i7.CUSTOMER_TYPE_ENUM.PLATFORM){let t=await (0,nt.geneServiceUrlByVisitorId)(x,O,s,e);window.open(t)}else T===i7.CUSTOMER_TYPE_ENUM.THIRD_PARTY&&window.open(x)},X=async()=>{z();let e={clickId:a.fbclid||a.click_id||a.p2||a.ttclid||a.pixel_click_id,referUrl:window.location.hostname,chn:a.chn};a.id&&(e.userId=atob(a.id)),a.actshare&&(e.actshare=a.actshare),a.fpactid&&(e.fpactid=atob(a.fpactid)),a.fsource&&(e.fsource=a.fsource),(0,nl.copyText)(btoa(JSON.stringify(e)));let r=iq.isIOS?t.v_ios:t.d_apk;if(r=(0,nc.appendParamsToURL)(r,{referurl:window.location.hostname,clickid:a.fbclid||a.click_id,actshare:a.actshare,fsource:a.fsource}),s.auto_invocation_apk&&nh.isAndroidOrHarmony&&b&&await (0,no.openAppByScheme)(b,a?.chn))return;let i=o&&window?.[o]?.getAdjustUrl(r)||r;if(iq.isIOS&&(0,nd.shouldShowAddToHomeGuide)(s.ios_download_buoy_jump_type)){(0,nd.cacheAddToHomeH5Url)(i,s,{source:"ios_buoy",landingSource:"brand_landing"}),R((0,nd.shouldMarkPwaLandingSource)(s,{source:"ios_buoy"})),S(i),E(!0);return}F(i)};(0,nf.logAppVersion)();let Q=g?`${c}${g}`:"";return(0,l.useEffect)(()=>{window.location.hash===nr.H5_REGENERATE_HASH||U()&&(0,nd.redirectStandaloneToBrandRedirect)({brand:e,locale:N,params:a,rewardConfig:s})},[e,N,s,U,a]),(0,l.useEffect)(()=>{if(j.current||window.location.hash!==nr.H5_REGENERATE_HASH||!P&&!U())return;let t=()=>{j.current||(j.current=!0,window.history.replaceState(null,"",`${window.location.pathname}${window.location.search}`),V({isRegenerateH5:!0}))};if(!(a.fbpxid||a.kwpxid||a.ttpxid)||o)return void t();let e=window.setTimeout(t,1e3);return()=>window.clearTimeout(e)},[U,V,a.fbpxid,a.kwpxid,a.ttpxid,o,P]),(0,i.jsxs)("div",{className:"relative flex h-[100dvh] max-w-[1000px] flex-col",children:[(0,i.jsx)("div",{className:"w-[100vw]"}),(0,i.jsxs)("div",{className:"h-full w-full overflow-scroll ",children:[(0,i.jsx)(u.default,{className:"w-full",src:`${c}${d}`,width:1,height:1,alt:"background",onClick:()=>V()}),f&&(0,i.jsx)(u.default,{className:"absolute right-[5%] top-[30%] w-[12%]",src:`${c}${f}`,width:1,height:1,alt:"customer_btn",onClick:q}),p&&(0,i.jsx)(u.default,{className:"absolute right-[5%] top-[38%] w-[12%] md:top-[45%]",src:`${c}${p}`,width:1,height:1,onClick:()=>G(!0),alt:"qrcode_btn"})]}),(0,i.jsx)(n.default,{open:A,appIconUrl:s.favicon?`${c}${s.favicon}`:void 0,appName:s.title,h5Url:M,rewardSwitch:C,reward:s.home_screen_reward,countryCode:h,onNativePrompt:B.current?()=>
1{B.current?.prompt?.(),B.current=null}:void 0,onFallbackToH5:M?()=>F(M):void 0,onClose:()=>E(!1)}),(0,i.jsx)(i4,{data:t,skinId:s.skin_id,isVisible:Y,setVisible:G,qrcodeBg:Q,isHiddenClose:!0}),_?(0,i.jsxs)("div",{className:"absolute bottom-0 w-full",onClick:X,children:[(0,i.jsx)(u.default,{className:"w-full",src:`${c}${_}`,width:1,height:1,alt:"download_buoy"}),m?(0,i.jsx)(u.default,{className:"absolute bottom-[10%] left-[1%] z-[999] h-[80%] w-auto",src:`${c}${m}`,width:1,height:1,alt:"buoy_icon"}):null]}):null]})};var ng=t.i(7834),nv=t.i(20948),ny={restoreOnUnmount:!1};let nw=function(t,e){void 0===e&&(e=ny);var r=(0,l.useRef)(iZ.default?document.title:"");(0,l.useEffect)(function(){document.title=t},[t]),(0,iW.default)(function(){e.restoreOnUnmount&&(document.title=r.current)})};var nx=t.i(3303);let nb=l.default.memo(t=>{let{config:e,params:r}=t,{download_url:n,favicon:s,title:a}=e;(0,nv.useFavicon)(`${n}${s}`),nw(a),(0,l.useEffect)(()=>{function t(){document.documentElement.style.setProperty("--app-height",`${window.innerHeight}px`)}return window.addEventListener("resize",t),t(),()=>{window.removeEventListener("resize",t)}},[]);let[o,u]=(0,l.useState)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"flex justify-center",children:[e.temp_type===i7.TempTypeEnum.SplitBackground&&(0,i.jsx)(n_,{...t,pixelType:o}
1),e.temp_type===i7.TempTypeEnum.FullBackground&&(0,i.jsx)(nm,{...t,pixelType:o})]}),(0,i.jsx)(nx.default,{src:"/sdk/adjust.js",onLoad:()=>{let t=(0,ng.initAdjustV2)(r);t&&u(t)}})]})});t.s(["default",0,nb],14526)}]);

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.