-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path3c8de475e42b0903083037668847a1e27cea42d6-5a7837472da8a2411c8b.js
More file actions
2 lines (2 loc) · 22.5 KB
/
Copy path3c8de475e42b0903083037668847a1e27cea42d6-5a7837472da8a2411c8b.js
File metadata and controls
2 lines (2 loc) · 22.5 KB
1
2
"use strict";(self.webpackChunkmy_gatsby_site=self.webpackChunkmy_gatsby_site||[]).push([[97],{6968:function(t,e,r){r.d(e,{p8:function(){return kt}});var n,i,s,o,a,l,p,c,f=r(3373),u={},h=180/Math.PI,g=Math.PI/180,d=Math.atan2,m=/([A-Z])/g,y=/(left|right|width|margin|padding|x)/i,v=/[\s,\(]\S/,x={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},b=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},w=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},O=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},_=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},P=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},M=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},k=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},C=function(t,e,r){return t.style[e]=r},F=function(t,e,r){return t.style.setProperty(e,r)},S=function(t,e,r){return t._gsap[e]=r},z=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},E=function(t,e,r,n,i){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},A=function(t,e,r,n,i){var s=t._gsap;s[e]=r,s.renderTransform(i,s)},Y="transform",T=Y+"Origin",X=function t(e,r){var n=this,i=this.target,s=i.style,o=i._gsap;if(e in u&&s){if(this.tfm=this.tfm||{},"transform"===e)return x.transform.split(",").forEach((function(e){return t.call(n,e,r)}));if(~(e=x[e]||e).indexOf(",")?e.split(",").forEach((function(t){return n.tfm[t]=Q(i,t)})):this.tfm[e]=o.x?o[e]:Q(i,e),e===T&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(Y)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(T,r,"")),e=Y}(s||r)&&this.props.push(e,r,s[e])},W=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},B=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?n[r[t]](r[t+2]):n[r[t]]=r[t+2]:r[t+2]?i[r[t]]=r[t+2]:i.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(m,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=p())&&t.isStart||i[Y]||(W(i),s.zOrigin&&i[T]&&(i[T]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},I=function(t,e){var r={target:t,props:[],revert:B,save:X};return t._gsap||f.p8.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach((function(t){return r.save(t)})),r},N=function(t,e){var r=i.createElementNS?i.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):i.createElement(t);return r&&r.style?r:i.createElement(t)},R=function t(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(m,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&t(e,V(r)||r,1)||""},D="O,Moz,ms,Ms,Webkit".split(","),V=function(t,e,r){var n=(e||a).style,i=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(D[i]+t in n););return i<0?null:(3===i?"ms":i>=0?D[i]:"")+t},j=function(){"undefined"!=typeof window&&window.document&&(n=window,i=n.document,s=i.documentElement,a=N("div")||{style:{}},N("div"),Y=V(Y),T=Y+"Origin",a.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",c=!!V("perspective"),p=f.p8.core.reverting,o=1)},Z=function(t){var e,r=t.ownerSVGElement,n=N("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),s.appendChild(n);try{e=i.getBBox()}catch(o){}return n.removeChild(i),s.removeChild(n),e},q=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},L=function(t){var e,r;try{e=t.getBBox()}catch(n){e=Z(t),r=1}return e&&(e.width||e.height)||r||(e=Z(t)),!e||e.width||e.x||e.y?e:{x:+q(t,["x","cx","x1"])||0,y:+q(t,["y","cy","y1"])||0,width:0,height:0}},G=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!L(t))},$=function(t,e){if(e){var r,n=t.style;e in u&&e!==T&&(e=Y),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(m,"-$1").toLowerCase())):n.removeAttribute(e)}},H=function(t,e,r,n,i,s){var o=new f.Fo(t._pt,e,r,0,1,s?k:M);return t._pt=o,o.b=n,o.e=i,t._props.push(r),o},U={deg:1,rad:1,turn:1},J={grid:1,flex:1},K=function t(e,r,n,s){var o,l,p,c,h=parseFloat(n)||0,g=(n+"").trim().substr((h+"").length)||"px",d=a.style,m=y.test(r),v="svg"===e.tagName.toLowerCase(),x=(v?"client":"offset")+(m?"Width":"Height"),b=100,w="px"===s,O="%"===s;if(s===g||!h||U[s]||U[g])return h;if("px"!==g&&!w&&(h=t(e,r,n,"px")),c=e.getCTM&&G(e),(O||"%"===g)&&(u[r]||~r.indexOf("adius")))return o=c?e.getBBox()[m?"width":"height"]:e[x],(0,f.Pr)(O?h/o*b:h/100*o);if(d[m?"width":"height"]=b+(w?g:s),l="rem"!==s&&~r.indexOf("adius")||"em"===s&&e.appendChild&&!v?e:e.parentNode,c&&(l=(e.ownerSVGElement||{}).parentNode),l&&l!==i&&l.appendChild||(l=i.body),(p=l._gsap)&&O&&p.width&&m&&p.time===f.xr.time&&!p.uncache)return(0,f.Pr)(h/p.width*b);if(!O||"height"!==r&&"width"!==r)(O||"%"===g)&&!J[R(l,"display")]&&(d.position=R(e,"position")),l===e&&(d.position="static"),l.appendChild(a),o=a[x],l.removeChild(a),d.position="absolute";else{var _=e.style[r];e.style[r]=b+s,o=e[x],_?e.style[r]=_:$(e,r)}return m&&O&&((p=(0,f.DY)(l)).time=f.xr.time,p.width=l[x]),(0,f.Pr)(w?o*h/b:o&&h?b/o*h:0)},Q=function(t,e,r,n){var i;return o||j(),e in x&&"transform"!==e&&~(e=x[e]).indexOf(",")&&(e=e.split(",")[0]),u[e]&&"transform"!==e?(i=ct(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:ft(R(t,T))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=nt[e]&&nt[e](t,e,r)||R(t,e)||(0,f.Ok)(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?K(t,e,i,r)+r:i},tt=function(t,e,r,n){if(!r||"none"===r){var i=V(e,t,1),s=i&&R(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=R(t,"borderTopColor"))}var o,a,l,p,c,u,h,g,d,m,y,v=new f.Fo(this._pt,t.style,e,0,1,f.Ks),x=0,b=0;if(v.b=r,v.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=R(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(u=t.style[e],t.style[e]=n,n=R(t,e)||n,u?t.style[e]=u:$(t,e)),o=[r,n],(0,f.kr)(o),n=o[1],l=(r=o[0]).match(f.d4)||[],(n.match(f.d4)||[]).length){for(;a=f.d4.exec(n);)h=a[0],d=n.substring(x,a.index),c?c=(c+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(c=1),h!==(u=l[b++]||"")&&(p=parseFloat(u)||0,y=u.substr((p+"").length),"="===h.charAt(1)&&(h=(0,f.cy)(p,h)+y),g=parseFloat(h),m=h.substr((g+"").length),x=f.d4.lastIndex-m.length,m||(m=m||f.Fc.units[e]||y,x===n.length&&(n+=m,v.e+=m)),y!==m&&(p=K(t,e,u,m)||0),v._pt={_next:v._pt,p:d||1===b?d:",",s:p,c:g-p,m:c&&c<4||"zIndex"===e?Math.round:0});v.c=x<n.length?n.substring(x,n.length):""}else v.r="display"===e&&"none"===n?k:M;return f.bQ.test(n)&&(v.e=0),this._pt=v,v},et={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},rt=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,n,i,s=e.t,o=s.style,a=e.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",n=1;else for(i=(a=a.split(",")).length;--i>-1;)r=a[i],u[r]&&(n=1,r="transformOrigin"===r?T:Y),$(s,r);n&&($(s,Y),l&&(l.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",ct(s,1),l.uncache=1,W(o)))}},nt={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new f.Fo(t._pt,e,r,0,0,rt);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},it=[1,0,0,1,0,0],st={},ot=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},at=function(t){var e=R(t,Y);return ot(e)?it:e.substr(7).match(f.SI).map(f.Pr)},lt=function(t,e){var r,n,i,o,a=t._gsap||(0,f.DY)(t),l=t.style,p=at(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(p=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?it:p:(p!==it||t.offsetParent||t===s||a.svg||(i=l.display,l.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(o=1,n=t.nextElementSibling,s.appendChild(t)),p=at(t),i?l.display=i:$(t,"display"),o&&(n?r.insertBefore(t,n):r?r.appendChild(t):s.removeChild(t))),e&&p.length>6?[p[0],p[1],p[4],p[5],p[12],p[13]]:p)},pt=function(t,e,r,n,i,s){var o,a,l,p=t._gsap,c=i||lt(t,!0),f=p.xOrigin||0,u=p.yOrigin||0,h=p.xOffset||0,g=p.yOffset||0,d=c[0],m=c[1],y=c[2],v=c[3],x=c[4],b=c[5],w=e.split(" "),O=parseFloat(w[0])||0,_=parseFloat(w[1])||0;r?c!==it&&(a=d*v-m*y)&&(l=O*(-m/a)+_*(d/a)-(d*b-m*x)/a,O=O*(v/a)+_*(-y/a)+(y*b-v*x)/a,_=l):(O=(o=L(t)).x+(~w[0].indexOf("%")?O/100*o.width:O),_=o.y+(~(w[1]||w[0]).indexOf("%")?_/100*o.height:_)),n||!1!==n&&p.smooth?(x=O-f,b=_-u,p.xOffset=h+(x*d+b*y)-x,p.yOffset=g+(x*m+b*v)-b):p.xOffset=p.yOffset=0,p.xOrigin=O,p.yOrigin=_,p.smooth=!!n,p.origin=e,p.originIsAbsolute=!!r,t.style[T]="0px 0px",s&&(H(s,p,"xOrigin",f,O),H(s,p,"yOrigin",u,_),H(s,p,"xOffset",h,p.xOffset),H(s,p,"yOffset",g,p.yOffset)),t.setAttribute("data-svg-origin",O+" "+_)},ct=function(t,e){var r=t._gsap||new f.l1(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,o,a,l,p,u,m,y,v,x,b,w,O,_,P,M,k,C,F,S,z,E,A,X,W,B,I,N,D,V,j=t.style,Z=r.scaleX<0,q="px",L="deg",$=getComputedStyle(t),H=R(t,T)||"0";return n=i=s=l=p=u=m=y=v=0,o=a=1,r.svg=!(!t.getCTM||!G(t)),$.translate&&("none"===$.translate&&"none"===$.scale&&"none"===$.rotate||(j[Y]=("none"!==$.translate?"translate3d("+($.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==$.rotate?"rotate("+$.rotate+") ":"")+("none"!==$.scale?"scale("+$.scale.split(" ").join(",")+") ":"")+("none"!==$[Y]?$[Y]:"")),j.scale=j.rotate=j.translate="none"),w=lt(t,r.svg),r.svg&&(r.uncache?(A=t.getBBox(),H=r.xOrigin-A.x+"px "+(r.yOrigin-A.y)+"px",E=""):E=!e&&t.getAttribute("data-svg-origin"),pt(t,E||H,!!E||r.originIsAbsolute,!1!==r.smooth,w)),x=r.xOrigin||0,b=r.yOrigin||0,w!==it&&(M=w[0],k=w[1],C=w[2],F=w[3],n=S=w[4],i=z=w[5],6===w.length?(o=Math.sqrt(M*M+k*k),a=Math.sqrt(F*F+C*C),l=M||k?d(k,M)*h:0,(m=C||F?d(C,F)*h+l:0)&&(a*=Math.abs(Math.cos(m*g))),r.svg&&(n-=x-(x*M+b*C),i-=b-(x*k+b*F))):(V=w[6],N=w[7],W=w[8],B=w[9],I=w[10],D=w[11],n=w[12],i=w[13],s=w[14],p=(O=d(V,I))*h,O&&(E=S*(_=Math.cos(-O))+W*(P=Math.sin(-O)),A=z*_+B*P,X=V*_+I*P,W=S*-P+W*_,B=z*-P+B*_,I=V*-P+I*_,D=N*-P+D*_,S=E,z=A,V=X),u=(O=d(-C,I))*h,O&&(_=Math.cos(-O),D=F*(P=Math.sin(-O))+D*_,M=E=M*_-W*P,k=A=k*_-B*P,C=X=C*_-I*P),l=(O=d(k,M))*h,O&&(E=M*(_=Math.cos(O))+k*(P=Math.sin(O)),A=S*_+z*P,k=k*_-M*P,z=z*_-S*P,M=E,S=A),p&&Math.abs(p)+Math.abs(l)>359.9&&(p=l=0,u=180-u),o=(0,f.Pr)(Math.sqrt(M*M+k*k+C*C)),a=(0,f.Pr)(Math.sqrt(z*z+V*V)),O=d(S,z),m=Math.abs(O)>2e-4?O*h:0,v=D?1/(D<0?-D:D):0),r.svg&&(E=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!ot(R(t,Y)),E&&t.setAttribute("transform",E))),Math.abs(m)>90&&Math.abs(m)<270&&(Z?(o*=-1,m+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,m+=m<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+q,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+q,r.z=s+q,r.scaleX=(0,f.Pr)(o),r.scaleY=(0,f.Pr)(a),r.rotation=(0,f.Pr)(l)+L,r.rotationX=(0,f.Pr)(p)+L,r.rotationY=(0,f.Pr)(u)+L,r.skewX=m+L,r.skewY=y+L,r.transformPerspective=v+q,(r.zOrigin=parseFloat(H.split(" ")[2])||!e&&r.zOrigin||0)&&(j[T]=ft(H)),r.xOffset=r.yOffset=0,r.force3D=f.Fc.force3D,r.renderTransform=r.svg?vt:c?yt:ht,r.uncache=0,r},ft=function(t){return(t=t.split(" "))[0]+" "+t[1]},ut=function(t,e,r){var n=(0,f.Wy)(e);return(0,f.Pr)(parseFloat(e)+parseFloat(K(t,"x",r+"px",n)))+n},ht=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,yt(t,e)},gt="0deg",dt="0px",mt=") ",yt=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,a=r.z,l=r.rotation,p=r.rotationY,c=r.rotationX,f=r.skewX,u=r.skewY,h=r.scaleX,d=r.scaleY,m=r.transformPerspective,y=r.force3D,v=r.target,x=r.zOrigin,b="",w="auto"===y&&t&&1!==t||!0===y;if(x&&(c!==gt||p!==gt)){var O,_=parseFloat(p)*g,P=Math.sin(_),M=Math.cos(_);_=parseFloat(c)*g,O=Math.cos(_),s=ut(v,s,P*O*-x),o=ut(v,o,-Math.sin(_)*-x),a=ut(v,a,M*O*-x+x)}m!==dt&&(b+="perspective("+m+mt),(n||i)&&(b+="translate("+n+"%, "+i+"%) "),(w||s!==dt||o!==dt||a!==dt)&&(b+=a!==dt||w?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+mt),l!==gt&&(b+="rotate("+l+mt),p!==gt&&(b+="rotateY("+p+mt),c!==gt&&(b+="rotateX("+c+mt),f===gt&&u===gt||(b+="skew("+f+", "+u+mt),1===h&&1===d||(b+="scale("+h+", "+d+mt),v.style[Y]=b||"translate(0, 0)"},vt=function(t,e){var r,n,i,s,o,a=e||this,l=a.xPercent,p=a.yPercent,c=a.x,u=a.y,h=a.rotation,d=a.skewX,m=a.skewY,y=a.scaleX,v=a.scaleY,x=a.target,b=a.xOrigin,w=a.yOrigin,O=a.xOffset,_=a.yOffset,P=a.forceCSS,M=parseFloat(c),k=parseFloat(u);h=parseFloat(h),d=parseFloat(d),(m=parseFloat(m))&&(d+=m=parseFloat(m),h+=m),h||d?(h*=g,d*=g,r=Math.cos(h)*y,n=Math.sin(h)*y,i=Math.sin(h-d)*-v,s=Math.cos(h-d)*v,d&&(m*=g,o=Math.tan(d-m),i*=o=Math.sqrt(1+o*o),s*=o,m&&(o=Math.tan(m),r*=o=Math.sqrt(1+o*o),n*=o)),r=(0,f.Pr)(r),n=(0,f.Pr)(n),i=(0,f.Pr)(i),s=(0,f.Pr)(s)):(r=y,s=v,n=i=0),(M&&!~(c+"").indexOf("px")||k&&!~(u+"").indexOf("px"))&&(M=K(x,"x",c,"px"),k=K(x,"y",u,"px")),(b||w||O||_)&&(M=(0,f.Pr)(M+b-(b*r+w*i)+O),k=(0,f.Pr)(k+w-(b*n+w*s)+_)),(l||p)&&(o=x.getBBox(),M=(0,f.Pr)(M+l/100*o.width),k=(0,f.Pr)(k+p/100*o.height)),o="matrix("+r+","+n+","+i+","+s+","+M+","+k+")",x.setAttribute("transform",o),P&&(x.style[Y]=o)},xt=function(t,e,r,n,i){var s,o,a=360,l=(0,f.r9)(i),p=parseFloat(i)*(l&&~i.indexOf("rad")?h:1)-n,c=n+p+"deg";return l&&("short"===(s=i.split("_")[1])&&(p%=a)!==p%180&&(p+=p<0?a:-360),"cw"===s&&p<0?p=(p+36e9)%a-~~(p/a)*a:"ccw"===s&&p>0&&(p=(p-36e9)%a-~~(p/a)*a)),t._pt=o=new f.Fo(t._pt,e,r,n,p,w),o.e=c,o.u="deg",t._props.push(r),o},bt=function(t,e){for(var r in e)t[r]=e[r];return t},wt=function(t,e,r){var n,i,s,o,a,l,p,c=bt({},r._gsap),h=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),h[Y]=e,n=ct(r,1),$(r,Y),r.setAttribute("transform",s)):(s=getComputedStyle(r)[Y],h[Y]=e,n=ct(r,1),h[Y]=s),u)(s=c[i])!==(o=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=(0,f.Wy)(s)!==(p=(0,f.Wy)(o))?K(r,i,s,p):parseFloat(s),l=parseFloat(o),t._pt=new f.Fo(t._pt,n,i,a,l-a,b),t._pt.u=p||0,t._props.push(i));bt(n,c)};(0,f.fS)("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",s="Left",o=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map((function(r){return e<2?t+r:"border"+r+t}));nt[e>1?"border"+t:t]=function(t,e,r,n,i){var s,a;if(arguments.length<4)return s=o.map((function(e){return Q(t,e,r)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,i)}}));var Ot,_t,Pt,Mt={name:"css",register:j,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,a,l,p,c,h,g,d,m,y,w,M,k,C,F,S,z,E,A,X,W,B=this._props,N=t.style,D=r.vars.startAt;for(g in o||j(),this.styles=this.styles||I(t),S=this.styles.props,this.tween=r,e)if("autoRound"!==g&&(a=e[g],!f.$i[g]||!(0,f.if)(g,e,r,n,t,i)))if(c=typeof a,h=nt[g],"function"===c&&(c=typeof(a=a.call(r,n,t,i))),"string"===c&&~a.indexOf("random(")&&(a=(0,f.UI)(a)),h)h(this,t,g,a,r)&&(F=1);else if("--"===g.substr(0,2))s=(getComputedStyle(t).getPropertyValue(g)+"").trim(),a+="",f.GN.lastIndex=0,f.GN.test(s)||(d=(0,f.Wy)(s),(m=(0,f.Wy)(a))?d!==m&&(s=K(t,g,s,m)+m):d&&(a+=d)),this.add(N,"setProperty",s,a,n,i,0,0,g),B.push(g),S.push(g,0,N[g]);else if("undefined"!==c){if(D&&g in D?(s="function"==typeof D[g]?D[g].call(r,n,t,i):D[g],(0,f.r9)(s)&&~s.indexOf("random(")&&(s=(0,f.UI)(s)),(0,f.Wy)(s+"")||"auto"===s||(s+=f.Fc.units[g]||(0,f.Wy)(Q(t,g))||""),"="===(s+"").charAt(1)&&(s=Q(t,g))):s=Q(t,g),p=parseFloat(s),(y="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),l=parseFloat(a),g in x&&("autoAlpha"===g&&(1===p&&"hidden"===Q(t,"visibility")&&l&&(p=0),S.push("visibility",0,N.visibility),H(this,N,"visibility",p?"inherit":"hidden",l?"inherit":"hidden",!l)),"scale"!==g&&"transform"!==g&&~(g=x[g]).indexOf(",")&&(g=g.split(",")[0])),w=g in u){if(this.styles.save(g),z=a,"string"===c&&"var(--"===a.substring(0,6)){if("calc("===(a=R(t,a.substring(4,a.indexOf(")")))).substring(0,5)){var Z=t.style.perspective;t.style.perspective=a,a=R(t,"perspective"),Z?t.style.perspective=Z:$(t,"perspective")}l=parseFloat(a)}if(M||((k=t._gsap).renderTransform&&!e.parseTransform||ct(t,e.parseTransform),C=!1!==e.smoothOrigin&&k.smooth,(M=this._pt=new f.Fo(this._pt,N,Y,0,1,k.renderTransform,k,0,-1)).dep=1),"scale"===g)this._pt=new f.Fo(this._pt,k,"scaleY",k.scaleY,(y?(0,f.cy)(k.scaleY,y+l):l)-k.scaleY||0,b),this._pt.u=0,B.push("scaleY",g),g+="X";else{if("transformOrigin"===g){S.push(T,0,N[T]),A=void 0,X=void 0,W=void 0,A=(E=a).split(" "),X=A[0],W=A[1]||"50%","top"!==X&&"bottom"!==X&&"left"!==W&&"right"!==W||(E=X,X=W,W=E),A[0]=et[X]||X,A[1]=et[W]||W,a=A.join(" "),k.svg?pt(t,a,0,C,0,this):((m=parseFloat(a.split(" ")[2])||0)!==k.zOrigin&&H(this,k,"zOrigin",k.zOrigin,m),H(this,N,g,ft(s),ft(a)));continue}if("svgOrigin"===g){pt(t,a,1,C,0,this);continue}if(g in st){xt(this,k,g,p,y?(0,f.cy)(p,y+a):a);continue}if("smoothOrigin"===g){H(this,k,"smooth",k.smooth,a);continue}if("force3D"===g){k[g]=a;continue}if("transform"===g){wt(this,a,t);continue}}}else g in N||(g=V(g)||g);if(w||(l||0===l)&&(p||0===p)&&!v.test(a)&&g in N)l||(l=0),(d=(s+"").substr((p+"").length))!==(m=(0,f.Wy)(a)||(g in f.Fc.units?f.Fc.units[g]:d))&&(p=K(t,g,s,m)),this._pt=new f.Fo(this._pt,w?k:N,g,p,(y?(0,f.cy)(p,y+l):l)-p,w||"px"!==m&&"zIndex"!==g||!1===e.autoRound?b:P),this._pt.u=m||0,w&&z!==a?(this._pt.b=s,this._pt.e=z,this._pt.r=_):d!==m&&"%"!==m&&(this._pt.b=s,this._pt.r=O);else if(g in N)tt.call(this,t,g,s,y?y+a:a);else if(g in t)this.add(t,g,s||t[g],y?y+a:a,n,i);else if("parseTransform"!==g){(0,f.lC)(g,a);continue}w||(g in N?S.push(g,0,N[g]):"function"==typeof t[g]?S.push(g,2,t[g]()):S.push(g,1,s||t[g])),B.push(g)}F&&(0,f.JV)(this)},render:function(t,e){if(e.tween._time||!p())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Q,aliases:x,getSetter:function(t,e,r){var n=x[e];return n&&n.indexOf(",")<0&&(e=n),e in u&&e!==T&&(t._gsap.x||Q(t,"x"))?r&&l===r?"scale"===e?z:S:(l=r||{})&&("scale"===e?E:A):t.style&&!(0,f.m2)(t.style[e])?C:~e.indexOf("-")?F:(0,f.S5)(t,e)},core:{_removeProperty:$,_getMatrix:lt}};f.p8.utils.checkPrefix=V,f.p8.core.getStyleSaver=I,Ot="x,y,z,scale,scaleX,scaleY,xPercent,yPercent",_t="rotation,rotationX,rotationY,skewX,skewY",Pt=(0,f.fS)(Ot+","+_t+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){u[t]=1})),(0,f.fS)(_t,(function(t){f.Fc.units[t]="deg",st[t]=1})),x[Pt[13]]=Ot+","+_t,(0,f.fS)("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");x[e[1]]=Pt[e[0]]})),(0,f.fS)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){f.Fc.units[t]="px"})),f.p8.registerPlugin(Mt);var kt=f.p8.registerPlugin(Mt)||f.p8;kt.core.Tween},2432:function(t,e,r){var n=r(7294),i=r(2184);e.Z=function(t){var e=t.label,r=t.onClick;return n.createElement(i.O,{onClick:r},e)}},2184:function(t,e,r){r.d(e,{o:function(){return i},O:function(){return s}});var n=r(979),i=(0,n.css)(["font-family:",";font-size:15px;font-weight:500;margin:6px;border:none;cursor:pointer;transition:all 0.2s ease;"],(function(t){return t.theme.fonts.roboto})),s=n.default.button.withConfig({displayName:"styled__ButtonStyled",componentId:"sc-1rugd49-0"})(["",";color:rgba(200,204,212,0.9);background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);width:fit-content;border-radius:8px;padding:0.5rem 1.2rem;backdrop-filter:blur(4px);&:hover{background:rgba(0,255,106,0.08);border-color:rgba(0,255,106,0.25);color:#fff;transform:translateY(-1px);}&:active{transform:translateY(0);background:rgba(0,255,106,0.12);}"],i)},2003:function(t,e,r){r.d(e,{Z:function(){return u}});var n,i=r(7294),s=r(6968),o=r(1880),a=r(979),l=(0,a.keyframes)(["0%,100%{opacity:0.6;}50%{opacity:1;}"]),p=a.default.div.withConfig({displayName:"styled__ShapeCanvas",componentId:"sc-nrzb27-0"})(["position:relative;width:260px;height:260px;display:flex;align-items:center;justify-content:center;",""],(function(t){return t.theme.utils.media.phone(n||(n=(0,o.Z)(["\n width: 180px;\n height: 180px;\n "])))})),c=a.default.div.withConfig({displayName:"styled__ShapeLayer",componentId:"sc-nrzb27-1"})(["position:absolute;width:",";height:",";display:flex;align-items:center;justify-content:center;svg{width:100%;height:100%;}"],(function(t){return t.size}),(function(t){return t.size})),f=a.default.div.withConfig({displayName:"styled__InnerShape",componentId:"sc-nrzb27-2"})(["position:absolute;width:18%;height:18%;border-radius:50%;background:radial-gradient(circle,rgba(0,255,106,0.6) 0%,rgba(0,212,255,0.2) 60%,transparent 100%);box-shadow:0 0 30px rgba(0,255,106,0.3),0 0 60px rgba(0,255,106,0.1);animation:"," 3s ease-in-out infinite;"],l),u=function(t){var e=t.className,r=void 0===e?"":e,n=(0,i.useRef)(null),o=(0,i.useRef)(null),a=(0,i.useRef)(null),l=(0,i.useRef)(null),u=(0,i.useRef)(null);return(0,i.useEffect)((function(){var t=s.p8.context((function(){s.p8.to(o.current,{rotation:360,duration:20,repeat:-1,ease:"none"}),s.p8.to(a.current,{rotation:-360,duration:14,repeat:-1,ease:"none"}),s.p8.to(l.current,{rotation:360,duration:9,repeat:-1,ease:"none"}),s.p8.to(u.current,{scale:1.15,duration:2,repeat:-1,yoyo:!0,ease:"sine.inOut"}),s.p8.to(n.current,{y:-12,duration:3,repeat:-1,yoyo:!0,ease:"sine.inOut"})}),n);return function(){return t.revert()}}),[]),i.createElement(p,{ref:n,className:r},i.createElement(c,{ref:o,size:"100%"},i.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("polygon",{points:"60,10 140,10 190,60 190,140 140,190 60,190 10,140 10,60",stroke:"rgba(0,255,106,0.3)",strokeWidth:"1",fill:"none"}),i.createElement("polygon",{points:"70,20 130,20 180,70 180,130 130,180 70,180 20,130 20,70",stroke:"rgba(0,212,255,0.15)",strokeWidth:"0.5",fill:"none"}))),i.createElement(c,{ref:a,size:"72%"},i.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("rect",{x:"29",y:"29",width:"142",height:"142",rx:"4",transform:"rotate(45 100 100)",stroke:"rgba(0,255,106,0.25)",strokeWidth:"1",fill:"none"}),i.createElement("rect",{x:"40",y:"40",width:"120",height:"120",rx:"2",transform:"rotate(45 100 100)",stroke:"rgba(0,212,255,0.12)",strokeWidth:"0.5",fill:"none"}))),i.createElement(c,{ref:l,size:"50%"},i.createElement("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("polygon",{points:"100,20 180,170 20,170",stroke:"rgba(0,255,106,0.35)",strokeWidth:"1.5",fill:"none"}),i.createElement("polygon",{points:"100,45 160,155 40,155",stroke:"rgba(0,212,255,0.15)",strokeWidth:"0.5",fill:"none"}))),i.createElement(f,{ref:u}))}}}]);
//# sourceMappingURL=3c8de475e42b0903083037668847a1e27cea42d6-5a7837472da8a2411c8b.js.map