/*! For license information please see view.js.LICENSE.txt */ (()=>{"use strict";const t=window.React,e=window.ReactDOM,r="@media only screen and (max-width: 1024px)",n="@media only screen and (max-width: 640px)",i="linear-gradient(135deg, #0040E3, #18D4FD)",s=(t,e)=>{return null==(r=e)||""===r||Array.isArray(r)&&0===r.length||"object"==typeof r&&0===Object.keys(r).length||"string"==typeof r&&""===r.trim()||"number"==typeof r&&0===r?"":`${t}: ${e};`;var r},a=(t,e=!0,r=!0,n=!0)=>{const{type:a="solid",color:o="",gradient:u=i,image:l={},position:h="center center",attachment:c="",repeat:f="no-repeat",size:p="",overlayColor:d=""}=t||{};return"gradient"===a&&r?s("background",u):"image"===a&&n?`background: url(${l?.url});\n\t\t\t\t${s("background-color",d)}\n\t\t\t\t${s("background-position",h)}\n\t\t\t\t${s("background-size",p)}\n\t\t\t\t${s("background-repeat",f)}\n\t\t\t\t${s("background-attachment",c)}\n\t\t\t\t${s("background-repeat",f)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&s("background",o)},o=t=>{const{width:e="",style:r="solid",color:n="",side:i="all",radius:a=""}=t||{},o=t=>{const e=i?.toLowerCase();return e?.includes("all")||e?.includes(t)},u=`${e} ${r} ${n}`,l=`\n\t\t${e&&0!==parseInt(e)?["top","right","bottom","left"].map(t=>o(t)?`border-${t}: ${u};`:"").join(""):""}\n\t\t${s("border-radius",a)}\n\t`;return l},u=t=>{const{side:e=2,vertical:r="0px",horizontal:n="0px",top:i="0px",right:s="0px",bottom:a="0px",left:o="0px"}=t||{};return 2===e?`${r} ${n}`:`${i} ${s} ${a} ${o}`},l=(t,e,i=!0)=>{const{fontFamily:a="Default",fontCategory:o="sans-serif",fontVariant:u=400,fontWeight:l,isUploadFont:h=!0,fontSize:c={desktop:null,tablet:null,mobile:null},fontStyle:f,textTransform:p,textDecoration:d,lineHeight:m,letterSpace:_}=e||{},g=!i||!a||"Default"===a,y=c?.desktop||c,v=c?.tablet||y,x=c?.mobile||v,b=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some(t=>e.endsWith(t))?e:"number"==typeof t?`${e}px`:""},w=`\n\t\t${g?"":`font-family: '${a}', ${o};`}\n\t\t${s("font-weight",l)}\n\t\t${s("font-size",b(y))}\n\t\t${s("font-style",f)}\n\t\t${s("text-transform",p)}\n\t\t${s("text-decoration",d)}\n\t\t${s("line-height",m)}\n\t\t${s("letter-spacing",_)}\n\t`,T=u&&400!==u?"400i"===u?":ital@1":u?.includes("00i")?`: ital, wght@1, ${u?.replace("00i","00")} `:`: wght@${u} `:"",$=g?"":`https://fonts.googleapis.com/css2?family=${a?.split(" ").join("+")}${T.replace(/ /g,"")}&display=swap`;return{googleFontLink:!h||g?"":`@import url(${$});`,styles:`${t}{\n\t\t\t${w}\n\t\t}\n\t\t${r} {\n\t\t\t${t}{\n\t\t\t\t${s("font-size",b(v))}\n\t\t\t}\n\t\t}\n\t\t${n} {\n\t\t\t${t}{\n\t\t\t\t${s("font-size",b(x))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},h="ttbTextTyping",c=({attributes:e,id:i})=>{const{textAlign:c,background:f={},padding:p,prefixTypo:d,prefixColor:m,typingContentsTypo:_,suffixTypo:g,suffixColor:y,animatedSize:v={},color:x,terminalHeadingBg:b={},terminalHeadingTextColor:w="#ccc",terminalHeadTypo:T={},isCustomBG:$=!1,iconSize:k={},border:C={},align:E}=e,O=`#${i} .${h}`,M=`${O}.default`,D=`${O}.terminal`,S=`${D} .terminal-header`,A=`${S} .title`,F=`${O}.starFlower`,R=`${F} .starFlower-inline`,z=`${O}.neonGrid`,P=`${z} .neonGrid-icon`,L=`${z} .neonGrid-prefix`,N=`${z} .neonGrid-typing`,I=`${z} .neonGrid-suffix`,B=`${O}.auroraGlow`,q=`${B} .auroraGlow-icon`,G=`${B} .auroraGlow-prefix`,U=`${B} .auroraGlow-typing`,Y=`${B} .auroraGlow-suffix`,H=`${O}.cyberWave`,W=`${H} .cyberWave`,X=`${W} .cyberWave-icon`,j=`${W} .cyberWave-prefix`,V=`${W} .cyberWave-typing`,Q=`${W} .cyberWave-suffix`,Z=$?a(f):"background: repeating-linear-gradient(\n -45deg,\n #0a0a0f,\n #0a0a0f 20px,\n #141427 20px,\n #141427 40px\n )",J=$?a(f):"background: radial-gradient(circle at 20% 30%, rgba(0, 255, 200, 0.15), transparent 70%),\n\t\t\t\t\t\t\t\t\t\tradial-gradient(circle at 80% 70%, rgba(200, 0, 255, 0.15), transparent 70%),\n\t\t\t\t\t\t\t\t\t\t#0a0a0f !important";return(0,t.createElement)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t${l("",d)?.googleFontLink}\n\t\t${l("",_)?.googleFontLink}\n\t\t${l("",g)?.googleFontLink}\n\t\t${l(`${O} .prefixText`,d)?.styles}\n\t\t${l(`${O} .typingContents, ${O} .typed-cursor`,_)?.styles}\n\t\t${l(`${O} .suffixText`,g)?.styles}\n\t\t${l(`${A}`,T)?.styles}\n\t\t${l(`${R} .textAnimate`,_)?.styles}\n\t\t${l(`${L}`,d)?.styles}\n\t\t${l(`${N}`,_)?.styles}\n\t\t${l(`${I}`,g)?.styles}\n\t\t${l(`${G}`,d)?.styles}\n\t\t${l(`${U}`,_)?.styles}\n\t\t${l(`${Y}`,g)?.styles}\n\t\t${l(`${j}`,d)?.styles}\n\t\t${l(`${V}`,_)?.styles}\n\t\t${l(`${Q}`,g)?.styles}\n\n\n\t\t${H} {\n \t\t${Z};\n\t\t\t\ttext-align: ${c};\n \t\t}\n\t\t${H}::before{\n\t\t\t${t=>"#0000"==t?.color?void 0:"background: conic-gradient(from 0deg,\n\t\t#ff00ff,\n\t\t#00ffff,\n\t\t#00ff6a,\n\t\t#ffae00,\n\t\t#ff00ff)"}\n\t\t}\n\t\t${W}{\n\t\t\t${Z};\n\t\t\t}\n\t\t${M}{\n\t\t\t${a(f)};\n\t\t\t${s("width",v?.width.desktop)};\n\t\t\ttext-align: ${c};\n\t\t\tbox-sizing: border-box;\n\t\t\tdisplay: block;\n\t\t\t}\n\t\t${z}{\n\t\t\t${J};\n\t\t\t${s("width",v?.width.desktop)}\n\t\t\t${o(C)};\n\t\t\ttext-align: ${c};\n\t}\n\t\t\t\n\t${P} img {\n\t\t${s("width",k?.width.desktop)}\n\t\t}\n\n\t\t${O}{\n\t\t\t${s("padding",u(p))}\n\t\t\t${o(C)}\n\t\t}\n\t\t${O} .prefixText{\n\t\t\t${s("color",m)}\n\t\t\tmargin: 0;\n\t\t}\n\t\t${O} .suffixText{\n\t\t\t${s("color",y)}\n\t\t\tmargin: 0;\n\t\t}\n\t\t${D}{\n\t\t\t${a(f)}\n\t\t\t${s("padding",u(p))}\n\t\t\t${s("width",v?.width.desktop)}\n\t\t\t${o(C)}\n\t\t\ttext-align: ${c}\n\t\t}\n\t\t${S}{\n\t\t\t${a(b)}\n\t\t}\n\t\t${A}{\n\t\t\t${s("color",w)}\n\n\t\t}\n\t\t${F}{\n\t\t\t${s("color",x)};\n\t\t\t${a(f)};\n\t\t\t${s("padding",u(p))};\n\t\t\t${s("width",v?.width.desktop)};\n\t\t\t${s("height",v?.height.desktop)};\n\t\t\t${o(C)};\n\t\t\tjustify-content: ${c};\n\t\t}\n\t\t\n\t\t${L}{\n\t\t\t${s("color",m)}\n\t\t}\n\t\t${I}{\n\t\t\t${s("color",y)}\n\t\t}\n\t\t\n\t\t${B}{\n\t\t\t${a(f)}\n\t\t\t${s("width",v?.width.desktop)}\n\t\t\t${o(C)};\n\t\t\ttext-align: ${c};\n\t\t}\n\n\t\t${B}::before{\n\t\t\t${(t=>"#0000"==t?.color?"#0000":"background: repeating-linear-gradient(\n\t\t\t\t\t\t\t\t\t\t\t\t60deg,\n\t\t\t\t\t\t\t\t\t\t\t\trgba(0, 255, 200, 0.08) 0,\n\t\t\t\t\t\t\t\t\t\t\t\trgba(0, 255, 200, 0.08) 2px,\n\t\t\t\t\t\t\t\t\t\t\t\ttransparent 2px,\n\t\t\t\t\t\t\t\t\t\t\t\ttransparent 6px\n\t\t\t\t\t\t\t\t\t\t\t)")(f)}\n\t\t}\n\n\t\t${q} img{\n\t\t\t${s("width",k?.width.desktop)}\n\t\t}\n\t\t${G}{\n\t\t\t${s("color",m)}\n\t\t}\n\t\t${Y}{\n\t\t\t${s("color",y)}\n\t\t}\n\t\t${H}{\n\t\t\t${s("width",v?.width.desktop)}\n\t\t}\n\t\t${X} img{\n\t\t\t${s("width",k?.width.desktop)}\n\t\t}\n\t\t${j}{\n\t\t\t${s("color",m)}\n\t\t}\n\t\t${Q}{\n\t\t\t${s("color",y)}\n\t\t}\n\n\t\t${r}{\n\t\t\t${D}{\n\t\t\t\t${s("width",v?.width.tablet)}\n\t\t\t}\n\t\t\t${F}{\n\t\t\t\t${s("width",v?.width.tablet)}\n\t\t\t\t${s("height",v?.height.tablet)}\n }\n\t\t\t${P} img{\n\t\t\t\t${s("width",k?.width.tablet)}\n\t\t\t}\n\t\t\t${B}{\n\t\t\t\t${s("width",v?.width.tablet)}\n\t\t\t}\n\t\t\t${q} img{\n\t\t\t\t${s("width",k?.width.tablet)}\n\t\t\t}\n\t\t\t${H}{\n\t\t\t\t${s("width",v?.width.tablet)}\n\t\t\t}\n\t\t\t${X} img{\n\t\t\t\t${s("width",k?.width.tablet)}\n\t\t\t}\n\t\t}\n\n\t\t${n}{\n\t\t\t${D}{\n\t\t\t\t${s("width",v?.width.mobile)}\n\t\t\t}\n\t\t\t${F}{\n\t\t\t\t${s("width",v?.width.mobile)}\n\t\t\t\t${s("height",v?.height.mobile)}\n\t\t\t\t}\n\t\t\t${P} img{\n\t\t\t\t${s("width",k?.width.mobile)}\n\t\t\t}\n\t\t\t${B}{\n\t\t\t\t${s("width",v?.width.mobile)}\n\t\t\t}\n\t\t\t${q} img{\n\t\t\t\t${s("width",k?.width.mobile)}\n\t\t\t}\n\t\t\t${H}{\n\t\t\t\t${s("width",v?.width.mobile)}\n\t\t\t}\n\t\t\t${X} img{\n\t\t\t\t${s("width",k?.width.mobile)}\n\t\t\t}\n\t\t}\n\t\t`.replace(/\s+/g," ")}})},f=e=>{const{attributes:r}=e,{prefixText:n,typingContents:i,suffixText:s,typeSpeed:a,startDelay:o,backSpeed:u,backDelay:l,isShuffle:c,isFadeOut:f,fadeOutDelay:p,isLoop:d,loopCount:m,isCursor:_,cursorChar:g,themes:y={}}=r,{theme:v}=y,x=(0,t.useRef)(null),b=(0,t.useRef)(null);return(0,t.useEffect)(()=>{const t={strings:i.map(t=>t.text),stringsElement:null,typeSpeed:a,startDelay:o,backSpeed:u,backDelay:l,smartBackspace:!1,shuffle:c,fadeOut:f,fadeOutClass:"typed-fade-out",fadeOutDelay:p,loop:d,loopCount:0===m?1/0:m,showCursor:_,cursorChar:g,autoInsertCss:!1,attr:null,bindInputFocusEvents:!1,contentType:"html",preStringTyped:(t,e)=>{e&&i[e.sequence[t]]&&(e.el.style.color=i[e.sequence[t]].color||"#333",_&&(e.cursor.style.color=i[e.sequence[t]].color||"#333"))}};return b.current=new Typed(x.current,t),()=>b.current.destroy()},[x.current,i,a,o,u,l,c,f,p,d,m,_,g]),(0,t.createElement)("div",{className:`${h} ${v}`},(0,t.createElement)("span",{className:"prefixText",dangerouslySetInnerHTML:{__html:n+" "}}),(0,t.createElement)("span",{className:"typingContents",ref:x}),(0,t.createElement)("span",{className:"suffixText",dangerouslySetInnerHTML:{__html:s}}))};function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var m,_,g,y,v,x,b,w,T,$,k,C,E,O,M,D,S,A={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},F={duration:.5,overwrite:!1,delay:0},R=1e8,z=1e-8,P=2*Math.PI,L=P/4,N=0,I=Math.sqrt,B=Math.cos,q=Math.sin,G=function(t){return"string"==typeof t},U=function(t){return"function"==typeof t},Y=function(t){return"number"==typeof t},H=function(t){return void 0===t},W=function(t){return"object"==typeof t},X=function(t){return!1!==t},j=function(){return"undefined"!=typeof window},V=function(t){return U(t)||G(t)},Q="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Z=Array.isArray,J=/(?:-?\.?\d|\.)+/gi,K=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,tt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,et=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,rt=/[+-]=-?[.\d]+/,nt=/[^,'"\[\]\s]+/gi,it=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,st={},at={},ot=function(t){return(at=Lt(t,st))&&Lr},ut=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},lt=function(t,e){return!e&&console.warn(t)},ht=function(t,e){return t&&(st[t]=e)&&at&&(at[t]=e)||st},ct=function(){return 0},ft={suppressEvents:!0,isStart:!0,kill:!1},pt={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},mt={},_t=[],gt={},yt={},vt={},xt=30,bt=[],wt="",Tt=function(t){var e,r,n=t[0];if(W(n)||U(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=bt.length;r--&&!bt[r].targetTest(n););e=bt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Ze(t[r],e)))||t.splice(r,1);return t},$t=function(t){return t._gsap||Tt(de(t))[0]._gsap},kt=function(t,e,r){return(r=t[e])&&U(r)?t[e]():H(r)&&t.getAttribute&&t.getAttribute(e)||r},Ct=function(t,e){return(t=t.split(",")).forEach(e)||t},Et=function(t){return Math.round(1e5*t)/1e5||0},Ot=function(t){return Math.round(1e7*t)/1e7||0},Mt=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},Dt=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++ns;)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[n]=e,e._prev=a,e.parent=e._dp=t,e},Gt=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,s=e._next;i?i._next=s:t[r]===e&&(t[r]=s),s?s._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},Ut=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Yt=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},Ht=function(t,e,r,n){return t._startAt&&(_?t._startAt.revert(pt):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Wt=function t(e){return!e||e._ts&&t(e.parent)},Xt=function(t){return t._repeat?jt(t._tTime,t=t.duration()+t._rDelay)*t:0},jt=function(t,e){var r=Math.floor(t=Ot(t/e));return t&&r===t?r-1:r},Vt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Qt=function(t){return t._end=Ot(t._start+(t._tDur/Math.abs(t._ts||t._rts||z)||0))},Zt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=Ot(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Qt(t),r._dirty||Yt(r,t)),t},Jt=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._startz)&&e.render(r,!0)),Yt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},Kt=function(t,e,r,n){return e.parent&&Ut(e),e._start=Ot((Y(r)?r:r||t!==y?oe(t,r,e):t._time)+e._delay),e._end=Ot(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),qt(t,e,"_first","_last",t._sort?"_start":0),ne(e)||(t._recent=e),n||Jt(t,e),t._ts<0&&Zt(t,t._tTime),t},te=function(t,e){return(st.ScrollTrigger||ut("scrollTrigger",e))&&st.ScrollTrigger.create(e,t)},ee=function(t,e,r,n,i){return sr(t,e,i),t._initted?!r&&t._pt&&!_&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&T!==Ne.frame?(_t.push(t),t._lazy=[i,n],1):void 0:1},re=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},ne=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},ie=function(t,e,r,n){var i=t._repeat,s=Ot(e)||0,a=t._tTime/t._tDur;return a&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:Ot(s*(i+1)+t._rDelay*i):s,a>0&&!n&&Zt(t,t._tTime=t._tDur*a),t.parent&&Qt(t),r||Yt(t.parent,t),t},se=function(t){return t instanceof Ke?Yt(t):ie(t,t._dur)},ae={_start:0,endTime:ct,totalDuration:ct},oe=function t(e,r,n){var i,s,a,o=e.labels,u=e._recent||ae,l=e.duration()>=R?u.endTime(!1):e._dur;return G(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s?(i>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(i<0?u:n).totalDuration()/100:1)):i<0?(r in o||(o[r]=l),o[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),a&&n&&(s=s/100*(Z(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:l+s)):null==r?l:+r},ue=function(t,e,r){var n,i,s=Y(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(n=o,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=X(i.vars.inherit)&&i.parent;o.immediateRender=X(n.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new hr(e[0],o,e[a+1])},le=function(t,e){return t||0===t?e(t):e},he=function(t,e,r){return re?e:r},ce=function(t,e){return G(t)&&(e=it.exec(t))?e[1]:""},fe=[].slice,pe=function(t,e){return t&&W(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&W(t[0]))&&!t.nodeType&&t!==v},de=function(t,e,r){return g&&!e&&g.selector?g.selector(t):!G(t)||r||!x&&Ie()?Z(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach(function(t){var n;return G(t)&&!e||pe(t,1)?(n=r).push.apply(n,de(t)):r.push(t)})||r}(t,r):pe(t)?fe.call(t,0):t?[t]:[]:fe.call((e||b).querySelectorAll(t),0)},me=function(t){return t=de(t)[0]||lt("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return de(e,r.querySelectorAll?r:r===t?lt("Invalid scope")||b.createElement("div"):t)}},_e=function(t){return t.sort(function(){return.5-Math.random()})},ge=function(t){if(U(t))return t;var e=W(t)?t:{each:t},r=We(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},a=n>0&&n<1,o=isNaN(n)||a,u=e.axis,l=n,h=n;return G(n)?l=h={center:.5,edges:.5,end:1}[n]||0:!a&&o&&(l=n[0],h=n[1]),function(t,a,c){var f,p,d,m,_,g,y,v,x,b=(c||e).length,w=s[b];if(!w){if(!(x="auto"===e.grid?0:(e.grid||[1,R])[1])){for(y=-R;y<(y=c[x++].getBoundingClientRect().left)&&xy&&(y=_),_b?b-1:u?"y"===u?b/x:x:Math.max(x,b/x))||0)*("edges"===n?-1:1),w.b=b<0?i-b:i,w.u=ce(e.amount||e.each)||0,r=r&&b<0?Ye(r):r}return b=(w[t]-w.min)/w.max||0,Ot(w.b+(r?r(b):b)*w.v)+w.u}},ye=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=Ot(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(Y(r)?0:ce(r))}},ve=function(t,e){var r,n,i=Z(t);return!i&&W(t)&&(r=i=t.radius||R,t.values?(t=de(t.values),(n=!Y(t[0]))&&(r*=r)):t=ye(t.increment)),le(e,i?U(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,s,a=parseFloat(n?e.x:e),o=parseFloat(n?e.y:0),u=R,l=0,h=t.length;h--;)(i=n?(i=t[h].x-a)*i+(s=t[h].y-o)*s:Math.abs(t[h]-a))(i=Math.abs(i))&&(s=n,o=i);return s},ke=function(t,e,r){var n,i,s,a=t.vars,o=a[e],u=g,l=t._ctx;if(o)return n=a[e+"Params"],i=a.callbackScope||t,r&&_t.length&&St(),l&&(g=l),s=n?o.apply(i,n):o.call(i),g=u,s},Ce=function(t){return Ut(t),t.scrollTrigger&&t.scrollTrigger.kill(!!_),t.progress()<1&&ke(t,"onInterrupt"),t},Ee=[],Oe=function(t){if(t)if(t=!t.name&&t.default||t,j()||t.headless){var e=t.name,r=U(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:ct,render:vr,add:nr,kill:br,modifier:xr,rawVars:0},s={targetTest:0,get:0,getSetter:mr,aliases:{},register:0};if(Ie(),t!==n){if(yt[e])return;Pt(n,Pt(It(t,i),s)),Lt(n.prototype,Lt(i,It(t,s))),yt[n.prop=e]=n,t.targetTest&&(bt.push(n),mt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ht(e,n),t.register&&t.register(Lr,n,$r)}else Ee.push(t)},Me=255,De={aqua:[0,Me,Me],lime:[0,Me,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Me],navy:[0,0,128],white:[Me,Me,Me],olive:[128,128,0],yellow:[Me,Me,0],orange:[Me,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Me,0,0],pink:[Me,192,203],cyan:[0,Me,Me],transparent:[Me,Me,Me,0]},Se=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)*Me+.5|0},Ae=function(t,e,r){var n,i,s,a,o,u,l,h,c,f,p=t?Y(t)?[t>>16,t>>8&Me,t&Me]:0:De.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),De[t])p=De[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+n+n+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&Me,p&Me,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&Me,t&Me]}else if("hsl"===t.substr(0,3))if(p=f=t.match(J),e){if(~t.indexOf("="))return p=t.match(K),r&&p.length<4&&(p[3]=1),p}else a=+p[0]%360/360,o=+p[1]/100,n=2*(u=+p[2]/100)-(i=u<=.5?u*(o+1):u+o-u*o),p.length>3&&(p[3]*=1),p[0]=Se(a+1/3,n,i),p[1]=Se(a,n,i),p[2]=Se(a-1/3,n,i);else p=t.match(J)||De.transparent;p=p.map(Number)}return e&&!f&&(n=p[0]/Me,i=p[1]/Me,s=p[2]/Me,u=((l=Math.max(n,i,s))+(h=Math.min(n,i,s)))/2,l===h?a=o=0:(c=l-h,o=u>.5?c/(2-l-h):c/(l+h),a=l===n?(i-s)/c+(io||v<0)&&(l+=v-u),((m=(g=(h+=v)-l)-f)>0||x)&&(y=++n.frame,i=g-1e3*n.time,n.time=g/=1e3,f+=m+(m>=c?4:c-m),_=1),x||(t=e(r)),_)for(s=0;s=e&&s--},_listeners:p}}(),Ie=function(){return!k&&Ne.wake()},Be={},qe=/^[\d.\-M][\d.\-,\s]/,Ge=/["']/g,Ue=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o1&&a.config?a.config.apply(null,~t.indexOf("{")?[Ue(s[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),a=s/P*(Math.asin(1/i)||0),o=function(t){return 1===t?1:i*Math.pow(2,-10*t)*q((t-a)*s)+1},u="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:je(o);return s=P/s,u.config=function(r,n){return t(e,r,n)},u},Qe=function t(e,r){void 0===r&&(r=1.70158);var n=function(t){return t?--t*t*((r+1)*t+r)+1:0},i="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:je(n);return i.config=function(r){return t(e,r)},i};Ct("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Xe(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(2*(1-t),r)/2})}),Be.Linear.easeNone=Be.none=Be.Linear.easeIn,Xe("Elastic",Ve("in"),Ve("out"),Ve()),C=7.5625,M=2*(O=1/(E=2.75)),D=2.5*O,Xe("Bounce",function(t){return 1-S(1-t)},S=function(t){return t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,ie(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ie(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Zt(this,t),!r._dp||r.parent||Jt(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&&t0||!this._tDur&&!t)&&Kt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===z||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Ft(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Xt(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&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Xt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1: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?jt(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?Vt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(he(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Qt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(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):(Ie(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==z&&(this._tTime-=z)))),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)&&Kt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(X(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&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Vt(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=dt);var e=_;return _=t,At(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),_=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,se(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,se(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(oe(this,t),X(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,X(e)),this._dur||(this._zTime=-1e-8),this},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},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&&t1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this;return new Promise(function(r){var n=U(t)?t:zt,i=function(){var t=e.then;e.then=null,U(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i})},e.kill=function(){Ce(this)},t}();Pt(Je.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 Ke=function(t){function e(e,r){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=X(e.sortChildren),y&&Kt(e.parent||y,p(n),r),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&te(p(n),e.scrollTrigger),n}d(e,t);var r=e.prototype;return r.to=function(t,e,r){return ue(0,arguments,this),this},r.from=function(t,e,r){return ue(1,arguments,this),this},r.fromTo=function(t,e,r,n){return ue(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,Bt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new hr(t,e,oe(this,r),1),this},r.call=function(t,e,r){return Kt(this,hr.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,n,i,s,a){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new hr(t,r,oe(this,i)),this},r.staggerFrom=function(t,e,r,n,i,s,a){return r.runBackwards=1,Bt(r).immediateRender=X(r.immediateRender),this.staggerTo(t,e,r,n,i,s,a)},r.staggerFromTo=function(t,e,r,n,i,s,a,o){return n.startAt=r,Bt(n).immediateRender=X(n.immediateRender),this.staggerTo(t,e,n,i,s,a,o)},r.render=function(t,e,r){var n,i,s,a,o,u,l,h,c,f,p,d,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,x=t<=0?0:Ot(t),b=this._zTime<0!=t<0&&(this._initted||!v);if(this!==y&&x>g&&t>=0&&(x=g),x!==this._tTime||r||b){if(m!==this._time&&v&&(x+=this._time-m,t+=this._time-m),n=x,c=this._start,u=!(h=this._ts),b&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,o=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(n=Ot(x%o),x===g?(a=this._repeat,n=v):((a=~~(f=Ot(x/o)))&&a===f&&(n=v,a--),n>v&&(n=v)),f=jt(this._tTime,o),!m&&this._tTime&&f!==a&&this._tTime-f*o-this._dur<=0&&(f=a),p&&1&a&&(n=v-n,d=1),a!==f&&!this._lock){var w=p&&1&f,T=w===(p&&1&a);if(ae)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start=m&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||n>=i._start)&&i._ts&&l!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,e,r),n!==this._time||!this._ts&&!u){l=0,s&&(x+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var $=t<0?t:n;i;){if(s=i._prev,(i._act||$<=i._end)&&i._ts&&l!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?($-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+($-i._start)*i._ts,e,r||_&&At(i)),n!==this._time||!this._ts&&!u){l=0,s&&(x+=this._zTime=$?-1e-8:z);break}}i=s}}if(l&&!e&&(this.pause(),l.render(n>=m?0:-1e-8)._zTime=n>=m?1:-1,this._ts))return this._start=c,Qt(this),this.render(t,e,r);this._onUpdate&&!e&&ke(this,"onUpdate",!0),(x===g&&this._tTime>=this.totalDuration()||!x&&m)&&(c!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!v)&&(x===g&&this._ts>0||!x&&this._ts<0)&&Ut(this,1),e||t<0&&!m||!x&&!m&&g||(ke(this,x===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(Y(e)||(e=oe(this,e,t)),!(t instanceof Je)){if(Z(t))return t.forEach(function(t){return r.add(t,e)}),this;if(G(t))return this.addLabel(t,e);if(!U(t))return this;t=hr.delayedCall(0,t)}return this!==t?Kt(this,t,e):this},r.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-R);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof hr?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},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 G(t)?this.removeLabel(t):U(t)?this.killTweensOf(t):(t.parent===this&&Gt(this,t),t===this._recent&&(this._recent=this._last),Yt(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ot(Ne.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]=oe(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var n=hr.delayedCall(0,e||ct,r);return n.data="isPause",this._hasPause=1,Kt(this,n,oe(this,t))},r.removePause=function(t){var e=this._first;for(t=oe(this,t);e;)e._start===t&&"isPause"===e.data&&Ut(e),e=e._next},r.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)tr!==n[i]&&n[i].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,n=[],i=de(t),s=this._first,a=Y(e);s;)s instanceof hr?Dt(s._targets,i)&&(a?(!tr||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(r=s.getTweensOf(i,e)).length&&n.push.apply(n,r),s=s._next;return n},r.tweenTo=function(t,e){e=e||{};var r,n=this,i=oe(n,t),s=e,a=s.startAt,o=s.onStart,u=s.onStartParams,l=s.immediateRender,h=hr.to(n,Pt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale())||z,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale());h._dur!==t&&ie(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,Pt({startAt:{time:oe(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),$e(this,oe(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),$e(this,oe(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+z)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,s=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return Yt(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={}),Yt(this)},r.totalDuration=function(t){var e,r,n,i=0,s=this,a=s._last,o=R;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,Kt(s,a,r-a._delay,1)._lock=0):o=r,r<0&&a._ts&&(i-=r,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-Infinity),o=0),a._end>i&&a._ts&&(i=a._end),a=e;ie(s,s===y&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(y._ts&&(Ft(y,Vt(t,y)),T=Ne.frame),Ne.frame>=xt){xt+=A.autoSleep||120;var e=y._first;if((!e||!e._ts)&&A.autoSleep&&Ne._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Ne.sleep()}}},e}(Je);Pt(Ke.prototype,{_lock:0,_hasPause:0,_forcing:0});var tr,er,rr=function(t,e,r,n,i,s,a){var o,u,l,h,c,f,p,d,m=new $r(this._pt,t,e,0,1,yr,null,i),_=0,g=0;for(m.b=r,m.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=we(n)),s&&(s(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(et)||[];o=et.exec(n);)h=o[0],c=n.substring(_,o.index),l?l=(l+1)%5:"rgba("===c.substr(-5)&&(l=1),h!==u[g++]&&(f=parseFloat(u[g-1])||0,m._pt={_next:m._pt,p:c||1===g?c:",",s:f,c:"="===h.charAt(1)?Mt(f,h)-f:parseFloat(h)-f,m:l&&l<4?Math.round:0},_=et.lastIndex);return m.c=_")}),a.duration();else{for(h in u={},T)"ease"===h||"easeEach"===h||ar(h,T[h],u,T.easeEach);for(h in u)for(M=u[h].sort(function(t,e){return t.t-e.t}),F=0,o=0;op-z&&!m?p:td&&(n=d),(u=this._yoyo&&1&s)&&(c=this._yEase,n=d-n),o=jt(this._tTime,a),n===f&&!r&&this._initted&&s===o)return this._tTime=g,this;s!==o&&(h&&this._yEase&&He(h,u),this.vars.repeatRefresh&&!u&&!this._lock&&n!==a&&this._initted&&(this._lock=r=1,this.render(Ot(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(ee(this,m?t:n,r,e,g))return this._tTime=0,this;if(!(f===this._time||r&&this.vars.repeatRefresh&&s!==o))return this;if(d!==this._dur)return this.render(t,e,r)}if(this._tTime=g,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=l=(c||this._ease)(n/d),this._from&&(this.ratio=l=1-l),!f&&g&&!e&&!o&&(ke(this,"onStart"),this._tTime!==g))return this;for(i=this._pt;i;)i.r(l,i.d),i=i._next;h&&h.render(t<0?t:h._dur*h._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Ht(this,t,0,r),ke(this,"onUpdate")),this._repeat&&s!==o&&this.vars.onRepeat&&!e&&this.parent&&ke(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(m&&!this._onUpdate&&Ht(this,t,0,!0),(t||!d)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&Ut(this,1),e||m&&!f||!(g||f||u)||(ke(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g0)&&this._prom()))}}else!function(t,e,r,n){var i,s,a,o=t.ratio,u=e<0||!e&&(!t._start&&re(t)&&(t._initted||!ne(t))||(t._ts<0||t._dp._ts<0)&&!ne(t))?0:1,l=t._rDelay,h=0;if(l&&t._repeat&&(h=he(0,t._tDur,e),s=jt(h,l),t._yoyo&&1&s&&(u=1-u),s!==jt(t._tTime,l)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||_||n||t._zTime===z||!e&&t._zTime){if(!t._initted&&ee(t,e,n,r,h))return;for(a=t._zTime,t._zTime=e||(r?z:0),r||(r=e&&!a),t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=h,i=t._pt;i;)i.r(u,i.d),i=i._next;e<0&&Ht(t,e,0,!0),t._onUpdate&&!r&&ke(t,"onUpdate"),h&&t._repeat&&!r&&t.parent&&ke(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ut(t,1),r||_||(ke(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(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,n,i){k||Ne.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||sr(this,s),function(t,e,r,n,i,s,a,o){var u,l,h,c,f=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!f)for(f=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 er=1,t.vars[e]="+=0",sr(t,a),er=0,o?lt(e+" not eligible for reset"):1;f.push(u)}for(c=f.length;c--;)(u=(l=f[c])._pt||l).s=!n&&0!==n||i?u.s+(n||0)+s*u.c:n,u.c=r-u.s,l.e&&(l.e=Et(r)+ce(l.e)),l.b&&(l.b=u.s+ce(l.b))}(this,t,e,r,n,this._ease(s/this._dur),s,i)?this.resetTo(t,e,r,n,1):(Zt(this,0),this.parent||qt(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?Ce(this):this.scrollTrigger&&this.scrollTrigger.kill(!!_),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,tr&&!0!==tr.vars.overwrite)._first||Ce(this),this.parent&&r!==this.timeline.totalDuration()&&ie(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,s,a,o,u,l,h=this._targets,c=t?de(t):h,f=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(h,c))return"all"===e&&(this._pt=0),Ce(this);for(n=this._op=this._op||[],"all"!==e&&(G(e)&&(o={},Ct(e,function(t){return o[t]=1}),e=o),e=function(t,e){var r,n,i,s,a=t[0]?$t(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(n in r=Lt({},e),o)if(n in r)for(i=(s=o[n].split(",")).length;i--;)r[s[i]]=r[n];return r}(h,e)),l=h.length;l--;)if(~c.indexOf(h[l]))for(o in i=f[l],"all"===e?(n[l]=e,a=i,s={}):(s=n[l]=n[l]||{},a=e),a)(u=i&&i[o])&&("kill"in u.d&&!0!==u.d.kill(o)||Gt(this,u,"_pt"),delete i[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&p&&Ce(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return ue(1,arguments)},e.delayedCall=function(t,r,n,i){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},e.fromTo=function(t,e,r){return ue(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 y.killTweensOf(t,e,r)},e}(Je);Pt(hr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ct("staggerTo,staggerFrom,staggerFromTo",function(t){hr[t]=function(){var e=new Ke,r=fe.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}});var cr=function(t,e,r){return t[e]=r},fr=function(t,e,r){return t[e](r)},pr=function(t,e,r,n){return t[e](n.fp,r)},dr=function(t,e,r){return t.setAttribute(e,r)},mr=function(t,e){return U(t[e])?fr:H(t[e])&&t.setAttribute?dr:cr},_r=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},gr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},yr=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},vr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},xr=function(t,e,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(t,e,r),s=i},br=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Gt(this,n,"_pt"):n.dep||(e=1),n=r;return!e},wr=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},Tr=function(t){for(var e,r,n,i,s=t._pt;s;){for(e=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=e}t._pt=n},$r=function(){function t(t,e,r,n,i,s,a,o,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||_r,this.d=a||this,this.set=o||cr,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=wr,this.m=t,this.mt=r,this.tween=e},t}();Ct(wt+"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 mt[t]=1}),st.TweenMax=st.TweenLite=hr,st.TimelineLite=st.TimelineMax=Ke,y=new Ke({sortChildren:!1,defaults:F,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),A.stringFilter=Le;var kr=[],Cr={},Er=[],Or=0,Mr=0,Dr=function(t){return(Cr[t]||Er).map(function(t){return t()})},Sr=function(){var t=Date.now(),e=[];t-Or>2&&(Dr("matchMediaInit"),kr.forEach(function(t){var r,n,i,s,a=t.queries,o=t.conditions;for(n in a)(r=v.matchMedia(a[n]).matches)&&(i=1),r!==o[n]&&(o[n]=r,s=1);s&&(t.revert(),i&&e.push(t))}),Dr("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),Or=t,Dr("matchMedia"))},Ar=function(){function t(t,e){this.selector=e&&me(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Mr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){U(t)&&(r=e,e=t,t=U);var n=this,i=function(){var t,i=g,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=me(r)),g=n,t=e.apply(n,arguments),U(t)&&n._r.push(t),g=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===U?i(n,function(t){return n.add(null,t)}):t?n[t]=i:i},e.ignore=function(t){var e=g;g=null,t(this),g=e},e.getTweens=function(){var e=[];return this.data.forEach(function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof hr&&!(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?function(){for(var e,n=r.getTweens(),i=r.data.length;i--;)"isFlip"===(e=r.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach(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}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),i=r.data.length;i--;)(e=r.data[i])instanceof Ke?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof hr)&&e.revert&&e.revert(t);r._r.forEach(function(e){return e(t,r)}),r.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),e)for(var n=kr.length;n--;)kr[n].id===this.id&&kr.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),Fr=function(){function t(t){this.contexts=[],this.scope=t,g&&g.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){W(t)||(t={matches:t});var n,i,s,a=new Ar(0,r||this.scope),o=a.conditions={};for(i in g&&!a.selector&&(a.selector=g.selector),this.contexts.push(a),e=a.add("onMatch",e),a.queries=t,t)"all"===i?s=1:(n=v.matchMedia(t[i]))&&(kr.indexOf(a)<0&&kr.push(a),(o[i]=n.matches)&&(s=1),n.addListener?n.addListener(Sr):n.addEventListener("change",Sr));return s&&e(a,function(t){return a.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),Rr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var n=t.map(function(t){return Lr.quickSetter(t,e,r)}),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=yt[e],a=$t(t),o=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(e){var n=new s;$._pt=0,n.init(t,r?e+r:e,$,0,[t]),n.render(1,n),$._pt&&vr(1,$)}: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 n,i=Lr.to(t,Pt(((n={})[e]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return y.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=We(t.ease,F.ease)),Nt(F,t||{})},config:function(t){return Nt(A,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(t){return t&&!yt[t]&&!st[t]&<(e+" effect requires "+t+" plugin.")}),vt[e]=function(t,e,n){return r(de(t),Pt(e||{},i),n)},s&&(Ke.prototype[e]=function(t,r,n){return this.add(vt[e](t,W(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Be[t]=We(e)},parseEase:function(t,e){return arguments.length?We(t,e):Be},getById:function(t){return y.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new Ke(t);for(i.smoothChildTiming=X(t.smoothChildTiming),y.remove(i),i._dp=0,i._time=i._tTime=y._time,r=y._first;r;)n=r._next,!e&&!r._dur&&r instanceof hr&&r.vars.onComplete===r._targets[0]||Kt(i,r,r._start-r._delay),r=n;return Kt(y,i,0),i},context:function(t,e){return t?new Ar(t,e):g},matchMedia:function(t){return new Fr(t)},matchMediaRefresh:function(){return kr.forEach(function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()})||Sr()},addEventListener:function(t,e){var r=Cr[t]||(Cr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Cr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return Z(e)?be(e,t(0,e.length),r):le(n,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return Z(e)?be(e,t(0,e.length-1),r):le(n,function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)})},distribute:ge,random:xe,snap:ve,normalize:function(t,e,r){return Te(t,e,0,1,r)},getUnit:ce,clamp:function(t,e,r){return le(r,function(r){return he(t,e,r)})},splitColor:Ae,toArray:de,selector:me,mapRange:Te,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(dn,r,"")),e=pn}(s||r)&&this.props.push(e,r,s[e])},_n=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},gn=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t=0?bn[i]:"")+t},Tn=function(){"undefined"!=typeof window&&window.document&&(Nr=window,Ir=Nr.document,Br=Ir.documentElement,Gr=vn("div")||{style:{}},vn("div"),pn=wn(pn),dn=pn+"Origin",Gr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Hr=!!wn("perspective"),Yr=Lr.core.reverting,qr=1)},$n=function(t){var e,r=t.ownerSVGElement,n=vn("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),Br.appendChild(n);try{e=i.getBBox()}catch(t){}return n.removeChild(i),Br.removeChild(n),e},kn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Cn=function(t){var e,r;try{e=t.getBBox()}catch(n){e=$n(t),r=1}return e&&(e.width||e.height)||r||(e=$n(t)),!e||e.width||e.x||e.y?e:{x:+kn(t,["x","cx","x1"])||0,y:+kn(t,["y","cy","y1"])||0,width:0,height:0}},En=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Cn(t))},On=function(t,e){if(e){var r,n=t.style;e in Wr&&e!==dn&&(e=pn),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(Qr,"-$1").toLowerCase())):n.removeAttribute(e)}},Mn=function(t,e,r,n,i,s){var a=new $r(t._pt,e,r,0,1,s?an:sn);return t._pt=a,a.b=n,a.e=i,t._props.push(r),a},Dn={deg:1,rad:1,turn:1},Sn={grid:1,flex:1},An=function t(e,r,n,i){var s,a,o,u,l=parseFloat(n)||0,h=(n+"").trim().substr((l+"").length)||"px",c=Gr.style,f=Zr.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(f?"Width":"Height"),m=100,_="px"===i,g="%"===i;if(i===h||!l||Dn[i]||Dn[h])return l;if("px"!==h&&!_&&(l=t(e,r,n,"px")),u=e.getCTM&&En(e),(g||"%"===h)&&(Wr[r]||~r.indexOf("adius")))return s=u?e.getBBox()[f?"width":"height"]:e[d],Et(g?l/s*m:l/100*s);if(c[f?"width":"height"]=m+(_?h:i),a="rem"!==i&&~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==Ir&&a.appendChild||(a=Ir.body),(o=a._gsap)&&g&&o.width&&f&&o.time===Ne.time&&!o.uncache)return Et(l/o.width*m);if(!g||"height"!==r&&"width"!==r)(g||"%"===h)&&!Sn[xn(a,"display")]&&(c.position=xn(e,"position")),a===e&&(c.position="static"),a.appendChild(Gr),s=Gr[d],a.removeChild(Gr),c.position="absolute";else{var y=e.style[r];e.style[r]=m+i,s=e[d],y?e.style[r]=y:On(e,r)}return f&&g&&((o=$t(a)).time=Ne.time,o.width=a[d]),Et(_?s*l/m:s&&l?m/s*l:0)},Fn=function(t,e,r,n){var i;return qr||Tn(),e in Kr&&"transform"!==e&&~(e=Kr[e]).indexOf(",")&&(e=e.split(",")[0]),Wr[e]&&"transform"!==e?(i=Hn(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Wn(xn(t,dn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=Nn[e]&&Nn[e](t,e,r)||xn(t,e)||kt(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?An(t,e,i,r)+r:i},Rn=function(t,e,r,n){if(!r||"none"===r){var i=wn(e,t,1),s=i&&xn(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=xn(t,"borderTopColor"))}var a,o,u,l,h,c,f,p,d,m,_,g=new $r(this._pt,t.style,e,0,1,yr),y=0,v=0;if(g.b=r,g.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=xn(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(c=t.style[e],t.style[e]=n,n=xn(t,e)||n,c?t.style[e]=c:On(t,e)),Le(a=[r,n]),n=a[1],u=(r=a[0]).match(tt)||[],(n.match(tt)||[]).length){for(;o=tt.exec(n);)f=o[0],d=n.substring(y,o.index),h?h=(h+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(h=1),f!==(c=u[v++]||"")&&(l=parseFloat(c)||0,_=c.substr((l+"").length),"="===f.charAt(1)&&(f=Mt(l,f)+_),p=parseFloat(f),m=f.substr((p+"").length),y=tt.lastIndex-m.length,m||(m=m||A.units[e]||_,y===n.length&&(n+=m,g.e+=m)),_!==m&&(l=An(t,e,c,m)||0),g._pt={_next:g._pt,p:d||1===v?d:",",s:l,c:p-l,m:h&&h<4||"zIndex"===e?Math.round:0});g.c=y-1;)r=o[i],Wr[r]&&(n=1,r="transformOrigin"===r?dn:pn),On(s,r);n&&(On(s,pn),u&&(u.svg&&s.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",Hn(s,1),u.uncache=1,_n(a)))}},Nn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new $r(t._pt,e,r,0,0,Ln);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},In=[1,0,0,1,0,0],Bn={},qn=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Gn=function(t){var e=xn(t,pn);return qn(e)?In:e.substr(7).match(K).map(Et)},Un=function(t,e){var r,n,i,s,a=t._gsap||$t(t),o=t.style,u=Gn(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?In:u:(u!==In||t.offsetParent||t===Br||a.svg||(i=o.display,o.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,Br.appendChild(t)),u=Gn(t),i?o.display=i:On(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):Br.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Yn=function(t,e,r,n,i,s){var a,o,u,l=t._gsap,h=i||Un(t,!0),c=l.xOrigin||0,f=l.yOrigin||0,p=l.xOffset||0,d=l.yOffset||0,m=h[0],_=h[1],g=h[2],y=h[3],v=h[4],x=h[5],b=e.split(" "),w=parseFloat(b[0])||0,T=parseFloat(b[1])||0;r?h!==In&&(o=m*y-_*g)&&(u=w*(-_/o)+T*(m/o)-(m*x-_*v)/o,w=w*(y/o)+T*(-g/o)+(g*x-y*v)/o,T=u):(w=(a=Cn(t)).x+(~b[0].indexOf("%")?w/100*a.width:w),T=a.y+(~(b[1]||b[0]).indexOf("%")?T/100*a.height:T)),n||!1!==n&&l.smooth?(v=w-c,x=T-f,l.xOffset=p+(v*m+x*g)-v,l.yOffset=d+(v*_+x*y)-x):l.xOffset=l.yOffset=0,l.xOrigin=w,l.yOrigin=T,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!r,t.style[dn]="0px 0px",s&&(Mn(s,l,"xOrigin",c,w),Mn(s,l,"yOrigin",f,T),Mn(s,l,"xOffset",p,l.xOffset),Mn(s,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",w+" "+T)},Hn=function(t,e){var r=t._gsap||new Ze(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,a,o,u,l,h,c,f,p,d,m,_,g,y,v,x,b,w,T,$,k,C,E,O,M,D,S,F,R,z,P=t.style,L=r.scaleX<0,N="px",I="deg",B=getComputedStyle(t),q=xn(t,dn)||"0";return n=i=s=u=l=h=c=f=p=0,a=o=1,r.svg=!(!t.getCTM||!En(t)),B.translate&&("none"===B.translate&&"none"===B.scale&&"none"===B.rotate||(P[pn]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[pn]?B[pn]:"")),P.scale=P.rotate=P.translate="none"),_=Un(t,r.svg),r.svg&&(r.uncache?(E=t.getBBox(),q=r.xOrigin-E.x+"px "+(r.yOrigin-E.y)+"px",C=""):C=!e&&t.getAttribute("data-svg-origin"),Yn(t,C||q,!!C||r.originIsAbsolute,!1!==r.smooth,_)),d=r.xOrigin||0,m=r.yOrigin||0,_!==In&&(x=_[0],b=_[1],w=_[2],T=_[3],n=$=_[4],i=k=_[5],6===_.length?(a=Math.sqrt(x*x+b*b),o=Math.sqrt(T*T+w*w),u=x||b?Vr(b,x)*Xr:0,(c=w||T?Vr(w,T)*Xr+u:0)&&(o*=Math.abs(Math.cos(c*jr))),r.svg&&(n-=d-(d*x+m*w),i-=m-(d*b+m*T))):(z=_[6],F=_[7],M=_[8],D=_[9],S=_[10],R=_[11],n=_[12],i=_[13],s=_[14],l=(g=Vr(z,S))*Xr,g&&(C=$*(y=Math.cos(-g))+M*(v=Math.sin(-g)),E=k*y+D*v,O=z*y+S*v,M=$*-v+M*y,D=k*-v+D*y,S=z*-v+S*y,R=F*-v+R*y,$=C,k=E,z=O),h=(g=Vr(-w,S))*Xr,g&&(y=Math.cos(-g),R=T*(v=Math.sin(-g))+R*y,x=C=x*y-M*v,b=E=b*y-D*v,w=O=w*y-S*v),u=(g=Vr(b,x))*Xr,g&&(C=x*(y=Math.cos(g))+b*(v=Math.sin(g)),E=$*y+k*v,b=b*y-x*v,k=k*y-$*v,x=C,$=E),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,h=180-h),a=Et(Math.sqrt(x*x+b*b+w*w)),o=Et(Math.sqrt(k*k+z*z)),g=Vr($,k),c=Math.abs(g)>2e-4?g*Xr:0,p=R?1/(R<0?-R:R):0),r.svg&&(C=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!qn(xn(t,pn)),C&&t.setAttribute("transform",C))),Math.abs(c)>90&&Math.abs(c)<270&&(L?(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=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+N,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)+N,r.z=s+N,r.scaleX=Et(a),r.scaleY=Et(o),r.rotation=Et(u)+I,r.rotationX=Et(l)+I,r.rotationY=Et(h)+I,r.skewX=c+I,r.skewY=f+I,r.transformPerspective=p+N,(r.zOrigin=parseFloat(q.split(" ")[2])||!e&&r.zOrigin||0)&&(P[dn]=Wn(q)),r.xOffset=r.yOffset=0,r.force3D=A.force3D,r.renderTransform=r.svg?Kn:Hr?Jn:jn,r.uncache=0,r},Wn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Xn=function(t,e,r){var n=ce(e);return Et(parseFloat(e)+parseFloat(An(t,"x",r+"px",n)))+n},jn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Jn(t,e)},Vn="0deg",Qn="0px",Zn=") ",Jn=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,o=r.z,u=r.rotation,l=r.rotationY,h=r.rotationX,c=r.skewX,f=r.skewY,p=r.scaleX,d=r.scaleY,m=r.transformPerspective,_=r.force3D,g=r.target,y=r.zOrigin,v="",x="auto"===_&&t&&1!==t||!0===_;if(y&&(h!==Vn||l!==Vn)){var b,w=parseFloat(l)*jr,T=Math.sin(w),$=Math.cos(w);w=parseFloat(h)*jr,b=Math.cos(w),s=Xn(g,s,T*b*-y),a=Xn(g,a,-Math.sin(w)*-y),o=Xn(g,o,$*b*-y+y)}m!==Qn&&(v+="perspective("+m+Zn),(n||i)&&(v+="translate("+n+"%, "+i+"%) "),(x||s!==Qn||a!==Qn||o!==Qn)&&(v+=o!==Qn||x?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+Zn),u!==Vn&&(v+="rotate("+u+Zn),l!==Vn&&(v+="rotateY("+l+Zn),h!==Vn&&(v+="rotateX("+h+Zn),c===Vn&&f===Vn||(v+="skew("+c+", "+f+Zn),1===p&&1===d||(v+="scale("+p+", "+d+Zn),g.style[pn]=v||"translate(0, 0)"},Kn=function(t,e){var r,n,i,s,a,o=e||this,u=o.xPercent,l=o.yPercent,h=o.x,c=o.y,f=o.rotation,p=o.skewX,d=o.skewY,m=o.scaleX,_=o.scaleY,g=o.target,y=o.xOrigin,v=o.yOrigin,x=o.xOffset,b=o.yOffset,w=o.forceCSS,T=parseFloat(h),$=parseFloat(c);f=parseFloat(f),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),f+=d),f||p?(f*=jr,p*=jr,r=Math.cos(f)*m,n=Math.sin(f)*m,i=Math.sin(f-p)*-_,s=Math.cos(f-p)*_,p&&(d*=jr,a=Math.tan(p-d),i*=a=Math.sqrt(1+a*a),s*=a,d&&(a=Math.tan(d),r*=a=Math.sqrt(1+a*a),n*=a)),r=Et(r),n=Et(n),i=Et(i),s=Et(s)):(r=m,s=_,n=i=0),(T&&!~(h+"").indexOf("px")||$&&!~(c+"").indexOf("px"))&&(T=An(g,"x",h,"px"),$=An(g,"y",c,"px")),(y||v||x||b)&&(T=Et(T+y-(y*r+v*i)+x),$=Et($+v-(y*n+v*s)+b)),(u||l)&&(a=g.getBBox(),T=Et(T+u/100*a.width),$=Et($+l/100*a.height)),a="matrix("+r+","+n+","+i+","+s+","+T+","+$+")",g.setAttribute("transform",a),w&&(g.style[pn]=a)},ti=function(t,e,r,n,i){var s,a,o=360,u=G(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?Xr:1)-n,h=n+l+"deg";return u&&("short"===(s=i.split("_")[1])&&(l%=o)!==l%180&&(l+=l<0?o:-360),"cw"===s&&l<0?l=(l+36e9)%o-~~(l/o)*o:"ccw"===s&&l>0&&(l=(l-36e9)%o-~~(l/o)*o)),t._pt=a=new $r(t._pt,e,r,n,l,en),a.e=h,a.u="deg",t._props.push(r),a},ei=function(t,e){for(var r in e)t[r]=e[r];return t},ri=function(t,e,r){var n,i,s,a,o,u,l,h=ei({},r._gsap),c=r.style;for(i in h.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),c[pn]=e,n=Hn(r,1),On(r,pn),r.setAttribute("transform",s)):(s=getComputedStyle(r)[pn],c[pn]=e,n=Hn(r,1),c[pn]=s),Wr)(s=h[i])!==(a=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(o=ce(s)!==(l=ce(a))?An(r,i,s,l):parseFloat(s),u=parseFloat(a),t._pt=new $r(t._pt,n,i,o,u-o,tn),t._pt.u=l||0,t._props.push(i));ei(n,h)};Ct("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",i="Bottom",s="Left",a=(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});Nn[e>1?"border"+t:t]=function(t,e,r,n,i){var s,o;if(arguments.length<4)return s=a.map(function(e){return Fn(t,e,r)}),5===(o=s.join(" ")).split(s[0]).length?s[0]:o;s=(n+"").split(" "),o={},a.forEach(function(t,e){return o[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,o,i)}});var ni,ii,si={name:"css",register:Tn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,a,o,u,l,h,c,f,p,d,m,_,g,y,v,x,b=this._props,w=t.style,T=r.vars.startAt;for(c in qr||Tn(),this.styles=this.styles||yn(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==c&&(a=e[c],!yt[c]||!ir(c,e,r,n,t,i)))if(l=typeof a,h=Nn[c],"function"===l&&(l=typeof(a=a.call(r,n,t,i))),"string"===l&&~a.indexOf("random(")&&(a=we(a)),h)h(this,t,c,a,r)&&(v=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),a+="",ze.lastIndex=0,ze.test(s)||(f=ce(s),p=ce(a)),p?f!==p&&(s=An(t,c,s,p)+p):f&&(a+=f),this.add(w,"setProperty",s,a,n,i,0,0,c),b.push(c),x.push(c,0,w[c]);else if("undefined"!==l){if(T&&c in T?(s="function"==typeof T[c]?T[c].call(r,n,t,i):T[c],G(s)&&~s.indexOf("random(")&&(s=we(s)),ce(s+"")||"auto"===s||(s+=A.units[c]||ce(Fn(t,c))||""),"="===(s+"").charAt(1)&&(s=Fn(t,c))):s=Fn(t,c),u=parseFloat(s),(d="string"===l&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),c in Kr&&("autoAlpha"===c&&(1===u&&"hidden"===Fn(t,"visibility")&&o&&(u=0),x.push("visibility",0,w.visibility),Mn(this,w,"visibility",u?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==c&&"transform"!==c&&~(c=Kr[c]).indexOf(",")&&(c=c.split(",")[0])),m=c in Wr)if(this.styles.save(c),"string"===l&&"var(--"===a.substring(0,6)&&(a=xn(t,a.substring(4,a.indexOf(")"))),o=parseFloat(a)),_||((g=t._gsap).renderTransform&&!e.parseTransform||Hn(t,e.parseTransform),y=!1!==e.smoothOrigin&&g.smooth,(_=this._pt=new $r(this._pt,w,pn,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===c)this._pt=new $r(this._pt,g,"scaleY",g.scaleY,(d?Mt(g.scaleY,d+o):o)-g.scaleY||0,tn),this._pt.u=0,b.push("scaleY",c),c+="X";else{if("transformOrigin"===c){x.push(dn,0,w[dn]),a=Pn(a),g.svg?Yn(t,a,0,y,0,this):((p=parseFloat(a.split(" ")[2])||0)!==g.zOrigin&&Mn(this,g,"zOrigin",g.zOrigin,p),Mn(this,w,c,Wn(s),Wn(a)));continue}if("svgOrigin"===c){Yn(t,a,1,y,0,this);continue}if(c in Bn){ti(this,g,c,u,d?Mt(u,d+a):a);continue}if("smoothOrigin"===c){Mn(this,g,"smooth",g.smooth,a);continue}if("force3D"===c){g[c]=a;continue}if("transform"===c){ri(this,a,t);continue}}else c in w||(c=wn(c)||c);if(m||(o||0===o)&&(u||0===u)&&!Jr.test(a)&&c in w)o||(o=0),(f=(s+"").substr((u+"").length))!==(p=ce(a)||(c in A.units?A.units[c]:f))&&(u=An(t,c,s,p)),this._pt=new $r(this._pt,m?g:w,c,u,(d?Mt(u,d+o):o)-u,m||"px"!==p&&"zIndex"!==c||!1===e.autoRound?tn:nn),this._pt.u=p||0,f!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=rn);else if(c in w)Rn.call(this,t,c,s,d?d+a:a);else if(c in t)this.add(t,c,s||t[c],d?d+a:a,n,i);else if("parseTransform"!==c){ut(c,a);continue}m||(c in w?x.push(c,0,w[c]):"function"==typeof t[c]?x.push(c,2,t[c]()):x.push(c,1,s||t[c])),b.push(c)}v&&Tr(this)},render:function(t,e){if(e.tween._time||!Yr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Fn,aliases:Kr,getSetter:function(t,e,r){var n=Kr[e];return n&&n.indexOf(",")<0&&(e=n),e in Wr&&e!==dn&&(t._gsap.x||Fn(t,"x"))?r&&Ur===r?"scale"===e?hn:ln:(Ur=r||{})&&("scale"===e?cn:fn):t.style&&!H(t.style[e])?on:~e.indexOf("-")?un:mr(t,e)},core:{_removeProperty:On,_getMatrix:Un}};Lr.utils.checkPrefix=wn,Lr.core.getStyleSaver=yn,ii=Ct("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(ni="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){Wr[t]=1}),Ct(ni,function(t){A.units[t]="deg",Bn[t]=1}),Kr[ii[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+ni,Ct("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");Kr[e[1]]=ii[e[0]]}),Ct("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){A.units[t]="px"}),Lr.registerPlugin(si);var ai=Lr.registerPlugin(si)||Lr;ai.core.Tween;const oi=[{main:"#FBDB4A",shades:["#FAE073","#FCE790","#FADD65","#E4C650"]},{main:"#F3934A",shades:["#F7B989","#F9CDAA","#DD8644","#F39C59"]},{main:"#EB547D",shades:["#EE7293","#F191AB","#D64D72","#C04567"]},{main:"#9F6AA7",shades:["#B084B6","#C19FC7","#916198","#82588A"]},{main:"#5476B3",shades:["#6382B9","#829BC7","#4D6CA3","#3E5782"]},{main:"#2BB19B",shades:["#4DBFAD","#73CDBF","#27A18D","#1F8171"]},{main:"#70B984",shades:["#7FBE90","#98CBA6","#68A87A","#5E976E"]}],ui=["■","▲","▼","◆","◢","◣","◤","◥","★"],li=({attributes:e})=>{const{typingContents:r,textAlignment:n,themes:i={},color:s,prefixText:a,suffixText:o,backDelay:u,startDelay:l,loopCount:c,isLoop:f,isRandomColor:p=!0,typeSpeed:d}=e,{theme:m}=i,_=(0,t.useRef)(null),g=(0,t.useRef)(null),y=(0,t.useRef)([]),[v,x]=(0,t.useState)(!1),[b,w]=(0,t.useState)(0),[T,$]=(0,t.useState)(0);(0,t.useEffect)(()=>{if(!r||0===r.length)return;const t=setTimeout(()=>{k(r[0].text)},l);return()=>clearTimeout(t)},[]),(0,t.useEffect)(()=>{r&&0!==r.length&&(0===b&&0===T||f&&(0!==c&&T>=c||k(r[b].text)))},[b,T]),(0,t.useEffect)(()=>{n&&_.current&&(_.current.style.textAlign=n)},[n]);const k=t=>{t&&!v&&(x(!0),y.current=[],_.current.innerHTML="",g.current.innerHTML="",t.split("").forEach((e,n)=>{setTimeout(()=>{const i=" "===e?" ":e,a=document.createElement("span"),o=document.createElement("span");a.textContent=i,o.textContent=i;const l=p?oi[n%oi.length]:s;a.style.color=l.main,_.current&&_.current.appendChild(a),g.current&&g.current.appendChild(o),y.current.push({onScreen:a,offScreen:o,char:i}),C(a),n===t.length-1&&setTimeout(()=>{x(!1),b===r.length-1?($(t=>t+1),(0===c||T+1t+1)},u)},n*d)}))},C=t=>{const e=50*(.5+.5*Math.random());ai.fromTo(t,{scale:0,opacity:0},{scale:1,opacity:1,duration:.4,ease:"back.out"}),ai.to(t,{y:-e,duration:.2,ease:"power3.inOut",yoyo:!0,repeat:1}),ai.to(t,{rotation:100*Math.random()-50,duration:.2,ease:"power3.inOut",yoyo:!0,repeat:1}),E(t)},E=t=>{for(let e=0;e<10+Math.floor(2*Math.random());e++){const e=document.createElement("span");e.textContent=ui[Math.floor(Math.random()*ui.length)],e.style.position="absolute",e.style.color=oi[Math.floor(Math.random()*oi.length)].main,e.style.fontSize="25px",e.style.pointerEvents="none",e.classList.add("noornabi_shapes"),document.body.appendChild(e);const r=t.getBoundingClientRect();e.style.left=`${r.left+r.width/2}px`,e.style.top=`${r.top+r.height/2+window.scrollY}px`;const n=200*(Math.random()-.5),i=200*(Math.random()-.5);ai.to(e,{x:n,y:i,opacity:0,scale:.5,duration:1,ease:"power2.out",onComplete:()=>e.remove()})}};return(0,t.createElement)("div",{className:`${h} ${m}`},(0,t.createElement)("div",{className:"starFlower-inline"},a&&(0,t.createElement)("span",{className:"prefixText",dangerouslySetInnerHTML:{__html:a+" "}}),(0,t.createElement)("span",{ref:g,className:"offscreen-text"}),(0,t.createElement)("span",{ref:_,className:"textAnimate"}),o&&(0,t.createElement)("span",{className:"suffixText",style:{marginTop:"5px"},dangerouslySetInnerHTML:{__html:" "+o}})))},hi=e=>{const{attributes:r}=e,{prefixText:n,suffixText:i,typingContents:s,typeSpeed:a,startDelay:o,backSpeed:u,backDelay:l,isShuffle:c,isFadeOut:f,fadeOutDelay:p,isLoop:d,loopCount:m,isCursor:_,cursorChar:g,terminal:y={},themes:v={}}=r,x=(0,t.useRef)(null),b=(0,t.useRef)(null),{theme:w}=v,{headerText:T}=y;return(0,t.useEffect)(()=>{const t={strings:s.map(t=>t.text),typeSpeed:a,startDelay:o,backSpeed:u,backDelay:l,shuffle:c,fadeOut:f,fadeOutDelay:p,loop:d,loopCount:0===m?1/0:m,showCursor:_,cursorChar:g,autoInsertCss:!1,contentType:"html",preStringTyped:(t,e)=>{if(e&&s[e.sequence[t]]){const r=s[e.sequence[t]].color||"#00ff9c";e.el.style.color=r,_&&(e.cursor.style.color=r,e.cursor.style.marginTop="-2px",e.cursor.style.paddingLeft="4px")}}};return b.current=new Typed(x.current,t),()=>b.current.destroy()},[s,a,o,u,l,c,f,p,d,m,_,g]),(0,t.createElement)("div",{className:`${h} ${w}`},(0,t.createElement)("div",{className:"terminal-header"},(0,t.createElement)("span",{className:"dot red"}),(0,t.createElement)("span",{className:"dot yellow"}),(0,t.createElement)("span",{className:"dot green"}),(0,t.createElement)("span",{className:"title",dangerouslySetInnerHTML:{__html:T}})),(0,t.createElement)("div",{className:"terminal-body"},(0,t.createElement)("span",{className:"prefixText",dangerouslySetInnerHTML:{__html:n}}),(0,t.createElement)("div",{className:"typingContents"},(0,t.createElement)("span",{ref:x})),(0,t.createElement)("span",{className:"suffixText",dangerouslySetInnerHTML:{__html:i}})))},ci=({attributes:e})=>{const{prefixText:r,suffixText:n,typingContents:i,typeSpeed:s,startDelay:a,backSpeed:o,backDelay:u,isShuffle:l,isFadeOut:c,fadeOutDelay:f,isLoop:p,loopCount:d,isCursor:m,cursorChar:_,themes:g={},iconList:y={},isIcon:v=!0,isRandomColor:x=!0}=e,b=(0,t.useRef)(null),w=(0,t.useRef)(null),{theme:T}=g,{uploadIconUrl:$}=y;return(0,t.useEffect)(()=>{if(!i||0===i.length)return;const t={strings:i.map(t=>t.text),typeSpeed:s,startDelay:a,backSpeed:o,backDelay:u,shuffle:l,fadeOut:c,fadeOutDelay:f,loop:p,loopCount:0===d?1/0:d,showCursor:m,cursorChar:_,autoInsertCss:!1,contentType:"html",...0==x&&{preStringTyped:(t,e)=>{if(e&&i[e.sequence[t]]){const r=i[e.sequence[t]].color||"#00ff9c";e.el.style.color=r,m&&e.cursor&&(e.cursor.style.color=r)}}}};return w.current=new window.Typed(b.current,t),()=>{w.current&&w.current.destroy()}},[i,s,a,o,u,l,c,f,p,d,m,_,x]),(0,t.createElement)("div",{className:`${h} ${T}`},(0,t.createElement)("div",{className:"auroraGlow-frame"},v&&(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"auroraGlow-icon"},$&&(0,t.createElement)("img",{src:$,alt:"icon"}))),r&&(0,t.createElement)("div",{className:"auroraGlow-prefix",dangerouslySetInnerHTML:{__html:r}}),(0,t.createElement)("div",{className:"auroraGlow-typing",style:x?{background:"linear-gradient(90deg, #ff00ff, #00ffff, #00ff6a, #ffae00)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",animation:"gradientMove 3s linear infinite"}:{}},(0,t.createElement)("span",{ref:b})),n&&(0,t.createElement)("div",{className:"auroraGlow-suffix",dangerouslySetInnerHTML:{__html:n}})))},fi=({attributes:e})=>{const{prefixText:r,suffixText:n,typingContents:i,typeSpeed:s,startDelay:a,backSpeed:o,backDelay:u,isShuffle:l,isFadeOut:c,fadeOutDelay:f,isLoop:p,loopCount:d,isCursor:m,cursorChar:_,themes:g={},iconList:y={},isIcon:v=!0,isRandomColor:x=!0}=e,b=(0,t.useRef)(null),w=(0,t.useRef)(null),{theme:T}=g,{uploadIconUrl:$}=y;return(0,t.useEffect)(()=>{if(!i||0===i.length)return;const t={strings:i.map(t=>t.text),typeSpeed:s,startDelay:a,backSpeed:o,backDelay:u,shuffle:l,fadeOut:c,fadeOutDelay:f,loop:p,loopCount:0===d?1/0:d,showCursor:m,cursorChar:_,autoInsertCss:!1,contentType:"html",preStringTyped:(t,e)=>{if(e&&i[e.sequence[t]]){const r=i[e.sequence[t]].color||"#00ff9c";e.el.style.color=r,m&&e.cursor&&(e.cursor.style.color=r)}}};return w.current=new window.Typed(b.current,t),()=>{w.current&&w.current.destroy()}},[i,s,a,o,u,l,c,f,p,d,m,_,x]),(0,t.createElement)("div",{className:`${h} ${T}`},(0,t.createElement)("div",{className:"cyberWave"},v&&$&&(0,t.createElement)("div",{className:"cyberWave-icon"},(0,t.createElement)("img",{src:$,alt:"icon"})),r&&(0,t.createElement)("div",{className:"cyberWave-prefix",dangerouslySetInnerHTML:{__html:r}}),(0,t.createElement)("div",{className:"cyberWave-typing"},(0,t.createElement)("span",{ref:b})),n&&(0,t.createElement)("div",{className:"cyberWave-suffix",dangerouslySetInnerHTML:{__html:n}})))},pi=({attributes:e})=>{const{prefixText:r,suffixText:n,typingContents:i,typeSpeed:s,startDelay:a,backSpeed:o,backDelay:u,isShuffle:l,isFadeOut:c,fadeOutDelay:f,isLoop:p,loopCount:d,isCursor:m,cursorChar:_,themes:g={},iconList:y={},isIcon:v=!0}=e,x=(0,t.useRef)(null),b=(0,t.useRef)(null),{theme:w}=g,{uploadIconUrl:T}=y;return(0,t.useEffect)(()=>{if(!i||0===i.length)return;const t={strings:i.map(t=>t.text),typeSpeed:s,startDelay:a,backSpeed:o,backDelay:u,shuffle:l,fadeOut:c,fadeOutDelay:f,loop:p,loopCount:0===d?1/0:d,showCursor:m,cursorChar:_,autoInsertCss:!1,contentType:"html",preStringTyped:(t,e)=>{if(e&&i[e.sequence[t]]){const r=i[e.sequence[t]].color||"#00ff9c";e.el.style.color=r,m&&e.cursor&&(e.cursor.style.color=r)}}};return b.current=new window.Typed(x.current,t),()=>{b.current&&b.current.destroy()}},[i,s,a,o,u,l,c,f,p,d,m,_]),(0,t.createElement)("div",{className:`${h} ${w}`},v&&(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"neonGrid-icon"},T&&(0,t.createElement)("img",{src:T,alt:"icon"}))),r&&(0,t.createElement)("div",{className:"neonGrid-prefix",dangerouslySetInnerHTML:{__html:r}}),(0,t.createElement)("div",{className:"neonGrid-typing"},(0,t.createElement)("span",{ref:x})),n&&(0,t.createElement)("div",{className:"neonGrid-suffix",dangerouslySetInnerHTML:{__html:n}}))},di=e=>{const{themes:r={}}=e.attributes,{theme:n}=r;switch(n){case"default":return(0,t.createElement)(f,{...e});case"terminal":return(0,t.createElement)(hi,{...e});case"starFlower":return(0,t.createElement)(li,{...e});case"neonGrid":return(0,t.createElement)(pi,{...e});case"auroraGlow":return(0,t.createElement)(ci,{...e});case"cyberWave":return(0,t.createElement)(fi,{...e});default:return null}},mi=()=>(0,t.createElement)("div",{className:"atb-premium-notice"},(0,t.createElement)("div",{className:"atb-premium-notice__content"},(0,t.createElement)("span",{className:"atb-premium-badge"},"Premium"),(0,t.createElement)("div",{className:"atb-premium-text"},(0,t.createElement)("strong",null,"Premium Theme Locked"),(0,t.createElement)("p",null,"This theme is available in the Pro version. Upgrade to unlock this beautiful design."))),(0,t.createElement)("a",{href:"https://bplugins.com/products/text-typing/pricing/",target:"_blank",rel:"noopener noreferrer",className:"atb-premium-btn"},"Upgrade to Pro 🚀"));document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".wp-block-ttb-text-typing").forEach(r=>{const n=JSON.parse(r.dataset.attributes),i=r.dataset.ispremium||!1,{themes:s}=n,{theme:a}=s,o=!i&&["terminal","starFlower","neonGrid","auroraGlow","cyberWave"].includes(a);(0,e.createRoot)(r).render((0,t.createElement)(t.Fragment,null,(0,t.createElement)(c,{attributes:n,id:r.id}),o?(0,t.createElement)(mi,null):(0,t.createElement)(di,{attributes:n}))),r?.removeAttribute("data-attributes"),r?.removeAttribute("data-ispremium")})})})();