@gardenfi/garden-book 0.1.65 → 0.1.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/ui.umd.js +1 -1
- package/package.json +1 -1
package/dist/ui.umd.js
CHANGED
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
License: MIT, header required.
|
|
9
9
|
*/var Matrix=function(){var e=Math.cos,t=Math.sin,i=Math.tan,s=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(S){if(S===0)return this;var M=e(S),I=t(S);return this._t(M,-I,0,0,I,M,0,0,0,0,1,0,0,0,0,1)}function o(S){if(S===0)return this;var M=e(S),I=t(S);return this._t(1,0,0,0,0,M,-I,0,0,I,M,0,0,0,0,1)}function f(S){if(S===0)return this;var M=e(S),I=t(S);return this._t(M,0,I,0,0,1,0,0,-I,0,M,0,0,0,0,1)}function l(S){if(S===0)return this;var M=e(S),I=t(S);return this._t(M,-I,0,0,I,M,0,0,0,0,1,0,0,0,0,1)}function c(S,M){return this._t(1,M,S,1,0,0)}function u(S,M){return this.shear(i(S),i(M))}function m(S,M){var I=e(M),k=t(M);return this._t(I,k,0,0,-k,I,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(S),1,0,0,0,0,1,0,0,0,0,1)._t(I,-k,0,0,k,I,0,0,0,0,1,0,0,0,0,1)}function p(S,M,I){return!I&&I!==0&&(I=1),S===1&&M===1&&I===1?this:this._t(S,0,0,0,0,M,0,0,0,0,I,0,0,0,0,1)}function b(S,M,I,k,G,U,K,J,re,le,ce,pe,ue,se,oe,te){return this.props[0]=S,this.props[1]=M,this.props[2]=I,this.props[3]=k,this.props[4]=G,this.props[5]=U,this.props[6]=K,this.props[7]=J,this.props[8]=re,this.props[9]=le,this.props[10]=ce,this.props[11]=pe,this.props[12]=ue,this.props[13]=se,this.props[14]=oe,this.props[15]=te,this}function x(S,M,I){return I=I||0,S!==0||M!==0||I!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,S,M,I,1):this}function y(S,M,I,k,G,U,K,J,re,le,ce,pe,ue,se,oe,te){var Y=this.props;if(S===1&&M===0&&I===0&&k===0&&G===0&&U===1&&K===0&&J===0&&re===0&&le===0&&ce===1&&pe===0)return Y[12]=Y[12]*S+Y[15]*ue,Y[13]=Y[13]*U+Y[15]*se,Y[14]=Y[14]*ce+Y[15]*oe,Y[15]*=te,this._identityCalculated=!1,this;var Te=Y[0],Ee=Y[1],Se=Y[2],ye=Y[3],be=Y[4],Pe=Y[5],me=Y[6],Ce=Y[7],Le=Y[8],xe=Y[9],Me=Y[10],we=Y[11],Ae=Y[12],Re=Y[13],Ve=Y[14],_e=Y[15];return Y[0]=Te*S+Ee*G+Se*re+ye*ue,Y[1]=Te*M+Ee*U+Se*le+ye*se,Y[2]=Te*I+Ee*K+Se*ce+ye*oe,Y[3]=Te*k+Ee*J+Se*pe+ye*te,Y[4]=be*S+Pe*G+me*re+Ce*ue,Y[5]=be*M+Pe*U+me*le+Ce*se,Y[6]=be*I+Pe*K+me*ce+Ce*oe,Y[7]=be*k+Pe*J+me*pe+Ce*te,Y[8]=Le*S+xe*G+Me*re+we*ue,Y[9]=Le*M+xe*U+Me*le+we*se,Y[10]=Le*I+xe*K+Me*ce+we*oe,Y[11]=Le*k+xe*J+Me*pe+we*te,Y[12]=Ae*S+Re*G+Ve*re+_e*ue,Y[13]=Ae*M+Re*U+Ve*le+_e*se,Y[14]=Ae*I+Re*K+Ve*ce+_e*oe,Y[15]=Ae*k+Re*J+Ve*pe+_e*te,this._identityCalculated=!1,this}function T(S){var M=S.props;return this.transform(M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],M[8],M[9],M[10],M[11],M[12],M[13],M[14],M[15])}function g(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function C(S){for(var M=0;M<16;){if(S.props[M]!==this.props[M])return!1;M+=1}return!0}function d(S){var M;for(M=0;M<16;M+=1)S.props[M]=this.props[M];return S}function P(S){var M;for(M=0;M<16;M+=1)this.props[M]=S[M]}function A(S,M,I){return{x:S*this.props[0]+M*this.props[4]+I*this.props[8]+this.props[12],y:S*this.props[1]+M*this.props[5]+I*this.props[9]+this.props[13],z:S*this.props[2]+M*this.props[6]+I*this.props[10]+this.props[14]}}function E(S,M,I){return S*this.props[0]+M*this.props[4]+I*this.props[8]+this.props[12]}function R(S,M,I){return S*this.props[1]+M*this.props[5]+I*this.props[9]+this.props[13]}function V(S,M,I){return S*this.props[2]+M*this.props[6]+I*this.props[10]+this.props[14]}function F(){var S=this.props[0]*this.props[5]-this.props[1]*this.props[4],M=this.props[5]/S,I=-this.props[1]/S,k=-this.props[4]/S,G=this.props[0]/S,U=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/S,K=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/S,J=new Matrix;return J.props[0]=M,J.props[1]=I,J.props[4]=k,J.props[5]=G,J.props[12]=U,J.props[13]=K,J}function $(S){var M=this.getInverseMatrix();return M.applyToPointArray(S[0],S[1],S[2]||0)}function Z(S){var M,I=S.length,k=[];for(M=0;M<I;M+=1)k[M]=$(S[M]);return k}function B(S,M,I){var k=createTypedArray("float32",6);if(this.isIdentity())k[0]=S[0],k[1]=S[1],k[2]=M[0],k[3]=M[1],k[4]=I[0],k[5]=I[1];else{var G=this.props[0],U=this.props[1],K=this.props[4],J=this.props[5],re=this.props[12],le=this.props[13];k[0]=S[0]*G+S[1]*K+re,k[1]=S[0]*U+S[1]*J+le,k[2]=M[0]*G+M[1]*K+re,k[3]=M[0]*U+M[1]*J+le,k[4]=I[0]*G+I[1]*K+re,k[5]=I[0]*U+I[1]*J+le}return k}function X(S,M,I){var k;return this.isIdentity()?k=[S,M,I]:k=[S*this.props[0]+M*this.props[4]+I*this.props[8]+this.props[12],S*this.props[1]+M*this.props[5]+I*this.props[9]+this.props[13],S*this.props[2]+M*this.props[6]+I*this.props[10]+this.props[14]],k}function q(S,M){if(this.isIdentity())return S+","+M;var I=this.props;return Math.round((S*I[0]+M*I[4]+I[12])*100)/100+","+Math.round((S*I[1]+M*I[5]+I[13])*100)/100}function N(){for(var S=0,M=this.props,I="matrix3d(",k=1e4;S<16;)I+=s(M[S]*k)/k,I+=S===15?")":",",S+=1;return I}function L(S){var M=1e4;return S<1e-6&&S>0||S>-1e-6&&S<0?s(S*M)/M:S}function _(){var S=this.props,M=L(S[0]),I=L(S[1]),k=L(S[4]),G=L(S[5]),U=L(S[12]),K=L(S[13]);return"matrix("+M+","+I+","+k+","+G+","+U+","+K+")"}return function(){this.reset=n,this.rotate=a,this.rotateX=o,this.rotateY=f,this.rotateZ=l,this.skew=u,this.skewFromAxis=m,this.shear=c,this.scale=p,this.setTransform=b,this.translate=x,this.transform=y,this.multiply=T,this.applyToPoint=A,this.applyToX=E,this.applyToY=R,this.applyToZ=V,this.applyToPointArray=X,this.applyToTriplePoints=B,this.applyToPointStringified=q,this.toCSS=N,this.to2dCSS=_,this.clone=d,this.cloneFromProps=P,this.equals=C,this.inversePoints=Z,this.inversePoint=$,this.getInverseMatrix=F,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(i){return typeof i}:_typeof$3=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),i=0;i<t.length;i+=1){var s=t[i].split("=");if(decodeURIComponent(s[0])==e)return decodeURIComponent(s[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};e.registerModifier=i,e.getModifier=s;function i(n,a){t[n]||(t[n]=a)}function s(n,a,o){return new t[n](a,o)}return e}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,i,s,n){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var o=[],f,l=a.length,c;for(f=0;f<l;f+=1)if(c=a[f],!(c.e*n<s||c.s*n>s+i)){var u,m;c.s*n<=s?u=0:u=(c.s*n-s)/i,c.e*n>=s+i?m=1:m=(c.e*n-s)/i,o.push([u,m])}return o.length||o.push([0,0]),o},TrimModifier.prototype.releasePathsData=function(e){var t,i=e.length;for(t=0;t<i;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,i;if(this._mdf||e){var s=this.o.v%360/360;if(s<0&&(s+=1),this.s.v>1?t=1+s:this.s.v<0?t=0+s:t=this.s.v+s,this.e.v>1?i=1+s:this.e.v<0?i=0+s:i=this.e.v+s,t>i){var n=t;t=i,i=n}t=Math.round(t*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=t,this.eValue=i}else t=this.sValue,i=this.eValue;var a,o,f=this.shapes.length,l,c,u,m,p,b=0;if(i===t)for(o=0;o<f;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(i===1&&t===0||i===0&&t===1){if(this._mdf)for(o=0;o<f;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var x=[],y,T;for(o=0;o<f;o+=1)if(y=this.shapes[o],!y.shape._mdf&&!this._mdf&&!e&&this.m!==2)y.shape.paths=y.localShapeCollection;else{if(a=y.shape.paths,c=a._length,p=0,!y.shape._mdf&&y.pathsData.length)p=y.totalShapeLength;else{for(u=this.releasePathsData(y.pathsData),l=0;l<c;l+=1)m=bez.getSegmentsLength(a.shapes[l]),u.push(m),p+=m.totalLength;y.totalShapeLength=p,y.pathsData=u}b+=p,y.shape._mdf=!0}var g=t,C=i,d=0,P;for(o=f-1;o>=0;o-=1)if(y=this.shapes[o],y.shape._mdf){for(T=y.localShapeCollection,T.releaseShapes(),this.m===2&&f>1?(P=this.calculateShapeEdges(t,i,y.totalShapeLength,d,b),d+=y.totalShapeLength):P=[[g,C]],c=P.length,l=0;l<c;l+=1){g=P[l][0],C=P[l][1],x.length=0,C<=1?x.push({s:y.totalShapeLength*g,e:y.totalShapeLength*C}):g>=1?x.push({s:y.totalShapeLength*(g-1),e:y.totalShapeLength*(C-1)}):(x.push({s:y.totalShapeLength*g,e:y.totalShapeLength}),x.push({s:0,e:y.totalShapeLength*(C-1)}));var A=this.addShapes(y,x[0]);if(x[0].s!==x[0].e){if(x.length>1){var E=y.shape.paths.shapes[y.shape.paths._length-1];if(E.c){var R=A.pop();this.addPaths(A,T),A=this.addShapes(y,x[1],R)}else this.addPaths(A,T),A=this.addShapes(y,x[1])}this.addPaths(A,T)}}y.shape.paths=T}}},TrimModifier.prototype.addPaths=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)t.addShape(e[i])},TrimModifier.prototype.addSegment=function(e,t,i,s,n,a,o){n.setXYAt(t[0],t[1],"o",a),n.setXYAt(i[0],i[1],"i",a+1),o&&n.setXYAt(e[0],e[1],"v",a),n.setXYAt(s[0],s[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,i,s){t.setXYAt(e[1],e[5],"o",i),t.setXYAt(e[2],e[6],"i",i+1),s&&t.setXYAt(e[0],e[4],"v",i),t.setXYAt(e[3],e[7],"v",i+1)},TrimModifier.prototype.addShapes=function(e,t,i){var s=e.pathsData,n=e.shape.paths.shapes,a,o=e.shape.paths._length,f,l,c=0,u,m,p,b,x=[],y,T=!0;for(i?(m=i._length,y=i._length):(i=shapePool.newElement(),m=0,y=0),x.push(i),a=0;a<o;a+=1){for(p=s[a].lengths,i.c=n[a].c,l=n[a].c?p.length:p.length+1,f=1;f<l;f+=1)if(u=p[f-1],c+u.addedLength<t.s)c+=u.addedLength,i.c=!1;else if(c>t.e){i.c=!1;break}else t.s<=c&&t.e>=c+u.addedLength?(this.addSegment(n[a].v[f-1],n[a].o[f-1],n[a].i[f],n[a].v[f],i,m,T),T=!1):(b=bez.getNewSegment(n[a].v[f-1],n[a].v[f],n[a].o[f-1],n[a].i[f],(t.s-c)/u.addedLength,(t.e-c)/u.addedLength,p[f-1]),this.addSegmentFromArray(b,i,m,T),T=!1,i.c=!1),c+=u.addedLength,m+=1;if(n[a].c&&p.length){if(u=p[f-1],c<=t.e){var g=p[f-1].addedLength;t.s<=c&&t.e>=c+g?(this.addSegment(n[a].v[f-1],n[a].o[f-1],n[a].i[0],n[a].v[0],i,m,T),T=!1):(b=bez.getNewSegment(n[a].v[f-1],n[a].v[0],n[a].o[f-1],n[a].i[0],(t.s-c)/g,(t.e-c)/g,p[f-1]),this.addSegmentFromArray(b,i,m,T),T=!1,i.c=!1)}else i.c=!1;c+=u.addedLength,m+=1}if(i._length&&(i.setXYAt(i.v[y][0],i.v[y][1],"i",y),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),c>t.e)break;a<o-1&&(i=shapePool.newElement(),T=!0,x.push(i),m=0)}return x};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var i=t/100,s=[0,0],n=e._length,a=0;for(a=0;a<n;a+=1)s[0]+=e.v[a][0],s[1]+=e.v[a][1];s[0]/=n,s[1]/=n;var o=shapePool.newElement();o.c=e.c;var f,l,c,u,m,p;for(a=0;a<n;a+=1)f=e.v[a][0]+(s[0]-e.v[a][0])*i,l=e.v[a][1]+(s[1]-e.v[a][1])*i,c=e.o[a][0]+(s[0]-e.o[a][0])*-i,u=e.o[a][1]+(s[1]-e.o[a][1])*-i,m=e.i[a][0]+(s[0]-e.i[a][0])*-i,p=e.i[a][1]+(s[1]-e.i[a][1])*-i,o.setTripleAt(f,l,c,u,m,p,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.amount.v;if(o!==0){var f,l;for(i=0;i<s;i+=1){if(f=this.shapes[i],l=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),f.shape._mdf=!0,t=f.shape.paths.shapes,a=f.shape.paths._length,n=0;n<a;n+=1)l.addShape(this.processPath(t[n],o));f.shape.paths=f.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(l){var c=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||c,this.a&&l.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&l.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&l.skewFromAxis(-this.sk.v,this.sa.v),this.r?l.rotate(-this.r.v):l.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?l.translate(this.px.v,this.py.v,-this.pz.v):l.translate(this.px.v,this.py.v,0):l.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(l){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||l){var c;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var u,m;if(c=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(u=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/c,0),m=this.p.getValueAtTime(this.p.keyframes[0].t/c,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(u=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),m=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(u=this.p.pv,m=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){u=[],m=[];var p=this.px,b=this.py;p._caching.lastFrame+p.offsetTime<=p.keyframes[0].t?(u[0]=p.getValueAtTime((p.keyframes[0].t+.01)/c,0),u[1]=b.getValueAtTime((b.keyframes[0].t+.01)/c,0),m[0]=p.getValueAtTime(p.keyframes[0].t/c,0),m[1]=b.getValueAtTime(b.keyframes[0].t/c,0)):p._caching.lastFrame+p.offsetTime>=p.keyframes[p.keyframes.length-1].t?(u[0]=p.getValueAtTime(p.keyframes[p.keyframes.length-1].t/c,0),u[1]=b.getValueAtTime(b.keyframes[b.keyframes.length-1].t/c,0),m[0]=p.getValueAtTime((p.keyframes[p.keyframes.length-1].t-.01)/c,0),m[1]=b.getValueAtTime((b.keyframes[b.keyframes.length-1].t-.01)/c,0)):(u=[p.pv,b.pv],m[0]=p.getValueAtTime((p._caching.lastFrame+p.offsetTime-.01)/c,p.offsetTime),m[1]=b.getValueAtTime((b._caching.lastFrame+b.offsetTime-.01)/c,b.offsetTime))}else m=e,u=m;this.v.rotate(-Math.atan2(u[1]-m[1],u[0]-m[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function s(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function n(){}function a(l){this._addDynamicProperty(l),this.elem.addDynamicProperty(l),this._isDirty=!0}function o(l,c,u){if(this.elem=l,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(u||l),c.p&&c.p.s?(this.px=PropertyFactory.getProp(l,c.p.x,0,0,this),this.py=PropertyFactory.getProp(l,c.p.y,0,0,this),c.p.z&&(this.pz=PropertyFactory.getProp(l,c.p.z,0,0,this))):this.p=PropertyFactory.getProp(l,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=PropertyFactory.getProp(l,c.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(l,c.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(l,c.rz,0,degToRads,this),c.or.k[0].ti){var m,p=c.or.k.length;for(m=0;m<p;m+=1)c.or.k[m].to=null,c.or.k[m].ti=null}this.or=PropertyFactory.getProp(l,c.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(l,c.r||{k:0},0,degToRads,this);c.sk&&(this.sk=PropertyFactory.getProp(l,c.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(l,c.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(l,c.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(l,c.s||{k:[100,100,100]},1,.01,this),c.o?this.o=PropertyFactory.getProp(l,c.o,0,.01,l):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}o.prototype={applyToMatrix:t,getValue:i,precalculateMatrix:s,autoOrient:n},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function f(l,c,u){return new o(l,c,u)}return{getTransformProperty:f}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,i,s,n,a){var o=a?-1:1,f=s.s.v[0]+(1-s.s.v[0])*(1-n),l=s.s.v[1]+(1-s.s.v[1])*(1-n);e.translate(s.p.v[0]*o*n,s.p.v[1]*o*n,s.p.v[2]),t.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),t.rotate(-s.r.v*o*n),t.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(a?1/f:f,a?1/l:l),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},RepeaterModifier.prototype.init=function(e,t,i,s){for(this.elem=e,this.arr=t,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[i]);i>0;)i-=1,this._elements.unshift(t[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t]._processed=!1,e[t].ty==="gr"&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)e[i]._render=t,e[i].ty==="gr"&&this.changeGroupRender(e[i].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,i,s,n,a,o=!1;if(this._mdf||e){var f=Math.ceil(this.c.v);if(this._groups.length<f){for(;this._groups.length<f;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}a=0;var c;for(s=0;s<=this._groups.length-1;s+=1){if(c=a<f,this._groups[s]._render=c,this.changeGroupRender(this._groups[s].it,c),!c){var u=this.elemsData[s].it,m=u[u.length-1];m.transform.op.v!==0?(m.transform.op._mdf=!0,m.transform.op.v=0):m.transform.op._mdf=!1}a+=1}this._currentCopies=f;var p=this.o.v,b=p%1,x=p>0?Math.floor(p):Math.ceil(p),y=this.pMatrix.props,T=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var C=0;if(p>0){for(;C<x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),C+=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,b,!1),C+=b)}else if(p<0){for(;C>x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),C-=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-b,!0),C-=b)}s=this.data.m===1?0:this._currentCopies-1,n=this.data.m===1?1:-1,a=this._currentCopies;for(var d,P;a;){if(t=this.elemsData[s].it,i=t[t.length-1].transform.mProps.v.props,P=i.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(s/(this._currentCopies-1)),C!==0){for((s!==0&&n===1||s!==this._currentCopies-1&&n===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(T[0],T[1],T[2],T[3],T[4],T[5],T[6],T[7],T[8],T[9],T[10],T[11],T[12],T[13],T[14],T[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),d=0;d<P;d+=1)i[d]=this.matrix.props[d];this.matrix.reset()}else for(this.matrix.reset(),d=0;d<P;d+=1)i[d]=this.matrix.props[d];C+=1,a-=1,s+=n}}else for(a=this._currentCopies,s=0,n=1;a;)t=this.elemsData[s].it,i=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,s+=n;return o},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var i=shapePool.newElement();i.c=e.c;var s,n=e._length,a,o,f,l,c,u,m=0,p,b,x,y,T,g;for(s=0;s<n;s+=1)a=e.v[s],f=e.o[s],o=e.i[s],a[0]===f[0]&&a[1]===f[1]&&a[0]===o[0]&&a[1]===o[1]?(s===0||s===n-1)&&!e.c?(i.setTripleAt(a[0],a[1],f[0],f[1],o[0],o[1],m),m+=1):(s===0?l=e.v[n-1]:l=e.v[s-1],c=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)),u=c?Math.min(c/2,t)/c:0,T=a[0]+(l[0]-a[0])*u,p=T,g=a[1]-(a[1]-l[1])*u,b=g,x=p-(p-a[0])*roundCorner,y=b-(b-a[1])*roundCorner,i.setTripleAt(p,b,x,y,T,g,m),m+=1,s===n-1?l=e.v[0]:l=e.v[s+1],c=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)),u=c?Math.min(c/2,t)/c:0,x=a[0]+(l[0]-a[0])*u,p=x,y=a[1]+(l[1]-a[1])*u,b=y,T=p-(p-a[0])*roundCorner,g=b-(b-a[1])*roundCorner,i.setTripleAt(p,b,x,y,T,g,m),m+=1):(i.setTripleAt(e.v[s][0],e.v[s][1],e.o[s][0],e.o[s][1],e.i[s][0],e.i[s][1],m),m+=1);return i},RoundCornersModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.rd.v;if(o!==0){var f,l;for(i=0;i<s;i+=1){if(f=this.shapes[i],l=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),f.shape._mdf=!0,t=f.shape.paths.shapes,a=f.shape.paths._length,n=0;n<a;n+=1)l.addShape(this.processPath(t[n],o));f.shape.paths=f.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,t){return Math.abs(e-t)*1e5<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,i){return e*(1-i)+t*i}function lerpPoint(e,t,i){return[lerp(e[0],t[0],i),lerp(e[1],t[1],i)]}function quadRoots(e,t,i){if(e===0)return[];var s=t*t-4*e*i;if(s<0)return[];var n=-t/(2*e);if(s===0)return[n];var a=Math.sqrt(s)/(2*e);return[n-a,n+a]}function polynomialCoefficients(e,t,i,s){return[-e+3*t-3*i+s,3*e-6*t+3*i,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,i,s,n){n&&pointEqual(e,t)&&(t=lerpPoint(e,s,1/3)),n&&pointEqual(i,s)&&(i=lerpPoint(e,s,2/3));var a=polynomialCoefficients(e[0],t[0],i[0],s[0]),o=polynomialCoefficients(e[1],t[1],i[1],s[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[3]],this.points=[e,t,i,s]}PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,i=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(i<0)return[];var s=Math.sqrt(i);return floatZero(s)?s>0&&s<1?[t]:[]:[t-s,t+s].filter(function(n){return n>0&&n<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),i=lerpPoint(this.points[1],this.points[2],e),s=lerpPoint(this.points[2],this.points[3],e),n=lerpPoint(t,i,e),a=lerpPoint(i,s,e),o=lerpPoint(n,a,e);return[new PolynomialBezier(this.points[0],t,n,o,!0),new PolynomialBezier(o,a,s,this.points[3],!0)]};function extrema(e,t){var i=e.points[0][t],s=e.points[e.points.length-1][t];if(i>s){var n=s;s=i,i=n}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var f=e.point(a[o])[t];f<i?i=f:f>s&&(s=f)}return{min:i,max:s}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,i){var s=e.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:e,t:(t+i)/2,t1:t,t2:i}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2<e.width+t.width&&Math.abs(e.cy-t.cy)*2<e.height+t.height}function intersectsImpl(e,t,i,s,n,a){if(boxIntersect(e,t)){if(i>=a||e.width<=s&&e.height<=s&&t.width<=s&&t.height<=s){n.push([e.t,t.t]);return}var o=splitData(e),f=splitData(t);intersectsImpl(o[0],f[0],i+1,s,n,a),intersectsImpl(o[0],f[1],i+1,s,n,a),intersectsImpl(o[1],f[0],i+1,s,n,a),intersectsImpl(o[1],f[1],i+1,s,n,a)}}PolynomialBezier.prototype.intersections=function(e,t,i){t===void 0&&(t=2),i===void 0&&(i=7);var s=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,s,i),s},PolynomialBezier.shapeSegment=function(e,t){var i=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[i],e.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var i=(t+1)%e.length();return new PolynomialBezier(e.v[i],e.i[i],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,i,s){var n=[e[0],e[1],1],a=[t[0],t[1],1],o=[i[0],i[1],1],f=[s[0],s[1],1],l=crossProduct(crossProduct(n,a),crossProduct(o,f));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,i){return[e[0]+Math.cos(t)*i,e[1]-Math.sin(t)*i]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,i,s,n,a,o){var f=i-Math.PI/2,l=i+Math.PI/2,c=t[0]+Math.cos(i)*s*n,u=t[1]-Math.sin(i)*s*n;e.setTripleAt(c,u,c+Math.cos(f)*a,u-Math.sin(f)*a,c+Math.cos(l)*o,u-Math.sin(l)*o,e.length())}function getPerpendicularVector(e,t){var i=[t[0]-e[0],t[1]-e[1]],s=-Math.PI*.5,n=[Math.cos(s)*i[0]-Math.sin(s)*i[1],Math.sin(s)*i[0]+Math.cos(s)*i[1]];return n}function getProjectingAngle(e,t){var i=t===0?e.length()-1:t-1,s=(t+1)%e.length(),n=e.v[i],a=e.v[s],o=getPerpendicularVector(n,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(e,t,i,s,n,a,o){var f=getProjectingAngle(t,i),l=t.v[i%t._length],c=t.v[i===0?t._length-1:i-1],u=t.v[(i+1)%t._length],m=a===2?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,p=a===2?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0;setPoint(e,t.v[i%t._length],f,o,s,p/((n+1)*2),m/((n+1)*2))}function zigZagSegment(e,t,i,s,n,a){for(var o=0;o<s;o+=1){var f=(o+1)/(s+1),l=n===2?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,c=t.normalAngle(f),u=t.point(f);setPoint(e,u,c,a,i,l/((s+1)*2),l/((s+1)*2)),a=-a}return a}ZigZagModifier.prototype.processPath=function(e,t,i,s){var n=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(n-=1),n===0)return a;var o=-1,f=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,i,s,o);for(var l=0;l<n;l+=1)o=zigZagSegment(a,f,t,i,s,-o),l===n-1&&!e.c?f=null:f=PolynomialBezier.shapeSegment(e,(l+1)%n),zigZagCorner(a,e,l+1,t,i,s,o);return a},ZigZagModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.amplitude.v,f=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(o!==0){var c,u;for(i=0;i<s;i+=1){if(c=this.shapes[i],u=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,a=c.shape.paths._length,n=0;n<a;n+=1)u.addShape(this.processPath(t[n],o,f,l));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,i){var s=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,s,i),polarOffset(t,s,i)]}function offsetSegment(e,t){var i,s,n,a,o,f,l;l=linearOffset(e.points[0],e.points[1],t),i=l[0],s=l[1],l=linearOffset(e.points[1],e.points[2],t),n=l[0],a=l[1],l=linearOffset(e.points[2],e.points[3],t),o=l[0],f=l[1];var c=lineIntersection(i,s,n,a);c===null&&(c=s);var u=lineIntersection(o,f,n,a);return u===null&&(u=o),new PolynomialBezier(i,c,u,f)}function joinLines(e,t,i,s,n){var a=t.points[3],o=i.points[0];if(s===3||pointEqual(a,o))return a;if(s===2){var f=-t.tangentAngle(1),l=-i.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,f+Math.PI/2,100),o,polarOffset(o,f+Math.PI/2,100)),u=c?pointDistance(c,a):pointDistance(a,o)/2,m=polarOffset(a,f,2*u*roundCorner);return e.setXYAt(m[0],m[1],"o",e.length()-1),m=polarOffset(o,l,2*u*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],m[0],m[1],e.length()),o}var p=pointEqual(a,t.points[2])?t.points[0]:t.points[2],b=pointEqual(o,i.points[1])?i.points[3]:i.points[1],x=lineIntersection(p,a,o,b);return x&&pointDistance(x,a)<n?(e.setTripleAt(x[0],x[1],x[0],x[1],x[0],x[1],e.length()),x):a}function getIntersection(e,t){var i=e.intersections(t);return i.length&&floatEqual(i[0][0],1)&&i.shift(),i.length?i[0]:null}function pruneSegmentIntersection(e,t){var i=e.slice(),s=t.slice(),n=getIntersection(e[e.length-1],t[0]);return n&&(i[e.length-1]=e[e.length-1].split(n[0])[0],s[0]=t[0].split(n[1])[1]),e.length>1&&t.length>1&&(n=getIntersection(e[0],t[t.length-1]),n)?[[e[0].split(n[0])[0]],[t[t.length-1].split(n[1])[1]]]:[i,s]}function pruneIntersections(e){for(var t,i=1;i<e.length;i+=1)t=pruneSegmentIntersection(e[i-1],e[i]),e[i-1]=t[0],e[i]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var i=e.inflectionPoints(),s,n,a,o;if(i.length===0)return[offsetSegment(e,t)];if(i.length===1||floatEqual(i[1],1))return a=e.split(i[0]),s=a[0],n=a[1],[offsetSegment(s,t),offsetSegment(n,t)];a=e.split(i[0]),s=a[0];var f=(i[1]-i[0])/(1-i[0]);return a=a[1].split(f),o=a[0],n=a[1],[offsetSegment(s,t),offsetSegment(o,t),offsetSegment(n,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,i,s){var n=shapePool.newElement();n.c=e.c;var a=e.length();e.c||(a-=1);var o,f,l,c=[];for(o=0;o<a;o+=1)l=PolynomialBezier.shapeSegment(e,o),c.push(offsetSegmentSplit(l,t));if(!e.c)for(o=a-1;o>=0;o-=1)l=PolynomialBezier.shapeSegmentInverted(e,o),c.push(offsetSegmentSplit(l,t));c=pruneIntersections(c);var u=null,m=null;for(o=0;o<c.length;o+=1){var p=c[o];for(m&&(u=joinLines(n,m,p[0],i,s)),m=p[p.length-1],f=0;f<p.length;f+=1)l=p[f],u&&pointEqual(l.points[0],u)?n.setXYAt(l.points[1][0],l.points[1][1],"o",n.length()-1):n.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],n.length()),n.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],n.length()),u=l.points[3]}return c.length&&joinLines(n,m,c[0][0],i,s),n},OffsetPathModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.amount.v,f=this.miterLimit.v,l=this.lineJoin;if(o!==0){var c,u;for(i=0;i<s;i+=1){if(c=this.shapes[i],u=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,a=c.shape.paths._length,n=0;n<a;n+=1)u.addShape(this.processPath(t[n],o,l,f));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],i="normal",s="normal",n=t.length,a,o=0;o<n;o+=1)switch(a=t[o].toLowerCase(),a){case"italic":s="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break}return{style:s,weight:e.fWeight||i}}var FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var s=127988,n=917631,a=917601,o=917626,f=65039,l=8205,c=127462,u=127487,m=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function p(L){var _=L.split(","),S,M=_.length,I=[];for(S=0;S<M;S+=1)_[S]!=="sans-serif"&&_[S]!=="monospace"&&I.push(_[S]);return I.join(",")}function b(L,_){var S=createTag("span");S.setAttribute("aria-hidden",!0),S.style.fontFamily=_;var M=createTag("span");M.innerText="giItT1WQy@!-/#",S.style.position="absolute",S.style.left="-10000px",S.style.top="-10000px",S.style.fontSize="300px",S.style.fontVariant="normal",S.style.fontStyle="normal",S.style.fontWeight="normal",S.style.letterSpacing="0",S.appendChild(M),document.body.appendChild(S);var I=M.offsetWidth;return M.style.fontFamily=p(L)+", "+_,{node:M,w:I,parent:S}}function x(){var L,_=this.fonts.length,S,M,I=_;for(L=0;L<_;L+=1)this.fonts[L].loaded?I-=1:this.fonts[L].fOrigin==="n"||this.fonts[L].origin===0?this.fonts[L].loaded=!0:(S=this.fonts[L].monoCase.node,M=this.fonts[L].monoCase.w,S.offsetWidth!==M?(I-=1,this.fonts[L].loaded=!0):(S=this.fonts[L].sansCase.node,M=this.fonts[L].sansCase.w,S.offsetWidth!==M&&(I-=1,this.fonts[L].loaded=!0)),this.fonts[L].loaded&&(this.fonts[L].sansCase.parent.parentNode.removeChild(this.fonts[L].sansCase.parent),this.fonts[L].monoCase.parent.parentNode.removeChild(this.fonts[L].monoCase.parent)));I!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function y(L,_){var S=document.body&&_?"svg":"canvas",M,I=getFontProperties(L);if(S==="svg"){var k=createNS("text");k.style.fontSize="100px",k.setAttribute("font-family",L.fFamily),k.setAttribute("font-style",I.style),k.setAttribute("font-weight",I.weight),k.textContent="1",L.fClass?(k.style.fontFamily="inherit",k.setAttribute("class",L.fClass)):k.style.fontFamily=L.fFamily,_.appendChild(k),M=k}else{var G=new OffscreenCanvas(500,500).getContext("2d");G.font=I.style+" "+I.weight+" 100px "+L.fFamily,M=G}function U(K){return S==="svg"?(M.textContent=K,M.getComputedTextLength()):M.measureText(K).width}return{measureText:U}}function T(L,_){if(!L){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=L.list;return}if(!document.body){this.isLoaded=!0,L.list.forEach(function(ce){ce.helper=y(ce),ce.cache={}}),this.fonts=L.list;return}var S=L.list,M,I=S.length,k=I;for(M=0;M<I;M+=1){var G=!0,U,K;if(S[M].loaded=!1,S[M].monoCase=b(S[M].fFamily,"monospace"),S[M].sansCase=b(S[M].fFamily,"sans-serif"),!S[M].fPath)S[M].loaded=!0,k-=1;else if(S[M].fOrigin==="p"||S[M].origin===3){if(U=document.querySelectorAll('style[f-forigin="p"][f-family="'+S[M].fFamily+'"], style[f-origin="3"][f-family="'+S[M].fFamily+'"]'),U.length>0&&(G=!1),G){var J=createTag("style");J.setAttribute("f-forigin",S[M].fOrigin),J.setAttribute("f-origin",S[M].origin),J.setAttribute("f-family",S[M].fFamily),J.type="text/css",J.innerText="@font-face {font-family: "+S[M].fFamily+"; font-style: normal; src: url('"+S[M].fPath+"');}",_.appendChild(J)}}else if(S[M].fOrigin==="g"||S[M].origin===1){for(U=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),K=0;K<U.length;K+=1)U[K].href.indexOf(S[M].fPath)!==-1&&(G=!1);if(G){var re=createTag("link");re.setAttribute("f-forigin",S[M].fOrigin),re.setAttribute("f-origin",S[M].origin),re.type="text/css",re.rel="stylesheet",re.href=S[M].fPath,document.body.appendChild(re)}}else if(S[M].fOrigin==="t"||S[M].origin===2){for(U=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),K=0;K<U.length;K+=1)S[M].fPath===U[K].src&&(G=!1);if(G){var le=createTag("link");le.setAttribute("f-forigin",S[M].fOrigin),le.setAttribute("f-origin",S[M].origin),le.setAttribute("rel","stylesheet"),le.setAttribute("href",S[M].fPath),_.appendChild(le)}}S[M].helper=y(S[M],_),S[M].cache={},this.fonts.push(S[M])}k===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function g(L){if(L){this.chars||(this.chars=[]);var _,S=L.length,M,I=this.chars.length,k;for(_=0;_<S;_+=1){for(M=0,k=!1;M<I;)this.chars[M].style===L[_].style&&this.chars[M].fFamily===L[_].fFamily&&this.chars[M].ch===L[_].ch&&(k=!0),M+=1;k||(this.chars.push(L[_]),I+=1)}}}function C(L,_,S){for(var M=0,I=this.chars.length;M<I;){if(this.chars[M].ch===L&&this.chars[M].style===_&&this.chars[M].fFamily===S)return this.chars[M];M+=1}return(typeof L=="string"&&L.charCodeAt(0)!==13||!L)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",L,_,S)),t}function d(L,_,S){var M=this.getFontByName(_),I=L;if(!M.cache[I]){var k=M.helper;if(L===" "){var G=k.measureText("|"+L+"|"),U=k.measureText("||");M.cache[I]=(G-U)/100}else M.cache[I]=k.measureText(L)/100}return M.cache[I]*S}function P(L){for(var _=0,S=this.fonts.length;_<S;){if(this.fonts[_].fName===L)return this.fonts[_];_+=1}return this.fonts[0]}function A(L){var _=0,S=L.charCodeAt(0);if(S>=55296&&S<=56319){var M=L.charCodeAt(1);M>=56320&&M<=57343&&(_=(S-55296)*1024+M-56320+65536)}return _}function E(L,_){var S=L.toString(16)+_.toString(16);return m.indexOf(S)!==-1}function R(L){return L===l}function V(L){return L===f}function F(L){var _=A(L);return _>=c&&_<=u}function $(L){return F(L.substr(0,2))&&F(L.substr(2,2))}function Z(L){return i.indexOf(L)!==-1}function B(L,_){var S=A(L.substr(_,2));if(S!==s)return!1;var M=0;for(_+=2;M<5;){if(S=A(L.substr(_,2)),S<a||S>o)return!1;M+=1,_+=2}return A(L.substr(_,2))===n}function X(){this.isLoaded=!0}var q=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};q.isModifier=E,q.isZeroWidthJoiner=R,q.isFlagEmoji=$,q.isRegionalCode=F,q.isCombinedCharacter=Z,q.isRegionalFlag=B,q.isVariationSelector=V,q.BLACK_FLAG_CODE_POINT=s;var N={addChars:g,addFonts:T,getCharData:C,getFontByName:P,measureText:d,checkLoadedFonts:x,setIsLoaded:X};return q.prototype=N,q}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,i=this.renderableComponents.length;for(t=0;t<i;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function AngleEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function ColorEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,1,0,i)}function PointEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,1,0,i)}function LayerIndexEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function MaskIndexEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function CheckboxEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var i=e.ef||[];this.effectElements=[];var s,n=i.length,a;for(s=0;s<n;s+=1)a=new GroupEffect(i[s],t),this.effectElements.push(a)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var i,s=this.data.ef.length,n,a=this.data.ef;for(i=0;i<s;i+=1){switch(n=null,a[i].ty){case 0:n=new SliderEffect(a[i],t,this);break;case 1:n=new AngleEffect(a[i],t,this);break;case 2:n=new ColorEffect(a[i],t,this);break;case 3:n=new PointEffect(a[i],t,this);break;case 4:case 7:n=new CheckboxEffect(a[i],t,this);break;case 10:n=new LayerIndexEffect(a[i],t,this);break;case 11:n=new MaskIndexEffect(a[i],t,this);break;case 5:n=new EffectsManager(a[i],t);break;default:n=new NoValueEffect(a[i]);break}n&&this.effectElements.push(n)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,i=this.data.masksProperties.length;t<i;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var i=t("layer"),s=t("effects"),n=t("shape"),a=t("text"),o=t("comp");this.layerInterface=i(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var f=s.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(f),this.data.ty===0||this.data.xt?this.compInterface=o(this):this.data.ty===4?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=a(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),i=this.baseElement||this.layerElement;i.style["mix-blend-mode"]=t},initBaseData:function(t,i,s){this.globalData=i,this.comp=s,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,i){var s,n=this.dynamicProperties.length;for(s=0;s<n;s+=1)(i||this._isParent&&this.dynamicProperties[s].propType==="transform")&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(e,t,i){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,i)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(e,t,i){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,i),this._isPlaying=!1,this._canPlay=!1;var s=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(s),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,i=this.layers.length,s;for(this.completeLayers=!0,t=i-1;t>=0;t-=1)this.elements[t]||(s=this.layers[t],s.ip-s.st<=e-this.layers[t].st&&s.op-s.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,i=e.length,s,n=this.layers.length;for(t=0;t<i;t+=1)for(s=0;s<n;){if(this.layers[s].id===e[t].id){this.layers[s]=e[t];break}s+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,i){for(var s=this.elements,n=this.layers,a=0,o=n.length;a<o;)n[a].ind==t&&(!s[a]||s[a]===!0?(this.buildItem(a),this.addPendingElement(e)):(i.push(s[a]),s[a].setAsParent(),n[a].parent!==void 0?this.buildElementParenting(e,n[a].parent,i):e.setHierarchy(i))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,i=e.length;for(t=0;t<i;t+=1)if(e[t].xt){var s=this.createComp(e[t]);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},BaseRenderer.prototype.getElementById=function(e){var t,i=this.elements.length;for(t=0;t<i;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),i;if(typeof t=="number")i=this.elements[t];else{var s,n=this.elements.length;for(s=0;s<n;s+=1)if(this.elements[s].data.nm===t){i=this.elements[s];break}}return e.length===0?i:i.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,i=this.finalTransform.mat,s=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;s<n;){if(this.hierarchy[s].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}s+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,i.cloneFromProps(t),s=0;s<n;s+=1)i.multiply(this.hierarchy[s].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,i=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<i;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var s=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(s),t=1;t<i;t+=1){var n=this.localTransforms[t].matrix;s.multiply(n)}s.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var a=this.finalTransform.localOpacity;for(t=0;t<i;t+=1)a*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=a}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var i=0,s=t.length;for(i=0;i<s;i+=1)this.localTransforms.push(t[i])}}},globalToLocal:function(t){var i=[];i.push(this.finalTransform);for(var s=!0,n=this.comp;s;)n.finalTransform?(n.data.hasMask&&i.splice(0,0,n.finalTransform),n=n.comp):s=!1;var a,o=i.length,f;for(a=0;a<o;a+=1)f=i[a].mat.applyToPointArray(0,0,0),t=[t[0]-f[0],t[1]-f[1],0];return t},mHelper:new Matrix};function MaskElement(e,t,i){this.data=e,this.element=t,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,n,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,f=this.masksProperties,l=0,c=[],u,m,p=createElementID(),b,x,y,T,g="clipPath",C="clip-path";for(n=0;n<a;n+=1)if((f[n].mode!=="a"&&f[n].mode!=="n"||f[n].inv||f[n].o.k!==100||f[n].o.x)&&(g="mask",C="mask"),(f[n].mode==="s"||f[n].mode==="i")&&l===0?(b=createNS("rect"),b.setAttribute("fill","#ffffff"),b.setAttribute("width",this.element.comp.data.w||0),b.setAttribute("height",this.element.comp.data.h||0),c.push(b)):b=null,o=createNS("path"),f[n].mode==="n")this.viewData[n]={op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),elem:o,lastPath:""},s.appendChild(o);else{l+=1,o.setAttribute("fill",f[n].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var d;if(f[n].x.k!==0?(g="mask",C="mask",T=PropertyFactory.getProp(this.element,f[n].x,0,null,this.element),d=createElementID(),x=createNS("filter"),x.setAttribute("id",d),y=createNS("feMorphology"),y.setAttribute("operator","erode"),y.setAttribute("in","SourceGraphic"),y.setAttribute("radius","0"),x.appendChild(y),s.appendChild(x),o.setAttribute("stroke",f[n].mode==="s"?"#000000":"#ffffff")):(y=null,T=null),this.storedData[n]={elem:o,x:T,expan:y,lastPath:"",lastOperator:"",filterId:d,lastRadius:0},f[n].mode==="i"){m=c.length;var P=createNS("g");for(u=0;u<m;u+=1)P.appendChild(c[u]);var A=createNS("mask");A.setAttribute("mask-type","alpha"),A.setAttribute("id",p+"_"+l),A.appendChild(o),s.appendChild(A),P.setAttribute("mask","url("+getLocationHref()+"#"+p+"_"+l+")"),c.length=0,c.push(P)}else c.push(o);f[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),invRect:b},this.viewData[n].prop.k||this.drawPath(f[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(g),a=c.length,n=0;n<a;n+=1)this.maskElement.appendChild(c[n]);l>0&&(this.maskElement.setAttribute("id",p),this.element.maskedElement.setAttribute(C,"url("+getLocationHref()+"#"+p+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,i,s=this.masksProperties.length;for(i=0;i<s;i+=1)if((this.viewData[i].prop._mdf||e)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||e)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[i].invRect.setAttribute("transform",t.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||e))){var n=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[i].filterId+")")),n.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,t,i){var s=" M"+t.v[0][0]+","+t.v[0][1],n,a;for(a=t._length,n=1;n<a;n+=1)s+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&a>1&&(s+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),i.lastPath!==s){var o="";i.elem&&(t.c&&(o=e.inv?this.solidPath+s:s),i.elem.setAttribute("d",o)),i.lastPath=s}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=i;function t(s,n){var a=createNS("filter");return a.setAttribute("id",s),n!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function i(){var s=createNS("feColorMatrix");return s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),s}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,i="SourceGraphic",s=e.data.ef?e.data.ef.length:0,n=createElementID(),a=filtersFactory.createFilter(n,!0),o=0;this.filters=[];var f;for(t=0;t<s;t+=1){f=null;var l=e.data.ef[t].ty;if(registeredEffects$1[l]){var c=registeredEffects$1[l].effect;f=new c(a,e.effectsManager.effectElements[t],e,idPrefix+o,i),i=idPrefix+o,registeredEffects$1[l].countsAsEffect&&(o+=1)}f&&this.filters.push(f)}o&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+n+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var t,i=this.filters.length;for(t=0;t<i;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,i=this.filters.length,s=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&s.push(this.filters[t]);return s};function registerEffect$1(e,t,i){registeredEffects$1[e]={effect:t,countsAsEffect:i}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var i=createNS("g");i.setAttribute("id",this.layerId),i.appendChild(this.layerElement),t=i,this.globalData.defs.appendChild(i)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var s=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=createElementID();if(s.setAttribute("id",a),s.appendChild(n),this.globalData.defs.appendChild(s),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var i=this.layerId+"_"+t,s,n,a,o;if(t===1||t===3){var f=createNS("mask");f.setAttribute("id",i),f.setAttribute("mask-type",t===3?"luminance":"alpha"),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),f.appendChild(a),this.globalData.defs.appendChild(f),!featureSupport.maskType&&t===1&&(f.setAttribute("mask-type","luminance"),s=createElementID(),n=filtersFactory.createFilter(s),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),o.appendChild(a),f.appendChild(o),o.setAttribute("filter","url("+getLocationHref()+"#"+s+")"))}else if(t===2){var l=createNS("mask");l.setAttribute("id",i),l.setAttribute("mask-type","alpha");var c=createNS("g");l.appendChild(c),s=createElementID(),n=filtersFactory.createFilter(s);var u=createNS("feComponentTransfer");u.setAttribute("in","SourceGraphic"),n.appendChild(u);var m=createNS("feFuncA");m.setAttribute("type","table"),m.setAttribute("tableValues","1.0 0.0"),u.appendChild(m),this.globalData.defs.appendChild(n);var p=createNS("rect");p.setAttribute("width",this.comp.data.w),p.setAttribute("height",this.comp.data.h),p.setAttribute("x","0"),p.setAttribute("y","0"),p.setAttribute("fill","#ffffff"),p.setAttribute("opacity","0"),c.setAttribute("filter","url("+getLocationHref()+"#"+s+")"),c.appendChild(p),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),c.appendChild(a),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),c.appendChild(p),o.appendChild(this.layerElement),c.appendChild(o)),this.globalData.defs.appendChild(l)}this.matteMasks[t]=i}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(i,s,n){this.initFrame(),this.initBaseData(i,s,n),this.initTransform(i,s,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var i=this.baseElement||this.layerElement;i.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var i=this.baseElement||this.layerElement;i.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(e)],RenderableDOMElement)})();function IImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var i,s=this.shapeModifiers.length;for(i=0;i<s;i+=1)this.shapeModifiers[i].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var i=0,s=this.shapeModifiers.length;i<s;)if(this.shapeModifiers[i].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,i=this.shapes.length;for(t=0;t<i;t+=1)this.shapes[t].sh.reset();i=this.shapeModifiers.length;var s;for(t=i-1;t>=0&&(s=this.shapeModifiers[t].processShapes(this._isFirstFrame),!s);t-=1);}},searchProcessedElement:function(t){for(var i=this.processedElements,s=0,n=i.length;s<n;){if(i[s].elem===t)return i[s].pos;s+=1}return 0},addProcessedElement:function(t,i){for(var s=this.processedElements,n=s.length;n;)if(n-=1,s[n].elem===t){s[n].pos=i;return}s.push(new ProcessedElement(t,i))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,i){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=i,this.lvl=t,this._isAnimated=!!i.k;for(var s=0,n=e.length;s<n;){if(e[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,t,i,s){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(s);var n,a=t.length||0,o;for(n=0;n<a;n+=1)o=PropertyFactory.getProp(e,t[n].v,0,0,this),this.k=o.k||this.k,this.dataProps[n]={n:t[n].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),t=0;t<i;t+=1)this.dataProps[t].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=i}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=i}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(e,t,i){this.data=t,this.c=createTypedArray("uint8c",t.p*4);var s=t.k.k[0].s?t.k.k[0].s.length-t.p*4:t.k.k.length-t.p*4;this.o=createTypedArray("float32",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,t){for(var i=0,s=this.o.length/2,n;i<s;){if(n=Math.abs(e[i*4]-e[t*4+i*2]),n>.01)return!1;i+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,i=this.data.p*4,s,n;for(t=0;t<i;t+=1)s=t%4===0?100:255,n=Math.round(this.prop.v[t]*s),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=this.data.p*4;t<i;t+=1)s=t%2===0?100:1,n=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==n&&(this.o[t-this.data.p*4]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,i)}SVGGradientFillStyleData.prototype.initGradientData=function(e,t,i){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,t),this.setGradientOpacity(t,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var i=createElementID(),s=createNS(t.t===1?"linearGradient":"radialGradient");s.setAttribute("id",i),s.setAttribute("spreadMethod","pad"),s.setAttribute("gradientUnits","userSpaceOnUse");var n=[],a,o,f;for(f=t.g.p*4,o=0;o<f;o+=4)a=createNS("stop"),s.appendChild(a),n.push(a);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=s,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var i,s,n,a=createNS("mask"),o=createNS("path");a.appendChild(o);var f=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(e.t===1?"linearGradient":"radialGradient");c.setAttribute("id",f),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),n=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(s=e.g.p*4;s<n;s+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(i),u.push(i);o.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+f+")"),e.ty==="gs"&&(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&o.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=a,this.ost=u,this.maskId=l,t.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,i),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,i){this.transform={mProps:e,op:t,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,i,s,n){if(i===0)return"";var a=t.o,o=t.i,f=t.v,l,c=" M"+n.applyToPointStringified(f[0][0],f[0][1]);for(l=1;l<i;l+=1)c+=" C"+n.applyToPointStringified(a[l-1][0],a[l-1][1])+" "+n.applyToPointStringified(o[l][0],o[l][1])+" "+n.applyToPointStringified(f[l][0],f[l][1]);return s&&i&&(c+=" C"+n.applyToPointStringified(a[l-1][0],a[l-1][1])+" "+n.applyToPointStringified(o[0][0],o[0][1])+" "+n.applyToPointStringified(f[0][0],f[0][1]),c+="z"),c},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,i={createRenderFunction:s};function s(m){switch(m.ty){case"fl":return f;case"gf":return c;case"gs":return l;case"st":return u;case"sh":case"el":case"rc":case"sr":return o;case"tr":return n;case"no":return a;default:return null}}function n(m,p,b){(b||p.transform.op._mdf)&&p.transform.container.setAttribute("opacity",p.transform.op.v),(b||p.transform.mProps._mdf)&&p.transform.container.setAttribute("transform",p.transform.mProps.v.to2dCSS())}function a(){}function o(m,p,b){var x,y,T,g,C,d,P=p.styles.length,A=p.lvl,E,R,V,F;for(d=0;d<P;d+=1){if(g=p.sh._mdf||b,p.styles[d].lvl<A){for(R=t.reset(),V=A-p.styles[d].lvl,F=p.transformers.length-1;!g&&V>0;)g=p.transformers[F].mProps._mdf||g,V-=1,F-=1;if(g)for(V=A-p.styles[d].lvl,F=p.transformers.length-1;V>0;)R.multiply(p.transformers[F].mProps.v),V-=1,F-=1}else R=e;if(E=p.sh.paths,y=E._length,g){for(T="",x=0;x<y;x+=1)C=E.shapes[x],C&&C._length&&(T+=buildShapeString(C,C._length,C.c,R));p.caches[d]=T}else T=p.caches[d];p.styles[d].d+=m.hd===!0?"":T,p.styles[d]._mdf=g||p.styles[d]._mdf}}function f(m,p,b){var x=p.style;(p.c._mdf||b)&&x.pElem.setAttribute("fill","rgb("+bmFloor(p.c.v[0])+","+bmFloor(p.c.v[1])+","+bmFloor(p.c.v[2])+")"),(p.o._mdf||b)&&x.pElem.setAttribute("fill-opacity",p.o.v)}function l(m,p,b){c(m,p,b),u(m,p,b)}function c(m,p,b){var x=p.gf,y=p.g._hasOpacity,T=p.s.v,g=p.e.v;if(p.o._mdf||b){var C=m.ty==="gf"?"fill-opacity":"stroke-opacity";p.style.pElem.setAttribute(C,p.o.v)}if(p.s._mdf||b){var d=m.t===1?"x1":"cx",P=d==="x1"?"y1":"cy";x.setAttribute(d,T[0]),x.setAttribute(P,T[1]),y&&!p.g._collapsable&&(p.of.setAttribute(d,T[0]),p.of.setAttribute(P,T[1]))}var A,E,R,V;if(p.g._cmdf||b){A=p.cst;var F=p.g.c;for(R=A.length,E=0;E<R;E+=1)V=A[E],V.setAttribute("offset",F[E*4]+"%"),V.setAttribute("stop-color","rgb("+F[E*4+1]+","+F[E*4+2]+","+F[E*4+3]+")")}if(y&&(p.g._omdf||b)){var $=p.g.o;for(p.g._collapsable?A=p.cst:A=p.ost,R=A.length,E=0;E<R;E+=1)V=A[E],p.g._collapsable||V.setAttribute("offset",$[E*2]+"%"),V.setAttribute("stop-opacity",$[E*2+1])}if(m.t===1)(p.e._mdf||b)&&(x.setAttribute("x2",g[0]),x.setAttribute("y2",g[1]),y&&!p.g._collapsable&&(p.of.setAttribute("x2",g[0]),p.of.setAttribute("y2",g[1])));else{var Z;if((p.s._mdf||p.e._mdf||b)&&(Z=Math.sqrt(Math.pow(T[0]-g[0],2)+Math.pow(T[1]-g[1],2)),x.setAttribute("r",Z),y&&!p.g._collapsable&&p.of.setAttribute("r",Z)),p.e._mdf||p.h._mdf||p.a._mdf||b){Z||(Z=Math.sqrt(Math.pow(T[0]-g[0],2)+Math.pow(T[1]-g[1],2)));var B=Math.atan2(g[1]-T[1],g[0]-T[0]),X=p.h.v;X>=1?X=.99:X<=-1&&(X=-.99);var q=Z*X,N=Math.cos(B+p.a.v)*q+T[0],L=Math.sin(B+p.a.v)*q+T[1];x.setAttribute("fx",N),x.setAttribute("fy",L),y&&!p.g._collapsable&&(p.of.setAttribute("fx",N),p.of.setAttribute("fy",L))}}}function u(m,p,b){var x=p.style,y=p.d;y&&(y._mdf||b)&&y.dashStr&&(x.pElem.setAttribute("stroke-dasharray",y.dashStr),x.pElem.setAttribute("stroke-dashoffset",y.dashoffset[0])),p.c&&(p.c._mdf||b)&&x.pElem.setAttribute("stroke","rgb("+bmFloor(p.c.v[0])+","+bmFloor(p.c.v[1])+","+bmFloor(p.c.v[2])+")"),(p.o._mdf||b)&&x.pElem.setAttribute("stroke-opacity",p.o.v),(p.w._mdf||b)&&(x.pElem.setAttribute("stroke-width",p.w.v),x.msElem&&x.msElem.setAttribute("stroke-width",p.w.v))}return i}();function SVGShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,i),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t=this.shapes.length,i,s,n=this.stylesList.length,a,o=[],f=!1;for(s=0;s<n;s+=1){for(a=this.stylesList[s],f=!1,o.length=0,e=0;e<t;e+=1)i=this.shapes[e],i.styles.indexOf(a)!==-1&&(o.push(i),f=i._isAnimated||f);o.length>1&&f&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var i,s=new SVGStyleData(e,t),n=s.pElem;if(e.ty==="st")i=new SVGStrokeStyleData(this,e,s);else if(e.ty==="fl")i=new SVGFillStyleData(this,e,s);else if(e.ty==="gf"||e.ty==="gs"){var a=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new a(this,e,s),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),n.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else e.ty==="no"&&(i=new SVGNoStyleData(this,e,s));return(e.ty==="st"||e.ty==="gs")&&(n.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),n.setAttribute("fill-opacity","0"),e.lj===1&&n.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&n.setAttribute("fill-rule","evenodd"),e.ln&&n.setAttribute("id",e.ln),e.cl&&n.setAttribute("class",e.cl),e.bm&&(n.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(s),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var i=TransformPropertyFactory.getTransformProperty(this,e,this),s=new SVGTransformData(i,i.o,t);return this.addToAnimatedContents(e,s),s},SVGShapeElement.prototype.createShapeElement=function(e,t,i){var s=4;e.ty==="rc"?s=5:e.ty==="el"?s=6:e.ty==="sr"&&(s=7);var n=ShapePropertyFactory.getShapeProp(this,e,s,this),a=new SVGShapeData(t,i,n);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===t)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].closed||t.push(this.stylesList[i])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,i,s,n,a,o){var f=[].concat(a),l,c=e.length-1,u,m,p=[],b=[],x,y,T;for(l=c;l>=0;l-=1){if(T=this.searchProcessedElement(e[l]),T?t[l]=i[T-1]:e[l]._render=o,e[l].ty==="fl"||e[l].ty==="st"||e[l].ty==="gf"||e[l].ty==="gs"||e[l].ty==="no")T?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],n),e[l]._render&&t[l].style.pElem.parentNode!==s&&s.appendChild(t[l].style.pElem),p.push(t[l].style);else if(e[l].ty==="gr"){if(!T)t[l]=this.createGroupElement(e[l]);else for(m=t[l].it.length,u=0;u<m;u+=1)t[l].prevViewData[u]=t[l].it[u];this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,n+1,f,o),e[l]._render&&t[l].gr.parentNode!==s&&s.appendChild(t[l].gr)}else e[l].ty==="tr"?(T||(t[l]=this.createTransformElement(e[l],s)),x=t[l].transform,f.push(x)):e[l].ty==="sh"||e[l].ty==="rc"||e[l].ty==="el"||e[l].ty==="sr"?(T||(t[l]=this.createShapeElement(e[l],f,n)),this.setElementStyles(t[l])):e[l].ty==="tm"||e[l].ty==="rd"||e[l].ty==="ms"||e[l].ty==="pb"||e[l].ty==="zz"||e[l].ty==="op"?(T?(y=t[l],y.closed=!1):(y=ShapeModifiers.getModifier(e[l].ty),y.init(this,e[l]),t[l]=y,this.shapeModifiers.push(y)),b.push(y)):e[l].ty==="rp"&&(T?(y=t[l],y.closed=!0):(y=ShapeModifiers.getModifier(e[l].ty),t[l]=y,y.init(this,e,l,t),this.shapeModifiers.push(y),o=!1),b.push(y));this.addProcessedElement(e[l],l+1)}for(c=p.length,l=0;l<c;l+=1)p[l].closed=!0;for(c=b.length,l=0;l<c;l+=1)b[l].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,i;for(e=0;e<t;e+=1)i=this.animatedContents[e],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,t,i,s,n,a){this.o=e,this.sw=t,this.sc=i,this.fc=s,this.m=n,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!i,fc:!!s,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,i,s,n,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var o=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,o=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,o=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,o=!0),this.fc!==s&&(this.fc=s,this._mdf.fc=!0,o=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,o=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,o=!0),o};function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var s,n=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(s=0;s<n;s+=1)i!==this.keysIndex?a=this.effectsSequence[s](a,a.t):a=this.effectsSequence[s](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,i=0,s=e.length;i<=s-1&&!(i===s-1||e[i+1].t>t);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],i=0,s=e.length,n,a,o=!1,f=!1,l="";i<s;)o=f,f=!1,n=e.charCodeAt(i),l=e.charAt(i),FontManager.isCombinedCharacter(n)?o=!0:n>=55296&&n<=56319?FontManager.isRegionalFlag(e,i)?l=e.substr(i,14):(a=e.charCodeAt(i+1),a>=56320&&a<=57343&&(FontManager.isModifier(n,a)?(l=e.substr(i,2),o=!0):FontManager.isFlagEmoji(e.substr(i,4))?l=e.substr(i,4):l=e.substr(i,2))):n>56319?(a=e.charCodeAt(i+1),FontManager.isVariationSelector(n)&&(o=!0)):FontManager.isZeroWidthJoiner(n)&&(o=!0,f=!0),o?(t[t.length-1]+=l,o=!1):t.push(l),i+=l.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,i=this.data,s=[],n,a,o,f=0,l,c=i.m.g,u=0,m=0,p=0,b=[],x=0,y=0,T,g,C=t.getFontByName(e.f),d,P=0,A=getFontProperties(C);e.fWeight=A.weight,e.fStyle=A.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var E=e.tr/1e3*e.finalSize,R;if(e.sz)for(var V=!0,F=e.sz[0],$=e.sz[1],Z,B;V;){B=this.buildFinalText(e.t),Z=0,x=0,a=B.length,E=e.tr/1e3*e.finalSize;var X=-1;for(n=0;n<a;n+=1)R=B[n].charCodeAt(0),o=!1,B[n]===" "?X=n:(R===13||R===3)&&(x=0,o=!0,Z+=e.finalLineHeight||e.finalSize*1.2),t.chars?(d=t.getCharData(B[n],C.fStyle,C.fFamily),P=o?0:d.w*e.finalSize/100):P=t.measureText(B[n],e.f,e.finalSize),x+P>F&&B[n]!==" "?(X===-1?a+=1:n=X,Z+=e.finalLineHeight||e.finalSize*1.2,B.splice(n,X===n?1:0,"\r"),X=-1,x=0):(x+=P,x+=E);Z+=C.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&$<Z?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=B,a=e.finalText.length,V=!1)}x=-E,P=0;var q=0,N;for(n=0;n<a;n+=1)if(o=!1,N=e.finalText[n],R=N.charCodeAt(0),R===13||R===3?(q=0,b.push(x),y=x>y?x:y,x=-2*E,l="",o=!0,p+=1):l=N,t.chars?(d=t.getCharData(N,C.fStyle,t.getFontByName(e.f).fFamily),P=o?0:d.w*e.finalSize/100):P=t.measureText(l,e.f,e.finalSize),N===" "?q+=P+E:(x+=P+E+q,q=0),s.push({l:P,an:P,add:u,n:o,anIndexes:[],val:l,line:p,animatorJustifyOffset:0}),c==2){if(u+=P,l===""||l===" "||n===a-1){for((l===""||l===" ")&&(u-=P);m<=n;)s[m].an=u,s[m].ind=f,s[m].extra=P,m+=1;f+=1,u=0}}else if(c==3){if(u+=P,l===""||n===a-1){for(l===""&&(u-=P);m<=n;)s[m].an=u,s[m].ind=f,s[m].extra=P,m+=1;u=0,f+=1}}else s[f].ind=f,s[f].extra=0,f+=1;if(e.l=s,y=x>y?x:y,b.push(x),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=y,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=b;var L=i.a,_,S;g=L.length;var M,I,k=[];for(T=0;T<g;T+=1){for(_=L[T],_.a.sc&&(e.strokeColorAnim=!0),_.a.sw&&(e.strokeWidthAnim=!0),(_.a.fc||_.a.fh||_.a.fs||_.a.fb)&&(e.fillColorAnim=!0),I=0,M=_.s.b,n=0;n<a;n+=1)S=s[n],S.anIndexes[T]=I,(M==1&&S.val!==""||M==2&&S.val!==""&&S.val!==" "||M==3&&(S.n||S.val==" "||n==a-1)||M==4&&(S.n||n==a-1))&&(_.s.rn===1&&k.push(I),I+=1);i.a[T].s.totalChars=I;var G=-1,U;if(_.s.rn===1)for(n=0;n<a;n+=1)S=s[n],G!=S.anIndexes[T]&&(G=S.anIndexes[T],U=k.splice(Math.floor(Math.random()*k.length),1)[0]),S.anIndexes[T]=U}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=C.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var i=this.copyData({},this.data.d.k[t].s);i=this.copyData(i,e),this.data.d.k[t].s=i,this.recalculate(t),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,i=Math.floor;function s(a,o){this._currentTextLength=-1,this.k=!1,this.data=o,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,o.s||{k:0},0,0,this),"e"in o?this.e=PropertyFactory.getProp(a,o.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,o.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,o.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,o.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,o.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,o.a,0,.01,this),this.dynamicProperties.length||this.getValue()}s.prototype={getMult:function(o){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var f=0,l=0,c=1,u=1;this.ne.v>0?f=this.ne.v/100:l=-this.ne.v/100,this.xe.v>0?c=1-this.xe.v/100:u=1+this.xe.v/100;var m=BezierFactory.getBezierEasing(f,l,c,u).get,p=0,b=this.finalS,x=this.finalE,y=this.data.sh;if(y===2)x===b?p=o>=x?1:0:p=e(0,t(.5/(x-b)+(o-b)/(x-b),1)),p=m(p);else if(y===3)x===b?p=o>=x?0:1:p=1-e(0,t(.5/(x-b)+(o-b)/(x-b),1)),p=m(p);else if(y===4)x===b?p=0:(p=e(0,t(.5/(x-b)+(o-b)/(x-b),1)),p<.5?p*=2:p=1-2*(p-.5)),p=m(p);else if(y===5){if(x===b)p=0;else{var T=x-b;o=t(e(0,o+.5-b),x-b);var g=-T/2+o,C=T/2;p=Math.sqrt(1-g*g/(C*C))}p=m(p)}else y===6?(x===b?p=0:(o=t(e(0,o+.5-b),x-b),p=(1+Math.cos(Math.PI+Math.PI*2*o/(x-b)))/2),p=m(p)):(o>=i(b)&&(o-b<0?p=e(0,t(t(x,1)-(b-o),1)):p=e(0,t(x-o,1))),p=m(p));if(this.sm.v!==100){var d=this.sm.v*.01;d===0&&(d=1e-8);var P=.5-d*.5;p<P?p=0:(p=(p-P)/d,p>1&&(p=1))}return p*this.a.v},getValue:function(o){this.iterateDynamicProperties(),this._mdf=o||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,o&&this.data.r===2&&(this.e.v=this._currentTextLength);var f=this.data.r===2?1:100/this.data.totalChars,l=this.o.v/f,c=this.s.v/f+l,u=this.e.v/f+l;if(c>u){var m=c;c=u,u=m}this.finalS=c,this.finalE=u}},extendPrototype([DynamicPropertyContainer],s);function n(a,o,f){return new s(a,o)}return{getTextSelectorProp:n}}();function TextAnimatorDataProperty(e,t,i){var s={propType:!1},n=PropertyFactory.getProp,a=t.a;this.a={r:a.r?n(e,a.r,0,degToRads,i):s,rx:a.rx?n(e,a.rx,0,degToRads,i):s,ry:a.ry?n(e,a.ry,0,degToRads,i):s,sk:a.sk?n(e,a.sk,0,degToRads,i):s,sa:a.sa?n(e,a.sa,0,degToRads,i):s,s:a.s?n(e,a.s,1,.01,i):s,a:a.a?n(e,a.a,1,0,i):s,o:a.o?n(e,a.o,0,.01,i):s,p:a.p?n(e,a.p,1,0,i):s,sw:a.sw?n(e,a.sw,0,0,i):s,sc:a.sc?n(e,a.sc,1,0,i):s,fc:a.fc?n(e,a.fc,1,0,i):s,fh:a.fh?n(e,a.fh,0,0,i):s,fs:a.fs?n(e,a.fs,0,.01,i):s,fb:a.fb?n(e,a.fb,0,.01,i):s,t:a.t?n(e,a.t,0,0,i):s},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,i),this.s.t=t.s.t}function TextAnimatorProperty(e,t,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,i,s=PropertyFactory.getProp;for(e=0;e<t;e+=1)i=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:s(this._elem,this._textData.p.a,0,0,this),f:s(this._elem,this._textData.p.f,0,0,this),l:s(this._elem,this._textData.p.l,0,0,this),r:s(this._elem,this._textData.p.r,0,0,this),p:s(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=s(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,s=this._animatorsData,n=this._textData,a=this.mHelper,o=this._renderType,f=this.renderedLetters.length,l,c,u,m,p=e.l,b,x,y,T,g,C,d,P,A,E,R,V,F,$,Z;if(this._hasMaskedPath){if(Z=this._pathData.m,!this._pathData.n||this._pathData._mdf){var B=Z.v;this._pathData.r.v&&(B=B.reverse()),b={tLength:0,segments:[]},m=B._length-1;var X;for(V=0,u=0;u<m;u+=1)X=bez.buildBezierData(B.v[u],B.v[u+1],[B.o[u][0]-B.v[u][0],B.o[u][1]-B.v[u][1]],[B.i[u+1][0]-B.v[u+1][0],B.i[u+1][1]-B.v[u+1][1]]),b.tLength+=X.segmentLength,b.segments.push(X),V+=X.segmentLength;u=m,Z.v.c&&(X=bez.buildBezierData(B.v[u],B.v[0],[B.o[u][0]-B.v[u][0],B.o[u][1]-B.v[u][1]],[B.i[0][0]-B.v[0][0],B.i[0][1]-B.v[0][1]]),b.tLength+=X.segmentLength,b.segments.push(X),V+=X.segmentLength),this._pathData.pi=b}if(b=this._pathData.pi,x=this._pathData.f.v,d=0,C=1,T=0,g=!0,E=b.segments,x<0&&Z.v.c)for(b.tLength<Math.abs(x)&&(x=-Math.abs(x)%b.tLength),d=E.length-1,A=E[d].points,C=A.length-1;x<0;)x+=A[C].partialLength,C-=1,C<0&&(d-=1,A=E[d].points,C=A.length-1);A=E[d].points,P=A[C-1],y=A[C],R=y.partialLength}m=p.length,l=0,c=0;var q=e.finalSize*1.2*.714,N=!0,L,_,S,M,I;M=s.length;var k,G=-1,U,K,J,re=x,le=d,ce=C,pe=-1,ue,se,oe,te,Y,Te,Ee,Se,ye="",be=this.defaultPropsArray,Pe;if(e.j===2||e.j===1){var me=0,Ce=0,Le=e.j===2?-.5:-1,xe=0,Me=!0;for(u=0;u<m;u+=1)if(p[u].n){for(me&&(me+=Ce);xe<u;)p[xe].animatorJustifyOffset=me,xe+=1;me=0,Me=!0}else{for(S=0;S<M;S+=1)L=s[S].a,L.t.propType&&(Me&&e.j===2&&(Ce+=L.t.v*Le),_=s[S].s,k=_.getMult(p[u].anIndexes[S],n.a[S].s.totalChars),k.length?me+=L.t.v*k[0]*Le:me+=L.t.v*k*Le);Me=!1}for(me&&(me+=Ce);xe<u;)p[xe].animatorJustifyOffset=me,xe+=1}for(u=0;u<m;u+=1){if(a.reset(),ue=1,p[u].n)l=0,c+=e.yOffset,c+=N?1:0,x=re,N=!1,this._hasMaskedPath&&(d=le,C=ce,A=E[d].points,P=A[C-1],y=A[C],R=y.partialLength,T=0),ye="",Se="",Te="",Pe="",be=this.defaultPropsArray;else{if(this._hasMaskedPath){if(pe!==p[u].line){switch(e.j){case 1:x+=V-e.lineWidths[p[u].line];break;case 2:x+=(V-e.lineWidths[p[u].line])/2;break}pe=p[u].line}G!==p[u].ind&&(p[G]&&(x+=p[G].extra),x+=p[u].an/2,G=p[u].ind),x+=i[0]*p[u].an*.005;var we=0;for(S=0;S<M;S+=1)L=s[S].a,L.p.propType&&(_=s[S].s,k=_.getMult(p[u].anIndexes[S],n.a[S].s.totalChars),k.length?we+=L.p.v[0]*k[0]:we+=L.p.v[0]*k),L.a.propType&&(_=s[S].s,k=_.getMult(p[u].anIndexes[S],n.a[S].s.totalChars),k.length?we+=L.a.v[0]*k[0]:we+=L.a.v[0]*k);for(g=!0,this._pathData.a.v&&(x=p[0].an*.5+(V-this._pathData.f.v-p[0].an*.5-p[p.length-1].an*.5)*G/(m-1),x+=this._pathData.f.v);g;)T+R>=x+we||!A?(F=(x+we-T)/y.partialLength,K=P.point[0]+(y.point[0]-P.point[0])*F,J=P.point[1]+(y.point[1]-P.point[1])*F,a.translate(-i[0]*p[u].an*.005,-(i[1]*q)*.01),g=!1):A&&(T+=y.partialLength,C+=1,C>=A.length&&(C=0,d+=1,E[d]?A=E[d].points:Z.v.c?(C=0,d=0,A=E[d].points):(T-=y.partialLength,A=null)),A&&(P=y,y=A[C],R=y.partialLength));U=p[u].an/2-p[u].add,a.translate(-U,0,0)}else U=p[u].an/2-p[u].add,a.translate(-U,0,0),a.translate(-i[0]*p[u].an*.005,-i[1]*q*.01,0);for(S=0;S<M;S+=1)L=s[S].a,L.t.propType&&(_=s[S].s,k=_.getMult(p[u].anIndexes[S],n.a[S].s.totalChars),(l!==0||e.j!==0)&&(this._hasMaskedPath?k.length?x+=L.t.v*k[0]:x+=L.t.v*k:k.length?l+=L.t.v*k[0]:l+=L.t.v*k));for(e.strokeWidthAnim&&(oe=e.sw||0),e.strokeColorAnim&&(e.sc?se=[e.sc[0],e.sc[1],e.sc[2]]:se=[0,0,0]),e.fillColorAnim&&e.fc&&(te=[e.fc[0],e.fc[1],e.fc[2]]),S=0;S<M;S+=1)L=s[S].a,L.a.propType&&(_=s[S].s,k=_.getMult(p[u].anIndexes[S],n.a[S].s.totalChars),k.length?a.translate(-L.a.v[0]*k[0],-L.a.v[1]*k[1],L.a.v[2]*k[2]):a.translate(-L.a.v[0]*k,-L.a.v[1]*k,L.a.v[2]*k));for(S=0;S<M;S+=1)L=s[S].a,L.s.propType&&(_=s[S].s,k=_.getMult(p[u].anIndexes[S],n.a[S].s.totalChars),k.length?a.scale(1+(L.s.v[0]-1)*k[0],1+(L.s.v[1]-1)*k[1],1):a.scale(1+(L.s.v[0]-1)*k,1+(L.s.v[1]-1)*k,1));for(S=0;S<M;S+=1){if(L=s[S].a,_=s[S].s,k=_.getMult(p[u].anIndexes[S],n.a[S].s.totalChars),L.sk.propType&&(k.length?a.skewFromAxis(-L.sk.v*k[0],L.sa.v*k[1]):a.skewFromAxis(-L.sk.v*k,L.sa.v*k)),L.r.propType&&(k.length?a.rotateZ(-L.r.v*k[2]):a.rotateZ(-L.r.v*k)),L.ry.propType&&(k.length?a.rotateY(L.ry.v*k[1]):a.rotateY(L.ry.v*k)),L.rx.propType&&(k.length?a.rotateX(L.rx.v*k[0]):a.rotateX(L.rx.v*k)),L.o.propType&&(k.length?ue+=(L.o.v*k[0]-ue)*k[0]:ue+=(L.o.v*k-ue)*k),e.strokeWidthAnim&&L.sw.propType&&(k.length?oe+=L.sw.v*k[0]:oe+=L.sw.v*k),e.strokeColorAnim&&L.sc.propType)for(Y=0;Y<3;Y+=1)k.length?se[Y]+=(L.sc.v[Y]-se[Y])*k[0]:se[Y]+=(L.sc.v[Y]-se[Y])*k;if(e.fillColorAnim&&e.fc){if(L.fc.propType)for(Y=0;Y<3;Y+=1)k.length?te[Y]+=(L.fc.v[Y]-te[Y])*k[0]:te[Y]+=(L.fc.v[Y]-te[Y])*k;L.fh.propType&&(k.length?te=addHueToRGB(te,L.fh.v*k[0]):te=addHueToRGB(te,L.fh.v*k)),L.fs.propType&&(k.length?te=addSaturationToRGB(te,L.fs.v*k[0]):te=addSaturationToRGB(te,L.fs.v*k)),L.fb.propType&&(k.length?te=addBrightnessToRGB(te,L.fb.v*k[0]):te=addBrightnessToRGB(te,L.fb.v*k))}}for(S=0;S<M;S+=1)L=s[S].a,L.p.propType&&(_=s[S].s,k=_.getMult(p[u].anIndexes[S],n.a[S].s.totalChars),this._hasMaskedPath?k.length?a.translate(0,L.p.v[1]*k[0],-L.p.v[2]*k[1]):a.translate(0,L.p.v[1]*k,-L.p.v[2]*k):k.length?a.translate(L.p.v[0]*k[0],L.p.v[1]*k[1],-L.p.v[2]*k[2]):a.translate(L.p.v[0]*k,L.p.v[1]*k,-L.p.v[2]*k));if(e.strokeWidthAnim&&(Te=oe<0?0:oe),e.strokeColorAnim&&(Ee="rgb("+Math.round(se[0]*255)+","+Math.round(se[1]*255)+","+Math.round(se[2]*255)+")"),e.fillColorAnim&&e.fc&&(Se="rgb("+Math.round(te[0]*255)+","+Math.round(te[1]*255)+","+Math.round(te[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-e.ls),a.translate(0,i[1]*q*.01+c,0),this._pathData.p.v){$=(y.point[1]-P.point[1])/(y.point[0]-P.point[0]);var Ae=Math.atan($)*180/Math.PI;y.point[0]<P.point[0]&&(Ae+=180),a.rotate(-Ae*Math.PI/180)}a.translate(K,J,0),x-=i[0]*p[u].an*.005,p[u+1]&&G!==p[u+1].ind&&(x+=p[u].an/2,x+=e.tr*.001*e.finalSize)}else{switch(a.translate(l,c,0),e.ps&&a.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:a.translate(p[u].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[p[u].line]),0,0);break;case 2:a.translate(p[u].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[p[u].line])/2,0,0);break}a.translate(0,-e.ls),a.translate(U,0,0),a.translate(i[0]*p[u].an*.005,i[1]*q*.01,0),l+=p[u].l+e.tr*.001*e.finalSize}o==="html"?ye=a.toCSS():o==="svg"?ye=a.to2dCSS():be=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],Pe=ue}f<=u?(I=new LetterProps(Pe,Te,Ee,Se,ye,be),this.renderedLetters.push(I),f+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[u],this.lettersChangedFlag=I.update(Pe,Te,Ee,Se,ye,be)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(e,t,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,i),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var i,s=t.length,n,a="";for(i=0;i<s;i+=1)t[i].ty==="sh"&&(n=t[i].ks.k,a+=buildShapeString(n,n.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,i,s,n){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[i]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[i])/2,0,0);break}t.translate(s,n,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,i){this.textSpans=[],this.renderType="svg",this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,i=e.length,s=[],n="";t<i;)e[t]==="\r"||e[t]===""?(s.push(n),n=""):n+=e[t],t+=1;return s.push(n),s},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var i=e.shapes[0];if(i.it){var s=i.it[i.it.length-1];s.s&&(s.s.k[0]=t,s.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,t,i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var s=this.globalData.fontManager.getFontByName(i.f);if(s.fClass)this.layerElement.setAttribute("class",s.fClass);else{this.layerElement.setAttribute("font-family",s.fFamily);var n=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",i.t);var o=i.l||[],f=!!this.globalData.fontManager.chars;t=o.length;var l,c=this.mHelper,u="",m=this.data.singleShape,p=0,b=0,x=!0,y=i.tr*.001*i.finalSize;if(m&&!f&&!i.sz){var T=this.textContainer,g="start";switch(i.j){case 1:g="end";break;case 2:g="middle";break;default:g="start";break}T.setAttribute("text-anchor",g),T.setAttribute("letter-spacing",y);var C=this.buildTextContents(i.finalText);for(t=C.length,b=i.ps?i.ps[1]+i.ascent:0,e=0;e<t;e+=1)l=this.textSpans[e].span||createNS("tspan"),l.textContent=C[e],l.setAttribute("x",0),l.setAttribute("y",b),l.style.display="inherit",T.appendChild(l),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=l,b+=i.finalLineHeight;this.layerElement.appendChild(T)}else{var d=this.textSpans.length,P;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!f||!m||e===0){if(l=d>e?this.textSpans[e].span:createNS(f?"g":"text"),d<=e){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=l,f){var A=createNS("g");l.appendChild(A),this.textSpans[e].childSpan=A}this.textSpans[e].span=l,this.layerElement.appendChild(l)}l.style.display="inherit"}if(c.reset(),m&&(o[e].n&&(p=-y,b+=i.yOffset,b+=x?1:0,x=!1),this.applyTextPropertiesToMatrix(i,c,o[e].line,p,b),p+=o[e].l||0,p+=y),f){P=this.globalData.fontManager.getCharData(i.finalText[e],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var E;if(P.t===1)E=new SVGCompElement(P.data,this.globalData,this);else{var R=emptyShapeData;P.data&&P.data.shapes&&(R=this.buildShapeData(P.data,i.finalSize)),E=new SVGShapeElement(R,this.globalData,this)}if(this.textSpans[e].glyph){var V=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(V.layerElement),V.destroy()}this.textSpans[e].glyph=E,E._debug=!0,E.prepareFrame(0),E.renderFrame(),this.textSpans[e].childSpan.appendChild(E.layerElement),P.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else m&&l.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),l.textContent=o[e].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}m&&l&&l.setAttribute("d",u)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<t;e+=1)i=this.textSpans[e].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,t,i=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;t=s.length;var n,a,o;for(e=0;e<t;e+=1)s[e].n||(n=i[e],a=this.textSpans[e].span,o=this.textSpans[e].glyph,o&&o.renderFrame(),n._mdf.m&&a.setAttribute("transform",n.m),n._mdf.o&&a.setAttribute("opacity",n.o),n._mdf.sw&&a.setAttribute("stroke-width",n.sw),n._mdf.sc&&a.setAttribute("stroke",n.sc),n._mdf.fc&&a.setAttribute("fill",n.fc))}};function ISolidElement(e,t,i){this.initElement(e,t,i)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initFrame(),this.initTransform(e,t,i),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var i=createNS("clipPath"),s=createNS("rect");s.setAttribute("width",e.w),s.setAttribute("height",e.h),s.setAttribute("x",0),s.setAttribute("y",0);var n=createElementID();i.setAttribute("id",n),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),t.appendChild(i),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,i=this.layers.length;for(t=0;t<i;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){t[e]=!0;var i=this.createItem(this.layers[e]);if(t[e]=i,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,e),this.layers[e].tt){var s="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(s===-1)return;if(!this.elements[s]||this.elements[s]===!0)this.buildItem(s),this.addPendingElement(i);else{var n=t[s],a=n.getMatte(this.layers[e].tt);i.setMatte(a)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,i=this.elements.length;t<i;){if(this.elements[t]===e){var s="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,n=this.elements[s],a=n.getMatte(this.layers[t].tt);e.setMatte(a);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,i=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=i-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<i;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var i=e.getBaseElement();if(i){for(var s=0,n;s<t;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement()&&(n=this.elements[s].getBaseElement()),s+=1;n?this.layerElement.insertBefore(i,n):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initTransform(e,t,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!t.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var i,s=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,t,i){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(t&&t.title){var s=createNS("title"),n=createElementID();s.setAttribute("id",n),s.textContent=t.title,this.svgElement.appendChild(s),i+=n}if(t&&t.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=t.description,this.svgElement.appendChild(a),i+=" "+o}i&&this.svgElement.setAttribute("aria-labelledby",i);var f=createNS("defs");this.svgElement.appendChild(f);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:f,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var i,s=t.length,n="_";for(i=0;i<s;i+=1)n+=t[i].transform.key+"_";var a=this.sequences[n];return a||(a={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=a,this.sequenceList.push(a)),a},processSequence:function(t,i){for(var s=0,n=t.transforms.length,a=i;s<n&&!i;){if(t.transforms[s].transform.mProps._mdf){a=!0;break}s+=1}if(a)for(t.finalTransform.reset(),s=n-1;s>=0;s-=1)t.finalTransform.multiply(t.transforms[s].transform.mProps.v);t._mdf=a},processSequences:function(t){var i,s=this.sequenceList.length;for(i=0;i<s;i+=1)this.processSequence(this.sequenceList[i],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",i=null,s=null,n=null;function a(){var l=createNS("svg"),c=createNS("filter"),u=createNS("feColorMatrix");return c.setAttribute("id",t),u.setAttribute("type","matrix"),u.setAttribute("color-interpolation-filters","sRGB"),u.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),c.appendChild(u),l.appendChild(c),l.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(l.style.display="none"),l}function o(){i||(n=a(),document.body.appendChild(n),i=createTag("canvas"),s=i.getContext("2d"),s.filter="url(#"+t+")",s.fillStyle="rgba(0,0,0,0)",s.fillRect(0,0,1,1))}function f(l){return i||o(),i.width=l.width,i.height=l.height,s.filter="url(#"+t+")",i}return{load:o,get:f}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var i=createTag("canvas");return i.width=e,i.height=t,i}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(e){var t,i=e.data.ef?e.data.ef.length:0;this.filters=[];var s;for(t=0;t<i;t+=1){s=null;var n=e.data.ef[t].ty;if(registeredEffects[n]){var a=registeredEffects[n].effect;s=new a(e.effectsManager.effectElements[t],e)}s&&this.filters.push(s)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var t,i=this.filters.length;for(t=0;t<i;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,i=this.filters.length,s=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&s.push(this.filters[t]);return s};function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i,s=this.masksProperties.length,n=!1;for(i=0;i<s;i+=1)this.masksProperties[i].mode!=="n"&&(n=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,i,s=this.masksProperties.length,n,a,o;for(t.beginPath(),i=0;i<s;i+=1)if(this.masksProperties[i].mode!=="n"){this.masksProperties[i].inv&&(t.moveTo(0,0),t.lineTo(this.element.globalData.compSize.w,0),t.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),t.lineTo(0,this.element.globalData.compSize.h),t.lineTo(0,0)),o=this.viewData[i].v,n=e.applyToPointArray(o.v[0][0],o.v[0][1],0),t.moveTo(n[0],n[1]);var f,l=o._length;for(f=1;f<l;f+=1)a=e.applyToTriplePoints(o.o[f-1],o.i[f],o.v[f]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=e.applyToTriplePoints(o.o[f-1],o.i[0],o.v[0]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),t.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i);var s=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(s),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var i=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=i}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],i=t.getContext("2d");this.clearCanvas(i),i.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],i=t.getContext("2d");this.clearCanvas(i),i.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var s=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(s.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=n.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var i=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(i),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(i),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(e,t,i,s){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n=4;t.ty==="rc"?n=5:t.ty==="el"?n=6:t.ty==="sr"&&(n=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,n,e);var a,o=i.length,f;for(a=0;a<o;a+=1)i[a].closed||(f={transforms:s.addTransformSequence(i[a].transforms),trNodes:[]},this.styledShapes.push(f),i[a].elements.push(f))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var i={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},s={};if(e.ty==="fl"||e.ty==="st"?(s.c=PropertyFactory.getProp(this,e.c,1,255,this),s.c.k||(i.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(s.s=PropertyFactory.getProp(this,e.s,1,null,this),s.e=PropertyFactory.getProp(this,e.e,1,null,this),s.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),s.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),s.g=new GradientProperty(this,e.g,this)),s.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(i.lc=lineCapEnum[e.lc||2],i.lj=lineJoinEnum[e.lj||2],e.lj==1&&(i.ml=e.ml),s.w=PropertyFactory.getProp(this,e.w,0,null,this),s.w.k||(i.wi=s.w.v),e.d){var n=new DashProperty(this,e.d,"canvas",this);s.d=n,s.d.k||(i.da=s.d.dashArray,i.do=s.d.dashoffset[0])}}else i.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(i),s.style=i,s},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var t={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return t},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,i=this.stylesList.length;for(t=0;t<i;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,i,s,n){var a,o=e.length-1,f,l,c=[],u=[],m,p,b,x=[].concat(n);for(a=o;a>=0;a-=1){if(m=this.searchProcessedElement(e[a]),m?t[a]=i[m-1]:e[a]._shouldRender=s,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")m?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],x),c.push(t[a].style);else if(e[a].ty==="gr"){if(!m)t[a]=this.createGroupElement(e[a]);else for(l=t[a].it.length,f=0;f<l;f+=1)t[a].prevViewData[f]=t[a].it[f];this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,s,x)}else e[a].ty==="tr"?(m||(b=this.createTransformElement(e[a]),t[a]=b),x.push(t[a]),this.addTransformToStyleList(t[a])):e[a].ty==="sh"||e[a].ty==="rc"||e[a].ty==="el"||e[a].ty==="sr"?m||(t[a]=this.createShapeElement(e[a])):e[a].ty==="tm"||e[a].ty==="rd"||e[a].ty==="pb"||e[a].ty==="zz"||e[a].ty==="op"?(m?(p=t[a],p.closed=!1):(p=ShapeModifiers.getModifier(e[a].ty),p.init(this,e[a]),t[a]=p,this.shapeModifiers.push(p)),u.push(p)):e[a].ty==="rp"&&(m?(p=t[a],p.closed=!0):(p=ShapeModifiers.getModifier(e[a].ty),t[a]=p,p.init(this,e,a,t),this.shapeModifiers.push(p),s=!1),u.push(p));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(c),o=u.length,a=0;a<o;a+=1)u[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,i,s,n,a,o,f,l=this.globalData.renderer,c=this.globalData.canvasContext,u,m;for(e=0;e<t;e+=1)if(m=this.stylesList[e],u=m.type,!((u==="st"||u==="gs")&&m.wi===0||!m.data._shouldRender||m.coOp===0||this.globalData.currentGlobalAlpha===0)){for(l.save(),o=m.elements,u==="st"||u==="gs"?(l.ctxStrokeStyle(u==="st"?m.co:m.grd),l.ctxLineWidth(m.wi),l.ctxLineCap(m.lc),l.ctxLineJoin(m.lj),l.ctxMiterLimit(m.ml||0)):l.ctxFillStyle(u==="fl"?m.co:m.grd),l.ctxOpacity(m.coOp),u!=="st"&&u!=="gs"&&c.beginPath(),l.ctxTransform(m.preTransforms.finalTransform.props),s=o.length,i=0;i<s;i+=1){for((u==="st"||u==="gs")&&(c.beginPath(),m.da&&(c.setLineDash(m.da),c.lineDashOffset=m.do)),f=o[i].trNodes,a=f.length,n=0;n<a;n+=1)f[n].t==="m"?c.moveTo(f[n].p[0],f[n].p[1]):f[n].t==="c"?c.bezierCurveTo(f[n].pts[0],f[n].pts[1],f[n].pts[2],f[n].pts[3],f[n].pts[4],f[n].pts[5]):c.closePath();(u==="st"||u==="gs")&&(l.ctxStroke(),m.da&&c.setLineDash(this.dashResetter))}u!=="st"&&u!=="gs"&&this.globalData.renderer.ctxFill(m.r),l.restore()}},CVShapeElement.prototype.renderShape=function(e,t,i,s){var n,a=t.length-1,o;for(o=e,n=a;n>=0;n-=1)t[n].ty==="tr"?(o=i[n].transform,this.renderShapeTransform(e,o)):t[n].ty==="sh"||t[n].ty==="el"||t[n].ty==="rc"||t[n].ty==="sr"?this.renderPath(t[n],i[n]):t[n].ty==="fl"?this.renderFill(t[n],i[n],o):t[n].ty==="st"?this.renderStroke(t[n],i[n],o):t[n].ty==="gf"||t[n].ty==="gs"?this.renderGradientFill(t[n],i[n],o):t[n].ty==="gr"?this.renderShape(o,t[n].it,i[n].it):t[n].ty;s&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var i=e.trNodes,s=t.paths,n,a,o,f=s._length;i.length=0;var l=e.transforms.finalTransform;for(o=0;o<f;o+=1){var c=s.shapes[o];if(c&&c.v){for(a=c._length,n=1;n<a;n+=1)n===1&&i.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),i.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[n],c.v[n])});a===1&&i.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&a&&(i.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[0],c.v[0])}),i.push({t:"z"}))}}e.trNodes=i}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var i,s=t.styledShapes.length;for(i=0;i<s;i+=1)this.renderStyledShape(t.styledShapes[i],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,i){var s=t.style;(t.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=t.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,i){var s=t.style,n;if(!s.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var a=this.globalData.canvasContext,o=t.s.v,f=t.e.v;if(e.t===1)n=a.createLinearGradient(o[0],o[1],f[0],f[1]);else{var l=Math.sqrt(Math.pow(o[0]-f[0],2)+Math.pow(o[1]-f[1],2)),c=Math.atan2(f[1]-o[1],f[0]-o[0]),u=t.h.v;u>=1?u=.99:u<=-1&&(u=-.99);var m=l*u,p=Math.cos(c+t.a.v)*m+o[0],b=Math.sin(c+t.a.v)*m+o[1];n=a.createRadialGradient(p,b,0,o[0],o[1],l)}var x,y=e.g.p,T=t.g.c,g=1;for(x=0;x<y;x+=1)t.g._hasOpacity&&t.g._collapsable&&(g=t.g.o[x*2+1]),n.addColorStop(T[x*4]/100,"rgba("+T[x*4+1]+","+T[x*4+2]+","+T[x*4+3]+","+g+")");s.grd=n}s.coOp=t.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(e,t,i){var s=t.style,n=t.d;n&&(n._mdf||this._isFirstFrame)&&(s.da=n.dashArray,s.do=n.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=t.o.v*i.opacity),(t.w._mdf||this._isFirstFrame)&&(s.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(e,t,i){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var i=!1;e.sc&&(i=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var s=this.globalData.fontManager.getFontByName(e.f),n,a,o=e.l,f=this.mHelper;this.stroke=i,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var l,c,u,m,p,b,x,y,T,g,C=this.data.singleShape,d=e.tr*.001*e.finalSize,P=0,A=0,E=!0,R=0;for(n=0;n<a;n+=1){l=this.globalData.fontManager.getCharData(e.finalText[n],s.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),c=l&&l.data||{},f.reset(),C&&o[n].n&&(P=-d,A+=e.yOffset,A+=E?1:0,E=!1),p=c.shapes?c.shapes[0].it:[],x=p.length,f.scale(e.finalSize/100,e.finalSize/100),C&&this.applyTextPropertiesToMatrix(e,f,o[n].line,P,A),T=createSizedArray(x-1);var V=0;for(b=0;b<x;b+=1)if(p[b].ty==="sh"){for(m=p[b].ks.k.i.length,y=p[b].ks.k,g=[],u=1;u<m;u+=1)u===1&&g.push(f.applyToX(y.v[0][0],y.v[0][1],0),f.applyToY(y.v[0][0],y.v[0][1],0)),g.push(f.applyToX(y.o[u-1][0],y.o[u-1][1],0),f.applyToY(y.o[u-1][0],y.o[u-1][1],0),f.applyToX(y.i[u][0],y.i[u][1],0),f.applyToY(y.i[u][0],y.i[u][1],0),f.applyToX(y.v[u][0],y.v[u][1],0),f.applyToY(y.v[u][0],y.v[u][1],0));g.push(f.applyToX(y.o[u-1][0],y.o[u-1][1],0),f.applyToY(y.o[u-1][0],y.o[u-1][1],0),f.applyToX(y.i[0][0],y.i[0][1],0),f.applyToY(y.i[0][0],y.i[0][1],0),f.applyToX(y.v[0][0],y.v[0][1],0),f.applyToY(y.v[0][0],y.v[0][1],0)),T[V]=g,V+=1}C&&(P+=o[n].l,P+=d),this.textSpans[R]?this.textSpans[R].elem=T:this.textSpans[R]={elem:T},R+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var e=this.canvasContext;e.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var t,i,s,n,a,o,f=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;i=l.length;var c,u=null,m=null,p=null,b,x,y=this.globalData.renderer;for(t=0;t<i;t+=1)if(!l[t].n){if(c=f[t],c&&(y.save(),y.ctxTransform(c.p),y.ctxOpacity(c.o)),this.fill){for(c&&c.fc?u!==c.fc&&(y.ctxFillStyle(c.fc),u=c.fc):u!==this.values.fill&&(u=this.values.fill,y.ctxFillStyle(this.values.fill)),b=this.textSpans[t].elem,n=b.length,this.globalData.canvasContext.beginPath(),s=0;s<n;s+=1)for(x=b[s],o=x.length,this.globalData.canvasContext.moveTo(x[0],x[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(x[a],x[a+1],x[a+2],x[a+3],x[a+4],x[a+5]);this.globalData.canvasContext.closePath(),y.ctxFill()}if(this.stroke){for(c&&c.sw?p!==c.sw&&(p=c.sw,y.ctxLineWidth(c.sw)):p!==this.values.sWidth&&(p=this.values.sWidth,y.ctxLineWidth(this.values.sWidth)),c&&c.sc?m!==c.sc&&(m=c.sc,y.ctxStrokeStyle(c.sc)):m!==this.values.stroke&&(m=this.values.stroke,y.ctxStrokeStyle(this.values.stroke)),b=this.textSpans[t].elem,n=b.length,this.globalData.canvasContext.beginPath(),s=0;s<n;s+=1)for(x=b[s],o=x.length,this.globalData.canvasContext.moveTo(x[0],x[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(x[a],x[a+1],x[a+2],x[a+3],x[a+4],x[a+5]);this.globalData.canvasContext.closePath(),y.ctxStroke()}c&&this.globalData.renderer.restore()}};function CVImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t=e.getContext("2d"),i=this.img.width,s=this.img.height,n=i/s,a=this.assetData.w/this.assetData.h,o,f,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;n>a&&l==="xMidYMid slice"||n<a&&l!=="xMidYMid slice"?(f=s,o=f*a):(o=i,f=o/a),t.drawImage(this.img,(i-o)/2,(s-f)/2,o,f,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,i){this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,i,s){this.canvasContext.fillRect(e,t,i,s)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var i="0px 0px 0px";t.transformOrigin=i,t.mozTransformOrigin=i,t.webkitTransformOrigin=i,t["-webkit-transform"]=i,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){this.reset();var i,s;e?(i=e,s=t,this.canvasContext.canvas.width=i,this.canvasContext.canvas.height=s):(this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,s=this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,s=this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=s*this.renderConfig.dpr);var n,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),f=o[1]||"meet",l=o[0]||"xMidYMid",c=l.substr(0,4),u=l.substr(4);n=i/s,a=this.transformCanvas.w/this.transformCanvas.h,a>n&&f==="meet"||a<n&&f==="slice"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)),c==="xMid"&&(a<n&&f==="meet"||a>n&&f==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(s/this.transformCanvas.h))/2*this.renderConfig.dpr:c==="xMax"&&(a<n&&f==="meet"||a>n&&f==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(s/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,u==="YMid"&&(a>n&&f==="meet"||a<n&&f==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:u==="YMax"&&(a>n&&f==="meet"||a<n&&f==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var i,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(e-this.layers[i].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var i=this.createItem(this.layers[e],this,this.globalData);t[e]=i,i.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e,t=15;for(e=0;e<t;e+=1){var i=new CanvasContext;this.stack[e]=i}this._length=t,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var e=this._length*2,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t=this.stack[this.cArrPos],i=t.transform,s,n=this.cTr.props;for(s=0;s<16;s+=1)n[s]=i[s];if(e){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),(e||t.opacity!==-1&&this.currentOpacity!==t.opacity)&&(this.nativeContext.globalAlpha=t.opacity,this.currentOpacity=t.opacity),this.currentFillStyle=t.fillStyle,this.currentStrokeStyle=t.strokeStyle,this.currentLineWidth=t.lineWidth,this.currentLineCap=t.lineCap,this.currentLineJoin=t.lineJoin,this.currentMiterLimit=t.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var i=this.stack[this.cArrPos],s;for(s=0;s<16;s+=1)i.transform[s]=t[s];this.cArrPos+=1;var n=this.stack[this.cArrPos];n.opacity=i.opacity,n.fillStyle=i.fillStyle,n.strokeStyle=i.strokeStyle,n.lineWidth=i.lineWidth,n.lineCap=i.lineCap,n.lineJoin=i.lineJoin,n.miterLimit=i.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var i=t.props;this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,i,s){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,i,s)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(e,t,i){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var t,i=this.layers.length;for(t=i-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var i=this.finalTransform.mat.toCSS();t.transform=i,t.webkitTransform=i}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,i){this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)t=e[i].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var i=e.sh.v,s=e.transformers,n,a=i._length,o,f,l,c;if(!(a<=1)){for(n=0;n<a-1;n+=1)o=this.getTransformedPoint(s,i.v[n]),f=this.getTransformedPoint(s,i.o[n]),l=this.getTransformedPoint(s,i.i[n+1]),c=this.getTransformedPoint(s,i.v[n+1]),this.checkBounds(o,f,l,c,t);i.c&&(o=this.getTransformedPoint(s,i.v[n]),f=this.getTransformedPoint(s,i.o[n]),l=this.getTransformedPoint(s,i.i[0]),c=this.getTransformedPoint(s,i.v[0]),this.checkBounds(o,f,l,c,t))}},HShapeElement.prototype.checkBounds=function(e,t,i,s,n){this.getBoundsOfCurve(e,t,i,s);var a=this.shapeBoundingBox;n.x=bmMin(a.left,n.x),n.xMax=bmMax(a.right,n.xMax),n.y=bmMin(a.top,n.y),n.yMax=bmMax(a.bottom,n.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,i,s){for(var n=[[e[0],s[0]],[e[1],s[1]]],a,o,f,l,c,u,m,p=0;p<2;++p)o=6*e[p]-12*t[p]+6*i[p],a=-3*e[p]+9*t[p]-9*i[p]+3*s[p],f=3*t[p]-3*e[p],o|=0,a|=0,f|=0,a===0&&o===0||(a===0?(l=-f/o,l>0&&l<1&&n[p].push(this.calculateF(l,e,t,i,s,p))):(c=o*o-4*f*a,c>=0&&(u=(-o+bmSqrt(c))/(2*a),u>0&&u<1&&n[p].push(this.calculateF(u,e,t,i,s,p)),m=(-o-bmSqrt(c))/(2*a),m>0&&m<1&&n[p].push(this.calculateF(m,e,t,i,s,p)))));this.shapeBoundingBox.left=bmMin.apply(null,n[0]),this.shapeBoundingBox.top=bmMin.apply(null,n[1]),this.shapeBoundingBox.right=bmMax.apply(null,n[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,n[1])},HShapeElement.prototype.calculateF=function(e,t,i,s,n,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*i[a]+3*(1-e)*bmPow(e,2)*s[a]+bmPow(e,3)*n[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)e[i]&&e[i].sh?this.calculateShapeBoundingBox(e[i],t):e[i]&&e[i].it?this.calculateBoundingBox(e[i].it,t):e[i]&&e[i].style&&e[i].w&&this.expandStrokeBoundingBox(e[i].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var i=0;if(e.keyframes){for(var s=0;s<e.keyframes.length;s+=1){var n=e.keyframes[s].s;n>i&&(i=n)}i*=e.mult}else i=e.v*e.mult;t.x-=i,t.xMax+=i,t.y-=i,t.yMax+=i},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var i=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),i=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),i=!0),i||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var s=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";s.transform=n,s.webkitTransform=n}}};function HTextElement(e,t,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,i=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=i,t.color=i,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var s=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",s.fClass)this.innerElem.className=s.fClass;else{t.fontFamily=s.fFamily;var n=e.fWeight,a=e.fStyle;t.fontStyle=a,t.fontWeight=n}var o,f,l=e.l;f=l.length;var c,u,m,p=this.mHelper,b,x="",y=0;for(o=0;o<f;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[y]?c=this.textPaths[y]:(c=createNS("path"),c.setAttribute("stroke-linecap",lineCapEnum[1]),c.setAttribute("stroke-linejoin",lineJoinEnum[2]),c.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[y]?(u=this.textSpans[y],m=u.children[0]):(u=createTag("div"),u.style.lineHeight=0,m=createNS("svg"),m.appendChild(c),styleDiv(u)))):this.isMasked?c=this.textPaths[y]?this.textPaths[y]:createNS("text"):this.textSpans[y]?(u=this.textSpans[y],c=this.textPaths[y]):(u=createTag("span"),styleDiv(u),c=createTag("span"),styleDiv(c),u.appendChild(c)),this.globalData.fontManager.chars){var T=this.globalData.fontManager.getCharData(e.finalText[o],s.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),g;if(T?g=T.data:g=null,p.reset(),g&&g.shapes&&g.shapes.length&&(b=g.shapes[0].it,p.scale(e.finalSize/100,e.finalSize/100),x=this.createPathShape(p,b),c.setAttribute("d",x)),this.isMasked)this.innerElem.appendChild(c);else{if(this.innerElem.appendChild(u),g&&g.shapes){document.body.appendChild(m);var C=m.getBBox();m.setAttribute("width",C.width+2),m.setAttribute("height",C.height+2),m.setAttribute("viewBox",C.x-1+" "+(C.y-1)+" "+(C.width+2)+" "+(C.height+2));var d=m.style,P="translate("+(C.x-1)+"px,"+(C.y-1)+"px)";d.transform=P,d.webkitTransform=P,l[o].yOffset=C.y-1}else m.setAttribute("width",1),m.setAttribute("height",1);u.appendChild(m)}}else if(c.textContent=l[o].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(c);else{this.innerElem.appendChild(u);var A=c.style,E="translate3d(0,"+-e.finalSize/1.2+"px,0)";A.transform=E,A.webkitTransform=E}this.isMasked?this.textSpans[y]=c:this.textSpans[y]=u,this.textSpans[y].style.display="block",this.textPaths[y]=c,y+=1}for(;y<this.textSpans.length;)this.textSpans[y].style.display="none",y+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var i,s,n=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;s=o.length;var f,l,c;for(i=0;i<s;i+=1)o[i].n?n+=1:(l=this.textSpans[i],c=this.textPaths[i],f=a[n],n+=1,f._mdf.m&&(this.isMasked?l.setAttribute("transform",f.m):(l.style.webkitTransform=f.m,l.style.transform=f.m)),l.style.opacity=f.o,f.sw&&f._mdf.sw&&c.setAttribute("stroke-width",f.sw),f.sc&&f._mdf.sc&&c.setAttribute("stroke",f.sc),f.fc&&f._mdf.fc&&(c.setAttribute("fill",f.fc),c.style.color=f.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height));var m=1;if(this.currentBBox.w!==u.width+m*2||this.currentBBox.h!==u.height+m*2||this.currentBBox.x!==u.x-m||this.currentBBox.y!==u.y-m){this.currentBBox.w=u.width+m*2,this.currentBBox.h=u.height+m*2,this.currentBBox.x=u.x-m,this.currentBBox.y=u.y-m,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var p="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=p,e.webkitTransform=p}}}};function HCameraElement(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initHierarchy();var s=PropertyFactory.getProp;if(this.pe=s(this,e.pe,0,0,this),e.ks.p.s?(this.px=s(this,e.ks.p.x,1,0,this),this.py=s(this,e.ks.p.y,1,0,this),this.pz=s(this,e.ks.p.z,1,0,this)):this.p=s(this,e.ks.p,1,0,this),e.ks.a&&(this.a=s(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var n,a=e.ks.or.k.length;for(n=0;n<a;n+=1)e.ks.or.k[n].to=null,e.ks.or.k[n].ti=null}this.or=s(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=s(this,e.ks.rx,0,degToRads,this),this.ry=s(this,e.ks.ry,0,degToRads,this),this.rz=s(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t=this.comp.threeDElements.length,i,s,n;for(e=0;e<t;e+=1)if(i=this.comp.threeDElements[e],i.type==="3d"){s=i.perspectiveElem.style,n=i.container.style;var a=this.pe.v+"px",o="0px 0px 0px",f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.perspective=a,s.webkitPerspective=a,n.transformOrigin=o,n.mozTransformOrigin=o,n.webkitTransformOrigin=o,s.transform=f,s.webkitTransform=f}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,t,i;if(this.hierarchy)for(i=this.hierarchy.length,t=0;t<i;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(i=this.hierarchy.length-1,t=i;t>=0;t-=1){var s=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-s.p.v[0],-s.p.v[1],s.p.v[2]),this.mat.rotateX(-s.or.v[0]).rotateY(-s.or.v[1]).rotateZ(s.or.v[2]),this.mat.rotateX(-s.rx.v).rotateY(-s.ry.v).rotateZ(s.rz.v),this.mat.scale(1/s.s.v[0],1/s.s.v[1],1/s.s.v[2]),this.mat.translate(s.a.v[0],s.a.v[1],s.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var n;this.p?n=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:n=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),o=[n[0]/a,n[1]/a,n[2]/a],f=Math.sqrt(o[2]*o[2]+o[0]*o[0]),l=Math.atan2(o[1],f),c=Math.atan2(o[0],-o[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){i=this.comp.threeDElements.length;var m,p,b;for(t=0;t<i;t+=1)if(m=this.comp.threeDElements[t],m.type==="3d"){if(u){var x=this.mat.toCSS();b=m.container.style,b.transform=x,b.webkitTransform=x}this.pe._mdf&&(p=m.perspectiveElem.style,p.perspective=this.pe.v+"px",p.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var i=e.getBaseElement();if(i){var s=this.layers[t];if(!s.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(i,t);else{for(var n=0,a,o,f;n<t;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement&&(o=this.elements[n],f=this.layers[n].ddd?this.getThreeDContainerByPos(n):o.getBaseElement(),a=f||a),n+=1;a?(!s.ddd||!this.supports3d)&&this.layerElement.insertBefore(i,a):(!s.ddd||!this.supports3d)&&this.layerElement.appendChild(i)}else this.addTo3dContainer(i,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,i=this.threeDElements.length;t<i;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var i=createTag("div"),s,n;styleDiv(i);var a=createTag("div");if(styleDiv(a),t==="3d"){s=i.style,s.width=this.globalData.compSize.w+"px",s.height=this.globalData.compSize.h+"px";var o="50% 50%";s.webkitTransformOrigin=o,s.mozTransformOrigin=o,s.transformOrigin=o,n=a.style;var f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.transform=f,n.webkitTransform=f}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,i,s="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(s!=="3d"&&(s="3d",i=this.createThreeDContainer(e,"3d")),i.endPos=Math.max(i.endPos,e)):(s!=="2d"&&(s="2d",i=this.createThreeDContainer(e,"2d")),i.endPos=Math.max(i.endPos,e));for(t=this.threeDElements.length,e=t-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var i=0,s=this.threeDElements.length;i<s;){if(t<=this.threeDElements[i].endPos){for(var n=this.threeDElements[i].startPos,a;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(a=this.elements[n].getBaseElement()),n+=1;a?this.threeDElements[i].container.insertBefore(e,a):this.threeDElements[i].container.appendChild(e);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),i=this.animationItem.wrapper,s=t.style;s.width=e.w+"px",s.height=e.h+"px",this.resizerElem=t,styleDiv(t),s.transformStyle="flat",s.mozTransformStyle="flat",s.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),i.appendChild(t),s.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var a=createNS("defs");n.appendChild(a),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,i=e/t,s=this.globalData.compSize.w/this.globalData.compSize.h,n,a,o,f;s>i?(n=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,o=0,f=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(n=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,o=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,f=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+n+",0,0,0,0,"+a+",0,0,0,0,1,0,"+o+","+f+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,i,s=this.threeDElements.length;for(i=0;i<s;i+=1){var n=this.threeDElements[i].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,i=e.length,s=createTag("div");for(t=0;t<i;t+=1)if(e[t].xt){var n=this.createComp(e[t],s,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}};function HCompElement(e,t,i){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var i=0,s;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(s=this.elements[i].getBaseElement()),i+=1;s?this.layerElement.insertBefore(e,s):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(){return function(e){function t(i){for(var s=0,n=e.layers.length;s<n;){if(e.layers[s].nm===i||e.layers[s].ind===i)return e.elements[s].layerInterface;s+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t}}();function _typeof$2(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(i){return typeof i}:_typeof$2=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$2(e)}function seedRandom(e,t){var i=this,s=256,n=6,a=52,o="random",f=t.pow(s,n),l=t.pow(2,a),c=l*2,u=s-1,m;function p(d,P,A){var E=[];P=P===!0?{entropy:!0}:P||{};var R=T(y(P.entropy?[d,C(e)]:d===null?g():d,3),E),V=new b(E),F=function(){for(var Z=V.g(n),B=f,X=0;Z<l;)Z=(Z+X)*s,B*=s,X=V.g(1);for(;Z>=c;)Z/=2,B/=2,X>>>=1;return(Z+X)/B};return F.int32=function(){return V.g(4)|0},F.quick=function(){return V.g(4)/4294967296},F.double=F,T(C(V.S),e),(P.pass||A||function($,Z,B,X){return X&&(X.S&&x(X,V),$.state=function(){return x(V,{})}),B?(t[o]=$,Z):$})(F,R,"global"in P?P.global:this==t,P.state)}t["seed"+o]=p;function b(d){var P,A=d.length,E=this,R=0,V=E.i=E.j=0,F=E.S=[];for(A||(d=[A++]);R<s;)F[R]=R++;for(R=0;R<s;R++)F[R]=F[V=u&V+d[R%A]+(P=F[R])],F[V]=P;E.g=function($){for(var Z,B=0,X=E.i,q=E.j,N=E.S;$--;)Z=N[X=u&X+1],B=B*s+N[u&(N[X]=N[q=u&q+Z])+(N[q]=Z)];return E.i=X,E.j=q,B}}function x(d,P){return P.i=d.i,P.j=d.j,P.S=d.S.slice(),P}function y(d,P){var A=[],E=_typeof$2(d),R;if(P&&E=="object")for(R in d)try{A.push(y(d[R],P-1))}catch{}return A.length?A:E=="string"?d:d+"\0"}function T(d,P){for(var A=d+"",E,R=0;R<A.length;)P[u&R]=u&(E^=P[u&R]*19)+A.charCodeAt(R++);return C(P)}function g(){try{var d=new Uint8Array(s);return(i.crypto||i.msCrypto).getRandomValues(d),C(d)}catch{var P=i.navigator,A=P&&P.plugins;return[+new Date,i,A,i.screen,C(e)]}}function C(d){return String.fromCharCode.apply(0,d)}T(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(i){return typeof i}:_typeof$1=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return e==="number"||t instanceof Number||e==="boolean"||e==="string"}function $bm_neg(e){var t=_typeof$1(e);if(t==="number"||e instanceof Number||t==="boolean")return-e;if($bm_isInstanceOfArray(e)){var i,s=e.length,n=[];for(i=0;i<s;i+=1)n[i]=-e[i];return n}return e.propType?e.v:-e}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var i=_typeof$1(e),s=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(s,t)||i==="string"||s==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t))return e=e.slice(0),e[0]+=t,e;if(isNumerable(i,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,f=[];n<a||n<o;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?f[n]=e[n]+t[n]:f[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return f}return 0}var add=sum;function sub(e,t){var i=_typeof$1(e),s=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(s,t))return i==="string"&&(e=parseInt(e,10)),s==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t))return e=e.slice(0),e[0]-=t,e;if(isNumerable(i,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,f=[];n<a||n<o;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?f[n]=e[n]-t[n]:f[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return f}return 0}function mul(e,t){var i=_typeof$1(e),s=_typeof$1(t),n;if(isNumerable(i,e)&&isNumerable(s,t))return e*t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(o=e.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e[a]*t;return n}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e*t[a];return n}return 0}function div(e,t){var i=_typeof$1(e),s=_typeof$1(t),n;if(isNumerable(i,e)&&isNumerable(s,t))return e/t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(o=e.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e[a]/t;return n}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e/t[a];return n}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,i){if(t>i){var s=i;i=t,t=s}return Math.min(Math.max(e,t),i)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var i,s=Math.min(e.length,t.length),n=0;for(i=0;i<s;i+=1)n+=Math.pow(t[i]-e[i],2);return Math.sqrt(n)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],i=e[1],s=e[2],n=Math.max(t,i,s),a=Math.min(t,i,s),o,f,l=(n+a)/2;if(n===a)o=0,f=0;else{var c=n-a;switch(f=l>.5?c/(2-n-a):c/(n+a),n){case t:o=(i-s)/c+(i<s?6:0);break;case i:o=(s-t)/c+2;break;case s:o=(t-i)/c+4;break}o/=6}return[o,f,l,e[3]]}function hue2rgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function hslToRgb(e){var t=e[0],i=e[1],s=e[2],n,a,o;if(i===0)n=s,o=s,a=s;else{var f=s<.5?s*(1+i):s+i-s*i,l=2*s-f;n=hue2rgb(l,f,t+1/3),a=hue2rgb(l,f,t),o=hue2rgb(l,f,t-1/3)}return[n,a,o,e[3]]}function linear(e,t,i,s,n){if((s===void 0||n===void 0)&&(s=t,n=i,t=0,i=1),i<t){var a=i;i=t,t=a}if(e<=t)return s;if(e>=i)return n;var o=i===t?0:(e-t)/(i-t);if(!s.length)return s+(n-s)*o;var f,l=s.length,c=createTypedArray("float32",l);for(f=0;f<l;f+=1)c[f]=s[f]+(n[f]-s[f])*o;return c}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var i,s=t.length;e||(e=createTypedArray("float32",s));var n=createTypedArray("float32",s),a=BMMath.random();for(i=0;i<s;i+=1)n[i]=e[i]+a*(t[i]-e[i]);return n}e===void 0&&(e=0);var o=BMMath.random();return e+o*(t-e)}function createPath(e,t,i,s){var n,a=e.length,o=shapePool.newElement();o.setPathData(!!s,a);var f=[0,0],l,c;for(n=0;n<a;n+=1)l=t&&t[n]?t[n]:f,c=i&&i[n]?i[n]:f,o.setTripleAt(e[n][0],e[n][1],c[0]+e[n][0],c[1]+e[n][1],l[0]+e[n][0],l[1]+e[n][1],n,!0);return o}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function e(t,i){var s,n,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);t=5;var f=Math.floor(time*t);for(s=0,n=0;s<f;){for(n=0;n<a;n+=1)o[n]+=-i+i*2*BMMath.random();s+=1}var l=time*t,c=l-Math.floor(l),u=createTypedArray("float32",a);if(a>1){for(n=0;n<a;n+=1)u[n]=this.pv[n]+o[n]+(-i+i*2*BMMath.random())*c;return u}return this.pv+o[0]+(-i+i*2*BMMath.random())*c}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(e,t){var i=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],s=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,n=-Math.atan2(i[1],i[2])/degToRads;return[n,s,0]}function easeOut(e,t,i,s,n){return applyEase(easeOutBez,e,t,i,s,n)}function easeIn(e,t,i,s,n){return applyEase(easeInBez,e,t,i,s,n)}function ease(e,t,i,s,n){return applyEase(easeInOutBez,e,t,i,s,n)}function applyEase(e,t,i,s,n,a){n===void 0?(n=i,a=s):t=(t-i)/(s-i),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(n)){var f,l=n.length,c=createTypedArray("float32",l);for(f=0;f<l;f+=1)c[f]=(a[f]-n[f])*o+n[f];return c}return(a-n)*o+n}function nearestKey(e){var t,i=data.k.length,s,n;if(!data.k.length||typeof data.k[0]=="number")s=0,n=0;else if(s=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)s=1,n=data.k[0].t;else{for(t=0;t<i-1;t+=1)if(e===data.k[t].t){s=t+1,n=data.k[t].t;break}else if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(s=t+2,n=data.k[t+1].t):(s=t+1,n=data.k[t].t);break}s===-1&&(s=t+1,n=data.k[t].t)}var a={};return a.index=s,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,i,s;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var n=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(s=n.length,i=0;i<s;i+=1)t[i]=n[i],t.value[i]=n[i];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return!e&&e!==0&&(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={};e.initExpressions=t,e.resetFrame=ExpressionManager.resetFrame;function t(i){var s=0,n=[];function a(){s+=1}function o(){s-=1,s===0&&l()}function f(c){n.indexOf(c)===-1&&n.push(c)}function l(){var c,u=n.length;for(c=0;c<u;c+=1)n[c].release();n.length=0}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=a,i.renderer.globalData.popExpression=o,i.renderer.globalData.registerExpressionProperty=f}return e}(),MaskManagerInterface=function(){function e(i,s){this._mask=i,this._data=s}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var t=function(s){var n=createSizedArray(s.viewData.length),a,o=s.viewData.length;for(a=0;a<o;a+=1)n[a]=new e(s.viewData[a],s.masksProperties[a]);var f=function(c){for(a=0;a<o;){if(s.masksProperties[a].nm===c)return n[a];a+=1}return null};return f};return t}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function i(o,f,l){Object.defineProperty(o,"velocity",{get:function(){return f.getVelocityAtTime(f.comp.currentFrame)}}),o.numKeys=f.keyframes?f.keyframes.length:0,o.key=function(c){if(!o.numKeys)return 0;var u="";"s"in f.keyframes[c-1]?u=f.keyframes[c-1].s:"e"in f.keyframes[c-2]?u=f.keyframes[c-2].e:u=f.keyframes[c-2].s;var m=l==="unidimensional"?new Number(u):Object.assign({},u);return m.time=f.keyframes[c-1].t/f.elem.comp.globalData.frameRate,m.value=l==="unidimensional"?u[0]:u,m},o.valueAtTime=f.getValueAtTime,o.speedAtTime=f.getSpeedAtTime,o.velocityAtTime=f.getVelocityAtTime,o.propertyGroup=f.propertyGroup}function s(o){(!o||!("pv"in o))&&(o=e);var f=1/o.mult,l=o.pv*f,c=new Number(l);return c.value=l,i(c,o,"unidimensional"),function(){return o.k&&o.getValue(),l=o.v*f,c.value!==l&&(c=new Number(l),c.value=l,i(c,o,"unidimensional")),c}}function n(o){(!o||!("pv"in o))&&(o=t);var f=1/o.mult,l=o.data&&o.data.l||o.pv.length,c=createTypedArray("float32",l),u=createTypedArray("float32",l);return c.value=u,i(c,o,"multidimensional"),function(){o.k&&o.getValue();for(var m=0;m<l;m+=1)u[m]=o.v[m]*f,c[m]=u[m];return c}}function a(){return e}return function(o){return o?o.propType==="unidimensional"?s(o):n(o):a}}(),TransformExpressionInterface=function(){return function(e){function t(o){switch(o){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)});var i,s,n,a;return e.p?a=ExpressionPropertyInterface(e.p):(i=ExpressionPropertyInterface(e.px),s=ExpressionPropertyInterface(e.py),e.pz&&(n=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[i(),s(),n?n():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t}}(),LayerExpressionInterface=function(){function e(c){var u=new Matrix;if(c!==void 0){var m=this._elem.finalTransform.mProp.getValueAtTime(c);m.clone(u)}else{var p=this._elem.finalTransform.mProp;p.applyToMatrix(u)}return u}function t(c,u){var m=this.getMatrix(u);return m.props[12]=0,m.props[13]=0,m.props[14]=0,this.applyPoint(m,c)}function i(c,u){var m=this.getMatrix(u);return this.applyPoint(m,c)}function s(c,u){var m=this.getMatrix(u);return m.props[12]=0,m.props[13]=0,m.props[14]=0,this.invertPoint(m,c)}function n(c,u){var m=this.getMatrix(u);return this.invertPoint(m,c)}function a(c,u){if(this._elem.hierarchy&&this._elem.hierarchy.length){var m,p=this._elem.hierarchy.length;for(m=0;m<p;m+=1)this._elem.hierarchy[m].finalTransform.mProp.applyToMatrix(c)}return c.applyToPointArray(u[0],u[1],u[2]||0)}function o(c,u){if(this._elem.hierarchy&&this._elem.hierarchy.length){var m,p=this._elem.hierarchy.length;for(m=0;m<p;m+=1)this._elem.hierarchy[m].finalTransform.mProp.applyToMatrix(c)}return c.inversePoint(u)}function f(c){var u=new Matrix;if(u.reset(),this._elem.finalTransform.mProp.applyToMatrix(u),this._elem.hierarchy&&this._elem.hierarchy.length){var m,p=this._elem.hierarchy.length;for(m=0;m<p;m+=1)this._elem.hierarchy[m].finalTransform.mProp.applyToMatrix(u);return u.inversePoint(c)}return u.inversePoint(c)}function l(){return[1,1,1,1]}return function(c){var u;function m(y){b.mask=new MaskManagerInterface(y,c)}function p(y){b.effect=y}function b(y){switch(y){case"ADBE Root Vectors Group":case"Contents":case 2:return b.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return b.effect;case"ADBE Text Properties":return b.textInterface;default:return null}}b.getMatrix=e,b.invertPoint=o,b.applyPoint=a,b.toWorld=i,b.toWorldVec=t,b.fromWorld=n,b.fromWorldVec=s,b.toComp=i,b.fromComp=f,b.sampleImage=l,b.sourceRectAtTime=c.sourceRectAtTime.bind(c),b._elem=c,u=TransformExpressionInterface(c.finalTransform.mProp);var x=getDescriptor(u,"anchorPoint");return Object.defineProperties(b,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:x,anchor_point:x,transform:{get:function(){return u}},active:{get:function(){return c.isInRange}}}),b.startTime=c.data.st,b.index=c.data.ind,b.source=c.data.refId,b.height=c.data.ty===0?c.data.h:100,b.width=c.data.ty===0?c.data.w:100,b.inPoint=c.data.ip/c.comp.globalData.frameRate,b.outPoint=c.data.op/c.comp.globalData.frameRate,b._name=c.data.nm,b.registerMaskInterface=m,b.registerEffectsInterface=p,b}}(),propertyGroupFactory=function(){return function(e,t){return function(i){return i=i===void 0?1:i,i<=0?e:t(i-1)}}}(),PropertyInterface=function(){return function(e,t){var i={_name:e};function s(n){return n=n===void 0?1:n,n<=0?i:t(n-1)}return s}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(n,a){if(n.effectsManager){var o=[],f=n.data.ef,l,c=n.effectsManager.effectElements.length;for(l=0;l<c;l+=1)o.push(i(f[l],n.effectsManager.effectElements[l],a,n));var u=n.data.ef||[],m=function(b){for(l=0,c=u.length;l<c;){if(b===u[l].nm||b===u[l].mn||b===u[l].ix)return o[l];l+=1}return null};return Object.defineProperty(m,"numProperties",{get:function(){return u.length}}),m}return null}function i(n,a,o,f){function l(b){for(var x=n.ef,y=0,T=x.length;y<T;){if(b===x[y].nm||b===x[y].mn||b===x[y].ix)return x[y].ty===5?u[y]:u[y]();y+=1}throw new Error}var c=propertyGroupFactory(l,o),u=[],m,p=n.ef.length;for(m=0;m<p;m+=1)n.ef[m].ty===5?u.push(i(n.ef[m],a.effectElements[m],a.effectElements[m].propertyGroup,f)):u.push(s(a.effectElements[m],n.ef[m].ty,f,c));return n.mn==="ADBE Color Control"&&Object.defineProperty(l,"color",{get:function(){return u[0]()}}),Object.defineProperties(l,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:c}}),l.enabled=n.en!==0,l.active=l.enabled,l}function s(n,a,o,f){var l=ExpressionPropertyInterface(n.p);function c(){return a===10?o.comp.compInterface(n.p.v):l()}return n.p.setGroupProperty&&n.p.setGroupProperty(PropertyInterface("",f)),c}return e}(),ShapePathInterface=function(){return function(t,i,s){var n=i.sh;function a(f){return f==="Shape"||f==="shape"||f==="Path"||f==="path"||f==="ADBE Vector Shape"||f===2?a.path:null}var o=propertyGroupFactory(a,s);return n.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(a,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:s}}),a}}(),ShapeExpressionInterface=function(){function e(x,y,T){var g=[],C,d=x?x.length:0;for(C=0;C<d;C+=1)x[C].ty==="gr"?g.push(i(x[C],y[C],T)):x[C].ty==="fl"?g.push(s(x[C],y[C],T)):x[C].ty==="st"?g.push(o(x[C],y[C],T)):x[C].ty==="tm"?g.push(f(x[C],y[C],T)):x[C].ty==="tr"||(x[C].ty==="el"?g.push(c(x[C],y[C],T)):x[C].ty==="sr"?g.push(u(x[C],y[C],T)):x[C].ty==="sh"?g.push(ShapePathInterface(x[C],y[C],T)):x[C].ty==="rc"?g.push(m(x[C],y[C],T)):x[C].ty==="rd"?g.push(p(x[C],y[C],T)):x[C].ty==="rp"?g.push(b(x[C],y[C],T)):x[C].ty==="gf"?g.push(n(x[C],y[C],T)):g.push(a(x[C],y[C])));return g}function t(x,y,T){var g,C=function(A){for(var E=0,R=g.length;E<R;){if(g[E]._name===A||g[E].mn===A||g[E].propertyIndex===A||g[E].ix===A||g[E].ind===A)return g[E];E+=1}return typeof A=="number"?g[A-1]:null};C.propertyGroup=propertyGroupFactory(C,T),g=e(x.it,y.it,C.propertyGroup),C.numProperties=g.length;var d=l(x.it[x.it.length-1],y.it[y.it.length-1],C.propertyGroup);return C.transform=d,C.propertyIndex=x.cix,C._name=x.nm,C}function i(x,y,T){var g=function(A){switch(A){case"ADBE Vectors Group":case"Contents":case 2:return g.content;default:return g.transform}};g.propertyGroup=propertyGroupFactory(g,T);var C=t(x,y,g.propertyGroup),d=l(x.it[x.it.length-1],y.it[y.it.length-1],g.propertyGroup);return g.content=C,g.transform=d,Object.defineProperty(g,"_name",{get:function(){return x.nm}}),g.numProperties=x.np,g.propertyIndex=x.ix,g.nm=x.nm,g.mn=x.mn,g}function s(x,y,T){function g(C){return C==="Color"||C==="color"?g.color:C==="Opacity"||C==="opacity"?g.opacity:null}return Object.defineProperties(g,{color:{get:ExpressionPropertyInterface(y.c)},opacity:{get:ExpressionPropertyInterface(y.o)},_name:{value:x.nm},mn:{value:x.mn}}),y.c.setGroupProperty(PropertyInterface("Color",T)),y.o.setGroupProperty(PropertyInterface("Opacity",T)),g}function n(x,y,T){function g(C){return C==="Start Point"||C==="start point"?g.startPoint:C==="End Point"||C==="end point"?g.endPoint:C==="Opacity"||C==="opacity"?g.opacity:null}return Object.defineProperties(g,{startPoint:{get:ExpressionPropertyInterface(y.s)},endPoint:{get:ExpressionPropertyInterface(y.e)},opacity:{get:ExpressionPropertyInterface(y.o)},type:{get:function(){return"a"}},_name:{value:x.nm},mn:{value:x.mn}}),y.s.setGroupProperty(PropertyInterface("Start Point",T)),y.e.setGroupProperty(PropertyInterface("End Point",T)),y.o.setGroupProperty(PropertyInterface("Opacity",T)),g}function a(){function x(){return null}return x}function o(x,y,T){var g=propertyGroupFactory(R,T),C=propertyGroupFactory(E,g);function d(V){Object.defineProperty(E,x.d[V].nm,{get:ExpressionPropertyInterface(y.d.dataProps[V].p)})}var P,A=x.d?x.d.length:0,E={};for(P=0;P<A;P+=1)d(P),y.d.dataProps[P].p.setGroupProperty(C);function R(V){return V==="Color"||V==="color"?R.color:V==="Opacity"||V==="opacity"?R.opacity:V==="Stroke Width"||V==="stroke width"?R.strokeWidth:null}return Object.defineProperties(R,{color:{get:ExpressionPropertyInterface(y.c)},opacity:{get:ExpressionPropertyInterface(y.o)},strokeWidth:{get:ExpressionPropertyInterface(y.w)},dash:{get:function(){return E}},_name:{value:x.nm},mn:{value:x.mn}}),y.c.setGroupProperty(PropertyInterface("Color",g)),y.o.setGroupProperty(PropertyInterface("Opacity",g)),y.w.setGroupProperty(PropertyInterface("Stroke Width",g)),R}function f(x,y,T){function g(d){return d===x.e.ix||d==="End"||d==="end"?g.end:d===x.s.ix?g.start:d===x.o.ix?g.offset:null}var C=propertyGroupFactory(g,T);return g.propertyIndex=x.ix,y.s.setGroupProperty(PropertyInterface("Start",C)),y.e.setGroupProperty(PropertyInterface("End",C)),y.o.setGroupProperty(PropertyInterface("Offset",C)),g.propertyIndex=x.ix,g.propertyGroup=T,Object.defineProperties(g,{start:{get:ExpressionPropertyInterface(y.s)},end:{get:ExpressionPropertyInterface(y.e)},offset:{get:ExpressionPropertyInterface(y.o)},_name:{value:x.nm}}),g.mn=x.mn,g}function l(x,y,T){function g(d){return x.a.ix===d||d==="Anchor Point"?g.anchorPoint:x.o.ix===d||d==="Opacity"?g.opacity:x.p.ix===d||d==="Position"?g.position:x.r.ix===d||d==="Rotation"||d==="ADBE Vector Rotation"?g.rotation:x.s.ix===d||d==="Scale"?g.scale:x.sk&&x.sk.ix===d||d==="Skew"?g.skew:x.sa&&x.sa.ix===d||d==="Skew Axis"?g.skewAxis:null}var C=propertyGroupFactory(g,T);return y.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",C)),y.transform.mProps.p.setGroupProperty(PropertyInterface("Position",C)),y.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",C)),y.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",C)),y.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",C)),y.transform.mProps.sk&&(y.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",C)),y.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",C))),y.transform.op.setGroupProperty(PropertyInterface("Opacity",C)),Object.defineProperties(g,{opacity:{get:ExpressionPropertyInterface(y.transform.mProps.o)},position:{get:ExpressionPropertyInterface(y.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(y.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(y.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(y.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(y.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(y.transform.mProps.sa)},_name:{value:x.nm}}),g.ty="tr",g.mn=x.mn,g.propertyGroup=T,g}function c(x,y,T){function g(P){return x.p.ix===P?g.position:x.s.ix===P?g.size:null}var C=propertyGroupFactory(g,T);g.propertyIndex=x.ix;var d=y.sh.ty==="tm"?y.sh.prop:y.sh;return d.s.setGroupProperty(PropertyInterface("Size",C)),d.p.setGroupProperty(PropertyInterface("Position",C)),Object.defineProperties(g,{size:{get:ExpressionPropertyInterface(d.s)},position:{get:ExpressionPropertyInterface(d.p)},_name:{value:x.nm}}),g.mn=x.mn,g}function u(x,y,T){function g(P){return x.p.ix===P?g.position:x.r.ix===P?g.rotation:x.pt.ix===P?g.points:x.or.ix===P||P==="ADBE Vector Star Outer Radius"?g.outerRadius:x.os.ix===P?g.outerRoundness:x.ir&&(x.ir.ix===P||P==="ADBE Vector Star Inner Radius")?g.innerRadius:x.is&&x.is.ix===P?g.innerRoundness:null}var C=propertyGroupFactory(g,T),d=y.sh.ty==="tm"?y.sh.prop:y.sh;return g.propertyIndex=x.ix,d.or.setGroupProperty(PropertyInterface("Outer Radius",C)),d.os.setGroupProperty(PropertyInterface("Outer Roundness",C)),d.pt.setGroupProperty(PropertyInterface("Points",C)),d.p.setGroupProperty(PropertyInterface("Position",C)),d.r.setGroupProperty(PropertyInterface("Rotation",C)),x.ir&&(d.ir.setGroupProperty(PropertyInterface("Inner Radius",C)),d.is.setGroupProperty(PropertyInterface("Inner Roundness",C))),Object.defineProperties(g,{position:{get:ExpressionPropertyInterface(d.p)},rotation:{get:ExpressionPropertyInterface(d.r)},points:{get:ExpressionPropertyInterface(d.pt)},outerRadius:{get:ExpressionPropertyInterface(d.or)},outerRoundness:{get:ExpressionPropertyInterface(d.os)},innerRadius:{get:ExpressionPropertyInterface(d.ir)},innerRoundness:{get:ExpressionPropertyInterface(d.is)},_name:{value:x.nm}}),g.mn=x.mn,g}function m(x,y,T){function g(P){return x.p.ix===P?g.position:x.r.ix===P?g.roundness:x.s.ix===P||P==="Size"||P==="ADBE Vector Rect Size"?g.size:null}var C=propertyGroupFactory(g,T),d=y.sh.ty==="tm"?y.sh.prop:y.sh;return g.propertyIndex=x.ix,d.p.setGroupProperty(PropertyInterface("Position",C)),d.s.setGroupProperty(PropertyInterface("Size",C)),d.r.setGroupProperty(PropertyInterface("Rotation",C)),Object.defineProperties(g,{position:{get:ExpressionPropertyInterface(d.p)},roundness:{get:ExpressionPropertyInterface(d.r)},size:{get:ExpressionPropertyInterface(d.s)},_name:{value:x.nm}}),g.mn=x.mn,g}function p(x,y,T){function g(P){return x.r.ix===P||P==="Round Corners 1"?g.radius:null}var C=propertyGroupFactory(g,T),d=y;return g.propertyIndex=x.ix,d.rd.setGroupProperty(PropertyInterface("Radius",C)),Object.defineProperties(g,{radius:{get:ExpressionPropertyInterface(d.rd)},_name:{value:x.nm}}),g.mn=x.mn,g}function b(x,y,T){function g(P){return x.c.ix===P||P==="Copies"?g.copies:x.o.ix===P||P==="Offset"?g.offset:null}var C=propertyGroupFactory(g,T),d=y;return g.propertyIndex=x.ix,d.c.setGroupProperty(PropertyInterface("Copies",C)),d.o.setGroupProperty(PropertyInterface("Offset",C)),Object.defineProperties(g,{copies:{get:ExpressionPropertyInterface(d.c)},offset:{get:ExpressionPropertyInterface(d.o)},_name:{value:x.nm}}),g.mn=x.mn,g}return function(x,y,T){var g;function C(P){if(typeof P=="number")return P=P===void 0?1:P,P===0?T:g[P-1];for(var A=0,E=g.length;A<E;){if(g[A]._name===P)return g[A];A+=1}return null}function d(){return T}return C.propertyGroup=propertyGroupFactory(C,d),g=e(x,y,C.propertyGroup),C.numProperties=g.length,C._name="Contents",C}}(),TextExpressionInterface=function(){return function(e){var t;function i(s){switch(s){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){e.textProperty.getValue();var n=e.textProperty.currentData.t;return(!t||n!==t.value)&&(t=new String(n),t.value=n||new String(n),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),i}}();function _typeof(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(i){return typeof i}:_typeof=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(e)}var FootageInterface=function(){var e=function(s){var n="",a=s.getFootageData();function o(){return n="",a=s.getFootageData(),f}function f(l){if(a[l])return n=l,a=a[l],_typeof(a)==="object"?f:a;var c=l.indexOf(n);if(c!==-1){var u=parseInt(l.substr(c+n.length),10);return a=a[u],_typeof(a)==="object"?f:a}return""}return o},t=function(s){function n(a){return a==="Outline"?n.outlineInterface():null}return n._name="Outline",n.outlineInterface=e(s),n};return function(i){function s(n){return n==="Data"?s.dataInterface:null}return s._name="Data",s.dataInterface=t(i),s}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers=function(){function e(o,f,l){f.x&&(l.k=!0,l.x=!0,l.initiateExpression=ExpressionManager.initiateExpression,l.effectsSequence.push(l.initiateExpression(o,f,l).bind(l)))}function t(o){return o*=this.elem.globalData.frameRate,o-=this.offsetTime,o!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<o?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(o,this._cachingAtTime),this._cachingAtTime.lastFrame=o),this._cachingAtTime.value}function i(o){var f=-.01,l=this.getValueAtTime(o),c=this.getValueAtTime(o+f),u=0;if(l.length){var m;for(m=0;m<l.length;m+=1)u+=Math.pow(c[m]-l[m],2);u=Math.sqrt(u)*100}else u=0;return u}function s(o){if(this.vel!==void 0)return this.vel;var f=-.001,l=this.getValueAtTime(o),c=this.getValueAtTime(o+f),u;if(l.length){u=createTypedArray("float32",l.length);var m;for(m=0;m<l.length;m+=1)u[m]=(c[m]-l[m])/f}else u=(c-l)/f;return u}function n(){return this.pv}function a(o){this.propertyGroup=o}return{searchExpressions:e,getSpeedAtTime:i,getVelocityAtTime:s,getValueAtTime:t,getStaticValueAtTime:n,setGroupProperty:a}}();function addPropertyDecorator(){function e(p,b,x){if(!this.k||!this.keyframes)return this.pv;p=p?p.toLowerCase():"";var y=this.comp.renderedFrame,T=this.keyframes,g=T[T.length-1].t;if(y<=g)return this.pv;var C,d;x?(b?C=Math.abs(g-this.elem.comp.globalData.frameRate*b):C=Math.max(0,g-this.elem.data.ip),d=g-C):((!b||b>T.length-1)&&(b=T.length-1),d=T[T.length-1-b].t,C=g-d);var P,A,E;if(p==="pingpong"){var R=Math.floor((y-d)/C);if(R%2!==0)return this.getValueAtTime((C-(y-d)%C+d)/this.comp.globalData.frameRate,0)}else if(p==="offset"){var V=this.getValueAtTime(d/this.comp.globalData.frameRate,0),F=this.getValueAtTime(g/this.comp.globalData.frameRate,0),$=this.getValueAtTime(((y-d)%C+d)/this.comp.globalData.frameRate,0),Z=Math.floor((y-d)/C);if(this.pv.length){for(E=new Array(V.length),A=E.length,P=0;P<A;P+=1)E[P]=(F[P]-V[P])*Z+$[P];return E}return(F-V)*Z+$}else if(p==="continue"){var B=this.getValueAtTime(g/this.comp.globalData.frameRate,0),X=this.getValueAtTime((g-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(E=new Array(B.length),A=E.length,P=0;P<A;P+=1)E[P]=B[P]+(B[P]-X[P])*((y-g)/this.comp.globalData.frameRate)/5e-4;return E}return B+(B-X)*((y-g)/.001)}return this.getValueAtTime(((y-d)%C+d)/this.comp.globalData.frameRate,0)}function t(p,b,x){if(!this.k)return this.pv;p=p?p.toLowerCase():"";var y=this.comp.renderedFrame,T=this.keyframes,g=T[0].t;if(y>=g)return this.pv;var C,d;x?(b?C=Math.abs(this.elem.comp.globalData.frameRate*b):C=Math.max(0,this.elem.data.op-g),d=g+C):((!b||b>T.length-1)&&(b=T.length-1),d=T[b].t,C=d-g);var P,A,E;if(p==="pingpong"){var R=Math.floor((g-y)/C);if(R%2===0)return this.getValueAtTime(((g-y)%C+g)/this.comp.globalData.frameRate,0)}else if(p==="offset"){var V=this.getValueAtTime(g/this.comp.globalData.frameRate,0),F=this.getValueAtTime(d/this.comp.globalData.frameRate,0),$=this.getValueAtTime((C-(g-y)%C+g)/this.comp.globalData.frameRate,0),Z=Math.floor((g-y)/C)+1;if(this.pv.length){for(E=new Array(V.length),A=E.length,P=0;P<A;P+=1)E[P]=$[P]-(F[P]-V[P])*Z;return E}return $-(F-V)*Z}else if(p==="continue"){var B=this.getValueAtTime(g/this.comp.globalData.frameRate,0),X=this.getValueAtTime((g+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(E=new Array(B.length),A=E.length,P=0;P<A;P+=1)E[P]=B[P]+(B[P]-X[P])*(g-y)/.001;return E}return B+(B-X)*(g-y)/.001}return this.getValueAtTime((C-((g-y)%C+g))/this.comp.globalData.frameRate,0)}function i(p,b){if(!this.k)return this.pv;if(p=(p||.4)*.5,b=Math.floor(b||5),b<=1)return this.pv;var x=this.comp.renderedFrame/this.comp.globalData.frameRate,y=x-p,T=x+p,g=b>1?(T-y)/(b-1):1,C=0,d=0,P;this.pv.length?P=createTypedArray("float32",this.pv.length):P=0;for(var A;C<b;){if(A=this.getValueAtTime(y+C*g),this.pv.length)for(d=0;d<this.pv.length;d+=1)P[d]+=A[d];else P+=A;C+=1}if(this.pv.length)for(d=0;d<this.pv.length;d+=1)P[d]/=b;else P/=b;return P}function s(p){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var b=this._transformCachingAtTime.v;if(b.cloneFromProps(this.pre.props),this.appliedTransformations<1){var x=this.a.getValueAtTime(p);b.translate(-x[0]*this.a.mult,-x[1]*this.a.mult,x[2]*this.a.mult)}if(this.appliedTransformations<2){var y=this.s.getValueAtTime(p);b.scale(y[0]*this.s.mult,y[1]*this.s.mult,y[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var T=this.sk.getValueAtTime(p),g=this.sa.getValueAtTime(p);b.skewFromAxis(-T*this.sk.mult,g*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var C=this.r.getValueAtTime(p);b.rotate(-C*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var d=this.rz.getValueAtTime(p),P=this.ry.getValueAtTime(p),A=this.rx.getValueAtTime(p),E=this.or.getValueAtTime(p);b.rotateZ(-d*this.rz.mult).rotateY(P*this.ry.mult).rotateX(A*this.rx.mult).rotateZ(-E[2]*this.or.mult).rotateY(E[1]*this.or.mult).rotateX(E[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var R=this.px.getValueAtTime(p),V=this.py.getValueAtTime(p);if(this.data.p.z){var F=this.pz.getValueAtTime(p);b.translate(R*this.px.mult,V*this.py.mult,-F*this.pz.mult)}else b.translate(R*this.px.mult,V*this.py.mult,0)}else{var $=this.p.getValueAtTime(p);b.translate($[0]*this.p.mult,$[1]*this.p.mult,-$[2]*this.p.mult)}return b}function n(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(p,b,x){var y=a(p,b,x);return y.dynamicProperties.length?y.getValueAtTime=s.bind(y):y.getValueAtTime=n.bind(y),y.setGroupProperty=expressionHelpers.setGroupProperty,y};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(p,b,x,y,T){var g=o(p,b,x,y,T);g.kf?g.getValueAtTime=expressionHelpers.getValueAtTime.bind(g):g.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(g),g.setGroupProperty=expressionHelpers.setGroupProperty,g.loopOut=e,g.loopIn=t,g.smooth=i,g.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(g),g.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(g),g.numKeys=b.a===1?b.k.length:0,g.propertyIndex=b.ix;var C=0;return x!==0&&(C=createTypedArray("float32",b.a===1?b.k[0].s.length:b.k.length)),g._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:C},expressionHelpers.searchExpressions(p,b,g),g.k&&T.addDynamicProperty(g),g};function f(p){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),p*=this.elem.globalData.frameRate,p-=this.offsetTime,p!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<p?this._caching.lastIndex:0,this._cachingAtTime.lastTime=p,this.interpolateShape(p,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var l=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function u(){}u.prototype={vertices:function(b,x){this.k&&this.getValue();var y=this.v;x!==void 0&&(y=this.getValueAtTime(x,0));var T,g=y._length,C=y[b],d=y.v,P=createSizedArray(g);for(T=0;T<g;T+=1)b==="i"||b==="o"?P[T]=[C[T][0]-d[T][0],C[T][1]-d[T][1]]:P[T]=[C[T][0],C[T][1]];return P},points:function(b){return this.vertices("v",b)},inTangents:function(b){return this.vertices("i",b)},outTangents:function(b){return this.vertices("o",b)},isClosed:function(){return this.v.c},pointOnPath:function(b,x){var y=this.v;x!==void 0&&(y=this.getValueAtTime(x,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(y));for(var T=this._segmentsLength,g=T.lengths,C=T.totalLength*b,d=0,P=g.length,A=0,E;d<P;){if(A+g[d].addedLength>C){var R=d,V=y.c&&d===P-1?0:d+1,F=(C-A)/g[d].addedLength;E=bez.getPointInSegment(y.v[R],y.v[V],y.o[R],y.i[V],F,g[d]);break}else A+=g[d].addedLength;d+=1}return E||(E=y.c?[y.v[0][0],y.v[0][1]]:[y.v[y._length-1][0],y.v[y._length-1][1]]),E},vectorOnPath:function(b,x,y){b==1?b=this.v.c:b==0&&(b=.999);var T=this.pointOnPath(b,x),g=this.pointOnPath(b+.001,x),C=g[0]-T[0],d=g[1]-T[1],P=Math.sqrt(Math.pow(C,2)+Math.pow(d,2));if(P===0)return[0,0];var A=y==="tangent"?[C/P,d/P]:[-d/P,C/P];return A},tangentOnPath:function(b,x){return this.vectorOnPath(b,x,"tangent")},normalOnPath:function(b,x){return this.vectorOnPath(b,x,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([u],l),extendPrototype([u],c),c.prototype.getValueAtTime=f,c.prototype.initiateExpression=ExpressionManager.initiateExpression;var m=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(p,b,x,y,T){var g=m(p,b,x,y,T);return g.propertyIndex=b.ix,g.lock=!1,x===3?expressionHelpers.searchExpressions(p,b.pt,g):x===4&&expressionHelpers.searchExpressions(p,b.ks,g),g.k&&p.addDynamicProperty(g),g}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,i){var s=this.calculateExpression(i);if(t.t!==s){var n={};return this.copyData(n,t),n.t=s.toString(),n.__complete=!1,n}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),i=this.searchExpressions();return this.kf=t||i,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,i){var s=createNS("feMerge");s.setAttribute("result",t);var n,a;for(a=0;a<i.length;a+=1)n=createNS("feMergeNode"),n.setAttribute("in",i[a]),s.appendChild(n),s.appendChild(n);return s}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,i,s,n){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",s+"_tint_1"),e.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",s+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(s,[n,s+"_tint_1",s+"_tint_2"]);e.appendChild(o)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,s=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+s+" 0"),this.matrixFilter.setAttribute("values",i[0]-t[0]+" 0 0 0 "+t[0]+" "+(i[1]-t[1])+" 0 0 0 "+t[1]+" "+(i[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}};function SVGFillFilter(e,t,i,s){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",s),e.appendChild(n),this.matrixFilter=n}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+i+" 0")}};function SVGStrokeEffect(e,t,i){this.initialized=!1,this.filterManager=t,this.elem=i,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,t,i,s,n;for(this.filterManager.effectElements[1].p.v===1?(n=this.elem.maskManager.masksProperties.length,s=0):(s=this.filterManager.effectElements[0].p.v-1,n=s+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),s;s<n;s+=1)t=createNS("path"),i.appendChild(t),this.paths.push({p:t,m:s});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(i),this.elem.globalData.defs.appendChild(a);var f=createNS("g");for(f.setAttribute("mask","url("+getLocationHref()+"#"+o+")");e[0];)f.appendChild(e[0]);this.elem.layerElement.appendChild(f),this.masker=a,i.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(i),this.elem.layerElement.removeAttribute("mask"),i.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=i},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,i=this.paths.length,s,n;for(t=0;t<i;t+=1)if(this.paths[t].m!==-1&&(s=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||s.prop._mdf)&&n.setAttribute("d",s.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||s.prop._mdf)){var a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var o=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,f=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=n.getTotalLength();a="0 0 0 "+l*o+" ";var c=l*(f-o),u=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,m=Math.floor(c/u),p;for(p=0;p<m;p+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+l*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var b=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(b[0]*255)+","+bmFloor(b[1]*255)+","+bmFloor(b[2]*255)+")")}};function SVGTritoneFilter(e,t,i,s){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(n);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",s),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var f=createNS("feFuncG");f.setAttribute("type","table"),a.appendChild(f),this.feFuncG=f;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,e.appendChild(a)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,s=this.filterManager.effectElements[2].p.v,n=s[0]+" "+i[0]+" "+t[0],a=s[1]+" "+i[1]+" "+t[1],o=s[2]+" "+i[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}};function SVGProLevelsFilter(e,t,i,s){this.filterManager=t;var n=this.filterManager.effectElements,a=createNS("feComponentTransfer");(n[10].p.k||n[10].p.v!==0||n[11].p.k||n[11].p.v!==1||n[12].p.k||n[12].p.v!==1||n[13].p.k||n[13].p.v!==0||n[14].p.k||n[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(n[17].p.k||n[17].p.v!==0||n[18].p.k||n[18].p.v!==1||n[19].p.k||n[19].p.v!==1||n[20].p.k||n[20].p.v!==0||n[21].p.k||n[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(n[24].p.k||n[24].p.v!==0||n[25].p.k||n[25].p.v!==1||n[26].p.k||n[26].p.v!==1||n[27].p.k||n[27].p.v!==0||n[28].p.k||n[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(n[31].p.k||n[31].p.v!==0||n[32].p.k||n[32].p.v!==1||n[33].p.k||n[33].p.v!==1||n[34].p.k||n[34].p.v!==0||n[35].p.k||n[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(n[3].p.k||n[3].p.v!==0||n[4].p.k||n[4].p.v!==1||n[5].p.k||n[5].p.v!==1||n[6].p.k||n[6].p.v!==0||n[7].p.k||n[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",s),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var i=createNS(e);return i.setAttribute("type","table"),t.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(e,t,i,s,n){for(var a=0,o=256,f,l=Math.min(e,t),c=Math.max(e,t),u=Array.call(null,{length:o}),m,p=0,b=n-s,x=t-e;a<=256;)f=a/256,f<=l?m=x<0?n:s:f>=c?m=x<0?s:n:m=s+b*Math.pow((f-e)/x,1/i),u[p]=m,p+=1,a+=256/(o-1);return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,i=this.filterManager.effectElements;this.feFuncRComposed&&(e||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(t=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(t=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(t=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(t=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(t=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,i,s,n){var a=t.container.globalData.renderConfig.filterSize,o=t.data.fs||a;e.setAttribute("x",o.x||a.x),e.setAttribute("y",o.y||a.y),e.setAttribute("width",o.width||a.width),e.setAttribute("height",o.height||a.height),this.filterManager=t;var f=createNS("feGaussianBlur");f.setAttribute("in","SourceAlpha"),f.setAttribute("result",s+"_drop_shadow_1"),f.setAttribute("stdDeviation","0"),this.feGaussianBlur=f,e.appendChild(f);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",s+"_drop_shadow_1"),l.setAttribute("result",s+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",s+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var u=createNS("feComposite");u.setAttribute("in",s+"_drop_shadow_3"),u.setAttribute("in2",s+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",s+"_drop_shadow_4"),e.appendChild(u);var m=this.createMergeNode(s,[s+"_drop_shadow_4",n]);e.appendChild(m)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var i=this.filterManager.effectElements[3].p.v,s=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=i*Math.cos(s),a=i*Math.sin(s);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,i){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,i=_svgMatteSymbols.length;t<i;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var i=e.layerElement.parentNode;if(i){for(var s=i.children,n=0,a=s.length;n<a&&s[n]!==e.layerElement;)n+=1;var o;n<=a-2&&(o=s[n+1]);var f=createNS("use");f.setAttribute("href","#"+t),o?i.insertBefore(f,o):i.appendChild(f)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var i=createElementID(),s=createNS("mask");s.setAttribute("id",t.layerId),s.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var n=e.globalData.defs;n.appendChild(s);var a=createNS("symbol");a.setAttribute("id",i),this.replaceInParent(t,i),a.appendChild(t.layerElement),n.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+i),s.appendChild(o),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,i=0,s=t.length;i<s;)t[i]&&t[i].data.ind===e&&this.setElementAsMask(this.elem,t[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,t,i,s){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var n=createNS("feGaussianBlur");n.setAttribute("result",s),e.appendChild(n),this.feGaussianBlur=n}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,i=this.filterManager.effectElements[0].p.v*t,s=this.filterManager.effectElements[1].p.v,n=s==3?0:i,a=s==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+a);var o=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}};function TransformEffect(){}TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,i=t[0].p.v,s=t[1].p.v,n=t[2].p.v===1,a=t[3].p.v,o=n?a:t[4].p.v,f=t[5].p.v,l=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(o*.01,a*.01,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-f*degToRads,(l+90)*degToRads),this.matrix.translate(s[0],s[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(e,t){this.init(t)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(e){this.init(e)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie$1,lottie$1.exports);var lottieExports=lottie$1.exports;const lottie=getDefaultExportFromCjs(lottieExports);function _iterableToArrayLimit(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var s,n,a,o,f=[],l=!0,c=!1;try{if(a=(i=i.call(e)).next,t!==0)for(;!(l=(s=a.call(i)).done)&&(f.push(s.value),f.length!==t);l=!0);}catch(u){c=!0,n=u}finally{try{if(!l&&i.return!=null&&(o=i.return(),Object(o)!==o))return}finally{if(c)throw n}}return f}}function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,s)}return i}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach(function(s){_defineProperty(e,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(i,s))})}return e}function _defineProperty(e,t,i){return t=_toPropertyKey(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var i={},s=Object.keys(e),n,a;for(a=0;a<s.length;a++)n=s[a],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}function _objectWithoutProperties(e,t){if(e==null)return{};var i=_objectWithoutPropertiesLoose(e,t),s,n;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)s=a[n],!(t.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(e,s)&&(i[s]=e[s])}return i}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _unsupportedIterableToArray(e,t){if(e){if(typeof e=="string")return _arrayLikeToArray(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(e,t)}}function _arrayLikeToArray(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
10
10
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _toPrimitive(e,t){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var s=i.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return typeof t=="symbol"?t:String(t)}var _excluded$1=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],useLottie=function e(t,i){var s=t.animationData,n=t.loop,a=t.autoplay,o=t.initialSegment,f=t.onComplete,l=t.onLoopComplete,c=t.onEnterFrame,u=t.onSegmentStart,m=t.onConfigReady,p=t.onDataReady,b=t.onDataFailed,x=t.onLoadedImages,y=t.onDOMLoaded,T=t.onDestroy;t.lottieRef,t.renderer,t.name,t.assetsPath,t.rendererSettings;var g=_objectWithoutProperties(t,_excluded$1),C=React.useState(!1),d=_slicedToArray(C,2),P=d[0],A=d[1],E=React.useRef(),R=React.useRef(null),V=function(){var G;(G=E.current)===null||G===void 0||G.play()},F=function(){var G;(G=E.current)===null||G===void 0||G.stop()},$=function(){var G;(G=E.current)===null||G===void 0||G.pause()},Z=function(G){var U;(U=E.current)===null||U===void 0||U.setSpeed(G)},B=function(G,U){var K;(K=E.current)===null||K===void 0||K.goToAndPlay(G,U)},X=function(G,U){var K;(K=E.current)===null||K===void 0||K.goToAndStop(G,U)},q=function(G){var U;(U=E.current)===null||U===void 0||U.setDirection(G)},N=function(G,U){var K;(K=E.current)===null||K===void 0||K.playSegments(G,U)},L=function(G){var U;(U=E.current)===null||U===void 0||U.setSubframe(G)},_=function(G){var U;return(U=E.current)===null||U===void 0?void 0:U.getDuration(G)},S=function(){var G;(G=E.current)===null||G===void 0||G.destroy(),E.current=void 0},M=function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U;if(R.current){(U=E.current)===null||U===void 0||U.destroy();var K=_objectSpread2(_objectSpread2(_objectSpread2({},t),G),{},{container:R.current});return E.current=lottie.loadAnimation(K),A(!!E.current),function(){var J;(J=E.current)===null||J===void 0||J.destroy(),E.current=void 0}}};React.useEffect(function(){var k=M();return function(){return k==null?void 0:k()}},[s,n]),React.useEffect(function(){E.current&&(E.current.autoplay=!!a)},[a]),React.useEffect(function(){if(E.current){if(!o){E.current.resetSegments(!0);return}!Array.isArray(o)||!o.length||((E.current.currentRawFrame<o[0]||E.current.currentRawFrame>o[1])&&(E.current.currentRawFrame=o[0]),E.current.setSegment(o[0],o[1]))}},[o]),React.useEffect(function(){var k=[{name:"complete",handler:f},{name:"loopComplete",handler:l},{name:"enterFrame",handler:c},{name:"segmentStart",handler:u},{name:"config_ready",handler:m},{name:"data_ready",handler:p},{name:"data_failed",handler:b},{name:"loaded_images",handler:x},{name:"DOMLoaded",handler:y},{name:"destroy",handler:T}],G=k.filter(function(K){return K.handler!=null});if(G.length){var U=G.map(function(K){var J;return(J=E.current)===null||J===void 0||J.addEventListener(K.name,K.handler),function(){var re;(re=E.current)===null||re===void 0||re.removeEventListener(K.name,K.handler)}});return function(){U.forEach(function(K){return K()})}}},[f,l,c,u,m,p,b,x,y,T]);var I=React.createElement("div",_objectSpread2({style:i,ref:R},g));return{View:I,play:V,stop:F,pause:$,setSpeed:Z,goToAndStop:X,goToAndPlay:B,setDirection:q,playSegments:N,setSubframe:L,getDuration:_,destroy:S,animationContainerRef:R,animationLoaded:P,animationItem:E.current}};function getContainerVisibility(e){var t=e.getBoundingClientRect(),i=t.top,s=t.height,n=window.innerHeight-i,a=window.innerHeight+s;return n/a}function getContainerCursorPosition(e,t,i){var s=e.getBoundingClientRect(),n=s.top,a=s.left,o=s.width,f=s.height,l=(t-a)/o,c=(i-n)/f;return{x:l,y:c}}var useInitInteractivity=function e(t){var i=t.wrapperRef,s=t.animationItem,n=t.mode,a=t.actions;React.useEffect(function(){var o=i.current;if(!(!o||!s||!a.length)){s.stop();var f=function(){var u=null,m=function(){var b=getContainerVisibility(o),x=a.find(function(T){var g=T.visibility;return g&&b>=g[0]&&b<=g[1]});if(x){if(x.type==="seek"&&x.visibility&&x.frames.length===2){var y=x.frames[0]+Math.ceil((b-x.visibility[0])/(x.visibility[1]-x.visibility[0])*x.frames[1]);//! goToAndStop must be relative to the start of the current segment
|
|
11
|
-
s.goToAndStop(y-s.firstFrame-1,!0)}x.type==="loop"&&(u===null||u!==x.frames||s.isPaused)&&(s.playSegments(x.frames,!0),u=x.frames),x.type==="play"&&s.isPaused&&(s.resetSegments(!0),s.play()),x.type==="stop"&&s.goToAndStop(x.frames[0]-s.firstFrame-1,!0)}};return document.addEventListener("scroll",m),function(){document.removeEventListener("scroll",m)}},l=function(){var u=function(x,y){var T=x,g=y;if(T!==-1&&g!==-1){var C=getContainerCursorPosition(o,T,g);T=C.x,g=C.y}var d=a.find(function(E){var R=E.position;return R&&Array.isArray(R.x)&&Array.isArray(R.y)?T>=R.x[0]&&T<=R.x[1]&&g>=R.y[0]&&g<=R.y[1]:R&&!Number.isNaN(R.x)&&!Number.isNaN(R.y)?T===R.x&&g===R.y:!1});if(d){if(d.type==="seek"&&d.position&&Array.isArray(d.position.x)&&Array.isArray(d.position.y)&&d.frames.length===2){var P=(T-d.position.x[0])/(d.position.x[1]-d.position.x[0]),A=(g-d.position.y[0])/(d.position.y[1]-d.position.y[0]);s.playSegments(d.frames,!0),s.goToAndStop(Math.ceil((P+A)/2*(d.frames[1]-d.frames[0])),!0)}d.type==="loop"&&s.playSegments(d.frames,!0),d.type==="play"&&(s.isPaused&&s.resetSegments(!1),s.playSegments(d.frames)),d.type==="stop"&&s.goToAndStop(d.frames[0],!0)}},m=function(x){u(x.clientX,x.clientY)},p=function(){u(-1,-1)};return o.addEventListener("mousemove",m),o.addEventListener("mouseout",p),function(){o.removeEventListener("mousemove",m),o.removeEventListener("mouseout",p)}};switch(n){case"scroll":return f();case"cursor":return l()}}},[n,s])},useLottieInteractivity=function e(t){var i=t.actions,s=t.mode,n=t.lottieObj,a=n.animationItem,o=n.View,f=n.animationContainerRef;return useInitInteractivity({actions:i,animationItem:a,mode:s,wrapperRef:f}),o},_excluded=["style","interactivity"],Lottie=function e(t){var i,s,n,a=t.style,o=t.interactivity,f=_objectWithoutProperties(t,_excluded),l=useLottie(f,a),c=l.View,u=l.play,m=l.stop,p=l.pause,b=l.setSpeed,x=l.goToAndStop,y=l.goToAndPlay,T=l.setDirection,g=l.playSegments,C=l.setSubframe,d=l.getDuration,P=l.destroy,A=l.animationContainerRef,E=l.animationLoaded,R=l.animationItem;return React.useEffect(function(){t.lottieRef&&(t.lottieRef.current={play:u,stop:m,pause:p,setSpeed:b,goToAndPlay:y,goToAndStop:x,setDirection:T,playSegments:g,setSubframe:C,getDuration:d,destroy:P,animationContainerRef:A,animationLoaded:E,animationItem:R})},[(i=t.lottieRef)===null||i===void 0?void 0:i.current]),useLottieInteractivity({lottieObj:{View:c,play:u,stop:m,pause:p,setSpeed:b,goToAndStop:x,goToAndPlay:y,setDirection:T,playSegments:g,setSubframe:C,getDuration:d,destroy:P,animationContainerRef:A,animationLoaded:E,animationItem:R},actions:(s=o==null?void 0:o.actions)!==null&&s!==void 0?s:[],mode:(n=o==null?void 0:o.mode)!==null&&n!==void 0?n:"scroll"})};const v="5.7.4",fr=60,ip=0,op=120,w=64,h=64,nm="loading spinner",ddd=0,assets=[],layers=[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.34],y:[1]},o:{x:[.66],y:[0]},t:0,s:[180]},{t:119,s:[540]}],ix:10},p:{a:0,k:[32.135,31.505,0],ix:2,l:2},a:{a:0,k:[-.75,2.75,0],ix:1,l:2},s:{a:0,k:[82,82,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[15.326,0],[0,-15.326],[-15.326,0],[0,15.326]],o:[[-15.326,0],[0,15.326],[15.326,0],[0,-15.326]],v:[[0,-27.75],[-27.75,0],[0,27.75],[27.75,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.505882352941,.478431372549,.564705882353,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-.75,2.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[100]},{i:{x:[.351],y:[.985]},o:{x:[.665],y:[0]},t:60,s:[90]},{t:120,s:[0]}],ix:1},e:{a:1,k:[{i:{x:[.34],y:[1]},o:{x:[.66],y:[0]},t:0,s:[100]},{t:60,s:[0]}],ix:2},o:{a:0,k:176,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:600,st:0,bm:0}],markers=[],spinnerAnimation={v,fr,ip,op,w,h,nm,ddd,assets,layers,markers},buttonStyles=cva(["gf-font-satoshi","gf-font-bold","gf-min-w-32","gf-px-6","gf-focus:outline-none","gf-border-none","gf-transition-colors","gf-duration-500"],{variants:{variant:{primary:"gf-text-white gf-bg-button-primary",secondary:"gf-text-white gf-bg-button-secondary",ternary:"gf-text-dark-grey gf-bg-button-ternary",disabled:"gf-bg-button-disabled-bg gf-text-button-disabled-text gf-cursor-not-allowed"},size:{sm:"gf-h-9 gf-rounded-xl gf-text-xs",md:"gf-h-10 gf-rounded-xl gf-text-sm",lg:"gf-h-12 gf-rounded-2xl gf-text-base"},breakpointSize:{"xs:sm":"xs:gf-h-9 xs:gf-rounded-xl xs:gf-text-xs","xs:md":"xs:gf-h-10 xs:gf-rounded-xl xs:gf-text-sm","xs:lg":"xs:gf-h-12 xs:gf-rounded-2xl xs:gf-text-base","sm:sm":"sm:gf-h-9 sm:gf-rounded-xl sm:gf-text-xs","sm:md":"sm:gf-h-10 sm:gf-rounded-xl sm:gf-text-sm","sm:lg":"sm:gf-h-12 sm:gf-rounded-2xl sm:gf-text-base","md:sm":"md:gf-h-9 md:gf-rounded-xl md:gf-text-xs","md:md":"md:gf-h-10 md:gf-rounded-xl md:gf-text-sm","md:lg":"md:gf-h-12 md:gf-rounded-2xl md:gf-text-base","lg:sm":"lg:gf-h-9 lg:gf-rounded-xl lg:gf-text-xs","lg:md":"lg:gf-h-10 lg:gf-rounded-xl lg:gf-text-sm","lg:lg":"lg:gf-h-12 lg:gf-rounded-2xl lg:gf-text-base","xl:sm":"xl:gf-h-9 xl:gf-rounded-xl xl:gf-text-xs","xl:md":"xl:gf-h-10 xl:gf-rounded-xl xl:gf-text-sm","xl:lg":"xl:gf-h-12 xl:gf-rounded-2xl xl:gf-text-base"}},defaultVariants:{variant:"primary",size:"md"}}),Button=React.forwardRef(({variant:e,size:t,breakpoints:i,loading:s,className:n,children:a,...o},f)=>{const l=i?Object.entries(i).map(([c,u])=>`${c}:${u}`).map(c=>buttonStyles({breakpointSize:c})).join(" "):"";return jsxRuntime.jsx("button",{ref:f,className:cn("gf-transition-colors gf-duration-300",n,buttonStyles({variant:e,size:t}),l,s),disabled:s||e==="disabled",...o,children:jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-center gf-items-center gf-gap-3",children:[a,s&&jsxRuntime.jsx(Lottie,{animationData:spinnerAnimation,loop:!0,autoplay:!0,style:{width:24,height:24}})]})})}),typographyStyles=cva(["gf-font-satoshi gf-text-dark-grey"],{variants:{size:{h1:"gf-text-[32px] gf-leading-[48px]",h2:"gf-text-xl gf-leading-7",h3:"gf-text-base gf-leading-6",h4:"gf-text-sm gf-leading-5",h5:"gf-text-xs gf-leading-4"},weight:{bold:"gf-font-bold",medium:"gf-font-medium"},breakpointSize:{"xs:h1":"xs:gf-text-[32px] xs:gf-leading-[48px]","xs:h2":"xs:gf-text-xl xs:gf-leading-7","xs:h3":"xs:gf-text-base xs:gf-leading-6","xs:h4":"xs:gf-text-sm xs:gf-leading-5","xs:h5":"xs:gf-text-xs xs:gf-leading-4","sm:h1":"sm:gf-text-[32px] sm:gf-leading-[48px]","sm:h2":"sm:gf-text-xl sm:gf-leading-7","sm:h3":"sm:gf-text-base sm:gf-leading-6","sm:h4":"sm:gf-text-sm sm:gf-leading-5","sm:h5":"sm:gf-text-xs sm:gf-leading-4","md:h1":"md:gf-text-[32px] md:gf-leading-[48px]","md:h2":"md:gf-text-xl md:gf-leading-7","md:h3":"md:gf-text-base md:gf-leading-6","md:h4":"md:gf-text-sm md:gf-leading-5","md:h5":"md:gf-text-xs md:gf-leading-4","lg:h1":"lg:gf-text-[32px] lg:gf-leading-[48px]","lg:h2":"lg:gf-text-xl lg:gf-leading-7","lg:h3":"lg:gf-text-base lg:gf-leading-6","lg:h4":"lg:gf-text-sm lg:gf-leading-5","lg:h5":"lg:gf-text-xs lg:gf-leading-4","xl:h1":"xl:gf-text-[32px] xl:gf-leading-[48px]","xl:h2":"xl:gf-text-xl xl:gf-leading-7","xl:h3":"xl:gf-text-base xl:gf-leading-6","xl:h4":"xl:gf-text-sm xl:gf-leading-5","xl:h5":"xl:gf-text-xs xl:gf-leading-4"},defaultVariants:{size:"h3",weight:"medium"}}}),Typography=({as:e="span",size:t,weight:i,breakpoints:s,className:n,...a})=>{const o=s?Object.entries(s).map(([f,l])=>`${f}:${l}`).map(f=>typographyStyles({breakpointSize:f})).join(" "):"";return jsxRuntime.jsx(e,{className:cn(typographyStyles({size:t,weight:i,className:n}),o),...a})},OpacityStyles=cva("gf-bg-white",{variants:{level:{"extra-light":"gf-bg-opacity-10",light:"gf-bg-opacity-25",medium:"gf-bg-opacity-50","semi-dark":"gf-bg-opacity-75",full:"gf-bg-opacity-100"}},defaultVariants:{level:"full"}}),Opacity=({level:e,className:t,children:i,...s})=>jsxRuntime.jsx("div",{...s,className:cn(OpacityStyles({level:e}),t),children:i}),sidebarStyles=cva("gf-fixed gf-inset-y-0 gf-right-0 gf-transition-transform gf-duration-200 gf-bg-white gf-backdrop-blur-sm gf-p-4",{variants:{open:{true:"gf-translate-x-0",false:"gf-translate-x-full"},size:{small:"gf-w-full md:gf-w-[360px]",large:"gf-w-full md:gf-w-[480px]"}},defaultVariants:{open:!1}}),Sidebar=({open:e,size:t,children:i,className:s,...n})=>jsxRuntime.jsx(Opacity,{level:"medium",className:cn(sidebarStyles({open:e,size:t,className:s})),...n,children:i}),modalStyles=cva(["gf-fixed gf-inset-0 gf-z-50 gf-flex gf-items-center gf-justify-center gf-min-h-screen gf-transition-all"],{variants:{open:{true:"gf-bg-black",false:"gf-opacity-0 gf-pointer-events-none"}},defaultVariants:{open:!1}}),Modal=({open:e,onClose:t,children:i})=>{const[s,n]=React.useState(!1);React.useEffect(()=>{e&&n(!0)},[e]);const a=o=>{t&&(o.stopPropagation(),t())};return jsxRuntime.jsx("div",{className:`gf-bg-dark-grey gf-bg-opacity-40 ${modalStyles({open:e})} ${s?e?"gf-animate-fade-in":"gf-animate-fade-out":""}`,onClick:a,children:jsxRuntime.jsx("div",{className:`gf-transform gf-transition-transform ${e?"gf-animate-scale-in":"gf-animate-scale-out"}`,children:i})})},Children=({children:e,className:t,opacityLevel:i,...s})=>{const n=a=>{a.stopPropagation()};return jsxRuntime.jsx(Opacity,{level:i,onClick:n,className:`gf-mx-auto gf-backdrop-blur-md ${t||""}`,...s,children:e})};Modal.Children=Children;const ArrowDownwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.0013 17.3333L0.167969 11.5L1.33464 10.3333L5.16797 14.1458V0.666656H6.83464V14.1458L10.668 10.3125L11.8346 11.5L6.0013 17.3333Z"})}),ArrowUpwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.16797 17.3333V3.85416L1.33464 7.66666L0.167969 6.49999L6.0013 0.666656L11.8346 6.49999L10.668 7.68749L6.83464 3.85416V17.3333H5.16797Z"})}),ArrowLeftIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"12",viewBox:"0 0 18 12",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.5013 11.8333L0.667969 5.99999L6.5013 0.166656L7.66797 1.33332L3.85547 5.16666H17.3346V6.83332H3.85547L7.6888 10.6667L6.5013 11.8333Z"})}),ArrowRightIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"12",viewBox:"0 0 18 12",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M11.5013 11.8333L10.3138 10.6667L14.1471 6.83332H0.667969V5.16666H14.1471L10.3346 1.33332L11.5013 0.166656L17.3346 5.99999L11.5013 11.8333Z"})}),AddIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.16797 6.83332H0.167969V5.16666H5.16797V0.166656H6.83464V5.16666H11.8346V6.83332H6.83464V11.8333H5.16797V6.83332Z"})}),ArrowNorthEastIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M1.4987 12.6667L0.332031 11.5L9.9987 1.83335H4.4987V0.166687H12.832V8.50002H11.1654V3.00002L1.4987 12.6667Z"})}),ArrowNorthWestIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M11.5013 12.6667L1.83464 3.00002V8.50002H0.167969V0.166687H8.5013V1.83335H3.0013L12.668 11.5L11.5013 12.6667Z"})}),ArrowSouthEastIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4.4987 12.8333V11.1666H9.9987L0.332031 1.49998L1.4987 0.333313L11.1654 9.99998V4.49998H12.832V12.8333H4.4987Z"})}),ArrowSouthWestIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.167969 12.8333V4.49998H1.83464V9.99998L11.5013 0.333313L12.668 1.49998L3.0013 11.1666H8.5013V12.8333H0.167969Z"})}),CheckIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4.95703 11.0003L0.207031 6.25033L1.39453 5.06283L4.95703 8.62533L12.6029 0.979492L13.7904 2.16699L4.95703 11.0003Z"})}),ClockIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M11.7513 12.9167L12.918 11.75L9.83463 8.66669V4.83335H8.16797V9.33335L11.7513 12.9167ZM9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334ZM9.0013 15.6667C10.8485 15.6667 12.4214 15.0174 13.7201 13.7188C15.0187 12.4202 15.668 10.8472 15.668 9.00002C15.668 7.1528 15.0187 5.57988 13.7201 4.28127C12.4214 2.98266 10.8485 2.33335 9.0013 2.33335C7.15408 2.33335 5.58116 2.98266 4.28255 4.28127C2.98394 5.57988 2.33464 7.1528 2.33464 9.00002C2.33464 10.8472 2.98394 12.4202 4.28255 13.7188C5.58116 15.0174 7.15408 15.6667 9.0013 15.6667Z"})}),CloseIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M1.33464 11.8334L0.167969 10.6667L4.83464 6.00002L0.167969 1.33335L1.33464 0.166687L6.0013 4.83335L10.668 0.166687L11.8346 1.33335L7.16797 6.00002L11.8346 10.6667L10.668 11.8334L6.0013 7.16669L1.33464 11.8334Z"})}),CopyIcon=e=>jsxRuntime.jsx("svg",{width:"15",height:"18",viewBox:"0 0 15 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.5 14C5.04167 14 4.64931 13.8368 4.32292 13.5104C3.99653 13.184 3.83333 12.7917 3.83333 12.3334V2.33335C3.83333 1.87502 3.99653 1.48266 4.32292 1.15627C4.64931 0.829881 5.04167 0.666687 5.5 0.666687H13C13.4583 0.666687 13.8507 0.829881 14.1771 1.15627C14.5035 1.48266 14.6667 1.87502 14.6667 2.33335V12.3334C14.6667 12.7917 14.5035 13.184 14.1771 13.5104C13.8507 13.8368 13.4583 14 13 14H5.5ZM5.5 12.3334H13V2.33335H5.5V12.3334ZM2.16667 17.3334C1.70833 17.3334 1.31597 17.1702 0.989583 16.8438C0.663194 16.5174 0.5 16.125 0.5 15.6667V4.00002H2.16667V15.6667H11.3333V17.3334H2.16667Z"})}),EditIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.16667 13.8333H3.35417L11.5 5.6875L10.3125 4.5L2.16667 12.6458V13.8333ZM0.5 15.5V11.9583L11.5 0.979167C11.6667 0.826389 11.8507 0.708333 12.0521 0.625C12.2535 0.541667 12.4653 0.5 12.6875 0.5C12.9097 0.5 13.125 0.541667 13.3333 0.625C13.5417 0.708333 13.7222 0.833333 13.875 1L15.0208 2.16667C15.1875 2.31944 15.309 2.5 15.3854 2.70833C15.4618 2.91667 15.5 3.125 15.5 3.33333C15.5 3.55556 15.4618 3.76736 15.3854 3.96875C15.309 4.17014 15.1875 4.35417 15.0208 4.52083L4.04167 15.5H0.5ZM10.8958 5.10417L10.3125 4.5L11.5 5.6875L10.8958 5.10417Z"})}),ExchangeIcon=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M12.3882 15.3333L12.3882 4.37498L11.1382 4.37498L11.1382 15.3333L11.1382 18.3333L11.7632 17.7083L15.832 13.6394L14.9715 12.75L12.3882 15.3333Z"}),jsxRuntime.jsx("path",{d:"M7.61184 4.66669L7.61184 15.625L8.86184 15.625L8.86184 4.66669L8.86181 1.66669L8.23684 2.29169L4.16797 6.36056L5.02851 7.25002L7.61184 4.66669Z"})]}),InfoIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M8.16797 13.1667H9.83463V8.16669H8.16797V13.1667ZM9.0013 6.50002C9.23741 6.50002 9.43533 6.42016 9.59505 6.26044C9.75477 6.10071 9.83463 5.9028 9.83463 5.66669C9.83463 5.43058 9.75477 5.23266 9.59505 5.07294C9.43533 4.91321 9.23741 4.83335 9.0013 4.83335C8.76519 4.83335 8.56727 4.91321 8.40755 5.07294C8.24783 5.23266 8.16797 5.43058 8.16797 5.66669C8.16797 5.9028 8.24783 6.10071 8.40755 6.26044C8.56727 6.42016 8.76519 6.50002 9.0013 6.50002ZM9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334ZM9.0013 15.6667C10.8624 15.6667 12.4388 15.0209 13.7305 13.7292C15.0221 12.4375 15.668 10.8611 15.668 9.00002C15.668 7.13891 15.0221 5.56252 13.7305 4.27085C12.4388 2.97919 10.8624 2.33335 9.0013 2.33335C7.14019 2.33335 5.5638 2.97919 4.27214 4.27085C2.98047 5.56252 2.33464 7.13891 2.33464 9.00002C2.33464 10.8611 2.98047 12.4375 4.27214 13.7292C5.5638 15.0209 7.14019 15.6667 9.0013 15.6667Z"})}),KeyboardDownIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5 6.83335L0 1.83335L1.16667 0.666687L5 4.50002L8.83333 0.666687L10 1.83335L5 6.83335Z"})}),KeyboardLeftIcon=e=>jsxRuntime.jsx("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.66797 10L0.667969 5L5.66797 0L6.83464 1.16667L3.0013 5L6.83464 8.83333L5.66797 10Z"})}),KeyboardRightIcon=e=>jsxRuntime.jsx("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4.5013 5L0.667969 1.16667L1.83464 0L6.83464 5L1.83464 10L0.667969 8.83333L4.5013 5Z"})}),KeyboardUpIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5 3.00002L1.16667 6.83335L0 5.66669L5 0.666687L10 5.66669L8.83333 6.83335L5 3.00002Z"})}),LanguageIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M8 16C6.90278 16 5.86806 15.7917 4.89583 15.375C3.92361 14.9583 3.07292 14.3854 2.34375 13.6562C1.61458 12.9271 1.04167 12.0764 0.625 11.1042C0.208333 10.1319 0 9.09722 0 8C0 6.88889 0.208333 5.85069 0.625 4.88542C1.04167 3.92014 1.61458 3.07292 2.34375 2.34375C3.07292 1.61458 3.92361 1.04167 4.89583 0.625C5.86806 0.208333 6.90278 0 8 0C9.11111 0 10.1493 0.208333 11.1146 0.625C12.0799 1.04167 12.9271 1.61458 13.6562 2.34375C14.3854 3.07292 14.9583 3.92014 15.375 4.88542C15.7917 5.85069 16 6.88889 16 8C16 9.09722 15.7917 10.1319 15.375 11.1042C14.9583 12.0764 14.3854 12.9271 13.6562 13.6562C12.9271 14.3854 12.0799 14.9583 11.1146 15.375C10.1493 15.7917 9.11111 16 8 16ZM8 14.4375C8.23611 14.2014 8.47222 13.7604 8.70833 13.1146C8.94444 12.4688 9.125 11.7639 9.25 11H6.75C6.875 11.7639 7.05556 12.4688 7.29167 13.1146C7.52778 13.7604 7.76389 14.2014 8 14.4375ZM6.10417 14.2292C5.90972 13.8125 5.73958 13.3333 5.59375 12.7917C5.44792 12.25 5.32639 11.6528 5.22917 11H2.25C2.65278 11.7917 3.1875 12.4688 3.85417 13.0312C4.52083 13.5938 5.27083 13.9931 6.10417 14.2292ZM9.89583 14.2292C10.7292 13.9931 11.4792 13.5938 12.1458 13.0312C12.8125 12.4688 13.3472 11.7917 13.75 11H10.7708C10.6736 11.6528 10.5521 12.25 10.4062 12.7917C10.2604 13.3333 10.0903 13.8125 9.89583 14.2292ZM1.6875 9.5H5.04167C5.01389 9.23611 4.99653 8.97569 4.98958 8.71875C4.98264 8.46181 4.97917 8.20833 4.97917 7.95833C4.97917 7.70833 4.98264 7.46181 4.98958 7.21875C4.99653 6.97569 5.01389 6.73611 5.04167 6.5H1.6875C1.61806 6.76389 1.56944 7.01736 1.54167 7.26042C1.51389 7.50347 1.5 7.75 1.5 8C1.5 8.25 1.51389 8.49653 1.54167 8.73958C1.56944 8.98264 1.61806 9.23611 1.6875 9.5ZM6.5625 9.5H9.4375C9.46528 9.22222 9.48264 8.96181 9.48958 8.71875C9.49653 8.47569 9.5 8.23611 9.5 8C9.5 7.76389 9.49653 7.52083 9.48958 7.27083C9.48264 7.02083 9.46528 6.76389 9.4375 6.5H6.5625C6.53472 6.76389 6.51736 7.02083 6.51042 7.27083C6.50347 7.52083 6.5 7.76389 6.5 8C6.5 8.23611 6.50347 8.47917 6.51042 8.72917C6.51736 8.97917 6.53472 9.23611 6.5625 9.5ZM10.9583 9.5H14.3125C14.3819 9.23611 14.4306 8.98264 14.4583 8.73958C14.4861 8.49653 14.5 8.25 14.5 8C14.5 7.75 14.4861 7.5 14.4583 7.25C14.4306 7 14.3819 6.75 14.3125 6.5H10.9583C10.9861 6.76389 11.0035 7.02431 11.0104 7.28125C11.0174 7.53819 11.0208 7.79167 11.0208 8.04167C11.0208 8.29167 11.0174 8.53819 11.0104 8.78125C11.0035 9.02431 10.9861 9.26389 10.9583 9.5ZM10.7708 5H13.75C13.3472 4.20833 12.8125 3.53125 12.1458 2.96875C11.4792 2.40625 10.7292 2.00694 9.89583 1.77083C10.0903 2.1875 10.2604 2.66667 10.4062 3.20833C10.5521 3.75 10.6736 4.34722 10.7708 5ZM6.75 5H9.25C9.125 4.23611 8.94444 3.53125 8.70833 2.88542C8.47222 2.23958 8.23611 1.79861 8 1.5625C7.76389 1.79861 7.52778 2.23958 7.29167 2.88542C7.05556 3.53125 6.875 4.23611 6.75 5ZM2.25 5H5.22917C5.32639 4.34722 5.44792 3.75 5.59375 3.20833C5.73958 2.66667 5.90972 2.1875 6.10417 1.77083C5.27083 2.00694 4.52083 2.40625 3.85417 2.96875C3.1875 3.53125 2.65278 4.20833 2.25 5Z"})}),LinkIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"10",viewBox:"0 0 18 10",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M8.16797 9.16665H4.83464C3.68186 9.16665 2.69922 8.7604 1.88672 7.9479C1.07422 7.1354 0.667969 6.15276 0.667969 4.99998C0.667969 3.8472 1.07422 2.86456 1.88672 2.05206C2.69922 1.23956 3.68186 0.833313 4.83464 0.833313H8.16797V2.49998H4.83464C4.14019 2.49998 3.54991 2.74304 3.0638 3.22915C2.57769 3.71526 2.33464 4.30554 2.33464 4.99998C2.33464 5.69442 2.57769 6.2847 3.0638 6.77081C3.54991 7.25692 4.14019 7.49998 4.83464 7.49998H8.16797V9.16665ZM5.66797 5.83331V4.16665H12.3346V5.83331H5.66797ZM9.83463 9.16665V7.49998H13.168C13.8624 7.49998 14.4527 7.25692 14.9388 6.77081C15.4249 6.2847 15.668 5.69442 15.668 4.99998C15.668 4.30554 15.4249 3.71526 14.9388 3.22915C14.4527 2.74304 13.8624 2.49998 13.168 2.49998H9.83463V0.833313H13.168C14.3207 0.833313 15.3034 1.23956 16.1159 2.05206C16.9284 2.86456 17.3346 3.8472 17.3346 4.99998C17.3346 6.15276 16.9284 7.1354 16.1159 7.9479C15.3034 8.7604 14.3207 9.16665 13.168 9.16665H9.83463Z"})}),LockIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M1.9987 18.3333C1.54036 18.3333 1.148 18.1701 0.821615 17.8437C0.495226 17.5173 0.332031 17.125 0.332031 16.6666V8.33331C0.332031 7.87498 0.495226 7.48262 0.821615 7.15623C1.148 6.82984 1.54036 6.66665 1.9987 6.66665H2.83203V4.99998C2.83203 3.8472 3.23828 2.86456 4.05078 2.05206C4.86328 1.23956 5.84592 0.833313 6.9987 0.833313C8.15148 0.833313 9.13411 1.23956 9.94661 2.05206C10.7591 2.86456 11.1654 3.8472 11.1654 4.99998V6.66665H11.9987C12.457 6.66665 12.8494 6.82984 13.1758 7.15623C13.5022 7.48262 13.6654 7.87498 13.6654 8.33331V16.6666C13.6654 17.125 13.5022 17.5173 13.1758 17.8437C12.8494 18.1701 12.457 18.3333 11.9987 18.3333H1.9987ZM1.9987 16.6666H11.9987V8.33331H1.9987V16.6666ZM6.9987 14.1666C7.45703 14.1666 7.84939 14.0035 8.17578 13.6771C8.50217 13.3507 8.66536 12.9583 8.66536 12.5C8.66536 12.0416 8.50217 11.6493 8.17578 11.3229C7.84939 10.9965 7.45703 10.8333 6.9987 10.8333C6.54036 10.8333 6.148 10.9965 5.82161 11.3229C5.49523 11.6493 5.33203 12.0416 5.33203 12.5C5.33203 12.9583 5.49523 13.3507 5.82161 13.6771C6.148 14.0035 6.54036 14.1666 6.9987 14.1666ZM4.4987 6.66665H9.4987V4.99998C9.4987 4.30554 9.25564 3.71526 8.76953 3.22915C8.28342 2.74304 7.69314 2.49998 6.9987 2.49998C6.30425 2.49998 5.71398 2.74304 5.22786 3.22915C4.74175 3.71526 4.4987 4.30554 4.4987 4.99998V6.66665Z"})}),LogoutIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.16667 15.5C1.70833 15.5 1.31597 15.3368 0.989583 15.0104C0.663194 14.684 0.5 14.2917 0.5 13.8333V2.16667C0.5 1.70833 0.663194 1.31597 0.989583 0.989583C1.31597 0.663194 1.70833 0.5 2.16667 0.5H8V2.16667H2.16667V13.8333H8V15.5H2.16667ZM11.3333 12.1667L10.1875 10.9583L12.3125 8.83333H5.5V7.16667H12.3125L10.1875 5.04167L11.3333 3.83333L15.5 8L11.3333 12.1667Z"})}),MenuIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.5 10V8.33333H15.5V10H0.5ZM0.5 5.83333V4.16667H15.5V5.83333H0.5ZM0.5 1.66667V0H15.5V1.66667H0.5Z"})}),OpenInFullIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.5 15.5V8.83333H2.16667V12.6667L12.6667 2.16667H8.83333V0.5H15.5V7.16667H13.8333V3.33333L3.33333 13.8333H7.16667V15.5H0.5Z"})}),PageInfoIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M12.7904 13.875C11.9154 13.875 11.1758 13.5729 10.5716 12.9688C9.96745 12.3646 9.66536 11.625 9.66536 10.75C9.66536 9.875 9.96745 9.13542 10.5716 8.53125C11.1758 7.92708 11.9154 7.625 12.7904 7.625C13.6654 7.625 14.4049 7.92708 15.0091 8.53125C15.6133 9.13542 15.9154 9.875 15.9154 10.75C15.9154 11.625 15.6133 12.3646 15.0091 12.9688C14.4049 13.5729 13.6654 13.875 12.7904 13.875ZM12.7904 12.2083C13.1931 12.2083 13.5369 12.066 13.8216 11.7812C14.1063 11.4965 14.2487 11.1528 14.2487 10.75C14.2487 10.3472 14.1063 10.0035 13.8216 9.71875C13.5369 9.43403 13.1931 9.29167 12.7904 9.29167C12.3876 9.29167 12.0438 9.43403 11.7591 9.71875C11.4744 10.0035 11.332 10.3472 11.332 10.75C11.332 11.1528 11.4744 11.4965 11.7591 11.7812C12.0438 12.066 12.3876 12.2083 12.7904 12.2083ZM1.33203 11.5833V9.91667H7.9987V11.5833H1.33203ZM3.20703 6.375C2.33203 6.375 1.59245 6.07292 0.988281 5.46875C0.384115 4.86458 0.0820312 4.125 0.0820312 3.25C0.0820312 2.375 0.384115 1.63542 0.988281 1.03125C1.59245 0.427083 2.33203 0.125 3.20703 0.125C4.08203 0.125 4.82161 0.427083 5.42578 1.03125C6.02995 1.63542 6.33203 2.375 6.33203 3.25C6.33203 4.125 6.02995 4.86458 5.42578 5.46875C4.82161 6.07292 4.08203 6.375 3.20703 6.375ZM3.20703 4.70833C3.60981 4.70833 3.95356 4.56597 4.23828 4.28125C4.523 3.99653 4.66536 3.65278 4.66536 3.25C4.66536 2.84722 4.523 2.50347 4.23828 2.21875C3.95356 1.93403 3.60981 1.79167 3.20703 1.79167C2.80425 1.79167 2.4605 1.93403 2.17578 2.21875C1.89106 2.50347 1.7487 2.84722 1.7487 3.25C1.7487 3.65278 1.89106 3.99653 2.17578 4.28125C2.4605 4.56597 2.80425 4.70833 3.20703 4.70833ZM7.9987 4.08333V2.41667H14.6654V4.08333H7.9987Z"})}),RadioCheckedIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M7.83464 12.8334L13.7096 6.95835L12.543 5.79169L7.83464 10.5L5.45964 8.12502L4.29297 9.29169L7.83464 12.8334ZM9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334Z"})}),RadioUncheckedIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334ZM9.0013 15.6667C10.8624 15.6667 12.4388 15.0209 13.7305 13.7292C15.0221 12.4375 15.668 10.8611 15.668 9.00002C15.668 7.13891 15.0221 5.56252 13.7305 4.27085C12.4388 2.97919 10.8624 2.33335 9.0013 2.33335C7.14019 2.33335 5.5638 2.97919 4.27214 4.27085C2.98047 5.56252 2.33464 7.13891 2.33464 9.00002C2.33464 10.8611 2.98047 12.4375 4.27214 13.7292C5.5638 15.0209 7.14019 15.6667 9.0013 15.6667Z"})}),RemoveIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"2",viewBox:"0 0 12 2",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.167969 1.83332V0.166656H11.8346V1.83332H0.167969Z"})}),StarIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"17",viewBox:"0 0 18 17",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.3763 13.0209L9.0013 11.4375L11.6263 13.0417L10.9388 10.0417L13.2513 8.04169L10.2096 7.77085L9.0013 4.93752L7.79297 7.75002L4.7513 8.02085L7.0638 10.0417L6.3763 13.0209ZM3.85547 16.5L5.20964 10.6459L0.667969 6.70835L6.66797 6.18752L9.0013 0.666687L11.3346 6.18752L17.3346 6.70835L12.793 10.6459L14.1471 16.5L9.0013 13.3959L3.85547 16.5Z"})}),WalletIcon=e=>jsxRuntime.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.16667 15.5C1.70833 15.5 1.31597 15.3368 0.989583 15.0104C0.663194 14.684 0.5 14.2917 0.5 13.8333V2.16667C0.5 1.70833 0.663194 1.31597 0.989583 0.989583C1.31597 0.663194 1.70833 0.5 2.16667 0.5H13.8333C14.2917 0.5 14.684 0.663194 15.0104 0.989583C15.3368 1.31597 15.5 1.70833 15.5 2.16667V4.25H13.8333V2.16667H2.16667V13.8333H13.8333V11.75H15.5V13.8333C15.5 14.2917 15.3368 14.684 15.0104 15.0104C14.684 15.3368 14.2917 15.5 13.8333 15.5H2.16667ZM8.83333 12.1667C8.375 12.1667 7.98264 12.0035 7.65625 11.6771C7.32986 11.3507 7.16667 10.9583 7.16667 10.5V5.5C7.16667 5.04167 7.32986 4.64931 7.65625 4.32292C7.98264 3.99653 8.375 3.83333 8.83333 3.83333H14.6667C15.125 3.83333 15.5174 3.99653 15.8438 4.32292C16.1701 4.64931 16.3333 5.04167 16.3333 5.5V10.5C16.3333 10.9583 16.1701 11.3507 15.8438 11.6771C15.5174 12.0035 15.125 12.1667 14.6667 12.1667H8.83333ZM14.6667 10.5V5.5H8.83333V10.5H14.6667ZM11.3333 9.25C11.6806 9.25 11.9757 9.12847 12.2188 8.88542C12.4618 8.64236 12.5833 8.34722 12.5833 8C12.5833 7.65278 12.4618 7.35764 12.2188 7.11458C11.9757 6.87153 11.6806 6.75 11.3333 6.75C10.9861 6.75 10.691 6.87153 10.4479 7.11458C10.2049 7.35764 10.0833 7.65278 10.0833 8C10.0833 8.34722 10.2049 8.64236 10.4479 8.88542C10.691 9.12847 10.9861 9.25 11.3333 9.25Z"})}),SearchIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M14.3333 15.5L9.08333 10.25C8.66667 10.5833 8.1875 10.8472 7.64583 11.0417C7.10417 11.2361 6.52778 11.3333 5.91667 11.3333C4.40278 11.3333 3.12153 10.809 2.07292 9.76042C1.02431 8.71181 0.5 7.43056 0.5 5.91667C0.5 4.40278 1.02431 3.12153 2.07292 2.07292C3.12153 1.02431 4.40278 0.5 5.91667 0.5C7.43056 0.5 8.71181 1.02431 9.76042 2.07292C10.809 3.12153 11.3333 4.40278 11.3333 5.91667C11.3333 6.52778 11.2361 7.10417 11.0417 7.64583C10.8472 8.1875 10.5833 8.66667 10.25 9.08333L15.5 14.3333L14.3333 15.5ZM5.91667 9.66667C6.95833 9.66667 7.84375 9.30208 8.57292 8.57292C9.30208 7.84375 9.66667 6.95833 9.66667 5.91667C9.66667 4.875 9.30208 3.98958 8.57292 3.26042C7.84375 2.53125 6.95833 2.16667 5.91667 2.16667C4.875 2.16667 3.98958 2.53125 3.26042 3.26042C2.53125 3.98958 2.16667 4.875 2.16667 5.91667C2.16667 6.95833 2.53125 7.84375 3.26042 8.57292C3.98958 9.30208 4.875 9.66667 5.91667 9.66667Z"})}),TimerIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"19",viewBox:"0 0 16 19",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.5 2.49998V0.833313H10.5V2.49998H5.5ZM7.16667 11.6666H8.83333V6.66665H7.16667V11.6666ZM8 18.3333C6.97222 18.3333 6.00347 18.1354 5.09375 17.7396C4.18403 17.3437 3.38889 16.8055 2.70833 16.125C2.02778 15.4444 1.48958 14.6493 1.09375 13.7396C0.697917 12.8298 0.5 11.8611 0.5 10.8333C0.5 9.80554 0.697917 8.83679 1.09375 7.92706C1.48958 7.01734 2.02778 6.2222 2.70833 5.54165C3.38889 4.86109 4.18403 4.3229 5.09375 3.92706C6.00347 3.53123 6.97222 3.33331 8 3.33331C8.86111 3.33331 9.6875 3.4722 10.4792 3.74998C11.2708 4.02776 12.0139 4.43054 12.7083 4.95831L13.875 3.79165L15.0417 4.95831L13.875 6.12498C14.4028 6.81942 14.8056 7.56248 15.0833 8.35415C15.3611 9.14581 15.5 9.9722 15.5 10.8333C15.5 11.8611 15.3021 12.8298 14.9062 13.7396C14.5104 14.6493 13.9722 15.4444 13.2917 16.125C12.6111 16.8055 11.816 17.3437 10.9062 17.7396C9.99653 18.1354 9.02778 18.3333 8 18.3333ZM8 16.6666C9.61111 16.6666 10.9861 16.0972 12.125 14.9583C13.2639 13.8194 13.8333 12.4444 13.8333 10.8333C13.8333 9.2222 13.2639 7.8472 12.125 6.70831C10.9861 5.56942 9.61111 4.99998 8 4.99998C6.38889 4.99998 5.01389 5.56942 3.875 6.70831C2.73611 7.8472 2.16667 9.2222 2.16667 10.8333C2.16667 12.4444 2.73611 13.8194 3.875 14.9583C5.01389 16.0972 6.38889 16.6666 8 16.6666Z"})}),ReferralIcon=e=>jsxRuntime.jsx("svg",{width:"20",height:"14",viewBox:"0 0 20 14",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M10.4167 6.95831C10.8194 6.51387 11.1285 6.00692 11.3438 5.43748C11.559 4.86804 11.6667 4.27776 11.6667 3.66665C11.6667 3.05554 11.559 2.46526 11.3438 1.89581C11.1285 1.32637 10.8194 0.819424 10.4167 0.37498C11.25 0.486091 11.9444 0.854146 12.5 1.47915C13.0556 2.10415 13.3333 2.83331 13.3333 3.66665C13.3333 4.49998 13.0556 5.22915 12.5 5.85415C11.9444 6.47915 11.25 6.8472 10.4167 6.95831ZM15 13.6666V11.1666C15 10.6666 14.8889 10.191 14.6667 9.73956C14.4444 9.28817 14.1528 8.88887 13.7917 8.54165C14.5 8.79165 15.1562 9.11456 15.7604 9.5104C16.3646 9.90623 16.6667 10.4583 16.6667 11.1666V13.6666H15ZM16.6667 7.83331V6.16665H15V4.49998H16.6667V2.83331H18.3333V4.49998H20V6.16665H18.3333V7.83331H16.6667ZM6.66667 6.99998C5.75 6.99998 4.96528 6.67359 4.3125 6.02081C3.65972 5.36804 3.33333 4.58331 3.33333 3.66665C3.33333 2.74998 3.65972 1.96526 4.3125 1.31248C4.96528 0.659702 5.75 0.333313 6.66667 0.333313C7.58333 0.333313 8.36806 0.659702 9.02083 1.31248C9.67361 1.96526 10 2.74998 10 3.66665C10 4.58331 9.67361 5.36804 9.02083 6.02081C8.36806 6.67359 7.58333 6.99998 6.66667 6.99998ZM0 13.6666V11.3333C0 10.8611 0.121528 10.4271 0.364583 10.0312C0.607639 9.6354 0.930556 9.33331 1.33333 9.12498C2.19444 8.69442 3.06944 8.37151 3.95833 8.15623C4.84722 7.94095 5.75 7.83331 6.66667 7.83331C7.58333 7.83331 8.48611 7.94095 9.375 8.15623C10.2639 8.37151 11.1389 8.69442 12 9.12498C12.4028 9.33331 12.7257 9.6354 12.9688 10.0312C13.2118 10.4271 13.3333 10.8611 13.3333 11.3333V13.6666H0ZM6.66667 5.33331C7.125 5.33331 7.51736 5.17012 7.84375 4.84373C8.17014 4.51734 8.33333 4.12498 8.33333 3.66665C8.33333 3.20831 8.17014 2.81595 7.84375 2.48956C7.51736 2.16317 7.125 1.99998 6.66667 1.99998C6.20833 1.99998 5.81597 2.16317 5.48958 2.48956C5.16319 2.81595 5 3.20831 5 3.66665C5 4.12498 5.16319 4.51734 5.48958 4.84373C5.81597 5.17012 6.20833 5.33331 6.66667 5.33331ZM1.66667 12H11.6667V11.3333C11.6667 11.1805 11.6285 11.0416 11.5521 10.9166C11.4757 10.7916 11.375 10.6944 11.25 10.625C10.5 10.25 9.74306 9.96873 8.97917 9.78123C8.21528 9.59373 7.44444 9.49998 6.66667 9.49998C5.88889 9.49998 5.11806 9.59373 4.35417 9.78123C3.59028 9.96873 2.83333 10.25 2.08333 10.625C1.95833 10.6944 1.85764 10.7916 1.78125 10.9166C1.70486 11.0416 1.66667 11.1805 1.66667 11.3333V12Z"})}),FeesIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2 13.6667C1.44444 13.6667 0.972222 13.4722 0.583333 13.0833C0.194444 12.6945 0 12.2222 0 11.6667V9.66668H2V0.333344L3 1.33334L4 0.333344L5 1.33334L6 0.333344L7 1.33334L8 0.333344L9 1.33334L10 0.333344L11 1.33334L12 0.333344V11.6667C12 12.2222 11.8056 12.6945 11.4167 13.0833C11.0278 13.4722 10.5556 13.6667 10 13.6667H2ZM10 12.3333C10.1889 12.3333 10.3472 12.2695 10.475 12.1417C10.6028 12.0139 10.6667 11.8556 10.6667 11.6667V2.33334H3.33333V9.66668H9.33333V11.6667C9.33333 11.8556 9.39722 12.0139 9.525 12.1417C9.65278 12.2695 9.81111 12.3333 10 12.3333ZM4 5.00001V3.66668H8V5.00001H4ZM4 7.00001V5.66668H8V7.00001H4ZM9.33333 5.00001C9.14444 5.00001 8.98611 4.93612 8.85833 4.80834C8.73056 4.68057 8.66667 4.52223 8.66667 4.33334C8.66667 4.14445 8.73056 3.98612 8.85833 3.85834C8.98611 3.73057 9.14444 3.66668 9.33333 3.66668C9.52222 3.66668 9.68056 3.73057 9.80833 3.85834C9.93611 3.98612 10 4.14445 10 4.33334C10 4.52223 9.93611 4.68057 9.80833 4.80834C9.68056 4.93612 9.52222 5.00001 9.33333 5.00001ZM9.33333 7.00001C9.14444 7.00001 8.98611 6.93612 8.85833 6.80834C8.73056 6.68057 8.66667 6.52223 8.66667 6.33334C8.66667 6.14445 8.73056 5.98612 8.85833 5.85834C8.98611 5.73057 9.14444 5.66668 9.33333 5.66668C9.52222 5.66668 9.68056 5.73057 9.80833 5.85834C9.93611 5.98612 10 6.14445 10 6.33334C10 6.52223 9.93611 6.68057 9.80833 6.80834C9.68056 6.93612 9.52222 7.00001 9.33333 7.00001ZM2 12.3333H8V11H1.33333V11.6667C1.33333 11.8556 1.39722 12.0139 1.525 12.1417C1.65278 12.2695 1.81111 12.3333 2 12.3333Z",fill:"#554B6A"})}),OpenInNewIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H6V1.33333H1.33333V10.6667H10.6667V6H12V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM4.46667 8.46667L3.53333 7.53333L9.73333 1.33333H7.33333V0H12V4.66667H10.6667V2.26667L4.46667 8.46667Z",fill:"#554B6A"})}),ArrowEastIcon=e=>jsxRuntime.jsx("svg",{width:"21",height:"14",viewBox:"0 0 21 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M13.1367 14L11.7117 12.6L16.3117 8H0.136719V6H16.3117L11.7367 1.4L13.1367 0L20.1367 7L13.1367 14Z",fill:"#554B6A"})}),CheckCircleIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.06536 10.0667L10.7654 5.36666L9.83203 4.43333L6.06536 8.19999L4.16536 6.29999L3.23203 7.23333L6.06536 10.0667ZM6.9987 13.6667C6.07648 13.6667 5.20981 13.4917 4.3987 13.1417C3.58759 12.7917 2.88203 12.3167 2.28203 11.7167C1.68203 11.1167 1.20703 10.4111 0.857031 9.59999C0.507031 8.78888 0.332031 7.92222 0.332031 6.99999C0.332031 6.07777 0.507031 5.21111 0.857031 4.39999C1.20703 3.58888 1.68203 2.88333 2.28203 2.28333C2.88203 1.68333 3.58759 1.20833 4.3987 0.858328C5.20981 0.508328 6.07648 0.333328 6.9987 0.333328C7.92092 0.333328 8.78759 0.508328 9.5987 0.858328C10.4098 1.20833 11.1154 1.68333 11.7154 2.28333C12.3154 2.88333 12.7904 3.58888 13.1404 4.39999C13.4904 5.21111 13.6654 6.07777 13.6654 6.99999C13.6654 7.92222 13.4904 8.78888 13.1404 9.59999C12.7904 10.4111 12.3154 11.1167 11.7154 11.7167C11.1154 12.3167 10.4098 12.7917 9.5987 13.1417C8.78759 13.4917 7.92092 13.6667 6.9987 13.6667ZM6.9987 12.3333C8.48759 12.3333 9.7487 11.8167 10.782 10.7833C11.8154 9.74999 12.332 8.48888 12.332 6.99999C12.332 5.51111 11.8154 4.24999 10.782 3.21666C9.7487 2.18333 8.48759 1.66666 6.9987 1.66666C5.50981 1.66666 4.2487 2.18333 3.21536 3.21666C2.18203 4.24999 1.66536 5.51111 1.66536 6.99999C1.66536 8.48888 2.18203 9.74999 3.21536 10.7833C4.2487 11.8167 5.50981 12.3333 6.9987 12.3333Z",fill:"#554B6A"})}),FingerprintIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.17059 2.00668C7.34517 2.00668 8.45327 2.26308 9.49488 2.77587C10.5365 3.28866 11.4064 4.02967 12.1045 4.9989C12.182 5.10033 12.207 5.19049 12.1793 5.26939C12.1515 5.34828 12.1045 5.4159 12.038 5.47225C11.9715 5.5286 11.8939 5.55396 11.8053 5.54832C11.7166 5.54269 11.6391 5.49479 11.5726 5.40463C10.9631 4.52556 10.1791 3.85217 9.22063 3.38446C8.26212 2.91675 7.24544 2.68289 6.17059 2.68289C5.09573 2.68289 4.08737 2.91675 3.14548 3.38446C2.2036 3.85217 1.42239 4.52556 0.801856 5.40463C0.73537 5.50606 0.657803 5.56241 0.569155 5.57368C0.480507 5.58495 0.40294 5.56241 0.336454 5.50606C0.258888 5.44971 0.211793 5.37927 0.195172 5.29474C0.178551 5.21022 0.203483 5.12287 0.269969 5.03271C0.956989 4.07475 1.81854 3.33092 2.85461 2.80123C3.89068 2.27153 4.99601 2.00668 6.17059 2.00668ZM6.17059 3.59577C7.66652 3.59577 8.95192 4.10293 10.0268 5.11724C11.1016 6.13155 11.6391 7.38817 11.6391 8.8871C11.6391 9.4506 11.4424 9.92113 11.049 10.2987C10.6556 10.6762 10.1764 10.865 9.61123 10.865C9.0461 10.865 8.56131 10.6762 8.15686 10.2987C7.7524 9.92113 7.55017 9.4506 7.55017 8.8871C7.55017 8.51518 7.41443 8.20244 7.14295 7.94886C6.87146 7.69528 6.54734 7.56849 6.17059 7.56849C5.79384 7.56849 5.46972 7.69528 5.19823 7.94886C4.92675 8.20244 4.79101 8.51518 4.79101 8.8871C4.79101 9.9803 5.10959 10.8932 5.74674 11.6257C6.3839 12.3583 7.20666 12.8711 8.21503 13.1641C8.31476 13.1979 8.38125 13.2543 8.41449 13.3332C8.44773 13.4121 8.45327 13.4966 8.43111 13.5867C8.40895 13.6656 8.36462 13.7332 8.29814 13.7896C8.23165 13.846 8.14854 13.8629 8.04882 13.8403C6.89639 13.5473 5.95451 12.9641 5.22317 12.0906C4.49182 11.2172 4.12615 10.1493 4.12615 8.8871C4.12615 8.32359 4.32561 7.85024 4.72452 7.46706C5.12344 7.08388 5.60546 6.89228 6.17059 6.89228C6.73572 6.89228 7.21774 7.08388 7.61666 7.46706C8.01557 7.85024 8.21503 8.32359 8.21503 8.8871C8.21503 9.25901 8.35354 9.57176 8.63057 9.82533C8.90759 10.0789 9.23448 10.2057 9.61123 10.2057C9.98799 10.2057 10.3093 10.0789 10.5753 9.82533C10.8412 9.57176 10.9742 9.25901 10.9742 8.8871C10.9742 7.57976 10.5033 6.48092 9.56137 5.59058C8.61949 4.70024 7.49477 4.25507 6.18721 4.25507C4.87966 4.25507 3.75494 4.70024 2.81305 5.59058C1.87117 6.48092 1.40023 7.57413 1.40023 8.87019C1.40023 9.14067 1.42516 9.47878 1.47503 9.8845C1.52489 10.2902 1.64401 10.7636 1.83239 11.3045C1.86563 11.406 1.86286 11.4961 1.82408 11.575C1.78529 11.6539 1.72158 11.7103 1.63293 11.7441C1.54428 11.7779 1.4584 11.7751 1.3753 11.7356C1.29219 11.6962 1.23401 11.6314 1.20077 11.5412C1.03456 11.1017 0.915436 10.665 0.843409 10.2311C0.771383 9.79716 0.73537 9.34917 0.73537 8.8871C0.73537 7.38817 1.27003 6.13155 2.33934 5.11724C3.40866 4.10293 4.68574 3.59577 6.17059 3.59577ZM6.17059 0.349976C6.87977 0.349976 7.57233 0.437319 8.24827 0.612006C8.92421 0.786693 9.57799 1.03745 10.2096 1.36429C10.3093 1.42064 10.3675 1.48826 10.3841 1.56715C10.4008 1.64604 10.3924 1.72493 10.3592 1.80382C10.326 1.88271 10.2706 1.9447 10.193 1.98978C10.1154 2.03486 10.0212 2.02922 9.91042 1.97287C9.32313 1.66858 8.71644 1.43473 8.09037 1.27131C7.46429 1.10789 6.82437 1.02618 6.17059 1.02618C5.52789 1.02618 4.89628 1.10226 4.27574 1.2544C3.65521 1.40655 3.06238 1.64604 2.49725 1.97287C2.4086 2.02922 2.31995 2.04331 2.2313 2.01514C2.14265 1.98696 2.07617 1.92779 2.03184 1.83763C1.98752 1.74747 1.97644 1.66576 1.9986 1.59251C2.02076 1.51925 2.07617 1.45445 2.16482 1.3981C2.78535 1.05999 3.43359 0.800781 4.10953 0.620459C4.78547 0.440137 5.47249 0.349976 6.17059 0.349976ZM6.17059 5.23558C7.20112 5.23558 8.0876 5.58777 8.83002 6.29215C9.57245 6.99653 9.94366 7.86151 9.94366 8.8871C9.94366 8.98853 9.91319 9.07024 9.85225 9.13222C9.7913 9.19421 9.71096 9.2252 9.61123 9.2252C9.52259 9.2252 9.44502 9.19421 9.37853 9.13222C9.31205 9.07024 9.2788 8.98853 9.2788 8.8871C9.2788 8.04184 8.97131 7.33464 8.35631 6.76549C7.74132 6.19635 7.01274 5.91178 6.17059 5.91178C5.32844 5.91178 4.6054 6.19635 4.00149 6.76549C3.39758 7.33464 3.09562 8.04184 3.09562 8.8871C3.09562 9.79998 3.25075 10.5748 3.56102 11.2116C3.87129 11.8483 4.32561 12.4879 4.92398 13.1303C4.99047 13.1979 5.02371 13.2768 5.02371 13.367C5.02371 13.4571 4.99047 13.536 4.92398 13.6036C4.85749 13.6713 4.77993 13.7051 4.69128 13.7051C4.60263 13.7051 4.52506 13.6713 4.45858 13.6036C3.8048 12.9049 3.30339 12.1921 2.95434 11.4651C2.60528 10.7382 2.43076 9.87887 2.43076 8.8871C2.43076 7.86151 2.79643 6.99653 3.52778 6.29215C4.25912 5.58777 5.14006 5.23558 6.17059 5.23558ZM6.15397 8.54899C6.2537 8.54899 6.33403 8.5828 6.39498 8.65042C6.45592 8.71804 6.4864 8.79693 6.4864 8.8871C6.4864 9.73236 6.78558 10.4255 7.38396 10.9664C7.98233 11.5074 8.68043 11.7779 9.47826 11.7779C9.54475 11.7779 9.63894 11.7722 9.76083 11.761C9.88272 11.7497 10.0101 11.7328 10.1431 11.7103C10.2428 11.6877 10.3287 11.7018 10.4008 11.7525C10.4728 11.8032 10.5199 11.8793 10.542 11.9807C10.5642 12.0709 10.5476 12.1498 10.4922 12.2174C10.4368 12.285 10.3647 12.3301 10.2761 12.3527C10.0766 12.409 9.90211 12.44 9.75252 12.4456C9.60292 12.4513 9.5115 12.4541 9.47826 12.4541C8.49205 12.4541 7.63605 12.116 6.91025 11.4398C6.18444 10.7636 5.82154 9.91268 5.82154 8.8871C5.82154 8.79693 5.85201 8.71804 5.91296 8.65042C5.9739 8.5828 6.05424 8.54899 6.15397 8.54899Z",fill:"#554B6A"})}),CompareArrowsIcon=e=>jsxRuntime.jsx("svg",{width:"15",height:"12",viewBox:"0 0 15 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4.53203 11.666L3.55203 10.6863L5.35453 8.91602H0.332031V7.54102H5.35453L3.55203 5.7707L4.53203 4.79102L8.03203 8.22852L4.53203 11.666ZM10.132 7.54102L6.63203 4.10352L10.132 0.666016L11.112 1.6457L9.30953 3.41602H14.332V4.79102H9.30953L11.112 6.56133L10.132 7.54102Z",fill:"#554B6A"})}),MinusIcon=({rectFill:e="#F7CFDB",pathFill:t="#E36492",...i})=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[jsxRuntime.jsx("rect",{width:"20",height:"20",rx:"10",fill:e}),jsxRuntime.jsx("mask",{id:"mask0_16264_15926",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"16",height:"16",children:jsxRuntime.jsx("rect",{x:"2",y:"2",width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_16264_15926)",children:jsxRuntime.jsx("path",{d:"M5.9987 10.6668C5.80981 10.6668 5.65148 10.6029 5.5237 10.4752C5.39592 10.3474 5.33203 10.1891 5.33203 10.0002C5.33203 9.81127 5.39592 9.65294 5.5237 9.52516C5.65148 9.39738 5.80981 9.3335 5.9987 9.3335H13.9987C14.1876 9.3335 14.3459 9.39738 14.4737 9.52516C14.6015 9.65294 14.6654 9.81127 14.6654 10.0002C14.6654 10.1891 14.6015 10.3474 14.4737 10.4752C14.3459 10.6029 14.1876 10.6668 13.9987 10.6668H5.9987Z",fill:t})})]}),PlusIcon=({rectFill:e="#99DFC7",pathFill:t="#2CAC7F",...i})=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[jsxRuntime.jsx("rect",{width:"20",height:"20",rx:"10",fill:e}),jsxRuntime.jsx("mask",{id:"mask0_16264_15930",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"16",height:"16",children:jsxRuntime.jsx("rect",{x:"2",y:"2",width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_16264_15930)",children:jsxRuntime.jsx("path",{d:"M9.33203 10.6685H5.9987C5.80981 10.6685 5.65148 10.6046 5.5237 10.4769C5.39592 10.3491 5.33203 10.1908 5.33203 10.0019C5.33203 9.81298 5.39592 9.65465 5.5237 9.52687C5.65148 9.39909 5.80981 9.3352 5.9987 9.3352H9.33203V6.00187C9.33203 5.81298 9.39592 5.65465 9.5237 5.52687C9.65148 5.39909 9.80981 5.33521 9.9987 5.33521C10.1876 5.33521 10.3459 5.39909 10.4737 5.52687C10.6015 5.65465 10.6654 5.81298 10.6654 6.00187V9.3352H13.9987C14.1876 9.3352 14.3459 9.39909 14.4737 9.52687C14.6015 9.65465 14.6654 9.81298 14.6654 10.0019C14.6654 10.1908 14.6015 10.3491 14.4737 10.4769C14.3459 10.6046 14.1876 10.6685 13.9987 10.6685H10.6654V14.0019C10.6654 14.1908 10.6015 14.3491 10.4737 14.4769C10.3459 14.6046 10.1876 14.6685 9.9987 14.6685C9.80981 14.6685 9.65148 14.6046 9.5237 14.4769C9.39592 14.3491 9.33203 14.1908 9.33203 14.0019V10.6685Z",fill:t})})]}),Checked=e=>jsxRuntime.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_14594_15086",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:jsxRuntime.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_14594_15086)",children:jsxRuntime.jsx("path",{d:"M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03333 10.975 7.75 10.975C7.46667 10.975 7.23333 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63333 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5Z",fill:"#E36492"})})]}),Unchecked=e=>jsxRuntime.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_14594_15093",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:jsxRuntime.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_14594_15093)",children:jsxRuntime.jsx("path",{d:"M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z",fill:"#554B6A"})})]}),Share=e=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...e,children:jsxRuntime.jsx("path",{d:"M11.333 14.6663C10.7775 14.6663 10.3052 14.4719 9.91634 14.083C9.52745 13.6941 9.33301 13.2219 9.33301 12.6663C9.33301 12.5997 9.34968 12.4441 9.38301 12.1997L4.69967 9.46634C4.5219 9.63301 4.31634 9.76356 4.08301 9.85801C3.84967 9.95245 3.59967 9.99967 3.33301 9.99967C2.77745 9.99967 2.30523 9.80523 1.91634 9.41634C1.52745 9.02745 1.33301 8.55523 1.33301 7.99967C1.33301 7.44412 1.52745 6.9719 1.91634 6.58301C2.30523 6.19412 2.77745 5.99967 3.33301 5.99967C3.59967 5.99967 3.84967 6.0469 4.08301 6.14134C4.31634 6.23579 4.5219 6.36634 4.69967 6.53301L9.38301 3.79967C9.36079 3.7219 9.3469 3.6469 9.34134 3.57467C9.33579 3.50245 9.33301 3.4219 9.33301 3.33301C9.33301 2.77745 9.52745 2.30523 9.91634 1.91634C10.3052 1.52745 10.7775 1.33301 11.333 1.33301C11.8886 1.33301 12.3608 1.52745 12.7497 1.91634C13.1386 2.30523 13.333 2.77745 13.333 3.33301C13.333 3.88856 13.1386 4.36079 12.7497 4.74967C12.3608 5.13856 11.8886 5.33301 11.333 5.33301C11.0663 5.33301 10.8163 5.28579 10.583 5.19134C10.3497 5.0969 10.1441 4.96634 9.96634 4.79967L5.28301 7.53301C5.30523 7.61079 5.31912 7.68579 5.32467 7.75801C5.33023 7.83023 5.33301 7.91079 5.33301 7.99967C5.33301 8.08856 5.33023 8.16912 5.32467 8.24134C5.31912 8.31356 5.30523 8.38856 5.28301 8.46634L9.96634 11.1997C10.1441 11.033 10.3497 10.9025 10.583 10.808C10.8163 10.7136 11.0663 10.6663 11.333 10.6663C11.8886 10.6663 12.3608 10.8608 12.7497 11.2497C13.1386 11.6386 13.333 12.1108 13.333 12.6663C13.333 13.2219 13.1386 13.6941 12.7497 14.083C12.3608 14.4719 11.8886 14.6663 11.333 14.6663ZM11.333 13.333C11.5219 13.333 11.6802 13.2691 11.808 13.1413C11.9358 13.0136 11.9997 12.8552 11.9997 12.6663C11.9997 12.4775 11.9358 12.3191 11.808 12.1913C11.6802 12.0636 11.5219 11.9997 11.333 11.9997C11.1441 11.9997 10.9858 12.0636 10.858 12.1913C10.7302 12.3191 10.6663 12.4775 10.6663 12.6663C10.6663 12.8552 10.7302 13.0136 10.858 13.1413C10.9858 13.2691 11.1441 13.333 11.333 13.333ZM3.33301 8.66634C3.5219 8.66634 3.68023 8.60245 3.80801 8.47467C3.93579 8.3469 3.99967 8.18856 3.99967 7.99967C3.99967 7.81079 3.93579 7.65245 3.80801 7.52467C3.68023 7.3969 3.5219 7.33301 3.33301 7.33301C3.14412 7.33301 2.98579 7.3969 2.85801 7.52467C2.73023 7.65245 2.66634 7.81079 2.66634 7.99967C2.66634 8.18856 2.73023 8.3469 2.85801 8.47467C2.98579 8.60245 3.14412 8.66634 3.33301 8.66634ZM11.333 3.99967C11.5219 3.99967 11.6802 3.93579 11.808 3.80801C11.9358 3.68023 11.9997 3.5219 11.9997 3.33301C11.9997 3.14412 11.9358 2.98579 11.808 2.85801C11.6802 2.73023 11.5219 2.66634 11.333 2.66634C11.1441 2.66634 10.9858 2.73023 10.858 2.85801C10.7302 2.98579 10.6663 3.14412 10.6663 3.33301C10.6663 3.5219 10.7302 3.68023 10.858 3.80801C10.9858 3.93579 11.1441 3.99967 11.333 3.99967Z",fill:"#554B6A"})}),InfinityIcon=e=>jsxRuntime.jsx("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.41599 20.1249C4.70841 20.1249 3.26069 19.5311 2.07281 18.3434C0.884946 17.1558 0.291016 15.7083 0.291016 14.001C0.291016 12.2937 0.884946 10.8459 2.07281 9.65752C3.26069 8.46918 4.70841 7.875 6.41599 7.875C7.0959 7.875 7.74825 7.99578 8.37304 8.23734C8.99781 8.4789 9.56147 8.82179 10.064 9.26602L12.2942 11.2314L10.9705 12.4025L8.89294 10.5673C8.5519 10.2741 8.16824 10.0438 7.74196 9.87624C7.31568 9.70871 6.87342 9.62494 6.41517 9.62494C5.20705 9.62494 4.17599 10.0522 3.32199 10.9067C2.46799 11.7613 2.04099 12.7929 2.04099 14.0018C2.04099 15.2106 2.46799 16.2417 3.32199 17.095C4.17599 17.9483 5.20705 18.375 6.41517 18.375C6.87342 18.375 7.31568 18.2912 7.74196 18.1237C8.16824 17.9562 8.5519 17.7258 8.89294 17.4327L17.9346 9.26602C18.4297 8.8143 18.9908 8.46953 19.618 8.23171C20.2452 7.9939 20.9001 7.875 21.5827 7.875C23.2902 7.875 24.738 8.46883 25.9258 9.6565C27.1137 10.8442 27.7076 12.2917 27.7076 13.999C27.7076 15.7063 27.1137 17.1541 25.9258 18.3424C24.738 19.5308 23.2902 20.1249 21.5827 20.1249C20.9006 20.1249 20.2496 20.0023 19.6296 19.757C19.0096 19.5117 18.4446 19.1707 17.9346 18.7339L15.7269 16.7685L17.0281 15.5862L19.1057 17.4327C19.4467 17.7348 19.8304 17.9674 20.2567 18.1304C20.683 18.2935 21.1252 18.375 21.5835 18.375C22.7916 18.375 23.8227 17.9477 24.6767 17.0932C25.5307 16.2387 25.9577 15.207 25.9577 13.9982C25.9577 12.7893 25.5307 11.7582 24.6767 10.9049C23.8227 10.0516 22.7916 9.62494 21.5835 9.62494C21.1252 9.62494 20.683 9.70871 20.2567 9.87624C19.8304 10.0438 19.4467 10.2741 19.1057 10.5673L10.064 18.7339C9.56896 19.1856 9.00782 19.5304 8.38062 19.7682C7.7534 20.006 7.09852 20.1249 6.41599 20.1249Z",fill:"#554B6A"})}),ArbitrumLogo=e=>jsxRuntime.jsxs("svg",{width:"18",height:"20",viewBox:"0 0 18 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M0.671875 6.07916V13.9193C0.671875 14.4199 0.939395 14.8827 1.37268 15.1322L8.16244 19.0531C8.59572 19.3025 9.12912 19.3025 9.5624 19.0531L16.3522 15.1322C16.7854 14.8827 17.053 14.4199 17.053 13.9193V6.07916C17.053 5.57858 16.7854 5.11576 16.3522 4.86629L9.5624 0.945401C9.12912 0.695934 8.59572 0.695934 8.16244 0.945401L1.37104 4.86629C0.937754 5.11576 0.671875 5.57858 0.671875 6.07916Z",fill:"#213147"}),jsxRuntime.jsx("path",{d:"M10.3474 11.5195L9.37907 14.175C9.35281 14.2488 9.35281 14.3292 9.37907 14.4031L11.0449 18.9723L12.9717 17.8595L10.6592 11.5195C10.6067 11.3734 10.3999 11.3734 10.3474 11.5195Z",fill:"#12AAFF"}),jsxRuntime.jsx("path",{d:"M12.2881 7.05242C12.2356 6.90635 12.0288 6.90635 11.9763 7.05242L11.008 9.70793C10.9817 9.78178 10.9817 9.8622 11.008 9.93606L13.7373 17.4168L15.6641 16.304L12.2881 7.05242Z",fill:"#12AAFF"}),jsxRuntime.jsx("path",{d:"M8.86263 1.23913C8.91022 1.23913 8.95782 1.25226 9.00049 1.27523L16.3483 5.51781C16.4336 5.56704 16.4861 5.65895 16.4861 5.75579V14.2393C16.4861 14.3378 16.4336 14.428 16.3483 14.4773L9.00049 18.7198C8.95946 18.7445 8.91022 18.756 8.86263 18.756C8.81503 18.756 8.76744 18.7428 8.72476 18.7198L1.37699 14.4806C1.29165 14.4313 1.23913 14.3394 1.23913 14.2426V5.75743C1.23913 5.65895 1.29165 5.56869 1.37699 5.51945L8.72476 1.27688C8.76744 1.25226 8.81503 1.23913 8.86263 1.23913ZM8.86263 0C8.60167 0 8.33908 0.0672903 8.10438 0.203512L0.758247 4.44444C0.288856 4.71525 0 5.21582 0 5.75743V14.2409C0 14.7825 0.288856 15.2831 0.758247 15.5539L8.10602 19.7965C8.34072 19.9311 8.60167 20 8.86427 20C9.12522 20 9.38782 19.9327 9.62252 19.7965L16.9703 15.5539C17.4397 15.2831 17.7285 14.7825 17.7285 14.2409V5.75743C17.7285 5.21582 17.4397 4.71525 16.9703 4.44444L9.62088 0.203512C9.38618 0.0672903 9.12358 0 8.86263 0Z",fill:"#9DCCED"}),jsxRuntime.jsx("path",{d:"M4.00391 17.4285L4.68009 15.5771L6.04067 16.708L4.76872 17.8699L4.00391 17.4285Z",fill:"#213147"}),jsxRuntime.jsx("path",{d:"M8.24586 5.14893H6.38306C6.24356 5.14893 6.11883 5.23591 6.07123 5.36721L2.07812 16.3142L4.00493 17.4269L8.40177 5.37213C8.4428 5.26381 8.36238 5.14893 8.24586 5.14893Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M11.5074 5.14893H9.6446C9.5051 5.14893 9.38036 5.23591 9.33277 5.36721L4.77344 17.8668L6.70024 18.9796L11.6633 5.37213C11.7027 5.26381 11.6223 5.14893 11.5074 5.14893Z",fill:"white"})]}),BTCLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M9.99969 19.9995C15.5225 19.9995 19.9994 15.5226 19.9994 9.99976C19.9994 4.47692 15.5225 6.10352e-05 9.99969 6.10352e-05C4.47686 6.10352e-05 0 4.47692 0 9.99976C0 15.5226 4.47686 19.9995 9.99969 19.9995Z",fill:"#ECECEC"}),jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#F7931A"}),jsxRuntime.jsx("path",{d:"M12.1154 8.57283C11.7999 9.80896 9.89365 9.1692 9.27554 9.01141L9.83393 6.82401C10.452 6.9818 12.4446 7.28205 12.1154 8.57283ZM11.7556 12.1043C11.4095 13.4641 9.12116 12.7148 8.37762 12.5254L9.00085 10.1179C9.74165 10.3082 12.1255 10.6884 11.7627 12.1082L11.7556 12.1043ZM14.2891 8.60841C14.4968 7.27892 13.4874 6.56018 12.1055 6.07304L12.565 4.2735L11.4686 3.99277L11.0207 5.74572C10.734 5.67215 10.4382 5.60277 10.1441 5.53436L10.5843 3.77028L9.49154 3.48697L9.03298 5.28474C8.79357 5.23004 8.55965 5.17373 8.33297 5.11677L6.82267 4.72988L6.52396 5.90153C6.52396 5.90153 7.33973 6.09353 7.31764 6.10449C7.63363 6.14376 7.85989 6.42897 7.82623 6.74558L7.31089 8.7908C7.34946 8.8006 7.38737 8.81283 7.42439 8.82742L7.3088 8.79886L6.56959 11.6677C6.49946 11.8783 6.27252 11.9929 6.06139 11.9242C6.07735 11.9329 5.26593 11.7203 5.26593 11.7203L4.71393 12.9723L6.14007 13.3363L6.92488 13.5345L6.46197 15.3529L7.55665 15.6326L8.00779 13.84C8.29685 13.9218 8.58882 13.9983 8.87998 14.072L8.42158 15.8653L9.51626 16.145L9.98272 14.3286C11.8545 14.6941 13.2588 14.5583 13.8598 12.8705C14.3425 11.5093 13.8509 10.7233 12.8723 10.2054C13.5904 10.045 14.1351 9.57824 14.2821 8.60454L14.2891 8.60841Z",fill:"white"})]}),CatalogLogo=e=>jsxRuntime.jsxs("svg",{width:"170",height:"38",viewBox:"0 0 76 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_4132_586","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"20",y:"3",width:"56",height:"10",children:jsxRuntime.jsx("path",{d:"M20.1434 3.84766H76V12.1031H20.1434V3.84766Z",fill:"white"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_4132_586)",children:jsxRuntime.jsx("path",{d:"M20.1434 7.97398C20.1434 5.56023 21.9072 3.84766 24.3075 3.84766C25.7131 3.84766 26.827 4.38146 27.5695 5.3435L26.201 6.62784C25.995 6.34199 25.7249 6.10794 25.4121 5.94433C25.1048 5.78382 24.7629 5.69982 24.4159 5.6995C23.1722 5.6995 22.3076 6.60576 22.3076 7.96555C22.3076 9.32534 23.1722 10.2344 24.4291 10.2344C24.7748 10.2344 25.116 10.1505 25.4254 9.98958C25.7382 9.82582 26.0083 9.59166 26.2143 9.30567L27.5695 10.6069C26.8323 11.5689 25.7127 12.1031 24.3127 12.1031C21.9072 12.1031 20.1434 10.3901 20.1434 7.97398ZM34.1797 10.401H30.9786L30.3846 11.9442H28.1992L31.5489 4.00619H33.6706L37.0043 11.945H34.7765L34.1797 10.401ZM33.5538 8.74658L32.5803 6.20521L31.6071 8.74658H33.5538ZM38.7079 5.79382H36.3713V4.00579H43.153V5.79382H40.8296V11.9442H38.7079V5.79382ZM48.6467 10.401H45.4456L44.8517 11.9442H42.6661L46.0079 4.00579H48.1296L51.4823 11.9446H49.2544L48.6467 10.401ZM48.0211 8.74658L47.045 6.20521L46.0718 8.74658H48.0211ZM52.5815 4.00619H54.7245V10.165H58.3342V11.9442H52.5792L52.5815 4.00619ZM59.0312 7.97398C59.0312 5.59395 60.8162 3.84766 63.2403 3.84766C65.6644 3.84766 67.4465 5.59355 67.4465 7.97358C67.4465 10.3536 65.6615 12.1031 63.2403 12.1031C60.8188 12.1031 59.0312 10.3568 59.0312 7.97398ZM65.2849 7.97398C65.2849 6.60295 64.3862 5.70793 63.2403 5.70793C62.0944 5.70793 61.1954 6.60295 61.1954 7.97398C61.1954 9.3446 62.0944 10.2428 63.2403 10.2428C64.3862 10.2428 65.2849 9.34781 65.2849 7.97398ZM73.9342 7.8042H75.8383V11.0937C74.91 11.7541 73.7966 12.1072 72.6556 12.1031C70.2424 12.1031 68.4813 10.3901 68.4813 7.97398C68.4813 5.55783 70.2344 3.84766 72.6904 3.84766C74.1065 3.84766 75.255 4.35938 76.0003 5.29895L74.6372 6.59211C74.4153 6.3138 74.1336 6.0887 73.8127 5.93349C73.497 5.78104 73.15 5.70383 72.7992 5.70793C71.4994 5.70793 70.6349 6.60295 70.6349 7.97398C70.6349 9.3446 71.4994 10.2428 72.7779 10.2428C73.1785 10.2465 73.5742 10.157 73.9342 9.98155V7.8042Z",fill:"#554B6A"})}),jsxRuntime.jsx("path",{d:"M11.9072 0H4.20756C3.09164 0 2.02144 0.44163 1.23237 1.22773C0.443296 2.01384 1.92925e-08 3.08002 1.92925e-08 4.19174V11.8624C-5.28952e-05 12.4129 0.108743 12.958 0.320174 13.4666C0.531605 13.9752 0.841529 14.4373 1.23225 14.8265C1.62297 15.2158 2.08682 15.5245 2.59733 15.7352C3.10784 15.9458 3.655 16.0542 4.20756 16.0542H11.9072C12.4597 16.0542 13.0069 15.9458 13.5174 15.7352C14.0279 15.5245 14.4918 15.2158 14.8825 14.8265C15.2732 14.4373 15.5831 13.9752 15.7946 13.4666C16.006 12.958 16.1148 12.4129 16.1147 11.8624V4.19174C16.1147 3.08002 15.6714 2.01384 14.8824 1.22773C14.0933 0.44163 13.0231 0 11.9072 0ZM13.7604 11.0412H2.35557V9.13161H5.7437L3.07389 6.47183L4.42954 5.12168L7.09894 7.78145V4.04765H9.01539V7.78145L11.6864 5.12168L13.0417 6.47183L10.3714 9.13161H13.7612V11.0416L13.7604 11.0412Z",fill:"#554B6A"})]}),Coinbase=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 18.6267 5.37333 24 12 24C18.6267 24 24 18.6267 24 12C24 5.37333 18.6267 0 12 0C5.37333 0 0 5.37333 0 12ZM8.93332 8.1333C8.49 8.1333 8.1333 8.49 8.1333 8.93332V15.0667C8.1333 15.51 8.49 15.8667 8.93332 15.8667H15.0667C15.51 15.8667 15.8667 15.51 15.8667 15.0667V8.93332C15.8667 8.49 15.51 8.1333 15.0667 8.1333H8.93332Z",fill:"#0052FF"})}),EthereumLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20Z",fill:"#627EEA"}),jsxRuntime.jsx("path",{d:"M10.0069 2L5.39844 10.1483L10.0069 7.91653V2Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M10.0069 7.91632L5.39844 10.1481L10.0069 13.0513V7.91632Z",fill:"#C0CBF6"}),jsxRuntime.jsx("path",{d:"M14.6171 10.1483L10.0078 2V7.91653L14.6171 10.1483Z",fill:"#C0CBF6"}),jsxRuntime.jsx("path",{d:"M10.0078 13.0513L14.6171 10.1481L10.0078 7.91632V13.0513Z",fill:"#8197EE"}),jsxRuntime.jsx("path",{d:"M5.39844 11.0804L10.0069 18.0004V13.9818L5.39844 11.0804Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M10.0078 13.9818V18.0004L14.6197 11.0804L10.0078 13.9818Z",fill:"#C0CBF6"})]}),GardenExplorer=e=>jsxRuntime.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.971 0C20.2812 0 23.9204 2.87771 25.078 6.81963C29.0711 7.94237 31.9989 11.6158 31.9989 15.9741C31.9989 20.3156 29.0936 23.9775 25.1242 25.1154C23.9876 29.0906 20.3321 31.9999 15.9983 31.9999C11.6643 31.9999 8.00866 29.0903 6.87228 25.1147C2.9041 23.976 0 20.3147 0 15.9741C0 11.6384 2.8975 7.98053 6.85875 6.83733C8.0107 2.88633 11.6543 0 15.971 0Z",fill:"#C7E0FD"}),jsxRuntime.jsx("path",{d:"M16.6753 23.1492C12.7196 23.1492 10 20.2923 10 16.1168C10 11.9138 12.6646 9.00195 16.5654 9.00195C20.3838 9.00195 22.8836 11.6391 22.8836 15.6223V16.5838L12.4998 16.6113C12.6921 19.4407 14.1755 21.0065 16.7303 21.0065C18.7356 21.0065 20.0542 20.1824 20.4937 18.6441H22.9111C22.2518 21.5285 19.9992 23.1492 16.6753 23.1492ZM16.5654 11.1721C14.3129 11.1721 12.8844 12.5182 12.5547 14.8806H20.3014C20.3014 12.6555 18.8455 11.1721 16.5654 11.1721Z",fill:"#E36492"})]}),GardenFullLogo=e=>jsxRuntime.jsxs("svg",{width:"116",height:"32",viewBox:"0 0 116 32",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9749 -0.000488281C20.2855 -0.000488281 23.925 2.87781 25.0823 6.82035C29.0731 7.9445 31.9989 11.6168 31.9989 15.9736C31.9989 20.315 29.0937 23.9768 25.1245 25.1149C23.9882 29.0906 20.3325 32.0004 15.9983 32.0004C11.6639 32.0004 8.00801 29.0902 6.87197 25.1142C2.90395 23.9753 -1.89408e-07 20.3141 0 15.9736C1.89291e-07 11.6363 2.89958 7.97742 6.86302 6.83561C8.01536 2.88524 11.6587 -0.000488281 15.9749 -0.000488281Z",fill:"#F7CFDB"}),jsxRuntime.jsx("path",{d:"M18.7607 13.0922C18.7384 14.9239 15.8618 14.6757 14.9458 14.6644L14.9855 11.423C15.9014 11.4342 18.7837 11.1795 18.7607 13.0922ZM19.4527 18.1422C19.4294 20.1569 15.9826 19.885 14.8808 19.8721L14.9366 16.3016C16.0348 16.3165 19.4901 16.0412 19.4639 18.1453L19.4527 18.1422ZM21.8064 12.4068C21.6466 10.4812 19.995 9.81944 17.9017 9.60687L17.9345 6.9401L16.3094 6.91906L16.277 9.51688C15.8521 9.51113 15.4158 9.51433 14.9823 9.51829L15.0001 6.90755L13.3793 6.88166L13.3472 9.54562C12.9946 9.55023 12.6491 9.55075 12.3135 9.54791L10.075 9.51864L10.0543 11.2548C10.0543 11.2548 11.2576 11.2469 11.2305 11.2696C11.6848 11.2176 12.097 11.5391 12.1571 11.9924L12.1294 15.0209C12.1865 15.0215 12.2436 15.0257 12.3002 15.0336L12.1292 15.0328L12.0676 19.2864C12.0409 19.604 11.763 19.8407 11.4451 19.8163C11.4703 19.823 10.266 19.8006 10.266 19.8006L9.91903 21.7346L12.0324 21.7603L13.1946 21.7715L13.1635 24.4657L14.7857 24.486L14.8092 21.8318C15.2403 21.8482 15.6736 21.8562 16.1049 21.8606L16.0715 24.5182L17.6938 24.5385L17.7306 21.8458C20.4663 21.723 22.3802 21.0587 22.6483 18.5C22.8617 16.4372 21.9098 15.5065 20.3691 15.1146C21.317 14.648 21.9193 13.8124 21.7952 12.4038L21.8064 12.4068Z",fill:"#DB6A93"}),jsxRuntime.jsx("path",{d:"M107.505 22.2476H105.23V10.123H107.288L107.53 11.9826C108.28 10.5941 109.78 9.77588 111.45 9.77588C114.572 9.77588 116 11.7347 116 14.834V22.2476H113.725V15.3547C113.725 12.9 112.612 11.9082 110.869 11.9082C108.74 11.9082 107.505 13.4703 107.505 15.8258V22.2476Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M97.8263 22.5451C94.3413 22.5451 91.9453 19.9665 91.9453 16.1977C91.9453 12.4041 94.2929 9.77588 97.7295 9.77588C101.094 9.77588 103.296 12.1562 103.296 15.7514V16.6192L94.1477 16.644C94.3171 19.1979 95.624 20.6111 97.8747 20.6111C99.6414 20.6111 100.803 19.8673 101.19 18.4788H103.32C102.739 21.0822 100.755 22.5451 97.8263 22.5451ZM97.7295 11.7347C95.745 11.7347 94.4865 12.9496 94.1961 15.0819H101.021C101.021 13.0736 99.7382 11.7347 97.7295 11.7347Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M83.557 22.5464C80.1204 22.5464 78.0391 19.9182 78.0391 16.2238C78.0391 12.5046 80.1446 9.77716 83.6538 9.77716C85.469 9.77716 86.9937 10.5954 87.7923 12.0831V4H90.0431V22.2489H88.0101L87.8165 20.0421C87.0421 21.7034 85.4448 22.5464 83.557 22.5464ZM84.0169 20.4389C86.3402 20.4389 87.7681 18.6784 87.7681 16.1494C87.7681 13.6699 86.3402 11.8847 84.0169 11.8847C81.6935 11.8847 80.3382 13.6699 80.3382 16.1494C80.3382 18.6536 81.6935 20.4389 84.0169 20.4389Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M77.7101 10.0252V12.1576H76.6936C74.5396 12.1576 73.2085 13.4965 73.2085 15.8272V22.249H70.9336V10.1492H73.0633L73.2085 11.984C73.6926 10.7195 74.8785 9.87646 76.5 9.87646C76.9114 9.87646 77.2502 9.92605 77.7101 10.0252Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M62.069 22.5451C59.5278 22.5451 58.0273 21.0822 58.0273 18.8755C58.0273 16.644 59.6489 15.2555 62.432 15.0323L66.1591 14.7348V14.3877C66.1591 12.3545 64.9732 11.6355 63.3759 11.6355C61.464 11.6355 60.3749 12.5033 60.3749 13.9662H58.3904C58.3904 11.4371 60.4233 9.77588 63.4727 9.77588C66.4011 9.77588 68.3857 11.3627 68.3857 14.6356V22.2476H66.4495L66.2075 20.2888C65.6025 21.6773 63.981 22.5451 62.069 22.5451ZM62.7225 20.7351C64.8764 20.7351 66.1833 19.297 66.1833 17.0159V16.3713L63.1581 16.6192C61.1494 16.8176 60.3265 17.611 60.3265 18.8011C60.3265 20.0905 61.2462 20.7351 62.7225 20.7351Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M44 15.8754C44 12.4537 46.1539 9.77588 49.5906 9.77588C51.5025 9.77588 52.9788 10.6685 53.7291 12.181L53.8985 10.123H55.9314V21.7517C55.9314 25.5701 53.6323 28 50.002 28C46.7832 28 44.5808 26.1404 44.1452 23.0658H46.4202C46.7106 24.851 48.0175 25.8924 50.002 25.8924C52.2286 25.8924 53.6807 24.4047 53.6807 22.0988V19.6689C52.9062 21.0822 51.3573 21.9253 49.4938 21.9253C46.1297 21.9253 44 19.2722 44 15.8754ZM46.275 15.8258C46.275 18.1069 47.6545 19.8921 49.881 19.8921C52.1802 19.8921 53.5839 18.2061 53.5839 15.8258C53.5839 13.4951 52.2286 11.809 49.9052 11.809C47.6302 11.809 46.275 13.5943 46.275 15.8258Z",fill:"#554B6A"})]}),GardenLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.98341 0C12.6772 0 14.9516 1.79848 15.6752 4.26207C18.1704 4.964 19.9999 7.25961 19.9999 9.98323C19.9999 12.6965 18.1843 14.985 15.7037 15.6963C14.9936 18.1811 12.7088 19.9998 9.99989 19.9998C7.29098 19.9998 5.00615 18.1811 4.29607 15.6963C1.8155 14.9849 -1.18409e-07 12.6964 0 9.98323C1.18278e-07 7.27277 1.81186 4.98619 4.28861 4.27235C5.00884 1.80349 7.28585 0 9.98341 0Z",fill:"#F7CFDB"}),jsxRuntime.jsx("path",{d:"M11.7239 8.18277C11.7099 9.3276 9.9121 9.17242 9.33962 9.16542L9.36442 7.13955C9.93689 7.14655 11.7383 6.98737 11.7239 8.18277ZM12.1564 11.339C12.1418 12.5981 9.98758 12.4282 9.29902 12.4201L9.33387 10.1886C10.0202 10.1979 12.1798 10.0259 12.1634 11.3409L12.1564 11.339ZM13.6274 7.75443C13.5276 6.55096 12.4953 6.13737 11.187 6.00452L11.2075 4.33784L10.1919 4.32469L10.1716 5.94828C9.90607 5.94468 9.63337 5.94668 9.36242 5.94916L9.37356 4.3175L8.36058 4.30131L8.34053 5.96624C8.12015 5.96912 7.90422 5.96944 7.69447 5.96767L6.2954 5.94938L6.28245 7.03442C6.28245 7.03442 7.03456 7.0295 7.01761 7.04372C7.30152 7.0112 7.55914 7.21215 7.59669 7.49541L7.5794 9.38817C7.61511 9.38856 7.65076 9.39122 7.68614 9.39612L7.57928 9.39564L7.54078 12.0541C7.52412 12.2526 7.35039 12.4005 7.15173 12.3852C7.16749 12.3894 6.41483 12.3754 6.41483 12.3754L6.19794 13.5841L7.51877 13.6002L8.24516 13.6072L8.22567 15.291L9.23959 15.3037L9.25426 13.6449C9.52367 13.6551 9.79449 13.6601 10.064 13.6629L10.0432 15.3239L11.0571 15.3365L11.0801 13.6536C12.7899 13.5769 13.986 13.1617 14.1536 11.5626C14.287 10.2733 13.6921 9.69167 12.7291 9.44678C13.3216 9.15511 13.698 8.63289 13.6204 7.75256L13.6274 7.75443Z",fill:"#DB6A93"})]}),GardenLogoText=e=>jsxRuntime.jsxs("svg",{width:"72",height:"24",viewBox:"0 0 72 24",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M63.5054 18.2476H61.2305V6.123H63.2876L63.5296 7.9826C64.2799 6.5941 65.7804 5.77588 67.4503 5.77588C70.5723 5.77588 72.0002 7.73466 72.0002 10.834V18.2476H69.7252V11.3547C69.7252 8.90001 68.612 7.90822 66.8695 7.90822C64.7397 7.90822 63.5054 9.47028 63.5054 11.8258V18.2476Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M53.8263 18.5451C50.3413 18.5451 47.9453 15.9665 47.9453 12.1977C47.9453 8.40411 50.2929 5.77588 53.7295 5.77588C57.0935 5.77588 59.2959 8.15617 59.2959 11.7514V12.6192L50.1477 12.644C50.3171 15.1979 51.624 16.6111 53.8747 16.6111C55.6414 16.6111 56.8031 15.8673 57.1903 14.4788H59.3201C58.7393 17.0822 56.7547 18.5451 53.8263 18.5451ZM53.7295 7.73466C51.745 7.73466 50.4865 8.9496 50.1961 11.0819H57.0209C57.0209 9.07357 55.7382 7.73466 53.7295 7.73466Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M39.557 18.5464C36.1204 18.5464 34.0391 15.9182 34.0391 12.2238C34.0391 8.50457 36.1446 5.77716 39.6538 5.77716C41.469 5.77716 42.9937 6.59538 43.7923 8.08306V0H46.0431V18.2489H44.0101L43.8165 16.0421C43.0421 17.7034 41.4448 18.5464 39.557 18.5464ZM40.0169 16.4389C42.3402 16.4389 43.7681 14.6784 43.7681 12.1494C43.7681 9.66992 42.3402 7.8847 40.0169 7.8847C37.6935 7.8847 36.3382 9.66992 36.3382 12.1494C36.3382 14.6536 37.6935 16.4389 40.0169 16.4389Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M33.7101 6.02523V8.15757H32.6936C30.5396 8.15757 29.2085 9.49649 29.2085 11.8272V18.249H26.9336V6.14921H29.0633L29.2085 7.98401C29.6926 6.71948 30.8785 5.87646 32.5 5.87646C32.9114 5.87646 33.2502 5.92605 33.7101 6.02523Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M18.069 18.5451C15.5278 18.5451 14.0273 17.0822 14.0273 14.8755C14.0273 12.644 15.6489 11.2555 18.432 11.0323L22.1591 10.7348V10.3877C22.1591 8.35452 20.9732 7.63548 19.3759 7.63548C17.464 7.63548 16.3749 8.50329 16.3749 9.96618H14.3904C14.3904 7.43712 16.4233 5.77588 19.4727 5.77588C22.4011 5.77588 24.3857 7.36274 24.3857 10.6356V18.2476H22.4495L22.2075 16.2888C21.6025 17.6773 19.981 18.5451 18.069 18.5451ZM18.7225 16.7351C20.8764 16.7351 22.1833 15.297 22.1833 13.0159V12.3713L19.1581 12.6192C17.1494 12.8176 16.3265 13.611 16.3265 14.8011C16.3265 16.0905 17.2462 16.7351 18.7225 16.7351Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M0 11.8754C0 8.4537 2.15395 5.77588 5.59058 5.77588C7.50251 5.77588 8.97882 6.66849 9.72907 8.18096L9.89848 6.123H11.9314V17.7517C11.9314 21.5701 9.63226 24 6.00201 24C2.78319 24 0.58084 22.1404 0.14521 19.0658H2.42017C2.71059 20.851 4.01748 21.8924 6.00201 21.8924C8.22856 21.8924 9.68066 20.4047 9.68066 18.0988V15.6689C8.90621 17.0822 7.3573 17.9253 5.49378 17.9253C2.12975 17.9253 0 15.2722 0 11.8754ZM2.27496 11.8258C2.27496 14.1069 3.65445 15.8921 5.881 15.8921C8.18016 15.8921 9.58386 14.2061 9.58386 11.8258C9.58386 9.49508 8.22856 7.80904 5.9052 7.80904C3.63025 7.80904 2.27496 9.59426 2.27496 11.8258Z",fill:"#554B6A"})]}),GardenStrokeIcon=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_11965_8100)",children:[jsxRuntime.jsx("mask",{id:"path-1-inside-1_11965_8100",fill:"white",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.98344 0C12.6778 0 14.9526 1.79934 15.6756 4.26383C18.17 4.96624 19.9987 7.26149 19.9987 9.98459C19.9987 12.6977 18.1834 14.9861 15.703 15.6975C14.9926 18.1818 12.7081 20 9.99972 20C7.29137 20 5.00695 18.1819 4.29646 15.6978C1.8157 14.9865 0 12.698 0 9.98459C0 7.27415 1.81178 4.98759 4.28842 4.27373C5.00818 1.80416 7.28547 0 9.98344 0Z"})}),jsxRuntime.jsx("path",{d:"M15.6756 4.26383L14.2362 4.68606L14.4699 5.48266L15.269 5.70768L15.6756 4.26383ZM15.703 15.6975L15.2894 14.2557L14.4896 14.4851L14.2608 15.2851L15.703 15.6975ZM4.29646 15.6978L5.73864 15.2853L5.50981 14.4852L4.70985 14.2558L4.29646 15.6978ZM4.28842 4.27373L4.70386 5.71505L5.49742 5.48632L5.7285 4.69345L4.28842 4.27373ZM17.1149 3.8416C16.2101 0.757033 13.363 -1.5 9.98344 -1.5V1.5C11.9926 1.5 13.6952 2.84165 14.2362 4.68606L17.1149 3.8416ZM21.4987 9.98459C21.4987 6.57361 19.2077 3.70011 16.0821 2.81999L15.269 5.70768C17.1323 6.23237 18.4987 7.94938 18.4987 9.98459H21.4987ZM16.1166 17.1394C19.2244 16.2479 21.4987 13.3831 21.4987 9.98459H18.4987C18.4987 12.0123 17.1424 13.7242 15.2894 14.2557L16.1166 17.1394ZM9.99972 21.5C13.3969 21.5 16.256 19.2194 17.1452 16.1099L14.2608 15.2851C13.7292 17.1442 12.0194 18.5 9.99972 18.5V21.5ZM2.85429 16.1102C3.74357 19.2196 6.60265 21.5 9.99972 21.5V18.5C7.9801 18.5 6.27033 17.1443 5.73864 15.2853L2.85429 16.1102ZM4.70985 14.2558C2.85665 13.7245 1.5 12.0125 1.5 9.98459H-1.5C-1.5 13.3834 0.774762 16.2485 3.88308 17.1397L4.70985 14.2558ZM1.5 9.98459C1.5 7.95888 2.8537 6.24834 4.70386 5.71505L3.87298 2.83241C0.769862 3.72684 -1.5 6.58943 -1.5 9.98459H1.5ZM9.98344 -1.5C6.59936 -1.5 3.7492 0.763058 2.84834 3.85402L5.7285 4.69345C6.26716 2.84526 7.97158 1.5 9.98344 1.5V-1.5Z",fill:"#E36492",mask:"url(#path-1-inside-1_11965_8100)"}),jsxRuntime.jsx("path",{d:"M11.5749 8.50229C11.5621 9.57529 9.91402 9.42985 9.38923 9.42329L9.41196 7.52453C9.93675 7.53109 11.5881 7.3819 11.5749 8.50229ZM11.9714 11.4605C11.9581 12.6406 9.98322 12.4813 9.35201 12.4737L9.38395 10.3823C10.0131 10.391 11.9928 10.2298 11.9778 11.4622L11.9714 11.4605ZM13.3199 8.10083C13.2284 6.97287 12.2821 6.58523 11.0828 6.46071L11.1016 4.8986L10.1705 4.88628L10.1519 6.408C9.90849 6.40463 9.65851 6.40651 9.41013 6.40882L9.42034 4.87954L8.49173 4.86437L8.47335 6.42484C8.27132 6.42754 8.07337 6.42784 7.8811 6.42617L6.59855 6.40903L6.58668 7.42599C6.58668 7.42599 7.27615 7.42138 7.26061 7.43472C7.52087 7.40423 7.75703 7.59257 7.79146 7.85806L7.77561 9.63206C7.80835 9.63243 7.84103 9.63492 7.87346 9.63952L7.7755 9.63907L7.74021 12.1307C7.72493 12.3168 7.56567 12.4554 7.38356 12.4411C7.39801 12.445 6.70803 12.4319 6.70803 12.4319L6.50921 13.5648L7.72002 13.5798L8.38592 13.5864L8.36806 15.1646L9.29753 15.1765L9.31098 13.6217C9.55795 13.6313 9.80622 13.636 10.0533 13.6386L10.0342 15.1953L10.9636 15.2072L10.9847 13.6299C12.5521 13.558 13.6487 13.1688 13.8023 11.6701C13.9245 10.4617 13.3792 9.91652 12.4964 9.687C13.0395 9.41362 13.3846 8.92417 13.3135 8.09907L13.3199 8.10083Z",fill:"#E36492"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_11965_8100",children:jsxRuntime.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),GMXLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M16.6693 13.8621L10.0128 4.16669L3.33594 13.8621H12.6383L10.0128 10.1618L8.71039 12.0845H7.32623L10.0137 8.21885L13.8987 13.8625L16.6693 13.8621Z",fill:"url(#paint0_linear_11636_3468)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11636_3468",x1:"10.4826",y1:"4.41878",x2:"6.34171",y2:"14.9832",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#03D1CF",stopOpacity:"0.988"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#4E09F8"})]})})]}),PhantomIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"20",viewBox:"0 0 24 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{opacity:"0.4",d:"M2.83991 20C5.90257 20 8.20418 17.3346 9.57774 15.2283C9.41068 15.6943 9.31785 16.1603 9.31785 16.6076C9.31785 17.8379 10.0232 18.7139 11.4153 18.7139C13.3271 18.7139 15.3689 17.0364 16.4269 15.2283C16.3527 15.4893 16.3156 15.7316 16.3156 15.9553C16.3156 16.8127 16.7981 17.3532 17.7819 17.3532C20.8817 17.3532 24 11.8546 24 7.04568C24 3.29916 22.1067 0 17.355 0C9.00234 0 0 10.2144 0 16.8127C0 19.4035 1.39211 20 2.83991 20ZM14.478 6.63562C14.478 5.70365 14.9977 5.05128 15.7587 5.05128C16.5011 5.05128 17.0209 5.70365 17.0209 6.63562C17.0209 7.56759 16.5011 8.23858 15.7587 8.23858C14.9977 8.23858 14.478 7.56759 14.478 6.63562ZM18.4501 6.63562C18.4501 5.70365 18.9699 5.05128 19.7309 5.05128C20.4733 5.05128 20.9931 5.70365 20.9931 6.63562C20.9931 7.56759 20.4733 8.23858 19.7309 8.23858C18.9699 8.23858 18.4501 7.56759 18.4501 6.63562Z",fill:"#AB9FF2"})}),PolygonLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20Z",fill:"#8247E5"}),jsxRuntime.jsx("path",{d:"M13.6005 7.4117C13.3446 7.25591 13.0157 7.25591 12.7232 7.4117L10.6762 8.69698L9.28721 9.51488L7.27676 10.8002C7.02089 10.9559 6.69191 10.9559 6.39948 10.8002L4.82768 9.78752C4.5718 9.63173 4.38903 9.32014 4.38903 8.96961V7.02223C4.38903 6.71064 4.53525 6.39906 4.82768 6.20432L6.39948 5.23063C6.65535 5.07484 6.98433 5.07484 7.27676 5.23063L8.84856 6.24327C9.10444 6.39906 9.28721 6.71064 9.28721 7.06117V8.34645L10.6762 7.4896V6.16538C10.6762 5.85379 10.53 5.54221 10.2376 5.34747L7.31332 3.51693C7.05744 3.36114 6.72846 3.36114 6.43603 3.51693L3.43864 5.38642C3.14621 5.54221 3 5.85379 3 6.16538V9.82646C3 10.138 3.14621 10.4496 3.43864 10.6444L6.39948 12.4749C6.65535 12.6307 6.98433 12.6307 7.27676 12.4749L9.28721 11.2286L10.6762 10.3717L12.6867 9.1254C12.9426 8.96961 13.2715 8.96961 13.564 9.1254L15.1358 10.0991C15.3916 10.2549 15.5744 10.5665 15.5744 10.917V12.8644C15.5744 13.176 15.4282 13.4876 15.1358 13.6823L13.6005 14.656C13.3446 14.8118 13.0157 14.8118 12.7232 14.656L11.1514 13.6823C10.8956 13.5265 10.7128 13.2149 10.7128 12.8644V11.6181L9.32376 12.4749V13.7602C9.32376 14.0718 9.46997 14.3834 9.7624 14.5781L12.7232 16.4086C12.9791 16.5644 13.3081 16.5644 13.6005 16.4086L16.5614 14.5781C16.8172 14.4223 17 14.1107 17 13.7602V10.0602C17 9.74857 16.8538 9.43699 16.5614 9.24225L13.6005 7.4117Z",fill:"white"})]}),RadiantLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M12.3721 10.9825L18.3346 10L12.3721 9.01752L15.8938 4.10752L10.9838 7.62919L10.0013 1.66669L9.01964 7.62919L4.1088 4.10752L7.63047 9.01752L1.66797 10L7.63047 10.9825L4.1088 15.8925L9.01964 12.3709L10.0013 18.3334L10.9838 12.3709L15.8938 15.8925L12.3721 10.9825Z",fill:"url(#paint0_linear_11636_3467)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11636_3467",x1:"10.0015",y1:"1.8013",x2:"10.0015",y2:"18.2113",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.1028",stopColor:"#00FFAA"}),jsxRuntime.jsx("stop",{offset:"0.999",stopColor:"#5F00FA"})]})})]}),TrailOfBits=e=>jsxRuntime.jsxs("svg",{width:"69",height:"42",viewBox:"0 0 69 42",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_9266_25244)",children:[jsxRuntime.jsx("path",{opacity:"0.953",fillRule:"evenodd",clipRule:"evenodd",d:"M37.4888 0.569824C37.6131 0.569824 37.7375 0.569824 37.8619 0.569824C37.8619 2.1039 37.8619 3.63796 37.8619 5.17205C37.6911 5.19152 37.5252 5.17081 37.3644 5.10986C35.3362 4.48887 33.3045 3.88772 31.2695 3.30628C31.5183 2.76726 31.7671 2.22829 32.0158 1.68929C33.8677 1.37702 35.692 1.00386 37.4888 0.569824Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.957",fillRule:"evenodd",clipRule:"evenodd",d:"M1.04391 0.942947C5.27298 0.942947 9.50206 0.942947 13.7311 0.942947C13.4409 2.02095 13.1507 3.09897 12.8604 4.17695C11.6988 4.15624 10.5379 4.17695 9.37768 4.23914C9.13724 4.27036 8.90918 4.33255 8.69356 4.42572C7.90577 6.95489 7.11804 9.484 6.33025 12.0132C6.2693 12.174 6.24859 12.3399 6.26806 12.5107C4.96892 12.2297 3.68366 11.8979 2.41214 11.5156C2.99077 9.38543 3.63347 7.27089 4.3401 5.17202C4.42244 4.88438 4.48463 4.59413 4.52667 4.30133C3.03406 4.30133 1.54144 4.30133 0.0488281 4.30133C0.0908701 4.00853 0.153062 3.71828 0.235405 3.43064C0.518865 2.60112 0.788369 1.77187 1.04391 0.942947Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.967",fillRule:"evenodd",clipRule:"evenodd",d:"M14.4763 0.94295C16.5083 0.922228 18.5399 0.942957 20.5711 1.00514C21.5554 1.07067 22.4676 1.3609 23.3076 1.87583C23.4383 2.04808 23.6041 2.17246 23.8051 2.24899C24.5442 3.09679 24.9173 4.09187 24.9246 5.23422C24.8903 6.51159 24.5379 7.69324 23.8673 8.77918C23.4735 9.17305 23.0795 9.56697 22.6857 9.96083C21.9923 10.3906 21.246 10.6808 20.4467 10.8315C20.7741 10.9965 21.1057 11.1624 21.4418 11.3291C21.6699 11.5571 21.8979 11.7851 22.1259 12.0132C22.2786 12.437 22.3822 12.8723 22.4369 13.3192C22.3747 13.7546 22.3125 14.1899 22.2503 14.6253C21.9573 15.7973 21.6256 16.9583 21.2552 18.108C21.111 18.7217 21.0488 19.3437 21.0687 19.9738C19.6589 19.9738 18.2493 19.9738 16.8396 19.9738C16.8243 19.3852 16.8865 18.8048 17.0262 18.2324C17.3993 16.8642 17.7725 15.4959 18.1456 14.1277C18.4718 13.174 18.1609 12.5728 17.2127 12.3241C16.5091 12.262 15.8043 12.2413 15.0982 12.2619C14.8917 13.1095 14.6222 13.9388 14.2897 14.7496C13.0814 14.3698 11.8582 14.0381 10.6204 13.7546C10.6009 13.5837 10.6216 13.4179 10.6825 13.257C11.9857 9.16135 13.2502 5.05666 14.4763 0.94295ZM17.7103 4.05257C18.3749 4.03192 19.0383 4.05263 19.7004 4.11476C20.144 4.20183 20.4964 4.42982 20.7577 4.79887C20.8406 5.29641 20.8406 5.79395 20.7577 6.29149C20.6163 6.75706 20.4505 7.21318 20.2602 7.65972C20.0943 7.90849 19.9285 8.15726 19.7626 8.40603C19.1449 9.07845 18.3778 9.32722 17.4615 9.15233C17.0055 9.13162 16.5493 9.11085 16.0933 9.09014C16.6228 7.40722 17.1618 5.72803 17.7103 4.05257Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.951",fillRule:"evenodd",clipRule:"evenodd",d:"M50.6724 2.31121C50.7643 2.29492 50.8472 2.31564 50.9212 2.3734C51.9656 3.12717 53.0436 3.832 54.1552 4.48794C54.2121 4.53944 54.2535 4.60163 54.2796 4.67452C53.7522 6.31888 53.2132 7.95659 52.6626 9.58771C52.4967 9.67061 52.3309 9.67061 52.165 9.58771C51.2114 9.29746 50.2578 9.00727 49.3042 8.71702C49.1121 8.68101 48.9463 8.59804 48.8066 8.46825C49.4067 6.58513 50.0078 4.69865 50.6102 2.80875C50.6712 2.64792 50.6919 2.48205 50.6724 2.31121Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.968",fillRule:"evenodd",clipRule:"evenodd",d:"M30.8958 4.05257C31.8525 4.30221 32.8062 4.57169 33.7566 4.86107C33.7981 4.90255 33.8395 4.94397 33.881 4.98545C32.6441 7.64579 31.3588 10.2786 30.0251 12.8839C31.2274 12.8839 32.4299 12.8839 33.6322 12.8839C33.7046 10.2655 33.8704 7.65344 34.1298 5.04764C35.3321 5.37932 36.5346 5.71105 37.7369 6.04272C37.6362 10.6448 37.5325 15.2471 37.426 19.8494C36.0471 19.9722 34.6582 20.0137 33.2591 19.9738C33.3601 18.6496 33.4016 17.3229 33.3835 15.9935C31.725 15.9935 30.0666 15.9935 28.4081 15.9935C27.7447 17.3202 27.0813 18.647 26.4179 19.9738C24.9668 19.9738 23.5156 19.9738 22.0645 19.9738C22.3306 19.4414 22.6002 18.9024 22.873 18.3568C25.485 13.7546 28.0971 9.15234 30.7092 4.55011C30.8076 4.39525 30.8698 4.22938 30.8958 4.05257Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.967",fillRule:"evenodd",clipRule:"evenodd",d:"M42.4625 7.53534C43.6249 7.87441 44.7858 8.22679 45.9452 8.59261C46.1061 8.65356 46.2719 8.67427 46.4428 8.6548C46.3785 9.1177 46.2749 9.57382 46.1318 10.023C44.0424 16.6645 41.9279 23.2984 39.7882 29.9246C39.6295 30.4623 39.4844 31.0013 39.3528 31.5416C37.9407 31.6406 36.531 31.765 35.1238 31.9147C35.0409 31.894 34.9579 31.8732 34.875 31.8525C36.0805 28.2773 37.2622 24.6908 38.42 21.0933C39.7557 16.568 41.1032 12.0488 42.4625 7.53534Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.962",fillRule:"evenodd",clipRule:"evenodd",d:"M48.4332 9.40112C48.6041 9.38165 48.7699 9.40236 48.9308 9.46331C50.0406 9.79181 51.1393 10.1443 52.227 10.5206C52.3099 10.6864 52.3099 10.8522 52.227 11.0181C51.6124 12.9238 51.0112 14.831 50.4234 16.7398C52.2062 16.7398 53.989 16.7398 55.7719 16.7398C55.4151 17.8104 55.0834 18.8884 54.7768 19.9738C51.5843 19.9738 48.3917 19.9738 45.1992 19.9738C46.2772 16.4496 47.3552 12.9254 48.4332 9.40112Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.946",fillRule:"evenodd",clipRule:"evenodd",d:"M2.03805 12.3863C3.3286 12.6986 4.61393 13.0303 5.89397 13.3814C5.35402 15.2505 4.79428 17.1162 4.21478 18.9787C4.17329 19.0202 4.13187 19.0616 4.09039 19.1031C3.3026 18.3153 2.51487 17.5276 1.72708 16.7398C1.49725 16.4275 1.26921 16.1166 1.04297 15.8069C1.41332 14.6754 1.745 13.5352 2.03805 12.3863Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.942",fillRule:"evenodd",clipRule:"evenodd",d:"M10.3716 14.5009C11.6066 14.8571 12.8504 15.1888 14.1032 15.496C13.7676 16.7962 13.3737 18.0815 12.9215 19.3519C12.8392 19.6395 12.777 19.9298 12.7349 20.2226C11.3252 20.2226 9.91557 20.2226 8.50586 20.2226C9.07834 18.2979 9.70026 16.3907 10.3716 14.5009Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.963",fillRule:"evenodd",clipRule:"evenodd",d:"M61.3687 20.9689C62.3644 20.9482 63.3595 20.969 64.3539 21.0311C65.604 21.1689 66.6613 21.6872 67.5257 22.5859C68.0488 23.4732 68.2142 24.4268 68.0233 25.4467C67.8902 26.0323 67.7453 26.6128 67.5879 27.1881C66.2191 27.2088 64.8508 27.1881 63.4832 27.1259C63.9254 26.3284 64.0703 25.4785 63.9186 24.576C63.8719 24.4621 63.8097 24.3584 63.732 24.2651C62.2139 23.6453 61.1983 24.1222 60.6846 25.6955C60.4489 26.2368 60.4489 26.7758 60.6846 27.3125C60.9439 27.7896 61.2337 28.2457 61.5553 28.6807C61.9906 29.1161 62.426 29.5514 62.8613 29.9868C62.7786 30.0283 62.6953 30.0697 62.6125 30.1112C61.1603 30.2011 59.7094 30.3047 58.2591 30.4221C57.9525 30.4249 57.6622 30.3627 57.3884 30.2355C56.5731 29.5585 56.1585 28.6878 56.1445 27.6235C56.1424 25.223 57.096 23.3158 59.0054 21.9018C59.3369 21.7359 59.669 21.5701 60.0005 21.4042C60.4775 21.2756 60.9333 21.1305 61.3687 20.9689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.968",fillRule:"evenodd",clipRule:"evenodd",d:"M24.4266 21.0933C26.6244 21.0726 28.8219 21.0933 31.0189 21.1555C32.185 21.2514 33.1594 21.7281 33.942 22.5859C34.142 22.9444 34.3079 23.3175 34.4395 23.7053C34.9432 27.1178 33.5541 29.2945 30.2726 30.2355C31.2167 30.6404 31.8593 31.3245 32.2006 32.2879C32.5654 34.8429 31.7983 36.9782 29.8995 38.6937C28.7516 39.5257 27.4663 40.0025 26.0436 40.1241C25.5318 39.9305 25.0342 39.7024 24.5509 39.44C22.8309 38.5179 21.131 37.5643 19.4512 36.5791C21.1218 31.4222 22.7802 26.2603 24.4266 21.0933ZM27.4118 24.0785C28.0351 24.0578 28.657 24.0786 29.2776 24.1407C29.6353 24.1952 29.967 24.3195 30.2726 24.5138C30.4221 24.6261 30.5258 24.7712 30.5836 24.9492C30.7878 25.9975 30.5805 26.9512 29.9617 27.81C29.6507 28.0381 29.3397 28.2661 29.0288 28.4941C28.78 28.577 28.5312 28.66 28.2825 28.7429C27.4958 28.805 26.708 28.8258 25.9192 28.8051C26.4167 27.2296 26.9142 25.654 27.4118 24.0785ZM25.0485 31.666C25.8443 31.6339 26.632 31.6961 27.4118 31.8525C27.6765 31.934 27.9253 32.0377 28.1581 32.1635C28.2292 32.3818 28.3329 32.5891 28.4691 32.7854C28.5091 34.3436 27.9494 35.6496 26.7899 36.7035C26.4482 36.9211 26.0751 37.0455 25.6704 37.0767C24.8837 37.1388 24.0959 37.1595 23.3071 37.1389C23.8631 35.3051 24.4436 33.4807 25.0485 31.666Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.965",fillRule:"evenodd",clipRule:"evenodd",d:"M44.4541 21.0933C48.6831 21.0933 52.9122 21.0933 57.1413 21.0933C56.8971 22.1782 56.5654 23.2355 56.1462 24.2651C54.8201 24.3273 53.4933 24.348 52.1659 24.3273C51.47 26.5187 50.7859 28.7162 50.1136 30.9197C49.731 31.0177 49.3371 31.0799 48.9319 31.1062C47.9368 31.1767 46.9417 31.2389 45.9467 31.2928C45.9272 31.122 45.9479 30.9561 46.0089 30.7953C46.684 28.6535 47.3681 26.5182 48.0612 24.3895C46.5277 24.3273 44.9936 24.3066 43.459 24.3273C43.7662 23.2399 44.0979 22.1619 44.4541 21.0933Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.905",fillRule:"evenodd",clipRule:"evenodd",d:"M16.3418 21.2177C16.8824 21.1971 17.4214 21.2178 17.9588 21.2798C18.3967 21.3425 18.7076 21.5706 18.8917 21.964C18.9746 22.3371 18.9746 22.7103 18.8917 23.0834C18.6237 24.3025 18.2091 25.4633 17.6479 26.5662C17.4051 26.8639 17.0941 27.0505 16.715 27.1259C16.176 27.2088 15.637 27.2088 15.098 27.1259C14.389 26.9768 14.0159 26.5415 13.9785 25.8199C14.2765 24.5864 14.6704 23.384 15.1602 22.2127C15.2903 22.0149 15.4354 21.8283 15.5955 21.653C15.8358 21.4716 16.0846 21.3265 16.3418 21.2177ZM16.715 22.2127C17.0139 22.2063 17.3041 22.2477 17.5857 22.3371C17.6058 22.5893 17.5851 22.8381 17.5235 23.0834C17.2332 23.9541 16.943 24.8248 16.6528 25.6955C16.4738 25.9378 16.2457 26.1037 15.9687 26.193C15.8009 26.1501 15.635 26.1086 15.4711 26.0687C15.4507 25.7344 15.4714 25.4027 15.5333 25.0736C15.7821 24.3273 16.0309 23.581 16.2796 22.8347C16.4037 22.6079 16.5488 22.4006 16.715 22.2127Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.913",fillRule:"evenodd",clipRule:"evenodd",d:"M19.9504 21.2177C21.0292 21.197 22.1071 21.2177 23.1844 21.2799C23.0229 21.6191 22.8985 21.9714 22.8112 22.3371C22.2308 22.3371 21.6503 22.3371 21.0698 22.3371C20.9576 22.736 20.8332 23.1299 20.6967 23.5188C21.2341 23.5808 21.7731 23.6016 22.3137 23.581C22.2308 23.9126 22.1478 24.2444 22.0649 24.576C21.4929 24.5387 20.9332 24.5802 20.3857 24.7004C20.0938 25.4722 19.8658 26.26 19.7016 27.0637C19.2041 27.0637 18.7065 27.0637 18.209 27.0637C18.7554 25.2793 19.3151 23.4965 19.8882 21.7152C19.9491 21.5544 19.9698 21.3885 19.9504 21.2177Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.96",fillRule:"evenodd",clipRule:"evenodd",d:"M61.7423 30.9197C62.3654 30.899 62.9874 30.9197 63.608 30.9818C64.5372 31.8042 64.9931 32.8407 64.9763 34.0915C64.7748 35.8413 64.1734 37.4375 63.1727 38.8803C61.9985 40.1848 60.5264 40.8689 58.757 40.9326C57.2251 41.1052 55.7324 40.9394 54.2792 40.4351C53.9475 40.2278 53.6158 40.0204 53.2841 39.8132C53.1124 39.5737 52.9258 39.3457 52.7244 39.129C52.5756 38.807 52.4512 38.4753 52.3512 38.134C52.2683 37.4706 52.2683 36.8072 52.3512 36.1438C52.4844 35.5583 52.6295 34.9778 52.7866 34.4024C54.2383 34.3817 55.6895 34.4024 57.14 34.4646C56.7613 35.0715 56.554 35.7349 56.5181 36.4548C56.7491 37.773 57.4954 38.1876 58.757 37.6986C60.4512 36.9016 61.0942 35.5955 60.685 33.7805C60.519 33.4488 60.3535 33.1171 60.1875 32.7854C59.6651 32.2214 59.1053 31.7032 58.5083 31.2306C59.6072 31.1455 60.685 31.0418 61.7423 30.9197Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.952",fillRule:"evenodd",clipRule:"evenodd",d:"M48.6818 31.9147C49.055 31.9147 49.4281 31.9147 49.8013 31.9147C49.3441 33.4523 48.8674 34.9863 48.3708 36.517C48.2885 36.8046 48.2263 37.0949 48.1843 37.3877C48.0134 37.3682 47.8476 37.3889 47.6867 37.4498C46.3329 37.9022 44.9647 38.2961 43.582 38.6315C44.2202 36.468 44.8837 34.312 45.5722 32.1635C46.6323 32.1442 47.6688 32.0613 48.6818 31.9147Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.929",fillRule:"evenodd",clipRule:"evenodd",d:"M19.0798 37.3877C19.1717 37.3714 19.2546 37.3921 19.3286 37.4499C20.987 38.362 22.6455 39.2741 24.3039 40.1863C24.4698 40.3107 24.6356 40.4351 24.8015 40.5595C22.478 40.918 20.1562 41.2704 17.8359 41.6167C18.2758 40.2144 18.6903 38.8047 19.0798 37.3877Z",fill:"#554B6A"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_9266_25244",children:jsxRuntime.jsx("rect",{width:"68.4923",height:"42",fill:"white"})})})]}),TrustWallet=e=>jsxRuntime.jsxs("svg",{width:"20",height:"22",viewBox:"0 0 20 22",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M0 3.11128L9.61454 0V21.5385C2.74692 18.6664 0 13.1622 0 10.0515V3.11128Z",fill:"#0500FF"}),jsxRuntime.jsx("path",{d:"M19.2317 3.11128L9.61719 0V21.5385C16.4848 18.6664 19.2317 13.1622 19.2317 10.0515V3.11128Z",fill:"url(#paint0_linear_12337_5697)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_12337_5697",x1:"16.6778",y1:"-1.50826",x2:"9.47321",y2:"21.2625",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.02",stopColor:"#0000FF"}),jsxRuntime.jsx("stop",{offset:"0.08",stopColor:"#0094FF"}),jsxRuntime.jsx("stop",{offset:"0.16",stopColor:"#48FF91"}),jsxRuntime.jsx("stop",{offset:"0.42",stopColor:"#0094FF"}),jsxRuntime.jsx("stop",{offset:"0.68",stopColor:"#0038FF"}),jsxRuntime.jsx("stop",{offset:"0.9",stopColor:"#0500FF"})]})})]}),WalletConnect=e=>jsxRuntime.jsx("svg",{width:"24",height:"15",viewBox:"0 0 24 15",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M4.91331 2.93074C8.82718 -0.976913 15.1728 -0.976913 19.0867 2.93074L19.5577 3.40102C19.7534 3.59642 19.7534 3.91318 19.5577 4.10859L17.9464 5.71735C17.8486 5.81505 17.6899 5.81505 17.5921 5.71735L16.9439 5.0702C14.2134 2.3441 9.78656 2.3441 7.05612 5.0702L6.36193 5.76324C6.26412 5.86094 6.1055 5.86094 6.00762 5.76324L4.39631 4.15447C4.20056 3.95907 4.20056 3.64231 4.39631 3.4469L4.91331 2.93074ZM22.4191 6.25787L23.8532 7.68965C24.0489 7.88506 24.0489 8.20181 23.8532 8.39722L17.3868 14.8535C17.1911 15.0488 16.8738 15.0488 16.6781 14.8535L12.0886 10.2713C12.0397 10.2224 11.9604 10.2224 11.9114 10.2713L7.32206 14.8535C7.12637 15.0488 6.80906 15.0488 6.61337 14.8535L0.14677 8.39715C-0.0489234 8.20175 -0.0489234 7.88499 0.14677 7.68958L1.58087 6.25775C1.77656 6.0624 2.09385 6.0624 2.28954 6.25775L6.87912 10.84C6.928 10.8889 7.00731 10.8889 7.05625 10.84L11.6456 6.25775C11.8412 6.0624 12.1586 6.0624 12.3542 6.25775L16.9438 10.84C16.9927 10.8889 17.0721 10.8889 17.121 10.84L21.7104 6.25787C21.9062 6.06247 22.2234 6.06247 22.4191 6.25787Z",fill:"#3396FF"})}),SwellBTC=e=>jsxRuntime.jsxs("svg",{width:"132",height:"51",viewBox:"0 0 132 51",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M48.8564 30.9017L48.792 30.9694C48.7619 31.0005 48.7314 31.0314 48.7006 31.0621L31.0382 48.6961C27.9614 51.768 22.9729 51.768 19.8961 48.6961L15.0186 43.8267C14.6728 43.4828 14.6721 42.9236 15.0163 42.5782C15.1176 42.4766 15.2421 42.4012 15.379 42.3584C20.6069 40.7446 24.8548 38.8817 28.1225 36.7699C35.9047 31.7403 42.816 29.7843 48.8564 30.9017ZM45.1535 16.3958C51.6746 18.4507 50.9135 23.2479 51 25.1391C43.8584 21.3943 35.2669 22.7669 25.2254 29.2566C17.741 34.0937 11.4716 36.088 6.4173 35.2395C1.363 34.391 0.226 28.2183 0 26.578C5.5538 29.3861 12.9966 27.7744 22.3283 21.7434C31.024 16.1235 38.6324 14.3409 45.1535 16.3958ZM31.0382 2.30393L35.6212 6.87893C35.9664 7.22333 35.9669 7.78252 35.6225 8.12782C35.4996 8.25102 35.3431 8.33512 35.1726 8.36942C28.538 9.70602 23.232 11.6596 19.2546 14.2302C12.4389 18.6351 6.6308 20.6825 1.8303 20.3724L1.8308 20.3711L19.8961 2.30393C22.9729 -0.767975 27.9614 -0.767975 31.0382 2.30393Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M75.7906 20.556C75.6998 19.7065 75.3172 19.0451 74.6428 18.5718C73.975 18.0984 73.106 17.8617 72.0361 17.8617C71.2839 17.8617 70.6387 17.9752 70.1005 18.2022C69.5623 18.4291 69.1506 18.7371 68.8652 19.1262C68.5799 19.5152 68.434 19.9594 68.4275 20.4587C68.4275 20.8737 68.5216 21.2336 68.7096 21.5384C68.9041 21.8431 69.1668 22.1025 69.4975 22.3165C69.8282 22.524 70.1945 22.6991 70.5966 22.8417C70.9986 22.9844 71.4039 23.1044 71.8124 23.2016L73.6799 23.6685C74.4321 23.8436 75.1551 24.0803 75.8489 24.3785C76.5493 24.6768 77.175 25.0529 77.7262 25.5068C78.2838 25.9607 78.7248 26.5087 79.049 27.1506C79.3732 27.7926 79.5353 28.5448 79.5353 29.4072C79.5353 30.5744 79.237 31.6022 78.6405 32.4905C78.0439 33.3724 77.1815 34.063 76.0532 34.5623C74.9314 35.0551 73.5729 35.3015 71.9778 35.3015C70.428 35.3015 69.0825 35.0616 67.9412 34.5818C66.8064 34.1019 65.9181 33.4016 65.2761 32.4808C64.6407 31.56 64.297 30.4382 64.2451 29.1154H67.7953C67.8472 29.8092 68.0612 30.3863 68.4373 30.8467C68.8134 31.3071 69.3029 31.6508 69.906 31.8778C70.5155 32.1047 71.1964 32.2182 71.9486 32.2182C72.7332 32.2182 73.4205 32.1015 74.0106 31.868C74.6072 31.6281 75.0741 31.2974 75.4112 30.8759C75.7484 30.4479 75.9203 29.9487 75.9268 29.378C75.9203 28.8593 75.7679 28.4313 75.4696 28.0941C75.1713 27.7504 74.7531 27.4651 74.2149 27.2382C73.6832 27.0047 73.0606 26.7972 72.3474 26.6157L70.0811 26.0321C68.4405 25.6106 67.1436 24.9719 66.1904 24.1159C65.2437 23.2535 64.7703 22.109 64.7703 20.6824C64.7703 19.5088 65.0881 18.481 65.7235 17.5991C66.3655 16.7172 67.2377 16.0331 68.34 15.5468C69.4424 15.054 70.6906 14.8076 72.0847 14.8076C73.4983 14.8076 74.7369 15.054 75.8003 15.5468C76.8702 16.0331 77.71 16.7107 78.3195 17.5797C78.929 18.4421 79.2435 19.4342 79.263 20.556H75.7906ZM85.6801 35L81.4588 20.0599H85.0479L87.6741 30.5647H87.8101L90.4951 20.0599H94.0451L96.7291 30.5063H96.8751L99.4631 20.0599H103.061L98.8301 35H95.1631L92.3621 24.9038H92.1581L89.3571 35H85.6801ZM111.706 35.2918C110.208 35.2918 108.914 34.9805 107.825 34.358C106.742 33.7291 105.909 32.8407 105.325 31.693C104.742 30.5387 104.45 29.1802 104.45 27.6175C104.45 26.0807 104.742 24.7319 105.325 23.5712C105.915 22.404 106.739 21.4962 107.796 20.8478C108.853 20.1929 110.095 19.8654 111.521 19.8654C112.442 19.8654 113.311 20.0145 114.128 20.3128C114.951 20.6046 115.678 21.0585 116.307 21.6746C116.942 22.2906 117.441 23.0752 117.805 24.0284C118.168 24.9751 118.349 26.1034 118.349 27.4132V28.4929H106.103V26.1196H114.974C114.968 25.4452 114.822 24.8454 114.536 24.3202C114.251 23.7885 113.852 23.3702 113.34 23.0655C112.834 22.7607 112.244 22.6083 111.57 22.6083C110.85 22.6083 110.218 22.7834 109.673 23.1335C109.128 23.4772 108.704 23.9311 108.399 24.4953C108.101 25.0529 107.948 25.6657 107.942 26.3336V28.4054C107.942 29.2743 108.101 30.02 108.418 30.6425C108.736 31.2585 109.18 31.7319 109.751 32.0626C110.322 32.3868 110.989 32.5489 111.755 32.5489C112.267 32.5489 112.731 32.4776 113.146 32.3349C113.561 32.1858 113.92 31.9685 114.225 31.6832C114.53 31.3979 114.76 31.0445 114.916 30.623L118.203 30.9926C117.996 31.8615 117.6 32.6202 117.017 33.2687C116.44 33.9106 115.7 34.4099 114.799 34.7666C113.898 35.1167 112.867 35.2918 111.706 35.2918ZM124.849 15.0799V35H121.328V15.0799H124.849ZM131.991 15.0799V35H128.47V15.0799H131.991Z",fill:"#554B6A"})]}),DLCBTC=e=>jsxRuntime.jsxs("svg",{width:"160",height:"60",viewBox:"0 0 362 136",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M159.763 62.6735C161.004 60.1914 162.693 58.282 164.833 56.9447C166.971 55.6082 169.358 54.9395 171.993 54.9395C174.093 54.9395 176.012 55.379 177.75 56.2572C179.487 57.1362 180.852 58.3196 181.846 59.8091V44.9712H191.641V87.3651H181.846V82.782C180.929 84.31 179.621 85.5319 177.922 86.4485C176.222 87.3651 174.246 87.8234 171.993 87.8234C169.358 87.8234 166.971 87.1458 164.833 85.7896C162.693 84.4344 161.004 82.5054 159.763 80.0035C158.522 77.5024 157.901 74.6094 157.901 71.3242C157.901 68.039 158.522 65.1566 159.763 62.6735ZM179.812 65.5953C178.456 64.1828 176.805 63.4756 174.857 63.4756C172.91 63.4756 171.257 64.1729 169.902 65.5666C168.546 66.9613 167.869 68.8804 167.869 71.3242C167.869 73.7679 168.546 75.7068 169.902 77.139C171.257 78.5713 172.91 79.2874 174.857 79.2874C176.805 79.2874 178.456 78.581 179.812 77.1677C181.167 75.7551 181.846 73.8261 181.846 71.3814C181.846 68.9368 181.167 67.0087 179.812 65.5953Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M208.539 44.9712V87.3651H198.743V44.9712H208.539Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M215.728 62.6735C217.083 60.1913 218.973 58.2819 221.399 56.9446C223.824 55.6081 226.602 54.9395 229.734 54.9395C233.744 54.9395 237.095 55.9903 239.787 58.0903C242.479 60.1913 244.245 63.1515 245.086 66.9701H234.66C233.781 64.5264 232.082 63.3036 229.562 63.3036C227.766 63.3036 226.334 64.0009 225.266 65.3947C224.196 66.7893 223.662 68.7845 223.662 71.3813C223.662 73.9782 224.196 75.9743 225.266 77.368C226.334 78.7626 227.766 79.4591 229.562 79.4591C232.082 79.4591 233.781 78.2372 234.66 75.7926H245.086C244.245 79.5361 242.469 82.4766 239.758 84.6151C237.046 86.7544 233.705 87.8233 229.734 87.8233C226.602 87.8233 223.824 87.1555 221.399 85.8182C218.973 84.4817 217.083 82.5724 215.728 80.0893C214.372 77.6071 213.694 74.7041 213.694 71.3813C213.694 68.0585 214.372 65.1566 215.728 62.6735Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M280.257 70.2071C281.669 72.0215 282.376 74.0938 282.376 76.423C282.376 79.7842 281.202 82.4481 278.854 84.4148C276.505 86.3823 273.23 87.3652 269.03 87.3652H250.298V47.1482H268.399C272.485 47.1482 275.683 48.0845 277.994 49.9553C280.305 51.8271 281.46 54.3666 281.46 57.5748C281.46 59.9433 280.839 61.91 279.598 63.4756C278.357 65.0421 276.706 66.1306 274.643 66.7411C276.972 67.2379 278.844 68.3935 280.257 70.2071ZM260.093 63.4183H266.509C268.113 63.4183 269.345 63.0656 270.204 62.3584C271.063 61.6522 271.493 60.6111 271.493 59.2362C271.493 57.8613 271.063 56.8113 270.204 56.0853C269.345 55.3602 268.113 54.9968 266.509 54.9968H260.093V63.4183ZM271.12 78.3421C272.017 77.5974 272.466 76.5187 272.466 75.1053C272.466 73.6928 271.998 72.5846 271.063 71.7825C270.127 70.9805 268.838 70.5795 267.196 70.5795H260.093V79.4592H267.311C268.953 79.4592 270.223 79.0868 271.12 78.3421Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M316.976 47.1482V54.9968H306.321V87.3651H296.526V54.9968H285.871V47.1482H316.976Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M322.818 56.5723C324.537 53.4599 326.933 51.035 330.007 49.2966C333.081 47.5591 336.566 46.6899 340.461 46.6899C345.235 46.6899 349.321 47.9503 352.72 50.471C356.118 52.9917 358.391 56.4291 359.537 60.7831H348.767C347.965 59.1028 346.829 57.8237 345.359 56.9447C343.888 56.0666 342.217 55.627 340.347 55.627C337.329 55.627 334.885 56.6779 333.014 58.7779C331.143 60.8789 330.208 63.686 330.208 67.1994C330.208 70.7128 331.143 73.5208 333.014 75.6208C334.885 77.7218 337.329 78.7717 340.347 78.7717C342.217 78.7717 343.888 78.3331 345.359 77.4542C346.829 76.576 347.965 75.2969 348.767 73.6157H359.537C358.391 77.9697 356.118 81.3981 352.72 83.8991C349.321 86.4011 345.235 87.6516 340.461 87.6516C336.566 87.6516 333.081 86.7833 330.007 85.0449C326.933 83.3075 324.537 80.8914 322.818 77.7979C321.1 74.7043 320.24 71.172 320.24 67.1994C320.24 63.2267 321.1 59.6856 322.818 56.5723Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M67.9933 136C105.545 136 135.987 105.555 135.987 68C135.987 30.4446 105.545 0 67.9933 0C30.4416 0 0 30.4446 0 68C0 105.555 30.4416 136 67.9933 136ZM87.2325 56.4835C86.6495 50.1927 81.1537 48.0591 74.2052 47.4263L74.2469 38.7043L68.8616 38.6798L68.8212 47.1718C67.4055 47.1654 65.9582 47.1862 64.5204 47.2078L64.5622 38.6595L59.1798 38.6343L59.136 47.3537C57.9699 47.3717 56.8249 47.3877 55.7084 47.3833L55.7078 47.3562L48.2803 47.3191L48.2545 52.9892C48.2545 52.9892 52.2316 52.933 52.1652 53.005C54.3464 53.0158 55.0504 54.2675 55.2517 55.3458L55.1366 79.2391C55.0376 79.9154 54.6289 80.9926 53.1049 80.9881C53.1735 81.0486 49.1902 80.9688 49.1902 80.9688L48.0898 87.3041L55.098 87.3366C55.8785 87.3411 56.6515 87.3529 57.4164 87.3646L57.4185 87.3646L57.4206 87.3646L57.4225 87.3647C57.9336 87.3725 58.4412 87.3802 58.945 87.3857L58.9049 96.207L64.2844 96.2329L64.3261 87.5049C65.803 87.5419 67.2324 87.5601 68.6279 87.5653L68.5838 96.2531L73.9691 96.2777L74.013 87.4721C83.0691 87.0022 89.4166 84.7832 90.2437 76.4052C90.9114 69.6591 87.7055 66.6326 82.572 65.392C85.7017 63.8392 87.667 61.0867 87.2325 56.4835ZM79.6078 75.3102C79.5815 81.3583 69.9449 81.1814 65.5357 81.1005C65.139 81.0932 64.7846 81.0867 64.4833 81.0856L64.5408 69.398C64.9066 69.3998 65.3507 69.3915 65.8537 69.3822L65.8578 69.3821L65.8584 69.3821C70.3772 69.298 79.6378 69.1256 79.6078 75.3102ZM77.1823 58.8089C77.1544 64.3068 69.1307 64.1393 65.4522 64.0625H65.4518H65.4514H65.451C65.1172 64.0555 64.8192 64.0493 64.5663 64.0481L64.6174 53.448C64.9248 53.4494 65.2988 53.4414 65.7228 53.4323C69.4917 53.3514 77.2087 53.1859 77.1823 58.8089ZM117.914 88.7977C117.917 91.0406 117.325 93.2595 116.201 95.2145L116.198 95.2207C115.072 97.1748 113.451 98.8015 111.51 99.9251L74.4059 121.53C73.4065 119.745 73.5095 112.56 78.427 109.686L107.423 92.8624C108.13 92.4533 108.72 91.8609 109.13 91.1488C109.54 90.4364 109.756 89.6285 109.754 88.8116L109.729 55.2857C109.743 49.5895 115.905 45.8909 117.951 45.8584L117.914 88.7977ZM67.9953 12.658C70.2503 12.6587 72.4686 13.2522 74.4105 14.3741L111.643 35.7575C110.595 37.514 104.316 41.0109 99.3725 38.1822L70.329 21.4402C69.6218 21.0314 68.8141 20.8154 67.9923 20.8153C67.1706 20.8155 66.363 21.0317 65.6557 21.4405L36.6135 38.1847C31.6702 41.0141 25.3921 37.5201 24.3438 35.7637L61.5733 14.3751C63.5151 13.2529 65.7333 12.6591 67.9883 12.658L67.9953 12.658ZM18.0721 88.7977C18.0683 91.0406 18.6603 93.2595 19.7843 95.2145L19.7878 95.2207C20.9133 97.1748 22.5343 98.8015 24.4753 99.9251L61.5798 121.53C62.5791 119.745 62.4762 112.56 57.5586 109.686L28.5626 92.8624C27.8555 92.4533 27.2654 91.8609 26.8554 91.1488C26.4457 90.4364 26.2301 89.6285 26.2316 88.8116L26.2563 55.2857C26.2422 49.5895 20.0802 45.8909 18.0352 45.8584L18.0721 88.7977Z",fill:"#554B6A"})]}),TraderJoe=e=>jsxRuntime.jsxs("svg",{width:"151",height:"25",viewBox:"0 0 151 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14658)",children:[jsxRuntime.jsx("mask",{id:"mask0_13175_14658","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"151",height:"25",children:jsxRuntime.jsx("path",{d:"M150.47 0H0V25H150.47V0Z",fill:"white"})}),jsxRuntime.jsxs("g",{mask:"url(#mask0_13175_14658)",children:[jsxRuntime.jsx("path",{d:"M19.0282 0.686768H0V4.60295H7.2688V24.7175H11.7946V4.60295H19.0282V0.686768Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M21.9282 10.4694V7.41654H17.7158V24.7176H21.9322V16.5438C21.9322 13.2477 22.994 10.9442 25.6665 10.9442H28.3741V7.40869H26.3522C24.1226 7.41262 22.7825 8.27198 21.9282 10.4694Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M42.1516 9.36678C41.1563 8.02869 39.2715 7.13794 37.1163 7.13794C31.9714 7.13794 28.9541 10.7755 28.9541 16.0651C28.9541 21.3547 31.9714 24.9922 37.183 24.9922C39.3421 24.9922 41.3327 24.0662 42.1555 22.6928V24.7176H46.3757V7.41654H42.1555V9.36678H42.1516ZM37.7668 21.3547C34.9886 21.3547 33.1391 19.2592 33.1391 16.0651C33.1391 12.8748 34.9886 10.7755 37.7668 10.7755C40.545 10.7755 42.4651 12.8709 42.4651 16.0651C42.4651 19.2553 40.6156 21.3547 37.7668 21.3547Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M62.0492 9.5079C61.0539 8.10312 59.2357 7.13781 56.9747 7.13781C51.869 7.13781 48.8125 10.7754 48.8125 16.0649C48.8125 21.3546 51.865 24.9921 57.0414 24.9921C59.1338 24.9921 61.0539 24.0661 62.0492 22.5514V24.7135H66.2302V0H62.0492V9.5079ZM57.6604 21.3546C54.847 21.3546 53.0014 19.2591 53.0014 16.0649C53.0014 12.8747 54.8509 10.7754 57.6604 10.7754C60.474 10.7754 62.3195 12.8709 62.3195 16.0649C62.3235 19.2553 60.474 21.3546 57.6604 21.3546Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M77.1398 21.4957C74.4674 21.4957 72.6845 19.7102 72.3789 16.932H85.1296C85.1609 16.5867 85.2001 16.0726 85.2001 15.488C85.2001 11.3678 82.5944 7.14551 76.7989 7.14551C71.0034 7.14551 68.3311 11.4384 68.3311 16.006C68.3311 20.5736 71.4855 25.0037 77.1398 25.0037C81.3914 25.0037 84.6124 22.6336 85.2628 18.9608H81.1445C80.7057 20.605 79.3029 21.4917 77.1398 21.4957ZM76.795 10.3043H76.7989C79.3029 10.3043 80.8114 11.9524 80.9799 14.1499H72.4768C72.9196 11.5404 74.4282 10.3043 76.795 10.3043Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M91.5991 10.4694V7.41654H87.3828V24.7176H91.5991V16.5438C91.5991 13.2477 92.661 10.9442 95.333 10.9442H98.0407V7.40869H96.0191C93.7896 7.41262 92.4533 8.27198 91.5991 10.4694Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M123.425 7.13794C118.143 7.13794 114.373 10.9128 114.373 16.0651C114.373 21.2173 118.143 24.9922 123.425 24.9922C128.707 24.9922 132.441 21.2135 132.441 16.0651C132.441 10.9207 128.672 7.13794 123.425 7.13794ZM123.425 21.3547C120.54 21.3547 118.625 19.1925 118.625 16.0651C118.625 12.9376 120.545 10.7755 123.425 10.7755C126.304 10.7755 128.19 12.9376 128.19 16.0651C128.19 19.1925 126.27 21.3547 123.425 21.3547Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M146.359 18.9532C145.913 20.6013 144.511 21.492 142.347 21.492C139.671 21.492 137.888 19.7066 137.582 16.9284H150.333C150.364 16.587 150.404 16.069 150.404 15.4843C150.404 11.3601 147.798 7.14185 142.002 7.14185C136.207 7.14185 133.534 11.4348 133.534 16.0023C133.534 20.5699 136.689 24.9961 142.347 24.9961C146.599 24.9961 149.82 22.626 150.47 18.9532H146.359ZM141.998 10.2968H142.002C144.502 10.2968 146.015 11.9448 146.184 14.1423H137.676C138.127 11.5328 139.632 10.2968 141.998 10.2968Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M103.848 0.686768V4.59903H108.151V17.6857C108.151 19.7811 107.566 20.7739 105.854 20.7739H101.207V24.7215H106.677C110.447 24.7215 112.676 22.4887 112.676 17.8544V0.686768H108.151H103.848Z",fill:"#554B6A"})]})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14658",children:jsxRuntime.jsx("rect",{width:"150.47",height:"25",fill:"white"})})})]}),Debridge=e=>jsxRuntime.jsxs("svg",{width:"182",height:"30",viewBox:"0 0 182 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14673)",children:[jsxRuntime.jsx("path",{d:"M181.742 17.0809H169.879C170.345 19.3791 171.991 20.6524 174.413 20.6524C176.183 20.6524 177.239 20.3108 178.947 19.1306L180.748 21.7393C178.761 23.3853 176.928 24.0375 174.289 24.0375C169.382 24.0375 165.903 20.3418 165.903 15.5903C165.903 10.8387 169.537 7.14307 174.133 7.14307C179.133 7.14307 181.742 11.0251 181.742 15.6524V17.0809ZM169.847 14.2859H177.922C177.736 12.3294 176.587 10.466 174.165 10.466C171.96 10.466 170.282 11.8325 169.847 14.2859Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M148.88 28.758L149.873 25.4971C151.333 26.1803 152.979 26.6151 154.656 26.6151C158.569 26.6151 159.594 25.0002 159.594 22.2673V21.0251C158.724 22.1431 156.923 23.5716 154.221 23.5716C149.873 23.5716 146.799 20.0934 146.799 15.4039C146.799 10.6834 149.873 7.14307 154.221 7.14307C157.14 7.14307 159.128 8.44741 160.277 9.90705L160.96 7.48469H163.476V21.553C163.476 27.5157 160.308 30.0002 154.966 30.0002C151.892 30.0002 149.842 29.2548 148.88 28.758ZM155.184 20.0313C157.792 20.0313 159.594 18.1368 159.594 15.4039C159.594 12.671 157.792 10.6834 155.184 10.6834C152.513 10.6834 150.712 12.5778 150.712 15.4039C150.712 18.199 152.513 20.0313 155.184 20.0313Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M141.85 23.6947L141.167 21.2413C140.018 22.7009 138.03 24.0363 135.111 24.0363C130.763 24.0363 127.688 20.2785 127.688 15.5891C127.688 10.8686 130.763 7.14188 135.111 7.14188C137.813 7.14188 139.614 8.60152 140.483 9.71954V2.03491H144.366V23.6947H141.85ZM136.073 20.4959C138.683 20.4959 140.483 18.322 140.483 15.5891C140.483 12.8251 138.683 10.6823 136.073 10.6823C133.403 10.6823 131.602 12.763 131.602 15.5891C131.602 18.3841 133.403 20.4959 136.073 20.4959Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M120.944 2.36025C120.944 1.0559 121.938 0 123.274 0C124.578 0 125.634 1.0559 125.634 2.36025C125.634 3.66459 124.578 4.7205 123.274 4.7205C121.938 4.7205 120.944 3.66459 120.944 2.36025ZM125.261 23.6956H121.379V7.48448H125.261V23.6956Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M113.49 23.6956H109.607V7.4844H112.092L113.024 10.3415C113.893 8.78874 115.322 6.92537 119.484 7.17381L118.955 11.3042C114.794 11.0248 113.49 13.1986 113.49 15.8074V23.6956Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M99.2434 23.6969H90.0508V1.95776H98.4672C102.008 1.95776 106.262 3.41739 106.262 7.9205C106.262 10.4982 104.616 11.8335 103.25 12.5478V12.5789C104.71 13.2 107.038 14.5664 107.038 17.7652C107.038 22.1441 103.343 23.6969 99.2434 23.6969ZM94.0263 5.40496V11.0261H98.56C100.952 11.0261 102.256 9.93913 102.256 8.29316C102.256 6.21242 100.889 5.40496 98.2806 5.40496H94.0263ZM94.0263 14.4112V20.2497H99.0259C101.821 20.2497 103.032 19.318 103.032 17.4236C103.032 15.6223 101.573 14.4112 99.1192 14.4112H94.0263Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M87.4475 17.0809H75.5844C76.0503 19.3791 77.6961 20.6524 80.1186 20.6524C81.8886 20.6524 82.9447 20.3108 84.6528 19.1306L86.4537 21.7393C84.4662 23.3853 82.6339 24.0375 79.9944 24.0375C75.0875 24.0375 71.6094 20.3418 71.6094 15.5903C71.6094 10.8387 75.2427 7.14307 79.8387 7.14307C84.8389 7.14307 87.4475 11.0251 87.4475 15.6524V17.0809ZM75.5534 14.2859H83.6277C83.4416 12.3294 82.2922 10.466 79.8701 10.466C77.6651 10.466 75.988 11.8325 75.5534 14.2859Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M66.6604 23.6947L65.9775 21.2413C64.8281 22.7009 62.8406 24.0363 59.9212 24.0363C55.5736 24.0363 52.499 20.2785 52.499 15.5891C52.499 10.8686 55.5736 7.14188 59.9212 7.14188C62.6231 7.14188 64.4245 8.60152 65.294 9.71954V2.03491H69.1762V23.6947H66.6604ZM60.884 20.4959C63.4926 20.4959 65.294 18.322 65.294 15.5891C65.294 12.8251 63.4926 10.6823 60.884 10.6823C58.2131 10.6823 56.4121 12.763 56.4121 15.5891C56.4121 18.3841 58.2131 20.4959 60.884 20.4959Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8333 24.3755H42.5C42.5 24.1384 42.4961 23.9023 42.4884 23.6672H38.0676L42.4423 22.797C42.4056 22.2971 42.3516 21.8021 42.2809 21.3124L38.1338 22.1373L42.1431 20.4766C42.0465 19.9553 41.9307 19.4406 41.7968 18.9334L37.8731 20.5586L41.5572 18.0969C41.3911 17.5591 41.2042 17.0303 40.9974 16.5116L37.2692 19.0027L40.6287 15.6433C40.3824 15.0975 40.1137 14.564 39.8238 14.044L36.3241 17.5437L39.2788 13.1217C38.9413 12.5821 38.5802 12.0588 38.197 11.5532L35.0538 16.2574L37.4081 10.5735C36.9702 10.0613 36.5084 9.5702 36.0243 9.10187L33.6226 14.9001C35.6364 17.5257 36.8333 20.8108 36.8333 24.3755ZM5.66667 24.3755C5.66667 23.9462 5.68402 23.521 5.71805 23.1006H0.0376139C0.0126559 23.5224 0 23.9475 0 24.3755H5.66667ZM6.09169 20.7455L0.529767 19.6392C0.715369 18.8238 0.947859 18.0263 1.22426 17.2496L6.86527 18.3717C6.54666 19.1341 6.28692 19.9273 6.09169 20.7455ZM7.94625 16.2564L2.66288 14.0679C3.06 13.3533 3.49713 12.664 3.97125 12.0031L9.40195 14.2526C8.86589 14.8794 8.37867 15.5493 7.94625 16.2564ZM11.0101 12.6285L6.1755 9.39812C6.74236 8.8276 7.34133 8.2891 7.96955 7.78557L13.0045 11.1498C12.3 11.59 11.6333 12.0849 11.0101 12.6285ZM14.8699 10.1538L10.6627 5.94662C11.3503 5.55071 12.0622 5.19221 12.7955 4.87384L17.2358 9.31407C16.4188 9.53124 15.6283 9.8131 14.8699 10.1538ZM19.0632 8.94437L15.6698 3.86574C16.425 3.66077 17.1968 3.49639 17.9828 3.37509L21.6051 8.7961C21.487 8.79348 21.3687 8.79217 21.25 8.79217C20.5078 8.79217 19.7777 8.84406 19.0632 8.94437ZM23.1364 8.90518L20.7449 3.13137C20.9128 3.12746 21.0811 3.12549 21.25 3.12549C21.8646 3.12549 22.4731 3.15158 23.0745 3.20271L25.6507 9.42217C24.8382 9.18348 23.9981 9.00915 23.1364 8.90518ZM26.7458 9.78892L25.5051 3.55161C26.2566 3.70433 26.9936 3.8967 27.7139 4.12645L29.0586 10.8867C28.3236 10.4604 27.5505 10.0923 26.7458 9.78892ZM29.7028 11.2817V4.87313C30.3832 5.1684 31.045 5.49821 31.6861 5.86041V12.8027C31.068 12.2448 30.4048 11.7358 29.7028 11.2817ZM31.9694 13.0646L33.2134 6.81052C33.7999 7.21079 34.3654 7.6397 34.9078 8.09518L33.5682 14.8296C33.0805 14.2012 32.5458 13.6111 31.9694 13.0646Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.167 24.3732H36.8336C36.8336 24.1019 36.8267 23.8323 36.813 23.5645L33.9942 23.5152L36.7751 23.0124C36.7167 22.3375 36.6153 21.6749 36.4736 21.0275L33.2807 21.6048L36.3241 20.406C36.1588 19.7758 35.9549 19.1613 35.7152 18.5649L32.2323 19.9369L35.4228 17.8847C35.1615 17.315 34.867 16.7639 34.5416 16.2337L30.9182 18.5643L34.0741 15.5167C33.7311 15.0211 33.3602 14.5463 32.9635 14.0946L29.4105 17.5257L32.2901 13.3748C31.8813 12.9645 31.4498 12.5769 30.9977 12.2139L27.7873 16.8417L30.0927 11.5397C29.6356 11.2242 29.1608 10.9324 28.6702 10.6662L26.3968 15.8947C29.2568 17.6345 31.167 20.7807 31.167 24.3732ZM11.3337 24.3732H5.66699C5.66699 24.1098 5.67351 23.848 5.6864 23.5879L11.357 23.6869C11.3415 23.9136 11.3337 24.1424 11.3337 24.3732ZM27.5194 10.1022C27.0334 9.88831 26.5343 9.69861 26.0238 9.5345L24.8121 15.1153C25.3221 15.3117 25.8119 15.549 26.2772 15.8232L27.5194 10.1022ZM24.6327 9.1579C24.1388 9.04859 23.6361 8.96272 23.1258 8.9015L23.0261 14.615C23.5426 14.7084 24.0452 14.8418 24.5305 15.0118L24.6327 9.1579ZM21.2503 8.78979C20.8531 8.78979 20.4593 8.80465 20.0696 8.83386L21.0866 14.4578C21.141 14.4569 21.1956 14.4565 21.2503 14.4565C21.6962 14.4565 22.1353 14.4859 22.5656 14.5429L21.5257 8.79219C21.4341 8.79059 21.3423 8.78979 21.2503 8.78979ZM18.2933 14.9048L15.1556 10.0267C14.7526 10.1982 14.3583 10.386 13.9736 10.5896L17.0574 15.3839C17.4556 15.1978 17.8683 15.0374 18.2933 14.9048ZM16.2137 15.8289L12.2076 11.6803C11.872 11.9198 11.5464 12.1722 11.2314 12.437L15.1828 16.5287C15.5107 16.2747 15.8549 16.0408 16.2137 15.8289ZM9.64101 13.9775C9.38277 14.2657 9.13509 14.5636 8.8986 14.8705L13.5639 18.107C13.8104 17.805 14.0742 17.5178 14.354 17.247L9.64101 13.9775ZM7.61376 16.825C7.43816 17.1416 7.27331 17.4649 7.1196 17.7944L12.3202 20.0558C12.4794 19.7271 12.6562 19.4087 12.8494 19.1015L7.61376 16.825ZM6.2638 20.0872C6.17123 20.4114 6.08891 20.74 6.0172 21.0725L11.556 22.2752C11.6279 21.9415 11.7165 21.614 11.8211 21.2937L6.2638 20.0872ZM20.4535 14.488C19.9804 14.5256 19.5166 14.5964 19.0645 14.6982L16.9714 9.38459C17.4124 9.25892 17.8614 9.15219 18.3175 9.06537L20.4535 14.488Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.3734 24.3735L31.1644 24.3459C31.164 24.1876 31.1598 24.0302 31.1521 23.8737L26.345 24.0416L26.2608 24.0279L31.0555 22.8989C31.0287 22.7188 30.997 22.5402 30.9606 22.3634L26.4072 23.4356L30.7311 21.465C30.6706 21.2677 30.6042 21.073 30.532 20.8811L26.4826 22.7266L30.1815 20.0637C30.081 19.8557 29.9734 19.6518 29.8591 19.4522L26.3772 21.9588L29.3967 18.7207C29.2505 18.5104 29.0964 18.3061 28.9349 18.1081L26.0724 21.1778L28.3668 17.4699C28.1709 17.2679 27.9665 17.0743 27.7542 16.8895L25.5606 20.4343L27.0854 16.3562C26.8377 16.1756 26.5814 16.0062 26.3172 15.8487L24.8474 19.78L25.5544 15.4383C25.2565 15.2944 24.9503 15.165 24.6367 15.051L23.9502 19.2661L23.7938 14.7867C23.4517 14.696 23.1023 14.6232 22.7467 14.5693L22.8993 18.9392L21.848 14.4747C21.6495 14.4628 21.4493 14.4568 21.2477 14.4568C21.0664 14.4568 20.8861 14.4617 20.7071 14.4713L21.7359 18.8403L19.7869 14.5637C19.384 14.6231 18.9889 14.7069 18.6033 14.8133L20.511 18.9993L17.7089 15.1069C17.3094 15.2596 16.9222 15.4373 16.5495 15.6382L19.2835 19.4361L15.7362 16.1282C15.3641 16.3774 15.0099 16.6512 14.6757 16.9472L18.116 20.1553L13.9981 17.6071C13.6787 17.9491 13.3833 18.3138 13.1144 18.6984L17.0742 21.1488L12.6188 19.4831C12.378 19.9071 12.1674 20.3507 11.9903 20.8109L16.2217 22.3929L11.7075 21.6578C11.569 22.1454 11.4669 22.6482 11.4042 23.1633L15.6163 23.8493L11.338 23.9987C11.3334 24.1231 11.3311 24.248 11.3311 24.3735H16.9977C16.9977 22.0263 18.9005 20.1235 21.2477 20.1235C23.595 20.1235 25.4978 22.0263 25.4978 24.3735H30.3734Z",fill:"#554B6A"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14673",children:jsxRuntime.jsx("rect",{width:"181.875",height:"30",fill:"white"})})})]}),Camelot=e=>jsxRuntime.jsxs("svg",{width:"148",height:"36",viewBox:"0 0 148 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M21.0788 36V21.204C24.6068 21.582 27.0008 23.202 27.0008 23.202L29.2508 20.664C25.5608 18.036 20.0888 17.928 20.0888 17.928L19.1888 7.992C19.7828 7.596 20.1788 6.93 20.1788 6.156C20.1788 4.95 19.1888 3.96 17.9828 3.96C16.7768 3.96 15.7868 4.95 15.7868 6.156C15.7868 6.93 16.1828 7.614 16.7768 7.992L15.8768 17.928C15.8768 17.928 10.4048 18.018 6.71479 20.664L8.96479 23.202C8.96479 23.202 11.3588 21.582 14.8868 21.204V36C1.09879 25.776 -0.0352069 10.926 0.000793079 5.994C0.000793079 4.968 0.612793 4.032 1.54879 3.618C4.30279 2.394 10.5848 0 17.9648 0C25.3448 0 31.6268 2.394 34.3808 3.618C35.3168 4.032 35.9288 4.968 35.9288 5.994C35.9648 10.926 34.8308 25.776 21.0788 36Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M48.7977 26.7652C46.7097 26.7652 45.0537 26.1892 43.8477 25.0192C42.6237 23.8492 42.0117 22.1932 42.0117 20.0332V15.9832C42.0117 13.8232 42.6237 12.1492 43.8477 10.9972C45.0717 9.82722 46.7097 9.25122 48.7977 9.25122C50.8677 9.25122 52.4697 9.80922 53.6037 10.9432C54.7377 12.0772 55.2957 13.6252 55.2957 15.6052V15.7492H52.1637V15.5152C52.1637 14.5252 51.8937 13.6972 51.3357 13.0672C50.7777 12.4192 49.9317 12.1132 48.7977 12.1132C47.6817 12.1132 46.7997 12.4552 46.1517 13.1392C45.5037 13.8232 45.1977 14.7592 45.1977 15.9472V20.0872C45.1977 21.2572 45.5217 22.1932 46.1517 22.8952C46.7997 23.5972 47.6817 23.9392 48.7977 23.9392C49.9317 23.9392 50.7777 23.6152 51.3357 22.9672C51.8937 22.3192 52.1637 21.5092 52.1637 20.5192V20.0872H55.2957V20.4292C55.2957 22.4092 54.7377 23.9572 53.6037 25.0912C52.4697 26.1892 50.8677 26.7652 48.7977 26.7652Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M56.5566 26.4247L60.9846 9.57666H66.5106L70.9386 26.4247H67.6626L66.7446 22.7167H60.7326L59.8146 26.4247H56.5566ZM61.4886 19.7827H66.0066L63.9546 11.5747H63.5226L61.4886 19.7827Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M72.9531 26.4247V9.57666H78.8391L81.7551 24.2467H82.1871L85.1031 9.57666H90.9891V26.4247H87.9111V11.9167H87.4791L84.5991 26.4247H79.3611L76.4811 11.9167H76.0491V26.4247H72.9531Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M94.1758 26.4247V9.57666H104.994V12.4567H97.3438V16.4707H104.328V19.3507H97.3438V23.5087H105.138V26.3887H94.1758V26.4247Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M107.515 26.4247V9.57666H110.683V23.5267H118.387V26.4067H107.515V26.4247Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M126.521 26.7652C124.397 26.7652 122.723 26.1892 121.463 25.0192C120.203 23.8492 119.591 22.1932 119.591 20.0332V15.9832C119.591 13.8232 120.221 12.1492 121.463 10.9972C122.723 9.82722 124.397 9.25122 126.521 9.25122C128.645 9.25122 130.319 9.82722 131.579 10.9972C132.839 12.1672 133.451 13.8232 133.451 15.9832V20.0332C133.451 22.1932 132.821 23.8672 131.579 25.0192C130.319 26.1712 128.627 26.7652 126.521 26.7652ZM126.521 23.9212C127.709 23.9212 128.627 23.5792 129.293 22.8952C129.959 22.2112 130.283 21.2752 130.283 20.1232V15.8752C130.283 14.7232 129.959 13.8052 129.293 13.1032C128.627 12.4192 127.709 12.0772 126.521 12.0772C125.351 12.0772 124.433 12.4192 123.767 13.1032C123.101 13.7872 122.777 14.7232 122.777 15.8752V20.1052C122.777 21.2572 123.101 22.1752 123.767 22.8772C124.415 23.5792 125.351 23.9212 126.521 23.9212Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M139.465 26.4228V12.4728H134.551V9.59277H147.547V12.4728H142.633V26.4228H139.465Z",fill:"#554B6A"})]}),GMX=e=>jsxRuntime.jsxs("svg",{width:"119",height:"34",viewBox:"0 0 119 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14705)",children:[jsxRuntime.jsx("mask",{id:"mask0_13175_14705","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"119",height:"34",children:jsxRuntime.jsx("path",{d:"M118.136 0H0V34H118.136V0Z",fill:"white"})}),jsxRuntime.jsxs("g",{mask:"url(#mask0_13175_14705)",children:[jsxRuntime.jsx("path",{d:"M41.5719 31.738L21.9803 2.30493L2.32812 31.738H29.7074L21.9803 20.5042L18.1473 26.3406H14.0708L21.9801 14.6052L33.4189 31.738H41.5719Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M59.764 16.8256C59.5356 16.8256 59.4377 16.9235 59.4377 17.1519V19.11C59.4377 19.3384 59.5356 19.4363 59.764 19.4363H66.2583V22.863C64.9855 24.9516 62.7011 26.1591 59.6661 26.1591C54.8038 26.1591 51.8012 23.0262 51.8012 17.0214C51.8012 11.0493 55.3257 7.88346 59.3398 7.88346C62.4727 7.88346 65.0182 9.12359 65.8341 12.1263C65.8994 12.3547 66.0299 12.4526 66.2257 12.4526H68.3147C68.5431 12.4526 68.6737 12.3547 68.6737 12.1263C67.7926 7.55743 63.8762 5.27295 59.3402 5.27295C54.2492 5.27295 48.9297 9.18914 48.9297 17.0217C48.9297 24.7561 53.9554 28.7704 59.797 28.7704C63.3542 28.7704 66.5851 27.3019 68.6737 24.071C68.9021 23.7447 69 23.3204 69 22.8309V17.1524C69 16.924 68.9021 16.8261 68.6737 16.8261L59.764 16.8256ZM93.6389 5.92565C93.6389 5.69723 93.541 5.59933 93.3125 5.59933H90.2122C89.9512 5.59933 89.788 5.69723 89.6901 5.92565L83.3589 20.4481L77.0278 5.92565C76.9299 5.69723 76.7668 5.59933 76.5056 5.59933H73.4054C73.1769 5.59933 73.0791 5.69723 73.0791 5.92565V28.1172C73.0791 28.3456 73.1769 28.4435 73.4054 28.4435H75.494C75.7224 28.4435 75.8203 28.3456 75.8203 28.1172V9.87447L82.2169 24.3317C82.3148 24.5275 82.4453 24.6254 82.6412 24.6254H84.0771C84.2729 24.6254 84.4034 24.5275 84.5014 24.3317L90.898 9.87447V28.1172C90.898 28.3456 90.9959 28.4435 91.2243 28.4435H93.3129C93.5414 28.4435 93.6393 28.3456 93.6393 28.1172L93.6389 5.92565ZM100.753 5.92565C100.525 5.63197 100.525 5.59933 100.296 5.59933H97.7834C97.555 5.59933 97.4571 5.76249 97.555 5.92565L104.474 16.4014L96.7065 28.1172C96.6086 28.2804 96.7065 28.4435 96.935 28.4435H99.3825C99.6109 28.4435 99.6762 28.4109 99.9047 28.1172L106.105 18.7837L112.306 28.1172C112.534 28.4109 112.6 28.4435 112.828 28.4435H115.276C115.504 28.4435 115.602 28.2804 115.504 28.1172L107.737 16.4014L114.656 5.92565C114.753 5.76249 114.656 5.59933 114.427 5.59933H111.914C111.686 5.59933 111.686 5.63197 111.457 5.92565L106.105 13.9862L100.753 5.92565Z",fill:"#554B6A"})]})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14705",children:jsxRuntime.jsx("rect",{width:"118.136",height:"34",fill:"white"})})})]}),Solv=e=>jsxRuntime.jsxs("svg",{width:"110",height:"30",viewBox:"0 0 110 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M38.0441 22.8683C38.7594 25.094 40.3179 26.4467 43.391 26.4467C45.918 26.4467 47.7275 25.3744 47.7275 23.5042C47.7275 21.6342 45.6231 21.0396 42.5061 20.3247L40.9477 19.9276C37.2847 19.0924 34.5465 17.5421 34.5465 13.9241C34.5465 10.3062 38.0839 7.802 43.0103 7.802C47.9368 7.802 51.0956 9.78876 51.5997 13.8846H47.5581C46.9264 12.0164 45.4517 10.9835 42.8848 10.9835C40.1904 10.9835 38.8851 12.0164 38.8851 13.5666C38.8851 15.275 40.1904 15.7528 42.8848 16.5091L45.2423 17.1451C49.6646 18.3379 51.9804 19.6097 51.9804 23.1073C51.9804 27.1222 48.3174 29.7053 43.2634 29.7053C37.8727 29.7053 34.7159 27.5191 33.8311 22.8683H38.042H38.0441Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M76.6153 18.8534C76.6153 25.2144 72.4461 29.7449 65.3714 29.7449C58.2965 29.7449 54.2549 25.2126 54.2549 18.8534C54.2549 12.4942 58.5496 7.802 65.455 7.802C72.3604 7.802 76.6132 12.3739 76.6132 18.8534H76.6153ZM58.7609 18.8139C58.7609 23.4647 61.1185 26.4073 65.3294 26.4073C69.5405 26.4073 71.94 23.4647 71.94 18.8139C71.94 14.163 69.4986 11.1415 65.3294 11.1415C61.1603 11.1415 58.7609 14.3606 58.7609 18.8139Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M80.4902 0.806885H84.7431V29.2293H80.4902V0.806885Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M95.8181 29.2291L87.5654 8.35864H92.4082L95.8619 17.8597L98.3033 24.8962H98.3869C99.3973 21.9932 100.113 20.4844 101.123 17.4233L104.366 8.36052H108.955L100.45 29.231H95.8181V29.2291Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M11.6414 1.36873L1.44868 10.9912C0.648616 11.7465 0.648616 12.9711 1.44868 13.7264C2.24875 14.4817 3.54592 14.4817 4.34599 13.7264L14.5387 4.10394C15.3388 3.34863 15.3388 2.12404 14.5387 1.36873C13.7387 0.613419 12.4414 0.613419 11.6414 1.36873Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M20.1297 9.3824L9.93696 19.0049C9.1369 19.7602 9.1369 20.9848 9.93696 21.7401C10.737 22.4954 12.0342 22.4954 12.8343 21.7401L23.027 12.1176C23.8271 11.3623 23.8271 10.1377 23.027 9.3824C22.2269 8.62709 20.9298 8.62709 20.1297 9.3824Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M12.825 8.26033L2.63228 17.8828C1.83221 18.6381 1.83221 19.8628 2.63228 20.6181C3.43234 21.3734 4.72951 21.3734 5.52958 20.6181L15.7223 10.9955C16.5223 10.2402 16.5223 9.01564 15.7223 8.26033C14.9222 7.50502 13.6251 7.50502 12.825 8.26033Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M21.3142 16.274L11.1215 25.8964C10.3215 26.6517 10.3215 27.8764 11.1215 28.6317C11.9216 29.387 13.2187 29.387 14.0188 28.6317L24.2115 19.0092C25.0116 18.2539 25.0116 17.0293 24.2115 16.274C23.4114 15.5187 22.1143 15.5187 21.3142 16.274Z",fill:"#554B6A"})]}),PancakeSwap=e=>jsxRuntime.jsxs("svg",{width:"194",height:"30",viewBox:"0 0 194 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14687)",children:[jsxRuntime.jsx("path",{d:"M37.2383 23.0799C36.7892 23.0799 36.4717 22.9869 36.2858 22.8011C36.1155 22.6153 36.0303 22.321 36.0303 21.9183V8.46796C36.0303 8.0653 36.1231 7.77104 36.309 7.58521C36.4949 7.38388 36.8045 7.2832 37.2383 7.2832H42.9297C45.0978 7.2832 46.6929 7.74008 47.7152 8.6538C48.7373 9.56753 49.2484 10.9304 49.2484 12.7423C49.2484 14.5388 48.7373 15.8939 47.7152 16.8076C46.7085 17.706 45.1133 18.1551 42.9297 18.1551H40.7228V21.9183C40.7228 22.321 40.6299 22.6153 40.444 22.8011C40.2582 22.9869 39.9407 23.0799 39.4916 23.0799H37.2383ZM42.5581 14.7866C43.193 14.7866 43.6809 14.6163 44.0216 14.2755C44.3777 13.9348 44.5559 13.4238 44.5559 12.7423C44.5559 12.0454 44.3777 11.5266 44.0216 11.1859C43.6809 10.8452 43.193 10.6748 42.5581 10.6748H40.7228V14.7866H42.5581Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M54.7344 23.4283C53.2787 23.4283 52.1094 22.9636 51.2266 22.0345C50.3593 21.0898 49.9258 19.7657 49.9258 18.062C49.9258 16.7612 50.22 15.6228 50.8084 14.6472C51.4125 13.6716 52.2566 12.9204 53.3407 12.3939C54.4403 11.8518 55.7024 11.5808 57.1271 11.5808C58.3042 11.5808 59.3419 11.7124 60.2401 11.9757C61.1538 12.2235 61.99 12.5875 62.7489 13.0676V22.3597C62.7489 22.654 62.6948 22.8476 62.5862 22.9404C62.4778 23.0334 62.2611 23.0799 61.9359 23.0799H59.5663C59.396 23.0799 59.2644 23.0567 59.1715 23.0101C59.0785 22.9483 59.0012 22.8552 58.9392 22.7313L58.6371 22.0345C58.188 22.5145 57.646 22.8631 57.0111 23.0799C56.3916 23.3122 55.6327 23.4283 54.7344 23.4283ZM56.4768 20.2689C57.0807 20.2689 57.553 20.1218 57.8937 19.8277C58.2344 19.5334 58.4048 19.1152 58.4048 18.5731V14.9492C58.1107 14.8098 57.7389 14.7401 57.2898 14.7401C56.4689 14.7401 55.8108 15.0266 55.3152 15.5996C54.8351 16.1726 54.5951 16.978 54.5951 18.0156C54.5951 19.5179 55.2222 20.2689 56.4768 20.2689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M65.9822 23.0799C65.5329 23.0799 65.2154 22.9869 65.0297 22.8011C64.8438 22.6152 64.751 22.321 64.751 21.9183V12.6494C64.751 12.3707 64.7974 12.1848 64.8903 12.0919C64.9987 11.9835 65.2155 11.9293 65.5408 11.9293H67.9335C68.1193 11.9293 68.2587 11.9602 68.3516 12.0222C68.46 12.0686 68.5219 12.1616 68.5375 12.301L68.6535 12.9979C69.0873 12.5642 69.6526 12.2235 70.3494 11.9757C71.0618 11.7124 71.8516 11.5808 72.7189 11.5808C73.9733 11.5808 74.9878 11.937 75.762 12.6494C76.5365 13.3463 76.9236 14.3839 76.9236 15.7623V21.9183C76.9236 22.321 76.8307 22.6152 76.6448 22.8011C76.4745 22.9869 76.1647 23.0799 75.7156 23.0799H73.4623C73.0132 23.0799 72.688 22.9869 72.4866 22.8011C72.3007 22.6152 72.2079 22.321 72.2079 21.9183V16.0642C72.2079 15.5996 72.1072 15.2668 71.9059 15.0654C71.7045 14.864 71.387 14.7634 70.9534 14.7634C70.4888 14.7634 70.1171 14.8873 69.8383 15.135C69.5751 15.3828 69.4435 15.7235 69.4435 16.1573V21.9183C69.4435 22.321 69.3505 22.6152 69.1647 22.8011C68.9944 22.9869 68.6846 23.0799 68.2355 23.0799H65.9822Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M85.1349 23.4283C82.9667 23.4283 81.2941 22.9249 80.117 21.9183C78.9401 20.9117 78.3516 19.4482 78.3516 17.5278C78.3516 16.3508 78.6226 15.3132 79.1646 14.4149C79.7067 13.5167 80.4888 12.8198 81.5109 12.3242C82.5485 11.8286 83.7721 11.5808 85.1813 11.5808C86.2499 11.5808 87.1482 11.6815 87.876 11.8828C88.6194 12.0841 89.2776 12.3939 89.8506 12.812C90.021 12.9204 90.1061 13.0598 90.1061 13.2302C90.1061 13.3541 90.0442 13.5167 89.9203 13.718L88.9678 15.3673C88.8594 15.5842 88.7278 15.6926 88.573 15.6926C88.48 15.6926 88.3328 15.6307 88.1316 15.5068C87.7134 15.2435 87.3185 15.0499 86.9468 14.926C86.5906 14.8021 86.1415 14.7401 85.5995 14.7401C84.8251 14.7401 84.1979 14.9879 83.7178 15.4835C83.2532 15.9791 83.0209 16.6605 83.0209 17.5278C83.0209 18.4106 83.2609 19.092 83.741 19.572C84.2212 20.0366 84.8794 20.2689 85.7156 20.2689C86.2111 20.2689 86.6604 20.1993 87.063 20.0598C87.4657 19.9205 87.876 19.727 88.2942 19.4791C88.511 19.3552 88.6658 19.2932 88.7588 19.2932C88.8981 19.2932 89.0221 19.4016 89.1305 19.6186L90.1758 21.4073C90.2533 21.5621 90.292 21.686 90.292 21.7789C90.292 21.9183 90.199 22.0499 90.0133 22.1738C89.3628 22.592 88.6503 22.9017 87.876 23.1031C87.1171 23.3199 86.2034 23.4283 85.1349 23.4283Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M96.1818 23.4283C94.726 23.4283 93.5567 22.9636 92.6741 22.0345C91.8068 21.0898 91.373 19.7657 91.373 18.062C91.373 16.7612 91.6673 15.6228 92.2559 14.6472C92.8598 13.6716 93.7038 12.9204 94.7879 12.3939C95.8875 11.8518 97.1498 11.5808 98.5745 11.5808C99.7515 11.5808 100.789 11.7124 101.687 11.9757C102.601 12.2235 103.437 12.5875 104.196 13.0676V22.3597C104.196 22.654 104.142 22.8476 104.034 22.9404C103.925 23.0334 103.708 23.0799 103.383 23.0799H101.014C100.843 23.0799 100.712 23.0567 100.619 23.0101C100.526 22.9483 100.448 22.8552 100.386 22.7313L100.085 22.0345C99.6354 22.5145 99.0933 22.8631 98.4583 23.0799C97.8389 23.3122 97.08 23.4283 96.1818 23.4283ZM97.924 20.2689C98.5281 20.2689 99.0004 20.1218 99.3411 19.8277C99.6818 19.5334 99.8522 19.1152 99.8522 18.5731V14.9492C99.5579 14.8098 99.1863 14.7401 98.7371 14.7401C97.9164 14.7401 97.2582 15.0266 96.7625 15.5996C96.2825 16.1726 96.0423 16.978 96.0423 18.0156C96.0423 19.5179 96.6696 20.2689 97.924 20.2689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M118.788 22.1971C118.896 22.321 118.951 22.4604 118.951 22.6153C118.951 22.7546 118.904 22.8708 118.811 22.9636C118.718 23.0411 118.595 23.0799 118.44 23.0799H114.839C114.622 23.0799 114.459 23.0643 114.351 23.0334C114.258 22.9869 114.158 22.9017 114.049 22.7779L110.89 18.4802V21.9183C110.89 22.321 110.797 22.6153 110.611 22.8011C110.425 22.9869 110.108 23.0799 109.659 23.0799H107.405C106.956 23.0799 106.639 22.9869 106.453 22.8011C106.282 22.6153 106.197 22.321 106.197 21.9183V8.46796C106.197 8.0653 106.29 7.77104 106.476 7.58521C106.662 7.38388 106.972 7.2832 107.405 7.2832H109.659C110.108 7.2832 110.425 7.38388 110.611 7.58521C110.797 7.77104 110.89 8.0653 110.89 8.46796V16.2501L113.956 12.2545C114.049 12.1306 114.15 12.0454 114.258 11.999C114.367 11.9525 114.529 11.9293 114.746 11.9293H118.347C118.502 11.9293 118.618 11.9757 118.695 12.0687C118.788 12.1461 118.835 12.2545 118.835 12.3939C118.835 12.5488 118.78 12.6881 118.672 12.812L114.7 17.3653L118.788 22.1971Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M126.331 23.4283C125.03 23.4283 123.869 23.2115 122.847 22.7779C121.84 22.3442 121.043 21.6937 120.454 20.8266C119.866 19.9593 119.571 18.8984 119.571 17.644C119.571 15.6771 120.129 14.1749 121.244 13.1373C122.359 12.0996 123.962 11.5808 126.052 11.5808C128.097 11.5808 129.646 12.0919 130.699 13.114C131.767 14.1207 132.302 15.5223 132.302 17.3187C132.302 18.0931 131.961 18.4802 131.279 18.4802H123.985C123.985 19.1461 124.233 19.6573 124.728 20.0134C125.239 20.3696 126.006 20.5477 127.028 20.5477C127.663 20.5477 128.19 20.4935 128.608 20.3851C129.041 20.2612 129.475 20.0832 129.909 19.8509C130.095 19.7734 130.219 19.7346 130.28 19.7346C130.42 19.7346 130.536 19.8277 130.629 20.0134L131.419 21.5001C131.496 21.6551 131.535 21.7712 131.535 21.8487C131.535 21.988 131.442 22.1197 131.256 22.2435C130.621 22.6617 129.901 22.9636 129.096 23.1495C128.29 23.3354 127.369 23.4283 126.331 23.4283ZM128.12 16.1805C128.12 15.5919 127.95 15.135 127.609 14.8098C127.268 14.4846 126.757 14.322 126.076 14.322C125.394 14.322 124.876 14.4923 124.519 14.8331C124.163 15.1584 123.985 15.6075 123.985 16.1805H128.12Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M140.264 23.4281C138.963 23.4281 137.731 23.2965 136.57 23.0333C135.408 22.7544 134.472 22.3672 133.759 21.8717C133.496 21.7014 133.364 21.5232 133.364 21.3374C133.364 21.2135 133.411 21.0819 133.504 20.9425L134.642 19.1306C134.766 18.9447 134.89 18.8518 135.014 18.8518C135.091 18.8518 135.223 18.9059 135.408 19.0143C135.981 19.3396 136.632 19.6029 137.36 19.8041C138.088 20.0055 138.808 20.1062 139.52 20.1062C140.248 20.1062 140.782 19.9978 141.123 19.7809C141.479 19.5641 141.657 19.2157 141.657 18.7356C141.657 18.271 141.464 17.907 141.077 17.6438C140.705 17.3805 140 17.0476 138.963 16.6449C137.399 16.0564 136.175 15.3982 135.292 14.6703C134.425 13.9269 133.991 12.9203 133.991 11.6503C133.991 10.1171 134.541 8.94787 135.641 8.14255C136.74 7.33723 138.204 6.93457 140.031 6.93457C141.301 6.93457 142.385 7.05073 143.284 7.28302C144.197 7.49984 144.972 7.84056 145.607 8.30516C145.87 8.50649 146.001 8.69233 146.001 8.8627C146.001 8.9711 145.955 9.09499 145.862 9.23438L144.724 11.0463C144.584 11.2322 144.46 11.3251 144.352 11.3251C144.275 11.3251 144.143 11.2709 143.957 11.1625C143.059 10.574 141.99 10.2797 140.751 10.2797C140.085 10.2797 139.574 10.3881 139.218 10.605C138.862 10.8218 138.684 11.178 138.684 11.6736C138.684 12.0143 138.777 12.293 138.963 12.5099C139.149 12.7267 139.396 12.9203 139.706 13.0906C140.031 13.2455 140.527 13.4468 141.193 13.6946L141.634 13.8572C142.78 14.3063 143.679 14.74 144.329 15.1582C144.995 15.5607 145.498 16.0641 145.839 16.6681C146.18 17.2565 146.35 17.9999 146.35 18.8982C146.35 20.2766 145.831 21.3762 144.794 22.1969C143.771 23.0177 142.261 23.4281 140.264 23.4281Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M151.286 23.0798C151.054 23.0798 150.876 23.041 150.752 22.9636C150.628 22.8862 150.535 22.7312 150.473 22.4989L147.476 12.4635C147.445 12.3706 147.43 12.3009 147.43 12.2544C147.43 12.0376 147.585 11.9292 147.894 11.9292H150.96C151.162 11.9292 151.309 11.9679 151.402 12.0453C151.496 12.1073 151.557 12.2157 151.587 12.3706L152.842 17.6439L154.422 13.3927C154.5 13.2069 154.577 13.083 154.654 13.021C154.747 12.9436 154.903 12.9049 155.12 12.9049H156.582C156.799 12.9049 156.947 12.9436 157.024 13.021C157.117 13.083 157.202 13.2069 157.28 13.3927L158.836 17.6439L160.114 12.3706C160.159 12.2157 160.221 12.1073 160.3 12.0453C160.376 11.9679 160.517 11.9292 160.717 11.9292H163.808C164.117 11.9292 164.272 12.0376 164.272 12.2544C164.272 12.3009 164.257 12.3706 164.225 12.4635L161.206 22.4989C161.144 22.7312 161.05 22.8862 160.927 22.9636C160.818 23.041 160.648 23.0798 160.416 23.0798H158.139C157.922 23.0798 157.759 23.041 157.651 22.9636C157.542 22.8707 157.45 22.7159 157.372 22.4989L155.839 18.2943L154.306 22.4989C154.244 22.7159 154.15 22.8707 154.027 22.9636C153.918 23.041 153.757 23.0798 153.54 23.0798H151.286Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M170.161 23.4283C168.704 23.4283 167.536 22.9636 166.653 22.0345C165.786 21.0898 165.352 19.7657 165.352 18.062C165.352 16.7612 165.646 15.6228 166.235 14.6472C166.838 13.6716 167.682 12.9204 168.766 12.3939C169.867 11.8518 171.128 11.5808 172.553 11.5808C173.73 11.5808 174.768 11.7124 175.666 11.9757C176.58 12.2235 177.416 12.5875 178.175 13.0676V22.3597C178.175 22.654 178.12 22.8476 178.012 22.9404C177.903 23.0334 177.688 23.0799 177.362 23.0799H174.992C174.822 23.0799 174.691 23.0567 174.597 23.0101C174.504 22.9483 174.427 22.8552 174.365 22.7313L174.064 22.0345C173.614 22.5145 173.072 22.8631 172.437 23.0799C171.817 23.3122 171.059 23.4283 170.161 23.4283ZM171.903 20.2689C172.506 20.2689 172.98 20.1218 173.32 19.8277C173.661 19.5334 173.831 19.1152 173.831 18.5731V14.9492C173.536 14.8098 173.165 14.7401 172.716 14.7401C171.894 14.7401 171.237 15.0266 170.741 15.5996C170.262 16.1726 170.02 16.978 170.02 18.0156C170.02 19.5179 170.649 20.2689 171.903 20.2689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M181.384 27.7724C180.935 27.7724 180.618 27.6795 180.432 27.4936C180.261 27.3078 180.177 27.0135 180.177 26.6108V13.2999C180.873 12.8043 181.749 12.3939 182.801 12.0686C183.855 11.7434 184.954 11.5808 186.1 11.5808C190.778 11.5808 193.116 13.5631 193.116 17.5278C193.116 19.3243 192.62 20.7568 191.63 21.8254C190.638 22.894 189.237 23.4283 187.425 23.4283C186.914 23.4283 186.418 23.3663 185.937 23.2424C185.473 23.1186 185.085 22.9483 184.776 22.7313V26.6108C184.776 27.0135 184.683 27.3078 184.497 27.4936C184.312 27.6795 183.994 27.7724 183.545 27.7724H181.384ZM186.425 20.2921C187.092 20.2921 187.588 20.0444 187.912 19.5488C188.253 19.0377 188.423 18.3563 188.423 17.5045C188.423 16.498 188.222 15.7932 187.82 15.3905C187.433 14.9725 186.828 14.7634 186.008 14.7634C185.48 14.7634 185.063 14.8331 184.754 14.9725V18.6661C184.754 19.1927 184.9 19.5953 185.194 19.8741C185.489 20.1528 185.899 20.2921 186.425 20.2921Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7066 29.9408C10.3057 29.9374 6.76063 28.8814 4.28369 26.9846C1.77703 25.0651 0.447266 22.341 0.447266 19.2585C0.447266 16.2885 1.77412 14.1469 3.27545 12.6993C4.45202 11.5648 5.75039 10.8382 6.65446 10.4203C6.45 9.79287 6.19494 8.97148 5.96673 8.1231C5.66138 6.98784 5.36182 5.65589 5.36182 4.67983C5.36182 3.52455 5.6137 2.36432 6.29284 1.46277C7.01039 0.510265 8.09061 0 9.39014 0C10.4058 0 11.2681 0.376738 11.9431 1.02665C12.5884 1.64787 13.0178 2.47287 13.3144 3.33289C13.8354 4.8441 14.0383 6.74267 14.0952 8.63736H15.34C15.397 6.74267 15.5997 4.8441 16.1209 3.33289C16.4174 2.47287 16.8468 1.64787 17.4921 1.02665C18.1672 0.376738 19.0294 0 20.045 0C21.3446 0 22.4248 0.510265 23.1424 1.46277C23.8215 2.36432 24.0734 3.52455 24.0734 4.67983C24.0734 5.65589 23.7737 6.98784 23.4685 8.1231C23.2402 8.97148 22.9851 9.79287 22.7807 10.4203C23.6848 10.8382 24.9832 11.5648 26.1597 12.6993C27.6611 14.1469 28.9879 16.2885 28.9879 19.2585C28.9879 22.341 27.6582 25.0651 25.1515 26.9846C22.6746 28.8814 19.1295 29.9374 14.7286 29.9408H14.7066Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M9.39038 1.09863C7.48701 1.09863 6.61085 2.53311 6.61085 4.51695C6.61085 6.09382 7.62887 9.25187 8.04657 10.4812C8.14052 10.7578 7.9929 11.0607 7.72367 11.1679C6.19817 11.7756 1.69629 14.0004 1.69629 19.0957C1.69629 24.463 6.27123 28.51 14.7078 28.5165C14.7111 28.5165 14.7145 28.5163 14.7178 28.5163C14.7212 28.5163 14.7246 28.5165 14.7279 28.5165C23.1644 28.51 27.7393 24.463 27.7393 19.0957C27.7393 14.0004 23.2375 11.7756 21.712 11.1679C21.4428 11.0607 21.2952 10.7578 21.3891 10.4812C21.8069 9.25187 22.8249 6.09382 22.8249 4.51695C22.8249 2.53311 21.9487 1.09863 20.0453 1.09863C17.3055 1.09863 16.6224 5.01931 16.5737 9.22715C16.5706 9.50807 16.3457 9.73599 16.0677 9.73599H13.3681C13.09 9.73599 12.8652 9.50807 12.8619 9.22715C12.8132 5.01931 12.1302 1.09863 9.39038 1.09863Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M14.7279 26.7971C8.52916 26.7971 1.70701 23.4451 1.69632 19.106C1.6963 19.1126 1.69629 19.1194 1.69629 19.1262C1.69629 24.4978 6.27851 28.5469 14.7279 28.5469C23.1774 28.5469 27.7595 24.4978 27.7595 19.1262C27.7595 19.1194 27.7595 19.1126 27.7595 19.106C27.7488 23.4451 20.9266 26.7971 14.7279 26.7971Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M11.2842 17.7732C11.2842 19.2382 10.5988 20.0011 9.75343 20.0011C8.908 20.0011 8.22266 19.2382 8.22266 17.7732C8.22266 16.3081 8.908 15.5452 9.75343 15.5452C10.5988 15.5452 11.2842 16.3081 11.2842 17.7732Z",fill:"#F2F7FB"}),jsxRuntime.jsx("path",{d:"M21.2334 17.7732C21.2334 19.2382 20.5481 20.0011 19.7026 20.0011C18.8572 20.0011 18.1719 19.2382 18.1719 17.7732C18.1719 16.3081 18.8572 15.5452 19.7026 15.5452C20.5481 15.5452 21.2334 16.3081 21.2334 17.7732Z",fill:"#F2F7FB"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14687",children:jsxRuntime.jsx("rect",{width:"193.116",height:"30",fill:"white"})})})]}),Dodo=e=>jsxRuntime.jsxs("svg",{width:"140",height:"52",viewBox:"0 0 140 52",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14786)",children:[jsxRuntime.jsx("path",{d:"M127.915 18.5732C121.639 18.5732 116.739 23.3469 116.739 29.4333C116.739 35.5198 121.639 40.2921 127.915 40.2921C134.19 40.2921 139.085 35.5184 139.085 29.4333C139.085 23.3482 134.186 18.5732 127.915 18.5732ZM127.915 35.5463C124.569 35.5463 122.026 32.9287 122.026 29.44C122.026 25.9512 124.565 23.3323 127.915 23.3323C131.264 23.3323 133.799 25.9499 133.799 29.44C133.799 32.9301 131.257 35.5397 127.915 35.5397V35.5463Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M34.4995 23.585C31.9381 21.2302 28.796 19.5978 25.3951 18.855C25.5796 18.7073 25.7563 18.5502 25.9245 18.3844C27.4294 16.8813 27.9641 14.9829 27.1157 14.1421C26.3586 13.3846 24.744 13.7389 23.3358 14.9089C23.0711 12.8228 22.0228 11.2642 20.7695 11.2642C19.5161 11.2642 18.4653 12.8228 18.1992 14.9089C16.7831 13.7389 15.1803 13.3846 14.4193 14.1421C13.5762 14.9869 14.107 16.8852 15.6105 18.3844C15.7839 18.5549 15.9652 18.7135 16.1399 18.859C12.0339 19.7651 8.32535 21.9586 5.55575 25.1191C2.78615 28.2796 1.1005 32.2416 0.744874 36.4268L0.417969 40.2923H5.49758L5.79139 36.8551C6.10248 33.1988 7.77653 29.7924 10.4822 27.3102C13.1878 24.828 16.7279 23.4509 20.4016 23.4515H21.1586C24.8321 23.4498 28.3722 24.8267 31.0772 27.3092C33.7822 29.7918 35.4548 33.1988 35.7635 36.8551L36.0573 40.2923H41.1409L40.8179 36.4268C40.4009 31.5056 38.1453 26.9213 34.4995 23.585Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M15.5574 30.0591C14.4643 30.0591 13.5742 31.5124 13.5742 33.296C13.5742 35.0797 14.4643 36.533 15.5574 36.533C16.6506 36.533 17.5421 35.0797 17.5421 33.296C17.5421 31.5124 16.652 30.0591 15.5574 30.0591Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M25.7899 30.0591C24.6967 30.0591 23.8066 31.5124 23.8066 33.296C23.8066 35.0797 24.6967 36.533 25.7899 36.533C26.883 36.533 27.7745 35.0797 27.7745 33.296C27.7745 31.5124 26.8844 30.0591 25.7899 30.0591Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M55.5991 18.5732H46.9873V40.2921H55.5991C61.8812 40.2921 66.8267 35.5168 66.8267 29.4955C66.8213 23.3856 61.8946 18.5732 55.5991 18.5732ZM55.4775 35.5764H52.2028V23.2903H55.4775C58.819 23.2903 61.4227 26.0205 61.4227 29.4955C61.4227 32.9017 58.8163 35.5764 55.4775 35.5764Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M80.6231 18.5732C74.2887 18.5732 69.334 23.3681 69.334 29.4333C69.334 35.4986 74.2781 40.2921 80.6124 40.2921C86.9467 40.2921 91.8882 35.5184 91.8882 29.4333C91.8882 23.3482 86.956 18.5732 80.6231 18.5732ZM80.6231 35.5463C77.2432 35.5463 74.6795 32.9287 74.6795 29.44C74.6795 25.9512 77.2432 23.3323 80.6231 23.3323C84.0029 23.3323 86.564 25.9499 86.564 29.44C86.564 32.9301 84.0002 35.5397 80.6231 35.5397V35.5463Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M103.124 18.5732H94.6025V40.2921H103.124C109.34 40.2921 114.233 35.5168 114.233 29.4955C114.226 23.3856 109.334 18.5732 103.124 18.5732ZM103.009 35.5764H99.7684V23.2903H103.009C106.315 23.2903 108.891 26.0205 108.891 29.4955C108.886 32.9017 106.307 35.5764 103.009 35.5764Z",fill:"#554B6A"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14786",children:jsxRuntime.jsx("rect",{width:"139.293",height:"52",fill:"white",transform:"translate(0 0.000244141)"})})})]}),Vertex=e=>jsxRuntime.jsxs("svg",{width:"142",height:"26",viewBox:"0 0 142 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_13175_14737","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"142",height:"26",children:jsxRuntime.jsx("path",{d:"M141.434 0H0V26H141.434V0Z",fill:"white"})}),jsxRuntime.jsxs("g",{mask:"url(#mask0_13175_14737)",children:[jsxRuntime.jsx("path",{d:"M37.5059 5.68968L44.983 25.9434H50.2034L57.6801 5.68968H53.173L47.6749 21.354L42.0967 5.68968H37.5059ZM58.5095 10.3966C57.6788 11.9797 57.2802 13.7991 57.2802 15.8602C57.2802 17.9214 57.6762 19.7368 58.5464 21.2803C59.3775 22.8229 60.6424 24.088 62.1851 24.919C63.7667 25.7891 65.5876 26.1853 67.7239 26.1853C70.1359 26.1853 72.1535 25.5514 73.7763 24.2074C75.3974 22.9015 76.3863 21.2023 76.781 19.1439H72.5088C72.1916 20.2913 71.5988 21.1614 70.733 21.7938C69.8217 22.4262 68.7154 22.7035 67.4098 22.7035C65.7488 22.7035 64.4046 22.1899 63.4144 21.1614C62.3857 20.1329 61.8315 18.7478 61.7535 16.968V16.7304H77.0215C77.1004 16.1935 77.1403 15.6516 77.1403 15.109C77.1008 13.1708 76.6666 11.4689 75.7965 10.0061C74.9541 8.5827 73.7355 7.41911 72.2752 6.64314C70.7724 5.85231 69.0707 5.45611 67.1324 5.45611C65.1941 5.45611 63.4937 5.89192 61.9896 6.76201C60.4994 7.60943 59.2882 8.8723 58.5039 10.3966H58.5095ZM72.79 13.601H61.9108C62.0689 12.1778 62.6236 11.0701 63.6519 10.2C64.6624 9.33055 65.9585 8.86536 67.291 8.89409C68.7934 8.89409 70.0228 9.32855 71.009 10.1604C71.9949 10.9922 72.5863 12.1382 72.7844 13.601H72.79ZM90.2065 5.68968H89.2506C87.6689 5.68968 86.4422 5.9629 85.5326 6.52016C84.5984 7.04666 83.8205 7.81115 83.2776 8.7358L82.8035 5.68968H79.0049V25.9489H83.2776V15.7825C83.2776 14.0423 83.6736 12.578 84.4644 11.4307C85.2553 10.2833 86.5215 9.69043 88.3012 9.69043H90.2001L90.2065 5.68968ZM92.0205 0.0334473V20.4443C92.0205 22.3429 92.4555 23.7275 93.3252 24.598C94.1954 25.5077 95.5803 25.9434 97.5186 25.9434H101.633V22.1859H98.3883C97.5975 22.1859 97.084 22.0273 96.7672 21.7104C96.4504 21.3936 96.2918 20.8007 96.2918 20.0099V9.44742H101.197V5.68968H96.2918V0.0334473H92.0205ZM103.243 10.3966C102.414 11.9797 102.014 13.7991 102.014 15.8602C102.014 17.9214 102.41 19.7368 103.28 21.2803C104.111 22.8229 105.376 24.088 106.918 24.919C108.5 25.7891 110.32 26.1853 112.456 26.1853C114.87 26.1853 116.887 25.5514 118.508 24.2074C120.131 22.9015 121.12 21.2023 121.513 19.1439H117.242C116.925 20.2913 116.333 21.1614 115.466 21.7938C114.558 22.4262 113.449 22.7035 112.144 22.7035C110.484 22.7035 109.14 22.1899 108.149 21.1614C107.12 20.1329 106.566 18.7478 106.488 16.968V16.7304H121.758C121.836 16.1934 121.875 15.6515 121.875 15.109C121.836 13.1708 121.4 11.4689 120.53 10.0061C119.686 8.58019 118.466 7.41495 117.002 6.63903C115.499 5.84815 113.797 5.45213 111.859 5.45213C109.921 5.45213 108.22 5.8878 106.717 6.75789C105.228 7.608 104.02 8.87212 103.237 10.3966H103.243ZM117.523 13.601H106.645C106.804 12.1778 107.358 11.0701 108.386 10.2C109.396 9.33081 110.693 8.86567 112.026 8.89409C113.528 8.89409 114.757 9.32855 115.745 10.1604C116.733 10.9922 117.32 12.1382 117.518 13.601H117.523ZM128.634 15.5789L121.038 25.9434H125.666L131.046 18.5852L136.387 25.9434H141.371L133.735 15.5789L140.935 5.68968H136.261L131.316 12.533L126.45 5.68968H121.465L128.634 15.5789Z",fill:"#554B6A"}),jsxRuntime.jsx("mask",{id:"mask1_13175_14737","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"0",y:"5",width:"30",height:"21",children:jsxRuntime.jsx("path",{d:"M29.0247 5.44019H0V25.5772H29.0247V5.44019Z",fill:"white"})}),jsxRuntime.jsxs("g",{mask:"url(#mask1_13175_14737)",children:[jsxRuntime.jsx("path",{d:"M17.4717 23.1406C17.2782 23.8238 16.8731 24.4281 16.3146 24.8666C15.755 25.304 15.0711 25.5527 14.3612 25.5772H9.63087L0 5.44019H9.61865L14.4293 15.5135C14.4293 15.5135 17.94 21.4853 17.4717 23.1406Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M17.4727 23.1399C17.9409 21.4846 14.4316 15.5168 14.4316 15.5168H19.633L17.4727 23.1399Z",fill:"url(#paint0_linear_13175_14737)"}),jsxRuntime.jsx("path",{d:"M19.6299 15.5186H29.0226V5.44531H25.2709C24.5583 5.4457 23.8642 5.67264 23.2889 6.09328C22.7136 6.51465 22.2874 7.10823 22.072 7.78804L19.6299 15.5186Z",fill:"#554B6A"})]})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_13175_14737",x1:"17.1841",y1:"14.9832",x2:"14.938",y2:"22.9466",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#554B6A"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]})})]}),Radiant=e=>jsxRuntime.jsxs("svg",{width:"180",height:"42",viewBox:"0 0 180 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M26.9745 23.4759L42 21L26.9745 18.5241L35.8491 6.1509L23.4759 15.0255L21 0L18.5262 15.0255L6.1509 6.1509L15.0255 18.5241L0 21L15.0255 23.4759L6.1509 35.8491L18.5262 26.9745L21 42L23.4759 26.9745L35.8491 35.8491L26.9745 23.4759Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M103.94 13.6837C102.552 12.9886 100.962 12.6421 99.1748 12.6421H91.85V20.0719H94.9622V15.2755H99.032C100.261 15.2755 101.342 15.5107 102.277 15.9811C103.211 16.4515 103.929 17.1214 104.431 17.9929C104.933 18.8623 105.185 19.8724 105.185 21.0211C105.185 22.1698 104.933 23.1799 104.431 24.0493C103.929 24.9187 103.211 25.5886 102.277 26.0611C101.342 26.5315 100.261 26.7667 99.032 26.7667H94.9622V21.9556H91.85V29.4001H99.1748C100.962 29.4001 102.55 29.0536 103.94 28.3585C105.328 27.6634 106.405 26.6827 107.172 25.4143C107.938 24.1459 108.32 22.6822 108.32 21.0211C108.32 19.3621 107.938 17.8963 107.172 16.6279C106.405 15.3595 105.328 14.3767 103.94 13.6837ZM76.4486 12.6421L68.9075 29.4001H72.1163L73.769 25.5214H82.148L83.8238 29.4001H87.0788L79.5146 12.6421H76.4486ZM74.8211 23.0791L77.9564 15.7543L81.1169 23.0791H74.8211ZM63.5084 21.859C64.1216 20.9497 64.4303 19.864 64.4303 18.604C64.4303 17.3755 64.1426 16.315 63.5693 15.4204C62.9939 14.5258 62.1686 13.8412 61.0913 13.3624C60.014 12.8836 58.7498 12.6442 57.2966 12.6442H50.4023V20.074H53.5145V15.2776H57.1538C58.5104 15.2776 59.5394 15.5653 60.2429 16.1386C60.9443 16.714 61.2971 17.5351 61.2971 18.604C61.2971 19.6729 60.9464 20.5003 60.2429 21.082C59.5394 21.6658 58.5104 21.9556 57.1538 21.9556H50.4023V29.4001H53.5145V24.5155H57.2966C57.5843 24.5155 57.7985 24.5071 57.9434 24.4924L61.3664 29.4001H64.718L60.8645 23.8939C62.0111 23.4466 62.8931 22.7683 63.5084 21.859ZM114.2 29.4001H117.313V12.6421H114.2V29.4001ZM129.633 12.6421L122.092 29.4001H125.301L126.954 25.5214H135.333L137.008 29.4001H140.263L132.699 12.6421H129.633ZM128.006 23.0791L131.141 15.7543L134.302 23.0791H128.006ZM164.791 12.6421V15.2755H170.346V29.4001H173.458V15.2755H179.013V12.6421H164.791ZM156.837 23.9905L147.597 12.6421H145.035V29.4001H148.124V18.0517L157.364 29.4001H159.926V12.6421H156.837V23.9905Z",fill:"#554B6A"})]}),CheckBox$1=({checked:e,...t})=>jsxRuntime.jsx("div",{...t,children:e?jsxRuntime.jsx(Checked,{className:"gf-cursor-pointer"}):jsxRuntime.jsx(Unchecked,{className:"gf-cursor-pointer"})}),Chip=({children:e,className:t,...i})=>jsxRuntime.jsx("div",{className:cn("gf-flex gf-items-center gf-rounded-full gf-text-dark-grey gf-font-medium gf-w-max gf-bg-white gf-gap-x-2",t),...i,children:e}),CheckBox=({checked:e})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:e?jsxRuntime.jsx(RadioCheckedIcon,{className:"gf-w-4 gf-sm:w-5"}):jsxRuntime.jsx(RadioUncheckedIcon,{className:"gf-w-4 gf-sm:w-5"})}),Logo=({children:e,...t})=>jsxRuntime.jsx("div",{className:"gf-flex gf-items-center gf-justify-center",...t,children:e});Chip.CheckBox=CheckBox,Chip.Logo=Logo;const InfoBadge=({children:e,className:t,...i})=>jsxRuntime.jsx(Opacity,{level:"medium",className:cn("gf-px-4 gf-py-3 gf-rounded-3xl gf-w-max",t),...i,children:jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",children:e})}),TokenInfo=({symbol:e,tokenLogo:t,chainLogo:i,className:s,...n})=>jsxRuntime.jsx("div",{className:cn("gf-flex gf-text-left gf-cursor-pointer gf-w-max",s),...n,children:jsxRuntime.jsxs("button",{className:"gf-flex gf-flex-row gf-justify-center gf-items-center gf-gap-2 gf-w-full focus:gf-outline-none",children:[jsxRuntime.jsx(Typography,{size:"h2",weight:"medium",children:e}),jsxRuntime.jsxs("div",{className:`gf-flex gf-items-center ${i?"":"gf-gap-1"}`,children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-items-center",children:[typeof t=="string"?jsxRuntime.jsx("img",{src:t,alt:"token logo",className:"gf-w-5 gf-h-5 gf-z-20 gf-rounded-full"}):t,i&&(typeof i=="string"?jsxRuntime.jsx("img",{src:i,alt:"chain logo",className:"gf-w-5 gf-h-5 -gf-translate-x-1 gf-z-10 gf-rounded-full"}):i)]}),jsxRuntime.jsx("span",{children:jsxRuntime.jsx(KeyboardDownIcon,{})})]})]})}),AssetChainLogos=({tokenLogo:e,chainLogo:t,className:i,...s})=>jsxRuntime.jsxs("div",{className:cn(`gf-relative gf-flex gf-items-center gf-justify-between gf-h-5 ${t?"gf-w-[36px]":"gf-w-5"}`,i),...s,children:[jsxRuntime.jsx("img",{src:e,className:"gf-absolute gf-left-0 gf-w-5 gf-h-5 gf-z-30 gf-rounded-full"}),t?jsxRuntime.jsx("img",{src:t,className:"gf-absolute gf-right-0 gf-w-5 gf-h-5 gf-z-20 gf-rounded-full"}):null]}),appLink="https://app.garden.finance",websiteLink="https://garden.finance",footerDetails=[{title:"Application",targetSame:!0,links:[{title:"Swap",link:appLink+"/swap",isExternal:!0},{title:"Stake",link:appLink+"/stake",isExternal:!0},{title:"Quests",link:appLink+"/quests",isExternal:!0}]},{title:"Resources",links:[{title:"Blog",link:websiteLink+"/blog",isExternal:!1},{title:"Docs",link:"https://docs.garden.finance",isExternal:!0},{title:"Audits",link:"https://github.com/catalogfi/audits",isExternal:!0},{title:"Media Kit",link:"https://docs.garden.finance/home/garden-brand-guide",isExternal:!0}]},{title:"Ecosystem",links:[{title:"Analytics",link:"https://dune.com/asnogordo/gardenfinance",isExternal:!0},{title:"Explorer",link:"https://explorer.garden.finance",isExternal:!0}]},{title:"Community",links:[{title:"Discord",link:" https://discord.gg/GgvrKHQVEe",isExternal:!0},{title:"Telegram",link:"https://t.me/GardenTownhall",isExternal:!0},{title:"X",link:"https://twitter.com/intent/follow?screen_name=garden_finance",isExternal:!0}]}],Footer=({className:e,...t})=>jsxRuntime.jsxs("footer",{className:cn("gf-w-full gf-p-8 md:gf-px-28 md:gf-pt-8 md:gf-pb-16",e),...t,children:[jsxRuntime.jsxs("div",{className:"md:gf-flex md:gf-justify-between md:gf-items-start",children:[jsxRuntime.jsx("div",{className:"gf-flex gf-items-center gf-mb-6",children:jsxRuntime.jsx(GardenFullLogo,{})}),jsxRuntime.jsx("div",{className:"gf-grid gf-grid-cols-2 gf-gap-x-14 gf-gap-y-6 md:gf-flex gf-w-full md:gf-justify-end md:gf-gap-x-14",children:footerDetails.map(i=>jsxRuntime.jsxs("div",{className:"gf-flex gf-flex-col",children:[jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",className:"gf-mb-3",children:i.title}),i.links.map(s=>jsxRuntime.jsx("a",{href:s.link,target:i.targetSame?"_self":"_blank",rel:"noreferrer",children:jsxRuntime.jsx(Typography,{size:"h3",weight:"medium",children:s.title})},s.title))]},i.title))})]}),jsxRuntime.jsx("hr",{className:"gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey"}),jsxRuntime.jsxs("div",{className:"gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-gap-10",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-gap-x-2 gf-items-center",children:[jsxRuntime.jsxs(Typography,{size:"h4",weight:"medium",children:["Powered by"," "]}),jsxRuntime.jsx("a",{href:"https://catalog.fi",target:"_blank",children:jsxRuntime.jsx(CatalogLogo,{width:76})})]}),jsxRuntime.jsxs("a",{href:"https://github.com/catalogfi/audits/blob/main/TrailOfBits.pdf",target:"_blank",className:"gf-flex gf-gap-x-2 gf-items-center",children:[jsxRuntime.jsxs(Typography,{size:"h4",weight:"medium",children:["Audited by"," "]}),jsxRuntime.jsx(TrailOfBits,{width:36})]})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-gap-x-6 md:gf-gap-x-4",children:[jsxRuntime.jsx("a",{href:"https://garden.finance/privacy.pdf",children:jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Privacy Policy"})}),jsxRuntime.jsx("a",{href:"https://garden.finance/terms.pdf",children:jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Terms of Service"})})]})]})]});var build={exports:{}};(()=>{var e={181:(n,a,o)=>{var f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,m=parseInt,p=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,b=typeof self=="object"&&self&&self.Object===Object&&self,x=p||b||Function("return this")(),y=Object.prototype.toString,T=Math.max,g=Math.min,C=function(){return x.Date.now()};function d(A){var E=typeof A;return!!A&&(E=="object"||E=="function")}function P(A){if(typeof A=="number")return A;if(function(V){return typeof V=="symbol"||function(F){return!!F&&typeof F=="object"}(V)&&y.call(V)=="[object Symbol]"}(A))return NaN;if(d(A)){var E=typeof A.valueOf=="function"?A.valueOf():A;A=d(E)?E+"":E}if(typeof A!="string")return A===0?A:+A;A=A.replace(f,"");var R=c.test(A);return R||u.test(A)?m(A.slice(2),R?2:8):l.test(A)?NaN:+A}n.exports=function(A,E,R){var V,F,$,Z,B,X,q=0,N=!1,L=!1,_=!0;if(typeof A!="function")throw new TypeError("Expected a function");function S(U){var K=V,J=F;return V=F=void 0,q=U,Z=A.apply(J,K)}function M(U){var K=U-X;return X===void 0||K>=E||K<0||L&&U-q>=$}function I(){var U=C();if(M(U))return k(U);B=setTimeout(I,function(K){var J=E-(K-X);return L?g(J,$-(K-q)):J}(U))}function k(U){return B=void 0,_&&V?S(U):(V=F=void 0,Z)}function G(){var U=C(),K=M(U);if(V=arguments,F=this,X=U,K){if(B===void 0)return function(J){return q=J,B=setTimeout(I,E),N?S(J):Z}(X);if(L)return B=setTimeout(I,E),S(X)}return B===void 0&&(B=setTimeout(I,E)),Z}return E=P(E)||0,d(R)&&(N=!!R.leading,$=(L="maxWait"in R)?T(P(R.maxWait)||0,E):$,_="trailing"in R?!!R.trailing:_),G.cancel=function(){B!==void 0&&clearTimeout(B),q=0,V=X=F=B=void 0},G.flush=function(){return B===void 0?Z:k(C())},G}},858:(n,a,o)=>{var f="Expected a function",l=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,m=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,x=parseInt,y=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,T=typeof self=="object"&&self&&self.Object===Object&&self,g=y||T||Function("return this")(),C=Object.prototype.toString,d=Math.max,P=Math.min,A=function(){return g.Date.now()};function E(V){var F=typeof V;return!!V&&(F=="object"||F=="function")}function R(V){if(typeof V=="number")return V;if(function(Z){return typeof Z=="symbol"||function(B){return!!B&&typeof B=="object"}(Z)&&C.call(Z)==c}(V))return l;if(E(V)){var F=typeof V.valueOf=="function"?V.valueOf():V;V=E(F)?F+"":F}if(typeof V!="string")return V===0?V:+V;V=V.replace(u,"");var $=p.test(V);return $||b.test(V)?x(V.slice(2),$?2:8):m.test(V)?l:+V}n.exports=function(V,F,$){var Z=!0,B=!0;if(typeof V!="function")throw new TypeError(f);return E($)&&(Z="leading"in $?!!$.leading:Z,B="trailing"in $?!!$.trailing:B),function(X,q,N){var L,_,S,M,I,k,G=0,U=!1,K=!1,J=!0;if(typeof X!="function")throw new TypeError(f);function re(se){var oe=L,te=_;return L=_=void 0,G=se,M=X.apply(te,oe)}function le(se){var oe=se-k;return k===void 0||oe>=q||oe<0||K&&se-G>=S}function ce(){var se=A();if(le(se))return pe(se);I=setTimeout(ce,function(oe){var te=q-(oe-k);return K?P(te,S-(oe-G)):te}(se))}function pe(se){return I=void 0,J&&L?re(se):(L=_=void 0,M)}function ue(){var se=A(),oe=le(se);if(L=arguments,_=this,k=se,oe){if(I===void 0)return function(te){return G=te,I=setTimeout(ce,q),U?re(te):M}(k);if(K)return I=setTimeout(ce,q),re(k)}return I===void 0&&(I=setTimeout(ce,q)),M}return q=R(q)||0,E(N)&&(U=!!N.leading,S=(K="maxWait"in N)?d(R(N.maxWait)||0,q):S,J="trailing"in N?!!N.trailing:J),ue.cancel=function(){I!==void 0&&clearTimeout(I),G=0,L=k=_=I=void 0},ue.flush=function(){return I===void 0?M:pe(A())},ue}(V,F,{leading:Z,maxWait:F,trailing:B})}},694:(n,a,o)=>{var f=o(925);function l(){}function c(){}c.resetWarningCache=l,n.exports=function(){function u(b,x,y,T,g,C){if(C!==f){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}function m(){return u}u.isRequired=u;var p={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:m,element:u,elementType:u,instanceOf:m,node:u,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:c,resetWarningCache:l};return p.PropTypes=p,p}},556:(n,a,o)=>{n.exports=o(694)()},925:n=>{n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function i(n){var a=t[n];if(a!==void 0)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.n=n=>{var a=n&&n.__esModule?()=>n.default:()=>n;return i.d(a,{a}),a},i.d=(n,a)=>{for(var o in a)i.o(a,o)&&!i.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:a[o]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(n,a)=>Object.prototype.hasOwnProperty.call(n,a),i.r=n=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var s={};(()=>{i.r(s),i.d(s,{LazyLoadComponent:()=>me,LazyLoadImage:()=>He,trackWindowScroll:()=>U});const n=React;var a=i.n(n),o=i(556);function f(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function l(H){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},l(H)}function c(H,j){var O=Object.keys(H);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(H);j&&(W=W.filter(function(D){return Object.getOwnPropertyDescriptor(H,D).enumerable})),O.push.apply(O,W)}return O}function u(H,j,O){return(j=p(j))in H?Object.defineProperty(H,j,{value:O,enumerable:!0,configurable:!0,writable:!0}):H[j]=O,H}function m(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,p(W.key),W)}}function p(H){var j=function(O,W){if(l(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(l(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return l(j)=="symbol"?j:j+""}function b(H,j,O){return j=y(j),function(W,D){if(D&&(l(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}(W)}(H,x()?Reflect.construct(j,O||[],y(H).constructor):j.apply(H,O))}function x(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(x=function(){return!!H})()}function y(H){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},y(H)}function T(H,j){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},T(H,j)}var g=function(H){H.forEach(function(j){j.isIntersecting&&j.target.onVisible()})},C={},d=function(H){function j(D){var z;if(function(Q,ie){if(!(Q instanceof ie))throw new TypeError("Cannot call a class as a function")}(this,j),(z=b(this,j,[D])).supportsObserver=!D.scrollPosition&&D.useIntersectionObserver&&f(),z.supportsObserver){var ee=D.threshold;z.observer=function(Q){return C[Q]=C[Q]||new IntersectionObserver(g,{rootMargin:Q+"px"}),C[Q]}(ee)}return z}return function(D,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(z&&z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),z&&T(D,z)}(j,H),O=j,W=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,z=this.placeholder.getBoundingClientRect(),ee=this.placeholder.style,Q=parseInt(ee.getPropertyValue("margin-left"),10)||0,ie=parseInt(ee.getPropertyValue("margin-top"),10)||0;return{bottom:D.y+z.bottom+ie,left:D.x+z.left+Q,right:D.x+z.right+Q,top:D.y+z.top+ie}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var D=this.props,z=D.scrollPosition,ee=D.threshold,Q=this.getPlaceholderBoundingBox(z),ie=z.y+window.innerHeight,ne=z.x,he=z.x+window.innerWidth,fe=z.y;return fe-ee<=Q.bottom&&ie+ee>=Q.top&&ne-ee<=Q.right&&he+ee>=Q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var D=this,z=this.props,ee=z.className,Q=z.height,ie=z.placeholder,ne=z.style,he=z.width;if(ie&&typeof ie.type!="function")return a().cloneElement(ie,{ref:function(ae){return D.placeholder=ae}});var fe=function(ae){for(var ge=1;ge<arguments.length;ge++){var de=arguments[ge]!=null?arguments[ge]:{};ge%2?c(Object(de),!0).forEach(function(ve){u(ae,ve,de[ve])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ae,Object.getOwnPropertyDescriptors(de)):c(Object(de)).forEach(function(ve){Object.defineProperty(ae,ve,Object.getOwnPropertyDescriptor(de,ve))})}return ae}({display:"inline-block"},ne);return he!==void 0&&(fe.width=he),Q!==void 0&&(fe.height=Q),a().createElement("span",{className:ee,ref:function(ae){return D.placeholder=ae},style:fe},ie)}}],W&&m(O.prototype,W),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,W}(a().Component);d.propTypes={onVisible:o.PropTypes.func.isRequired,className:o.PropTypes.string,height:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]),placeholder:o.PropTypes.element,threshold:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool,scrollPosition:o.PropTypes.shape({x:o.PropTypes.number.isRequired,y:o.PropTypes.number.isRequired}),width:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string])},d.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const P=d;var A=i(181),E=i.n(A),R=i(858),V=i.n(R),F=function(H){var j=getComputedStyle(H,null);return j.getPropertyValue("overflow")+j.getPropertyValue("overflow-y")+j.getPropertyValue("overflow-x")};const $=function(H){if(!(H instanceof HTMLElement))return window;for(var j=H;j&&j instanceof HTMLElement;){if(/(scroll|auto)/.test(F(j)))return j;j=j.parentNode}return window};function Z(H){return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},Z(H)}var B=["delayMethod","delayTime"];function X(){return X=Object.assign?Object.assign.bind():function(H){for(var j=1;j<arguments.length;j++){var O=arguments[j];for(var W in O)({}).hasOwnProperty.call(O,W)&&(H[W]=O[W])}return H},X.apply(null,arguments)}function q(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,N(W.key),W)}}function N(H){var j=function(O,W){if(Z(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(Z(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return Z(j)=="symbol"?j:j+""}function L(H,j,O){return j=M(j),_(H,S()?Reflect.construct(j,O||[],M(H).constructor):j.apply(H,O))}function _(H,j){if(j&&(Z(j)=="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}(H)}function S(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(S=function(){return!!H})()}function M(H){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},M(H)}function I(H,j){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},I(H,j)}var k=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},G=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const U=function(H){var j=function(O){function W(ee){var Q;if(function(ne,he){if(!(ne instanceof he))throw new TypeError("Cannot call a class as a function")}(this,W),(Q=L(this,W,[ee])).useIntersectionObserver=ee.useIntersectionObserver&&f(),Q.useIntersectionObserver)return _(Q);var ie=Q.onChangeScroll.bind(Q);return ee.delayMethod==="debounce"?Q.delayedScroll=E()(ie,ee.delayTime):ee.delayMethod==="throttle"&&(Q.delayedScroll=V()(ie,ee.delayTime)),Q.state={scrollPosition:{x:k(),y:G()}},Q.baseComponentRef=a().createRef(),Q}return function(ee,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(Q&&Q.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),Object.defineProperty(ee,"prototype",{writable:!1}),Q&&I(ee,Q)}(W,O),D=W,z=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||$(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=$(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:k(),y:G()}})}},{key:"render",value:function(){var ee=this.props,Q=(ee.delayMethod,ee.delayTime,function(ne,he){if(ne==null)return{};var fe,ae,ge=function(ve,Be){if(ve==null)return{};var Oe={};for(var je in ve)if({}.hasOwnProperty.call(ve,je)){if(Be.indexOf(je)>=0)continue;Oe[je]=ve[je]}return Oe}(ne,he);if(Object.getOwnPropertySymbols){var de=Object.getOwnPropertySymbols(ne);for(ae=0;ae<de.length;ae++)fe=de[ae],he.indexOf(fe)>=0||{}.propertyIsEnumerable.call(ne,fe)&&(ge[fe]=ne[fe])}return ge}(ee,B)),ie=this.useIntersectionObserver?null:this.state.scrollPosition;return a().createElement(H,X({forwardRef:this.baseComponentRef,scrollPosition:ie},Q))}}],z&&q(D.prototype,z),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,z}(a().Component);return j.propTypes={delayMethod:o.PropTypes.oneOf(["debounce","throttle"]),delayTime:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool},j.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},j};function K(H){return K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},K(H)}function J(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,re(W.key),W)}}function re(H){var j=function(O,W){if(K(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(K(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return K(j)=="symbol"?j:j+""}function le(H,j,O){return j=pe(j),function(W,D){if(D&&(K(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}(W)}(H,ce()?Reflect.construct(j,O||[],pe(H).constructor):j.apply(H,O))}function ce(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ce=function(){return!!H})()}function pe(H){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},pe(H)}function ue(H,j){return ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},ue(H,j)}var se=function(H){function j(D){return function(z,ee){if(!(z instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,j),le(this,j,[D])}return function(D,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(z&&z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),z&&ue(D,z)}(j,H),O=j,(W=[{key:"render",value:function(){return a().createElement(P,this.props)}}])&&J(O.prototype,W),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,W}(a().Component);const oe=U(se);function te(H){return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},te(H)}function Y(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,Te(W.key),W)}}function Te(H){var j=function(O,W){if(te(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(te(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return te(j)=="symbol"?j:j+""}function Ee(H,j,O){return j=ye(j),function(W,D){if(D&&(te(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}(W)}(H,Se()?Reflect.construct(j,O||[],ye(H).constructor):j.apply(H,O))}function Se(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Se=function(){return!!H})()}function ye(H){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},ye(H)}function be(H,j){return be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},be(H,j)}var Pe=function(H){function j(D){var z;(function(he,fe){if(!(he instanceof fe))throw new TypeError("Cannot call a class as a function")})(this,j),z=Ee(this,j,[D]);var ee=D.afterLoad,Q=D.beforeLoad,ie=D.scrollPosition,ne=D.visibleByDefault;return z.state={visible:ne},ne&&(Q(),ee()),z.onVisible=z.onVisible.bind(z),z.isScrollTracked=!!(ie&&Number.isFinite(ie.x)&&ie.x>=0&&Number.isFinite(ie.y)&&ie.y>=0),z}return function(D,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(z&&z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),z&&be(D,z)}(j,H),O=j,(W=[{key:"componentDidUpdate",value:function(D,z){z.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var D=this.props,z=D.className,ee=D.delayMethod,Q=D.delayTime,ie=D.height,ne=D.placeholder,he=D.scrollPosition,fe=D.style,ae=D.threshold,ge=D.useIntersectionObserver,de=D.width;return this.isScrollTracked||ge&&f()?a().createElement(P,{className:z,height:ie,onVisible:this.onVisible,placeholder:ne,scrollPosition:he,style:fe,threshold:ae,useIntersectionObserver:ge,width:de}):a().createElement(oe,{className:z,delayMethod:ee,delayTime:Q,height:ie,onVisible:this.onVisible,placeholder:ne,style:fe,threshold:ae,width:de})}}])&&Y(O.prototype,W),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,W}(a().Component);Pe.propTypes={afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool},Pe.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const me=Pe;function Ce(H){return Ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},Ce(H)}var Le=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function xe(H,j){var O=Object.keys(H);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(H);j&&(W=W.filter(function(D){return Object.getOwnPropertyDescriptor(H,D).enumerable})),O.push.apply(O,W)}return O}function Me(H){for(var j=1;j<arguments.length;j++){var O=arguments[j]!=null?arguments[j]:{};j%2?xe(Object(O),!0).forEach(function(W){we(H,W,O[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(O)):xe(Object(O)).forEach(function(W){Object.defineProperty(H,W,Object.getOwnPropertyDescriptor(O,W))})}return H}function we(H,j,O){return(j=Ve(j))in H?Object.defineProperty(H,j,{value:O,enumerable:!0,configurable:!0,writable:!0}):H[j]=O,H}function Ae(){return Ae=Object.assign?Object.assign.bind():function(H){for(var j=1;j<arguments.length;j++){var O=arguments[j];for(var W in O)({}).hasOwnProperty.call(O,W)&&(H[W]=O[W])}return H},Ae.apply(null,arguments)}function Re(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,Ve(W.key),W)}}function Ve(H){var j=function(O,W){if(Ce(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(Ce(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return Ce(j)=="symbol"?j:j+""}function _e(H,j,O){return j=ke(j),function(W,D){if(D&&(Ce(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}(W)}(H,De()?Reflect.construct(j,O||[],ke(H).constructor):j.apply(H,O))}function De(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(De=function(){return!!H})()}function ke(H){return ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},ke(H)}function Ie(H,j){return Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},Ie(H,j)}var Fe=function(H){function j(D){var z;return function(ee,Q){if(!(ee instanceof Q))throw new TypeError("Cannot call a class as a function")}(this,j),(z=_e(this,j,[D])).state={loaded:!1},z}return function(D,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(z&&z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),z&&Ie(D,z)}(j,H),O=j,W=[{key:"onImageLoad",value:function(){var D=this;return this.state.loaded?null:function(z){D.props.onLoad(z),D.props.afterLoad(),D.setState({loaded:!0})}}},{key:"getImg",value:function(){var D=this.props,z=(D.afterLoad,D.beforeLoad,D.delayMethod,D.delayTime,D.effect,D.placeholder,D.placeholderSrc,D.scrollPosition,D.threshold,D.useIntersectionObserver,D.visibleByDefault,D.wrapperClassName,D.wrapperProps,function(ee,Q){if(ee==null)return{};var ie,ne,he=function(ae,ge){if(ae==null)return{};var de={};for(var ve in ae)if({}.hasOwnProperty.call(ae,ve)){if(ge.indexOf(ve)>=0)continue;de[ve]=ae[ve]}return de}(ee,Q);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(ee);for(ne=0;ne<fe.length;ne++)ie=fe[ne],Q.indexOf(ie)>=0||{}.propertyIsEnumerable.call(ee,ie)&&(he[ie]=ee[ie])}return he}(D,Le));return a().createElement("img",Ae({},z,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var D=this.props,z=D.beforeLoad,ee=D.className,Q=D.delayMethod,ie=D.delayTime,ne=D.height,he=D.placeholder,fe=D.scrollPosition,ae=D.style,ge=D.threshold,de=D.useIntersectionObserver,ve=D.visibleByDefault,Be=D.width;return a().createElement(me,{beforeLoad:z,className:ee,delayMethod:Q,delayTime:ie,height:ne,placeholder:he,scrollPosition:fe,style:ae,threshold:ge,useIntersectionObserver:de,visibleByDefault:ve,width:Be},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(D){var z=this.props,ee=z.effect,Q=z.height,ie=z.placeholderSrc,ne=z.width,he=z.wrapperClassName,fe=z.wrapperProps,ae=this.state.loaded,ge=ae?" lazy-load-image-loaded":"",de=ae||!ie?{}:{backgroundImage:"url(".concat(ie,")"),backgroundSize:"100% 100%"};return a().createElement("span",Ae({className:he+" lazy-load-image-background "+ee+ge,style:Me(Me({},de),{},{color:"transparent",display:"inline-block",height:Q,width:ne})},fe),D)}},{key:"render",value:function(){var D=this.props,z=D.effect,ee=D.placeholderSrc,Q=D.visibleByDefault,ie=D.wrapperClassName,ne=D.wrapperProps,he=this.getLazyLoadImage();return(z||ee)&&!Q||ie||ne?this.getWrappedLazyLoadImage(he):he}}],W&&Re(O.prototype,W),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,W}(a().Component);Fe.propTypes={onLoad:o.PropTypes.func,afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,delayMethod:o.PropTypes.string,delayTime:o.PropTypes.number,effect:o.PropTypes.string,placeholderSrc:o.PropTypes.string,threshold:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool,wrapperClassName:o.PropTypes.string,wrapperProps:o.PropTypes.object},Fe.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const He=Fe})(),build.exports=s})();var buildExports=build.exports;const placeholderUrl="data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",BlogCard=({thumbnail:e,category:t,date:i,title:s,className:n,thumbnailClassName:a})=>{const[o,f]=React.useState(!1),[l,c]=React.useState(e??placeholderUrl);React.useEffect(()=>{c(e??placeholderUrl)},[e]);const u=()=>{c(placeholderUrl)};return jsxRuntime.jsx(Opacity,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:jsxRuntime.jsxs("div",{className:cn(n,"gf-overflow-hidden gf-rounded-2xl"),children:[jsxRuntime.jsx("div",{className:cn(a,`${o?"":"gf-filter gf-blur-md"}`),children:jsxRuntime.jsx(buildExports.LazyLoadImage,{alt:s,effect:"blur",src:l,onLoad:()=>f(!0),onError:u})}),jsxRuntime.jsxs("div",{className:"gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-between gf-mb-3",children:[jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",children:t}),jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"gf-px-3 gf-py-1",children:i})]}),jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",children:s})]})]})})},questCardStyles=cva(["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],{variants:{variant:{locked:"gf-bg-white gf-bg-opacity-25",default:"gf-bg-white gf-bg-opacity-50"}},defaultVariants:{variant:"locked"}}),QuestCard=({variant:e,title:t,description:i,chipContent:s,logo:n})=>jsxRuntime.jsxs("div",{className:cn(questCardStyles({variant:e})),children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-between gf-items-center gf-mb-4",children:[jsxRuntime.jsxs(Chip,{className:"gf-cursor-pointer gf-px-2 gf-py-1",children:[jsxRuntime.jsx(Chip.Logo,{children:n}),t,jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),e==="default"?jsxRuntime.jsx(OpenInFullIcon,{className:"gf-cursor-pointer",height:"20px",width:"20px"}):jsxRuntime.jsx(LockIcon,{className:"gf-cursor-pointer",height:"20px",width:"20px"})]}),jsxRuntime.jsx("div",{className:"gf-mb-3 md:gf-mb-8",children:jsxRuntime.jsx(Typography,{size:"h3",weight:"medium",children:i})}),jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-end gf-space-x-2",children:[jsxRuntime.jsxs(Chip,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Quest Access"}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),jsxRuntime.jsxs(Chip,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:s}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]})]})]}),warned=new Set;function warnOnce(e,t,i){e||warned.has(t)||(console.warn(t),warned.add(t))}function createDOMMotionComponentProxy(e){if(typeof Proxy>"u")return e;const t=new Map,i=(...s)=>(process.env.NODE_ENV!=="production"&&warnOnce(!1,"motion() is deprecated. Use motion.create() instead."),e(...s));return new Proxy(i,{get:(s,n)=>n==="create"?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}function isAnimationControls(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const isKeyframesTarget=e=>Array.isArray(e);function shallowCompare(e,t){if(!Array.isArray(t))return!1;const i=t.length;if(i!==e.length)return!1;for(let s=0;s<i;s++)if(t[s]!==e[s])return!1;return!0}function isVariantLabel(e){return typeof e=="string"||Array.isArray(e)}function getValueState(e){const t=[{},{}];return e==null||e.values.forEach((i,s)=>{t[0][s]=i.get(),t[1][s]=i.getVelocity()}),t}function resolveVariantFromProps(e,t,i,s){if(typeof t=="function"){const[n,a]=getValueState(s);t=t(i!==void 0?i:e.custom,n,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[n,a]=getValueState(s);t=t(i!==void 0?i:e.custom,n,a)}return t}function resolveVariant(e,t,i){const s=e.getProps();return resolveVariantFromProps(s,t,i!==void 0?i:s.custom,e)}const variantPriorityOrder=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],variantProps=["initial",...variantPriorityOrder],transformPropOrder=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],transformProps=new Set(transformPropOrder),secondsToMilliseconds=e=>e*1e3,millisecondsToSeconds=e=>e/1e3,underDampedSpring={type:"spring",stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),keyframesTransition={type:"keyframes",duration:.8},ease={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(e,{keyframes:t})=>t.length>2?keyframesTransition:transformProps.has(e)?e.startsWith("scale")?criticallyDampedSpring(t[1]):underDampedSpring:ease;function isTransitionDefined({when:e,delay:t,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:a,repeatType:o,repeatDelay:f,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function getValueTransition(e,t){return e[t]||e.default||e}const MotionGlobalConfig={skipAnimations:!1,useManualTiming:!1},isNotNull=e=>e!==null;function getFinalKeyframe(e,{repeat:t,repeatType:i="loop"},s){const n=e.filter(isNotNull),a=t&&i!=="loop"&&t%2===1?0:n.length-1;return!a||s===void 0?n[a]:s}const noop=e=>e;function createRenderStep(e){let t=new Set,i=new Set,s=!1,n=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function f(c){a.has(c)&&(l.schedule(c),e()),c(o)}const l={schedule:(c,u=!1,m=!1)=>{const b=m&&s?t:i;return u&&a.add(c),b.has(c)||b.add(c),c},cancel:c=>{i.delete(c),a.delete(c)},process:c=>{if(o=c,s){n=!0;return}s=!0,[t,i]=[i,t],i.clear(),t.forEach(f),s=!1,n&&(n=!1,l.process(c))}};return l}const stepsOrder=["read","resolveKeyframes","update","preRender","render","postRender"],maxElapsed=40;function createRenderBatcher(e,t){let i=!1,s=!0;const n={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,o=stepsOrder.reduce((g,C)=>(g[C]=createRenderStep(a),g),{}),{read:f,resolveKeyframes:l,update:c,preRender:u,render:m,postRender:p}=o,b=()=>{const g=performance.now();i=!1,n.delta=s?1e3/60:Math.max(Math.min(g-n.timestamp,maxElapsed),1),n.timestamp=g,n.isProcessing=!0,f.process(n),l.process(n),c.process(n),u.process(n),m.process(n),p.process(n),n.isProcessing=!1,i&&t&&(s=!1,e(b))},x=()=>{i=!0,s=!0,n.isProcessing||e(b)};return{schedule:stepsOrder.reduce((g,C)=>{const d=o[C];return g[C]=(P,A=!1,E=!1)=>(i||x(),d.schedule(P,A,E)),g},{}),cancel:g=>{for(let C=0;C<stepsOrder.length;C++)o[stepsOrder[C]].cancel(g)},state:n,steps:o}}const{schedule:frame,cancel:cancelFrame,state:frameData,steps}=createRenderBatcher(typeof requestAnimationFrame<"u"?requestAnimationFrame:noop,!0),isZeroValueString=e=>/^0[^.\s]+$/u.test(e);function isNone(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||isZeroValueString(e):!0}let warning=noop,invariant=noop;process.env.NODE_ENV!=="production"&&(warning=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},invariant=(e,t)=>{if(!e)throw new Error(t)});const isNumericalString=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),checkStringStartsWith=e=>t=>typeof t=="string"&&t.startsWith(e),isCSSVariableName=checkStringStartsWith("--"),startsAsVariableToken=checkStringStartsWith("var(--"),isCSSVariableToken=e=>startsAsVariableToken(e)?singleCssVariableRegex.test(e.split("/*")[0].trim()):!1,singleCssVariableRegex=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,splitCSSVariableRegex=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function parseCSSVariable(e){const t=splitCSSVariableRegex.exec(e);if(!t)return[,];const[,i,s,n]=t;return[`--${i??s}`,n]}const maxDepth=4;function getVariableValue(e,t,i=1){invariant(i<=maxDepth,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[s,n]=parseCSSVariable(e);if(!s)return;const a=window.getComputedStyle(t).getPropertyValue(s);if(a){const o=a.trim();return isNumericalString(o)?parseFloat(o):o}return isCSSVariableToken(n)?getVariableValue(n,t,i+1):n}const clamp=(e,t,i)=>i>t?t:i<e?e:i,number={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},alpha={...number,transform:e=>clamp(0,1,e)},scale={...number,default:1},sanitize=e=>Math.round(e*1e5)/1e5,floatRegex=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,colorRegex=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,singleColorRegex=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function isString(e){return typeof e=="string"}function isNullish(e){return e==null}const createUnitType=e=>({test:t=>isString(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),vh=createUnitType("vh"),vw=createUnitType("vw"),progressPercentage={...percent,parse:e=>percent.parse(e)/100,transform:e=>percent.transform(e*100)},positionalKeys=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),isNumOrPxType=e=>e===number||e===px,getPosFromMatrix=(e,t)=>parseFloat(e.split(", ")[t]),getTranslateFromMatrix=(e,t)=>(i,{transform:s})=>{if(s==="none"||!s)return 0;const n=s.match(/^matrix3d\((.+)\)$/u);if(n)return getPosFromMatrix(n[1],t);{const a=s.match(/^matrix\((.+)\)$/u);return a?getPosFromMatrix(a[1],e):0}},transformKeys=new Set(["x","y","z"]),nonTranslationalTransformKeys=transformPropOrder.filter(e=>!transformKeys.has(e));function removeNonTranslationalTransform(e){const t=[];return nonTranslationalTransformKeys.forEach(i=>{const s=e.getValue(i);s!==void 0&&(t.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),t}const positionalValues={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)};positionalValues.translateX=positionalValues.x,positionalValues.translateY=positionalValues.y;const testValueType=e=>t=>t.test(e),auto={test:e=>e==="auto",parse:e=>e},dimensionValueTypes=[number,px,percent,degrees,vw,vh,auto],findDimensionValueType=e=>dimensionValueTypes.find(testValueType(e)),toResolve=new Set;let isScheduled=!1,anyNeedsMeasurement=!1;function measureAllKeyframes(){if(anyNeedsMeasurement){const e=Array.from(toResolve).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),i=new Map;t.forEach(s=>{const n=removeNonTranslationalTransform(s);n.length&&(i.set(s,n),s.render())}),e.forEach(s=>s.measureInitialState()),t.forEach(s=>{s.render();const n=i.get(s);n&&n.forEach(([a,o])=>{var f;(f=s.getValue(a))===null||f===void 0||f.set(o)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}anyNeedsMeasurement=!1,isScheduled=!1,toResolve.forEach(e=>e.complete()),toResolve.clear()}function readAllKeyframes(){toResolve.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(anyNeedsMeasurement=!0)})}function flushKeyframeResolvers(){readAllKeyframes(),measureAllKeyframes()}class KeyframeResolver{constructor(t,i,s,n,a,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=i,this.name=s,this.motionValue=n,this.element=a,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(toResolve.add(this),isScheduled||(isScheduled=!0,frame.read(readAllKeyframes),frame.resolveKeyframes(measureAllKeyframes))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:i,element:s,motionValue:n}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){const o=n==null?void 0:n.get(),f=t[t.length-1];if(o!==void 0)t[0]=o;else if(s&&i){const l=s.readValue(i,f);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=f),n&&o===void 0&&n.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),toResolve.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,toResolve.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const isColorString=(e,t)=>i=>!!(isString(i)&&singleColorRegex.test(i)&&i.startsWith(e)||t&&!isNullish(i)&&Object.prototype.hasOwnProperty.call(i,t)),splitColor=(e,t,i)=>s=>{if(!isString(s))return s;const[n,a,o,f]=s.match(floatRegex);return{[e]:parseFloat(n),[t]:parseFloat(a),[i]:parseFloat(o),alpha:f!==void 0?parseFloat(f):1}},clampRgbUnit=e=>clamp(0,255,e),rgbUnit={...number,transform:e=>Math.round(clampRgbUnit(e))},rgba={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:s=1})=>"rgba("+rgbUnit.transform(e)+", "+rgbUnit.transform(t)+", "+rgbUnit.transform(i)+", "+sanitize(alpha.transform(s))+")"};function parseHex(e){let t="",i="",s="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),s=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),s=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,s+=s,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}}const hex={test:isColorString("#"),parse:parseHex,transform:rgba.transform},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:s=1})=>"hsla("+Math.round(e)+", "+percent.transform(sanitize(t))+", "+percent.transform(sanitize(i))+", "+sanitize(alpha.transform(s))+")"},color={test:e=>rgba.test(e)||hex.test(e)||hsla.test(e),parse:e=>rgba.test(e)?rgba.parse(e):hsla.test(e)?hsla.parse(e):hex.parse(e),transform:e=>isString(e)?e:e.hasOwnProperty("red")?rgba.transform(e):hsla.transform(e)};function test(e){var t,i;return isNaN(e)&&isString(e)&&(((t=e.match(floatRegex))===null||t===void 0?void 0:t.length)||0)+(((i=e.match(colorRegex))===null||i===void 0?void 0:i.length)||0)>0}const NUMBER_TOKEN="number",COLOR_TOKEN="color",VAR_TOKEN="var",VAR_FUNCTION_TOKEN="var(",SPLIT_TOKEN="${}",complexRegex=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function analyseComplexValue(e){const t=e.toString(),i=[],s={color:[],number:[],var:[]},n=[];let a=0;const f=t.replace(complexRegex,l=>(color.test(l)?(s.color.push(a),n.push(COLOR_TOKEN),i.push(color.parse(l))):l.startsWith(VAR_FUNCTION_TOKEN)?(s.var.push(a),n.push(VAR_TOKEN),i.push(l)):(s.number.push(a),n.push(NUMBER_TOKEN),i.push(parseFloat(l))),++a,SPLIT_TOKEN)).split(SPLIT_TOKEN);return{values:i,split:f,indexes:s,types:n}}function parseComplexValue(e){return analyseComplexValue(e).values}function createTransformer(e){const{split:t,types:i}=analyseComplexValue(e),s=t.length;return n=>{let a="";for(let o=0;o<s;o++)if(a+=t[o],n[o]!==void 0){const f=i[o];f===NUMBER_TOKEN?a+=sanitize(n[o]):f===COLOR_TOKEN?a+=color.transform(n[o]):a+=n[o]}return a}}const convertNumbersToZero=e=>typeof e=="number"?0:e;function getAnimatableNone$1(e){const t=parseComplexValue(e);return createTransformer(e)(t.map(convertNumbersToZero))}const complex={test,parse:parseComplexValue,createTransformer,getAnimatableNone:getAnimatableNone$1},maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(e){const[t,i]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=i.match(floatRegex)||[];if(!s)return e;const n=i.replace(s,"");let a=maxDefaults.has(t)?1:0;return s!==i&&(a*=100),t+"("+a+n+")"}const functionRegex=/\b([a-z-]*)\(.*?\)/gu,filter={...complex,getAnimatableNone:e=>{const t=e.match(functionRegex);return t?t.map(applyDefaultFilter).join(" "):e}},int={...number,transform:Math.round},numberValueTypes={borderWidth:px,borderTopWidth:px,borderRightWidth:px,borderBottomWidth:px,borderLeftWidth:px,borderRadius:px,radius:px,borderTopLeftRadius:px,borderTopRightRadius:px,borderBottomRightRadius:px,borderBottomLeftRadius:px,width:px,maxWidth:px,height:px,maxHeight:px,size:px,top:px,right:px,bottom:px,left:px,padding:px,paddingTop:px,paddingRight:px,paddingBottom:px,paddingLeft:px,margin:px,marginTop:px,marginRight:px,marginBottom:px,marginLeft:px,rotate:degrees,rotateX:degrees,rotateY:degrees,rotateZ:degrees,scale,scaleX:scale,scaleY:scale,scaleZ:scale,skew:degrees,skewX:degrees,skewY:degrees,distance:px,translateX:px,translateY:px,translateZ:px,x:px,y:px,z:px,perspective:px,transformPerspective:px,opacity:alpha,originX:progressPercentage,originY:progressPercentage,originZ:px,zIndex:int,backgroundPositionX:px,backgroundPositionY:px,fillOpacity:alpha,strokeOpacity:alpha,numOctaves:int},defaultValueTypes={...numberValueTypes,color,backgroundColor:color,outlineColor:color,fill:color,stroke:color,borderColor:color,borderTopColor:color,borderRightColor:color,borderBottomColor:color,borderLeftColor:color,filter,WebkitFilter:filter},getDefaultValueType=e=>defaultValueTypes[e];function getAnimatableNone(e,t){let i=getDefaultValueType(e);return i!==filter&&(i=complex),i.getAnimatableNone?i.getAnimatableNone(t):void 0}const invalidTemplates=new Set(["auto","none","0"]);function makeNoneKeyframesAnimatable(e,t,i){let s=0,n;for(;s<e.length&&!n;){const a=e[s];typeof a=="string"&&!invalidTemplates.has(a)&&analyseComplexValue(a).values.length&&(n=e[s]),s++}if(n&&i)for(const a of t)e[a]=getAnimatableNone(i,n)}class DOMKeyframesResolver extends KeyframeResolver{constructor(t,i,s,n,a){super(t,i,s,n,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),isCSSVariableToken(c))){const u=getVariableValue(c,i.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!positionalKeys.has(s)||t.length!==2)return;const[n,a]=t,o=findDimensionValueType(n),f=findDimensionValueType(a);if(o!==f)if(isNumOrPxType(o)&&isNumOrPxType(f))for(let l=0;l<t.length;l++){const c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:i}=this,s=[];for(let n=0;n<t.length;n++)isNone(t[n])&&s.push(n);s.length&&makeNoneKeyframesAnimatable(t,s,i)}measureInitialState(){const{element:t,unresolvedKeyframes:i,name:s}=this;if(!t||!t.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=positionalValues[s](t.measureViewportBox(),window.getComputedStyle(t.current)),i[0]=this.measuredOrigin;const n=i[i.length-1];n!==void 0&&t.getValue(s,n).jump(n,!1)}measureEndState(){var t;const{element:i,name:s,unresolvedKeyframes:n}=this;if(!i||!i.current)return;const a=i.getValue(s);a&&a.jump(this.measuredOrigin,!1);const o=n.length-1,f=n[o];n[o]=positionalValues[s](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{i.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function memo(e){let t;return()=>(t===void 0&&(t=e()),t)}let now;function clearTime(){now=void 0}const time={now:()=>(now===void 0&&time.set(frameData.isProcessing||MotionGlobalConfig.useManualTiming?frameData.timestamp:performance.now()),now),set:e=>{now=e,queueMicrotask(clearTime)}},isAnimatable=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(complex.test(e)||e==="0")&&!e.startsWith("url("));function hasKeyframesChanged(e){const t=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}function canAnimate(e,t,i,s){const n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],o=isAnimatable(n,t),f=isAnimatable(a,t);return warning(o===f,`You are trying to animate ${t} from "${n}" to "${a}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${a} via the \`style\` property.`),!o||!f?!1:hasKeyframesChanged(e)||i==="spring"&&s}const MAX_RESOLVE_DELAY=40;class BaseAnimation{constructor({autoplay:t=!0,delay:i=0,type:s="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:o="loop",...f}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=time.now(),this.options={autoplay:t,delay:i,type:s,repeat:n,repeatDelay:a,repeatType:o,...f},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>MAX_RESOLVE_DELAY?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&flushKeyframeResolvers(),this._resolved}onKeyframesResolved(t,i){this.resolvedAt=time.now(),this.hasAttemptedResolve=!0;const{name:s,type:n,velocity:a,delay:o,onComplete:f,onUpdate:l,isGenerator:c}=this.options;if(!c&&!canAnimate(t,s,n,a))if(o)this.options.duration=0;else{l==null||l(getFinalKeyframe(t,this.options,i)),f==null||f(),this.resolveFinishedPromise();return}const u=this.initPlayback(t,i);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:i,...u},this.onPostResolved())}onPostResolved(){}then(t,i){return this.currentFinishedPromise.then(t,i)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function velocityPerSecond(e,t){return t?e*(1e3/t):0}const velocitySampleDuration=5;function calcGeneratorVelocity(e,t,i){const s=Math.max(t-velocitySampleDuration,0);return velocityPerSecond(i-e(s),t-s)}const safeMin=.001,minDuration=.01,maxDuration$1=10,minDamping=.05,maxDamping=1;function findSpring({duration:e=800,bounce:t=.25,velocity:i=0,mass:s=1}){let n,a;warning(e<=secondsToMilliseconds(maxDuration$1),"Spring duration must be 10 seconds or less");let o=1-t;o=clamp(minDamping,maxDamping,o),e=clamp(minDuration,maxDuration$1,millisecondsToSeconds(e)),o<1?(n=c=>{const u=c*o,m=u*e,p=u-i,b=calcAngularFreq(c,o),x=Math.exp(-m);return safeMin-p/b*x},a=c=>{const m=c*o*e,p=m*i+i,b=Math.pow(o,2)*Math.pow(c,2)*e,x=Math.exp(-m),y=calcAngularFreq(Math.pow(c,2),o);return(-n(c)+safeMin>0?-1:1)*((p-b)*x)/y}):(n=c=>{const u=Math.exp(-c*e),m=(c-i)*e+1;return-safeMin+u*m},a=c=>{const u=Math.exp(-c*e),m=(i-c)*(e*e);return u*m});const f=5/e,l=approximateRoot(n,a,f);if(e=secondsToMilliseconds(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*s;return{stiffness:c,damping:o*2*Math.sqrt(s*c),duration:e}}}const rootIterations=12;function approximateRoot(e,t,i){let s=i;for(let n=1;n<rootIterations;n++)s=s-e(s)/t(s);return s}function calcAngularFreq(e,t){return e*Math.sqrt(1-t*t)}const durationKeys=["duration","bounce"],physicsKeys=["stiffness","damping","mass"];function isSpringType(e,t){return t.some(i=>e[i]!==void 0)}function getSpringOptions(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!isSpringType(e,physicsKeys)&&isSpringType(e,durationKeys)){const i=findSpring(e);t={...t,...i,mass:1},t.isResolvedFromDuration=!0}return t}function spring({keyframes:e,restDelta:t,restSpeed:i,...s}){const n=e[0],a=e[e.length-1],o={done:!1,value:n},{stiffness:f,damping:l,mass:c,duration:u,velocity:m,isResolvedFromDuration:p}=getSpringOptions({...s,velocity:-millisecondsToSeconds(s.velocity||0)}),b=m||0,x=l/(2*Math.sqrt(f*c)),y=a-n,T=millisecondsToSeconds(Math.sqrt(f/c)),g=Math.abs(y)<5;i||(i=g?.01:2),t||(t=g?.005:.5);let C;if(x<1){const d=calcAngularFreq(T,x);C=P=>{const A=Math.exp(-x*T*P);return a-A*((b+x*T*y)/d*Math.sin(d*P)+y*Math.cos(d*P))}}else if(x===1)C=d=>a-Math.exp(-T*d)*(y+(b+T*y)*d);else{const d=T*Math.sqrt(x*x-1);C=P=>{const A=Math.exp(-x*T*P),E=Math.min(d*P,300);return a-A*((b+x*T*y)*Math.sinh(E)+d*y*Math.cosh(E))/d}}return{calculatedDuration:p&&u||null,next:d=>{const P=C(d);if(p)o.done=d>=u;else{let A=0;x<1&&(A=d===0?secondsToMilliseconds(b):calcGeneratorVelocity(C,d,P));const E=Math.abs(A)<=i,R=Math.abs(a-P)<=t;o.done=E&&R}return o.value=o.done?a:P,o}}}function inertia({keyframes:e,velocity:t=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:a=500,modifyTarget:o,min:f,max:l,restDelta:c=.5,restSpeed:u}){const m=e[0],p={done:!1,value:m},b=V=>f!==void 0&&V<f||l!==void 0&&V>l,x=V=>f===void 0?l:l===void 0||Math.abs(f-V)<Math.abs(l-V)?f:l;let y=i*t;const T=m+y,g=o===void 0?T:o(T);g!==T&&(y=g-m);const C=V=>-y*Math.exp(-V/s),d=V=>g+C(V),P=V=>{const F=C(V),$=d(V);p.done=Math.abs(F)<=c,p.value=p.done?g:$};let A,E;const R=V=>{b(p.value)&&(A=V,E=spring({keyframes:[p.value,x(p.value)],velocity:calcGeneratorVelocity(d,V,p.value),damping:n,stiffness:a,restDelta:c,restSpeed:u}))};return R(0),{calculatedDuration:null,next:V=>{let F=!1;return!E&&A===void 0&&(F=!0,P(V),R(V)),A!==void 0&&V>=A?E.next(V-A):(!F&&P(V),p)}}}const calcBezier=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e,subdivisionPrecision=1e-7,subdivisionMaxIterations=12;function binarySubdivide(e,t,i,s,n){let a,o,f=0;do o=t+(i-t)/2,a=calcBezier(o,s,n)-e,a>0?i=o:t=o;while(Math.abs(a)>subdivisionPrecision&&++f<subdivisionMaxIterations);return o}function cubicBezier(e,t,i,s){if(e===t&&i===s)return noop;const n=a=>binarySubdivide(a,0,1,e,i);return a=>a===0||a===1?a:calcBezier(n(a),t,s)}const easeIn=cubicBezier(.42,0,1,1),easeOut=cubicBezier(0,0,.58,1),easeInOut=cubicBezier(.42,0,.58,1),isEasingArray=e=>Array.isArray(e)&&typeof e[0]!="number",mirrorEasing=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,reverseEasing=e=>t=>1-e(1-t),circIn=e=>1-Math.sin(Math.acos(e)),circOut=reverseEasing(circIn),circInOut=mirrorEasing(circIn),backOut=cubicBezier(.33,1.53,.69,.99),backIn=reverseEasing(backOut),backInOut=mirrorEasing(backIn),anticipate=e=>(e*=2)<1?.5*backIn(e):.5*(2-Math.pow(2,-10*(e-1))),easingLookup={linear:noop,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate},easingDefinitionToFunction=e=>{if(Array.isArray(e)){invariant(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,i,s,n]=e;return cubicBezier(t,i,s,n)}else if(typeof e=="string")return invariant(easingLookup[e]!==void 0,`Invalid easing type '${e}'`),easingLookup[e];return e},combineFunctions=(e,t)=>i=>t(e(i)),pipe=(...e)=>e.reduce(combineFunctions),progress=(e,t,i)=>{const s=t-e;return s===0?1:(i-e)/s},mixNumber$1=(e,t,i)=>e+(t-e)*i;function hueToRgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function hslaToRgba({hue:e,saturation:t,lightness:i,alpha:s}){e/=360,t/=100,i/=100;let n=0,a=0,o=0;if(!t)n=a=o=i;else{const f=i<.5?i*(1+t):i+t-i*t,l=2*i-f;n=hueToRgb(l,f,e+1/3),a=hueToRgb(l,f,e),o=hueToRgb(l,f,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:s}}function mixImmediate(e,t){return i=>i>0?t:e}const mixLinearColor=(e,t,i)=>{const s=e*e,n=i*(t*t-s)+s;return n<0?0:Math.sqrt(n)},colorTypes=[hex,rgba,hsla],getColorType=e=>colorTypes.find(t=>t.test(e));function asRGBA(e){const t=getColorType(e);if(warning(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let i=t.parse(e);return t===hsla&&(i=hslaToRgba(i)),i}const mixColor=(e,t)=>{const i=asRGBA(e),s=asRGBA(t);if(!i||!s)return mixImmediate(e,t);const n={...i};return a=>(n.red=mixLinearColor(i.red,s.red,a),n.green=mixLinearColor(i.green,s.green,a),n.blue=mixLinearColor(i.blue,s.blue,a),n.alpha=mixNumber$1(i.alpha,s.alpha,a),rgba.transform(n))},invisibleValues=new Set(["none","hidden"]);function mixVisibility(e,t){return invisibleValues.has(e)?i=>i<=0?e:t:i=>i>=1?t:e}function mixNumber(e,t){return i=>mixNumber$1(e,t,i)}function getMixer(e){return typeof e=="number"?mixNumber:typeof e=="string"?isCSSVariableToken(e)?mixImmediate:color.test(e)?mixColor:mixComplex:Array.isArray(e)?mixArray:typeof e=="object"?color.test(e)?mixColor:mixObject:mixImmediate}function mixArray(e,t){const i=[...e],s=i.length,n=e.map((a,o)=>getMixer(a)(a,t[o]));return a=>{for(let o=0;o<s;o++)i[o]=n[o](a);return i}}function mixObject(e,t){const i={...e,...t},s={};for(const n in i)e[n]!==void 0&&t[n]!==void 0&&(s[n]=getMixer(e[n])(e[n],t[n]));return n=>{for(const a in s)i[a]=s[a](n);return i}}function matchOrder(e,t){var i;const s=[],n={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const o=t.types[a],f=e.indexes[o][n[o]],l=(i=e.values[f])!==null&&i!==void 0?i:0;s[a]=l,n[o]++}return s}const mixComplex=(e,t)=>{const i=complex.createTransformer(t),s=analyseComplexValue(e),n=analyseComplexValue(t);return s.indexes.var.length===n.indexes.var.length&&s.indexes.color.length===n.indexes.color.length&&s.indexes.number.length>=n.indexes.number.length?invisibleValues.has(e)&&!n.values.length||invisibleValues.has(t)&&!s.values.length?mixVisibility(e,t):pipe(mixArray(matchOrder(s,n),n.values),i):(warning(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),mixImmediate(e,t))};function mix(e,t,i){return typeof e=="number"&&typeof t=="number"&&typeof i=="number"?mixNumber$1(e,t,i):getMixer(e)(e,t)}function createMixers(e,t,i){const s=[],n=i||mix,a=e.length-1;for(let o=0;o<a;o++){let f=n(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||noop:t;f=pipe(l,f)}s.push(f)}return s}function interpolate(e,t,{clamp:i=!0,ease:s,mixer:n}={}){const a=e.length;if(invariant(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];if(a===2&&e[0]===e[1])return()=>t[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=createMixers(t,s,n),f=o.length,l=c=>{let u=0;if(f>1)for(;u<e.length-2&&!(c<e[u+1]);u++);const m=progress(e[u],e[u+1],c);return o[u](m)};return i?c=>l(clamp(e[0],e[a-1],c)):l}function fillOffset(e,t){const i=e[e.length-1];for(let s=1;s<=t;s++){const n=progress(0,t,s);e.push(mixNumber$1(i,1,n))}}function defaultOffset(e){const t=[0];return fillOffset(t,e.length-1),t}function convertOffsetToTimes(e,t){return e.map(i=>i*t)}function defaultEasing(e,t){return e.map(()=>t||easeInOut).splice(0,e.length-1)}function keyframes({duration:e=300,keyframes:t,times:i,ease:s="easeInOut"}){const n=isEasingArray(s)?s.map(easingDefinitionToFunction):easingDefinitionToFunction(s),a={done:!1,value:t[0]},o=convertOffsetToTimes(i&&i.length===t.length?i:defaultOffset(t),e),f=interpolate(o,t,{ease:Array.isArray(n)?n:defaultEasing(t,n)});return{calculatedDuration:e,next:l=>(a.value=f(l),a.done=l>=e,a)}}const maxGeneratorDuration=2e4;function calcGeneratorDuration(e){let t=0;const i=50;let s=e.next(t);for(;!s.done&&t<maxGeneratorDuration;)t+=i,s=e.next(t);return t>=maxGeneratorDuration?1/0:t}const frameloopDriver=e=>{const t=({timestamp:i})=>e(i);return{start:()=>frame.update(t,!0),stop:()=>cancelFrame(t),now:()=>frameData.isProcessing?frameData.timestamp:time.now()}},generators={decay:inertia,inertia,tween:keyframes,keyframes,spring},percentToProgress=e=>e/100;class MainThreadAnimation extends BaseAnimation{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:i,motionValue:s,element:n,keyframes:a}=this.options,o=(n==null?void 0:n.KeyframeResolver)||KeyframeResolver,f=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new o(a,f,i,s,n),this.resolver.scheduleResolve()}initPlayback(t){const{type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:a,velocity:o=0}=this.options,f=generators[i]||keyframes;let l,c;f!==keyframes&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&invariant(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),l=pipe(percentToProgress,mix(t[0],t[1])),t=[0,100]);const u=f({...this.options,keyframes:t});a==="mirror"&&(c=f({...this.options,keyframes:[...t].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=calcGeneratorDuration(u));const{calculatedDuration:m}=u,p=m+n,b=p*(s+1)-n;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:m,resolvedDuration:p,totalDuration:b}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,i=!1){const{resolved:s}=this;if(!s){const{keyframes:V}=this.options;return{done:!0,value:V[V.length-1]}}const{finalKeyframe:n,generator:a,mirroredGenerator:o,mapPercentToKeyframes:f,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:m}=s;if(this.startTime===null)return a.next(0);const{delay:p,repeat:b,repeatType:x,repeatDelay:y,onUpdate:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),i?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-p*(this.speed>=0?1:-1),C=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let d=this.currentTime,P=a;if(b){const V=Math.min(this.currentTime,u)/m;let F=Math.floor(V),$=V%1;!$&&V>=1&&($=1),$===1&&F--,F=Math.min(F,b+1),!!(F%2)&&(x==="reverse"?($=1-$,y&&($-=y/m)):x==="mirror"&&(P=o)),d=clamp(0,1,$)*m}const A=C?{done:!1,value:l[0]}:P.next(d);f&&(A.value=f(A.value));let{done:E}=A;!C&&c!==null&&(E=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return R&&n!==void 0&&(A.value=getFinalKeyframe(l,this.options,n)),T&&T(A.value),R&&this.finish(),A}get duration(){const{resolved:t}=this;return t?millisecondsToSeconds(t.calculatedDuration):0}get time(){return millisecondsToSeconds(this.currentTime)}set time(t){t=secondsToMilliseconds(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const i=this.playbackSpeed!==t;this.playbackSpeed=t,i&&(this.time=millisecondsToSeconds(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=frameloopDriver,onPlay:i,startTime:s}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),i&&i();const n=this.driver.now();this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=n):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const acceleratedValues=new Set(["opacity","clipPath","filter","transform"]),isBezierDefinition=e=>Array.isArray(e)&&typeof e[0]=="number";function isWaapiSupportedEasing(e){return!!(!e||typeof e=="string"&&e in supportedWaapiEasing||isBezierDefinition(e)||Array.isArray(e)&&e.every(isWaapiSupportedEasing))}const cubicBezierAsString=([e,t,i,s])=>`cubic-bezier(${e}, ${t}, ${i}, ${s})`,supportedWaapiEasing={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};function mapEasingToNativeEasingWithDefault(e){return mapEasingToNativeEasing(e)||supportedWaapiEasing.easeOut}function mapEasingToNativeEasing(e){if(e)return isBezierDefinition(e)?cubicBezierAsString(e):Array.isArray(e)?e.map(mapEasingToNativeEasingWithDefault):supportedWaapiEasing[e]}function animateStyle(e,t,i,{delay:s=0,duration:n=300,repeat:a=0,repeatType:o="loop",ease:f,times:l}={}){const c={[t]:i};l&&(c.offset=l);const u=mapEasingToNativeEasing(f);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:s,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:o==="reverse"?"alternate":"normal"})}const supportsWaapi=memo(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),sampleDelta=10,maxDuration=2e4;function requiresPregeneratedKeyframes(e){return e.type==="spring"||!isWaapiSupportedEasing(e.ease)}function pregenerateKeyframes(e,t){const i=new MainThreadAnimation({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:e[0]};const n=[];let a=0;for(;!s.done&&a<maxDuration;)s=i.sample(a),n.push(s.value),a+=sampleDelta;return{times:void 0,keyframes:n,duration:a-sampleDelta,ease:"linear"}}class AcceleratedAnimation extends BaseAnimation{constructor(t){super(t);const{name:i,motionValue:s,element:n,keyframes:a}=this.options;this.resolver=new DOMKeyframesResolver(a,(o,f)=>this.onKeyframesResolved(o,f),i,s,n),this.resolver.scheduleResolve()}initPlayback(t,i){var s;let{duration:n=300,times:a,ease:o,type:f,motionValue:l,name:c,startTime:u}=this.options;if(!(!((s=l.owner)===null||s===void 0)&&s.current))return!1;if(requiresPregeneratedKeyframes(this.options)){const{onComplete:p,onUpdate:b,motionValue:x,element:y,...T}=this.options,g=pregenerateKeyframes(t,T);t=g.keyframes,t.length===1&&(t[1]=t[0]),n=g.duration,a=g.times,o=g.ease,f="keyframes"}const m=animateStyle(l.owner.current,c,t,{...this.options,duration:n,times:a,ease:o});return m.startTime=u??this.calcStartTime(),this.pendingTimeline?(m.timeline=this.pendingTimeline,this.pendingTimeline=void 0):m.onfinish=()=>{const{onComplete:p}=this.options;l.set(getFinalKeyframe(t,this.options,i)),p&&p(),this.cancel(),this.resolveFinishedPromise()},{animation:m,duration:n,times:a,type:f,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:i}=t;return millisecondsToSeconds(i)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:i}=t;return millisecondsToSeconds(i.currentTime||0)}set time(t){const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.currentTime=secondsToMilliseconds(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:i}=t;return i.playbackRate}set speed(t){const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:i}=t;return i.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:i}=t;return i.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:i}=this;if(!i)return noop;const{animation:s}=i;s.timeline=t,s.onfinish=null}return noop}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:i}=t;i.playState==="finished"&&this.updateFinishedPromise(),i.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:i}=t;i.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:i,keyframes:s,duration:n,type:a,ease:o,times:f}=t;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:c,onUpdate:u,onComplete:m,element:p,...b}=this.options,x=new MainThreadAnimation({...b,keyframes:s,duration:n,type:a,ease:o,times:f,isGenerator:!0}),y=secondsToMilliseconds(this.time);c.setWithVelocity(x.sample(y-sampleDelta).value,x.sample(y).value,sampleDelta)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:i,name:s,repeatDelay:n,repeatType:a,damping:o,type:f}=t;return supportsWaapi()&&s&&acceleratedValues.has(s)&&i&&i.owner&&i.owner.current instanceof HTMLElement&&!i.owner.getProps().onUpdate&&!n&&a!=="mirror"&&o!==0&&f!=="inertia"}}function observeTimeline(e,t){let i;const s=()=>{const{currentTime:n}=t,o=(n===null?0:n.value)/100;i!==o&&e(o),i=o};return frame.update(s,!0),()=>cancelFrame(s)}const supportsScrollTimeline=memo(()=>window.ScrollTimeline!==void 0);class GroupPlaybackControls{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,i){return Promise.all(this.animations).then(t).catch(i)}getAll(t){return this.animations[0][t]}setAll(t,i){for(let s=0;s<this.animations.length;s++)this.animations[s][t]=i}attachTimeline(t){const i=this.animations.map(s=>{if(supportsScrollTimeline()&&s.attachTimeline)s.attachTimeline(t);else return s.pause(),observeTimeline(n=>{s.time=s.duration*n},t)});return()=>{i.forEach((s,n)=>{s&&s(),this.animations[n].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let i=0;i<this.animations.length;i++)t=Math.max(t,this.animations[i].duration);return t}runAll(t){this.animations.forEach(i=>i[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const animateMotionValue=(e,t,i,s={},n,a,o)=>f=>{const l=getValueTransition(s,e)||{},c=l.delay||s.delay||0;let{elapsed:u=0}=s;u=u-secondsToMilliseconds(c);let m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:b=>{t.set(b),l.onUpdate&&l.onUpdate(b)},onComplete:()=>{f(),l.onComplete&&l.onComplete(),o&&o()},onStop:o,name:e,motionValue:t,element:a?void 0:n};isTransitionDefined(l)||(m={...m,...getDefaultTransition(e,m)}),m.duration&&(m.duration=secondsToMilliseconds(m.duration)),m.repeatDelay&&(m.repeatDelay=secondsToMilliseconds(m.repeatDelay)),m.from!==void 0&&(m.keyframes[0]=m.from);let p=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(m.duration=0,m.delay===0&&(p=!0)),p&&!a&&t.get()!==void 0){const b=getFinalKeyframe(m.keyframes,l);if(b!==void 0)return frame.update(()=>{m.onUpdate(b),m.onComplete()}),new GroupPlaybackControls([])}return!a&&AcceleratedAnimation.supports(m)?new AcceleratedAnimation(m):new MainThreadAnimation(m)},isCustomValue=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),resolveFinalValueInKeyframes=e=>isKeyframesTarget(e)?e[e.length-1]||0:e;function addUniqueItem(e,t){e.indexOf(t)===-1&&e.push(t)}function removeItem(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}class SubscriptionManager{constructor(){this.subscriptions=[]}add(t){return addUniqueItem(this.subscriptions,t),()=>removeItem(this.subscriptions,t)}notify(t,i,s){const n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,i,s);else for(let a=0;a<n;a++){const o=this.subscriptions[a];o&&o(t,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const MAX_VELOCITY_DELTA=30,isFloat=e=>!isNaN(parseFloat(e));class MotionValue{constructor(t,i={}){this.version="11.5.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,n=!0)=>{const a=time.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=i.owner}setCurrent(t){this.current=t,this.updatedAt=time.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=isFloat(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&warnOnce(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new SubscriptionManager);const s=this.events[t].add(i);return t==="change"?()=>{s(),frame.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,i){this.passiveEffect=t,this.stopPassiveEffect=i}set(t,i=!0){!i||!this.passiveEffect?this.updateAndNotify(t,i):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-s}jump(t,i=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=time.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>MAX_VELOCITY_DELTA)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,MAX_VELOCITY_DELTA);return velocityPerSecond(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(t){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=t(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function motionValue(e,t){return new MotionValue(e,t)}function setMotionValue(e,t,i){e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,motionValue(i))}function setTarget(e,t){const i=resolveVariant(e,t);let{transitionEnd:s={},transition:n={},...a}=i||{};a={...a,...s};for(const o in a){const f=resolveFinalValueInKeyframes(a[o]);setMotionValue(e,o,f)}}const camelToDash=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),optimizedAppearDataId="framerAppearId",optimizedAppearDataAttribute="data-"+camelToDash(optimizedAppearDataId);function getOptimisedAppearId(e){return e.props[optimizedAppearDataAttribute]}function getWillChangeName(e){if(transformProps.has(e))return"transform";if(acceleratedValues.has(e))return camelToDash(e)}class WillChangeMotionValue extends MotionValue{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const i=getWillChangeName(t);if(!i)return;const s=this.counts.get(i)||0;this.counts.set(i,s+1),s===0&&(this.output.push(i),this.update());let n=!1;return()=>{if(n)return;n=!0;const a=this.counts.get(i)-1;this.counts.set(i,a),a===0&&(removeItem(this.output,i),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}const isMotionValue=e=>!!(e&&e.getVelocity);function isWillChangeMotionValue(e){return!!(isMotionValue(e)&&e.add)}function addValueToWillChange(e,t){var i;if(!e.applyWillChange)return;let s=e.getValue("willChange");if(!s&&!(!((i=e.props.style)===null||i===void 0)&&i.willChange)&&(s=new WillChangeMotionValue("auto"),e.addValue("willChange",s)),isWillChangeMotionValue(s))return s.add(t)}function shouldBlockAnimation({protectedKeys:e,needsAnimating:t},i){const s=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,s}function animateTarget(e,t,{delay:i=0,transitionOverride:s,type:n}={}){var a;let{transition:o=e.getDefaultTransition(),transitionEnd:f,...l}=t;s&&(o=s);const c=[],u=n&&e.animationState&&e.animationState.getState()[n];for(const m in l){const p=e.getValue(m,(a=e.latestValues[m])!==null&&a!==void 0?a:null),b=l[m];if(b===void 0||u&&shouldBlockAnimation(u,m))continue;const x={delay:i,...getValueTransition(o||{},m)};let y=!1;if(window.MotionHandoffAnimation){const g=getOptimisedAppearId(e);if(g){const C=window.MotionHandoffAnimation(g,m,frame);C!==null&&(x.startTime=C,y=!0)}}p.start(animateMotionValue(m,p,b,e.shouldReduceMotion&&transformProps.has(m)?{type:!1}:x,e,y,addValueToWillChange(e,m)));const T=p.animation;T&&c.push(T)}return f&&Promise.all(c).then(()=>{frame.update(()=>{f&&setTarget(e,f)})}),c}function animateVariant(e,t,i={}){var s;const n=resolveVariant(e,t,i.type==="exit"?(s=e.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(a=i.transitionOverride);const o=n?()=>Promise.all(animateTarget(e,n,i)):()=>Promise.resolve(),f=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:m,staggerDirection:p}=a;return animateChildren(e,t,u+c,m,p,i)}:()=>Promise.resolve(),{when:l}=a;if(l){const[c,u]=l==="beforeChildren"?[o,f]:[f,o];return c().then(()=>u())}else return Promise.all([o(),f(i.delay)])}function animateChildren(e,t,i=0,s=0,n=1,a){const o=[],f=(e.variantChildren.size-1)*s,l=n===1?(c=0)=>c*s:(c=0)=>f-c*s;return Array.from(e.variantChildren).sort(sortByTreeOrder).forEach((c,u)=>{c.notify("AnimationStart",t),o.push(animateVariant(c,t,{...a,delay:i+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(o)}function sortByTreeOrder(e,t){return e.sortNodePosition(t)}function animateVisualElement(e,t,i={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const n=t.map(a=>animateVariant(e,a,i));s=Promise.all(n)}else if(typeof t=="string")s=animateVariant(e,t,i);else{const n=typeof t=="function"?resolveVariant(e,t,i.custom):t;s=Promise.all(animateTarget(e,n,i))}return s.then(()=>{e.notify("AnimationComplete",t)})}const numVariantProps=variantProps.length;function getVariantContext(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?getVariantContext(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const t={};for(let i=0;i<numVariantProps;i++){const s=variantProps[i],n=e.props[s];(isVariantLabel(n)||n===!1)&&(t[s]=n)}return t}const reversePriorityOrder=[...variantPriorityOrder].reverse(),numAnimationTypes=variantPriorityOrder.length;function animateList(e){return t=>Promise.all(t.map(({animation:i,options:s})=>animateVisualElement(e,i,s)))}function createAnimationState(e){let t=animateList(e),i=createState(),s=!0;const n=l=>(c,u)=>{var m;const p=resolveVariant(e,u,l==="exit"?(m=e.presenceContext)===null||m===void 0?void 0:m.custom:void 0);if(p){const{transition:b,transitionEnd:x,...y}=p;c={...c,...y,...x}}return c};function a(l){t=l(e)}function o(l){const{props:c}=e,u=getVariantContext(e.parent)||{},m=[],p=new Set;let b={},x=1/0;for(let T=0;T<numAnimationTypes;T++){const g=reversePriorityOrder[T],C=i[g],d=c[g]!==void 0?c[g]:u[g],P=isVariantLabel(d),A=g===l?C.isActive:null;A===!1&&(x=T);let E=d===u[g]&&d!==c[g]&&P;if(E&&s&&e.manuallyAnimateOnMount&&(E=!1),C.protectedKeys={...b},!C.isActive&&A===null||!d&&!C.prevProp||isAnimationControls(d)||typeof d=="boolean")continue;const R=checkVariantsDidChange(C.prevProp,d);let V=R||g===l&&C.isActive&&!E&&P||T>x&&P,F=!1;const $=Array.isArray(d)?d:[d];let Z=$.reduce(n(g),{});A===!1&&(Z={});const{prevResolvedValues:B={}}=C,X={...B,...Z},q=_=>{V=!0,p.has(_)&&(F=!0,p.delete(_)),C.needsAnimating[_]=!0;const S=e.getValue(_);S&&(S.liveStyle=!1)};for(const _ in X){const S=Z[_],M=B[_];if(b.hasOwnProperty(_))continue;let I=!1;isKeyframesTarget(S)&&isKeyframesTarget(M)?I=!shallowCompare(S,M):I=S!==M,I?S!=null?q(_):p.add(_):S!==void 0&&p.has(_)?q(_):C.protectedKeys[_]=!0}C.prevProp=d,C.prevResolvedValues=Z,C.isActive&&(b={...b,...Z}),s&&e.blockInitialAnimation&&(V=!1),V&&(!(E&&R)||F)&&m.push(...$.map(_=>({animation:_,options:{type:g}})))}if(p.size){const T={};p.forEach(g=>{const C=e.getBaseTarget(g),d=e.getValue(g);d&&(d.liveStyle=!0),T[g]=C??null}),m.push({animation:T})}let y=!!m.length;return s&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),s=!1,y?t(m):Promise.resolve()}function f(l,c){var u;if(i[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(p=>{var b;return(b=p.animationState)===null||b===void 0?void 0:b.setActive(l,c)}),i[l].isActive=c;const m=o(l);for(const p in i)i[p].protectedKeys={};return m}return{animateChanges:o,setActive:f,setAnimateFunction:a,getState:()=>i,reset:()=>{i=createState(),s=!0}}}function checkVariantsDidChange(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!shallowCompare(t,e):!1}function createTypeState(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function createState(){return{animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()}}class Feature{constructor(t){this.isMounted=!1,this.node=t}update(){}}class AnimationFeature extends Feature{constructor(t){super(t),t.animationState||(t.animationState=createAnimationState(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();isAnimationControls(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:i}=this.node.prevProps||{};t!==i&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let id$1=0;class ExitAnimationFeature extends Feature{constructor(){super(...arguments),this.id=id$1++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;const n=this.node.animationState.setActive("exit",!t);i&&!t&&n.then(()=>i(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const animations={animation:{Feature:AnimationFeature},exit:{Feature:ExitAnimationFeature}},isPrimaryPointer=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function extractEventInfo(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const addPointerInfo=e=>t=>isPrimaryPointer(t)&&e(t,extractEventInfo(t));function addDomEvent(e,t,i,s={passive:!0}){return e.addEventListener(t,i,s),()=>e.removeEventListener(t,i)}function addPointerEvent(e,t,i,s){return addDomEvent(e,t,addPointerInfo(i),s)}const distance=(e,t)=>Math.abs(e-t);function distance2D(e,t){const i=distance(e.x,t.x),s=distance(e.y,t.y);return Math.sqrt(i**2+s**2)}class PanSession{constructor(t,i,{transformPagePoint:s,contextWindow:n,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=getPanInfo(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,b=distance2D(m.offset,{x:0,y:0})>=3;if(!p&&!b)return;const{point:x}=m,{timestamp:y}=frameData;this.history.push({...x,timestamp:y});const{onStart:T,onMove:g}=this.handlers;p||(T&&T(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,m)},this.handlePointerMove=(m,p)=>{this.lastMoveEvent=m,this.lastMoveEventInfo=transformPoint(p,this.transformPagePoint),frame.update(this.updatePoint,!0)},this.handlePointerUp=(m,p)=>{this.end();const{onEnd:b,onSessionEnd:x,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=getPanInfo(m.type==="pointercancel"?this.lastMoveEventInfo:transformPoint(p,this.transformPagePoint),this.history);this.startEvent&&b&&b(m,T),x&&x(m,T)},!isPrimaryPointer(t))return;this.dragSnapToOrigin=a,this.handlers=i,this.transformPagePoint=s,this.contextWindow=n||window;const o=extractEventInfo(t),f=transformPoint(o,this.transformPagePoint),{point:l}=f,{timestamp:c}=frameData;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=i;u&&u(t,getPanInfo(f,this.history)),this.removeListeners=pipe(addPointerEvent(this.contextWindow,"pointermove",this.handlePointerMove),addPointerEvent(this.contextWindow,"pointerup",this.handlePointerUp),addPointerEvent(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),cancelFrame(this.updatePoint)}}function transformPoint(e,t){return t?{point:t(e.point)}:e}function subtractPoint(e,t){return{x:e.x-t.x,y:e.y-t.y}}function getPanInfo({point:e},t){return{point:e,delta:subtractPoint(e,lastDevicePoint(t)),offset:subtractPoint(e,startDevicePoint(t)),velocity:getVelocity(t,.1)}}function startDevicePoint(e){return e[0]}function lastDevicePoint(e){return e[e.length-1]}function getVelocity(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,s=null;const n=lastDevicePoint(e);for(;i>=0&&(s=e[i],!(n.timestamp-s.timestamp>secondsToMilliseconds(t)));)i--;if(!s)return{x:0,y:0};const a=millisecondsToSeconds(n.timestamp-s.timestamp);if(a===0)return{x:0,y:0};const o={x:(n.x-s.x)/a,y:(n.y-s.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function createLock(e){let t=null;return()=>{const i=()=>{t=null};return t===null?(t=e,i):!1}}const globalHorizontalLock=createLock("dragHorizontal"),globalVerticalLock=createLock("dragVertical");function getGlobalLock(e){let t=!1;if(e==="y")t=globalVerticalLock();else if(e==="x")t=globalHorizontalLock();else{const i=globalHorizontalLock(),s=globalVerticalLock();i&&s?t=()=>{i(),s()}:(i&&i(),s&&s())}return t}function isDragActive(){const e=getGlobalLock(!0);return e?(e(),!1):!0}function isRefObject(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const SCALE_PRECISION=1e-4,SCALE_MIN=1-SCALE_PRECISION,SCALE_MAX=1+SCALE_PRECISION,TRANSLATE_PRECISION=.01,TRANSLATE_MIN=0-TRANSLATE_PRECISION,TRANSLATE_MAX=0+TRANSLATE_PRECISION;function calcLength(e){return e.max-e.min}function isNear(e,t,i){return Math.abs(e-t)<=i}function calcAxisDelta(e,t,i,s=.5){e.origin=s,e.originPoint=mixNumber$1(t.min,t.max,e.origin),e.scale=calcLength(i)/calcLength(t),e.translate=mixNumber$1(i.min,i.max,e.origin)-e.originPoint,(e.scale>=SCALE_MIN&&e.scale<=SCALE_MAX||isNaN(e.scale))&&(e.scale=1),(e.translate>=TRANSLATE_MIN&&e.translate<=TRANSLATE_MAX||isNaN(e.translate))&&(e.translate=0)}function calcBoxDelta(e,t,i,s){calcAxisDelta(e.x,t.x,i.x,s?s.originX:void 0),calcAxisDelta(e.y,t.y,i.y,s?s.originY:void 0)}function calcRelativeAxis(e,t,i){e.min=i.min+t.min,e.max=e.min+calcLength(t)}function calcRelativeBox(e,t,i){calcRelativeAxis(e.x,t.x,i.x),calcRelativeAxis(e.y,t.y,i.y)}function calcRelativeAxisPosition(e,t,i){e.min=t.min-i.min,e.max=e.min+calcLength(t)}function calcRelativePosition(e,t,i){calcRelativeAxisPosition(e.x,t.x,i.x),calcRelativeAxisPosition(e.y,t.y,i.y)}function applyConstraints(e,{min:t,max:i},s){return t!==void 0&&e<t?e=s?mixNumber$1(t,e,s.min):Math.max(e,t):i!==void 0&&e>i&&(e=s?mixNumber$1(i,e,s.max):Math.min(e,i)),e}function calcRelativeAxisConstraints(e,t,i){return{min:t!==void 0?e.min+t:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function calcRelativeConstraints(e,{top:t,left:i,bottom:s,right:n}){return{x:calcRelativeAxisConstraints(e.x,i,n),y:calcRelativeAxisConstraints(e.y,t,s)}}function calcViewportAxisConstraints(e,t){let i=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,s]=[s,i]),{min:i,max:s}}function calcViewportConstraints(e,t){return{x:calcViewportAxisConstraints(e.x,t.x),y:calcViewportAxisConstraints(e.y,t.y)}}function calcOrigin$1(e,t){let i=.5;const s=calcLength(e),n=calcLength(t);return n>s?i=progress(t.min,t.max-s,e.min):s>n&&(i=progress(e.min,e.max-n,t.min)),clamp(0,1,i)}function rebaseAxisConstraints(e,t){const i={};return t.min!==void 0&&(i.min=t.min-e.min),t.max!==void 0&&(i.max=t.max-e.min),i}const defaultElastic=.35;function resolveDragElastic(e=defaultElastic){return e===!1?e=0:e===!0&&(e=defaultElastic),{x:resolveAxisElastic(e,"left","right"),y:resolveAxisElastic(e,"top","bottom")}}function resolveAxisElastic(e,t,i){return{min:resolvePointElastic(e,t),max:resolvePointElastic(e,i)}}function resolvePointElastic(e,t){return typeof e=="number"?e:e[t]||0}const createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()});function eachAxis(e){return[e("x"),e("y")]}function convertBoundingBoxToBox({top:e,left:t,right:i,bottom:s}){return{x:{min:t,max:i},y:{min:e,max:s}}}function convertBoxToBoundingBox({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function transformBoxPoints(e,t){if(!t)return e;const i=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function isIdentityScale(e){return e===void 0||e===1}function hasScale({scale:e,scaleX:t,scaleY:i}){return!isIdentityScale(e)||!isIdentityScale(t)||!isIdentityScale(i)}function hasTransform(e){return hasScale(e)||has2DTranslate(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function has2DTranslate(e){return is2DTranslate(e.x)||is2DTranslate(e.y)}function is2DTranslate(e){return e&&e!=="0%"}function scalePoint(e,t,i){const s=e-i,n=t*s;return i+n}function applyPointDelta(e,t,i,s,n){return n!==void 0&&(e=scalePoint(e,n,s)),scalePoint(e,i,s)+t}function applyAxisDelta(e,t=0,i=1,s,n){e.min=applyPointDelta(e.min,t,i,s,n),e.max=applyPointDelta(e.max,t,i,s,n)}function applyBoxDelta(e,{x:t,y:i}){applyAxisDelta(e.x,t.translate,t.scale,t.originPoint),applyAxisDelta(e.y,i.translate,i.scale,i.originPoint)}const TREE_SCALE_SNAP_MIN=.999999999999,TREE_SCALE_SNAP_MAX=1.0000000000001;function applyTreeDeltas(e,t,i,s=!1){const n=i.length;if(!n)return;t.x=t.y=1;let a,o;for(let f=0;f<n;f++){a=i[f],o=a.projectionDelta;const{visualElement:l}=a.options;l&&l.props.style&&l.props.style.display==="contents"||(s&&a.options.layoutScroll&&a.scroll&&a!==a.root&&transformBox(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,applyBoxDelta(e,o)),s&&hasTransform(a.latestValues)&&transformBox(e,a.latestValues))}t.x<TREE_SCALE_SNAP_MAX&&t.x>TREE_SCALE_SNAP_MIN&&(t.x=1),t.y<TREE_SCALE_SNAP_MAX&&t.y>TREE_SCALE_SNAP_MIN&&(t.y=1)}function translateAxis(e,t){e.min=e.min+t,e.max=e.max+t}function transformAxis(e,t,i,s,n=.5){const a=mixNumber$1(e.min,e.max,n);applyAxisDelta(e,t,i,a,s)}function transformBox(e,t){transformAxis(e.x,t.x,t.scaleX,t.scale,t.originX),transformAxis(e.y,t.y,t.scaleY,t.scale,t.originY)}function measureViewportBox(e,t){return convertBoundingBoxToBox(transformBoxPoints(e.getBoundingClientRect(),t))}function measurePageBox(e,t,i){const s=measureViewportBox(e,i),{scroll:n}=t;return n&&(translateAxis(s.x,n.offset.x),translateAxis(s.y,n.offset.y)),s}const getContextWindow=({current:e})=>e?e.ownerDocument.defaultView:null,elementDragControls=new WeakMap;class VisualElementDragControls{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=createBox(),this.visualElement=t}start(t,{snapToCursor:i=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const n=u=>{const{dragSnapToOrigin:m}=this.getProps();m?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(extractEventInfo(u,"page").point)},a=(u,m)=>{var p;const{drag:b,dragPropagation:x,onDragStart:y}=this.getProps();if(b&&!x&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=getGlobalLock(b),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eachAxis(g=>{let C=this.getAxisMotionValue(g).get()||0;if(percent.test(C)){const{projection:d}=this.visualElement;if(d&&d.layout){const P=d.layout.layoutBox[g];P&&(C=calcLength(P)*(parseFloat(C)/100))}}this.originPoint[g]=C}),y&&frame.postRender(()=>y(u,m)),(p=this.removeWillChange)===null||p===void 0||p.call(this),this.removeWillChange=addValueToWillChange(this.visualElement,"transform");const{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},o=(u,m)=>{const{dragPropagation:p,dragDirectionLock:b,onDirectionLock:x,onDrag:y}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:T}=m;if(b&&this.currentDirection===null){this.currentDirection=getCurrentDirection(T),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",m.point,T),this.updateAxis("y",m.point,T),this.visualElement.render(),y&&y(u,m)},f=(u,m)=>this.stop(u,m),l=()=>eachAxis(u=>{var m;return this.getAnimationState(u)==="paused"&&((m=this.getAxisMotionValue(u).animation)===null||m===void 0?void 0:m.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new PanSession(t,{onSessionStart:n,onStart:a,onMove:o,onSessionEnd:f,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:getContextWindow(this.visualElement)})}stop(t,i){var s;(s=this.removeWillChange)===null||s===void 0||s.call(this);const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:a}=i;this.startAnimation(a);const{onDragEnd:o}=this.getProps();o&&frame.postRender(()=>o(t,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:i}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(t,i,s){const{drag:n}=this.getProps();if(!s||!shouldDrag(t,n,this.currentDirection))return;const a=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=applyConstraints(o,this.constraints[t],this.elastic[t])),a.set(o)}resolveConstraints(){var t;const{dragConstraints:i,dragElastic:s}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;i&&isRefObject(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&n?this.constraints=calcRelativeConstraints(n.layoutBox,i):this.constraints=!1,this.elastic=resolveDragElastic(s),a!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=rebaseAxisConstraints(n.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!isRefObject(t))return!1;const s=t.current;invariant(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const a=measurePageBox(s,n.root,this.visualElement.getTransformPagePoint());let o=calcViewportConstraints(n.layout.layoutBox,a);if(i){const f=i(convertBoxToBoundingBox(o));this.hasMutatedConstraints=!!f,f&&(o=convertBoundingBoxToBox(f))}return o}startAnimation(t){const{drag:i,dragMomentum:s,dragElastic:n,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:f}=this.getProps(),l=this.constraints||{},c=eachAxis(u=>{if(!shouldDrag(u,i,this.currentDirection))return;let m=l&&l[u]||{};o&&(m={min:0,max:0});const p=n?200:1e6,b=n?40:1e7,x={type:"inertia",velocity:s?t[u]:0,bounceStiffness:p,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...a,...m};return this.startAxisValueAnimation(u,x)});return Promise.all(c).then(f)}startAxisValueAnimation(t,i){const s=this.getAxisMotionValue(t);return s.start(animateMotionValue(t,s,0,i,this.visualElement,!1,addValueToWillChange(this.visualElement,t)))}stopAnimation(){eachAxis(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){eachAxis(t=>{var i;return(i=this.getAxisMotionValue(t).animation)===null||i===void 0?void 0:i.pause()})}getAnimationState(t){var i;return(i=this.getAxisMotionValue(t).animation)===null||i===void 0?void 0:i.state}getAxisMotionValue(t){const i=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps(),n=s[i];return n||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){eachAxis(i=>{const{drag:s}=this.getProps();if(!shouldDrag(i,s,this.currentDirection))return;const{projection:n}=this.visualElement,a=this.getAxisMotionValue(i);if(n&&n.layout){const{min:o,max:f}=n.layout.layoutBox[i];a.set(t[i]-mixNumber$1(o,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!isRefObject(i)||!s||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};eachAxis(o=>{const f=this.getAxisMotionValue(o);if(f&&this.constraints!==!1){const l=f.get();n[o]=calcOrigin$1({min:l,max:l},this.constraints[o])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),eachAxis(o=>{if(!shouldDrag(o,t,null))return;const f=this.getAxisMotionValue(o),{min:l,max:c}=this.constraints[o];f.set(mixNumber$1(l,c,n[o]))})}addListeners(){if(!this.visualElement.current)return;elementDragControls.set(this.visualElement,this);const t=this.visualElement.current,i=addPointerEvent(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),s=()=>{const{dragConstraints:l}=this.getProps();isRefObject(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,a=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),frame.read(s);const o=addDomEvent(window,"resize",()=>this.scalePositionWithinConstraints()),f=n.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(eachAxis(u=>{const m=this.getAxisMotionValue(u);m&&(this.originPoint[u]+=l[u].translate,m.set(m.get()+l[u].translate))}),this.visualElement.render())});return()=>{o(),i(),a(),f&&f()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:n=!1,dragConstraints:a=!1,dragElastic:o=defaultElastic,dragMomentum:f=!0}=t;return{...t,drag:i,dragDirectionLock:s,dragPropagation:n,dragConstraints:a,dragElastic:o,dragMomentum:f}}}function shouldDrag(e,t,i){return(t===!0||t===e)&&(i===null||i===e)}function getCurrentDirection(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}class DragGesture extends Feature{constructor(t){super(t),this.removeGroupControls=noop,this.removeListeners=noop,this.controls=new VisualElementDragControls(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||noop}unmount(){this.removeGroupControls(),this.removeListeners()}}const asyncHandler=e=>(t,i)=>{e&&frame.postRender(()=>e(t,i))};class PanGesture extends Feature{constructor(){super(...arguments),this.removePointerDownListener=noop}onPointerDown(t){this.session=new PanSession(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:getContextWindow(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:i,onPan:s,onPanEnd:n}=this.node.getProps();return{onSessionStart:asyncHandler(t),onStart:asyncHandler(i),onMove:s,onEnd:(a,o)=>{delete this.session,n&&frame.postRender(()=>n(a,o))}}}mount(){this.removePointerDownListener=addPointerEvent(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const PresenceContext=React.createContext(null);function usePresence(){const e=React.useContext(PresenceContext);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:i,register:s}=e,n=React.useId();React.useEffect(()=>s(n),[]);const a=React.useCallback(()=>i&&i(n),[n,i]);return!t&&i?[!1,a]:[!0]}const LayoutGroupContext=React.createContext({}),SwitchLayoutGroupContext=React.createContext({}),globalProjectionState={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function pixelsToPercent(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const correctBorderRadius={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(px.test(e))e=parseFloat(e);else return e;const i=pixelsToPercent(e,t.target.x),s=pixelsToPercent(e,t.target.y);return`${i}% ${s}%`}},correctBoxShadow={correct:(e,{treeScale:t,projectionDelta:i})=>{const s=e,n=complex.parse(e);if(n.length>5)return s;const a=complex.createTransformer(e),o=typeof n[0]!="number"?1:0,f=i.x.scale*t.x,l=i.y.scale*t.y;n[0+o]/=f,n[1+o]/=l;const c=mixNumber$1(f,l,.5);return typeof n[2+o]=="number"&&(n[2+o]/=c),typeof n[3+o]=="number"&&(n[3+o]/=c),a(n)}},scaleCorrectors={};function addScaleCorrector(e){Object.assign(scaleCorrectors,e)}const{schedule:microtask,cancel:cancelMicrotask}=createRenderBatcher(queueMicrotask,!1);class MeasureLayoutWithContext extends React.Component{componentDidMount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:s,layoutId:n}=this.props,{projection:a}=t;addScaleCorrector(defaultScaleCorrectors),a&&(i.group&&i.group.add(a),s&&s.register&&n&&s.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:i,visualElement:s,drag:n,isPresent:a}=this.props,o=s.projection;return o&&(o.isPresent=a,n||t.layoutDependency!==i||i===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?o.promote():o.relegate()||frame.postRender(()=>{const f=o.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(n),s&&s.deregister&&s.deregister(n))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function MeasureLayout(e){const[t,i]=usePresence(),s=React.useContext(LayoutGroupContext);return jsxRuntime.jsx(MeasureLayoutWithContext,{...e,layoutGroup:s,switchLayoutGroup:React.useContext(SwitchLayoutGroupContext),isPresent:t,safeToRemove:i})}const defaultScaleCorrectors={borderRadius:{...correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:correctBorderRadius,borderTopRightRadius:correctBorderRadius,borderBottomLeftRadius:correctBorderRadius,borderBottomRightRadius:correctBorderRadius,boxShadow:correctBoxShadow},borders=["TopLeft","TopRight","BottomLeft","BottomRight"],numBorders=borders.length,asNumber=e=>typeof e=="string"?parseFloat(e):e,isPx=e=>typeof e=="number"||px.test(e);function mixValues(e,t,i,s,n,a){n?(e.opacity=mixNumber$1(0,i.opacity!==void 0?i.opacity:1,easeCrossfadeIn(s)),e.opacityExit=mixNumber$1(t.opacity!==void 0?t.opacity:1,0,easeCrossfadeOut(s))):a&&(e.opacity=mixNumber$1(t.opacity!==void 0?t.opacity:1,i.opacity!==void 0?i.opacity:1,s));for(let o=0;o<numBorders;o++){const f=`border${borders[o]}Radius`;let l=getRadius(t,f),c=getRadius(i,f);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||isPx(l)===isPx(c)?(e[f]=Math.max(mixNumber$1(asNumber(l),asNumber(c),s),0),(percent.test(c)||percent.test(l))&&(e[f]+="%")):e[f]=c}(t.rotate||i.rotate)&&(e.rotate=mixNumber$1(t.rotate||0,i.rotate||0,s))}function getRadius(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const easeCrossfadeIn=compress(0,.5,circOut),easeCrossfadeOut=compress(.5,.95,noop);function compress(e,t,i){return s=>s<e?0:s>t?1:i(progress(e,t,s))}function copyAxisInto(e,t){e.min=t.min,e.max=t.max}function copyBoxInto(e,t){copyAxisInto(e.x,t.x),copyAxisInto(e.y,t.y)}function copyAxisDeltaInto(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function removePointDelta(e,t,i,s,n){return e-=t,e=scalePoint(e,1/i,s),n!==void 0&&(e=scalePoint(e,1/n,s)),e}function removeAxisDelta(e,t=0,i=1,s=.5,n,a=e,o=e){if(percent.test(t)&&(t=parseFloat(t),t=mixNumber$1(o.min,o.max,t/100)-o.min),typeof t!="number")return;let f=mixNumber$1(a.min,a.max,s);e===a&&(f-=t),e.min=removePointDelta(e.min,t,i,f,n),e.max=removePointDelta(e.max,t,i,f,n)}function removeAxisTransforms(e,t,[i,s,n],a,o){removeAxisDelta(e,t[i],t[s],t[n],t.scale,a,o)}const xKeys=["x","scaleX","originX"],yKeys=["y","scaleY","originY"];function removeBoxTransforms(e,t,i,s){removeAxisTransforms(e.x,t,xKeys,i?i.x:void 0,s?s.x:void 0),removeAxisTransforms(e.y,t,yKeys,i?i.y:void 0,s?s.y:void 0)}function isAxisDeltaZero(e){return e.translate===0&&e.scale===1}function isDeltaZero(e){return isAxisDeltaZero(e.x)&&isAxisDeltaZero(e.y)}function axisEquals(e,t){return e.min===t.min&&e.max===t.max}function boxEquals(e,t){return axisEquals(e.x,t.x)&&axisEquals(e.y,t.y)}function axisEqualsRounded(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function boxEqualsRounded(e,t){return axisEqualsRounded(e.x,t.x)&&axisEqualsRounded(e.y,t.y)}function aspectRatio(e){return calcLength(e.x)/calcLength(e.y)}function axisDeltaEquals(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class NodeStack{constructor(){this.members=[]}add(t){addUniqueItem(this.members,t),t.scheduleRender()}remove(t){if(removeItem(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(t){const i=this.members.findIndex(n=>t===n);if(i===0)return!1;let s;for(let n=i;n>=0;n--){const a=this.members[n];if(a.isPresent!==!1){s=a;break}}return s?(this.promote(s),!0):!1}promote(t,i){const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.instance&&s.scheduleRender(),t.scheduleRender(),t.resumeFrom=s,i&&(t.resumeFrom.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:n}=t.options;n===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:i,resumingFrom:s}=t;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function buildProjectionTransform(e,t,i){let s="";const n=e.x.translate/t.x,a=e.y.translate/t.y,o=(i==null?void 0:i.z)||0;if((n||a||o)&&(s=`translate3d(${n}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),i){const{transformPerspective:c,rotate:u,rotateX:m,rotateY:p,skewX:b,skewY:x}=i;c&&(s=`perspective(${c}px) ${s}`),u&&(s+=`rotate(${u}deg) `),m&&(s+=`rotateX(${m}deg) `),p&&(s+=`rotateY(${p}deg) `),b&&(s+=`skewX(${b}deg) `),x&&(s+=`skewY(${x}deg) `)}const f=e.x.scale*t.x,l=e.y.scale*t.y;return(f!==1||l!==1)&&(s+=`scale(${f}, ${l})`),s||"none"}const compareByDepth=(e,t)=>e.depth-t.depth;class FlatTree{constructor(){this.children=[],this.isDirty=!1}add(t){addUniqueItem(this.children,t),this.isDirty=!0}remove(t){removeItem(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEach(t)}}function resolveMotionValue(e){const t=isMotionValue(e)?e.get():e;return isCustomValue(t)?t.toValue():t}function delay(e,t){const i=time.now(),s=({timestamp:n})=>{const a=n-i;a>=t&&(cancelFrame(s),e(a-t))};return frame.read(s,!0),()=>cancelFrame(s)}function isSVGElement(e){return e instanceof SVGElement&&e.tagName!=="svg"}function animateSingleValue(e,t,i){const s=isMotionValue(e)?e:motionValue(e);return s.start(animateMotionValue("",s,t,i)),s.animation}const metrics={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},isDebug=typeof window<"u"&&window.MotionDebug!==void 0,transformAxes=["","X","Y","Z"],hiddenVisibility={visibility:"hidden"},animationTarget=1e3;let id=0;function resetDistortingTransform(e,t,i,s){const{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),s&&(s[e]=0))}function cancelTreeOptimisedTransformAnimations(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const i=getOptimisedAppearId(t);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:n,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",frame,!(n||a))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(s)}function createProjectionNode$1({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:s,resetTransform:n}){return class{constructor(o={},f=t==null?void 0:t()){this.id=id++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,isDebug&&(metrics.totalNodes=metrics.resolvedTargetDeltas=metrics.recalculatedProjection=0),this.nodes.forEach(propagateDirtyNodes),this.nodes.forEach(resolveTargetDelta),this.nodes.forEach(calcProjection),this.nodes.forEach(cleanDirtyNodes),isDebug&&window.MotionDebug.record(metrics)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(o,f){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new SubscriptionManager),this.eventHandlers.get(o).add(f)}notifyListeners(o,...f){const l=this.eventHandlers.get(o);l&&l.notify(...f)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,f=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=isSVGElement(o),this.instance=o;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),f&&(c||l)&&(this.isLayoutDirty=!0),e){let m;const p=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=delay(p,250),globalProjectionState.hasAnimatedSinceResize&&(globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:p,hasRelativeTargetChanged:b,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||u.getDefaultTransition()||defaultLayoutTransition,{onLayoutAnimationStart:T,onLayoutAnimationComplete:g}=u.getProps(),C=!this.targetLayout||!boxEqualsRounded(this.targetLayout,x)||b,d=!p&&b;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||d||p&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,d);const P={...getValueTransition(y,"layout"),onPlay:T,onComplete:g};(u.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P)}else p||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,cancelFrame(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(resetSkewAndRotation),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const m=this.path[u];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}const{layoutId:f,layout:l}=this.options;if(f===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(clearMeasurements);return}this.isUpdating||this.nodes.forEach(clearIsLayoutDirty),this.isUpdating=!1,this.nodes.forEach(resetTransformStyle),this.nodes.forEach(updateLayout),this.nodes.forEach(notifyLayoutUpdate),this.clearAllSnapshots();const f=time.now();frameData.delta=clamp(0,1e3/60,f-frameData.timestamp),frameData.timestamp=f,frameData.isProcessing=!0,steps.update.process(frameData),steps.preRender.process(frameData),steps.render.process(frameData),frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(clearSnapshot),this.sharedNodes.forEach(removeLeadSnapshots)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=createBox(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(f=!1),f){const l=s(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!n)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!isDeltaZero(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;o&&(f||hasTransform(this.latestValues)||u)&&(n(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const f=this.measurePageBox();let l=this.removeElementScroll(f);return o&&(l=this.removeTransform(l)),roundBox(l),{animationId:this.root.animationId,measuredBox:f,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:f}=this.options;if(!f)return createBox();const l=f.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(checkNodeWasScrollRoot))){const{scroll:u}=this.root;u&&(translateAxis(l.x,u.offset.x),translateAxis(l.y,u.offset.y))}return l}removeElementScroll(o){var f;const l=createBox();if(copyBoxInto(l,o),!((f=this.scroll)===null||f===void 0)&&f.wasRoot)return l;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:m,options:p}=u;u!==this.root&&m&&p.layoutScroll&&(m.wasRoot&©BoxInto(l,o),translateAxis(l.x,m.offset.x),translateAxis(l.y,m.offset.y))}return l}applyTransform(o,f=!1){const l=createBox();copyBoxInto(l,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];!f&&u.options.layoutScroll&&u.scroll&&u!==u.root&&transformBox(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),hasTransform(u.latestValues)&&transformBox(l,u.latestValues)}return hasTransform(this.latestValues)&&transformBox(l,this.latestValues),l}removeTransform(o){const f=createBox();copyBoxInto(f,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!hasTransform(c.latestValues))continue;hasScale(c.latestValues)&&c.updateSnapshot();const u=createBox(),m=c.measurePageBox();copyBoxInto(u,m),removeBoxTransforms(f,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return hasTransform(this.latestValues)&&removeBoxTransforms(f,this.latestValues),f}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var f;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((f=this.parent)===null||f===void 0)&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:p}=this.options;if(!(!this.layout||!(m||p))){if(this.resolvedRelativeTargetAt=frameData.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=createBox(),this.targetWithTransforms=createBox()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),calcRelativeBox(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):copyBoxInto(this.target,this.layout.layoutBox),applyBoxDelta(this.target,this.targetDelta)):copyBoxInto(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,this.target,b.target),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}isDebug&&metrics.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||hasScale(this.parent.latestValues)||has2DTranslate(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const f=this.getLead(),l=!!this.resumingFrom||this!==f;let c=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===frameData.timestamp&&(c=!1),c)return;const{layout:u,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||m))return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,b=this.treeScale.y;applyTreeDeltas(this.layoutCorrected,this.treeScale,this.path,l),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=createBox());const{target:x}=f;if(!x){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(copyAxisDeltaInto(this.prevProjectionDelta.x,this.projectionDelta.x),copyAxisDeltaInto(this.prevProjectionDelta.y,this.projectionDelta.y)),calcBoxDelta(this.projectionDelta,this.layoutCorrected,x,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==b||!axisDeltaEquals(this.projectionDelta.x,this.prevProjectionDelta.x)||!axisDeltaEquals(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x)),isDebug&&metrics.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var f;if((f=this.options.visualElement)===null||f===void 0||f.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=createDelta(),this.projectionDelta=createDelta(),this.projectionDeltaWithTransform=createDelta()}setAnimationOrigin(o,f=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},m=createDelta();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const p=createBox(),b=l?l.source:void 0,x=this.layout?this.layout.source:void 0,y=b!==x,T=this.getStack(),g=!T||T.members.length<=1,C=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0;let d;this.mixTargetDelta=P=>{const A=P/1e3;mixAxisDelta(m.x,o.x,A),mixAxisDelta(m.y,o.y,A),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(calcRelativePosition(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),mixBox(this.relativeTarget,this.relativeTargetOrigin,p,A),d&&boxEquals(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d=createBox()),copyBoxInto(d,this.relativeTarget)),y&&(this.animationValues=u,mixValues(u,c,this.latestValues,A,C,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(cancelFrame(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=frame.update(()=>{globalProjectionState.hasAnimatedSinceResize=!0,this.currentAnimation=animateSingleValue(0,animationTarget,{...o,onUpdate:f=>{this.mixTargetDelta(f),o.onUpdate&&o.onUpdate(f)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(animationTarget),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:f,target:l,layout:c,latestValues:u}=o;if(!(!f||!l||!c)){if(this!==o&&this.layout&&c&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||createBox();const m=calcLength(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+m;const p=calcLength(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+p}copyBoxInto(f,l),transformBox(f,u),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,f,u)}}registerSharedNode(o,f){this.sharedNodes.has(o)||this.sharedNodes.set(o,new NodeStack),this.sharedNodes.get(o).add(f);const c=f.options.initialPromotionConfig;f.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(f):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:f}=this.options;return f?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:f}=this.options;return f?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:f,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let f=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(f=!0),!f)return;const c={};l.z&&resetDistortingTransform("z",o,c,this.animationValues);for(let u=0;u<transformAxes.length;u++)resetDistortingTransform(`rotate${transformAxes[u]}`,o,c,this.animationValues),resetDistortingTransform(`skew${transformAxes[u]}`,o,c,this.animationValues);o.render();for(const u in c)o.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);o.scheduleRender()}getProjectionStyles(o){var f,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return hiddenVisibility;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=resolveMotionValue(o==null?void 0:o.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){const y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=resolveMotionValue(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!hasTransform(this.latestValues)&&(y.transform=u?u({},""):"none",this.hasProjected=!1),y}const p=m.animationValues||m.latestValues;this.applyTransformsToTarget(),c.transform=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,p),u&&(c.transform=u(p,c.transform));const{x:b,y:x}=this.projectionDelta;c.transformOrigin=`${b.origin*100}% ${x.origin*100}% 0`,m.animationValues?c.opacity=m===this?(l=(f=p.opacity)!==null&&f!==void 0?f:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=m===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const y in scaleCorrectors){if(p[y]===void 0)continue;const{correct:T,applyTo:g}=scaleCorrectors[y],C=c.transform==="none"?p[y]:T(p[y],m);if(g){const d=g.length;for(let P=0;P<d;P++)c[g[P]]=C}else c[y]=C}return this.options.layoutId&&(c.pointerEvents=m===this?resolveMotionValue(o==null?void 0:o.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var f;return(f=o.currentAnimation)===null||f===void 0?void 0:f.stop()}),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()}}}function updateLayout(e){e.updateLayout()}function notifyLayoutUpdate(e){var t;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:n}=e.layout,{animationType:a}=e.options,o=i.source!==e.layout.source;a==="size"?eachAxis(m=>{const p=o?i.measuredBox[m]:i.layoutBox[m],b=calcLength(p);p.min=s[m].min,p.max=p.min+b}):shouldAnimatePositionOnly(a,i.layoutBox,s)&&eachAxis(m=>{const p=o?i.measuredBox[m]:i.layoutBox[m],b=calcLength(s[m]);p.max=p.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[m].max=e.relativeTarget[m].min+b)});const f=createDelta();calcBoxDelta(f,s,i.layoutBox);const l=createDelta();o?calcBoxDelta(l,e.applyTransform(n,!0),i.measuredBox):calcBoxDelta(l,s,i.layoutBox);const c=!isDeltaZero(f);let u=!1;if(!e.resumeFrom){const m=e.getClosestProjectingParent();if(m&&!m.resumeFrom){const{snapshot:p,layout:b}=m;if(p&&b){const x=createBox();calcRelativePosition(x,i.layoutBox,p.layoutBox);const y=createBox();calcRelativePosition(y,s,b.layoutBox),boxEqualsRounded(x,y)||(u=!0),m.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=x,e.relativeParent=m)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:l,layoutDelta:f,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function propagateDirtyNodes(e){isDebug&&metrics.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function cleanDirtyNodes(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function clearSnapshot(e){e.clearSnapshot()}function clearMeasurements(e){e.clearMeasurements()}function clearIsLayoutDirty(e){e.isLayoutDirty=!1}function resetTransformStyle(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function finishAnimation(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function resolveTargetDelta(e){e.resolveTargetDelta()}function calcProjection(e){e.calcProjection()}function resetSkewAndRotation(e){e.resetSkewAndRotation()}function removeLeadSnapshots(e){e.removeLeadSnapshot()}function mixAxisDelta(e,t,i){e.translate=mixNumber$1(t.translate,0,i),e.scale=mixNumber$1(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function mixAxis(e,t,i,s){e.min=mixNumber$1(t.min,i.min,s),e.max=mixNumber$1(t.max,i.max,s)}function mixBox(e,t,i,s){mixAxis(e.x,t.x,i.x,s),mixAxis(e.y,t.y,i.y,s)}function hasOpacityCrossfade(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const defaultLayoutTransition={duration:.45,ease:[.4,0,.1,1]},userAgentContains=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),roundPoint=userAgentContains("applewebkit/")&&!userAgentContains("chrome/")?Math.round:noop;function roundAxis(e){e.min=roundPoint(e.min),e.max=roundPoint(e.max)}function roundBox(e){roundAxis(e.x),roundAxis(e.y)}function shouldAnimatePositionOnly(e,t,i){return e==="position"||e==="preserve-aspect"&&!isNear(aspectRatio(t),aspectRatio(i),.2)}function checkNodeWasScrollRoot(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const DocumentProjectionNode=createProjectionNode$1({attachResizeListener:(e,t)=>addDomEvent(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rootProjectionNode={current:void 0},HTMLProjectionNode=createProjectionNode$1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rootProjectionNode.current){const e=new DocumentProjectionNode({});e.mount(window),e.setOptions({layoutScroll:!0}),rootProjectionNode.current=e}return rootProjectionNode.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),drag={pan:{Feature:PanGesture},drag:{Feature:DragGesture,ProjectionNode:HTMLProjectionNode,MeasureLayout}};function addHoverEvent(e,t){const i=t?"pointerenter":"pointerleave",s=t?"onHoverStart":"onHoverEnd",n=(a,o)=>{if(a.pointerType==="touch"||isDragActive())return;const f=e.getProps();e.animationState&&f.whileHover&&e.animationState.setActive("whileHover",t);const l=f[s];l&&frame.postRender(()=>l(a,o))};return addPointerEvent(e.current,i,n,{passive:!e.getProps()[s]})}class HoverGesture extends Feature{mount(){this.unmount=pipe(addHoverEvent(this.node,!0),addHoverEvent(this.node,!1))}unmount(){}}class FocusGesture extends Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=pipe(addDomEvent(this.node.current,"focus",()=>this.onFocus()),addDomEvent(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const isNodeOrChild=(e,t)=>t?e===t?!0:isNodeOrChild(e,t.parentElement):!1;function fireSyntheticPointerEvent(e,t){if(!t)return;const i=new PointerEvent("pointer"+e);t(i,extractEventInfo(i))}class PressGesture extends Feature{constructor(){super(...arguments),this.removeStartListeners=noop,this.removeEndListeners=noop,this.removeAccessibleListeners=noop,this.startPointerPress=(t,i)=>{if(this.isPressing)return;this.removeEndListeners();const s=this.node.getProps(),a=addPointerEvent(window,"pointerup",(f,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:u,globalTapTarget:m}=this.node.getProps(),p=!m&&!isNodeOrChild(this.node.current,f.target)?u:c;p&&frame.update(()=>p(f,l))},{passive:!(s.onTap||s.onPointerUp)}),o=addPointerEvent(window,"pointercancel",(f,l)=>this.cancelPress(f,l),{passive:!(s.onTapCancel||s.onPointerCancel)});this.removeEndListeners=pipe(a,o),this.startPress(t,i)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const o=f=>{f.key!=="Enter"||!this.checkPressEnd()||fireSyntheticPointerEvent("up",(l,c)=>{const{onTap:u}=this.node.getProps();u&&frame.postRender(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=addDomEvent(this.node.current,"keyup",o),fireSyntheticPointerEvent("down",(f,l)=>{this.startPress(f,l)})},i=addDomEvent(this.node.current,"keydown",t),s=()=>{this.isPressing&&fireSyntheticPointerEvent("cancel",(a,o)=>this.cancelPress(a,o))},n=addDomEvent(this.node.current,"blur",s);this.removeAccessibleListeners=pipe(i,n)}}startPress(t,i){this.isPressing=!0;const{onTapStart:s,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),s&&frame.postRender(()=>s(t,i))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!isDragActive()}cancelPress(t,i){if(!this.checkPressEnd())return;const{onTapCancel:s}=this.node.getProps();s&&frame.postRender(()=>s(t,i))}mount(){const t=this.node.getProps(),i=addPointerEvent(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),s=addDomEvent(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=pipe(i,s)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const observerCallbacks=new WeakMap,observers=new WeakMap,fireObserverCallback=e=>{const t=observerCallbacks.get(e.target);t&&t(e)},fireAllObserverCallbacks=e=>{e.forEach(fireObserverCallback)};function initIntersectionObserver({root:e,...t}){const i=e||document;observers.has(i)||observers.set(i,{});const s=observers.get(i),n=JSON.stringify(t);return s[n]||(s[n]=new IntersectionObserver(fireAllObserverCallbacks,{root:e,...t})),s[n]}function observeIntersection(e,t,i){const s=initIntersectionObserver(t);return observerCallbacks.set(e,i),s.observe(e),()=>{observerCallbacks.delete(e),s.unobserve(e)}}const thresholdNames={some:0,all:1};class InViewFeature extends Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:i,margin:s,amount:n="some",once:a}=t,o={root:i?i.current:void 0,rootMargin:s,threshold:typeof n=="number"?n:thresholdNames[n]},f=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:m}=this.node.getProps(),p=c?u:m;p&&p(l)};return observeIntersection(this.node.current,o,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:i}=this.node;["amount","margin","root"].some(hasViewportOptionChanged(t,i))&&this.startObserver()}unmount(){}}function hasViewportOptionChanged({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}const gestureAnimations={inView:{Feature:InViewFeature},tap:{Feature:PressGesture},focus:{Feature:FocusGesture},hover:{Feature:HoverGesture}},layout={layout:{ProjectionNode:HTMLProjectionNode,MeasureLayout}},MotionConfigContext=React.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),MotionContext=React.createContext({}),isBrowser=typeof window<"u",useIsomorphicLayoutEffect=isBrowser?React.useLayoutEffect:React.useEffect,LazyContext=React.createContext({strict:!1});let scheduleHandoffComplete=!1;function useVisualElement(e,t,i,s,n){var a;const{visualElement:o}=React.useContext(MotionContext),f=React.useContext(LazyContext),l=React.useContext(PresenceContext),c=React.useContext(MotionConfigContext).reducedMotion,u=React.useRef();s=s||f.renderer,!u.current&&s&&(u.current=s(e,{visualState:t,parent:o,props:i,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const m=u.current,p=React.useContext(SwitchLayoutGroupContext);m&&!m.projection&&n&&(m.type==="html"||m.type==="svg")&&createProjectionNode(u.current,i,n,p),React.useInsertionEffect(()=>{m&&m.update(i,l)});const b=i[optimizedAppearDataAttribute],x=React.useRef(!!b&&!window.MotionHandoffIsComplete&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,b)));return useIsomorphicLayoutEffect(()=>{m&&(m.updateFeatures(),microtask.render(m.render),x.current&&m.animationState&&m.animationState.animateChanges())}),React.useEffect(()=>{m&&(!x.current&&m.animationState&&m.animationState.animateChanges(),x.current=!1,scheduleHandoffComplete||(scheduleHandoffComplete=!0,queueMicrotask(completeHandoff)))}),m}function completeHandoff(){window.MotionHandoffIsComplete=!0}function createProjectionNode(e,t,i,s){const{layoutId:n,layout:a,drag:o,dragConstraints:f,layoutScroll:l,layoutRoot:c}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:getClosestProjectingNode(e.parent)),e.projection.setOptions({layoutId:n,layout:a,alwaysMeasureLayout:!!o||f&&isRefObject(f),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:c})}function getClosestProjectingNode(e){if(e)return e.options.allowProjection!==!1?e.projection:getClosestProjectingNode(e.parent)}function useMotionRef(e,t,i){return React.useCallback(s=>{s&&e.mount&&e.mount(s),t&&(s?t.mount(s):t.unmount()),i&&(typeof i=="function"?i(s):isRefObject(i)&&(i.current=s))},[t])}function isControllingVariants(e){return isAnimationControls(e.animate)||variantProps.some(t=>isVariantLabel(e[t]))}function isVariantNode(e){return!!(isControllingVariants(e)||e.variants)}function getCurrentTreeVariants(e,t){if(isControllingVariants(e)){const{initial:i,animate:s}=e;return{initial:i===!1||isVariantLabel(i)?i:void 0,animate:isVariantLabel(s)?s:void 0}}return e.inherit!==!1?t:{}}function useCreateMotionContext(e){const{initial:t,animate:i}=getCurrentTreeVariants(e,React.useContext(MotionContext));return React.useMemo(()=>({initial:t,animate:i}),[variantLabelsAsDependency(t),variantLabelsAsDependency(i)])}function variantLabelsAsDependency(e){return Array.isArray(e)?e.join(" "):e}const featureProps={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},featureDefinitions={};for(const e in featureProps)featureDefinitions[e]={isEnabled:t=>featureProps[e].some(i=>!!t[i])};function loadFeatures(e){for(const t in e)featureDefinitions[t]={...featureDefinitions[t],...e[t]}}const motionComponentSymbol=Symbol.for("motionComponentSymbol");function createRendererMotionComponent({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:s,Component:n}){e&&loadFeatures(e);function a(f,l){let c;const u={...React.useContext(MotionConfigContext),...f,layoutId:useLayoutId(f)},{isStatic:m}=u,p=useCreateMotionContext(f),b=s(f,m);if(!m&&isBrowser){useStrictMode(u,e);const x=getProjectionFunctionality(u);c=x.MeasureLayout,p.visualElement=useVisualElement(n,b,u,t,x.ProjectionNode)}return jsxRuntime.jsxs(MotionContext.Provider,{value:p,children:[c&&p.visualElement?jsxRuntime.jsx(c,{visualElement:p.visualElement,...u}):null,i(n,f,useMotionRef(b,p.visualElement,l),b,m,p.visualElement)]})}const o=React.forwardRef(a);return o[motionComponentSymbol]=n,o}function useLayoutId({layoutId:e}){const t=React.useContext(LayoutGroupContext).id;return t&&e!==void 0?t+"-"+e:e}function useStrictMode(e,t){const i=React.useContext(LazyContext).strict;if(process.env.NODE_ENV!=="production"&&t&&i){const s="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?warning(!1,s):invariant(!1,s)}}function getProjectionFunctionality(e){const{drag:t,layout:i}=featureDefinitions;if(!t&&!i)return{};const s={...t,...i};return{MeasureLayout:t!=null&&t.isEnabled(e)||i!=null&&i.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const lowercaseSVGElements=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function isSVGComponent(e){return typeof e!="string"||e.includes("-")?!1:!!(lowercaseSVGElements.indexOf(e)>-1||/[A-Z]/u.test(e))}function renderHTML(e,{style:t,vars:i},s,n){Object.assign(e.style,t,n&&n.getProjectionStyles(s));for(const a in i)e.style.setProperty(a,i[a])}const camelCaseAttributes=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function renderSVG(e,t,i,s){renderHTML(e,t,void 0,s);for(const n in t.attrs)e.setAttribute(camelCaseAttributes.has(n)?n:camelToDash(n),t.attrs[n])}function isForcedMotionValue(e,{layout:t,layoutId:i}){return transformProps.has(e)||e.startsWith("origin")||(t||i!==void 0)&&(!!scaleCorrectors[e]||e==="opacity")}function scrapeMotionValuesFromProps$1(e,t,i){var s;const{style:n}=e,a={};for(const o in n)(isMotionValue(n[o])||t.style&&isMotionValue(t.style[o])||isForcedMotionValue(o,e)||((s=i==null?void 0:i.getValue(o))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(a[o]=n[o]);return i&&n&&typeof n.willChange=="string"&&(i.applyWillChange=!1),a}function scrapeMotionValuesFromProps(e,t,i){const s=scrapeMotionValuesFromProps$1(e,t,i);for(const n in e)if(isMotionValue(e[n])||isMotionValue(t[n])){const a=transformPropOrder.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;s[a]=e[n]}return s}function useConstant(e){const t=React.useRef(null);return t.current===null&&(t.current=e()),t.current}function makeState({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:i,onMount:s},n,a,o,f){const l={latestValues:makeLatestValues(n,a,o,f?!1:e,t),renderState:i()};return s&&(l.mount=c=>s(n,c,l)),l}const makeUseVisualState=e=>(t,i)=>{const s=React.useContext(MotionContext),n=React.useContext(PresenceContext),a=()=>makeState(e,t,s,n,i);return i?a():useConstant(a)};function addWillChange(e,t){const i=getWillChangeName(t);i&&addUniqueItem(e,i)}function forEachDefinition(e,t,i){const s=Array.isArray(t)?t:[t];for(let n=0;n<s.length;n++){const a=resolveVariantFromProps(e,s[n]);if(a){const{transitionEnd:o,transition:f,...l}=a;i(l,o)}}}function makeLatestValues(e,t,i,s,n){var a;const o={},f=[],l=s&&((a=e.style)===null||a===void 0?void 0:a.willChange)===void 0,c=n(e,{});for(const T in c)o[T]=resolveMotionValue(c[T]);let{initial:u,animate:m}=e;const p=isControllingVariants(e),b=isVariantNode(e);t&&b&&!p&&e.inherit!==!1&&(u===void 0&&(u=t.initial),m===void 0&&(m=t.animate));let x=i?i.initial===!1:!1;x=x||u===!1;const y=x?m:u;return y&&typeof y!="boolean"&&!isAnimationControls(y)&&forEachDefinition(e,y,(T,g)=>{for(const C in T){let d=T[C];if(Array.isArray(d)){const P=x?d.length-1:0;d=d[P]}d!==null&&(o[C]=d)}for(const C in g)o[C]=g[C]}),l&&(m&&u!==!1&&!isAnimationControls(m)&&forEachDefinition(e,m,T=>{for(const g in T)addWillChange(f,g)}),f.length&&(o.willChange=f.join(","))),o}const createHtmlRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),createSvgRenderState=()=>({...createHtmlRenderState(),attrs:{}}),getValueAsType=(e,t)=>t&&typeof e=="number"?t.transform(e):e,translateAlias={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},numTransforms=transformPropOrder.length;function buildTransform(e,t,i){let s="",n=!0;for(let a=0;a<numTransforms;a++){const o=transformPropOrder[a],f=e[o];if(f===void 0)continue;let l=!0;if(typeof f=="number"?l=f===(o.startsWith("scale")?1:0):l=parseFloat(f)===0,!l||i){const c=getValueAsType(f,numberValueTypes[o]);if(!l){n=!1;const u=translateAlias[o]||o;s+=`${u}(${c}) `}i&&(t[o]=c)}}return s=s.trim(),i?s=i(t,n?"":s):n&&(s="none"),s}function buildHTMLStyles(e,t,i){const{style:s,vars:n,transformOrigin:a}=e;let o=!1,f=!1;for(const l in t){const c=t[l];if(transformProps.has(l)){o=!0;continue}else if(isCSSVariableName(l)){n[l]=c;continue}else{const u=getValueAsType(c,numberValueTypes[l]);l.startsWith("origin")?(f=!0,a[l]=u):s[l]=u}}if(t.transform||(o||i?s.transform=buildTransform(t,e.transform,i):s.transform&&(s.transform="none")),f){const{originX:l="50%",originY:c="50%",originZ:u=0}=a;s.transformOrigin=`${l} ${c} ${u}`}}function calcOrigin(e,t,i){return typeof e=="string"?e:px.transform(t+i*e)}function calcSVGTransformOrigin(e,t,i){const s=calcOrigin(t,e.x,e.width),n=calcOrigin(i,e.y,e.height);return`${s} ${n}`}const dashKeys={offset:"stroke-dashoffset",array:"stroke-dasharray"},camelKeys={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGPath(e,t,i=1,s=0,n=!0){e.pathLength=1;const a=n?dashKeys:camelKeys;e[a.offset]=px.transform(-s);const o=px.transform(t),f=px.transform(i);e[a.array]=`${o} ${f}`}function buildSVGAttrs(e,{attrX:t,attrY:i,attrScale:s,originX:n,originY:a,pathLength:o,pathSpacing:f=1,pathOffset:l=0,...c},u,m){if(buildHTMLStyles(e,c,m),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:b,dimensions:x}=e;p.transform&&(x&&(b.transform=p.transform),delete p.transform),x&&(n!==void 0||a!==void 0||b.transform)&&(b.transformOrigin=calcSVGTransformOrigin(x,n!==void 0?n:.5,a!==void 0?a:.5)),t!==void 0&&(p.x=t),i!==void 0&&(p.y=i),s!==void 0&&(p.scale=s),o!==void 0&&buildSVGPath(p,o,f,l,!1)}const isSVGTag=e=>typeof e=="string"&&e.toLowerCase()==="svg",svgMotionConfig={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps,createRenderState:createSvgRenderState,onMount:(e,t,{renderState:i,latestValues:s})=>{frame.read(()=>{try{i.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{i.dimensions={x:0,y:0,width:0,height:0}}}),frame.render(()=>{buildSVGAttrs(i,s,isSVGTag(t.tagName),e.transformTemplate),renderSVG(t,i)})}})},htmlMotionConfig={useVisualState:makeUseVisualState({applyWillChange:!0,scrapeMotionValuesFromProps:scrapeMotionValuesFromProps$1,createRenderState:createHtmlRenderState})};function copyRawValuesOnly(e,t,i){for(const s in t)!isMotionValue(t[s])&&!isForcedMotionValue(s,i)&&(e[s]=t[s])}function useInitialMotionValues({transformTemplate:e},t){return React.useMemo(()=>{const i=createHtmlRenderState();return buildHTMLStyles(i,t,e),Object.assign({},i.vars,i.style)},[t])}function useStyle(e,t){const i=e.style||{},s={};return copyRawValuesOnly(s,i,e),Object.assign(s,useInitialMotionValues(e,t)),s}function useHTMLProps(e,t){const i={},s=useStyle(e,t);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=s,i}const validMotionProps=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function isValidMotionProp(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||validMotionProps.has(e)}let shouldForward=e=>!isValidMotionProp(e);function loadExternalIsValidProp(e){e&&(shouldForward=t=>t.startsWith("on")?!isValidMotionProp(t):e(t))}try{loadExternalIsValidProp(require("@emotion/is-prop-valid").default)}catch(e){}function filterProps(e,t,i){const s={};for(const n in e)n==="values"&&typeof e.values=="object"||(shouldForward(n)||i===!0&&isValidMotionProp(n)||!t&&!isValidMotionProp(n)||e.draggable&&n.startsWith("onDrag"))&&(s[n]=e[n]);return s}function useSVGProps(e,t,i,s){const n=React.useMemo(()=>{const a=createSvgRenderState();return buildSVGAttrs(a,t,isSVGTag(s),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};copyRawValuesOnly(a,e.style,e),n.style={...a,...n.style}}return n}function createUseRender(e=!1){return(i,s,n,{latestValues:a},o)=>{const l=(isSVGComponent(i)?useSVGProps:useHTMLProps)(s,a,o,i),c=filterProps(s,typeof i=="string",e),u=i!==React.Fragment?{...c,...l,ref:n}:{},{children:m}=s,p=React.useMemo(()=>isMotionValue(m)?m.get():m,[m]);return React.createElement(i,{...u,children:p})}}function createMotionComponentFactory(e,t){return function(s,{forwardMotionProps:n}={forwardMotionProps:!1}){const o={...isSVGComponent(s)?svgMotionConfig:htmlMotionConfig,preloadedFeatures:e,useRender:createUseRender(n),createVisualElement:t,Component:s};return createRendererMotionComponent(o)}}const prefersReducedMotion={current:null},hasReducedMotionListener={current:!1};function initPrefersReducedMotion(){if(hasReducedMotionListener.current=!0,!!isBrowser)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>prefersReducedMotion.current=e.matches;e.addListener(t),t()}else prefersReducedMotion.current=!1}function updateMotionValuesFromProps(e,t,i){for(const s in t){const n=t[s],a=i[s];if(isMotionValue(n))e.addValue(s,n),process.env.NODE_ENV==="development"&&warnOnce(n.version==="11.5.6",`Attempting to mix Framer Motion versions ${n.version} with 11.5.6 may not work as expected.`);else if(isMotionValue(a))e.addValue(s,motionValue(n,{owner:e}));else if(a!==n)if(e.hasValue(s)){const o=e.getValue(s);o.liveStyle===!0?o.jump(n):o.hasAnimated||o.set(n)}else{const o=e.getStaticValue(s);e.addValue(s,motionValue(o!==void 0?o:n,{owner:e}))}}for(const s in i)t[s]===void 0&&e.removeValue(s);return t}const visualElementStore=new WeakMap,valueTypes=[...dimensionValueTypes,color,complex],findValueType=e=>valueTypes.find(testValueType(e)),propEventHandlers=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class VisualElement{scrapeMotionValuesFromProps(t,i,s){return{}}constructor({parent:t,props:i,presenceContext:s,reducedMotionConfig:n,blockInitialAnimation:a,visualState:o},f={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=time.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,frame.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=i.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=i,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=f,this.blockInitialAnimation=!!a,this.isControllingVariants=isControllingVariants(i),this.isVariantNode=isVariantNode(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...m}=this.scrapeMotionValuesFromProps(i,{},this);for(const p in m){const b=m[p];l[p]!==void 0&&isMotionValue(b)&&b.set(l[p],!1)}}mount(t){this.current=t,visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),hasReducedMotionListener.current||initPrefersReducedMotion(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:prefersReducedMotion.current,process.env.NODE_ENV!=="production"&&warnOnce(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){visualElementStore.delete(this.current),this.projection&&this.projection.unmount(),cancelFrame(this.notifyUpdate),cancelFrame(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const i=this.features[t];i&&(i.unmount(),i.isMounted=!1)}this.current=null}bindToMotionValue(t,i){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const s=transformProps.has(t),n=i.on("change",f=>{this.latestValues[t]=f,this.props.onUpdate&&frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),a=i.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{n(),a(),o&&o(),i.owner&&i.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in featureDefinitions){const i=featureDefinitions[t];if(!i)continue;const{isEnabled:s,Feature:n}=i;if(!this.features[t]&&n&&s(this.props)&&(this.features[t]=new n(this)),this.features[t]){const a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):createBox()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,i){this.latestValues[t]=i}update(t,i){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<propEventHandlers.length;s++){const n=propEventHandlers[s];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const a="on"+n,o=t[a];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=updateMotionValuesFromProps(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(t),()=>i.variantChildren.delete(t)}addValue(t,i){const s=this.values.get(t);i!==s&&(s&&this.removeValue(t),this.bindToMotionValue(t,i),this.values.set(t,i),this.latestValues[t]=i.get())}removeValue(t){this.values.delete(t);const i=this.valueSubscriptions.get(t);i&&(i(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,i){if(this.props.values&&this.props.values[t])return this.props.values[t];let s=this.values.get(t);return s===void 0&&i!==void 0&&(s=motionValue(i===null?void 0:i,{owner:this}),this.addValue(t,s)),s}readValue(t,i){var s;let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(s=this.getBaseTargetFromProps(this.props,t))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(isNumericalString(n)||isZeroValueString(n))?n=parseFloat(n):!findValueType(n)&&complex.test(i)&&(n=getAnimatableNone(t,i)),this.setBaseTarget(t,isMotionValue(n)?n.get():n)),isMotionValue(n)?n.get():n}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){var i;const{initial:s}=this.props;let n;if(typeof s=="string"||typeof s=="object"){const o=resolveVariantFromProps(this.props,s,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);o&&(n=o[t])}if(s&&n!==void 0)return n;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!isMotionValue(a)?a:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,i){return this.events[t]||(this.events[t]=new SubscriptionManager),this.events[t].add(i)}notify(t,...i){this.events[t]&&this.events[t].notify(...i)}}class DOMVisualElement extends VisualElement{constructor(){super(...arguments),this.KeyframeResolver=DOMKeyframesResolver}sortInstanceNodePosition(t,i){return t.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(t,i){return t.style?t.style[i]:void 0}removeValueFromRenderState(t,{vars:i,style:s}){delete i[t],delete s[t]}}function getComputedStyle$1(e){return window.getComputedStyle(e)}class HTMLVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=renderHTML}readValueFromInstance(t,i){if(transformProps.has(i)){const s=getDefaultValueType(i);return s&&s.default||0}else{const s=getComputedStyle$1(t),n=(isCSSVariableName(i)?s.getPropertyValue(i):s[i])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:i}){return measureViewportBox(t,i)}build(t,i,s){buildHTMLStyles(t,i,s.transformTemplate)}scrapeMotionValuesFromProps(t,i,s){return scrapeMotionValuesFromProps$1(t,i,s)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;isMotionValue(t)&&(this.childSubscription=t.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class SVGVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=createBox}getBaseTargetFromProps(t,i){return t[i]}readValueFromInstance(t,i){if(transformProps.has(i)){const s=getDefaultValueType(i);return s&&s.default||0}return i=camelCaseAttributes.has(i)?i:camelToDash(i),t.getAttribute(i)}scrapeMotionValuesFromProps(t,i,s){return scrapeMotionValuesFromProps(t,i,s)}build(t,i,s){buildSVGAttrs(t,i,this.isSVGTag,s.transformTemplate)}renderInstance(t,i,s,n){renderSVG(t,i,s,n)}mount(t){this.isSVGTag=isSVGTag(t.tagName),super.mount(t)}}const createDomVisualElement=(e,t)=>isSVGComponent(e)?new SVGVisualElement(t):new HTMLVisualElement(t,{allowProjection:e!==React.Fragment}),createMotionComponent=createMotionComponentFactory({...animations,...gestureAnimations,...drag,...layout},createDomVisualElement),motion=createDOMMotionComponentProxy(createMotionComponent);function stopAnimation(e){e.values.forEach(t=>t.stop())}function setVariants(e,t){[...t].reverse().forEach(s=>{const n=e.getVariant(s);n&&setTarget(e,n),e.variantChildren&&e.variantChildren.forEach(a=>{setVariants(a,t)})})}function setValues(e,t){if(Array.isArray(t))return setVariants(e,t);if(typeof t=="string")return setVariants(e,[t]);setTarget(e,t)}function animationControls(){let e=!1;const t=new Set,i={subscribe(s){return t.add(s),()=>void t.delete(s)},start(s,n){invariant(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const a=[];return t.forEach(o=>{a.push(animateVisualElement(o,s,{transitionOverride:n}))}),Promise.all(a)},set(s){return invariant(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(n=>{setValues(n,s)})},stop(){t.forEach(s=>{stopAnimation(s)})},mount(){return e=!0,()=>{e=!1,i.stop()}}};return i}function useAnimationControls(){const e=useConstant(animationControls);return useIsomorphicLayoutEffect(e.mount,[]),e}const ScaleY=({children:e,triggerAnimation:t=!0})=>{const i=useAnimationControls();return React.useEffect(()=>{t?i.start({scaleY:[0,1],transformOrigin:"bottom",transition:{duration:.15}}):i.start({scaleY:0,transformOrigin:"bottom",transition:{duration:.15}})},[t,i]),jsxRuntime.jsx(motion.div,{initial:{scaleY:0},animate:i,children:e})},Shine=({children:e})=>jsxRuntime.jsx(motion.div,{className:"gf-relative gf-inline-block gf-overflow-hidden gf-rounded-xl gf-w-[300px] before:gf-z-50 before:gf-absolute before:gf-bg-gradient-to-r before:gf-from-transparent before:gf-via-white/50 before:gf-via-50% before:gf-to-transparent before:gf-top-0 before:gf-left-0 before:gf-w-[168px] before:gf-h-full before:gf-animate-shine before:gf-opacity-0",children:e});exports.AddIcon=AddIcon,exports.ArbitrumLogo=ArbitrumLogo,exports.ArrowDownwardIcon=ArrowDownwardIcon,exports.ArrowEastIcon=ArrowEastIcon,exports.ArrowLeftIcon=ArrowLeftIcon,exports.ArrowNorthEastIcon=ArrowNorthEastIcon,exports.ArrowNorthWestIcon=ArrowNorthWestIcon,exports.ArrowRightIcon=ArrowRightIcon,exports.ArrowSouthEastIcon=ArrowSouthEastIcon,exports.ArrowSouthWestIcon=ArrowSouthWestIcon,exports.ArrowUpwardIcon=ArrowUpwardIcon,exports.AssetChainLogos=AssetChainLogos,exports.BTCLogo=BTCLogo,exports.BlogCard=BlogCard,exports.Button=Button,exports.Camelot=Camelot,exports.CatalogLogo=CatalogLogo,exports.CheckBox=CheckBox$1,exports.CheckCircleIcon=CheckCircleIcon,exports.CheckIcon=CheckIcon,exports.Checked=Checked,exports.Chip=Chip,exports.ClockIcon=ClockIcon,exports.CloseIcon=CloseIcon,exports.Coinbase=Coinbase,exports.CompareArrowsIcon=CompareArrowsIcon,exports.CopyIcon=CopyIcon,exports.DLCBTC=DLCBTC,exports.Debridge=Debridge,exports.Dodo=Dodo,exports.EditIcon=EditIcon,exports.EthereumLogo=EthereumLogo,exports.ExchangeIcon=ExchangeIcon,exports.FeesIcon=FeesIcon,exports.FingerprintIcon=FingerprintIcon,exports.Footer=Footer,exports.GMX=GMX,exports.GMXLogo=GMXLogo,exports.GardenExplorer=GardenExplorer,exports.GardenFullLogo=GardenFullLogo,exports.GardenLogo=GardenLogo,exports.GardenLogoText=GardenLogoText,exports.GardenStrokeIcon=GardenStrokeIcon,exports.InfinityIcon=InfinityIcon,exports.InfoBadge=InfoBadge,exports.InfoIcon=InfoIcon,exports.KeyboardDownIcon=KeyboardDownIcon,exports.KeyboardLeftIcon=KeyboardLeftIcon,exports.KeyboardRightIcon=KeyboardRightIcon,exports.KeyboardUpIcon=KeyboardUpIcon,exports.LanguageIcon=LanguageIcon,exports.LinkIcon=LinkIcon,exports.LockIcon=LockIcon,exports.LogoutIcon=LogoutIcon,exports.MenuIcon=MenuIcon,exports.MinusIcon=MinusIcon,exports.Modal=Modal,exports.Opacity=Opacity,exports.OpenInFullIcon=OpenInFullIcon,exports.OpenInNewIcon=OpenInNewIcon,exports.PageInfoIcon=PageInfoIcon,exports.PancakeSwap=PancakeSwap,exports.PhantomIcon=PhantomIcon,exports.PlusIcon=PlusIcon,exports.PolygonLogo=PolygonLogo,exports.QuestCard=QuestCard,exports.Radiant=Radiant,exports.RadiantLogo=RadiantLogo,exports.RadioCheckedIcon=RadioCheckedIcon,exports.RadioUncheckedIcon=RadioUncheckedIcon,exports.ReferralIcon=ReferralIcon,exports.RemoveIcon=RemoveIcon,exports.ScaleY=ScaleY,exports.SearchIcon=SearchIcon,exports.Share=Share,exports.Shine=Shine,exports.Sidebar=Sidebar,exports.Solv=Solv,exports.StarIcon=StarIcon,exports.SwellBTC=SwellBTC,exports.TimerIcon=TimerIcon,exports.TokenInfo=TokenInfo,exports.TraderJoe=TraderJoe,exports.TrailOfBits=TrailOfBits,exports.TrustWallet=TrustWallet,exports.Typography=Typography,exports.Unchecked=Unchecked,exports.Vertex=Vertex,exports.WalletConnect=WalletConnect,exports.WalletIcon=WalletIcon,Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})});
|
|
11
|
+
s.goToAndStop(y-s.firstFrame-1,!0)}x.type==="loop"&&(u===null||u!==x.frames||s.isPaused)&&(s.playSegments(x.frames,!0),u=x.frames),x.type==="play"&&s.isPaused&&(s.resetSegments(!0),s.play()),x.type==="stop"&&s.goToAndStop(x.frames[0]-s.firstFrame-1,!0)}};return document.addEventListener("scroll",m),function(){document.removeEventListener("scroll",m)}},l=function(){var u=function(x,y){var T=x,g=y;if(T!==-1&&g!==-1){var C=getContainerCursorPosition(o,T,g);T=C.x,g=C.y}var d=a.find(function(E){var R=E.position;return R&&Array.isArray(R.x)&&Array.isArray(R.y)?T>=R.x[0]&&T<=R.x[1]&&g>=R.y[0]&&g<=R.y[1]:R&&!Number.isNaN(R.x)&&!Number.isNaN(R.y)?T===R.x&&g===R.y:!1});if(d){if(d.type==="seek"&&d.position&&Array.isArray(d.position.x)&&Array.isArray(d.position.y)&&d.frames.length===2){var P=(T-d.position.x[0])/(d.position.x[1]-d.position.x[0]),A=(g-d.position.y[0])/(d.position.y[1]-d.position.y[0]);s.playSegments(d.frames,!0),s.goToAndStop(Math.ceil((P+A)/2*(d.frames[1]-d.frames[0])),!0)}d.type==="loop"&&s.playSegments(d.frames,!0),d.type==="play"&&(s.isPaused&&s.resetSegments(!1),s.playSegments(d.frames)),d.type==="stop"&&s.goToAndStop(d.frames[0],!0)}},m=function(x){u(x.clientX,x.clientY)},p=function(){u(-1,-1)};return o.addEventListener("mousemove",m),o.addEventListener("mouseout",p),function(){o.removeEventListener("mousemove",m),o.removeEventListener("mouseout",p)}};switch(n){case"scroll":return f();case"cursor":return l()}}},[n,s])},useLottieInteractivity=function e(t){var i=t.actions,s=t.mode,n=t.lottieObj,a=n.animationItem,o=n.View,f=n.animationContainerRef;return useInitInteractivity({actions:i,animationItem:a,mode:s,wrapperRef:f}),o},_excluded=["style","interactivity"],Lottie=function e(t){var i,s,n,a=t.style,o=t.interactivity,f=_objectWithoutProperties(t,_excluded),l=useLottie(f,a),c=l.View,u=l.play,m=l.stop,p=l.pause,b=l.setSpeed,x=l.goToAndStop,y=l.goToAndPlay,T=l.setDirection,g=l.playSegments,C=l.setSubframe,d=l.getDuration,P=l.destroy,A=l.animationContainerRef,E=l.animationLoaded,R=l.animationItem;return React.useEffect(function(){t.lottieRef&&(t.lottieRef.current={play:u,stop:m,pause:p,setSpeed:b,goToAndPlay:y,goToAndStop:x,setDirection:T,playSegments:g,setSubframe:C,getDuration:d,destroy:P,animationContainerRef:A,animationLoaded:E,animationItem:R})},[(i=t.lottieRef)===null||i===void 0?void 0:i.current]),useLottieInteractivity({lottieObj:{View:c,play:u,stop:m,pause:p,setSpeed:b,goToAndStop:x,goToAndPlay:y,setDirection:T,playSegments:g,setSubframe:C,getDuration:d,destroy:P,animationContainerRef:A,animationLoaded:E,animationItem:R},actions:(s=o==null?void 0:o.actions)!==null&&s!==void 0?s:[],mode:(n=o==null?void 0:o.mode)!==null&&n!==void 0?n:"scroll"})};const v="5.7.4",fr=60,ip=0,op=120,w=64,h=64,nm="loading spinner",ddd=0,assets=[],layers=[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.34],y:[1]},o:{x:[.66],y:[0]},t:0,s:[180]},{t:119,s:[540]}],ix:10},p:{a:0,k:[32.135,31.505,0],ix:2,l:2},a:{a:0,k:[-.75,2.75,0],ix:1,l:2},s:{a:0,k:[82,82,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[15.326,0],[0,-15.326],[-15.326,0],[0,15.326]],o:[[-15.326,0],[0,15.326],[15.326,0],[0,-15.326]],v:[[0,-27.75],[-27.75,0],[0,27.75],[27.75,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.505882352941,.478431372549,.564705882353,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-.75,2.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[100]},{i:{x:[.351],y:[.985]},o:{x:[.665],y:[0]},t:60,s:[90]},{t:120,s:[0]}],ix:1},e:{a:1,k:[{i:{x:[.34],y:[1]},o:{x:[.66],y:[0]},t:0,s:[100]},{t:60,s:[0]}],ix:2},o:{a:0,k:176,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:600,st:0,bm:0}],markers=[],spinnerAnimation={v,fr,ip,op,w,h,nm,ddd,assets,layers,markers},buttonStyles=cva(["gf-font-satoshi","gf-font-bold","gf-min-w-32","gf-px-6","gf-focus:outline-none","gf-border-none","gf-transition-colors","gf-duration-500"],{variants:{variant:{primary:"gf-text-white gf-bg-button-primary",secondary:"gf-text-white gf-bg-button-secondary",ternary:"gf-text-dark-grey gf-bg-button-ternary",disabled:"gf-bg-button-disabled-bg gf-text-button-disabled-text gf-cursor-not-allowed"},size:{sm:"gf-h-9 gf-rounded-xl gf-text-xs",md:"gf-h-10 gf-rounded-xl gf-text-sm",lg:"gf-h-12 gf-rounded-2xl gf-text-base"},breakpointSize:{"xs:sm":"xs:gf-h-9 xs:gf-rounded-xl xs:gf-text-xs","xs:md":"xs:gf-h-10 xs:gf-rounded-xl xs:gf-text-sm","xs:lg":"xs:gf-h-12 xs:gf-rounded-2xl xs:gf-text-base","sm:sm":"sm:gf-h-9 sm:gf-rounded-xl sm:gf-text-xs","sm:md":"sm:gf-h-10 sm:gf-rounded-xl sm:gf-text-sm","sm:lg":"sm:gf-h-12 sm:gf-rounded-2xl sm:gf-text-base","md:sm":"md:gf-h-9 md:gf-rounded-xl md:gf-text-xs","md:md":"md:gf-h-10 md:gf-rounded-xl md:gf-text-sm","md:lg":"md:gf-h-12 md:gf-rounded-2xl md:gf-text-base","lg:sm":"lg:gf-h-9 lg:gf-rounded-xl lg:gf-text-xs","lg:md":"lg:gf-h-10 lg:gf-rounded-xl lg:gf-text-sm","lg:lg":"lg:gf-h-12 lg:gf-rounded-2xl lg:gf-text-base","xl:sm":"xl:gf-h-9 xl:gf-rounded-xl xl:gf-text-xs","xl:md":"xl:gf-h-10 xl:gf-rounded-xl xl:gf-text-sm","xl:lg":"xl:gf-h-12 xl:gf-rounded-2xl xl:gf-text-base"}},defaultVariants:{variant:"primary",size:"md"}}),Button=React.forwardRef(({variant:e,size:t,breakpoints:i,loading:s,className:n,children:a,...o},f)=>{const l=i?Object.entries(i).map(([c,u])=>`${c}:${u}`).map(c=>buttonStyles({breakpointSize:c})).join(" "):"";return jsxRuntime.jsx("button",{ref:f,className:cn("gf-transition-colors gf-duration-300",n,buttonStyles({variant:e,size:t}),l,s),disabled:s||e==="disabled",...o,children:jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-center gf-items-center gf-gap-3",children:[a,s&&jsxRuntime.jsx(Lottie,{animationData:spinnerAnimation,loop:!0,autoplay:!0,style:{width:24,height:24}})]})})}),typographyStyles=cva(["gf-font-satoshi gf-text-dark-grey"],{variants:{size:{h1:"gf-text-[32px] gf-leading-[48px]",h2:"gf-text-xl gf-leading-7",h3:"gf-text-base gf-leading-6",h4:"gf-text-sm gf-leading-5",h5:"gf-text-xs gf-leading-4"},weight:{bold:"gf-font-bold",medium:"gf-font-medium"},breakpointSize:{"xs:h1":"xs:gf-text-[32px] xs:gf-leading-[48px]","xs:h2":"xs:gf-text-xl xs:gf-leading-7","xs:h3":"xs:gf-text-base xs:gf-leading-6","xs:h4":"xs:gf-text-sm xs:gf-leading-5","xs:h5":"xs:gf-text-xs xs:gf-leading-4","sm:h1":"sm:gf-text-[32px] sm:gf-leading-[48px]","sm:h2":"sm:gf-text-xl sm:gf-leading-7","sm:h3":"sm:gf-text-base sm:gf-leading-6","sm:h4":"sm:gf-text-sm sm:gf-leading-5","sm:h5":"sm:gf-text-xs sm:gf-leading-4","md:h1":"md:gf-text-[32px] md:gf-leading-[48px]","md:h2":"md:gf-text-xl md:gf-leading-7","md:h3":"md:gf-text-base md:gf-leading-6","md:h4":"md:gf-text-sm md:gf-leading-5","md:h5":"md:gf-text-xs md:gf-leading-4","lg:h1":"lg:gf-text-[32px] lg:gf-leading-[48px]","lg:h2":"lg:gf-text-xl lg:gf-leading-7","lg:h3":"lg:gf-text-base lg:gf-leading-6","lg:h4":"lg:gf-text-sm lg:gf-leading-5","lg:h5":"lg:gf-text-xs lg:gf-leading-4","xl:h1":"xl:gf-text-[32px] xl:gf-leading-[48px]","xl:h2":"xl:gf-text-xl xl:gf-leading-7","xl:h3":"xl:gf-text-base xl:gf-leading-6","xl:h4":"xl:gf-text-sm xl:gf-leading-5","xl:h5":"xl:gf-text-xs xl:gf-leading-4"},defaultVariants:{size:"h3",weight:"medium"}}}),Typography=({as:e="span",size:t,weight:i,breakpoints:s,className:n,...a})=>{const o=s?Object.entries(s).map(([f,l])=>`${f}:${l}`).map(f=>typographyStyles({breakpointSize:f})).join(" "):"";return jsxRuntime.jsx(e,{className:cn(typographyStyles({size:t,weight:i,className:n}),o),...a})},OpacityStyles=cva("gf-bg-white",{variants:{level:{"extra-light":"gf-bg-opacity-10",light:"gf-bg-opacity-25",medium:"gf-bg-opacity-50","semi-dark":"gf-bg-opacity-75",full:"gf-bg-opacity-100"}},defaultVariants:{level:"full"}}),Opacity=({level:e,className:t,children:i,...s})=>jsxRuntime.jsx("div",{...s,className:cn(OpacityStyles({level:e}),t),children:i}),sidebarStyles=cva("gf-fixed gf-inset-y-0 gf-right-0 gf-transition-transform gf-duration-200 gf-bg-white gf-backdrop-blur-sm gf-p-4",{variants:{open:{true:"gf-translate-x-0",false:"gf-translate-x-full"},size:{small:"gf-w-full md:gf-w-[360px]",large:"gf-w-full md:gf-w-[480px]"}},defaultVariants:{open:!1}}),Sidebar=({open:e,size:t,children:i,className:s,...n})=>jsxRuntime.jsx(Opacity,{level:"medium",className:cn(sidebarStyles({open:e,size:t,className:s})),...n,children:i}),modalStyles=cva(["gf-fixed gf-inset-0 gf-z-50 gf-flex gf-items-center gf-justify-center gf-min-h-screen gf-transition-all"],{variants:{open:{true:"gf-bg-black",false:"gf-opacity-0 gf-pointer-events-none"}},defaultVariants:{open:!1}}),Modal=({open:e,onClose:t,children:i})=>{const[s,n]=React.useState(!1);React.useEffect(()=>{e&&n(!0)},[e]);const a=o=>{t&&(o.stopPropagation(),t())};return jsxRuntime.jsx("div",{className:`gf-bg-dark-grey gf-bg-opacity-40 ${modalStyles({open:e})} ${s?e?"gf-animate-fade-in":"gf-animate-fade-out":""}`,onClick:a,children:jsxRuntime.jsx("div",{className:`gf-transform gf-transition-transform ${e?"gf-animate-scale-in":"gf-animate-scale-out"}`,children:i})})},Children=({children:e,className:t,opacityLevel:i,...s})=>{const n=a=>{a.stopPropagation()};return jsxRuntime.jsx(Opacity,{level:i,onClick:n,className:`gf-mx-auto gf-backdrop-blur-md ${t||""}`,...s,children:e})};Modal.Children=Children;const ArrowDownwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.0013 17.3333L0.167969 11.5L1.33464 10.3333L5.16797 14.1458V0.666656H6.83464V14.1458L10.668 10.3125L11.8346 11.5L6.0013 17.3333Z"})}),ArrowUpwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.16797 17.3333V3.85416L1.33464 7.66666L0.167969 6.49999L6.0013 0.666656L11.8346 6.49999L10.668 7.68749L6.83464 3.85416V17.3333H5.16797Z"})}),ArrowLeftIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"12",viewBox:"0 0 18 12",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.5013 11.8333L0.667969 5.99999L6.5013 0.166656L7.66797 1.33332L3.85547 5.16666H17.3346V6.83332H3.85547L7.6888 10.6667L6.5013 11.8333Z"})}),ArrowRightIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"12",viewBox:"0 0 18 12",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M11.5013 11.8333L10.3138 10.6667L14.1471 6.83332H0.667969V5.16666H14.1471L10.3346 1.33332L11.5013 0.166656L17.3346 5.99999L11.5013 11.8333Z"})}),AddIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.16797 6.83332H0.167969V5.16666H5.16797V0.166656H6.83464V5.16666H11.8346V6.83332H6.83464V11.8333H5.16797V6.83332Z"})}),ArrowNorthEastIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M1.4987 12.6667L0.332031 11.5L9.9987 1.83335H4.4987V0.166687H12.832V8.50002H11.1654V3.00002L1.4987 12.6667Z"})}),ArrowNorthWestIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M11.5013 12.6667L1.83464 3.00002V8.50002H0.167969V0.166687H8.5013V1.83335H3.0013L12.668 11.5L11.5013 12.6667Z"})}),ArrowSouthEastIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4.4987 12.8333V11.1666H9.9987L0.332031 1.49998L1.4987 0.333313L11.1654 9.99998V4.49998H12.832V12.8333H4.4987Z"})}),ArrowSouthWestIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.167969 12.8333V4.49998H1.83464V9.99998L11.5013 0.333313L12.668 1.49998L3.0013 11.1666H8.5013V12.8333H0.167969Z"})}),CheckIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4.95703 11.0003L0.207031 6.25033L1.39453 5.06283L4.95703 8.62533L12.6029 0.979492L13.7904 2.16699L4.95703 11.0003Z"})}),ClockIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M11.7513 12.9167L12.918 11.75L9.83463 8.66669V4.83335H8.16797V9.33335L11.7513 12.9167ZM9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334ZM9.0013 15.6667C10.8485 15.6667 12.4214 15.0174 13.7201 13.7188C15.0187 12.4202 15.668 10.8472 15.668 9.00002C15.668 7.1528 15.0187 5.57988 13.7201 4.28127C12.4214 2.98266 10.8485 2.33335 9.0013 2.33335C7.15408 2.33335 5.58116 2.98266 4.28255 4.28127C2.98394 5.57988 2.33464 7.1528 2.33464 9.00002C2.33464 10.8472 2.98394 12.4202 4.28255 13.7188C5.58116 15.0174 7.15408 15.6667 9.0013 15.6667Z"})}),CloseIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M1.33464 11.8334L0.167969 10.6667L4.83464 6.00002L0.167969 1.33335L1.33464 0.166687L6.0013 4.83335L10.668 0.166687L11.8346 1.33335L7.16797 6.00002L11.8346 10.6667L10.668 11.8334L6.0013 7.16669L1.33464 11.8334Z"})}),CopyIcon=e=>jsxRuntime.jsx("svg",{width:"15",height:"18",viewBox:"0 0 15 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.5 14C5.04167 14 4.64931 13.8368 4.32292 13.5104C3.99653 13.184 3.83333 12.7917 3.83333 12.3334V2.33335C3.83333 1.87502 3.99653 1.48266 4.32292 1.15627C4.64931 0.829881 5.04167 0.666687 5.5 0.666687H13C13.4583 0.666687 13.8507 0.829881 14.1771 1.15627C14.5035 1.48266 14.6667 1.87502 14.6667 2.33335V12.3334C14.6667 12.7917 14.5035 13.184 14.1771 13.5104C13.8507 13.8368 13.4583 14 13 14H5.5ZM5.5 12.3334H13V2.33335H5.5V12.3334ZM2.16667 17.3334C1.70833 17.3334 1.31597 17.1702 0.989583 16.8438C0.663194 16.5174 0.5 16.125 0.5 15.6667V4.00002H2.16667V15.6667H11.3333V17.3334H2.16667Z"})}),EditIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.16667 13.8333H3.35417L11.5 5.6875L10.3125 4.5L2.16667 12.6458V13.8333ZM0.5 15.5V11.9583L11.5 0.979167C11.6667 0.826389 11.8507 0.708333 12.0521 0.625C12.2535 0.541667 12.4653 0.5 12.6875 0.5C12.9097 0.5 13.125 0.541667 13.3333 0.625C13.5417 0.708333 13.7222 0.833333 13.875 1L15.0208 2.16667C15.1875 2.31944 15.309 2.5 15.3854 2.70833C15.4618 2.91667 15.5 3.125 15.5 3.33333C15.5 3.55556 15.4618 3.76736 15.3854 3.96875C15.309 4.17014 15.1875 4.35417 15.0208 4.52083L4.04167 15.5H0.5ZM10.8958 5.10417L10.3125 4.5L11.5 5.6875L10.8958 5.10417Z"})}),ExchangeIcon=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M12.3882 15.3333L12.3882 4.37498L11.1382 4.37498L11.1382 15.3333L11.1382 18.3333L11.7632 17.7083L15.832 13.6394L14.9715 12.75L12.3882 15.3333Z"}),jsxRuntime.jsx("path",{d:"M7.61184 4.66669L7.61184 15.625L8.86184 15.625L8.86184 4.66669L8.86181 1.66669L8.23684 2.29169L4.16797 6.36056L5.02851 7.25002L7.61184 4.66669Z"})]}),InfoIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M8.16797 13.1667H9.83463V8.16669H8.16797V13.1667ZM9.0013 6.50002C9.23741 6.50002 9.43533 6.42016 9.59505 6.26044C9.75477 6.10071 9.83463 5.9028 9.83463 5.66669C9.83463 5.43058 9.75477 5.23266 9.59505 5.07294C9.43533 4.91321 9.23741 4.83335 9.0013 4.83335C8.76519 4.83335 8.56727 4.91321 8.40755 5.07294C8.24783 5.23266 8.16797 5.43058 8.16797 5.66669C8.16797 5.9028 8.24783 6.10071 8.40755 6.26044C8.56727 6.42016 8.76519 6.50002 9.0013 6.50002ZM9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334ZM9.0013 15.6667C10.8624 15.6667 12.4388 15.0209 13.7305 13.7292C15.0221 12.4375 15.668 10.8611 15.668 9.00002C15.668 7.13891 15.0221 5.56252 13.7305 4.27085C12.4388 2.97919 10.8624 2.33335 9.0013 2.33335C7.14019 2.33335 5.5638 2.97919 4.27214 4.27085C2.98047 5.56252 2.33464 7.13891 2.33464 9.00002C2.33464 10.8611 2.98047 12.4375 4.27214 13.7292C5.5638 15.0209 7.14019 15.6667 9.0013 15.6667Z"})}),KeyboardDownIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5 6.83335L0 1.83335L1.16667 0.666687L5 4.50002L8.83333 0.666687L10 1.83335L5 6.83335Z"})}),KeyboardLeftIcon=e=>jsxRuntime.jsx("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.66797 10L0.667969 5L5.66797 0L6.83464 1.16667L3.0013 5L6.83464 8.83333L5.66797 10Z"})}),KeyboardRightIcon=e=>jsxRuntime.jsx("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4.5013 5L0.667969 1.16667L1.83464 0L6.83464 5L1.83464 10L0.667969 8.83333L4.5013 5Z"})}),KeyboardUpIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5 3.00002L1.16667 6.83335L0 5.66669L5 0.666687L10 5.66669L8.83333 6.83335L5 3.00002Z"})}),LanguageIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M8 16C6.90278 16 5.86806 15.7917 4.89583 15.375C3.92361 14.9583 3.07292 14.3854 2.34375 13.6562C1.61458 12.9271 1.04167 12.0764 0.625 11.1042C0.208333 10.1319 0 9.09722 0 8C0 6.88889 0.208333 5.85069 0.625 4.88542C1.04167 3.92014 1.61458 3.07292 2.34375 2.34375C3.07292 1.61458 3.92361 1.04167 4.89583 0.625C5.86806 0.208333 6.90278 0 8 0C9.11111 0 10.1493 0.208333 11.1146 0.625C12.0799 1.04167 12.9271 1.61458 13.6562 2.34375C14.3854 3.07292 14.9583 3.92014 15.375 4.88542C15.7917 5.85069 16 6.88889 16 8C16 9.09722 15.7917 10.1319 15.375 11.1042C14.9583 12.0764 14.3854 12.9271 13.6562 13.6562C12.9271 14.3854 12.0799 14.9583 11.1146 15.375C10.1493 15.7917 9.11111 16 8 16ZM8 14.4375C8.23611 14.2014 8.47222 13.7604 8.70833 13.1146C8.94444 12.4688 9.125 11.7639 9.25 11H6.75C6.875 11.7639 7.05556 12.4688 7.29167 13.1146C7.52778 13.7604 7.76389 14.2014 8 14.4375ZM6.10417 14.2292C5.90972 13.8125 5.73958 13.3333 5.59375 12.7917C5.44792 12.25 5.32639 11.6528 5.22917 11H2.25C2.65278 11.7917 3.1875 12.4688 3.85417 13.0312C4.52083 13.5938 5.27083 13.9931 6.10417 14.2292ZM9.89583 14.2292C10.7292 13.9931 11.4792 13.5938 12.1458 13.0312C12.8125 12.4688 13.3472 11.7917 13.75 11H10.7708C10.6736 11.6528 10.5521 12.25 10.4062 12.7917C10.2604 13.3333 10.0903 13.8125 9.89583 14.2292ZM1.6875 9.5H5.04167C5.01389 9.23611 4.99653 8.97569 4.98958 8.71875C4.98264 8.46181 4.97917 8.20833 4.97917 7.95833C4.97917 7.70833 4.98264 7.46181 4.98958 7.21875C4.99653 6.97569 5.01389 6.73611 5.04167 6.5H1.6875C1.61806 6.76389 1.56944 7.01736 1.54167 7.26042C1.51389 7.50347 1.5 7.75 1.5 8C1.5 8.25 1.51389 8.49653 1.54167 8.73958C1.56944 8.98264 1.61806 9.23611 1.6875 9.5ZM6.5625 9.5H9.4375C9.46528 9.22222 9.48264 8.96181 9.48958 8.71875C9.49653 8.47569 9.5 8.23611 9.5 8C9.5 7.76389 9.49653 7.52083 9.48958 7.27083C9.48264 7.02083 9.46528 6.76389 9.4375 6.5H6.5625C6.53472 6.76389 6.51736 7.02083 6.51042 7.27083C6.50347 7.52083 6.5 7.76389 6.5 8C6.5 8.23611 6.50347 8.47917 6.51042 8.72917C6.51736 8.97917 6.53472 9.23611 6.5625 9.5ZM10.9583 9.5H14.3125C14.3819 9.23611 14.4306 8.98264 14.4583 8.73958C14.4861 8.49653 14.5 8.25 14.5 8C14.5 7.75 14.4861 7.5 14.4583 7.25C14.4306 7 14.3819 6.75 14.3125 6.5H10.9583C10.9861 6.76389 11.0035 7.02431 11.0104 7.28125C11.0174 7.53819 11.0208 7.79167 11.0208 8.04167C11.0208 8.29167 11.0174 8.53819 11.0104 8.78125C11.0035 9.02431 10.9861 9.26389 10.9583 9.5ZM10.7708 5H13.75C13.3472 4.20833 12.8125 3.53125 12.1458 2.96875C11.4792 2.40625 10.7292 2.00694 9.89583 1.77083C10.0903 2.1875 10.2604 2.66667 10.4062 3.20833C10.5521 3.75 10.6736 4.34722 10.7708 5ZM6.75 5H9.25C9.125 4.23611 8.94444 3.53125 8.70833 2.88542C8.47222 2.23958 8.23611 1.79861 8 1.5625C7.76389 1.79861 7.52778 2.23958 7.29167 2.88542C7.05556 3.53125 6.875 4.23611 6.75 5ZM2.25 5H5.22917C5.32639 4.34722 5.44792 3.75 5.59375 3.20833C5.73958 2.66667 5.90972 2.1875 6.10417 1.77083C5.27083 2.00694 4.52083 2.40625 3.85417 2.96875C3.1875 3.53125 2.65278 4.20833 2.25 5Z"})}),LinkIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"10",viewBox:"0 0 18 10",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M8.16797 9.16665H4.83464C3.68186 9.16665 2.69922 8.7604 1.88672 7.9479C1.07422 7.1354 0.667969 6.15276 0.667969 4.99998C0.667969 3.8472 1.07422 2.86456 1.88672 2.05206C2.69922 1.23956 3.68186 0.833313 4.83464 0.833313H8.16797V2.49998H4.83464C4.14019 2.49998 3.54991 2.74304 3.0638 3.22915C2.57769 3.71526 2.33464 4.30554 2.33464 4.99998C2.33464 5.69442 2.57769 6.2847 3.0638 6.77081C3.54991 7.25692 4.14019 7.49998 4.83464 7.49998H8.16797V9.16665ZM5.66797 5.83331V4.16665H12.3346V5.83331H5.66797ZM9.83463 9.16665V7.49998H13.168C13.8624 7.49998 14.4527 7.25692 14.9388 6.77081C15.4249 6.2847 15.668 5.69442 15.668 4.99998C15.668 4.30554 15.4249 3.71526 14.9388 3.22915C14.4527 2.74304 13.8624 2.49998 13.168 2.49998H9.83463V0.833313H13.168C14.3207 0.833313 15.3034 1.23956 16.1159 2.05206C16.9284 2.86456 17.3346 3.8472 17.3346 4.99998C17.3346 6.15276 16.9284 7.1354 16.1159 7.9479C15.3034 8.7604 14.3207 9.16665 13.168 9.16665H9.83463Z"})}),LockIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M1.9987 18.3333C1.54036 18.3333 1.148 18.1701 0.821615 17.8437C0.495226 17.5173 0.332031 17.125 0.332031 16.6666V8.33331C0.332031 7.87498 0.495226 7.48262 0.821615 7.15623C1.148 6.82984 1.54036 6.66665 1.9987 6.66665H2.83203V4.99998C2.83203 3.8472 3.23828 2.86456 4.05078 2.05206C4.86328 1.23956 5.84592 0.833313 6.9987 0.833313C8.15148 0.833313 9.13411 1.23956 9.94661 2.05206C10.7591 2.86456 11.1654 3.8472 11.1654 4.99998V6.66665H11.9987C12.457 6.66665 12.8494 6.82984 13.1758 7.15623C13.5022 7.48262 13.6654 7.87498 13.6654 8.33331V16.6666C13.6654 17.125 13.5022 17.5173 13.1758 17.8437C12.8494 18.1701 12.457 18.3333 11.9987 18.3333H1.9987ZM1.9987 16.6666H11.9987V8.33331H1.9987V16.6666ZM6.9987 14.1666C7.45703 14.1666 7.84939 14.0035 8.17578 13.6771C8.50217 13.3507 8.66536 12.9583 8.66536 12.5C8.66536 12.0416 8.50217 11.6493 8.17578 11.3229C7.84939 10.9965 7.45703 10.8333 6.9987 10.8333C6.54036 10.8333 6.148 10.9965 5.82161 11.3229C5.49523 11.6493 5.33203 12.0416 5.33203 12.5C5.33203 12.9583 5.49523 13.3507 5.82161 13.6771C6.148 14.0035 6.54036 14.1666 6.9987 14.1666ZM4.4987 6.66665H9.4987V4.99998C9.4987 4.30554 9.25564 3.71526 8.76953 3.22915C8.28342 2.74304 7.69314 2.49998 6.9987 2.49998C6.30425 2.49998 5.71398 2.74304 5.22786 3.22915C4.74175 3.71526 4.4987 4.30554 4.4987 4.99998V6.66665Z"})}),LogoutIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.16667 15.5C1.70833 15.5 1.31597 15.3368 0.989583 15.0104C0.663194 14.684 0.5 14.2917 0.5 13.8333V2.16667C0.5 1.70833 0.663194 1.31597 0.989583 0.989583C1.31597 0.663194 1.70833 0.5 2.16667 0.5H8V2.16667H2.16667V13.8333H8V15.5H2.16667ZM11.3333 12.1667L10.1875 10.9583L12.3125 8.83333H5.5V7.16667H12.3125L10.1875 5.04167L11.3333 3.83333L15.5 8L11.3333 12.1667Z"})}),MenuIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.5 10V8.33333H15.5V10H0.5ZM0.5 5.83333V4.16667H15.5V5.83333H0.5ZM0.5 1.66667V0H15.5V1.66667H0.5Z"})}),OpenInFullIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.5 15.5V8.83333H2.16667V12.6667L12.6667 2.16667H8.83333V0.5H15.5V7.16667H13.8333V3.33333L3.33333 13.8333H7.16667V15.5H0.5Z"})}),PageInfoIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M12.7904 13.875C11.9154 13.875 11.1758 13.5729 10.5716 12.9688C9.96745 12.3646 9.66536 11.625 9.66536 10.75C9.66536 9.875 9.96745 9.13542 10.5716 8.53125C11.1758 7.92708 11.9154 7.625 12.7904 7.625C13.6654 7.625 14.4049 7.92708 15.0091 8.53125C15.6133 9.13542 15.9154 9.875 15.9154 10.75C15.9154 11.625 15.6133 12.3646 15.0091 12.9688C14.4049 13.5729 13.6654 13.875 12.7904 13.875ZM12.7904 12.2083C13.1931 12.2083 13.5369 12.066 13.8216 11.7812C14.1063 11.4965 14.2487 11.1528 14.2487 10.75C14.2487 10.3472 14.1063 10.0035 13.8216 9.71875C13.5369 9.43403 13.1931 9.29167 12.7904 9.29167C12.3876 9.29167 12.0438 9.43403 11.7591 9.71875C11.4744 10.0035 11.332 10.3472 11.332 10.75C11.332 11.1528 11.4744 11.4965 11.7591 11.7812C12.0438 12.066 12.3876 12.2083 12.7904 12.2083ZM1.33203 11.5833V9.91667H7.9987V11.5833H1.33203ZM3.20703 6.375C2.33203 6.375 1.59245 6.07292 0.988281 5.46875C0.384115 4.86458 0.0820312 4.125 0.0820312 3.25C0.0820312 2.375 0.384115 1.63542 0.988281 1.03125C1.59245 0.427083 2.33203 0.125 3.20703 0.125C4.08203 0.125 4.82161 0.427083 5.42578 1.03125C6.02995 1.63542 6.33203 2.375 6.33203 3.25C6.33203 4.125 6.02995 4.86458 5.42578 5.46875C4.82161 6.07292 4.08203 6.375 3.20703 6.375ZM3.20703 4.70833C3.60981 4.70833 3.95356 4.56597 4.23828 4.28125C4.523 3.99653 4.66536 3.65278 4.66536 3.25C4.66536 2.84722 4.523 2.50347 4.23828 2.21875C3.95356 1.93403 3.60981 1.79167 3.20703 1.79167C2.80425 1.79167 2.4605 1.93403 2.17578 2.21875C1.89106 2.50347 1.7487 2.84722 1.7487 3.25C1.7487 3.65278 1.89106 3.99653 2.17578 4.28125C2.4605 4.56597 2.80425 4.70833 3.20703 4.70833ZM7.9987 4.08333V2.41667H14.6654V4.08333H7.9987Z"})}),RadioCheckedIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M7.83464 12.8334L13.7096 6.95835L12.543 5.79169L7.83464 10.5L5.45964 8.12502L4.29297 9.29169L7.83464 12.8334ZM9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334Z"})}),RadioUncheckedIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334ZM9.0013 15.6667C10.8624 15.6667 12.4388 15.0209 13.7305 13.7292C15.0221 12.4375 15.668 10.8611 15.668 9.00002C15.668 7.13891 15.0221 5.56252 13.7305 4.27085C12.4388 2.97919 10.8624 2.33335 9.0013 2.33335C7.14019 2.33335 5.5638 2.97919 4.27214 4.27085C2.98047 5.56252 2.33464 7.13891 2.33464 9.00002C2.33464 10.8611 2.98047 12.4375 4.27214 13.7292C5.5638 15.0209 7.14019 15.6667 9.0013 15.6667Z"})}),RemoveIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"2",viewBox:"0 0 12 2",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.167969 1.83332V0.166656H11.8346V1.83332H0.167969Z"})}),StarIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"17",viewBox:"0 0 18 17",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.3763 13.0209L9.0013 11.4375L11.6263 13.0417L10.9388 10.0417L13.2513 8.04169L10.2096 7.77085L9.0013 4.93752L7.79297 7.75002L4.7513 8.02085L7.0638 10.0417L6.3763 13.0209ZM3.85547 16.5L5.20964 10.6459L0.667969 6.70835L6.66797 6.18752L9.0013 0.666687L11.3346 6.18752L17.3346 6.70835L12.793 10.6459L14.1471 16.5L9.0013 13.3959L3.85547 16.5Z"})}),WalletIcon=e=>jsxRuntime.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.16667 15.5C1.70833 15.5 1.31597 15.3368 0.989583 15.0104C0.663194 14.684 0.5 14.2917 0.5 13.8333V2.16667C0.5 1.70833 0.663194 1.31597 0.989583 0.989583C1.31597 0.663194 1.70833 0.5 2.16667 0.5H13.8333C14.2917 0.5 14.684 0.663194 15.0104 0.989583C15.3368 1.31597 15.5 1.70833 15.5 2.16667V4.25H13.8333V2.16667H2.16667V13.8333H13.8333V11.75H15.5V13.8333C15.5 14.2917 15.3368 14.684 15.0104 15.0104C14.684 15.3368 14.2917 15.5 13.8333 15.5H2.16667ZM8.83333 12.1667C8.375 12.1667 7.98264 12.0035 7.65625 11.6771C7.32986 11.3507 7.16667 10.9583 7.16667 10.5V5.5C7.16667 5.04167 7.32986 4.64931 7.65625 4.32292C7.98264 3.99653 8.375 3.83333 8.83333 3.83333H14.6667C15.125 3.83333 15.5174 3.99653 15.8438 4.32292C16.1701 4.64931 16.3333 5.04167 16.3333 5.5V10.5C16.3333 10.9583 16.1701 11.3507 15.8438 11.6771C15.5174 12.0035 15.125 12.1667 14.6667 12.1667H8.83333ZM14.6667 10.5V5.5H8.83333V10.5H14.6667ZM11.3333 9.25C11.6806 9.25 11.9757 9.12847 12.2188 8.88542C12.4618 8.64236 12.5833 8.34722 12.5833 8C12.5833 7.65278 12.4618 7.35764 12.2188 7.11458C11.9757 6.87153 11.6806 6.75 11.3333 6.75C10.9861 6.75 10.691 6.87153 10.4479 7.11458C10.2049 7.35764 10.0833 7.65278 10.0833 8C10.0833 8.34722 10.2049 8.64236 10.4479 8.88542C10.691 9.12847 10.9861 9.25 11.3333 9.25Z"})}),SearchIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M14.3333 15.5L9.08333 10.25C8.66667 10.5833 8.1875 10.8472 7.64583 11.0417C7.10417 11.2361 6.52778 11.3333 5.91667 11.3333C4.40278 11.3333 3.12153 10.809 2.07292 9.76042C1.02431 8.71181 0.5 7.43056 0.5 5.91667C0.5 4.40278 1.02431 3.12153 2.07292 2.07292C3.12153 1.02431 4.40278 0.5 5.91667 0.5C7.43056 0.5 8.71181 1.02431 9.76042 2.07292C10.809 3.12153 11.3333 4.40278 11.3333 5.91667C11.3333 6.52778 11.2361 7.10417 11.0417 7.64583C10.8472 8.1875 10.5833 8.66667 10.25 9.08333L15.5 14.3333L14.3333 15.5ZM5.91667 9.66667C6.95833 9.66667 7.84375 9.30208 8.57292 8.57292C9.30208 7.84375 9.66667 6.95833 9.66667 5.91667C9.66667 4.875 9.30208 3.98958 8.57292 3.26042C7.84375 2.53125 6.95833 2.16667 5.91667 2.16667C4.875 2.16667 3.98958 2.53125 3.26042 3.26042C2.53125 3.98958 2.16667 4.875 2.16667 5.91667C2.16667 6.95833 2.53125 7.84375 3.26042 8.57292C3.98958 9.30208 4.875 9.66667 5.91667 9.66667Z"})}),TimerIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"19",viewBox:"0 0 16 19",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M5.5 2.49998V0.833313H10.5V2.49998H5.5ZM7.16667 11.6666H8.83333V6.66665H7.16667V11.6666ZM8 18.3333C6.97222 18.3333 6.00347 18.1354 5.09375 17.7396C4.18403 17.3437 3.38889 16.8055 2.70833 16.125C2.02778 15.4444 1.48958 14.6493 1.09375 13.7396C0.697917 12.8298 0.5 11.8611 0.5 10.8333C0.5 9.80554 0.697917 8.83679 1.09375 7.92706C1.48958 7.01734 2.02778 6.2222 2.70833 5.54165C3.38889 4.86109 4.18403 4.3229 5.09375 3.92706C6.00347 3.53123 6.97222 3.33331 8 3.33331C8.86111 3.33331 9.6875 3.4722 10.4792 3.74998C11.2708 4.02776 12.0139 4.43054 12.7083 4.95831L13.875 3.79165L15.0417 4.95831L13.875 6.12498C14.4028 6.81942 14.8056 7.56248 15.0833 8.35415C15.3611 9.14581 15.5 9.9722 15.5 10.8333C15.5 11.8611 15.3021 12.8298 14.9062 13.7396C14.5104 14.6493 13.9722 15.4444 13.2917 16.125C12.6111 16.8055 11.816 17.3437 10.9062 17.7396C9.99653 18.1354 9.02778 18.3333 8 18.3333ZM8 16.6666C9.61111 16.6666 10.9861 16.0972 12.125 14.9583C13.2639 13.8194 13.8333 12.4444 13.8333 10.8333C13.8333 9.2222 13.2639 7.8472 12.125 6.70831C10.9861 5.56942 9.61111 4.99998 8 4.99998C6.38889 4.99998 5.01389 5.56942 3.875 6.70831C2.73611 7.8472 2.16667 9.2222 2.16667 10.8333C2.16667 12.4444 2.73611 13.8194 3.875 14.9583C5.01389 16.0972 6.38889 16.6666 8 16.6666Z"})}),ReferralIcon=e=>jsxRuntime.jsx("svg",{width:"20",height:"14",viewBox:"0 0 20 14",fill:"#554B6A",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M10.4167 6.95831C10.8194 6.51387 11.1285 6.00692 11.3438 5.43748C11.559 4.86804 11.6667 4.27776 11.6667 3.66665C11.6667 3.05554 11.559 2.46526 11.3438 1.89581C11.1285 1.32637 10.8194 0.819424 10.4167 0.37498C11.25 0.486091 11.9444 0.854146 12.5 1.47915C13.0556 2.10415 13.3333 2.83331 13.3333 3.66665C13.3333 4.49998 13.0556 5.22915 12.5 5.85415C11.9444 6.47915 11.25 6.8472 10.4167 6.95831ZM15 13.6666V11.1666C15 10.6666 14.8889 10.191 14.6667 9.73956C14.4444 9.28817 14.1528 8.88887 13.7917 8.54165C14.5 8.79165 15.1562 9.11456 15.7604 9.5104C16.3646 9.90623 16.6667 10.4583 16.6667 11.1666V13.6666H15ZM16.6667 7.83331V6.16665H15V4.49998H16.6667V2.83331H18.3333V4.49998H20V6.16665H18.3333V7.83331H16.6667ZM6.66667 6.99998C5.75 6.99998 4.96528 6.67359 4.3125 6.02081C3.65972 5.36804 3.33333 4.58331 3.33333 3.66665C3.33333 2.74998 3.65972 1.96526 4.3125 1.31248C4.96528 0.659702 5.75 0.333313 6.66667 0.333313C7.58333 0.333313 8.36806 0.659702 9.02083 1.31248C9.67361 1.96526 10 2.74998 10 3.66665C10 4.58331 9.67361 5.36804 9.02083 6.02081C8.36806 6.67359 7.58333 6.99998 6.66667 6.99998ZM0 13.6666V11.3333C0 10.8611 0.121528 10.4271 0.364583 10.0312C0.607639 9.6354 0.930556 9.33331 1.33333 9.12498C2.19444 8.69442 3.06944 8.37151 3.95833 8.15623C4.84722 7.94095 5.75 7.83331 6.66667 7.83331C7.58333 7.83331 8.48611 7.94095 9.375 8.15623C10.2639 8.37151 11.1389 8.69442 12 9.12498C12.4028 9.33331 12.7257 9.6354 12.9688 10.0312C13.2118 10.4271 13.3333 10.8611 13.3333 11.3333V13.6666H0ZM6.66667 5.33331C7.125 5.33331 7.51736 5.17012 7.84375 4.84373C8.17014 4.51734 8.33333 4.12498 8.33333 3.66665C8.33333 3.20831 8.17014 2.81595 7.84375 2.48956C7.51736 2.16317 7.125 1.99998 6.66667 1.99998C6.20833 1.99998 5.81597 2.16317 5.48958 2.48956C5.16319 2.81595 5 3.20831 5 3.66665C5 4.12498 5.16319 4.51734 5.48958 4.84373C5.81597 5.17012 6.20833 5.33331 6.66667 5.33331ZM1.66667 12H11.6667V11.3333C11.6667 11.1805 11.6285 11.0416 11.5521 10.9166C11.4757 10.7916 11.375 10.6944 11.25 10.625C10.5 10.25 9.74306 9.96873 8.97917 9.78123C8.21528 9.59373 7.44444 9.49998 6.66667 9.49998C5.88889 9.49998 5.11806 9.59373 4.35417 9.78123C3.59028 9.96873 2.83333 10.25 2.08333 10.625C1.95833 10.6944 1.85764 10.7916 1.78125 10.9166C1.70486 11.0416 1.66667 11.1805 1.66667 11.3333V12Z"})}),FeesIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2 13.6667C1.44444 13.6667 0.972222 13.4722 0.583333 13.0833C0.194444 12.6945 0 12.2222 0 11.6667V9.66668H2V0.333344L3 1.33334L4 0.333344L5 1.33334L6 0.333344L7 1.33334L8 0.333344L9 1.33334L10 0.333344L11 1.33334L12 0.333344V11.6667C12 12.2222 11.8056 12.6945 11.4167 13.0833C11.0278 13.4722 10.5556 13.6667 10 13.6667H2ZM10 12.3333C10.1889 12.3333 10.3472 12.2695 10.475 12.1417C10.6028 12.0139 10.6667 11.8556 10.6667 11.6667V2.33334H3.33333V9.66668H9.33333V11.6667C9.33333 11.8556 9.39722 12.0139 9.525 12.1417C9.65278 12.2695 9.81111 12.3333 10 12.3333ZM4 5.00001V3.66668H8V5.00001H4ZM4 7.00001V5.66668H8V7.00001H4ZM9.33333 5.00001C9.14444 5.00001 8.98611 4.93612 8.85833 4.80834C8.73056 4.68057 8.66667 4.52223 8.66667 4.33334C8.66667 4.14445 8.73056 3.98612 8.85833 3.85834C8.98611 3.73057 9.14444 3.66668 9.33333 3.66668C9.52222 3.66668 9.68056 3.73057 9.80833 3.85834C9.93611 3.98612 10 4.14445 10 4.33334C10 4.52223 9.93611 4.68057 9.80833 4.80834C9.68056 4.93612 9.52222 5.00001 9.33333 5.00001ZM9.33333 7.00001C9.14444 7.00001 8.98611 6.93612 8.85833 6.80834C8.73056 6.68057 8.66667 6.52223 8.66667 6.33334C8.66667 6.14445 8.73056 5.98612 8.85833 5.85834C8.98611 5.73057 9.14444 5.66668 9.33333 5.66668C9.52222 5.66668 9.68056 5.73057 9.80833 5.85834C9.93611 5.98612 10 6.14445 10 6.33334C10 6.52223 9.93611 6.68057 9.80833 6.80834C9.68056 6.93612 9.52222 7.00001 9.33333 7.00001ZM2 12.3333H8V11H1.33333V11.6667C1.33333 11.8556 1.39722 12.0139 1.525 12.1417C1.65278 12.2695 1.81111 12.3333 2 12.3333Z",fill:"#554B6A"})}),OpenInNewIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H6V1.33333H1.33333V10.6667H10.6667V6H12V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM4.46667 8.46667L3.53333 7.53333L9.73333 1.33333H7.33333V0H12V4.66667H10.6667V2.26667L4.46667 8.46667Z",fill:"#554B6A"})}),ArrowEastIcon=e=>jsxRuntime.jsx("svg",{width:"21",height:"14",viewBox:"0 0 21 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M13.1367 14L11.7117 12.6L16.3117 8H0.136719V6H16.3117L11.7367 1.4L13.1367 0L20.1367 7L13.1367 14Z",fill:"#554B6A"})}),CheckCircleIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.06536 10.0667L10.7654 5.36666L9.83203 4.43333L6.06536 8.19999L4.16536 6.29999L3.23203 7.23333L6.06536 10.0667ZM6.9987 13.6667C6.07648 13.6667 5.20981 13.4917 4.3987 13.1417C3.58759 12.7917 2.88203 12.3167 2.28203 11.7167C1.68203 11.1167 1.20703 10.4111 0.857031 9.59999C0.507031 8.78888 0.332031 7.92222 0.332031 6.99999C0.332031 6.07777 0.507031 5.21111 0.857031 4.39999C1.20703 3.58888 1.68203 2.88333 2.28203 2.28333C2.88203 1.68333 3.58759 1.20833 4.3987 0.858328C5.20981 0.508328 6.07648 0.333328 6.9987 0.333328C7.92092 0.333328 8.78759 0.508328 9.5987 0.858328C10.4098 1.20833 11.1154 1.68333 11.7154 2.28333C12.3154 2.88333 12.7904 3.58888 13.1404 4.39999C13.4904 5.21111 13.6654 6.07777 13.6654 6.99999C13.6654 7.92222 13.4904 8.78888 13.1404 9.59999C12.7904 10.4111 12.3154 11.1167 11.7154 11.7167C11.1154 12.3167 10.4098 12.7917 9.5987 13.1417C8.78759 13.4917 7.92092 13.6667 6.9987 13.6667ZM6.9987 12.3333C8.48759 12.3333 9.7487 11.8167 10.782 10.7833C11.8154 9.74999 12.332 8.48888 12.332 6.99999C12.332 5.51111 11.8154 4.24999 10.782 3.21666C9.7487 2.18333 8.48759 1.66666 6.9987 1.66666C5.50981 1.66666 4.2487 2.18333 3.21536 3.21666C2.18203 4.24999 1.66536 5.51111 1.66536 6.99999C1.66536 8.48888 2.18203 9.74999 3.21536 10.7833C4.2487 11.8167 5.50981 12.3333 6.9987 12.3333Z",fill:"#554B6A"})}),FingerprintIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.17059 2.00668C7.34517 2.00668 8.45327 2.26308 9.49488 2.77587C10.5365 3.28866 11.4064 4.02967 12.1045 4.9989C12.182 5.10033 12.207 5.19049 12.1793 5.26939C12.1515 5.34828 12.1045 5.4159 12.038 5.47225C11.9715 5.5286 11.8939 5.55396 11.8053 5.54832C11.7166 5.54269 11.6391 5.49479 11.5726 5.40463C10.9631 4.52556 10.1791 3.85217 9.22063 3.38446C8.26212 2.91675 7.24544 2.68289 6.17059 2.68289C5.09573 2.68289 4.08737 2.91675 3.14548 3.38446C2.2036 3.85217 1.42239 4.52556 0.801856 5.40463C0.73537 5.50606 0.657803 5.56241 0.569155 5.57368C0.480507 5.58495 0.40294 5.56241 0.336454 5.50606C0.258888 5.44971 0.211793 5.37927 0.195172 5.29474C0.178551 5.21022 0.203483 5.12287 0.269969 5.03271C0.956989 4.07475 1.81854 3.33092 2.85461 2.80123C3.89068 2.27153 4.99601 2.00668 6.17059 2.00668ZM6.17059 3.59577C7.66652 3.59577 8.95192 4.10293 10.0268 5.11724C11.1016 6.13155 11.6391 7.38817 11.6391 8.8871C11.6391 9.4506 11.4424 9.92113 11.049 10.2987C10.6556 10.6762 10.1764 10.865 9.61123 10.865C9.0461 10.865 8.56131 10.6762 8.15686 10.2987C7.7524 9.92113 7.55017 9.4506 7.55017 8.8871C7.55017 8.51518 7.41443 8.20244 7.14295 7.94886C6.87146 7.69528 6.54734 7.56849 6.17059 7.56849C5.79384 7.56849 5.46972 7.69528 5.19823 7.94886C4.92675 8.20244 4.79101 8.51518 4.79101 8.8871C4.79101 9.9803 5.10959 10.8932 5.74674 11.6257C6.3839 12.3583 7.20666 12.8711 8.21503 13.1641C8.31476 13.1979 8.38125 13.2543 8.41449 13.3332C8.44773 13.4121 8.45327 13.4966 8.43111 13.5867C8.40895 13.6656 8.36462 13.7332 8.29814 13.7896C8.23165 13.846 8.14854 13.8629 8.04882 13.8403C6.89639 13.5473 5.95451 12.9641 5.22317 12.0906C4.49182 11.2172 4.12615 10.1493 4.12615 8.8871C4.12615 8.32359 4.32561 7.85024 4.72452 7.46706C5.12344 7.08388 5.60546 6.89228 6.17059 6.89228C6.73572 6.89228 7.21774 7.08388 7.61666 7.46706C8.01557 7.85024 8.21503 8.32359 8.21503 8.8871C8.21503 9.25901 8.35354 9.57176 8.63057 9.82533C8.90759 10.0789 9.23448 10.2057 9.61123 10.2057C9.98799 10.2057 10.3093 10.0789 10.5753 9.82533C10.8412 9.57176 10.9742 9.25901 10.9742 8.8871C10.9742 7.57976 10.5033 6.48092 9.56137 5.59058C8.61949 4.70024 7.49477 4.25507 6.18721 4.25507C4.87966 4.25507 3.75494 4.70024 2.81305 5.59058C1.87117 6.48092 1.40023 7.57413 1.40023 8.87019C1.40023 9.14067 1.42516 9.47878 1.47503 9.8845C1.52489 10.2902 1.64401 10.7636 1.83239 11.3045C1.86563 11.406 1.86286 11.4961 1.82408 11.575C1.78529 11.6539 1.72158 11.7103 1.63293 11.7441C1.54428 11.7779 1.4584 11.7751 1.3753 11.7356C1.29219 11.6962 1.23401 11.6314 1.20077 11.5412C1.03456 11.1017 0.915436 10.665 0.843409 10.2311C0.771383 9.79716 0.73537 9.34917 0.73537 8.8871C0.73537 7.38817 1.27003 6.13155 2.33934 5.11724C3.40866 4.10293 4.68574 3.59577 6.17059 3.59577ZM6.17059 0.349976C6.87977 0.349976 7.57233 0.437319 8.24827 0.612006C8.92421 0.786693 9.57799 1.03745 10.2096 1.36429C10.3093 1.42064 10.3675 1.48826 10.3841 1.56715C10.4008 1.64604 10.3924 1.72493 10.3592 1.80382C10.326 1.88271 10.2706 1.9447 10.193 1.98978C10.1154 2.03486 10.0212 2.02922 9.91042 1.97287C9.32313 1.66858 8.71644 1.43473 8.09037 1.27131C7.46429 1.10789 6.82437 1.02618 6.17059 1.02618C5.52789 1.02618 4.89628 1.10226 4.27574 1.2544C3.65521 1.40655 3.06238 1.64604 2.49725 1.97287C2.4086 2.02922 2.31995 2.04331 2.2313 2.01514C2.14265 1.98696 2.07617 1.92779 2.03184 1.83763C1.98752 1.74747 1.97644 1.66576 1.9986 1.59251C2.02076 1.51925 2.07617 1.45445 2.16482 1.3981C2.78535 1.05999 3.43359 0.800781 4.10953 0.620459C4.78547 0.440137 5.47249 0.349976 6.17059 0.349976ZM6.17059 5.23558C7.20112 5.23558 8.0876 5.58777 8.83002 6.29215C9.57245 6.99653 9.94366 7.86151 9.94366 8.8871C9.94366 8.98853 9.91319 9.07024 9.85225 9.13222C9.7913 9.19421 9.71096 9.2252 9.61123 9.2252C9.52259 9.2252 9.44502 9.19421 9.37853 9.13222C9.31205 9.07024 9.2788 8.98853 9.2788 8.8871C9.2788 8.04184 8.97131 7.33464 8.35631 6.76549C7.74132 6.19635 7.01274 5.91178 6.17059 5.91178C5.32844 5.91178 4.6054 6.19635 4.00149 6.76549C3.39758 7.33464 3.09562 8.04184 3.09562 8.8871C3.09562 9.79998 3.25075 10.5748 3.56102 11.2116C3.87129 11.8483 4.32561 12.4879 4.92398 13.1303C4.99047 13.1979 5.02371 13.2768 5.02371 13.367C5.02371 13.4571 4.99047 13.536 4.92398 13.6036C4.85749 13.6713 4.77993 13.7051 4.69128 13.7051C4.60263 13.7051 4.52506 13.6713 4.45858 13.6036C3.8048 12.9049 3.30339 12.1921 2.95434 11.4651C2.60528 10.7382 2.43076 9.87887 2.43076 8.8871C2.43076 7.86151 2.79643 6.99653 3.52778 6.29215C4.25912 5.58777 5.14006 5.23558 6.17059 5.23558ZM6.15397 8.54899C6.2537 8.54899 6.33403 8.5828 6.39498 8.65042C6.45592 8.71804 6.4864 8.79693 6.4864 8.8871C6.4864 9.73236 6.78558 10.4255 7.38396 10.9664C7.98233 11.5074 8.68043 11.7779 9.47826 11.7779C9.54475 11.7779 9.63894 11.7722 9.76083 11.761C9.88272 11.7497 10.0101 11.7328 10.1431 11.7103C10.2428 11.6877 10.3287 11.7018 10.4008 11.7525C10.4728 11.8032 10.5199 11.8793 10.542 11.9807C10.5642 12.0709 10.5476 12.1498 10.4922 12.2174C10.4368 12.285 10.3647 12.3301 10.2761 12.3527C10.0766 12.409 9.90211 12.44 9.75252 12.4456C9.60292 12.4513 9.5115 12.4541 9.47826 12.4541C8.49205 12.4541 7.63605 12.116 6.91025 11.4398C6.18444 10.7636 5.82154 9.91268 5.82154 8.8871C5.82154 8.79693 5.85201 8.71804 5.91296 8.65042C5.9739 8.5828 6.05424 8.54899 6.15397 8.54899Z",fill:"#554B6A"})}),CompareArrowsIcon=e=>jsxRuntime.jsx("svg",{width:"15",height:"12",viewBox:"0 0 15 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4.53203 11.666L3.55203 10.6863L5.35453 8.91602H0.332031V7.54102H5.35453L3.55203 5.7707L4.53203 4.79102L8.03203 8.22852L4.53203 11.666ZM10.132 7.54102L6.63203 4.10352L10.132 0.666016L11.112 1.6457L9.30953 3.41602H14.332V4.79102H9.30953L11.112 6.56133L10.132 7.54102Z",fill:"#554B6A"})}),MinusIcon=({rectFill:e="#F7CFDB",pathFill:t="#E36492",...i})=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[jsxRuntime.jsx("rect",{width:"20",height:"20",rx:"10",fill:e}),jsxRuntime.jsx("mask",{id:"mask0_16264_15926",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"16",height:"16",children:jsxRuntime.jsx("rect",{x:"2",y:"2",width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_16264_15926)",children:jsxRuntime.jsx("path",{d:"M5.9987 10.6668C5.80981 10.6668 5.65148 10.6029 5.5237 10.4752C5.39592 10.3474 5.33203 10.1891 5.33203 10.0002C5.33203 9.81127 5.39592 9.65294 5.5237 9.52516C5.65148 9.39738 5.80981 9.3335 5.9987 9.3335H13.9987C14.1876 9.3335 14.3459 9.39738 14.4737 9.52516C14.6015 9.65294 14.6654 9.81127 14.6654 10.0002C14.6654 10.1891 14.6015 10.3474 14.4737 10.4752C14.3459 10.6029 14.1876 10.6668 13.9987 10.6668H5.9987Z",fill:t})})]}),PlusIcon=({rectFill:e="#99DFC7",pathFill:t="#2CAC7F",...i})=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[jsxRuntime.jsx("rect",{width:"20",height:"20",rx:"10",fill:e}),jsxRuntime.jsx("mask",{id:"mask0_16264_15930",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"16",height:"16",children:jsxRuntime.jsx("rect",{x:"2",y:"2",width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_16264_15930)",children:jsxRuntime.jsx("path",{d:"M9.33203 10.6685H5.9987C5.80981 10.6685 5.65148 10.6046 5.5237 10.4769C5.39592 10.3491 5.33203 10.1908 5.33203 10.0019C5.33203 9.81298 5.39592 9.65465 5.5237 9.52687C5.65148 9.39909 5.80981 9.3352 5.9987 9.3352H9.33203V6.00187C9.33203 5.81298 9.39592 5.65465 9.5237 5.52687C9.65148 5.39909 9.80981 5.33521 9.9987 5.33521C10.1876 5.33521 10.3459 5.39909 10.4737 5.52687C10.6015 5.65465 10.6654 5.81298 10.6654 6.00187V9.3352H13.9987C14.1876 9.3352 14.3459 9.39909 14.4737 9.52687C14.6015 9.65465 14.6654 9.81298 14.6654 10.0019C14.6654 10.1908 14.6015 10.3491 14.4737 10.4769C14.3459 10.6046 14.1876 10.6685 13.9987 10.6685H10.6654V14.0019C10.6654 14.1908 10.6015 14.3491 10.4737 14.4769C10.3459 14.6046 10.1876 14.6685 9.9987 14.6685C9.80981 14.6685 9.65148 14.6046 9.5237 14.4769C9.39592 14.3491 9.33203 14.1908 9.33203 14.0019V10.6685Z",fill:t})})]}),Checked=e=>jsxRuntime.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_14594_15086",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:jsxRuntime.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_14594_15086)",children:jsxRuntime.jsx("path",{d:"M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03333 10.975 7.75 10.975C7.46667 10.975 7.23333 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63333 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5Z",fill:"#E36492"})})]}),Unchecked=e=>jsxRuntime.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_14594_15093",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:jsxRuntime.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_14594_15093)",children:jsxRuntime.jsx("path",{d:"M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z",fill:"#554B6A"})})]}),Share=e=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...e,children:jsxRuntime.jsx("path",{d:"M11.333 14.6663C10.7775 14.6663 10.3052 14.4719 9.91634 14.083C9.52745 13.6941 9.33301 13.2219 9.33301 12.6663C9.33301 12.5997 9.34968 12.4441 9.38301 12.1997L4.69967 9.46634C4.5219 9.63301 4.31634 9.76356 4.08301 9.85801C3.84967 9.95245 3.59967 9.99967 3.33301 9.99967C2.77745 9.99967 2.30523 9.80523 1.91634 9.41634C1.52745 9.02745 1.33301 8.55523 1.33301 7.99967C1.33301 7.44412 1.52745 6.9719 1.91634 6.58301C2.30523 6.19412 2.77745 5.99967 3.33301 5.99967C3.59967 5.99967 3.84967 6.0469 4.08301 6.14134C4.31634 6.23579 4.5219 6.36634 4.69967 6.53301L9.38301 3.79967C9.36079 3.7219 9.3469 3.6469 9.34134 3.57467C9.33579 3.50245 9.33301 3.4219 9.33301 3.33301C9.33301 2.77745 9.52745 2.30523 9.91634 1.91634C10.3052 1.52745 10.7775 1.33301 11.333 1.33301C11.8886 1.33301 12.3608 1.52745 12.7497 1.91634C13.1386 2.30523 13.333 2.77745 13.333 3.33301C13.333 3.88856 13.1386 4.36079 12.7497 4.74967C12.3608 5.13856 11.8886 5.33301 11.333 5.33301C11.0663 5.33301 10.8163 5.28579 10.583 5.19134C10.3497 5.0969 10.1441 4.96634 9.96634 4.79967L5.28301 7.53301C5.30523 7.61079 5.31912 7.68579 5.32467 7.75801C5.33023 7.83023 5.33301 7.91079 5.33301 7.99967C5.33301 8.08856 5.33023 8.16912 5.32467 8.24134C5.31912 8.31356 5.30523 8.38856 5.28301 8.46634L9.96634 11.1997C10.1441 11.033 10.3497 10.9025 10.583 10.808C10.8163 10.7136 11.0663 10.6663 11.333 10.6663C11.8886 10.6663 12.3608 10.8608 12.7497 11.2497C13.1386 11.6386 13.333 12.1108 13.333 12.6663C13.333 13.2219 13.1386 13.6941 12.7497 14.083C12.3608 14.4719 11.8886 14.6663 11.333 14.6663ZM11.333 13.333C11.5219 13.333 11.6802 13.2691 11.808 13.1413C11.9358 13.0136 11.9997 12.8552 11.9997 12.6663C11.9997 12.4775 11.9358 12.3191 11.808 12.1913C11.6802 12.0636 11.5219 11.9997 11.333 11.9997C11.1441 11.9997 10.9858 12.0636 10.858 12.1913C10.7302 12.3191 10.6663 12.4775 10.6663 12.6663C10.6663 12.8552 10.7302 13.0136 10.858 13.1413C10.9858 13.2691 11.1441 13.333 11.333 13.333ZM3.33301 8.66634C3.5219 8.66634 3.68023 8.60245 3.80801 8.47467C3.93579 8.3469 3.99967 8.18856 3.99967 7.99967C3.99967 7.81079 3.93579 7.65245 3.80801 7.52467C3.68023 7.3969 3.5219 7.33301 3.33301 7.33301C3.14412 7.33301 2.98579 7.3969 2.85801 7.52467C2.73023 7.65245 2.66634 7.81079 2.66634 7.99967C2.66634 8.18856 2.73023 8.3469 2.85801 8.47467C2.98579 8.60245 3.14412 8.66634 3.33301 8.66634ZM11.333 3.99967C11.5219 3.99967 11.6802 3.93579 11.808 3.80801C11.9358 3.68023 11.9997 3.5219 11.9997 3.33301C11.9997 3.14412 11.9358 2.98579 11.808 2.85801C11.6802 2.73023 11.5219 2.66634 11.333 2.66634C11.1441 2.66634 10.9858 2.73023 10.858 2.85801C10.7302 2.98579 10.6663 3.14412 10.6663 3.33301C10.6663 3.5219 10.7302 3.68023 10.858 3.80801C10.9858 3.93579 11.1441 3.99967 11.333 3.99967Z",fill:"#554B6A"})}),InfinityIcon=e=>jsxRuntime.jsx("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.41599 20.1249C4.70841 20.1249 3.26069 19.5311 2.07281 18.3434C0.884946 17.1558 0.291016 15.7083 0.291016 14.001C0.291016 12.2937 0.884946 10.8459 2.07281 9.65752C3.26069 8.46918 4.70841 7.875 6.41599 7.875C7.0959 7.875 7.74825 7.99578 8.37304 8.23734C8.99781 8.4789 9.56147 8.82179 10.064 9.26602L12.2942 11.2314L10.9705 12.4025L8.89294 10.5673C8.5519 10.2741 8.16824 10.0438 7.74196 9.87624C7.31568 9.70871 6.87342 9.62494 6.41517 9.62494C5.20705 9.62494 4.17599 10.0522 3.32199 10.9067C2.46799 11.7613 2.04099 12.7929 2.04099 14.0018C2.04099 15.2106 2.46799 16.2417 3.32199 17.095C4.17599 17.9483 5.20705 18.375 6.41517 18.375C6.87342 18.375 7.31568 18.2912 7.74196 18.1237C8.16824 17.9562 8.5519 17.7258 8.89294 17.4327L17.9346 9.26602C18.4297 8.8143 18.9908 8.46953 19.618 8.23171C20.2452 7.9939 20.9001 7.875 21.5827 7.875C23.2902 7.875 24.738 8.46883 25.9258 9.6565C27.1137 10.8442 27.7076 12.2917 27.7076 13.999C27.7076 15.7063 27.1137 17.1541 25.9258 18.3424C24.738 19.5308 23.2902 20.1249 21.5827 20.1249C20.9006 20.1249 20.2496 20.0023 19.6296 19.757C19.0096 19.5117 18.4446 19.1707 17.9346 18.7339L15.7269 16.7685L17.0281 15.5862L19.1057 17.4327C19.4467 17.7348 19.8304 17.9674 20.2567 18.1304C20.683 18.2935 21.1252 18.375 21.5835 18.375C22.7916 18.375 23.8227 17.9477 24.6767 17.0932C25.5307 16.2387 25.9577 15.207 25.9577 13.9982C25.9577 12.7893 25.5307 11.7582 24.6767 10.9049C23.8227 10.0516 22.7916 9.62494 21.5835 9.62494C21.1252 9.62494 20.683 9.70871 20.2567 9.87624C19.8304 10.0438 19.4467 10.2741 19.1057 10.5673L10.064 18.7339C9.56896 19.1856 9.00782 19.5304 8.38062 19.7682C7.7534 20.006 7.09852 20.1249 6.41599 20.1249Z",fill:"#554B6A"})}),ArbitrumLogo=e=>jsxRuntime.jsxs("svg",{width:"18",height:"20",viewBox:"0 0 18 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M0.671875 6.07916V13.9193C0.671875 14.4199 0.939395 14.8827 1.37268 15.1322L8.16244 19.0531C8.59572 19.3025 9.12912 19.3025 9.5624 19.0531L16.3522 15.1322C16.7854 14.8827 17.053 14.4199 17.053 13.9193V6.07916C17.053 5.57858 16.7854 5.11576 16.3522 4.86629L9.5624 0.945401C9.12912 0.695934 8.59572 0.695934 8.16244 0.945401L1.37104 4.86629C0.937754 5.11576 0.671875 5.57858 0.671875 6.07916Z",fill:"#213147"}),jsxRuntime.jsx("path",{d:"M10.3474 11.5195L9.37907 14.175C9.35281 14.2488 9.35281 14.3292 9.37907 14.4031L11.0449 18.9723L12.9717 17.8595L10.6592 11.5195C10.6067 11.3734 10.3999 11.3734 10.3474 11.5195Z",fill:"#12AAFF"}),jsxRuntime.jsx("path",{d:"M12.2881 7.05242C12.2356 6.90635 12.0288 6.90635 11.9763 7.05242L11.008 9.70793C10.9817 9.78178 10.9817 9.8622 11.008 9.93606L13.7373 17.4168L15.6641 16.304L12.2881 7.05242Z",fill:"#12AAFF"}),jsxRuntime.jsx("path",{d:"M8.86263 1.23913C8.91022 1.23913 8.95782 1.25226 9.00049 1.27523L16.3483 5.51781C16.4336 5.56704 16.4861 5.65895 16.4861 5.75579V14.2393C16.4861 14.3378 16.4336 14.428 16.3483 14.4773L9.00049 18.7198C8.95946 18.7445 8.91022 18.756 8.86263 18.756C8.81503 18.756 8.76744 18.7428 8.72476 18.7198L1.37699 14.4806C1.29165 14.4313 1.23913 14.3394 1.23913 14.2426V5.75743C1.23913 5.65895 1.29165 5.56869 1.37699 5.51945L8.72476 1.27688C8.76744 1.25226 8.81503 1.23913 8.86263 1.23913ZM8.86263 0C8.60167 0 8.33908 0.0672903 8.10438 0.203512L0.758247 4.44444C0.288856 4.71525 0 5.21582 0 5.75743V14.2409C0 14.7825 0.288856 15.2831 0.758247 15.5539L8.10602 19.7965C8.34072 19.9311 8.60167 20 8.86427 20C9.12522 20 9.38782 19.9327 9.62252 19.7965L16.9703 15.5539C17.4397 15.2831 17.7285 14.7825 17.7285 14.2409V5.75743C17.7285 5.21582 17.4397 4.71525 16.9703 4.44444L9.62088 0.203512C9.38618 0.0672903 9.12358 0 8.86263 0Z",fill:"#9DCCED"}),jsxRuntime.jsx("path",{d:"M4.00391 17.4285L4.68009 15.5771L6.04067 16.708L4.76872 17.8699L4.00391 17.4285Z",fill:"#213147"}),jsxRuntime.jsx("path",{d:"M8.24586 5.14893H6.38306C6.24356 5.14893 6.11883 5.23591 6.07123 5.36721L2.07812 16.3142L4.00493 17.4269L8.40177 5.37213C8.4428 5.26381 8.36238 5.14893 8.24586 5.14893Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M11.5074 5.14893H9.6446C9.5051 5.14893 9.38036 5.23591 9.33277 5.36721L4.77344 17.8668L6.70024 18.9796L11.6633 5.37213C11.7027 5.26381 11.6223 5.14893 11.5074 5.14893Z",fill:"white"})]}),BTCLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M9.99969 19.9995C15.5225 19.9995 19.9994 15.5226 19.9994 9.99976C19.9994 4.47692 15.5225 6.10352e-05 9.99969 6.10352e-05C4.47686 6.10352e-05 0 4.47692 0 9.99976C0 15.5226 4.47686 19.9995 9.99969 19.9995Z",fill:"#ECECEC"}),jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#F7931A"}),jsxRuntime.jsx("path",{d:"M12.1154 8.57283C11.7999 9.80896 9.89365 9.1692 9.27554 9.01141L9.83393 6.82401C10.452 6.9818 12.4446 7.28205 12.1154 8.57283ZM11.7556 12.1043C11.4095 13.4641 9.12116 12.7148 8.37762 12.5254L9.00085 10.1179C9.74165 10.3082 12.1255 10.6884 11.7627 12.1082L11.7556 12.1043ZM14.2891 8.60841C14.4968 7.27892 13.4874 6.56018 12.1055 6.07304L12.565 4.2735L11.4686 3.99277L11.0207 5.74572C10.734 5.67215 10.4382 5.60277 10.1441 5.53436L10.5843 3.77028L9.49154 3.48697L9.03298 5.28474C8.79357 5.23004 8.55965 5.17373 8.33297 5.11677L6.82267 4.72988L6.52396 5.90153C6.52396 5.90153 7.33973 6.09353 7.31764 6.10449C7.63363 6.14376 7.85989 6.42897 7.82623 6.74558L7.31089 8.7908C7.34946 8.8006 7.38737 8.81283 7.42439 8.82742L7.3088 8.79886L6.56959 11.6677C6.49946 11.8783 6.27252 11.9929 6.06139 11.9242C6.07735 11.9329 5.26593 11.7203 5.26593 11.7203L4.71393 12.9723L6.14007 13.3363L6.92488 13.5345L6.46197 15.3529L7.55665 15.6326L8.00779 13.84C8.29685 13.9218 8.58882 13.9983 8.87998 14.072L8.42158 15.8653L9.51626 16.145L9.98272 14.3286C11.8545 14.6941 13.2588 14.5583 13.8598 12.8705C14.3425 11.5093 13.8509 10.7233 12.8723 10.2054C13.5904 10.045 14.1351 9.57824 14.2821 8.60454L14.2891 8.60841Z",fill:"white"})]}),CatalogLogo=e=>jsxRuntime.jsxs("svg",{width:"170",height:"38",viewBox:"0 0 76 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_4132_586","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"20",y:"3",width:"56",height:"10",children:jsxRuntime.jsx("path",{d:"M20.1434 3.84766H76V12.1031H20.1434V3.84766Z",fill:"white"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_4132_586)",children:jsxRuntime.jsx("path",{d:"M20.1434 7.97398C20.1434 5.56023 21.9072 3.84766 24.3075 3.84766C25.7131 3.84766 26.827 4.38146 27.5695 5.3435L26.201 6.62784C25.995 6.34199 25.7249 6.10794 25.4121 5.94433C25.1048 5.78382 24.7629 5.69982 24.4159 5.6995C23.1722 5.6995 22.3076 6.60576 22.3076 7.96555C22.3076 9.32534 23.1722 10.2344 24.4291 10.2344C24.7748 10.2344 25.116 10.1505 25.4254 9.98958C25.7382 9.82582 26.0083 9.59166 26.2143 9.30567L27.5695 10.6069C26.8323 11.5689 25.7127 12.1031 24.3127 12.1031C21.9072 12.1031 20.1434 10.3901 20.1434 7.97398ZM34.1797 10.401H30.9786L30.3846 11.9442H28.1992L31.5489 4.00619H33.6706L37.0043 11.945H34.7765L34.1797 10.401ZM33.5538 8.74658L32.5803 6.20521L31.6071 8.74658H33.5538ZM38.7079 5.79382H36.3713V4.00579H43.153V5.79382H40.8296V11.9442H38.7079V5.79382ZM48.6467 10.401H45.4456L44.8517 11.9442H42.6661L46.0079 4.00579H48.1296L51.4823 11.9446H49.2544L48.6467 10.401ZM48.0211 8.74658L47.045 6.20521L46.0718 8.74658H48.0211ZM52.5815 4.00619H54.7245V10.165H58.3342V11.9442H52.5792L52.5815 4.00619ZM59.0312 7.97398C59.0312 5.59395 60.8162 3.84766 63.2403 3.84766C65.6644 3.84766 67.4465 5.59355 67.4465 7.97358C67.4465 10.3536 65.6615 12.1031 63.2403 12.1031C60.8188 12.1031 59.0312 10.3568 59.0312 7.97398ZM65.2849 7.97398C65.2849 6.60295 64.3862 5.70793 63.2403 5.70793C62.0944 5.70793 61.1954 6.60295 61.1954 7.97398C61.1954 9.3446 62.0944 10.2428 63.2403 10.2428C64.3862 10.2428 65.2849 9.34781 65.2849 7.97398ZM73.9342 7.8042H75.8383V11.0937C74.91 11.7541 73.7966 12.1072 72.6556 12.1031C70.2424 12.1031 68.4813 10.3901 68.4813 7.97398C68.4813 5.55783 70.2344 3.84766 72.6904 3.84766C74.1065 3.84766 75.255 4.35938 76.0003 5.29895L74.6372 6.59211C74.4153 6.3138 74.1336 6.0887 73.8127 5.93349C73.497 5.78104 73.15 5.70383 72.7992 5.70793C71.4994 5.70793 70.6349 6.60295 70.6349 7.97398C70.6349 9.3446 71.4994 10.2428 72.7779 10.2428C73.1785 10.2465 73.5742 10.157 73.9342 9.98155V7.8042Z",fill:"#554B6A"})}),jsxRuntime.jsx("path",{d:"M11.9072 0H4.20756C3.09164 0 2.02144 0.44163 1.23237 1.22773C0.443296 2.01384 1.92925e-08 3.08002 1.92925e-08 4.19174V11.8624C-5.28952e-05 12.4129 0.108743 12.958 0.320174 13.4666C0.531605 13.9752 0.841529 14.4373 1.23225 14.8265C1.62297 15.2158 2.08682 15.5245 2.59733 15.7352C3.10784 15.9458 3.655 16.0542 4.20756 16.0542H11.9072C12.4597 16.0542 13.0069 15.9458 13.5174 15.7352C14.0279 15.5245 14.4918 15.2158 14.8825 14.8265C15.2732 14.4373 15.5831 13.9752 15.7946 13.4666C16.006 12.958 16.1148 12.4129 16.1147 11.8624V4.19174C16.1147 3.08002 15.6714 2.01384 14.8824 1.22773C14.0933 0.44163 13.0231 0 11.9072 0ZM13.7604 11.0412H2.35557V9.13161H5.7437L3.07389 6.47183L4.42954 5.12168L7.09894 7.78145V4.04765H9.01539V7.78145L11.6864 5.12168L13.0417 6.47183L10.3714 9.13161H13.7612V11.0416L13.7604 11.0412Z",fill:"#554B6A"})]}),Coinbase=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 18.6267 5.37333 24 12 24C18.6267 24 24 18.6267 24 12C24 5.37333 18.6267 0 12 0C5.37333 0 0 5.37333 0 12ZM8.93332 8.1333C8.49 8.1333 8.1333 8.49 8.1333 8.93332V15.0667C8.1333 15.51 8.49 15.8667 8.93332 15.8667H15.0667C15.51 15.8667 15.8667 15.51 15.8667 15.0667V8.93332C15.8667 8.49 15.51 8.1333 15.0667 8.1333H8.93332Z",fill:"#0052FF"})}),EthereumLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20Z",fill:"#627EEA"}),jsxRuntime.jsx("path",{d:"M10.0069 2L5.39844 10.1483L10.0069 7.91653V2Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M10.0069 7.91632L5.39844 10.1481L10.0069 13.0513V7.91632Z",fill:"#C0CBF6"}),jsxRuntime.jsx("path",{d:"M14.6171 10.1483L10.0078 2V7.91653L14.6171 10.1483Z",fill:"#C0CBF6"}),jsxRuntime.jsx("path",{d:"M10.0078 13.0513L14.6171 10.1481L10.0078 7.91632V13.0513Z",fill:"#8197EE"}),jsxRuntime.jsx("path",{d:"M5.39844 11.0804L10.0069 18.0004V13.9818L5.39844 11.0804Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M10.0078 13.9818V18.0004L14.6197 11.0804L10.0078 13.9818Z",fill:"#C0CBF6"})]}),GardenExplorer=e=>jsxRuntime.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.971 0C20.2812 0 23.9204 2.87771 25.078 6.81963C29.0711 7.94237 31.9989 11.6158 31.9989 15.9741C31.9989 20.3156 29.0936 23.9775 25.1242 25.1154C23.9876 29.0906 20.3321 31.9999 15.9983 31.9999C11.6643 31.9999 8.00866 29.0903 6.87228 25.1147C2.9041 23.976 0 20.3147 0 15.9741C0 11.6384 2.8975 7.98053 6.85875 6.83733C8.0107 2.88633 11.6543 0 15.971 0Z",fill:"#C7E0FD"}),jsxRuntime.jsx("path",{d:"M16.6753 23.1492C12.7196 23.1492 10 20.2923 10 16.1168C10 11.9138 12.6646 9.00195 16.5654 9.00195C20.3838 9.00195 22.8836 11.6391 22.8836 15.6223V16.5838L12.4998 16.6113C12.6921 19.4407 14.1755 21.0065 16.7303 21.0065C18.7356 21.0065 20.0542 20.1824 20.4937 18.6441H22.9111C22.2518 21.5285 19.9992 23.1492 16.6753 23.1492ZM16.5654 11.1721C14.3129 11.1721 12.8844 12.5182 12.5547 14.8806H20.3014C20.3014 12.6555 18.8455 11.1721 16.5654 11.1721Z",fill:"#E36492"})]}),GardenFullLogo=e=>jsxRuntime.jsxs("svg",{width:"116",height:"32",viewBox:"0 0 116 32",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9749 -0.000488281C20.2855 -0.000488281 23.925 2.87781 25.0823 6.82035C29.0731 7.9445 31.9989 11.6168 31.9989 15.9736C31.9989 20.315 29.0937 23.9768 25.1245 25.1149C23.9882 29.0906 20.3325 32.0004 15.9983 32.0004C11.6639 32.0004 8.00801 29.0902 6.87197 25.1142C2.90395 23.9753 -1.89408e-07 20.3141 0 15.9736C1.89291e-07 11.6363 2.89958 7.97742 6.86302 6.83561C8.01536 2.88524 11.6587 -0.000488281 15.9749 -0.000488281Z",fill:"#F7CFDB"}),jsxRuntime.jsx("path",{d:"M18.7607 13.0922C18.7384 14.9239 15.8618 14.6757 14.9458 14.6644L14.9855 11.423C15.9014 11.4342 18.7837 11.1795 18.7607 13.0922ZM19.4527 18.1422C19.4294 20.1569 15.9826 19.885 14.8808 19.8721L14.9366 16.3016C16.0348 16.3165 19.4901 16.0412 19.4639 18.1453L19.4527 18.1422ZM21.8064 12.4068C21.6466 10.4812 19.995 9.81944 17.9017 9.60687L17.9345 6.9401L16.3094 6.91906L16.277 9.51688C15.8521 9.51113 15.4158 9.51433 14.9823 9.51829L15.0001 6.90755L13.3793 6.88166L13.3472 9.54562C12.9946 9.55023 12.6491 9.55075 12.3135 9.54791L10.075 9.51864L10.0543 11.2548C10.0543 11.2548 11.2576 11.2469 11.2305 11.2696C11.6848 11.2176 12.097 11.5391 12.1571 11.9924L12.1294 15.0209C12.1865 15.0215 12.2436 15.0257 12.3002 15.0336L12.1292 15.0328L12.0676 19.2864C12.0409 19.604 11.763 19.8407 11.4451 19.8163C11.4703 19.823 10.266 19.8006 10.266 19.8006L9.91903 21.7346L12.0324 21.7603L13.1946 21.7715L13.1635 24.4657L14.7857 24.486L14.8092 21.8318C15.2403 21.8482 15.6736 21.8562 16.1049 21.8606L16.0715 24.5182L17.6938 24.5385L17.7306 21.8458C20.4663 21.723 22.3802 21.0587 22.6483 18.5C22.8617 16.4372 21.9098 15.5065 20.3691 15.1146C21.317 14.648 21.9193 13.8124 21.7952 12.4038L21.8064 12.4068Z",fill:"#DB6A93"}),jsxRuntime.jsx("path",{d:"M107.505 22.2476H105.23V10.123H107.288L107.53 11.9826C108.28 10.5941 109.78 9.77588 111.45 9.77588C114.572 9.77588 116 11.7347 116 14.834V22.2476H113.725V15.3547C113.725 12.9 112.612 11.9082 110.869 11.9082C108.74 11.9082 107.505 13.4703 107.505 15.8258V22.2476Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M97.8263 22.5451C94.3413 22.5451 91.9453 19.9665 91.9453 16.1977C91.9453 12.4041 94.2929 9.77588 97.7295 9.77588C101.094 9.77588 103.296 12.1562 103.296 15.7514V16.6192L94.1477 16.644C94.3171 19.1979 95.624 20.6111 97.8747 20.6111C99.6414 20.6111 100.803 19.8673 101.19 18.4788H103.32C102.739 21.0822 100.755 22.5451 97.8263 22.5451ZM97.7295 11.7347C95.745 11.7347 94.4865 12.9496 94.1961 15.0819H101.021C101.021 13.0736 99.7382 11.7347 97.7295 11.7347Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M83.557 22.5464C80.1204 22.5464 78.0391 19.9182 78.0391 16.2238C78.0391 12.5046 80.1446 9.77716 83.6538 9.77716C85.469 9.77716 86.9937 10.5954 87.7923 12.0831V4H90.0431V22.2489H88.0101L87.8165 20.0421C87.0421 21.7034 85.4448 22.5464 83.557 22.5464ZM84.0169 20.4389C86.3402 20.4389 87.7681 18.6784 87.7681 16.1494C87.7681 13.6699 86.3402 11.8847 84.0169 11.8847C81.6935 11.8847 80.3382 13.6699 80.3382 16.1494C80.3382 18.6536 81.6935 20.4389 84.0169 20.4389Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M77.7101 10.0252V12.1576H76.6936C74.5396 12.1576 73.2085 13.4965 73.2085 15.8272V22.249H70.9336V10.1492H73.0633L73.2085 11.984C73.6926 10.7195 74.8785 9.87646 76.5 9.87646C76.9114 9.87646 77.2502 9.92605 77.7101 10.0252Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M62.069 22.5451C59.5278 22.5451 58.0273 21.0822 58.0273 18.8755C58.0273 16.644 59.6489 15.2555 62.432 15.0323L66.1591 14.7348V14.3877C66.1591 12.3545 64.9732 11.6355 63.3759 11.6355C61.464 11.6355 60.3749 12.5033 60.3749 13.9662H58.3904C58.3904 11.4371 60.4233 9.77588 63.4727 9.77588C66.4011 9.77588 68.3857 11.3627 68.3857 14.6356V22.2476H66.4495L66.2075 20.2888C65.6025 21.6773 63.981 22.5451 62.069 22.5451ZM62.7225 20.7351C64.8764 20.7351 66.1833 19.297 66.1833 17.0159V16.3713L63.1581 16.6192C61.1494 16.8176 60.3265 17.611 60.3265 18.8011C60.3265 20.0905 61.2462 20.7351 62.7225 20.7351Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M44 15.8754C44 12.4537 46.1539 9.77588 49.5906 9.77588C51.5025 9.77588 52.9788 10.6685 53.7291 12.181L53.8985 10.123H55.9314V21.7517C55.9314 25.5701 53.6323 28 50.002 28C46.7832 28 44.5808 26.1404 44.1452 23.0658H46.4202C46.7106 24.851 48.0175 25.8924 50.002 25.8924C52.2286 25.8924 53.6807 24.4047 53.6807 22.0988V19.6689C52.9062 21.0822 51.3573 21.9253 49.4938 21.9253C46.1297 21.9253 44 19.2722 44 15.8754ZM46.275 15.8258C46.275 18.1069 47.6545 19.8921 49.881 19.8921C52.1802 19.8921 53.5839 18.2061 53.5839 15.8258C53.5839 13.4951 52.2286 11.809 49.9052 11.809C47.6302 11.809 46.275 13.5943 46.275 15.8258Z",fill:"#554B6A"})]}),GardenLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.98341 0C12.6772 0 14.9516 1.79848 15.6752 4.26207C18.1704 4.964 19.9999 7.25961 19.9999 9.98323C19.9999 12.6965 18.1843 14.985 15.7037 15.6963C14.9936 18.1811 12.7088 19.9998 9.99989 19.9998C7.29098 19.9998 5.00615 18.1811 4.29607 15.6963C1.8155 14.9849 -1.18409e-07 12.6964 0 9.98323C1.18278e-07 7.27277 1.81186 4.98619 4.28861 4.27235C5.00884 1.80349 7.28585 0 9.98341 0Z",fill:"#F7CFDB"}),jsxRuntime.jsx("path",{d:"M11.7239 8.18277C11.7099 9.3276 9.9121 9.17242 9.33962 9.16542L9.36442 7.13955C9.93689 7.14655 11.7383 6.98737 11.7239 8.18277ZM12.1564 11.339C12.1418 12.5981 9.98758 12.4282 9.29902 12.4201L9.33387 10.1886C10.0202 10.1979 12.1798 10.0259 12.1634 11.3409L12.1564 11.339ZM13.6274 7.75443C13.5276 6.55096 12.4953 6.13737 11.187 6.00452L11.2075 4.33784L10.1919 4.32469L10.1716 5.94828C9.90607 5.94468 9.63337 5.94668 9.36242 5.94916L9.37356 4.3175L8.36058 4.30131L8.34053 5.96624C8.12015 5.96912 7.90422 5.96944 7.69447 5.96767L6.2954 5.94938L6.28245 7.03442C6.28245 7.03442 7.03456 7.0295 7.01761 7.04372C7.30152 7.0112 7.55914 7.21215 7.59669 7.49541L7.5794 9.38817C7.61511 9.38856 7.65076 9.39122 7.68614 9.39612L7.57928 9.39564L7.54078 12.0541C7.52412 12.2526 7.35039 12.4005 7.15173 12.3852C7.16749 12.3894 6.41483 12.3754 6.41483 12.3754L6.19794 13.5841L7.51877 13.6002L8.24516 13.6072L8.22567 15.291L9.23959 15.3037L9.25426 13.6449C9.52367 13.6551 9.79449 13.6601 10.064 13.6629L10.0432 15.3239L11.0571 15.3365L11.0801 13.6536C12.7899 13.5769 13.986 13.1617 14.1536 11.5626C14.287 10.2733 13.6921 9.69167 12.7291 9.44678C13.3216 9.15511 13.698 8.63289 13.6204 7.75256L13.6274 7.75443Z",fill:"#DB6A93"})]}),GardenLogoText=e=>jsxRuntime.jsxs("svg",{width:"72",height:"24",viewBox:"0 0 72 24",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M63.5054 18.2476H61.2305V6.123H63.2876L63.5296 7.9826C64.2799 6.5941 65.7804 5.77588 67.4503 5.77588C70.5723 5.77588 72.0002 7.73466 72.0002 10.834V18.2476H69.7252V11.3547C69.7252 8.90001 68.612 7.90822 66.8695 7.90822C64.7397 7.90822 63.5054 9.47028 63.5054 11.8258V18.2476Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M53.8263 18.5451C50.3413 18.5451 47.9453 15.9665 47.9453 12.1977C47.9453 8.40411 50.2929 5.77588 53.7295 5.77588C57.0935 5.77588 59.2959 8.15617 59.2959 11.7514V12.6192L50.1477 12.644C50.3171 15.1979 51.624 16.6111 53.8747 16.6111C55.6414 16.6111 56.8031 15.8673 57.1903 14.4788H59.3201C58.7393 17.0822 56.7547 18.5451 53.8263 18.5451ZM53.7295 7.73466C51.745 7.73466 50.4865 8.9496 50.1961 11.0819H57.0209C57.0209 9.07357 55.7382 7.73466 53.7295 7.73466Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M39.557 18.5464C36.1204 18.5464 34.0391 15.9182 34.0391 12.2238C34.0391 8.50457 36.1446 5.77716 39.6538 5.77716C41.469 5.77716 42.9937 6.59538 43.7923 8.08306V0H46.0431V18.2489H44.0101L43.8165 16.0421C43.0421 17.7034 41.4448 18.5464 39.557 18.5464ZM40.0169 16.4389C42.3402 16.4389 43.7681 14.6784 43.7681 12.1494C43.7681 9.66992 42.3402 7.8847 40.0169 7.8847C37.6935 7.8847 36.3382 9.66992 36.3382 12.1494C36.3382 14.6536 37.6935 16.4389 40.0169 16.4389Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M33.7101 6.02523V8.15757H32.6936C30.5396 8.15757 29.2085 9.49649 29.2085 11.8272V18.249H26.9336V6.14921H29.0633L29.2085 7.98401C29.6926 6.71948 30.8785 5.87646 32.5 5.87646C32.9114 5.87646 33.2502 5.92605 33.7101 6.02523Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M18.069 18.5451C15.5278 18.5451 14.0273 17.0822 14.0273 14.8755C14.0273 12.644 15.6489 11.2555 18.432 11.0323L22.1591 10.7348V10.3877C22.1591 8.35452 20.9732 7.63548 19.3759 7.63548C17.464 7.63548 16.3749 8.50329 16.3749 9.96618H14.3904C14.3904 7.43712 16.4233 5.77588 19.4727 5.77588C22.4011 5.77588 24.3857 7.36274 24.3857 10.6356V18.2476H22.4495L22.2075 16.2888C21.6025 17.6773 19.981 18.5451 18.069 18.5451ZM18.7225 16.7351C20.8764 16.7351 22.1833 15.297 22.1833 13.0159V12.3713L19.1581 12.6192C17.1494 12.8176 16.3265 13.611 16.3265 14.8011C16.3265 16.0905 17.2462 16.7351 18.7225 16.7351Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M0 11.8754C0 8.4537 2.15395 5.77588 5.59058 5.77588C7.50251 5.77588 8.97882 6.66849 9.72907 8.18096L9.89848 6.123H11.9314V17.7517C11.9314 21.5701 9.63226 24 6.00201 24C2.78319 24 0.58084 22.1404 0.14521 19.0658H2.42017C2.71059 20.851 4.01748 21.8924 6.00201 21.8924C8.22856 21.8924 9.68066 20.4047 9.68066 18.0988V15.6689C8.90621 17.0822 7.3573 17.9253 5.49378 17.9253C2.12975 17.9253 0 15.2722 0 11.8754ZM2.27496 11.8258C2.27496 14.1069 3.65445 15.8921 5.881 15.8921C8.18016 15.8921 9.58386 14.2061 9.58386 11.8258C9.58386 9.49508 8.22856 7.80904 5.9052 7.80904C3.63025 7.80904 2.27496 9.59426 2.27496 11.8258Z",fill:"#554B6A"})]}),GardenStrokeIcon=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_11965_8100)",children:[jsxRuntime.jsx("mask",{id:"path-1-inside-1_11965_8100",fill:"white",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.98344 0C12.6778 0 14.9526 1.79934 15.6756 4.26383C18.17 4.96624 19.9987 7.26149 19.9987 9.98459C19.9987 12.6977 18.1834 14.9861 15.703 15.6975C14.9926 18.1818 12.7081 20 9.99972 20C7.29137 20 5.00695 18.1819 4.29646 15.6978C1.8157 14.9865 0 12.698 0 9.98459C0 7.27415 1.81178 4.98759 4.28842 4.27373C5.00818 1.80416 7.28547 0 9.98344 0Z"})}),jsxRuntime.jsx("path",{d:"M15.6756 4.26383L14.2362 4.68606L14.4699 5.48266L15.269 5.70768L15.6756 4.26383ZM15.703 15.6975L15.2894 14.2557L14.4896 14.4851L14.2608 15.2851L15.703 15.6975ZM4.29646 15.6978L5.73864 15.2853L5.50981 14.4852L4.70985 14.2558L4.29646 15.6978ZM4.28842 4.27373L4.70386 5.71505L5.49742 5.48632L5.7285 4.69345L4.28842 4.27373ZM17.1149 3.8416C16.2101 0.757033 13.363 -1.5 9.98344 -1.5V1.5C11.9926 1.5 13.6952 2.84165 14.2362 4.68606L17.1149 3.8416ZM21.4987 9.98459C21.4987 6.57361 19.2077 3.70011 16.0821 2.81999L15.269 5.70768C17.1323 6.23237 18.4987 7.94938 18.4987 9.98459H21.4987ZM16.1166 17.1394C19.2244 16.2479 21.4987 13.3831 21.4987 9.98459H18.4987C18.4987 12.0123 17.1424 13.7242 15.2894 14.2557L16.1166 17.1394ZM9.99972 21.5C13.3969 21.5 16.256 19.2194 17.1452 16.1099L14.2608 15.2851C13.7292 17.1442 12.0194 18.5 9.99972 18.5V21.5ZM2.85429 16.1102C3.74357 19.2196 6.60265 21.5 9.99972 21.5V18.5C7.9801 18.5 6.27033 17.1443 5.73864 15.2853L2.85429 16.1102ZM4.70985 14.2558C2.85665 13.7245 1.5 12.0125 1.5 9.98459H-1.5C-1.5 13.3834 0.774762 16.2485 3.88308 17.1397L4.70985 14.2558ZM1.5 9.98459C1.5 7.95888 2.8537 6.24834 4.70386 5.71505L3.87298 2.83241C0.769862 3.72684 -1.5 6.58943 -1.5 9.98459H1.5ZM9.98344 -1.5C6.59936 -1.5 3.7492 0.763058 2.84834 3.85402L5.7285 4.69345C6.26716 2.84526 7.97158 1.5 9.98344 1.5V-1.5Z",fill:"#E36492",mask:"url(#path-1-inside-1_11965_8100)"}),jsxRuntime.jsx("path",{d:"M11.5749 8.50229C11.5621 9.57529 9.91402 9.42985 9.38923 9.42329L9.41196 7.52453C9.93675 7.53109 11.5881 7.3819 11.5749 8.50229ZM11.9714 11.4605C11.9581 12.6406 9.98322 12.4813 9.35201 12.4737L9.38395 10.3823C10.0131 10.391 11.9928 10.2298 11.9778 11.4622L11.9714 11.4605ZM13.3199 8.10083C13.2284 6.97287 12.2821 6.58523 11.0828 6.46071L11.1016 4.8986L10.1705 4.88628L10.1519 6.408C9.90849 6.40463 9.65851 6.40651 9.41013 6.40882L9.42034 4.87954L8.49173 4.86437L8.47335 6.42484C8.27132 6.42754 8.07337 6.42784 7.8811 6.42617L6.59855 6.40903L6.58668 7.42599C6.58668 7.42599 7.27615 7.42138 7.26061 7.43472C7.52087 7.40423 7.75703 7.59257 7.79146 7.85806L7.77561 9.63206C7.80835 9.63243 7.84103 9.63492 7.87346 9.63952L7.7755 9.63907L7.74021 12.1307C7.72493 12.3168 7.56567 12.4554 7.38356 12.4411C7.39801 12.445 6.70803 12.4319 6.70803 12.4319L6.50921 13.5648L7.72002 13.5798L8.38592 13.5864L8.36806 15.1646L9.29753 15.1765L9.31098 13.6217C9.55795 13.6313 9.80622 13.636 10.0533 13.6386L10.0342 15.1953L10.9636 15.2072L10.9847 13.6299C12.5521 13.558 13.6487 13.1688 13.8023 11.6701C13.9245 10.4617 13.3792 9.91652 12.4964 9.687C13.0395 9.41362 13.3846 8.92417 13.3135 8.09907L13.3199 8.10083Z",fill:"#E36492"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_11965_8100",children:jsxRuntime.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),GMXLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M16.6693 13.8621L10.0128 4.16669L3.33594 13.8621H12.6383L10.0128 10.1618L8.71039 12.0845H7.32623L10.0137 8.21885L13.8987 13.8625L16.6693 13.8621Z",fill:"url(#paint0_linear_11636_3468)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11636_3468",x1:"10.4826",y1:"4.41878",x2:"6.34171",y2:"14.9832",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#03D1CF",stopOpacity:"0.988"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#4E09F8"})]})})]}),PhantomIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"20",viewBox:"0 0 24 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{opacity:"0.4",d:"M2.83991 20C5.90257 20 8.20418 17.3346 9.57774 15.2283C9.41068 15.6943 9.31785 16.1603 9.31785 16.6076C9.31785 17.8379 10.0232 18.7139 11.4153 18.7139C13.3271 18.7139 15.3689 17.0364 16.4269 15.2283C16.3527 15.4893 16.3156 15.7316 16.3156 15.9553C16.3156 16.8127 16.7981 17.3532 17.7819 17.3532C20.8817 17.3532 24 11.8546 24 7.04568C24 3.29916 22.1067 0 17.355 0C9.00234 0 0 10.2144 0 16.8127C0 19.4035 1.39211 20 2.83991 20ZM14.478 6.63562C14.478 5.70365 14.9977 5.05128 15.7587 5.05128C16.5011 5.05128 17.0209 5.70365 17.0209 6.63562C17.0209 7.56759 16.5011 8.23858 15.7587 8.23858C14.9977 8.23858 14.478 7.56759 14.478 6.63562ZM18.4501 6.63562C18.4501 5.70365 18.9699 5.05128 19.7309 5.05128C20.4733 5.05128 20.9931 5.70365 20.9931 6.63562C20.9931 7.56759 20.4733 8.23858 19.7309 8.23858C18.9699 8.23858 18.4501 7.56759 18.4501 6.63562Z",fill:"#AB9FF2"})}),PolygonLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20Z",fill:"#8247E5"}),jsxRuntime.jsx("path",{d:"M13.6005 7.4117C13.3446 7.25591 13.0157 7.25591 12.7232 7.4117L10.6762 8.69698L9.28721 9.51488L7.27676 10.8002C7.02089 10.9559 6.69191 10.9559 6.39948 10.8002L4.82768 9.78752C4.5718 9.63173 4.38903 9.32014 4.38903 8.96961V7.02223C4.38903 6.71064 4.53525 6.39906 4.82768 6.20432L6.39948 5.23063C6.65535 5.07484 6.98433 5.07484 7.27676 5.23063L8.84856 6.24327C9.10444 6.39906 9.28721 6.71064 9.28721 7.06117V8.34645L10.6762 7.4896V6.16538C10.6762 5.85379 10.53 5.54221 10.2376 5.34747L7.31332 3.51693C7.05744 3.36114 6.72846 3.36114 6.43603 3.51693L3.43864 5.38642C3.14621 5.54221 3 5.85379 3 6.16538V9.82646C3 10.138 3.14621 10.4496 3.43864 10.6444L6.39948 12.4749C6.65535 12.6307 6.98433 12.6307 7.27676 12.4749L9.28721 11.2286L10.6762 10.3717L12.6867 9.1254C12.9426 8.96961 13.2715 8.96961 13.564 9.1254L15.1358 10.0991C15.3916 10.2549 15.5744 10.5665 15.5744 10.917V12.8644C15.5744 13.176 15.4282 13.4876 15.1358 13.6823L13.6005 14.656C13.3446 14.8118 13.0157 14.8118 12.7232 14.656L11.1514 13.6823C10.8956 13.5265 10.7128 13.2149 10.7128 12.8644V11.6181L9.32376 12.4749V13.7602C9.32376 14.0718 9.46997 14.3834 9.7624 14.5781L12.7232 16.4086C12.9791 16.5644 13.3081 16.5644 13.6005 16.4086L16.5614 14.5781C16.8172 14.4223 17 14.1107 17 13.7602V10.0602C17 9.74857 16.8538 9.43699 16.5614 9.24225L13.6005 7.4117Z",fill:"white"})]}),RadiantLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M12.3721 10.9825L18.3346 10L12.3721 9.01752L15.8938 4.10752L10.9838 7.62919L10.0013 1.66669L9.01964 7.62919L4.1088 4.10752L7.63047 9.01752L1.66797 10L7.63047 10.9825L4.1088 15.8925L9.01964 12.3709L10.0013 18.3334L10.9838 12.3709L15.8938 15.8925L12.3721 10.9825Z",fill:"url(#paint0_linear_11636_3467)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11636_3467",x1:"10.0015",y1:"1.8013",x2:"10.0015",y2:"18.2113",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.1028",stopColor:"#00FFAA"}),jsxRuntime.jsx("stop",{offset:"0.999",stopColor:"#5F00FA"})]})})]}),TrailOfBits=e=>jsxRuntime.jsxs("svg",{width:"69",height:"42",viewBox:"0 0 69 42",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_9266_25244)",children:[jsxRuntime.jsx("path",{opacity:"0.953",fillRule:"evenodd",clipRule:"evenodd",d:"M37.4888 0.569824C37.6131 0.569824 37.7375 0.569824 37.8619 0.569824C37.8619 2.1039 37.8619 3.63796 37.8619 5.17205C37.6911 5.19152 37.5252 5.17081 37.3644 5.10986C35.3362 4.48887 33.3045 3.88772 31.2695 3.30628C31.5183 2.76726 31.7671 2.22829 32.0158 1.68929C33.8677 1.37702 35.692 1.00386 37.4888 0.569824Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.957",fillRule:"evenodd",clipRule:"evenodd",d:"M1.04391 0.942947C5.27298 0.942947 9.50206 0.942947 13.7311 0.942947C13.4409 2.02095 13.1507 3.09897 12.8604 4.17695C11.6988 4.15624 10.5379 4.17695 9.37768 4.23914C9.13724 4.27036 8.90918 4.33255 8.69356 4.42572C7.90577 6.95489 7.11804 9.484 6.33025 12.0132C6.2693 12.174 6.24859 12.3399 6.26806 12.5107C4.96892 12.2297 3.68366 11.8979 2.41214 11.5156C2.99077 9.38543 3.63347 7.27089 4.3401 5.17202C4.42244 4.88438 4.48463 4.59413 4.52667 4.30133C3.03406 4.30133 1.54144 4.30133 0.0488281 4.30133C0.0908701 4.00853 0.153062 3.71828 0.235405 3.43064C0.518865 2.60112 0.788369 1.77187 1.04391 0.942947Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.967",fillRule:"evenodd",clipRule:"evenodd",d:"M14.4763 0.94295C16.5083 0.922228 18.5399 0.942957 20.5711 1.00514C21.5554 1.07067 22.4676 1.3609 23.3076 1.87583C23.4383 2.04808 23.6041 2.17246 23.8051 2.24899C24.5442 3.09679 24.9173 4.09187 24.9246 5.23422C24.8903 6.51159 24.5379 7.69324 23.8673 8.77918C23.4735 9.17305 23.0795 9.56697 22.6857 9.96083C21.9923 10.3906 21.246 10.6808 20.4467 10.8315C20.7741 10.9965 21.1057 11.1624 21.4418 11.3291C21.6699 11.5571 21.8979 11.7851 22.1259 12.0132C22.2786 12.437 22.3822 12.8723 22.4369 13.3192C22.3747 13.7546 22.3125 14.1899 22.2503 14.6253C21.9573 15.7973 21.6256 16.9583 21.2552 18.108C21.111 18.7217 21.0488 19.3437 21.0687 19.9738C19.6589 19.9738 18.2493 19.9738 16.8396 19.9738C16.8243 19.3852 16.8865 18.8048 17.0262 18.2324C17.3993 16.8642 17.7725 15.4959 18.1456 14.1277C18.4718 13.174 18.1609 12.5728 17.2127 12.3241C16.5091 12.262 15.8043 12.2413 15.0982 12.2619C14.8917 13.1095 14.6222 13.9388 14.2897 14.7496C13.0814 14.3698 11.8582 14.0381 10.6204 13.7546C10.6009 13.5837 10.6216 13.4179 10.6825 13.257C11.9857 9.16135 13.2502 5.05666 14.4763 0.94295ZM17.7103 4.05257C18.3749 4.03192 19.0383 4.05263 19.7004 4.11476C20.144 4.20183 20.4964 4.42982 20.7577 4.79887C20.8406 5.29641 20.8406 5.79395 20.7577 6.29149C20.6163 6.75706 20.4505 7.21318 20.2602 7.65972C20.0943 7.90849 19.9285 8.15726 19.7626 8.40603C19.1449 9.07845 18.3778 9.32722 17.4615 9.15233C17.0055 9.13162 16.5493 9.11085 16.0933 9.09014C16.6228 7.40722 17.1618 5.72803 17.7103 4.05257Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.951",fillRule:"evenodd",clipRule:"evenodd",d:"M50.6724 2.31121C50.7643 2.29492 50.8472 2.31564 50.9212 2.3734C51.9656 3.12717 53.0436 3.832 54.1552 4.48794C54.2121 4.53944 54.2535 4.60163 54.2796 4.67452C53.7522 6.31888 53.2132 7.95659 52.6626 9.58771C52.4967 9.67061 52.3309 9.67061 52.165 9.58771C51.2114 9.29746 50.2578 9.00727 49.3042 8.71702C49.1121 8.68101 48.9463 8.59804 48.8066 8.46825C49.4067 6.58513 50.0078 4.69865 50.6102 2.80875C50.6712 2.64792 50.6919 2.48205 50.6724 2.31121Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.968",fillRule:"evenodd",clipRule:"evenodd",d:"M30.8958 4.05257C31.8525 4.30221 32.8062 4.57169 33.7566 4.86107C33.7981 4.90255 33.8395 4.94397 33.881 4.98545C32.6441 7.64579 31.3588 10.2786 30.0251 12.8839C31.2274 12.8839 32.4299 12.8839 33.6322 12.8839C33.7046 10.2655 33.8704 7.65344 34.1298 5.04764C35.3321 5.37932 36.5346 5.71105 37.7369 6.04272C37.6362 10.6448 37.5325 15.2471 37.426 19.8494C36.0471 19.9722 34.6582 20.0137 33.2591 19.9738C33.3601 18.6496 33.4016 17.3229 33.3835 15.9935C31.725 15.9935 30.0666 15.9935 28.4081 15.9935C27.7447 17.3202 27.0813 18.647 26.4179 19.9738C24.9668 19.9738 23.5156 19.9738 22.0645 19.9738C22.3306 19.4414 22.6002 18.9024 22.873 18.3568C25.485 13.7546 28.0971 9.15234 30.7092 4.55011C30.8076 4.39525 30.8698 4.22938 30.8958 4.05257Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.967",fillRule:"evenodd",clipRule:"evenodd",d:"M42.4625 7.53534C43.6249 7.87441 44.7858 8.22679 45.9452 8.59261C46.1061 8.65356 46.2719 8.67427 46.4428 8.6548C46.3785 9.1177 46.2749 9.57382 46.1318 10.023C44.0424 16.6645 41.9279 23.2984 39.7882 29.9246C39.6295 30.4623 39.4844 31.0013 39.3528 31.5416C37.9407 31.6406 36.531 31.765 35.1238 31.9147C35.0409 31.894 34.9579 31.8732 34.875 31.8525C36.0805 28.2773 37.2622 24.6908 38.42 21.0933C39.7557 16.568 41.1032 12.0488 42.4625 7.53534Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.962",fillRule:"evenodd",clipRule:"evenodd",d:"M48.4332 9.40112C48.6041 9.38165 48.7699 9.40236 48.9308 9.46331C50.0406 9.79181 51.1393 10.1443 52.227 10.5206C52.3099 10.6864 52.3099 10.8522 52.227 11.0181C51.6124 12.9238 51.0112 14.831 50.4234 16.7398C52.2062 16.7398 53.989 16.7398 55.7719 16.7398C55.4151 17.8104 55.0834 18.8884 54.7768 19.9738C51.5843 19.9738 48.3917 19.9738 45.1992 19.9738C46.2772 16.4496 47.3552 12.9254 48.4332 9.40112Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.946",fillRule:"evenodd",clipRule:"evenodd",d:"M2.03805 12.3863C3.3286 12.6986 4.61393 13.0303 5.89397 13.3814C5.35402 15.2505 4.79428 17.1162 4.21478 18.9787C4.17329 19.0202 4.13187 19.0616 4.09039 19.1031C3.3026 18.3153 2.51487 17.5276 1.72708 16.7398C1.49725 16.4275 1.26921 16.1166 1.04297 15.8069C1.41332 14.6754 1.745 13.5352 2.03805 12.3863Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.942",fillRule:"evenodd",clipRule:"evenodd",d:"M10.3716 14.5009C11.6066 14.8571 12.8504 15.1888 14.1032 15.496C13.7676 16.7962 13.3737 18.0815 12.9215 19.3519C12.8392 19.6395 12.777 19.9298 12.7349 20.2226C11.3252 20.2226 9.91557 20.2226 8.50586 20.2226C9.07834 18.2979 9.70026 16.3907 10.3716 14.5009Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.963",fillRule:"evenodd",clipRule:"evenodd",d:"M61.3687 20.9689C62.3644 20.9482 63.3595 20.969 64.3539 21.0311C65.604 21.1689 66.6613 21.6872 67.5257 22.5859C68.0488 23.4732 68.2142 24.4268 68.0233 25.4467C67.8902 26.0323 67.7453 26.6128 67.5879 27.1881C66.2191 27.2088 64.8508 27.1881 63.4832 27.1259C63.9254 26.3284 64.0703 25.4785 63.9186 24.576C63.8719 24.4621 63.8097 24.3584 63.732 24.2651C62.2139 23.6453 61.1983 24.1222 60.6846 25.6955C60.4489 26.2368 60.4489 26.7758 60.6846 27.3125C60.9439 27.7896 61.2337 28.2457 61.5553 28.6807C61.9906 29.1161 62.426 29.5514 62.8613 29.9868C62.7786 30.0283 62.6953 30.0697 62.6125 30.1112C61.1603 30.2011 59.7094 30.3047 58.2591 30.4221C57.9525 30.4249 57.6622 30.3627 57.3884 30.2355C56.5731 29.5585 56.1585 28.6878 56.1445 27.6235C56.1424 25.223 57.096 23.3158 59.0054 21.9018C59.3369 21.7359 59.669 21.5701 60.0005 21.4042C60.4775 21.2756 60.9333 21.1305 61.3687 20.9689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.968",fillRule:"evenodd",clipRule:"evenodd",d:"M24.4266 21.0933C26.6244 21.0726 28.8219 21.0933 31.0189 21.1555C32.185 21.2514 33.1594 21.7281 33.942 22.5859C34.142 22.9444 34.3079 23.3175 34.4395 23.7053C34.9432 27.1178 33.5541 29.2945 30.2726 30.2355C31.2167 30.6404 31.8593 31.3245 32.2006 32.2879C32.5654 34.8429 31.7983 36.9782 29.8995 38.6937C28.7516 39.5257 27.4663 40.0025 26.0436 40.1241C25.5318 39.9305 25.0342 39.7024 24.5509 39.44C22.8309 38.5179 21.131 37.5643 19.4512 36.5791C21.1218 31.4222 22.7802 26.2603 24.4266 21.0933ZM27.4118 24.0785C28.0351 24.0578 28.657 24.0786 29.2776 24.1407C29.6353 24.1952 29.967 24.3195 30.2726 24.5138C30.4221 24.6261 30.5258 24.7712 30.5836 24.9492C30.7878 25.9975 30.5805 26.9512 29.9617 27.81C29.6507 28.0381 29.3397 28.2661 29.0288 28.4941C28.78 28.577 28.5312 28.66 28.2825 28.7429C27.4958 28.805 26.708 28.8258 25.9192 28.8051C26.4167 27.2296 26.9142 25.654 27.4118 24.0785ZM25.0485 31.666C25.8443 31.6339 26.632 31.6961 27.4118 31.8525C27.6765 31.934 27.9253 32.0377 28.1581 32.1635C28.2292 32.3818 28.3329 32.5891 28.4691 32.7854C28.5091 34.3436 27.9494 35.6496 26.7899 36.7035C26.4482 36.9211 26.0751 37.0455 25.6704 37.0767C24.8837 37.1388 24.0959 37.1595 23.3071 37.1389C23.8631 35.3051 24.4436 33.4807 25.0485 31.666Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.965",fillRule:"evenodd",clipRule:"evenodd",d:"M44.4541 21.0933C48.6831 21.0933 52.9122 21.0933 57.1413 21.0933C56.8971 22.1782 56.5654 23.2355 56.1462 24.2651C54.8201 24.3273 53.4933 24.348 52.1659 24.3273C51.47 26.5187 50.7859 28.7162 50.1136 30.9197C49.731 31.0177 49.3371 31.0799 48.9319 31.1062C47.9368 31.1767 46.9417 31.2389 45.9467 31.2928C45.9272 31.122 45.9479 30.9561 46.0089 30.7953C46.684 28.6535 47.3681 26.5182 48.0612 24.3895C46.5277 24.3273 44.9936 24.3066 43.459 24.3273C43.7662 23.2399 44.0979 22.1619 44.4541 21.0933Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.905",fillRule:"evenodd",clipRule:"evenodd",d:"M16.3418 21.2177C16.8824 21.1971 17.4214 21.2178 17.9588 21.2798C18.3967 21.3425 18.7076 21.5706 18.8917 21.964C18.9746 22.3371 18.9746 22.7103 18.8917 23.0834C18.6237 24.3025 18.2091 25.4633 17.6479 26.5662C17.4051 26.8639 17.0941 27.0505 16.715 27.1259C16.176 27.2088 15.637 27.2088 15.098 27.1259C14.389 26.9768 14.0159 26.5415 13.9785 25.8199C14.2765 24.5864 14.6704 23.384 15.1602 22.2127C15.2903 22.0149 15.4354 21.8283 15.5955 21.653C15.8358 21.4716 16.0846 21.3265 16.3418 21.2177ZM16.715 22.2127C17.0139 22.2063 17.3041 22.2477 17.5857 22.3371C17.6058 22.5893 17.5851 22.8381 17.5235 23.0834C17.2332 23.9541 16.943 24.8248 16.6528 25.6955C16.4738 25.9378 16.2457 26.1037 15.9687 26.193C15.8009 26.1501 15.635 26.1086 15.4711 26.0687C15.4507 25.7344 15.4714 25.4027 15.5333 25.0736C15.7821 24.3273 16.0309 23.581 16.2796 22.8347C16.4037 22.6079 16.5488 22.4006 16.715 22.2127Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.913",fillRule:"evenodd",clipRule:"evenodd",d:"M19.9504 21.2177C21.0292 21.197 22.1071 21.2177 23.1844 21.2799C23.0229 21.6191 22.8985 21.9714 22.8112 22.3371C22.2308 22.3371 21.6503 22.3371 21.0698 22.3371C20.9576 22.736 20.8332 23.1299 20.6967 23.5188C21.2341 23.5808 21.7731 23.6016 22.3137 23.581C22.2308 23.9126 22.1478 24.2444 22.0649 24.576C21.4929 24.5387 20.9332 24.5802 20.3857 24.7004C20.0938 25.4722 19.8658 26.26 19.7016 27.0637C19.2041 27.0637 18.7065 27.0637 18.209 27.0637C18.7554 25.2793 19.3151 23.4965 19.8882 21.7152C19.9491 21.5544 19.9698 21.3885 19.9504 21.2177Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.96",fillRule:"evenodd",clipRule:"evenodd",d:"M61.7423 30.9197C62.3654 30.899 62.9874 30.9197 63.608 30.9818C64.5372 31.8042 64.9931 32.8407 64.9763 34.0915C64.7748 35.8413 64.1734 37.4375 63.1727 38.8803C61.9985 40.1848 60.5264 40.8689 58.757 40.9326C57.2251 41.1052 55.7324 40.9394 54.2792 40.4351C53.9475 40.2278 53.6158 40.0204 53.2841 39.8132C53.1124 39.5737 52.9258 39.3457 52.7244 39.129C52.5756 38.807 52.4512 38.4753 52.3512 38.134C52.2683 37.4706 52.2683 36.8072 52.3512 36.1438C52.4844 35.5583 52.6295 34.9778 52.7866 34.4024C54.2383 34.3817 55.6895 34.4024 57.14 34.4646C56.7613 35.0715 56.554 35.7349 56.5181 36.4548C56.7491 37.773 57.4954 38.1876 58.757 37.6986C60.4512 36.9016 61.0942 35.5955 60.685 33.7805C60.519 33.4488 60.3535 33.1171 60.1875 32.7854C59.6651 32.2214 59.1053 31.7032 58.5083 31.2306C59.6072 31.1455 60.685 31.0418 61.7423 30.9197Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.952",fillRule:"evenodd",clipRule:"evenodd",d:"M48.6818 31.9147C49.055 31.9147 49.4281 31.9147 49.8013 31.9147C49.3441 33.4523 48.8674 34.9863 48.3708 36.517C48.2885 36.8046 48.2263 37.0949 48.1843 37.3877C48.0134 37.3682 47.8476 37.3889 47.6867 37.4498C46.3329 37.9022 44.9647 38.2961 43.582 38.6315C44.2202 36.468 44.8837 34.312 45.5722 32.1635C46.6323 32.1442 47.6688 32.0613 48.6818 31.9147Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.929",fillRule:"evenodd",clipRule:"evenodd",d:"M19.0798 37.3877C19.1717 37.3714 19.2546 37.3921 19.3286 37.4499C20.987 38.362 22.6455 39.2741 24.3039 40.1863C24.4698 40.3107 24.6356 40.4351 24.8015 40.5595C22.478 40.918 20.1562 41.2704 17.8359 41.6167C18.2758 40.2144 18.6903 38.8047 19.0798 37.3877Z",fill:"#554B6A"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_9266_25244",children:jsxRuntime.jsx("rect",{width:"68.4923",height:"42",fill:"white"})})})]}),TrustWallet=e=>jsxRuntime.jsxs("svg",{width:"20",height:"22",viewBox:"0 0 20 22",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M0 3.11128L9.61454 0V21.5385C2.74692 18.6664 0 13.1622 0 10.0515V3.11128Z",fill:"#0500FF"}),jsxRuntime.jsx("path",{d:"M19.2317 3.11128L9.61719 0V21.5385C16.4848 18.6664 19.2317 13.1622 19.2317 10.0515V3.11128Z",fill:"url(#paint0_linear_12337_5697)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_12337_5697",x1:"16.6778",y1:"-1.50826",x2:"9.47321",y2:"21.2625",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.02",stopColor:"#0000FF"}),jsxRuntime.jsx("stop",{offset:"0.08",stopColor:"#0094FF"}),jsxRuntime.jsx("stop",{offset:"0.16",stopColor:"#48FF91"}),jsxRuntime.jsx("stop",{offset:"0.42",stopColor:"#0094FF"}),jsxRuntime.jsx("stop",{offset:"0.68",stopColor:"#0038FF"}),jsxRuntime.jsx("stop",{offset:"0.9",stopColor:"#0500FF"})]})})]}),WalletConnect=e=>jsxRuntime.jsx("svg",{width:"24",height:"15",viewBox:"0 0 24 15",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M4.91331 2.93074C8.82718 -0.976913 15.1728 -0.976913 19.0867 2.93074L19.5577 3.40102C19.7534 3.59642 19.7534 3.91318 19.5577 4.10859L17.9464 5.71735C17.8486 5.81505 17.6899 5.81505 17.5921 5.71735L16.9439 5.0702C14.2134 2.3441 9.78656 2.3441 7.05612 5.0702L6.36193 5.76324C6.26412 5.86094 6.1055 5.86094 6.00762 5.76324L4.39631 4.15447C4.20056 3.95907 4.20056 3.64231 4.39631 3.4469L4.91331 2.93074ZM22.4191 6.25787L23.8532 7.68965C24.0489 7.88506 24.0489 8.20181 23.8532 8.39722L17.3868 14.8535C17.1911 15.0488 16.8738 15.0488 16.6781 14.8535L12.0886 10.2713C12.0397 10.2224 11.9604 10.2224 11.9114 10.2713L7.32206 14.8535C7.12637 15.0488 6.80906 15.0488 6.61337 14.8535L0.14677 8.39715C-0.0489234 8.20175 -0.0489234 7.88499 0.14677 7.68958L1.58087 6.25775C1.77656 6.0624 2.09385 6.0624 2.28954 6.25775L6.87912 10.84C6.928 10.8889 7.00731 10.8889 7.05625 10.84L11.6456 6.25775C11.8412 6.0624 12.1586 6.0624 12.3542 6.25775L16.9438 10.84C16.9927 10.8889 17.0721 10.8889 17.121 10.84L21.7104 6.25787C21.9062 6.06247 22.2234 6.06247 22.4191 6.25787Z",fill:"#3396FF"})}),SwellBTC=e=>jsxRuntime.jsxs("svg",{width:"132",height:"51",viewBox:"0 0 132 51",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M48.8564 30.9017L48.792 30.9694C48.7619 31.0005 48.7314 31.0314 48.7006 31.0621L31.0382 48.6961C27.9614 51.768 22.9729 51.768 19.8961 48.6961L15.0186 43.8267C14.6728 43.4828 14.6721 42.9236 15.0163 42.5782C15.1176 42.4766 15.2421 42.4012 15.379 42.3584C20.6069 40.7446 24.8548 38.8817 28.1225 36.7699C35.9047 31.7403 42.816 29.7843 48.8564 30.9017ZM45.1535 16.3958C51.6746 18.4507 50.9135 23.2479 51 25.1391C43.8584 21.3943 35.2669 22.7669 25.2254 29.2566C17.741 34.0937 11.4716 36.088 6.4173 35.2395C1.363 34.391 0.226 28.2183 0 26.578C5.5538 29.3861 12.9966 27.7744 22.3283 21.7434C31.024 16.1235 38.6324 14.3409 45.1535 16.3958ZM31.0382 2.30393L35.6212 6.87893C35.9664 7.22333 35.9669 7.78252 35.6225 8.12782C35.4996 8.25102 35.3431 8.33512 35.1726 8.36942C28.538 9.70602 23.232 11.6596 19.2546 14.2302C12.4389 18.6351 6.6308 20.6825 1.8303 20.3724L1.8308 20.3711L19.8961 2.30393C22.9729 -0.767975 27.9614 -0.767975 31.0382 2.30393Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M75.7906 20.556C75.6998 19.7065 75.3172 19.0451 74.6428 18.5718C73.975 18.0984 73.106 17.8617 72.0361 17.8617C71.2839 17.8617 70.6387 17.9752 70.1005 18.2022C69.5623 18.4291 69.1506 18.7371 68.8652 19.1262C68.5799 19.5152 68.434 19.9594 68.4275 20.4587C68.4275 20.8737 68.5216 21.2336 68.7096 21.5384C68.9041 21.8431 69.1668 22.1025 69.4975 22.3165C69.8282 22.524 70.1945 22.6991 70.5966 22.8417C70.9986 22.9844 71.4039 23.1044 71.8124 23.2016L73.6799 23.6685C74.4321 23.8436 75.1551 24.0803 75.8489 24.3785C76.5493 24.6768 77.175 25.0529 77.7262 25.5068C78.2838 25.9607 78.7248 26.5087 79.049 27.1506C79.3732 27.7926 79.5353 28.5448 79.5353 29.4072C79.5353 30.5744 79.237 31.6022 78.6405 32.4905C78.0439 33.3724 77.1815 34.063 76.0532 34.5623C74.9314 35.0551 73.5729 35.3015 71.9778 35.3015C70.428 35.3015 69.0825 35.0616 67.9412 34.5818C66.8064 34.1019 65.9181 33.4016 65.2761 32.4808C64.6407 31.56 64.297 30.4382 64.2451 29.1154H67.7953C67.8472 29.8092 68.0612 30.3863 68.4373 30.8467C68.8134 31.3071 69.3029 31.6508 69.906 31.8778C70.5155 32.1047 71.1964 32.2182 71.9486 32.2182C72.7332 32.2182 73.4205 32.1015 74.0106 31.868C74.6072 31.6281 75.0741 31.2974 75.4112 30.8759C75.7484 30.4479 75.9203 29.9487 75.9268 29.378C75.9203 28.8593 75.7679 28.4313 75.4696 28.0941C75.1713 27.7504 74.7531 27.4651 74.2149 27.2382C73.6832 27.0047 73.0606 26.7972 72.3474 26.6157L70.0811 26.0321C68.4405 25.6106 67.1436 24.9719 66.1904 24.1159C65.2437 23.2535 64.7703 22.109 64.7703 20.6824C64.7703 19.5088 65.0881 18.481 65.7235 17.5991C66.3655 16.7172 67.2377 16.0331 68.34 15.5468C69.4424 15.054 70.6906 14.8076 72.0847 14.8076C73.4983 14.8076 74.7369 15.054 75.8003 15.5468C76.8702 16.0331 77.71 16.7107 78.3195 17.5797C78.929 18.4421 79.2435 19.4342 79.263 20.556H75.7906ZM85.6801 35L81.4588 20.0599H85.0479L87.6741 30.5647H87.8101L90.4951 20.0599H94.0451L96.7291 30.5063H96.8751L99.4631 20.0599H103.061L98.8301 35H95.1631L92.3621 24.9038H92.1581L89.3571 35H85.6801ZM111.706 35.2918C110.208 35.2918 108.914 34.9805 107.825 34.358C106.742 33.7291 105.909 32.8407 105.325 31.693C104.742 30.5387 104.45 29.1802 104.45 27.6175C104.45 26.0807 104.742 24.7319 105.325 23.5712C105.915 22.404 106.739 21.4962 107.796 20.8478C108.853 20.1929 110.095 19.8654 111.521 19.8654C112.442 19.8654 113.311 20.0145 114.128 20.3128C114.951 20.6046 115.678 21.0585 116.307 21.6746C116.942 22.2906 117.441 23.0752 117.805 24.0284C118.168 24.9751 118.349 26.1034 118.349 27.4132V28.4929H106.103V26.1196H114.974C114.968 25.4452 114.822 24.8454 114.536 24.3202C114.251 23.7885 113.852 23.3702 113.34 23.0655C112.834 22.7607 112.244 22.6083 111.57 22.6083C110.85 22.6083 110.218 22.7834 109.673 23.1335C109.128 23.4772 108.704 23.9311 108.399 24.4953C108.101 25.0529 107.948 25.6657 107.942 26.3336V28.4054C107.942 29.2743 108.101 30.02 108.418 30.6425C108.736 31.2585 109.18 31.7319 109.751 32.0626C110.322 32.3868 110.989 32.5489 111.755 32.5489C112.267 32.5489 112.731 32.4776 113.146 32.3349C113.561 32.1858 113.92 31.9685 114.225 31.6832C114.53 31.3979 114.76 31.0445 114.916 30.623L118.203 30.9926C117.996 31.8615 117.6 32.6202 117.017 33.2687C116.44 33.9106 115.7 34.4099 114.799 34.7666C113.898 35.1167 112.867 35.2918 111.706 35.2918ZM124.849 15.0799V35H121.328V15.0799H124.849ZM131.991 15.0799V35H128.47V15.0799H131.991Z",fill:"#554B6A"})]}),DLCBTC=e=>jsxRuntime.jsxs("svg",{width:"160",height:"60",viewBox:"0 0 362 136",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M159.763 62.6735C161.004 60.1914 162.693 58.282 164.833 56.9447C166.971 55.6082 169.358 54.9395 171.993 54.9395C174.093 54.9395 176.012 55.379 177.75 56.2572C179.487 57.1362 180.852 58.3196 181.846 59.8091V44.9712H191.641V87.3651H181.846V82.782C180.929 84.31 179.621 85.5319 177.922 86.4485C176.222 87.3651 174.246 87.8234 171.993 87.8234C169.358 87.8234 166.971 87.1458 164.833 85.7896C162.693 84.4344 161.004 82.5054 159.763 80.0035C158.522 77.5024 157.901 74.6094 157.901 71.3242C157.901 68.039 158.522 65.1566 159.763 62.6735ZM179.812 65.5953C178.456 64.1828 176.805 63.4756 174.857 63.4756C172.91 63.4756 171.257 64.1729 169.902 65.5666C168.546 66.9613 167.869 68.8804 167.869 71.3242C167.869 73.7679 168.546 75.7068 169.902 77.139C171.257 78.5713 172.91 79.2874 174.857 79.2874C176.805 79.2874 178.456 78.581 179.812 77.1677C181.167 75.7551 181.846 73.8261 181.846 71.3814C181.846 68.9368 181.167 67.0087 179.812 65.5953Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M208.539 44.9712V87.3651H198.743V44.9712H208.539Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M215.728 62.6735C217.083 60.1913 218.973 58.2819 221.399 56.9446C223.824 55.6081 226.602 54.9395 229.734 54.9395C233.744 54.9395 237.095 55.9903 239.787 58.0903C242.479 60.1913 244.245 63.1515 245.086 66.9701H234.66C233.781 64.5264 232.082 63.3036 229.562 63.3036C227.766 63.3036 226.334 64.0009 225.266 65.3947C224.196 66.7893 223.662 68.7845 223.662 71.3813C223.662 73.9782 224.196 75.9743 225.266 77.368C226.334 78.7626 227.766 79.4591 229.562 79.4591C232.082 79.4591 233.781 78.2372 234.66 75.7926H245.086C244.245 79.5361 242.469 82.4766 239.758 84.6151C237.046 86.7544 233.705 87.8233 229.734 87.8233C226.602 87.8233 223.824 87.1555 221.399 85.8182C218.973 84.4817 217.083 82.5724 215.728 80.0893C214.372 77.6071 213.694 74.7041 213.694 71.3813C213.694 68.0585 214.372 65.1566 215.728 62.6735Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M280.257 70.2071C281.669 72.0215 282.376 74.0938 282.376 76.423C282.376 79.7842 281.202 82.4481 278.854 84.4148C276.505 86.3823 273.23 87.3652 269.03 87.3652H250.298V47.1482H268.399C272.485 47.1482 275.683 48.0845 277.994 49.9553C280.305 51.8271 281.46 54.3666 281.46 57.5748C281.46 59.9433 280.839 61.91 279.598 63.4756C278.357 65.0421 276.706 66.1306 274.643 66.7411C276.972 67.2379 278.844 68.3935 280.257 70.2071ZM260.093 63.4183H266.509C268.113 63.4183 269.345 63.0656 270.204 62.3584C271.063 61.6522 271.493 60.6111 271.493 59.2362C271.493 57.8613 271.063 56.8113 270.204 56.0853C269.345 55.3602 268.113 54.9968 266.509 54.9968H260.093V63.4183ZM271.12 78.3421C272.017 77.5974 272.466 76.5187 272.466 75.1053C272.466 73.6928 271.998 72.5846 271.063 71.7825C270.127 70.9805 268.838 70.5795 267.196 70.5795H260.093V79.4592H267.311C268.953 79.4592 270.223 79.0868 271.12 78.3421Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M316.976 47.1482V54.9968H306.321V87.3651H296.526V54.9968H285.871V47.1482H316.976Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M322.818 56.5723C324.537 53.4599 326.933 51.035 330.007 49.2966C333.081 47.5591 336.566 46.6899 340.461 46.6899C345.235 46.6899 349.321 47.9503 352.72 50.471C356.118 52.9917 358.391 56.4291 359.537 60.7831H348.767C347.965 59.1028 346.829 57.8237 345.359 56.9447C343.888 56.0666 342.217 55.627 340.347 55.627C337.329 55.627 334.885 56.6779 333.014 58.7779C331.143 60.8789 330.208 63.686 330.208 67.1994C330.208 70.7128 331.143 73.5208 333.014 75.6208C334.885 77.7218 337.329 78.7717 340.347 78.7717C342.217 78.7717 343.888 78.3331 345.359 77.4542C346.829 76.576 347.965 75.2969 348.767 73.6157H359.537C358.391 77.9697 356.118 81.3981 352.72 83.8991C349.321 86.4011 345.235 87.6516 340.461 87.6516C336.566 87.6516 333.081 86.7833 330.007 85.0449C326.933 83.3075 324.537 80.8914 322.818 77.7979C321.1 74.7043 320.24 71.172 320.24 67.1994C320.24 63.2267 321.1 59.6856 322.818 56.5723Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M67.9933 136C105.545 136 135.987 105.555 135.987 68C135.987 30.4446 105.545 0 67.9933 0C30.4416 0 0 30.4446 0 68C0 105.555 30.4416 136 67.9933 136ZM87.2325 56.4835C86.6495 50.1927 81.1537 48.0591 74.2052 47.4263L74.2469 38.7043L68.8616 38.6798L68.8212 47.1718C67.4055 47.1654 65.9582 47.1862 64.5204 47.2078L64.5622 38.6595L59.1798 38.6343L59.136 47.3537C57.9699 47.3717 56.8249 47.3877 55.7084 47.3833L55.7078 47.3562L48.2803 47.3191L48.2545 52.9892C48.2545 52.9892 52.2316 52.933 52.1652 53.005C54.3464 53.0158 55.0504 54.2675 55.2517 55.3458L55.1366 79.2391C55.0376 79.9154 54.6289 80.9926 53.1049 80.9881C53.1735 81.0486 49.1902 80.9688 49.1902 80.9688L48.0898 87.3041L55.098 87.3366C55.8785 87.3411 56.6515 87.3529 57.4164 87.3646L57.4185 87.3646L57.4206 87.3646L57.4225 87.3647C57.9336 87.3725 58.4412 87.3802 58.945 87.3857L58.9049 96.207L64.2844 96.2329L64.3261 87.5049C65.803 87.5419 67.2324 87.5601 68.6279 87.5653L68.5838 96.2531L73.9691 96.2777L74.013 87.4721C83.0691 87.0022 89.4166 84.7832 90.2437 76.4052C90.9114 69.6591 87.7055 66.6326 82.572 65.392C85.7017 63.8392 87.667 61.0867 87.2325 56.4835ZM79.6078 75.3102C79.5815 81.3583 69.9449 81.1814 65.5357 81.1005C65.139 81.0932 64.7846 81.0867 64.4833 81.0856L64.5408 69.398C64.9066 69.3998 65.3507 69.3915 65.8537 69.3822L65.8578 69.3821L65.8584 69.3821C70.3772 69.298 79.6378 69.1256 79.6078 75.3102ZM77.1823 58.8089C77.1544 64.3068 69.1307 64.1393 65.4522 64.0625H65.4518H65.4514H65.451C65.1172 64.0555 64.8192 64.0493 64.5663 64.0481L64.6174 53.448C64.9248 53.4494 65.2988 53.4414 65.7228 53.4323C69.4917 53.3514 77.2087 53.1859 77.1823 58.8089ZM117.914 88.7977C117.917 91.0406 117.325 93.2595 116.201 95.2145L116.198 95.2207C115.072 97.1748 113.451 98.8015 111.51 99.9251L74.4059 121.53C73.4065 119.745 73.5095 112.56 78.427 109.686L107.423 92.8624C108.13 92.4533 108.72 91.8609 109.13 91.1488C109.54 90.4364 109.756 89.6285 109.754 88.8116L109.729 55.2857C109.743 49.5895 115.905 45.8909 117.951 45.8584L117.914 88.7977ZM67.9953 12.658C70.2503 12.6587 72.4686 13.2522 74.4105 14.3741L111.643 35.7575C110.595 37.514 104.316 41.0109 99.3725 38.1822L70.329 21.4402C69.6218 21.0314 68.8141 20.8154 67.9923 20.8153C67.1706 20.8155 66.363 21.0317 65.6557 21.4405L36.6135 38.1847C31.6702 41.0141 25.3921 37.5201 24.3438 35.7637L61.5733 14.3751C63.5151 13.2529 65.7333 12.6591 67.9883 12.658L67.9953 12.658ZM18.0721 88.7977C18.0683 91.0406 18.6603 93.2595 19.7843 95.2145L19.7878 95.2207C20.9133 97.1748 22.5343 98.8015 24.4753 99.9251L61.5798 121.53C62.5791 119.745 62.4762 112.56 57.5586 109.686L28.5626 92.8624C27.8555 92.4533 27.2654 91.8609 26.8554 91.1488C26.4457 90.4364 26.2301 89.6285 26.2316 88.8116L26.2563 55.2857C26.2422 49.5895 20.0802 45.8909 18.0352 45.8584L18.0721 88.7977Z",fill:"#554B6A"})]}),TraderJoe=e=>jsxRuntime.jsxs("svg",{width:"151",height:"25",viewBox:"0 0 151 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14658)",children:[jsxRuntime.jsx("mask",{id:"mask0_13175_14658","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"151",height:"25",children:jsxRuntime.jsx("path",{d:"M150.47 0H0V25H150.47V0Z",fill:"white"})}),jsxRuntime.jsxs("g",{mask:"url(#mask0_13175_14658)",children:[jsxRuntime.jsx("path",{d:"M19.0282 0.686768H0V4.60295H7.2688V24.7175H11.7946V4.60295H19.0282V0.686768Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M21.9282 10.4694V7.41654H17.7158V24.7176H21.9322V16.5438C21.9322 13.2477 22.994 10.9442 25.6665 10.9442H28.3741V7.40869H26.3522C24.1226 7.41262 22.7825 8.27198 21.9282 10.4694Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M42.1516 9.36678C41.1563 8.02869 39.2715 7.13794 37.1163 7.13794C31.9714 7.13794 28.9541 10.7755 28.9541 16.0651C28.9541 21.3547 31.9714 24.9922 37.183 24.9922C39.3421 24.9922 41.3327 24.0662 42.1555 22.6928V24.7176H46.3757V7.41654H42.1555V9.36678H42.1516ZM37.7668 21.3547C34.9886 21.3547 33.1391 19.2592 33.1391 16.0651C33.1391 12.8748 34.9886 10.7755 37.7668 10.7755C40.545 10.7755 42.4651 12.8709 42.4651 16.0651C42.4651 19.2553 40.6156 21.3547 37.7668 21.3547Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M62.0492 9.5079C61.0539 8.10312 59.2357 7.13781 56.9747 7.13781C51.869 7.13781 48.8125 10.7754 48.8125 16.0649C48.8125 21.3546 51.865 24.9921 57.0414 24.9921C59.1338 24.9921 61.0539 24.0661 62.0492 22.5514V24.7135H66.2302V0H62.0492V9.5079ZM57.6604 21.3546C54.847 21.3546 53.0014 19.2591 53.0014 16.0649C53.0014 12.8747 54.8509 10.7754 57.6604 10.7754C60.474 10.7754 62.3195 12.8709 62.3195 16.0649C62.3235 19.2553 60.474 21.3546 57.6604 21.3546Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M77.1398 21.4957C74.4674 21.4957 72.6845 19.7102 72.3789 16.932H85.1296C85.1609 16.5867 85.2001 16.0726 85.2001 15.488C85.2001 11.3678 82.5944 7.14551 76.7989 7.14551C71.0034 7.14551 68.3311 11.4384 68.3311 16.006C68.3311 20.5736 71.4855 25.0037 77.1398 25.0037C81.3914 25.0037 84.6124 22.6336 85.2628 18.9608H81.1445C80.7057 20.605 79.3029 21.4917 77.1398 21.4957ZM76.795 10.3043H76.7989C79.3029 10.3043 80.8114 11.9524 80.9799 14.1499H72.4768C72.9196 11.5404 74.4282 10.3043 76.795 10.3043Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M91.5991 10.4694V7.41654H87.3828V24.7176H91.5991V16.5438C91.5991 13.2477 92.661 10.9442 95.333 10.9442H98.0407V7.40869H96.0191C93.7896 7.41262 92.4533 8.27198 91.5991 10.4694Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M123.425 7.13794C118.143 7.13794 114.373 10.9128 114.373 16.0651C114.373 21.2173 118.143 24.9922 123.425 24.9922C128.707 24.9922 132.441 21.2135 132.441 16.0651C132.441 10.9207 128.672 7.13794 123.425 7.13794ZM123.425 21.3547C120.54 21.3547 118.625 19.1925 118.625 16.0651C118.625 12.9376 120.545 10.7755 123.425 10.7755C126.304 10.7755 128.19 12.9376 128.19 16.0651C128.19 19.1925 126.27 21.3547 123.425 21.3547Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M146.359 18.9532C145.913 20.6013 144.511 21.492 142.347 21.492C139.671 21.492 137.888 19.7066 137.582 16.9284H150.333C150.364 16.587 150.404 16.069 150.404 15.4843C150.404 11.3601 147.798 7.14185 142.002 7.14185C136.207 7.14185 133.534 11.4348 133.534 16.0023C133.534 20.5699 136.689 24.9961 142.347 24.9961C146.599 24.9961 149.82 22.626 150.47 18.9532H146.359ZM141.998 10.2968H142.002C144.502 10.2968 146.015 11.9448 146.184 14.1423H137.676C138.127 11.5328 139.632 10.2968 141.998 10.2968Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M103.848 0.686768V4.59903H108.151V17.6857C108.151 19.7811 107.566 20.7739 105.854 20.7739H101.207V24.7215H106.677C110.447 24.7215 112.676 22.4887 112.676 17.8544V0.686768H108.151H103.848Z",fill:"#554B6A"})]})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14658",children:jsxRuntime.jsx("rect",{width:"150.47",height:"25",fill:"white"})})})]}),Debridge=e=>jsxRuntime.jsxs("svg",{width:"182",height:"30",viewBox:"0 0 182 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14673)",children:[jsxRuntime.jsx("path",{d:"M181.742 17.0809H169.879C170.345 19.3791 171.991 20.6524 174.413 20.6524C176.183 20.6524 177.239 20.3108 178.947 19.1306L180.748 21.7393C178.761 23.3853 176.928 24.0375 174.289 24.0375C169.382 24.0375 165.903 20.3418 165.903 15.5903C165.903 10.8387 169.537 7.14307 174.133 7.14307C179.133 7.14307 181.742 11.0251 181.742 15.6524V17.0809ZM169.847 14.2859H177.922C177.736 12.3294 176.587 10.466 174.165 10.466C171.96 10.466 170.282 11.8325 169.847 14.2859Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M148.88 28.758L149.873 25.4971C151.333 26.1803 152.979 26.6151 154.656 26.6151C158.569 26.6151 159.594 25.0002 159.594 22.2673V21.0251C158.724 22.1431 156.923 23.5716 154.221 23.5716C149.873 23.5716 146.799 20.0934 146.799 15.4039C146.799 10.6834 149.873 7.14307 154.221 7.14307C157.14 7.14307 159.128 8.44741 160.277 9.90705L160.96 7.48469H163.476V21.553C163.476 27.5157 160.308 30.0002 154.966 30.0002C151.892 30.0002 149.842 29.2548 148.88 28.758ZM155.184 20.0313C157.792 20.0313 159.594 18.1368 159.594 15.4039C159.594 12.671 157.792 10.6834 155.184 10.6834C152.513 10.6834 150.712 12.5778 150.712 15.4039C150.712 18.199 152.513 20.0313 155.184 20.0313Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M141.85 23.6947L141.167 21.2413C140.018 22.7009 138.03 24.0363 135.111 24.0363C130.763 24.0363 127.688 20.2785 127.688 15.5891C127.688 10.8686 130.763 7.14188 135.111 7.14188C137.813 7.14188 139.614 8.60152 140.483 9.71954V2.03491H144.366V23.6947H141.85ZM136.073 20.4959C138.683 20.4959 140.483 18.322 140.483 15.5891C140.483 12.8251 138.683 10.6823 136.073 10.6823C133.403 10.6823 131.602 12.763 131.602 15.5891C131.602 18.3841 133.403 20.4959 136.073 20.4959Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M120.944 2.36025C120.944 1.0559 121.938 0 123.274 0C124.578 0 125.634 1.0559 125.634 2.36025C125.634 3.66459 124.578 4.7205 123.274 4.7205C121.938 4.7205 120.944 3.66459 120.944 2.36025ZM125.261 23.6956H121.379V7.48448H125.261V23.6956Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M113.49 23.6956H109.607V7.4844H112.092L113.024 10.3415C113.893 8.78874 115.322 6.92537 119.484 7.17381L118.955 11.3042C114.794 11.0248 113.49 13.1986 113.49 15.8074V23.6956Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M99.2434 23.6969H90.0508V1.95776H98.4672C102.008 1.95776 106.262 3.41739 106.262 7.9205C106.262 10.4982 104.616 11.8335 103.25 12.5478V12.5789C104.71 13.2 107.038 14.5664 107.038 17.7652C107.038 22.1441 103.343 23.6969 99.2434 23.6969ZM94.0263 5.40496V11.0261H98.56C100.952 11.0261 102.256 9.93913 102.256 8.29316C102.256 6.21242 100.889 5.40496 98.2806 5.40496H94.0263ZM94.0263 14.4112V20.2497H99.0259C101.821 20.2497 103.032 19.318 103.032 17.4236C103.032 15.6223 101.573 14.4112 99.1192 14.4112H94.0263Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M87.4475 17.0809H75.5844C76.0503 19.3791 77.6961 20.6524 80.1186 20.6524C81.8886 20.6524 82.9447 20.3108 84.6528 19.1306L86.4537 21.7393C84.4662 23.3853 82.6339 24.0375 79.9944 24.0375C75.0875 24.0375 71.6094 20.3418 71.6094 15.5903C71.6094 10.8387 75.2427 7.14307 79.8387 7.14307C84.8389 7.14307 87.4475 11.0251 87.4475 15.6524V17.0809ZM75.5534 14.2859H83.6277C83.4416 12.3294 82.2922 10.466 79.8701 10.466C77.6651 10.466 75.988 11.8325 75.5534 14.2859Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M66.6604 23.6947L65.9775 21.2413C64.8281 22.7009 62.8406 24.0363 59.9212 24.0363C55.5736 24.0363 52.499 20.2785 52.499 15.5891C52.499 10.8686 55.5736 7.14188 59.9212 7.14188C62.6231 7.14188 64.4245 8.60152 65.294 9.71954V2.03491H69.1762V23.6947H66.6604ZM60.884 20.4959C63.4926 20.4959 65.294 18.322 65.294 15.5891C65.294 12.8251 63.4926 10.6823 60.884 10.6823C58.2131 10.6823 56.4121 12.763 56.4121 15.5891C56.4121 18.3841 58.2131 20.4959 60.884 20.4959Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8333 24.3755H42.5C42.5 24.1384 42.4961 23.9023 42.4884 23.6672H38.0676L42.4423 22.797C42.4056 22.2971 42.3516 21.8021 42.2809 21.3124L38.1338 22.1373L42.1431 20.4766C42.0465 19.9553 41.9307 19.4406 41.7968 18.9334L37.8731 20.5586L41.5572 18.0969C41.3911 17.5591 41.2042 17.0303 40.9974 16.5116L37.2692 19.0027L40.6287 15.6433C40.3824 15.0975 40.1137 14.564 39.8238 14.044L36.3241 17.5437L39.2788 13.1217C38.9413 12.5821 38.5802 12.0588 38.197 11.5532L35.0538 16.2574L37.4081 10.5735C36.9702 10.0613 36.5084 9.5702 36.0243 9.10187L33.6226 14.9001C35.6364 17.5257 36.8333 20.8108 36.8333 24.3755ZM5.66667 24.3755C5.66667 23.9462 5.68402 23.521 5.71805 23.1006H0.0376139C0.0126559 23.5224 0 23.9475 0 24.3755H5.66667ZM6.09169 20.7455L0.529767 19.6392C0.715369 18.8238 0.947859 18.0263 1.22426 17.2496L6.86527 18.3717C6.54666 19.1341 6.28692 19.9273 6.09169 20.7455ZM7.94625 16.2564L2.66288 14.0679C3.06 13.3533 3.49713 12.664 3.97125 12.0031L9.40195 14.2526C8.86589 14.8794 8.37867 15.5493 7.94625 16.2564ZM11.0101 12.6285L6.1755 9.39812C6.74236 8.8276 7.34133 8.2891 7.96955 7.78557L13.0045 11.1498C12.3 11.59 11.6333 12.0849 11.0101 12.6285ZM14.8699 10.1538L10.6627 5.94662C11.3503 5.55071 12.0622 5.19221 12.7955 4.87384L17.2358 9.31407C16.4188 9.53124 15.6283 9.8131 14.8699 10.1538ZM19.0632 8.94437L15.6698 3.86574C16.425 3.66077 17.1968 3.49639 17.9828 3.37509L21.6051 8.7961C21.487 8.79348 21.3687 8.79217 21.25 8.79217C20.5078 8.79217 19.7777 8.84406 19.0632 8.94437ZM23.1364 8.90518L20.7449 3.13137C20.9128 3.12746 21.0811 3.12549 21.25 3.12549C21.8646 3.12549 22.4731 3.15158 23.0745 3.20271L25.6507 9.42217C24.8382 9.18348 23.9981 9.00915 23.1364 8.90518ZM26.7458 9.78892L25.5051 3.55161C26.2566 3.70433 26.9936 3.8967 27.7139 4.12645L29.0586 10.8867C28.3236 10.4604 27.5505 10.0923 26.7458 9.78892ZM29.7028 11.2817V4.87313C30.3832 5.1684 31.045 5.49821 31.6861 5.86041V12.8027C31.068 12.2448 30.4048 11.7358 29.7028 11.2817ZM31.9694 13.0646L33.2134 6.81052C33.7999 7.21079 34.3654 7.6397 34.9078 8.09518L33.5682 14.8296C33.0805 14.2012 32.5458 13.6111 31.9694 13.0646Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.167 24.3732H36.8336C36.8336 24.1019 36.8267 23.8323 36.813 23.5645L33.9942 23.5152L36.7751 23.0124C36.7167 22.3375 36.6153 21.6749 36.4736 21.0275L33.2807 21.6048L36.3241 20.406C36.1588 19.7758 35.9549 19.1613 35.7152 18.5649L32.2323 19.9369L35.4228 17.8847C35.1615 17.315 34.867 16.7639 34.5416 16.2337L30.9182 18.5643L34.0741 15.5167C33.7311 15.0211 33.3602 14.5463 32.9635 14.0946L29.4105 17.5257L32.2901 13.3748C31.8813 12.9645 31.4498 12.5769 30.9977 12.2139L27.7873 16.8417L30.0927 11.5397C29.6356 11.2242 29.1608 10.9324 28.6702 10.6662L26.3968 15.8947C29.2568 17.6345 31.167 20.7807 31.167 24.3732ZM11.3337 24.3732H5.66699C5.66699 24.1098 5.67351 23.848 5.6864 23.5879L11.357 23.6869C11.3415 23.9136 11.3337 24.1424 11.3337 24.3732ZM27.5194 10.1022C27.0334 9.88831 26.5343 9.69861 26.0238 9.5345L24.8121 15.1153C25.3221 15.3117 25.8119 15.549 26.2772 15.8232L27.5194 10.1022ZM24.6327 9.1579C24.1388 9.04859 23.6361 8.96272 23.1258 8.9015L23.0261 14.615C23.5426 14.7084 24.0452 14.8418 24.5305 15.0118L24.6327 9.1579ZM21.2503 8.78979C20.8531 8.78979 20.4593 8.80465 20.0696 8.83386L21.0866 14.4578C21.141 14.4569 21.1956 14.4565 21.2503 14.4565C21.6962 14.4565 22.1353 14.4859 22.5656 14.5429L21.5257 8.79219C21.4341 8.79059 21.3423 8.78979 21.2503 8.78979ZM18.2933 14.9048L15.1556 10.0267C14.7526 10.1982 14.3583 10.386 13.9736 10.5896L17.0574 15.3839C17.4556 15.1978 17.8683 15.0374 18.2933 14.9048ZM16.2137 15.8289L12.2076 11.6803C11.872 11.9198 11.5464 12.1722 11.2314 12.437L15.1828 16.5287C15.5107 16.2747 15.8549 16.0408 16.2137 15.8289ZM9.64101 13.9775C9.38277 14.2657 9.13509 14.5636 8.8986 14.8705L13.5639 18.107C13.8104 17.805 14.0742 17.5178 14.354 17.247L9.64101 13.9775ZM7.61376 16.825C7.43816 17.1416 7.27331 17.4649 7.1196 17.7944L12.3202 20.0558C12.4794 19.7271 12.6562 19.4087 12.8494 19.1015L7.61376 16.825ZM6.2638 20.0872C6.17123 20.4114 6.08891 20.74 6.0172 21.0725L11.556 22.2752C11.6279 21.9415 11.7165 21.614 11.8211 21.2937L6.2638 20.0872ZM20.4535 14.488C19.9804 14.5256 19.5166 14.5964 19.0645 14.6982L16.9714 9.38459C17.4124 9.25892 17.8614 9.15219 18.3175 9.06537L20.4535 14.488Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.3734 24.3735L31.1644 24.3459C31.164 24.1876 31.1598 24.0302 31.1521 23.8737L26.345 24.0416L26.2608 24.0279L31.0555 22.8989C31.0287 22.7188 30.997 22.5402 30.9606 22.3634L26.4072 23.4356L30.7311 21.465C30.6706 21.2677 30.6042 21.073 30.532 20.8811L26.4826 22.7266L30.1815 20.0637C30.081 19.8557 29.9734 19.6518 29.8591 19.4522L26.3772 21.9588L29.3967 18.7207C29.2505 18.5104 29.0964 18.3061 28.9349 18.1081L26.0724 21.1778L28.3668 17.4699C28.1709 17.2679 27.9665 17.0743 27.7542 16.8895L25.5606 20.4343L27.0854 16.3562C26.8377 16.1756 26.5814 16.0062 26.3172 15.8487L24.8474 19.78L25.5544 15.4383C25.2565 15.2944 24.9503 15.165 24.6367 15.051L23.9502 19.2661L23.7938 14.7867C23.4517 14.696 23.1023 14.6232 22.7467 14.5693L22.8993 18.9392L21.848 14.4747C21.6495 14.4628 21.4493 14.4568 21.2477 14.4568C21.0664 14.4568 20.8861 14.4617 20.7071 14.4713L21.7359 18.8403L19.7869 14.5637C19.384 14.6231 18.9889 14.7069 18.6033 14.8133L20.511 18.9993L17.7089 15.1069C17.3094 15.2596 16.9222 15.4373 16.5495 15.6382L19.2835 19.4361L15.7362 16.1282C15.3641 16.3774 15.0099 16.6512 14.6757 16.9472L18.116 20.1553L13.9981 17.6071C13.6787 17.9491 13.3833 18.3138 13.1144 18.6984L17.0742 21.1488L12.6188 19.4831C12.378 19.9071 12.1674 20.3507 11.9903 20.8109L16.2217 22.3929L11.7075 21.6578C11.569 22.1454 11.4669 22.6482 11.4042 23.1633L15.6163 23.8493L11.338 23.9987C11.3334 24.1231 11.3311 24.248 11.3311 24.3735H16.9977C16.9977 22.0263 18.9005 20.1235 21.2477 20.1235C23.595 20.1235 25.4978 22.0263 25.4978 24.3735H30.3734Z",fill:"#554B6A"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14673",children:jsxRuntime.jsx("rect",{width:"181.875",height:"30",fill:"white"})})})]}),Camelot=e=>jsxRuntime.jsxs("svg",{width:"148",height:"36",viewBox:"0 0 148 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M21.0788 36V21.204C24.6068 21.582 27.0008 23.202 27.0008 23.202L29.2508 20.664C25.5608 18.036 20.0888 17.928 20.0888 17.928L19.1888 7.992C19.7828 7.596 20.1788 6.93 20.1788 6.156C20.1788 4.95 19.1888 3.96 17.9828 3.96C16.7768 3.96 15.7868 4.95 15.7868 6.156C15.7868 6.93 16.1828 7.614 16.7768 7.992L15.8768 17.928C15.8768 17.928 10.4048 18.018 6.71479 20.664L8.96479 23.202C8.96479 23.202 11.3588 21.582 14.8868 21.204V36C1.09879 25.776 -0.0352069 10.926 0.000793079 5.994C0.000793079 4.968 0.612793 4.032 1.54879 3.618C4.30279 2.394 10.5848 0 17.9648 0C25.3448 0 31.6268 2.394 34.3808 3.618C35.3168 4.032 35.9288 4.968 35.9288 5.994C35.9648 10.926 34.8308 25.776 21.0788 36Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M48.7977 26.7652C46.7097 26.7652 45.0537 26.1892 43.8477 25.0192C42.6237 23.8492 42.0117 22.1932 42.0117 20.0332V15.9832C42.0117 13.8232 42.6237 12.1492 43.8477 10.9972C45.0717 9.82722 46.7097 9.25122 48.7977 9.25122C50.8677 9.25122 52.4697 9.80922 53.6037 10.9432C54.7377 12.0772 55.2957 13.6252 55.2957 15.6052V15.7492H52.1637V15.5152C52.1637 14.5252 51.8937 13.6972 51.3357 13.0672C50.7777 12.4192 49.9317 12.1132 48.7977 12.1132C47.6817 12.1132 46.7997 12.4552 46.1517 13.1392C45.5037 13.8232 45.1977 14.7592 45.1977 15.9472V20.0872C45.1977 21.2572 45.5217 22.1932 46.1517 22.8952C46.7997 23.5972 47.6817 23.9392 48.7977 23.9392C49.9317 23.9392 50.7777 23.6152 51.3357 22.9672C51.8937 22.3192 52.1637 21.5092 52.1637 20.5192V20.0872H55.2957V20.4292C55.2957 22.4092 54.7377 23.9572 53.6037 25.0912C52.4697 26.1892 50.8677 26.7652 48.7977 26.7652Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M56.5566 26.4247L60.9846 9.57666H66.5106L70.9386 26.4247H67.6626L66.7446 22.7167H60.7326L59.8146 26.4247H56.5566ZM61.4886 19.7827H66.0066L63.9546 11.5747H63.5226L61.4886 19.7827Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M72.9531 26.4247V9.57666H78.8391L81.7551 24.2467H82.1871L85.1031 9.57666H90.9891V26.4247H87.9111V11.9167H87.4791L84.5991 26.4247H79.3611L76.4811 11.9167H76.0491V26.4247H72.9531Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M94.1758 26.4247V9.57666H104.994V12.4567H97.3438V16.4707H104.328V19.3507H97.3438V23.5087H105.138V26.3887H94.1758V26.4247Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M107.515 26.4247V9.57666H110.683V23.5267H118.387V26.4067H107.515V26.4247Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M126.521 26.7652C124.397 26.7652 122.723 26.1892 121.463 25.0192C120.203 23.8492 119.591 22.1932 119.591 20.0332V15.9832C119.591 13.8232 120.221 12.1492 121.463 10.9972C122.723 9.82722 124.397 9.25122 126.521 9.25122C128.645 9.25122 130.319 9.82722 131.579 10.9972C132.839 12.1672 133.451 13.8232 133.451 15.9832V20.0332C133.451 22.1932 132.821 23.8672 131.579 25.0192C130.319 26.1712 128.627 26.7652 126.521 26.7652ZM126.521 23.9212C127.709 23.9212 128.627 23.5792 129.293 22.8952C129.959 22.2112 130.283 21.2752 130.283 20.1232V15.8752C130.283 14.7232 129.959 13.8052 129.293 13.1032C128.627 12.4192 127.709 12.0772 126.521 12.0772C125.351 12.0772 124.433 12.4192 123.767 13.1032C123.101 13.7872 122.777 14.7232 122.777 15.8752V20.1052C122.777 21.2572 123.101 22.1752 123.767 22.8772C124.415 23.5792 125.351 23.9212 126.521 23.9212Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M139.465 26.4228V12.4728H134.551V9.59277H147.547V12.4728H142.633V26.4228H139.465Z",fill:"#554B6A"})]}),GMX=e=>jsxRuntime.jsxs("svg",{width:"119",height:"34",viewBox:"0 0 119 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14705)",children:[jsxRuntime.jsx("mask",{id:"mask0_13175_14705","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"119",height:"34",children:jsxRuntime.jsx("path",{d:"M118.136 0H0V34H118.136V0Z",fill:"white"})}),jsxRuntime.jsxs("g",{mask:"url(#mask0_13175_14705)",children:[jsxRuntime.jsx("path",{d:"M41.5719 31.738L21.9803 2.30493L2.32812 31.738H29.7074L21.9803 20.5042L18.1473 26.3406H14.0708L21.9801 14.6052L33.4189 31.738H41.5719Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M59.764 16.8256C59.5356 16.8256 59.4377 16.9235 59.4377 17.1519V19.11C59.4377 19.3384 59.5356 19.4363 59.764 19.4363H66.2583V22.863C64.9855 24.9516 62.7011 26.1591 59.6661 26.1591C54.8038 26.1591 51.8012 23.0262 51.8012 17.0214C51.8012 11.0493 55.3257 7.88346 59.3398 7.88346C62.4727 7.88346 65.0182 9.12359 65.8341 12.1263C65.8994 12.3547 66.0299 12.4526 66.2257 12.4526H68.3147C68.5431 12.4526 68.6737 12.3547 68.6737 12.1263C67.7926 7.55743 63.8762 5.27295 59.3402 5.27295C54.2492 5.27295 48.9297 9.18914 48.9297 17.0217C48.9297 24.7561 53.9554 28.7704 59.797 28.7704C63.3542 28.7704 66.5851 27.3019 68.6737 24.071C68.9021 23.7447 69 23.3204 69 22.8309V17.1524C69 16.924 68.9021 16.8261 68.6737 16.8261L59.764 16.8256ZM93.6389 5.92565C93.6389 5.69723 93.541 5.59933 93.3125 5.59933H90.2122C89.9512 5.59933 89.788 5.69723 89.6901 5.92565L83.3589 20.4481L77.0278 5.92565C76.9299 5.69723 76.7668 5.59933 76.5056 5.59933H73.4054C73.1769 5.59933 73.0791 5.69723 73.0791 5.92565V28.1172C73.0791 28.3456 73.1769 28.4435 73.4054 28.4435H75.494C75.7224 28.4435 75.8203 28.3456 75.8203 28.1172V9.87447L82.2169 24.3317C82.3148 24.5275 82.4453 24.6254 82.6412 24.6254H84.0771C84.2729 24.6254 84.4034 24.5275 84.5014 24.3317L90.898 9.87447V28.1172C90.898 28.3456 90.9959 28.4435 91.2243 28.4435H93.3129C93.5414 28.4435 93.6393 28.3456 93.6393 28.1172L93.6389 5.92565ZM100.753 5.92565C100.525 5.63197 100.525 5.59933 100.296 5.59933H97.7834C97.555 5.59933 97.4571 5.76249 97.555 5.92565L104.474 16.4014L96.7065 28.1172C96.6086 28.2804 96.7065 28.4435 96.935 28.4435H99.3825C99.6109 28.4435 99.6762 28.4109 99.9047 28.1172L106.105 18.7837L112.306 28.1172C112.534 28.4109 112.6 28.4435 112.828 28.4435H115.276C115.504 28.4435 115.602 28.2804 115.504 28.1172L107.737 16.4014L114.656 5.92565C114.753 5.76249 114.656 5.59933 114.427 5.59933H111.914C111.686 5.59933 111.686 5.63197 111.457 5.92565L106.105 13.9862L100.753 5.92565Z",fill:"#554B6A"})]})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14705",children:jsxRuntime.jsx("rect",{width:"118.136",height:"34",fill:"white"})})})]}),Solv=e=>jsxRuntime.jsxs("svg",{width:"110",height:"30",viewBox:"0 0 110 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M38.0441 22.8683C38.7594 25.094 40.3179 26.4467 43.391 26.4467C45.918 26.4467 47.7275 25.3744 47.7275 23.5042C47.7275 21.6342 45.6231 21.0396 42.5061 20.3247L40.9477 19.9276C37.2847 19.0924 34.5465 17.5421 34.5465 13.9241C34.5465 10.3062 38.0839 7.802 43.0103 7.802C47.9368 7.802 51.0956 9.78876 51.5997 13.8846H47.5581C46.9264 12.0164 45.4517 10.9835 42.8848 10.9835C40.1904 10.9835 38.8851 12.0164 38.8851 13.5666C38.8851 15.275 40.1904 15.7528 42.8848 16.5091L45.2423 17.1451C49.6646 18.3379 51.9804 19.6097 51.9804 23.1073C51.9804 27.1222 48.3174 29.7053 43.2634 29.7053C37.8727 29.7053 34.7159 27.5191 33.8311 22.8683H38.042H38.0441Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M76.6153 18.8534C76.6153 25.2144 72.4461 29.7449 65.3714 29.7449C58.2965 29.7449 54.2549 25.2126 54.2549 18.8534C54.2549 12.4942 58.5496 7.802 65.455 7.802C72.3604 7.802 76.6132 12.3739 76.6132 18.8534H76.6153ZM58.7609 18.8139C58.7609 23.4647 61.1185 26.4073 65.3294 26.4073C69.5405 26.4073 71.94 23.4647 71.94 18.8139C71.94 14.163 69.4986 11.1415 65.3294 11.1415C61.1603 11.1415 58.7609 14.3606 58.7609 18.8139Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M80.4902 0.806885H84.7431V29.2293H80.4902V0.806885Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M95.8181 29.2291L87.5654 8.35864H92.4082L95.8619 17.8597L98.3033 24.8962H98.3869C99.3973 21.9932 100.113 20.4844 101.123 17.4233L104.366 8.36052H108.955L100.45 29.231H95.8181V29.2291Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M11.6414 1.36873L1.44868 10.9912C0.648616 11.7465 0.648616 12.9711 1.44868 13.7264C2.24875 14.4817 3.54592 14.4817 4.34599 13.7264L14.5387 4.10394C15.3388 3.34863 15.3388 2.12404 14.5387 1.36873C13.7387 0.613419 12.4414 0.613419 11.6414 1.36873Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M20.1297 9.3824L9.93696 19.0049C9.1369 19.7602 9.1369 20.9848 9.93696 21.7401C10.737 22.4954 12.0342 22.4954 12.8343 21.7401L23.027 12.1176C23.8271 11.3623 23.8271 10.1377 23.027 9.3824C22.2269 8.62709 20.9298 8.62709 20.1297 9.3824Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M12.825 8.26033L2.63228 17.8828C1.83221 18.6381 1.83221 19.8628 2.63228 20.6181C3.43234 21.3734 4.72951 21.3734 5.52958 20.6181L15.7223 10.9955C16.5223 10.2402 16.5223 9.01564 15.7223 8.26033C14.9222 7.50502 13.6251 7.50502 12.825 8.26033Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M21.3142 16.274L11.1215 25.8964C10.3215 26.6517 10.3215 27.8764 11.1215 28.6317C11.9216 29.387 13.2187 29.387 14.0188 28.6317L24.2115 19.0092C25.0116 18.2539 25.0116 17.0293 24.2115 16.274C23.4114 15.5187 22.1143 15.5187 21.3142 16.274Z",fill:"#554B6A"})]}),PancakeSwap=e=>jsxRuntime.jsxs("svg",{width:"194",height:"30",viewBox:"0 0 194 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14687)",children:[jsxRuntime.jsx("path",{d:"M37.2383 23.0799C36.7892 23.0799 36.4717 22.9869 36.2858 22.8011C36.1155 22.6153 36.0303 22.321 36.0303 21.9183V8.46796C36.0303 8.0653 36.1231 7.77104 36.309 7.58521C36.4949 7.38388 36.8045 7.2832 37.2383 7.2832H42.9297C45.0978 7.2832 46.6929 7.74008 47.7152 8.6538C48.7373 9.56753 49.2484 10.9304 49.2484 12.7423C49.2484 14.5388 48.7373 15.8939 47.7152 16.8076C46.7085 17.706 45.1133 18.1551 42.9297 18.1551H40.7228V21.9183C40.7228 22.321 40.6299 22.6153 40.444 22.8011C40.2582 22.9869 39.9407 23.0799 39.4916 23.0799H37.2383ZM42.5581 14.7866C43.193 14.7866 43.6809 14.6163 44.0216 14.2755C44.3777 13.9348 44.5559 13.4238 44.5559 12.7423C44.5559 12.0454 44.3777 11.5266 44.0216 11.1859C43.6809 10.8452 43.193 10.6748 42.5581 10.6748H40.7228V14.7866H42.5581Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M54.7344 23.4283C53.2787 23.4283 52.1094 22.9636 51.2266 22.0345C50.3593 21.0898 49.9258 19.7657 49.9258 18.062C49.9258 16.7612 50.22 15.6228 50.8084 14.6472C51.4125 13.6716 52.2566 12.9204 53.3407 12.3939C54.4403 11.8518 55.7024 11.5808 57.1271 11.5808C58.3042 11.5808 59.3419 11.7124 60.2401 11.9757C61.1538 12.2235 61.99 12.5875 62.7489 13.0676V22.3597C62.7489 22.654 62.6948 22.8476 62.5862 22.9404C62.4778 23.0334 62.2611 23.0799 61.9359 23.0799H59.5663C59.396 23.0799 59.2644 23.0567 59.1715 23.0101C59.0785 22.9483 59.0012 22.8552 58.9392 22.7313L58.6371 22.0345C58.188 22.5145 57.646 22.8631 57.0111 23.0799C56.3916 23.3122 55.6327 23.4283 54.7344 23.4283ZM56.4768 20.2689C57.0807 20.2689 57.553 20.1218 57.8937 19.8277C58.2344 19.5334 58.4048 19.1152 58.4048 18.5731V14.9492C58.1107 14.8098 57.7389 14.7401 57.2898 14.7401C56.4689 14.7401 55.8108 15.0266 55.3152 15.5996C54.8351 16.1726 54.5951 16.978 54.5951 18.0156C54.5951 19.5179 55.2222 20.2689 56.4768 20.2689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M65.9822 23.0799C65.5329 23.0799 65.2154 22.9869 65.0297 22.8011C64.8438 22.6152 64.751 22.321 64.751 21.9183V12.6494C64.751 12.3707 64.7974 12.1848 64.8903 12.0919C64.9987 11.9835 65.2155 11.9293 65.5408 11.9293H67.9335C68.1193 11.9293 68.2587 11.9602 68.3516 12.0222C68.46 12.0686 68.5219 12.1616 68.5375 12.301L68.6535 12.9979C69.0873 12.5642 69.6526 12.2235 70.3494 11.9757C71.0618 11.7124 71.8516 11.5808 72.7189 11.5808C73.9733 11.5808 74.9878 11.937 75.762 12.6494C76.5365 13.3463 76.9236 14.3839 76.9236 15.7623V21.9183C76.9236 22.321 76.8307 22.6152 76.6448 22.8011C76.4745 22.9869 76.1647 23.0799 75.7156 23.0799H73.4623C73.0132 23.0799 72.688 22.9869 72.4866 22.8011C72.3007 22.6152 72.2079 22.321 72.2079 21.9183V16.0642C72.2079 15.5996 72.1072 15.2668 71.9059 15.0654C71.7045 14.864 71.387 14.7634 70.9534 14.7634C70.4888 14.7634 70.1171 14.8873 69.8383 15.135C69.5751 15.3828 69.4435 15.7235 69.4435 16.1573V21.9183C69.4435 22.321 69.3505 22.6152 69.1647 22.8011C68.9944 22.9869 68.6846 23.0799 68.2355 23.0799H65.9822Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M85.1349 23.4283C82.9667 23.4283 81.2941 22.9249 80.117 21.9183C78.9401 20.9117 78.3516 19.4482 78.3516 17.5278C78.3516 16.3508 78.6226 15.3132 79.1646 14.4149C79.7067 13.5167 80.4888 12.8198 81.5109 12.3242C82.5485 11.8286 83.7721 11.5808 85.1813 11.5808C86.2499 11.5808 87.1482 11.6815 87.876 11.8828C88.6194 12.0841 89.2776 12.3939 89.8506 12.812C90.021 12.9204 90.1061 13.0598 90.1061 13.2302C90.1061 13.3541 90.0442 13.5167 89.9203 13.718L88.9678 15.3673C88.8594 15.5842 88.7278 15.6926 88.573 15.6926C88.48 15.6926 88.3328 15.6307 88.1316 15.5068C87.7134 15.2435 87.3185 15.0499 86.9468 14.926C86.5906 14.8021 86.1415 14.7401 85.5995 14.7401C84.8251 14.7401 84.1979 14.9879 83.7178 15.4835C83.2532 15.9791 83.0209 16.6605 83.0209 17.5278C83.0209 18.4106 83.2609 19.092 83.741 19.572C84.2212 20.0366 84.8794 20.2689 85.7156 20.2689C86.2111 20.2689 86.6604 20.1993 87.063 20.0598C87.4657 19.9205 87.876 19.727 88.2942 19.4791C88.511 19.3552 88.6658 19.2932 88.7588 19.2932C88.8981 19.2932 89.0221 19.4016 89.1305 19.6186L90.1758 21.4073C90.2533 21.5621 90.292 21.686 90.292 21.7789C90.292 21.9183 90.199 22.0499 90.0133 22.1738C89.3628 22.592 88.6503 22.9017 87.876 23.1031C87.1171 23.3199 86.2034 23.4283 85.1349 23.4283Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M96.1818 23.4283C94.726 23.4283 93.5567 22.9636 92.6741 22.0345C91.8068 21.0898 91.373 19.7657 91.373 18.062C91.373 16.7612 91.6673 15.6228 92.2559 14.6472C92.8598 13.6716 93.7038 12.9204 94.7879 12.3939C95.8875 11.8518 97.1498 11.5808 98.5745 11.5808C99.7515 11.5808 100.789 11.7124 101.687 11.9757C102.601 12.2235 103.437 12.5875 104.196 13.0676V22.3597C104.196 22.654 104.142 22.8476 104.034 22.9404C103.925 23.0334 103.708 23.0799 103.383 23.0799H101.014C100.843 23.0799 100.712 23.0567 100.619 23.0101C100.526 22.9483 100.448 22.8552 100.386 22.7313L100.085 22.0345C99.6354 22.5145 99.0933 22.8631 98.4583 23.0799C97.8389 23.3122 97.08 23.4283 96.1818 23.4283ZM97.924 20.2689C98.5281 20.2689 99.0004 20.1218 99.3411 19.8277C99.6818 19.5334 99.8522 19.1152 99.8522 18.5731V14.9492C99.5579 14.8098 99.1863 14.7401 98.7371 14.7401C97.9164 14.7401 97.2582 15.0266 96.7625 15.5996C96.2825 16.1726 96.0423 16.978 96.0423 18.0156C96.0423 19.5179 96.6696 20.2689 97.924 20.2689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M118.788 22.1971C118.896 22.321 118.951 22.4604 118.951 22.6153C118.951 22.7546 118.904 22.8708 118.811 22.9636C118.718 23.0411 118.595 23.0799 118.44 23.0799H114.839C114.622 23.0799 114.459 23.0643 114.351 23.0334C114.258 22.9869 114.158 22.9017 114.049 22.7779L110.89 18.4802V21.9183C110.89 22.321 110.797 22.6153 110.611 22.8011C110.425 22.9869 110.108 23.0799 109.659 23.0799H107.405C106.956 23.0799 106.639 22.9869 106.453 22.8011C106.282 22.6153 106.197 22.321 106.197 21.9183V8.46796C106.197 8.0653 106.29 7.77104 106.476 7.58521C106.662 7.38388 106.972 7.2832 107.405 7.2832H109.659C110.108 7.2832 110.425 7.38388 110.611 7.58521C110.797 7.77104 110.89 8.0653 110.89 8.46796V16.2501L113.956 12.2545C114.049 12.1306 114.15 12.0454 114.258 11.999C114.367 11.9525 114.529 11.9293 114.746 11.9293H118.347C118.502 11.9293 118.618 11.9757 118.695 12.0687C118.788 12.1461 118.835 12.2545 118.835 12.3939C118.835 12.5488 118.78 12.6881 118.672 12.812L114.7 17.3653L118.788 22.1971Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M126.331 23.4283C125.03 23.4283 123.869 23.2115 122.847 22.7779C121.84 22.3442 121.043 21.6937 120.454 20.8266C119.866 19.9593 119.571 18.8984 119.571 17.644C119.571 15.6771 120.129 14.1749 121.244 13.1373C122.359 12.0996 123.962 11.5808 126.052 11.5808C128.097 11.5808 129.646 12.0919 130.699 13.114C131.767 14.1207 132.302 15.5223 132.302 17.3187C132.302 18.0931 131.961 18.4802 131.279 18.4802H123.985C123.985 19.1461 124.233 19.6573 124.728 20.0134C125.239 20.3696 126.006 20.5477 127.028 20.5477C127.663 20.5477 128.19 20.4935 128.608 20.3851C129.041 20.2612 129.475 20.0832 129.909 19.8509C130.095 19.7734 130.219 19.7346 130.28 19.7346C130.42 19.7346 130.536 19.8277 130.629 20.0134L131.419 21.5001C131.496 21.6551 131.535 21.7712 131.535 21.8487C131.535 21.988 131.442 22.1197 131.256 22.2435C130.621 22.6617 129.901 22.9636 129.096 23.1495C128.29 23.3354 127.369 23.4283 126.331 23.4283ZM128.12 16.1805C128.12 15.5919 127.95 15.135 127.609 14.8098C127.268 14.4846 126.757 14.322 126.076 14.322C125.394 14.322 124.876 14.4923 124.519 14.8331C124.163 15.1584 123.985 15.6075 123.985 16.1805H128.12Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M140.264 23.4281C138.963 23.4281 137.731 23.2965 136.57 23.0333C135.408 22.7544 134.472 22.3672 133.759 21.8717C133.496 21.7014 133.364 21.5232 133.364 21.3374C133.364 21.2135 133.411 21.0819 133.504 20.9425L134.642 19.1306C134.766 18.9447 134.89 18.8518 135.014 18.8518C135.091 18.8518 135.223 18.9059 135.408 19.0143C135.981 19.3396 136.632 19.6029 137.36 19.8041C138.088 20.0055 138.808 20.1062 139.52 20.1062C140.248 20.1062 140.782 19.9978 141.123 19.7809C141.479 19.5641 141.657 19.2157 141.657 18.7356C141.657 18.271 141.464 17.907 141.077 17.6438C140.705 17.3805 140 17.0476 138.963 16.6449C137.399 16.0564 136.175 15.3982 135.292 14.6703C134.425 13.9269 133.991 12.9203 133.991 11.6503C133.991 10.1171 134.541 8.94787 135.641 8.14255C136.74 7.33723 138.204 6.93457 140.031 6.93457C141.301 6.93457 142.385 7.05073 143.284 7.28302C144.197 7.49984 144.972 7.84056 145.607 8.30516C145.87 8.50649 146.001 8.69233 146.001 8.8627C146.001 8.9711 145.955 9.09499 145.862 9.23438L144.724 11.0463C144.584 11.2322 144.46 11.3251 144.352 11.3251C144.275 11.3251 144.143 11.2709 143.957 11.1625C143.059 10.574 141.99 10.2797 140.751 10.2797C140.085 10.2797 139.574 10.3881 139.218 10.605C138.862 10.8218 138.684 11.178 138.684 11.6736C138.684 12.0143 138.777 12.293 138.963 12.5099C139.149 12.7267 139.396 12.9203 139.706 13.0906C140.031 13.2455 140.527 13.4468 141.193 13.6946L141.634 13.8572C142.78 14.3063 143.679 14.74 144.329 15.1582C144.995 15.5607 145.498 16.0641 145.839 16.6681C146.18 17.2565 146.35 17.9999 146.35 18.8982C146.35 20.2766 145.831 21.3762 144.794 22.1969C143.771 23.0177 142.261 23.4281 140.264 23.4281Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M151.286 23.0798C151.054 23.0798 150.876 23.041 150.752 22.9636C150.628 22.8862 150.535 22.7312 150.473 22.4989L147.476 12.4635C147.445 12.3706 147.43 12.3009 147.43 12.2544C147.43 12.0376 147.585 11.9292 147.894 11.9292H150.96C151.162 11.9292 151.309 11.9679 151.402 12.0453C151.496 12.1073 151.557 12.2157 151.587 12.3706L152.842 17.6439L154.422 13.3927C154.5 13.2069 154.577 13.083 154.654 13.021C154.747 12.9436 154.903 12.9049 155.12 12.9049H156.582C156.799 12.9049 156.947 12.9436 157.024 13.021C157.117 13.083 157.202 13.2069 157.28 13.3927L158.836 17.6439L160.114 12.3706C160.159 12.2157 160.221 12.1073 160.3 12.0453C160.376 11.9679 160.517 11.9292 160.717 11.9292H163.808C164.117 11.9292 164.272 12.0376 164.272 12.2544C164.272 12.3009 164.257 12.3706 164.225 12.4635L161.206 22.4989C161.144 22.7312 161.05 22.8862 160.927 22.9636C160.818 23.041 160.648 23.0798 160.416 23.0798H158.139C157.922 23.0798 157.759 23.041 157.651 22.9636C157.542 22.8707 157.45 22.7159 157.372 22.4989L155.839 18.2943L154.306 22.4989C154.244 22.7159 154.15 22.8707 154.027 22.9636C153.918 23.041 153.757 23.0798 153.54 23.0798H151.286Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M170.161 23.4283C168.704 23.4283 167.536 22.9636 166.653 22.0345C165.786 21.0898 165.352 19.7657 165.352 18.062C165.352 16.7612 165.646 15.6228 166.235 14.6472C166.838 13.6716 167.682 12.9204 168.766 12.3939C169.867 11.8518 171.128 11.5808 172.553 11.5808C173.73 11.5808 174.768 11.7124 175.666 11.9757C176.58 12.2235 177.416 12.5875 178.175 13.0676V22.3597C178.175 22.654 178.12 22.8476 178.012 22.9404C177.903 23.0334 177.688 23.0799 177.362 23.0799H174.992C174.822 23.0799 174.691 23.0567 174.597 23.0101C174.504 22.9483 174.427 22.8552 174.365 22.7313L174.064 22.0345C173.614 22.5145 173.072 22.8631 172.437 23.0799C171.817 23.3122 171.059 23.4283 170.161 23.4283ZM171.903 20.2689C172.506 20.2689 172.98 20.1218 173.32 19.8277C173.661 19.5334 173.831 19.1152 173.831 18.5731V14.9492C173.536 14.8098 173.165 14.7401 172.716 14.7401C171.894 14.7401 171.237 15.0266 170.741 15.5996C170.262 16.1726 170.02 16.978 170.02 18.0156C170.02 19.5179 170.649 20.2689 171.903 20.2689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M181.384 27.7724C180.935 27.7724 180.618 27.6795 180.432 27.4936C180.261 27.3078 180.177 27.0135 180.177 26.6108V13.2999C180.873 12.8043 181.749 12.3939 182.801 12.0686C183.855 11.7434 184.954 11.5808 186.1 11.5808C190.778 11.5808 193.116 13.5631 193.116 17.5278C193.116 19.3243 192.62 20.7568 191.63 21.8254C190.638 22.894 189.237 23.4283 187.425 23.4283C186.914 23.4283 186.418 23.3663 185.937 23.2424C185.473 23.1186 185.085 22.9483 184.776 22.7313V26.6108C184.776 27.0135 184.683 27.3078 184.497 27.4936C184.312 27.6795 183.994 27.7724 183.545 27.7724H181.384ZM186.425 20.2921C187.092 20.2921 187.588 20.0444 187.912 19.5488C188.253 19.0377 188.423 18.3563 188.423 17.5045C188.423 16.498 188.222 15.7932 187.82 15.3905C187.433 14.9725 186.828 14.7634 186.008 14.7634C185.48 14.7634 185.063 14.8331 184.754 14.9725V18.6661C184.754 19.1927 184.9 19.5953 185.194 19.8741C185.489 20.1528 185.899 20.2921 186.425 20.2921Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7066 29.9408C10.3057 29.9374 6.76063 28.8814 4.28369 26.9846C1.77703 25.0651 0.447266 22.341 0.447266 19.2585C0.447266 16.2885 1.77412 14.1469 3.27545 12.6993C4.45202 11.5648 5.75039 10.8382 6.65446 10.4203C6.45 9.79287 6.19494 8.97148 5.96673 8.1231C5.66138 6.98784 5.36182 5.65589 5.36182 4.67983C5.36182 3.52455 5.6137 2.36432 6.29284 1.46277C7.01039 0.510265 8.09061 0 9.39014 0C10.4058 0 11.2681 0.376738 11.9431 1.02665C12.5884 1.64787 13.0178 2.47287 13.3144 3.33289C13.8354 4.8441 14.0383 6.74267 14.0952 8.63736H15.34C15.397 6.74267 15.5997 4.8441 16.1209 3.33289C16.4174 2.47287 16.8468 1.64787 17.4921 1.02665C18.1672 0.376738 19.0294 0 20.045 0C21.3446 0 22.4248 0.510265 23.1424 1.46277C23.8215 2.36432 24.0734 3.52455 24.0734 4.67983C24.0734 5.65589 23.7737 6.98784 23.4685 8.1231C23.2402 8.97148 22.9851 9.79287 22.7807 10.4203C23.6848 10.8382 24.9832 11.5648 26.1597 12.6993C27.6611 14.1469 28.9879 16.2885 28.9879 19.2585C28.9879 22.341 27.6582 25.0651 25.1515 26.9846C22.6746 28.8814 19.1295 29.9374 14.7286 29.9408H14.7066Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M9.39038 1.09863C7.48701 1.09863 6.61085 2.53311 6.61085 4.51695C6.61085 6.09382 7.62887 9.25187 8.04657 10.4812C8.14052 10.7578 7.9929 11.0607 7.72367 11.1679C6.19817 11.7756 1.69629 14.0004 1.69629 19.0957C1.69629 24.463 6.27123 28.51 14.7078 28.5165C14.7111 28.5165 14.7145 28.5163 14.7178 28.5163C14.7212 28.5163 14.7246 28.5165 14.7279 28.5165C23.1644 28.51 27.7393 24.463 27.7393 19.0957C27.7393 14.0004 23.2375 11.7756 21.712 11.1679C21.4428 11.0607 21.2952 10.7578 21.3891 10.4812C21.8069 9.25187 22.8249 6.09382 22.8249 4.51695C22.8249 2.53311 21.9487 1.09863 20.0453 1.09863C17.3055 1.09863 16.6224 5.01931 16.5737 9.22715C16.5706 9.50807 16.3457 9.73599 16.0677 9.73599H13.3681C13.09 9.73599 12.8652 9.50807 12.8619 9.22715C12.8132 5.01931 12.1302 1.09863 9.39038 1.09863Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M14.7279 26.7971C8.52916 26.7971 1.70701 23.4451 1.69632 19.106C1.6963 19.1126 1.69629 19.1194 1.69629 19.1262C1.69629 24.4978 6.27851 28.5469 14.7279 28.5469C23.1774 28.5469 27.7595 24.4978 27.7595 19.1262C27.7595 19.1194 27.7595 19.1126 27.7595 19.106C27.7488 23.4451 20.9266 26.7971 14.7279 26.7971Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M11.2842 17.7732C11.2842 19.2382 10.5988 20.0011 9.75343 20.0011C8.908 20.0011 8.22266 19.2382 8.22266 17.7732C8.22266 16.3081 8.908 15.5452 9.75343 15.5452C10.5988 15.5452 11.2842 16.3081 11.2842 17.7732Z",fill:"#F2F7FB"}),jsxRuntime.jsx("path",{d:"M21.2334 17.7732C21.2334 19.2382 20.5481 20.0011 19.7026 20.0011C18.8572 20.0011 18.1719 19.2382 18.1719 17.7732C18.1719 16.3081 18.8572 15.5452 19.7026 15.5452C20.5481 15.5452 21.2334 16.3081 21.2334 17.7732Z",fill:"#F2F7FB"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14687",children:jsxRuntime.jsx("rect",{width:"193.116",height:"30",fill:"white"})})})]}),Dodo=e=>jsxRuntime.jsxs("svg",{width:"140",height:"52",viewBox:"0 0 140 52",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_13175_14786)",children:[jsxRuntime.jsx("path",{d:"M127.915 18.5732C121.639 18.5732 116.739 23.3469 116.739 29.4333C116.739 35.5198 121.639 40.2921 127.915 40.2921C134.19 40.2921 139.085 35.5184 139.085 29.4333C139.085 23.3482 134.186 18.5732 127.915 18.5732ZM127.915 35.5463C124.569 35.5463 122.026 32.9287 122.026 29.44C122.026 25.9512 124.565 23.3323 127.915 23.3323C131.264 23.3323 133.799 25.9499 133.799 29.44C133.799 32.9301 131.257 35.5397 127.915 35.5397V35.5463Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M34.4995 23.585C31.9381 21.2302 28.796 19.5978 25.3951 18.855C25.5796 18.7073 25.7563 18.5502 25.9245 18.3844C27.4294 16.8813 27.9641 14.9829 27.1157 14.1421C26.3586 13.3846 24.744 13.7389 23.3358 14.9089C23.0711 12.8228 22.0228 11.2642 20.7695 11.2642C19.5161 11.2642 18.4653 12.8228 18.1992 14.9089C16.7831 13.7389 15.1803 13.3846 14.4193 14.1421C13.5762 14.9869 14.107 16.8852 15.6105 18.3844C15.7839 18.5549 15.9652 18.7135 16.1399 18.859C12.0339 19.7651 8.32535 21.9586 5.55575 25.1191C2.78615 28.2796 1.1005 32.2416 0.744874 36.4268L0.417969 40.2923H5.49758L5.79139 36.8551C6.10248 33.1988 7.77653 29.7924 10.4822 27.3102C13.1878 24.828 16.7279 23.4509 20.4016 23.4515H21.1586C24.8321 23.4498 28.3722 24.8267 31.0772 27.3092C33.7822 29.7918 35.4548 33.1988 35.7635 36.8551L36.0573 40.2923H41.1409L40.8179 36.4268C40.4009 31.5056 38.1453 26.9213 34.4995 23.585Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M15.5574 30.0591C14.4643 30.0591 13.5742 31.5124 13.5742 33.296C13.5742 35.0797 14.4643 36.533 15.5574 36.533C16.6506 36.533 17.5421 35.0797 17.5421 33.296C17.5421 31.5124 16.652 30.0591 15.5574 30.0591Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M25.7899 30.0591C24.6967 30.0591 23.8066 31.5124 23.8066 33.296C23.8066 35.0797 24.6967 36.533 25.7899 36.533C26.883 36.533 27.7745 35.0797 27.7745 33.296C27.7745 31.5124 26.8844 30.0591 25.7899 30.0591Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M55.5991 18.5732H46.9873V40.2921H55.5991C61.8812 40.2921 66.8267 35.5168 66.8267 29.4955C66.8213 23.3856 61.8946 18.5732 55.5991 18.5732ZM55.4775 35.5764H52.2028V23.2903H55.4775C58.819 23.2903 61.4227 26.0205 61.4227 29.4955C61.4227 32.9017 58.8163 35.5764 55.4775 35.5764Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M80.6231 18.5732C74.2887 18.5732 69.334 23.3681 69.334 29.4333C69.334 35.4986 74.2781 40.2921 80.6124 40.2921C86.9467 40.2921 91.8882 35.5184 91.8882 29.4333C91.8882 23.3482 86.956 18.5732 80.6231 18.5732ZM80.6231 35.5463C77.2432 35.5463 74.6795 32.9287 74.6795 29.44C74.6795 25.9512 77.2432 23.3323 80.6231 23.3323C84.0029 23.3323 86.564 25.9499 86.564 29.44C86.564 32.9301 84.0002 35.5397 80.6231 35.5397V35.5463Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M103.124 18.5732H94.6025V40.2921H103.124C109.34 40.2921 114.233 35.5168 114.233 29.4955C114.226 23.3856 109.334 18.5732 103.124 18.5732ZM103.009 35.5764H99.7684V23.2903H103.009C106.315 23.2903 108.891 26.0205 108.891 29.4955C108.886 32.9017 106.307 35.5764 103.009 35.5764Z",fill:"#554B6A"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_13175_14786",children:jsxRuntime.jsx("rect",{width:"139.293",height:"52",fill:"white",transform:"translate(0 0.000244141)"})})})]}),Vertex=e=>jsxRuntime.jsxs("svg",{width:"142",height:"26",viewBox:"0 0 142 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_13175_14737","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"142",height:"26",children:jsxRuntime.jsx("path",{d:"M141.434 0H0V26H141.434V0Z",fill:"white"})}),jsxRuntime.jsxs("g",{mask:"url(#mask0_13175_14737)",children:[jsxRuntime.jsx("path",{d:"M37.5059 5.68968L44.983 25.9434H50.2034L57.6801 5.68968H53.173L47.6749 21.354L42.0967 5.68968H37.5059ZM58.5095 10.3966C57.6788 11.9797 57.2802 13.7991 57.2802 15.8602C57.2802 17.9214 57.6762 19.7368 58.5464 21.2803C59.3775 22.8229 60.6424 24.088 62.1851 24.919C63.7667 25.7891 65.5876 26.1853 67.7239 26.1853C70.1359 26.1853 72.1535 25.5514 73.7763 24.2074C75.3974 22.9015 76.3863 21.2023 76.781 19.1439H72.5088C72.1916 20.2913 71.5988 21.1614 70.733 21.7938C69.8217 22.4262 68.7154 22.7035 67.4098 22.7035C65.7488 22.7035 64.4046 22.1899 63.4144 21.1614C62.3857 20.1329 61.8315 18.7478 61.7535 16.968V16.7304H77.0215C77.1004 16.1935 77.1403 15.6516 77.1403 15.109C77.1008 13.1708 76.6666 11.4689 75.7965 10.0061C74.9541 8.5827 73.7355 7.41911 72.2752 6.64314C70.7724 5.85231 69.0707 5.45611 67.1324 5.45611C65.1941 5.45611 63.4937 5.89192 61.9896 6.76201C60.4994 7.60943 59.2882 8.8723 58.5039 10.3966H58.5095ZM72.79 13.601H61.9108C62.0689 12.1778 62.6236 11.0701 63.6519 10.2C64.6624 9.33055 65.9585 8.86536 67.291 8.89409C68.7934 8.89409 70.0228 9.32855 71.009 10.1604C71.9949 10.9922 72.5863 12.1382 72.7844 13.601H72.79ZM90.2065 5.68968H89.2506C87.6689 5.68968 86.4422 5.9629 85.5326 6.52016C84.5984 7.04666 83.8205 7.81115 83.2776 8.7358L82.8035 5.68968H79.0049V25.9489H83.2776V15.7825C83.2776 14.0423 83.6736 12.578 84.4644 11.4307C85.2553 10.2833 86.5215 9.69043 88.3012 9.69043H90.2001L90.2065 5.68968ZM92.0205 0.0334473V20.4443C92.0205 22.3429 92.4555 23.7275 93.3252 24.598C94.1954 25.5077 95.5803 25.9434 97.5186 25.9434H101.633V22.1859H98.3883C97.5975 22.1859 97.084 22.0273 96.7672 21.7104C96.4504 21.3936 96.2918 20.8007 96.2918 20.0099V9.44742H101.197V5.68968H96.2918V0.0334473H92.0205ZM103.243 10.3966C102.414 11.9797 102.014 13.7991 102.014 15.8602C102.014 17.9214 102.41 19.7368 103.28 21.2803C104.111 22.8229 105.376 24.088 106.918 24.919C108.5 25.7891 110.32 26.1853 112.456 26.1853C114.87 26.1853 116.887 25.5514 118.508 24.2074C120.131 22.9015 121.12 21.2023 121.513 19.1439H117.242C116.925 20.2913 116.333 21.1614 115.466 21.7938C114.558 22.4262 113.449 22.7035 112.144 22.7035C110.484 22.7035 109.14 22.1899 108.149 21.1614C107.12 20.1329 106.566 18.7478 106.488 16.968V16.7304H121.758C121.836 16.1934 121.875 15.6515 121.875 15.109C121.836 13.1708 121.4 11.4689 120.53 10.0061C119.686 8.58019 118.466 7.41495 117.002 6.63903C115.499 5.84815 113.797 5.45213 111.859 5.45213C109.921 5.45213 108.22 5.8878 106.717 6.75789C105.228 7.608 104.02 8.87212 103.237 10.3966H103.243ZM117.523 13.601H106.645C106.804 12.1778 107.358 11.0701 108.386 10.2C109.396 9.33081 110.693 8.86567 112.026 8.89409C113.528 8.89409 114.757 9.32855 115.745 10.1604C116.733 10.9922 117.32 12.1382 117.518 13.601H117.523ZM128.634 15.5789L121.038 25.9434H125.666L131.046 18.5852L136.387 25.9434H141.371L133.735 15.5789L140.935 5.68968H136.261L131.316 12.533L126.45 5.68968H121.465L128.634 15.5789Z",fill:"#554B6A"}),jsxRuntime.jsx("mask",{id:"mask1_13175_14737","mask-type":"luminance",maskUnits:"userSpaceOnUse",x:"0",y:"5",width:"30",height:"21",children:jsxRuntime.jsx("path",{d:"M29.0247 5.44019H0V25.5772H29.0247V5.44019Z",fill:"white"})}),jsxRuntime.jsxs("g",{mask:"url(#mask1_13175_14737)",children:[jsxRuntime.jsx("path",{d:"M17.4717 23.1406C17.2782 23.8238 16.8731 24.4281 16.3146 24.8666C15.755 25.304 15.0711 25.5527 14.3612 25.5772H9.63087L0 5.44019H9.61865L14.4293 15.5135C14.4293 15.5135 17.94 21.4853 17.4717 23.1406Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M17.4727 23.1399C17.9409 21.4846 14.4316 15.5168 14.4316 15.5168H19.633L17.4727 23.1399Z",fill:"url(#paint0_linear_13175_14737)"}),jsxRuntime.jsx("path",{d:"M19.6299 15.5186H29.0226V5.44531H25.2709C24.5583 5.4457 23.8642 5.67264 23.2889 6.09328C22.7136 6.51465 22.2874 7.10823 22.072 7.78804L19.6299 15.5186Z",fill:"#554B6A"})]})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_13175_14737",x1:"17.1841",y1:"14.9832",x2:"14.938",y2:"22.9466",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#554B6A"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]})})]}),Radiant=e=>jsxRuntime.jsxs("svg",{width:"180",height:"42",viewBox:"0 0 180 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M26.9745 23.4759L42 21L26.9745 18.5241L35.8491 6.1509L23.4759 15.0255L21 0L18.5262 15.0255L6.1509 6.1509L15.0255 18.5241L0 21L15.0255 23.4759L6.1509 35.8491L18.5262 26.9745L21 42L23.4759 26.9745L35.8491 35.8491L26.9745 23.4759Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M103.94 13.6837C102.552 12.9886 100.962 12.6421 99.1748 12.6421H91.85V20.0719H94.9622V15.2755H99.032C100.261 15.2755 101.342 15.5107 102.277 15.9811C103.211 16.4515 103.929 17.1214 104.431 17.9929C104.933 18.8623 105.185 19.8724 105.185 21.0211C105.185 22.1698 104.933 23.1799 104.431 24.0493C103.929 24.9187 103.211 25.5886 102.277 26.0611C101.342 26.5315 100.261 26.7667 99.032 26.7667H94.9622V21.9556H91.85V29.4001H99.1748C100.962 29.4001 102.55 29.0536 103.94 28.3585C105.328 27.6634 106.405 26.6827 107.172 25.4143C107.938 24.1459 108.32 22.6822 108.32 21.0211C108.32 19.3621 107.938 17.8963 107.172 16.6279C106.405 15.3595 105.328 14.3767 103.94 13.6837ZM76.4486 12.6421L68.9075 29.4001H72.1163L73.769 25.5214H82.148L83.8238 29.4001H87.0788L79.5146 12.6421H76.4486ZM74.8211 23.0791L77.9564 15.7543L81.1169 23.0791H74.8211ZM63.5084 21.859C64.1216 20.9497 64.4303 19.864 64.4303 18.604C64.4303 17.3755 64.1426 16.315 63.5693 15.4204C62.9939 14.5258 62.1686 13.8412 61.0913 13.3624C60.014 12.8836 58.7498 12.6442 57.2966 12.6442H50.4023V20.074H53.5145V15.2776H57.1538C58.5104 15.2776 59.5394 15.5653 60.2429 16.1386C60.9443 16.714 61.2971 17.5351 61.2971 18.604C61.2971 19.6729 60.9464 20.5003 60.2429 21.082C59.5394 21.6658 58.5104 21.9556 57.1538 21.9556H50.4023V29.4001H53.5145V24.5155H57.2966C57.5843 24.5155 57.7985 24.5071 57.9434 24.4924L61.3664 29.4001H64.718L60.8645 23.8939C62.0111 23.4466 62.8931 22.7683 63.5084 21.859ZM114.2 29.4001H117.313V12.6421H114.2V29.4001ZM129.633 12.6421L122.092 29.4001H125.301L126.954 25.5214H135.333L137.008 29.4001H140.263L132.699 12.6421H129.633ZM128.006 23.0791L131.141 15.7543L134.302 23.0791H128.006ZM164.791 12.6421V15.2755H170.346V29.4001H173.458V15.2755H179.013V12.6421H164.791ZM156.837 23.9905L147.597 12.6421H145.035V29.4001H148.124V18.0517L157.364 29.4001H159.926V12.6421H156.837V23.9905Z",fill:"#554B6A"})]}),CheckBox$1=({checked:e,...t})=>jsxRuntime.jsx("div",{...t,children:e?jsxRuntime.jsx(Checked,{className:"gf-cursor-pointer"}):jsxRuntime.jsx(Unchecked,{className:"gf-cursor-pointer"})}),Chip=({children:e,className:t,...i})=>jsxRuntime.jsx("div",{className:cn("gf-flex gf-items-center gf-rounded-full gf-text-dark-grey gf-font-medium gf-w-max gf-bg-white gf-gap-x-2",t),...i,children:e}),CheckBox=({checked:e})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:e?jsxRuntime.jsx(RadioCheckedIcon,{className:"gf-w-4 gf-sm:w-5"}):jsxRuntime.jsx(RadioUncheckedIcon,{className:"gf-w-4 gf-sm:w-5"})}),Logo=({children:e,...t})=>jsxRuntime.jsx("div",{className:"gf-flex gf-items-center gf-justify-center",...t,children:e});Chip.CheckBox=CheckBox,Chip.Logo=Logo;const InfoBadge=({children:e,className:t,...i})=>jsxRuntime.jsx(Opacity,{level:"medium",className:cn("gf-px-4 gf-py-3 gf-rounded-3xl gf-w-max",t),...i,children:jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",children:e})}),TokenInfo=({symbol:e,tokenLogo:t,chainLogo:i,className:s,...n})=>jsxRuntime.jsx("div",{className:cn("gf-flex gf-text-left gf-cursor-pointer gf-w-max",s),...n,children:jsxRuntime.jsxs("button",{className:"gf-flex gf-flex-row gf-justify-center gf-items-center gf-gap-2 gf-w-full focus:gf-outline-none",children:[jsxRuntime.jsx(Typography,{size:"h2",weight:"medium",children:e}),jsxRuntime.jsxs("div",{className:`gf-flex gf-items-center ${i?"":"gf-gap-1"}`,children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-items-center",children:[typeof t=="string"?jsxRuntime.jsx("img",{src:t,alt:"token logo",className:"gf-w-5 gf-h-5 gf-z-20 gf-rounded-full"}):t,i&&(typeof i=="string"?jsxRuntime.jsx("img",{src:i,alt:"chain logo",className:"gf-w-5 gf-h-5 -gf-translate-x-1 gf-z-10 gf-rounded-full"}):i)]}),jsxRuntime.jsx("span",{children:jsxRuntime.jsx(KeyboardDownIcon,{})})]})]})}),AssetChainLogos=({tokenLogo:e,chainLogo:t,className:i,...s})=>jsxRuntime.jsxs("div",{className:cn(`gf-relative gf-flex gf-items-center gf-justify-between gf-h-5 ${t?"gf-w-[36px]":"gf-w-5"}`,i),...s,children:[jsxRuntime.jsx("img",{src:e,className:"gf-absolute gf-left-0 gf-w-5 gf-h-5 gf-z-30 gf-rounded-full"}),t?jsxRuntime.jsx("img",{src:t,className:"gf-absolute gf-right-0 gf-w-5 gf-h-5 gf-z-20 gf-rounded-full"}):null]}),appLink="https://app.garden.finance",websiteLink="https://garden.finance",footerDetails=[{title:"Application",targetSame:!0,links:[{title:"Swap",link:appLink+"/swap",isExternal:!0},{title:"Stake",link:appLink+"https://new.garden.finance/stake",isExternal:!0},{title:"Quests",link:appLink+"/quests",isExternal:!0}]},{title:"Resources",links:[{title:"Blog",link:websiteLink+"/blog",isExternal:!1},{title:"Docs",link:"https://docs.garden.finance",isExternal:!0},{title:"Audits",link:"https://github.com/catalogfi/audits",isExternal:!0},{title:"Media Kit",link:"https://docs.garden.finance/home/garden-brand-guide",isExternal:!0}]},{title:"Ecosystem",links:[{title:"Analytics",link:"https://dune.com/asnogordo/gardenfinance",isExternal:!0},{title:"Explorer",link:"https://explorer.garden.finance",isExternal:!0}]},{title:"Community",links:[{title:"Discord",link:" https://discord.gg/GgvrKHQVEe",isExternal:!0},{title:"Telegram",link:"https://t.me/GardenTownhall",isExternal:!0},{title:"X",link:"https://twitter.com/intent/follow?screen_name=garden_finance",isExternal:!0}]}],Footer=({className:e,...t})=>jsxRuntime.jsxs("footer",{className:cn("gf-w-full gf-p-8 md:gf-px-28 md:gf-pt-8 md:gf-pb-16",e),...t,children:[jsxRuntime.jsxs("div",{className:"md:gf-flex md:gf-justify-between md:gf-items-start",children:[jsxRuntime.jsx("div",{className:"gf-flex gf-items-center gf-mb-6",children:jsxRuntime.jsx(GardenFullLogo,{})}),jsxRuntime.jsx("div",{className:"gf-grid gf-grid-cols-2 gf-gap-x-14 gf-gap-y-6 md:gf-flex gf-w-full md:gf-justify-end md:gf-gap-x-14",children:footerDetails.map(i=>jsxRuntime.jsxs("div",{className:"gf-flex gf-flex-col",children:[jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",className:"gf-mb-3",children:i.title}),i.links.map(s=>jsxRuntime.jsx("a",{href:s.link,target:i.targetSame?"_self":"_blank",rel:"noreferrer",children:jsxRuntime.jsx(Typography,{size:"h3",weight:"medium",children:s.title})},s.title))]},i.title))})]}),jsxRuntime.jsx("hr",{className:"gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey"}),jsxRuntime.jsxs("div",{className:"gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-gap-10",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-gap-x-2 gf-items-center",children:[jsxRuntime.jsxs(Typography,{size:"h4",weight:"medium",children:["Powered by"," "]}),jsxRuntime.jsx("a",{href:"https://catalog.fi",target:"_blank",children:jsxRuntime.jsx(CatalogLogo,{width:76})})]}),jsxRuntime.jsxs("a",{href:"https://github.com/catalogfi/audits/blob/main/TrailOfBits.pdf",target:"_blank",className:"gf-flex gf-gap-x-2 gf-items-center",children:[jsxRuntime.jsxs(Typography,{size:"h4",weight:"medium",children:["Audited by"," "]}),jsxRuntime.jsx(TrailOfBits,{width:36})]})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-gap-x-6 md:gf-gap-x-4",children:[jsxRuntime.jsx("a",{href:"https://garden.finance/privacy.pdf",children:jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Privacy Policy"})}),jsxRuntime.jsx("a",{href:"https://garden.finance/terms.pdf",children:jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Terms of Service"})})]})]})]});var build={exports:{}};(()=>{var e={181:(n,a,o)=>{var f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,m=parseInt,p=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,b=typeof self=="object"&&self&&self.Object===Object&&self,x=p||b||Function("return this")(),y=Object.prototype.toString,T=Math.max,g=Math.min,C=function(){return x.Date.now()};function d(A){var E=typeof A;return!!A&&(E=="object"||E=="function")}function P(A){if(typeof A=="number")return A;if(function(V){return typeof V=="symbol"||function(F){return!!F&&typeof F=="object"}(V)&&y.call(V)=="[object Symbol]"}(A))return NaN;if(d(A)){var E=typeof A.valueOf=="function"?A.valueOf():A;A=d(E)?E+"":E}if(typeof A!="string")return A===0?A:+A;A=A.replace(f,"");var R=c.test(A);return R||u.test(A)?m(A.slice(2),R?2:8):l.test(A)?NaN:+A}n.exports=function(A,E,R){var V,F,$,Z,B,X,q=0,N=!1,L=!1,_=!0;if(typeof A!="function")throw new TypeError("Expected a function");function S(U){var K=V,J=F;return V=F=void 0,q=U,Z=A.apply(J,K)}function M(U){var K=U-X;return X===void 0||K>=E||K<0||L&&U-q>=$}function I(){var U=C();if(M(U))return k(U);B=setTimeout(I,function(K){var J=E-(K-X);return L?g(J,$-(K-q)):J}(U))}function k(U){return B=void 0,_&&V?S(U):(V=F=void 0,Z)}function G(){var U=C(),K=M(U);if(V=arguments,F=this,X=U,K){if(B===void 0)return function(J){return q=J,B=setTimeout(I,E),N?S(J):Z}(X);if(L)return B=setTimeout(I,E),S(X)}return B===void 0&&(B=setTimeout(I,E)),Z}return E=P(E)||0,d(R)&&(N=!!R.leading,$=(L="maxWait"in R)?T(P(R.maxWait)||0,E):$,_="trailing"in R?!!R.trailing:_),G.cancel=function(){B!==void 0&&clearTimeout(B),q=0,V=X=F=B=void 0},G.flush=function(){return B===void 0?Z:k(C())},G}},858:(n,a,o)=>{var f="Expected a function",l=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,m=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,x=parseInt,y=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,T=typeof self=="object"&&self&&self.Object===Object&&self,g=y||T||Function("return this")(),C=Object.prototype.toString,d=Math.max,P=Math.min,A=function(){return g.Date.now()};function E(V){var F=typeof V;return!!V&&(F=="object"||F=="function")}function R(V){if(typeof V=="number")return V;if(function(Z){return typeof Z=="symbol"||function(B){return!!B&&typeof B=="object"}(Z)&&C.call(Z)==c}(V))return l;if(E(V)){var F=typeof V.valueOf=="function"?V.valueOf():V;V=E(F)?F+"":F}if(typeof V!="string")return V===0?V:+V;V=V.replace(u,"");var $=p.test(V);return $||b.test(V)?x(V.slice(2),$?2:8):m.test(V)?l:+V}n.exports=function(V,F,$){var Z=!0,B=!0;if(typeof V!="function")throw new TypeError(f);return E($)&&(Z="leading"in $?!!$.leading:Z,B="trailing"in $?!!$.trailing:B),function(X,q,N){var L,_,S,M,I,k,G=0,U=!1,K=!1,J=!0;if(typeof X!="function")throw new TypeError(f);function re(se){var oe=L,te=_;return L=_=void 0,G=se,M=X.apply(te,oe)}function le(se){var oe=se-k;return k===void 0||oe>=q||oe<0||K&&se-G>=S}function ce(){var se=A();if(le(se))return pe(se);I=setTimeout(ce,function(oe){var te=q-(oe-k);return K?P(te,S-(oe-G)):te}(se))}function pe(se){return I=void 0,J&&L?re(se):(L=_=void 0,M)}function ue(){var se=A(),oe=le(se);if(L=arguments,_=this,k=se,oe){if(I===void 0)return function(te){return G=te,I=setTimeout(ce,q),U?re(te):M}(k);if(K)return I=setTimeout(ce,q),re(k)}return I===void 0&&(I=setTimeout(ce,q)),M}return q=R(q)||0,E(N)&&(U=!!N.leading,S=(K="maxWait"in N)?d(R(N.maxWait)||0,q):S,J="trailing"in N?!!N.trailing:J),ue.cancel=function(){I!==void 0&&clearTimeout(I),G=0,L=k=_=I=void 0},ue.flush=function(){return I===void 0?M:pe(A())},ue}(V,F,{leading:Z,maxWait:F,trailing:B})}},694:(n,a,o)=>{var f=o(925);function l(){}function c(){}c.resetWarningCache=l,n.exports=function(){function u(b,x,y,T,g,C){if(C!==f){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}function m(){return u}u.isRequired=u;var p={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:m,element:u,elementType:u,instanceOf:m,node:u,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:c,resetWarningCache:l};return p.PropTypes=p,p}},556:(n,a,o)=>{n.exports=o(694)()},925:n=>{n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function i(n){var a=t[n];if(a!==void 0)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.n=n=>{var a=n&&n.__esModule?()=>n.default:()=>n;return i.d(a,{a}),a},i.d=(n,a)=>{for(var o in a)i.o(a,o)&&!i.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:a[o]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(n,a)=>Object.prototype.hasOwnProperty.call(n,a),i.r=n=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var s={};(()=>{i.r(s),i.d(s,{LazyLoadComponent:()=>me,LazyLoadImage:()=>He,trackWindowScroll:()=>U});const n=React;var a=i.n(n),o=i(556);function f(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function l(H){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},l(H)}function c(H,j){var O=Object.keys(H);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(H);j&&(W=W.filter(function(D){return Object.getOwnPropertyDescriptor(H,D).enumerable})),O.push.apply(O,W)}return O}function u(H,j,O){return(j=p(j))in H?Object.defineProperty(H,j,{value:O,enumerable:!0,configurable:!0,writable:!0}):H[j]=O,H}function m(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,p(W.key),W)}}function p(H){var j=function(O,W){if(l(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(l(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return l(j)=="symbol"?j:j+""}function b(H,j,O){return j=y(j),function(W,D){if(D&&(l(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}(W)}(H,x()?Reflect.construct(j,O||[],y(H).constructor):j.apply(H,O))}function x(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(x=function(){return!!H})()}function y(H){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},y(H)}function T(H,j){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},T(H,j)}var g=function(H){H.forEach(function(j){j.isIntersecting&&j.target.onVisible()})},C={},d=function(H){function j(D){var z;if(function(Q,ie){if(!(Q instanceof ie))throw new TypeError("Cannot call a class as a function")}(this,j),(z=b(this,j,[D])).supportsObserver=!D.scrollPosition&&D.useIntersectionObserver&&f(),z.supportsObserver){var ee=D.threshold;z.observer=function(Q){return C[Q]=C[Q]||new IntersectionObserver(g,{rootMargin:Q+"px"}),C[Q]}(ee)}return z}return function(D,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(z&&z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),z&&T(D,z)}(j,H),O=j,W=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,z=this.placeholder.getBoundingClientRect(),ee=this.placeholder.style,Q=parseInt(ee.getPropertyValue("margin-left"),10)||0,ie=parseInt(ee.getPropertyValue("margin-top"),10)||0;return{bottom:D.y+z.bottom+ie,left:D.x+z.left+Q,right:D.x+z.right+Q,top:D.y+z.top+ie}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var D=this.props,z=D.scrollPosition,ee=D.threshold,Q=this.getPlaceholderBoundingBox(z),ie=z.y+window.innerHeight,ne=z.x,he=z.x+window.innerWidth,fe=z.y;return fe-ee<=Q.bottom&&ie+ee>=Q.top&&ne-ee<=Q.right&&he+ee>=Q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var D=this,z=this.props,ee=z.className,Q=z.height,ie=z.placeholder,ne=z.style,he=z.width;if(ie&&typeof ie.type!="function")return a().cloneElement(ie,{ref:function(ae){return D.placeholder=ae}});var fe=function(ae){for(var ge=1;ge<arguments.length;ge++){var de=arguments[ge]!=null?arguments[ge]:{};ge%2?c(Object(de),!0).forEach(function(ve){u(ae,ve,de[ve])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ae,Object.getOwnPropertyDescriptors(de)):c(Object(de)).forEach(function(ve){Object.defineProperty(ae,ve,Object.getOwnPropertyDescriptor(de,ve))})}return ae}({display:"inline-block"},ne);return he!==void 0&&(fe.width=he),Q!==void 0&&(fe.height=Q),a().createElement("span",{className:ee,ref:function(ae){return D.placeholder=ae},style:fe},ie)}}],W&&m(O.prototype,W),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,W}(a().Component);d.propTypes={onVisible:o.PropTypes.func.isRequired,className:o.PropTypes.string,height:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]),placeholder:o.PropTypes.element,threshold:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool,scrollPosition:o.PropTypes.shape({x:o.PropTypes.number.isRequired,y:o.PropTypes.number.isRequired}),width:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string])},d.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const P=d;var A=i(181),E=i.n(A),R=i(858),V=i.n(R),F=function(H){var j=getComputedStyle(H,null);return j.getPropertyValue("overflow")+j.getPropertyValue("overflow-y")+j.getPropertyValue("overflow-x")};const $=function(H){if(!(H instanceof HTMLElement))return window;for(var j=H;j&&j instanceof HTMLElement;){if(/(scroll|auto)/.test(F(j)))return j;j=j.parentNode}return window};function Z(H){return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},Z(H)}var B=["delayMethod","delayTime"];function X(){return X=Object.assign?Object.assign.bind():function(H){for(var j=1;j<arguments.length;j++){var O=arguments[j];for(var W in O)({}).hasOwnProperty.call(O,W)&&(H[W]=O[W])}return H},X.apply(null,arguments)}function q(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,N(W.key),W)}}function N(H){var j=function(O,W){if(Z(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(Z(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return Z(j)=="symbol"?j:j+""}function L(H,j,O){return j=M(j),_(H,S()?Reflect.construct(j,O||[],M(H).constructor):j.apply(H,O))}function _(H,j){if(j&&(Z(j)=="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}(H)}function S(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(S=function(){return!!H})()}function M(H){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},M(H)}function I(H,j){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},I(H,j)}var k=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},G=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const U=function(H){var j=function(O){function W(ee){var Q;if(function(ne,he){if(!(ne instanceof he))throw new TypeError("Cannot call a class as a function")}(this,W),(Q=L(this,W,[ee])).useIntersectionObserver=ee.useIntersectionObserver&&f(),Q.useIntersectionObserver)return _(Q);var ie=Q.onChangeScroll.bind(Q);return ee.delayMethod==="debounce"?Q.delayedScroll=E()(ie,ee.delayTime):ee.delayMethod==="throttle"&&(Q.delayedScroll=V()(ie,ee.delayTime)),Q.state={scrollPosition:{x:k(),y:G()}},Q.baseComponentRef=a().createRef(),Q}return function(ee,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(Q&&Q.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),Object.defineProperty(ee,"prototype",{writable:!1}),Q&&I(ee,Q)}(W,O),D=W,z=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||$(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=$(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:k(),y:G()}})}},{key:"render",value:function(){var ee=this.props,Q=(ee.delayMethod,ee.delayTime,function(ne,he){if(ne==null)return{};var fe,ae,ge=function(ve,Be){if(ve==null)return{};var Oe={};for(var je in ve)if({}.hasOwnProperty.call(ve,je)){if(Be.indexOf(je)>=0)continue;Oe[je]=ve[je]}return Oe}(ne,he);if(Object.getOwnPropertySymbols){var de=Object.getOwnPropertySymbols(ne);for(ae=0;ae<de.length;ae++)fe=de[ae],he.indexOf(fe)>=0||{}.propertyIsEnumerable.call(ne,fe)&&(ge[fe]=ne[fe])}return ge}(ee,B)),ie=this.useIntersectionObserver?null:this.state.scrollPosition;return a().createElement(H,X({forwardRef:this.baseComponentRef,scrollPosition:ie},Q))}}],z&&q(D.prototype,z),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,z}(a().Component);return j.propTypes={delayMethod:o.PropTypes.oneOf(["debounce","throttle"]),delayTime:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool},j.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},j};function K(H){return K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},K(H)}function J(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,re(W.key),W)}}function re(H){var j=function(O,W){if(K(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(K(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return K(j)=="symbol"?j:j+""}function le(H,j,O){return j=pe(j),function(W,D){if(D&&(K(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}(W)}(H,ce()?Reflect.construct(j,O||[],pe(H).constructor):j.apply(H,O))}function ce(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ce=function(){return!!H})()}function pe(H){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},pe(H)}function ue(H,j){return ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},ue(H,j)}var se=function(H){function j(D){return function(z,ee){if(!(z instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,j),le(this,j,[D])}return function(D,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(z&&z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),z&&ue(D,z)}(j,H),O=j,(W=[{key:"render",value:function(){return a().createElement(P,this.props)}}])&&J(O.prototype,W),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,W}(a().Component);const oe=U(se);function te(H){return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},te(H)}function Y(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,Te(W.key),W)}}function Te(H){var j=function(O,W){if(te(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(te(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return te(j)=="symbol"?j:j+""}function Ee(H,j,O){return j=ye(j),function(W,D){if(D&&(te(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}(W)}(H,Se()?Reflect.construct(j,O||[],ye(H).constructor):j.apply(H,O))}function Se(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Se=function(){return!!H})()}function ye(H){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},ye(H)}function be(H,j){return be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},be(H,j)}var Pe=function(H){function j(D){var z;(function(he,fe){if(!(he instanceof fe))throw new TypeError("Cannot call a class as a function")})(this,j),z=Ee(this,j,[D]);var ee=D.afterLoad,Q=D.beforeLoad,ie=D.scrollPosition,ne=D.visibleByDefault;return z.state={visible:ne},ne&&(Q(),ee()),z.onVisible=z.onVisible.bind(z),z.isScrollTracked=!!(ie&&Number.isFinite(ie.x)&&ie.x>=0&&Number.isFinite(ie.y)&&ie.y>=0),z}return function(D,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(z&&z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),z&&be(D,z)}(j,H),O=j,(W=[{key:"componentDidUpdate",value:function(D,z){z.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var D=this.props,z=D.className,ee=D.delayMethod,Q=D.delayTime,ie=D.height,ne=D.placeholder,he=D.scrollPosition,fe=D.style,ae=D.threshold,ge=D.useIntersectionObserver,de=D.width;return this.isScrollTracked||ge&&f()?a().createElement(P,{className:z,height:ie,onVisible:this.onVisible,placeholder:ne,scrollPosition:he,style:fe,threshold:ae,useIntersectionObserver:ge,width:de}):a().createElement(oe,{className:z,delayMethod:ee,delayTime:Q,height:ie,onVisible:this.onVisible,placeholder:ne,style:fe,threshold:ae,width:de})}}])&&Y(O.prototype,W),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,W}(a().Component);Pe.propTypes={afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool},Pe.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const me=Pe;function Ce(H){return Ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},Ce(H)}var Le=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function xe(H,j){var O=Object.keys(H);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(H);j&&(W=W.filter(function(D){return Object.getOwnPropertyDescriptor(H,D).enumerable})),O.push.apply(O,W)}return O}function Me(H){for(var j=1;j<arguments.length;j++){var O=arguments[j]!=null?arguments[j]:{};j%2?xe(Object(O),!0).forEach(function(W){we(H,W,O[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(O)):xe(Object(O)).forEach(function(W){Object.defineProperty(H,W,Object.getOwnPropertyDescriptor(O,W))})}return H}function we(H,j,O){return(j=Ve(j))in H?Object.defineProperty(H,j,{value:O,enumerable:!0,configurable:!0,writable:!0}):H[j]=O,H}function Ae(){return Ae=Object.assign?Object.assign.bind():function(H){for(var j=1;j<arguments.length;j++){var O=arguments[j];for(var W in O)({}).hasOwnProperty.call(O,W)&&(H[W]=O[W])}return H},Ae.apply(null,arguments)}function Re(H,j){for(var O=0;O<j.length;O++){var W=j[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(H,Ve(W.key),W)}}function Ve(H){var j=function(O,W){if(Ce(O)!="object"||!O)return O;var D=O[Symbol.toPrimitive];if(D!==void 0){var z=D.call(O,"string");if(Ce(z)!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(H);return Ce(j)=="symbol"?j:j+""}function _e(H,j,O){return j=ke(j),function(W,D){if(D&&(Ce(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}(W)}(H,De()?Reflect.construct(j,O||[],ke(H).constructor):j.apply(H,O))}function De(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(De=function(){return!!H})()}function ke(H){return ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},ke(H)}function Ie(H,j){return Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,W){return O.__proto__=W,O},Ie(H,j)}var Fe=function(H){function j(D){var z;return function(ee,Q){if(!(ee instanceof Q))throw new TypeError("Cannot call a class as a function")}(this,j),(z=_e(this,j,[D])).state={loaded:!1},z}return function(D,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(z&&z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),z&&Ie(D,z)}(j,H),O=j,W=[{key:"onImageLoad",value:function(){var D=this;return this.state.loaded?null:function(z){D.props.onLoad(z),D.props.afterLoad(),D.setState({loaded:!0})}}},{key:"getImg",value:function(){var D=this.props,z=(D.afterLoad,D.beforeLoad,D.delayMethod,D.delayTime,D.effect,D.placeholder,D.placeholderSrc,D.scrollPosition,D.threshold,D.useIntersectionObserver,D.visibleByDefault,D.wrapperClassName,D.wrapperProps,function(ee,Q){if(ee==null)return{};var ie,ne,he=function(ae,ge){if(ae==null)return{};var de={};for(var ve in ae)if({}.hasOwnProperty.call(ae,ve)){if(ge.indexOf(ve)>=0)continue;de[ve]=ae[ve]}return de}(ee,Q);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(ee);for(ne=0;ne<fe.length;ne++)ie=fe[ne],Q.indexOf(ie)>=0||{}.propertyIsEnumerable.call(ee,ie)&&(he[ie]=ee[ie])}return he}(D,Le));return a().createElement("img",Ae({},z,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var D=this.props,z=D.beforeLoad,ee=D.className,Q=D.delayMethod,ie=D.delayTime,ne=D.height,he=D.placeholder,fe=D.scrollPosition,ae=D.style,ge=D.threshold,de=D.useIntersectionObserver,ve=D.visibleByDefault,Be=D.width;return a().createElement(me,{beforeLoad:z,className:ee,delayMethod:Q,delayTime:ie,height:ne,placeholder:he,scrollPosition:fe,style:ae,threshold:ge,useIntersectionObserver:de,visibleByDefault:ve,width:Be},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(D){var z=this.props,ee=z.effect,Q=z.height,ie=z.placeholderSrc,ne=z.width,he=z.wrapperClassName,fe=z.wrapperProps,ae=this.state.loaded,ge=ae?" lazy-load-image-loaded":"",de=ae||!ie?{}:{backgroundImage:"url(".concat(ie,")"),backgroundSize:"100% 100%"};return a().createElement("span",Ae({className:he+" lazy-load-image-background "+ee+ge,style:Me(Me({},de),{},{color:"transparent",display:"inline-block",height:Q,width:ne})},fe),D)}},{key:"render",value:function(){var D=this.props,z=D.effect,ee=D.placeholderSrc,Q=D.visibleByDefault,ie=D.wrapperClassName,ne=D.wrapperProps,he=this.getLazyLoadImage();return(z||ee)&&!Q||ie||ne?this.getWrappedLazyLoadImage(he):he}}],W&&Re(O.prototype,W),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,W}(a().Component);Fe.propTypes={onLoad:o.PropTypes.func,afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,delayMethod:o.PropTypes.string,delayTime:o.PropTypes.number,effect:o.PropTypes.string,placeholderSrc:o.PropTypes.string,threshold:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool,wrapperClassName:o.PropTypes.string,wrapperProps:o.PropTypes.object},Fe.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const He=Fe})(),build.exports=s})();var buildExports=build.exports;const placeholderUrl="data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",BlogCard=({thumbnail:e,category:t,date:i,title:s,className:n,thumbnailClassName:a})=>{const[o,f]=React.useState(!1),[l,c]=React.useState(e??placeholderUrl);React.useEffect(()=>{c(e??placeholderUrl)},[e]);const u=()=>{c(placeholderUrl)};return jsxRuntime.jsx(Opacity,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:jsxRuntime.jsxs("div",{className:cn(n,"gf-overflow-hidden gf-rounded-2xl"),children:[jsxRuntime.jsx("div",{className:cn(a,`${o?"":"gf-filter gf-blur-md"}`),children:jsxRuntime.jsx(buildExports.LazyLoadImage,{alt:s,effect:"blur",src:l,onLoad:()=>f(!0),onError:u})}),jsxRuntime.jsxs("div",{className:"gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-between gf-mb-3",children:[jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",children:t}),jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"gf-px-3 gf-py-1",children:i})]}),jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",children:s})]})]})})},questCardStyles=cva(["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],{variants:{variant:{locked:"gf-bg-white gf-bg-opacity-25",default:"gf-bg-white gf-bg-opacity-50"}},defaultVariants:{variant:"locked"}}),QuestCard=({variant:e,title:t,description:i,chipContent:s,logo:n})=>jsxRuntime.jsxs("div",{className:cn(questCardStyles({variant:e})),children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-between gf-items-center gf-mb-4",children:[jsxRuntime.jsxs(Chip,{className:"gf-cursor-pointer gf-px-2 gf-py-1",children:[jsxRuntime.jsx(Chip.Logo,{children:n}),t,jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),e==="default"?jsxRuntime.jsx(OpenInFullIcon,{className:"gf-cursor-pointer",height:"20px",width:"20px"}):jsxRuntime.jsx(LockIcon,{className:"gf-cursor-pointer",height:"20px",width:"20px"})]}),jsxRuntime.jsx("div",{className:"gf-mb-3 md:gf-mb-8",children:jsxRuntime.jsx(Typography,{size:"h3",weight:"medium",children:i})}),jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-end gf-space-x-2",children:[jsxRuntime.jsxs(Chip,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Quest Access"}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),jsxRuntime.jsxs(Chip,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:s}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]})]})]}),warned=new Set;function warnOnce(e,t,i){e||warned.has(t)||(console.warn(t),warned.add(t))}function createDOMMotionComponentProxy(e){if(typeof Proxy>"u")return e;const t=new Map,i=(...s)=>(process.env.NODE_ENV!=="production"&&warnOnce(!1,"motion() is deprecated. Use motion.create() instead."),e(...s));return new Proxy(i,{get:(s,n)=>n==="create"?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}function isAnimationControls(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const isKeyframesTarget=e=>Array.isArray(e);function shallowCompare(e,t){if(!Array.isArray(t))return!1;const i=t.length;if(i!==e.length)return!1;for(let s=0;s<i;s++)if(t[s]!==e[s])return!1;return!0}function isVariantLabel(e){return typeof e=="string"||Array.isArray(e)}function getValueState(e){const t=[{},{}];return e==null||e.values.forEach((i,s)=>{t[0][s]=i.get(),t[1][s]=i.getVelocity()}),t}function resolveVariantFromProps(e,t,i,s){if(typeof t=="function"){const[n,a]=getValueState(s);t=t(i!==void 0?i:e.custom,n,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[n,a]=getValueState(s);t=t(i!==void 0?i:e.custom,n,a)}return t}function resolveVariant(e,t,i){const s=e.getProps();return resolveVariantFromProps(s,t,i!==void 0?i:s.custom,e)}const variantPriorityOrder=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],variantProps=["initial",...variantPriorityOrder],transformPropOrder=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],transformProps=new Set(transformPropOrder),secondsToMilliseconds=e=>e*1e3,millisecondsToSeconds=e=>e/1e3,underDampedSpring={type:"spring",stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),keyframesTransition={type:"keyframes",duration:.8},ease={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(e,{keyframes:t})=>t.length>2?keyframesTransition:transformProps.has(e)?e.startsWith("scale")?criticallyDampedSpring(t[1]):underDampedSpring:ease;function isTransitionDefined({when:e,delay:t,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:a,repeatType:o,repeatDelay:f,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function getValueTransition(e,t){return e[t]||e.default||e}const MotionGlobalConfig={skipAnimations:!1,useManualTiming:!1},isNotNull=e=>e!==null;function getFinalKeyframe(e,{repeat:t,repeatType:i="loop"},s){const n=e.filter(isNotNull),a=t&&i!=="loop"&&t%2===1?0:n.length-1;return!a||s===void 0?n[a]:s}const noop=e=>e;function createRenderStep(e){let t=new Set,i=new Set,s=!1,n=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function f(c){a.has(c)&&(l.schedule(c),e()),c(o)}const l={schedule:(c,u=!1,m=!1)=>{const b=m&&s?t:i;return u&&a.add(c),b.has(c)||b.add(c),c},cancel:c=>{i.delete(c),a.delete(c)},process:c=>{if(o=c,s){n=!0;return}s=!0,[t,i]=[i,t],i.clear(),t.forEach(f),s=!1,n&&(n=!1,l.process(c))}};return l}const stepsOrder=["read","resolveKeyframes","update","preRender","render","postRender"],maxElapsed=40;function createRenderBatcher(e,t){let i=!1,s=!0;const n={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,o=stepsOrder.reduce((g,C)=>(g[C]=createRenderStep(a),g),{}),{read:f,resolveKeyframes:l,update:c,preRender:u,render:m,postRender:p}=o,b=()=>{const g=performance.now();i=!1,n.delta=s?1e3/60:Math.max(Math.min(g-n.timestamp,maxElapsed),1),n.timestamp=g,n.isProcessing=!0,f.process(n),l.process(n),c.process(n),u.process(n),m.process(n),p.process(n),n.isProcessing=!1,i&&t&&(s=!1,e(b))},x=()=>{i=!0,s=!0,n.isProcessing||e(b)};return{schedule:stepsOrder.reduce((g,C)=>{const d=o[C];return g[C]=(P,A=!1,E=!1)=>(i||x(),d.schedule(P,A,E)),g},{}),cancel:g=>{for(let C=0;C<stepsOrder.length;C++)o[stepsOrder[C]].cancel(g)},state:n,steps:o}}const{schedule:frame,cancel:cancelFrame,state:frameData,steps}=createRenderBatcher(typeof requestAnimationFrame<"u"?requestAnimationFrame:noop,!0),isZeroValueString=e=>/^0[^.\s]+$/u.test(e);function isNone(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||isZeroValueString(e):!0}let warning=noop,invariant=noop;process.env.NODE_ENV!=="production"&&(warning=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},invariant=(e,t)=>{if(!e)throw new Error(t)});const isNumericalString=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),checkStringStartsWith=e=>t=>typeof t=="string"&&t.startsWith(e),isCSSVariableName=checkStringStartsWith("--"),startsAsVariableToken=checkStringStartsWith("var(--"),isCSSVariableToken=e=>startsAsVariableToken(e)?singleCssVariableRegex.test(e.split("/*")[0].trim()):!1,singleCssVariableRegex=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,splitCSSVariableRegex=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function parseCSSVariable(e){const t=splitCSSVariableRegex.exec(e);if(!t)return[,];const[,i,s,n]=t;return[`--${i??s}`,n]}const maxDepth=4;function getVariableValue(e,t,i=1){invariant(i<=maxDepth,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[s,n]=parseCSSVariable(e);if(!s)return;const a=window.getComputedStyle(t).getPropertyValue(s);if(a){const o=a.trim();return isNumericalString(o)?parseFloat(o):o}return isCSSVariableToken(n)?getVariableValue(n,t,i+1):n}const clamp=(e,t,i)=>i>t?t:i<e?e:i,number={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},alpha={...number,transform:e=>clamp(0,1,e)},scale={...number,default:1},sanitize=e=>Math.round(e*1e5)/1e5,floatRegex=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,colorRegex=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,singleColorRegex=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function isString(e){return typeof e=="string"}function isNullish(e){return e==null}const createUnitType=e=>({test:t=>isString(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),vh=createUnitType("vh"),vw=createUnitType("vw"),progressPercentage={...percent,parse:e=>percent.parse(e)/100,transform:e=>percent.transform(e*100)},positionalKeys=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),isNumOrPxType=e=>e===number||e===px,getPosFromMatrix=(e,t)=>parseFloat(e.split(", ")[t]),getTranslateFromMatrix=(e,t)=>(i,{transform:s})=>{if(s==="none"||!s)return 0;const n=s.match(/^matrix3d\((.+)\)$/u);if(n)return getPosFromMatrix(n[1],t);{const a=s.match(/^matrix\((.+)\)$/u);return a?getPosFromMatrix(a[1],e):0}},transformKeys=new Set(["x","y","z"]),nonTranslationalTransformKeys=transformPropOrder.filter(e=>!transformKeys.has(e));function removeNonTranslationalTransform(e){const t=[];return nonTranslationalTransformKeys.forEach(i=>{const s=e.getValue(i);s!==void 0&&(t.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),t}const positionalValues={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)};positionalValues.translateX=positionalValues.x,positionalValues.translateY=positionalValues.y;const testValueType=e=>t=>t.test(e),auto={test:e=>e==="auto",parse:e=>e},dimensionValueTypes=[number,px,percent,degrees,vw,vh,auto],findDimensionValueType=e=>dimensionValueTypes.find(testValueType(e)),toResolve=new Set;let isScheduled=!1,anyNeedsMeasurement=!1;function measureAllKeyframes(){if(anyNeedsMeasurement){const e=Array.from(toResolve).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),i=new Map;t.forEach(s=>{const n=removeNonTranslationalTransform(s);n.length&&(i.set(s,n),s.render())}),e.forEach(s=>s.measureInitialState()),t.forEach(s=>{s.render();const n=i.get(s);n&&n.forEach(([a,o])=>{var f;(f=s.getValue(a))===null||f===void 0||f.set(o)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}anyNeedsMeasurement=!1,isScheduled=!1,toResolve.forEach(e=>e.complete()),toResolve.clear()}function readAllKeyframes(){toResolve.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(anyNeedsMeasurement=!0)})}function flushKeyframeResolvers(){readAllKeyframes(),measureAllKeyframes()}class KeyframeResolver{constructor(t,i,s,n,a,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=i,this.name=s,this.motionValue=n,this.element=a,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(toResolve.add(this),isScheduled||(isScheduled=!0,frame.read(readAllKeyframes),frame.resolveKeyframes(measureAllKeyframes))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:i,element:s,motionValue:n}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){const o=n==null?void 0:n.get(),f=t[t.length-1];if(o!==void 0)t[0]=o;else if(s&&i){const l=s.readValue(i,f);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=f),n&&o===void 0&&n.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),toResolve.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,toResolve.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const isColorString=(e,t)=>i=>!!(isString(i)&&singleColorRegex.test(i)&&i.startsWith(e)||t&&!isNullish(i)&&Object.prototype.hasOwnProperty.call(i,t)),splitColor=(e,t,i)=>s=>{if(!isString(s))return s;const[n,a,o,f]=s.match(floatRegex);return{[e]:parseFloat(n),[t]:parseFloat(a),[i]:parseFloat(o),alpha:f!==void 0?parseFloat(f):1}},clampRgbUnit=e=>clamp(0,255,e),rgbUnit={...number,transform:e=>Math.round(clampRgbUnit(e))},rgba={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:s=1})=>"rgba("+rgbUnit.transform(e)+", "+rgbUnit.transform(t)+", "+rgbUnit.transform(i)+", "+sanitize(alpha.transform(s))+")"};function parseHex(e){let t="",i="",s="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),s=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),s=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,s+=s,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}}const hex={test:isColorString("#"),parse:parseHex,transform:rgba.transform},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:s=1})=>"hsla("+Math.round(e)+", "+percent.transform(sanitize(t))+", "+percent.transform(sanitize(i))+", "+sanitize(alpha.transform(s))+")"},color={test:e=>rgba.test(e)||hex.test(e)||hsla.test(e),parse:e=>rgba.test(e)?rgba.parse(e):hsla.test(e)?hsla.parse(e):hex.parse(e),transform:e=>isString(e)?e:e.hasOwnProperty("red")?rgba.transform(e):hsla.transform(e)};function test(e){var t,i;return isNaN(e)&&isString(e)&&(((t=e.match(floatRegex))===null||t===void 0?void 0:t.length)||0)+(((i=e.match(colorRegex))===null||i===void 0?void 0:i.length)||0)>0}const NUMBER_TOKEN="number",COLOR_TOKEN="color",VAR_TOKEN="var",VAR_FUNCTION_TOKEN="var(",SPLIT_TOKEN="${}",complexRegex=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function analyseComplexValue(e){const t=e.toString(),i=[],s={color:[],number:[],var:[]},n=[];let a=0;const f=t.replace(complexRegex,l=>(color.test(l)?(s.color.push(a),n.push(COLOR_TOKEN),i.push(color.parse(l))):l.startsWith(VAR_FUNCTION_TOKEN)?(s.var.push(a),n.push(VAR_TOKEN),i.push(l)):(s.number.push(a),n.push(NUMBER_TOKEN),i.push(parseFloat(l))),++a,SPLIT_TOKEN)).split(SPLIT_TOKEN);return{values:i,split:f,indexes:s,types:n}}function parseComplexValue(e){return analyseComplexValue(e).values}function createTransformer(e){const{split:t,types:i}=analyseComplexValue(e),s=t.length;return n=>{let a="";for(let o=0;o<s;o++)if(a+=t[o],n[o]!==void 0){const f=i[o];f===NUMBER_TOKEN?a+=sanitize(n[o]):f===COLOR_TOKEN?a+=color.transform(n[o]):a+=n[o]}return a}}const convertNumbersToZero=e=>typeof e=="number"?0:e;function getAnimatableNone$1(e){const t=parseComplexValue(e);return createTransformer(e)(t.map(convertNumbersToZero))}const complex={test,parse:parseComplexValue,createTransformer,getAnimatableNone:getAnimatableNone$1},maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(e){const[t,i]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=i.match(floatRegex)||[];if(!s)return e;const n=i.replace(s,"");let a=maxDefaults.has(t)?1:0;return s!==i&&(a*=100),t+"("+a+n+")"}const functionRegex=/\b([a-z-]*)\(.*?\)/gu,filter={...complex,getAnimatableNone:e=>{const t=e.match(functionRegex);return t?t.map(applyDefaultFilter).join(" "):e}},int={...number,transform:Math.round},numberValueTypes={borderWidth:px,borderTopWidth:px,borderRightWidth:px,borderBottomWidth:px,borderLeftWidth:px,borderRadius:px,radius:px,borderTopLeftRadius:px,borderTopRightRadius:px,borderBottomRightRadius:px,borderBottomLeftRadius:px,width:px,maxWidth:px,height:px,maxHeight:px,size:px,top:px,right:px,bottom:px,left:px,padding:px,paddingTop:px,paddingRight:px,paddingBottom:px,paddingLeft:px,margin:px,marginTop:px,marginRight:px,marginBottom:px,marginLeft:px,rotate:degrees,rotateX:degrees,rotateY:degrees,rotateZ:degrees,scale,scaleX:scale,scaleY:scale,scaleZ:scale,skew:degrees,skewX:degrees,skewY:degrees,distance:px,translateX:px,translateY:px,translateZ:px,x:px,y:px,z:px,perspective:px,transformPerspective:px,opacity:alpha,originX:progressPercentage,originY:progressPercentage,originZ:px,zIndex:int,backgroundPositionX:px,backgroundPositionY:px,fillOpacity:alpha,strokeOpacity:alpha,numOctaves:int},defaultValueTypes={...numberValueTypes,color,backgroundColor:color,outlineColor:color,fill:color,stroke:color,borderColor:color,borderTopColor:color,borderRightColor:color,borderBottomColor:color,borderLeftColor:color,filter,WebkitFilter:filter},getDefaultValueType=e=>defaultValueTypes[e];function getAnimatableNone(e,t){let i=getDefaultValueType(e);return i!==filter&&(i=complex),i.getAnimatableNone?i.getAnimatableNone(t):void 0}const invalidTemplates=new Set(["auto","none","0"]);function makeNoneKeyframesAnimatable(e,t,i){let s=0,n;for(;s<e.length&&!n;){const a=e[s];typeof a=="string"&&!invalidTemplates.has(a)&&analyseComplexValue(a).values.length&&(n=e[s]),s++}if(n&&i)for(const a of t)e[a]=getAnimatableNone(i,n)}class DOMKeyframesResolver extends KeyframeResolver{constructor(t,i,s,n,a){super(t,i,s,n,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),isCSSVariableToken(c))){const u=getVariableValue(c,i.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!positionalKeys.has(s)||t.length!==2)return;const[n,a]=t,o=findDimensionValueType(n),f=findDimensionValueType(a);if(o!==f)if(isNumOrPxType(o)&&isNumOrPxType(f))for(let l=0;l<t.length;l++){const c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:i}=this,s=[];for(let n=0;n<t.length;n++)isNone(t[n])&&s.push(n);s.length&&makeNoneKeyframesAnimatable(t,s,i)}measureInitialState(){const{element:t,unresolvedKeyframes:i,name:s}=this;if(!t||!t.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=positionalValues[s](t.measureViewportBox(),window.getComputedStyle(t.current)),i[0]=this.measuredOrigin;const n=i[i.length-1];n!==void 0&&t.getValue(s,n).jump(n,!1)}measureEndState(){var t;const{element:i,name:s,unresolvedKeyframes:n}=this;if(!i||!i.current)return;const a=i.getValue(s);a&&a.jump(this.measuredOrigin,!1);const o=n.length-1,f=n[o];n[o]=positionalValues[s](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{i.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function memo(e){let t;return()=>(t===void 0&&(t=e()),t)}let now;function clearTime(){now=void 0}const time={now:()=>(now===void 0&&time.set(frameData.isProcessing||MotionGlobalConfig.useManualTiming?frameData.timestamp:performance.now()),now),set:e=>{now=e,queueMicrotask(clearTime)}},isAnimatable=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(complex.test(e)||e==="0")&&!e.startsWith("url("));function hasKeyframesChanged(e){const t=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}function canAnimate(e,t,i,s){const n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],o=isAnimatable(n,t),f=isAnimatable(a,t);return warning(o===f,`You are trying to animate ${t} from "${n}" to "${a}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${a} via the \`style\` property.`),!o||!f?!1:hasKeyframesChanged(e)||i==="spring"&&s}const MAX_RESOLVE_DELAY=40;class BaseAnimation{constructor({autoplay:t=!0,delay:i=0,type:s="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:o="loop",...f}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=time.now(),this.options={autoplay:t,delay:i,type:s,repeat:n,repeatDelay:a,repeatType:o,...f},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>MAX_RESOLVE_DELAY?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&flushKeyframeResolvers(),this._resolved}onKeyframesResolved(t,i){this.resolvedAt=time.now(),this.hasAttemptedResolve=!0;const{name:s,type:n,velocity:a,delay:o,onComplete:f,onUpdate:l,isGenerator:c}=this.options;if(!c&&!canAnimate(t,s,n,a))if(o)this.options.duration=0;else{l==null||l(getFinalKeyframe(t,this.options,i)),f==null||f(),this.resolveFinishedPromise();return}const u=this.initPlayback(t,i);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:i,...u},this.onPostResolved())}onPostResolved(){}then(t,i){return this.currentFinishedPromise.then(t,i)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function velocityPerSecond(e,t){return t?e*(1e3/t):0}const velocitySampleDuration=5;function calcGeneratorVelocity(e,t,i){const s=Math.max(t-velocitySampleDuration,0);return velocityPerSecond(i-e(s),t-s)}const safeMin=.001,minDuration=.01,maxDuration$1=10,minDamping=.05,maxDamping=1;function findSpring({duration:e=800,bounce:t=.25,velocity:i=0,mass:s=1}){let n,a;warning(e<=secondsToMilliseconds(maxDuration$1),"Spring duration must be 10 seconds or less");let o=1-t;o=clamp(minDamping,maxDamping,o),e=clamp(minDuration,maxDuration$1,millisecondsToSeconds(e)),o<1?(n=c=>{const u=c*o,m=u*e,p=u-i,b=calcAngularFreq(c,o),x=Math.exp(-m);return safeMin-p/b*x},a=c=>{const m=c*o*e,p=m*i+i,b=Math.pow(o,2)*Math.pow(c,2)*e,x=Math.exp(-m),y=calcAngularFreq(Math.pow(c,2),o);return(-n(c)+safeMin>0?-1:1)*((p-b)*x)/y}):(n=c=>{const u=Math.exp(-c*e),m=(c-i)*e+1;return-safeMin+u*m},a=c=>{const u=Math.exp(-c*e),m=(i-c)*(e*e);return u*m});const f=5/e,l=approximateRoot(n,a,f);if(e=secondsToMilliseconds(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*s;return{stiffness:c,damping:o*2*Math.sqrt(s*c),duration:e}}}const rootIterations=12;function approximateRoot(e,t,i){let s=i;for(let n=1;n<rootIterations;n++)s=s-e(s)/t(s);return s}function calcAngularFreq(e,t){return e*Math.sqrt(1-t*t)}const durationKeys=["duration","bounce"],physicsKeys=["stiffness","damping","mass"];function isSpringType(e,t){return t.some(i=>e[i]!==void 0)}function getSpringOptions(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!isSpringType(e,physicsKeys)&&isSpringType(e,durationKeys)){const i=findSpring(e);t={...t,...i,mass:1},t.isResolvedFromDuration=!0}return t}function spring({keyframes:e,restDelta:t,restSpeed:i,...s}){const n=e[0],a=e[e.length-1],o={done:!1,value:n},{stiffness:f,damping:l,mass:c,duration:u,velocity:m,isResolvedFromDuration:p}=getSpringOptions({...s,velocity:-millisecondsToSeconds(s.velocity||0)}),b=m||0,x=l/(2*Math.sqrt(f*c)),y=a-n,T=millisecondsToSeconds(Math.sqrt(f/c)),g=Math.abs(y)<5;i||(i=g?.01:2),t||(t=g?.005:.5);let C;if(x<1){const d=calcAngularFreq(T,x);C=P=>{const A=Math.exp(-x*T*P);return a-A*((b+x*T*y)/d*Math.sin(d*P)+y*Math.cos(d*P))}}else if(x===1)C=d=>a-Math.exp(-T*d)*(y+(b+T*y)*d);else{const d=T*Math.sqrt(x*x-1);C=P=>{const A=Math.exp(-x*T*P),E=Math.min(d*P,300);return a-A*((b+x*T*y)*Math.sinh(E)+d*y*Math.cosh(E))/d}}return{calculatedDuration:p&&u||null,next:d=>{const P=C(d);if(p)o.done=d>=u;else{let A=0;x<1&&(A=d===0?secondsToMilliseconds(b):calcGeneratorVelocity(C,d,P));const E=Math.abs(A)<=i,R=Math.abs(a-P)<=t;o.done=E&&R}return o.value=o.done?a:P,o}}}function inertia({keyframes:e,velocity:t=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:a=500,modifyTarget:o,min:f,max:l,restDelta:c=.5,restSpeed:u}){const m=e[0],p={done:!1,value:m},b=V=>f!==void 0&&V<f||l!==void 0&&V>l,x=V=>f===void 0?l:l===void 0||Math.abs(f-V)<Math.abs(l-V)?f:l;let y=i*t;const T=m+y,g=o===void 0?T:o(T);g!==T&&(y=g-m);const C=V=>-y*Math.exp(-V/s),d=V=>g+C(V),P=V=>{const F=C(V),$=d(V);p.done=Math.abs(F)<=c,p.value=p.done?g:$};let A,E;const R=V=>{b(p.value)&&(A=V,E=spring({keyframes:[p.value,x(p.value)],velocity:calcGeneratorVelocity(d,V,p.value),damping:n,stiffness:a,restDelta:c,restSpeed:u}))};return R(0),{calculatedDuration:null,next:V=>{let F=!1;return!E&&A===void 0&&(F=!0,P(V),R(V)),A!==void 0&&V>=A?E.next(V-A):(!F&&P(V),p)}}}const calcBezier=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e,subdivisionPrecision=1e-7,subdivisionMaxIterations=12;function binarySubdivide(e,t,i,s,n){let a,o,f=0;do o=t+(i-t)/2,a=calcBezier(o,s,n)-e,a>0?i=o:t=o;while(Math.abs(a)>subdivisionPrecision&&++f<subdivisionMaxIterations);return o}function cubicBezier(e,t,i,s){if(e===t&&i===s)return noop;const n=a=>binarySubdivide(a,0,1,e,i);return a=>a===0||a===1?a:calcBezier(n(a),t,s)}const easeIn=cubicBezier(.42,0,1,1),easeOut=cubicBezier(0,0,.58,1),easeInOut=cubicBezier(.42,0,.58,1),isEasingArray=e=>Array.isArray(e)&&typeof e[0]!="number",mirrorEasing=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,reverseEasing=e=>t=>1-e(1-t),circIn=e=>1-Math.sin(Math.acos(e)),circOut=reverseEasing(circIn),circInOut=mirrorEasing(circIn),backOut=cubicBezier(.33,1.53,.69,.99),backIn=reverseEasing(backOut),backInOut=mirrorEasing(backIn),anticipate=e=>(e*=2)<1?.5*backIn(e):.5*(2-Math.pow(2,-10*(e-1))),easingLookup={linear:noop,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate},easingDefinitionToFunction=e=>{if(Array.isArray(e)){invariant(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,i,s,n]=e;return cubicBezier(t,i,s,n)}else if(typeof e=="string")return invariant(easingLookup[e]!==void 0,`Invalid easing type '${e}'`),easingLookup[e];return e},combineFunctions=(e,t)=>i=>t(e(i)),pipe=(...e)=>e.reduce(combineFunctions),progress=(e,t,i)=>{const s=t-e;return s===0?1:(i-e)/s},mixNumber$1=(e,t,i)=>e+(t-e)*i;function hueToRgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function hslaToRgba({hue:e,saturation:t,lightness:i,alpha:s}){e/=360,t/=100,i/=100;let n=0,a=0,o=0;if(!t)n=a=o=i;else{const f=i<.5?i*(1+t):i+t-i*t,l=2*i-f;n=hueToRgb(l,f,e+1/3),a=hueToRgb(l,f,e),o=hueToRgb(l,f,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:s}}function mixImmediate(e,t){return i=>i>0?t:e}const mixLinearColor=(e,t,i)=>{const s=e*e,n=i*(t*t-s)+s;return n<0?0:Math.sqrt(n)},colorTypes=[hex,rgba,hsla],getColorType=e=>colorTypes.find(t=>t.test(e));function asRGBA(e){const t=getColorType(e);if(warning(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let i=t.parse(e);return t===hsla&&(i=hslaToRgba(i)),i}const mixColor=(e,t)=>{const i=asRGBA(e),s=asRGBA(t);if(!i||!s)return mixImmediate(e,t);const n={...i};return a=>(n.red=mixLinearColor(i.red,s.red,a),n.green=mixLinearColor(i.green,s.green,a),n.blue=mixLinearColor(i.blue,s.blue,a),n.alpha=mixNumber$1(i.alpha,s.alpha,a),rgba.transform(n))},invisibleValues=new Set(["none","hidden"]);function mixVisibility(e,t){return invisibleValues.has(e)?i=>i<=0?e:t:i=>i>=1?t:e}function mixNumber(e,t){return i=>mixNumber$1(e,t,i)}function getMixer(e){return typeof e=="number"?mixNumber:typeof e=="string"?isCSSVariableToken(e)?mixImmediate:color.test(e)?mixColor:mixComplex:Array.isArray(e)?mixArray:typeof e=="object"?color.test(e)?mixColor:mixObject:mixImmediate}function mixArray(e,t){const i=[...e],s=i.length,n=e.map((a,o)=>getMixer(a)(a,t[o]));return a=>{for(let o=0;o<s;o++)i[o]=n[o](a);return i}}function mixObject(e,t){const i={...e,...t},s={};for(const n in i)e[n]!==void 0&&t[n]!==void 0&&(s[n]=getMixer(e[n])(e[n],t[n]));return n=>{for(const a in s)i[a]=s[a](n);return i}}function matchOrder(e,t){var i;const s=[],n={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const o=t.types[a],f=e.indexes[o][n[o]],l=(i=e.values[f])!==null&&i!==void 0?i:0;s[a]=l,n[o]++}return s}const mixComplex=(e,t)=>{const i=complex.createTransformer(t),s=analyseComplexValue(e),n=analyseComplexValue(t);return s.indexes.var.length===n.indexes.var.length&&s.indexes.color.length===n.indexes.color.length&&s.indexes.number.length>=n.indexes.number.length?invisibleValues.has(e)&&!n.values.length||invisibleValues.has(t)&&!s.values.length?mixVisibility(e,t):pipe(mixArray(matchOrder(s,n),n.values),i):(warning(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),mixImmediate(e,t))};function mix(e,t,i){return typeof e=="number"&&typeof t=="number"&&typeof i=="number"?mixNumber$1(e,t,i):getMixer(e)(e,t)}function createMixers(e,t,i){const s=[],n=i||mix,a=e.length-1;for(let o=0;o<a;o++){let f=n(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||noop:t;f=pipe(l,f)}s.push(f)}return s}function interpolate(e,t,{clamp:i=!0,ease:s,mixer:n}={}){const a=e.length;if(invariant(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];if(a===2&&e[0]===e[1])return()=>t[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=createMixers(t,s,n),f=o.length,l=c=>{let u=0;if(f>1)for(;u<e.length-2&&!(c<e[u+1]);u++);const m=progress(e[u],e[u+1],c);return o[u](m)};return i?c=>l(clamp(e[0],e[a-1],c)):l}function fillOffset(e,t){const i=e[e.length-1];for(let s=1;s<=t;s++){const n=progress(0,t,s);e.push(mixNumber$1(i,1,n))}}function defaultOffset(e){const t=[0];return fillOffset(t,e.length-1),t}function convertOffsetToTimes(e,t){return e.map(i=>i*t)}function defaultEasing(e,t){return e.map(()=>t||easeInOut).splice(0,e.length-1)}function keyframes({duration:e=300,keyframes:t,times:i,ease:s="easeInOut"}){const n=isEasingArray(s)?s.map(easingDefinitionToFunction):easingDefinitionToFunction(s),a={done:!1,value:t[0]},o=convertOffsetToTimes(i&&i.length===t.length?i:defaultOffset(t),e),f=interpolate(o,t,{ease:Array.isArray(n)?n:defaultEasing(t,n)});return{calculatedDuration:e,next:l=>(a.value=f(l),a.done=l>=e,a)}}const maxGeneratorDuration=2e4;function calcGeneratorDuration(e){let t=0;const i=50;let s=e.next(t);for(;!s.done&&t<maxGeneratorDuration;)t+=i,s=e.next(t);return t>=maxGeneratorDuration?1/0:t}const frameloopDriver=e=>{const t=({timestamp:i})=>e(i);return{start:()=>frame.update(t,!0),stop:()=>cancelFrame(t),now:()=>frameData.isProcessing?frameData.timestamp:time.now()}},generators={decay:inertia,inertia,tween:keyframes,keyframes,spring},percentToProgress=e=>e/100;class MainThreadAnimation extends BaseAnimation{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:i,motionValue:s,element:n,keyframes:a}=this.options,o=(n==null?void 0:n.KeyframeResolver)||KeyframeResolver,f=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new o(a,f,i,s,n),this.resolver.scheduleResolve()}initPlayback(t){const{type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:a,velocity:o=0}=this.options,f=generators[i]||keyframes;let l,c;f!==keyframes&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&invariant(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),l=pipe(percentToProgress,mix(t[0],t[1])),t=[0,100]);const u=f({...this.options,keyframes:t});a==="mirror"&&(c=f({...this.options,keyframes:[...t].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=calcGeneratorDuration(u));const{calculatedDuration:m}=u,p=m+n,b=p*(s+1)-n;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:m,resolvedDuration:p,totalDuration:b}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,i=!1){const{resolved:s}=this;if(!s){const{keyframes:V}=this.options;return{done:!0,value:V[V.length-1]}}const{finalKeyframe:n,generator:a,mirroredGenerator:o,mapPercentToKeyframes:f,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:m}=s;if(this.startTime===null)return a.next(0);const{delay:p,repeat:b,repeatType:x,repeatDelay:y,onUpdate:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),i?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-p*(this.speed>=0?1:-1),C=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let d=this.currentTime,P=a;if(b){const V=Math.min(this.currentTime,u)/m;let F=Math.floor(V),$=V%1;!$&&V>=1&&($=1),$===1&&F--,F=Math.min(F,b+1),!!(F%2)&&(x==="reverse"?($=1-$,y&&($-=y/m)):x==="mirror"&&(P=o)),d=clamp(0,1,$)*m}const A=C?{done:!1,value:l[0]}:P.next(d);f&&(A.value=f(A.value));let{done:E}=A;!C&&c!==null&&(E=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return R&&n!==void 0&&(A.value=getFinalKeyframe(l,this.options,n)),T&&T(A.value),R&&this.finish(),A}get duration(){const{resolved:t}=this;return t?millisecondsToSeconds(t.calculatedDuration):0}get time(){return millisecondsToSeconds(this.currentTime)}set time(t){t=secondsToMilliseconds(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const i=this.playbackSpeed!==t;this.playbackSpeed=t,i&&(this.time=millisecondsToSeconds(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=frameloopDriver,onPlay:i,startTime:s}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),i&&i();const n=this.driver.now();this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=n):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const acceleratedValues=new Set(["opacity","clipPath","filter","transform"]),isBezierDefinition=e=>Array.isArray(e)&&typeof e[0]=="number";function isWaapiSupportedEasing(e){return!!(!e||typeof e=="string"&&e in supportedWaapiEasing||isBezierDefinition(e)||Array.isArray(e)&&e.every(isWaapiSupportedEasing))}const cubicBezierAsString=([e,t,i,s])=>`cubic-bezier(${e}, ${t}, ${i}, ${s})`,supportedWaapiEasing={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};function mapEasingToNativeEasingWithDefault(e){return mapEasingToNativeEasing(e)||supportedWaapiEasing.easeOut}function mapEasingToNativeEasing(e){if(e)return isBezierDefinition(e)?cubicBezierAsString(e):Array.isArray(e)?e.map(mapEasingToNativeEasingWithDefault):supportedWaapiEasing[e]}function animateStyle(e,t,i,{delay:s=0,duration:n=300,repeat:a=0,repeatType:o="loop",ease:f,times:l}={}){const c={[t]:i};l&&(c.offset=l);const u=mapEasingToNativeEasing(f);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:s,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:o==="reverse"?"alternate":"normal"})}const supportsWaapi=memo(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),sampleDelta=10,maxDuration=2e4;function requiresPregeneratedKeyframes(e){return e.type==="spring"||!isWaapiSupportedEasing(e.ease)}function pregenerateKeyframes(e,t){const i=new MainThreadAnimation({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:e[0]};const n=[];let a=0;for(;!s.done&&a<maxDuration;)s=i.sample(a),n.push(s.value),a+=sampleDelta;return{times:void 0,keyframes:n,duration:a-sampleDelta,ease:"linear"}}class AcceleratedAnimation extends BaseAnimation{constructor(t){super(t);const{name:i,motionValue:s,element:n,keyframes:a}=this.options;this.resolver=new DOMKeyframesResolver(a,(o,f)=>this.onKeyframesResolved(o,f),i,s,n),this.resolver.scheduleResolve()}initPlayback(t,i){var s;let{duration:n=300,times:a,ease:o,type:f,motionValue:l,name:c,startTime:u}=this.options;if(!(!((s=l.owner)===null||s===void 0)&&s.current))return!1;if(requiresPregeneratedKeyframes(this.options)){const{onComplete:p,onUpdate:b,motionValue:x,element:y,...T}=this.options,g=pregenerateKeyframes(t,T);t=g.keyframes,t.length===1&&(t[1]=t[0]),n=g.duration,a=g.times,o=g.ease,f="keyframes"}const m=animateStyle(l.owner.current,c,t,{...this.options,duration:n,times:a,ease:o});return m.startTime=u??this.calcStartTime(),this.pendingTimeline?(m.timeline=this.pendingTimeline,this.pendingTimeline=void 0):m.onfinish=()=>{const{onComplete:p}=this.options;l.set(getFinalKeyframe(t,this.options,i)),p&&p(),this.cancel(),this.resolveFinishedPromise()},{animation:m,duration:n,times:a,type:f,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:i}=t;return millisecondsToSeconds(i)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:i}=t;return millisecondsToSeconds(i.currentTime||0)}set time(t){const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.currentTime=secondsToMilliseconds(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:i}=t;return i.playbackRate}set speed(t){const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:i}=t;return i.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:i}=t;return i.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:i}=this;if(!i)return noop;const{animation:s}=i;s.timeline=t,s.onfinish=null}return noop}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:i}=t;i.playState==="finished"&&this.updateFinishedPromise(),i.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:i}=t;i.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:i,keyframes:s,duration:n,type:a,ease:o,times:f}=t;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:c,onUpdate:u,onComplete:m,element:p,...b}=this.options,x=new MainThreadAnimation({...b,keyframes:s,duration:n,type:a,ease:o,times:f,isGenerator:!0}),y=secondsToMilliseconds(this.time);c.setWithVelocity(x.sample(y-sampleDelta).value,x.sample(y).value,sampleDelta)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:i,name:s,repeatDelay:n,repeatType:a,damping:o,type:f}=t;return supportsWaapi()&&s&&acceleratedValues.has(s)&&i&&i.owner&&i.owner.current instanceof HTMLElement&&!i.owner.getProps().onUpdate&&!n&&a!=="mirror"&&o!==0&&f!=="inertia"}}function observeTimeline(e,t){let i;const s=()=>{const{currentTime:n}=t,o=(n===null?0:n.value)/100;i!==o&&e(o),i=o};return frame.update(s,!0),()=>cancelFrame(s)}const supportsScrollTimeline=memo(()=>window.ScrollTimeline!==void 0);class GroupPlaybackControls{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,i){return Promise.all(this.animations).then(t).catch(i)}getAll(t){return this.animations[0][t]}setAll(t,i){for(let s=0;s<this.animations.length;s++)this.animations[s][t]=i}attachTimeline(t){const i=this.animations.map(s=>{if(supportsScrollTimeline()&&s.attachTimeline)s.attachTimeline(t);else return s.pause(),observeTimeline(n=>{s.time=s.duration*n},t)});return()=>{i.forEach((s,n)=>{s&&s(),this.animations[n].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let i=0;i<this.animations.length;i++)t=Math.max(t,this.animations[i].duration);return t}runAll(t){this.animations.forEach(i=>i[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const animateMotionValue=(e,t,i,s={},n,a,o)=>f=>{const l=getValueTransition(s,e)||{},c=l.delay||s.delay||0;let{elapsed:u=0}=s;u=u-secondsToMilliseconds(c);let m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:b=>{t.set(b),l.onUpdate&&l.onUpdate(b)},onComplete:()=>{f(),l.onComplete&&l.onComplete(),o&&o()},onStop:o,name:e,motionValue:t,element:a?void 0:n};isTransitionDefined(l)||(m={...m,...getDefaultTransition(e,m)}),m.duration&&(m.duration=secondsToMilliseconds(m.duration)),m.repeatDelay&&(m.repeatDelay=secondsToMilliseconds(m.repeatDelay)),m.from!==void 0&&(m.keyframes[0]=m.from);let p=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(m.duration=0,m.delay===0&&(p=!0)),p&&!a&&t.get()!==void 0){const b=getFinalKeyframe(m.keyframes,l);if(b!==void 0)return frame.update(()=>{m.onUpdate(b),m.onComplete()}),new GroupPlaybackControls([])}return!a&&AcceleratedAnimation.supports(m)?new AcceleratedAnimation(m):new MainThreadAnimation(m)},isCustomValue=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),resolveFinalValueInKeyframes=e=>isKeyframesTarget(e)?e[e.length-1]||0:e;function addUniqueItem(e,t){e.indexOf(t)===-1&&e.push(t)}function removeItem(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}class SubscriptionManager{constructor(){this.subscriptions=[]}add(t){return addUniqueItem(this.subscriptions,t),()=>removeItem(this.subscriptions,t)}notify(t,i,s){const n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,i,s);else for(let a=0;a<n;a++){const o=this.subscriptions[a];o&&o(t,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const MAX_VELOCITY_DELTA=30,isFloat=e=>!isNaN(parseFloat(e));class MotionValue{constructor(t,i={}){this.version="11.5.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,n=!0)=>{const a=time.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=i.owner}setCurrent(t){this.current=t,this.updatedAt=time.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=isFloat(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&warnOnce(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new SubscriptionManager);const s=this.events[t].add(i);return t==="change"?()=>{s(),frame.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,i){this.passiveEffect=t,this.stopPassiveEffect=i}set(t,i=!0){!i||!this.passiveEffect?this.updateAndNotify(t,i):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-s}jump(t,i=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=time.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>MAX_VELOCITY_DELTA)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,MAX_VELOCITY_DELTA);return velocityPerSecond(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(t){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=t(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function motionValue(e,t){return new MotionValue(e,t)}function setMotionValue(e,t,i){e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,motionValue(i))}function setTarget(e,t){const i=resolveVariant(e,t);let{transitionEnd:s={},transition:n={},...a}=i||{};a={...a,...s};for(const o in a){const f=resolveFinalValueInKeyframes(a[o]);setMotionValue(e,o,f)}}const camelToDash=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),optimizedAppearDataId="framerAppearId",optimizedAppearDataAttribute="data-"+camelToDash(optimizedAppearDataId);function getOptimisedAppearId(e){return e.props[optimizedAppearDataAttribute]}function getWillChangeName(e){if(transformProps.has(e))return"transform";if(acceleratedValues.has(e))return camelToDash(e)}class WillChangeMotionValue extends MotionValue{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const i=getWillChangeName(t);if(!i)return;const s=this.counts.get(i)||0;this.counts.set(i,s+1),s===0&&(this.output.push(i),this.update());let n=!1;return()=>{if(n)return;n=!0;const a=this.counts.get(i)-1;this.counts.set(i,a),a===0&&(removeItem(this.output,i),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}const isMotionValue=e=>!!(e&&e.getVelocity);function isWillChangeMotionValue(e){return!!(isMotionValue(e)&&e.add)}function addValueToWillChange(e,t){var i;if(!e.applyWillChange)return;let s=e.getValue("willChange");if(!s&&!(!((i=e.props.style)===null||i===void 0)&&i.willChange)&&(s=new WillChangeMotionValue("auto"),e.addValue("willChange",s)),isWillChangeMotionValue(s))return s.add(t)}function shouldBlockAnimation({protectedKeys:e,needsAnimating:t},i){const s=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,s}function animateTarget(e,t,{delay:i=0,transitionOverride:s,type:n}={}){var a;let{transition:o=e.getDefaultTransition(),transitionEnd:f,...l}=t;s&&(o=s);const c=[],u=n&&e.animationState&&e.animationState.getState()[n];for(const m in l){const p=e.getValue(m,(a=e.latestValues[m])!==null&&a!==void 0?a:null),b=l[m];if(b===void 0||u&&shouldBlockAnimation(u,m))continue;const x={delay:i,...getValueTransition(o||{},m)};let y=!1;if(window.MotionHandoffAnimation){const g=getOptimisedAppearId(e);if(g){const C=window.MotionHandoffAnimation(g,m,frame);C!==null&&(x.startTime=C,y=!0)}}p.start(animateMotionValue(m,p,b,e.shouldReduceMotion&&transformProps.has(m)?{type:!1}:x,e,y,addValueToWillChange(e,m)));const T=p.animation;T&&c.push(T)}return f&&Promise.all(c).then(()=>{frame.update(()=>{f&&setTarget(e,f)})}),c}function animateVariant(e,t,i={}){var s;const n=resolveVariant(e,t,i.type==="exit"?(s=e.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(a=i.transitionOverride);const o=n?()=>Promise.all(animateTarget(e,n,i)):()=>Promise.resolve(),f=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:m,staggerDirection:p}=a;return animateChildren(e,t,u+c,m,p,i)}:()=>Promise.resolve(),{when:l}=a;if(l){const[c,u]=l==="beforeChildren"?[o,f]:[f,o];return c().then(()=>u())}else return Promise.all([o(),f(i.delay)])}function animateChildren(e,t,i=0,s=0,n=1,a){const o=[],f=(e.variantChildren.size-1)*s,l=n===1?(c=0)=>c*s:(c=0)=>f-c*s;return Array.from(e.variantChildren).sort(sortByTreeOrder).forEach((c,u)=>{c.notify("AnimationStart",t),o.push(animateVariant(c,t,{...a,delay:i+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(o)}function sortByTreeOrder(e,t){return e.sortNodePosition(t)}function animateVisualElement(e,t,i={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const n=t.map(a=>animateVariant(e,a,i));s=Promise.all(n)}else if(typeof t=="string")s=animateVariant(e,t,i);else{const n=typeof t=="function"?resolveVariant(e,t,i.custom):t;s=Promise.all(animateTarget(e,n,i))}return s.then(()=>{e.notify("AnimationComplete",t)})}const numVariantProps=variantProps.length;function getVariantContext(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?getVariantContext(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const t={};for(let i=0;i<numVariantProps;i++){const s=variantProps[i],n=e.props[s];(isVariantLabel(n)||n===!1)&&(t[s]=n)}return t}const reversePriorityOrder=[...variantPriorityOrder].reverse(),numAnimationTypes=variantPriorityOrder.length;function animateList(e){return t=>Promise.all(t.map(({animation:i,options:s})=>animateVisualElement(e,i,s)))}function createAnimationState(e){let t=animateList(e),i=createState(),s=!0;const n=l=>(c,u)=>{var m;const p=resolveVariant(e,u,l==="exit"?(m=e.presenceContext)===null||m===void 0?void 0:m.custom:void 0);if(p){const{transition:b,transitionEnd:x,...y}=p;c={...c,...y,...x}}return c};function a(l){t=l(e)}function o(l){const{props:c}=e,u=getVariantContext(e.parent)||{},m=[],p=new Set;let b={},x=1/0;for(let T=0;T<numAnimationTypes;T++){const g=reversePriorityOrder[T],C=i[g],d=c[g]!==void 0?c[g]:u[g],P=isVariantLabel(d),A=g===l?C.isActive:null;A===!1&&(x=T);let E=d===u[g]&&d!==c[g]&&P;if(E&&s&&e.manuallyAnimateOnMount&&(E=!1),C.protectedKeys={...b},!C.isActive&&A===null||!d&&!C.prevProp||isAnimationControls(d)||typeof d=="boolean")continue;const R=checkVariantsDidChange(C.prevProp,d);let V=R||g===l&&C.isActive&&!E&&P||T>x&&P,F=!1;const $=Array.isArray(d)?d:[d];let Z=$.reduce(n(g),{});A===!1&&(Z={});const{prevResolvedValues:B={}}=C,X={...B,...Z},q=_=>{V=!0,p.has(_)&&(F=!0,p.delete(_)),C.needsAnimating[_]=!0;const S=e.getValue(_);S&&(S.liveStyle=!1)};for(const _ in X){const S=Z[_],M=B[_];if(b.hasOwnProperty(_))continue;let I=!1;isKeyframesTarget(S)&&isKeyframesTarget(M)?I=!shallowCompare(S,M):I=S!==M,I?S!=null?q(_):p.add(_):S!==void 0&&p.has(_)?q(_):C.protectedKeys[_]=!0}C.prevProp=d,C.prevResolvedValues=Z,C.isActive&&(b={...b,...Z}),s&&e.blockInitialAnimation&&(V=!1),V&&(!(E&&R)||F)&&m.push(...$.map(_=>({animation:_,options:{type:g}})))}if(p.size){const T={};p.forEach(g=>{const C=e.getBaseTarget(g),d=e.getValue(g);d&&(d.liveStyle=!0),T[g]=C??null}),m.push({animation:T})}let y=!!m.length;return s&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),s=!1,y?t(m):Promise.resolve()}function f(l,c){var u;if(i[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(p=>{var b;return(b=p.animationState)===null||b===void 0?void 0:b.setActive(l,c)}),i[l].isActive=c;const m=o(l);for(const p in i)i[p].protectedKeys={};return m}return{animateChanges:o,setActive:f,setAnimateFunction:a,getState:()=>i,reset:()=>{i=createState(),s=!0}}}function checkVariantsDidChange(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!shallowCompare(t,e):!1}function createTypeState(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function createState(){return{animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()}}class Feature{constructor(t){this.isMounted=!1,this.node=t}update(){}}class AnimationFeature extends Feature{constructor(t){super(t),t.animationState||(t.animationState=createAnimationState(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();isAnimationControls(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:i}=this.node.prevProps||{};t!==i&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let id$1=0;class ExitAnimationFeature extends Feature{constructor(){super(...arguments),this.id=id$1++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;const n=this.node.animationState.setActive("exit",!t);i&&!t&&n.then(()=>i(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const animations={animation:{Feature:AnimationFeature},exit:{Feature:ExitAnimationFeature}},isPrimaryPointer=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function extractEventInfo(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const addPointerInfo=e=>t=>isPrimaryPointer(t)&&e(t,extractEventInfo(t));function addDomEvent(e,t,i,s={passive:!0}){return e.addEventListener(t,i,s),()=>e.removeEventListener(t,i)}function addPointerEvent(e,t,i,s){return addDomEvent(e,t,addPointerInfo(i),s)}const distance=(e,t)=>Math.abs(e-t);function distance2D(e,t){const i=distance(e.x,t.x),s=distance(e.y,t.y);return Math.sqrt(i**2+s**2)}class PanSession{constructor(t,i,{transformPagePoint:s,contextWindow:n,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=getPanInfo(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,b=distance2D(m.offset,{x:0,y:0})>=3;if(!p&&!b)return;const{point:x}=m,{timestamp:y}=frameData;this.history.push({...x,timestamp:y});const{onStart:T,onMove:g}=this.handlers;p||(T&&T(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,m)},this.handlePointerMove=(m,p)=>{this.lastMoveEvent=m,this.lastMoveEventInfo=transformPoint(p,this.transformPagePoint),frame.update(this.updatePoint,!0)},this.handlePointerUp=(m,p)=>{this.end();const{onEnd:b,onSessionEnd:x,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=getPanInfo(m.type==="pointercancel"?this.lastMoveEventInfo:transformPoint(p,this.transformPagePoint),this.history);this.startEvent&&b&&b(m,T),x&&x(m,T)},!isPrimaryPointer(t))return;this.dragSnapToOrigin=a,this.handlers=i,this.transformPagePoint=s,this.contextWindow=n||window;const o=extractEventInfo(t),f=transformPoint(o,this.transformPagePoint),{point:l}=f,{timestamp:c}=frameData;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=i;u&&u(t,getPanInfo(f,this.history)),this.removeListeners=pipe(addPointerEvent(this.contextWindow,"pointermove",this.handlePointerMove),addPointerEvent(this.contextWindow,"pointerup",this.handlePointerUp),addPointerEvent(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),cancelFrame(this.updatePoint)}}function transformPoint(e,t){return t?{point:t(e.point)}:e}function subtractPoint(e,t){return{x:e.x-t.x,y:e.y-t.y}}function getPanInfo({point:e},t){return{point:e,delta:subtractPoint(e,lastDevicePoint(t)),offset:subtractPoint(e,startDevicePoint(t)),velocity:getVelocity(t,.1)}}function startDevicePoint(e){return e[0]}function lastDevicePoint(e){return e[e.length-1]}function getVelocity(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,s=null;const n=lastDevicePoint(e);for(;i>=0&&(s=e[i],!(n.timestamp-s.timestamp>secondsToMilliseconds(t)));)i--;if(!s)return{x:0,y:0};const a=millisecondsToSeconds(n.timestamp-s.timestamp);if(a===0)return{x:0,y:0};const o={x:(n.x-s.x)/a,y:(n.y-s.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function createLock(e){let t=null;return()=>{const i=()=>{t=null};return t===null?(t=e,i):!1}}const globalHorizontalLock=createLock("dragHorizontal"),globalVerticalLock=createLock("dragVertical");function getGlobalLock(e){let t=!1;if(e==="y")t=globalVerticalLock();else if(e==="x")t=globalHorizontalLock();else{const i=globalHorizontalLock(),s=globalVerticalLock();i&&s?t=()=>{i(),s()}:(i&&i(),s&&s())}return t}function isDragActive(){const e=getGlobalLock(!0);return e?(e(),!1):!0}function isRefObject(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const SCALE_PRECISION=1e-4,SCALE_MIN=1-SCALE_PRECISION,SCALE_MAX=1+SCALE_PRECISION,TRANSLATE_PRECISION=.01,TRANSLATE_MIN=0-TRANSLATE_PRECISION,TRANSLATE_MAX=0+TRANSLATE_PRECISION;function calcLength(e){return e.max-e.min}function isNear(e,t,i){return Math.abs(e-t)<=i}function calcAxisDelta(e,t,i,s=.5){e.origin=s,e.originPoint=mixNumber$1(t.min,t.max,e.origin),e.scale=calcLength(i)/calcLength(t),e.translate=mixNumber$1(i.min,i.max,e.origin)-e.originPoint,(e.scale>=SCALE_MIN&&e.scale<=SCALE_MAX||isNaN(e.scale))&&(e.scale=1),(e.translate>=TRANSLATE_MIN&&e.translate<=TRANSLATE_MAX||isNaN(e.translate))&&(e.translate=0)}function calcBoxDelta(e,t,i,s){calcAxisDelta(e.x,t.x,i.x,s?s.originX:void 0),calcAxisDelta(e.y,t.y,i.y,s?s.originY:void 0)}function calcRelativeAxis(e,t,i){e.min=i.min+t.min,e.max=e.min+calcLength(t)}function calcRelativeBox(e,t,i){calcRelativeAxis(e.x,t.x,i.x),calcRelativeAxis(e.y,t.y,i.y)}function calcRelativeAxisPosition(e,t,i){e.min=t.min-i.min,e.max=e.min+calcLength(t)}function calcRelativePosition(e,t,i){calcRelativeAxisPosition(e.x,t.x,i.x),calcRelativeAxisPosition(e.y,t.y,i.y)}function applyConstraints(e,{min:t,max:i},s){return t!==void 0&&e<t?e=s?mixNumber$1(t,e,s.min):Math.max(e,t):i!==void 0&&e>i&&(e=s?mixNumber$1(i,e,s.max):Math.min(e,i)),e}function calcRelativeAxisConstraints(e,t,i){return{min:t!==void 0?e.min+t:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function calcRelativeConstraints(e,{top:t,left:i,bottom:s,right:n}){return{x:calcRelativeAxisConstraints(e.x,i,n),y:calcRelativeAxisConstraints(e.y,t,s)}}function calcViewportAxisConstraints(e,t){let i=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,s]=[s,i]),{min:i,max:s}}function calcViewportConstraints(e,t){return{x:calcViewportAxisConstraints(e.x,t.x),y:calcViewportAxisConstraints(e.y,t.y)}}function calcOrigin$1(e,t){let i=.5;const s=calcLength(e),n=calcLength(t);return n>s?i=progress(t.min,t.max-s,e.min):s>n&&(i=progress(e.min,e.max-n,t.min)),clamp(0,1,i)}function rebaseAxisConstraints(e,t){const i={};return t.min!==void 0&&(i.min=t.min-e.min),t.max!==void 0&&(i.max=t.max-e.min),i}const defaultElastic=.35;function resolveDragElastic(e=defaultElastic){return e===!1?e=0:e===!0&&(e=defaultElastic),{x:resolveAxisElastic(e,"left","right"),y:resolveAxisElastic(e,"top","bottom")}}function resolveAxisElastic(e,t,i){return{min:resolvePointElastic(e,t),max:resolvePointElastic(e,i)}}function resolvePointElastic(e,t){return typeof e=="number"?e:e[t]||0}const createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()});function eachAxis(e){return[e("x"),e("y")]}function convertBoundingBoxToBox({top:e,left:t,right:i,bottom:s}){return{x:{min:t,max:i},y:{min:e,max:s}}}function convertBoxToBoundingBox({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function transformBoxPoints(e,t){if(!t)return e;const i=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function isIdentityScale(e){return e===void 0||e===1}function hasScale({scale:e,scaleX:t,scaleY:i}){return!isIdentityScale(e)||!isIdentityScale(t)||!isIdentityScale(i)}function hasTransform(e){return hasScale(e)||has2DTranslate(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function has2DTranslate(e){return is2DTranslate(e.x)||is2DTranslate(e.y)}function is2DTranslate(e){return e&&e!=="0%"}function scalePoint(e,t,i){const s=e-i,n=t*s;return i+n}function applyPointDelta(e,t,i,s,n){return n!==void 0&&(e=scalePoint(e,n,s)),scalePoint(e,i,s)+t}function applyAxisDelta(e,t=0,i=1,s,n){e.min=applyPointDelta(e.min,t,i,s,n),e.max=applyPointDelta(e.max,t,i,s,n)}function applyBoxDelta(e,{x:t,y:i}){applyAxisDelta(e.x,t.translate,t.scale,t.originPoint),applyAxisDelta(e.y,i.translate,i.scale,i.originPoint)}const TREE_SCALE_SNAP_MIN=.999999999999,TREE_SCALE_SNAP_MAX=1.0000000000001;function applyTreeDeltas(e,t,i,s=!1){const n=i.length;if(!n)return;t.x=t.y=1;let a,o;for(let f=0;f<n;f++){a=i[f],o=a.projectionDelta;const{visualElement:l}=a.options;l&&l.props.style&&l.props.style.display==="contents"||(s&&a.options.layoutScroll&&a.scroll&&a!==a.root&&transformBox(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,applyBoxDelta(e,o)),s&&hasTransform(a.latestValues)&&transformBox(e,a.latestValues))}t.x<TREE_SCALE_SNAP_MAX&&t.x>TREE_SCALE_SNAP_MIN&&(t.x=1),t.y<TREE_SCALE_SNAP_MAX&&t.y>TREE_SCALE_SNAP_MIN&&(t.y=1)}function translateAxis(e,t){e.min=e.min+t,e.max=e.max+t}function transformAxis(e,t,i,s,n=.5){const a=mixNumber$1(e.min,e.max,n);applyAxisDelta(e,t,i,a,s)}function transformBox(e,t){transformAxis(e.x,t.x,t.scaleX,t.scale,t.originX),transformAxis(e.y,t.y,t.scaleY,t.scale,t.originY)}function measureViewportBox(e,t){return convertBoundingBoxToBox(transformBoxPoints(e.getBoundingClientRect(),t))}function measurePageBox(e,t,i){const s=measureViewportBox(e,i),{scroll:n}=t;return n&&(translateAxis(s.x,n.offset.x),translateAxis(s.y,n.offset.y)),s}const getContextWindow=({current:e})=>e?e.ownerDocument.defaultView:null,elementDragControls=new WeakMap;class VisualElementDragControls{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=createBox(),this.visualElement=t}start(t,{snapToCursor:i=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const n=u=>{const{dragSnapToOrigin:m}=this.getProps();m?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(extractEventInfo(u,"page").point)},a=(u,m)=>{var p;const{drag:b,dragPropagation:x,onDragStart:y}=this.getProps();if(b&&!x&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=getGlobalLock(b),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eachAxis(g=>{let C=this.getAxisMotionValue(g).get()||0;if(percent.test(C)){const{projection:d}=this.visualElement;if(d&&d.layout){const P=d.layout.layoutBox[g];P&&(C=calcLength(P)*(parseFloat(C)/100))}}this.originPoint[g]=C}),y&&frame.postRender(()=>y(u,m)),(p=this.removeWillChange)===null||p===void 0||p.call(this),this.removeWillChange=addValueToWillChange(this.visualElement,"transform");const{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},o=(u,m)=>{const{dragPropagation:p,dragDirectionLock:b,onDirectionLock:x,onDrag:y}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:T}=m;if(b&&this.currentDirection===null){this.currentDirection=getCurrentDirection(T),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",m.point,T),this.updateAxis("y",m.point,T),this.visualElement.render(),y&&y(u,m)},f=(u,m)=>this.stop(u,m),l=()=>eachAxis(u=>{var m;return this.getAnimationState(u)==="paused"&&((m=this.getAxisMotionValue(u).animation)===null||m===void 0?void 0:m.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new PanSession(t,{onSessionStart:n,onStart:a,onMove:o,onSessionEnd:f,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:getContextWindow(this.visualElement)})}stop(t,i){var s;(s=this.removeWillChange)===null||s===void 0||s.call(this);const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:a}=i;this.startAnimation(a);const{onDragEnd:o}=this.getProps();o&&frame.postRender(()=>o(t,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:i}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(t,i,s){const{drag:n}=this.getProps();if(!s||!shouldDrag(t,n,this.currentDirection))return;const a=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=applyConstraints(o,this.constraints[t],this.elastic[t])),a.set(o)}resolveConstraints(){var t;const{dragConstraints:i,dragElastic:s}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;i&&isRefObject(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&n?this.constraints=calcRelativeConstraints(n.layoutBox,i):this.constraints=!1,this.elastic=resolveDragElastic(s),a!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=rebaseAxisConstraints(n.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!isRefObject(t))return!1;const s=t.current;invariant(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const a=measurePageBox(s,n.root,this.visualElement.getTransformPagePoint());let o=calcViewportConstraints(n.layout.layoutBox,a);if(i){const f=i(convertBoxToBoundingBox(o));this.hasMutatedConstraints=!!f,f&&(o=convertBoundingBoxToBox(f))}return o}startAnimation(t){const{drag:i,dragMomentum:s,dragElastic:n,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:f}=this.getProps(),l=this.constraints||{},c=eachAxis(u=>{if(!shouldDrag(u,i,this.currentDirection))return;let m=l&&l[u]||{};o&&(m={min:0,max:0});const p=n?200:1e6,b=n?40:1e7,x={type:"inertia",velocity:s?t[u]:0,bounceStiffness:p,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...a,...m};return this.startAxisValueAnimation(u,x)});return Promise.all(c).then(f)}startAxisValueAnimation(t,i){const s=this.getAxisMotionValue(t);return s.start(animateMotionValue(t,s,0,i,this.visualElement,!1,addValueToWillChange(this.visualElement,t)))}stopAnimation(){eachAxis(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){eachAxis(t=>{var i;return(i=this.getAxisMotionValue(t).animation)===null||i===void 0?void 0:i.pause()})}getAnimationState(t){var i;return(i=this.getAxisMotionValue(t).animation)===null||i===void 0?void 0:i.state}getAxisMotionValue(t){const i=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps(),n=s[i];return n||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){eachAxis(i=>{const{drag:s}=this.getProps();if(!shouldDrag(i,s,this.currentDirection))return;const{projection:n}=this.visualElement,a=this.getAxisMotionValue(i);if(n&&n.layout){const{min:o,max:f}=n.layout.layoutBox[i];a.set(t[i]-mixNumber$1(o,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!isRefObject(i)||!s||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};eachAxis(o=>{const f=this.getAxisMotionValue(o);if(f&&this.constraints!==!1){const l=f.get();n[o]=calcOrigin$1({min:l,max:l},this.constraints[o])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),eachAxis(o=>{if(!shouldDrag(o,t,null))return;const f=this.getAxisMotionValue(o),{min:l,max:c}=this.constraints[o];f.set(mixNumber$1(l,c,n[o]))})}addListeners(){if(!this.visualElement.current)return;elementDragControls.set(this.visualElement,this);const t=this.visualElement.current,i=addPointerEvent(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),s=()=>{const{dragConstraints:l}=this.getProps();isRefObject(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,a=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),frame.read(s);const o=addDomEvent(window,"resize",()=>this.scalePositionWithinConstraints()),f=n.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(eachAxis(u=>{const m=this.getAxisMotionValue(u);m&&(this.originPoint[u]+=l[u].translate,m.set(m.get()+l[u].translate))}),this.visualElement.render())});return()=>{o(),i(),a(),f&&f()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:n=!1,dragConstraints:a=!1,dragElastic:o=defaultElastic,dragMomentum:f=!0}=t;return{...t,drag:i,dragDirectionLock:s,dragPropagation:n,dragConstraints:a,dragElastic:o,dragMomentum:f}}}function shouldDrag(e,t,i){return(t===!0||t===e)&&(i===null||i===e)}function getCurrentDirection(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}class DragGesture extends Feature{constructor(t){super(t),this.removeGroupControls=noop,this.removeListeners=noop,this.controls=new VisualElementDragControls(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||noop}unmount(){this.removeGroupControls(),this.removeListeners()}}const asyncHandler=e=>(t,i)=>{e&&frame.postRender(()=>e(t,i))};class PanGesture extends Feature{constructor(){super(...arguments),this.removePointerDownListener=noop}onPointerDown(t){this.session=new PanSession(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:getContextWindow(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:i,onPan:s,onPanEnd:n}=this.node.getProps();return{onSessionStart:asyncHandler(t),onStart:asyncHandler(i),onMove:s,onEnd:(a,o)=>{delete this.session,n&&frame.postRender(()=>n(a,o))}}}mount(){this.removePointerDownListener=addPointerEvent(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const PresenceContext=React.createContext(null);function usePresence(){const e=React.useContext(PresenceContext);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:i,register:s}=e,n=React.useId();React.useEffect(()=>s(n),[]);const a=React.useCallback(()=>i&&i(n),[n,i]);return!t&&i?[!1,a]:[!0]}const LayoutGroupContext=React.createContext({}),SwitchLayoutGroupContext=React.createContext({}),globalProjectionState={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function pixelsToPercent(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const correctBorderRadius={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(px.test(e))e=parseFloat(e);else return e;const i=pixelsToPercent(e,t.target.x),s=pixelsToPercent(e,t.target.y);return`${i}% ${s}%`}},correctBoxShadow={correct:(e,{treeScale:t,projectionDelta:i})=>{const s=e,n=complex.parse(e);if(n.length>5)return s;const a=complex.createTransformer(e),o=typeof n[0]!="number"?1:0,f=i.x.scale*t.x,l=i.y.scale*t.y;n[0+o]/=f,n[1+o]/=l;const c=mixNumber$1(f,l,.5);return typeof n[2+o]=="number"&&(n[2+o]/=c),typeof n[3+o]=="number"&&(n[3+o]/=c),a(n)}},scaleCorrectors={};function addScaleCorrector(e){Object.assign(scaleCorrectors,e)}const{schedule:microtask,cancel:cancelMicrotask}=createRenderBatcher(queueMicrotask,!1);class MeasureLayoutWithContext extends React.Component{componentDidMount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:s,layoutId:n}=this.props,{projection:a}=t;addScaleCorrector(defaultScaleCorrectors),a&&(i.group&&i.group.add(a),s&&s.register&&n&&s.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:i,visualElement:s,drag:n,isPresent:a}=this.props,o=s.projection;return o&&(o.isPresent=a,n||t.layoutDependency!==i||i===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?o.promote():o.relegate()||frame.postRender(()=>{const f=o.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(n),s&&s.deregister&&s.deregister(n))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function MeasureLayout(e){const[t,i]=usePresence(),s=React.useContext(LayoutGroupContext);return jsxRuntime.jsx(MeasureLayoutWithContext,{...e,layoutGroup:s,switchLayoutGroup:React.useContext(SwitchLayoutGroupContext),isPresent:t,safeToRemove:i})}const defaultScaleCorrectors={borderRadius:{...correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:correctBorderRadius,borderTopRightRadius:correctBorderRadius,borderBottomLeftRadius:correctBorderRadius,borderBottomRightRadius:correctBorderRadius,boxShadow:correctBoxShadow},borders=["TopLeft","TopRight","BottomLeft","BottomRight"],numBorders=borders.length,asNumber=e=>typeof e=="string"?parseFloat(e):e,isPx=e=>typeof e=="number"||px.test(e);function mixValues(e,t,i,s,n,a){n?(e.opacity=mixNumber$1(0,i.opacity!==void 0?i.opacity:1,easeCrossfadeIn(s)),e.opacityExit=mixNumber$1(t.opacity!==void 0?t.opacity:1,0,easeCrossfadeOut(s))):a&&(e.opacity=mixNumber$1(t.opacity!==void 0?t.opacity:1,i.opacity!==void 0?i.opacity:1,s));for(let o=0;o<numBorders;o++){const f=`border${borders[o]}Radius`;let l=getRadius(t,f),c=getRadius(i,f);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||isPx(l)===isPx(c)?(e[f]=Math.max(mixNumber$1(asNumber(l),asNumber(c),s),0),(percent.test(c)||percent.test(l))&&(e[f]+="%")):e[f]=c}(t.rotate||i.rotate)&&(e.rotate=mixNumber$1(t.rotate||0,i.rotate||0,s))}function getRadius(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const easeCrossfadeIn=compress(0,.5,circOut),easeCrossfadeOut=compress(.5,.95,noop);function compress(e,t,i){return s=>s<e?0:s>t?1:i(progress(e,t,s))}function copyAxisInto(e,t){e.min=t.min,e.max=t.max}function copyBoxInto(e,t){copyAxisInto(e.x,t.x),copyAxisInto(e.y,t.y)}function copyAxisDeltaInto(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function removePointDelta(e,t,i,s,n){return e-=t,e=scalePoint(e,1/i,s),n!==void 0&&(e=scalePoint(e,1/n,s)),e}function removeAxisDelta(e,t=0,i=1,s=.5,n,a=e,o=e){if(percent.test(t)&&(t=parseFloat(t),t=mixNumber$1(o.min,o.max,t/100)-o.min),typeof t!="number")return;let f=mixNumber$1(a.min,a.max,s);e===a&&(f-=t),e.min=removePointDelta(e.min,t,i,f,n),e.max=removePointDelta(e.max,t,i,f,n)}function removeAxisTransforms(e,t,[i,s,n],a,o){removeAxisDelta(e,t[i],t[s],t[n],t.scale,a,o)}const xKeys=["x","scaleX","originX"],yKeys=["y","scaleY","originY"];function removeBoxTransforms(e,t,i,s){removeAxisTransforms(e.x,t,xKeys,i?i.x:void 0,s?s.x:void 0),removeAxisTransforms(e.y,t,yKeys,i?i.y:void 0,s?s.y:void 0)}function isAxisDeltaZero(e){return e.translate===0&&e.scale===1}function isDeltaZero(e){return isAxisDeltaZero(e.x)&&isAxisDeltaZero(e.y)}function axisEquals(e,t){return e.min===t.min&&e.max===t.max}function boxEquals(e,t){return axisEquals(e.x,t.x)&&axisEquals(e.y,t.y)}function axisEqualsRounded(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function boxEqualsRounded(e,t){return axisEqualsRounded(e.x,t.x)&&axisEqualsRounded(e.y,t.y)}function aspectRatio(e){return calcLength(e.x)/calcLength(e.y)}function axisDeltaEquals(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class NodeStack{constructor(){this.members=[]}add(t){addUniqueItem(this.members,t),t.scheduleRender()}remove(t){if(removeItem(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(t){const i=this.members.findIndex(n=>t===n);if(i===0)return!1;let s;for(let n=i;n>=0;n--){const a=this.members[n];if(a.isPresent!==!1){s=a;break}}return s?(this.promote(s),!0):!1}promote(t,i){const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.instance&&s.scheduleRender(),t.scheduleRender(),t.resumeFrom=s,i&&(t.resumeFrom.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:n}=t.options;n===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:i,resumingFrom:s}=t;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function buildProjectionTransform(e,t,i){let s="";const n=e.x.translate/t.x,a=e.y.translate/t.y,o=(i==null?void 0:i.z)||0;if((n||a||o)&&(s=`translate3d(${n}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),i){const{transformPerspective:c,rotate:u,rotateX:m,rotateY:p,skewX:b,skewY:x}=i;c&&(s=`perspective(${c}px) ${s}`),u&&(s+=`rotate(${u}deg) `),m&&(s+=`rotateX(${m}deg) `),p&&(s+=`rotateY(${p}deg) `),b&&(s+=`skewX(${b}deg) `),x&&(s+=`skewY(${x}deg) `)}const f=e.x.scale*t.x,l=e.y.scale*t.y;return(f!==1||l!==1)&&(s+=`scale(${f}, ${l})`),s||"none"}const compareByDepth=(e,t)=>e.depth-t.depth;class FlatTree{constructor(){this.children=[],this.isDirty=!1}add(t){addUniqueItem(this.children,t),this.isDirty=!0}remove(t){removeItem(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEach(t)}}function resolveMotionValue(e){const t=isMotionValue(e)?e.get():e;return isCustomValue(t)?t.toValue():t}function delay(e,t){const i=time.now(),s=({timestamp:n})=>{const a=n-i;a>=t&&(cancelFrame(s),e(a-t))};return frame.read(s,!0),()=>cancelFrame(s)}function isSVGElement(e){return e instanceof SVGElement&&e.tagName!=="svg"}function animateSingleValue(e,t,i){const s=isMotionValue(e)?e:motionValue(e);return s.start(animateMotionValue("",s,t,i)),s.animation}const metrics={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},isDebug=typeof window<"u"&&window.MotionDebug!==void 0,transformAxes=["","X","Y","Z"],hiddenVisibility={visibility:"hidden"},animationTarget=1e3;let id=0;function resetDistortingTransform(e,t,i,s){const{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),s&&(s[e]=0))}function cancelTreeOptimisedTransformAnimations(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const i=getOptimisedAppearId(t);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:n,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",frame,!(n||a))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(s)}function createProjectionNode$1({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:s,resetTransform:n}){return class{constructor(o={},f=t==null?void 0:t()){this.id=id++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,isDebug&&(metrics.totalNodes=metrics.resolvedTargetDeltas=metrics.recalculatedProjection=0),this.nodes.forEach(propagateDirtyNodes),this.nodes.forEach(resolveTargetDelta),this.nodes.forEach(calcProjection),this.nodes.forEach(cleanDirtyNodes),isDebug&&window.MotionDebug.record(metrics)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(o,f){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new SubscriptionManager),this.eventHandlers.get(o).add(f)}notifyListeners(o,...f){const l=this.eventHandlers.get(o);l&&l.notify(...f)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,f=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=isSVGElement(o),this.instance=o;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),f&&(c||l)&&(this.isLayoutDirty=!0),e){let m;const p=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=delay(p,250),globalProjectionState.hasAnimatedSinceResize&&(globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:p,hasRelativeTargetChanged:b,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||u.getDefaultTransition()||defaultLayoutTransition,{onLayoutAnimationStart:T,onLayoutAnimationComplete:g}=u.getProps(),C=!this.targetLayout||!boxEqualsRounded(this.targetLayout,x)||b,d=!p&&b;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||d||p&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,d);const P={...getValueTransition(y,"layout"),onPlay:T,onComplete:g};(u.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P)}else p||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,cancelFrame(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(resetSkewAndRotation),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const m=this.path[u];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}const{layoutId:f,layout:l}=this.options;if(f===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(clearMeasurements);return}this.isUpdating||this.nodes.forEach(clearIsLayoutDirty),this.isUpdating=!1,this.nodes.forEach(resetTransformStyle),this.nodes.forEach(updateLayout),this.nodes.forEach(notifyLayoutUpdate),this.clearAllSnapshots();const f=time.now();frameData.delta=clamp(0,1e3/60,f-frameData.timestamp),frameData.timestamp=f,frameData.isProcessing=!0,steps.update.process(frameData),steps.preRender.process(frameData),steps.render.process(frameData),frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(clearSnapshot),this.sharedNodes.forEach(removeLeadSnapshots)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=createBox(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(f=!1),f){const l=s(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!n)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!isDeltaZero(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;o&&(f||hasTransform(this.latestValues)||u)&&(n(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const f=this.measurePageBox();let l=this.removeElementScroll(f);return o&&(l=this.removeTransform(l)),roundBox(l),{animationId:this.root.animationId,measuredBox:f,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:f}=this.options;if(!f)return createBox();const l=f.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(checkNodeWasScrollRoot))){const{scroll:u}=this.root;u&&(translateAxis(l.x,u.offset.x),translateAxis(l.y,u.offset.y))}return l}removeElementScroll(o){var f;const l=createBox();if(copyBoxInto(l,o),!((f=this.scroll)===null||f===void 0)&&f.wasRoot)return l;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:m,options:p}=u;u!==this.root&&m&&p.layoutScroll&&(m.wasRoot&©BoxInto(l,o),translateAxis(l.x,m.offset.x),translateAxis(l.y,m.offset.y))}return l}applyTransform(o,f=!1){const l=createBox();copyBoxInto(l,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];!f&&u.options.layoutScroll&&u.scroll&&u!==u.root&&transformBox(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),hasTransform(u.latestValues)&&transformBox(l,u.latestValues)}return hasTransform(this.latestValues)&&transformBox(l,this.latestValues),l}removeTransform(o){const f=createBox();copyBoxInto(f,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!hasTransform(c.latestValues))continue;hasScale(c.latestValues)&&c.updateSnapshot();const u=createBox(),m=c.measurePageBox();copyBoxInto(u,m),removeBoxTransforms(f,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return hasTransform(this.latestValues)&&removeBoxTransforms(f,this.latestValues),f}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var f;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((f=this.parent)===null||f===void 0)&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:p}=this.options;if(!(!this.layout||!(m||p))){if(this.resolvedRelativeTargetAt=frameData.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=createBox(),this.targetWithTransforms=createBox()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),calcRelativeBox(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):copyBoxInto(this.target,this.layout.layoutBox),applyBoxDelta(this.target,this.targetDelta)):copyBoxInto(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,this.target,b.target),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}isDebug&&metrics.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||hasScale(this.parent.latestValues)||has2DTranslate(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const f=this.getLead(),l=!!this.resumingFrom||this!==f;let c=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===frameData.timestamp&&(c=!1),c)return;const{layout:u,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||m))return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,b=this.treeScale.y;applyTreeDeltas(this.layoutCorrected,this.treeScale,this.path,l),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=createBox());const{target:x}=f;if(!x){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(copyAxisDeltaInto(this.prevProjectionDelta.x,this.projectionDelta.x),copyAxisDeltaInto(this.prevProjectionDelta.y,this.projectionDelta.y)),calcBoxDelta(this.projectionDelta,this.layoutCorrected,x,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==b||!axisDeltaEquals(this.projectionDelta.x,this.prevProjectionDelta.x)||!axisDeltaEquals(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x)),isDebug&&metrics.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var f;if((f=this.options.visualElement)===null||f===void 0||f.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=createDelta(),this.projectionDelta=createDelta(),this.projectionDeltaWithTransform=createDelta()}setAnimationOrigin(o,f=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},m=createDelta();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const p=createBox(),b=l?l.source:void 0,x=this.layout?this.layout.source:void 0,y=b!==x,T=this.getStack(),g=!T||T.members.length<=1,C=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0;let d;this.mixTargetDelta=P=>{const A=P/1e3;mixAxisDelta(m.x,o.x,A),mixAxisDelta(m.y,o.y,A),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(calcRelativePosition(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),mixBox(this.relativeTarget,this.relativeTargetOrigin,p,A),d&&boxEquals(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d=createBox()),copyBoxInto(d,this.relativeTarget)),y&&(this.animationValues=u,mixValues(u,c,this.latestValues,A,C,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(cancelFrame(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=frame.update(()=>{globalProjectionState.hasAnimatedSinceResize=!0,this.currentAnimation=animateSingleValue(0,animationTarget,{...o,onUpdate:f=>{this.mixTargetDelta(f),o.onUpdate&&o.onUpdate(f)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(animationTarget),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:f,target:l,layout:c,latestValues:u}=o;if(!(!f||!l||!c)){if(this!==o&&this.layout&&c&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||createBox();const m=calcLength(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+m;const p=calcLength(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+p}copyBoxInto(f,l),transformBox(f,u),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,f,u)}}registerSharedNode(o,f){this.sharedNodes.has(o)||this.sharedNodes.set(o,new NodeStack),this.sharedNodes.get(o).add(f);const c=f.options.initialPromotionConfig;f.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(f):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:f}=this.options;return f?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:f}=this.options;return f?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:f,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let f=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(f=!0),!f)return;const c={};l.z&&resetDistortingTransform("z",o,c,this.animationValues);for(let u=0;u<transformAxes.length;u++)resetDistortingTransform(`rotate${transformAxes[u]}`,o,c,this.animationValues),resetDistortingTransform(`skew${transformAxes[u]}`,o,c,this.animationValues);o.render();for(const u in c)o.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);o.scheduleRender()}getProjectionStyles(o){var f,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return hiddenVisibility;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=resolveMotionValue(o==null?void 0:o.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){const y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=resolveMotionValue(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!hasTransform(this.latestValues)&&(y.transform=u?u({},""):"none",this.hasProjected=!1),y}const p=m.animationValues||m.latestValues;this.applyTransformsToTarget(),c.transform=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,p),u&&(c.transform=u(p,c.transform));const{x:b,y:x}=this.projectionDelta;c.transformOrigin=`${b.origin*100}% ${x.origin*100}% 0`,m.animationValues?c.opacity=m===this?(l=(f=p.opacity)!==null&&f!==void 0?f:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=m===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const y in scaleCorrectors){if(p[y]===void 0)continue;const{correct:T,applyTo:g}=scaleCorrectors[y],C=c.transform==="none"?p[y]:T(p[y],m);if(g){const d=g.length;for(let P=0;P<d;P++)c[g[P]]=C}else c[y]=C}return this.options.layoutId&&(c.pointerEvents=m===this?resolveMotionValue(o==null?void 0:o.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var f;return(f=o.currentAnimation)===null||f===void 0?void 0:f.stop()}),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()}}}function updateLayout(e){e.updateLayout()}function notifyLayoutUpdate(e){var t;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:n}=e.layout,{animationType:a}=e.options,o=i.source!==e.layout.source;a==="size"?eachAxis(m=>{const p=o?i.measuredBox[m]:i.layoutBox[m],b=calcLength(p);p.min=s[m].min,p.max=p.min+b}):shouldAnimatePositionOnly(a,i.layoutBox,s)&&eachAxis(m=>{const p=o?i.measuredBox[m]:i.layoutBox[m],b=calcLength(s[m]);p.max=p.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[m].max=e.relativeTarget[m].min+b)});const f=createDelta();calcBoxDelta(f,s,i.layoutBox);const l=createDelta();o?calcBoxDelta(l,e.applyTransform(n,!0),i.measuredBox):calcBoxDelta(l,s,i.layoutBox);const c=!isDeltaZero(f);let u=!1;if(!e.resumeFrom){const m=e.getClosestProjectingParent();if(m&&!m.resumeFrom){const{snapshot:p,layout:b}=m;if(p&&b){const x=createBox();calcRelativePosition(x,i.layoutBox,p.layoutBox);const y=createBox();calcRelativePosition(y,s,b.layoutBox),boxEqualsRounded(x,y)||(u=!0),m.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=x,e.relativeParent=m)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:l,layoutDelta:f,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function propagateDirtyNodes(e){isDebug&&metrics.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function cleanDirtyNodes(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function clearSnapshot(e){e.clearSnapshot()}function clearMeasurements(e){e.clearMeasurements()}function clearIsLayoutDirty(e){e.isLayoutDirty=!1}function resetTransformStyle(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function finishAnimation(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function resolveTargetDelta(e){e.resolveTargetDelta()}function calcProjection(e){e.calcProjection()}function resetSkewAndRotation(e){e.resetSkewAndRotation()}function removeLeadSnapshots(e){e.removeLeadSnapshot()}function mixAxisDelta(e,t,i){e.translate=mixNumber$1(t.translate,0,i),e.scale=mixNumber$1(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function mixAxis(e,t,i,s){e.min=mixNumber$1(t.min,i.min,s),e.max=mixNumber$1(t.max,i.max,s)}function mixBox(e,t,i,s){mixAxis(e.x,t.x,i.x,s),mixAxis(e.y,t.y,i.y,s)}function hasOpacityCrossfade(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const defaultLayoutTransition={duration:.45,ease:[.4,0,.1,1]},userAgentContains=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),roundPoint=userAgentContains("applewebkit/")&&!userAgentContains("chrome/")?Math.round:noop;function roundAxis(e){e.min=roundPoint(e.min),e.max=roundPoint(e.max)}function roundBox(e){roundAxis(e.x),roundAxis(e.y)}function shouldAnimatePositionOnly(e,t,i){return e==="position"||e==="preserve-aspect"&&!isNear(aspectRatio(t),aspectRatio(i),.2)}function checkNodeWasScrollRoot(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const DocumentProjectionNode=createProjectionNode$1({attachResizeListener:(e,t)=>addDomEvent(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rootProjectionNode={current:void 0},HTMLProjectionNode=createProjectionNode$1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rootProjectionNode.current){const e=new DocumentProjectionNode({});e.mount(window),e.setOptions({layoutScroll:!0}),rootProjectionNode.current=e}return rootProjectionNode.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),drag={pan:{Feature:PanGesture},drag:{Feature:DragGesture,ProjectionNode:HTMLProjectionNode,MeasureLayout}};function addHoverEvent(e,t){const i=t?"pointerenter":"pointerleave",s=t?"onHoverStart":"onHoverEnd",n=(a,o)=>{if(a.pointerType==="touch"||isDragActive())return;const f=e.getProps();e.animationState&&f.whileHover&&e.animationState.setActive("whileHover",t);const l=f[s];l&&frame.postRender(()=>l(a,o))};return addPointerEvent(e.current,i,n,{passive:!e.getProps()[s]})}class HoverGesture extends Feature{mount(){this.unmount=pipe(addHoverEvent(this.node,!0),addHoverEvent(this.node,!1))}unmount(){}}class FocusGesture extends Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=pipe(addDomEvent(this.node.current,"focus",()=>this.onFocus()),addDomEvent(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const isNodeOrChild=(e,t)=>t?e===t?!0:isNodeOrChild(e,t.parentElement):!1;function fireSyntheticPointerEvent(e,t){if(!t)return;const i=new PointerEvent("pointer"+e);t(i,extractEventInfo(i))}class PressGesture extends Feature{constructor(){super(...arguments),this.removeStartListeners=noop,this.removeEndListeners=noop,this.removeAccessibleListeners=noop,this.startPointerPress=(t,i)=>{if(this.isPressing)return;this.removeEndListeners();const s=this.node.getProps(),a=addPointerEvent(window,"pointerup",(f,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:u,globalTapTarget:m}=this.node.getProps(),p=!m&&!isNodeOrChild(this.node.current,f.target)?u:c;p&&frame.update(()=>p(f,l))},{passive:!(s.onTap||s.onPointerUp)}),o=addPointerEvent(window,"pointercancel",(f,l)=>this.cancelPress(f,l),{passive:!(s.onTapCancel||s.onPointerCancel)});this.removeEndListeners=pipe(a,o),this.startPress(t,i)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const o=f=>{f.key!=="Enter"||!this.checkPressEnd()||fireSyntheticPointerEvent("up",(l,c)=>{const{onTap:u}=this.node.getProps();u&&frame.postRender(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=addDomEvent(this.node.current,"keyup",o),fireSyntheticPointerEvent("down",(f,l)=>{this.startPress(f,l)})},i=addDomEvent(this.node.current,"keydown",t),s=()=>{this.isPressing&&fireSyntheticPointerEvent("cancel",(a,o)=>this.cancelPress(a,o))},n=addDomEvent(this.node.current,"blur",s);this.removeAccessibleListeners=pipe(i,n)}}startPress(t,i){this.isPressing=!0;const{onTapStart:s,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),s&&frame.postRender(()=>s(t,i))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!isDragActive()}cancelPress(t,i){if(!this.checkPressEnd())return;const{onTapCancel:s}=this.node.getProps();s&&frame.postRender(()=>s(t,i))}mount(){const t=this.node.getProps(),i=addPointerEvent(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),s=addDomEvent(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=pipe(i,s)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const observerCallbacks=new WeakMap,observers=new WeakMap,fireObserverCallback=e=>{const t=observerCallbacks.get(e.target);t&&t(e)},fireAllObserverCallbacks=e=>{e.forEach(fireObserverCallback)};function initIntersectionObserver({root:e,...t}){const i=e||document;observers.has(i)||observers.set(i,{});const s=observers.get(i),n=JSON.stringify(t);return s[n]||(s[n]=new IntersectionObserver(fireAllObserverCallbacks,{root:e,...t})),s[n]}function observeIntersection(e,t,i){const s=initIntersectionObserver(t);return observerCallbacks.set(e,i),s.observe(e),()=>{observerCallbacks.delete(e),s.unobserve(e)}}const thresholdNames={some:0,all:1};class InViewFeature extends Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:i,margin:s,amount:n="some",once:a}=t,o={root:i?i.current:void 0,rootMargin:s,threshold:typeof n=="number"?n:thresholdNames[n]},f=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:m}=this.node.getProps(),p=c?u:m;p&&p(l)};return observeIntersection(this.node.current,o,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:i}=this.node;["amount","margin","root"].some(hasViewportOptionChanged(t,i))&&this.startObserver()}unmount(){}}function hasViewportOptionChanged({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}const gestureAnimations={inView:{Feature:InViewFeature},tap:{Feature:PressGesture},focus:{Feature:FocusGesture},hover:{Feature:HoverGesture}},layout={layout:{ProjectionNode:HTMLProjectionNode,MeasureLayout}},MotionConfigContext=React.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),MotionContext=React.createContext({}),isBrowser=typeof window<"u",useIsomorphicLayoutEffect=isBrowser?React.useLayoutEffect:React.useEffect,LazyContext=React.createContext({strict:!1});let scheduleHandoffComplete=!1;function useVisualElement(e,t,i,s,n){var a;const{visualElement:o}=React.useContext(MotionContext),f=React.useContext(LazyContext),l=React.useContext(PresenceContext),c=React.useContext(MotionConfigContext).reducedMotion,u=React.useRef();s=s||f.renderer,!u.current&&s&&(u.current=s(e,{visualState:t,parent:o,props:i,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const m=u.current,p=React.useContext(SwitchLayoutGroupContext);m&&!m.projection&&n&&(m.type==="html"||m.type==="svg")&&createProjectionNode(u.current,i,n,p),React.useInsertionEffect(()=>{m&&m.update(i,l)});const b=i[optimizedAppearDataAttribute],x=React.useRef(!!b&&!window.MotionHandoffIsComplete&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,b)));return useIsomorphicLayoutEffect(()=>{m&&(m.updateFeatures(),microtask.render(m.render),x.current&&m.animationState&&m.animationState.animateChanges())}),React.useEffect(()=>{m&&(!x.current&&m.animationState&&m.animationState.animateChanges(),x.current=!1,scheduleHandoffComplete||(scheduleHandoffComplete=!0,queueMicrotask(completeHandoff)))}),m}function completeHandoff(){window.MotionHandoffIsComplete=!0}function createProjectionNode(e,t,i,s){const{layoutId:n,layout:a,drag:o,dragConstraints:f,layoutScroll:l,layoutRoot:c}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:getClosestProjectingNode(e.parent)),e.projection.setOptions({layoutId:n,layout:a,alwaysMeasureLayout:!!o||f&&isRefObject(f),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:c})}function getClosestProjectingNode(e){if(e)return e.options.allowProjection!==!1?e.projection:getClosestProjectingNode(e.parent)}function useMotionRef(e,t,i){return React.useCallback(s=>{s&&e.mount&&e.mount(s),t&&(s?t.mount(s):t.unmount()),i&&(typeof i=="function"?i(s):isRefObject(i)&&(i.current=s))},[t])}function isControllingVariants(e){return isAnimationControls(e.animate)||variantProps.some(t=>isVariantLabel(e[t]))}function isVariantNode(e){return!!(isControllingVariants(e)||e.variants)}function getCurrentTreeVariants(e,t){if(isControllingVariants(e)){const{initial:i,animate:s}=e;return{initial:i===!1||isVariantLabel(i)?i:void 0,animate:isVariantLabel(s)?s:void 0}}return e.inherit!==!1?t:{}}function useCreateMotionContext(e){const{initial:t,animate:i}=getCurrentTreeVariants(e,React.useContext(MotionContext));return React.useMemo(()=>({initial:t,animate:i}),[variantLabelsAsDependency(t),variantLabelsAsDependency(i)])}function variantLabelsAsDependency(e){return Array.isArray(e)?e.join(" "):e}const featureProps={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},featureDefinitions={};for(const e in featureProps)featureDefinitions[e]={isEnabled:t=>featureProps[e].some(i=>!!t[i])};function loadFeatures(e){for(const t in e)featureDefinitions[t]={...featureDefinitions[t],...e[t]}}const motionComponentSymbol=Symbol.for("motionComponentSymbol");function createRendererMotionComponent({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:s,Component:n}){e&&loadFeatures(e);function a(f,l){let c;const u={...React.useContext(MotionConfigContext),...f,layoutId:useLayoutId(f)},{isStatic:m}=u,p=useCreateMotionContext(f),b=s(f,m);if(!m&&isBrowser){useStrictMode(u,e);const x=getProjectionFunctionality(u);c=x.MeasureLayout,p.visualElement=useVisualElement(n,b,u,t,x.ProjectionNode)}return jsxRuntime.jsxs(MotionContext.Provider,{value:p,children:[c&&p.visualElement?jsxRuntime.jsx(c,{visualElement:p.visualElement,...u}):null,i(n,f,useMotionRef(b,p.visualElement,l),b,m,p.visualElement)]})}const o=React.forwardRef(a);return o[motionComponentSymbol]=n,o}function useLayoutId({layoutId:e}){const t=React.useContext(LayoutGroupContext).id;return t&&e!==void 0?t+"-"+e:e}function useStrictMode(e,t){const i=React.useContext(LazyContext).strict;if(process.env.NODE_ENV!=="production"&&t&&i){const s="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?warning(!1,s):invariant(!1,s)}}function getProjectionFunctionality(e){const{drag:t,layout:i}=featureDefinitions;if(!t&&!i)return{};const s={...t,...i};return{MeasureLayout:t!=null&&t.isEnabled(e)||i!=null&&i.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const lowercaseSVGElements=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function isSVGComponent(e){return typeof e!="string"||e.includes("-")?!1:!!(lowercaseSVGElements.indexOf(e)>-1||/[A-Z]/u.test(e))}function renderHTML(e,{style:t,vars:i},s,n){Object.assign(e.style,t,n&&n.getProjectionStyles(s));for(const a in i)e.style.setProperty(a,i[a])}const camelCaseAttributes=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function renderSVG(e,t,i,s){renderHTML(e,t,void 0,s);for(const n in t.attrs)e.setAttribute(camelCaseAttributes.has(n)?n:camelToDash(n),t.attrs[n])}function isForcedMotionValue(e,{layout:t,layoutId:i}){return transformProps.has(e)||e.startsWith("origin")||(t||i!==void 0)&&(!!scaleCorrectors[e]||e==="opacity")}function scrapeMotionValuesFromProps$1(e,t,i){var s;const{style:n}=e,a={};for(const o in n)(isMotionValue(n[o])||t.style&&isMotionValue(t.style[o])||isForcedMotionValue(o,e)||((s=i==null?void 0:i.getValue(o))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(a[o]=n[o]);return i&&n&&typeof n.willChange=="string"&&(i.applyWillChange=!1),a}function scrapeMotionValuesFromProps(e,t,i){const s=scrapeMotionValuesFromProps$1(e,t,i);for(const n in e)if(isMotionValue(e[n])||isMotionValue(t[n])){const a=transformPropOrder.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;s[a]=e[n]}return s}function useConstant(e){const t=React.useRef(null);return t.current===null&&(t.current=e()),t.current}function makeState({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:i,onMount:s},n,a,o,f){const l={latestValues:makeLatestValues(n,a,o,f?!1:e,t),renderState:i()};return s&&(l.mount=c=>s(n,c,l)),l}const makeUseVisualState=e=>(t,i)=>{const s=React.useContext(MotionContext),n=React.useContext(PresenceContext),a=()=>makeState(e,t,s,n,i);return i?a():useConstant(a)};function addWillChange(e,t){const i=getWillChangeName(t);i&&addUniqueItem(e,i)}function forEachDefinition(e,t,i){const s=Array.isArray(t)?t:[t];for(let n=0;n<s.length;n++){const a=resolveVariantFromProps(e,s[n]);if(a){const{transitionEnd:o,transition:f,...l}=a;i(l,o)}}}function makeLatestValues(e,t,i,s,n){var a;const o={},f=[],l=s&&((a=e.style)===null||a===void 0?void 0:a.willChange)===void 0,c=n(e,{});for(const T in c)o[T]=resolveMotionValue(c[T]);let{initial:u,animate:m}=e;const p=isControllingVariants(e),b=isVariantNode(e);t&&b&&!p&&e.inherit!==!1&&(u===void 0&&(u=t.initial),m===void 0&&(m=t.animate));let x=i?i.initial===!1:!1;x=x||u===!1;const y=x?m:u;return y&&typeof y!="boolean"&&!isAnimationControls(y)&&forEachDefinition(e,y,(T,g)=>{for(const C in T){let d=T[C];if(Array.isArray(d)){const P=x?d.length-1:0;d=d[P]}d!==null&&(o[C]=d)}for(const C in g)o[C]=g[C]}),l&&(m&&u!==!1&&!isAnimationControls(m)&&forEachDefinition(e,m,T=>{for(const g in T)addWillChange(f,g)}),f.length&&(o.willChange=f.join(","))),o}const createHtmlRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),createSvgRenderState=()=>({...createHtmlRenderState(),attrs:{}}),getValueAsType=(e,t)=>t&&typeof e=="number"?t.transform(e):e,translateAlias={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},numTransforms=transformPropOrder.length;function buildTransform(e,t,i){let s="",n=!0;for(let a=0;a<numTransforms;a++){const o=transformPropOrder[a],f=e[o];if(f===void 0)continue;let l=!0;if(typeof f=="number"?l=f===(o.startsWith("scale")?1:0):l=parseFloat(f)===0,!l||i){const c=getValueAsType(f,numberValueTypes[o]);if(!l){n=!1;const u=translateAlias[o]||o;s+=`${u}(${c}) `}i&&(t[o]=c)}}return s=s.trim(),i?s=i(t,n?"":s):n&&(s="none"),s}function buildHTMLStyles(e,t,i){const{style:s,vars:n,transformOrigin:a}=e;let o=!1,f=!1;for(const l in t){const c=t[l];if(transformProps.has(l)){o=!0;continue}else if(isCSSVariableName(l)){n[l]=c;continue}else{const u=getValueAsType(c,numberValueTypes[l]);l.startsWith("origin")?(f=!0,a[l]=u):s[l]=u}}if(t.transform||(o||i?s.transform=buildTransform(t,e.transform,i):s.transform&&(s.transform="none")),f){const{originX:l="50%",originY:c="50%",originZ:u=0}=a;s.transformOrigin=`${l} ${c} ${u}`}}function calcOrigin(e,t,i){return typeof e=="string"?e:px.transform(t+i*e)}function calcSVGTransformOrigin(e,t,i){const s=calcOrigin(t,e.x,e.width),n=calcOrigin(i,e.y,e.height);return`${s} ${n}`}const dashKeys={offset:"stroke-dashoffset",array:"stroke-dasharray"},camelKeys={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGPath(e,t,i=1,s=0,n=!0){e.pathLength=1;const a=n?dashKeys:camelKeys;e[a.offset]=px.transform(-s);const o=px.transform(t),f=px.transform(i);e[a.array]=`${o} ${f}`}function buildSVGAttrs(e,{attrX:t,attrY:i,attrScale:s,originX:n,originY:a,pathLength:o,pathSpacing:f=1,pathOffset:l=0,...c},u,m){if(buildHTMLStyles(e,c,m),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:b,dimensions:x}=e;p.transform&&(x&&(b.transform=p.transform),delete p.transform),x&&(n!==void 0||a!==void 0||b.transform)&&(b.transformOrigin=calcSVGTransformOrigin(x,n!==void 0?n:.5,a!==void 0?a:.5)),t!==void 0&&(p.x=t),i!==void 0&&(p.y=i),s!==void 0&&(p.scale=s),o!==void 0&&buildSVGPath(p,o,f,l,!1)}const isSVGTag=e=>typeof e=="string"&&e.toLowerCase()==="svg",svgMotionConfig={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps,createRenderState:createSvgRenderState,onMount:(e,t,{renderState:i,latestValues:s})=>{frame.read(()=>{try{i.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{i.dimensions={x:0,y:0,width:0,height:0}}}),frame.render(()=>{buildSVGAttrs(i,s,isSVGTag(t.tagName),e.transformTemplate),renderSVG(t,i)})}})},htmlMotionConfig={useVisualState:makeUseVisualState({applyWillChange:!0,scrapeMotionValuesFromProps:scrapeMotionValuesFromProps$1,createRenderState:createHtmlRenderState})};function copyRawValuesOnly(e,t,i){for(const s in t)!isMotionValue(t[s])&&!isForcedMotionValue(s,i)&&(e[s]=t[s])}function useInitialMotionValues({transformTemplate:e},t){return React.useMemo(()=>{const i=createHtmlRenderState();return buildHTMLStyles(i,t,e),Object.assign({},i.vars,i.style)},[t])}function useStyle(e,t){const i=e.style||{},s={};return copyRawValuesOnly(s,i,e),Object.assign(s,useInitialMotionValues(e,t)),s}function useHTMLProps(e,t){const i={},s=useStyle(e,t);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=s,i}const validMotionProps=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function isValidMotionProp(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||validMotionProps.has(e)}let shouldForward=e=>!isValidMotionProp(e);function loadExternalIsValidProp(e){e&&(shouldForward=t=>t.startsWith("on")?!isValidMotionProp(t):e(t))}try{loadExternalIsValidProp(require("@emotion/is-prop-valid").default)}catch(e){}function filterProps(e,t,i){const s={};for(const n in e)n==="values"&&typeof e.values=="object"||(shouldForward(n)||i===!0&&isValidMotionProp(n)||!t&&!isValidMotionProp(n)||e.draggable&&n.startsWith("onDrag"))&&(s[n]=e[n]);return s}function useSVGProps(e,t,i,s){const n=React.useMemo(()=>{const a=createSvgRenderState();return buildSVGAttrs(a,t,isSVGTag(s),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};copyRawValuesOnly(a,e.style,e),n.style={...a,...n.style}}return n}function createUseRender(e=!1){return(i,s,n,{latestValues:a},o)=>{const l=(isSVGComponent(i)?useSVGProps:useHTMLProps)(s,a,o,i),c=filterProps(s,typeof i=="string",e),u=i!==React.Fragment?{...c,...l,ref:n}:{},{children:m}=s,p=React.useMemo(()=>isMotionValue(m)?m.get():m,[m]);return React.createElement(i,{...u,children:p})}}function createMotionComponentFactory(e,t){return function(s,{forwardMotionProps:n}={forwardMotionProps:!1}){const o={...isSVGComponent(s)?svgMotionConfig:htmlMotionConfig,preloadedFeatures:e,useRender:createUseRender(n),createVisualElement:t,Component:s};return createRendererMotionComponent(o)}}const prefersReducedMotion={current:null},hasReducedMotionListener={current:!1};function initPrefersReducedMotion(){if(hasReducedMotionListener.current=!0,!!isBrowser)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>prefersReducedMotion.current=e.matches;e.addListener(t),t()}else prefersReducedMotion.current=!1}function updateMotionValuesFromProps(e,t,i){for(const s in t){const n=t[s],a=i[s];if(isMotionValue(n))e.addValue(s,n),process.env.NODE_ENV==="development"&&warnOnce(n.version==="11.5.6",`Attempting to mix Framer Motion versions ${n.version} with 11.5.6 may not work as expected.`);else if(isMotionValue(a))e.addValue(s,motionValue(n,{owner:e}));else if(a!==n)if(e.hasValue(s)){const o=e.getValue(s);o.liveStyle===!0?o.jump(n):o.hasAnimated||o.set(n)}else{const o=e.getStaticValue(s);e.addValue(s,motionValue(o!==void 0?o:n,{owner:e}))}}for(const s in i)t[s]===void 0&&e.removeValue(s);return t}const visualElementStore=new WeakMap,valueTypes=[...dimensionValueTypes,color,complex],findValueType=e=>valueTypes.find(testValueType(e)),propEventHandlers=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class VisualElement{scrapeMotionValuesFromProps(t,i,s){return{}}constructor({parent:t,props:i,presenceContext:s,reducedMotionConfig:n,blockInitialAnimation:a,visualState:o},f={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=time.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,frame.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=i.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=i,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=f,this.blockInitialAnimation=!!a,this.isControllingVariants=isControllingVariants(i),this.isVariantNode=isVariantNode(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...m}=this.scrapeMotionValuesFromProps(i,{},this);for(const p in m){const b=m[p];l[p]!==void 0&&isMotionValue(b)&&b.set(l[p],!1)}}mount(t){this.current=t,visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),hasReducedMotionListener.current||initPrefersReducedMotion(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:prefersReducedMotion.current,process.env.NODE_ENV!=="production"&&warnOnce(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){visualElementStore.delete(this.current),this.projection&&this.projection.unmount(),cancelFrame(this.notifyUpdate),cancelFrame(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const i=this.features[t];i&&(i.unmount(),i.isMounted=!1)}this.current=null}bindToMotionValue(t,i){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const s=transformProps.has(t),n=i.on("change",f=>{this.latestValues[t]=f,this.props.onUpdate&&frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),a=i.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{n(),a(),o&&o(),i.owner&&i.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in featureDefinitions){const i=featureDefinitions[t];if(!i)continue;const{isEnabled:s,Feature:n}=i;if(!this.features[t]&&n&&s(this.props)&&(this.features[t]=new n(this)),this.features[t]){const a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):createBox()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,i){this.latestValues[t]=i}update(t,i){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<propEventHandlers.length;s++){const n=propEventHandlers[s];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const a="on"+n,o=t[a];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=updateMotionValuesFromProps(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(t),()=>i.variantChildren.delete(t)}addValue(t,i){const s=this.values.get(t);i!==s&&(s&&this.removeValue(t),this.bindToMotionValue(t,i),this.values.set(t,i),this.latestValues[t]=i.get())}removeValue(t){this.values.delete(t);const i=this.valueSubscriptions.get(t);i&&(i(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,i){if(this.props.values&&this.props.values[t])return this.props.values[t];let s=this.values.get(t);return s===void 0&&i!==void 0&&(s=motionValue(i===null?void 0:i,{owner:this}),this.addValue(t,s)),s}readValue(t,i){var s;let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(s=this.getBaseTargetFromProps(this.props,t))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(isNumericalString(n)||isZeroValueString(n))?n=parseFloat(n):!findValueType(n)&&complex.test(i)&&(n=getAnimatableNone(t,i)),this.setBaseTarget(t,isMotionValue(n)?n.get():n)),isMotionValue(n)?n.get():n}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){var i;const{initial:s}=this.props;let n;if(typeof s=="string"||typeof s=="object"){const o=resolveVariantFromProps(this.props,s,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);o&&(n=o[t])}if(s&&n!==void 0)return n;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!isMotionValue(a)?a:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,i){return this.events[t]||(this.events[t]=new SubscriptionManager),this.events[t].add(i)}notify(t,...i){this.events[t]&&this.events[t].notify(...i)}}class DOMVisualElement extends VisualElement{constructor(){super(...arguments),this.KeyframeResolver=DOMKeyframesResolver}sortInstanceNodePosition(t,i){return t.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(t,i){return t.style?t.style[i]:void 0}removeValueFromRenderState(t,{vars:i,style:s}){delete i[t],delete s[t]}}function getComputedStyle$1(e){return window.getComputedStyle(e)}class HTMLVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=renderHTML}readValueFromInstance(t,i){if(transformProps.has(i)){const s=getDefaultValueType(i);return s&&s.default||0}else{const s=getComputedStyle$1(t),n=(isCSSVariableName(i)?s.getPropertyValue(i):s[i])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:i}){return measureViewportBox(t,i)}build(t,i,s){buildHTMLStyles(t,i,s.transformTemplate)}scrapeMotionValuesFromProps(t,i,s){return scrapeMotionValuesFromProps$1(t,i,s)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;isMotionValue(t)&&(this.childSubscription=t.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class SVGVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=createBox}getBaseTargetFromProps(t,i){return t[i]}readValueFromInstance(t,i){if(transformProps.has(i)){const s=getDefaultValueType(i);return s&&s.default||0}return i=camelCaseAttributes.has(i)?i:camelToDash(i),t.getAttribute(i)}scrapeMotionValuesFromProps(t,i,s){return scrapeMotionValuesFromProps(t,i,s)}build(t,i,s){buildSVGAttrs(t,i,this.isSVGTag,s.transformTemplate)}renderInstance(t,i,s,n){renderSVG(t,i,s,n)}mount(t){this.isSVGTag=isSVGTag(t.tagName),super.mount(t)}}const createDomVisualElement=(e,t)=>isSVGComponent(e)?new SVGVisualElement(t):new HTMLVisualElement(t,{allowProjection:e!==React.Fragment}),createMotionComponent=createMotionComponentFactory({...animations,...gestureAnimations,...drag,...layout},createDomVisualElement),motion=createDOMMotionComponentProxy(createMotionComponent);function stopAnimation(e){e.values.forEach(t=>t.stop())}function setVariants(e,t){[...t].reverse().forEach(s=>{const n=e.getVariant(s);n&&setTarget(e,n),e.variantChildren&&e.variantChildren.forEach(a=>{setVariants(a,t)})})}function setValues(e,t){if(Array.isArray(t))return setVariants(e,t);if(typeof t=="string")return setVariants(e,[t]);setTarget(e,t)}function animationControls(){let e=!1;const t=new Set,i={subscribe(s){return t.add(s),()=>void t.delete(s)},start(s,n){invariant(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const a=[];return t.forEach(o=>{a.push(animateVisualElement(o,s,{transitionOverride:n}))}),Promise.all(a)},set(s){return invariant(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(n=>{setValues(n,s)})},stop(){t.forEach(s=>{stopAnimation(s)})},mount(){return e=!0,()=>{e=!1,i.stop()}}};return i}function useAnimationControls(){const e=useConstant(animationControls);return useIsomorphicLayoutEffect(e.mount,[]),e}const ScaleY=({children:e,triggerAnimation:t=!0})=>{const i=useAnimationControls();return React.useEffect(()=>{t?i.start({scaleY:[0,1],transformOrigin:"bottom",transition:{duration:.15}}):i.start({scaleY:0,transformOrigin:"bottom",transition:{duration:.15}})},[t,i]),jsxRuntime.jsx(motion.div,{initial:{scaleY:0},animate:i,children:e})},Shine=({children:e})=>jsxRuntime.jsx(motion.div,{className:"gf-relative gf-inline-block gf-overflow-hidden gf-rounded-xl gf-w-[300px] before:gf-z-50 before:gf-absolute before:gf-bg-gradient-to-r before:gf-from-transparent before:gf-via-white/50 before:gf-via-50% before:gf-to-transparent before:gf-top-0 before:gf-left-0 before:gf-w-[168px] before:gf-h-full before:gf-animate-shine before:gf-opacity-0",children:e});exports.AddIcon=AddIcon,exports.ArbitrumLogo=ArbitrumLogo,exports.ArrowDownwardIcon=ArrowDownwardIcon,exports.ArrowEastIcon=ArrowEastIcon,exports.ArrowLeftIcon=ArrowLeftIcon,exports.ArrowNorthEastIcon=ArrowNorthEastIcon,exports.ArrowNorthWestIcon=ArrowNorthWestIcon,exports.ArrowRightIcon=ArrowRightIcon,exports.ArrowSouthEastIcon=ArrowSouthEastIcon,exports.ArrowSouthWestIcon=ArrowSouthWestIcon,exports.ArrowUpwardIcon=ArrowUpwardIcon,exports.AssetChainLogos=AssetChainLogos,exports.BTCLogo=BTCLogo,exports.BlogCard=BlogCard,exports.Button=Button,exports.Camelot=Camelot,exports.CatalogLogo=CatalogLogo,exports.CheckBox=CheckBox$1,exports.CheckCircleIcon=CheckCircleIcon,exports.CheckIcon=CheckIcon,exports.Checked=Checked,exports.Chip=Chip,exports.ClockIcon=ClockIcon,exports.CloseIcon=CloseIcon,exports.Coinbase=Coinbase,exports.CompareArrowsIcon=CompareArrowsIcon,exports.CopyIcon=CopyIcon,exports.DLCBTC=DLCBTC,exports.Debridge=Debridge,exports.Dodo=Dodo,exports.EditIcon=EditIcon,exports.EthereumLogo=EthereumLogo,exports.ExchangeIcon=ExchangeIcon,exports.FeesIcon=FeesIcon,exports.FingerprintIcon=FingerprintIcon,exports.Footer=Footer,exports.GMX=GMX,exports.GMXLogo=GMXLogo,exports.GardenExplorer=GardenExplorer,exports.GardenFullLogo=GardenFullLogo,exports.GardenLogo=GardenLogo,exports.GardenLogoText=GardenLogoText,exports.GardenStrokeIcon=GardenStrokeIcon,exports.InfinityIcon=InfinityIcon,exports.InfoBadge=InfoBadge,exports.InfoIcon=InfoIcon,exports.KeyboardDownIcon=KeyboardDownIcon,exports.KeyboardLeftIcon=KeyboardLeftIcon,exports.KeyboardRightIcon=KeyboardRightIcon,exports.KeyboardUpIcon=KeyboardUpIcon,exports.LanguageIcon=LanguageIcon,exports.LinkIcon=LinkIcon,exports.LockIcon=LockIcon,exports.LogoutIcon=LogoutIcon,exports.MenuIcon=MenuIcon,exports.MinusIcon=MinusIcon,exports.Modal=Modal,exports.Opacity=Opacity,exports.OpenInFullIcon=OpenInFullIcon,exports.OpenInNewIcon=OpenInNewIcon,exports.PageInfoIcon=PageInfoIcon,exports.PancakeSwap=PancakeSwap,exports.PhantomIcon=PhantomIcon,exports.PlusIcon=PlusIcon,exports.PolygonLogo=PolygonLogo,exports.QuestCard=QuestCard,exports.Radiant=Radiant,exports.RadiantLogo=RadiantLogo,exports.RadioCheckedIcon=RadioCheckedIcon,exports.RadioUncheckedIcon=RadioUncheckedIcon,exports.ReferralIcon=ReferralIcon,exports.RemoveIcon=RemoveIcon,exports.ScaleY=ScaleY,exports.SearchIcon=SearchIcon,exports.Share=Share,exports.Shine=Shine,exports.Sidebar=Sidebar,exports.Solv=Solv,exports.StarIcon=StarIcon,exports.SwellBTC=SwellBTC,exports.TimerIcon=TimerIcon,exports.TokenInfo=TokenInfo,exports.TraderJoe=TraderJoe,exports.TrailOfBits=TrailOfBits,exports.TrustWallet=TrustWallet,exports.Typography=Typography,exports.Unchecked=Unchecked,exports.Vertex=Vertex,exports.WalletConnect=WalletConnect,exports.WalletIcon=WalletIcon,Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})});
|