@gardenfi/garden-book 0.2.6 → 0.2.8

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.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.ui={},e.jsxRuntime,e.React,e.ReactDOM))})(this,function(exports,jsxRuntime,React,ReactDOM){"use strict";function _interopNamespaceDefault(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const React__namespace=_interopNamespaceDefault(React),ReactDOM__namespace=_interopNamespaceDefault(ReactDOM);function r$1(e){var t,i,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(i=r$1(e[t]))&&(n&&(n+=" "),n+=i);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$1(){for(var e,t,i=0,n="";i<arguments.length;)(e=arguments[i++])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}const falsyToString=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,cx=clsx$1,cva=(e,t)=>i=>{var n;if((t==null?void 0:t.variants)==null)return cx(e,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:a}=t,o=Object.keys(s).map(u=>{const f=i==null?void 0:i[u],d=a==null?void 0:a[u];if(f===null)return null;const p=falsyToString(f)||falsyToString(d);return s[u][p]}),l=i&&Object.entries(i).reduce((u,f)=>{let[d,p]=f;return p===void 0||(u[d]=p),u},{}),c=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,f)=>{let{class:d,className:p,...b}=f;return Object.entries(b).every(C=>{let[y,R]=C;return Array.isArray(R)?R.includes({...a,...l}[y]):{...a,...l}[y]===R})?[...u,d,p]:u},[]);return cx(e,o,c,i==null?void 0:i.class,i==null?void 0:i.className)};function r(e){var t,i,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(i=r(e[t]))&&(n&&(n+=" "),n+=i)}else for(i in e)e[i]&&(n&&(n+=" "),n+=i);return n}function clsx(){for(var e,t,i=0,n="",s=arguments.length;i<s;i++)(e=arguments[i])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}const CLASS_PART_SEPARATOR="-";function createClassGroupUtils(e){const t=createClassMap(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:n}=e;function s(o){const l=o.split(CLASS_PART_SEPARATOR);return l[0]===""&&l.length!==1&&l.shift(),getGroupRecursive(l,t)||getGroupIdForArbitraryProperty(o)}function a(o,l){const c=i[o]||[];return l&&n[o]?[...c,...n[o]]:c}return{getClassGroupId:s,getConflictingClassGroupIds:a}}function getGroupRecursive(e,t){var o;if(e.length===0)return t.classGroupId;const i=e[0],n=t.nextPart.get(i),s=n?getGroupRecursive(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;const a=e.join(CLASS_PART_SEPARATOR);return(o=t.validators.find(({validator:l})=>l(a)))==null?void 0:o.classGroupId}const arbitraryPropertyRegex=/^\[(.+)\]$/;function getGroupIdForArbitraryProperty(e){if(arbitraryPropertyRegex.test(e)){const t=arbitraryPropertyRegex.exec(e)[1],i=t==null?void 0:t.substring(0,t.indexOf(":"));if(i)return"arbitrary.."+i}}function createClassMap(e){const{theme:t,prefix:i}=e,n={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(e.classGroups),i).forEach(([a,o])=>{processClassesRecursively(o,n,a,t)}),n}function processClassesRecursively(e,t,i,n){e.forEach(s=>{if(typeof s=="string"){const a=s===""?t:getPart(t,s);a.classGroupId=i;return}if(typeof s=="function"){if(isThemeGetter(s)){processClassesRecursively(s(n),t,i,n);return}t.validators.push({validator:s,classGroupId:i});return}Object.entries(s).forEach(([a,o])=>{processClassesRecursively(o,getPart(t,a),i,n)})})}function getPart(e,t){let i=e;return t.split(CLASS_PART_SEPARATOR).forEach(n=>{i.nextPart.has(n)||i.nextPart.set(n,{nextPart:new Map,validators:[]}),i=i.nextPart.get(n)}),i}function isThemeGetter(e){return e.isThemeGetter}function getPrefixedClassGroupEntries(e,t){return t?e.map(([i,n])=>{const s=n.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([o,l])=>[t+o,l])):a);return[i,s]}):e}function createLruCache(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,i=new Map,n=new Map;function s(a,o){i.set(a,o),t++,t>e&&(t=0,n=i,i=new Map)}return{get(a){let o=i.get(a);if(o!==void 0)return o;if((o=n.get(a))!==void 0)return s(a,o),o},set(a,o){i.has(a)?i.set(a,o):s(a,o)}}}const IMPORTANT_MODIFIER="!";function createParseClassName(e){const{separator:t,experimentalParseClassName:i}=e,n=t.length===1,s=t[0],a=t.length;function o(l){const c=[];let u=0,f=0,d;for(let R=0;R<l.length;R++){let m=l[R];if(u===0){if(m===s&&(n||l.slice(R,R+a)===t)){c.push(l.slice(f,R)),f=R+a;continue}if(m==="/"){d=R;continue}}m==="["?u++:m==="]"&&u--}const p=c.length===0?l:l.substring(f),b=p.startsWith(IMPORTANT_MODIFIER),C=b?p.substring(1):p,y=d&&d>f?d-f:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:C,maybePostfixModifierPosition:y}}return i?function(c){return i({className:c,parseClassName:o})}:o}function sortModifiers(e){if(e.length<=1)return e;const t=[];let i=[];return e.forEach(n=>{n[0]==="["?(t.push(...i.sort(),n),i=[]):i.push(n)}),t.push(...i.sort()),t}function createConfigUtils(e){return{cache:createLruCache(e.cacheSize),parseClassName:createParseClassName(e),...createClassGroupUtils(e)}}const SPLIT_CLASSES_REGEX=/\s+/;function mergeClassList(e,t){const{parseClassName:i,getClassGroupId:n,getConflictingClassGroupIds:s}=t,a=new Set;return e.trim().split(SPLIT_CLASSES_REGEX).map(o=>{const{modifiers:l,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:f}=i(o);let d=!!f,p=n(d?u.substring(0,f):u);if(!p){if(!d)return{isTailwindClass:!1,originalClassName:o};if(p=n(u),!p)return{isTailwindClass:!1,originalClassName:o};d=!1}const b=sortModifiers(l).join(":");return{isTailwindClass:!0,modifierId:c?b+IMPORTANT_MODIFIER:b,classGroupId:p,originalClassName:o,hasPostfixModifier:d}}).reverse().filter(o=>{if(!o.isTailwindClass)return!0;const{modifierId:l,classGroupId:c,hasPostfixModifier:u}=o,f=l+c;return a.has(f)?!1:(a.add(f),s(c,u).forEach(d=>a.add(l+d)),!0)}).reverse().map(o=>o.originalClassName).join(" ")}function twJoin(){let e=0,t,i,n="";for(;e<arguments.length;)(t=arguments[e++])&&(i=toValue(t))&&(n&&(n+=" "),n+=i);return n}function toValue(e){if(typeof e=="string")return e;let t,i="";for(let n=0;n<e.length;n++)e[n]&&(t=toValue(e[n]))&&(i&&(i+=" "),i+=t);return i}function createTailwindMerge(e,...t){let i,n,s,a=o;function o(c){const u=t.reduce((f,d)=>d(f),e());return i=createConfigUtils(u),n=i.cache.get,s=i.cache.set,a=l,l(c)}function l(c){const u=n(c);if(u)return u;const f=mergeClassList(c,i);return s(c,f),f}return function(){return a(twJoin.apply(null,arguments))}}function fromTheme(e){const t=i=>i[e]||[];return t.isThemeGetter=!0,t}const arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function isLength(e){return isNumber$1(e)||stringLengths.has(e)||fractionRegex.test(e)}function isArbitraryLength(e){return getIsArbitraryValue(e,"length",isLengthOnly)}function isNumber$1(e){return!!e&&!Number.isNaN(Number(e))}function isArbitraryNumber(e){return getIsArbitraryValue(e,"number",isNumber$1)}function isInteger(e){return!!e&&Number.isInteger(Number(e))}function isPercent(e){return e.endsWith("%")&&isNumber$1(e.slice(0,-1))}function isArbitraryValue(e){return arbitraryValueRegex.test(e)}function isTshirtSize(e){return tshirtUnitRegex.test(e)}const sizeLabels=new Set(["length","size","percentage"]);function isArbitrarySize(e){return getIsArbitraryValue(e,sizeLabels,isNever)}function isArbitraryPosition(e){return getIsArbitraryValue(e,"position",isNever)}const imageLabels=new Set(["image","url"]);function isArbitraryImage(e){return getIsArbitraryValue(e,imageLabels,isImage)}function isArbitraryShadow(e){return getIsArbitraryValue(e,"",isShadow)}function isAny(){return!0}function getIsArbitraryValue(e,t,i){const n=arbitraryValueRegex.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):i(n[2]):!1}function isLengthOnly(e){return lengthUnitRegex.test(e)&&!colorFunctionRegex.test(e)}function isNever(){return!1}function isShadow(e){return shadowRegex.test(e)}function isImage(e){return imageRegex.test(e)}function getDefaultConfig(){const e=fromTheme("colors"),t=fromTheme("spacing"),i=fromTheme("blur"),n=fromTheme("brightness"),s=fromTheme("borderColor"),a=fromTheme("borderRadius"),o=fromTheme("borderSpacing"),l=fromTheme("borderWidth"),c=fromTheme("contrast"),u=fromTheme("grayscale"),f=fromTheme("hueRotate"),d=fromTheme("invert"),p=fromTheme("gap"),b=fromTheme("gradientColorStops"),C=fromTheme("gradientColorStopPositions"),y=fromTheme("inset"),R=fromTheme("margin"),m=fromTheme("opacity"),x=fromTheme("padding"),g=fromTheme("saturate"),S=fromTheme("scale"),E=fromTheme("sepia"),M=fromTheme("skew"),L=fromTheme("space"),_=fromTheme("translate"),I=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",isArbitraryValue,t],O=()=>[isArbitraryValue,t],N=()=>["",isLength,isArbitraryLength],K=()=>["auto",isNumber$1,isArbitraryValue],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],A=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",isArbitraryValue],k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[isNumber$1,isArbitraryNumber],W=()=>[isNumber$1,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:V(),borderColor:[e],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:O(),borderWidth:N(),contrast:V(),grayscale:T(),hueRotate:W(),invert:T(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:z(),margin:z(),opacity:V(),padding:O(),saturate:V(),scale:V(),sepia:T(),skew:W(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),isArbitraryValue]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger,isArbitraryValue]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",isInteger,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[R]}],mx:[{mx:[R]}],my:[{my:[R]}],ms:[{ms:[R]}],me:[{me:[R]}],mt:[{mt:[R]}],mr:[{mr:[R]}],mb:[{mb:[R]}],ml:[{ml:[R]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,t]}],"min-w":[{"min-w":[isArbitraryValue,t,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,t,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,t,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber$1,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...A(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength,isArbitraryValue]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...A(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:A()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...A()]}],"outline-offset":[{"outline-offset":[isLength,isArbitraryValue]}],"outline-w":[{outline:[isLength,isArbitraryLength]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[isLength,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...j(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[g]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[M]}],"skew-y":[{"skew-y":[M]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryValue]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[isLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const twMerge=createTailwindMerge(getDefaultConfig),cn=(...e)=>twMerge(clsx(e)),useClientOnly=()=>{const[e,t]=React.useState(!1);return React.useEffect(()=>{t(!0)},[]),e},ClientOnly=({children:e,fallback:t=null})=>useClientOnly()?jsxRuntime.jsx(jsxRuntime.Fragment,{children:e}):jsxRuntime.jsx(jsxRuntime.Fragment,{children:t}),ClientOnlyLottie=({animationData:e,loop:t=!0,autoplay:i=!0,style:n})=>{const[s,a]=React.useState(null);return React.useEffect(()=>{Promise.resolve().then(()=>index_es).then(o=>{a(()=>o.default)})},[]),jsxRuntime.jsx(ClientOnly,{fallback:jsxRuntime.jsx("div",{style:n}),children:s?jsxRuntime.jsx(s,{animationData:e,loop:t,autoplay:i,style:n}):jsxRuntime.jsx("div",{style:n})})},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-haffer","gf-font-medium","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:n,className:s,children:a,...o},l)=>{const c=i?Object.entries(i).map(([u,f])=>`${u}:${f}`).map(u=>buttonStyles({breakpointSize:u})).join(" "):"";return jsxRuntime.jsx("button",{ref:l,className:cn("gf-transition-colors gf-duration-300",s,buttonStyles({variant:e,size:t}),c,n),disabled:n||e==="disabled",...o,children:jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-center gf-items-center gf-gap-3",children:[a,n&&jsxRuntime.jsx(ClientOnlyLottie,{animationData:spinnerAnimation,loop:!0,autoplay:!0,style:{width:24,height:24}})]})})}),typographyStyles=cva(["gf-font-haffer gf-text-dark-grey"],{variants:{size:{h1:"gf-text-[32px] gf-leading-[40px]",h2:"gf-text-xl gf-leading-[20px]",h3:"gf-text-base gf-leading-[20px]",h4:"gf-text-sm gf-leading-[20px]",h5:"gf-text-xs gf-leading-[16px]",h6:"gf-text-[10px] gf-leading-[12px]"},weight:{thin:"gf-font-thin",light:"gf-font-light",regular:"gf-font-regular",medium:"gf-font-medium",semibold:"gf-font-semibold",bold:"gf-font-bold",heavy:"gf-font-heavy",black:"gf-font-black"},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","xs:h6":"xs:gf-text-[10px] xs:gf-leading-3","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","sm:h6":"sm:gf-text-[10px] sm:gf-leading-3","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","md:h6":"md:gf-text-[10px] md:gf-leading-3","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","lg:h6":"lg:gf-text-[10px] lg:gf-leading-3","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","xl:h6":"xl:gf-text-[10px] xl:gf-leading-3"},defaultVariants:{size:"h3",weight:"medium"}}}),Typography=({as:e="span",size:t,weight:i="regular",breakpoints:n,className:s,...a})=>{const o=n?Object.entries(n).map(([l,c])=>`${l}:${c}`).map(l=>typographyStyles({breakpointSize:l})).join(" "):"";return jsxRuntime.jsx(e,{className:cn(typographyStyles({size:t,weight:i,className:s}),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,...n})=>jsxRuntime.jsx("div",{...n,className:cn(OpacityStyles({level:e}),t),children:i});var __assign$1=function(){return __assign$1=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++){i=arguments[n];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},__assign$1.apply(this,arguments)};function __rest$1(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(i[n[s]]=e[n[s]]);return i}function __spreadArray(e,t,i){if(i||arguments.length===2)for(var n=0,s=t.length,a;n<s;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var zeroRightClassName="right-scroll-bar-position",fullWidthClassName="width-before-scroll-bar",noScrollbarsClassName="with-scroll-bars-hidden",removedBarSizeVariable="--removed-body-scroll-bar-size";function assignRef(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function useCallbackRef$2(e,t){var i=React.useState(function(){return{value:e,callback:t,facade:{get current(){return i.value},set current(n){var s=i.value;s!==n&&(i.value=n,i.callback(n,s))}}}})[0];return i.callback=t,i.facade}var useIsomorphicLayoutEffect$2=typeof window<"u"?React__namespace.useLayoutEffect:React__namespace.useEffect,currentValues=new WeakMap;function useMergeRefs(e,t){var i=useCallbackRef$2(null,function(n){return e.forEach(function(s){return assignRef(s,n)})});return useIsomorphicLayoutEffect$2(function(){var n=currentValues.get(i);if(n){var s=new Set(n),a=new Set(e),o=i.current;s.forEach(function(l){a.has(l)||assignRef(l,null)}),a.forEach(function(l){s.has(l)||assignRef(l,o)})}currentValues.set(i,e)},[e]),i}var __assign=function(){return __assign=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++){i=arguments[n];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},__assign.apply(this,arguments)};function __rest(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(i[n[s]]=e[n[s]]);return i}typeof SuppressedError=="function"&&SuppressedError;function ItoI(e){return e}function innerCreateMedium(e,t){t===void 0&&(t=ItoI);var i=[],n=!1,s={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:e},useMedium:function(a){var o=t(a,n);return i.push(o),function(){i=i.filter(function(l){return l!==o})}},assignSyncMedium:function(a){for(n=!0;i.length;){var o=i;i=[],o.forEach(a)}i={push:function(l){return a(l)},filter:function(){return i}}},assignMedium:function(a){n=!0;var o=[];if(i.length){var l=i;i=[],l.forEach(a),o=i}var c=function(){var f=o;o=[],f.forEach(a)},u=function(){return Promise.resolve().then(c)};u(),i={push:function(f){o.push(f),u()},filter:function(f){return o=o.filter(f),i}}}};return s}function createSidecarMedium(e){e===void 0&&(e={});var t=innerCreateMedium(null);return t.options=__assign({async:!0,ssr:!1},e),t}var SideCar$1=function(e){var t=e.sideCar,i=__rest(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return React__namespace.createElement(n,__assign({},i))};SideCar$1.isSideCarExport=!0;function exportSidecar(e,t){return e.useMedium(t),SideCar$1}var effectCar=createSidecarMedium(),nothing=function(){},RemoveScroll=React__namespace.forwardRef(function(e,t){var i=React__namespace.useRef(null),n=React__namespace.useState({onScrollCapture:nothing,onWheelCapture:nothing,onTouchMoveCapture:nothing}),s=n[0],a=n[1],o=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,b=e.noIsolation,C=e.inert,y=e.allowPinchZoom,R=e.as,m=R===void 0?"div":R,x=e.gapMode,g=__rest$1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=p,E=useMergeRefs([i,t]),M=__assign$1(__assign$1({},g),s);return React__namespace.createElement(React__namespace.Fragment,null,f&&React__namespace.createElement(S,{sideCar:effectCar,removeScrollBar:u,shards:d,noIsolation:b,inert:C,setCallbacks:a,allowPinchZoom:!!y,lockRef:i,gapMode:x}),o?React__namespace.cloneElement(React__namespace.Children.only(l),__assign$1(__assign$1({},M),{ref:E})):React__namespace.createElement(m,__assign$1({},M,{className:c,ref:E}),l))});RemoveScroll.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},RemoveScroll.classNames={fullWidth:fullWidthClassName,zeroRight:zeroRightClassName};var getNonce=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function makeStyleTag(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=getNonce();return t&&e.setAttribute("nonce",t),e}function injectStyles(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function insertStyleTag(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var stylesheetSingleton=function(){var e=0,t=null;return{add:function(i){e==0&&(t=makeStyleTag())&&(injectStyles(t,i),insertStyleTag(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},styleHookSingleton=function(){var e=stylesheetSingleton();return function(t,i){React__namespace.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&i])}},styleSingleton=function(){var e=styleHookSingleton(),t=function(i){var n=i.styles,s=i.dynamic;return e(n,s),null};return t},zeroGap={left:0,top:0,right:0,gap:0},parse=function(e){return parseInt(e||"",10)||0},getOffset=function(e){var t=window.getComputedStyle(document.body),i=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[parse(i),parse(n),parse(s)]},getGapWidth=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return zeroGap;var t=getOffset(e),i=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-i+t[2]-t[0])}},Style=styleSingleton(),lockAttribute="data-scroll-locked",getStyles=function(e,t,i,n){var s=e.left,a=e.top,o=e.right,l=e.gap;return i===void 0&&(i="margin"),`
1
+ (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.ui={},e.jsxRuntime,e.React,e.ReactDOM))})(this,function(exports,jsxRuntime,React,ReactDOM){"use strict";function _interopNamespaceDefault(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const React__namespace=_interopNamespaceDefault(React),ReactDOM__namespace=_interopNamespaceDefault(ReactDOM);function r$1(e){var t,i,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(i=r$1(e[t]))&&(n&&(n+=" "),n+=i);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$1(){for(var e,t,i=0,n="";i<arguments.length;)(e=arguments[i++])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}const falsyToString=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,cx=clsx$1,cva=(e,t)=>i=>{var n;if((t==null?void 0:t.variants)==null)return cx(e,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:a}=t,o=Object.keys(s).map(u=>{const f=i==null?void 0:i[u],d=a==null?void 0:a[u];if(f===null)return null;const p=falsyToString(f)||falsyToString(d);return s[u][p]}),l=i&&Object.entries(i).reduce((u,f)=>{let[d,p]=f;return p===void 0||(u[d]=p),u},{}),c=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,f)=>{let{class:d,className:p,...b}=f;return Object.entries(b).every(y=>{let[C,R]=y;return Array.isArray(R)?R.includes({...a,...l}[C]):{...a,...l}[C]===R})?[...u,d,p]:u},[]);return cx(e,o,c,i==null?void 0:i.class,i==null?void 0:i.className)};function r(e){var t,i,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(i=r(e[t]))&&(n&&(n+=" "),n+=i)}else for(i in e)e[i]&&(n&&(n+=" "),n+=i);return n}function clsx(){for(var e,t,i=0,n="",s=arguments.length;i<s;i++)(e=arguments[i])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}const CLASS_PART_SEPARATOR="-";function createClassGroupUtils(e){const t=createClassMap(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:n}=e;function s(o){const l=o.split(CLASS_PART_SEPARATOR);return l[0]===""&&l.length!==1&&l.shift(),getGroupRecursive(l,t)||getGroupIdForArbitraryProperty(o)}function a(o,l){const c=i[o]||[];return l&&n[o]?[...c,...n[o]]:c}return{getClassGroupId:s,getConflictingClassGroupIds:a}}function getGroupRecursive(e,t){var o;if(e.length===0)return t.classGroupId;const i=e[0],n=t.nextPart.get(i),s=n?getGroupRecursive(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;const a=e.join(CLASS_PART_SEPARATOR);return(o=t.validators.find(({validator:l})=>l(a)))==null?void 0:o.classGroupId}const arbitraryPropertyRegex=/^\[(.+)\]$/;function getGroupIdForArbitraryProperty(e){if(arbitraryPropertyRegex.test(e)){const t=arbitraryPropertyRegex.exec(e)[1],i=t==null?void 0:t.substring(0,t.indexOf(":"));if(i)return"arbitrary.."+i}}function createClassMap(e){const{theme:t,prefix:i}=e,n={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(e.classGroups),i).forEach(([a,o])=>{processClassesRecursively(o,n,a,t)}),n}function processClassesRecursively(e,t,i,n){e.forEach(s=>{if(typeof s=="string"){const a=s===""?t:getPart(t,s);a.classGroupId=i;return}if(typeof s=="function"){if(isThemeGetter(s)){processClassesRecursively(s(n),t,i,n);return}t.validators.push({validator:s,classGroupId:i});return}Object.entries(s).forEach(([a,o])=>{processClassesRecursively(o,getPart(t,a),i,n)})})}function getPart(e,t){let i=e;return t.split(CLASS_PART_SEPARATOR).forEach(n=>{i.nextPart.has(n)||i.nextPart.set(n,{nextPart:new Map,validators:[]}),i=i.nextPart.get(n)}),i}function isThemeGetter(e){return e.isThemeGetter}function getPrefixedClassGroupEntries(e,t){return t?e.map(([i,n])=>{const s=n.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([o,l])=>[t+o,l])):a);return[i,s]}):e}function createLruCache(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,i=new Map,n=new Map;function s(a,o){i.set(a,o),t++,t>e&&(t=0,n=i,i=new Map)}return{get(a){let o=i.get(a);if(o!==void 0)return o;if((o=n.get(a))!==void 0)return s(a,o),o},set(a,o){i.has(a)?i.set(a,o):s(a,o)}}}const IMPORTANT_MODIFIER="!";function createParseClassName(e){const{separator:t,experimentalParseClassName:i}=e,n=t.length===1,s=t[0],a=t.length;function o(l){const c=[];let u=0,f=0,d;for(let R=0;R<l.length;R++){let m=l[R];if(u===0){if(m===s&&(n||l.slice(R,R+a)===t)){c.push(l.slice(f,R)),f=R+a;continue}if(m==="/"){d=R;continue}}m==="["?u++:m==="]"&&u--}const p=c.length===0?l:l.substring(f),b=p.startsWith(IMPORTANT_MODIFIER),y=b?p.substring(1):p,C=d&&d>f?d-f:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:y,maybePostfixModifierPosition:C}}return i?function(c){return i({className:c,parseClassName:o})}:o}function sortModifiers(e){if(e.length<=1)return e;const t=[];let i=[];return e.forEach(n=>{n[0]==="["?(t.push(...i.sort(),n),i=[]):i.push(n)}),t.push(...i.sort()),t}function createConfigUtils(e){return{cache:createLruCache(e.cacheSize),parseClassName:createParseClassName(e),...createClassGroupUtils(e)}}const SPLIT_CLASSES_REGEX=/\s+/;function mergeClassList(e,t){const{parseClassName:i,getClassGroupId:n,getConflictingClassGroupIds:s}=t,a=new Set;return e.trim().split(SPLIT_CLASSES_REGEX).map(o=>{const{modifiers:l,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:f}=i(o);let d=!!f,p=n(d?u.substring(0,f):u);if(!p){if(!d)return{isTailwindClass:!1,originalClassName:o};if(p=n(u),!p)return{isTailwindClass:!1,originalClassName:o};d=!1}const b=sortModifiers(l).join(":");return{isTailwindClass:!0,modifierId:c?b+IMPORTANT_MODIFIER:b,classGroupId:p,originalClassName:o,hasPostfixModifier:d}}).reverse().filter(o=>{if(!o.isTailwindClass)return!0;const{modifierId:l,classGroupId:c,hasPostfixModifier:u}=o,f=l+c;return a.has(f)?!1:(a.add(f),s(c,u).forEach(d=>a.add(l+d)),!0)}).reverse().map(o=>o.originalClassName).join(" ")}function twJoin(){let e=0,t,i,n="";for(;e<arguments.length;)(t=arguments[e++])&&(i=toValue(t))&&(n&&(n+=" "),n+=i);return n}function toValue(e){if(typeof e=="string")return e;let t,i="";for(let n=0;n<e.length;n++)e[n]&&(t=toValue(e[n]))&&(i&&(i+=" "),i+=t);return i}function createTailwindMerge(e,...t){let i,n,s,a=o;function o(c){const u=t.reduce((f,d)=>d(f),e());return i=createConfigUtils(u),n=i.cache.get,s=i.cache.set,a=l,l(c)}function l(c){const u=n(c);if(u)return u;const f=mergeClassList(c,i);return s(c,f),f}return function(){return a(twJoin.apply(null,arguments))}}function fromTheme(e){const t=i=>i[e]||[];return t.isThemeGetter=!0,t}const arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function isLength(e){return isNumber$1(e)||stringLengths.has(e)||fractionRegex.test(e)}function isArbitraryLength(e){return getIsArbitraryValue(e,"length",isLengthOnly)}function isNumber$1(e){return!!e&&!Number.isNaN(Number(e))}function isArbitraryNumber(e){return getIsArbitraryValue(e,"number",isNumber$1)}function isInteger(e){return!!e&&Number.isInteger(Number(e))}function isPercent(e){return e.endsWith("%")&&isNumber$1(e.slice(0,-1))}function isArbitraryValue(e){return arbitraryValueRegex.test(e)}function isTshirtSize(e){return tshirtUnitRegex.test(e)}const sizeLabels=new Set(["length","size","percentage"]);function isArbitrarySize(e){return getIsArbitraryValue(e,sizeLabels,isNever)}function isArbitraryPosition(e){return getIsArbitraryValue(e,"position",isNever)}const imageLabels=new Set(["image","url"]);function isArbitraryImage(e){return getIsArbitraryValue(e,imageLabels,isImage)}function isArbitraryShadow(e){return getIsArbitraryValue(e,"",isShadow)}function isAny(){return!0}function getIsArbitraryValue(e,t,i){const n=arbitraryValueRegex.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):i(n[2]):!1}function isLengthOnly(e){return lengthUnitRegex.test(e)&&!colorFunctionRegex.test(e)}function isNever(){return!1}function isShadow(e){return shadowRegex.test(e)}function isImage(e){return imageRegex.test(e)}function getDefaultConfig(){const e=fromTheme("colors"),t=fromTheme("spacing"),i=fromTheme("blur"),n=fromTheme("brightness"),s=fromTheme("borderColor"),a=fromTheme("borderRadius"),o=fromTheme("borderSpacing"),l=fromTheme("borderWidth"),c=fromTheme("contrast"),u=fromTheme("grayscale"),f=fromTheme("hueRotate"),d=fromTheme("invert"),p=fromTheme("gap"),b=fromTheme("gradientColorStops"),y=fromTheme("gradientColorStopPositions"),C=fromTheme("inset"),R=fromTheme("margin"),m=fromTheme("opacity"),x=fromTheme("padding"),g=fromTheme("saturate"),S=fromTheme("scale"),E=fromTheme("sepia"),M=fromTheme("skew"),L=fromTheme("space"),_=fromTheme("translate"),I=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",isArbitraryValue,t],O=()=>[isArbitraryValue,t],N=()=>["",isLength,isArbitraryLength],K=()=>["auto",isNumber$1,isArbitraryValue],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],A=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",isArbitraryValue],k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>[isNumber$1,isArbitraryNumber],W=()=>[isNumber$1,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:j(),borderColor:[e],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:O(),borderWidth:N(),contrast:j(),grayscale:T(),hueRotate:W(),invert:T(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:z(),margin:z(),opacity:j(),padding:O(),saturate:j(),scale:j(),sepia:T(),skew:W(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),isArbitraryValue]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger,isArbitraryValue]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",isInteger,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[R]}],mx:[{mx:[R]}],my:[{my:[R]}],ms:[{ms:[R]}],me:[{me:[R]}],mt:[{mt:[R]}],mr:[{mr:[R]}],mb:[{mb:[R]}],ml:[{ml:[R]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,t]}],"min-w":[{"min-w":[isArbitraryValue,t,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,t,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,t,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber$1,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...A(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength,isArbitraryValue]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...A(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:A()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...A()]}],"outline-offset":[{"outline-offset":[isLength,isArbitraryValue]}],"outline-w":[{outline:[isLength,isArbitraryLength]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[isLength,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[g]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[M]}],"skew-y":[{"skew-y":[M]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryValue]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[isLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const twMerge=createTailwindMerge(getDefaultConfig),cn=(...e)=>twMerge(clsx(e)),useClientOnly=()=>{const[e,t]=React.useState(!1);return React.useEffect(()=>{t(!0)},[]),e},ClientOnly=({children:e,fallback:t=null})=>useClientOnly()?jsxRuntime.jsx(jsxRuntime.Fragment,{children:e}):jsxRuntime.jsx(jsxRuntime.Fragment,{children:t}),ClientOnlyLottie=({animationData:e,loop:t=!0,autoplay:i=!0,style:n})=>{const[s,a]=React.useState(null);return React.useEffect(()=>{Promise.resolve().then(()=>index_es).then(o=>{a(()=>o.default)})},[]),jsxRuntime.jsx(ClientOnly,{fallback:jsxRuntime.jsx("div",{style:n}),children:s?jsxRuntime.jsx(s,{animationData:e,loop:t,autoplay:i,style:n}):jsxRuntime.jsx("div",{style:n})})},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-haffer","gf-font-medium","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:n,className:s,children:a,colors:o,...l},c)=>{const u=i?Object.entries(i).map(([p,b])=>`${p}:${b}`).map(p=>buttonStyles({breakpointSize:p})).join(" "):"",d=(()=>{if(!o||!e)return{};const p=o[e];return p?e==="primary"?{backgroundColor:p}:e==="secondary"?{backgroundColor:p}:e==="ternary"?{backgroundColor:p}:e==="disabled"?{backgroundColor:p}:{}:{}})();return jsxRuntime.jsx("button",{ref:c,className:cn("gf-transition-colors gf-duration-300",s,buttonStyles({variant:e,size:t}),u,n),style:d,disabled:n||e==="disabled",...l,children:jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-center gf-items-center gf-gap-3",children:[a,n&&jsxRuntime.jsx(ClientOnlyLottie,{animationData:spinnerAnimation,loop:!0,autoplay:!0,style:{width:24,height:24}})]})})}),typographyStyles=cva(["gf-font-haffer gf-text-dark-grey"],{variants:{size:{h1:"gf-text-[32px] gf-leading-[40px]",h2:"gf-text-xl gf-leading-[20px]",h3:"gf-text-base gf-leading-[20px]",h4:"gf-text-sm gf-leading-[20px]",h5:"gf-text-xs gf-leading-[16px]",h6:"gf-text-[10px] gf-leading-[12px]"},weight:{thin:"gf-font-thin",light:"gf-font-light",regular:"gf-font-regular",medium:"gf-font-medium",semibold:"gf-font-semibold",bold:"gf-font-bold",heavy:"gf-font-heavy",black:"gf-font-black"},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","xs:h6":"xs:gf-text-[10px] xs:gf-leading-3","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","sm:h6":"sm:gf-text-[10px] sm:gf-leading-3","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","md:h6":"md:gf-text-[10px] md:gf-leading-3","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","lg:h6":"lg:gf-text-[10px] lg:gf-leading-3","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","xl:h6":"xl:gf-text-[10px] xl:gf-leading-3"},defaultVariants:{size:"h3",weight:"medium"}}}),Typography=({as:e="span",size:t,weight:i="regular",breakpoints:n,className:s,...a})=>{const o=n?Object.entries(n).map(([l,c])=>`${l}:${c}`).map(l=>typographyStyles({breakpointSize:l})).join(" "):"";return jsxRuntime.jsx(e,{className:cn(typographyStyles({size:t,weight:i,className:s}),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,...n})=>jsxRuntime.jsx("div",{...n,className:cn(OpacityStyles({level:e}),t),children:i});var __assign$1=function(){return __assign$1=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++){i=arguments[n];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},__assign$1.apply(this,arguments)};function __rest$1(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(i[n[s]]=e[n[s]]);return i}function __spreadArray(e,t,i){if(i||arguments.length===2)for(var n=0,s=t.length,a;n<s;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var zeroRightClassName="right-scroll-bar-position",fullWidthClassName="width-before-scroll-bar",noScrollbarsClassName="with-scroll-bars-hidden",removedBarSizeVariable="--removed-body-scroll-bar-size";function assignRef(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function useCallbackRef$2(e,t){var i=React.useState(function(){return{value:e,callback:t,facade:{get current(){return i.value},set current(n){var s=i.value;s!==n&&(i.value=n,i.callback(n,s))}}}})[0];return i.callback=t,i.facade}var useIsomorphicLayoutEffect$2=typeof window<"u"?React__namespace.useLayoutEffect:React__namespace.useEffect,currentValues=new WeakMap;function useMergeRefs(e,t){var i=useCallbackRef$2(null,function(n){return e.forEach(function(s){return assignRef(s,n)})});return useIsomorphicLayoutEffect$2(function(){var n=currentValues.get(i);if(n){var s=new Set(n),a=new Set(e),o=i.current;s.forEach(function(l){a.has(l)||assignRef(l,null)}),a.forEach(function(l){s.has(l)||assignRef(l,o)})}currentValues.set(i,e)},[e]),i}var __assign=function(){return __assign=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++){i=arguments[n];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},__assign.apply(this,arguments)};function __rest(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(i[n[s]]=e[n[s]]);return i}typeof SuppressedError=="function"&&SuppressedError;function ItoI(e){return e}function innerCreateMedium(e,t){t===void 0&&(t=ItoI);var i=[],n=!1,s={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:e},useMedium:function(a){var o=t(a,n);return i.push(o),function(){i=i.filter(function(l){return l!==o})}},assignSyncMedium:function(a){for(n=!0;i.length;){var o=i;i=[],o.forEach(a)}i={push:function(l){return a(l)},filter:function(){return i}}},assignMedium:function(a){n=!0;var o=[];if(i.length){var l=i;i=[],l.forEach(a),o=i}var c=function(){var f=o;o=[],f.forEach(a)},u=function(){return Promise.resolve().then(c)};u(),i={push:function(f){o.push(f),u()},filter:function(f){return o=o.filter(f),i}}}};return s}function createSidecarMedium(e){e===void 0&&(e={});var t=innerCreateMedium(null);return t.options=__assign({async:!0,ssr:!1},e),t}var SideCar$1=function(e){var t=e.sideCar,i=__rest(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return React__namespace.createElement(n,__assign({},i))};SideCar$1.isSideCarExport=!0;function exportSidecar(e,t){return e.useMedium(t),SideCar$1}var effectCar=createSidecarMedium(),nothing=function(){},RemoveScroll=React__namespace.forwardRef(function(e,t){var i=React__namespace.useRef(null),n=React__namespace.useState({onScrollCapture:nothing,onWheelCapture:nothing,onTouchMoveCapture:nothing}),s=n[0],a=n[1],o=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,b=e.noIsolation,y=e.inert,C=e.allowPinchZoom,R=e.as,m=R===void 0?"div":R,x=e.gapMode,g=__rest$1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=p,E=useMergeRefs([i,t]),M=__assign$1(__assign$1({},g),s);return React__namespace.createElement(React__namespace.Fragment,null,f&&React__namespace.createElement(S,{sideCar:effectCar,removeScrollBar:u,shards:d,noIsolation:b,inert:y,setCallbacks:a,allowPinchZoom:!!C,lockRef:i,gapMode:x}),o?React__namespace.cloneElement(React__namespace.Children.only(l),__assign$1(__assign$1({},M),{ref:E})):React__namespace.createElement(m,__assign$1({},M,{className:c,ref:E}),l))});RemoveScroll.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},RemoveScroll.classNames={fullWidth:fullWidthClassName,zeroRight:zeroRightClassName};var getNonce=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function makeStyleTag(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=getNonce();return t&&e.setAttribute("nonce",t),e}function injectStyles(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function insertStyleTag(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var stylesheetSingleton=function(){var e=0,t=null;return{add:function(i){e==0&&(t=makeStyleTag())&&(injectStyles(t,i),insertStyleTag(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},styleHookSingleton=function(){var e=stylesheetSingleton();return function(t,i){React__namespace.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&i])}},styleSingleton=function(){var e=styleHookSingleton(),t=function(i){var n=i.styles,s=i.dynamic;return e(n,s),null};return t},zeroGap={left:0,top:0,right:0,gap:0},parse=function(e){return parseInt(e||"",10)||0},getOffset=function(e){var t=window.getComputedStyle(document.body),i=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[parse(i),parse(n),parse(s)]},getGapWidth=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return zeroGap;var t=getOffset(e),i=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-i+t[2]-t[0])}},Style=styleSingleton(),lockAttribute="data-scroll-locked",getStyles=function(e,t,i,n){var s=e.left,a=e.top,o=e.right,l=e.gap;return i===void 0&&(i="margin"),`
2
2
  .`.concat(noScrollbarsClassName,` {
3
3
  overflow: hidden `).concat(n,`;
4
4
  padding-right: `).concat(l,"px ").concat(n,`;
@@ -35,16 +35,16 @@
35
35
  body[`).concat(lockAttribute,`] {
36
36
  `).concat(removedBarSizeVariable,": ").concat(l,`px;
37
37
  }
38
- `)},getCurrentUseCounter=function(){var e=parseInt(document.body.getAttribute(lockAttribute)||"0",10);return isFinite(e)?e:0},useLockAttribute=function(){React__namespace.useEffect(function(){return document.body.setAttribute(lockAttribute,(getCurrentUseCounter()+1).toString()),function(){var e=getCurrentUseCounter()-1;e<=0?document.body.removeAttribute(lockAttribute):document.body.setAttribute(lockAttribute,e.toString())}},[])},RemoveScrollBar=function(e){var t=e.noRelative,i=e.noImportant,n=e.gapMode,s=n===void 0?"margin":n;useLockAttribute();var a=React__namespace.useMemo(function(){return getGapWidth(s)},[s]);return React__namespace.createElement(Style,{styles:getStyles(a,!t,s,i?"":"!important")})},passiveSupported=!1;if(typeof window<"u")try{var options=Object.defineProperty({},"passive",{get:function(){return passiveSupported=!0,!0}});window.addEventListener("test",options,options),window.removeEventListener("test",options,options)}catch{passiveSupported=!1}var nonPassive=passiveSupported?{passive:!1}:!1,alwaysContainsScroll=function(e){return e.tagName==="TEXTAREA"},elementCanBeScrolled=function(e,t){if(!(e instanceof Element))return!1;var i=window.getComputedStyle(e);return i[t]!=="hidden"&&!(i.overflowY===i.overflowX&&!alwaysContainsScroll(e)&&i[t]==="visible")},elementCouldBeVScrolled=function(e){return elementCanBeScrolled(e,"overflowY")},elementCouldBeHScrolled=function(e){return elementCanBeScrolled(e,"overflowX")},locationCouldBeScrolled=function(e,t){var i=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var s=elementCouldBeScrolled(e,n);if(s){var a=getScrollVariables(e,n),o=a[1],l=a[2];if(o>l)return!0}n=n.parentNode}while(n&&n!==i.body);return!1},getVScrollVariables=function(e){var t=e.scrollTop,i=e.scrollHeight,n=e.clientHeight;return[t,i,n]},getHScrollVariables=function(e){var t=e.scrollLeft,i=e.scrollWidth,n=e.clientWidth;return[t,i,n]},elementCouldBeScrolled=function(e,t){return e==="v"?elementCouldBeVScrolled(t):elementCouldBeHScrolled(t)},getScrollVariables=function(e,t){return e==="v"?getVScrollVariables(t):getHScrollVariables(t)},getDirectionFactor=function(e,t){return e==="h"&&t==="rtl"?-1:1},handleScroll=function(e,t,i,n,s){var a=getDirectionFactor(e,window.getComputedStyle(t).direction),o=a*n,l=i.target,c=t.contains(l),u=!1,f=o>0,d=0,p=0;do{var b=getScrollVariables(e,l),C=b[0],y=b[1],R=b[2],m=y-R-a*C;(C||m)&&elementCouldBeScrolled(e,l)&&(d+=m,p+=C),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(f&&(Math.abs(d)<1||!s)||!f&&(Math.abs(p)<1||!s))&&(u=!0),u},getTouchXY=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},getDeltaXY=function(e){return[e.deltaX,e.deltaY]},extractRef=function(e){return e&&"current"in e?e.current:e},deltaCompare=function(e,t){return e[0]===t[0]&&e[1]===t[1]},generateStyle=function(e){return`
38
+ `)},getCurrentUseCounter=function(){var e=parseInt(document.body.getAttribute(lockAttribute)||"0",10);return isFinite(e)?e:0},useLockAttribute=function(){React__namespace.useEffect(function(){return document.body.setAttribute(lockAttribute,(getCurrentUseCounter()+1).toString()),function(){var e=getCurrentUseCounter()-1;e<=0?document.body.removeAttribute(lockAttribute):document.body.setAttribute(lockAttribute,e.toString())}},[])},RemoveScrollBar=function(e){var t=e.noRelative,i=e.noImportant,n=e.gapMode,s=n===void 0?"margin":n;useLockAttribute();var a=React__namespace.useMemo(function(){return getGapWidth(s)},[s]);return React__namespace.createElement(Style,{styles:getStyles(a,!t,s,i?"":"!important")})},passiveSupported=!1;if(typeof window<"u")try{var options=Object.defineProperty({},"passive",{get:function(){return passiveSupported=!0,!0}});window.addEventListener("test",options,options),window.removeEventListener("test",options,options)}catch{passiveSupported=!1}var nonPassive=passiveSupported?{passive:!1}:!1,alwaysContainsScroll=function(e){return e.tagName==="TEXTAREA"},elementCanBeScrolled=function(e,t){if(!(e instanceof Element))return!1;var i=window.getComputedStyle(e);return i[t]!=="hidden"&&!(i.overflowY===i.overflowX&&!alwaysContainsScroll(e)&&i[t]==="visible")},elementCouldBeVScrolled=function(e){return elementCanBeScrolled(e,"overflowY")},elementCouldBeHScrolled=function(e){return elementCanBeScrolled(e,"overflowX")},locationCouldBeScrolled=function(e,t){var i=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var s=elementCouldBeScrolled(e,n);if(s){var a=getScrollVariables(e,n),o=a[1],l=a[2];if(o>l)return!0}n=n.parentNode}while(n&&n!==i.body);return!1},getVScrollVariables=function(e){var t=e.scrollTop,i=e.scrollHeight,n=e.clientHeight;return[t,i,n]},getHScrollVariables=function(e){var t=e.scrollLeft,i=e.scrollWidth,n=e.clientWidth;return[t,i,n]},elementCouldBeScrolled=function(e,t){return e==="v"?elementCouldBeVScrolled(t):elementCouldBeHScrolled(t)},getScrollVariables=function(e,t){return e==="v"?getVScrollVariables(t):getHScrollVariables(t)},getDirectionFactor=function(e,t){return e==="h"&&t==="rtl"?-1:1},handleScroll=function(e,t,i,n,s){var a=getDirectionFactor(e,window.getComputedStyle(t).direction),o=a*n,l=i.target,c=t.contains(l),u=!1,f=o>0,d=0,p=0;do{var b=getScrollVariables(e,l),y=b[0],C=b[1],R=b[2],m=C-R-a*y;(y||m)&&elementCouldBeScrolled(e,l)&&(d+=m,p+=y),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(f&&(Math.abs(d)<1||!s)||!f&&(Math.abs(p)<1||!s))&&(u=!0),u},getTouchXY=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},getDeltaXY=function(e){return[e.deltaX,e.deltaY]},extractRef=function(e){return e&&"current"in e?e.current:e},deltaCompare=function(e,t){return e[0]===t[0]&&e[1]===t[1]},generateStyle=function(e){return`
39
39
  .block-interactivity-`.concat(e,` {pointer-events: none;}
40
40
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
41
- `)},idCounter=0,lockStack=[];function RemoveScrollSideCar(e){var t=React__namespace.useRef([]),i=React__namespace.useRef([0,0]),n=React__namespace.useRef(),s=React__namespace.useState(idCounter++)[0],a=React__namespace.useState(styleSingleton)[0],o=React__namespace.useRef(e);React__namespace.useEffect(function(){o.current=e},[e]),React__namespace.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var y=__spreadArray([e.lockRef.current],(e.shards||[]).map(extractRef),!0).filter(Boolean);return y.forEach(function(R){return R.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),y.forEach(function(R){return R.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var l=React__namespace.useCallback(function(y,R){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!o.current.allowPinchZoom;var m=getTouchXY(y),x=i.current,g="deltaX"in y?y.deltaX:x[0]-m[0],S="deltaY"in y?y.deltaY:x[1]-m[1],E,M=y.target,L=Math.abs(g)>Math.abs(S)?"h":"v";if("touches"in y&&L==="h"&&M.type==="range")return!1;var _=locationCouldBeScrolled(L,M);if(!_)return!0;if(_?E=L:(E=L==="v"?"h":"v",_=locationCouldBeScrolled(L,M)),!_)return!1;if(!n.current&&"changedTouches"in y&&(g||S)&&(n.current=E),!E)return!0;var I=n.current||E;return handleScroll(I,R,y,I==="h"?g:S,!0)},[]),c=React__namespace.useCallback(function(y){var R=y;if(!(!lockStack.length||lockStack[lockStack.length-1]!==a)){var m="deltaY"in R?getDeltaXY(R):getTouchXY(R),x=t.current.filter(function(E){return E.name===R.type&&(E.target===R.target||R.target===E.shadowParent)&&deltaCompare(E.delta,m)})[0];if(x&&x.should){R.cancelable&&R.preventDefault();return}if(!x){var g=(o.current.shards||[]).map(extractRef).filter(Boolean).filter(function(E){return E.contains(R.target)}),S=g.length>0?l(R,g[0]):!o.current.noIsolation;S&&R.cancelable&&R.preventDefault()}}},[]),u=React__namespace.useCallback(function(y,R,m,x){var g={name:y,delta:R,target:m,should:x,shadowParent:getOutermostShadowParent(m)};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(S){return S!==g})},1)},[]),f=React__namespace.useCallback(function(y){i.current=getTouchXY(y),n.current=void 0},[]),d=React__namespace.useCallback(function(y){u(y.type,getDeltaXY(y),y.target,l(y,e.lockRef.current))},[]),p=React__namespace.useCallback(function(y){u(y.type,getTouchXY(y),y.target,l(y,e.lockRef.current))},[]);React__namespace.useEffect(function(){return lockStack.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",c,nonPassive),document.addEventListener("touchmove",c,nonPassive),document.addEventListener("touchstart",f,nonPassive),function(){lockStack=lockStack.filter(function(y){return y!==a}),document.removeEventListener("wheel",c,nonPassive),document.removeEventListener("touchmove",c,nonPassive),document.removeEventListener("touchstart",f,nonPassive)}},[]);var b=e.removeScrollBar,C=e.inert;return React__namespace.createElement(React__namespace.Fragment,null,C?React__namespace.createElement(a,{styles:generateStyle(s)}):null,b?React__namespace.createElement(RemoveScrollBar,{gapMode:e.gapMode}):null)}function getOutermostShadowParent(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const SideCar=exportSidecar(effectCar,RemoveScrollSideCar);var ReactRemoveScroll=React__namespace.forwardRef(function(e,t){return React__namespace.createElement(RemoveScroll,__assign$1({},e,{ref:t,sideCar:SideCar}))});ReactRemoveScroll.classNames=RemoveScroll.classNames;const 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:n,...s})=>jsxRuntime.jsx(ClientOnly,{children:jsxRuntime.jsx(ReactRemoveScroll,{removeScrollBar:!1,enabled:!!e,children:jsxRuntime.jsx(Opacity,{level:"medium",className:cn(sidebarStyles({open:e,size:t,className:n})),...s,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[n,s]=React.useState(!1);React.useEffect(()=>{e&&s(!0)},[e]);const a=o=>{t&&(o.stopPropagation(),t())};return jsxRuntime.jsx(ClientOnly,{children:jsxRuntime.jsx(ReactRemoveScroll,{removeScrollBar:!1,enabled:!!e,children:jsxRuntime.jsx("div",{className:`gf-bg-dark-grey gf-bg-opacity-40 ${modalStyles({open:e})} ${n?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,...n})=>{const s=a=>{a.stopPropagation()};return jsxRuntime.jsx(Opacity,{level:i,onClick:s,className:`gf-mx-auto gf-backdrop-blur-md gf-overscroll-contain ${t||""}`,...n,children:e})};Modal.Children=Children;function composeEventHandlers(e,t,{checkForDefaultPrevented:i=!0}={}){return function(s){if(e==null||e(s),i===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function setRef$1(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function composeRefs$1(...e){return t=>{let i=!1;const n=e.map(s=>{const a=setRef$1(s,t);return!i&&typeof a=="function"&&(i=!0),a});if(i)return()=>{for(let s=0;s<n.length;s++){const a=n[s];typeof a=="function"?a():setRef$1(e[s],null)}}}}function useComposedRefs$1(...e){return React__namespace.useCallback(composeRefs$1(...e),e)}function createContext2(e,t){const i=React__namespace.createContext(t),n=a=>{const{children:o,...l}=a,c=React__namespace.useMemo(()=>l,Object.values(l));return jsxRuntime.jsx(i.Provider,{value:c,children:o})};n.displayName=e+"Provider";function s(a){const o=React__namespace.useContext(i);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[n,s]}function createContextScope(e,t=[]){let i=[];function n(a,o){const l=React__namespace.createContext(o),c=i.length;i=[...i,o];const u=d=>{var m;const{scope:p,children:b,...C}=d,y=((m=p==null?void 0:p[e])==null?void 0:m[c])||l,R=React__namespace.useMemo(()=>C,Object.values(C));return jsxRuntime.jsx(y.Provider,{value:R,children:b})};u.displayName=a+"Provider";function f(d,p){var y;const b=((y=p==null?void 0:p[e])==null?void 0:y[c])||l,C=React__namespace.useContext(b);if(C)return C;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[u,f]}const s=()=>{const a=i.map(o=>React__namespace.createContext(o));return function(l){const c=(l==null?void 0:l[e])||a;return React__namespace.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return s.scopeName=e,[n,composeContextScopes(s,...t)]}function composeContextScopes(...e){const t=e[0];if(e.length===1)return t;const i=()=>{const n=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(a){const o=n.reduce((l,{useScope:c,scopeName:u})=>{const d=c(a)[`__scope${u}`];return{...l,...d}},{});return React__namespace.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return i.scopeName=t.scopeName,i}var useLayoutEffect2=globalThis!=null&&globalThis.document?React__namespace.useLayoutEffect:()=>{},useReactId=React__namespace[" useId ".trim().toString()]||(()=>{}),count$1=0;function useId(e){const[t,i]=React__namespace.useState(useReactId());return useLayoutEffect2(()=>{e||i(n=>n??String(count$1++))},[e]),e||(t?`radix-${t}`:"")}var useInsertionEffect=React__namespace[" useInsertionEffect ".trim().toString()]||useLayoutEffect2;function useControllableState$1({prop:e,defaultProp:t,onChange:i=()=>{},caller:n}){const[s,a,o]=useUncontrolledState$1({defaultProp:t,onChange:i}),l=e!==void 0,c=l?e:s;{const f=React__namespace.useRef(e!==void 0);React__namespace.useEffect(()=>{const d=f.current;d!==l&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=l},[l,n])}const u=React__namespace.useCallback(f=>{var d;if(l){const p=isFunction(f)?f(e):f;p!==e&&((d=o.current)==null||d.call(o,p))}else a(f)},[l,e,a,o]);return[c,u]}function useUncontrolledState$1({defaultProp:e,onChange:t}){const[i,n]=React__namespace.useState(e),s=React__namespace.useRef(i),a=React__namespace.useRef(t);return useInsertionEffect(()=>{a.current=t},[t]),React__namespace.useEffect(()=>{var o;s.current!==i&&((o=a.current)==null||o.call(a,i),s.current=i)},[i,s]),[i,n,a]}function isFunction(e){return typeof e=="function"}function createSlot(e){const t=createSlotClone(e),i=React__namespace.forwardRef((n,s)=>{const{children:a,...o}=n,l=React__namespace.Children.toArray(a),c=l.find(isSlottable);if(c){const u=c.props.children,f=l.map(d=>d===c?React__namespace.Children.count(u)>1?React__namespace.Children.only(null):React__namespace.isValidElement(u)?u.props.children:null:d);return jsxRuntime.jsx(t,{...o,ref:s,children:React__namespace.isValidElement(u)?React__namespace.cloneElement(u,void 0,f):null})}return jsxRuntime.jsx(t,{...o,ref:s,children:a})});return i.displayName=`${e}.Slot`,i}function createSlotClone(e){const t=React__namespace.forwardRef((i,n)=>{const{children:s,...a}=i,o=React__namespace.isValidElement(s)?getElementRef$1(s):void 0,l=useComposedRefs$1(o,n);if(React__namespace.isValidElement(s)){const c=mergeProps(a,s.props);return s.type!==React__namespace.Fragment&&(c.ref=l),React__namespace.cloneElement(s,c)}return React__namespace.Children.count(s)>1?React__namespace.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var SLOTTABLE_IDENTIFIER=Symbol("radix.slottable");function isSlottable(e){return React__namespace.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===SLOTTABLE_IDENTIFIER}function mergeProps(e,t){const i={...t};for(const n in t){const s=e[n],a=t[n];/^on[A-Z]/.test(n)?s&&a?i[n]=(...l)=>{const c=a(...l);return s(...l),c}:s&&(i[n]=s):n==="style"?i[n]={...s,...a}:n==="className"&&(i[n]=[s,a].filter(Boolean).join(" "))}return{...e,...i}}function getElementRef$1(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,i=t&&"isReactWarning"in t&&t.isReactWarning;return i?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,i=t&&"isReactWarning"in t&&t.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}var NODES=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Primitive=NODES.reduce((e,t)=>{const i=createSlot(`Primitive.${t}`),n=React__namespace.forwardRef((s,a)=>{const{asChild:o,...l}=s,c=o?i:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),jsxRuntime.jsx(c,{...l,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function dispatchDiscreteCustomEvent(e,t){e&&ReactDOM__namespace.flushSync(()=>e.dispatchEvent(t))}function useCallbackRef$1(e){const t=React__namespace.useRef(e);return React__namespace.useEffect(()=>{t.current=e}),React__namespace.useMemo(()=>(...i)=>{var n;return(n=t.current)==null?void 0:n.call(t,...i)},[])}function useEscapeKeydown(e,t=globalThis==null?void 0:globalThis.document){const i=useCallbackRef$1(e);React__namespace.useEffect(()=>{const n=s=>{s.key==="Escape"&&i(s)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[i,t])}var DISMISSABLE_LAYER_NAME="DismissableLayer",CONTEXT_UPDATE="dismissableLayer.update",POINTER_DOWN_OUTSIDE="dismissableLayer.pointerDownOutside",FOCUS_OUTSIDE="dismissableLayer.focusOutside",originalBodyPointerEvents,DismissableLayerContext=React__namespace.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),DismissableLayer=React__namespace.forwardRef((e,t)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:o,onDismiss:l,...c}=e,u=React__namespace.useContext(DismissableLayerContext),[f,d]=React__namespace.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,b]=React__namespace.useState({}),C=useComposedRefs$1(t,L=>d(L)),y=Array.from(u.layers),[R]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=y.indexOf(R),x=f?y.indexOf(f):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,S=x>=m,E=usePointerDownOutside(L=>{const _=L.target,I=[...u.branches].some($=>$.contains(_));!S||I||(s==null||s(L),o==null||o(L),L.defaultPrevented||l==null||l())},p),M=useFocusOutside(L=>{const _=L.target;[...u.branches].some($=>$.contains(_))||(a==null||a(L),o==null||o(L),L.defaultPrevented||l==null||l())},p);return useEscapeKeydown(L=>{x===u.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},p),React__namespace.useEffect(()=>{if(f)return i&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(originalBodyPointerEvents=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),dispatchUpdate(),()=>{i&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=originalBodyPointerEvents)}},[f,p,i,u]),React__namespace.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),dispatchUpdate())},[f,u]),React__namespace.useEffect(()=>{const L=()=>b({});return document.addEventListener(CONTEXT_UPDATE,L),()=>document.removeEventListener(CONTEXT_UPDATE,L)},[]),jsxRuntime.jsx(Primitive.div,{...c,ref:C,style:{pointerEvents:g?S?"auto":"none":void 0,...e.style},onFocusCapture:composeEventHandlers(e.onFocusCapture,M.onFocusCapture),onBlurCapture:composeEventHandlers(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:composeEventHandlers(e.onPointerDownCapture,E.onPointerDownCapture)})});DismissableLayer.displayName=DISMISSABLE_LAYER_NAME;var BRANCH_NAME="DismissableLayerBranch",DismissableLayerBranch=React__namespace.forwardRef((e,t)=>{const i=React__namespace.useContext(DismissableLayerContext),n=React__namespace.useRef(null),s=useComposedRefs$1(t,n);return React__namespace.useEffect(()=>{const a=n.current;if(a)return i.branches.add(a),()=>{i.branches.delete(a)}},[i.branches]),jsxRuntime.jsx(Primitive.div,{...e,ref:s})});DismissableLayerBranch.displayName=BRANCH_NAME;function usePointerDownOutside(e,t=globalThis==null?void 0:globalThis.document){const i=useCallbackRef$1(e),n=React__namespace.useRef(!1),s=React__namespace.useRef(()=>{});return React__namespace.useEffect(()=>{const a=l=>{if(l.target&&!n.current){let c=function(){handleAndDispatchCustomEvent(POINTER_DOWN_OUTSIDE,i,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",a),t.removeEventListener("click",s.current)}},[t,i]),{onPointerDownCapture:()=>n.current=!0}}function useFocusOutside(e,t=globalThis==null?void 0:globalThis.document){const i=useCallbackRef$1(e),n=React__namespace.useRef(!1);return React__namespace.useEffect(()=>{const s=a=>{a.target&&!n.current&&handleAndDispatchCustomEvent(FOCUS_OUTSIDE,i,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,i]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function dispatchUpdate(){const e=new CustomEvent(CONTEXT_UPDATE);document.dispatchEvent(e)}function handleAndDispatchCustomEvent(e,t,i,{discrete:n}){const s=i.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:i});t&&s.addEventListener(e,t,{once:!0}),n?dispatchDiscreteCustomEvent(s,a):s.dispatchEvent(a)}var AUTOFOCUS_ON_MOUNT="focusScope.autoFocusOnMount",AUTOFOCUS_ON_UNMOUNT="focusScope.autoFocusOnUnmount",EVENT_OPTIONS={bubbles:!1,cancelable:!0},FOCUS_SCOPE_NAME="FocusScope",FocusScope=React__namespace.forwardRef((e,t)=>{const{loop:i=!1,trapped:n=!1,onMountAutoFocus:s,onUnmountAutoFocus:a,...o}=e,[l,c]=React__namespace.useState(null),u=useCallbackRef$1(s),f=useCallbackRef$1(a),d=React__namespace.useRef(null),p=useComposedRefs$1(t,y=>c(y)),b=React__namespace.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;React__namespace.useEffect(()=>{if(n){let y=function(g){if(b.paused||!l)return;const S=g.target;l.contains(S)?d.current=S:focus(d.current,{select:!0})},R=function(g){if(b.paused||!l)return;const S=g.relatedTarget;S!==null&&(l.contains(S)||focus(d.current,{select:!0}))},m=function(g){if(document.activeElement===document.body)for(const E of g)E.removedNodes.length>0&&focus(l)};document.addEventListener("focusin",y),document.addEventListener("focusout",R);const x=new MutationObserver(m);return l&&x.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",R),x.disconnect()}}},[n,l,b.paused]),React__namespace.useEffect(()=>{if(l){focusScopesStack.add(b);const y=document.activeElement;if(!l.contains(y)){const m=new CustomEvent(AUTOFOCUS_ON_MOUNT,EVENT_OPTIONS);l.addEventListener(AUTOFOCUS_ON_MOUNT,u),l.dispatchEvent(m),m.defaultPrevented||(focusFirst(removeLinks(getTabbableCandidates(l)),{select:!0}),document.activeElement===y&&focus(l))}return()=>{l.removeEventListener(AUTOFOCUS_ON_MOUNT,u),setTimeout(()=>{const m=new CustomEvent(AUTOFOCUS_ON_UNMOUNT,EVENT_OPTIONS);l.addEventListener(AUTOFOCUS_ON_UNMOUNT,f),l.dispatchEvent(m),m.defaultPrevented||focus(y??document.body,{select:!0}),l.removeEventListener(AUTOFOCUS_ON_UNMOUNT,f),focusScopesStack.remove(b)},0)}}},[l,u,f,b]);const C=React__namespace.useCallback(y=>{if(!i&&!n||b.paused)return;const R=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,m=document.activeElement;if(R&&m){const x=y.currentTarget,[g,S]=getTabbableEdges(x);g&&S?!y.shiftKey&&m===S?(y.preventDefault(),i&&focus(g,{select:!0})):y.shiftKey&&m===g&&(y.preventDefault(),i&&focus(S,{select:!0})):m===x&&y.preventDefault()}},[i,n,b.paused]);return jsxRuntime.jsx(Primitive.div,{tabIndex:-1,...o,ref:p,onKeyDown:C})});FocusScope.displayName=FOCUS_SCOPE_NAME;function focusFirst(e,{select:t=!1}={}){const i=document.activeElement;for(const n of e)if(focus(n,{select:t}),document.activeElement!==i)return}function getTabbableEdges(e){const t=getTabbableCandidates(e),i=findVisible(t,e),n=findVisible(t.reverse(),e);return[i,n]}function getTabbableCandidates(e){const t=[],i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)t.push(i.currentNode);return t}function findVisible(e,t){for(const i of e)if(!isHidden(i,{upTo:t}))return i}function isHidden(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function isSelectableInput(e){return e instanceof HTMLInputElement&&"select"in e}function focus(e,{select:t=!1}={}){if(e&&e.focus){const i=document.activeElement;e.focus({preventScroll:!0}),e!==i&&isSelectableInput(e)&&t&&e.select()}}var focusScopesStack=createFocusScopesStack();function createFocusScopesStack(){let e=[];return{add(t){const i=e[0];t!==i&&(i==null||i.pause()),e=arrayRemove(e,t),e.unshift(t)},remove(t){var i;e=arrayRemove(e,t),(i=e[0])==null||i.resume()}}}function arrayRemove(e,t){const i=[...e],n=i.indexOf(t);return n!==-1&&i.splice(n,1),i}function removeLinks(e){return e.filter(t=>t.tagName!=="A")}var PORTAL_NAME$1="Portal",Portal$2=React__namespace.forwardRef((e,t)=>{var l;const{container:i,...n}=e,[s,a]=React__namespace.useState(!1);useLayoutEffect2(()=>a(!0),[]);const o=i||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return o?ReactDOM.createPortal(jsxRuntime.jsx(Primitive.div,{...n,ref:t}),o):null});Portal$2.displayName=PORTAL_NAME$1;function useStateMachine(e,t){return React__namespace.useReducer((i,n)=>t[i][n]??i,e)}var Presence=e=>{const{present:t,children:i}=e,n=usePresence$1(t),s=typeof i=="function"?i({present:n.isPresent}):React__namespace.Children.only(i),a=useComposedRefs$1(n.ref,getElementRef(s));return typeof i=="function"||n.isPresent?React__namespace.cloneElement(s,{ref:a}):null};Presence.displayName="Presence";function usePresence$1(e){const[t,i]=React__namespace.useState(),n=React__namespace.useRef(null),s=React__namespace.useRef(e),a=React__namespace.useRef("none"),o=e?"mounted":"unmounted",[l,c]=useStateMachine(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return React__namespace.useEffect(()=>{const u=getAnimationName(n.current);a.current=l==="mounted"?u:"none"},[l]),useLayoutEffect2(()=>{const u=n.current,f=s.current;if(f!==e){const p=a.current,b=getAnimationName(u);e?c("MOUNT"):b==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(f&&p!==b?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),useLayoutEffect2(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,d=b=>{const y=getAnimationName(n.current).includes(b.animationName);if(b.target===t&&y&&(c("ANIMATION_END"),!s.current)){const R=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=R)})}},p=b=>{b.target===t&&(a.current=getAnimationName(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:React__namespace.useCallback(u=>{n.current=u?getComputedStyle(u):null,i(u)},[])}}function getAnimationName(e){return(e==null?void 0:e.animationName)||"none"}function getElementRef(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,i=t&&"isReactWarning"in t&&t.isReactWarning;return i?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,i=t&&"isReactWarning"in t&&t.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}var count=0;function useFocusGuards(){React__namespace.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??createFocusGuard()),document.body.insertAdjacentElement("beforeend",e[1]??createFocusGuard()),count++,()=>{count===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),count--}},[])}function createFocusGuard(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var getDefaultParent=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={},lockCount=0,unwrapHost=function(e){return e&&(e.host||unwrapHost(e.parentNode))},correctTargets=function(e,t){return t.map(function(i){if(e.contains(i))return i;var n=unwrapHost(i);return n&&e.contains(n)?n:(console.error("aria-hidden",i,"in not contained inside",e,". Doing nothing"),null)}).filter(function(i){return!!i})},applyAttributeToOthers=function(e,t,i,n){var s=correctTargets(t,Array.isArray(e)?e:[e]);markerMap[i]||(markerMap[i]=new WeakMap);var a=markerMap[i],o=[],l=new Set,c=new Set(s),u=function(d){!d||l.has(d)||(l.add(d),u(d.parentNode))};s.forEach(u);var f=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(p){if(l.has(p))f(p);else try{var b=p.getAttribute(n),C=b!==null&&b!=="false",y=(counterMap.get(p)||0)+1,R=(a.get(p)||0)+1;counterMap.set(p,y),a.set(p,R),o.push(p),y===1&&C&&uncontrolledNodes.set(p,!0),R===1&&p.setAttribute(i,"true"),C||p.setAttribute(n,"true")}catch(m){console.error("aria-hidden: cannot operate on ",p,m)}})};return f(t),l.clear(),lockCount++,function(){o.forEach(function(d){var p=counterMap.get(d)-1,b=a.get(d)-1;counterMap.set(d,p),a.set(d,b),p||(uncontrolledNodes.has(d)||d.removeAttribute(n),uncontrolledNodes.delete(d)),b||d.removeAttribute(i)}),lockCount--,lockCount||(counterMap=new WeakMap,counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={})}},hideOthers=function(e,t,i){i===void 0&&(i="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),s=getDefaultParent(e);return s?(n.push.apply(n,Array.from(s.querySelectorAll("[aria-live]"))),applyAttributeToOthers(n,s,i,"aria-hidden")):function(){return null}},DIALOG_NAME="Dialog",[createDialogContext,createDialogScope]=createContextScope(DIALOG_NAME),[DialogProvider,useDialogContext]=createDialogContext(DIALOG_NAME),Dialog=e=>{const{__scopeDialog:t,children:i,open:n,defaultOpen:s,onOpenChange:a,modal:o=!0}=e,l=React__namespace.useRef(null),c=React__namespace.useRef(null),[u,f]=useControllableState$1({prop:n,defaultProp:s??!1,onChange:a,caller:DIALOG_NAME});return jsxRuntime.jsx(DialogProvider,{scope:t,triggerRef:l,contentRef:c,contentId:useId(),titleId:useId(),descriptionId:useId(),open:u,onOpenChange:f,onOpenToggle:React__namespace.useCallback(()=>f(d=>!d),[f]),modal:o,children:i})};Dialog.displayName=DIALOG_NAME;var TRIGGER_NAME="DialogTrigger",DialogTrigger=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(TRIGGER_NAME,i),a=useComposedRefs$1(t,s.triggerRef);return jsxRuntime.jsx(Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":getState(s.open),...n,ref:a,onClick:composeEventHandlers(e.onClick,s.onOpenToggle)})});DialogTrigger.displayName=TRIGGER_NAME;var PORTAL_NAME="DialogPortal",[PortalProvider,usePortalContext]=createDialogContext(PORTAL_NAME,{forceMount:void 0}),DialogPortal=e=>{const{__scopeDialog:t,forceMount:i,children:n,container:s}=e,a=useDialogContext(PORTAL_NAME,t);return jsxRuntime.jsx(PortalProvider,{scope:t,forceMount:i,children:React__namespace.Children.map(n,o=>jsxRuntime.jsx(Presence,{present:i||a.open,children:jsxRuntime.jsx(Portal$2,{asChild:!0,container:s,children:o})}))})};DialogPortal.displayName=PORTAL_NAME;var OVERLAY_NAME="DialogOverlay",DialogOverlay=React__namespace.forwardRef((e,t)=>{const i=usePortalContext(OVERLAY_NAME,e.__scopeDialog),{forceMount:n=i.forceMount,...s}=e,a=useDialogContext(OVERLAY_NAME,e.__scopeDialog);return a.modal?jsxRuntime.jsx(Presence,{present:n||a.open,children:jsxRuntime.jsx(DialogOverlayImpl,{...s,ref:t})}):null});DialogOverlay.displayName=OVERLAY_NAME;var Slot=createSlot("DialogOverlay.RemoveScroll"),DialogOverlayImpl=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(OVERLAY_NAME,i);return jsxRuntime.jsx(ReactRemoveScroll,{as:Slot,allowPinchZoom:!0,shards:[s.contentRef],children:jsxRuntime.jsx(Primitive.div,{"data-state":getState(s.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),CONTENT_NAME="DialogContent",DialogContent=React__namespace.forwardRef((e,t)=>{const i=usePortalContext(CONTENT_NAME,e.__scopeDialog),{forceMount:n=i.forceMount,...s}=e,a=useDialogContext(CONTENT_NAME,e.__scopeDialog);return jsxRuntime.jsx(Presence,{present:n||a.open,children:a.modal?jsxRuntime.jsx(DialogContentModal,{...s,ref:t}):jsxRuntime.jsx(DialogContentNonModal,{...s,ref:t})})});DialogContent.displayName=CONTENT_NAME;var DialogContentModal=React__namespace.forwardRef((e,t)=>{const i=useDialogContext(CONTENT_NAME,e.__scopeDialog),n=React__namespace.useRef(null),s=useComposedRefs$1(t,i.contentRef,n);return React__namespace.useEffect(()=>{const a=n.current;if(a)return hideOthers(a)},[]),jsxRuntime.jsx(DialogContentImpl,{...e,ref:s,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:composeEventHandlers(e.onCloseAutoFocus,a=>{var o;a.preventDefault(),(o=i.triggerRef.current)==null||o.focus()}),onPointerDownOutside:composeEventHandlers(e.onPointerDownOutside,a=>{const o=a.detail.originalEvent,l=o.button===0&&o.ctrlKey===!0;(o.button===2||l)&&a.preventDefault()}),onFocusOutside:composeEventHandlers(e.onFocusOutside,a=>a.preventDefault())})}),DialogContentNonModal=React__namespace.forwardRef((e,t)=>{const i=useDialogContext(CONTENT_NAME,e.__scopeDialog),n=React__namespace.useRef(!1),s=React__namespace.useRef(!1);return jsxRuntime.jsx(DialogContentImpl,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var o,l;(o=e.onCloseAutoFocus)==null||o.call(e,a),a.defaultPrevented||(n.current||(l=i.triggerRef.current)==null||l.focus(),a.preventDefault()),n.current=!1,s.current=!1},onInteractOutside:a=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=a.target;((u=i.triggerRef.current)==null?void 0:u.contains(o))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&s.current&&a.preventDefault()}})}),DialogContentImpl=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:a,...o}=e,l=useDialogContext(CONTENT_NAME,i),c=React__namespace.useRef(null),u=useComposedRefs$1(t,c);return useFocusGuards(),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:a,children:jsxRuntime.jsx(DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":getState(l.open),...o,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(TitleWarning,{titleId:l.titleId}),jsxRuntime.jsx(DescriptionWarning,{contentRef:c,descriptionId:l.descriptionId})]})]})}),TITLE_NAME="DialogTitle",DialogTitle=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(TITLE_NAME,i);return jsxRuntime.jsx(Primitive.h2,{id:s.titleId,...n,ref:t})});DialogTitle.displayName=TITLE_NAME;var DESCRIPTION_NAME="DialogDescription",DialogDescription=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(DESCRIPTION_NAME,i);return jsxRuntime.jsx(Primitive.p,{id:s.descriptionId,...n,ref:t})});DialogDescription.displayName=DESCRIPTION_NAME;var CLOSE_NAME="DialogClose",DialogClose=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(CLOSE_NAME,i);return jsxRuntime.jsx(Primitive.button,{type:"button",...n,ref:t,onClick:composeEventHandlers(e.onClick,()=>s.onOpenChange(!1))})});DialogClose.displayName=CLOSE_NAME;function getState(e){return e?"open":"closed"}var TITLE_WARNING_NAME="DialogTitleWarning",[WarningProvider,useWarningContext]=createContext2(TITLE_WARNING_NAME,{contentName:CONTENT_NAME,titleName:TITLE_NAME,docsSlug:"dialog"}),TitleWarning=({titleId:e})=>{const t=useWarningContext(TITLE_WARNING_NAME),i=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
41
+ `)},idCounter=0,lockStack=[];function RemoveScrollSideCar(e){var t=React__namespace.useRef([]),i=React__namespace.useRef([0,0]),n=React__namespace.useRef(),s=React__namespace.useState(idCounter++)[0],a=React__namespace.useState(styleSingleton)[0],o=React__namespace.useRef(e);React__namespace.useEffect(function(){o.current=e},[e]),React__namespace.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var C=__spreadArray([e.lockRef.current],(e.shards||[]).map(extractRef),!0).filter(Boolean);return C.forEach(function(R){return R.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),C.forEach(function(R){return R.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var l=React__namespace.useCallback(function(C,R){if("touches"in C&&C.touches.length===2||C.type==="wheel"&&C.ctrlKey)return!o.current.allowPinchZoom;var m=getTouchXY(C),x=i.current,g="deltaX"in C?C.deltaX:x[0]-m[0],S="deltaY"in C?C.deltaY:x[1]-m[1],E,M=C.target,L=Math.abs(g)>Math.abs(S)?"h":"v";if("touches"in C&&L==="h"&&M.type==="range")return!1;var _=locationCouldBeScrolled(L,M);if(!_)return!0;if(_?E=L:(E=L==="v"?"h":"v",_=locationCouldBeScrolled(L,M)),!_)return!1;if(!n.current&&"changedTouches"in C&&(g||S)&&(n.current=E),!E)return!0;var I=n.current||E;return handleScroll(I,R,C,I==="h"?g:S,!0)},[]),c=React__namespace.useCallback(function(C){var R=C;if(!(!lockStack.length||lockStack[lockStack.length-1]!==a)){var m="deltaY"in R?getDeltaXY(R):getTouchXY(R),x=t.current.filter(function(E){return E.name===R.type&&(E.target===R.target||R.target===E.shadowParent)&&deltaCompare(E.delta,m)})[0];if(x&&x.should){R.cancelable&&R.preventDefault();return}if(!x){var g=(o.current.shards||[]).map(extractRef).filter(Boolean).filter(function(E){return E.contains(R.target)}),S=g.length>0?l(R,g[0]):!o.current.noIsolation;S&&R.cancelable&&R.preventDefault()}}},[]),u=React__namespace.useCallback(function(C,R,m,x){var g={name:C,delta:R,target:m,should:x,shadowParent:getOutermostShadowParent(m)};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(S){return S!==g})},1)},[]),f=React__namespace.useCallback(function(C){i.current=getTouchXY(C),n.current=void 0},[]),d=React__namespace.useCallback(function(C){u(C.type,getDeltaXY(C),C.target,l(C,e.lockRef.current))},[]),p=React__namespace.useCallback(function(C){u(C.type,getTouchXY(C),C.target,l(C,e.lockRef.current))},[]);React__namespace.useEffect(function(){return lockStack.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",c,nonPassive),document.addEventListener("touchmove",c,nonPassive),document.addEventListener("touchstart",f,nonPassive),function(){lockStack=lockStack.filter(function(C){return C!==a}),document.removeEventListener("wheel",c,nonPassive),document.removeEventListener("touchmove",c,nonPassive),document.removeEventListener("touchstart",f,nonPassive)}},[]);var b=e.removeScrollBar,y=e.inert;return React__namespace.createElement(React__namespace.Fragment,null,y?React__namespace.createElement(a,{styles:generateStyle(s)}):null,b?React__namespace.createElement(RemoveScrollBar,{gapMode:e.gapMode}):null)}function getOutermostShadowParent(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const SideCar=exportSidecar(effectCar,RemoveScrollSideCar);var ReactRemoveScroll=React__namespace.forwardRef(function(e,t){return React__namespace.createElement(RemoveScroll,__assign$1({},e,{ref:t,sideCar:SideCar}))});ReactRemoveScroll.classNames=RemoveScroll.classNames;const 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:n,...s})=>jsxRuntime.jsx(ClientOnly,{children:jsxRuntime.jsx(ReactRemoveScroll,{removeScrollBar:!1,enabled:!!e,children:jsxRuntime.jsx(Opacity,{level:"medium",className:cn(sidebarStyles({open:e,size:t,className:n})),...s,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,disableScrollLock:i,children:n})=>{const[s,a]=React.useState(!1);React.useEffect(()=>{e&&a(!0)},[e]);const o=l=>{t&&(l.stopPropagation(),t())};return jsxRuntime.jsx(ClientOnly,{children:jsxRuntime.jsx(ReactRemoveScroll,{removeScrollBar:!1,enabled:!!e&&!i,children: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:o,children:jsxRuntime.jsx("div",{className:`gf-transform gf-transition-transform ${e?"gf-animate-scale-in":"gf-animate-scale-out"}`,children:n})})})})},Children=({children:e,className:t,opacityLevel:i,...n})=>{const s=a=>{a.stopPropagation()};return jsxRuntime.jsx(Opacity,{level:i,onClick:s,className:`gf-mx-auto gf-backdrop-blur-md gf-overscroll-contain ${t||""}`,...n,children:e})};Modal.Children=Children;function composeEventHandlers(e,t,{checkForDefaultPrevented:i=!0}={}){return function(s){if(e==null||e(s),i===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function setRef$1(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function composeRefs$1(...e){return t=>{let i=!1;const n=e.map(s=>{const a=setRef$1(s,t);return!i&&typeof a=="function"&&(i=!0),a});if(i)return()=>{for(let s=0;s<n.length;s++){const a=n[s];typeof a=="function"?a():setRef$1(e[s],null)}}}}function useComposedRefs$1(...e){return React__namespace.useCallback(composeRefs$1(...e),e)}function createContext2(e,t){const i=React__namespace.createContext(t),n=a=>{const{children:o,...l}=a,c=React__namespace.useMemo(()=>l,Object.values(l));return jsxRuntime.jsx(i.Provider,{value:c,children:o})};n.displayName=e+"Provider";function s(a){const o=React__namespace.useContext(i);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[n,s]}function createContextScope(e,t=[]){let i=[];function n(a,o){const l=React__namespace.createContext(o),c=i.length;i=[...i,o];const u=d=>{var m;const{scope:p,children:b,...y}=d,C=((m=p==null?void 0:p[e])==null?void 0:m[c])||l,R=React__namespace.useMemo(()=>y,Object.values(y));return jsxRuntime.jsx(C.Provider,{value:R,children:b})};u.displayName=a+"Provider";function f(d,p){var C;const b=((C=p==null?void 0:p[e])==null?void 0:C[c])||l,y=React__namespace.useContext(b);if(y)return y;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[u,f]}const s=()=>{const a=i.map(o=>React__namespace.createContext(o));return function(l){const c=(l==null?void 0:l[e])||a;return React__namespace.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return s.scopeName=e,[n,composeContextScopes(s,...t)]}function composeContextScopes(...e){const t=e[0];if(e.length===1)return t;const i=()=>{const n=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(a){const o=n.reduce((l,{useScope:c,scopeName:u})=>{const d=c(a)[`__scope${u}`];return{...l,...d}},{});return React__namespace.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return i.scopeName=t.scopeName,i}var useLayoutEffect2=globalThis!=null&&globalThis.document?React__namespace.useLayoutEffect:()=>{},useReactId=React__namespace[" useId ".trim().toString()]||(()=>{}),count$1=0;function useId(e){const[t,i]=React__namespace.useState(useReactId());return useLayoutEffect2(()=>{e||i(n=>n??String(count$1++))},[e]),e||(t?`radix-${t}`:"")}var useInsertionEffect=React__namespace[" useInsertionEffect ".trim().toString()]||useLayoutEffect2;function useControllableState$1({prop:e,defaultProp:t,onChange:i=()=>{},caller:n}){const[s,a,o]=useUncontrolledState$1({defaultProp:t,onChange:i}),l=e!==void 0,c=l?e:s;{const f=React__namespace.useRef(e!==void 0);React__namespace.useEffect(()=>{const d=f.current;d!==l&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=l},[l,n])}const u=React__namespace.useCallback(f=>{var d;if(l){const p=isFunction(f)?f(e):f;p!==e&&((d=o.current)==null||d.call(o,p))}else a(f)},[l,e,a,o]);return[c,u]}function useUncontrolledState$1({defaultProp:e,onChange:t}){const[i,n]=React__namespace.useState(e),s=React__namespace.useRef(i),a=React__namespace.useRef(t);return useInsertionEffect(()=>{a.current=t},[t]),React__namespace.useEffect(()=>{var o;s.current!==i&&((o=a.current)==null||o.call(a,i),s.current=i)},[i,s]),[i,n,a]}function isFunction(e){return typeof e=="function"}function createSlot(e){const t=createSlotClone(e),i=React__namespace.forwardRef((n,s)=>{const{children:a,...o}=n,l=React__namespace.Children.toArray(a),c=l.find(isSlottable);if(c){const u=c.props.children,f=l.map(d=>d===c?React__namespace.Children.count(u)>1?React__namespace.Children.only(null):React__namespace.isValidElement(u)?u.props.children:null:d);return jsxRuntime.jsx(t,{...o,ref:s,children:React__namespace.isValidElement(u)?React__namespace.cloneElement(u,void 0,f):null})}return jsxRuntime.jsx(t,{...o,ref:s,children:a})});return i.displayName=`${e}.Slot`,i}function createSlotClone(e){const t=React__namespace.forwardRef((i,n)=>{const{children:s,...a}=i,o=React__namespace.isValidElement(s)?getElementRef$1(s):void 0,l=useComposedRefs$1(o,n);if(React__namespace.isValidElement(s)){const c=mergeProps(a,s.props);return s.type!==React__namespace.Fragment&&(c.ref=l),React__namespace.cloneElement(s,c)}return React__namespace.Children.count(s)>1?React__namespace.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var SLOTTABLE_IDENTIFIER=Symbol("radix.slottable");function isSlottable(e){return React__namespace.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===SLOTTABLE_IDENTIFIER}function mergeProps(e,t){const i={...t};for(const n in t){const s=e[n],a=t[n];/^on[A-Z]/.test(n)?s&&a?i[n]=(...l)=>{const c=a(...l);return s(...l),c}:s&&(i[n]=s):n==="style"?i[n]={...s,...a}:n==="className"&&(i[n]=[s,a].filter(Boolean).join(" "))}return{...e,...i}}function getElementRef$1(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,i=t&&"isReactWarning"in t&&t.isReactWarning;return i?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,i=t&&"isReactWarning"in t&&t.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}var NODES=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Primitive=NODES.reduce((e,t)=>{const i=createSlot(`Primitive.${t}`),n=React__namespace.forwardRef((s,a)=>{const{asChild:o,...l}=s,c=o?i:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),jsxRuntime.jsx(c,{...l,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function dispatchDiscreteCustomEvent(e,t){e&&ReactDOM__namespace.flushSync(()=>e.dispatchEvent(t))}function useCallbackRef$1(e){const t=React__namespace.useRef(e);return React__namespace.useEffect(()=>{t.current=e}),React__namespace.useMemo(()=>(...i)=>{var n;return(n=t.current)==null?void 0:n.call(t,...i)},[])}function useEscapeKeydown(e,t=globalThis==null?void 0:globalThis.document){const i=useCallbackRef$1(e);React__namespace.useEffect(()=>{const n=s=>{s.key==="Escape"&&i(s)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[i,t])}var DISMISSABLE_LAYER_NAME="DismissableLayer",CONTEXT_UPDATE="dismissableLayer.update",POINTER_DOWN_OUTSIDE="dismissableLayer.pointerDownOutside",FOCUS_OUTSIDE="dismissableLayer.focusOutside",originalBodyPointerEvents,DismissableLayerContext=React__namespace.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),DismissableLayer=React__namespace.forwardRef((e,t)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:o,onDismiss:l,...c}=e,u=React__namespace.useContext(DismissableLayerContext),[f,d]=React__namespace.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,b]=React__namespace.useState({}),y=useComposedRefs$1(t,L=>d(L)),C=Array.from(u.layers),[R]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=C.indexOf(R),x=f?C.indexOf(f):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,S=x>=m,E=usePointerDownOutside(L=>{const _=L.target,I=[...u.branches].some($=>$.contains(_));!S||I||(s==null||s(L),o==null||o(L),L.defaultPrevented||l==null||l())},p),M=useFocusOutside(L=>{const _=L.target;[...u.branches].some($=>$.contains(_))||(a==null||a(L),o==null||o(L),L.defaultPrevented||l==null||l())},p);return useEscapeKeydown(L=>{x===u.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},p),React__namespace.useEffect(()=>{if(f)return i&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(originalBodyPointerEvents=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),dispatchUpdate(),()=>{i&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=originalBodyPointerEvents)}},[f,p,i,u]),React__namespace.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),dispatchUpdate())},[f,u]),React__namespace.useEffect(()=>{const L=()=>b({});return document.addEventListener(CONTEXT_UPDATE,L),()=>document.removeEventListener(CONTEXT_UPDATE,L)},[]),jsxRuntime.jsx(Primitive.div,{...c,ref:y,style:{pointerEvents:g?S?"auto":"none":void 0,...e.style},onFocusCapture:composeEventHandlers(e.onFocusCapture,M.onFocusCapture),onBlurCapture:composeEventHandlers(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:composeEventHandlers(e.onPointerDownCapture,E.onPointerDownCapture)})});DismissableLayer.displayName=DISMISSABLE_LAYER_NAME;var BRANCH_NAME="DismissableLayerBranch",DismissableLayerBranch=React__namespace.forwardRef((e,t)=>{const i=React__namespace.useContext(DismissableLayerContext),n=React__namespace.useRef(null),s=useComposedRefs$1(t,n);return React__namespace.useEffect(()=>{const a=n.current;if(a)return i.branches.add(a),()=>{i.branches.delete(a)}},[i.branches]),jsxRuntime.jsx(Primitive.div,{...e,ref:s})});DismissableLayerBranch.displayName=BRANCH_NAME;function usePointerDownOutside(e,t=globalThis==null?void 0:globalThis.document){const i=useCallbackRef$1(e),n=React__namespace.useRef(!1),s=React__namespace.useRef(()=>{});return React__namespace.useEffect(()=>{const a=l=>{if(l.target&&!n.current){let c=function(){handleAndDispatchCustomEvent(POINTER_DOWN_OUTSIDE,i,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",a),t.removeEventListener("click",s.current)}},[t,i]),{onPointerDownCapture:()=>n.current=!0}}function useFocusOutside(e,t=globalThis==null?void 0:globalThis.document){const i=useCallbackRef$1(e),n=React__namespace.useRef(!1);return React__namespace.useEffect(()=>{const s=a=>{a.target&&!n.current&&handleAndDispatchCustomEvent(FOCUS_OUTSIDE,i,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,i]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function dispatchUpdate(){const e=new CustomEvent(CONTEXT_UPDATE);document.dispatchEvent(e)}function handleAndDispatchCustomEvent(e,t,i,{discrete:n}){const s=i.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:i});t&&s.addEventListener(e,t,{once:!0}),n?dispatchDiscreteCustomEvent(s,a):s.dispatchEvent(a)}var AUTOFOCUS_ON_MOUNT="focusScope.autoFocusOnMount",AUTOFOCUS_ON_UNMOUNT="focusScope.autoFocusOnUnmount",EVENT_OPTIONS={bubbles:!1,cancelable:!0},FOCUS_SCOPE_NAME="FocusScope",FocusScope=React__namespace.forwardRef((e,t)=>{const{loop:i=!1,trapped:n=!1,onMountAutoFocus:s,onUnmountAutoFocus:a,...o}=e,[l,c]=React__namespace.useState(null),u=useCallbackRef$1(s),f=useCallbackRef$1(a),d=React__namespace.useRef(null),p=useComposedRefs$1(t,C=>c(C)),b=React__namespace.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;React__namespace.useEffect(()=>{if(n){let C=function(g){if(b.paused||!l)return;const S=g.target;l.contains(S)?d.current=S:focus(d.current,{select:!0})},R=function(g){if(b.paused||!l)return;const S=g.relatedTarget;S!==null&&(l.contains(S)||focus(d.current,{select:!0}))},m=function(g){if(document.activeElement===document.body)for(const E of g)E.removedNodes.length>0&&focus(l)};document.addEventListener("focusin",C),document.addEventListener("focusout",R);const x=new MutationObserver(m);return l&&x.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",C),document.removeEventListener("focusout",R),x.disconnect()}}},[n,l,b.paused]),React__namespace.useEffect(()=>{if(l){focusScopesStack.add(b);const C=document.activeElement;if(!l.contains(C)){const m=new CustomEvent(AUTOFOCUS_ON_MOUNT,EVENT_OPTIONS);l.addEventListener(AUTOFOCUS_ON_MOUNT,u),l.dispatchEvent(m),m.defaultPrevented||(focusFirst(removeLinks(getTabbableCandidates(l)),{select:!0}),document.activeElement===C&&focus(l))}return()=>{l.removeEventListener(AUTOFOCUS_ON_MOUNT,u),setTimeout(()=>{const m=new CustomEvent(AUTOFOCUS_ON_UNMOUNT,EVENT_OPTIONS);l.addEventListener(AUTOFOCUS_ON_UNMOUNT,f),l.dispatchEvent(m),m.defaultPrevented||focus(C??document.body,{select:!0}),l.removeEventListener(AUTOFOCUS_ON_UNMOUNT,f),focusScopesStack.remove(b)},0)}}},[l,u,f,b]);const y=React__namespace.useCallback(C=>{if(!i&&!n||b.paused)return;const R=C.key==="Tab"&&!C.altKey&&!C.ctrlKey&&!C.metaKey,m=document.activeElement;if(R&&m){const x=C.currentTarget,[g,S]=getTabbableEdges(x);g&&S?!C.shiftKey&&m===S?(C.preventDefault(),i&&focus(g,{select:!0})):C.shiftKey&&m===g&&(C.preventDefault(),i&&focus(S,{select:!0})):m===x&&C.preventDefault()}},[i,n,b.paused]);return jsxRuntime.jsx(Primitive.div,{tabIndex:-1,...o,ref:p,onKeyDown:y})});FocusScope.displayName=FOCUS_SCOPE_NAME;function focusFirst(e,{select:t=!1}={}){const i=document.activeElement;for(const n of e)if(focus(n,{select:t}),document.activeElement!==i)return}function getTabbableEdges(e){const t=getTabbableCandidates(e),i=findVisible(t,e),n=findVisible(t.reverse(),e);return[i,n]}function getTabbableCandidates(e){const t=[],i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)t.push(i.currentNode);return t}function findVisible(e,t){for(const i of e)if(!isHidden(i,{upTo:t}))return i}function isHidden(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function isSelectableInput(e){return e instanceof HTMLInputElement&&"select"in e}function focus(e,{select:t=!1}={}){if(e&&e.focus){const i=document.activeElement;e.focus({preventScroll:!0}),e!==i&&isSelectableInput(e)&&t&&e.select()}}var focusScopesStack=createFocusScopesStack();function createFocusScopesStack(){let e=[];return{add(t){const i=e[0];t!==i&&(i==null||i.pause()),e=arrayRemove(e,t),e.unshift(t)},remove(t){var i;e=arrayRemove(e,t),(i=e[0])==null||i.resume()}}}function arrayRemove(e,t){const i=[...e],n=i.indexOf(t);return n!==-1&&i.splice(n,1),i}function removeLinks(e){return e.filter(t=>t.tagName!=="A")}var PORTAL_NAME$1="Portal",Portal$2=React__namespace.forwardRef((e,t)=>{var l;const{container:i,...n}=e,[s,a]=React__namespace.useState(!1);useLayoutEffect2(()=>a(!0),[]);const o=i||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return o?ReactDOM.createPortal(jsxRuntime.jsx(Primitive.div,{...n,ref:t}),o):null});Portal$2.displayName=PORTAL_NAME$1;function useStateMachine(e,t){return React__namespace.useReducer((i,n)=>t[i][n]??i,e)}var Presence=e=>{const{present:t,children:i}=e,n=usePresence$1(t),s=typeof i=="function"?i({present:n.isPresent}):React__namespace.Children.only(i),a=useComposedRefs$1(n.ref,getElementRef(s));return typeof i=="function"||n.isPresent?React__namespace.cloneElement(s,{ref:a}):null};Presence.displayName="Presence";function usePresence$1(e){const[t,i]=React__namespace.useState(),n=React__namespace.useRef(null),s=React__namespace.useRef(e),a=React__namespace.useRef("none"),o=e?"mounted":"unmounted",[l,c]=useStateMachine(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return React__namespace.useEffect(()=>{const u=getAnimationName(n.current);a.current=l==="mounted"?u:"none"},[l]),useLayoutEffect2(()=>{const u=n.current,f=s.current;if(f!==e){const p=a.current,b=getAnimationName(u);e?c("MOUNT"):b==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(f&&p!==b?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),useLayoutEffect2(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,d=b=>{const C=getAnimationName(n.current).includes(b.animationName);if(b.target===t&&C&&(c("ANIMATION_END"),!s.current)){const R=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=R)})}},p=b=>{b.target===t&&(a.current=getAnimationName(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:React__namespace.useCallback(u=>{n.current=u?getComputedStyle(u):null,i(u)},[])}}function getAnimationName(e){return(e==null?void 0:e.animationName)||"none"}function getElementRef(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,i=t&&"isReactWarning"in t&&t.isReactWarning;return i?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,i=t&&"isReactWarning"in t&&t.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}var count=0;function useFocusGuards(){React__namespace.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??createFocusGuard()),document.body.insertAdjacentElement("beforeend",e[1]??createFocusGuard()),count++,()=>{count===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),count--}},[])}function createFocusGuard(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var getDefaultParent=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={},lockCount=0,unwrapHost=function(e){return e&&(e.host||unwrapHost(e.parentNode))},correctTargets=function(e,t){return t.map(function(i){if(e.contains(i))return i;var n=unwrapHost(i);return n&&e.contains(n)?n:(console.error("aria-hidden",i,"in not contained inside",e,". Doing nothing"),null)}).filter(function(i){return!!i})},applyAttributeToOthers=function(e,t,i,n){var s=correctTargets(t,Array.isArray(e)?e:[e]);markerMap[i]||(markerMap[i]=new WeakMap);var a=markerMap[i],o=[],l=new Set,c=new Set(s),u=function(d){!d||l.has(d)||(l.add(d),u(d.parentNode))};s.forEach(u);var f=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(p){if(l.has(p))f(p);else try{var b=p.getAttribute(n),y=b!==null&&b!=="false",C=(counterMap.get(p)||0)+1,R=(a.get(p)||0)+1;counterMap.set(p,C),a.set(p,R),o.push(p),C===1&&y&&uncontrolledNodes.set(p,!0),R===1&&p.setAttribute(i,"true"),y||p.setAttribute(n,"true")}catch(m){console.error("aria-hidden: cannot operate on ",p,m)}})};return f(t),l.clear(),lockCount++,function(){o.forEach(function(d){var p=counterMap.get(d)-1,b=a.get(d)-1;counterMap.set(d,p),a.set(d,b),p||(uncontrolledNodes.has(d)||d.removeAttribute(n),uncontrolledNodes.delete(d)),b||d.removeAttribute(i)}),lockCount--,lockCount||(counterMap=new WeakMap,counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={})}},hideOthers=function(e,t,i){i===void 0&&(i="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),s=getDefaultParent(e);return s?(n.push.apply(n,Array.from(s.querySelectorAll("[aria-live]"))),applyAttributeToOthers(n,s,i,"aria-hidden")):function(){return null}},DIALOG_NAME="Dialog",[createDialogContext,createDialogScope]=createContextScope(DIALOG_NAME),[DialogProvider,useDialogContext]=createDialogContext(DIALOG_NAME),Dialog=e=>{const{__scopeDialog:t,children:i,open:n,defaultOpen:s,onOpenChange:a,modal:o=!0}=e,l=React__namespace.useRef(null),c=React__namespace.useRef(null),[u,f]=useControllableState$1({prop:n,defaultProp:s??!1,onChange:a,caller:DIALOG_NAME});return jsxRuntime.jsx(DialogProvider,{scope:t,triggerRef:l,contentRef:c,contentId:useId(),titleId:useId(),descriptionId:useId(),open:u,onOpenChange:f,onOpenToggle:React__namespace.useCallback(()=>f(d=>!d),[f]),modal:o,children:i})};Dialog.displayName=DIALOG_NAME;var TRIGGER_NAME="DialogTrigger",DialogTrigger=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(TRIGGER_NAME,i),a=useComposedRefs$1(t,s.triggerRef);return jsxRuntime.jsx(Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":getState(s.open),...n,ref:a,onClick:composeEventHandlers(e.onClick,s.onOpenToggle)})});DialogTrigger.displayName=TRIGGER_NAME;var PORTAL_NAME="DialogPortal",[PortalProvider,usePortalContext]=createDialogContext(PORTAL_NAME,{forceMount:void 0}),DialogPortal=e=>{const{__scopeDialog:t,forceMount:i,children:n,container:s}=e,a=useDialogContext(PORTAL_NAME,t);return jsxRuntime.jsx(PortalProvider,{scope:t,forceMount:i,children:React__namespace.Children.map(n,o=>jsxRuntime.jsx(Presence,{present:i||a.open,children:jsxRuntime.jsx(Portal$2,{asChild:!0,container:s,children:o})}))})};DialogPortal.displayName=PORTAL_NAME;var OVERLAY_NAME="DialogOverlay",DialogOverlay=React__namespace.forwardRef((e,t)=>{const i=usePortalContext(OVERLAY_NAME,e.__scopeDialog),{forceMount:n=i.forceMount,...s}=e,a=useDialogContext(OVERLAY_NAME,e.__scopeDialog);return a.modal?jsxRuntime.jsx(Presence,{present:n||a.open,children:jsxRuntime.jsx(DialogOverlayImpl,{...s,ref:t})}):null});DialogOverlay.displayName=OVERLAY_NAME;var Slot=createSlot("DialogOverlay.RemoveScroll"),DialogOverlayImpl=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(OVERLAY_NAME,i);return jsxRuntime.jsx(ReactRemoveScroll,{as:Slot,allowPinchZoom:!0,shards:[s.contentRef],children:jsxRuntime.jsx(Primitive.div,{"data-state":getState(s.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),CONTENT_NAME="DialogContent",DialogContent=React__namespace.forwardRef((e,t)=>{const i=usePortalContext(CONTENT_NAME,e.__scopeDialog),{forceMount:n=i.forceMount,...s}=e,a=useDialogContext(CONTENT_NAME,e.__scopeDialog);return jsxRuntime.jsx(Presence,{present:n||a.open,children:a.modal?jsxRuntime.jsx(DialogContentModal,{...s,ref:t}):jsxRuntime.jsx(DialogContentNonModal,{...s,ref:t})})});DialogContent.displayName=CONTENT_NAME;var DialogContentModal=React__namespace.forwardRef((e,t)=>{const i=useDialogContext(CONTENT_NAME,e.__scopeDialog),n=React__namespace.useRef(null),s=useComposedRefs$1(t,i.contentRef,n);return React__namespace.useEffect(()=>{const a=n.current;if(a)return hideOthers(a)},[]),jsxRuntime.jsx(DialogContentImpl,{...e,ref:s,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:composeEventHandlers(e.onCloseAutoFocus,a=>{var o;a.preventDefault(),(o=i.triggerRef.current)==null||o.focus()}),onPointerDownOutside:composeEventHandlers(e.onPointerDownOutside,a=>{const o=a.detail.originalEvent,l=o.button===0&&o.ctrlKey===!0;(o.button===2||l)&&a.preventDefault()}),onFocusOutside:composeEventHandlers(e.onFocusOutside,a=>a.preventDefault())})}),DialogContentNonModal=React__namespace.forwardRef((e,t)=>{const i=useDialogContext(CONTENT_NAME,e.__scopeDialog),n=React__namespace.useRef(!1),s=React__namespace.useRef(!1);return jsxRuntime.jsx(DialogContentImpl,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var o,l;(o=e.onCloseAutoFocus)==null||o.call(e,a),a.defaultPrevented||(n.current||(l=i.triggerRef.current)==null||l.focus(),a.preventDefault()),n.current=!1,s.current=!1},onInteractOutside:a=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=a.target;((u=i.triggerRef.current)==null?void 0:u.contains(o))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&s.current&&a.preventDefault()}})}),DialogContentImpl=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:a,...o}=e,l=useDialogContext(CONTENT_NAME,i),c=React__namespace.useRef(null),u=useComposedRefs$1(t,c);return useFocusGuards(),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:a,children:jsxRuntime.jsx(DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":getState(l.open),...o,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(TitleWarning,{titleId:l.titleId}),jsxRuntime.jsx(DescriptionWarning,{contentRef:c,descriptionId:l.descriptionId})]})]})}),TITLE_NAME="DialogTitle",DialogTitle=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(TITLE_NAME,i);return jsxRuntime.jsx(Primitive.h2,{id:s.titleId,...n,ref:t})});DialogTitle.displayName=TITLE_NAME;var DESCRIPTION_NAME="DialogDescription",DialogDescription=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(DESCRIPTION_NAME,i);return jsxRuntime.jsx(Primitive.p,{id:s.descriptionId,...n,ref:t})});DialogDescription.displayName=DESCRIPTION_NAME;var CLOSE_NAME="DialogClose",DialogClose=React__namespace.forwardRef((e,t)=>{const{__scopeDialog:i,...n}=e,s=useDialogContext(CLOSE_NAME,i);return jsxRuntime.jsx(Primitive.button,{type:"button",...n,ref:t,onClick:composeEventHandlers(e.onClick,()=>s.onOpenChange(!1))})});DialogClose.displayName=CLOSE_NAME;function getState(e){return e?"open":"closed"}var TITLE_WARNING_NAME="DialogTitleWarning",[WarningProvider,useWarningContext]=createContext2(TITLE_WARNING_NAME,{contentName:CONTENT_NAME,titleName:TITLE_NAME,docsSlug:"dialog"}),TitleWarning=({titleId:e})=>{const t=useWarningContext(TITLE_WARNING_NAME),i=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
42
42
 
43
43
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
44
44
 
45
45
  For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return React__namespace.useEffect(()=>{e&&(document.getElementById(e)||console.error(i))},[i,e]),null},DESCRIPTION_WARNING_NAME="DialogDescriptionWarning",DescriptionWarning=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${useWarningContext(DESCRIPTION_WARNING_NAME).contentName}}.`;return React__namespace.useEffect(()=>{var a;const s=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Root$1=Dialog,Trigger=DialogTrigger,Portal$1=DialogPortal,Overlay$1=DialogOverlay,Content$1=DialogContent,Title=DialogTitle,Description=DialogDescription,Close=DialogClose;function __insertCSS(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",t.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}const DrawerContext=React.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),useDrawerContext=()=>{const e=React.useContext(DrawerContext);if(!e)throw new Error("useDrawerContext must be used within a Drawer.Root");return e};__insertCSS(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
46
46
  [data-state=closed]
47
- ){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);function isMobileFirefox(){const e=navigator.userAgent;return typeof window<"u"&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))}function isMac(){return testPlatform(/^Mac/)}function isIPhone(){return testPlatform(/^iPhone/)}function isSafari(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function isIPad(){return testPlatform(/^iPad/)||isMac()&&navigator.maxTouchPoints>1}function isIOS(){return isIPhone()||isIPad()}function testPlatform(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):void 0}const KEYBOARD_BUFFER=24,useIsomorphicLayoutEffect$1=typeof window<"u"?React.useLayoutEffect:React.useEffect;function chain$1(...e){return(...t)=>{for(let i of e)typeof i=="function"&&i(...t)}}const visualViewport=typeof document<"u"&&window.visualViewport;function isScrollable(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function getScrollParent(e){for(isScrollable(e)&&(e=e.parentElement);e&&!isScrollable(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}const nonTextInputTypes=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let preventScrollCount=0,restore;function usePreventScroll(e={}){let{isDisabled:t}=e;useIsomorphicLayoutEffect$1(()=>{if(!t)return preventScrollCount++,preventScrollCount===1&&isIOS()&&(restore=preventScrollMobileSafari()),()=>{preventScrollCount--,preventScrollCount===0&&(restore==null||restore())}},[t])}function preventScrollMobileSafari(){let e,t=0,i=d=>{e=getScrollParent(d.target),!(e===document.documentElement&&e===document.body)&&(t=d.changedTouches[0].pageY)},n=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}let p=d.changedTouches[0].pageY,b=e.scrollTop,C=e.scrollHeight-e.clientHeight;C!==0&&((b<=0&&p>t||b>=C&&p<t)&&d.preventDefault(),t=p)},s=d=>{let p=d.target;isInput(p)&&p!==document.activeElement&&(d.preventDefault(),p.style.transform="translateY(-2000px)",p.focus(),requestAnimationFrame(()=>{p.style.transform=""}))},a=d=>{let p=d.target;isInput(p)&&(p.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{p.style.transform="",visualViewport&&(visualViewport.height<window.innerHeight?requestAnimationFrame(()=>{scrollIntoView(p)}):visualViewport.addEventListener("resize",()=>scrollIntoView(p),{once:!0}))}))},o=()=>{window.scrollTo(0,0)},l=window.pageXOffset,c=window.pageYOffset,u=chain$1(setStyle(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let f=chain$1(addEvent(document,"touchstart",i,{passive:!1,capture:!0}),addEvent(document,"touchmove",n,{passive:!1,capture:!0}),addEvent(document,"touchend",s,{passive:!1,capture:!0}),addEvent(document,"focus",a,!0),addEvent(window,"scroll",o));return()=>{u(),f(),window.scrollTo(l,c)}}function setStyle(e,t,i){let n=e.style[t];return e.style[t]=i,()=>{e.style[t]=n}}function addEvent(e,t,i,n){return e.addEventListener(t,i,n),()=>{e.removeEventListener(t,i,n)}}function scrollIntoView(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let i=getScrollParent(e);if(i!==document.documentElement&&i!==document.body&&i!==e){let n=i.getBoundingClientRect().top,s=e.getBoundingClientRect().top,a=e.getBoundingClientRect().bottom;const o=i.getBoundingClientRect().bottom+KEYBOARD_BUFFER;a>o&&(i.scrollTop+=s-n)}e=i.parentElement}}function isInput(e){return e instanceof HTMLInputElement&&!nonTextInputTypes.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function setRef(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function composeRefs(...e){return t=>e.forEach(i=>setRef(i,t))}function useComposedRefs(...e){return React__namespace.useCallback(composeRefs(...e),e)}const cache=new WeakMap;function set(e,t,i=!1){if(!e||!(e instanceof HTMLElement))return;let n={};Object.entries(t).forEach(([s,a])=>{if(s.startsWith("--")){e.style.setProperty(s,a);return}n[s]=e.style[s],e.style[s]=a}),!i&&cache.set(e,n)}function reset(e,t){if(!e||!(e instanceof HTMLElement))return;let i=cache.get(e);i&&(e.style[t]=i[t])}const isVertical=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function getTranslate(e,t){if(!e)return null;const i=window.getComputedStyle(e),n=i.transform||i.webkitTransform||i.mozTransform;let s=n.match(/^matrix3d\((.+)\)$/);return s?parseFloat(s[1].split(", ")[isVertical(t)?13:12]):(s=n.match(/^matrix\((.+)\)$/),s?parseFloat(s[1].split(", ")[isVertical(t)?5:4]):null)}function dampenValue(e){return 8*(Math.log(e+1)-2)}function assignStyle(e,t){if(!e)return()=>{};const i=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=i}}function chain(...e){return(...t)=>{for(const i of e)typeof i=="function"&&i(...t)}}const TRANSITIONS={DURATION:.5,EASE:[.32,.72,0,1]},VELOCITY_THRESHOLD=.4,CLOSE_THRESHOLD=.25,SCROLL_LOCK_TIMEOUT=100,BORDER_RADIUS=8,NESTED_DISPLACEMENT=16,WINDOW_TOP_OFFSET=26,DRAG_CLASS="vaul-dragging";function useCallbackRef(e){const t=React.useRef(e);return React.useEffect(()=>{t.current=e}),React.useMemo(()=>(...i)=>t.current==null?void 0:t.current.call(t,...i),[])}function useUncontrolledState({defaultProp:e,onChange:t}){const i=React.useState(e),[n]=i,s=React.useRef(n),a=useCallbackRef(t);return React.useEffect(()=>{s.current!==n&&(a(n),s.current=n)},[n,s,a]),i}function useControllableState({prop:e,defaultProp:t,onChange:i=()=>{}}){const[n,s]=useUncontrolledState({defaultProp:t,onChange:i}),a=e!==void 0,o=a?e:n,l=useCallbackRef(i),c=React.useCallback(u=>{if(a){const d=typeof u=="function"?u(e):u;d!==e&&l(d)}else s(u)},[a,e,s,l]);return[o,c]}function useSnapPoints({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:i,drawerRef:n,overlayRef:s,fadeFromIndex:a,onSnapPointChange:o,direction:l="bottom",container:c,snapToSequentialPoint:u}){const[f,d]=useControllableState({prop:e,defaultProp:i==null?void 0:i[0],onChange:t}),[p,b]=React.useState(typeof window<"u"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);React.useEffect(()=>{function L(){b({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",L),()=>window.removeEventListener("resize",L)},[]);const C=React.useMemo(()=>f===(i==null?void 0:i[i.length-1])||null,[i,f]),y=React.useMemo(()=>{var L;return(L=i==null?void 0:i.findIndex(_=>_===f))!=null?L:null},[i,f]),R=i&&i.length>0&&(a||a===0)&&!Number.isNaN(a)&&i[a]===f||!i,m=React.useMemo(()=>{const L=c?{width:c.getBoundingClientRect().width,height:c.getBoundingClientRect().height}:typeof window<"u"?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};var _;return(_=i==null?void 0:i.map(I=>{const $=typeof I=="string";let z=0;if($&&(z=parseInt(I,10)),isVertical(l)){const N=$?z:p?I*L.height:0;return p?l==="bottom"?L.height-N:-L.height+N:N}const O=$?z:p?I*L.width:0;return p?l==="right"?L.width-O:-L.width+O:O}))!=null?_:[]},[i,p,c]),x=React.useMemo(()=>y!==null?m==null?void 0:m[y]:null,[m,y]),g=React.useCallback(L=>{var _;const I=(_=m==null?void 0:m.findIndex($=>$===L))!=null?_:null;o(I),set(n.current,{transition:`transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,transform:isVertical(l)?`translate3d(0, ${L}px, 0)`:`translate3d(${L}px, 0, 0)`}),m&&I!==m.length-1&&a!==void 0&&I!==a&&I<a?set(s.current,{transition:`opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,opacity:"0"}):set(s.current,{transition:`opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,opacity:"1"}),d(i==null?void 0:i[Math.max(I,0)])},[n.current,i,m,a,s,d]);React.useEffect(()=>{if(f||e){var L;const _=(L=i==null?void 0:i.findIndex(I=>I===e||I===f))!=null?L:-1;m&&_!==-1&&typeof m[_]=="number"&&g(m[_])}},[f,e,i,m,g]);function S({draggedDistance:L,closeDrawer:_,velocity:I,dismissible:$}){if(a===void 0)return;const z=l==="bottom"||l==="right"?(x??0)-L:(x??0)+L,O=y===a-1,N=y===0,K=L>0;if(O&&set(s.current,{transition:`opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`}),!u&&I>2&&!K){$?_():g(m[0]);return}if(!u&&I>2&&K&&m&&i){g(m[i.length-1]);return}const B=m==null?void 0:m.reduce((j,P)=>typeof j!="number"||typeof P!="number"?j:Math.abs(P-z)<Math.abs(j-z)?P:j),A=isVertical(l)?window.innerHeight:window.innerWidth;if(I>VELOCITY_THRESHOLD&&Math.abs(L)<A*.4){const j=K?1:-1;if(j>0&&C&&i){g(m[i.length-1]);return}if(N&&j<0&&$&&_(),y===null)return;g(m[y+j]);return}g(B)}function E({draggedDistance:L}){if(x===null)return;const _=l==="bottom"||l==="right"?x-L:x+L;(l==="bottom"||l==="right")&&_<m[m.length-1]||(l==="top"||l==="left")&&_>m[m.length-1]||set(n.current,{transform:isVertical(l)?`translate3d(0, ${_}px, 0)`:`translate3d(${_}px, 0, 0)`})}function M(L,_){if(!i||typeof y!="number"||!m||a===void 0)return null;const I=y===a-1;if(y>=a&&_)return 0;if(I&&!_)return 1;if(!R&&!I)return null;const z=I?y+1:y-1,O=I?m[z]-m[z-1]:m[z+1]-m[z],N=L/Math.abs(O);return I?1-N:N}return{isLastSnapPoint:C,activeSnapPoint:f,shouldFade:R,getPercentageDragged:M,setActiveSnapPoint:d,activeSnapPointIndex:y,onRelease:S,onDrag:E,snapPointsOffset:m}}const noop$1=()=>()=>{};function useScaleBackground(){const{direction:e,isOpen:t,shouldScaleBackground:i,setBackgroundColorOnScale:n,noBodyStyles:s}=useDrawerContext(),a=React.useRef(null),o=React.useMemo(()=>document.body.style.backgroundColor,[]);function l(){return(window.innerWidth-WINDOW_TOP_OFFSET)/window.innerWidth}React.useEffect(()=>{if(t&&i){a.current&&clearTimeout(a.current);const c=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!c)return;chain(n&&!s?assignStyle(document.body,{background:"black"}):noop$1,assignStyle(c,{transformOrigin:isVertical(e)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${TRANSITIONS.DURATION}s`,transitionTimingFunction:`cubic-bezier(${TRANSITIONS.EASE.join(",")})`}));const u=assignStyle(c,{borderRadius:`${BORDER_RADIUS}px`,overflow:"hidden",...isVertical(e)?{transform:`scale(${l()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${l()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{u(),a.current=window.setTimeout(()=>{o?document.body.style.background=o:document.body.style.removeProperty("background")},TRANSITIONS.DURATION*1e3)}}},[t,i,o])}let previousBodyPosition=null;function usePositionFixed({isOpen:e,modal:t,nested:i,hasBeenOpened:n,preventScrollRestoration:s,noBodyStyles:a}){const[o,l]=React.useState(()=>typeof window<"u"?window.location.href:""),c=React.useRef(0),u=React.useCallback(()=>{if(isSafari()&&previousBodyPosition===null&&e&&!a){previousBodyPosition={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:d,innerHeight:p}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-c.current}px`,left:`${-d}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const b=p-window.innerHeight;b&&c.current>=p&&(document.body.style.top=`${-(c.current+b)}px`)}),300)}},[e]),f=React.useCallback(()=>{if(isSafari()&&previousBodyPosition!==null&&!a){const d=-parseInt(document.body.style.top,10),p=-parseInt(document.body.style.left,10);Object.assign(document.body.style,previousBodyPosition),window.requestAnimationFrame(()=>{if(s&&o!==window.location.href){l(window.location.href);return}window.scrollTo(p,d)}),previousBodyPosition=null}},[o]);return React.useEffect(()=>{function d(){c.current=window.scrollY}return d(),window.addEventListener("scroll",d),()=>{window.removeEventListener("scroll",d)}},[]),React.useEffect(()=>{if(t)return()=>{typeof document>"u"||document.querySelector("[data-vaul-drawer]")||f()}},[t,f]),React.useEffect(()=>{i||!n||(e?(!window.matchMedia("(display-mode: standalone)").matches&&u(),t||window.setTimeout(()=>{f()},500)):f())},[e,n,o,t,i,u,f]),{restorePositionSetting:f}}function Root({open:e,onOpenChange:t,children:i,onDrag:n,onRelease:s,snapPoints:a,shouldScaleBackground:o=!1,setBackgroundColorOnScale:l=!0,closeThreshold:c=CLOSE_THRESHOLD,scrollLockTimeout:u=SCROLL_LOCK_TIMEOUT,dismissible:f=!0,handleOnly:d=!1,fadeFromIndex:p=a&&a.length-1,activeSnapPoint:b,setActiveSnapPoint:C,fixed:y,modal:R=!0,onClose:m,nested:x,noBodyStyles:g=!1,direction:S="bottom",defaultOpen:E=!1,disablePreventScroll:M=!0,snapToSequentialPoint:L=!1,preventScrollRestoration:_=!1,repositionInputs:I=!0,onAnimationEnd:$,container:z,autoFocus:O=!1}){var N,K;const[B=!1,A]=useControllableState({defaultProp:E,prop:e,onChange:H=>{t==null||t(H),!H&&!x&&Me(),setTimeout(()=>{$==null||$(H)},TRANSITIONS.DURATION*1e3),H&&!R&&typeof window<"u"&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),H||(document.body.style.pointerEvents="auto")}}),[j,P]=React.useState(!1),[T,k]=React.useState(!1),[V,W]=React.useState(!1),q=React.useRef(null),Y=React.useRef(null),ee=React.useRef(null),re=React.useRef(null),ce=React.useRef(null),he=React.useRef(!1),me=React.useRef(null),pe=React.useRef(0),se=React.useRef(!1),fe=React.useRef(!E),ie=React.useRef(0),X=React.useRef(null),Ee=React.useRef(((N=X.current)==null?void 0:N.getBoundingClientRect().height)||0),Le=React.useRef(((K=X.current)==null?void 0:K.getBoundingClientRect().width)||0),be=React.useRef(0),Ce=React.useCallback(H=>{a&&H===we.length-1&&(Y.current=new Date)},[]),{activeSnapPoint:Pe,activeSnapPointIndex:ve,setActiveSnapPoint:ye,onRelease:xe,snapPointsOffset:we,onDrag:Se,shouldFade:Te,getPercentageDragged:Re}=useSnapPoints({snapPoints:a,activeSnapPointProp:b,setActiveSnapPointProp:C,drawerRef:X,fadeFromIndex:p,overlayRef:q,onSnapPointChange:Ce,direction:S,container:z,snapToSequentialPoint:L});usePreventScroll({isDisabled:!B||T||!R||V||!j||!I||!M});const{restorePositionSetting:Me}=usePositionFixed({isOpen:B,modal:R,nested:x??!1,hasBeenOpened:j,preventScrollRestoration:_,noBodyStyles:g});function _e(){return(window.innerWidth-WINDOW_TOP_OFFSET)/window.innerWidth}function je(H){var D,Z;!f&&!a||X.current&&!X.current.contains(H.target)||(Ee.current=((D=X.current)==null?void 0:D.getBoundingClientRect().height)||0,Le.current=((Z=X.current)==null?void 0:Z.getBoundingClientRect().width)||0,k(!0),ee.current=new Date,isIOS()&&window.addEventListener("touchend",()=>he.current=!1,{once:!0}),H.target.setPointerCapture(H.pointerId),pe.current=isVertical(S)?H.pageY:H.pageX)}function Ve(H,D){var Z;let J=H;const Q=(Z=window.getSelection())==null?void 0:Z.toString(),te=X.current?getTranslate(X.current,S):null,ne=new Date;if(J.tagName==="SELECT"||J.hasAttribute("data-vaul-no-drag")||J.closest("[data-vaul-no-drag]"))return!1;if(S==="right"||S==="left")return!0;if(Y.current&&ne.getTime()-Y.current.getTime()<500)return!1;if(te!==null&&(S==="bottom"?te>0:te<0))return!0;if(Q&&Q.length>0)return!1;if(ce.current&&ne.getTime()-ce.current.getTime()<u&&te===0||D)return ce.current=ne,!1;for(;J;){if(J.scrollHeight>J.clientHeight){if(J.scrollTop!==0)return ce.current=new Date,!1;if(J.getAttribute("role")==="dialog")return!0}J=J.parentNode}return!0}function De(H){if(X.current&&T){const D=S==="bottom"||S==="right"?1:-1,Z=(pe.current-(isVertical(S)?H.pageY:H.pageX))*D,J=Z>0,Q=a&&!f&&!J;if(Q&&ve===0)return;const te=Math.abs(Z),ne=document.querySelector("[data-vaul-drawer-wrapper]"),le=S==="bottom"||S==="top"?Ee.current:Le.current;let ae=te/le;const oe=Re(te,J);if(oe!==null&&(ae=oe),Q&&ae>=1||!he.current&&!Ve(H.target,J))return;if(X.current.classList.add(DRAG_CLASS),he.current=!0,set(X.current,{transition:"none"}),set(q.current,{transition:"none"}),a&&Se({draggedDistance:Z}),J&&!a){const ue=dampenValue(Z),ge=Math.min(ue*-1,0)*D;set(X.current,{transform:isVertical(S)?`translate3d(0, ${ge}px, 0)`:`translate3d(${ge}px, 0, 0)`});return}const de=1-ae;if((Te||p&&ve===p-1)&&(n==null||n(H,ae),set(q.current,{opacity:`${de}`,transition:"none"},!0)),ne&&q.current&&o){const ue=Math.min(_e()+ae*(1-_e()),1),ge=8-ae*8,ke=Math.max(0,14-ae*14);set(ne,{borderRadius:`${ge}px`,transform:isVertical(S)?`scale(${ue}) translate3d(0, ${ke}px, 0)`:`scale(${ue}) translate3d(${ke}px, 0, 0)`,transition:"none"},!0)}if(!a){const ue=te*D;set(X.current,{transform:isVertical(S)?`translate3d(0, ${ue}px, 0)`:`translate3d(${ue}px, 0, 0)`})}}}React.useEffect(()=>{window.requestAnimationFrame(()=>{fe.current=!0})},[]),React.useEffect(()=>{var H;function D(){if(!X.current||!I)return;const Z=document.activeElement;if(isInput(Z)||se.current){var J;const Q=((J=window.visualViewport)==null?void 0:J.height)||0,te=window.innerHeight;let ne=te-Q;const le=X.current.getBoundingClientRect().height||0,ae=le>te*.8;be.current||(be.current=le);const oe=X.current.getBoundingClientRect().top;if(Math.abs(ie.current-ne)>60&&(se.current=!se.current),a&&a.length>0&&we&&ve){const de=we[ve]||0;ne+=de}if(ie.current=ne,le>Q||se.current){const de=X.current.getBoundingClientRect().height;let ue=de;de>Q&&(ue=Q-(ae?oe:WINDOW_TOP_OFFSET)),y?X.current.style.height=`${de-Math.max(ne,0)}px`:X.current.style.height=`${Math.max(ue,Q-oe)}px`}else isMobileFirefox()||(X.current.style.height=`${be.current}px`);a&&a.length>0&&!se.current?X.current.style.bottom="0px":X.current.style.bottom=`${Math.max(ne,0)}px`}}return(H=window.visualViewport)==null||H.addEventListener("resize",D),()=>{var Z;return(Z=window.visualViewport)==null?void 0:Z.removeEventListener("resize",D)}},[ve,a,we]);function Ae(H){Fe(),m==null||m(),H||A(!1),setTimeout(()=>{a&&ye(a[0])},TRANSITIONS.DURATION*1e3)}function Ie(){if(!X.current)return;const H=document.querySelector("[data-vaul-drawer-wrapper]"),D=getTranslate(X.current,S);set(X.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`}),set(q.current,{transition:`opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,opacity:"1"}),o&&D&&D>0&&B&&set(H,{borderRadius:`${BORDER_RADIUS}px`,overflow:"hidden",...isVertical(S)?{transform:`scale(${_e()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${_e()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${TRANSITIONS.DURATION}s`,transitionTimingFunction:`cubic-bezier(${TRANSITIONS.EASE.join(",")})`},!0)}function Fe(){!T||!X.current||(X.current.classList.remove(DRAG_CLASS),he.current=!1,k(!1),re.current=new Date)}function He(H){if(!T||!X.current)return;X.current.classList.remove(DRAG_CLASS),he.current=!1,k(!1),re.current=new Date;const D=getTranslate(X.current,S);if(!H||!Ve(H.target,!1)||!D||Number.isNaN(D)||ee.current===null)return;const Z=re.current.getTime()-ee.current.getTime(),J=pe.current-(isVertical(S)?H.pageY:H.pageX),Q=Math.abs(J)/Z;if(Q>.05&&(W(!0),setTimeout(()=>{W(!1)},200)),a){xe({draggedDistance:J*(S==="bottom"||S==="right"?1:-1),closeDrawer:Ae,velocity:Q,dismissible:f}),s==null||s(H,!0);return}if(S==="bottom"||S==="right"?J>0:J<0){Ie(),s==null||s(H,!0);return}if(Q>VELOCITY_THRESHOLD){Ae(),s==null||s(H,!1);return}var te;const ne=Math.min((te=X.current.getBoundingClientRect().height)!=null?te:0,window.innerHeight);var le;const ae=Math.min((le=X.current.getBoundingClientRect().width)!=null?le:0,window.innerWidth),oe=S==="left"||S==="right";if(Math.abs(D)>=(oe?ae:ne)*c){Ae(),s==null||s(H,!1);return}s==null||s(H,!0),Ie()}React.useEffect(()=>(B&&(set(document.documentElement,{scrollBehavior:"auto"}),Y.current=new Date),()=>{reset(document.documentElement,"scrollBehavior")}),[B]);function U(H){const D=H?(window.innerWidth-NESTED_DISPLACEMENT)/window.innerWidth:1,Z=H?-NESTED_DISPLACEMENT:0;me.current&&window.clearTimeout(me.current),set(X.current,{transition:`transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,transform:isVertical(S)?`scale(${D}) translate3d(0, ${Z}px, 0)`:`scale(${D}) translate3d(${Z}px, 0, 0)`}),!H&&X.current&&(me.current=setTimeout(()=>{const J=getTranslate(X.current,S);set(X.current,{transition:"none",transform:isVertical(S)?`translate3d(0, ${J}px, 0)`:`translate3d(${J}px, 0, 0)`})},500))}function F(H,D){if(D<0)return;const Z=(window.innerWidth-NESTED_DISPLACEMENT)/window.innerWidth,J=Z+D*(1-Z),Q=-NESTED_DISPLACEMENT+D*NESTED_DISPLACEMENT;set(X.current,{transform:isVertical(S)?`scale(${J}) translate3d(0, ${Q}px, 0)`:`scale(${J}) translate3d(${Q}px, 0, 0)`,transition:"none"})}function G(H,D){const Z=isVertical(S)?window.innerHeight:window.innerWidth,J=D?(Z-NESTED_DISPLACEMENT)/Z:1,Q=D?-NESTED_DISPLACEMENT:0;D&&set(X.current,{transition:`transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,transform:isVertical(S)?`scale(${J}) translate3d(0, ${Q}px, 0)`:`scale(${J}) translate3d(${Q}px, 0, 0)`})}return React.useEffect(()=>{R||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[R]),React.createElement(Root$1,{defaultOpen:E,onOpenChange:H=>{!f&&!H||(H?P(!0):Ae(!0),A(H))},open:B},React.createElement(DrawerContext.Provider,{value:{activeSnapPoint:Pe,snapPoints:a,setActiveSnapPoint:ye,drawerRef:X,overlayRef:q,onOpenChange:t,onPress:je,onRelease:He,onDrag:De,dismissible:f,shouldAnimate:fe,handleOnly:d,isOpen:B,isDragging:T,shouldFade:Te,closeDrawer:Ae,onNestedDrag:F,onNestedOpenChange:U,onNestedRelease:G,keyboardIsOpen:se,modal:R,snapPointsOffset:we,activeSnapPointIndex:ve,direction:S,shouldScaleBackground:o,setBackgroundColorOnScale:l,noBodyStyles:g,container:z,autoFocus:O}},i))}const Overlay=React.forwardRef(function({...e},t){const{overlayRef:i,snapPoints:n,onRelease:s,shouldFade:a,isOpen:o,modal:l,shouldAnimate:c}=useDrawerContext(),u=useComposedRefs(t,i),f=n&&n.length>0;if(!l)return null;const d=React.useCallback(p=>s(p),[s]);return React.createElement(Overlay$1,{onMouseUp:d,ref:u,"data-vaul-overlay":"","data-vaul-snap-points":o&&f?"true":"false","data-vaul-snap-points-overlay":o&&a?"true":"false","data-vaul-animate":c!=null&&c.current?"true":"false",...e})});Overlay.displayName="Drawer.Overlay";const Content=React.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:i,...n},s){const{drawerRef:a,onPress:o,onRelease:l,onDrag:c,keyboardIsOpen:u,snapPointsOffset:f,activeSnapPointIndex:d,modal:p,isOpen:b,direction:C,snapPoints:y,container:R,handleOnly:m,shouldAnimate:x,autoFocus:g}=useDrawerContext(),[S,E]=React.useState(!1),M=useComposedRefs(s,a),L=React.useRef(null),_=React.useRef(null),I=React.useRef(!1),$=y&&y.length>0;useScaleBackground();const z=(N,K,B=0)=>{if(I.current)return!0;const A=Math.abs(N.y),j=Math.abs(N.x),P=j>A,T=["bottom","right"].includes(K)?1:-1;if(K==="left"||K==="right"){if(!(N.x*T<0)&&j>=0&&j<=B)return P}else if(!(N.y*T<0)&&A>=0&&A<=B)return!P;return I.current=!0,!0};React.useEffect(()=>{$&&window.requestAnimationFrame(()=>{E(!0)})},[]);function O(N){L.current=null,I.current=!1,l(N)}return React.createElement(Content$1,{"data-vaul-drawer-direction":C,"data-vaul-drawer":"","data-vaul-delayed-snap-points":S?"true":"false","data-vaul-snap-points":b&&$?"true":"false","data-vaul-custom-container":R?"true":"false","data-vaul-animate":x!=null&&x.current?"true":"false",...n,ref:M,style:f&&f.length>0?{"--snap-point-height":`${f[d??0]}px`,...t}:t,onPointerDown:N=>{m||(n.onPointerDown==null||n.onPointerDown.call(n,N),L.current={x:N.pageX,y:N.pageY},o(N))},onOpenAutoFocus:N=>{i==null||i(N),g||N.preventDefault()},onPointerDownOutside:N=>{if(e==null||e(N),!p||N.defaultPrevented){N.preventDefault();return}u.current&&(u.current=!1)},onFocusOutside:N=>{if(!p){N.preventDefault();return}},onPointerMove:N=>{if(_.current=N,m||(n.onPointerMove==null||n.onPointerMove.call(n,N),!L.current))return;const K=N.pageY-L.current.y,B=N.pageX-L.current.x,A=N.pointerType==="touch"?10:2;z({x:B,y:K},C,A)?c(N):(Math.abs(B)>A||Math.abs(K)>A)&&(L.current=null)},onPointerUp:N=>{n.onPointerUp==null||n.onPointerUp.call(n,N),L.current=null,I.current=!1,l(N)},onPointerOut:N=>{n.onPointerOut==null||n.onPointerOut.call(n,N),O(_.current)},onContextMenu:N=>{n.onContextMenu==null||n.onContextMenu.call(n,N),_.current&&O(_.current)}})});Content.displayName="Drawer.Content";const LONG_HANDLE_PRESS_TIMEOUT=250,DOUBLE_TAP_TIMEOUT=120,Handle=React.forwardRef(function({preventCycle:e=!1,children:t,...i},n){const{closeDrawer:s,isDragging:a,snapPoints:o,activeSnapPoint:l,setActiveSnapPoint:c,dismissible:u,handleOnly:f,isOpen:d,onPress:p,onDrag:b}=useDrawerContext(),C=React.useRef(null),y=React.useRef(!1);function R(){if(y.current){g();return}window.setTimeout(()=>{m()},DOUBLE_TAP_TIMEOUT)}function m(){if(a||e||y.current){g();return}if(g(),!o||o.length===0){u||s();return}if(l===o[o.length-1]&&u){s();return}const E=o.findIndex(L=>L===l);if(E===-1)return;const M=o[E+1];c(M)}function x(){C.current=window.setTimeout(()=>{y.current=!0},LONG_HANDLE_PRESS_TIMEOUT)}function g(){C.current&&window.clearTimeout(C.current),y.current=!1}return React.createElement("div",{onClick:R,onPointerCancel:g,onPointerDown:S=>{f&&p(S),x()},onPointerMove:S=>{f&&b(S)},ref:n,"data-vaul-drawer-visible":d?"true":"false","data-vaul-handle":"","aria-hidden":"true",...i},React.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},t))});Handle.displayName="Drawer.Handle";function NestedRoot({onDrag:e,onOpenChange:t,open:i,...n}){const{onNestedDrag:s,onNestedOpenChange:a,onNestedRelease:o}=useDrawerContext();if(!s)throw new Error("Drawer.NestedRoot must be placed in another drawer");return React.createElement(Root,{nested:!0,open:i,onClose:()=>{a(!1)},onDrag:(l,c)=>{s(l,c),e==null||e(l,c)},onOpenChange:l=>{l&&a(l),t==null||t(l)},onRelease:o,...n})}function Portal(e){const t=useDrawerContext(),{container:i=t.container,...n}=e;return React.createElement(Portal$1,{container:i,...n})}const Drawer={Root,NestedRoot,Content,Overlay,Trigger,Portal,Handle,Close,Title,Description},BottomSheet=({children:e,open:t,onOpenChange:i})=>jsxRuntime.jsx(ClientOnly,{children:jsxRuntime.jsxs(Drawer.Root,{open:t,onOpenChange:i,children:[jsxRuntime.jsx(Drawer.Overlay,{className:"gf-fixed gf-inset-0 gf-z-50 gf-h-screen gf-w-screen gf-bg-dark-grey gf-bg-opacity-40 gf-transition-colors gf-duration-500 gf-ease-cubic-in-out"}),jsxRuntime.jsx(Drawer.Portal,{children:jsxRuntime.jsxs(Drawer.Content,{className:"gf-fixed gf-bottom-0 gf-z-50 gf-h-fit gf-w-full gf-rounded-t-xl gf-bg-white/50 gf-px-4 gf-py-4 gf-outline-none gf-backdrop-blur-[20px]",children:[jsxRuntime.jsx("div",{className:"gf-mx-auto gf-mb-3 gf-h-1 gf-w-[60px] gf-rounded-full gf-bg-white/30"}),jsxRuntime.jsx("div",{className:"gf-scrollbar-hide gf-flex gf-max-h-[90vh] gf-flex-col gf-gap-5 gf-overflow-y-scroll",children:e})]})})]})}),Container=({children:e,className:t,...i})=>jsxRuntime.jsx("div",{...i,className:cn("gf-p-6 gf-rounded-2xl gf-w-fit",t),children:e}),ArrowDownwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor"})}),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:"currentColor"})}),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:"currentColor"})}),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:"currentColor"})}),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:"currentColor"})}),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:"currentColor"})}),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:"currentColor"})})]}),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:"currentColor"})}),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:"currentColor"})}),WalletIconRose=e=>jsxRuntime.jsx("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2 18C1.45 18 0.979167 17.8042 0.5875 17.4125C0.195833 17.0208 0 16.55 0 16V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H16C16.55 0 17.0208 0.195833 17.4125 0.5875C17.8042 0.979167 18 1.45 18 2H10C8.81667 2 7.85417 2.37083 7.1125 3.1125C6.37083 3.85417 6 4.81667 6 6V12C6 13.1833 6.37083 14.1458 7.1125 14.8875C7.85417 15.6292 8.81667 16 10 16H18C18 16.55 17.8042 17.0208 17.4125 17.4125C17.0208 17.8042 16.55 18 16 18H2ZM10 14C9.45 14 8.97917 13.8042 8.5875 13.4125C8.19583 13.0208 8 12.55 8 12V6C8 5.45 8.19583 4.97917 8.5875 4.5875C8.97917 4.19583 9.45 4 10 4H17C17.55 4 18.0208 4.19583 18.4125 4.5875C18.8042 4.97917 19 5.45 19 6V12C19 12.55 18.8042 13.0208 18.4125 13.4125C18.0208 13.8042 17.55 14 17 14H10ZM13 10.5C13.4333 10.5 13.7917 10.3583 14.075 10.075C14.3583 9.79167 14.5 9.43333 14.5 9C14.5 8.56667 14.3583 8.20833 14.075 7.925C13.7917 7.64167 13.4333 7.5 13 7.5C12.5667 7.5 12.2083 7.64167 11.925 7.925C11.6417 8.20833 11.5 8.56667 11.5 9C11.5 9.43333 11.6417 9.79167 11.925 10.075C12.2083 10.3583 12.5667 10.5 13 10.5Z",fill:"#E36492"})}),PasskeyIcon=({...e})=>jsxRuntime.jsx("svg",{width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.5 16V13.2C0.5 12.6333 0.645833 12.1125 0.9375 11.6375C1.22917 11.1625 1.61667 10.8 2.1 10.55C3.13333 10.0333 4.18333 9.64583 5.25 9.3875C6.31667 9.12917 7.4 9 8.5 9C8.83333 9 9.16667 9.0125 9.5 9.0375C9.83333 9.0625 10.1667 9.1 10.5 9.15C10.4333 10.1167 10.6083 11.0292 11.025 11.8875C11.4417 12.7458 12.05 13.45 12.85 14V16H0.5ZM16.5 19L15 17.5V12.85C14.2667 12.6333 13.6667 12.2208 13.2 11.6125C12.7333 11.0042 12.5 10.3 12.5 9.5C12.5 8.53333 12.8417 7.70833 13.525 7.025C14.2083 6.34167 15.0333 6 16 6C16.9667 6 17.7917 6.34167 18.475 7.025C19.1583 7.70833 19.5 8.53333 19.5 9.5C19.5 10.25 19.2875 10.9167 18.8625 11.5C18.4375 12.0833 17.9 12.5 17.25 12.75L18.5 14L17 15.5L18.5 17L16.5 19ZM8.5 8C7.4 8 6.45833 7.60833 5.675 6.825C4.89167 6.04167 4.5 5.1 4.5 4C4.5 2.9 4.89167 1.95833 5.675 1.175C6.45833 0.391667 7.4 0 8.5 0C9.6 0 10.5417 0.391667 11.325 1.175C12.1083 1.95833 12.5 2.9 12.5 4C12.5 5.1 12.1083 6.04167 11.325 6.825C10.5417 7.60833 9.6 8 8.5 8ZM16 10C16.2833 10 16.5208 9.90417 16.7125 9.7125C16.9042 9.52083 17 9.28333 17 9C17 8.71667 16.9042 8.47917 16.7125 8.2875C16.5208 8.09583 16.2833 8 16 8C15.7167 8 15.4792 8.09583 15.2875 8.2875C15.0958 8.47917 15 8.71667 15 9C15 9.28333 15.0958 9.52083 15.2875 9.7125C15.4792 9.90417 15.7167 10 16 10Z",fill:"#E36492"})}),ChainflipIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"#222222"}),jsxRuntime.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_radial_16260_59346)",fillOpacity:"0.15"}),jsxRuntime.jsxs("g",{clipPath:"url(#clip0_16260_59346)",children:[jsxRuntime.jsx("path",{d:"M17.9999 5.98035V11.0893C17.9999 11.9975 17.7125 12.8774 17.1939 13.6012C17.0326 13.8282 16.8504 14.034 16.6471 14.2256L16.6331 14.2327H14.2359V9.49982H12.0139H9.77096H9.57469H7.35974L7.38778 9.47144L9.26628 7.70461L9.96021 7.0589C10.7453 6.32094 11.7125 5.98035 12.778 5.98035H17.9999Z",fill:"url(#paint1_linear_16260_59346)"}),jsxRuntime.jsx("path",{d:"M16.6333 14.2398L16.6263 14.2469L16.6193 14.254L16.4931 14.3747L16.0165 14.8288L14.2852 16.4537L14.1169 16.6098C13.3319 17.3407 12.3015 17.738 11.2431 17.738H6.00012V15.4532L6.00713 14.2327L6.02115 12.6078C6.02816 11.4228 6.5118 10.3017 7.36694 9.4928H9.5819H9.58891V14.2327H16.6333V14.2398Z",fill:"url(#paint2_linear_16260_59346)"})]}),jsxRuntime.jsxs("defs",{children:[jsxRuntime.jsxs("radialGradient",{id:"paint0_radial_16260_59346",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.999999) rotate(48.8141) scale(31.8904)",children:[jsxRuntime.jsx("stop",{stopColor:"white"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),jsxRuntime.jsxs("linearGradient",{id:"paint1_linear_16260_59346",x1:"12.9315",y1:"5.47634",x2:"12.2436",y2:"18.4428",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#48EF8A"}),jsxRuntime.jsx("stop",{offset:"0.5458",stopColor:"#43B4A6"}),jsxRuntime.jsx("stop",{offset:"0.6918",stopColor:"#2D796F"}),jsxRuntime.jsx("stop",{offset:"0.9662",stopColor:"black"})]}),jsxRuntime.jsxs("linearGradient",{id:"paint2_linear_16260_59346",x1:"11.6332",y1:"18.3813",x2:"9.82728",y2:"5.0946",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#FF5F96"}),jsxRuntime.jsx("stop",{offset:"0.6103",stopColor:"#FF33AF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"black"})]}),jsxRuntime.jsx("clipPath",{id:"clip0_16260_59346",children:jsxRuntime.jsx("rect",{width:"12",height:"11.7647",fill:"white",transform:"translate(6 5.98035)"})})]})]}),RelayLinkIcon=e=>jsxRuntime.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 600 600",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M299.4 447.057L387.768 396.038V249.701L261.037 176.533L172.76 227.5L299.4 300.615V447.057Z",fill:"url(#paint0_linear_61_2)"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M300 128.75L346.737 101.662L304.683 77.3819C301.785 75.709 298.215 75.709 295.317 77.3819L109.548 184.636C106.651 186.309 104.866 189.4 104.866 192.746V407.254C104.866 410.6 106.651 413.692 109.548 415.364L295.317 522.618C298.215 524.291 301.785 524.291 304.683 522.618L490.452 415.364C493.349 413.692 495.134 410.6 495.134 407.254V358.613L448.307 385.625L300 471.25L151.693 385.625V214.375L300 128.75Z",fill:"url(#paint1_linear_61_2)"}),jsxRuntime.jsx("path",{d:"M407.406 384.568L495.078 333.951V193.022C495.078 189.676 493.292 186.584 490.395 184.911L368.346 114.447L281.771 164.431L407.406 236.966V384.568Z",fill:"url(#paint2_linear_61_2)"}),jsxRuntime.jsxs("defs",{children:[jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_61_2",x1:"241.468",y1:"193.157",x2:"207.525",y2:"429.887",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#624AFF"}),jsxRuntime.jsx("stop",{offset:"0.98",stopColor:"#DD09FF"})]}),jsxRuntime.jsxs("linearGradient",{id:"paint1_linear_61_2",x1:"180.056",y1:"494.56",x2:"234.169",y2:"49.7161",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#EF41FF"}),jsxRuntime.jsx("stop",{offset:"0.67",stopColor:"#1F6BFF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#7DEFFF"})]}),jsxRuntime.jsxs("linearGradient",{id:"paint2_linear_61_2",x1:"372.264",y1:"86.2467",x2:"319.851",y2:"316.686",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#7DEFFF"}),jsxRuntime.jsx("stop",{offset:"0.985",stopColor:"#5707FF"})]})]})]}),ThorswapIcon=e=>jsxRuntime.jsxs("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:16,height:16,viewBox:"0 0 2988 2988",style:{background:"new 0 0 2988 2988"},xmlSpace:"preserve",...e,children:[jsxRuntime.jsx("style",{type:"text/css",children:`.st0{enable-background:new;}
47
+ ){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);function isMobileFirefox(){const e=navigator.userAgent;return typeof window<"u"&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))}function isMac(){return testPlatform(/^Mac/)}function isIPhone(){return testPlatform(/^iPhone/)}function isSafari(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function isIPad(){return testPlatform(/^iPad/)||isMac()&&navigator.maxTouchPoints>1}function isIOS(){return isIPhone()||isIPad()}function testPlatform(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):void 0}const KEYBOARD_BUFFER=24,useIsomorphicLayoutEffect$1=typeof window<"u"?React.useLayoutEffect:React.useEffect;function chain$1(...e){return(...t)=>{for(let i of e)typeof i=="function"&&i(...t)}}const visualViewport=typeof document<"u"&&window.visualViewport;function isScrollable(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function getScrollParent(e){for(isScrollable(e)&&(e=e.parentElement);e&&!isScrollable(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}const nonTextInputTypes=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let preventScrollCount=0,restore;function usePreventScroll(e={}){let{isDisabled:t}=e;useIsomorphicLayoutEffect$1(()=>{if(!t)return preventScrollCount++,preventScrollCount===1&&isIOS()&&(restore=preventScrollMobileSafari()),()=>{preventScrollCount--,preventScrollCount===0&&(restore==null||restore())}},[t])}function preventScrollMobileSafari(){let e,t=0,i=d=>{e=getScrollParent(d.target),!(e===document.documentElement&&e===document.body)&&(t=d.changedTouches[0].pageY)},n=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}let p=d.changedTouches[0].pageY,b=e.scrollTop,y=e.scrollHeight-e.clientHeight;y!==0&&((b<=0&&p>t||b>=y&&p<t)&&d.preventDefault(),t=p)},s=d=>{let p=d.target;isInput(p)&&p!==document.activeElement&&(d.preventDefault(),p.style.transform="translateY(-2000px)",p.focus(),requestAnimationFrame(()=>{p.style.transform=""}))},a=d=>{let p=d.target;isInput(p)&&(p.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{p.style.transform="",visualViewport&&(visualViewport.height<window.innerHeight?requestAnimationFrame(()=>{scrollIntoView(p)}):visualViewport.addEventListener("resize",()=>scrollIntoView(p),{once:!0}))}))},o=()=>{window.scrollTo(0,0)},l=window.pageXOffset,c=window.pageYOffset,u=chain$1(setStyle(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let f=chain$1(addEvent(document,"touchstart",i,{passive:!1,capture:!0}),addEvent(document,"touchmove",n,{passive:!1,capture:!0}),addEvent(document,"touchend",s,{passive:!1,capture:!0}),addEvent(document,"focus",a,!0),addEvent(window,"scroll",o));return()=>{u(),f(),window.scrollTo(l,c)}}function setStyle(e,t,i){let n=e.style[t];return e.style[t]=i,()=>{e.style[t]=n}}function addEvent(e,t,i,n){return e.addEventListener(t,i,n),()=>{e.removeEventListener(t,i,n)}}function scrollIntoView(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let i=getScrollParent(e);if(i!==document.documentElement&&i!==document.body&&i!==e){let n=i.getBoundingClientRect().top,s=e.getBoundingClientRect().top,a=e.getBoundingClientRect().bottom;const o=i.getBoundingClientRect().bottom+KEYBOARD_BUFFER;a>o&&(i.scrollTop+=s-n)}e=i.parentElement}}function isInput(e){return e instanceof HTMLInputElement&&!nonTextInputTypes.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function setRef(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function composeRefs(...e){return t=>e.forEach(i=>setRef(i,t))}function useComposedRefs(...e){return React__namespace.useCallback(composeRefs(...e),e)}const cache=new WeakMap;function set(e,t,i=!1){if(!e||!(e instanceof HTMLElement))return;let n={};Object.entries(t).forEach(([s,a])=>{if(s.startsWith("--")){e.style.setProperty(s,a);return}n[s]=e.style[s],e.style[s]=a}),!i&&cache.set(e,n)}function reset(e,t){if(!e||!(e instanceof HTMLElement))return;let i=cache.get(e);i&&(e.style[t]=i[t])}const isVertical=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function getTranslate(e,t){if(!e)return null;const i=window.getComputedStyle(e),n=i.transform||i.webkitTransform||i.mozTransform;let s=n.match(/^matrix3d\((.+)\)$/);return s?parseFloat(s[1].split(", ")[isVertical(t)?13:12]):(s=n.match(/^matrix\((.+)\)$/),s?parseFloat(s[1].split(", ")[isVertical(t)?5:4]):null)}function dampenValue(e){return 8*(Math.log(e+1)-2)}function assignStyle(e,t){if(!e)return()=>{};const i=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=i}}function chain(...e){return(...t)=>{for(const i of e)typeof i=="function"&&i(...t)}}const TRANSITIONS={DURATION:.5,EASE:[.32,.72,0,1]},VELOCITY_THRESHOLD=.4,CLOSE_THRESHOLD=.25,SCROLL_LOCK_TIMEOUT=100,BORDER_RADIUS=8,NESTED_DISPLACEMENT=16,WINDOW_TOP_OFFSET=26,DRAG_CLASS="vaul-dragging";function useCallbackRef(e){const t=React.useRef(e);return React.useEffect(()=>{t.current=e}),React.useMemo(()=>(...i)=>t.current==null?void 0:t.current.call(t,...i),[])}function useUncontrolledState({defaultProp:e,onChange:t}){const i=React.useState(e),[n]=i,s=React.useRef(n),a=useCallbackRef(t);return React.useEffect(()=>{s.current!==n&&(a(n),s.current=n)},[n,s,a]),i}function useControllableState({prop:e,defaultProp:t,onChange:i=()=>{}}){const[n,s]=useUncontrolledState({defaultProp:t,onChange:i}),a=e!==void 0,o=a?e:n,l=useCallbackRef(i),c=React.useCallback(u=>{if(a){const d=typeof u=="function"?u(e):u;d!==e&&l(d)}else s(u)},[a,e,s,l]);return[o,c]}function useSnapPoints({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:i,drawerRef:n,overlayRef:s,fadeFromIndex:a,onSnapPointChange:o,direction:l="bottom",container:c,snapToSequentialPoint:u}){const[f,d]=useControllableState({prop:e,defaultProp:i==null?void 0:i[0],onChange:t}),[p,b]=React.useState(typeof window<"u"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);React.useEffect(()=>{function L(){b({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",L),()=>window.removeEventListener("resize",L)},[]);const y=React.useMemo(()=>f===(i==null?void 0:i[i.length-1])||null,[i,f]),C=React.useMemo(()=>{var L;return(L=i==null?void 0:i.findIndex(_=>_===f))!=null?L:null},[i,f]),R=i&&i.length>0&&(a||a===0)&&!Number.isNaN(a)&&i[a]===f||!i,m=React.useMemo(()=>{const L=c?{width:c.getBoundingClientRect().width,height:c.getBoundingClientRect().height}:typeof window<"u"?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};var _;return(_=i==null?void 0:i.map(I=>{const $=typeof I=="string";let z=0;if($&&(z=parseInt(I,10)),isVertical(l)){const N=$?z:p?I*L.height:0;return p?l==="bottom"?L.height-N:-L.height+N:N}const O=$?z:p?I*L.width:0;return p?l==="right"?L.width-O:-L.width+O:O}))!=null?_:[]},[i,p,c]),x=React.useMemo(()=>C!==null?m==null?void 0:m[C]:null,[m,C]),g=React.useCallback(L=>{var _;const I=(_=m==null?void 0:m.findIndex($=>$===L))!=null?_:null;o(I),set(n.current,{transition:`transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,transform:isVertical(l)?`translate3d(0, ${L}px, 0)`:`translate3d(${L}px, 0, 0)`}),m&&I!==m.length-1&&a!==void 0&&I!==a&&I<a?set(s.current,{transition:`opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,opacity:"0"}):set(s.current,{transition:`opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,opacity:"1"}),d(i==null?void 0:i[Math.max(I,0)])},[n.current,i,m,a,s,d]);React.useEffect(()=>{if(f||e){var L;const _=(L=i==null?void 0:i.findIndex(I=>I===e||I===f))!=null?L:-1;m&&_!==-1&&typeof m[_]=="number"&&g(m[_])}},[f,e,i,m,g]);function S({draggedDistance:L,closeDrawer:_,velocity:I,dismissible:$}){if(a===void 0)return;const z=l==="bottom"||l==="right"?(x??0)-L:(x??0)+L,O=C===a-1,N=C===0,K=L>0;if(O&&set(s.current,{transition:`opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`}),!u&&I>2&&!K){$?_():g(m[0]);return}if(!u&&I>2&&K&&m&&i){g(m[i.length-1]);return}const B=m==null?void 0:m.reduce((V,P)=>typeof V!="number"||typeof P!="number"?V:Math.abs(P-z)<Math.abs(V-z)?P:V),A=isVertical(l)?window.innerHeight:window.innerWidth;if(I>VELOCITY_THRESHOLD&&Math.abs(L)<A*.4){const V=K?1:-1;if(V>0&&y&&i){g(m[i.length-1]);return}if(N&&V<0&&$&&_(),C===null)return;g(m[C+V]);return}g(B)}function E({draggedDistance:L}){if(x===null)return;const _=l==="bottom"||l==="right"?x-L:x+L;(l==="bottom"||l==="right")&&_<m[m.length-1]||(l==="top"||l==="left")&&_>m[m.length-1]||set(n.current,{transform:isVertical(l)?`translate3d(0, ${_}px, 0)`:`translate3d(${_}px, 0, 0)`})}function M(L,_){if(!i||typeof C!="number"||!m||a===void 0)return null;const I=C===a-1;if(C>=a&&_)return 0;if(I&&!_)return 1;if(!R&&!I)return null;const z=I?C+1:C-1,O=I?m[z]-m[z-1]:m[z+1]-m[z],N=L/Math.abs(O);return I?1-N:N}return{isLastSnapPoint:y,activeSnapPoint:f,shouldFade:R,getPercentageDragged:M,setActiveSnapPoint:d,activeSnapPointIndex:C,onRelease:S,onDrag:E,snapPointsOffset:m}}const noop$1=()=>()=>{};function useScaleBackground(){const{direction:e,isOpen:t,shouldScaleBackground:i,setBackgroundColorOnScale:n,noBodyStyles:s}=useDrawerContext(),a=React.useRef(null),o=React.useMemo(()=>document.body.style.backgroundColor,[]);function l(){return(window.innerWidth-WINDOW_TOP_OFFSET)/window.innerWidth}React.useEffect(()=>{if(t&&i){a.current&&clearTimeout(a.current);const c=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!c)return;chain(n&&!s?assignStyle(document.body,{background:"black"}):noop$1,assignStyle(c,{transformOrigin:isVertical(e)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${TRANSITIONS.DURATION}s`,transitionTimingFunction:`cubic-bezier(${TRANSITIONS.EASE.join(",")})`}));const u=assignStyle(c,{borderRadius:`${BORDER_RADIUS}px`,overflow:"hidden",...isVertical(e)?{transform:`scale(${l()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${l()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{u(),a.current=window.setTimeout(()=>{o?document.body.style.background=o:document.body.style.removeProperty("background")},TRANSITIONS.DURATION*1e3)}}},[t,i,o])}let previousBodyPosition=null;function usePositionFixed({isOpen:e,modal:t,nested:i,hasBeenOpened:n,preventScrollRestoration:s,noBodyStyles:a}){const[o,l]=React.useState(()=>typeof window<"u"?window.location.href:""),c=React.useRef(0),u=React.useCallback(()=>{if(isSafari()&&previousBodyPosition===null&&e&&!a){previousBodyPosition={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:d,innerHeight:p}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-c.current}px`,left:`${-d}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const b=p-window.innerHeight;b&&c.current>=p&&(document.body.style.top=`${-(c.current+b)}px`)}),300)}},[e]),f=React.useCallback(()=>{if(isSafari()&&previousBodyPosition!==null&&!a){const d=-parseInt(document.body.style.top,10),p=-parseInt(document.body.style.left,10);Object.assign(document.body.style,previousBodyPosition),window.requestAnimationFrame(()=>{if(s&&o!==window.location.href){l(window.location.href);return}window.scrollTo(p,d)}),previousBodyPosition=null}},[o]);return React.useEffect(()=>{function d(){c.current=window.scrollY}return d(),window.addEventListener("scroll",d),()=>{window.removeEventListener("scroll",d)}},[]),React.useEffect(()=>{if(t)return()=>{typeof document>"u"||document.querySelector("[data-vaul-drawer]")||f()}},[t,f]),React.useEffect(()=>{i||!n||(e?(!window.matchMedia("(display-mode: standalone)").matches&&u(),t||window.setTimeout(()=>{f()},500)):f())},[e,n,o,t,i,u,f]),{restorePositionSetting:f}}function Root({open:e,onOpenChange:t,children:i,onDrag:n,onRelease:s,snapPoints:a,shouldScaleBackground:o=!1,setBackgroundColorOnScale:l=!0,closeThreshold:c=CLOSE_THRESHOLD,scrollLockTimeout:u=SCROLL_LOCK_TIMEOUT,dismissible:f=!0,handleOnly:d=!1,fadeFromIndex:p=a&&a.length-1,activeSnapPoint:b,setActiveSnapPoint:y,fixed:C,modal:R=!0,onClose:m,nested:x,noBodyStyles:g=!1,direction:S="bottom",defaultOpen:E=!1,disablePreventScroll:M=!0,snapToSequentialPoint:L=!1,preventScrollRestoration:_=!1,repositionInputs:I=!0,onAnimationEnd:$,container:z,autoFocus:O=!1}){var N,K;const[B=!1,A]=useControllableState({defaultProp:E,prop:e,onChange:H=>{t==null||t(H),!H&&!x&&Me(),setTimeout(()=>{$==null||$(H)},TRANSITIONS.DURATION*1e3),H&&!R&&typeof window<"u"&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),H||(document.body.style.pointerEvents="auto")}}),[V,P]=React.useState(!1),[T,k]=React.useState(!1),[j,W]=React.useState(!1),q=React.useRef(null),X=React.useRef(null),ee=React.useRef(null),re=React.useRef(null),ce=React.useRef(null),he=React.useRef(!1),me=React.useRef(null),pe=React.useRef(0),se=React.useRef(!1),fe=React.useRef(!E),ie=React.useRef(0),Y=React.useRef(null),Ee=React.useRef(((N=Y.current)==null?void 0:N.getBoundingClientRect().height)||0),Le=React.useRef(((K=Y.current)==null?void 0:K.getBoundingClientRect().width)||0),be=React.useRef(0),ye=React.useCallback(H=>{a&&H===we.length-1&&(X.current=new Date)},[]),{activeSnapPoint:Pe,activeSnapPointIndex:ve,setActiveSnapPoint:Ce,onRelease:xe,snapPointsOffset:we,onDrag:Se,shouldFade:Te,getPercentageDragged:Re}=useSnapPoints({snapPoints:a,activeSnapPointProp:b,setActiveSnapPointProp:y,drawerRef:Y,fadeFromIndex:p,overlayRef:q,onSnapPointChange:ye,direction:S,container:z,snapToSequentialPoint:L});usePreventScroll({isDisabled:!B||T||!R||j||!V||!I||!M});const{restorePositionSetting:Me}=usePositionFixed({isOpen:B,modal:R,nested:x??!1,hasBeenOpened:V,preventScrollRestoration:_,noBodyStyles:g});function _e(){return(window.innerWidth-WINDOW_TOP_OFFSET)/window.innerWidth}function Ve(H){var D,Z;!f&&!a||Y.current&&!Y.current.contains(H.target)||(Ee.current=((D=Y.current)==null?void 0:D.getBoundingClientRect().height)||0,Le.current=((Z=Y.current)==null?void 0:Z.getBoundingClientRect().width)||0,k(!0),ee.current=new Date,isIOS()&&window.addEventListener("touchend",()=>he.current=!1,{once:!0}),H.target.setPointerCapture(H.pointerId),pe.current=isVertical(S)?H.pageY:H.pageX)}function je(H,D){var Z;let J=H;const Q=(Z=window.getSelection())==null?void 0:Z.toString(),te=Y.current?getTranslate(Y.current,S):null,ne=new Date;if(J.tagName==="SELECT"||J.hasAttribute("data-vaul-no-drag")||J.closest("[data-vaul-no-drag]"))return!1;if(S==="right"||S==="left")return!0;if(X.current&&ne.getTime()-X.current.getTime()<500)return!1;if(te!==null&&(S==="bottom"?te>0:te<0))return!0;if(Q&&Q.length>0)return!1;if(ce.current&&ne.getTime()-ce.current.getTime()<u&&te===0||D)return ce.current=ne,!1;for(;J;){if(J.scrollHeight>J.clientHeight){if(J.scrollTop!==0)return ce.current=new Date,!1;if(J.getAttribute("role")==="dialog")return!0}J=J.parentNode}return!0}function De(H){if(Y.current&&T){const D=S==="bottom"||S==="right"?1:-1,Z=(pe.current-(isVertical(S)?H.pageY:H.pageX))*D,J=Z>0,Q=a&&!f&&!J;if(Q&&ve===0)return;const te=Math.abs(Z),ne=document.querySelector("[data-vaul-drawer-wrapper]"),le=S==="bottom"||S==="top"?Ee.current:Le.current;let ae=te/le;const oe=Re(te,J);if(oe!==null&&(ae=oe),Q&&ae>=1||!he.current&&!je(H.target,J))return;if(Y.current.classList.add(DRAG_CLASS),he.current=!0,set(Y.current,{transition:"none"}),set(q.current,{transition:"none"}),a&&Se({draggedDistance:Z}),J&&!a){const ue=dampenValue(Z),ge=Math.min(ue*-1,0)*D;set(Y.current,{transform:isVertical(S)?`translate3d(0, ${ge}px, 0)`:`translate3d(${ge}px, 0, 0)`});return}const de=1-ae;if((Te||p&&ve===p-1)&&(n==null||n(H,ae),set(q.current,{opacity:`${de}`,transition:"none"},!0)),ne&&q.current&&o){const ue=Math.min(_e()+ae*(1-_e()),1),ge=8-ae*8,ke=Math.max(0,14-ae*14);set(ne,{borderRadius:`${ge}px`,transform:isVertical(S)?`scale(${ue}) translate3d(0, ${ke}px, 0)`:`scale(${ue}) translate3d(${ke}px, 0, 0)`,transition:"none"},!0)}if(!a){const ue=te*D;set(Y.current,{transform:isVertical(S)?`translate3d(0, ${ue}px, 0)`:`translate3d(${ue}px, 0, 0)`})}}}React.useEffect(()=>{window.requestAnimationFrame(()=>{fe.current=!0})},[]),React.useEffect(()=>{var H;function D(){if(!Y.current||!I)return;const Z=document.activeElement;if(isInput(Z)||se.current){var J;const Q=((J=window.visualViewport)==null?void 0:J.height)||0,te=window.innerHeight;let ne=te-Q;const le=Y.current.getBoundingClientRect().height||0,ae=le>te*.8;be.current||(be.current=le);const oe=Y.current.getBoundingClientRect().top;if(Math.abs(ie.current-ne)>60&&(se.current=!se.current),a&&a.length>0&&we&&ve){const de=we[ve]||0;ne+=de}if(ie.current=ne,le>Q||se.current){const de=Y.current.getBoundingClientRect().height;let ue=de;de>Q&&(ue=Q-(ae?oe:WINDOW_TOP_OFFSET)),C?Y.current.style.height=`${de-Math.max(ne,0)}px`:Y.current.style.height=`${Math.max(ue,Q-oe)}px`}else isMobileFirefox()||(Y.current.style.height=`${be.current}px`);a&&a.length>0&&!se.current?Y.current.style.bottom="0px":Y.current.style.bottom=`${Math.max(ne,0)}px`}}return(H=window.visualViewport)==null||H.addEventListener("resize",D),()=>{var Z;return(Z=window.visualViewport)==null?void 0:Z.removeEventListener("resize",D)}},[ve,a,we]);function Ae(H){Fe(),m==null||m(),H||A(!1),setTimeout(()=>{a&&Ce(a[0])},TRANSITIONS.DURATION*1e3)}function Ie(){if(!Y.current)return;const H=document.querySelector("[data-vaul-drawer-wrapper]"),D=getTranslate(Y.current,S);set(Y.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`}),set(q.current,{transition:`opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,opacity:"1"}),o&&D&&D>0&&B&&set(H,{borderRadius:`${BORDER_RADIUS}px`,overflow:"hidden",...isVertical(S)?{transform:`scale(${_e()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${_e()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${TRANSITIONS.DURATION}s`,transitionTimingFunction:`cubic-bezier(${TRANSITIONS.EASE.join(",")})`},!0)}function Fe(){!T||!Y.current||(Y.current.classList.remove(DRAG_CLASS),he.current=!1,k(!1),re.current=new Date)}function He(H){if(!T||!Y.current)return;Y.current.classList.remove(DRAG_CLASS),he.current=!1,k(!1),re.current=new Date;const D=getTranslate(Y.current,S);if(!H||!je(H.target,!1)||!D||Number.isNaN(D)||ee.current===null)return;const Z=re.current.getTime()-ee.current.getTime(),J=pe.current-(isVertical(S)?H.pageY:H.pageX),Q=Math.abs(J)/Z;if(Q>.05&&(W(!0),setTimeout(()=>{W(!1)},200)),a){xe({draggedDistance:J*(S==="bottom"||S==="right"?1:-1),closeDrawer:Ae,velocity:Q,dismissible:f}),s==null||s(H,!0);return}if(S==="bottom"||S==="right"?J>0:J<0){Ie(),s==null||s(H,!0);return}if(Q>VELOCITY_THRESHOLD){Ae(),s==null||s(H,!1);return}var te;const ne=Math.min((te=Y.current.getBoundingClientRect().height)!=null?te:0,window.innerHeight);var le;const ae=Math.min((le=Y.current.getBoundingClientRect().width)!=null?le:0,window.innerWidth),oe=S==="left"||S==="right";if(Math.abs(D)>=(oe?ae:ne)*c){Ae(),s==null||s(H,!1);return}s==null||s(H,!0),Ie()}React.useEffect(()=>(B&&(set(document.documentElement,{scrollBehavior:"auto"}),X.current=new Date),()=>{reset(document.documentElement,"scrollBehavior")}),[B]);function U(H){const D=H?(window.innerWidth-NESTED_DISPLACEMENT)/window.innerWidth:1,Z=H?-NESTED_DISPLACEMENT:0;me.current&&window.clearTimeout(me.current),set(Y.current,{transition:`transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,transform:isVertical(S)?`scale(${D}) translate3d(0, ${Z}px, 0)`:`scale(${D}) translate3d(${Z}px, 0, 0)`}),!H&&Y.current&&(me.current=setTimeout(()=>{const J=getTranslate(Y.current,S);set(Y.current,{transition:"none",transform:isVertical(S)?`translate3d(0, ${J}px, 0)`:`translate3d(${J}px, 0, 0)`})},500))}function F(H,D){if(D<0)return;const Z=(window.innerWidth-NESTED_DISPLACEMENT)/window.innerWidth,J=Z+D*(1-Z),Q=-NESTED_DISPLACEMENT+D*NESTED_DISPLACEMENT;set(Y.current,{transform:isVertical(S)?`scale(${J}) translate3d(0, ${Q}px, 0)`:`scale(${J}) translate3d(${Q}px, 0, 0)`,transition:"none"})}function G(H,D){const Z=isVertical(S)?window.innerHeight:window.innerWidth,J=D?(Z-NESTED_DISPLACEMENT)/Z:1,Q=D?-NESTED_DISPLACEMENT:0;D&&set(Y.current,{transition:`transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,transform:isVertical(S)?`scale(${J}) translate3d(0, ${Q}px, 0)`:`scale(${J}) translate3d(${Q}px, 0, 0)`})}return React.useEffect(()=>{R||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[R]),React.createElement(Root$1,{defaultOpen:E,onOpenChange:H=>{!f&&!H||(H?P(!0):Ae(!0),A(H))},open:B},React.createElement(DrawerContext.Provider,{value:{activeSnapPoint:Pe,snapPoints:a,setActiveSnapPoint:Ce,drawerRef:Y,overlayRef:q,onOpenChange:t,onPress:Ve,onRelease:He,onDrag:De,dismissible:f,shouldAnimate:fe,handleOnly:d,isOpen:B,isDragging:T,shouldFade:Te,closeDrawer:Ae,onNestedDrag:F,onNestedOpenChange:U,onNestedRelease:G,keyboardIsOpen:se,modal:R,snapPointsOffset:we,activeSnapPointIndex:ve,direction:S,shouldScaleBackground:o,setBackgroundColorOnScale:l,noBodyStyles:g,container:z,autoFocus:O}},i))}const Overlay=React.forwardRef(function({...e},t){const{overlayRef:i,snapPoints:n,onRelease:s,shouldFade:a,isOpen:o,modal:l,shouldAnimate:c}=useDrawerContext(),u=useComposedRefs(t,i),f=n&&n.length>0;if(!l)return null;const d=React.useCallback(p=>s(p),[s]);return React.createElement(Overlay$1,{onMouseUp:d,ref:u,"data-vaul-overlay":"","data-vaul-snap-points":o&&f?"true":"false","data-vaul-snap-points-overlay":o&&a?"true":"false","data-vaul-animate":c!=null&&c.current?"true":"false",...e})});Overlay.displayName="Drawer.Overlay";const Content=React.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:i,...n},s){const{drawerRef:a,onPress:o,onRelease:l,onDrag:c,keyboardIsOpen:u,snapPointsOffset:f,activeSnapPointIndex:d,modal:p,isOpen:b,direction:y,snapPoints:C,container:R,handleOnly:m,shouldAnimate:x,autoFocus:g}=useDrawerContext(),[S,E]=React.useState(!1),M=useComposedRefs(s,a),L=React.useRef(null),_=React.useRef(null),I=React.useRef(!1),$=C&&C.length>0;useScaleBackground();const z=(N,K,B=0)=>{if(I.current)return!0;const A=Math.abs(N.y),V=Math.abs(N.x),P=V>A,T=["bottom","right"].includes(K)?1:-1;if(K==="left"||K==="right"){if(!(N.x*T<0)&&V>=0&&V<=B)return P}else if(!(N.y*T<0)&&A>=0&&A<=B)return!P;return I.current=!0,!0};React.useEffect(()=>{$&&window.requestAnimationFrame(()=>{E(!0)})},[]);function O(N){L.current=null,I.current=!1,l(N)}return React.createElement(Content$1,{"data-vaul-drawer-direction":y,"data-vaul-drawer":"","data-vaul-delayed-snap-points":S?"true":"false","data-vaul-snap-points":b&&$?"true":"false","data-vaul-custom-container":R?"true":"false","data-vaul-animate":x!=null&&x.current?"true":"false",...n,ref:M,style:f&&f.length>0?{"--snap-point-height":`${f[d??0]}px`,...t}:t,onPointerDown:N=>{m||(n.onPointerDown==null||n.onPointerDown.call(n,N),L.current={x:N.pageX,y:N.pageY},o(N))},onOpenAutoFocus:N=>{i==null||i(N),g||N.preventDefault()},onPointerDownOutside:N=>{if(e==null||e(N),!p||N.defaultPrevented){N.preventDefault();return}u.current&&(u.current=!1)},onFocusOutside:N=>{if(!p){N.preventDefault();return}},onPointerMove:N=>{if(_.current=N,m||(n.onPointerMove==null||n.onPointerMove.call(n,N),!L.current))return;const K=N.pageY-L.current.y,B=N.pageX-L.current.x,A=N.pointerType==="touch"?10:2;z({x:B,y:K},y,A)?c(N):(Math.abs(B)>A||Math.abs(K)>A)&&(L.current=null)},onPointerUp:N=>{n.onPointerUp==null||n.onPointerUp.call(n,N),L.current=null,I.current=!1,l(N)},onPointerOut:N=>{n.onPointerOut==null||n.onPointerOut.call(n,N),O(_.current)},onContextMenu:N=>{n.onContextMenu==null||n.onContextMenu.call(n,N),_.current&&O(_.current)}})});Content.displayName="Drawer.Content";const LONG_HANDLE_PRESS_TIMEOUT=250,DOUBLE_TAP_TIMEOUT=120,Handle=React.forwardRef(function({preventCycle:e=!1,children:t,...i},n){const{closeDrawer:s,isDragging:a,snapPoints:o,activeSnapPoint:l,setActiveSnapPoint:c,dismissible:u,handleOnly:f,isOpen:d,onPress:p,onDrag:b}=useDrawerContext(),y=React.useRef(null),C=React.useRef(!1);function R(){if(C.current){g();return}window.setTimeout(()=>{m()},DOUBLE_TAP_TIMEOUT)}function m(){if(a||e||C.current){g();return}if(g(),!o||o.length===0){u||s();return}if(l===o[o.length-1]&&u){s();return}const E=o.findIndex(L=>L===l);if(E===-1)return;const M=o[E+1];c(M)}function x(){y.current=window.setTimeout(()=>{C.current=!0},LONG_HANDLE_PRESS_TIMEOUT)}function g(){y.current&&window.clearTimeout(y.current),C.current=!1}return React.createElement("div",{onClick:R,onPointerCancel:g,onPointerDown:S=>{f&&p(S),x()},onPointerMove:S=>{f&&b(S)},ref:n,"data-vaul-drawer-visible":d?"true":"false","data-vaul-handle":"","aria-hidden":"true",...i},React.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},t))});Handle.displayName="Drawer.Handle";function NestedRoot({onDrag:e,onOpenChange:t,open:i,...n}){const{onNestedDrag:s,onNestedOpenChange:a,onNestedRelease:o}=useDrawerContext();if(!s)throw new Error("Drawer.NestedRoot must be placed in another drawer");return React.createElement(Root,{nested:!0,open:i,onClose:()=>{a(!1)},onDrag:(l,c)=>{s(l,c),e==null||e(l,c)},onOpenChange:l=>{l&&a(l),t==null||t(l)},onRelease:o,...n})}function Portal(e){const t=useDrawerContext(),{container:i=t.container,...n}=e;return React.createElement(Portal$1,{container:i,...n})}const Drawer={Root,NestedRoot,Content,Overlay,Trigger,Portal,Handle,Close,Title,Description},BottomSheet=({children:e,open:t,onOpenChange:i})=>jsxRuntime.jsx(ClientOnly,{children:jsxRuntime.jsxs(Drawer.Root,{open:t,onOpenChange:i,children:[jsxRuntime.jsx(Drawer.Overlay,{className:"gf-fixed gf-inset-0 gf-z-50 gf-h-screen gf-w-screen gf-bg-dark-grey gf-bg-opacity-40 gf-transition-colors gf-duration-500 gf-ease-cubic-in-out"}),jsxRuntime.jsx(Drawer.Portal,{children:jsxRuntime.jsxs(Drawer.Content,{className:"gf-fixed gf-bottom-0 gf-z-50 gf-h-fit gf-w-full gf-rounded-t-xl gf-bg-white/50 gf-px-4 gf-py-4 gf-outline-none gf-backdrop-blur-[20px]",children:[jsxRuntime.jsx("div",{className:"gf-mx-auto gf-mb-3 gf-h-1 gf-w-[60px] gf-rounded-full gf-bg-white/30"}),jsxRuntime.jsx("div",{className:"gf-scrollbar-hide gf-flex gf-max-h-[90vh] gf-flex-col gf-gap-5 gf-overflow-y-scroll",children:e})]})})]})}),Container=({children:e,className:t,...i})=>jsxRuntime.jsx("div",{...i,className:cn("gf-p-6 gf-rounded-2xl gf-w-fit",t),children:e}),ArrowDownwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor",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:"currentColor"})}),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:"currentColor"})}),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:"currentColor"})}),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:"currentColor"})}),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:"currentColor"})}),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:"currentColor"})}),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:e.color||"#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:"currentColor"})})]}),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:"currentColor"})}),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:"currentColor"})}),WalletIconRose=e=>jsxRuntime.jsx("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2 18C1.45 18 0.979167 17.8042 0.5875 17.4125C0.195833 17.0208 0 16.55 0 16V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H16C16.55 0 17.0208 0.195833 17.4125 0.5875C17.8042 0.979167 18 1.45 18 2H10C8.81667 2 7.85417 2.37083 7.1125 3.1125C6.37083 3.85417 6 4.81667 6 6V12C6 13.1833 6.37083 14.1458 7.1125 14.8875C7.85417 15.6292 8.81667 16 10 16H18C18 16.55 17.8042 17.0208 17.4125 17.4125C17.0208 17.8042 16.55 18 16 18H2ZM10 14C9.45 14 8.97917 13.8042 8.5875 13.4125C8.19583 13.0208 8 12.55 8 12V6C8 5.45 8.19583 4.97917 8.5875 4.5875C8.97917 4.19583 9.45 4 10 4H17C17.55 4 18.0208 4.19583 18.4125 4.5875C18.8042 4.97917 19 5.45 19 6V12C19 12.55 18.8042 13.0208 18.4125 13.4125C18.0208 13.8042 17.55 14 17 14H10ZM13 10.5C13.4333 10.5 13.7917 10.3583 14.075 10.075C14.3583 9.79167 14.5 9.43333 14.5 9C14.5 8.56667 14.3583 8.20833 14.075 7.925C13.7917 7.64167 13.4333 7.5 13 7.5C12.5667 7.5 12.2083 7.64167 11.925 7.925C11.6417 8.20833 11.5 8.56667 11.5 9C11.5 9.43333 11.6417 9.79167 11.925 10.075C12.2083 10.3583 12.5667 10.5 13 10.5Z",fill:"#E36492"})}),PasskeyIcon=({...e})=>jsxRuntime.jsx("svg",{width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.5 16V13.2C0.5 12.6333 0.645833 12.1125 0.9375 11.6375C1.22917 11.1625 1.61667 10.8 2.1 10.55C3.13333 10.0333 4.18333 9.64583 5.25 9.3875C6.31667 9.12917 7.4 9 8.5 9C8.83333 9 9.16667 9.0125 9.5 9.0375C9.83333 9.0625 10.1667 9.1 10.5 9.15C10.4333 10.1167 10.6083 11.0292 11.025 11.8875C11.4417 12.7458 12.05 13.45 12.85 14V16H0.5ZM16.5 19L15 17.5V12.85C14.2667 12.6333 13.6667 12.2208 13.2 11.6125C12.7333 11.0042 12.5 10.3 12.5 9.5C12.5 8.53333 12.8417 7.70833 13.525 7.025C14.2083 6.34167 15.0333 6 16 6C16.9667 6 17.7917 6.34167 18.475 7.025C19.1583 7.70833 19.5 8.53333 19.5 9.5C19.5 10.25 19.2875 10.9167 18.8625 11.5C18.4375 12.0833 17.9 12.5 17.25 12.75L18.5 14L17 15.5L18.5 17L16.5 19ZM8.5 8C7.4 8 6.45833 7.60833 5.675 6.825C4.89167 6.04167 4.5 5.1 4.5 4C4.5 2.9 4.89167 1.95833 5.675 1.175C6.45833 0.391667 7.4 0 8.5 0C9.6 0 10.5417 0.391667 11.325 1.175C12.1083 1.95833 12.5 2.9 12.5 4C12.5 5.1 12.1083 6.04167 11.325 6.825C10.5417 7.60833 9.6 8 8.5 8ZM16 10C16.2833 10 16.5208 9.90417 16.7125 9.7125C16.9042 9.52083 17 9.28333 17 9C17 8.71667 16.9042 8.47917 16.7125 8.2875C16.5208 8.09583 16.2833 8 16 8C15.7167 8 15.4792 8.09583 15.2875 8.2875C15.0958 8.47917 15 8.71667 15 9C15 9.28333 15.0958 9.52083 15.2875 9.7125C15.4792 9.90417 15.7167 10 16 10Z",fill:"#E36492"})}),ChainflipIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"#222222"}),jsxRuntime.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_radial_16260_59346)",fillOpacity:"0.15"}),jsxRuntime.jsxs("g",{clipPath:"url(#clip0_16260_59346)",children:[jsxRuntime.jsx("path",{d:"M17.9999 5.98035V11.0893C17.9999 11.9975 17.7125 12.8774 17.1939 13.6012C17.0326 13.8282 16.8504 14.034 16.6471 14.2256L16.6331 14.2327H14.2359V9.49982H12.0139H9.77096H9.57469H7.35974L7.38778 9.47144L9.26628 7.70461L9.96021 7.0589C10.7453 6.32094 11.7125 5.98035 12.778 5.98035H17.9999Z",fill:"url(#paint1_linear_16260_59346)"}),jsxRuntime.jsx("path",{d:"M16.6333 14.2398L16.6263 14.2469L16.6193 14.254L16.4931 14.3747L16.0165 14.8288L14.2852 16.4537L14.1169 16.6098C13.3319 17.3407 12.3015 17.738 11.2431 17.738H6.00012V15.4532L6.00713 14.2327L6.02115 12.6078C6.02816 11.4228 6.5118 10.3017 7.36694 9.4928H9.5819H9.58891V14.2327H16.6333V14.2398Z",fill:"url(#paint2_linear_16260_59346)"})]}),jsxRuntime.jsxs("defs",{children:[jsxRuntime.jsxs("radialGradient",{id:"paint0_radial_16260_59346",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.999999) rotate(48.8141) scale(31.8904)",children:[jsxRuntime.jsx("stop",{stopColor:"white"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),jsxRuntime.jsxs("linearGradient",{id:"paint1_linear_16260_59346",x1:"12.9315",y1:"5.47634",x2:"12.2436",y2:"18.4428",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#48EF8A"}),jsxRuntime.jsx("stop",{offset:"0.5458",stopColor:"#43B4A6"}),jsxRuntime.jsx("stop",{offset:"0.6918",stopColor:"#2D796F"}),jsxRuntime.jsx("stop",{offset:"0.9662",stopColor:"black"})]}),jsxRuntime.jsxs("linearGradient",{id:"paint2_linear_16260_59346",x1:"11.6332",y1:"18.3813",x2:"9.82728",y2:"5.0946",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#FF5F96"}),jsxRuntime.jsx("stop",{offset:"0.6103",stopColor:"#FF33AF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"black"})]}),jsxRuntime.jsx("clipPath",{id:"clip0_16260_59346",children:jsxRuntime.jsx("rect",{width:"12",height:"11.7647",fill:"white",transform:"translate(6 5.98035)"})})]})]}),RelayLinkIcon=e=>jsxRuntime.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 600 600",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M299.4 447.057L387.768 396.038V249.701L261.037 176.533L172.76 227.5L299.4 300.615V447.057Z",fill:"url(#paint0_linear_61_2)"}),jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M300 128.75L346.737 101.662L304.683 77.3819C301.785 75.709 298.215 75.709 295.317 77.3819L109.548 184.636C106.651 186.309 104.866 189.4 104.866 192.746V407.254C104.866 410.6 106.651 413.692 109.548 415.364L295.317 522.618C298.215 524.291 301.785 524.291 304.683 522.618L490.452 415.364C493.349 413.692 495.134 410.6 495.134 407.254V358.613L448.307 385.625L300 471.25L151.693 385.625V214.375L300 128.75Z",fill:"url(#paint1_linear_61_2)"}),jsxRuntime.jsx("path",{d:"M407.406 384.568L495.078 333.951V193.022C495.078 189.676 493.292 186.584 490.395 184.911L368.346 114.447L281.771 164.431L407.406 236.966V384.568Z",fill:"url(#paint2_linear_61_2)"}),jsxRuntime.jsxs("defs",{children:[jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_61_2",x1:"241.468",y1:"193.157",x2:"207.525",y2:"429.887",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#624AFF"}),jsxRuntime.jsx("stop",{offset:"0.98",stopColor:"#DD09FF"})]}),jsxRuntime.jsxs("linearGradient",{id:"paint1_linear_61_2",x1:"180.056",y1:"494.56",x2:"234.169",y2:"49.7161",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#EF41FF"}),jsxRuntime.jsx("stop",{offset:"0.67",stopColor:"#1F6BFF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#7DEFFF"})]}),jsxRuntime.jsxs("linearGradient",{id:"paint2_linear_61_2",x1:"372.264",y1:"86.2467",x2:"319.851",y2:"316.686",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#7DEFFF"}),jsxRuntime.jsx("stop",{offset:"0.985",stopColor:"#5707FF"})]})]})]}),ThorswapIcon=e=>jsxRuntime.jsxs("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:16,height:16,viewBox:"0 0 2988 2988",style:{background:"new 0 0 2988 2988"},xmlSpace:"preserve",...e,children:[jsxRuntime.jsx("style",{type:"text/css",children:`.st0{enable-background:new;}
48
48
  .st1{fill:url(#SVGID_1_);}`}),jsxRuntime.jsx("ellipse",{className:"st0",cx:"1494.8",cy:"1494",rx:"1443.3",ry:"1442.6"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"SVGID_1_",gradientUnits:"userSpaceOnUse",x1:"2551.4639",y1:"437.3013",x2:"438.0661",y2:"2550.699",children:[jsxRuntime.jsx("stop",{offset:"0",style:{stopColor:"#3EF8F3"}}),jsxRuntime.jsx("stop",{offset:"1",style:{stopColor:"#07AEFE"}})]})}),jsxRuntime.jsx("path",{className:"st1",d:`M2872.1,912.5c-75.3-177.9-183.1-337.7-320.3-474.9c-26.2-26.2-53.2-51.3-81-75.3c-3.1-2.6-6.2-5.3-9.3-7.9
49
49
  c-115.6-98.2-244.6-177.6-384.9-236.9C1892.3,39.5,1696.5,0,1494.7,0C1293,0,1097.2,39.5,912.9,117.4
50
50
  c-178,75.3-337.9,182.9-475.1,320.1c-137.3,137.2-245,297-320.3,474.9C39.5,1096.7,0,1292.3,0,1494c0,201.7,39.5,397.3,117.5,581.5
@@ -54,7 +54,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
54
54
  c-337.4,0-647.6-118.7-890.9-316.5l1481.5-623.5l-507.3-514.8l-0.2,0.2l-1-1L561.3,2555C266.7,2295.7,80.5,1916.2,80.5,1494
55
55
  C80.5,714.6,714.9,80.5,1494.7,80.5c333.3,0,640,115.9,882,309.3L1069.2,937.9l507.6,513.9l0.2-0.2l1,1l841.1-1027.5
56
56
  C2719,684.5,2909,1067.5,2909,1494C2909,2273.4,2274.6,2907.5,1494.7,2907.5z M762.5,2444.7l816.4-886.8l378.4,384L762.5,2444.7z
57
- M2242.1,525.8l-669.4,817.7l-375.2-379.8L2242.1,525.8z`})]}),DeleteIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.83301 15.5C2.37467 15.5 1.98231 15.3368 1.65592 15.0104C1.32954 14.684 1.16634 14.2917 1.16634 13.8333V3H0.333008V1.33333H4.49967V0.5H9.49967V1.33333H13.6663V3H12.833V13.8333C12.833 14.2917 12.6698 14.684 12.3434 15.0104C12.017 15.3368 11.6247 15.5 11.1663 15.5H2.83301ZM11.1663 3H2.83301V13.8333H11.1663V3ZM4.49967 12.1667H6.16634V4.66667H4.49967V12.1667ZM7.83301 12.1667H9.49967V4.66667H7.83301V12.1667Z"})}),WarningIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_19962_22568",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_19962_22568)",children:jsxRuntime.jsx("path",{d:"M0.664062 13.9987L7.9974 1.33203L15.3307 13.9987H0.664062ZM2.96406 12.6654H13.0307L7.9974 3.9987L2.96406 12.6654ZM7.9974 11.9987C8.18629 11.9987 8.34462 11.9348 8.4724 11.807C8.60017 11.6793 8.66406 11.5209 8.66406 11.332C8.66406 11.1431 8.60017 10.9848 8.4724 10.857C8.34462 10.7293 8.18629 10.6654 7.9974 10.6654C7.80851 10.6654 7.65017 10.7293 7.5224 10.857C7.39462 10.9848 7.33073 11.1431 7.33073 11.332C7.33073 11.5209 7.39462 11.6793 7.5224 11.807C7.65017 11.9348 7.80851 11.9987 7.9974 11.9987ZM7.33073 9.9987H8.66406V6.66536H7.33073V9.9987Z",fill:"currentColor"})})]}),SwapHorizontalIcon=e=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"10",viewBox:"0 0 12 10",fill:"#817A90",...e,children:jsxRuntime.jsx("path",{d:"M3.1727 9.36931L0.458008 6.65462L3.1727 3.93994L3.78753 4.56367L2.13392 6.21712H6.38103V7.09212H2.13392L3.78753 8.74573L3.1727 9.36931ZM8.82665 6.05452L8.21182 5.43079L9.86542 3.77719H5.61832V2.90233H9.86542L8.21182 1.24873L8.82665 0.625L11.5413 3.33969L8.82665 6.05452Z"})}),GasStationIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.625 9.95829V1.09615C0.625 0.801466 0.727083 0.552043 0.93125 0.347876C1.13542 0.143709 1.38484 0.041626 1.67952 0.041626H4.82048C5.11516 0.041626 5.36458 0.143709 5.56875 0.347876C5.77292 0.552043 5.875 0.801466 5.875 1.09615V4.88781H6.43588C6.72589 4.88781 6.97415 4.99106 7.18065 5.19756C7.38715 5.40406 7.4904 5.65227 7.4904 5.94219V8.58965C7.4904 8.77738 7.55563 8.93649 7.6861 9.06696C7.81658 9.19753 7.97568 9.26281 8.16342 9.26281C8.35115 9.26281 8.51026 9.19753 8.64073 9.06696C8.7713 8.93649 8.83658 8.77738 8.83658 8.58965V4.50194C8.74908 4.55424 8.65672 4.59051 8.5595 4.61073C8.46228 4.63086 8.36019 4.64092 8.25325 4.64092C7.89518 4.64092 7.59248 4.5173 7.34515 4.27006C7.09791 4.02283 6.97429 3.72017 6.97429 3.36211C6.97429 3.07345 7.05659 2.8164 7.22119 2.59094C7.38569 2.36548 7.60332 2.2142 7.87408 2.13711L6.55925 0.822417L7.04838 0.333293L9.1281 2.37729C9.25906 2.50815 9.3591 2.65977 9.42823 2.83215C9.49745 3.00452 9.53206 3.18117 9.53206 3.36211V8.58965C9.53206 8.9729 9.39984 9.29679 9.1354 9.56133C8.87105 9.82597 8.54744 9.95829 8.16458 9.95829C7.78162 9.95829 7.45758 9.82597 7.19246 9.56133C6.92743 9.29679 6.79492 8.9729 6.79492 8.58965V5.76281C6.79492 5.71041 6.77805 5.66739 6.74431 5.63375C6.71067 5.60011 6.6677 5.58329 6.6154 5.58329H5.875V9.95829H0.625ZM1.5 3.97913H5V1.09615C5 1.05123 4.98128 1.0101 4.94385 0.972771C4.90652 0.935341 4.8654 0.916626 4.82048 0.916626H1.67952C1.6346 0.916626 1.59348 0.935341 1.55615 0.972771C1.51872 1.0101 1.5 1.05123 1.5 1.09615V3.97913ZM8.25325 3.94544C8.41853 3.94544 8.55707 3.88954 8.66887 3.77773C8.78068 3.66592 8.83658 3.52738 8.83658 3.36211C8.83658 3.19683 8.78068 3.05829 8.66887 2.94648C8.55707 2.83467 8.41853 2.77877 8.25325 2.77877C8.08797 2.77877 7.94943 2.83467 7.83763 2.94648C7.72582 3.05829 7.66992 3.19683 7.66992 3.36211C7.66992 3.52738 7.72582 3.66592 7.83763 3.77773C7.94943 3.88954 8.08797 3.94544 8.25325 3.94544ZM1.5 9.08329H5V4.85413H1.5V9.08329Z",fill:"currentColor"})}),CancelIcon=e=>jsxRuntime.jsx("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.56 6L4 4.56L5.44 6L6 5.44L4.56 4L6 2.56L5.44 2L4 3.44L2.56 2L2 2.56L3.44 4L2 5.44L2.56 6ZM4 8C3.44667 8 2.92667 7.895 2.44 7.685C1.95333 7.475 1.53 7.19 1.17 6.83C0.81 6.47 0.525 6.04667 0.315 5.56C0.105 5.07333 0 4.55333 0 4C0 3.44667 0.105 2.92667 0.315 2.44C0.525 1.95333 0.81 1.53 1.17 1.17C1.53 0.81 1.95333 0.525 2.44 0.315C2.92667 0.105 3.44667 0 4 0C4.55333 0 5.07333 0.105 5.56 0.315C6.04667 0.525 6.47 0.81 6.83 1.17C7.19 1.53 7.475 1.95333 7.685 2.44C7.895 2.92667 8 3.44667 8 4C8 4.55333 7.895 5.07333 7.685 5.56C7.475 6.04667 7.19 6.47 6.83 6.83C6.47 7.19 6.04667 7.475 5.56 7.685C5.07333 7.895 4.55333 8 4 8Z",fill:"#FF005C"})}),ArrowSyncIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"12",viewBox:"0 0 14 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M3.76656 11.7692L0.664062 8.66667L3.76656 5.56417L4.4794 6.26667L2.5794 8.16667H12.6641V9.16667H2.5794L4.4794 11.0667L3.76656 11.7692ZM10.2282 6.43584L9.5154 5.73334L11.4154 3.83334H1.33073V2.83334H11.4154L9.5154 0.933335L10.2282 0.230835L13.3307 3.33334L10.2282 6.43584Z"})}),HubIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M3 12C2.58333 12 2.22917 11.8478 1.9375 11.5435C1.64583 11.2391 1.5 10.8696 1.5 10.4348C1.5 10 1.64583 9.63043 1.9375 9.32609C2.22917 9.02174 2.58333 8.86957 3 8.86957C3.11667 8.86957 3.225 8.88261 3.325 8.9087C3.425 8.93478 3.52083 8.96956 3.6125 9.01304L4.325 8.08696C4.09167 7.81739 3.92917 7.51304 3.8375 7.17391C3.74583 6.83478 3.725 6.49565 3.775 6.15652L2.7625 5.80435C2.62083 6.02174 2.44167 6.19565 2.225 6.32609C2.00833 6.45652 1.76667 6.52174 1.5 6.52174C1.08333 6.52174 0.729167 6.36957 0.4375 6.06522C0.145833 5.76087 0 5.3913 0 4.95652C0 4.52174 0.145833 4.15217 0.4375 3.84783C0.729167 3.54348 1.08333 3.3913 1.5 3.3913C1.91667 3.3913 2.27083 3.54348 2.5625 3.84783C2.85417 4.15217 3 4.52174 3 4.95652V5.06087L4.0125 5.42609C4.17917 5.11304 4.40208 4.84783 4.68125 4.63043C4.96042 4.41304 5.275 4.27391 5.625 4.21304V3.07826C5.3 2.98261 5.03125 2.79783 4.81875 2.52391C4.60625 2.25 4.5 1.93043 4.5 1.56522C4.5 1.13043 4.64583 0.76087 4.9375 0.456522C5.22917 0.152174 5.58333 0 6 0C6.41667 0 6.77083 0.152174 7.0625 0.456522C7.35417 0.76087 7.5 1.13043 7.5 1.56522C7.5 1.93043 7.39167 2.25 7.175 2.52391C6.95833 2.79783 6.69167 2.98261 6.375 3.07826V4.21304C6.725 4.27391 7.03958 4.41304 7.31875 4.63043C7.59792 4.84783 7.82083 5.11304 7.9875 5.42609L9 5.06087V4.95652C9 4.52174 9.14583 4.15217 9.4375 3.84783C9.72917 3.54348 10.0833 3.3913 10.5 3.3913C10.9167 3.3913 11.2708 3.54348 11.5625 3.84783C11.8542 4.15217 12 4.52174 12 4.95652C12 5.3913 11.8542 5.76087 11.5625 6.06522C11.2708 6.36957 10.9167 6.52174 10.5 6.52174C10.2333 6.52174 9.98958 6.45652 9.76875 6.32609C9.54792 6.19565 9.37083 6.02174 9.2375 5.80435L8.225 6.15652C8.275 6.49565 8.25417 6.83261 8.1625 7.16739C8.07083 7.50217 7.90833 7.8087 7.675 8.08696L8.3875 9C8.47917 8.95652 8.575 8.92391 8.675 8.90217C8.775 8.88043 8.88333 8.86957 9 8.86957C9.41667 8.86957 9.77083 9.02174 10.0625 9.32609C10.3542 9.63043 10.5 10 10.5 10.4348C10.5 10.8696 10.3542 11.2391 10.0625 11.5435C9.77083 11.8478 9.41667 12 9 12C8.58333 12 8.22917 11.8478 7.9375 11.5435C7.64583 11.2391 7.5 10.8696 7.5 10.4348C7.5 10.2609 7.52708 10.0935 7.58125 9.93261C7.63542 9.77174 7.70833 9.62609 7.8 9.49565L7.0875 8.56957C6.74583 8.76957 6.38125 8.86957 5.99375 8.86957C5.60625 8.86957 5.24167 8.76957 4.9 8.56957L4.2 9.49565C4.29167 9.62609 4.36458 9.77174 4.41875 9.93261C4.47292 10.0935 4.5 10.2609 4.5 10.4348C4.5 10.8696 4.35417 11.2391 4.0625 11.5435C3.77083 11.8478 3.41667 12 3 12ZM1.5 5.47826C1.64167 5.47826 1.76042 5.42826 1.85625 5.32826C1.95208 5.22826 2 5.10435 2 4.95652C2 4.8087 1.95208 4.68478 1.85625 4.58478C1.76042 4.48478 1.64167 4.43478 1.5 4.43478C1.35833 4.43478 1.23958 4.48478 1.14375 4.58478C1.04792 4.68478 1 4.8087 1 4.95652C1 5.10435 1.04792 5.22826 1.14375 5.32826C1.23958 5.42826 1.35833 5.47826 1.5 5.47826ZM3 10.9565C3.14167 10.9565 3.26042 10.9065 3.35625 10.8065C3.45208 10.7065 3.5 10.5826 3.5 10.4348C3.5 10.287 3.45208 10.163 3.35625 10.063C3.26042 9.96304 3.14167 9.91304 3 9.91304C2.85833 9.91304 2.73958 9.96304 2.64375 10.063C2.54792 10.163 2.5 10.287 2.5 10.4348C2.5 10.5826 2.54792 10.7065 2.64375 10.8065C2.73958 10.9065 2.85833 10.9565 3 10.9565ZM6 2.08696C6.14167 2.08696 6.26042 2.03696 6.35625 1.93696C6.45208 1.83696 6.5 1.71304 6.5 1.56522C6.5 1.41739 6.45208 1.29348 6.35625 1.19348C6.26042 1.09348 6.14167 1.04348 6 1.04348C5.85833 1.04348 5.73958 1.09348 5.64375 1.19348C5.54792 1.29348 5.5 1.41739 5.5 1.56522C5.5 1.71304 5.54792 1.83696 5.64375 1.93696C5.73958 2.03696 5.85833 2.08696 6 2.08696ZM6 7.82609C6.35 7.82609 6.64583 7.7 6.8875 7.44783C7.12917 7.19565 7.25 6.88696 7.25 6.52174C7.25 6.15652 7.12917 5.84783 6.8875 5.59565C6.64583 5.34348 6.35 5.21739 6 5.21739C5.65 5.21739 5.35417 5.34348 5.1125 5.59565C4.87083 5.84783 4.75 6.15652 4.75 6.52174C4.75 6.88696 4.87083 7.19565 5.1125 7.44783C5.35417 7.7 5.65 7.82609 6 7.82609ZM9 10.9565C9.14167 10.9565 9.26042 10.9065 9.35625 10.8065C9.45208 10.7065 9.5 10.5826 9.5 10.4348C9.5 10.287 9.45208 10.163 9.35625 10.063C9.26042 9.96304 9.14167 9.91304 9 9.91304C8.85833 9.91304 8.73958 9.96304 8.64375 10.063C8.54792 10.163 8.5 10.287 8.5 10.4348C8.5 10.5826 8.54792 10.7065 8.64375 10.8065C8.73958 10.9065 8.85833 10.9565 9 10.9565ZM10.5 5.47826C10.6417 5.47826 10.7604 5.42826 10.8562 5.32826C10.9521 5.22826 11 5.10435 11 4.95652C11 4.8087 10.9521 4.68478 10.8562 4.58478C10.7604 4.48478 10.6417 4.43478 10.5 4.43478C10.3583 4.43478 10.2396 4.48478 10.1437 4.58478C10.0479 4.68478 10 4.8087 10 4.95652C10 5.10435 10.0479 5.22826 10.1437 5.32826C10.2396 5.42826 10.3583 5.47826 10.5 5.47826Z"})}),CodeBlockIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.6 12.2537L7.65375 11.1845L5.46925 9L7.64425 6.825L6.5905 5.75575L3.34625 9L6.6 12.2537ZM11.4 12.2537L14.6538 9L11.4 5.74625L10.3462 6.8155L12.5307 9L10.3462 11.1845L11.4 12.2537ZM2.30775 17.5C1.80258 17.5 1.375 17.325 1.025 16.975C0.675 16.625 0.5 16.1974 0.5 15.6923V2.30775C0.5 1.80258 0.675 1.375 1.025 1.025C1.375 0.675 1.80258 0.5 2.30775 0.5H15.6923C16.1974 0.5 16.625 0.675 16.975 1.025C17.325 1.375 17.5 1.80258 17.5 2.30775V15.6923C17.5 16.1974 17.325 16.625 16.975 16.975C16.625 17.325 16.1974 17.5 15.6923 17.5H2.30775ZM2.30775 16H15.6923C15.7692 16 15.8398 15.9679 15.9038 15.9038C15.9679 15.8398 16 15.7692 16 15.6923V2.30775C16 2.23075 15.9679 2.16025 15.9038 2.09625C15.8398 2.03208 15.7692 2 15.6923 2H2.30775C2.23075 2 2.16025 2.03208 2.09625 2.09625C2.03208 2.16025 2 2.23075 2 2.30775V15.6923C2 15.7692 2.03208 15.8398 2.09625 15.9038C2.16025 15.9679 2.23075 16 2.30775 16Z",fill:"currentColor"})}),APIIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24445",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24445)",children:jsxRuntime.jsx("path",{d:"M9.51267 13V12H11.16C11.396 12 11.5949 11.9201 11.7568 11.7603C11.9188 11.6004 11.9998 11.4068 11.9998 11.1795V9.80767C11.9998 9.41111 12.1178 9.05556 12.3537 8.741C12.5896 8.42644 12.8968 8.20767 13.2755 8.08467V7.91533C12.8968 7.79233 12.5896 7.57356 12.3537 7.259C12.1178 6.94444 11.9998 6.58889 11.9998 6.19233V4.8205C11.9998 4.59317 11.9188 4.39956 11.7568 4.23967C11.5949 4.07989 11.396 4 11.16 4H9.51267V3H11.16C11.6729 3 12.1077 3.17733 12.4645 3.532C12.8214 3.88678 12.9998 4.31628 12.9998 4.8205V6.19233C12.9998 6.42822 13.0829 6.62611 13.2492 6.786C13.4154 6.94578 13.6186 7.02567 13.8588 7.02567H14.3332V8.97433H13.8588C13.6186 8.97433 13.4154 9.05422 13.2492 9.214C13.0829 9.37389 12.9998 9.57178 12.9998 9.80767V11.1795C12.9998 11.6837 12.8214 12.1132 12.4645 12.468C12.1077 12.8227 11.6729 13 11.16 13H9.51267ZM4.83967 13C4.33112 13 3.89734 12.8227 3.53834 12.468C3.17934 12.1132 2.99984 11.6837 2.99984 11.1795V9.80767C2.99984 9.57178 2.91673 9.37389 2.7505 9.214C2.58428 9.05422 2.38106 8.97433 2.14084 8.97433H1.6665V7.02567H2.14084C2.38106 7.02567 2.58428 6.94578 2.7505 6.786C2.91673 6.62611 2.99984 6.42822 2.99984 6.19233V4.8205C2.99984 4.31628 3.17934 3.88678 3.53834 3.532C3.89734 3.17733 4.33112 3 4.83967 3H6.49334V4H4.83967C4.608 4 4.41012 4.07989 4.246 4.23967C4.08189 4.39956 3.99984 4.59317 3.99984 4.8205V6.19233C3.99984 6.58889 3.88295 6.94444 3.64917 7.259C3.41539 7.57356 3.10706 7.79233 2.72417 7.91533V8.08467C3.10706 8.20767 3.41539 8.42644 3.64917 8.741C3.88295 9.05556 3.99984 9.41111 3.99984 9.80767V11.1795C3.99984 11.4068 4.08189 11.6004 4.246 11.7603C4.41012 11.9201 4.608 12 4.83967 12H6.49334V13H4.83967Z",fill:"currentColor"})})]}),BlogIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24428",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24428)",children:jsxRuntime.jsx("path",{d:"M4.83325 11.1677H9.16659V10.1677H4.83325V11.1677ZM4.83325 8.50102H11.1666V7.50102H4.83325V8.50102ZM4.83325 5.83435H11.1666V4.83435H4.83325V5.83435ZM3.53842 13.6677C3.20164 13.6677 2.91659 13.551 2.68325 13.3177C2.44992 13.0844 2.33325 12.7993 2.33325 12.4625V3.53952C2.33325 3.20274 2.44992 2.91768 2.68325 2.68435C2.91659 2.45102 3.20164 2.33435 3.53842 2.33435H12.4614C12.7982 2.33435 13.0833 2.45102 13.3166 2.68435C13.5499 2.91768 13.6666 3.20274 13.6666 3.53952V12.4625C13.6666 12.7993 13.5499 13.0844 13.3166 13.3177C13.0833 13.551 12.7982 13.6677 12.4614 13.6677H3.53842ZM3.53842 12.6677H12.4614C12.5128 12.6677 12.5598 12.6463 12.6024 12.6035C12.6452 12.5609 12.6666 12.5139 12.6666 12.4625V3.53952C12.6666 3.48818 12.6452 3.44118 12.6024 3.39852C12.5598 3.35574 12.5128 3.33435 12.4614 3.33435H3.53842C3.48709 3.33435 3.44009 3.35574 3.39742 3.39852C3.35464 3.44118 3.33325 3.48818 3.33325 3.53952V12.4625C3.33325 12.5139 3.35464 12.5609 3.39742 12.6035C3.44009 12.6463 3.48709 12.6677 3.53842 12.6677Z",fill:"currentColor"})})]}),BrandKitIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24433",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24433)",children:jsxRuntime.jsx("path",{d:"M5.58982 11.9796C5.67093 11.9864 5.7501 11.9915 5.82732 11.9949C5.90443 11.9984 5.98765 12.0001 6.07699 12.0001C6.17099 12.0001 6.25854 11.9984 6.33965 11.9949C6.42087 11.9915 6.50421 11.9864 6.58965 11.9796V13.0514C6.58965 13.1112 6.60893 13.1603 6.64749 13.1988C6.68593 13.2372 6.73504 13.2564 6.79482 13.2564H13.0513C13.1111 13.2564 13.1602 13.2372 13.1987 13.1988C13.2371 13.1603 13.2563 13.1112 13.2563 13.0514V6.79494C13.2563 6.73516 13.2371 6.68605 13.1987 6.64761C13.1602 6.60905 13.1111 6.58977 13.0513 6.58977H11.9795C11.9863 6.50433 11.9914 6.421 11.9948 6.33977C11.9983 6.25866 12 6.17111 12 6.07711C12 5.98777 11.9983 5.90455 11.9948 5.82744C11.9914 5.75022 11.9863 5.67105 11.9795 5.58994H13.0513C13.3827 5.58994 13.6663 5.70794 13.9023 5.94394C14.1383 6.17994 14.2563 6.46361 14.2563 6.79494V13.0514C14.2563 13.3828 14.1383 13.6664 13.9023 13.9024C13.6663 14.1384 13.3827 14.2564 13.0513 14.2564H6.79482C6.46349 14.2564 6.17982 14.1384 5.94382 13.9024C5.70782 13.6664 5.58982 13.3828 5.58982 13.0514V11.9796ZM6.07815 10.4103C4.87137 10.4103 3.84726 9.99 3.00582 9.14944C2.16437 8.30877 1.74365 7.28505 1.74365 6.07827C1.74365 4.8715 2.16393 3.84739 3.00449 3.00594C3.84515 2.1645 4.86887 1.74377 6.07565 1.74377C7.28243 1.74377 8.30654 2.16405 9.14799 3.00461C9.98943 3.84527 10.4102 4.869 10.4102 6.07577C10.4102 7.28255 9.98987 8.30666 9.14932 9.14811C8.30865 9.98955 7.28493 10.4103 6.07815 10.4103ZM6.07699 9.41044C6.99921 9.41044 7.78532 9.08544 8.43532 8.43544C9.08532 7.78544 9.41032 6.99933 9.41032 6.07711C9.41032 5.15489 9.08532 4.36877 8.43532 3.71877C7.78532 3.06877 6.99921 2.74377 6.07699 2.74377C5.15476 2.74377 4.36865 3.06877 3.71865 3.71877C3.06865 4.36877 2.74365 5.15489 2.74365 6.07711C2.74365 6.99933 3.06865 7.78544 3.71865 8.43544C4.36865 9.08544 5.15476 9.41044 6.07699 9.41044Z",fill:"currentColor"})})]}),ConsoleIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4 20C3.45 20 2.97917 19.8042 2.5875 19.4125C2.19583 19.0208 2 18.55 2 18V6C2 5.45 2.19583 4.97917 2.5875 4.5875C2.97917 4.19583 3.45 4 4 4H20C20.55 4 21.0208 4.19583 21.4125 4.5875C21.8042 4.97917 22 5.45 22 6V18C22 18.55 21.8042 19.0208 21.4125 19.4125C21.0208 19.8042 20.55 20 20 20H4ZM4 18H20V8H4V18ZM7.5 17L6.1 15.6L8.675 13L6.075 10.4L7.5 9L11.5 13L7.5 17ZM12 17V15H18V17H12Z",fill:"currentColor"})}),CopyrightsIcon=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:"M5 7.875H7C7.10625 7.875 7.19529 7.83904 7.26713 7.76713C7.33904 7.69529 7.375 7.60625 7.375 7.5V6.625H6.625V7.125H5.375V4.875H6.625V5.375H7.375V4.49987C7.375 4.39354 7.33904 4.3045 7.26713 4.23275C7.19529 4.16092 7.10625 4.125 7 4.125H5C4.89375 4.125 4.80471 4.16096 4.73288 4.23288C4.66096 4.30471 4.625 4.39375 4.625 4.5V7.5C4.625 7.60625 4.66096 7.69529 4.73288 7.76713C4.80471 7.83904 4.89375 7.875 5 7.875ZM6.00087 10.75C5.34387 10.75 4.72633 10.6253 4.14825 10.376C3.57017 10.1267 3.06733 9.78829 2.63975 9.36088C2.21217 8.93346 1.87362 8.43083 1.62412 7.853C1.37471 7.27517 1.25 6.65779 1.25 6.00087C1.25 5.34387 1.37467 4.72633 1.624 4.14825C1.87333 3.57017 2.21171 3.06733 2.63913 2.63975C3.06654 2.21217 3.56917 1.87362 4.147 1.62412C4.72483 1.37471 5.34221 1.25 5.99913 1.25C6.65613 1.25 7.27367 1.37467 7.85175 1.624C8.42983 1.87333 8.93267 2.21171 9.36025 2.63913C9.78783 3.06654 10.1264 3.56917 10.3759 4.147C10.6253 4.72483 10.75 5.34221 10.75 5.99913C10.75 6.65613 10.6253 7.27367 10.376 7.85175C10.1267 8.42983 9.78829 8.93267 9.36088 9.36025C8.93346 9.78783 8.43083 10.1264 7.853 10.3759C7.27517 10.6253 6.65779 10.75 6.00087 10.75ZM6 10C7.11667 10 8.0625 9.6125 8.8375 8.8375C9.6125 8.0625 10 7.11667 10 6C10 4.88333 9.6125 3.9375 8.8375 3.1625C8.0625 2.3875 7.11667 2 6 2C4.88333 2 3.9375 2.3875 3.1625 3.1625C2.3875 3.9375 2 4.88333 2 6C2 7.11667 2.3875 8.0625 3.1625 8.8375C3.9375 9.6125 4.88333 10 6 10Z",fill:"currentColor"})}),DiscordIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M18.9419 5.29661C17.6473 4.69088 16.263 4.25066 14.8157 4C14.638 4.32134 14.4304 4.75355 14.2872 5.09738C12.7487 4.86601 11.2245 4.86601 9.7143 5.09738C9.57116 4.75355 9.3588 4.32134 9.17947 4C7.73067 4.25066 6.3448 4.6925 5.05016 5.29982C2.43887 9.24582 1.73099 13.0938 2.08493 16.8872C3.81688 18.1805 5.49534 18.9662 7.14548 19.4804C7.55291 18.9196 7.91628 18.3235 8.22931 17.6953C7.63313 17.4688 7.06211 17.1892 6.52256 16.8647C6.6657 16.7586 6.80571 16.6478 6.94098 16.5337C10.2318 18.0729 13.8074 18.0729 17.0589 16.5337C17.1958 16.6478 17.3358 16.7586 17.4774 16.8647C16.9362 17.1908 16.3637 17.4704 15.7675 17.697C16.0805 18.3235 16.4423 18.9212 16.8513 19.4819C18.503 18.9678 20.183 18.1822 21.915 16.8872C22.3303 12.4897 21.2056 8.67705 18.9419 5.29661ZM8.67765 14.5543C7.68977 14.5543 6.87963 13.632 6.87963 12.509C6.87963 11.3859 7.67247 10.4621 8.67765 10.4621C9.68285 10.4621 10.493 11.3843 10.4757 12.509C10.4772 13.632 9.68285 14.5543 8.67765 14.5543ZM15.3223 14.5543C14.3344 14.5543 13.5243 13.632 13.5243 12.509C13.5243 11.3859 14.3171 10.4621 15.3223 10.4621C16.3275 10.4621 17.1376 11.3843 17.1203 12.509C17.1203 13.632 16.3275 14.5543 15.3223 14.5543Z",fill:"currentColor"})}),DraftIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24440",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24440)",children:jsxRuntime.jsx("path",{d:"M4.20517 14.3323C3.86839 14.3323 3.58333 14.2156 3.35 13.9823C3.11667 13.749 3 13.4639 3 13.1271V2.87082C3 2.53404 3.11667 2.24898 3.35 2.01565C3.58333 1.78232 3.86839 1.66565 4.20517 1.66565H9.5L13 5.16565V13.1271C13 13.4639 12.8833 13.749 12.65 13.9823C12.4167 14.2156 12.1316 14.3323 11.7948 14.3323H4.20517ZM9 5.66565V2.66565H4.20517C4.15383 2.66565 4.10683 2.68704 4.06417 2.72982C4.02139 2.77248 4 2.81948 4 2.87082V13.1271C4 13.1785 4.02139 13.2255 4.06417 13.2681C4.10683 13.3109 4.15383 13.3323 4.20517 13.3323H11.7948C11.8462 13.3323 11.8932 13.3109 11.9358 13.2681C11.9786 13.2255 12 13.1785 12 13.1271V5.66565H9Z",fill:"currentColor"})})]}),OtterSecIcon=e=>jsxRuntime.jsxs("svg",{width:"44",height:"45",viewBox:"0 0 44 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M14.1692 1.23502C14.3871 0.920224 14.7988 0.508569 15.0652 0.339064C15.3557 0.169559 16.058 0.0242684 16.6391 5.34058e-05C17.4867 5.34058e-05 17.8015 0.145344 18.4553 0.799149C19.2301 1.59825 19.2544 1.62246 21.8938 1.74354C23.3709 1.81618 25.1144 2.05833 25.7682 2.27627C26.4462 2.46999 27.5359 3.00272 28.2381 3.43859C28.9162 3.87446 30.0543 4.69777 30.7807 5.27893C31.6525 5.98117 32.5 6.44125 34.8488 7.02241L34.2677 8.16052C33.9529 8.81432 33.2749 9.71028 32.7663 10.1946C32.2336 10.6547 31.3861 11.1874 30.8534 11.3811C30.248 11.5748 29.4005 11.6233 27.2211 11.3811L26.9305 12.6645C26.761 13.3425 26.4462 14.1416 26.2525 14.408C25.8893 14.8681 25.8893 14.7712 26.0104 13.3667C26.083 12.5434 26.083 11.8654 26.0104 11.8654C25.9377 11.8654 25.5503 12.5434 25.1386 13.3667C24.6543 14.3596 24.3153 14.8197 24.17 14.6501C24.0247 14.5049 24.1942 13.8026 24.6785 12.7129C25.0902 11.7686 25.3566 10.9695 25.2597 10.8968C25.187 10.8242 23.9521 10.7273 22.5476 10.6789C20.562 10.6305 19.5934 10.7031 18.3826 11.0421C17.5109 11.2843 16.2033 11.8654 15.4768 12.3497C14.7504 12.834 13.6849 13.7784 13.1037 14.4322C12.5226 15.086 11.7961 16.1515 11.4813 16.8295C11.1423 17.4833 10.7065 18.6941 10.5127 19.4932C10.2948 20.2922 10.1253 21.9147 10.1011 23.1254C10.1011 24.8447 10.2222 25.6922 10.7307 27.1693C11.0697 28.2106 11.7235 29.6392 12.1594 30.3173C12.6194 31.0195 13.6123 32.1818 14.4114 32.8841C15.1862 33.6105 16.397 34.458 17.0508 34.7728C17.7288 35.0876 18.8669 35.5235 19.5934 35.7172C20.3198 35.9109 21.9422 36.0804 23.2256 36.0804C24.5332 36.0804 26.1556 35.9109 26.979 35.693C27.7781 35.4751 29.2067 34.9181 30.1269 34.4338C31.1682 33.8769 32.4273 32.9325 33.3959 31.9639C34.2677 31.0922 35.3089 29.7361 35.7448 28.937C36.1565 28.1379 36.6892 26.7819 36.8829 25.9101C37.1008 25.0384 37.2703 23.8276 37.2703 23.1738C37.2703 22.5442 37.1493 21.4546 37.004 20.7523C36.8587 20.0743 36.4712 18.9846 36.1565 18.3308C35.8417 17.7012 35.5269 17.1927 35.4542 17.1927C35.3816 17.1927 35.4058 18.2582 35.4784 19.5416C35.5753 20.9461 35.5269 22.52 35.3574 23.3676C35.2121 24.1667 34.7762 25.4743 34.3888 26.2734C33.9529 27.1693 33.1538 28.2348 32.2578 29.0581C31.2892 29.9783 30.2964 30.6321 29.0372 31.1648C28.0444 31.5765 26.7368 32.0123 26.1314 32.085C25.066 32.2303 25.0902 32.206 26.979 31.2859C28.1897 30.7047 29.4973 29.8088 30.4417 28.9128C31.4345 27.9926 32.2578 26.9514 32.7179 26.0312C33.2991 24.8689 33.4444 24.1424 33.5654 22.399C33.6623 20.825 33.5897 19.7111 33.2991 18.4035C33.0811 17.4107 32.6211 16.0062 32.3063 15.3282C31.9673 14.6259 31.7009 13.9963 31.7009 13.9237C31.7009 13.8511 31.943 13.8026 32.2578 13.8026C32.5484 13.8026 33.8318 14.0448 35.091 14.3838C36.3502 14.6986 37.9484 15.2313 38.6022 15.5461C39.2802 15.8851 40.1277 16.4905 40.5394 16.8779C40.951 17.2654 41.4595 17.9434 41.6775 18.4035C41.9196 18.8636 42.2102 19.9048 42.3555 20.7039C42.5734 21.8904 42.5492 22.52 42.2344 24.094C42.0165 25.2563 41.4353 26.8787 40.7815 28.2106C40.2004 29.3971 39.1349 31.0921 38.4327 31.9397C37.7304 32.8114 36.4955 34.0464 35.6964 34.7002C34.8973 35.3298 33.2506 36.3468 32.0641 36.928C30.8776 37.5091 28.9646 38.2114 27.8265 38.4777C26.4462 38.8167 24.9933 38.9863 23.3467 38.9863C21.7243 38.9863 20.2956 38.841 18.988 38.5019C17.9225 38.2356 16.2759 37.6302 15.3557 37.1701C14.4356 36.71 12.91 35.7657 11.9899 35.0634C11.0697 34.3612 9.78629 33.1262 9.13248 32.3271C8.50289 31.528 7.65537 30.2688 7.26793 29.5424C6.88049 28.8159 6.32354 27.3873 6.03296 26.3944C5.76659 25.4016 5.4518 23.6824 5.35494 22.5685C5.25808 21.4788 5.11279 20.5828 5.01593 20.5828C4.89485 20.5828 4.74956 21.0913 4.67692 21.7209C4.58006 22.3747 4.58006 23.9245 4.6527 25.1837C4.72535 26.4429 5.01593 28.259 5.28229 29.1792C5.57287 30.0993 6.15403 31.6491 6.61412 32.5693C7.07421 33.4894 7.99438 34.8939 8.62397 35.6446C9.25356 36.4195 10.3917 37.5091 11.1181 38.0661C11.8446 38.5988 13.3217 39.4706 14.3871 39.9791C15.4526 40.4876 17.3172 41.1414 18.5037 41.432C20.223 41.8678 21.3611 41.9889 23.831 41.9647C26.5189 41.9647 27.2938 41.8678 29.1099 41.3109C30.2722 40.9719 31.7977 40.3907 32.5 40.0517C33.178 39.6885 34.413 38.9378 35.2121 38.3809C36.0112 37.8239 37.3672 36.6132 38.2389 35.693C39.1107 34.7728 40.2246 33.3684 40.6847 32.5693C41.169 31.7702 41.8712 30.4383 42.2586 29.5908C42.6461 28.7675 43.0335 28.0653 43.1546 28.0895C43.2515 28.0895 43.1062 28.7675 42.864 29.615C42.5977 30.4383 42.2344 31.5522 42.0407 32.085C41.847 32.6177 41.3627 33.7074 40.951 34.5065C40.5636 35.3056 39.6918 36.6616 39.0623 37.5091C38.4085 38.3809 37.1008 39.7127 36.1807 40.4876C35.2605 41.2625 33.8318 42.2553 33.0327 42.6669C32.2336 43.0786 30.8049 43.684 29.8848 43.9988C28.9646 44.3136 27.318 44.6768 26.2525 44.8221C25.1144 44.9916 23.2014 45.04 21.6517 44.9674C20.0535 44.8705 18.0194 44.5799 16.5665 44.1925C15.2347 43.8535 13.1764 43.1028 11.9656 42.4974C10.7791 41.9163 9.03562 40.8508 8.11545 40.1486C7.19528 39.4463 5.83924 38.1629 5.11279 37.2912C4.38634 36.4195 3.36931 35.015 2.88501 34.1432C2.37649 33.2715 1.65004 31.6491 1.23838 30.511C0.850944 29.3729 0.390858 27.581 0.221353 26.5155C0.0276326 25.3532 -0.0450125 23.5371 0.0276326 21.9147C0.124493 19.6869 0.293998 18.8151 1.04466 16.5873C1.52896 15.1344 2.42492 13.1004 3.00608 12.1076C3.58724 11.1148 4.60427 9.68606 5.23386 8.91118C5.86345 8.16052 6.88049 7.11927 7.48586 6.58654C8.09124 6.07803 9.39885 5.10942 10.3917 4.47983C11.3845 3.82603 12.571 3.14801 13.0069 2.9785C13.4428 2.809 13.7818 2.4942 13.7818 2.22784C13.806 2.0099 13.9755 1.54982 14.1692 1.23502Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M26.616 5.32809C26.8822 5.32825 27.1487 5.47389 27.1971 5.6191C27.2212 5.78849 27.2212 6.07828 27.1971 6.22359C27.1487 6.39301 26.8822 6.53886 26.616 6.53902C26.3498 6.53902 26.0834 6.41782 26.0105 6.29684C25.9379 6.17576 25.9379 5.88509 26.0105 5.69137C26.059 5.49766 26.3497 5.32809 26.616 5.32809Z",fill:"#F5F8FA"})]}),SDKIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24450",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24450)",children:jsxRuntime.jsx("path",{d:"M3.53866 13.6667C3.20622 13.6667 2.92222 13.5489 2.68666 13.3135C2.45122 13.0779 2.3335 12.7939 2.3335 12.4615V4.5C2.3335 4.38289 2.34994 4.27306 2.38283 4.1705C2.41572 4.06794 2.46938 3.97267 2.54383 3.88467L3.46433 2.777C3.53866 2.68467 3.62366 2.61544 3.71933 2.56933C3.81511 2.52311 3.92155 2.5 4.03866 2.5H11.9617C12.0788 2.5 12.1852 2.52311 12.281 2.56933C12.3767 2.61544 12.4617 2.68467 12.536 2.777L13.4565 3.88467C13.5309 3.97267 13.5846 4.06794 13.6175 4.1705C13.6504 4.27306 13.6668 4.38289 13.6668 4.5V12.4615C13.6668 12.7939 13.5491 13.0779 13.3137 13.3135C13.0781 13.5489 12.7941 13.6667 12.4617 13.6667H3.53866ZM3.60016 4.16667H12.4002L11.8335 3.5H4.16683L3.60016 4.16667ZM3.53866 12.6667H12.4617C12.5216 12.6667 12.5707 12.6474 12.6092 12.609C12.6476 12.5706 12.6668 12.5214 12.6668 12.4615V5.16667H3.3335V12.4615C3.3335 12.5214 3.35272 12.5706 3.39116 12.609C3.42961 12.6474 3.47877 12.6667 3.53866 12.6667ZM9.70016 11.123L11.8232 9L9.70016 6.877L8.97716 7.6L10.3772 9L8.97716 10.4L9.70016 11.123ZM6.3335 11.123L7.0565 10.4L5.6565 9L7.0565 7.6L6.3335 6.877L4.2105 9L6.3335 11.123Z",fill:"currentColor"})})]}),StakeIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24292",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24292)",children:jsxRuntime.jsx("path",{d:"M10.001 13C8.60544 13 7.42306 12.5157 6.45383 11.5472C5.48461 10.5786 5 9.39656 5 8.001C5 6.60544 5.48428 5.42306 6.45283 4.45383C7.42139 3.48461 8.60344 3 9.999 3C11.3946 3 12.5769 3.48428 13.5462 4.45283C14.5154 5.42139 15 6.60344 15 7.999C15 9.39456 14.5157 10.5769 13.5472 11.5462C12.5786 12.5154 11.3966 13 10.001 13ZM4.66667 12.8205C3.57433 12.5307 2.69017 11.9391 2.01417 11.0455C1.33806 10.1519 1 9.13678 1 8C1 6.86322 1.33806 5.84806 2.01417 4.9545C2.69017 4.06094 3.57433 3.46928 4.66667 3.1795V4.23333C3.86667 4.51111 3.22222 4.99444 2.73333 5.68333C2.24444 6.37222 2 7.14444 2 8C2 8.85556 2.24444 9.62778 2.73333 10.3167C3.22222 11.0056 3.86667 11.4889 4.66667 11.7667V12.8205ZM10 12C11.1111 12 12.0556 11.6111 12.8333 10.8333C13.6111 10.0556 14 9.11111 14 8C14 6.88889 13.6111 5.94444 12.8333 5.16667C12.0556 4.38889 11.1111 4 10 4C8.88889 4 7.94444 4.38889 7.16667 5.16667C6.38889 5.94444 6 6.88889 6 8C6 9.11111 6.38889 10.0556 7.16667 10.8333C7.94444 11.6111 8.88889 12 10 12Z",fill:"currentColor"})})]}),XSolidIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M3.81818 2C2.81364 2 2 2.81364 2 3.81818V20.1818C2 21.1864 2.81364 22 3.81818 22H20.1818C21.1864 22 22 21.1864 22 20.1818V3.81818C22 2.81364 21.1864 2 20.1818 2H3.81818ZM6.22585 6.54545H10.418L12.8647 10.0433L15.892 6.54545H17.2113L13.4577 10.892L18.0494 17.4545H13.8572L11.1424 13.5732L7.79013 17.4545H6.44957L10.5458 12.7227L6.22585 6.54545ZM8.25355 7.62145L14.3935 16.3732H16.0199L9.8782 7.62145H8.25355Z",fill:"#817A90"})}),XIcon=e=>jsxRuntime.jsx("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M17.6557 3.86523H20.4171L14.3858 10.757L21.481 20.1364H15.9269L11.5735 14.4493L6.5983 20.1364H3.83298L10.2828 12.7635L3.48096 3.86523H9.17587L13.1068 9.06341L17.6557 3.86523ZM16.6857 18.4858H18.215L8.34276 5.42977H6.69999L16.6857 18.4858Z",fill:"currentColor"})}),ZellicIcon=e=>jsxRuntime.jsxs("svg",{width:"48",height:"43",viewBox:"0 0 48 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M14.3948 0.654297V17.277L11.6504 15.6921V0.654297H14.3948Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M19.8831 0.654297V20.4451L17.1387 18.8602V0.654297H19.8831Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M1.37221 19.2656L15.7667 27.5761L13.0223 29.1611L0 21.6413L1.37221 19.2656Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M4.11733 14.5117L21.2563 24.4071L18.5119 25.9921L2.74512 16.8891L4.11733 14.5117Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M10.9775 39.8474L25.3721 31.5352V34.705L12.3498 42.223L10.9775 39.8474Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M8.2334 35.0907L25.3724 25.1953V28.3651L9.60561 37.4681L8.2334 35.0907Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M33.6055 41.8181V25.1953L36.3499 26.7802V41.8181H33.6055Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M28.1172 41.8201V22.0293L30.8616 23.6142V41.8201H28.1172Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M46.6279 23.2118L32.2334 14.9013L34.9778 13.3164L48.0001 20.8362L46.6279 23.2118Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M43.8831 27.9667L26.7441 18.0712L29.4886 16.4863L45.2553 25.5893L43.8831 27.9667Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M37.0225 2.62566L22.6279 10.9379V7.76805L35.6503 0.25L37.0225 2.62566Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M39.7669 7.38323L22.6279 17.2787V14.1088L38.3947 5.00586L39.7669 7.38323Z",fill:"currentColor"})]}),SearchIconThin=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_25526_70195",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_25526_70195)",children:jsxRuntime.jsx("path",{d:"M13.0245 13.7178L8.83729 9.53051C8.50396 9.80574 8.12063 10.0211 7.68729 10.1767C7.25396 10.3322 6.80568 10.41 6.34246 10.41C5.20301 10.41 4.23868 10.0155 3.44946 9.22651C2.66024 8.43751 2.26562 7.4734 2.26562 6.33418C2.26562 5.19507 2.66012 4.23063 3.44912 3.44085C4.23812 2.65118 5.20224 2.25635 6.34146 2.25635C7.48057 2.25635 8.44501 2.65096 9.23479 3.44018C10.0245 4.2294 10.4193 5.19374 10.4193 6.33318C10.4193 6.80929 10.3394 7.26402 10.1796 7.69735C10.0197 8.13068 9.80646 8.50757 9.53979 8.82802L13.727 13.0152L13.0245 13.7178ZM6.34246 9.41018C7.20146 9.41018 7.92901 9.11207 8.52513 8.51585C9.12135 7.91974 9.41946 7.19218 9.41946 6.33318C9.41946 5.47418 9.12135 4.74662 8.52513 4.15051C7.92901 3.55429 7.20146 3.25618 6.34246 3.25618C5.48346 3.25618 4.7559 3.55429 4.15979 4.15051C3.56357 4.74662 3.26546 5.47418 3.26546 6.33318C3.26546 7.19218 3.56357 7.91974 4.15979 8.51585C4.7559 9.11207 5.48346 9.41018 6.34246 9.41018Z",fill:"currentColor"})})]}),Rotate360Icon=e=>jsxRuntime.jsxs("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_26898_28846",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"21",height:"20",children:jsxRuntime.jsx("rect",{x:"0.335938",width:"20",height:"20",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_26898_28846)",children:jsxRuntime.jsx("path",{d:"M7.83333 16.6666L6.66667 15.4999L8.125 13.9999C6.34722 13.7638 4.88194 13.2777 3.72917 12.5416C2.57639 11.8055 2 10.9583 2 9.99992C2 8.84714 2.80208 7.8645 4.40625 7.052C6.01042 6.2395 7.98611 5.83325 10.3333 5.83325C12.6806 5.83325 14.6563 6.2395 16.2604 7.052C17.8646 7.8645 18.6667 8.84714 18.6667 9.99992C18.6667 10.861 18.2049 11.6319 17.2812 12.3124C16.3576 12.993 15.1528 13.4999 13.6667 13.8333V12.1249C14.7361 11.8471 15.559 11.5034 16.1354 11.0937C16.7118 10.6839 17 10.3194 17 9.99992C17 9.55547 16.4062 9.0277 15.2188 8.41659C14.0312 7.80547 12.4028 7.49992 10.3333 7.49992C8.26389 7.49992 6.63542 7.80547 5.44792 8.41659C4.26042 9.0277 3.66667 9.55547 3.66667 9.99992C3.66667 10.3333 4.02083 10.7326 4.72917 11.1978C5.4375 11.6631 6.44444 12.0138 7.75 12.2499L6.66667 11.1666L7.83333 9.99992L11.1667 13.3333L7.83333 16.6666Z",fill:"currentColor"})})]}),EncryptedIcon=e=>jsxRuntime.jsxs("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_26898_28855",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"21",height:"20",children:jsxRuntime.jsx("rect",{x:"0.671875",width:"20",height:"20",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_26898_28855)",children:jsxRuntime.jsx("path",{d:"M9.42448 12.5001H11.9245L11.4453 9.81258C11.7231 9.67369 11.9418 9.4723 12.1016 9.20841C12.2613 8.94453 12.3411 8.65286 12.3411 8.33341C12.3411 7.87508 12.178 7.48272 11.8516 7.15633C11.5252 6.82994 11.1328 6.66675 10.6745 6.66675C10.2161 6.66675 9.82378 6.82994 9.4974 7.15633C9.17101 7.48272 9.00781 7.87508 9.00781 8.33341C9.00781 8.65286 9.08767 8.94453 9.2474 9.20841C9.40712 9.4723 9.62587 9.67369 9.90365 9.81258L9.42448 12.5001ZM10.6745 18.3334C8.74392 17.8473 7.15017 16.7397 5.89323 15.0105C4.63628 13.2813 4.00781 11.3612 4.00781 9.25008V4.16675L10.6745 1.66675L17.3411 4.16675V9.25008C17.3411 11.3612 16.7127 13.2813 15.4557 15.0105C14.1988 16.7397 12.605 17.8473 10.6745 18.3334ZM10.6745 16.5834C12.1189 16.1251 13.3134 15.2084 14.2578 13.8334C15.2023 12.4584 15.6745 10.9306 15.6745 9.25008V5.31258L10.6745 3.43758L5.67448 5.31258V9.25008C5.67448 10.9306 6.1467 12.4584 7.09115 13.8334C8.03559 15.2084 9.23003 16.1251 10.6745 16.5834Z",fill:"currentColor"})})]}),RoutingIcon=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("mask",{id:"mask0_27034_20191",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20",children:jsxRuntime.jsx("rect",{width:"20",height:"20",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_27034_20191)",children:jsxRuntime.jsx("path",{d:"M15.8333 17.2916C15.3131 17.2916 14.8497 17.1353 14.4431 16.8228C14.0366 16.5103 13.7687 16.111 13.6394 15.6249H9.16667C8.30347 15.6249 7.56681 15.3199 6.95667 14.7099C6.34667 14.0998 6.04167 13.3631 6.04167 12.4999C6.04167 11.6367 6.34667 10.9001 6.95667 10.2899C7.56681 9.67992 8.30347 9.37492 9.16667 9.37492H10.8333C11.349 9.37492 11.7904 9.19117 12.1575 8.82367C12.5247 8.45617 12.7083 8.01443 12.7083 7.49846C12.7083 6.98235 12.5247 6.54103 12.1575 6.1745C11.7904 5.80811 11.349 5.62492 10.8333 5.62492H6.36062C6.22271 6.11103 5.95264 6.51034 5.55042 6.82284C5.14819 7.13534 4.68694 7.29159 4.16667 7.29159C3.53014 7.29159 2.98903 7.06888 2.54333 6.62346C2.09778 6.17804 1.875 5.63721 1.875 5.00096C1.875 4.36457 2.09778 3.82339 2.54333 3.37742C2.98903 2.93131 3.53014 2.70825 4.16667 2.70825C4.68694 2.70825 5.14819 2.8645 5.55042 3.177C5.95264 3.4895 6.22271 3.88881 6.36062 4.37492H10.8333C11.6965 4.37492 12.4332 4.67992 13.0433 5.28992C13.6533 5.90006 13.9583 6.63672 13.9583 7.49992C13.9583 8.36311 13.6533 9.09978 13.0433 9.70992C12.4332 10.3199 11.6965 10.6249 10.8333 10.6249H9.16667C8.65097 10.6249 8.20958 10.8087 7.8425 11.1762C7.47528 11.5437 7.29167 11.9854 7.29167 12.5014C7.29167 13.0175 7.47528 13.4588 7.8425 13.8253C8.20958 14.1917 8.65097 14.3749 9.16667 14.3749H13.6394C13.7773 13.8888 14.0474 13.4895 14.4496 13.177C14.8518 12.8645 15.3131 12.7083 15.8333 12.7083C16.4699 12.7083 17.011 12.931 17.4567 13.3764C17.9022 13.8218 18.125 14.3626 18.125 14.9989C18.125 15.6353 17.9022 16.1764 17.4567 16.6224C17.011 17.0685 16.4699 17.2916 15.8333 17.2916ZM4.16667 6.04159C4.45625 6.04159 4.70222 5.94033 4.90458 5.73783C5.10708 5.53547 5.20833 5.2895 5.20833 4.99992C5.20833 4.71034 5.10708 4.46436 4.90458 4.262C4.70222 4.0595 4.45625 3.95825 4.16667 3.95825C3.87708 3.95825 3.63111 4.0595 3.42875 4.262C3.22625 4.46436 3.125 4.71034 3.125 4.99992C3.125 5.2895 3.22625 5.53547 3.42875 5.73783C3.63111 5.94033 3.87708 6.04159 4.16667 6.04159Z",fill:"currentColor"})})]}),HorizontalSwap=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_29218_23055",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_29218_23055)",children:jsxRuntime.jsx("path",{d:"M4.76852 12.9935L1.66602 9.891L4.76852 6.7885L5.47118 7.50133L3.58135 9.391H8.43518V10.391H3.58135L5.47118 12.2808L4.76852 12.9935ZM11.2302 9.20517L10.5275 8.49233L12.4173 6.6025H7.56352V5.60267H12.4173L10.5275 3.71283L11.2302 3L14.3327 6.1025L11.2302 9.20517Z",fill:"#FC79C1"})})]}),DollarChipIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_29218_23048",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_29218_23048)",children:jsxRuntime.jsx("path",{d:"M7.86533 10.6345H8.28467V10.1075C8.59578 10.0639 8.85967 9.93878 9.07633 9.732C9.293 9.52512 9.40133 9.25839 9.40133 8.93184C9.40133 8.64884 9.29022 8.41206 9.068 8.2215C8.84578 8.03095 8.59022 7.87456 8.30133 7.75234V6.46134C8.421 6.49045 8.52228 6.54495 8.60517 6.62484C8.68806 6.70473 8.74828 6.79812 8.78583 6.905L9.32183 6.68067C9.23972 6.46434 9.10622 6.2895 8.92133 6.15617C8.73645 6.02284 8.52978 5.93484 8.30133 5.89217V5.36517H7.86533V5.88184C7.55422 5.91428 7.29033 6.02495 7.07367 6.21384C6.857 6.40262 6.74867 6.6535 6.74867 6.9665C6.74867 7.25795 6.86256 7.50284 7.09033 7.70117C7.31811 7.89961 7.57644 8.05945 7.86533 8.18067V9.54217C7.67044 9.49517 7.50872 9.40606 7.38017 9.27484C7.2515 9.14362 7.16283 8.98912 7.11417 8.81134L6.5885 9.03567C6.67739 9.33189 6.83294 9.57517 7.05517 9.7655C7.27739 9.95595 7.54744 10.0734 7.86533 10.1178V10.6345ZM8.30133 9.53184V8.3485C8.44033 8.41195 8.56356 8.48806 8.671 8.57684C8.77833 8.66573 8.832 8.79089 8.832 8.95234C8.832 9.137 8.78222 9.26973 8.68267 9.3505C8.58311 9.43128 8.456 9.49173 8.30133 9.53184ZM7.86533 7.56784C7.73033 7.50373 7.60533 7.42745 7.49033 7.339C7.37544 7.25045 7.318 7.12628 7.318 6.9665C7.318 6.79984 7.37439 6.67784 7.48717 6.6005C7.59994 6.52317 7.726 6.47339 7.86533 6.45117V7.56784ZM5.33333 12.3332C4.12622 12.3332 3.10222 11.9128 2.26133 11.0722C1.42044 10.2316 1 9.20789 1 8.001C1 6.79423 1.42044 5.77011 2.26133 4.92867C3.10222 4.08723 4.12622 3.6665 5.33333 3.6665H10.6667C11.8738 3.6665 12.8978 4.08684 13.7387 4.9275C14.5796 5.76806 15 6.79178 15 7.99867C15 9.20545 14.5796 10.2296 13.7387 11.071C12.8978 11.9124 11.8738 12.3332 10.6667 12.3332H5.33333ZM5.33333 11.3332H10.6667C11.5889 11.3332 12.375 11.0082 13.025 10.3582C13.675 9.70817 14 8.92206 14 7.99984C14 7.07762 13.675 6.2915 13.025 5.6415C12.375 4.9915 11.5889 4.6665 10.6667 4.6665H5.33333C4.41111 4.6665 3.625 4.9915 2.975 5.6415C2.325 6.2915 2 7.07762 2 7.99984C2 8.92206 2.325 9.70817 2.975 10.3582C3.625 11.0082 4.41111 11.3332 5.33333 11.3332Z",fill:"#FC79C1"})})]}),GiftBoxIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_29218_23042",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_29218_23042)",children:jsxRuntime.jsx("path",{d:"M2.74302 14.3332V7.0767H1.66602V3.60253H5.11352C5.01952 3.49397 4.95563 3.3717 4.92185 3.2357C4.88807 3.09981 4.87118 2.95708 4.87118 2.80753C4.87118 2.30897 5.04568 1.88519 5.39468 1.53619C5.74368 1.18719 6.16746 1.0127 6.66602 1.0127C6.92157 1.0127 7.15835 1.06631 7.37635 1.17353C7.59424 1.28086 7.78907 1.42425 7.96085 1.60369C8.13263 1.41736 8.32752 1.27231 8.54552 1.16853C8.76341 1.06464 9.00013 1.0127 9.25568 1.0127C9.75435 1.0127 10.1782 1.18719 10.5272 1.53619C10.8762 1.88519 11.0507 2.30897 11.0507 2.80753C11.0507 2.95542 11.0321 3.09603 10.9948 3.22936C10.9576 3.3627 10.8955 3.48708 10.8083 3.60253H14.3327V7.0767H13.2557V14.3332H2.74302ZM9.25568 2.0127C9.03046 2.0127 8.84168 2.08886 8.68935 2.24119C8.53702 2.39353 8.46085 2.58231 8.46085 2.80753C8.46085 3.03275 8.53702 3.22153 8.68935 3.37386C8.84168 3.52631 9.03046 3.60253 9.25568 3.60253C9.48091 3.60253 9.66974 3.52631 9.82218 3.37386C9.97452 3.22153 10.0507 3.03275 10.0507 2.80753C10.0507 2.58231 9.97452 2.39353 9.82218 2.24119C9.66974 2.08886 9.48091 2.0127 9.25568 2.0127ZM5.87118 2.80753C5.87118 3.03275 5.94735 3.22153 6.09968 3.37386C6.25202 3.52631 6.44079 3.60253 6.66602 3.60253C6.89124 3.60253 7.08002 3.52631 7.23235 3.37386C7.38468 3.22153 7.46085 3.03275 7.46085 2.80753C7.46085 2.58231 7.38468 2.39353 7.23235 2.24119C7.08002 2.08886 6.89124 2.0127 6.66602 2.0127C6.44079 2.0127 6.25202 2.08886 6.09968 2.24119C5.94735 2.39353 5.87118 2.58231 5.87118 2.80753ZM2.66602 4.60236V6.07686H7.49935V4.60236H2.66602ZM7.49935 13.3332V7.0767H3.74285V13.3332H7.49935ZM8.49935 13.3332H12.2558V7.0767H8.49935V13.3332ZM13.3327 6.07686V4.60236H8.49935V6.07686H13.3327Z",fill:"#FC79C1"})})]}),RaiseHandIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_29218_23061",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_29218_23061)",children:jsxRuntime.jsx("path",{d:"M1.66602 14.7435V13.7435H14.3327V14.7435H1.66602ZM2.99935 13V9.43583C2.62413 8.75472 2.33757 8.0695 2.13968 7.38017C1.9419 6.69083 1.84302 6.01328 1.84302 5.3475C1.84302 4.74661 1.91952 4.14083 2.07252 3.53017C2.22552 2.9195 2.42935 2.26972 2.68402 1.58083C2.74724 1.40728 2.85107 1.26711 2.99552 1.16033C3.13996 1.05344 3.30446 1 3.48902 1C3.73524 1 3.94424 1.08783 4.11602 1.2635C4.28779 1.43917 4.35785 1.64533 4.32618 1.882L4.14935 3.32817C4.08268 3.88717 4.14163 4.42694 4.32618 4.9475C4.51085 5.46794 4.78246 5.92906 5.14102 6.33083C5.49957 6.7325 5.92585 7.05556 6.41985 7.3C6.91385 7.54444 7.44035 7.66667 7.99935 7.66667C8.67879 7.66667 9.32796 7.72544 9.94685 7.843C10.5656 7.96056 11.0993 8.13 11.548 8.35133C12.0096 8.58122 12.3668 8.87522 12.6198 9.23333C12.8728 9.59144 12.9993 10.0359 12.9993 10.5667V13H2.99935ZM3.99935 12H11.9993V10.5667C11.9993 10.2787 11.9263 10.0254 11.7802 9.807C11.634 9.58867 11.4215 9.41194 11.1428 9.27683C10.7344 9.08028 10.2494 8.92944 9.68785 8.82433C9.12629 8.71922 8.56346 8.66667 7.99935 8.66667C7.29168 8.66667 6.62607 8.51239 6.00252 8.20383C5.37907 7.89528 4.84363 7.48611 4.39618 6.97633C3.94874 6.46644 3.61068 5.88311 3.38202 5.22633C3.15335 4.56944 3.08135 3.894 3.16602 3.2C3.0549 3.53333 2.97435 3.88461 2.92435 4.25383C2.87435 4.62306 2.84935 4.98761 2.84935 5.3475C2.84935 5.95339 2.95574 6.56856 3.16852 7.193C3.3814 7.81733 3.65835 8.47267 3.99935 9.159V12ZM7.99935 6.84617C7.35579 6.84617 6.80602 6.61817 6.35002 6.16217C5.89402 5.70617 5.66602 5.15639 5.66602 4.51283C5.66602 3.86928 5.89402 3.3195 6.35002 2.8635C6.80602 2.4075 7.35579 2.1795 7.99935 2.1795C8.6429 2.1795 9.19268 2.4075 9.64868 2.8635C10.1047 3.3195 10.3327 3.86928 10.3327 4.51283C10.3327 5.15639 10.1047 5.70617 9.64868 6.16217C9.19268 6.61817 8.6429 6.84617 7.99935 6.84617ZM7.99935 5.84617C8.36602 5.84617 8.6799 5.71561 8.94102 5.4545C9.20213 5.19339 9.33268 4.8795 9.33268 4.51283C9.33268 4.14617 9.20213 3.83228 8.94102 3.57117C8.6799 3.31006 8.36602 3.1795 7.99935 3.1795C7.63268 3.1795 7.31879 3.31006 7.05768 3.57117C6.79657 3.83228 6.66602 4.14617 6.66602 4.51283C6.66602 4.8795 6.79657 5.19339 7.05768 5.4545C7.31879 5.71561 7.63268 5.84617 7.99935 5.84617ZM5.51218 13V12.5563C5.51218 11.8718 5.75129 11.2874 6.22952 10.8032C6.70774 10.3191 7.28913 10.077 7.97368 10.077H10.4352V11.0768H7.97368C7.56168 11.0768 7.21513 11.2215 6.93402 11.5108C6.65279 11.8002 6.51218 12.1487 6.51218 12.5563V13H5.51218Z",fill:"#FC79C1"})})]}),RowInfoIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_27901_26642",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"17",children:jsxRuntime.jsx("rect",{y:"0.000488281",width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_27901_26642)",children:jsxRuntime.jsx("path",{d:"M11.7692 13.103C11.1446 13.103 10.6167 12.8873 10.1853 12.4561C9.75411 12.0248 9.5385 11.4968 9.5385 10.8723C9.5385 10.2476 9.75411 9.71967 10.1853 9.28845C10.6167 8.85712 11.1446 8.64145 11.7692 8.64145C12.3938 8.64145 12.9218 8.85712 13.353 9.28845C13.7843 9.71967 14 10.2476 14 10.8723C14 11.4968 13.7843 12.0248 13.353 12.4561C12.9218 12.8873 12.3938 13.103 11.7692 13.103ZM11.7685 12.103C12.1083 12.103 12.3985 11.9829 12.6392 11.7428C12.8797 11.5026 13 11.2126 13 10.8729C13 10.5332 12.8799 10.2429 12.6397 10.0023C12.3996 9.76173 12.1096 9.64145 11.7698 9.64145C11.4301 9.64145 11.1399 9.76156 10.8993 10.0018C10.6588 10.2419 10.5385 10.5318 10.5385 10.8716C10.5385 11.2114 10.6586 11.5016 10.8987 11.7421C11.1389 11.9827 11.4288 12.103 11.7685 12.103ZM3 11.3723V10.3723H8.077V11.3723H3ZM4.23083 7.35945C3.60617 7.35945 3.07822 7.14378 2.647 6.71245C2.21567 6.28123 2 5.75328 2 5.12862C2 4.50406 2.21567 3.97612 2.647 3.54478C3.07822 3.11356 3.60617 2.89795 4.23083 2.89795C4.85539 2.89795 5.38333 3.11356 5.81467 3.54478C6.24589 3.97612 6.4615 4.50406 6.4615 5.12862C6.4615 5.75328 6.24589 6.28123 5.81467 6.71245C5.38333 7.14378 4.85539 7.35945 4.23083 7.35945ZM4.23017 6.35945C4.56994 6.35945 4.86011 6.23934 5.10067 5.99912C5.34122 5.759 5.4615 5.46906 5.4615 5.12928C5.4615 4.7895 5.34144 4.49934 5.10133 4.25878C4.86111 4.01823 4.57117 3.89795 4.2315 3.89795C3.89172 3.89795 3.6015 4.01801 3.36083 4.25812C3.12028 4.49834 3 4.78828 3 5.12795C3 5.46773 3.12011 5.75795 3.36033 5.99862C3.60044 6.23917 3.89039 6.35945 4.23017 6.35945ZM7.923 5.62862V4.62862H13V5.62862H7.923Z",fill:"#473C75"})})]}),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:"currentColor"})}),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:"currentColor"})]}),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:"220",height:"35",viewBox:"0 0 220 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_507_140)",children:[jsxRuntime.jsx("path",{d:"M17.0811 0.00585938C21.7376 0.00607155 25.5911 3.44023 26.249 7.91406C30.7237 8.57139 34.1592 12.4248 34.1592 17.082C34.159 21.7391 30.7236 25.5917 26.249 26.249C25.5919 30.7237 21.7382 34.159 17.0811 34.1592C12.4239 34.159 8.57024 30.7237 7.91309 26.249C3.43965 25.5907 0.00601578 21.7383 0.00585938 17.082C0.00585938 12.4256 3.43948 8.57232 7.91309 7.91406C8.57095 3.44017 12.4245 0.00607017 17.0811 0.00585938ZM14.4756 8.32227V10.2588H11.8662V12.5049H13.0244V21.5674H11.8662V23.8145H14.4756V25.8857H16.25V23.8145H17.251V25.8857H19.042V23.793C19.2905 23.7814 19.5402 23.7634 19.7412 23.7363C20.8221 23.5556 21.6847 23.117 22.3281 22.4199C22.9843 21.71 23.3124 20.8449 23.3125 19.8252C23.3125 19.0249 23.0613 18.3149 22.5596 17.6953C22.0577 17.0757 21.4338 16.6683 20.6875 16.4746C21.2278 16.2681 21.6845 15.9068 22.0576 15.3906C22.4308 14.8613 22.6172 14.2867 22.6172 13.667C22.6172 12.815 22.3537 12.0985 21.8262 11.5176C21.3115 10.9238 20.6162 10.5362 19.7412 10.3555C19.5447 10.3208 19.2936 10.2986 19.042 10.2842V8.32227H17.251V10.2588H16.25V8.32227H14.4756ZM18.4678 17.7334C19.1111 17.7334 19.639 17.9139 20.0508 18.2754C20.4753 18.6239 20.6874 19.076 20.6875 19.6309C20.6875 20.1988 20.4753 20.664 20.0508 21.0254C19.639 21.3868 19.1112 21.5674 18.4678 21.5674H15.6494V17.7334H18.4678ZM18.2744 12.5049C18.802 12.5049 19.2338 12.6533 19.5684 12.9502C19.9158 13.2342 20.0889 13.6029 20.0889 14.0547C20.0888 14.5193 19.9157 14.9004 19.5684 15.1973C19.2338 15.4813 18.802 15.623 18.2744 15.623H15.6494V12.5049H18.2744Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M47.8411 29.4865C44.0431 29.4865 41.7372 27.479 41.4388 24.9831H44.857C45.2097 26.2582 46.2948 26.8279 47.8411 26.8279C49.8487 26.8279 51.3136 25.7698 51.3136 23.7352V21.8905C50.6083 22.9756 49.0077 23.6538 47.2172 23.6538C43.5277 23.6538 40.8691 21.0495 40.8691 17.0616C40.8691 12.9923 43.5006 10.4422 47.2443 10.4422C49.0348 10.4422 50.554 11.1204 51.3136 12.1784V10.6592H54.7589V23.3825C54.7589 27.2891 52.1275 29.4865 47.8411 29.4865ZM47.8411 20.7239C49.8487 20.7239 51.3136 19.2047 51.3136 17.0616C51.3136 14.8641 49.8487 13.3721 47.8411 13.3721C45.8065 13.3721 44.3416 14.8641 44.3416 17.0616C44.3416 19.2319 45.8065 20.7239 47.8411 20.7239ZM61.0971 24.5491C58.1943 24.5491 56.3767 22.8128 56.3767 20.534C56.3767 17.8483 58.1943 16.4105 62.345 15.9764L65.0036 15.7051V15.4067C65.0036 13.9689 63.9727 13.1008 62.4264 13.1008C60.9886 13.1008 59.9306 13.8333 59.7407 15.2439H56.4038C56.7836 12.4226 59.2523 10.4422 62.4264 10.4422C65.9531 10.4422 68.4218 12.3683 68.4218 15.8679V24.332H65.0036V22.5958C64.4068 23.6809 62.8333 24.5491 61.0971 24.5491ZM65.0036 18.1738L62.4806 18.4994C60.5545 18.7164 59.7407 19.259 59.7407 20.3984C59.7407 21.4021 60.5545 21.9718 61.7753 21.9718C63.7286 21.9718 65.0036 20.3441 65.0036 18.3909V18.1738ZM70.356 24.332V10.6592H73.8013V12.504C74.5609 11.2018 76.0259 10.4422 77.7892 10.4422C78.3861 10.4422 78.8744 10.5236 79.3356 10.7406V13.9689C78.6574 13.7247 78.1148 13.6705 77.4908 13.6705C75.5104 13.6705 73.8013 15.2982 73.8013 19.1505V24.332H70.356ZM85.8168 24.5491C81.8017 24.5491 79.1703 21.7819 79.1703 17.4956C79.1703 13.2093 81.8017 10.4422 85.8168 10.4422C87.6073 10.4422 89.2892 11.2289 90.0488 12.3412V5.12497H93.4942V24.332H90.0488V22.6229C89.2892 23.7623 87.6073 24.5491 85.8168 24.5491ZM86.3593 21.592C88.5296 21.592 90.0488 19.9101 90.0488 17.4956C90.0488 15.0269 88.5296 13.3721 86.3593 13.3721C84.189 13.3721 82.6698 15.0269 82.6698 17.4956C82.6698 19.9372 84.189 21.592 86.3593 21.592ZM102.101 24.5491C97.8146 24.5491 95.0746 21.6192 95.0746 17.4956C95.0746 13.3721 97.9774 10.4422 101.965 10.4422C106.414 10.4422 109.154 13.8875 108.558 18.2281H98.52C98.7912 20.5069 100.229 21.6734 102.101 21.6734C103.783 21.6734 104.814 20.8596 105.058 19.8558H108.503C107.961 22.5958 105.899 24.5491 102.101 24.5491ZM98.6556 15.7051H105.004C104.922 14.1317 103.729 13.1008 101.965 13.1008C100.256 13.1008 99.0897 13.996 98.6556 15.7051ZM110.338 24.332V10.6592H113.783V12.4497C114.488 11.4188 116.089 10.4422 118.232 10.4422C121.189 10.4422 123.305 12.3412 123.305 15.5424V24.332H119.86V16.2748C119.86 14.5115 118.802 13.4535 117.228 13.4535C115.085 13.4535 113.783 15.2711 113.783 18.3909V24.332H110.338ZM132.664 24.5491C128.758 24.5491 126.018 21.6192 126.018 17.4956C126.018 13.3721 128.785 10.4422 132.61 10.4422C136.625 10.4422 139.148 13.5348 138.714 17.4956H127.754C127.754 20.8596 129.788 23.0299 132.664 23.0299C135.16 23.0299 136.652 21.6463 136.95 20.0457H138.687C138.225 22.4873 136.299 24.5491 132.664 24.5491ZM127.862 16.0849H136.978C136.978 13.5891 135.16 11.9614 132.61 11.9614C130.114 11.9614 128.323 13.5077 127.862 16.0849ZM148.538 24.332L144.659 18.635L140.779 24.332H138.826L143.682 17.1972L139.233 10.6592H141.24L144.686 15.7323L148.131 10.6592H150.057L145.662 17.1429L150.545 24.332H148.538ZM151.884 29.2694V10.6592H153.594V13.3992C154.435 11.6087 156.523 10.4422 158.748 10.4422C162.763 10.4422 165.476 13.2907 165.476 17.4956C165.476 21.7006 162.763 24.5491 158.748 24.5491C156.523 24.5491 154.435 23.3283 153.594 21.5649V29.2694H151.884ZM158.667 23.0299C161.597 23.0299 163.713 20.7511 163.713 17.4956C163.713 14.2402 161.597 11.9614 158.667 11.9614C155.737 11.9614 153.594 14.2402 153.594 17.4956C153.594 20.7239 155.737 23.0299 158.667 23.0299ZM167.734 24.332V5.12497H169.47V24.332H167.734ZM178.503 24.5491C174.569 24.5491 171.694 21.6192 171.694 17.4956C171.694 13.3721 174.569 10.4422 178.503 10.4422C182.437 10.4422 185.285 13.3721 185.285 17.4956C185.285 21.6192 182.409 24.5491 178.503 24.5491ZM178.503 23.0299C181.433 23.0299 183.549 20.7511 183.549 17.4956C183.549 14.2402 181.433 11.9614 178.503 11.9614C175.573 11.9614 173.457 14.2402 173.457 17.4956C173.457 20.7511 175.573 23.0299 178.503 23.0299ZM187.566 24.332V10.6592H189.275V13.7247C189.98 11.6087 191.662 10.4422 193.643 10.4422C194.213 10.4422 194.809 10.5507 195.271 10.7677V12.3954C194.511 12.1242 193.996 12.0699 193.453 12.0699C191.011 12.0699 189.275 14.5929 189.275 18.852V24.332H187.566ZM201.51 24.5491C197.604 24.5491 194.864 21.6192 194.864 17.4956C194.864 13.3721 197.631 10.4422 201.456 10.4422C205.471 10.4422 207.994 13.5348 207.56 17.4956H196.6C196.6 20.8596 198.635 23.0299 201.51 23.0299C204.006 23.0299 205.498 21.6463 205.797 20.0457H207.533C207.072 22.4873 205.146 24.5491 201.51 24.5491ZM196.709 16.0849H205.824C205.824 13.5891 204.006 11.9614 201.456 11.9614C198.96 11.9614 197.17 13.5077 196.709 16.0849ZM209.861 24.332V10.6592H211.57V13.7247C212.276 11.6087 213.958 10.4422 215.938 10.4422C216.508 10.4422 217.105 10.5507 217.566 10.7677V12.3954C216.806 12.1242 216.291 12.0699 215.748 12.0699C213.307 12.0699 211.57 14.5929 211.57 18.852V24.332H209.861Z",fill:"currentColor"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_507_140",children:jsxRuntime.jsx("rect",{width:"219.15",height:"34.1539",fill:"white"})})})]}),GardenFullLogo=e=>jsxRuntime.jsxs("svg",{width:"116",height:"34",viewBox:"0 0 116 34",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M103.691 10.6876H106.961V12.387C107.322 11.8549 107.871 11.4086 108.609 11.0481C109.365 10.6705 110.223 10.4816 111.184 10.4816C112.609 10.4816 113.768 10.9194 114.66 11.7948C115.553 12.6531 115.999 13.829 115.999 15.3224V23.665H112.729V16.0176C112.729 15.1936 112.497 14.5413 112.034 14.0607C111.588 13.5801 110.987 13.3397 110.232 13.3397C109.219 13.3397 108.421 13.7517 107.837 14.5757C107.253 15.3996 106.961 16.5497 106.961 18.026V23.665H103.691V10.6876Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M96.0804 23.8709C94.7586 23.8709 93.5914 23.5877 92.5786 23.0212C91.5658 22.4548 90.7762 21.6651 90.2097 20.6524C89.6604 19.6396 89.3857 18.4809 89.3857 17.1763C89.3857 15.8889 89.669 14.7387 90.2354 13.726C90.8019 12.7132 91.5744 11.9236 92.5528 11.3571C93.5484 10.7734 94.6728 10.4816 95.9259 10.4816C97.179 10.4816 98.2862 10.7563 99.2475 11.3056C100.209 11.8377 100.947 12.5844 101.462 13.5457C101.994 14.507 102.26 15.5799 102.26 16.7643C102.26 17.1076 102.234 17.4767 102.183 17.8715H92.6301C92.7502 18.9186 93.1193 19.7254 93.7373 20.2919C94.3552 20.8583 95.1277 21.1416 96.0547 21.1416C96.7756 21.1416 97.3764 20.9871 97.8571 20.6781C98.3377 20.3691 98.6553 19.9486 98.8098 19.4164H102.054C101.814 20.7554 101.161 21.8368 100.097 22.6608C99.0329 23.4675 97.694 23.8709 96.0804 23.8709ZM98.8098 15.4769C98.7926 14.7387 98.5179 14.1465 97.9858 13.7002C97.4537 13.2367 96.767 13.005 95.9259 13.005C94.2437 13.005 93.1965 13.829 92.7846 15.4769H98.8098Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M80.8408 23.8709C79.5705 23.8709 78.4547 23.5962 77.4934 23.0469C76.5321 22.4976 75.7854 21.7251 75.2533 20.7295C74.7211 19.7167 74.4551 18.5323 74.4551 17.1762C74.4551 15.8201 74.7211 14.6443 75.2533 13.6486C75.7854 12.6359 76.5321 11.8548 77.4934 11.3055C78.4547 10.7562 79.5705 10.4816 80.8408 10.4816C81.6647 10.4816 82.4372 10.6446 83.1581 10.9708C83.8791 11.2969 84.4112 11.7347 84.7545 12.284V5.43481H88.0504V23.6649H84.7545V22.0427C84.4112 22.592 83.8791 23.0383 83.1581 23.3816C82.4372 23.7078 81.6647 23.8709 80.8408 23.8709ZM77.7509 17.1762C77.7509 18.3263 78.0771 19.2704 78.7294 20.0086C79.3817 20.7295 80.2228 21.09 81.2527 21.09C82.2998 21.09 83.141 20.7295 83.7761 20.0086C84.4284 19.2704 84.7545 18.3263 84.7545 17.1762C84.7545 16.0089 84.4284 15.0648 83.7761 14.3439C83.141 13.6229 82.2998 13.2624 81.2527 13.2624C80.2228 13.2624 79.3817 13.6229 78.7294 14.3439C78.0771 15.0648 77.7509 16.0089 77.7509 17.1762Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M66.1152 10.6876H69.3853V12.4385C69.7458 11.8549 70.2694 11.3828 70.956 11.0224C71.6598 10.6619 72.4065 10.4816 73.1961 10.4816C73.7626 10.4816 74.2432 10.5675 74.638 10.7391V13.829C74.1059 13.623 73.5223 13.52 72.8871 13.52C71.8744 13.52 71.0332 13.9663 70.3638 14.8589C69.7115 15.7344 69.3853 17.0304 69.3853 18.747V23.665H66.1152V10.6876Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M57.4172 23.8709C56.0611 23.8709 54.971 23.519 54.1471 22.8152C53.3231 22.1115 52.9111 21.1931 52.9111 20.0601C52.9111 18.7727 53.366 17.7857 54.2758 17.099C55.2028 16.3952 56.6447 15.9403 58.6016 15.7344L61.125 15.4769V15.1936C61.125 14.5242 60.9018 13.992 60.4555 13.5972C60.0092 13.2024 59.417 13.005 58.6788 13.005C57.9922 13.005 57.4257 13.1852 56.9794 13.5457C56.5503 13.9062 56.2928 14.4212 56.207 15.0906H52.9884C53.1085 14.2324 53.4175 13.4513 53.9153 12.7475C54.4303 12.0437 55.0912 11.4944 55.898 11.0996C56.7219 10.6876 57.6489 10.4816 58.6788 10.4816C60.3954 10.4816 61.7773 10.9365 62.8244 11.8463C63.8715 12.7389 64.395 14.0006 64.395 15.6314V23.665H61.125V22.017C60.8331 22.5492 60.3439 22.9955 59.6573 23.356C58.9707 23.6993 58.2239 23.8709 57.4172 23.8709ZM56.1297 19.9314C56.1297 20.3777 56.3014 20.7296 56.6447 20.9871C56.988 21.2446 57.4601 21.3733 58.0609 21.3733C58.9878 21.3733 59.726 21.0558 60.2753 20.4206C60.8417 19.7683 61.125 18.9701 61.125 18.026V17.82L58.7303 18.129C57.8205 18.232 57.1597 18.4294 56.7477 18.7212C56.3357 18.9959 56.1297 19.3993 56.1297 19.9314Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M44.7926 28.5571C43.7284 28.5571 42.7671 28.3683 41.9088 27.9906C41.0505 27.6301 40.3553 27.1237 39.8231 26.4714C39.3082 25.8191 38.9906 25.0896 38.8704 24.2828H42.1148C42.2521 24.8321 42.5697 25.2612 43.0675 25.5702C43.5653 25.8792 44.1747 26.0337 44.8956 26.0337C45.8741 26.0337 46.6637 25.7762 47.2645 25.2612C47.8825 24.7634 48.1915 24.0425 48.1915 23.0984V21.3989C47.8138 21.9139 47.2903 22.3173 46.6208 22.6091C45.9513 22.901 45.2389 23.0469 44.4837 23.0469C43.2477 23.0469 42.1663 22.7894 41.2393 22.2744C40.3124 21.7594 39.6 21.0299 39.1022 20.0858C38.6044 19.1245 38.3555 18.0173 38.3555 16.7642C38.3555 15.4939 38.6044 14.3867 39.1022 13.4426C39.6 12.4985 40.3124 11.7689 41.2393 11.254C42.1663 10.739 43.2477 10.4815 44.4837 10.4815C45.2389 10.4815 45.9513 10.6274 46.6208 10.9192C47.2903 11.1939 47.8138 11.5801 48.1915 12.0779V10.6875H51.4615V22.7894C51.4615 23.991 51.1783 25.0209 50.6118 25.8792C50.0454 26.7547 49.2557 27.4156 48.243 27.8619C47.2473 28.3253 46.0972 28.5571 44.7926 28.5571ZM41.5226 16.7642C41.5226 17.8456 41.8315 18.7297 42.4495 19.4163C43.0675 20.0858 43.8743 20.4205 44.8699 20.4205C45.8483 20.4205 46.6465 20.0858 47.2645 19.4163C47.8825 18.7297 48.1915 17.8456 48.1915 16.7642C48.1915 15.6656 47.8825 14.7815 47.2645 14.1121C46.6465 13.4426 45.8483 13.1079 44.8699 13.1079C43.8743 13.1079 43.0675 13.4426 42.4495 14.1121C41.8315 14.7815 41.5226 15.6656 41.5226 16.7642Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M16.082 0.917969C20.4673 0.917978 24.096 4.15212 24.7158 8.36523C28.9295 8.98456 32.1641 12.6144 32.1641 17C32.1641 21.3856 28.9294 25.0144 24.7158 25.6338C24.0964 29.8474 20.4676 33.082 16.082 33.082C11.6964 33.082 8.06659 29.8474 7.44727 25.6338C3.23415 25.014 8.43986e-06 21.3853 0 17C0 12.6147 3.23408 8.98495 7.44727 8.36523C8.06698 4.15205 11.6967 0.917969 16.082 0.917969ZM13.6289 8.75195V10.5752H11.1719V12.6904H12.2637V21.2256H11.1719V23.3408H13.6289V25.292H15.3008V23.3408H16.2432V25.292H17.9307V23.3213C18.1647 23.3104 18.3996 23.2931 18.5889 23.2676C19.6068 23.0974 20.4185 22.6838 21.0244 22.0273C21.6424 21.3587 21.9521 20.5444 21.9521 19.584C21.9521 18.8303 21.7157 18.1616 21.2432 17.5781C20.7706 16.9946 20.1823 16.6121 19.4795 16.4297C19.9884 16.2352 20.4191 15.8945 20.7705 15.4082C21.1219 14.9098 21.2978 14.3686 21.2979 13.7852C21.2978 12.9828 21.0486 12.3078 20.5518 11.7607C20.067 11.2016 19.4128 10.8372 18.5889 10.667C18.4039 10.6343 18.1676 10.6132 17.9307 10.5996V8.75195H16.2432V10.5752H15.3008V8.75195H13.6289ZM17.3896 17.6143C17.9954 17.6143 18.4922 17.7847 18.8799 18.125C19.2797 18.4532 19.4794 18.8788 19.4795 19.4014C19.4795 19.9363 19.2798 20.3744 18.8799 20.7148C18.4922 21.0552 17.9954 21.2255 17.3896 21.2256H14.7354V17.6143H17.3896ZM17.208 12.6904C17.7047 12.6905 18.1108 12.8308 18.4258 13.1104C18.7527 13.3777 18.9159 13.7241 18.916 14.1494C18.916 14.587 18.7528 14.946 18.4258 15.2256C18.1108 15.493 17.7047 15.6269 17.208 15.627H14.7354V12.6904H17.208Z",fill:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M208.539 44.9712V87.3651H198.743V44.9712H208.539Z",fill:"currentColor"}),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:"currentColor"}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M316.976 47.1482V54.9968H306.321V87.3651H296.526V54.9968H285.871V47.1482H316.976Z",fill:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M94.1758 26.4247V9.57666H104.994V12.4567H97.3438V16.4707H104.328V19.3507H97.3438V23.5087H105.138V26.3887H94.1758V26.4247Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M107.515 26.4247V9.57666H110.683V23.5267H118.387V26.4067H107.515V26.4247Z",fill:"currentColor"}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M139.465 26.4228V12.4728H134.551V9.59277H147.547V12.4728H142.633V26.4228H139.465Z",fill:"currentColor"})]}),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:"currentColor"}),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:"currentColor"})]})]}),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:"currentColor"}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M80.4902 0.806885H84.7431V29.2293H80.4902V0.806885Z",fill:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]})]}),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:"currentColor"}),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:"currentColor"})]}),GardenIcon=e=>jsxRuntime.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M16 0C20.3629 1.90708e-07 23.9732 3.21759 24.5898 7.40918C28.782 8.02536 32 11.6367 32 16C32 20.3632 28.7819 23.9736 24.5898 24.5898C23.9736 28.7819 20.3632 32 16 32C11.6367 32 8.02536 28.782 7.40918 24.5898C3.21759 23.9732 2.34439e-07 20.3629 0 16C0 11.6371 3.21753 8.02577 7.40918 7.40918C8.02577 3.21753 11.6371 -1.9071e-07 16 0ZM13.5596 7.79395V9.6084H11.1152V11.7129H12.2012V20.2041H11.1152V22.3086H13.5596V24.25H15.2227V22.3086H16.1602V24.25H17.8389V22.2891C18.0718 22.2782 18.3057 22.2608 18.4941 22.2354C19.5069 22.066 20.3152 21.6551 20.918 21.002C21.5326 20.3368 21.8398 19.5265 21.8398 18.5713C21.8398 17.8214 21.6049 17.1557 21.1348 16.5752C20.6647 15.9948 20.0799 15.6141 19.3809 15.4326C19.8871 15.2391 20.3145 14.8997 20.6641 14.416C21.0136 13.9202 21.1884 13.3822 21.1885 12.8018C21.1885 12.0035 20.9416 11.3314 20.4473 10.7871C19.965 10.2309 19.3138 9.86853 18.4941 9.69922C18.31 9.66671 18.0747 9.64539 17.8389 9.63184V7.79395H16.1602V9.6084H15.2227V7.79395H13.5596ZM17.3008 16.6113C17.9033 16.6114 18.3975 16.7807 18.7832 17.1191C19.1811 17.4457 19.3809 17.8695 19.3809 18.3896C19.3808 18.9218 19.181 19.3577 18.7832 19.6963C18.3975 20.0347 17.9033 20.2041 17.3008 20.2041H14.6602V16.6113H17.3008ZM17.1201 11.7129C17.6141 11.7129 18.0177 11.8519 18.3311 12.1299C18.6565 12.3959 18.8193 12.7408 18.8193 13.1641C18.8193 13.5995 18.6566 13.9562 18.3311 14.2344C18.0177 14.5004 17.6142 14.6337 17.1201 14.6338H14.6602V11.7129H17.1201Z",fill:"currentColor"})}),GardenIconOutline=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_20443_43161)",children:[jsxRuntime.jsx("mask",{id:"path-1-inside-1_20443_43161",fill:"white",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.98345 0C12.6777 0 14.9524 1.79919 15.6755 4.26352C18.1709 4.96525 20.0007 7.26101 20.0007 9.98485C20.0007 12.699 18.1839 14.9881 15.7021 15.6986C14.9913 18.1824 12.7071 20 9.99907 20C7.29077 20 5.00638 18.182 4.29585 15.6978C1.81541 14.9864 -1.18398e-07 12.698 0 9.98485C1.18278e-07 7.27444 1.81174 4.9879 4.28834 4.27401C5.00801 1.8043 7.28537 0 9.98345 0Z"})}),jsxRuntime.jsx("path",{d:"M15.6755 4.26352L14.2362 4.68583L14.47 5.48271L15.2694 5.70752L15.6755 4.26352ZM15.7021 15.6986L15.2892 14.2566L14.489 14.4857L14.26 15.2859L15.7021 15.6986ZM4.29585 15.6978L5.73802 15.2853L5.5092 14.4854L4.7094 14.256L4.29585 15.6978ZM0 9.98485H-1.5H0ZM4.28834 4.27401L4.7038 5.71533L5.49739 5.48658L5.72845 4.69366L4.28834 4.27401ZM15.6755 4.26352L17.1148 3.84121C16.2098 0.756843 13.3629 -1.5 9.98345 -1.5V0V1.5C11.9925 1.5 13.695 2.84153 14.2362 4.68583L15.6755 4.26352ZM20.0007 9.98485H21.5007C21.5007 6.57295 19.2084 3.69881 16.0815 2.81953L15.6755 4.26352L15.2694 5.70752C17.1335 6.2317 18.5007 7.94908 18.5007 9.98485H20.0007ZM15.7021 15.6986L16.1149 17.1407C19.2246 16.2505 21.5007 13.3847 21.5007 9.98485H20.0007H18.5007C18.5007 12.0133 17.1432 13.7258 15.2892 14.2566L15.7021 15.6986ZM9.99907 20V21.5C13.3957 21.5 16.2545 19.2201 17.1442 16.1113L15.7021 15.6986L14.26 15.2859C13.728 17.1446 12.0184 18.5 9.99907 18.5V20ZM4.29585 15.6978L2.85369 16.1103C3.74302 19.2196 6.60205 21.5 9.99907 21.5V20V18.5C7.97949 18.5 6.26974 17.1443 5.73802 15.2853L4.29585 15.6978ZM4.29585 15.6978L4.7094 14.256C2.85642 13.7245 1.5 12.0126 1.5 9.98485H0H-1.5C-1.5 13.3834 0.77439 16.2483 3.88231 17.1397L4.29585 15.6978ZM0 9.98485H1.5C1.5 7.95916 2.85367 6.24863 4.7038 5.71533L4.28834 4.27401L3.87288 2.8327C0.769816 3.72716 -1.5 6.58972 -1.5 9.98485H0ZM9.98345 0V-1.5C6.59923 -1.5 3.74899 0.76323 2.84824 3.85437L4.28834 4.27401L5.72845 4.69366C6.26704 2.84536 7.97151 1.5 9.98345 1.5V0Z",fill:"currentColor",mask:"url(#path-1-inside-1_20443_43161)"}),jsxRuntime.jsx("path",{d:"M11.5749 8.50235C11.5621 9.57535 9.91402 9.42991 9.38923 9.42335L9.41196 7.52459C9.93675 7.53115 11.5881 7.38196 11.5749 8.50235ZM11.9714 11.4605C11.9581 12.6407 9.98322 12.4814 9.35201 12.4738L9.38395 10.3823C10.0131 10.3911 11.9928 10.2298 11.9778 11.4623L11.9714 11.4605ZM13.3199 8.10089C13.2284 6.97293 12.2821 6.58529 11.0828 6.46077L11.1016 4.89867L10.1705 4.88634L10.1519 6.40806C9.90849 6.40469 9.65851 6.40657 9.41013 6.40888L9.42034 4.8796L8.49173 4.86443L8.47335 6.4249C8.27132 6.4276 8.07337 6.4279 7.8811 6.42624L6.59855 6.40909L6.58668 7.42605C6.58668 7.42605 7.27615 7.42144 7.26061 7.43478C7.52087 7.40429 7.75703 7.59263 7.79146 7.85812L7.77561 9.63212C7.80835 9.63249 7.84103 9.63498 7.87346 9.63958L7.7755 9.63913L7.74021 12.1307C7.72493 12.3168 7.56567 12.4554 7.38356 12.4411C7.39801 12.4451 6.70803 12.432 6.70803 12.432L6.50921 13.5648L7.72002 13.5799L8.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.1954L10.9636 15.2073L10.9847 13.63C12.5521 13.558 13.6487 13.1689 13.8023 11.6701C13.9245 10.4618 13.3792 9.91658 12.4964 9.68706C13.0395 9.41368 13.3846 8.92423 13.3135 8.09914L13.3199 8.10089Z",fill:"currentColor"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_20443_43161",children:jsxRuntime.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),NFTIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_20443_43040",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"17",children:jsxRuntime.jsx("rect",{y:"0.000976562",width:"16",height:"16",fill:"currentColor"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_20443_43040)",children:jsxRuntime.jsx("path",{d:"M6.3783 10.3343L8.0013 9.10098L9.59097 10.3215L8.9808 8.34964L10.6295 7.06248H8.6448L8.0013 5.07798L7.3578 7.06248H5.37314L6.98847 8.34964L6.3783 10.3343ZM2.87314 13.001C2.54069 13.001 2.25669 12.8833 2.02114 12.6478C1.78569 12.4123 1.66797 12.1283 1.66797 11.7958V9.96898C1.66797 9.85953 1.69941 9.76253 1.7623 9.67798C1.82508 9.59331 1.90902 9.53559 2.01414 9.50481C2.30647 9.36892 2.54408 9.1672 2.72697 8.89964C2.90986 8.6322 3.0013 8.33264 3.0013 8.00098C3.0013 7.66931 2.90986 7.36975 2.72697 7.10231C2.54408 6.83475 2.30647 6.63303 2.01414 6.49714C1.90902 6.46637 1.82508 6.40864 1.7623 6.32398C1.69941 6.23942 1.66797 6.14242 1.66797 6.03298V4.20614C1.66797 3.8737 1.78569 3.5897 2.02114 3.35414C2.25669 3.1187 2.54069 3.00098 2.87314 3.00098H13.1295C13.4619 3.00098 13.7459 3.1187 13.9815 3.35414C14.2169 3.5897 14.3346 3.8737 14.3346 4.20614V6.03298C14.3346 6.14242 14.3032 6.23942 14.2403 6.32398C14.1775 6.40864 14.0936 6.46637 13.9885 6.49714C13.6961 6.63303 13.4585 6.83475 13.2756 7.10231C13.0927 7.36975 13.0013 7.66931 13.0013 8.00098C13.0013 8.33264 13.0927 8.6322 13.2756 8.89964C13.4585 9.1672 13.6961 9.36892 13.9885 9.50481C14.0936 9.53559 14.1775 9.59331 14.2403 9.67798C14.3032 9.76253 14.3346 9.85953 14.3346 9.96898V11.7958C14.3346 12.1283 14.2169 12.4123 13.9815 12.6478C13.7459 12.8833 13.4619 13.001 13.1295 13.001H2.87314ZM2.87314 12.001H13.1295C13.1894 12.001 13.2385 11.9818 13.277 11.9433C13.3154 11.9049 13.3346 11.8557 13.3346 11.7958V10.301C12.9235 10.0565 12.5985 9.73153 12.3596 9.32598C12.1207 8.92042 12.0013 8.47875 12.0013 8.00098C12.0013 7.5232 12.1207 7.08153 12.3596 6.67598C12.5985 6.27042 12.9235 5.94542 13.3346 5.70098V4.20614C13.3346 4.14625 13.3154 4.09709 13.277 4.05864C13.2385 4.0202 13.1894 4.00098 13.1295 4.00098H2.87314C2.81325 4.00098 2.76408 4.0202 2.72564 4.05864C2.68719 4.09709 2.66797 4.14625 2.66797 4.20614V5.70098C3.07908 5.94542 3.40408 6.27042 3.64297 6.67598C3.88186 7.08153 4.0013 7.5232 4.0013 8.00098C4.0013 8.47875 3.88186 8.92042 3.64297 9.32598C3.40408 9.73153 3.07908 10.0565 2.66797 10.301V11.7958C2.66797 11.8557 2.68719 11.9049 2.72564 11.9433C2.76408 11.9818 2.81325 12.001 2.87314 12.001Z",fill:"currentColor"})})]}),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})}),TokenNetworkLogos=({tokenLogo:e,chainLogo:t,className:i,iconStyle:n,...s})=>jsxRuntime.jsxs("div",{className:`gf-relative gf-flex gf-h-5 gf-items-center gf-justify-between ${t&&t!==e?"gf-w-[36px]":"gf-w-5"} ${i??""}`,...s,children:[jsxRuntime.jsx("img",{src:e,className:`gf-absolute gf-left-0 gf-z-30 gf-h-5 gf-w-5 ${n??""}`}),t&&t!==e&&jsxRuntime.jsx("img",{src:t,className:`gf-absolute gf-right-0 gf-z-20 gf-h-5 gf-w-5 ${n??""}`})]}),TokenInfo=({symbol:e,tokenLogo:t,chainLogo:i,className:n,...s})=>jsxRuntime.jsx("div",{className:cn("gf-flex gf-text-left gf-cursor-pointer gf-w-max",n),...s,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:"regular",children:e}),jsxRuntime.jsxs("div",{className:"gf-flex gf-items-center gf-gap-1",children:[jsxRuntime.jsx(TokenNetworkLogos,{tokenLogo:t||"",chainLogo:i||""}),jsxRuntime.jsx("span",{children:jsxRuntime.jsx(KeyboardDownIcon,{})})]})]})}),GradientScroll=({children:e,className:t,height:i,gradientHeight:n=24,onClose:s=!1,...a})=>{const[o,l]=React.useState(!0),[c,u]=React.useState(!0),f=React.useRef(null),d=React.useRef(null),p=()=>{if(f.current){const{scrollTop:b,scrollHeight:C,clientHeight:y}=f.current;l(b+y<C),u(b>0)}};return React.useEffect(()=>{s&&f.current&&(f.current.scrollTop=0)},[s]),React.useEffect(()=>{const b=f.current,C=d.current;if(!b||!C)return;p();const y=new ResizeObserver(()=>{p()});return y.observe(b),y.observe(C),()=>{y.disconnect()}},[]),jsxRuntime.jsxs("div",{className:cn("gf-w-full gf-bg-white gf-relative gf-overflow-hidden",t),style:{height:typeof i=="number"?`${i}px`:i},...a,children:[jsxRuntime.jsx("div",{className:"gf-h-full gf-w-full gf-overflow-auto gf-no-scrollbar",onScroll:p,ref:f,children:jsxRuntime.jsx("div",{ref:d,children:e})}),c&&jsxRuntime.jsx("div",{className:" gf-w-full gf-absolute gf-top-0 gf-left-0 gf-z-40 gf-bg-gradient-to-b gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none",style:{height:typeof n=="number"?`${n}px`:n}}),o&&jsxRuntime.jsx("div",{className:" gf-w-full gf-absolute gf-bottom-0 gf-left-0 gf-z-40 gf-bg-gradient-to-t gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none",style:{height:typeof n=="number"?`${n}px`:n}})]})},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=(...n)=>(process.env.NODE_ENV!=="production"&&warnOnce(!1,"motion() is deprecated. Use motion.create() instead."),e(...n));return new Proxy(i,{get:(n,s)=>s==="create"?e:(t.has(s)||t.set(s,e(s)),t.get(s))})}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 n=0;n<i;n++)if(t[n]!==e[n])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,n)=>{t[0][n]=i.get(),t[1][n]=i.getVelocity()}),t}function resolveVariantFromProps(e,t,i,n){if(typeof t=="function"){const[s,a]=getValueState(n);t=t(i!==void 0?i:e.custom,s,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,a]=getValueState(n);t=t(i!==void 0?i:e.custom,s,a)}return t}function resolveVariant(e,t,i){const n=e.getProps();return resolveVariantFromProps(n,t,i!==void 0?i:n.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:n,staggerDirection:s,repeat:a,repeatType:o,repeatDelay:l,from:c,elapsed:u,...f}){return!!Object.keys(f).length}function getValueTransition$1(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"},n){const s=e.filter(isNotNull),a=t&&i!=="loop"&&t%2===1?0:s.length-1;return!a||n===void 0?s[a]:n}const noop=e=>e;function createRenderStep(e){let t=new Set,i=new Set,n=!1,s=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(u){a.has(u)&&(c.schedule(u),e()),u(o)}const c={schedule:(u,f=!1,d=!1)=>{const b=d&&n?t:i;return f&&a.add(u),b.has(u)||b.add(u),u},cancel:u=>{i.delete(u),a.delete(u)},process:u=>{if(o=u,n){s=!0;return}n=!0,[t,i]=[i,t],i.clear(),t.forEach(l),n=!1,s&&(s=!1,c.process(u))}};return c}const stepsOrder=["read","resolveKeyframes","update","preRender","render","postRender"],maxElapsed=40;function createRenderBatcher(e,t){let i=!1,n=!0;const s={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,o=stepsOrder.reduce((m,x)=>(m[x]=createRenderStep(a),m),{}),{read:l,resolveKeyframes:c,update:u,preRender:f,render:d,postRender:p}=o,b=()=>{const m=performance.now();i=!1,s.delta=n?1e3/60:Math.max(Math.min(m-s.timestamp,maxElapsed),1),s.timestamp=m,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),f.process(s),d.process(s),p.process(s),s.isProcessing=!1,i&&t&&(n=!1,e(b))},C=()=>{i=!0,n=!0,s.isProcessing||e(b)};return{schedule:stepsOrder.reduce((m,x)=>{const g=o[x];return m[x]=(S,E=!1,M=!1)=>(i||C(),g.schedule(S,E,M)),m},{}),cancel:m=>{for(let x=0;x<stepsOrder.length;x++)o[stepsOrder[x]].cancel(m)},state:s,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,n,s]=t;return[`--${i??n}`,s]}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[n,s]=parseCSSVariable(e);if(!n)return;const a=window.getComputedStyle(t).getPropertyValue(n);if(a){const o=a.trim();return isNumericalString(o)?parseFloat(o):o}return isCSSVariableToken(s)?getVariableValue(s,t,i+1):s}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:n})=>{if(n==="none"||!n)return 0;const s=n.match(/^matrix3d\((.+)\)$/u);if(s)return getPosFromMatrix(s[1],t);{const a=n.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 n=e.getValue(i);n!==void 0&&(t.push([i,n.get()]),n.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(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),i=new Map;t.forEach(n=>{const s=removeNonTranslationalTransform(n);s.length&&(i.set(n,s),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();const s=i.get(n);s&&s.forEach(([a,o])=>{var l;(l=n.getValue(a))===null||l===void 0||l.set(o)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.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,n,s,a,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=i,this.name=n,this.motionValue=s,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:n,motionValue:s}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){const o=s==null?void 0:s.get(),l=t[t.length-1];if(o!==void 0)t[0]=o;else if(n&&i){const c=n.readValue(i,l);c!=null&&(t[0]=c)}t[0]===void 0&&(t[0]=l),s&&o===void 0&&s.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)=>n=>{if(!isString(n))return n;const[s,a,o,l]=n.match(floatRegex);return{[e]:parseFloat(s),[t]:parseFloat(a),[i]:parseFloat(o),alpha:l!==void 0?parseFloat(l):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:n=1})=>"rgba("+rgbUnit.transform(e)+", "+rgbUnit.transform(t)+", "+rgbUnit.transform(i)+", "+sanitize(alpha.transform(n))+")"};function parseHex(e){let t="",i="",n="",s="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),s=e.substring(4,5),t+=t,i+=i,n+=n,s+=s),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,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:n=1})=>"hsla("+Math.round(e)+", "+percent.transform(sanitize(t))+", "+percent.transform(sanitize(i))+", "+sanitize(alpha.transform(n))+")"},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=[],n={color:[],number:[],var:[]},s=[];let a=0;const l=t.replace(complexRegex,c=>(color.test(c)?(n.color.push(a),s.push(COLOR_TOKEN),i.push(color.parse(c))):c.startsWith(VAR_FUNCTION_TOKEN)?(n.var.push(a),s.push(VAR_TOKEN),i.push(c)):(n.number.push(a),s.push(NUMBER_TOKEN),i.push(parseFloat(c))),++a,SPLIT_TOKEN)).split(SPLIT_TOKEN);return{values:i,split:l,indexes:n,types:s}}function parseComplexValue(e){return analyseComplexValue(e).values}function createTransformer(e){const{split:t,types:i}=analyseComplexValue(e),n=t.length;return s=>{let a="";for(let o=0;o<n;o++)if(a+=t[o],s[o]!==void 0){const l=i[o];l===NUMBER_TOKEN?a+=sanitize(s[o]):l===COLOR_TOKEN?a+=color.transform(s[o]):a+=s[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[n]=i.match(floatRegex)||[];if(!n)return e;const s=i.replace(n,"");let a=maxDefaults.has(t)?1:0;return n!==i&&(a*=100),t+"("+a+s+")"}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 n=0,s;for(;n<e.length&&!s;){const a=e[n];typeof a=="string"&&!invalidTemplates.has(a)&&analyseComplexValue(a).values.length&&(s=e[n]),n++}if(s&&i)for(const a of t)e[a]=getAnimatableNone(i,s)}class DOMKeyframesResolver extends KeyframeResolver{constructor(t,i,n,s,a){super(t,i,n,s,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:i,name:n}=this;if(!i||!i.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let u=t[c];if(typeof u=="string"&&(u=u.trim(),isCSSVariableToken(u))){const f=getVariableValue(u,i.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!positionalKeys.has(n)||t.length!==2)return;const[s,a]=t,o=findDimensionValueType(s),l=findDimensionValueType(a);if(o!==l)if(isNumOrPxType(o)&&isNumOrPxType(l))for(let c=0;c<t.length;c++){const u=t[c];typeof u=="string"&&(t[c]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:i}=this,n=[];for(let s=0;s<t.length;s++)isNone(t[s])&&n.push(s);n.length&&makeNoneKeyframesAnimatable(t,n,i)}measureInitialState(){const{element:t,unresolvedKeyframes:i,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=positionalValues[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i[0]=this.measuredOrigin;const s=i[i.length-1];s!==void 0&&t.getValue(n,s).jump(s,!1)}measureEndState(){var t;const{element:i,name:n,unresolvedKeyframes:s}=this;if(!i||!i.current)return;const a=i.getValue(n);a&&a.jump(this.measuredOrigin,!1);const o=s.length-1,l=s[o];s[o]=positionalValues[n](i.measureViewportBox(),window.getComputedStyle(i.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([c,u])=>{i.getValue(c).set(u)}),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,n){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],o=isAnimatable(s,t),l=isAnimatable(a,t);return warning(o===l,`You are trying to animate ${t} from "${s}" to "${a}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${a} via the \`style\` property.`),!o||!l?!1:hasKeyframesChanged(e)||i==="spring"&&n}const MAX_RESOLVE_DELAY=40;class BaseAnimation{constructor({autoplay:t=!0,delay:i=0,type:n="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:o="loop",...l}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=time.now(),this.options={autoplay:t,delay:i,type:n,repeat:s,repeatDelay:a,repeatType:o,...l},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:n,type:s,velocity:a,delay:o,onComplete:l,onUpdate:c,isGenerator:u}=this.options;if(!u&&!canAnimate(t,n,s,a))if(o)this.options.duration=0;else{c==null||c(getFinalKeyframe(t,this.options,i)),l==null||l(),this.resolveFinishedPromise();return}const f=this.initPlayback(t,i);f!==!1&&(this._resolved={keyframes:t,finalKeyframe:i,...f},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 n=Math.max(t-velocitySampleDuration,0);return velocityPerSecond(i-e(n),t-n)}const safeMin=.001,minDuration=.01,maxDuration$1=10,minDamping=.05,maxDamping=1;function findSpring({duration:e=800,bounce:t=.25,velocity:i=0,mass:n=1}){let s,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?(s=u=>{const f=u*o,d=f*e,p=f-i,b=calcAngularFreq(u,o),C=Math.exp(-d);return safeMin-p/b*C},a=u=>{const d=u*o*e,p=d*i+i,b=Math.pow(o,2)*Math.pow(u,2)*e,C=Math.exp(-d),y=calcAngularFreq(Math.pow(u,2),o);return(-s(u)+safeMin>0?-1:1)*((p-b)*C)/y}):(s=u=>{const f=Math.exp(-u*e),d=(u-i)*e+1;return-safeMin+f*d},a=u=>{const f=Math.exp(-u*e),d=(i-u)*(e*e);return f*d});const l=5/e,c=approximateRoot(s,a,l);if(e=secondsToMilliseconds(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(c,2)*n;return{stiffness:u,damping:o*2*Math.sqrt(n*u),duration:e}}}const rootIterations=12;function approximateRoot(e,t,i){let n=i;for(let s=1;s<rootIterations;s++)n=n-e(n)/t(n);return n}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,...n}){const s=e[0],a=e[e.length-1],o={done:!1,value:s},{stiffness:l,damping:c,mass:u,duration:f,velocity:d,isResolvedFromDuration:p}=getSpringOptions({...n,velocity:-millisecondsToSeconds(n.velocity||0)}),b=d||0,C=c/(2*Math.sqrt(l*u)),y=a-s,R=millisecondsToSeconds(Math.sqrt(l/u)),m=Math.abs(y)<5;i||(i=m?.01:2),t||(t=m?.005:.5);let x;if(C<1){const g=calcAngularFreq(R,C);x=S=>{const E=Math.exp(-C*R*S);return a-E*((b+C*R*y)/g*Math.sin(g*S)+y*Math.cos(g*S))}}else if(C===1)x=g=>a-Math.exp(-R*g)*(y+(b+R*y)*g);else{const g=R*Math.sqrt(C*C-1);x=S=>{const E=Math.exp(-C*R*S),M=Math.min(g*S,300);return a-E*((b+C*R*y)*Math.sinh(M)+g*y*Math.cosh(M))/g}}return{calculatedDuration:p&&f||null,next:g=>{const S=x(g);if(p)o.done=g>=f;else{let E=0;C<1&&(E=g===0?secondsToMilliseconds(b):calcGeneratorVelocity(x,g,S));const M=Math.abs(E)<=i,L=Math.abs(a-S)<=t;o.done=M&&L}return o.value=o.done?a:S,o}}}function inertia({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:a=500,modifyTarget:o,min:l,max:c,restDelta:u=.5,restSpeed:f}){const d=e[0],p={done:!1,value:d},b=_=>l!==void 0&&_<l||c!==void 0&&_>c,C=_=>l===void 0?c:c===void 0||Math.abs(l-_)<Math.abs(c-_)?l:c;let y=i*t;const R=d+y,m=o===void 0?R:o(R);m!==R&&(y=m-d);const x=_=>-y*Math.exp(-_/n),g=_=>m+x(_),S=_=>{const I=x(_),$=g(_);p.done=Math.abs(I)<=u,p.value=p.done?m:$};let E,M;const L=_=>{b(p.value)&&(E=_,M=spring({keyframes:[p.value,C(p.value)],velocity:calcGeneratorVelocity(g,_,p.value),damping:s,stiffness:a,restDelta:u,restSpeed:f}))};return L(0),{calculatedDuration:null,next:_=>{let I=!1;return!M&&E===void 0&&(I=!0,S(_),L(_)),E!==void 0&&_>=E?M.next(_-E):(!I&&S(_),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,n,s){let a,o,l=0;do o=t+(i-t)/2,a=calcBezier(o,n,s)-e,a>0?i=o:t=o;while(Math.abs(a)>subdivisionPrecision&&++l<subdivisionMaxIterations);return o}function cubicBezier(e,t,i,n){if(e===t&&i===n)return noop;const s=a=>binarySubdivide(a,0,1,e,i);return a=>a===0||a===1?a:calcBezier(s(a),t,n)}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,n,s]=e;return cubicBezier(t,i,n,s)}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 n=t-e;return n===0?1:(i-e)/n},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:n}){e/=360,t/=100,i/=100;let s=0,a=0,o=0;if(!t)s=a=o=i;else{const l=i<.5?i*(1+t):i+t-i*t,c=2*i-l;s=hueToRgb(c,l,e+1/3),a=hueToRgb(c,l,e),o=hueToRgb(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:n}}function mixImmediate(e,t){return i=>i>0?t:e}const mixLinearColor=(e,t,i)=>{const n=e*e,s=i*(t*t-n)+n;return s<0?0:Math.sqrt(s)},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),n=asRGBA(t);if(!i||!n)return mixImmediate(e,t);const s={...i};return a=>(s.red=mixLinearColor(i.red,n.red,a),s.green=mixLinearColor(i.green,n.green,a),s.blue=mixLinearColor(i.blue,n.blue,a),s.alpha=mixNumber$1(i.alpha,n.alpha,a),rgba.transform(s))},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$1(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],n=i.length,s=e.map((a,o)=>getMixer$1(a)(a,t[o]));return a=>{for(let o=0;o<n;o++)i[o]=s[o](a);return i}}function mixObject(e,t){const i={...e,...t},n={};for(const s in i)e[s]!==void 0&&t[s]!==void 0&&(n[s]=getMixer$1(e[s])(e[s],t[s]));return s=>{for(const a in n)i[a]=n[a](s);return i}}function matchOrder(e,t){var i;const n=[],s={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const o=t.types[a],l=e.indexes[o][s[o]],c=(i=e.values[l])!==null&&i!==void 0?i:0;n[a]=c,s[o]++}return n}const mixComplex=(e,t)=>{const i=complex.createTransformer(t),n=analyseComplexValue(e),s=analyseComplexValue(t);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?invisibleValues.has(e)&&!s.values.length||invisibleValues.has(t)&&!n.values.length?mixVisibility(e,t):pipe(mixArray(matchOrder(n,s),s.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$1(e)(e,t)}function createMixers(e,t,i){const n=[],s=i||mix,a=e.length-1;for(let o=0;o<a;o++){let l=s(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||noop:t;l=pipe(c,l)}n.push(l)}return n}function interpolate(e,t,{clamp:i=!0,ease:n,mixer:s}={}){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,n,s),l=o.length,c=u=>{let f=0;if(l>1)for(;f<e.length-2&&!(u<e[f+1]);f++);const d=progress(e[f],e[f+1],u);return o[f](d)};return i?u=>c(clamp(e[0],e[a-1],u)):c}function fillOffset(e,t){const i=e[e.length-1];for(let n=1;n<=t;n++){const s=progress(0,t,n);e.push(mixNumber$1(i,1,s))}}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:n="easeInOut"}){const s=isEasingArray(n)?n.map(easingDefinitionToFunction):easingDefinitionToFunction(n),a={done:!1,value:t[0]},o=convertOffsetToTimes(i&&i.length===t.length?i:defaultOffset(t),e),l=interpolate(o,t,{ease:Array.isArray(s)?s:defaultEasing(t,s)});return{calculatedDuration:e,next:c=>(a.value=l(c),a.done=c>=e,a)}}const maxGeneratorDuration=2e4;function calcGeneratorDuration(e){let t=0;const i=50;let n=e.next(t);for(;!n.done&&t<maxGeneratorDuration;)t+=i,n=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:c}=this.options;c&&c()};const{name:i,motionValue:n,element:s,keyframes:a}=this.options,o=(s==null?void 0:s.KeyframeResolver)||KeyframeResolver,l=(c,u)=>this.onKeyframesResolved(c,u);this.resolver=new o(a,l,i,n,s),this.resolver.scheduleResolve()}initPlayback(t){const{type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:a,velocity:o=0}=this.options,l=generators[i]||keyframes;let c,u;l!==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}`),c=pipe(percentToProgress,mix(t[0],t[1])),t=[0,100]);const f=l({...this.options,keyframes:t});a==="mirror"&&(u=l({...this.options,keyframes:[...t].reverse(),velocity:-o})),f.calculatedDuration===null&&(f.calculatedDuration=calcGeneratorDuration(f));const{calculatedDuration:d}=f,p=d+s,b=p*(n+1)-s;return{generator:f,mirroredGenerator:u,mapPercentToKeyframes:c,calculatedDuration:d,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:n}=this;if(!n){const{keyframes:_}=this.options;return{done:!0,value:_[_.length-1]}}const{finalKeyframe:s,generator:a,mirroredGenerator:o,mapPercentToKeyframes:l,keyframes:c,calculatedDuration:u,totalDuration:f,resolvedDuration:d}=n;if(this.startTime===null)return a.next(0);const{delay:p,repeat:b,repeatType:C,repeatDelay:y,onUpdate:R}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-f/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 m=this.currentTime-p*(this.speed>=0?1:-1),x=this.speed>=0?m<0:m>f;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let g=this.currentTime,S=a;if(b){const _=Math.min(this.currentTime,f)/d;let I=Math.floor(_),$=_%1;!$&&_>=1&&($=1),$===1&&I--,I=Math.min(I,b+1),!!(I%2)&&(C==="reverse"?($=1-$,y&&($-=y/d)):C==="mirror"&&(S=o)),g=clamp(0,1,$)*d}const E=x?{done:!1,value:c[0]}:S.next(g);l&&(E.value=l(E.value));let{done:M}=E;!x&&u!==null&&(M=this.speed>=0?this.currentTime>=f:this.currentTime<=0);const L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&M);return L&&s!==void 0&&(E.value=getFinalKeyframe(c,this.options,s)),R&&R(E.value),L&&this.finish(),E}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:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),i&&i();const s=this.driver.now();this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=s):this.startTime=n??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,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,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:n=0,duration:s=300,repeat:a=0,repeatType:o="loop",ease:l,times:c}={}){const u={[t]:i};c&&(u.offset=c);const f=mapEasingToNativeEasing(l);return Array.isArray(f)&&(u.easing=f),e.animate(u,{delay:n,duration:s,easing:Array.isArray(f)?"linear":f,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 n={done:!1,value:e[0]};const s=[];let a=0;for(;!n.done&&a<maxDuration;)n=i.sample(a),s.push(n.value),a+=sampleDelta;return{times:void 0,keyframes:s,duration:a-sampleDelta,ease:"linear"}}class AcceleratedAnimation extends BaseAnimation{constructor(t){super(t);const{name:i,motionValue:n,element:s,keyframes:a}=this.options;this.resolver=new DOMKeyframesResolver(a,(o,l)=>this.onKeyframesResolved(o,l),i,n,s),this.resolver.scheduleResolve()}initPlayback(t,i){var n;let{duration:s=300,times:a,ease:o,type:l,motionValue:c,name:u,startTime:f}=this.options;if(!(!((n=c.owner)===null||n===void 0)&&n.current))return!1;if(requiresPregeneratedKeyframes(this.options)){const{onComplete:p,onUpdate:b,motionValue:C,element:y,...R}=this.options,m=pregenerateKeyframes(t,R);t=m.keyframes,t.length===1&&(t[1]=t[0]),s=m.duration,a=m.times,o=m.ease,l="keyframes"}const d=animateStyle(c.owner.current,u,t,{...this.options,duration:s,times:a,ease:o});return d.startTime=f??this.calcStartTime(),this.pendingTimeline?(d.timeline=this.pendingTimeline,this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:p}=this.options;c.set(getFinalKeyframe(t,this.options,i)),p&&p(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:s,times:a,type:l,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:n}=i;n.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:n}=i;n.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:n}=i;n.timeline=t,n.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:n,duration:s,type:a,ease:o,times:l}=t;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:f,onComplete:d,element:p,...b}=this.options,C=new MainThreadAnimation({...b,keyframes:n,duration:s,type:a,ease:o,times:l,isGenerator:!0}),y=secondsToMilliseconds(this.time);u.setWithVelocity(C.sample(y-sampleDelta).value,C.sample(y).value,sampleDelta)}const{onStop:c}=this.options;c&&c(),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:n,repeatDelay:s,repeatType:a,damping:o,type:l}=t;return supportsWaapi()&&n&&acceleratedValues.has(n)&&i&&i.owner&&i.owner.current instanceof HTMLElement&&!i.owner.getProps().onUpdate&&!s&&a!=="mirror"&&o!==0&&l!=="inertia"}}function observeTimeline(e,t){let i;const n=()=>{const{currentTime:s}=t,o=(s===null?0:s.value)/100;i!==o&&e(o),i=o};return frame.update(n,!0),()=>cancelFrame(n)}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 n=0;n<this.animations.length;n++)this.animations[n][t]=i}attachTimeline(t){const i=this.animations.map(n=>{if(supportsScrollTimeline()&&n.attachTimeline)n.attachTimeline(t);else return n.pause(),observeTimeline(s=>{n.time=n.duration*s},t)});return()=>{i.forEach((n,s)=>{n&&n(),this.animations[s].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,n={},s,a,o)=>l=>{const c=getValueTransition$1(n,e)||{},u=c.delay||n.delay||0;let{elapsed:f=0}=n;f=f-secondsToMilliseconds(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-f,onUpdate:b=>{t.set(b),c.onUpdate&&c.onUpdate(b)},onComplete:()=>{l(),c.onComplete&&c.onComplete(),o&&o()},onStop:o,name:e,motionValue:t,element:a?void 0:s};isTransitionDefined(c)||(d={...d,...getDefaultTransition(e,d)}),d.duration&&(d.duration=secondsToMilliseconds(d.duration)),d.repeatDelay&&(d.repeatDelay=secondsToMilliseconds(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let p=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(p=!0)),p&&!a&&t.get()!==void 0){const b=getFinalKeyframe(d.keyframes,c);if(b!==void 0)return frame.update(()=>{d.onUpdate(b),d.onComplete()}),new GroupPlaybackControls([])}return!a&&AcceleratedAnimation.supports(d)?new AcceleratedAnimation(d):new MainThreadAnimation(d)},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,n){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,i,n);else for(let a=0;a<s;a++){const o=this.subscriptions[a];o&&o(t,i,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const MAX_VELOCITY_DELTA=30,isFloat=e=>!isNaN(parseFloat(e)),collectMotionValues={current:void 0};class MotionValue{constructor(t,i={}){this.version="11.5.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,s=!0)=>{const a=time.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),s&&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 n=this.events[t].add(i);return t==="change"?()=>{n(),frame.read(()=>{this.events.change.getSize()||this.stop()})}:n}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,n){this.set(i),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}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 collectMotionValues.current&&collectMotionValues.current.push(this),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:n={},transition:s={},...a}=i||{};a={...a,...n};for(const o in a){const l=resolveFinalValueInKeyframes(a[o]);setMotionValue(e,o,l)}}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 n=this.counts.get(i)||0;this.counts.set(i,n+1),n===0&&(this.output.push(i),this.update());let s=!1;return()=>{if(s)return;s=!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 n=e.getValue("willChange");if(!n&&!(!((i=e.props.style)===null||i===void 0)&&i.willChange)&&(n=new WillChangeMotionValue("auto"),e.addValue("willChange",n)),isWillChangeMotionValue(n))return n.add(t)}function shouldBlockAnimation({protectedKeys:e,needsAnimating:t},i){const n=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,n}function animateTarget(e,t,{delay:i=0,transitionOverride:n,type:s}={}){var a;let{transition:o=e.getDefaultTransition(),transitionEnd:l,...c}=t;n&&(o=n);const u=[],f=s&&e.animationState&&e.animationState.getState()[s];for(const d in c){const p=e.getValue(d,(a=e.latestValues[d])!==null&&a!==void 0?a:null),b=c[d];if(b===void 0||f&&shouldBlockAnimation(f,d))continue;const C={delay:i,...getValueTransition$1(o||{},d)};let y=!1;if(window.MotionHandoffAnimation){const m=getOptimisedAppearId(e);if(m){const x=window.MotionHandoffAnimation(m,d,frame);x!==null&&(C.startTime=x,y=!0)}}p.start(animateMotionValue(d,p,b,e.shouldReduceMotion&&transformProps.has(d)?{type:!1}:C,e,y,addValueToWillChange(e,d)));const R=p.animation;R&&u.push(R)}return l&&Promise.all(u).then(()=>{frame.update(()=>{l&&setTarget(e,l)})}),u}function animateVariant(e,t,i={}){var n;const s=resolveVariant(e,t,i.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(a=i.transitionOverride);const o=s?()=>Promise.all(animateTarget(e,s,i)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:f=0,staggerChildren:d,staggerDirection:p}=a;return animateChildren(e,t,f+u,d,p,i)}:()=>Promise.resolve(),{when:c}=a;if(c){const[u,f]=c==="beforeChildren"?[o,l]:[l,o];return u().then(()=>f())}else return Promise.all([o(),l(i.delay)])}function animateChildren(e,t,i=0,n=0,s=1,a){const o=[],l=(e.variantChildren.size-1)*n,c=s===1?(u=0)=>u*n:(u=0)=>l-u*n;return Array.from(e.variantChildren).sort(sortByTreeOrder).forEach((u,f)=>{u.notify("AnimationStart",t),o.push(animateVariant(u,t,{...a,delay:i+c(f)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function sortByTreeOrder(e,t){return e.sortNodePosition(t)}function animateVisualElement(e,t,i={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const s=t.map(a=>animateVariant(e,a,i));n=Promise.all(s)}else if(typeof t=="string")n=animateVariant(e,t,i);else{const s=typeof t=="function"?resolveVariant(e,t,i.custom):t;n=Promise.all(animateTarget(e,s,i))}return n.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 n=variantProps[i],s=e.props[n];(isVariantLabel(s)||s===!1)&&(t[n]=s)}return t}const reversePriorityOrder=[...variantPriorityOrder].reverse(),numAnimationTypes=variantPriorityOrder.length;function animateList(e){return t=>Promise.all(t.map(({animation:i,options:n})=>animateVisualElement(e,i,n)))}function createAnimationState(e){let t=animateList(e),i=createState(),n=!0;const s=c=>(u,f)=>{var d;const p=resolveVariant(e,f,c==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(p){const{transition:b,transitionEnd:C,...y}=p;u={...u,...y,...C}}return u};function a(c){t=c(e)}function o(c){const{props:u}=e,f=getVariantContext(e.parent)||{},d=[],p=new Set;let b={},C=1/0;for(let R=0;R<numAnimationTypes;R++){const m=reversePriorityOrder[R],x=i[m],g=u[m]!==void 0?u[m]:f[m],S=isVariantLabel(g),E=m===c?x.isActive:null;E===!1&&(C=R);let M=g===f[m]&&g!==u[m]&&S;if(M&&n&&e.manuallyAnimateOnMount&&(M=!1),x.protectedKeys={...b},!x.isActive&&E===null||!g&&!x.prevProp||isAnimationControls(g)||typeof g=="boolean")continue;const L=checkVariantsDidChange(x.prevProp,g);let _=L||m===c&&x.isActive&&!M&&S||R>C&&S,I=!1;const $=Array.isArray(g)?g:[g];let z=$.reduce(s(m),{});E===!1&&(z={});const{prevResolvedValues:O={}}=x,N={...O,...z},K=j=>{_=!0,p.has(j)&&(I=!0,p.delete(j)),x.needsAnimating[j]=!0;const P=e.getValue(j);P&&(P.liveStyle=!1)};for(const j in N){const P=z[j],T=O[j];if(b.hasOwnProperty(j))continue;let k=!1;isKeyframesTarget(P)&&isKeyframesTarget(T)?k=!shallowCompare(P,T):k=P!==T,k?P!=null?K(j):p.add(j):P!==void 0&&p.has(j)?K(j):x.protectedKeys[j]=!0}x.prevProp=g,x.prevResolvedValues=z,x.isActive&&(b={...b,...z}),n&&e.blockInitialAnimation&&(_=!1),_&&(!(M&&L)||I)&&d.push(...$.map(j=>({animation:j,options:{type:m}})))}if(p.size){const R={};p.forEach(m=>{const x=e.getBaseTarget(m),g=e.getValue(m);g&&(g.liveStyle=!0),R[m]=x??null}),d.push({animation:R})}let y=!!d.length;return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),n=!1,y?t(d):Promise.resolve()}function l(c,u){var f;if(i[c].isActive===u)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(p=>{var b;return(b=p.animationState)===null||b===void 0?void 0:b.setActive(c,u)}),i[c].isActive=u;const d=o(c);for(const p in i)i[p].protectedKeys={};return d}return{animateChanges:o,setActive:l,setAnimateFunction:a,getState:()=>i,reset:()=>{i=createState(),n=!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:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const s=this.node.animationState.setActive("exit",!t);i&&!t&&s.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,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}function addPointerEvent(e,t,i,n){return addDomEvent(e,t,addPointerInfo(i),n)}const distance=(e,t)=>Math.abs(e-t);function distance2D(e,t){const i=distance(e.x,t.x),n=distance(e.y,t.y);return Math.sqrt(i**2+n**2)}class PanSession{constructor(t,i,{transformPagePoint:n,contextWindow:s,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 d=getPanInfo(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,b=distance2D(d.offset,{x:0,y:0})>=3;if(!p&&!b)return;const{point:C}=d,{timestamp:y}=frameData;this.history.push({...C,timestamp:y});const{onStart:R,onMove:m}=this.handlers;p||(R&&R(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,d)},this.handlePointerMove=(d,p)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=transformPoint(p,this.transformPagePoint),frame.update(this.updatePoint,!0)},this.handlePointerUp=(d,p)=>{this.end();const{onEnd:b,onSessionEnd:C,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const R=getPanInfo(d.type==="pointercancel"?this.lastMoveEventInfo:transformPoint(p,this.transformPagePoint),this.history);this.startEvent&&b&&b(d,R),C&&C(d,R)},!isPrimaryPointer(t))return;this.dragSnapToOrigin=a,this.handlers=i,this.transformPagePoint=n,this.contextWindow=s||window;const o=extractEventInfo(t),l=transformPoint(o,this.transformPagePoint),{point:c}=l,{timestamp:u}=frameData;this.history=[{...c,timestamp:u}];const{onSessionStart:f}=i;f&&f(t,getPanInfo(l,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,n=null;const s=lastDevicePoint(e);for(;i>=0&&(n=e[i],!(s.timestamp-n.timestamp>secondsToMilliseconds(t)));)i--;if(!n)return{x:0,y:0};const a=millisecondsToSeconds(s.timestamp-n.timestamp);if(a===0)return{x:0,y:0};const o={x:(s.x-n.x)/a,y:(s.y-n.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(),n=globalVerticalLock();i&&n?t=()=>{i(),n()}:(i&&i(),n&&n())}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,n=.5){e.origin=n,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,n){calcAxisDelta(e.x,t.x,i.x,n?n.originX:void 0),calcAxisDelta(e.y,t.y,i.y,n?n.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},n){return t!==void 0&&e<t?e=n?mixNumber$1(t,e,n.min):Math.max(e,t):i!==void 0&&e>i&&(e=n?mixNumber$1(i,e,n.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:n,right:s}){return{x:calcRelativeAxisConstraints(e.x,i,s),y:calcRelativeAxisConstraints(e.y,t,n)}}function calcViewportAxisConstraints(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}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 n=calcLength(e),s=calcLength(t);return s>n?i=progress(t.min,t.max-n,e.min):n>s&&(i=progress(e.min,e.max-s,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:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}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}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.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 n=e-i,s=t*n;return i+s}function applyPointDelta(e,t,i,n,s){return s!==void 0&&(e=scalePoint(e,s,n)),scalePoint(e,i,n)+t}function applyAxisDelta(e,t=0,i=1,n,s){e.min=applyPointDelta(e.min,t,i,n,s),e.max=applyPointDelta(e.max,t,i,n,s)}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,n=!1){const s=i.length;if(!s)return;t.x=t.y=1;let a,o;for(let l=0;l<s;l++){a=i[l],o=a.projectionDelta;const{visualElement:c}=a.options;c&&c.props.style&&c.props.style.display==="contents"||(n&&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)),n&&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,n,s=.5){const a=mixNumber$1(e.min,e.max,s);applyAxisDelta(e,t,i,a,n)}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 n=measureViewportBox(e,i),{scroll:s}=t;return s&&(translateAxis(n.x,s.offset.x),translateAxis(n.y,s.offset.y)),n}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:n}=this.visualElement;if(n&&n.isPresent===!1)return;const s=f=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(extractEventInfo(f,"page").point)},a=(f,d)=>{var p;const{drag:b,dragPropagation:C,onDragStart:y}=this.getProps();if(b&&!C&&(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(m=>{let x=this.getAxisMotionValue(m).get()||0;if(percent.test(x)){const{projection:g}=this.visualElement;if(g&&g.layout){const S=g.layout.layoutBox[m];S&&(x=calcLength(S)*(parseFloat(x)/100))}}this.originPoint[m]=x}),y&&frame.postRender(()=>y(f,d)),(p=this.removeWillChange)===null||p===void 0||p.call(this),this.removeWillChange=addValueToWillChange(this.visualElement,"transform");const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},o=(f,d)=>{const{dragPropagation:p,dragDirectionLock:b,onDirectionLock:C,onDrag:y}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:R}=d;if(b&&this.currentDirection===null){this.currentDirection=getCurrentDirection(R),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",d.point,R),this.updateAxis("y",d.point,R),this.visualElement.render(),y&&y(f,d)},l=(f,d)=>this.stop(f,d),c=()=>eachAxis(f=>{var d;return this.getAnimationState(f)==="paused"&&((d=this.getAxisMotionValue(f).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new PanSession(t,{onSessionStart:s,onStart:a,onMove:o,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:getContextWindow(this.visualElement)})}stop(t,i){var n;(n=this.removeWillChange)===null||n===void 0||n.call(this);const s=this.isDragging;if(this.cancel(),!s)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:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(t,i,n){const{drag:s}=this.getProps();if(!n||!shouldDrag(t,s,this.currentDirection))return;const a=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[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:n}=this.getProps(),s=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&&s?this.constraints=calcRelativeConstraints(s.layoutBox,i):this.constraints=!1,this.elastic=resolveDragElastic(n),a!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=rebaseAxisConstraints(s.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!isRefObject(t))return!1;const n=t.current;invariant(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const a=measurePageBox(n,s.root,this.visualElement.getTransformPagePoint());let o=calcViewportConstraints(s.layout.layoutBox,a);if(i){const l=i(convertBoxToBoundingBox(o));this.hasMutatedConstraints=!!l,l&&(o=convertBoundingBoxToBox(l))}return o}startAnimation(t){const{drag:i,dragMomentum:n,dragElastic:s,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=eachAxis(f=>{if(!shouldDrag(f,i,this.currentDirection))return;let d=c&&c[f]||{};o&&(d={min:0,max:0});const p=s?200:1e6,b=s?40:1e7,C={type:"inertia",velocity:n?t[f]:0,bounceStiffness:p,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(f,C)});return Promise.all(u).then(l)}startAxisValueAnimation(t,i){const n=this.getAxisMotionValue(t);return n.start(animateMotionValue(t,n,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()}`,n=this.visualElement.getProps(),s=n[i];return s||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){eachAxis(i=>{const{drag:n}=this.getProps();if(!shouldDrag(i,n,this.currentDirection))return;const{projection:s}=this.visualElement,a=this.getAxisMotionValue(i);if(s&&s.layout){const{min:o,max:l}=s.layout.layoutBox[i];a.set(t[i]-mixNumber$1(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:n}=this.visualElement;if(!isRefObject(i)||!n||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};eachAxis(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const c=l.get();s[o]=calcOrigin$1({min:c,max:c},this.constraints[o])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),eachAxis(o=>{if(!shouldDrag(o,t,null))return;const l=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];l.set(mixNumber$1(c,u,s[o]))})}addListeners(){if(!this.visualElement.current)return;elementDragControls.set(this.visualElement,this);const t=this.visualElement.current,i=addPointerEvent(t,"pointerdown",c=>{const{drag:u,dragListener:f=!0}=this.getProps();u&&f&&this.start(c)}),n=()=>{const{dragConstraints:c}=this.getProps();isRefObject(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,a=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),frame.read(n);const o=addDomEvent(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(eachAxis(f=>{const d=this.getAxisMotionValue(f);d&&(this.originPoint[f]+=c[f].translate,d.set(d.get()+c[f].translate))}),this.visualElement.render())});return()=>{o(),i(),a(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:n=!1,dragPropagation:s=!1,dragConstraints:a=!1,dragElastic:o=defaultElastic,dragMomentum:l=!0}=t;return{...t,drag:i,dragDirectionLock:n,dragPropagation:s,dragConstraints:a,dragElastic:o,dragMomentum:l}}}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:n,onPanEnd:s}=this.node.getProps();return{onSessionStart:asyncHandler(t),onStart:asyncHandler(i),onMove:n,onEnd:(a,o)=>{delete this.session,s&&frame.postRender(()=>s(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:n}=e,s=React.useId();React.useEffect(()=>n(s),[]);const a=React.useCallback(()=>i&&i(s),[s,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),n=pixelsToPercent(e,t.target.y);return`${i}% ${n}%`}},correctBoxShadow={correct:(e,{treeScale:t,projectionDelta:i})=>{const n=e,s=complex.parse(e);if(s.length>5)return n;const a=complex.createTransformer(e),o=typeof s[0]!="number"?1:0,l=i.x.scale*t.x,c=i.y.scale*t.y;s[0+o]/=l,s[1+o]/=c;const u=mixNumber$1(l,c,.5);return typeof s[2+o]=="number"&&(s[2+o]/=u),typeof s[3+o]=="number"&&(s[3+o]/=u),a(s)}},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:n,layoutId:s}=this.props,{projection:a}=t;addScaleCorrector(defaultScaleCorrectors),a&&(i.group&&i.group.add(a),n&&n.register&&s&&n.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:n,drag:s,isPresent:a}=this.props,o=n.projection;return o&&(o.isPresent=a,s||t.layoutDependency!==i||i===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?o.promote():o.relegate()||frame.postRender(()=>{const l=o.getStack();(!l||!l.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:n}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(s),n&&n.deregister&&n.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function MeasureLayout(e){const[t,i]=usePresence(),n=React.useContext(LayoutGroupContext);return jsxRuntime.jsx(MeasureLayoutWithContext,{...e,layoutGroup:n,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,n,s,a){s?(e.opacity=mixNumber$1(0,i.opacity!==void 0?i.opacity:1,easeCrossfadeIn(n)),e.opacityExit=mixNumber$1(t.opacity!==void 0?t.opacity:1,0,easeCrossfadeOut(n))):a&&(e.opacity=mixNumber$1(t.opacity!==void 0?t.opacity:1,i.opacity!==void 0?i.opacity:1,n));for(let o=0;o<numBorders;o++){const l=`border${borders[o]}Radius`;let c=getRadius(t,l),u=getRadius(i,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||isPx(c)===isPx(u)?(e[l]=Math.max(mixNumber$1(asNumber(c),asNumber(u),n),0),(percent.test(u)||percent.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||i.rotate)&&(e.rotate=mixNumber$1(t.rotate||0,i.rotate||0,n))}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 n=>n<e?0:n>t?1:i(progress(e,t,n))}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,n,s){return e-=t,e=scalePoint(e,1/i,n),s!==void 0&&(e=scalePoint(e,1/s,n)),e}function removeAxisDelta(e,t=0,i=1,n=.5,s,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 l=mixNumber$1(a.min,a.max,n);e===a&&(l-=t),e.min=removePointDelta(e.min,t,i,l,s),e.max=removePointDelta(e.max,t,i,l,s)}function removeAxisTransforms(e,t,[i,n,s],a,o){removeAxisDelta(e,t[i],t[n],t[s],t.scale,a,o)}const xKeys=["x","scaleX","originX"],yKeys=["y","scaleY","originY"];function removeBoxTransforms(e,t,i,n){removeAxisTransforms(e.x,t,xKeys,i?i.x:void 0,n?n.x:void 0),removeAxisTransforms(e.y,t,yKeys,i?i.y:void 0,n?n.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(s=>t===s);if(i===0)return!1;let n;for(let s=i;s>=0;s--){const a=this.members[s];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,i){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,i&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:i,resumingFrom:n}=t;i.onExitComplete&&i.onExitComplete(),n&&n.options.onExitComplete&&n.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 n="";const s=e.x.translate/t.x,a=e.y.translate/t.y,o=(i==null?void 0:i.z)||0;if((s||a||o)&&(n=`translate3d(${s}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){const{transformPerspective:u,rotate:f,rotateX:d,rotateY:p,skewX:b,skewY:C}=i;u&&(n=`perspective(${u}px) ${n}`),f&&(n+=`rotate(${f}deg) `),d&&(n+=`rotateX(${d}deg) `),p&&(n+=`rotateY(${p}deg) `),b&&(n+=`skewX(${b}deg) `),C&&(n+=`skewY(${C}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(n+=`scale(${l}, ${c})`),n||"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(),n=({timestamp:s})=>{const a=s-i;a>=t&&(cancelFrame(n),e(a-t))};return frame.read(n,!0),()=>cancelFrame(n)}function isSVGElement(e){return e instanceof SVGElement&&e.tagName!=="svg"}function animateSingleValue(e,t,i){const n=isMotionValue(e)?e:motionValue(e);return n.start(animateMotionValue("",n,t,i)),n.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,n){const{latestValues:s}=t;s[e]&&(i[e]=s[e],t.setStaticValue(e,0),n&&(n[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:s,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",frame,!(s||a))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(n)}function createProjectionNode$1({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(o={},l=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=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new SubscriptionManager),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const c=this.eventHandlers.get(o);c&&c.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,l=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=isSVGElement(o),this.instance=o;const{layoutId:c,layout:u,visualElement:f}=this.options;if(f&&!f.current&&f.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),l&&(u||c)&&(this.isLayoutDirty=!0),e){let d;const p=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=delay(p,250),globalProjectionState.hasAnimatedSinceResize&&(globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&f&&(c||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeTargetChanged:b,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||f.getDefaultTransition()||defaultLayoutTransition,{onLayoutAnimationStart:R,onLayoutAnimationComplete:m}=f.getProps(),x=!this.targetLayout||!boxEqualsRounded(this.targetLayout,C)||b,g=!p&&b;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,g);const S={...getValueTransition$1(y,"layout"),onPlay:R,onComplete:m};(f.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else p||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}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 f=0;f<this.path.length;f++){const d=this.path[f];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(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 l=time.now();frameData.delta=clamp(0,1e3/60,l-frameData.timestamp),frameData.timestamp=l,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 c=0;c<this.path.length;c++)this.path[c].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:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l){const c=n(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!isDeltaZero(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,f=u!==this.prevTransformTemplateValue;o&&(l||hasTransform(this.latestValues)||f)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return o&&(c=this.removeTransform(c)),roundBox(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:l}=this.options;if(!l)return createBox();const c=l.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(checkNodeWasScrollRoot))){const{scroll:f}=this.root;f&&(translateAxis(c.x,f.offset.x),translateAxis(c.y,f.offset.y))}return c}removeElementScroll(o){var l;const c=createBox();if(copyBoxInto(c,o),!((l=this.scroll)===null||l===void 0)&&l.wasRoot)return c;for(let u=0;u<this.path.length;u++){const f=this.path[u],{scroll:d,options:p}=f;f!==this.root&&d&&p.layoutScroll&&(d.wasRoot&&copyBoxInto(c,o),translateAxis(c.x,d.offset.x),translateAxis(c.y,d.offset.y))}return c}applyTransform(o,l=!1){const c=createBox();copyBoxInto(c,o);for(let u=0;u<this.path.length;u++){const f=this.path[u];!l&&f.options.layoutScroll&&f.scroll&&f!==f.root&&transformBox(c,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),hasTransform(f.latestValues)&&transformBox(c,f.latestValues)}return hasTransform(this.latestValues)&&transformBox(c,this.latestValues),c}removeTransform(o){const l=createBox();copyBoxInto(l,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!hasTransform(u.latestValues))continue;hasScale(u.latestValues)&&u.updateSnapshot();const f=createBox(),d=u.measurePageBox();copyBoxInto(f,d),removeBoxTransforms(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,f)}return hasTransform(this.latestValues)&&removeBoxTransforms(l,this.latestValues),l}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 l;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==c;if(!(o||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:p}=this.options;if(!(!this.layout||!(d||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 l=this.getLead(),c=!!this.resumingFrom||this!==l;let u=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(u=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===frameData.timestamp&&(u=!1),u)return;const{layout:f,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(f||d))return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,b=this.treeScale.y;applyTreeDeltas(this.layoutCorrected,this.treeScale,this.path,c),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=createBox());const{target:C}=l;if(!C){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,C,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",C)),isDebug&&metrics.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var l;if((l=this.options.visualElement)===null||l===void 0||l.scheduleRender(),o){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=createDelta(),this.projectionDelta=createDelta(),this.projectionDeltaWithTransform=createDelta()}setAnimationOrigin(o,l=!1){const c=this.snapshot,u=c?c.latestValues:{},f={...this.latestValues},d=createDelta();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const p=createBox(),b=c?c.source:void 0,C=this.layout?this.layout.source:void 0,y=b!==C,R=this.getStack(),m=!R||R.members.length<=1,x=!!(y&&!m&&this.options.crossfade===!0&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0;let g;this.mixTargetDelta=S=>{const E=S/1e3;mixAxisDelta(d.x,o.x,E),mixAxisDelta(d.y,o.y,E),this.setTargetDelta(d),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,E),g&&boxEquals(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=createBox()),copyBoxInto(g,this.relativeTarget)),y&&(this.animationValues=f,mixValues(f,u,this.latestValues,E,x,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},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:l=>{this.mixTargetDelta(l),o.onUpdate&&o.onUpdate(l)},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:l,target:c,layout:u,latestValues:f}=o;if(!(!l||!c||!u)){if(this!==o&&this.layout&&u&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||createBox();const d=calcLength(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+d;const p=calcLength(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+p}copyBoxInto(l,c),transformBox(l,f),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,l,f)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new NodeStack),this.sharedNodes.get(o).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:l}=this.options;return l?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:l}=this.options;return l?(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:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&resetDistortingTransform("z",o,u,this.animationValues);for(let f=0;f<transformAxes.length;f++)resetDistortingTransform(`rotate${transformAxes[f]}`,o,u,this.animationValues),resetDistortingTransform(`skew${transformAxes[f]}`,o,u,this.animationValues);o.render();for(const f in u)o.setStaticValue(f,u[f]),this.animationValues&&(this.animationValues[f]=u[f]);o.scheduleRender()}getProjectionStyles(o){var l,c;if(!this.instance||this.isSVG)return;if(!this.isVisible)return hiddenVisibility;const u={visibility:""},f=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=resolveMotionValue(o==null?void 0:o.pointerEvents)||"",u.transform=f?f(this.latestValues,""):"none",u;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.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=f?f({},""):"none",this.hasProjected=!1),y}const p=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,p),f&&(u.transform=f(p,u.transform));const{x:b,y:C}=this.projectionDelta;u.transformOrigin=`${b.origin*100}% ${C.origin*100}% 0`,d.animationValues?u.opacity=d===this?(c=(l=p.opacity)!==null&&l!==void 0?l:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:u.opacity=d===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:R,applyTo:m}=scaleCorrectors[y],x=u.transform==="none"?p[y]:R(p[y],d);if(m){const g=m.length;for(let S=0;S<g;S++)u[m[S]]=x}else u[y]=x}return this.options.layoutId&&(u.pointerEvents=d===this?resolveMotionValue(o==null?void 0:o.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var l;return(l=o.currentAnimation)===null||l===void 0?void 0:l.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:n,measuredBox:s}=e.layout,{animationType:a}=e.options,o=i.source!==e.layout.source;a==="size"?eachAxis(d=>{const p=o?i.measuredBox[d]:i.layoutBox[d],b=calcLength(p);p.min=n[d].min,p.max=p.min+b}):shouldAnimatePositionOnly(a,i.layoutBox,n)&&eachAxis(d=>{const p=o?i.measuredBox[d]:i.layoutBox[d],b=calcLength(n[d]);p.max=p.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+b)});const l=createDelta();calcBoxDelta(l,n,i.layoutBox);const c=createDelta();o?calcBoxDelta(c,e.applyTransform(s,!0),i.measuredBox):calcBoxDelta(c,n,i.layoutBox);const u=!isDeltaZero(l);let f=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:b}=d;if(p&&b){const C=createBox();calcRelativePosition(C,i.layoutBox,p.layoutBox);const y=createBox();calcRelativePosition(y,n,b.layoutBox),boxEqualsRounded(C,y)||(f=!0),d.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=C,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:i,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:f})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}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,n){e.min=mixNumber$1(t.min,i.min,n),e.max=mixNumber$1(t.max,i.max,n)}function mixBox(e,t,i,n){mixAxis(e.x,t.x,i.x,n),mixAxis(e.y,t.y,i.y,n)}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",n=t?"onHoverStart":"onHoverEnd",s=(a,o)=>{if(a.pointerType==="touch"||isDragActive())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t);const c=l[n];c&&frame.postRender(()=>c(a,o))};return addPointerEvent(e.current,i,s,{passive:!e.getProps()[n]})}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 n=this.node.getProps(),a=addPointerEvent(window,"pointerup",(l,c)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:f,globalTapTarget:d}=this.node.getProps(),p=!d&&!isNodeOrChild(this.node.current,l.target)?f:u;p&&frame.update(()=>p(l,c))},{passive:!(n.onTap||n.onPointerUp)}),o=addPointerEvent(window,"pointercancel",(l,c)=>this.cancelPress(l,c),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=pipe(a,o),this.startPress(t,i)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const o=l=>{l.key!=="Enter"||!this.checkPressEnd()||fireSyntheticPointerEvent("up",(c,u)=>{const{onTap:f}=this.node.getProps();f&&frame.postRender(()=>f(c,u))})};this.removeEndListeners(),this.removeEndListeners=addDomEvent(this.node.current,"keyup",o),fireSyntheticPointerEvent("down",(l,c)=>{this.startPress(l,c)})},i=addDomEvent(this.node.current,"keydown",t),n=()=>{this.isPressing&&fireSyntheticPointerEvent("cancel",(a,o)=>this.cancelPress(a,o))},s=addDomEvent(this.node.current,"blur",n);this.removeAccessibleListeners=pipe(i,s)}}startPress(t,i){this.isPressing=!0;const{onTapStart:n,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&frame.postRender(()=>n(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:n}=this.node.getProps();n&&frame.postRender(()=>n(t,i))}mount(){const t=this.node.getProps(),i=addPointerEvent(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=addDomEvent(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=pipe(i,n)}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 n=observers.get(i),s=JSON.stringify(t);return n[s]||(n[s]=new IntersectionObserver(fireAllObserverCallbacks,{root:e,...t})),n[s]}function observeIntersection(e,t,i){const n=initIntersectionObserver(t);return observerCallbacks.set(e,i),n.observe(e),()=>{observerCallbacks.delete(e),n.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:n,amount:s="some",once:a}=t,o={root:i?i.current:void 0,rootMargin:n,threshold:typeof s=="number"?s:thresholdNames[s]},l=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,a&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:f,onViewportLeave:d}=this.node.getProps(),p=u?f:d;p&&p(c)};return observeIntersection(this.node.current,o,l)}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,n,s){var a;const{visualElement:o}=React.useContext(MotionContext),l=React.useContext(LazyContext),c=React.useContext(PresenceContext),u=React.useContext(MotionConfigContext).reducedMotion,f=React.useRef();n=n||l.renderer,!f.current&&n&&(f.current=n(e,{visualState:t,parent:o,props:i,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));const d=f.current,p=React.useContext(SwitchLayoutGroupContext);d&&!d.projection&&s&&(d.type==="html"||d.type==="svg")&&createProjectionNode(f.current,i,s,p),React.useInsertionEffect(()=>{d&&d.update(i,c)});const b=i[optimizedAppearDataAttribute],C=React.useRef(!!b&&!window.MotionHandoffIsComplete&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,b)));return useIsomorphicLayoutEffect(()=>{d&&(d.updateFeatures(),microtask.render(d.render),C.current&&d.animationState&&d.animationState.animateChanges())}),React.useEffect(()=>{d&&(!C.current&&d.animationState&&d.animationState.animateChanges(),C.current=!1,scheduleHandoffComplete||(scheduleHandoffComplete=!0,queueMicrotask(completeHandoff)))}),d}function completeHandoff(){window.MotionHandoffIsComplete=!0}function createProjectionNode(e,t,i,n){const{layoutId:s,layout:a,drag:o,dragConstraints:l,layoutScroll:c,layoutRoot:u}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:getClosestProjectingNode(e.parent)),e.projection.setOptions({layoutId:s,layout:a,alwaysMeasureLayout:!!o||l&&isRefObject(l),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:n,layoutScroll:c,layoutRoot:u})}function getClosestProjectingNode(e){if(e)return e.options.allowProjection!==!1?e.projection:getClosestProjectingNode(e.parent)}function useMotionRef(e,t,i){return React.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),i&&(typeof i=="function"?i(n):isRefObject(i)&&(i.current=n))},[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:n}=e;return{initial:i===!1||isVariantLabel(i)?i:void 0,animate:isVariantLabel(n)?n: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:n,Component:s}){e&&loadFeatures(e);function a(l,c){let u;const f={...React.useContext(MotionConfigContext),...l,layoutId:useLayoutId(l)},{isStatic:d}=f,p=useCreateMotionContext(l),b=n(l,d);if(!d&&isBrowser){useStrictMode(f,e);const C=getProjectionFunctionality(f);u=C.MeasureLayout,p.visualElement=useVisualElement(s,b,f,t,C.ProjectionNode)}return jsxRuntime.jsxs(MotionContext.Provider,{value:p,children:[u&&p.visualElement?jsxRuntime.jsx(u,{visualElement:p.visualElement,...f}):null,i(s,l,useMotionRef(b,p.visualElement,c),b,d,p.visualElement)]})}const o=React.forwardRef(a);return o[motionComponentSymbol]=s,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 n="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,n):invariant(!1,n)}}function getProjectionFunctionality(e){const{drag:t,layout:i}=featureDefinitions;if(!t&&!i)return{};const n={...t,...i};return{MeasureLayout:t!=null&&t.isEnabled(e)||i!=null&&i.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.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},n,s){Object.assign(e.style,t,s&&s.getProjectionStyles(n));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,n){renderHTML(e,t,void 0,n);for(const s in t.attrs)e.setAttribute(camelCaseAttributes.has(s)?s:camelToDash(s),t.attrs[s])}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 n;const{style:s}=e,a={};for(const o in s)(isMotionValue(s[o])||t.style&&isMotionValue(t.style[o])||isForcedMotionValue(o,e)||((n=i==null?void 0:i.getValue(o))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(a[o]=s[o]);return i&&s&&typeof s.willChange=="string"&&(i.applyWillChange=!1),a}function scrapeMotionValuesFromProps(e,t,i){const n=scrapeMotionValuesFromProps$1(e,t,i);for(const s in e)if(isMotionValue(e[s])||isMotionValue(t[s])){const a=transformPropOrder.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;n[a]=e[s]}return n}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:n},s,a,o,l){const c={latestValues:makeLatestValues(s,a,o,l?!1:e,t),renderState:i()};return n&&(c.mount=u=>n(s,u,c)),c}const makeUseVisualState=e=>(t,i)=>{const n=React.useContext(MotionContext),s=React.useContext(PresenceContext),a=()=>makeState(e,t,n,s,i);return i?a():useConstant(a)};function addWillChange(e,t){const i=getWillChangeName(t);i&&addUniqueItem(e,i)}function forEachDefinition(e,t,i){const n=Array.isArray(t)?t:[t];for(let s=0;s<n.length;s++){const a=resolveVariantFromProps(e,n[s]);if(a){const{transitionEnd:o,transition:l,...c}=a;i(c,o)}}}function makeLatestValues(e,t,i,n,s){var a;const o={},l=[],c=n&&((a=e.style)===null||a===void 0?void 0:a.willChange)===void 0,u=s(e,{});for(const R in u)o[R]=resolveMotionValue(u[R]);let{initial:f,animate:d}=e;const p=isControllingVariants(e),b=isVariantNode(e);t&&b&&!p&&e.inherit!==!1&&(f===void 0&&(f=t.initial),d===void 0&&(d=t.animate));let C=i?i.initial===!1:!1;C=C||f===!1;const y=C?d:f;return y&&typeof y!="boolean"&&!isAnimationControls(y)&&forEachDefinition(e,y,(R,m)=>{for(const x in R){let g=R[x];if(Array.isArray(g)){const S=C?g.length-1:0;g=g[S]}g!==null&&(o[x]=g)}for(const x in m)o[x]=m[x]}),c&&(d&&f!==!1&&!isAnimationControls(d)&&forEachDefinition(e,d,R=>{for(const m in R)addWillChange(l,m)}),l.length&&(o.willChange=l.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 n="",s=!0;for(let a=0;a<numTransforms;a++){const o=transformPropOrder[a],l=e[o];if(l===void 0)continue;let c=!0;if(typeof l=="number"?c=l===(o.startsWith("scale")?1:0):c=parseFloat(l)===0,!c||i){const u=getValueAsType(l,numberValueTypes[o]);if(!c){s=!1;const f=translateAlias[o]||o;n+=`${f}(${u}) `}i&&(t[o]=u)}}return n=n.trim(),i?n=i(t,s?"":n):s&&(n="none"),n}function buildHTMLStyles(e,t,i){const{style:n,vars:s,transformOrigin:a}=e;let o=!1,l=!1;for(const c in t){const u=t[c];if(transformProps.has(c)){o=!0;continue}else if(isCSSVariableName(c)){s[c]=u;continue}else{const f=getValueAsType(u,numberValueTypes[c]);c.startsWith("origin")?(l=!0,a[c]=f):n[c]=f}}if(t.transform||(o||i?n.transform=buildTransform(t,e.transform,i):n.transform&&(n.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:f=0}=a;n.transformOrigin=`${c} ${u} ${f}`}}function calcOrigin(e,t,i){return typeof e=="string"?e:px.transform(t+i*e)}function calcSVGTransformOrigin(e,t,i){const n=calcOrigin(t,e.x,e.width),s=calcOrigin(i,e.y,e.height);return`${n} ${s}`}const dashKeys={offset:"stroke-dashoffset",array:"stroke-dasharray"},camelKeys={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGPath(e,t,i=1,n=0,s=!0){e.pathLength=1;const a=s?dashKeys:camelKeys;e[a.offset]=px.transform(-n);const o=px.transform(t),l=px.transform(i);e[a.array]=`${o} ${l}`}function buildSVGAttrs(e,{attrX:t,attrY:i,attrScale:n,originX:s,originY:a,pathLength:o,pathSpacing:l=1,pathOffset:c=0,...u},f,d){if(buildHTMLStyles(e,u,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:b,dimensions:C}=e;p.transform&&(C&&(b.transform=p.transform),delete p.transform),C&&(s!==void 0||a!==void 0||b.transform)&&(b.transformOrigin=calcSVGTransformOrigin(C,s!==void 0?s:.5,a!==void 0?a:.5)),t!==void 0&&(p.x=t),i!==void 0&&(p.y=i),n!==void 0&&(p.scale=n),o!==void 0&&buildSVGPath(p,o,l,c,!1)}const isSVGTag=e=>typeof e=="string"&&e.toLowerCase()==="svg",svgMotionConfig={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps,createRenderState:createSvgRenderState,onMount:(e,t,{renderState:i,latestValues:n})=>{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,n,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 n in t)!isMotionValue(t[n])&&!isForcedMotionValue(n,i)&&(e[n]=t[n])}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||{},n={};return copyRawValuesOnly(n,i,e),Object.assign(n,useInitialMotionValues(e,t)),n}function useHTMLProps(e,t){const i={},n=useStyle(e,t);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.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=n,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 n={};for(const s in e)s==="values"&&typeof e.values=="object"||(shouldForward(s)||i===!0&&isValidMotionProp(s)||!t&&!isValidMotionProp(s)||e.draggable&&s.startsWith("onDrag"))&&(n[s]=e[s]);return n}function useSVGProps(e,t,i,n){const s=React.useMemo(()=>{const a=createSvgRenderState();return buildSVGAttrs(a,t,isSVGTag(n),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};copyRawValuesOnly(a,e.style,e),s.style={...a,...s.style}}return s}function createUseRender(e=!1){return(i,n,s,{latestValues:a},o)=>{const c=(isSVGComponent(i)?useSVGProps:useHTMLProps)(n,a,o,i),u=filterProps(n,typeof i=="string",e),f=i!==React.Fragment?{...u,...c,ref:s}:{},{children:d}=n,p=React.useMemo(()=>isMotionValue(d)?d.get():d,[d]);return React.createElement(i,{...f,children:p})}}function createMotionComponentFactory(e,t){return function(n,{forwardMotionProps:s}={forwardMotionProps:!1}){const o={...isSVGComponent(n)?svgMotionConfig:htmlMotionConfig,preloadedFeatures:e,useRender:createUseRender(s),createVisualElement:t,Component:n};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 n in t){const s=t[n],a=i[n];if(isMotionValue(s))e.addValue(n,s),process.env.NODE_ENV==="development"&&warnOnce(s.version==="11.5.6",`Attempting to mix Framer Motion versions ${s.version} with 11.5.6 may not work as expected.`);else if(isMotionValue(a))e.addValue(n,motionValue(s,{owner:e}));else if(a!==s)if(e.hasValue(n)){const o=e.getValue(n);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(n);e.addValue(n,motionValue(o!==void 0?o:s,{owner:e}))}}for(const n in i)t[n]===void 0&&e.removeValue(n);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,n){return{}}constructor({parent:t,props:i,presenceContext:n,reducedMotionConfig:s,blockInitialAnimation:a,visualState:o},l={}){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:c,renderState:u}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=i.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=i,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=l,this.blockInitialAnimation=!!a,this.isControllingVariants=isControllingVariants(i),this.isVariantNode=isVariantNode(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(i,{},this);for(const p in d){const b=d[p];c[p]!==void 0&&isMotionValue(b)&&b.set(c[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,n)=>this.bindToMotionValue(n,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 n=transformProps.has(t),s=i.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&frame.preRender(this.notifyUpdate),n&&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,()=>{s(),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:n,Feature:s}=i;if(!this.features[t]&&s&&n(this.props)&&(this.features[t]=new s(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 n=0;n<propEventHandlers.length;n++){const s=propEventHandlers[n];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const a="on"+s,o=t[a];o&&(this.propEventSubscriptions[s]=this.on(s,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 n=this.values.get(t);i!==n&&(n&&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 n=this.values.get(t);return n===void 0&&i!==void 0&&(n=motionValue(i===null?void 0:i,{owner:this}),this.addValue(t,n)),n}readValue(t,i){var n;let s=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options);return s!=null&&(typeof s=="string"&&(isNumericalString(s)||isZeroValueString(s))?s=parseFloat(s):!findValueType(s)&&complex.test(i)&&(s=getAnimatableNone(t,i)),this.setBaseTarget(t,isMotionValue(s)?s.get():s)),isMotionValue(s)?s.get():s}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){var i;const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const o=resolveVariantFromProps(this.props,n,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);o&&(s=o[t])}if(n&&s!==void 0)return s;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!isMotionValue(a)?a:this.initialValues[t]!==void 0&&s===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:n}){delete i[t],delete n[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 n=getDefaultValueType(i);return n&&n.default||0}else{const n=getComputedStyle$1(t),s=(isCSSVariableName(i)?n.getPropertyValue(i):n[i])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:i}){return measureViewportBox(t,i)}build(t,i,n){buildHTMLStyles(t,i,n.transformTemplate)}scrapeMotionValuesFromProps(t,i,n){return scrapeMotionValuesFromProps$1(t,i,n)}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 n=getDefaultValueType(i);return n&&n.default||0}return i=camelCaseAttributes.has(i)?i:camelToDash(i),t.getAttribute(i)}scrapeMotionValuesFromProps(t,i,n){return scrapeMotionValuesFromProps(t,i,n)}build(t,i,n){buildSVGAttrs(t,i,this.isSVGTag,n.transformTemplate)}renderInstance(t,i,n,s){renderSVG(t,i,n,s)}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);class PopChildMeasure extends React__namespace.Component{getSnapshotBeforeUpdate(t){const i=this.props.childRef.current;if(i&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=i.offsetHeight||0,n.width=i.offsetWidth||0,n.top=i.offsetTop,n.left=i.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function PopChild({children:e,isPresent:t}){const i=React.useId(),n=React.useRef(null),s=React.useRef({width:0,height:0,top:0,left:0}),{nonce:a}=React.useContext(MotionConfigContext);return React.useInsertionEffect(()=>{const{width:o,height:l,top:c,left:u}=s.current;if(t||!n.current||!o||!l)return;n.current.dataset.motionPopId=i;const f=document.createElement("style");return a&&(f.nonce=a),document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`
57
+ M2242.1,525.8l-669.4,817.7l-375.2-379.8L2242.1,525.8z`})]}),DeleteIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.83301 15.5C2.37467 15.5 1.98231 15.3368 1.65592 15.0104C1.32954 14.684 1.16634 14.2917 1.16634 13.8333V3H0.333008V1.33333H4.49967V0.5H9.49967V1.33333H13.6663V3H12.833V13.8333C12.833 14.2917 12.6698 14.684 12.3434 15.0104C12.017 15.3368 11.6247 15.5 11.1663 15.5H2.83301ZM11.1663 3H2.83301V13.8333H11.1663V3ZM4.49967 12.1667H6.16634V4.66667H4.49967V12.1667ZM7.83301 12.1667H9.49967V4.66667H7.83301V12.1667Z"})}),WarningIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_19962_22568",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_19962_22568)",children:jsxRuntime.jsx("path",{d:"M0.664062 13.9987L7.9974 1.33203L15.3307 13.9987H0.664062ZM2.96406 12.6654H13.0307L7.9974 3.9987L2.96406 12.6654ZM7.9974 11.9987C8.18629 11.9987 8.34462 11.9348 8.4724 11.807C8.60017 11.6793 8.66406 11.5209 8.66406 11.332C8.66406 11.1431 8.60017 10.9848 8.4724 10.857C8.34462 10.7293 8.18629 10.6654 7.9974 10.6654C7.80851 10.6654 7.65017 10.7293 7.5224 10.857C7.39462 10.9848 7.33073 11.1431 7.33073 11.332C7.33073 11.5209 7.39462 11.6793 7.5224 11.807C7.65017 11.9348 7.80851 11.9987 7.9974 11.9987ZM7.33073 9.9987H8.66406V6.66536H7.33073V9.9987Z",fill:"currentColor"})})]}),SwapHorizontalIcon=e=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"10",viewBox:"0 0 12 10",fill:"#817A90",...e,children:jsxRuntime.jsx("path",{d:"M3.1727 9.36931L0.458008 6.65462L3.1727 3.93994L3.78753 4.56367L2.13392 6.21712H6.38103V7.09212H2.13392L3.78753 8.74573L3.1727 9.36931ZM8.82665 6.05452L8.21182 5.43079L9.86542 3.77719H5.61832V2.90233H9.86542L8.21182 1.24873L8.82665 0.625L11.5413 3.33969L8.82665 6.05452Z"})}),GasStationIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.625 9.95829V1.09615C0.625 0.801466 0.727083 0.552043 0.93125 0.347876C1.13542 0.143709 1.38484 0.041626 1.67952 0.041626H4.82048C5.11516 0.041626 5.36458 0.143709 5.56875 0.347876C5.77292 0.552043 5.875 0.801466 5.875 1.09615V4.88781H6.43588C6.72589 4.88781 6.97415 4.99106 7.18065 5.19756C7.38715 5.40406 7.4904 5.65227 7.4904 5.94219V8.58965C7.4904 8.77738 7.55563 8.93649 7.6861 9.06696C7.81658 9.19753 7.97568 9.26281 8.16342 9.26281C8.35115 9.26281 8.51026 9.19753 8.64073 9.06696C8.7713 8.93649 8.83658 8.77738 8.83658 8.58965V4.50194C8.74908 4.55424 8.65672 4.59051 8.5595 4.61073C8.46228 4.63086 8.36019 4.64092 8.25325 4.64092C7.89518 4.64092 7.59248 4.5173 7.34515 4.27006C7.09791 4.02283 6.97429 3.72017 6.97429 3.36211C6.97429 3.07345 7.05659 2.8164 7.22119 2.59094C7.38569 2.36548 7.60332 2.2142 7.87408 2.13711L6.55925 0.822417L7.04838 0.333293L9.1281 2.37729C9.25906 2.50815 9.3591 2.65977 9.42823 2.83215C9.49745 3.00452 9.53206 3.18117 9.53206 3.36211V8.58965C9.53206 8.9729 9.39984 9.29679 9.1354 9.56133C8.87105 9.82597 8.54744 9.95829 8.16458 9.95829C7.78162 9.95829 7.45758 9.82597 7.19246 9.56133C6.92743 9.29679 6.79492 8.9729 6.79492 8.58965V5.76281C6.79492 5.71041 6.77805 5.66739 6.74431 5.63375C6.71067 5.60011 6.6677 5.58329 6.6154 5.58329H5.875V9.95829H0.625ZM1.5 3.97913H5V1.09615C5 1.05123 4.98128 1.0101 4.94385 0.972771C4.90652 0.935341 4.8654 0.916626 4.82048 0.916626H1.67952C1.6346 0.916626 1.59348 0.935341 1.55615 0.972771C1.51872 1.0101 1.5 1.05123 1.5 1.09615V3.97913ZM8.25325 3.94544C8.41853 3.94544 8.55707 3.88954 8.66887 3.77773C8.78068 3.66592 8.83658 3.52738 8.83658 3.36211C8.83658 3.19683 8.78068 3.05829 8.66887 2.94648C8.55707 2.83467 8.41853 2.77877 8.25325 2.77877C8.08797 2.77877 7.94943 2.83467 7.83763 2.94648C7.72582 3.05829 7.66992 3.19683 7.66992 3.36211C7.66992 3.52738 7.72582 3.66592 7.83763 3.77773C7.94943 3.88954 8.08797 3.94544 8.25325 3.94544ZM1.5 9.08329H5V4.85413H1.5V9.08329Z",fill:"currentColor"})}),CancelIcon=e=>jsxRuntime.jsx("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M2.56 6L4 4.56L5.44 6L6 5.44L4.56 4L6 2.56L5.44 2L4 3.44L2.56 2L2 2.56L3.44 4L2 5.44L2.56 6ZM4 8C3.44667 8 2.92667 7.895 2.44 7.685C1.95333 7.475 1.53 7.19 1.17 6.83C0.81 6.47 0.525 6.04667 0.315 5.56C0.105 5.07333 0 4.55333 0 4C0 3.44667 0.105 2.92667 0.315 2.44C0.525 1.95333 0.81 1.53 1.17 1.17C1.53 0.81 1.95333 0.525 2.44 0.315C2.92667 0.105 3.44667 0 4 0C4.55333 0 5.07333 0.105 5.56 0.315C6.04667 0.525 6.47 0.81 6.83 1.17C7.19 1.53 7.475 1.95333 7.685 2.44C7.895 2.92667 8 3.44667 8 4C8 4.55333 7.895 5.07333 7.685 5.56C7.475 6.04667 7.19 6.47 6.83 6.83C6.47 7.19 6.04667 7.475 5.56 7.685C5.07333 7.895 4.55333 8 4 8Z",fill:"#FF005C"})}),ArrowSyncIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"12",viewBox:"0 0 14 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M3.76656 11.7692L0.664062 8.66667L3.76656 5.56417L4.4794 6.26667L2.5794 8.16667H12.6641V9.16667H2.5794L4.4794 11.0667L3.76656 11.7692ZM10.2282 6.43584L9.5154 5.73334L11.4154 3.83334H1.33073V2.83334H11.4154L9.5154 0.933335L10.2282 0.230835L13.3307 3.33334L10.2282 6.43584Z"})}),HubIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M3 12C2.58333 12 2.22917 11.8478 1.9375 11.5435C1.64583 11.2391 1.5 10.8696 1.5 10.4348C1.5 10 1.64583 9.63043 1.9375 9.32609C2.22917 9.02174 2.58333 8.86957 3 8.86957C3.11667 8.86957 3.225 8.88261 3.325 8.9087C3.425 8.93478 3.52083 8.96956 3.6125 9.01304L4.325 8.08696C4.09167 7.81739 3.92917 7.51304 3.8375 7.17391C3.74583 6.83478 3.725 6.49565 3.775 6.15652L2.7625 5.80435C2.62083 6.02174 2.44167 6.19565 2.225 6.32609C2.00833 6.45652 1.76667 6.52174 1.5 6.52174C1.08333 6.52174 0.729167 6.36957 0.4375 6.06522C0.145833 5.76087 0 5.3913 0 4.95652C0 4.52174 0.145833 4.15217 0.4375 3.84783C0.729167 3.54348 1.08333 3.3913 1.5 3.3913C1.91667 3.3913 2.27083 3.54348 2.5625 3.84783C2.85417 4.15217 3 4.52174 3 4.95652V5.06087L4.0125 5.42609C4.17917 5.11304 4.40208 4.84783 4.68125 4.63043C4.96042 4.41304 5.275 4.27391 5.625 4.21304V3.07826C5.3 2.98261 5.03125 2.79783 4.81875 2.52391C4.60625 2.25 4.5 1.93043 4.5 1.56522C4.5 1.13043 4.64583 0.76087 4.9375 0.456522C5.22917 0.152174 5.58333 0 6 0C6.41667 0 6.77083 0.152174 7.0625 0.456522C7.35417 0.76087 7.5 1.13043 7.5 1.56522C7.5 1.93043 7.39167 2.25 7.175 2.52391C6.95833 2.79783 6.69167 2.98261 6.375 3.07826V4.21304C6.725 4.27391 7.03958 4.41304 7.31875 4.63043C7.59792 4.84783 7.82083 5.11304 7.9875 5.42609L9 5.06087V4.95652C9 4.52174 9.14583 4.15217 9.4375 3.84783C9.72917 3.54348 10.0833 3.3913 10.5 3.3913C10.9167 3.3913 11.2708 3.54348 11.5625 3.84783C11.8542 4.15217 12 4.52174 12 4.95652C12 5.3913 11.8542 5.76087 11.5625 6.06522C11.2708 6.36957 10.9167 6.52174 10.5 6.52174C10.2333 6.52174 9.98958 6.45652 9.76875 6.32609C9.54792 6.19565 9.37083 6.02174 9.2375 5.80435L8.225 6.15652C8.275 6.49565 8.25417 6.83261 8.1625 7.16739C8.07083 7.50217 7.90833 7.8087 7.675 8.08696L8.3875 9C8.47917 8.95652 8.575 8.92391 8.675 8.90217C8.775 8.88043 8.88333 8.86957 9 8.86957C9.41667 8.86957 9.77083 9.02174 10.0625 9.32609C10.3542 9.63043 10.5 10 10.5 10.4348C10.5 10.8696 10.3542 11.2391 10.0625 11.5435C9.77083 11.8478 9.41667 12 9 12C8.58333 12 8.22917 11.8478 7.9375 11.5435C7.64583 11.2391 7.5 10.8696 7.5 10.4348C7.5 10.2609 7.52708 10.0935 7.58125 9.93261C7.63542 9.77174 7.70833 9.62609 7.8 9.49565L7.0875 8.56957C6.74583 8.76957 6.38125 8.86957 5.99375 8.86957C5.60625 8.86957 5.24167 8.76957 4.9 8.56957L4.2 9.49565C4.29167 9.62609 4.36458 9.77174 4.41875 9.93261C4.47292 10.0935 4.5 10.2609 4.5 10.4348C4.5 10.8696 4.35417 11.2391 4.0625 11.5435C3.77083 11.8478 3.41667 12 3 12ZM1.5 5.47826C1.64167 5.47826 1.76042 5.42826 1.85625 5.32826C1.95208 5.22826 2 5.10435 2 4.95652C2 4.8087 1.95208 4.68478 1.85625 4.58478C1.76042 4.48478 1.64167 4.43478 1.5 4.43478C1.35833 4.43478 1.23958 4.48478 1.14375 4.58478C1.04792 4.68478 1 4.8087 1 4.95652C1 5.10435 1.04792 5.22826 1.14375 5.32826C1.23958 5.42826 1.35833 5.47826 1.5 5.47826ZM3 10.9565C3.14167 10.9565 3.26042 10.9065 3.35625 10.8065C3.45208 10.7065 3.5 10.5826 3.5 10.4348C3.5 10.287 3.45208 10.163 3.35625 10.063C3.26042 9.96304 3.14167 9.91304 3 9.91304C2.85833 9.91304 2.73958 9.96304 2.64375 10.063C2.54792 10.163 2.5 10.287 2.5 10.4348C2.5 10.5826 2.54792 10.7065 2.64375 10.8065C2.73958 10.9065 2.85833 10.9565 3 10.9565ZM6 2.08696C6.14167 2.08696 6.26042 2.03696 6.35625 1.93696C6.45208 1.83696 6.5 1.71304 6.5 1.56522C6.5 1.41739 6.45208 1.29348 6.35625 1.19348C6.26042 1.09348 6.14167 1.04348 6 1.04348C5.85833 1.04348 5.73958 1.09348 5.64375 1.19348C5.54792 1.29348 5.5 1.41739 5.5 1.56522C5.5 1.71304 5.54792 1.83696 5.64375 1.93696C5.73958 2.03696 5.85833 2.08696 6 2.08696ZM6 7.82609C6.35 7.82609 6.64583 7.7 6.8875 7.44783C7.12917 7.19565 7.25 6.88696 7.25 6.52174C7.25 6.15652 7.12917 5.84783 6.8875 5.59565C6.64583 5.34348 6.35 5.21739 6 5.21739C5.65 5.21739 5.35417 5.34348 5.1125 5.59565C4.87083 5.84783 4.75 6.15652 4.75 6.52174C4.75 6.88696 4.87083 7.19565 5.1125 7.44783C5.35417 7.7 5.65 7.82609 6 7.82609ZM9 10.9565C9.14167 10.9565 9.26042 10.9065 9.35625 10.8065C9.45208 10.7065 9.5 10.5826 9.5 10.4348C9.5 10.287 9.45208 10.163 9.35625 10.063C9.26042 9.96304 9.14167 9.91304 9 9.91304C8.85833 9.91304 8.73958 9.96304 8.64375 10.063C8.54792 10.163 8.5 10.287 8.5 10.4348C8.5 10.5826 8.54792 10.7065 8.64375 10.8065C8.73958 10.9065 8.85833 10.9565 9 10.9565ZM10.5 5.47826C10.6417 5.47826 10.7604 5.42826 10.8562 5.32826C10.9521 5.22826 11 5.10435 11 4.95652C11 4.8087 10.9521 4.68478 10.8562 4.58478C10.7604 4.48478 10.6417 4.43478 10.5 4.43478C10.3583 4.43478 10.2396 4.48478 10.1437 4.58478C10.0479 4.68478 10 4.8087 10 4.95652C10 5.10435 10.0479 5.22826 10.1437 5.32826C10.2396 5.42826 10.3583 5.47826 10.5 5.47826Z"})}),CodeBlockIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M6.6 12.2537L7.65375 11.1845L5.46925 9L7.64425 6.825L6.5905 5.75575L3.34625 9L6.6 12.2537ZM11.4 12.2537L14.6538 9L11.4 5.74625L10.3462 6.8155L12.5307 9L10.3462 11.1845L11.4 12.2537ZM2.30775 17.5C1.80258 17.5 1.375 17.325 1.025 16.975C0.675 16.625 0.5 16.1974 0.5 15.6923V2.30775C0.5 1.80258 0.675 1.375 1.025 1.025C1.375 0.675 1.80258 0.5 2.30775 0.5H15.6923C16.1974 0.5 16.625 0.675 16.975 1.025C17.325 1.375 17.5 1.80258 17.5 2.30775V15.6923C17.5 16.1974 17.325 16.625 16.975 16.975C16.625 17.325 16.1974 17.5 15.6923 17.5H2.30775ZM2.30775 16H15.6923C15.7692 16 15.8398 15.9679 15.9038 15.9038C15.9679 15.8398 16 15.7692 16 15.6923V2.30775C16 2.23075 15.9679 2.16025 15.9038 2.09625C15.8398 2.03208 15.7692 2 15.6923 2H2.30775C2.23075 2 2.16025 2.03208 2.09625 2.09625C2.03208 2.16025 2 2.23075 2 2.30775V15.6923C2 15.7692 2.03208 15.8398 2.09625 15.9038C2.16025 15.9679 2.23075 16 2.30775 16Z",fill:"currentColor"})}),APIIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24445",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24445)",children:jsxRuntime.jsx("path",{d:"M9.51267 13V12H11.16C11.396 12 11.5949 11.9201 11.7568 11.7603C11.9188 11.6004 11.9998 11.4068 11.9998 11.1795V9.80767C11.9998 9.41111 12.1178 9.05556 12.3537 8.741C12.5896 8.42644 12.8968 8.20767 13.2755 8.08467V7.91533C12.8968 7.79233 12.5896 7.57356 12.3537 7.259C12.1178 6.94444 11.9998 6.58889 11.9998 6.19233V4.8205C11.9998 4.59317 11.9188 4.39956 11.7568 4.23967C11.5949 4.07989 11.396 4 11.16 4H9.51267V3H11.16C11.6729 3 12.1077 3.17733 12.4645 3.532C12.8214 3.88678 12.9998 4.31628 12.9998 4.8205V6.19233C12.9998 6.42822 13.0829 6.62611 13.2492 6.786C13.4154 6.94578 13.6186 7.02567 13.8588 7.02567H14.3332V8.97433H13.8588C13.6186 8.97433 13.4154 9.05422 13.2492 9.214C13.0829 9.37389 12.9998 9.57178 12.9998 9.80767V11.1795C12.9998 11.6837 12.8214 12.1132 12.4645 12.468C12.1077 12.8227 11.6729 13 11.16 13H9.51267ZM4.83967 13C4.33112 13 3.89734 12.8227 3.53834 12.468C3.17934 12.1132 2.99984 11.6837 2.99984 11.1795V9.80767C2.99984 9.57178 2.91673 9.37389 2.7505 9.214C2.58428 9.05422 2.38106 8.97433 2.14084 8.97433H1.6665V7.02567H2.14084C2.38106 7.02567 2.58428 6.94578 2.7505 6.786C2.91673 6.62611 2.99984 6.42822 2.99984 6.19233V4.8205C2.99984 4.31628 3.17934 3.88678 3.53834 3.532C3.89734 3.17733 4.33112 3 4.83967 3H6.49334V4H4.83967C4.608 4 4.41012 4.07989 4.246 4.23967C4.08189 4.39956 3.99984 4.59317 3.99984 4.8205V6.19233C3.99984 6.58889 3.88295 6.94444 3.64917 7.259C3.41539 7.57356 3.10706 7.79233 2.72417 7.91533V8.08467C3.10706 8.20767 3.41539 8.42644 3.64917 8.741C3.88295 9.05556 3.99984 9.41111 3.99984 9.80767V11.1795C3.99984 11.4068 4.08189 11.6004 4.246 11.7603C4.41012 11.9201 4.608 12 4.83967 12H6.49334V13H4.83967Z",fill:"currentColor"})})]}),BlogIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24428",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24428)",children:jsxRuntime.jsx("path",{d:"M4.83325 11.1677H9.16659V10.1677H4.83325V11.1677ZM4.83325 8.50102H11.1666V7.50102H4.83325V8.50102ZM4.83325 5.83435H11.1666V4.83435H4.83325V5.83435ZM3.53842 13.6677C3.20164 13.6677 2.91659 13.551 2.68325 13.3177C2.44992 13.0844 2.33325 12.7993 2.33325 12.4625V3.53952C2.33325 3.20274 2.44992 2.91768 2.68325 2.68435C2.91659 2.45102 3.20164 2.33435 3.53842 2.33435H12.4614C12.7982 2.33435 13.0833 2.45102 13.3166 2.68435C13.5499 2.91768 13.6666 3.20274 13.6666 3.53952V12.4625C13.6666 12.7993 13.5499 13.0844 13.3166 13.3177C13.0833 13.551 12.7982 13.6677 12.4614 13.6677H3.53842ZM3.53842 12.6677H12.4614C12.5128 12.6677 12.5598 12.6463 12.6024 12.6035C12.6452 12.5609 12.6666 12.5139 12.6666 12.4625V3.53952C12.6666 3.48818 12.6452 3.44118 12.6024 3.39852C12.5598 3.35574 12.5128 3.33435 12.4614 3.33435H3.53842C3.48709 3.33435 3.44009 3.35574 3.39742 3.39852C3.35464 3.44118 3.33325 3.48818 3.33325 3.53952V12.4625C3.33325 12.5139 3.35464 12.5609 3.39742 12.6035C3.44009 12.6463 3.48709 12.6677 3.53842 12.6677Z",fill:"currentColor"})})]}),BrandKitIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24433",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24433)",children:jsxRuntime.jsx("path",{d:"M5.58982 11.9796C5.67093 11.9864 5.7501 11.9915 5.82732 11.9949C5.90443 11.9984 5.98765 12.0001 6.07699 12.0001C6.17099 12.0001 6.25854 11.9984 6.33965 11.9949C6.42087 11.9915 6.50421 11.9864 6.58965 11.9796V13.0514C6.58965 13.1112 6.60893 13.1603 6.64749 13.1988C6.68593 13.2372 6.73504 13.2564 6.79482 13.2564H13.0513C13.1111 13.2564 13.1602 13.2372 13.1987 13.1988C13.2371 13.1603 13.2563 13.1112 13.2563 13.0514V6.79494C13.2563 6.73516 13.2371 6.68605 13.1987 6.64761C13.1602 6.60905 13.1111 6.58977 13.0513 6.58977H11.9795C11.9863 6.50433 11.9914 6.421 11.9948 6.33977C11.9983 6.25866 12 6.17111 12 6.07711C12 5.98777 11.9983 5.90455 11.9948 5.82744C11.9914 5.75022 11.9863 5.67105 11.9795 5.58994H13.0513C13.3827 5.58994 13.6663 5.70794 13.9023 5.94394C14.1383 6.17994 14.2563 6.46361 14.2563 6.79494V13.0514C14.2563 13.3828 14.1383 13.6664 13.9023 13.9024C13.6663 14.1384 13.3827 14.2564 13.0513 14.2564H6.79482C6.46349 14.2564 6.17982 14.1384 5.94382 13.9024C5.70782 13.6664 5.58982 13.3828 5.58982 13.0514V11.9796ZM6.07815 10.4103C4.87137 10.4103 3.84726 9.99 3.00582 9.14944C2.16437 8.30877 1.74365 7.28505 1.74365 6.07827C1.74365 4.8715 2.16393 3.84739 3.00449 3.00594C3.84515 2.1645 4.86887 1.74377 6.07565 1.74377C7.28243 1.74377 8.30654 2.16405 9.14799 3.00461C9.98943 3.84527 10.4102 4.869 10.4102 6.07577C10.4102 7.28255 9.98987 8.30666 9.14932 9.14811C8.30865 9.98955 7.28493 10.4103 6.07815 10.4103ZM6.07699 9.41044C6.99921 9.41044 7.78532 9.08544 8.43532 8.43544C9.08532 7.78544 9.41032 6.99933 9.41032 6.07711C9.41032 5.15489 9.08532 4.36877 8.43532 3.71877C7.78532 3.06877 6.99921 2.74377 6.07699 2.74377C5.15476 2.74377 4.36865 3.06877 3.71865 3.71877C3.06865 4.36877 2.74365 5.15489 2.74365 6.07711C2.74365 6.99933 3.06865 7.78544 3.71865 8.43544C4.36865 9.08544 5.15476 9.41044 6.07699 9.41044Z",fill:"currentColor"})})]}),ConsoleIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M4 20C3.45 20 2.97917 19.8042 2.5875 19.4125C2.19583 19.0208 2 18.55 2 18V6C2 5.45 2.19583 4.97917 2.5875 4.5875C2.97917 4.19583 3.45 4 4 4H20C20.55 4 21.0208 4.19583 21.4125 4.5875C21.8042 4.97917 22 5.45 22 6V18C22 18.55 21.8042 19.0208 21.4125 19.4125C21.0208 19.8042 20.55 20 20 20H4ZM4 18H20V8H4V18ZM7.5 17L6.1 15.6L8.675 13L6.075 10.4L7.5 9L11.5 13L7.5 17ZM12 17V15H18V17H12Z",fill:"currentColor"})}),CopyrightsIcon=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:"M5 7.875H7C7.10625 7.875 7.19529 7.83904 7.26713 7.76713C7.33904 7.69529 7.375 7.60625 7.375 7.5V6.625H6.625V7.125H5.375V4.875H6.625V5.375H7.375V4.49987C7.375 4.39354 7.33904 4.3045 7.26713 4.23275C7.19529 4.16092 7.10625 4.125 7 4.125H5C4.89375 4.125 4.80471 4.16096 4.73288 4.23288C4.66096 4.30471 4.625 4.39375 4.625 4.5V7.5C4.625 7.60625 4.66096 7.69529 4.73288 7.76713C4.80471 7.83904 4.89375 7.875 5 7.875ZM6.00087 10.75C5.34387 10.75 4.72633 10.6253 4.14825 10.376C3.57017 10.1267 3.06733 9.78829 2.63975 9.36088C2.21217 8.93346 1.87362 8.43083 1.62412 7.853C1.37471 7.27517 1.25 6.65779 1.25 6.00087C1.25 5.34387 1.37467 4.72633 1.624 4.14825C1.87333 3.57017 2.21171 3.06733 2.63913 2.63975C3.06654 2.21217 3.56917 1.87362 4.147 1.62412C4.72483 1.37471 5.34221 1.25 5.99913 1.25C6.65613 1.25 7.27367 1.37467 7.85175 1.624C8.42983 1.87333 8.93267 2.21171 9.36025 2.63913C9.78783 3.06654 10.1264 3.56917 10.3759 4.147C10.6253 4.72483 10.75 5.34221 10.75 5.99913C10.75 6.65613 10.6253 7.27367 10.376 7.85175C10.1267 8.42983 9.78829 8.93267 9.36088 9.36025C8.93346 9.78783 8.43083 10.1264 7.853 10.3759C7.27517 10.6253 6.65779 10.75 6.00087 10.75ZM6 10C7.11667 10 8.0625 9.6125 8.8375 8.8375C9.6125 8.0625 10 7.11667 10 6C10 4.88333 9.6125 3.9375 8.8375 3.1625C8.0625 2.3875 7.11667 2 6 2C4.88333 2 3.9375 2.3875 3.1625 3.1625C2.3875 3.9375 2 4.88333 2 6C2 7.11667 2.3875 8.0625 3.1625 8.8375C3.9375 9.6125 4.88333 10 6 10Z",fill:"currentColor"})}),DiscordIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M18.9419 5.29661C17.6473 4.69088 16.263 4.25066 14.8157 4C14.638 4.32134 14.4304 4.75355 14.2872 5.09738C12.7487 4.86601 11.2245 4.86601 9.7143 5.09738C9.57116 4.75355 9.3588 4.32134 9.17947 4C7.73067 4.25066 6.3448 4.6925 5.05016 5.29982C2.43887 9.24582 1.73099 13.0938 2.08493 16.8872C3.81688 18.1805 5.49534 18.9662 7.14548 19.4804C7.55291 18.9196 7.91628 18.3235 8.22931 17.6953C7.63313 17.4688 7.06211 17.1892 6.52256 16.8647C6.6657 16.7586 6.80571 16.6478 6.94098 16.5337C10.2318 18.0729 13.8074 18.0729 17.0589 16.5337C17.1958 16.6478 17.3358 16.7586 17.4774 16.8647C16.9362 17.1908 16.3637 17.4704 15.7675 17.697C16.0805 18.3235 16.4423 18.9212 16.8513 19.4819C18.503 18.9678 20.183 18.1822 21.915 16.8872C22.3303 12.4897 21.2056 8.67705 18.9419 5.29661ZM8.67765 14.5543C7.68977 14.5543 6.87963 13.632 6.87963 12.509C6.87963 11.3859 7.67247 10.4621 8.67765 10.4621C9.68285 10.4621 10.493 11.3843 10.4757 12.509C10.4772 13.632 9.68285 14.5543 8.67765 14.5543ZM15.3223 14.5543C14.3344 14.5543 13.5243 13.632 13.5243 12.509C13.5243 11.3859 14.3171 10.4621 15.3223 10.4621C16.3275 10.4621 17.1376 11.3843 17.1203 12.509C17.1203 13.632 16.3275 14.5543 15.3223 14.5543Z",fill:"currentColor"})}),DraftIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24440",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24440)",children:jsxRuntime.jsx("path",{d:"M4.20517 14.3323C3.86839 14.3323 3.58333 14.2156 3.35 13.9823C3.11667 13.749 3 13.4639 3 13.1271V2.87082C3 2.53404 3.11667 2.24898 3.35 2.01565C3.58333 1.78232 3.86839 1.66565 4.20517 1.66565H9.5L13 5.16565V13.1271C13 13.4639 12.8833 13.749 12.65 13.9823C12.4167 14.2156 12.1316 14.3323 11.7948 14.3323H4.20517ZM9 5.66565V2.66565H4.20517C4.15383 2.66565 4.10683 2.68704 4.06417 2.72982C4.02139 2.77248 4 2.81948 4 2.87082V13.1271C4 13.1785 4.02139 13.2255 4.06417 13.2681C4.10683 13.3109 4.15383 13.3323 4.20517 13.3323H11.7948C11.8462 13.3323 11.8932 13.3109 11.9358 13.2681C11.9786 13.2255 12 13.1785 12 13.1271V5.66565H9Z",fill:"currentColor"})})]}),OtterSecIcon=e=>jsxRuntime.jsxs("svg",{width:"44",height:"45",viewBox:"0 0 44 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M14.1692 1.23502C14.3871 0.920224 14.7988 0.508569 15.0652 0.339064C15.3557 0.169559 16.058 0.0242684 16.6391 5.34058e-05C17.4867 5.34058e-05 17.8015 0.145344 18.4553 0.799149C19.2301 1.59825 19.2544 1.62246 21.8938 1.74354C23.3709 1.81618 25.1144 2.05833 25.7682 2.27627C26.4462 2.46999 27.5359 3.00272 28.2381 3.43859C28.9162 3.87446 30.0543 4.69777 30.7807 5.27893C31.6525 5.98117 32.5 6.44125 34.8488 7.02241L34.2677 8.16052C33.9529 8.81432 33.2749 9.71028 32.7663 10.1946C32.2336 10.6547 31.3861 11.1874 30.8534 11.3811C30.248 11.5748 29.4005 11.6233 27.2211 11.3811L26.9305 12.6645C26.761 13.3425 26.4462 14.1416 26.2525 14.408C25.8893 14.8681 25.8893 14.7712 26.0104 13.3667C26.083 12.5434 26.083 11.8654 26.0104 11.8654C25.9377 11.8654 25.5503 12.5434 25.1386 13.3667C24.6543 14.3596 24.3153 14.8197 24.17 14.6501C24.0247 14.5049 24.1942 13.8026 24.6785 12.7129C25.0902 11.7686 25.3566 10.9695 25.2597 10.8968C25.187 10.8242 23.9521 10.7273 22.5476 10.6789C20.562 10.6305 19.5934 10.7031 18.3826 11.0421C17.5109 11.2843 16.2033 11.8654 15.4768 12.3497C14.7504 12.834 13.6849 13.7784 13.1037 14.4322C12.5226 15.086 11.7961 16.1515 11.4813 16.8295C11.1423 17.4833 10.7065 18.6941 10.5127 19.4932C10.2948 20.2922 10.1253 21.9147 10.1011 23.1254C10.1011 24.8447 10.2222 25.6922 10.7307 27.1693C11.0697 28.2106 11.7235 29.6392 12.1594 30.3173C12.6194 31.0195 13.6123 32.1818 14.4114 32.8841C15.1862 33.6105 16.397 34.458 17.0508 34.7728C17.7288 35.0876 18.8669 35.5235 19.5934 35.7172C20.3198 35.9109 21.9422 36.0804 23.2256 36.0804C24.5332 36.0804 26.1556 35.9109 26.979 35.693C27.7781 35.4751 29.2067 34.9181 30.1269 34.4338C31.1682 33.8769 32.4273 32.9325 33.3959 31.9639C34.2677 31.0922 35.3089 29.7361 35.7448 28.937C36.1565 28.1379 36.6892 26.7819 36.8829 25.9101C37.1008 25.0384 37.2703 23.8276 37.2703 23.1738C37.2703 22.5442 37.1493 21.4546 37.004 20.7523C36.8587 20.0743 36.4712 18.9846 36.1565 18.3308C35.8417 17.7012 35.5269 17.1927 35.4542 17.1927C35.3816 17.1927 35.4058 18.2582 35.4784 19.5416C35.5753 20.9461 35.5269 22.52 35.3574 23.3676C35.2121 24.1667 34.7762 25.4743 34.3888 26.2734C33.9529 27.1693 33.1538 28.2348 32.2578 29.0581C31.2892 29.9783 30.2964 30.6321 29.0372 31.1648C28.0444 31.5765 26.7368 32.0123 26.1314 32.085C25.066 32.2303 25.0902 32.206 26.979 31.2859C28.1897 30.7047 29.4973 29.8088 30.4417 28.9128C31.4345 27.9926 32.2578 26.9514 32.7179 26.0312C33.2991 24.8689 33.4444 24.1424 33.5654 22.399C33.6623 20.825 33.5897 19.7111 33.2991 18.4035C33.0811 17.4107 32.6211 16.0062 32.3063 15.3282C31.9673 14.6259 31.7009 13.9963 31.7009 13.9237C31.7009 13.8511 31.943 13.8026 32.2578 13.8026C32.5484 13.8026 33.8318 14.0448 35.091 14.3838C36.3502 14.6986 37.9484 15.2313 38.6022 15.5461C39.2802 15.8851 40.1277 16.4905 40.5394 16.8779C40.951 17.2654 41.4595 17.9434 41.6775 18.4035C41.9196 18.8636 42.2102 19.9048 42.3555 20.7039C42.5734 21.8904 42.5492 22.52 42.2344 24.094C42.0165 25.2563 41.4353 26.8787 40.7815 28.2106C40.2004 29.3971 39.1349 31.0921 38.4327 31.9397C37.7304 32.8114 36.4955 34.0464 35.6964 34.7002C34.8973 35.3298 33.2506 36.3468 32.0641 36.928C30.8776 37.5091 28.9646 38.2114 27.8265 38.4777C26.4462 38.8167 24.9933 38.9863 23.3467 38.9863C21.7243 38.9863 20.2956 38.841 18.988 38.5019C17.9225 38.2356 16.2759 37.6302 15.3557 37.1701C14.4356 36.71 12.91 35.7657 11.9899 35.0634C11.0697 34.3612 9.78629 33.1262 9.13248 32.3271C8.50289 31.528 7.65537 30.2688 7.26793 29.5424C6.88049 28.8159 6.32354 27.3873 6.03296 26.3944C5.76659 25.4016 5.4518 23.6824 5.35494 22.5685C5.25808 21.4788 5.11279 20.5828 5.01593 20.5828C4.89485 20.5828 4.74956 21.0913 4.67692 21.7209C4.58006 22.3747 4.58006 23.9245 4.6527 25.1837C4.72535 26.4429 5.01593 28.259 5.28229 29.1792C5.57287 30.0993 6.15403 31.6491 6.61412 32.5693C7.07421 33.4894 7.99438 34.8939 8.62397 35.6446C9.25356 36.4195 10.3917 37.5091 11.1181 38.0661C11.8446 38.5988 13.3217 39.4706 14.3871 39.9791C15.4526 40.4876 17.3172 41.1414 18.5037 41.432C20.223 41.8678 21.3611 41.9889 23.831 41.9647C26.5189 41.9647 27.2938 41.8678 29.1099 41.3109C30.2722 40.9719 31.7977 40.3907 32.5 40.0517C33.178 39.6885 34.413 38.9378 35.2121 38.3809C36.0112 37.8239 37.3672 36.6132 38.2389 35.693C39.1107 34.7728 40.2246 33.3684 40.6847 32.5693C41.169 31.7702 41.8712 30.4383 42.2586 29.5908C42.6461 28.7675 43.0335 28.0653 43.1546 28.0895C43.2515 28.0895 43.1062 28.7675 42.864 29.615C42.5977 30.4383 42.2344 31.5522 42.0407 32.085C41.847 32.6177 41.3627 33.7074 40.951 34.5065C40.5636 35.3056 39.6918 36.6616 39.0623 37.5091C38.4085 38.3809 37.1008 39.7127 36.1807 40.4876C35.2605 41.2625 33.8318 42.2553 33.0327 42.6669C32.2336 43.0786 30.8049 43.684 29.8848 43.9988C28.9646 44.3136 27.318 44.6768 26.2525 44.8221C25.1144 44.9916 23.2014 45.04 21.6517 44.9674C20.0535 44.8705 18.0194 44.5799 16.5665 44.1925C15.2347 43.8535 13.1764 43.1028 11.9656 42.4974C10.7791 41.9163 9.03562 40.8508 8.11545 40.1486C7.19528 39.4463 5.83924 38.1629 5.11279 37.2912C4.38634 36.4195 3.36931 35.015 2.88501 34.1432C2.37649 33.2715 1.65004 31.6491 1.23838 30.511C0.850944 29.3729 0.390858 27.581 0.221353 26.5155C0.0276326 25.3532 -0.0450125 23.5371 0.0276326 21.9147C0.124493 19.6869 0.293998 18.8151 1.04466 16.5873C1.52896 15.1344 2.42492 13.1004 3.00608 12.1076C3.58724 11.1148 4.60427 9.68606 5.23386 8.91118C5.86345 8.16052 6.88049 7.11927 7.48586 6.58654C8.09124 6.07803 9.39885 5.10942 10.3917 4.47983C11.3845 3.82603 12.571 3.14801 13.0069 2.9785C13.4428 2.809 13.7818 2.4942 13.7818 2.22784C13.806 2.0099 13.9755 1.54982 14.1692 1.23502Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M26.616 5.32809C26.8822 5.32825 27.1487 5.47389 27.1971 5.6191C27.2212 5.78849 27.2212 6.07828 27.1971 6.22359C27.1487 6.39301 26.8822 6.53886 26.616 6.53902C26.3498 6.53902 26.0834 6.41782 26.0105 6.29684C25.9379 6.17576 25.9379 5.88509 26.0105 5.69137C26.059 5.49766 26.3497 5.32809 26.616 5.32809Z",fill:"#F5F8FA"})]}),SDKIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24450",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24450)",children:jsxRuntime.jsx("path",{d:"M3.53866 13.6667C3.20622 13.6667 2.92222 13.5489 2.68666 13.3135C2.45122 13.0779 2.3335 12.7939 2.3335 12.4615V4.5C2.3335 4.38289 2.34994 4.27306 2.38283 4.1705C2.41572 4.06794 2.46938 3.97267 2.54383 3.88467L3.46433 2.777C3.53866 2.68467 3.62366 2.61544 3.71933 2.56933C3.81511 2.52311 3.92155 2.5 4.03866 2.5H11.9617C12.0788 2.5 12.1852 2.52311 12.281 2.56933C12.3767 2.61544 12.4617 2.68467 12.536 2.777L13.4565 3.88467C13.5309 3.97267 13.5846 4.06794 13.6175 4.1705C13.6504 4.27306 13.6668 4.38289 13.6668 4.5V12.4615C13.6668 12.7939 13.5491 13.0779 13.3137 13.3135C13.0781 13.5489 12.7941 13.6667 12.4617 13.6667H3.53866ZM3.60016 4.16667H12.4002L11.8335 3.5H4.16683L3.60016 4.16667ZM3.53866 12.6667H12.4617C12.5216 12.6667 12.5707 12.6474 12.6092 12.609C12.6476 12.5706 12.6668 12.5214 12.6668 12.4615V5.16667H3.3335V12.4615C3.3335 12.5214 3.35272 12.5706 3.39116 12.609C3.42961 12.6474 3.47877 12.6667 3.53866 12.6667ZM9.70016 11.123L11.8232 9L9.70016 6.877L8.97716 7.6L10.3772 9L8.97716 10.4L9.70016 11.123ZM6.3335 11.123L7.0565 10.4L5.6565 9L7.0565 7.6L6.3335 6.877L4.2105 9L6.3335 11.123Z",fill:"currentColor"})})]}),StakeIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_24315_24292",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_24315_24292)",children:jsxRuntime.jsx("path",{d:"M10.001 13C8.60544 13 7.42306 12.5157 6.45383 11.5472C5.48461 10.5786 5 9.39656 5 8.001C5 6.60544 5.48428 5.42306 6.45283 4.45383C7.42139 3.48461 8.60344 3 9.999 3C11.3946 3 12.5769 3.48428 13.5462 4.45283C14.5154 5.42139 15 6.60344 15 7.999C15 9.39456 14.5157 10.5769 13.5472 11.5462C12.5786 12.5154 11.3966 13 10.001 13ZM4.66667 12.8205C3.57433 12.5307 2.69017 11.9391 2.01417 11.0455C1.33806 10.1519 1 9.13678 1 8C1 6.86322 1.33806 5.84806 2.01417 4.9545C2.69017 4.06094 3.57433 3.46928 4.66667 3.1795V4.23333C3.86667 4.51111 3.22222 4.99444 2.73333 5.68333C2.24444 6.37222 2 7.14444 2 8C2 8.85556 2.24444 9.62778 2.73333 10.3167C3.22222 11.0056 3.86667 11.4889 4.66667 11.7667V12.8205ZM10 12C11.1111 12 12.0556 11.6111 12.8333 10.8333C13.6111 10.0556 14 9.11111 14 8C14 6.88889 13.6111 5.94444 12.8333 5.16667C12.0556 4.38889 11.1111 4 10 4C8.88889 4 7.94444 4.38889 7.16667 5.16667C6.38889 5.94444 6 6.88889 6 8C6 9.11111 6.38889 10.0556 7.16667 10.8333C7.94444 11.6111 8.88889 12 10 12Z",fill:"currentColor"})})]}),XSolidIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M3.81818 2C2.81364 2 2 2.81364 2 3.81818V20.1818C2 21.1864 2.81364 22 3.81818 22H20.1818C21.1864 22 22 21.1864 22 20.1818V3.81818C22 2.81364 21.1864 2 20.1818 2H3.81818ZM6.22585 6.54545H10.418L12.8647 10.0433L15.892 6.54545H17.2113L13.4577 10.892L18.0494 17.4545H13.8572L11.1424 13.5732L7.79013 17.4545H6.44957L10.5458 12.7227L6.22585 6.54545ZM8.25355 7.62145L14.3935 16.3732H16.0199L9.8782 7.62145H8.25355Z",fill:"#817A90"})}),XIcon=e=>jsxRuntime.jsx("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M17.6557 3.86523H20.4171L14.3858 10.757L21.481 20.1364H15.9269L11.5735 14.4493L6.5983 20.1364H3.83298L10.2828 12.7635L3.48096 3.86523H9.17587L13.1068 9.06341L17.6557 3.86523ZM16.6857 18.4858H18.215L8.34276 5.42977H6.69999L16.6857 18.4858Z",fill:"currentColor"})}),ZellicIcon=e=>jsxRuntime.jsxs("svg",{width:"48",height:"43",viewBox:"0 0 48 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M14.3948 0.654297V17.277L11.6504 15.6921V0.654297H14.3948Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M19.8831 0.654297V20.4451L17.1387 18.8602V0.654297H19.8831Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M1.37221 19.2656L15.7667 27.5761L13.0223 29.1611L0 21.6413L1.37221 19.2656Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M4.11733 14.5117L21.2563 24.4071L18.5119 25.9921L2.74512 16.8891L4.11733 14.5117Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M10.9775 39.8474L25.3721 31.5352V34.705L12.3498 42.223L10.9775 39.8474Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M8.2334 35.0907L25.3724 25.1953V28.3651L9.60561 37.4681L8.2334 35.0907Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M33.6055 41.8181V25.1953L36.3499 26.7802V41.8181H33.6055Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M28.1172 41.8201V22.0293L30.8616 23.6142V41.8201H28.1172Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M46.6279 23.2118L32.2334 14.9013L34.9778 13.3164L48.0001 20.8362L46.6279 23.2118Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M43.8831 27.9667L26.7441 18.0712L29.4886 16.4863L45.2553 25.5893L43.8831 27.9667Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M37.0225 2.62566L22.6279 10.9379V7.76805L35.6503 0.25L37.0225 2.62566Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M39.7669 7.38323L22.6279 17.2787V14.1088L38.3947 5.00586L39.7669 7.38323Z",fill:"currentColor"})]}),SearchIconThin=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_25526_70195",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_25526_70195)",children:jsxRuntime.jsx("path",{d:"M13.0245 13.7178L8.83729 9.53051C8.50396 9.80574 8.12063 10.0211 7.68729 10.1767C7.25396 10.3322 6.80568 10.41 6.34246 10.41C5.20301 10.41 4.23868 10.0155 3.44946 9.22651C2.66024 8.43751 2.26562 7.4734 2.26562 6.33418C2.26562 5.19507 2.66012 4.23063 3.44912 3.44085C4.23812 2.65118 5.20224 2.25635 6.34146 2.25635C7.48057 2.25635 8.44501 2.65096 9.23479 3.44018C10.0245 4.2294 10.4193 5.19374 10.4193 6.33318C10.4193 6.80929 10.3394 7.26402 10.1796 7.69735C10.0197 8.13068 9.80646 8.50757 9.53979 8.82802L13.727 13.0152L13.0245 13.7178ZM6.34246 9.41018C7.20146 9.41018 7.92901 9.11207 8.52513 8.51585C9.12135 7.91974 9.41946 7.19218 9.41946 6.33318C9.41946 5.47418 9.12135 4.74662 8.52513 4.15051C7.92901 3.55429 7.20146 3.25618 6.34246 3.25618C5.48346 3.25618 4.7559 3.55429 4.15979 4.15051C3.56357 4.74662 3.26546 5.47418 3.26546 6.33318C3.26546 7.19218 3.56357 7.91974 4.15979 8.51585C4.7559 9.11207 5.48346 9.41018 6.34246 9.41018Z",fill:"currentColor"})})]}),Rotate360Icon=e=>jsxRuntime.jsxs("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_26898_28846",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"21",height:"20",children:jsxRuntime.jsx("rect",{x:"0.335938",width:"20",height:"20",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_26898_28846)",children:jsxRuntime.jsx("path",{d:"M7.83333 16.6666L6.66667 15.4999L8.125 13.9999C6.34722 13.7638 4.88194 13.2777 3.72917 12.5416C2.57639 11.8055 2 10.9583 2 9.99992C2 8.84714 2.80208 7.8645 4.40625 7.052C6.01042 6.2395 7.98611 5.83325 10.3333 5.83325C12.6806 5.83325 14.6563 6.2395 16.2604 7.052C17.8646 7.8645 18.6667 8.84714 18.6667 9.99992C18.6667 10.861 18.2049 11.6319 17.2812 12.3124C16.3576 12.993 15.1528 13.4999 13.6667 13.8333V12.1249C14.7361 11.8471 15.559 11.5034 16.1354 11.0937C16.7118 10.6839 17 10.3194 17 9.99992C17 9.55547 16.4062 9.0277 15.2188 8.41659C14.0312 7.80547 12.4028 7.49992 10.3333 7.49992C8.26389 7.49992 6.63542 7.80547 5.44792 8.41659C4.26042 9.0277 3.66667 9.55547 3.66667 9.99992C3.66667 10.3333 4.02083 10.7326 4.72917 11.1978C5.4375 11.6631 6.44444 12.0138 7.75 12.2499L6.66667 11.1666L7.83333 9.99992L11.1667 13.3333L7.83333 16.6666Z",fill:"currentColor"})})]}),EncryptedIcon=e=>jsxRuntime.jsxs("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_26898_28855",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"21",height:"20",children:jsxRuntime.jsx("rect",{x:"0.671875",width:"20",height:"20",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_26898_28855)",children:jsxRuntime.jsx("path",{d:"M9.42448 12.5001H11.9245L11.4453 9.81258C11.7231 9.67369 11.9418 9.4723 12.1016 9.20841C12.2613 8.94453 12.3411 8.65286 12.3411 8.33341C12.3411 7.87508 12.178 7.48272 11.8516 7.15633C11.5252 6.82994 11.1328 6.66675 10.6745 6.66675C10.2161 6.66675 9.82378 6.82994 9.4974 7.15633C9.17101 7.48272 9.00781 7.87508 9.00781 8.33341C9.00781 8.65286 9.08767 8.94453 9.2474 9.20841C9.40712 9.4723 9.62587 9.67369 9.90365 9.81258L9.42448 12.5001ZM10.6745 18.3334C8.74392 17.8473 7.15017 16.7397 5.89323 15.0105C4.63628 13.2813 4.00781 11.3612 4.00781 9.25008V4.16675L10.6745 1.66675L17.3411 4.16675V9.25008C17.3411 11.3612 16.7127 13.2813 15.4557 15.0105C14.1988 16.7397 12.605 17.8473 10.6745 18.3334ZM10.6745 16.5834C12.1189 16.1251 13.3134 15.2084 14.2578 13.8334C15.2023 12.4584 15.6745 10.9306 15.6745 9.25008V5.31258L10.6745 3.43758L5.67448 5.31258V9.25008C5.67448 10.9306 6.1467 12.4584 7.09115 13.8334C8.03559 15.2084 9.23003 16.1251 10.6745 16.5834Z",fill:"currentColor"})})]}),RoutingIcon=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("mask",{id:"mask0_27034_20191",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20",children:jsxRuntime.jsx("rect",{width:"20",height:"20",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_27034_20191)",children:jsxRuntime.jsx("path",{d:"M15.8333 17.2916C15.3131 17.2916 14.8497 17.1353 14.4431 16.8228C14.0366 16.5103 13.7687 16.111 13.6394 15.6249H9.16667C8.30347 15.6249 7.56681 15.3199 6.95667 14.7099C6.34667 14.0998 6.04167 13.3631 6.04167 12.4999C6.04167 11.6367 6.34667 10.9001 6.95667 10.2899C7.56681 9.67992 8.30347 9.37492 9.16667 9.37492H10.8333C11.349 9.37492 11.7904 9.19117 12.1575 8.82367C12.5247 8.45617 12.7083 8.01443 12.7083 7.49846C12.7083 6.98235 12.5247 6.54103 12.1575 6.1745C11.7904 5.80811 11.349 5.62492 10.8333 5.62492H6.36062C6.22271 6.11103 5.95264 6.51034 5.55042 6.82284C5.14819 7.13534 4.68694 7.29159 4.16667 7.29159C3.53014 7.29159 2.98903 7.06888 2.54333 6.62346C2.09778 6.17804 1.875 5.63721 1.875 5.00096C1.875 4.36457 2.09778 3.82339 2.54333 3.37742C2.98903 2.93131 3.53014 2.70825 4.16667 2.70825C4.68694 2.70825 5.14819 2.8645 5.55042 3.177C5.95264 3.4895 6.22271 3.88881 6.36062 4.37492H10.8333C11.6965 4.37492 12.4332 4.67992 13.0433 5.28992C13.6533 5.90006 13.9583 6.63672 13.9583 7.49992C13.9583 8.36311 13.6533 9.09978 13.0433 9.70992C12.4332 10.3199 11.6965 10.6249 10.8333 10.6249H9.16667C8.65097 10.6249 8.20958 10.8087 7.8425 11.1762C7.47528 11.5437 7.29167 11.9854 7.29167 12.5014C7.29167 13.0175 7.47528 13.4588 7.8425 13.8253C8.20958 14.1917 8.65097 14.3749 9.16667 14.3749H13.6394C13.7773 13.8888 14.0474 13.4895 14.4496 13.177C14.8518 12.8645 15.3131 12.7083 15.8333 12.7083C16.4699 12.7083 17.011 12.931 17.4567 13.3764C17.9022 13.8218 18.125 14.3626 18.125 14.9989C18.125 15.6353 17.9022 16.1764 17.4567 16.6224C17.011 17.0685 16.4699 17.2916 15.8333 17.2916ZM4.16667 6.04159C4.45625 6.04159 4.70222 5.94033 4.90458 5.73783C5.10708 5.53547 5.20833 5.2895 5.20833 4.99992C5.20833 4.71034 5.10708 4.46436 4.90458 4.262C4.70222 4.0595 4.45625 3.95825 4.16667 3.95825C3.87708 3.95825 3.63111 4.0595 3.42875 4.262C3.22625 4.46436 3.125 4.71034 3.125 4.99992C3.125 5.2895 3.22625 5.53547 3.42875 5.73783C3.63111 5.94033 3.87708 6.04159 4.16667 6.04159Z",fill:"currentColor"})})]}),HorizontalSwap=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_29218_23055",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_29218_23055)",children:jsxRuntime.jsx("path",{d:"M4.76852 12.9935L1.66602 9.891L4.76852 6.7885L5.47118 7.50133L3.58135 9.391H8.43518V10.391H3.58135L5.47118 12.2808L4.76852 12.9935ZM11.2302 9.20517L10.5275 8.49233L12.4173 6.6025H7.56352V5.60267H12.4173L10.5275 3.71283L11.2302 3L14.3327 6.1025L11.2302 9.20517Z",fill:"#FC79C1"})})]}),DollarChipIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_29218_23048",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_29218_23048)",children:jsxRuntime.jsx("path",{d:"M7.86533 10.6345H8.28467V10.1075C8.59578 10.0639 8.85967 9.93878 9.07633 9.732C9.293 9.52512 9.40133 9.25839 9.40133 8.93184C9.40133 8.64884 9.29022 8.41206 9.068 8.2215C8.84578 8.03095 8.59022 7.87456 8.30133 7.75234V6.46134C8.421 6.49045 8.52228 6.54495 8.60517 6.62484C8.68806 6.70473 8.74828 6.79812 8.78583 6.905L9.32183 6.68067C9.23972 6.46434 9.10622 6.2895 8.92133 6.15617C8.73645 6.02284 8.52978 5.93484 8.30133 5.89217V5.36517H7.86533V5.88184C7.55422 5.91428 7.29033 6.02495 7.07367 6.21384C6.857 6.40262 6.74867 6.6535 6.74867 6.9665C6.74867 7.25795 6.86256 7.50284 7.09033 7.70117C7.31811 7.89961 7.57644 8.05945 7.86533 8.18067V9.54217C7.67044 9.49517 7.50872 9.40606 7.38017 9.27484C7.2515 9.14362 7.16283 8.98912 7.11417 8.81134L6.5885 9.03567C6.67739 9.33189 6.83294 9.57517 7.05517 9.7655C7.27739 9.95595 7.54744 10.0734 7.86533 10.1178V10.6345ZM8.30133 9.53184V8.3485C8.44033 8.41195 8.56356 8.48806 8.671 8.57684C8.77833 8.66573 8.832 8.79089 8.832 8.95234C8.832 9.137 8.78222 9.26973 8.68267 9.3505C8.58311 9.43128 8.456 9.49173 8.30133 9.53184ZM7.86533 7.56784C7.73033 7.50373 7.60533 7.42745 7.49033 7.339C7.37544 7.25045 7.318 7.12628 7.318 6.9665C7.318 6.79984 7.37439 6.67784 7.48717 6.6005C7.59994 6.52317 7.726 6.47339 7.86533 6.45117V7.56784ZM5.33333 12.3332C4.12622 12.3332 3.10222 11.9128 2.26133 11.0722C1.42044 10.2316 1 9.20789 1 8.001C1 6.79423 1.42044 5.77011 2.26133 4.92867C3.10222 4.08723 4.12622 3.6665 5.33333 3.6665H10.6667C11.8738 3.6665 12.8978 4.08684 13.7387 4.9275C14.5796 5.76806 15 6.79178 15 7.99867C15 9.20545 14.5796 10.2296 13.7387 11.071C12.8978 11.9124 11.8738 12.3332 10.6667 12.3332H5.33333ZM5.33333 11.3332H10.6667C11.5889 11.3332 12.375 11.0082 13.025 10.3582C13.675 9.70817 14 8.92206 14 7.99984C14 7.07762 13.675 6.2915 13.025 5.6415C12.375 4.9915 11.5889 4.6665 10.6667 4.6665H5.33333C4.41111 4.6665 3.625 4.9915 2.975 5.6415C2.325 6.2915 2 7.07762 2 7.99984C2 8.92206 2.325 9.70817 2.975 10.3582C3.625 11.0082 4.41111 11.3332 5.33333 11.3332Z",fill:"#FC79C1"})})]}),GiftBoxIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_29218_23042",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_29218_23042)",children:jsxRuntime.jsx("path",{d:"M2.74302 14.3332V7.0767H1.66602V3.60253H5.11352C5.01952 3.49397 4.95563 3.3717 4.92185 3.2357C4.88807 3.09981 4.87118 2.95708 4.87118 2.80753C4.87118 2.30897 5.04568 1.88519 5.39468 1.53619C5.74368 1.18719 6.16746 1.0127 6.66602 1.0127C6.92157 1.0127 7.15835 1.06631 7.37635 1.17353C7.59424 1.28086 7.78907 1.42425 7.96085 1.60369C8.13263 1.41736 8.32752 1.27231 8.54552 1.16853C8.76341 1.06464 9.00013 1.0127 9.25568 1.0127C9.75435 1.0127 10.1782 1.18719 10.5272 1.53619C10.8762 1.88519 11.0507 2.30897 11.0507 2.80753C11.0507 2.95542 11.0321 3.09603 10.9948 3.22936C10.9576 3.3627 10.8955 3.48708 10.8083 3.60253H14.3327V7.0767H13.2557V14.3332H2.74302ZM9.25568 2.0127C9.03046 2.0127 8.84168 2.08886 8.68935 2.24119C8.53702 2.39353 8.46085 2.58231 8.46085 2.80753C8.46085 3.03275 8.53702 3.22153 8.68935 3.37386C8.84168 3.52631 9.03046 3.60253 9.25568 3.60253C9.48091 3.60253 9.66974 3.52631 9.82218 3.37386C9.97452 3.22153 10.0507 3.03275 10.0507 2.80753C10.0507 2.58231 9.97452 2.39353 9.82218 2.24119C9.66974 2.08886 9.48091 2.0127 9.25568 2.0127ZM5.87118 2.80753C5.87118 3.03275 5.94735 3.22153 6.09968 3.37386C6.25202 3.52631 6.44079 3.60253 6.66602 3.60253C6.89124 3.60253 7.08002 3.52631 7.23235 3.37386C7.38468 3.22153 7.46085 3.03275 7.46085 2.80753C7.46085 2.58231 7.38468 2.39353 7.23235 2.24119C7.08002 2.08886 6.89124 2.0127 6.66602 2.0127C6.44079 2.0127 6.25202 2.08886 6.09968 2.24119C5.94735 2.39353 5.87118 2.58231 5.87118 2.80753ZM2.66602 4.60236V6.07686H7.49935V4.60236H2.66602ZM7.49935 13.3332V7.0767H3.74285V13.3332H7.49935ZM8.49935 13.3332H12.2558V7.0767H8.49935V13.3332ZM13.3327 6.07686V4.60236H8.49935V6.07686H13.3327Z",fill:"#FC79C1"})})]}),RaiseHandIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_29218_23061",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_29218_23061)",children:jsxRuntime.jsx("path",{d:"M1.66602 14.7435V13.7435H14.3327V14.7435H1.66602ZM2.99935 13V9.43583C2.62413 8.75472 2.33757 8.0695 2.13968 7.38017C1.9419 6.69083 1.84302 6.01328 1.84302 5.3475C1.84302 4.74661 1.91952 4.14083 2.07252 3.53017C2.22552 2.9195 2.42935 2.26972 2.68402 1.58083C2.74724 1.40728 2.85107 1.26711 2.99552 1.16033C3.13996 1.05344 3.30446 1 3.48902 1C3.73524 1 3.94424 1.08783 4.11602 1.2635C4.28779 1.43917 4.35785 1.64533 4.32618 1.882L4.14935 3.32817C4.08268 3.88717 4.14163 4.42694 4.32618 4.9475C4.51085 5.46794 4.78246 5.92906 5.14102 6.33083C5.49957 6.7325 5.92585 7.05556 6.41985 7.3C6.91385 7.54444 7.44035 7.66667 7.99935 7.66667C8.67879 7.66667 9.32796 7.72544 9.94685 7.843C10.5656 7.96056 11.0993 8.13 11.548 8.35133C12.0096 8.58122 12.3668 8.87522 12.6198 9.23333C12.8728 9.59144 12.9993 10.0359 12.9993 10.5667V13H2.99935ZM3.99935 12H11.9993V10.5667C11.9993 10.2787 11.9263 10.0254 11.7802 9.807C11.634 9.58867 11.4215 9.41194 11.1428 9.27683C10.7344 9.08028 10.2494 8.92944 9.68785 8.82433C9.12629 8.71922 8.56346 8.66667 7.99935 8.66667C7.29168 8.66667 6.62607 8.51239 6.00252 8.20383C5.37907 7.89528 4.84363 7.48611 4.39618 6.97633C3.94874 6.46644 3.61068 5.88311 3.38202 5.22633C3.15335 4.56944 3.08135 3.894 3.16602 3.2C3.0549 3.53333 2.97435 3.88461 2.92435 4.25383C2.87435 4.62306 2.84935 4.98761 2.84935 5.3475C2.84935 5.95339 2.95574 6.56856 3.16852 7.193C3.3814 7.81733 3.65835 8.47267 3.99935 9.159V12ZM7.99935 6.84617C7.35579 6.84617 6.80602 6.61817 6.35002 6.16217C5.89402 5.70617 5.66602 5.15639 5.66602 4.51283C5.66602 3.86928 5.89402 3.3195 6.35002 2.8635C6.80602 2.4075 7.35579 2.1795 7.99935 2.1795C8.6429 2.1795 9.19268 2.4075 9.64868 2.8635C10.1047 3.3195 10.3327 3.86928 10.3327 4.51283C10.3327 5.15639 10.1047 5.70617 9.64868 6.16217C9.19268 6.61817 8.6429 6.84617 7.99935 6.84617ZM7.99935 5.84617C8.36602 5.84617 8.6799 5.71561 8.94102 5.4545C9.20213 5.19339 9.33268 4.8795 9.33268 4.51283C9.33268 4.14617 9.20213 3.83228 8.94102 3.57117C8.6799 3.31006 8.36602 3.1795 7.99935 3.1795C7.63268 3.1795 7.31879 3.31006 7.05768 3.57117C6.79657 3.83228 6.66602 4.14617 6.66602 4.51283C6.66602 4.8795 6.79657 5.19339 7.05768 5.4545C7.31879 5.71561 7.63268 5.84617 7.99935 5.84617ZM5.51218 13V12.5563C5.51218 11.8718 5.75129 11.2874 6.22952 10.8032C6.70774 10.3191 7.28913 10.077 7.97368 10.077H10.4352V11.0768H7.97368C7.56168 11.0768 7.21513 11.2215 6.93402 11.5108C6.65279 11.8002 6.51218 12.1487 6.51218 12.5563V13H5.51218Z",fill:"#FC79C1"})})]}),RowInfoIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_27901_26642",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"17",children:jsxRuntime.jsx("rect",{y:"0.000488281",width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_27901_26642)",children:jsxRuntime.jsx("path",{d:"M11.7692 13.103C11.1446 13.103 10.6167 12.8873 10.1853 12.4561C9.75411 12.0248 9.5385 11.4968 9.5385 10.8723C9.5385 10.2476 9.75411 9.71967 10.1853 9.28845C10.6167 8.85712 11.1446 8.64145 11.7692 8.64145C12.3938 8.64145 12.9218 8.85712 13.353 9.28845C13.7843 9.71967 14 10.2476 14 10.8723C14 11.4968 13.7843 12.0248 13.353 12.4561C12.9218 12.8873 12.3938 13.103 11.7692 13.103ZM11.7685 12.103C12.1083 12.103 12.3985 11.9829 12.6392 11.7428C12.8797 11.5026 13 11.2126 13 10.8729C13 10.5332 12.8799 10.2429 12.6397 10.0023C12.3996 9.76173 12.1096 9.64145 11.7698 9.64145C11.4301 9.64145 11.1399 9.76156 10.8993 10.0018C10.6588 10.2419 10.5385 10.5318 10.5385 10.8716C10.5385 11.2114 10.6586 11.5016 10.8987 11.7421C11.1389 11.9827 11.4288 12.103 11.7685 12.103ZM3 11.3723V10.3723H8.077V11.3723H3ZM4.23083 7.35945C3.60617 7.35945 3.07822 7.14378 2.647 6.71245C2.21567 6.28123 2 5.75328 2 5.12862C2 4.50406 2.21567 3.97612 2.647 3.54478C3.07822 3.11356 3.60617 2.89795 4.23083 2.89795C4.85539 2.89795 5.38333 3.11356 5.81467 3.54478C6.24589 3.97612 6.4615 4.50406 6.4615 5.12862C6.4615 5.75328 6.24589 6.28123 5.81467 6.71245C5.38333 7.14378 4.85539 7.35945 4.23083 7.35945ZM4.23017 6.35945C4.56994 6.35945 4.86011 6.23934 5.10067 5.99912C5.34122 5.759 5.4615 5.46906 5.4615 5.12928C5.4615 4.7895 5.34144 4.49934 5.10133 4.25878C4.86111 4.01823 4.57117 3.89795 4.2315 3.89795C3.89172 3.89795 3.6015 4.01801 3.36083 4.25812C3.12028 4.49834 3 4.78828 3 5.12795C3 5.46773 3.12011 5.75795 3.36033 5.99862C3.60044 6.23917 3.89039 6.35945 4.23017 6.35945ZM7.923 5.62862V4.62862H13V5.62862H7.923Z",fill:"#473C75"})})]}),FolderIcon=e=>jsxRuntime.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_30670_24677",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_30670_24677)",children:jsxRuntime.jsx("path",{d:"M3 21C2.45 21 1.97917 20.8042 1.5875 20.4125C1.19583 20.0208 1 19.55 1 19V6H3V19H20V21H3ZM7 17C6.45 17 5.97917 16.8042 5.5875 16.4125C5.19583 16.0208 5 15.55 5 15V4C5 3.45 5.19583 2.97917 5.5875 2.5875C5.97917 2.19583 6.45 2 7 2H12L14 4H21C21.55 4 22.0208 4.19583 22.4125 4.5875C22.8042 4.97917 23 5.45 23 6V15C23 15.55 22.8042 16.0208 22.4125 16.4125C22.0208 16.8042 21.55 17 21 17H7Z",fill:"currentColor"})})]}),ArrowInwardIcon=e=>jsxRuntime.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_30670_24680",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_30670_24680)",children:jsxRuntime.jsx("path",{d:"M10.513 3.29756L12.4929 3.29756V16.874L18.574 10.7929L19.9882 12.2071L11.5029 20.6924L3.01764 12.2071L4.43186 10.7929L10.513 16.874L10.513 3.29756Z",fill:"#473C75"})})]}),FaqIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_31176_36336",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:jsxRuntime.jsx("rect",{width:"16",height:"16",fill:"#D9D9D9"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_31176_36336)",children:jsxRuntime.jsx("path",{d:"M8.33594 14.0895L8.23344 12.3332H7.66927C6.18549 12.3332 4.92566 11.8152 3.88977 10.7793C2.85388 9.74345 2.33594 8.48362 2.33594 6.99984C2.33594 5.51606 2.85388 4.25623 3.88977 3.22034C4.92566 2.18445 6.18549 1.6665 7.66927 1.6665C8.41116 1.6665 9.10455 1.80517 9.74944 2.0825C10.3943 2.35984 10.959 2.74084 11.4436 3.2255C11.9283 3.71006 12.3093 4.27478 12.5866 4.91967C12.8639 5.56456 13.0026 6.25795 13.0026 6.99984C13.0026 7.75628 12.8847 8.48256 12.6488 9.17867C12.4129 9.87478 12.0887 10.5261 11.6763 11.1325C11.2639 11.7389 10.7723 12.2928 10.2013 12.794C9.63038 13.2953 9.0086 13.7272 8.33594 14.0895ZM9.33594 12.2332C10.1248 11.5665 10.7665 10.7859 11.2609 9.8915C11.7554 8.99706 12.0026 8.03317 12.0026 6.99984C12.0026 5.78873 11.5832 4.76373 10.7443 3.92484C9.90538 3.08595 8.88038 2.6665 7.66927 2.6665C6.45816 2.6665 5.43316 3.08595 4.59427 3.92484C3.75538 4.76373 3.33594 5.78873 3.33594 6.99984C3.33594 8.21095 3.75538 9.23595 4.59427 10.0748C5.43316 10.9137 6.45816 11.3332 7.66927 11.3332H9.33594V12.2332ZM7.67177 10.5152C7.8351 10.5152 7.97383 10.4581 8.08794 10.344C8.20194 10.2299 8.25894 10.0912 8.25894 9.928C8.25894 9.76478 8.20194 9.62612 8.08794 9.512C7.97383 9.39789 7.8351 9.34084 7.67177 9.34084C7.50855 9.34084 7.36988 9.39789 7.25577 9.512C7.14166 9.62612 7.0846 9.76478 7.0846 9.928C7.0846 10.0912 7.14166 10.2299 7.25577 10.344C7.36988 10.4581 7.50855 10.5152 7.67177 10.5152ZM7.2846 8.48184H8.07944C8.08799 8.1785 8.13099 7.95373 8.20844 7.8075C8.28577 7.66139 8.49577 7.41695 8.83844 7.07417C9.03422 6.8785 9.19344 6.6725 9.3161 6.45617C9.43877 6.23995 9.5001 6.00067 9.5001 5.73834C9.5001 5.21434 9.32122 4.81284 8.96344 4.53384C8.60577 4.25473 8.17866 4.11517 7.6821 4.11517C7.23166 4.11517 6.85155 4.23956 6.54177 4.48834C6.23188 4.737 6.01027 5.03656 5.87694 5.387L6.61794 5.67667C6.6906 5.48356 6.80899 5.30067 6.9731 5.128C7.13722 4.95534 7.37355 4.869 7.6821 4.869C8.02055 4.869 8.27227 4.96195 8.43727 5.14784C8.60216 5.33384 8.6846 5.5375 8.6846 5.75884C8.6846 5.96484 8.62799 6.14389 8.51477 6.296C8.40155 6.44812 8.26077 6.60839 8.09244 6.77684C7.73766 7.0845 7.51433 7.343 7.42244 7.55234C7.33055 7.76178 7.2846 8.07162 7.2846 8.48184Z",fill:"currentColor"})})]}),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:"currentColor"})}),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:"currentColor"})]}),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:"220",height:"35",viewBox:"0 0 220 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{clipPath:"url(#clip0_507_140)",children:[jsxRuntime.jsx("path",{d:"M17.0811 0.00585938C21.7376 0.00607155 25.5911 3.44023 26.249 7.91406C30.7237 8.57139 34.1592 12.4248 34.1592 17.082C34.159 21.7391 30.7236 25.5917 26.249 26.249C25.5919 30.7237 21.7382 34.159 17.0811 34.1592C12.4239 34.159 8.57024 30.7237 7.91309 26.249C3.43965 25.5907 0.00601578 21.7383 0.00585938 17.082C0.00585938 12.4256 3.43948 8.57232 7.91309 7.91406C8.57095 3.44017 12.4245 0.00607017 17.0811 0.00585938ZM14.4756 8.32227V10.2588H11.8662V12.5049H13.0244V21.5674H11.8662V23.8145H14.4756V25.8857H16.25V23.8145H17.251V25.8857H19.042V23.793C19.2905 23.7814 19.5402 23.7634 19.7412 23.7363C20.8221 23.5556 21.6847 23.117 22.3281 22.4199C22.9843 21.71 23.3124 20.8449 23.3125 19.8252C23.3125 19.0249 23.0613 18.3149 22.5596 17.6953C22.0577 17.0757 21.4338 16.6683 20.6875 16.4746C21.2278 16.2681 21.6845 15.9068 22.0576 15.3906C22.4308 14.8613 22.6172 14.2867 22.6172 13.667C22.6172 12.815 22.3537 12.0985 21.8262 11.5176C21.3115 10.9238 20.6162 10.5362 19.7412 10.3555C19.5447 10.3208 19.2936 10.2986 19.042 10.2842V8.32227H17.251V10.2588H16.25V8.32227H14.4756ZM18.4678 17.7334C19.1111 17.7334 19.639 17.9139 20.0508 18.2754C20.4753 18.6239 20.6874 19.076 20.6875 19.6309C20.6875 20.1988 20.4753 20.664 20.0508 21.0254C19.639 21.3868 19.1112 21.5674 18.4678 21.5674H15.6494V17.7334H18.4678ZM18.2744 12.5049C18.802 12.5049 19.2338 12.6533 19.5684 12.9502C19.9158 13.2342 20.0889 13.6029 20.0889 14.0547C20.0888 14.5193 19.9157 14.9004 19.5684 15.1973C19.2338 15.4813 18.802 15.623 18.2744 15.623H15.6494V12.5049H18.2744Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M47.8411 29.4865C44.0431 29.4865 41.7372 27.479 41.4388 24.9831H44.857C45.2097 26.2582 46.2948 26.8279 47.8411 26.8279C49.8487 26.8279 51.3136 25.7698 51.3136 23.7352V21.8905C50.6083 22.9756 49.0077 23.6538 47.2172 23.6538C43.5277 23.6538 40.8691 21.0495 40.8691 17.0616C40.8691 12.9923 43.5006 10.4422 47.2443 10.4422C49.0348 10.4422 50.554 11.1204 51.3136 12.1784V10.6592H54.7589V23.3825C54.7589 27.2891 52.1275 29.4865 47.8411 29.4865ZM47.8411 20.7239C49.8487 20.7239 51.3136 19.2047 51.3136 17.0616C51.3136 14.8641 49.8487 13.3721 47.8411 13.3721C45.8065 13.3721 44.3416 14.8641 44.3416 17.0616C44.3416 19.2319 45.8065 20.7239 47.8411 20.7239ZM61.0971 24.5491C58.1943 24.5491 56.3767 22.8128 56.3767 20.534C56.3767 17.8483 58.1943 16.4105 62.345 15.9764L65.0036 15.7051V15.4067C65.0036 13.9689 63.9727 13.1008 62.4264 13.1008C60.9886 13.1008 59.9306 13.8333 59.7407 15.2439H56.4038C56.7836 12.4226 59.2523 10.4422 62.4264 10.4422C65.9531 10.4422 68.4218 12.3683 68.4218 15.8679V24.332H65.0036V22.5958C64.4068 23.6809 62.8333 24.5491 61.0971 24.5491ZM65.0036 18.1738L62.4806 18.4994C60.5545 18.7164 59.7407 19.259 59.7407 20.3984C59.7407 21.4021 60.5545 21.9718 61.7753 21.9718C63.7286 21.9718 65.0036 20.3441 65.0036 18.3909V18.1738ZM70.356 24.332V10.6592H73.8013V12.504C74.5609 11.2018 76.0259 10.4422 77.7892 10.4422C78.3861 10.4422 78.8744 10.5236 79.3356 10.7406V13.9689C78.6574 13.7247 78.1148 13.6705 77.4908 13.6705C75.5104 13.6705 73.8013 15.2982 73.8013 19.1505V24.332H70.356ZM85.8168 24.5491C81.8017 24.5491 79.1703 21.7819 79.1703 17.4956C79.1703 13.2093 81.8017 10.4422 85.8168 10.4422C87.6073 10.4422 89.2892 11.2289 90.0488 12.3412V5.12497H93.4942V24.332H90.0488V22.6229C89.2892 23.7623 87.6073 24.5491 85.8168 24.5491ZM86.3593 21.592C88.5296 21.592 90.0488 19.9101 90.0488 17.4956C90.0488 15.0269 88.5296 13.3721 86.3593 13.3721C84.189 13.3721 82.6698 15.0269 82.6698 17.4956C82.6698 19.9372 84.189 21.592 86.3593 21.592ZM102.101 24.5491C97.8146 24.5491 95.0746 21.6192 95.0746 17.4956C95.0746 13.3721 97.9774 10.4422 101.965 10.4422C106.414 10.4422 109.154 13.8875 108.558 18.2281H98.52C98.7912 20.5069 100.229 21.6734 102.101 21.6734C103.783 21.6734 104.814 20.8596 105.058 19.8558H108.503C107.961 22.5958 105.899 24.5491 102.101 24.5491ZM98.6556 15.7051H105.004C104.922 14.1317 103.729 13.1008 101.965 13.1008C100.256 13.1008 99.0897 13.996 98.6556 15.7051ZM110.338 24.332V10.6592H113.783V12.4497C114.488 11.4188 116.089 10.4422 118.232 10.4422C121.189 10.4422 123.305 12.3412 123.305 15.5424V24.332H119.86V16.2748C119.86 14.5115 118.802 13.4535 117.228 13.4535C115.085 13.4535 113.783 15.2711 113.783 18.3909V24.332H110.338ZM132.664 24.5491C128.758 24.5491 126.018 21.6192 126.018 17.4956C126.018 13.3721 128.785 10.4422 132.61 10.4422C136.625 10.4422 139.148 13.5348 138.714 17.4956H127.754C127.754 20.8596 129.788 23.0299 132.664 23.0299C135.16 23.0299 136.652 21.6463 136.95 20.0457H138.687C138.225 22.4873 136.299 24.5491 132.664 24.5491ZM127.862 16.0849H136.978C136.978 13.5891 135.16 11.9614 132.61 11.9614C130.114 11.9614 128.323 13.5077 127.862 16.0849ZM148.538 24.332L144.659 18.635L140.779 24.332H138.826L143.682 17.1972L139.233 10.6592H141.24L144.686 15.7323L148.131 10.6592H150.057L145.662 17.1429L150.545 24.332H148.538ZM151.884 29.2694V10.6592H153.594V13.3992C154.435 11.6087 156.523 10.4422 158.748 10.4422C162.763 10.4422 165.476 13.2907 165.476 17.4956C165.476 21.7006 162.763 24.5491 158.748 24.5491C156.523 24.5491 154.435 23.3283 153.594 21.5649V29.2694H151.884ZM158.667 23.0299C161.597 23.0299 163.713 20.7511 163.713 17.4956C163.713 14.2402 161.597 11.9614 158.667 11.9614C155.737 11.9614 153.594 14.2402 153.594 17.4956C153.594 20.7239 155.737 23.0299 158.667 23.0299ZM167.734 24.332V5.12497H169.47V24.332H167.734ZM178.503 24.5491C174.569 24.5491 171.694 21.6192 171.694 17.4956C171.694 13.3721 174.569 10.4422 178.503 10.4422C182.437 10.4422 185.285 13.3721 185.285 17.4956C185.285 21.6192 182.409 24.5491 178.503 24.5491ZM178.503 23.0299C181.433 23.0299 183.549 20.7511 183.549 17.4956C183.549 14.2402 181.433 11.9614 178.503 11.9614C175.573 11.9614 173.457 14.2402 173.457 17.4956C173.457 20.7511 175.573 23.0299 178.503 23.0299ZM187.566 24.332V10.6592H189.275V13.7247C189.98 11.6087 191.662 10.4422 193.643 10.4422C194.213 10.4422 194.809 10.5507 195.271 10.7677V12.3954C194.511 12.1242 193.996 12.0699 193.453 12.0699C191.011 12.0699 189.275 14.5929 189.275 18.852V24.332H187.566ZM201.51 24.5491C197.604 24.5491 194.864 21.6192 194.864 17.4956C194.864 13.3721 197.631 10.4422 201.456 10.4422C205.471 10.4422 207.994 13.5348 207.56 17.4956H196.6C196.6 20.8596 198.635 23.0299 201.51 23.0299C204.006 23.0299 205.498 21.6463 205.797 20.0457H207.533C207.072 22.4873 205.146 24.5491 201.51 24.5491ZM196.709 16.0849H205.824C205.824 13.5891 204.006 11.9614 201.456 11.9614C198.96 11.9614 197.17 13.5077 196.709 16.0849ZM209.861 24.332V10.6592H211.57V13.7247C212.276 11.6087 213.958 10.4422 215.938 10.4422C216.508 10.4422 217.105 10.5507 217.566 10.7677V12.3954C216.806 12.1242 216.291 12.0699 215.748 12.0699C213.307 12.0699 211.57 14.5929 211.57 18.852V24.332H209.861Z",fill:"currentColor"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_507_140",children:jsxRuntime.jsx("rect",{width:"219.15",height:"34.1539",fill:"white"})})})]}),GardenFullLogo=e=>jsxRuntime.jsxs("svg",{width:"116",height:"34",viewBox:"0 0 116 34",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M103.691 10.6876H106.961V12.387C107.322 11.8549 107.871 11.4086 108.609 11.0481C109.365 10.6705 110.223 10.4816 111.184 10.4816C112.609 10.4816 113.768 10.9194 114.66 11.7948C115.553 12.6531 115.999 13.829 115.999 15.3224V23.665H112.729V16.0176C112.729 15.1936 112.497 14.5413 112.034 14.0607C111.588 13.5801 110.987 13.3397 110.232 13.3397C109.219 13.3397 108.421 13.7517 107.837 14.5757C107.253 15.3996 106.961 16.5497 106.961 18.026V23.665H103.691V10.6876Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M96.0804 23.8709C94.7586 23.8709 93.5914 23.5877 92.5786 23.0212C91.5658 22.4548 90.7762 21.6651 90.2097 20.6524C89.6604 19.6396 89.3857 18.4809 89.3857 17.1763C89.3857 15.8889 89.669 14.7387 90.2354 13.726C90.8019 12.7132 91.5744 11.9236 92.5528 11.3571C93.5484 10.7734 94.6728 10.4816 95.9259 10.4816C97.179 10.4816 98.2862 10.7563 99.2475 11.3056C100.209 11.8377 100.947 12.5844 101.462 13.5457C101.994 14.507 102.26 15.5799 102.26 16.7643C102.26 17.1076 102.234 17.4767 102.183 17.8715H92.6301C92.7502 18.9186 93.1193 19.7254 93.7373 20.2919C94.3552 20.8583 95.1277 21.1416 96.0547 21.1416C96.7756 21.1416 97.3764 20.9871 97.8571 20.6781C98.3377 20.3691 98.6553 19.9486 98.8098 19.4164H102.054C101.814 20.7554 101.161 21.8368 100.097 22.6608C99.0329 23.4675 97.694 23.8709 96.0804 23.8709ZM98.8098 15.4769C98.7926 14.7387 98.5179 14.1465 97.9858 13.7002C97.4537 13.2367 96.767 13.005 95.9259 13.005C94.2437 13.005 93.1965 13.829 92.7846 15.4769H98.8098Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M80.8408 23.8709C79.5705 23.8709 78.4547 23.5962 77.4934 23.0469C76.5321 22.4976 75.7854 21.7251 75.2533 20.7295C74.7211 19.7167 74.4551 18.5323 74.4551 17.1762C74.4551 15.8201 74.7211 14.6443 75.2533 13.6486C75.7854 12.6359 76.5321 11.8548 77.4934 11.3055C78.4547 10.7562 79.5705 10.4816 80.8408 10.4816C81.6647 10.4816 82.4372 10.6446 83.1581 10.9708C83.8791 11.2969 84.4112 11.7347 84.7545 12.284V5.43481H88.0504V23.6649H84.7545V22.0427C84.4112 22.592 83.8791 23.0383 83.1581 23.3816C82.4372 23.7078 81.6647 23.8709 80.8408 23.8709ZM77.7509 17.1762C77.7509 18.3263 78.0771 19.2704 78.7294 20.0086C79.3817 20.7295 80.2228 21.09 81.2527 21.09C82.2998 21.09 83.141 20.7295 83.7761 20.0086C84.4284 19.2704 84.7545 18.3263 84.7545 17.1762C84.7545 16.0089 84.4284 15.0648 83.7761 14.3439C83.141 13.6229 82.2998 13.2624 81.2527 13.2624C80.2228 13.2624 79.3817 13.6229 78.7294 14.3439C78.0771 15.0648 77.7509 16.0089 77.7509 17.1762Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M66.1152 10.6876H69.3853V12.4385C69.7458 11.8549 70.2694 11.3828 70.956 11.0224C71.6598 10.6619 72.4065 10.4816 73.1961 10.4816C73.7626 10.4816 74.2432 10.5675 74.638 10.7391V13.829C74.1059 13.623 73.5223 13.52 72.8871 13.52C71.8744 13.52 71.0332 13.9663 70.3638 14.8589C69.7115 15.7344 69.3853 17.0304 69.3853 18.747V23.665H66.1152V10.6876Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M57.4172 23.8709C56.0611 23.8709 54.971 23.519 54.1471 22.8152C53.3231 22.1115 52.9111 21.1931 52.9111 20.0601C52.9111 18.7727 53.366 17.7857 54.2758 17.099C55.2028 16.3952 56.6447 15.9403 58.6016 15.7344L61.125 15.4769V15.1936C61.125 14.5242 60.9018 13.992 60.4555 13.5972C60.0092 13.2024 59.417 13.005 58.6788 13.005C57.9922 13.005 57.4257 13.1852 56.9794 13.5457C56.5503 13.9062 56.2928 14.4212 56.207 15.0906H52.9884C53.1085 14.2324 53.4175 13.4513 53.9153 12.7475C54.4303 12.0437 55.0912 11.4944 55.898 11.0996C56.7219 10.6876 57.6489 10.4816 58.6788 10.4816C60.3954 10.4816 61.7773 10.9365 62.8244 11.8463C63.8715 12.7389 64.395 14.0006 64.395 15.6314V23.665H61.125V22.017C60.8331 22.5492 60.3439 22.9955 59.6573 23.356C58.9707 23.6993 58.2239 23.8709 57.4172 23.8709ZM56.1297 19.9314C56.1297 20.3777 56.3014 20.7296 56.6447 20.9871C56.988 21.2446 57.4601 21.3733 58.0609 21.3733C58.9878 21.3733 59.726 21.0558 60.2753 20.4206C60.8417 19.7683 61.125 18.9701 61.125 18.026V17.82L58.7303 18.129C57.8205 18.232 57.1597 18.4294 56.7477 18.7212C56.3357 18.9959 56.1297 19.3993 56.1297 19.9314Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M44.7926 28.5571C43.7284 28.5571 42.7671 28.3683 41.9088 27.9906C41.0505 27.6301 40.3553 27.1237 39.8231 26.4714C39.3082 25.8191 38.9906 25.0896 38.8704 24.2828H42.1148C42.2521 24.8321 42.5697 25.2612 43.0675 25.5702C43.5653 25.8792 44.1747 26.0337 44.8956 26.0337C45.8741 26.0337 46.6637 25.7762 47.2645 25.2612C47.8825 24.7634 48.1915 24.0425 48.1915 23.0984V21.3989C47.8138 21.9139 47.2903 22.3173 46.6208 22.6091C45.9513 22.901 45.2389 23.0469 44.4837 23.0469C43.2477 23.0469 42.1663 22.7894 41.2393 22.2744C40.3124 21.7594 39.6 21.0299 39.1022 20.0858C38.6044 19.1245 38.3555 18.0173 38.3555 16.7642C38.3555 15.4939 38.6044 14.3867 39.1022 13.4426C39.6 12.4985 40.3124 11.7689 41.2393 11.254C42.1663 10.739 43.2477 10.4815 44.4837 10.4815C45.2389 10.4815 45.9513 10.6274 46.6208 10.9192C47.2903 11.1939 47.8138 11.5801 48.1915 12.0779V10.6875H51.4615V22.7894C51.4615 23.991 51.1783 25.0209 50.6118 25.8792C50.0454 26.7547 49.2557 27.4156 48.243 27.8619C47.2473 28.3253 46.0972 28.5571 44.7926 28.5571ZM41.5226 16.7642C41.5226 17.8456 41.8315 18.7297 42.4495 19.4163C43.0675 20.0858 43.8743 20.4205 44.8699 20.4205C45.8483 20.4205 46.6465 20.0858 47.2645 19.4163C47.8825 18.7297 48.1915 17.8456 48.1915 16.7642C48.1915 15.6656 47.8825 14.7815 47.2645 14.1121C46.6465 13.4426 45.8483 13.1079 44.8699 13.1079C43.8743 13.1079 43.0675 13.4426 42.4495 14.1121C41.8315 14.7815 41.5226 15.6656 41.5226 16.7642Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M16.082 0.917969C20.4673 0.917978 24.096 4.15212 24.7158 8.36523C28.9295 8.98456 32.1641 12.6144 32.1641 17C32.1641 21.3856 28.9294 25.0144 24.7158 25.6338C24.0964 29.8474 20.4676 33.082 16.082 33.082C11.6964 33.082 8.06659 29.8474 7.44727 25.6338C3.23415 25.014 8.43986e-06 21.3853 0 17C0 12.6147 3.23408 8.98495 7.44727 8.36523C8.06698 4.15205 11.6967 0.917969 16.082 0.917969ZM13.6289 8.75195V10.5752H11.1719V12.6904H12.2637V21.2256H11.1719V23.3408H13.6289V25.292H15.3008V23.3408H16.2432V25.292H17.9307V23.3213C18.1647 23.3104 18.3996 23.2931 18.5889 23.2676C19.6068 23.0974 20.4185 22.6838 21.0244 22.0273C21.6424 21.3587 21.9521 20.5444 21.9521 19.584C21.9521 18.8303 21.7157 18.1616 21.2432 17.5781C20.7706 16.9946 20.1823 16.6121 19.4795 16.4297C19.9884 16.2352 20.4191 15.8945 20.7705 15.4082C21.1219 14.9098 21.2978 14.3686 21.2979 13.7852C21.2978 12.9828 21.0486 12.3078 20.5518 11.7607C20.067 11.2016 19.4128 10.8372 18.5889 10.667C18.4039 10.6343 18.1676 10.6132 17.9307 10.5996V8.75195H16.2432V10.5752H15.3008V8.75195H13.6289ZM17.3896 17.6143C17.9954 17.6143 18.4922 17.7847 18.8799 18.125C19.2797 18.4532 19.4794 18.8788 19.4795 19.4014C19.4795 19.9363 19.2798 20.3744 18.8799 20.7148C18.4922 21.0552 17.9954 21.2255 17.3896 21.2256H14.7354V17.6143H17.3896ZM17.208 12.6904C17.7047 12.6905 18.1108 12.8308 18.4258 13.1104C18.7527 13.3777 18.9159 13.7241 18.916 14.1494C18.916 14.587 18.7528 14.946 18.4258 15.2256C18.1108 15.493 17.7047 15.6269 17.208 15.627H14.7354V12.6904H17.208Z",fill:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M208.539 44.9712V87.3651H198.743V44.9712H208.539Z",fill:"currentColor"}),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:"currentColor"}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M316.976 47.1482V54.9968H306.321V87.3651H296.526V54.9968H285.871V47.1482H316.976Z",fill:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M94.1758 26.4247V9.57666H104.994V12.4567H97.3438V16.4707H104.328V19.3507H97.3438V23.5087H105.138V26.3887H94.1758V26.4247Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M107.515 26.4247V9.57666H110.683V23.5267H118.387V26.4067H107.515V26.4247Z",fill:"currentColor"}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M139.465 26.4228V12.4728H134.551V9.59277H147.547V12.4728H142.633V26.4228H139.465Z",fill:"currentColor"})]}),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:"currentColor"}),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:"currentColor"})]})]}),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:"currentColor"}),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:"currentColor"}),jsxRuntime.jsx("path",{d:"M80.4902 0.806885H84.7431V29.2293H80.4902V0.806885Z",fill:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]}),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:"currentColor"}),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:"currentColor"}),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:"currentColor"})]})]}),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:"currentColor"}),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:"currentColor"})]}),fillColorVariants={"garden-rose":"#F29FCD",iris:"#473C75",mist:"#E4EBF2",elderberry:"#181325"},GardenIcon=({variant:e,...t})=>{const i=e?fillColorVariants[e]:"currentColor";return jsxRuntime.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:jsxRuntime.jsx("path",{d:"M16 0C20.3629 1.90708e-07 23.9732 3.21759 24.5898 7.40918C28.782 8.02536 32 11.6367 32 16C32 20.3632 28.7819 23.9736 24.5898 24.5898C23.9736 28.7819 20.3632 32 16 32C11.6367 32 8.02536 28.782 7.40918 24.5898C3.21759 23.9732 2.34439e-07 20.3629 0 16C0 11.6371 3.21753 8.02577 7.40918 7.40918C8.02577 3.21753 11.6371 -1.9071e-07 16 0ZM13.5596 7.79395V9.6084H11.1152V11.7129H12.2012V20.2041H11.1152V22.3086H13.5596V24.25H15.2227V22.3086H16.1602V24.25H17.8389V22.2891C18.0718 22.2782 18.3057 22.2608 18.4941 22.2354C19.5069 22.066 20.3152 21.6551 20.918 21.002C21.5326 20.3368 21.8398 19.5265 21.8398 18.5713C21.8398 17.8214 21.6049 17.1557 21.1348 16.5752C20.6647 15.9948 20.0799 15.6141 19.3809 15.4326C19.8871 15.2391 20.3145 14.8997 20.6641 14.416C21.0136 13.9202 21.1884 13.3822 21.1885 12.8018C21.1885 12.0035 20.9416 11.3314 20.4473 10.7871C19.965 10.2309 19.3138 9.86853 18.4941 9.69922C18.31 9.66671 18.0747 9.64539 17.8389 9.63184V7.79395H16.1602V9.6084H15.2227V7.79395H13.5596ZM17.3008 16.6113C17.9033 16.6114 18.3975 16.7807 18.7832 17.1191C19.1811 17.4457 19.3809 17.8695 19.3809 18.3896C19.3808 18.9218 19.181 19.3577 18.7832 19.6963C18.3975 20.0347 17.9033 20.2041 17.3008 20.2041H14.6602V16.6113H17.3008ZM17.1201 11.7129C17.6141 11.7129 18.0177 11.8519 18.3311 12.1299C18.6565 12.3959 18.8193 12.7408 18.8193 13.1641C18.8193 13.5995 18.6566 13.9562 18.3311 14.2344C18.0177 14.5004 17.6142 14.6337 17.1201 14.6338H14.6602V11.7129H17.1201Z",fill:i})})},GardenIconOutline=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_20443_43161)",children:[jsxRuntime.jsx("mask",{id:"path-1-inside-1_20443_43161",fill:"white",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.98345 0C12.6777 0 14.9524 1.79919 15.6755 4.26352C18.1709 4.96525 20.0007 7.26101 20.0007 9.98485C20.0007 12.699 18.1839 14.9881 15.7021 15.6986C14.9913 18.1824 12.7071 20 9.99907 20C7.29077 20 5.00638 18.182 4.29585 15.6978C1.81541 14.9864 -1.18398e-07 12.698 0 9.98485C1.18278e-07 7.27444 1.81174 4.9879 4.28834 4.27401C5.00801 1.8043 7.28537 0 9.98345 0Z"})}),jsxRuntime.jsx("path",{d:"M15.6755 4.26352L14.2362 4.68583L14.47 5.48271L15.2694 5.70752L15.6755 4.26352ZM15.7021 15.6986L15.2892 14.2566L14.489 14.4857L14.26 15.2859L15.7021 15.6986ZM4.29585 15.6978L5.73802 15.2853L5.5092 14.4854L4.7094 14.256L4.29585 15.6978ZM0 9.98485H-1.5H0ZM4.28834 4.27401L4.7038 5.71533L5.49739 5.48658L5.72845 4.69366L4.28834 4.27401ZM15.6755 4.26352L17.1148 3.84121C16.2098 0.756843 13.3629 -1.5 9.98345 -1.5V0V1.5C11.9925 1.5 13.695 2.84153 14.2362 4.68583L15.6755 4.26352ZM20.0007 9.98485H21.5007C21.5007 6.57295 19.2084 3.69881 16.0815 2.81953L15.6755 4.26352L15.2694 5.70752C17.1335 6.2317 18.5007 7.94908 18.5007 9.98485H20.0007ZM15.7021 15.6986L16.1149 17.1407C19.2246 16.2505 21.5007 13.3847 21.5007 9.98485H20.0007H18.5007C18.5007 12.0133 17.1432 13.7258 15.2892 14.2566L15.7021 15.6986ZM9.99907 20V21.5C13.3957 21.5 16.2545 19.2201 17.1442 16.1113L15.7021 15.6986L14.26 15.2859C13.728 17.1446 12.0184 18.5 9.99907 18.5V20ZM4.29585 15.6978L2.85369 16.1103C3.74302 19.2196 6.60205 21.5 9.99907 21.5V20V18.5C7.97949 18.5 6.26974 17.1443 5.73802 15.2853L4.29585 15.6978ZM4.29585 15.6978L4.7094 14.256C2.85642 13.7245 1.5 12.0126 1.5 9.98485H0H-1.5C-1.5 13.3834 0.77439 16.2483 3.88231 17.1397L4.29585 15.6978ZM0 9.98485H1.5C1.5 7.95916 2.85367 6.24863 4.7038 5.71533L4.28834 4.27401L3.87288 2.8327C0.769816 3.72716 -1.5 6.58972 -1.5 9.98485H0ZM9.98345 0V-1.5C6.59923 -1.5 3.74899 0.76323 2.84824 3.85437L4.28834 4.27401L5.72845 4.69366C6.26704 2.84536 7.97151 1.5 9.98345 1.5V0Z",fill:"currentColor",mask:"url(#path-1-inside-1_20443_43161)"}),jsxRuntime.jsx("path",{d:"M11.5749 8.50235C11.5621 9.57535 9.91402 9.42991 9.38923 9.42335L9.41196 7.52459C9.93675 7.53115 11.5881 7.38196 11.5749 8.50235ZM11.9714 11.4605C11.9581 12.6407 9.98322 12.4814 9.35201 12.4738L9.38395 10.3823C10.0131 10.3911 11.9928 10.2298 11.9778 11.4623L11.9714 11.4605ZM13.3199 8.10089C13.2284 6.97293 12.2821 6.58529 11.0828 6.46077L11.1016 4.89867L10.1705 4.88634L10.1519 6.40806C9.90849 6.40469 9.65851 6.40657 9.41013 6.40888L9.42034 4.8796L8.49173 4.86443L8.47335 6.4249C8.27132 6.4276 8.07337 6.4279 7.8811 6.42624L6.59855 6.40909L6.58668 7.42605C6.58668 7.42605 7.27615 7.42144 7.26061 7.43478C7.52087 7.40429 7.75703 7.59263 7.79146 7.85812L7.77561 9.63212C7.80835 9.63249 7.84103 9.63498 7.87346 9.63958L7.7755 9.63913L7.74021 12.1307C7.72493 12.3168 7.56567 12.4554 7.38356 12.4411C7.39801 12.4451 6.70803 12.432 6.70803 12.432L6.50921 13.5648L7.72002 13.5799L8.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.1954L10.9636 15.2073L10.9847 13.63C12.5521 13.558 13.6487 13.1689 13.8023 11.6701C13.9245 10.4618 13.3792 9.91658 12.4964 9.68706C13.0395 9.41368 13.3846 8.92423 13.3135 8.09914L13.3199 8.10089Z",fill:"currentColor"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_20443_43161",children:jsxRuntime.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),NFTIcon=e=>jsxRuntime.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("mask",{id:"mask0_20443_43040",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"17",children:jsxRuntime.jsx("rect",{y:"0.000976562",width:"16",height:"16",fill:"currentColor"})}),jsxRuntime.jsx("g",{mask:"url(#mask0_20443_43040)",children:jsxRuntime.jsx("path",{d:"M6.3783 10.3343L8.0013 9.10098L9.59097 10.3215L8.9808 8.34964L10.6295 7.06248H8.6448L8.0013 5.07798L7.3578 7.06248H5.37314L6.98847 8.34964L6.3783 10.3343ZM2.87314 13.001C2.54069 13.001 2.25669 12.8833 2.02114 12.6478C1.78569 12.4123 1.66797 12.1283 1.66797 11.7958V9.96898C1.66797 9.85953 1.69941 9.76253 1.7623 9.67798C1.82508 9.59331 1.90902 9.53559 2.01414 9.50481C2.30647 9.36892 2.54408 9.1672 2.72697 8.89964C2.90986 8.6322 3.0013 8.33264 3.0013 8.00098C3.0013 7.66931 2.90986 7.36975 2.72697 7.10231C2.54408 6.83475 2.30647 6.63303 2.01414 6.49714C1.90902 6.46637 1.82508 6.40864 1.7623 6.32398C1.69941 6.23942 1.66797 6.14242 1.66797 6.03298V4.20614C1.66797 3.8737 1.78569 3.5897 2.02114 3.35414C2.25669 3.1187 2.54069 3.00098 2.87314 3.00098H13.1295C13.4619 3.00098 13.7459 3.1187 13.9815 3.35414C14.2169 3.5897 14.3346 3.8737 14.3346 4.20614V6.03298C14.3346 6.14242 14.3032 6.23942 14.2403 6.32398C14.1775 6.40864 14.0936 6.46637 13.9885 6.49714C13.6961 6.63303 13.4585 6.83475 13.2756 7.10231C13.0927 7.36975 13.0013 7.66931 13.0013 8.00098C13.0013 8.33264 13.0927 8.6322 13.2756 8.89964C13.4585 9.1672 13.6961 9.36892 13.9885 9.50481C14.0936 9.53559 14.1775 9.59331 14.2403 9.67798C14.3032 9.76253 14.3346 9.85953 14.3346 9.96898V11.7958C14.3346 12.1283 14.2169 12.4123 13.9815 12.6478C13.7459 12.8833 13.4619 13.001 13.1295 13.001H2.87314ZM2.87314 12.001H13.1295C13.1894 12.001 13.2385 11.9818 13.277 11.9433C13.3154 11.9049 13.3346 11.8557 13.3346 11.7958V10.301C12.9235 10.0565 12.5985 9.73153 12.3596 9.32598C12.1207 8.92042 12.0013 8.47875 12.0013 8.00098C12.0013 7.5232 12.1207 7.08153 12.3596 6.67598C12.5985 6.27042 12.9235 5.94542 13.3346 5.70098V4.20614C13.3346 4.14625 13.3154 4.09709 13.277 4.05864C13.2385 4.0202 13.1894 4.00098 13.1295 4.00098H2.87314C2.81325 4.00098 2.76408 4.0202 2.72564 4.05864C2.68719 4.09709 2.66797 4.14625 2.66797 4.20614V5.70098C3.07908 5.94542 3.40408 6.27042 3.64297 6.67598C3.88186 7.08153 4.0013 7.5232 4.0013 8.00098C4.0013 8.47875 3.88186 8.92042 3.64297 9.32598C3.40408 9.73153 3.07908 10.0565 2.66797 10.301V11.7958C2.66797 11.8557 2.68719 11.9049 2.72564 11.9433C2.76408 11.9818 2.81325 12.001 2.87314 12.001Z",fill:"currentColor"})})]}),GardenExplorerAlt=e=>jsxRuntime.jsxs("svg",{width:"341",height:"64",viewBox:"0 0 341 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M32 0C40.7253 0.000100715 47.9462 6.43473 49.1797 14.8174C57.564 16.0494 63.9998 23.2726 64 31.999C64 40.7256 57.5641 47.9486 49.1797 49.1807C47.9463 57.5635 40.7254 63.9979 32 63.998C23.2741 63.998 16.0512 57.5632 14.8184 49.1797C6.43515 47.9466 0 40.7248 0 31.999C0.000207237 23.2734 6.43523 16.0514 14.8184 14.8184C16.0514 6.43507 23.2742 -3.81417e-07 32 0ZM27.123 15.5869V19.2158H22.2344V23.4248H24.4053V40.4062H22.2344V44.6152L27.123 44.6162V48.498H30.4492V44.6162H32.3252V48.498H35.6807V44.5762C36.1466 44.5545 36.6153 44.5215 36.9922 44.4707C39.0175 44.132 40.6333 43.3092 41.8389 42.0029C43.0684 40.6725 43.6826 39.0515 43.6826 37.1406C43.6826 35.6409 43.2128 34.3105 42.2725 33.1494C41.3322 31.9884 40.163 31.2262 38.7646 30.8633C39.7772 30.4762 40.6329 29.7985 41.332 28.8311C42.0312 27.8393 42.3809 26.7626 42.3809 25.6016C42.3808 24.0052 41.8869 22.6627 40.8984 21.5742C39.934 20.4615 38.6317 19.7362 36.9922 19.3975C36.6238 19.3324 36.1525 19.2898 35.6807 19.2627V15.5869H32.3252V19.2158H30.4492V15.5869H27.123ZM34.6045 33.2217C35.8101 33.2217 36.7987 33.561 37.5703 34.2383C38.366 34.8914 38.7646 35.7381 38.7646 36.7783C38.7646 37.8425 38.3659 38.7134 37.5703 39.3906C36.7988 40.0678 35.81 40.4062 34.6045 40.4062H29.3242V33.2217H34.6045ZM34.2432 23.4248C35.17 23.4248 35.938 23.6692 36.5469 24.1582L36.7852 24.3613C37.3571 24.8786 37.6426 25.5346 37.6426 26.3281C37.6425 27.1988 37.3169 27.9125 36.666 28.4688C36.0392 29.0007 35.2316 29.2666 34.2432 29.2666H29.3242V23.4248H34.2432Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M91.56 53.599C85.96 53.599 82.56 50.639 82.12 46.959H87.16C87.68 48.839 89.28 49.679 91.56 49.679C94.52 49.679 96.68 48.119 96.68 45.119V42.399C95.64 43.999 93.28 44.999 90.64 44.999C85.2 44.999 81.28 41.159 81.28 35.279C81.28 29.279 85.16 25.519 90.68 25.519C93.32 25.519 95.56 26.519 96.68 28.079V25.839H101.76V44.599C101.76 50.359 97.88 53.599 91.56 53.599ZM91.56 40.679C94.52 40.679 96.68 38.439 96.68 35.279C96.68 32.039 94.52 29.839 91.56 29.839C88.56 29.839 86.4 32.039 86.4 35.279C86.4 38.479 88.56 40.679 91.56 40.679ZM111.105 46.319C106.825 46.319 104.145 43.759 104.145 40.399C104.145 36.439 106.825 34.319 112.945 33.679L116.865 33.279V32.839C116.865 30.719 115.345 29.439 113.065 29.439C110.945 29.439 109.385 30.519 109.105 32.599H104.185C104.745 28.439 108.385 25.519 113.065 25.519C118.265 25.519 121.905 28.359 121.905 33.519V45.999H116.865V43.439C115.985 45.039 113.665 46.319 111.105 46.319ZM116.865 36.919L113.145 37.399C110.305 37.719 109.105 38.519 109.105 40.199C109.105 41.679 110.305 42.519 112.105 42.519C114.985 42.519 116.865 40.119 116.865 37.239V36.919ZM124.957 45.999V25.839H130.037V28.559C131.157 26.639 133.317 25.519 135.917 25.519C136.797 25.519 137.517 25.639 138.197 25.959V30.719C137.197 30.359 136.397 30.279 135.477 30.279C132.557 30.279 130.037 32.679 130.037 38.359V45.999H124.957ZM147.673 46.319C141.753 46.319 137.873 42.239 137.873 35.919C137.873 29.599 141.753 25.519 147.673 25.519C150.313 25.519 152.793 26.679 153.913 28.319V17.679H158.993V45.999H153.913V43.479C152.793 45.159 150.313 46.319 147.673 46.319ZM148.473 41.959C151.673 41.959 153.913 39.479 153.913 35.919C153.913 32.279 151.673 29.839 148.473 29.839C145.273 29.839 143.033 32.279 143.033 35.919C143.033 39.519 145.273 41.959 148.473 41.959ZM171.564 46.319C165.244 46.319 161.204 41.999 161.204 35.919C161.204 29.839 165.484 25.519 171.364 25.519C177.924 25.519 181.964 30.599 181.084 36.999H166.284C166.684 40.359 168.804 42.079 171.564 42.079C174.044 42.079 175.564 40.879 175.924 39.399H181.004C180.204 43.439 177.164 46.319 171.564 46.319ZM166.484 33.279H175.844C175.724 30.959 173.964 29.439 171.364 29.439C168.844 29.439 167.124 30.759 166.484 33.279ZM183.388 45.999V25.839H188.468V28.479C189.508 26.959 191.868 25.519 195.028 25.519C199.388 25.519 202.508 28.319 202.508 33.039V45.999H197.428V34.119C197.428 31.519 195.868 29.959 193.548 29.959C190.388 29.959 188.468 32.639 188.468 37.239V45.999H183.388ZM214.708 46.319C208.948 46.319 204.908 41.999 204.908 35.919C204.908 29.839 208.988 25.519 214.628 25.519C220.548 25.519 224.268 30.079 223.628 35.919H207.468C207.468 40.879 210.468 44.079 214.708 44.079C218.388 44.079 220.588 42.039 221.028 39.679H223.588C222.908 43.279 220.068 46.319 214.708 46.319ZM207.628 33.839H221.068C221.068 30.159 218.388 27.759 214.628 27.759C210.948 27.759 208.308 30.039 207.628 33.839ZM238.113 45.999L232.393 37.599L226.673 45.999H223.793L230.953 35.479L224.393 25.839H227.353L232.433 33.319L237.513 25.839H240.353L233.873 35.399L241.073 45.999H238.113ZM243.047 53.279V25.839H245.567V29.879C246.807 27.239 249.887 25.519 253.167 25.519C259.087 25.519 263.087 29.719 263.087 35.919C263.087 42.119 259.087 46.319 253.167 46.319C249.887 46.319 246.807 44.519 245.567 41.919V53.279H243.047ZM253.047 44.079C257.367 44.079 260.487 40.719 260.487 35.919C260.487 31.119 257.367 27.759 253.047 27.759C248.727 27.759 245.567 31.119 245.567 35.919C245.567 40.679 248.727 44.079 253.047 44.079ZM266.417 45.999V17.679H268.977V45.999H266.417ZM282.295 46.319C276.495 46.319 272.255 41.999 272.255 35.919C272.255 29.839 276.495 25.519 282.295 25.519C288.095 25.519 292.295 29.839 292.295 35.919C292.295 41.999 288.055 46.319 282.295 46.319ZM282.295 44.079C286.615 44.079 289.735 40.719 289.735 35.919C289.735 31.119 286.615 27.759 282.295 27.759C277.975 27.759 274.855 31.119 274.855 35.919C274.855 40.719 277.975 44.079 282.295 44.079ZM295.658 45.999V25.839H298.178V30.359C299.218 27.239 301.698 25.519 304.618 25.519C305.458 25.519 306.338 25.679 307.018 25.999V28.399C305.898 27.999 305.138 27.919 304.338 27.919C300.738 27.919 298.178 31.639 298.178 37.919V45.999H295.658ZM316.219 46.319C310.459 46.319 306.419 41.999 306.419 35.919C306.419 29.839 310.499 25.519 316.139 25.519C322.059 25.519 325.779 30.079 325.139 35.919H308.979C308.979 40.879 311.979 44.079 316.219 44.079C319.899 44.079 322.099 42.039 322.539 39.679H325.099C324.419 43.279 321.579 46.319 316.219 46.319ZM309.139 33.839H322.579C322.579 30.159 319.899 27.759 316.139 27.759C312.459 27.759 309.819 30.039 309.139 33.839ZM328.532 45.999V25.839H331.052V30.359C332.092 27.239 334.572 25.519 337.492 25.519C338.332 25.519 339.212 25.679 339.892 25.999V28.399C338.772 27.999 338.012 27.919 337.212 27.919C333.612 27.919 331.052 31.639 331.052 37.919V45.999H328.532Z",fill:"currentColor"})]}),GardenDocs=e=>jsxRuntime.jsxs("svg",{width:"290",height:"64",viewBox:"0 0 290 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M32 0C40.7253 0.000100715 47.9462 6.43473 49.1797 14.8174C57.564 16.0494 63.9998 23.2726 64 31.999C64 40.7256 57.5641 47.9486 49.1797 49.1807C47.9463 57.5635 40.7254 63.9979 32 63.998C23.2741 63.998 16.0512 57.5632 14.8184 49.1797C6.43515 47.9466 0 40.7248 0 31.999C0.000207237 23.2734 6.43523 16.0514 14.8184 14.8184C16.0514 6.43507 23.2742 -3.81417e-07 32 0ZM27.123 15.5869V19.2158H22.2344V23.4248H24.4053V40.4062H22.2344V44.6152L27.123 44.6162V48.498H30.4492V44.6162H32.3252V48.498H35.6807V44.5762C36.1466 44.5545 36.6153 44.5215 36.9922 44.4707C39.0175 44.132 40.6333 43.3092 41.8389 42.0029C43.0684 40.6725 43.6826 39.0515 43.6826 37.1406C43.6826 35.6409 43.2128 34.3105 42.2725 33.1494C41.3322 31.9884 40.163 31.2262 38.7646 30.8633C39.7772 30.4762 40.6329 29.7985 41.332 28.8311C42.0312 27.8393 42.3809 26.7626 42.3809 25.6016C42.3808 24.0052 41.8869 22.6627 40.8984 21.5742C39.934 20.4615 38.6317 19.7362 36.9922 19.3975C36.6238 19.3324 36.1525 19.2898 35.6807 19.2627V15.5869H32.3252V19.2158H30.4492V15.5869H27.123ZM34.6045 33.2217C35.8101 33.2217 36.7987 33.561 37.5703 34.2383C38.366 34.8914 38.7646 35.7381 38.7646 36.7783C38.7646 37.8425 38.3659 38.7134 37.5703 39.3906C36.7988 40.0678 35.81 40.4062 34.6045 40.4062H29.3242V33.2217H34.6045ZM34.2432 23.4248C35.17 23.4248 35.938 23.6692 36.5469 24.1582L36.7852 24.3613C37.3571 24.8786 37.6426 25.5346 37.6426 26.3281C37.6425 27.1988 37.3169 27.9125 36.666 28.4688C36.0392 29.0007 35.2316 29.2666 34.2432 29.2666H29.3242V23.4248H34.2432Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M91.56 53.599C85.96 53.599 82.56 50.639 82.12 46.959H87.16C87.68 48.839 89.28 49.679 91.56 49.679C94.52 49.679 96.68 48.119 96.68 45.119V42.399C95.64 43.999 93.28 44.999 90.64 44.999C85.2 44.999 81.28 41.159 81.28 35.279C81.28 29.279 85.16 25.519 90.68 25.519C93.32 25.519 95.56 26.519 96.68 28.079V25.839H101.76V44.599C101.76 50.359 97.88 53.599 91.56 53.599ZM91.56 40.679C94.52 40.679 96.68 38.439 96.68 35.279C96.68 32.039 94.52 29.839 91.56 29.839C88.56 29.839 86.4 32.039 86.4 35.279C86.4 38.479 88.56 40.679 91.56 40.679ZM111.105 46.319C106.825 46.319 104.145 43.759 104.145 40.399C104.145 36.439 106.825 34.319 112.945 33.679L116.865 33.279V32.839C116.865 30.719 115.345 29.439 113.065 29.439C110.945 29.439 109.385 30.519 109.105 32.599H104.185C104.745 28.439 108.385 25.519 113.065 25.519C118.265 25.519 121.905 28.359 121.905 33.519V45.999H116.865V43.439C115.985 45.039 113.665 46.319 111.105 46.319ZM116.865 36.919L113.145 37.399C110.305 37.719 109.105 38.519 109.105 40.199C109.105 41.679 110.305 42.519 112.105 42.519C114.985 42.519 116.865 40.119 116.865 37.239V36.919ZM124.757 45.999V25.839H129.837V28.559C130.957 26.639 133.117 25.519 135.717 25.519C136.597 25.519 137.317 25.639 137.997 25.959V30.719C136.997 30.359 136.197 30.279 135.277 30.279C132.357 30.279 129.837 32.679 129.837 38.359V45.999H124.757ZM147.553 46.319C141.633 46.319 137.753 42.239 137.753 35.919C137.753 29.599 141.633 25.519 147.553 25.519C150.193 25.519 152.673 26.679 153.793 28.319V17.679H158.873V45.999H153.793V43.479C152.673 45.159 150.193 46.319 147.553 46.319ZM148.353 41.959C151.553 41.959 153.793 39.479 153.793 35.919C153.793 32.279 151.553 29.839 148.353 29.839C145.153 29.839 142.913 32.279 142.913 35.919C142.913 39.519 145.153 41.959 148.353 41.959ZM171.564 46.319C165.244 46.319 161.204 41.999 161.204 35.919C161.204 29.839 165.484 25.519 171.364 25.519C177.924 25.519 181.964 30.599 181.084 36.999H166.284C166.684 40.359 168.804 42.079 171.564 42.079C174.044 42.079 175.564 40.879 175.924 39.399H181.004C180.204 43.439 177.164 46.319 171.564 46.319ZM166.484 33.279H175.844C175.724 30.959 173.964 29.439 171.364 29.439C168.844 29.439 167.124 30.759 166.484 33.279ZM183.708 45.999V25.839H188.788V28.479C189.828 26.959 192.188 25.519 195.348 25.519C199.708 25.519 202.828 28.319 202.828 33.039V45.999H197.748V34.119C197.748 31.519 196.188 29.959 193.868 29.959C190.708 29.959 188.788 32.639 188.788 37.239V45.999H183.708ZM217.148 46.319C211.228 46.319 207.228 42.119 207.228 35.919C207.228 29.719 211.228 25.519 217.148 25.519C220.428 25.519 223.508 27.279 224.748 29.919V17.679H227.268V45.999H224.748V41.919C223.508 44.519 220.428 46.319 217.148 46.319ZM217.268 44.079C221.588 44.079 224.748 40.679 224.748 35.919C224.748 31.119 221.588 27.759 217.268 27.759C212.948 27.759 209.788 31.119 209.788 35.919C209.788 40.719 212.948 44.079 217.268 44.079ZM240.598 46.319C234.798 46.319 230.558 41.999 230.558 35.919C230.558 29.839 234.798 25.519 240.598 25.519C246.398 25.519 250.598 29.839 250.598 35.919C250.598 41.999 246.358 46.319 240.598 46.319ZM240.598 44.079C244.918 44.079 248.038 40.719 248.038 35.919C248.038 31.119 244.918 27.759 240.598 27.759C236.278 27.759 233.158 31.119 233.158 35.919C233.158 40.719 236.278 44.079 240.598 44.079ZM262.361 46.319C256.721 46.319 252.561 41.919 252.561 35.919C252.561 29.919 256.721 25.519 262.361 25.519C267.201 25.519 270.561 28.159 271.161 32.239H268.601C268.081 29.599 265.601 27.759 262.401 27.759C258.241 27.759 255.161 31.159 255.161 35.919C255.161 40.639 258.241 44.079 262.401 44.079C266.121 44.079 268.321 41.879 268.761 39.399H271.401C270.761 43.119 267.521 46.319 262.361 46.319ZM280.72 46.319C275.68 46.319 273.12 43.199 272.92 39.479H275.48C275.68 41.879 277.16 44.079 280.72 44.079C283.36 44.079 285.32 42.719 285.32 40.359C285.32 34.799 273.48 38.079 273.48 30.759C273.48 27.719 276.04 25.519 280.04 25.519C284.64 25.519 287.04 27.879 287.32 31.359H284.8C284.44 29.119 282.96 27.759 280.04 27.759C277.76 27.759 276 28.799 276 30.639C276 35.799 287.88 32.439 287.88 40.279C287.88 43.999 284.84 46.319 280.72 46.319Z",fill:"currentColor"})]}),CheckBox$1=({checked:e,color:t,...i})=>jsxRuntime.jsx("div",{...i,children:e?jsxRuntime.jsx(Checked,{className:"gf-cursor-pointer",color:t}):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})}),TokenNetworkLogos=({tokenLogo:e,chainLogo:t,className:i,iconStyle:n,...s})=>jsxRuntime.jsxs("div",{className:`gf-relative gf-flex gf-h-5 gf-items-center gf-justify-between ${t&&t!==e?"gf-w-[36px]":"gf-w-5"} ${i??""}`,...s,children:[jsxRuntime.jsx("img",{src:e,className:`gf-absolute gf-left-0 gf-z-30 gf-h-5 gf-w-5 ${n??""}`}),t&&t!==e&&jsxRuntime.jsx("img",{src:t,className:`gf-absolute gf-right-0 gf-z-20 gf-h-5 gf-w-5 ${n??""}`})]}),TokenInfo=({symbol:e,tokenLogo:t,chainLogo:i,className:n,...s})=>jsxRuntime.jsx("div",{className:cn("gf-flex gf-text-left gf-cursor-pointer gf-w-max",n),...s,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:"regular",children:e}),jsxRuntime.jsxs("div",{className:"gf-flex gf-items-center gf-gap-1",children:[jsxRuntime.jsx(TokenNetworkLogos,{tokenLogo:t||"",chainLogo:i||""}),jsxRuntime.jsx("span",{children:jsxRuntime.jsx(KeyboardDownIcon,{})})]})]})}),GradientScroll=({children:e,className:t,height:i,gradientHeight:n=24,onClose:s=!1,...a})=>{const[o,l]=React.useState(!0),[c,u]=React.useState(!0),f=React.useRef(null),d=React.useRef(null),p=()=>{if(f.current){const{scrollTop:b,scrollHeight:y,clientHeight:C}=f.current;l(b+C<y),u(b>0)}};return React.useEffect(()=>{s&&f.current&&(f.current.scrollTop=0)},[s]),React.useEffect(()=>{const b=f.current,y=d.current;if(!b||!y)return;p();const C=new ResizeObserver(()=>{p()});return C.observe(b),C.observe(y),()=>{C.disconnect()}},[]),jsxRuntime.jsxs("div",{className:cn("gf-w-full gf-bg-white gf-relative gf-overflow-hidden",t),style:{height:typeof i=="number"?`${i}px`:i},...a,children:[jsxRuntime.jsx("div",{className:"gf-h-full gf-w-full gf-overflow-auto gf-no-scrollbar",onScroll:p,ref:f,children:jsxRuntime.jsx("div",{ref:d,children:e})}),c&&jsxRuntime.jsx("div",{className:" gf-w-full gf-absolute gf-top-0 gf-left-0 gf-z-40 gf-bg-gradient-to-b gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none",style:{height:typeof n=="number"?`${n}px`:n}}),o&&jsxRuntime.jsx("div",{className:" gf-w-full gf-absolute gf-bottom-0 gf-left-0 gf-z-40 gf-bg-gradient-to-t gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none",style:{height:typeof n=="number"?`${n}px`:n}})]})},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=(...n)=>(process.env.NODE_ENV!=="production"&&warnOnce(!1,"motion() is deprecated. Use motion.create() instead."),e(...n));return new Proxy(i,{get:(n,s)=>s==="create"?e:(t.has(s)||t.set(s,e(s)),t.get(s))})}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 n=0;n<i;n++)if(t[n]!==e[n])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,n)=>{t[0][n]=i.get(),t[1][n]=i.getVelocity()}),t}function resolveVariantFromProps(e,t,i,n){if(typeof t=="function"){const[s,a]=getValueState(n);t=t(i!==void 0?i:e.custom,s,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,a]=getValueState(n);t=t(i!==void 0?i:e.custom,s,a)}return t}function resolveVariant(e,t,i){const n=e.getProps();return resolveVariantFromProps(n,t,i!==void 0?i:n.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:n,staggerDirection:s,repeat:a,repeatType:o,repeatDelay:l,from:c,elapsed:u,...f}){return!!Object.keys(f).length}function getValueTransition$1(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"},n){const s=e.filter(isNotNull),a=t&&i!=="loop"&&t%2===1?0:s.length-1;return!a||n===void 0?s[a]:n}const noop=e=>e;function createRenderStep(e){let t=new Set,i=new Set,n=!1,s=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(u){a.has(u)&&(c.schedule(u),e()),u(o)}const c={schedule:(u,f=!1,d=!1)=>{const b=d&&n?t:i;return f&&a.add(u),b.has(u)||b.add(u),u},cancel:u=>{i.delete(u),a.delete(u)},process:u=>{if(o=u,n){s=!0;return}n=!0,[t,i]=[i,t],i.clear(),t.forEach(l),n=!1,s&&(s=!1,c.process(u))}};return c}const stepsOrder=["read","resolveKeyframes","update","preRender","render","postRender"],maxElapsed=40;function createRenderBatcher(e,t){let i=!1,n=!0;const s={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,o=stepsOrder.reduce((m,x)=>(m[x]=createRenderStep(a),m),{}),{read:l,resolveKeyframes:c,update:u,preRender:f,render:d,postRender:p}=o,b=()=>{const m=performance.now();i=!1,s.delta=n?1e3/60:Math.max(Math.min(m-s.timestamp,maxElapsed),1),s.timestamp=m,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),f.process(s),d.process(s),p.process(s),s.isProcessing=!1,i&&t&&(n=!1,e(b))},y=()=>{i=!0,n=!0,s.isProcessing||e(b)};return{schedule:stepsOrder.reduce((m,x)=>{const g=o[x];return m[x]=(S,E=!1,M=!1)=>(i||y(),g.schedule(S,E,M)),m},{}),cancel:m=>{for(let x=0;x<stepsOrder.length;x++)o[stepsOrder[x]].cancel(m)},state:s,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,n,s]=t;return[`--${i??n}`,s]}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[n,s]=parseCSSVariable(e);if(!n)return;const a=window.getComputedStyle(t).getPropertyValue(n);if(a){const o=a.trim();return isNumericalString(o)?parseFloat(o):o}return isCSSVariableToken(s)?getVariableValue(s,t,i+1):s}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:n})=>{if(n==="none"||!n)return 0;const s=n.match(/^matrix3d\((.+)\)$/u);if(s)return getPosFromMatrix(s[1],t);{const a=n.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 n=e.getValue(i);n!==void 0&&(t.push([i,n.get()]),n.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(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),i=new Map;t.forEach(n=>{const s=removeNonTranslationalTransform(n);s.length&&(i.set(n,s),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();const s=i.get(n);s&&s.forEach(([a,o])=>{var l;(l=n.getValue(a))===null||l===void 0||l.set(o)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.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,n,s,a,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=i,this.name=n,this.motionValue=s,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:n,motionValue:s}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){const o=s==null?void 0:s.get(),l=t[t.length-1];if(o!==void 0)t[0]=o;else if(n&&i){const c=n.readValue(i,l);c!=null&&(t[0]=c)}t[0]===void 0&&(t[0]=l),s&&o===void 0&&s.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)=>n=>{if(!isString(n))return n;const[s,a,o,l]=n.match(floatRegex);return{[e]:parseFloat(s),[t]:parseFloat(a),[i]:parseFloat(o),alpha:l!==void 0?parseFloat(l):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:n=1})=>"rgba("+rgbUnit.transform(e)+", "+rgbUnit.transform(t)+", "+rgbUnit.transform(i)+", "+sanitize(alpha.transform(n))+")"};function parseHex(e){let t="",i="",n="",s="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),s=e.substring(4,5),t+=t,i+=i,n+=n,s+=s),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,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:n=1})=>"hsla("+Math.round(e)+", "+percent.transform(sanitize(t))+", "+percent.transform(sanitize(i))+", "+sanitize(alpha.transform(n))+")"},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=[],n={color:[],number:[],var:[]},s=[];let a=0;const l=t.replace(complexRegex,c=>(color.test(c)?(n.color.push(a),s.push(COLOR_TOKEN),i.push(color.parse(c))):c.startsWith(VAR_FUNCTION_TOKEN)?(n.var.push(a),s.push(VAR_TOKEN),i.push(c)):(n.number.push(a),s.push(NUMBER_TOKEN),i.push(parseFloat(c))),++a,SPLIT_TOKEN)).split(SPLIT_TOKEN);return{values:i,split:l,indexes:n,types:s}}function parseComplexValue(e){return analyseComplexValue(e).values}function createTransformer(e){const{split:t,types:i}=analyseComplexValue(e),n=t.length;return s=>{let a="";for(let o=0;o<n;o++)if(a+=t[o],s[o]!==void 0){const l=i[o];l===NUMBER_TOKEN?a+=sanitize(s[o]):l===COLOR_TOKEN?a+=color.transform(s[o]):a+=s[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[n]=i.match(floatRegex)||[];if(!n)return e;const s=i.replace(n,"");let a=maxDefaults.has(t)?1:0;return n!==i&&(a*=100),t+"("+a+s+")"}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 n=0,s;for(;n<e.length&&!s;){const a=e[n];typeof a=="string"&&!invalidTemplates.has(a)&&analyseComplexValue(a).values.length&&(s=e[n]),n++}if(s&&i)for(const a of t)e[a]=getAnimatableNone(i,s)}class DOMKeyframesResolver extends KeyframeResolver{constructor(t,i,n,s,a){super(t,i,n,s,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:i,name:n}=this;if(!i||!i.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let u=t[c];if(typeof u=="string"&&(u=u.trim(),isCSSVariableToken(u))){const f=getVariableValue(u,i.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!positionalKeys.has(n)||t.length!==2)return;const[s,a]=t,o=findDimensionValueType(s),l=findDimensionValueType(a);if(o!==l)if(isNumOrPxType(o)&&isNumOrPxType(l))for(let c=0;c<t.length;c++){const u=t[c];typeof u=="string"&&(t[c]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:i}=this,n=[];for(let s=0;s<t.length;s++)isNone(t[s])&&n.push(s);n.length&&makeNoneKeyframesAnimatable(t,n,i)}measureInitialState(){const{element:t,unresolvedKeyframes:i,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=positionalValues[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i[0]=this.measuredOrigin;const s=i[i.length-1];s!==void 0&&t.getValue(n,s).jump(s,!1)}measureEndState(){var t;const{element:i,name:n,unresolvedKeyframes:s}=this;if(!i||!i.current)return;const a=i.getValue(n);a&&a.jump(this.measuredOrigin,!1);const o=s.length-1,l=s[o];s[o]=positionalValues[n](i.measureViewportBox(),window.getComputedStyle(i.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([c,u])=>{i.getValue(c).set(u)}),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,n){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],o=isAnimatable(s,t),l=isAnimatable(a,t);return warning(o===l,`You are trying to animate ${t} from "${s}" to "${a}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${a} via the \`style\` property.`),!o||!l?!1:hasKeyframesChanged(e)||i==="spring"&&n}const MAX_RESOLVE_DELAY=40;class BaseAnimation{constructor({autoplay:t=!0,delay:i=0,type:n="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:o="loop",...l}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=time.now(),this.options={autoplay:t,delay:i,type:n,repeat:s,repeatDelay:a,repeatType:o,...l},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:n,type:s,velocity:a,delay:o,onComplete:l,onUpdate:c,isGenerator:u}=this.options;if(!u&&!canAnimate(t,n,s,a))if(o)this.options.duration=0;else{c==null||c(getFinalKeyframe(t,this.options,i)),l==null||l(),this.resolveFinishedPromise();return}const f=this.initPlayback(t,i);f!==!1&&(this._resolved={keyframes:t,finalKeyframe:i,...f},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 n=Math.max(t-velocitySampleDuration,0);return velocityPerSecond(i-e(n),t-n)}const safeMin=.001,minDuration=.01,maxDuration$1=10,minDamping=.05,maxDamping=1;function findSpring({duration:e=800,bounce:t=.25,velocity:i=0,mass:n=1}){let s,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?(s=u=>{const f=u*o,d=f*e,p=f-i,b=calcAngularFreq(u,o),y=Math.exp(-d);return safeMin-p/b*y},a=u=>{const d=u*o*e,p=d*i+i,b=Math.pow(o,2)*Math.pow(u,2)*e,y=Math.exp(-d),C=calcAngularFreq(Math.pow(u,2),o);return(-s(u)+safeMin>0?-1:1)*((p-b)*y)/C}):(s=u=>{const f=Math.exp(-u*e),d=(u-i)*e+1;return-safeMin+f*d},a=u=>{const f=Math.exp(-u*e),d=(i-u)*(e*e);return f*d});const l=5/e,c=approximateRoot(s,a,l);if(e=secondsToMilliseconds(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(c,2)*n;return{stiffness:u,damping:o*2*Math.sqrt(n*u),duration:e}}}const rootIterations=12;function approximateRoot(e,t,i){let n=i;for(let s=1;s<rootIterations;s++)n=n-e(n)/t(n);return n}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,...n}){const s=e[0],a=e[e.length-1],o={done:!1,value:s},{stiffness:l,damping:c,mass:u,duration:f,velocity:d,isResolvedFromDuration:p}=getSpringOptions({...n,velocity:-millisecondsToSeconds(n.velocity||0)}),b=d||0,y=c/(2*Math.sqrt(l*u)),C=a-s,R=millisecondsToSeconds(Math.sqrt(l/u)),m=Math.abs(C)<5;i||(i=m?.01:2),t||(t=m?.005:.5);let x;if(y<1){const g=calcAngularFreq(R,y);x=S=>{const E=Math.exp(-y*R*S);return a-E*((b+y*R*C)/g*Math.sin(g*S)+C*Math.cos(g*S))}}else if(y===1)x=g=>a-Math.exp(-R*g)*(C+(b+R*C)*g);else{const g=R*Math.sqrt(y*y-1);x=S=>{const E=Math.exp(-y*R*S),M=Math.min(g*S,300);return a-E*((b+y*R*C)*Math.sinh(M)+g*C*Math.cosh(M))/g}}return{calculatedDuration:p&&f||null,next:g=>{const S=x(g);if(p)o.done=g>=f;else{let E=0;y<1&&(E=g===0?secondsToMilliseconds(b):calcGeneratorVelocity(x,g,S));const M=Math.abs(E)<=i,L=Math.abs(a-S)<=t;o.done=M&&L}return o.value=o.done?a:S,o}}}function inertia({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:a=500,modifyTarget:o,min:l,max:c,restDelta:u=.5,restSpeed:f}){const d=e[0],p={done:!1,value:d},b=_=>l!==void 0&&_<l||c!==void 0&&_>c,y=_=>l===void 0?c:c===void 0||Math.abs(l-_)<Math.abs(c-_)?l:c;let C=i*t;const R=d+C,m=o===void 0?R:o(R);m!==R&&(C=m-d);const x=_=>-C*Math.exp(-_/n),g=_=>m+x(_),S=_=>{const I=x(_),$=g(_);p.done=Math.abs(I)<=u,p.value=p.done?m:$};let E,M;const L=_=>{b(p.value)&&(E=_,M=spring({keyframes:[p.value,y(p.value)],velocity:calcGeneratorVelocity(g,_,p.value),damping:s,stiffness:a,restDelta:u,restSpeed:f}))};return L(0),{calculatedDuration:null,next:_=>{let I=!1;return!M&&E===void 0&&(I=!0,S(_),L(_)),E!==void 0&&_>=E?M.next(_-E):(!I&&S(_),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,n,s){let a,o,l=0;do o=t+(i-t)/2,a=calcBezier(o,n,s)-e,a>0?i=o:t=o;while(Math.abs(a)>subdivisionPrecision&&++l<subdivisionMaxIterations);return o}function cubicBezier(e,t,i,n){if(e===t&&i===n)return noop;const s=a=>binarySubdivide(a,0,1,e,i);return a=>a===0||a===1?a:calcBezier(s(a),t,n)}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,n,s]=e;return cubicBezier(t,i,n,s)}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 n=t-e;return n===0?1:(i-e)/n},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:n}){e/=360,t/=100,i/=100;let s=0,a=0,o=0;if(!t)s=a=o=i;else{const l=i<.5?i*(1+t):i+t-i*t,c=2*i-l;s=hueToRgb(c,l,e+1/3),a=hueToRgb(c,l,e),o=hueToRgb(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:n}}function mixImmediate(e,t){return i=>i>0?t:e}const mixLinearColor=(e,t,i)=>{const n=e*e,s=i*(t*t-n)+n;return s<0?0:Math.sqrt(s)},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),n=asRGBA(t);if(!i||!n)return mixImmediate(e,t);const s={...i};return a=>(s.red=mixLinearColor(i.red,n.red,a),s.green=mixLinearColor(i.green,n.green,a),s.blue=mixLinearColor(i.blue,n.blue,a),s.alpha=mixNumber$1(i.alpha,n.alpha,a),rgba.transform(s))},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$1(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],n=i.length,s=e.map((a,o)=>getMixer$1(a)(a,t[o]));return a=>{for(let o=0;o<n;o++)i[o]=s[o](a);return i}}function mixObject(e,t){const i={...e,...t},n={};for(const s in i)e[s]!==void 0&&t[s]!==void 0&&(n[s]=getMixer$1(e[s])(e[s],t[s]));return s=>{for(const a in n)i[a]=n[a](s);return i}}function matchOrder(e,t){var i;const n=[],s={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const o=t.types[a],l=e.indexes[o][s[o]],c=(i=e.values[l])!==null&&i!==void 0?i:0;n[a]=c,s[o]++}return n}const mixComplex=(e,t)=>{const i=complex.createTransformer(t),n=analyseComplexValue(e),s=analyseComplexValue(t);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?invisibleValues.has(e)&&!s.values.length||invisibleValues.has(t)&&!n.values.length?mixVisibility(e,t):pipe(mixArray(matchOrder(n,s),s.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$1(e)(e,t)}function createMixers(e,t,i){const n=[],s=i||mix,a=e.length-1;for(let o=0;o<a;o++){let l=s(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||noop:t;l=pipe(c,l)}n.push(l)}return n}function interpolate(e,t,{clamp:i=!0,ease:n,mixer:s}={}){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,n,s),l=o.length,c=u=>{let f=0;if(l>1)for(;f<e.length-2&&!(u<e[f+1]);f++);const d=progress(e[f],e[f+1],u);return o[f](d)};return i?u=>c(clamp(e[0],e[a-1],u)):c}function fillOffset(e,t){const i=e[e.length-1];for(let n=1;n<=t;n++){const s=progress(0,t,n);e.push(mixNumber$1(i,1,s))}}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:n="easeInOut"}){const s=isEasingArray(n)?n.map(easingDefinitionToFunction):easingDefinitionToFunction(n),a={done:!1,value:t[0]},o=convertOffsetToTimes(i&&i.length===t.length?i:defaultOffset(t),e),l=interpolate(o,t,{ease:Array.isArray(s)?s:defaultEasing(t,s)});return{calculatedDuration:e,next:c=>(a.value=l(c),a.done=c>=e,a)}}const maxGeneratorDuration=2e4;function calcGeneratorDuration(e){let t=0;const i=50;let n=e.next(t);for(;!n.done&&t<maxGeneratorDuration;)t+=i,n=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:c}=this.options;c&&c()};const{name:i,motionValue:n,element:s,keyframes:a}=this.options,o=(s==null?void 0:s.KeyframeResolver)||KeyframeResolver,l=(c,u)=>this.onKeyframesResolved(c,u);this.resolver=new o(a,l,i,n,s),this.resolver.scheduleResolve()}initPlayback(t){const{type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:a,velocity:o=0}=this.options,l=generators[i]||keyframes;let c,u;l!==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}`),c=pipe(percentToProgress,mix(t[0],t[1])),t=[0,100]);const f=l({...this.options,keyframes:t});a==="mirror"&&(u=l({...this.options,keyframes:[...t].reverse(),velocity:-o})),f.calculatedDuration===null&&(f.calculatedDuration=calcGeneratorDuration(f));const{calculatedDuration:d}=f,p=d+s,b=p*(n+1)-s;return{generator:f,mirroredGenerator:u,mapPercentToKeyframes:c,calculatedDuration:d,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:n}=this;if(!n){const{keyframes:_}=this.options;return{done:!0,value:_[_.length-1]}}const{finalKeyframe:s,generator:a,mirroredGenerator:o,mapPercentToKeyframes:l,keyframes:c,calculatedDuration:u,totalDuration:f,resolvedDuration:d}=n;if(this.startTime===null)return a.next(0);const{delay:p,repeat:b,repeatType:y,repeatDelay:C,onUpdate:R}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-f/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 m=this.currentTime-p*(this.speed>=0?1:-1),x=this.speed>=0?m<0:m>f;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let g=this.currentTime,S=a;if(b){const _=Math.min(this.currentTime,f)/d;let I=Math.floor(_),$=_%1;!$&&_>=1&&($=1),$===1&&I--,I=Math.min(I,b+1),!!(I%2)&&(y==="reverse"?($=1-$,C&&($-=C/d)):y==="mirror"&&(S=o)),g=clamp(0,1,$)*d}const E=x?{done:!1,value:c[0]}:S.next(g);l&&(E.value=l(E.value));let{done:M}=E;!x&&u!==null&&(M=this.speed>=0?this.currentTime>=f:this.currentTime<=0);const L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&M);return L&&s!==void 0&&(E.value=getFinalKeyframe(c,this.options,s)),R&&R(E.value),L&&this.finish(),E}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:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),i&&i();const s=this.driver.now();this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=s):this.startTime=n??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,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,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:n=0,duration:s=300,repeat:a=0,repeatType:o="loop",ease:l,times:c}={}){const u={[t]:i};c&&(u.offset=c);const f=mapEasingToNativeEasing(l);return Array.isArray(f)&&(u.easing=f),e.animate(u,{delay:n,duration:s,easing:Array.isArray(f)?"linear":f,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 n={done:!1,value:e[0]};const s=[];let a=0;for(;!n.done&&a<maxDuration;)n=i.sample(a),s.push(n.value),a+=sampleDelta;return{times:void 0,keyframes:s,duration:a-sampleDelta,ease:"linear"}}class AcceleratedAnimation extends BaseAnimation{constructor(t){super(t);const{name:i,motionValue:n,element:s,keyframes:a}=this.options;this.resolver=new DOMKeyframesResolver(a,(o,l)=>this.onKeyframesResolved(o,l),i,n,s),this.resolver.scheduleResolve()}initPlayback(t,i){var n;let{duration:s=300,times:a,ease:o,type:l,motionValue:c,name:u,startTime:f}=this.options;if(!(!((n=c.owner)===null||n===void 0)&&n.current))return!1;if(requiresPregeneratedKeyframes(this.options)){const{onComplete:p,onUpdate:b,motionValue:y,element:C,...R}=this.options,m=pregenerateKeyframes(t,R);t=m.keyframes,t.length===1&&(t[1]=t[0]),s=m.duration,a=m.times,o=m.ease,l="keyframes"}const d=animateStyle(c.owner.current,u,t,{...this.options,duration:s,times:a,ease:o});return d.startTime=f??this.calcStartTime(),this.pendingTimeline?(d.timeline=this.pendingTimeline,this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:p}=this.options;c.set(getFinalKeyframe(t,this.options,i)),p&&p(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:s,times:a,type:l,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:n}=i;n.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:n}=i;n.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:n}=i;n.timeline=t,n.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:n,duration:s,type:a,ease:o,times:l}=t;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:f,onComplete:d,element:p,...b}=this.options,y=new MainThreadAnimation({...b,keyframes:n,duration:s,type:a,ease:o,times:l,isGenerator:!0}),C=secondsToMilliseconds(this.time);u.setWithVelocity(y.sample(C-sampleDelta).value,y.sample(C).value,sampleDelta)}const{onStop:c}=this.options;c&&c(),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:n,repeatDelay:s,repeatType:a,damping:o,type:l}=t;return supportsWaapi()&&n&&acceleratedValues.has(n)&&i&&i.owner&&i.owner.current instanceof HTMLElement&&!i.owner.getProps().onUpdate&&!s&&a!=="mirror"&&o!==0&&l!=="inertia"}}function observeTimeline(e,t){let i;const n=()=>{const{currentTime:s}=t,o=(s===null?0:s.value)/100;i!==o&&e(o),i=o};return frame.update(n,!0),()=>cancelFrame(n)}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 n=0;n<this.animations.length;n++)this.animations[n][t]=i}attachTimeline(t){const i=this.animations.map(n=>{if(supportsScrollTimeline()&&n.attachTimeline)n.attachTimeline(t);else return n.pause(),observeTimeline(s=>{n.time=n.duration*s},t)});return()=>{i.forEach((n,s)=>{n&&n(),this.animations[s].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,n={},s,a,o)=>l=>{const c=getValueTransition$1(n,e)||{},u=c.delay||n.delay||0;let{elapsed:f=0}=n;f=f-secondsToMilliseconds(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-f,onUpdate:b=>{t.set(b),c.onUpdate&&c.onUpdate(b)},onComplete:()=>{l(),c.onComplete&&c.onComplete(),o&&o()},onStop:o,name:e,motionValue:t,element:a?void 0:s};isTransitionDefined(c)||(d={...d,...getDefaultTransition(e,d)}),d.duration&&(d.duration=secondsToMilliseconds(d.duration)),d.repeatDelay&&(d.repeatDelay=secondsToMilliseconds(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let p=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(p=!0)),p&&!a&&t.get()!==void 0){const b=getFinalKeyframe(d.keyframes,c);if(b!==void 0)return frame.update(()=>{d.onUpdate(b),d.onComplete()}),new GroupPlaybackControls([])}return!a&&AcceleratedAnimation.supports(d)?new AcceleratedAnimation(d):new MainThreadAnimation(d)},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,n){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,i,n);else for(let a=0;a<s;a++){const o=this.subscriptions[a];o&&o(t,i,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const MAX_VELOCITY_DELTA=30,isFloat=e=>!isNaN(parseFloat(e)),collectMotionValues={current:void 0};class MotionValue{constructor(t,i={}){this.version="11.5.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,s=!0)=>{const a=time.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),s&&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 n=this.events[t].add(i);return t==="change"?()=>{n(),frame.read(()=>{this.events.change.getSize()||this.stop()})}:n}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,n){this.set(i),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}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 collectMotionValues.current&&collectMotionValues.current.push(this),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:n={},transition:s={},...a}=i||{};a={...a,...n};for(const o in a){const l=resolveFinalValueInKeyframes(a[o]);setMotionValue(e,o,l)}}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 n=this.counts.get(i)||0;this.counts.set(i,n+1),n===0&&(this.output.push(i),this.update());let s=!1;return()=>{if(s)return;s=!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 n=e.getValue("willChange");if(!n&&!(!((i=e.props.style)===null||i===void 0)&&i.willChange)&&(n=new WillChangeMotionValue("auto"),e.addValue("willChange",n)),isWillChangeMotionValue(n))return n.add(t)}function shouldBlockAnimation({protectedKeys:e,needsAnimating:t},i){const n=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,n}function animateTarget(e,t,{delay:i=0,transitionOverride:n,type:s}={}){var a;let{transition:o=e.getDefaultTransition(),transitionEnd:l,...c}=t;n&&(o=n);const u=[],f=s&&e.animationState&&e.animationState.getState()[s];for(const d in c){const p=e.getValue(d,(a=e.latestValues[d])!==null&&a!==void 0?a:null),b=c[d];if(b===void 0||f&&shouldBlockAnimation(f,d))continue;const y={delay:i,...getValueTransition$1(o||{},d)};let C=!1;if(window.MotionHandoffAnimation){const m=getOptimisedAppearId(e);if(m){const x=window.MotionHandoffAnimation(m,d,frame);x!==null&&(y.startTime=x,C=!0)}}p.start(animateMotionValue(d,p,b,e.shouldReduceMotion&&transformProps.has(d)?{type:!1}:y,e,C,addValueToWillChange(e,d)));const R=p.animation;R&&u.push(R)}return l&&Promise.all(u).then(()=>{frame.update(()=>{l&&setTarget(e,l)})}),u}function animateVariant(e,t,i={}){var n;const s=resolveVariant(e,t,i.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(a=i.transitionOverride);const o=s?()=>Promise.all(animateTarget(e,s,i)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:f=0,staggerChildren:d,staggerDirection:p}=a;return animateChildren(e,t,f+u,d,p,i)}:()=>Promise.resolve(),{when:c}=a;if(c){const[u,f]=c==="beforeChildren"?[o,l]:[l,o];return u().then(()=>f())}else return Promise.all([o(),l(i.delay)])}function animateChildren(e,t,i=0,n=0,s=1,a){const o=[],l=(e.variantChildren.size-1)*n,c=s===1?(u=0)=>u*n:(u=0)=>l-u*n;return Array.from(e.variantChildren).sort(sortByTreeOrder).forEach((u,f)=>{u.notify("AnimationStart",t),o.push(animateVariant(u,t,{...a,delay:i+c(f)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function sortByTreeOrder(e,t){return e.sortNodePosition(t)}function animateVisualElement(e,t,i={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const s=t.map(a=>animateVariant(e,a,i));n=Promise.all(s)}else if(typeof t=="string")n=animateVariant(e,t,i);else{const s=typeof t=="function"?resolveVariant(e,t,i.custom):t;n=Promise.all(animateTarget(e,s,i))}return n.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 n=variantProps[i],s=e.props[n];(isVariantLabel(s)||s===!1)&&(t[n]=s)}return t}const reversePriorityOrder=[...variantPriorityOrder].reverse(),numAnimationTypes=variantPriorityOrder.length;function animateList(e){return t=>Promise.all(t.map(({animation:i,options:n})=>animateVisualElement(e,i,n)))}function createAnimationState(e){let t=animateList(e),i=createState(),n=!0;const s=c=>(u,f)=>{var d;const p=resolveVariant(e,f,c==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(p){const{transition:b,transitionEnd:y,...C}=p;u={...u,...C,...y}}return u};function a(c){t=c(e)}function o(c){const{props:u}=e,f=getVariantContext(e.parent)||{},d=[],p=new Set;let b={},y=1/0;for(let R=0;R<numAnimationTypes;R++){const m=reversePriorityOrder[R],x=i[m],g=u[m]!==void 0?u[m]:f[m],S=isVariantLabel(g),E=m===c?x.isActive:null;E===!1&&(y=R);let M=g===f[m]&&g!==u[m]&&S;if(M&&n&&e.manuallyAnimateOnMount&&(M=!1),x.protectedKeys={...b},!x.isActive&&E===null||!g&&!x.prevProp||isAnimationControls(g)||typeof g=="boolean")continue;const L=checkVariantsDidChange(x.prevProp,g);let _=L||m===c&&x.isActive&&!M&&S||R>y&&S,I=!1;const $=Array.isArray(g)?g:[g];let z=$.reduce(s(m),{});E===!1&&(z={});const{prevResolvedValues:O={}}=x,N={...O,...z},K=V=>{_=!0,p.has(V)&&(I=!0,p.delete(V)),x.needsAnimating[V]=!0;const P=e.getValue(V);P&&(P.liveStyle=!1)};for(const V in N){const P=z[V],T=O[V];if(b.hasOwnProperty(V))continue;let k=!1;isKeyframesTarget(P)&&isKeyframesTarget(T)?k=!shallowCompare(P,T):k=P!==T,k?P!=null?K(V):p.add(V):P!==void 0&&p.has(V)?K(V):x.protectedKeys[V]=!0}x.prevProp=g,x.prevResolvedValues=z,x.isActive&&(b={...b,...z}),n&&e.blockInitialAnimation&&(_=!1),_&&(!(M&&L)||I)&&d.push(...$.map(V=>({animation:V,options:{type:m}})))}if(p.size){const R={};p.forEach(m=>{const x=e.getBaseTarget(m),g=e.getValue(m);g&&(g.liveStyle=!0),R[m]=x??null}),d.push({animation:R})}let C=!!d.length;return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(C=!1),n=!1,C?t(d):Promise.resolve()}function l(c,u){var f;if(i[c].isActive===u)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(p=>{var b;return(b=p.animationState)===null||b===void 0?void 0:b.setActive(c,u)}),i[c].isActive=u;const d=o(c);for(const p in i)i[p].protectedKeys={};return d}return{animateChanges:o,setActive:l,setAnimateFunction:a,getState:()=>i,reset:()=>{i=createState(),n=!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:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const s=this.node.animationState.setActive("exit",!t);i&&!t&&s.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,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}function addPointerEvent(e,t,i,n){return addDomEvent(e,t,addPointerInfo(i),n)}const distance=(e,t)=>Math.abs(e-t);function distance2D(e,t){const i=distance(e.x,t.x),n=distance(e.y,t.y);return Math.sqrt(i**2+n**2)}class PanSession{constructor(t,i,{transformPagePoint:n,contextWindow:s,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 d=getPanInfo(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,b=distance2D(d.offset,{x:0,y:0})>=3;if(!p&&!b)return;const{point:y}=d,{timestamp:C}=frameData;this.history.push({...y,timestamp:C});const{onStart:R,onMove:m}=this.handlers;p||(R&&R(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,d)},this.handlePointerMove=(d,p)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=transformPoint(p,this.transformPagePoint),frame.update(this.updatePoint,!0)},this.handlePointerUp=(d,p)=>{this.end();const{onEnd:b,onSessionEnd:y,resumeAnimation:C}=this.handlers;if(this.dragSnapToOrigin&&C&&C(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const R=getPanInfo(d.type==="pointercancel"?this.lastMoveEventInfo:transformPoint(p,this.transformPagePoint),this.history);this.startEvent&&b&&b(d,R),y&&y(d,R)},!isPrimaryPointer(t))return;this.dragSnapToOrigin=a,this.handlers=i,this.transformPagePoint=n,this.contextWindow=s||window;const o=extractEventInfo(t),l=transformPoint(o,this.transformPagePoint),{point:c}=l,{timestamp:u}=frameData;this.history=[{...c,timestamp:u}];const{onSessionStart:f}=i;f&&f(t,getPanInfo(l,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,n=null;const s=lastDevicePoint(e);for(;i>=0&&(n=e[i],!(s.timestamp-n.timestamp>secondsToMilliseconds(t)));)i--;if(!n)return{x:0,y:0};const a=millisecondsToSeconds(s.timestamp-n.timestamp);if(a===0)return{x:0,y:0};const o={x:(s.x-n.x)/a,y:(s.y-n.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(),n=globalVerticalLock();i&&n?t=()=>{i(),n()}:(i&&i(),n&&n())}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,n=.5){e.origin=n,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,n){calcAxisDelta(e.x,t.x,i.x,n?n.originX:void 0),calcAxisDelta(e.y,t.y,i.y,n?n.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},n){return t!==void 0&&e<t?e=n?mixNumber$1(t,e,n.min):Math.max(e,t):i!==void 0&&e>i&&(e=n?mixNumber$1(i,e,n.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:n,right:s}){return{x:calcRelativeAxisConstraints(e.x,i,s),y:calcRelativeAxisConstraints(e.y,t,n)}}function calcViewportAxisConstraints(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}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 n=calcLength(e),s=calcLength(t);return s>n?i=progress(t.min,t.max-n,e.min):n>s&&(i=progress(e.min,e.max-s,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:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}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}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.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 n=e-i,s=t*n;return i+s}function applyPointDelta(e,t,i,n,s){return s!==void 0&&(e=scalePoint(e,s,n)),scalePoint(e,i,n)+t}function applyAxisDelta(e,t=0,i=1,n,s){e.min=applyPointDelta(e.min,t,i,n,s),e.max=applyPointDelta(e.max,t,i,n,s)}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,n=!1){const s=i.length;if(!s)return;t.x=t.y=1;let a,o;for(let l=0;l<s;l++){a=i[l],o=a.projectionDelta;const{visualElement:c}=a.options;c&&c.props.style&&c.props.style.display==="contents"||(n&&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)),n&&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,n,s=.5){const a=mixNumber$1(e.min,e.max,s);applyAxisDelta(e,t,i,a,n)}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 n=measureViewportBox(e,i),{scroll:s}=t;return s&&(translateAxis(n.x,s.offset.x),translateAxis(n.y,s.offset.y)),n}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:n}=this.visualElement;if(n&&n.isPresent===!1)return;const s=f=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(extractEventInfo(f,"page").point)},a=(f,d)=>{var p;const{drag:b,dragPropagation:y,onDragStart:C}=this.getProps();if(b&&!y&&(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(m=>{let x=this.getAxisMotionValue(m).get()||0;if(percent.test(x)){const{projection:g}=this.visualElement;if(g&&g.layout){const S=g.layout.layoutBox[m];S&&(x=calcLength(S)*(parseFloat(x)/100))}}this.originPoint[m]=x}),C&&frame.postRender(()=>C(f,d)),(p=this.removeWillChange)===null||p===void 0||p.call(this),this.removeWillChange=addValueToWillChange(this.visualElement,"transform");const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},o=(f,d)=>{const{dragPropagation:p,dragDirectionLock:b,onDirectionLock:y,onDrag:C}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:R}=d;if(b&&this.currentDirection===null){this.currentDirection=getCurrentDirection(R),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",d.point,R),this.updateAxis("y",d.point,R),this.visualElement.render(),C&&C(f,d)},l=(f,d)=>this.stop(f,d),c=()=>eachAxis(f=>{var d;return this.getAnimationState(f)==="paused"&&((d=this.getAxisMotionValue(f).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new PanSession(t,{onSessionStart:s,onStart:a,onMove:o,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:getContextWindow(this.visualElement)})}stop(t,i){var n;(n=this.removeWillChange)===null||n===void 0||n.call(this);const s=this.isDragging;if(this.cancel(),!s)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:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(t,i,n){const{drag:s}=this.getProps();if(!n||!shouldDrag(t,s,this.currentDirection))return;const a=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[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:n}=this.getProps(),s=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&&s?this.constraints=calcRelativeConstraints(s.layoutBox,i):this.constraints=!1,this.elastic=resolveDragElastic(n),a!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=rebaseAxisConstraints(s.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!isRefObject(t))return!1;const n=t.current;invariant(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const a=measurePageBox(n,s.root,this.visualElement.getTransformPagePoint());let o=calcViewportConstraints(s.layout.layoutBox,a);if(i){const l=i(convertBoxToBoundingBox(o));this.hasMutatedConstraints=!!l,l&&(o=convertBoundingBoxToBox(l))}return o}startAnimation(t){const{drag:i,dragMomentum:n,dragElastic:s,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=eachAxis(f=>{if(!shouldDrag(f,i,this.currentDirection))return;let d=c&&c[f]||{};o&&(d={min:0,max:0});const p=s?200:1e6,b=s?40:1e7,y={type:"inertia",velocity:n?t[f]:0,bounceStiffness:p,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(f,y)});return Promise.all(u).then(l)}startAxisValueAnimation(t,i){const n=this.getAxisMotionValue(t);return n.start(animateMotionValue(t,n,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()}`,n=this.visualElement.getProps(),s=n[i];return s||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){eachAxis(i=>{const{drag:n}=this.getProps();if(!shouldDrag(i,n,this.currentDirection))return;const{projection:s}=this.visualElement,a=this.getAxisMotionValue(i);if(s&&s.layout){const{min:o,max:l}=s.layout.layoutBox[i];a.set(t[i]-mixNumber$1(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:n}=this.visualElement;if(!isRefObject(i)||!n||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};eachAxis(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const c=l.get();s[o]=calcOrigin$1({min:c,max:c},this.constraints[o])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),eachAxis(o=>{if(!shouldDrag(o,t,null))return;const l=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];l.set(mixNumber$1(c,u,s[o]))})}addListeners(){if(!this.visualElement.current)return;elementDragControls.set(this.visualElement,this);const t=this.visualElement.current,i=addPointerEvent(t,"pointerdown",c=>{const{drag:u,dragListener:f=!0}=this.getProps();u&&f&&this.start(c)}),n=()=>{const{dragConstraints:c}=this.getProps();isRefObject(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,a=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),frame.read(n);const o=addDomEvent(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(eachAxis(f=>{const d=this.getAxisMotionValue(f);d&&(this.originPoint[f]+=c[f].translate,d.set(d.get()+c[f].translate))}),this.visualElement.render())});return()=>{o(),i(),a(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:n=!1,dragPropagation:s=!1,dragConstraints:a=!1,dragElastic:o=defaultElastic,dragMomentum:l=!0}=t;return{...t,drag:i,dragDirectionLock:n,dragPropagation:s,dragConstraints:a,dragElastic:o,dragMomentum:l}}}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:n,onPanEnd:s}=this.node.getProps();return{onSessionStart:asyncHandler(t),onStart:asyncHandler(i),onMove:n,onEnd:(a,o)=>{delete this.session,s&&frame.postRender(()=>s(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:n}=e,s=React.useId();React.useEffect(()=>n(s),[]);const a=React.useCallback(()=>i&&i(s),[s,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),n=pixelsToPercent(e,t.target.y);return`${i}% ${n}%`}},correctBoxShadow={correct:(e,{treeScale:t,projectionDelta:i})=>{const n=e,s=complex.parse(e);if(s.length>5)return n;const a=complex.createTransformer(e),o=typeof s[0]!="number"?1:0,l=i.x.scale*t.x,c=i.y.scale*t.y;s[0+o]/=l,s[1+o]/=c;const u=mixNumber$1(l,c,.5);return typeof s[2+o]=="number"&&(s[2+o]/=u),typeof s[3+o]=="number"&&(s[3+o]/=u),a(s)}},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:n,layoutId:s}=this.props,{projection:a}=t;addScaleCorrector(defaultScaleCorrectors),a&&(i.group&&i.group.add(a),n&&n.register&&s&&n.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:n,drag:s,isPresent:a}=this.props,o=n.projection;return o&&(o.isPresent=a,s||t.layoutDependency!==i||i===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?o.promote():o.relegate()||frame.postRender(()=>{const l=o.getStack();(!l||!l.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:n}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(s),n&&n.deregister&&n.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function MeasureLayout(e){const[t,i]=usePresence(),n=React.useContext(LayoutGroupContext);return jsxRuntime.jsx(MeasureLayoutWithContext,{...e,layoutGroup:n,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,n,s,a){s?(e.opacity=mixNumber$1(0,i.opacity!==void 0?i.opacity:1,easeCrossfadeIn(n)),e.opacityExit=mixNumber$1(t.opacity!==void 0?t.opacity:1,0,easeCrossfadeOut(n))):a&&(e.opacity=mixNumber$1(t.opacity!==void 0?t.opacity:1,i.opacity!==void 0?i.opacity:1,n));for(let o=0;o<numBorders;o++){const l=`border${borders[o]}Radius`;let c=getRadius(t,l),u=getRadius(i,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||isPx(c)===isPx(u)?(e[l]=Math.max(mixNumber$1(asNumber(c),asNumber(u),n),0),(percent.test(u)||percent.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||i.rotate)&&(e.rotate=mixNumber$1(t.rotate||0,i.rotate||0,n))}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 n=>n<e?0:n>t?1:i(progress(e,t,n))}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,n,s){return e-=t,e=scalePoint(e,1/i,n),s!==void 0&&(e=scalePoint(e,1/s,n)),e}function removeAxisDelta(e,t=0,i=1,n=.5,s,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 l=mixNumber$1(a.min,a.max,n);e===a&&(l-=t),e.min=removePointDelta(e.min,t,i,l,s),e.max=removePointDelta(e.max,t,i,l,s)}function removeAxisTransforms(e,t,[i,n,s],a,o){removeAxisDelta(e,t[i],t[n],t[s],t.scale,a,o)}const xKeys=["x","scaleX","originX"],yKeys=["y","scaleY","originY"];function removeBoxTransforms(e,t,i,n){removeAxisTransforms(e.x,t,xKeys,i?i.x:void 0,n?n.x:void 0),removeAxisTransforms(e.y,t,yKeys,i?i.y:void 0,n?n.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(s=>t===s);if(i===0)return!1;let n;for(let s=i;s>=0;s--){const a=this.members[s];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,i){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,i&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:i,resumingFrom:n}=t;i.onExitComplete&&i.onExitComplete(),n&&n.options.onExitComplete&&n.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 n="";const s=e.x.translate/t.x,a=e.y.translate/t.y,o=(i==null?void 0:i.z)||0;if((s||a||o)&&(n=`translate3d(${s}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){const{transformPerspective:u,rotate:f,rotateX:d,rotateY:p,skewX:b,skewY:y}=i;u&&(n=`perspective(${u}px) ${n}`),f&&(n+=`rotate(${f}deg) `),d&&(n+=`rotateX(${d}deg) `),p&&(n+=`rotateY(${p}deg) `),b&&(n+=`skewX(${b}deg) `),y&&(n+=`skewY(${y}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(n+=`scale(${l}, ${c})`),n||"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(),n=({timestamp:s})=>{const a=s-i;a>=t&&(cancelFrame(n),e(a-t))};return frame.read(n,!0),()=>cancelFrame(n)}function isSVGElement(e){return e instanceof SVGElement&&e.tagName!=="svg"}function animateSingleValue(e,t,i){const n=isMotionValue(e)?e:motionValue(e);return n.start(animateMotionValue("",n,t,i)),n.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,n){const{latestValues:s}=t;s[e]&&(i[e]=s[e],t.setStaticValue(e,0),n&&(n[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:s,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",frame,!(s||a))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(n)}function createProjectionNode$1({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(o={},l=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=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new SubscriptionManager),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const c=this.eventHandlers.get(o);c&&c.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,l=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=isSVGElement(o),this.instance=o;const{layoutId:c,layout:u,visualElement:f}=this.options;if(f&&!f.current&&f.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),l&&(u||c)&&(this.isLayoutDirty=!0),e){let d;const p=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=delay(p,250),globalProjectionState.hasAnimatedSinceResize&&(globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&f&&(c||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeTargetChanged:b,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||f.getDefaultTransition()||defaultLayoutTransition,{onLayoutAnimationStart:R,onLayoutAnimationComplete:m}=f.getProps(),x=!this.targetLayout||!boxEqualsRounded(this.targetLayout,y)||b,g=!p&&b;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,g);const S={...getValueTransition$1(C,"layout"),onPlay:R,onComplete:m};(f.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else p||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}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 f=0;f<this.path.length;f++){const d=this.path[f];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(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 l=time.now();frameData.delta=clamp(0,1e3/60,l-frameData.timestamp),frameData.timestamp=l,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 c=0;c<this.path.length;c++)this.path[c].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:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l){const c=n(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!isDeltaZero(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,f=u!==this.prevTransformTemplateValue;o&&(l||hasTransform(this.latestValues)||f)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return o&&(c=this.removeTransform(c)),roundBox(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:l}=this.options;if(!l)return createBox();const c=l.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(checkNodeWasScrollRoot))){const{scroll:f}=this.root;f&&(translateAxis(c.x,f.offset.x),translateAxis(c.y,f.offset.y))}return c}removeElementScroll(o){var l;const c=createBox();if(copyBoxInto(c,o),!((l=this.scroll)===null||l===void 0)&&l.wasRoot)return c;for(let u=0;u<this.path.length;u++){const f=this.path[u],{scroll:d,options:p}=f;f!==this.root&&d&&p.layoutScroll&&(d.wasRoot&&copyBoxInto(c,o),translateAxis(c.x,d.offset.x),translateAxis(c.y,d.offset.y))}return c}applyTransform(o,l=!1){const c=createBox();copyBoxInto(c,o);for(let u=0;u<this.path.length;u++){const f=this.path[u];!l&&f.options.layoutScroll&&f.scroll&&f!==f.root&&transformBox(c,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),hasTransform(f.latestValues)&&transformBox(c,f.latestValues)}return hasTransform(this.latestValues)&&transformBox(c,this.latestValues),c}removeTransform(o){const l=createBox();copyBoxInto(l,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!hasTransform(u.latestValues))continue;hasScale(u.latestValues)&&u.updateSnapshot();const f=createBox(),d=u.measurePageBox();copyBoxInto(f,d),removeBoxTransforms(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,f)}return hasTransform(this.latestValues)&&removeBoxTransforms(l,this.latestValues),l}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 l;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==c;if(!(o||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:p}=this.options;if(!(!this.layout||!(d||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 l=this.getLead(),c=!!this.resumingFrom||this!==l;let u=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(u=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===frameData.timestamp&&(u=!1),u)return;const{layout:f,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(f||d))return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,b=this.treeScale.y;applyTreeDeltas(this.layoutCorrected,this.treeScale,this.path,c),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=createBox());const{target:y}=l;if(!y){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,y,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",y)),isDebug&&metrics.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var l;if((l=this.options.visualElement)===null||l===void 0||l.scheduleRender(),o){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=createDelta(),this.projectionDelta=createDelta(),this.projectionDeltaWithTransform=createDelta()}setAnimationOrigin(o,l=!1){const c=this.snapshot,u=c?c.latestValues:{},f={...this.latestValues},d=createDelta();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const p=createBox(),b=c?c.source:void 0,y=this.layout?this.layout.source:void 0,C=b!==y,R=this.getStack(),m=!R||R.members.length<=1,x=!!(C&&!m&&this.options.crossfade===!0&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0;let g;this.mixTargetDelta=S=>{const E=S/1e3;mixAxisDelta(d.x,o.x,E),mixAxisDelta(d.y,o.y,E),this.setTargetDelta(d),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,E),g&&boxEquals(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=createBox()),copyBoxInto(g,this.relativeTarget)),C&&(this.animationValues=f,mixValues(f,u,this.latestValues,E,x,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},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:l=>{this.mixTargetDelta(l),o.onUpdate&&o.onUpdate(l)},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:l,target:c,layout:u,latestValues:f}=o;if(!(!l||!c||!u)){if(this!==o&&this.layout&&u&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||createBox();const d=calcLength(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+d;const p=calcLength(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+p}copyBoxInto(l,c),transformBox(l,f),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,l,f)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new NodeStack),this.sharedNodes.get(o).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:l}=this.options;return l?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:l}=this.options;return l?(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:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&resetDistortingTransform("z",o,u,this.animationValues);for(let f=0;f<transformAxes.length;f++)resetDistortingTransform(`rotate${transformAxes[f]}`,o,u,this.animationValues),resetDistortingTransform(`skew${transformAxes[f]}`,o,u,this.animationValues);o.render();for(const f in u)o.setStaticValue(f,u[f]),this.animationValues&&(this.animationValues[f]=u[f]);o.scheduleRender()}getProjectionStyles(o){var l,c;if(!this.instance||this.isSVG)return;if(!this.isVisible)return hiddenVisibility;const u={visibility:""},f=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=resolveMotionValue(o==null?void 0:o.pointerEvents)||"",u.transform=f?f(this.latestValues,""):"none",u;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const C={};return this.options.layoutId&&(C.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,C.pointerEvents=resolveMotionValue(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!hasTransform(this.latestValues)&&(C.transform=f?f({},""):"none",this.hasProjected=!1),C}const p=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,p),f&&(u.transform=f(p,u.transform));const{x:b,y}=this.projectionDelta;u.transformOrigin=`${b.origin*100}% ${y.origin*100}% 0`,d.animationValues?u.opacity=d===this?(c=(l=p.opacity)!==null&&l!==void 0?l:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:u.opacity=d===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const C in scaleCorrectors){if(p[C]===void 0)continue;const{correct:R,applyTo:m}=scaleCorrectors[C],x=u.transform==="none"?p[C]:R(p[C],d);if(m){const g=m.length;for(let S=0;S<g;S++)u[m[S]]=x}else u[C]=x}return this.options.layoutId&&(u.pointerEvents=d===this?resolveMotionValue(o==null?void 0:o.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var l;return(l=o.currentAnimation)===null||l===void 0?void 0:l.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:n,measuredBox:s}=e.layout,{animationType:a}=e.options,o=i.source!==e.layout.source;a==="size"?eachAxis(d=>{const p=o?i.measuredBox[d]:i.layoutBox[d],b=calcLength(p);p.min=n[d].min,p.max=p.min+b}):shouldAnimatePositionOnly(a,i.layoutBox,n)&&eachAxis(d=>{const p=o?i.measuredBox[d]:i.layoutBox[d],b=calcLength(n[d]);p.max=p.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+b)});const l=createDelta();calcBoxDelta(l,n,i.layoutBox);const c=createDelta();o?calcBoxDelta(c,e.applyTransform(s,!0),i.measuredBox):calcBoxDelta(c,n,i.layoutBox);const u=!isDeltaZero(l);let f=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:b}=d;if(p&&b){const y=createBox();calcRelativePosition(y,i.layoutBox,p.layoutBox);const C=createBox();calcRelativePosition(C,n,b.layoutBox),boxEqualsRounded(y,C)||(f=!0),d.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=y,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:i,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:f})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}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,n){e.min=mixNumber$1(t.min,i.min,n),e.max=mixNumber$1(t.max,i.max,n)}function mixBox(e,t,i,n){mixAxis(e.x,t.x,i.x,n),mixAxis(e.y,t.y,i.y,n)}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",n=t?"onHoverStart":"onHoverEnd",s=(a,o)=>{if(a.pointerType==="touch"||isDragActive())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t);const c=l[n];c&&frame.postRender(()=>c(a,o))};return addPointerEvent(e.current,i,s,{passive:!e.getProps()[n]})}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 n=this.node.getProps(),a=addPointerEvent(window,"pointerup",(l,c)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:f,globalTapTarget:d}=this.node.getProps(),p=!d&&!isNodeOrChild(this.node.current,l.target)?f:u;p&&frame.update(()=>p(l,c))},{passive:!(n.onTap||n.onPointerUp)}),o=addPointerEvent(window,"pointercancel",(l,c)=>this.cancelPress(l,c),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=pipe(a,o),this.startPress(t,i)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const o=l=>{l.key!=="Enter"||!this.checkPressEnd()||fireSyntheticPointerEvent("up",(c,u)=>{const{onTap:f}=this.node.getProps();f&&frame.postRender(()=>f(c,u))})};this.removeEndListeners(),this.removeEndListeners=addDomEvent(this.node.current,"keyup",o),fireSyntheticPointerEvent("down",(l,c)=>{this.startPress(l,c)})},i=addDomEvent(this.node.current,"keydown",t),n=()=>{this.isPressing&&fireSyntheticPointerEvent("cancel",(a,o)=>this.cancelPress(a,o))},s=addDomEvent(this.node.current,"blur",n);this.removeAccessibleListeners=pipe(i,s)}}startPress(t,i){this.isPressing=!0;const{onTapStart:n,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&frame.postRender(()=>n(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:n}=this.node.getProps();n&&frame.postRender(()=>n(t,i))}mount(){const t=this.node.getProps(),i=addPointerEvent(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=addDomEvent(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=pipe(i,n)}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 n=observers.get(i),s=JSON.stringify(t);return n[s]||(n[s]=new IntersectionObserver(fireAllObserverCallbacks,{root:e,...t})),n[s]}function observeIntersection(e,t,i){const n=initIntersectionObserver(t);return observerCallbacks.set(e,i),n.observe(e),()=>{observerCallbacks.delete(e),n.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:n,amount:s="some",once:a}=t,o={root:i?i.current:void 0,rootMargin:n,threshold:typeof s=="number"?s:thresholdNames[s]},l=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,a&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:f,onViewportLeave:d}=this.node.getProps(),p=u?f:d;p&&p(c)};return observeIntersection(this.node.current,o,l)}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,n,s){var a;const{visualElement:o}=React.useContext(MotionContext),l=React.useContext(LazyContext),c=React.useContext(PresenceContext),u=React.useContext(MotionConfigContext).reducedMotion,f=React.useRef();n=n||l.renderer,!f.current&&n&&(f.current=n(e,{visualState:t,parent:o,props:i,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));const d=f.current,p=React.useContext(SwitchLayoutGroupContext);d&&!d.projection&&s&&(d.type==="html"||d.type==="svg")&&createProjectionNode(f.current,i,s,p),React.useInsertionEffect(()=>{d&&d.update(i,c)});const b=i[optimizedAppearDataAttribute],y=React.useRef(!!b&&!window.MotionHandoffIsComplete&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,b)));return useIsomorphicLayoutEffect(()=>{d&&(d.updateFeatures(),microtask.render(d.render),y.current&&d.animationState&&d.animationState.animateChanges())}),React.useEffect(()=>{d&&(!y.current&&d.animationState&&d.animationState.animateChanges(),y.current=!1,scheduleHandoffComplete||(scheduleHandoffComplete=!0,queueMicrotask(completeHandoff)))}),d}function completeHandoff(){window.MotionHandoffIsComplete=!0}function createProjectionNode(e,t,i,n){const{layoutId:s,layout:a,drag:o,dragConstraints:l,layoutScroll:c,layoutRoot:u}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:getClosestProjectingNode(e.parent)),e.projection.setOptions({layoutId:s,layout:a,alwaysMeasureLayout:!!o||l&&isRefObject(l),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:n,layoutScroll:c,layoutRoot:u})}function getClosestProjectingNode(e){if(e)return e.options.allowProjection!==!1?e.projection:getClosestProjectingNode(e.parent)}function useMotionRef(e,t,i){return React.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),i&&(typeof i=="function"?i(n):isRefObject(i)&&(i.current=n))},[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:n}=e;return{initial:i===!1||isVariantLabel(i)?i:void 0,animate:isVariantLabel(n)?n: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:n,Component:s}){e&&loadFeatures(e);function a(l,c){let u;const f={...React.useContext(MotionConfigContext),...l,layoutId:useLayoutId(l)},{isStatic:d}=f,p=useCreateMotionContext(l),b=n(l,d);if(!d&&isBrowser){useStrictMode(f,e);const y=getProjectionFunctionality(f);u=y.MeasureLayout,p.visualElement=useVisualElement(s,b,f,t,y.ProjectionNode)}return jsxRuntime.jsxs(MotionContext.Provider,{value:p,children:[u&&p.visualElement?jsxRuntime.jsx(u,{visualElement:p.visualElement,...f}):null,i(s,l,useMotionRef(b,p.visualElement,c),b,d,p.visualElement)]})}const o=React.forwardRef(a);return o[motionComponentSymbol]=s,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 n="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,n):invariant(!1,n)}}function getProjectionFunctionality(e){const{drag:t,layout:i}=featureDefinitions;if(!t&&!i)return{};const n={...t,...i};return{MeasureLayout:t!=null&&t.isEnabled(e)||i!=null&&i.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.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},n,s){Object.assign(e.style,t,s&&s.getProjectionStyles(n));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,n){renderHTML(e,t,void 0,n);for(const s in t.attrs)e.setAttribute(camelCaseAttributes.has(s)?s:camelToDash(s),t.attrs[s])}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 n;const{style:s}=e,a={};for(const o in s)(isMotionValue(s[o])||t.style&&isMotionValue(t.style[o])||isForcedMotionValue(o,e)||((n=i==null?void 0:i.getValue(o))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(a[o]=s[o]);return i&&s&&typeof s.willChange=="string"&&(i.applyWillChange=!1),a}function scrapeMotionValuesFromProps(e,t,i){const n=scrapeMotionValuesFromProps$1(e,t,i);for(const s in e)if(isMotionValue(e[s])||isMotionValue(t[s])){const a=transformPropOrder.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;n[a]=e[s]}return n}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:n},s,a,o,l){const c={latestValues:makeLatestValues(s,a,o,l?!1:e,t),renderState:i()};return n&&(c.mount=u=>n(s,u,c)),c}const makeUseVisualState=e=>(t,i)=>{const n=React.useContext(MotionContext),s=React.useContext(PresenceContext),a=()=>makeState(e,t,n,s,i);return i?a():useConstant(a)};function addWillChange(e,t){const i=getWillChangeName(t);i&&addUniqueItem(e,i)}function forEachDefinition(e,t,i){const n=Array.isArray(t)?t:[t];for(let s=0;s<n.length;s++){const a=resolveVariantFromProps(e,n[s]);if(a){const{transitionEnd:o,transition:l,...c}=a;i(c,o)}}}function makeLatestValues(e,t,i,n,s){var a;const o={},l=[],c=n&&((a=e.style)===null||a===void 0?void 0:a.willChange)===void 0,u=s(e,{});for(const R in u)o[R]=resolveMotionValue(u[R]);let{initial:f,animate:d}=e;const p=isControllingVariants(e),b=isVariantNode(e);t&&b&&!p&&e.inherit!==!1&&(f===void 0&&(f=t.initial),d===void 0&&(d=t.animate));let y=i?i.initial===!1:!1;y=y||f===!1;const C=y?d:f;return C&&typeof C!="boolean"&&!isAnimationControls(C)&&forEachDefinition(e,C,(R,m)=>{for(const x in R){let g=R[x];if(Array.isArray(g)){const S=y?g.length-1:0;g=g[S]}g!==null&&(o[x]=g)}for(const x in m)o[x]=m[x]}),c&&(d&&f!==!1&&!isAnimationControls(d)&&forEachDefinition(e,d,R=>{for(const m in R)addWillChange(l,m)}),l.length&&(o.willChange=l.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 n="",s=!0;for(let a=0;a<numTransforms;a++){const o=transformPropOrder[a],l=e[o];if(l===void 0)continue;let c=!0;if(typeof l=="number"?c=l===(o.startsWith("scale")?1:0):c=parseFloat(l)===0,!c||i){const u=getValueAsType(l,numberValueTypes[o]);if(!c){s=!1;const f=translateAlias[o]||o;n+=`${f}(${u}) `}i&&(t[o]=u)}}return n=n.trim(),i?n=i(t,s?"":n):s&&(n="none"),n}function buildHTMLStyles(e,t,i){const{style:n,vars:s,transformOrigin:a}=e;let o=!1,l=!1;for(const c in t){const u=t[c];if(transformProps.has(c)){o=!0;continue}else if(isCSSVariableName(c)){s[c]=u;continue}else{const f=getValueAsType(u,numberValueTypes[c]);c.startsWith("origin")?(l=!0,a[c]=f):n[c]=f}}if(t.transform||(o||i?n.transform=buildTransform(t,e.transform,i):n.transform&&(n.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:f=0}=a;n.transformOrigin=`${c} ${u} ${f}`}}function calcOrigin(e,t,i){return typeof e=="string"?e:px.transform(t+i*e)}function calcSVGTransformOrigin(e,t,i){const n=calcOrigin(t,e.x,e.width),s=calcOrigin(i,e.y,e.height);return`${n} ${s}`}const dashKeys={offset:"stroke-dashoffset",array:"stroke-dasharray"},camelKeys={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGPath(e,t,i=1,n=0,s=!0){e.pathLength=1;const a=s?dashKeys:camelKeys;e[a.offset]=px.transform(-n);const o=px.transform(t),l=px.transform(i);e[a.array]=`${o} ${l}`}function buildSVGAttrs(e,{attrX:t,attrY:i,attrScale:n,originX:s,originY:a,pathLength:o,pathSpacing:l=1,pathOffset:c=0,...u},f,d){if(buildHTMLStyles(e,u,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:b,dimensions:y}=e;p.transform&&(y&&(b.transform=p.transform),delete p.transform),y&&(s!==void 0||a!==void 0||b.transform)&&(b.transformOrigin=calcSVGTransformOrigin(y,s!==void 0?s:.5,a!==void 0?a:.5)),t!==void 0&&(p.x=t),i!==void 0&&(p.y=i),n!==void 0&&(p.scale=n),o!==void 0&&buildSVGPath(p,o,l,c,!1)}const isSVGTag=e=>typeof e=="string"&&e.toLowerCase()==="svg",svgMotionConfig={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps,createRenderState:createSvgRenderState,onMount:(e,t,{renderState:i,latestValues:n})=>{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,n,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 n in t)!isMotionValue(t[n])&&!isForcedMotionValue(n,i)&&(e[n]=t[n])}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||{},n={};return copyRawValuesOnly(n,i,e),Object.assign(n,useInitialMotionValues(e,t)),n}function useHTMLProps(e,t){const i={},n=useStyle(e,t);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.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=n,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 n={};for(const s in e)s==="values"&&typeof e.values=="object"||(shouldForward(s)||i===!0&&isValidMotionProp(s)||!t&&!isValidMotionProp(s)||e.draggable&&s.startsWith("onDrag"))&&(n[s]=e[s]);return n}function useSVGProps(e,t,i,n){const s=React.useMemo(()=>{const a=createSvgRenderState();return buildSVGAttrs(a,t,isSVGTag(n),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};copyRawValuesOnly(a,e.style,e),s.style={...a,...s.style}}return s}function createUseRender(e=!1){return(i,n,s,{latestValues:a},o)=>{const c=(isSVGComponent(i)?useSVGProps:useHTMLProps)(n,a,o,i),u=filterProps(n,typeof i=="string",e),f=i!==React.Fragment?{...u,...c,ref:s}:{},{children:d}=n,p=React.useMemo(()=>isMotionValue(d)?d.get():d,[d]);return React.createElement(i,{...f,children:p})}}function createMotionComponentFactory(e,t){return function(n,{forwardMotionProps:s}={forwardMotionProps:!1}){const o={...isSVGComponent(n)?svgMotionConfig:htmlMotionConfig,preloadedFeatures:e,useRender:createUseRender(s),createVisualElement:t,Component:n};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 n in t){const s=t[n],a=i[n];if(isMotionValue(s))e.addValue(n,s),process.env.NODE_ENV==="development"&&warnOnce(s.version==="11.5.6",`Attempting to mix Framer Motion versions ${s.version} with 11.5.6 may not work as expected.`);else if(isMotionValue(a))e.addValue(n,motionValue(s,{owner:e}));else if(a!==s)if(e.hasValue(n)){const o=e.getValue(n);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(n);e.addValue(n,motionValue(o!==void 0?o:s,{owner:e}))}}for(const n in i)t[n]===void 0&&e.removeValue(n);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,n){return{}}constructor({parent:t,props:i,presenceContext:n,reducedMotionConfig:s,blockInitialAnimation:a,visualState:o},l={}){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:c,renderState:u}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=i.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=i,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=l,this.blockInitialAnimation=!!a,this.isControllingVariants=isControllingVariants(i),this.isVariantNode=isVariantNode(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(i,{},this);for(const p in d){const b=d[p];c[p]!==void 0&&isMotionValue(b)&&b.set(c[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,n)=>this.bindToMotionValue(n,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 n=transformProps.has(t),s=i.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&frame.preRender(this.notifyUpdate),n&&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,()=>{s(),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:n,Feature:s}=i;if(!this.features[t]&&s&&n(this.props)&&(this.features[t]=new s(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 n=0;n<propEventHandlers.length;n++){const s=propEventHandlers[n];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const a="on"+s,o=t[a];o&&(this.propEventSubscriptions[s]=this.on(s,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 n=this.values.get(t);i!==n&&(n&&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 n=this.values.get(t);return n===void 0&&i!==void 0&&(n=motionValue(i===null?void 0:i,{owner:this}),this.addValue(t,n)),n}readValue(t,i){var n;let s=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options);return s!=null&&(typeof s=="string"&&(isNumericalString(s)||isZeroValueString(s))?s=parseFloat(s):!findValueType(s)&&complex.test(i)&&(s=getAnimatableNone(t,i)),this.setBaseTarget(t,isMotionValue(s)?s.get():s)),isMotionValue(s)?s.get():s}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){var i;const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const o=resolveVariantFromProps(this.props,n,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);o&&(s=o[t])}if(n&&s!==void 0)return s;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!isMotionValue(a)?a:this.initialValues[t]!==void 0&&s===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:n}){delete i[t],delete n[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 n=getDefaultValueType(i);return n&&n.default||0}else{const n=getComputedStyle$1(t),s=(isCSSVariableName(i)?n.getPropertyValue(i):n[i])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:i}){return measureViewportBox(t,i)}build(t,i,n){buildHTMLStyles(t,i,n.transformTemplate)}scrapeMotionValuesFromProps(t,i,n){return scrapeMotionValuesFromProps$1(t,i,n)}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 n=getDefaultValueType(i);return n&&n.default||0}return i=camelCaseAttributes.has(i)?i:camelToDash(i),t.getAttribute(i)}scrapeMotionValuesFromProps(t,i,n){return scrapeMotionValuesFromProps(t,i,n)}build(t,i,n){buildSVGAttrs(t,i,this.isSVGTag,n.transformTemplate)}renderInstance(t,i,n,s){renderSVG(t,i,n,s)}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);class PopChildMeasure extends React__namespace.Component{getSnapshotBeforeUpdate(t){const i=this.props.childRef.current;if(i&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=i.offsetHeight||0,n.width=i.offsetWidth||0,n.top=i.offsetTop,n.left=i.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function PopChild({children:e,isPresent:t}){const i=React.useId(),n=React.useRef(null),s=React.useRef({width:0,height:0,top:0,left:0}),{nonce:a}=React.useContext(MotionConfigContext);return React.useInsertionEffect(()=>{const{width:o,height:l,top:c,left:u}=s.current;if(t||!n.current||!o||!l)return;n.current.dataset.motionPopId=i;const f=document.createElement("style");return a&&(f.nonce=a),document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`
58
58
  [data-motion-pop-id="${i}"] {
59
59
  position: absolute !important;
60
60
  width: ${o}px !important;
@@ -62,14 +62,14 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
62
62
  top: ${c}px !important;
63
63
  left: ${u}px !important;
64
64
  }
65
- `),()=>{document.head.removeChild(f)}},[t]),jsxRuntime.jsx(PopChildMeasure,{isPresent:t,childRef:n,sizeRef:s,children:React__namespace.cloneElement(e,{ref:n})})}const PresenceChild=({children:e,initial:t,isPresent:i,onExitComplete:n,custom:s,presenceAffectsLayout:a,mode:o})=>{const l=useConstant(newChildrenMap),c=React.useId(),u=React.useMemo(()=>({id:c,initial:t,isPresent:i,custom:s,onExitComplete:f=>{l.set(f,!0);for(const d of l.values())if(!d)return;n&&n()},register:f=>(l.set(f,!1),()=>l.delete(f))}),a?[Math.random()]:[i]);return React.useMemo(()=>{l.forEach((f,d)=>l.set(d,!1))},[i]),React__namespace.useEffect(()=>{!i&&!l.size&&n&&n()},[i]),o==="popLayout"&&(e=jsxRuntime.jsx(PopChild,{isPresent:i,children:e})),jsxRuntime.jsx(PresenceContext.Provider,{value:u,children:e})};function newChildrenMap(){return new Map}const getChildKey=e=>e.key||"";function onlyElements(e){const t=[];return React.Children.forEach(e,i=>{React.isValidElement(i)&&t.push(i)}),t}const AnimatePresence=({children:e,exitBeforeEnter:t,custom:i,initial:n=!0,onExitComplete:s,presenceAffectsLayout:a=!0,mode:o="sync"})=>{invariant(!t,"Replace exitBeforeEnter with mode='wait'");const l=React.useMemo(()=>onlyElements(e),[e]),c=l.map(getChildKey),u=React.useRef(!0),f=React.useRef(l),d=useConstant(()=>new Map),[p,b]=React.useState(l),[C,y]=React.useState(l);useIsomorphicLayoutEffect(()=>{u.current=!1,f.current=l;for(let x=0;x<C.length;x++){const g=getChildKey(C[x]);c.includes(g)?d.delete(g):d.get(g)!==!0&&d.set(g,!1)}},[C,c.length,c.join("-")]);const R=[];if(l!==p){let x=[...l];for(let g=0;g<C.length;g++){const S=C[g],E=getChildKey(S);c.includes(E)||(x.splice(g,0,S),R.push(S))}o==="wait"&&R.length&&(x=R),y(onlyElements(x)),b(l);return}process.env.NODE_ENV!=="production"&&o==="wait"&&C.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:m}=React.useContext(LayoutGroupContext);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:C.map(x=>{const g=getChildKey(x),S=l===C||c.includes(g),E=()=>{if(d.has(g))d.set(g,!0);else return;let M=!0;d.forEach(L=>{L||(M=!1)}),M&&(m==null||m(),y(f.current),s&&s())};return jsxRuntime.jsx(PresenceChild,{isPresent:S,initial:!u.current||n?void 0:!1,custom:S?void 0:i,presenceAffectsLayout:a,mode:o,onExitComplete:S?void 0:E,children:x},g)})})};function useMotionValue(e){const t=useConstant(()=>motionValue(e)),{isStatic:i}=React.useContext(MotionConfigContext);if(i){const[,n]=React.useState(e);React.useEffect(()=>t.on("change",n),[])}return t}function useCombineMotionValues(e,t){const i=useMotionValue(t()),n=()=>i.set(t());return n(),useIsomorphicLayoutEffect(()=>{const s=()=>frame.preRender(n,!1,!0),a=e.map(o=>o.on("change",s));return()=>{a.forEach(o=>o()),cancelFrame(n)}}),i}const isCustomValueType=e=>e&&typeof e=="object"&&e.mix,getMixer=e=>isCustomValueType(e)?e.mix:void 0;function transform(...e){const t=!Array.isArray(e[0]),i=t?0:-1,n=e[0+i],s=e[1+i],a=e[2+i],o=e[3+i],l=interpolate(s,a,{mixer:getMixer(a[0]),...o});return t?l(n):l}function useComputed(e){collectMotionValues.current=[],e();const t=useCombineMotionValues(collectMotionValues.current,e);return collectMotionValues.current=void 0,t}function useTransform(e,t,i,n){if(typeof e=="function")return useComputed(e);const s=typeof t=="function"?t:transform(t,i,n);return Array.isArray(e)?useListTransform(e,s):useListTransform([e],([a])=>s(a))}function useListTransform(e,t){const i=useConstant(()=>[]);return useCombineMotionValues(e,()=>{i.length=0;const n=e.length;for(let s=0;s<n;s++)i[s]=e[s].get();return t(i)})}function resolveElements(e,t,i){var n;if(typeof e=="string"){let s=document;t&&(invariant(!!t.current,"Scope provided, but no element detected."),s=t.current),i?((n=i[e])!==null&&n!==void 0||(i[e]=s.querySelectorAll(e)),e=i[e]):e=s.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function useUnmountEffect(e){return React.useEffect(()=>()=>e(),[])}function isDOMKeyframes(e){return typeof e=="object"&&!Array.isArray(e)}function createVisualElement(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=isSVGElement(e)?new SVGVisualElement(t):new HTMLVisualElement(t);i.mount(e),visualElementStore.set(e,i)}function createGeneratorEasing(e,t=100){const i=spring({keyframes:[0,t],...e}),n=Math.min(calcGeneratorDuration(i),maxGeneratorDuration);return{type:"keyframes",ease:s=>i.next(n*s).value/t,duration:millisecondsToSeconds(n)}}function calcNextTime(e,t,i,n){var s;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?i:(s=n.get(t))!==null&&s!==void 0?s:e}const wrap=(e,t,i)=>{const n=t-e;return((i-e)%n+n)%n+e};function getEasingForSegment(e,t){return isEasingArray(e)?e[wrap(0,e.length,t)]:e}function eraseKeyframes(e,t,i){for(let n=0;n<e.length;n++){const s=e[n];s.at>t&&s.at<i&&(removeItem(e,s),n--)}}function addKeyframes(e,t,i,n,s,a){eraseKeyframes(e,s,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:mixNumber$1(s,a,n[o]),easing:getEasingForSegment(i,o)})}function compareByTime(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const defaultSegmentEasing="easeInOut";function createAnimationsFromSequence(e,{defaultTransition:t={},...i}={},n){const s=t.duration||.3,a=new Map,o=new Map,l={},c=new Map;let u=0,f=0,d=0;for(let p=0;p<e.length;p++){const b=e[p];if(typeof b=="string"){c.set(b,f);continue}else if(!Array.isArray(b)){c.set(b.name,calcNextTime(f,b.at,u,c));continue}let[C,y,R={}]=b;R.at!==void 0&&(f=calcNextTime(f,R.at,u,c));let m=0;const x=(g,S,E,M=0,L=0)=>{const _=keyframesAsList(g),{delay:I=0,times:$=defaultOffset(_),type:z="keyframes",...O}=S;let{ease:N=t.ease||"easeOut",duration:K}=S;const B=typeof I=="function"?I(M,L):I,A=_.length;if(A<=2&&z==="spring"){let k=100;if(A===2&&isNumberKeyframesArray(_)){const q=_[1]-_[0];k=Math.abs(q)}const V={...O};K!==void 0&&(V.duration=secondsToMilliseconds(K));const W=createGeneratorEasing(V,k);N=W.ease,K=W.duration}K??(K=s);const j=f+B,P=j+K;$.length===1&&$[0]===0&&($[1]=1);const T=$.length-_.length;T>0&&fillOffset($,T),_.length===1&&_.unshift(null),addKeyframes(E,_,N,$,j,P),m=Math.max(B+K,m),d=Math.max(P,d)};if(isMotionValue(C)){const g=getSubjectSequence(C,o);x(y,R,getValueSequence("default",g))}else{const g=resolveElements(C,n,l),S=g.length;for(let E=0;E<S;E++){y=y,R=R;const M=g[E],L=getSubjectSequence(M,o);for(const _ in y)x(y[_],getValueTransition(R,_),getValueSequence(_,L),E,S)}}u=f,f+=m}return o.forEach((p,b)=>{for(const C in p){const y=p[C];y.sort(compareByTime);const R=[],m=[],x=[];for(let S=0;S<y.length;S++){const{at:E,value:M,easing:L}=y[S];R.push(M),m.push(progress(0,d,E)),x.push(L||"easeOut")}m[0]!==0&&(m.unshift(0),R.unshift(R[0]),x.unshift(defaultSegmentEasing)),m[m.length-1]!==1&&(m.push(1),R.push(null)),a.has(b)||a.set(b,{keyframes:{},transition:{}});const g=a.get(b);g.keyframes[C]=R,g.transition[C]={...t,duration:d,ease:x,times:m,...i}}}),a}function getSubjectSequence(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function getValueSequence(e,t){return t[e]||(t[e]=[]),t[e]}function keyframesAsList(e){return Array.isArray(e)?e:[e]}function getValueTransition(e,t){return e[t]?{...e,...e[t]}:{...e}}const isNumber=e=>typeof e=="number",isNumberKeyframesArray=e=>e.every(isNumber);function animateElements(e,t,i,n){const s=resolveElements(e,n),a=s.length;invariant(!!a,"No valid element provided.");const o=[];for(let l=0;l<a;l++){const c=s[l];visualElementStore.has(c)||createVisualElement(c);const u=visualElementStore.get(c),f={...i};typeof f.delay=="function"&&(f.delay=f.delay(l,a)),o.push(...animateTarget(u,{...t,transition:f},{}))}return new GroupPlaybackControls(o)}const isSequence=e=>Array.isArray(e)&&Array.isArray(e[0]);function animateSequence(e,t,i){const n=[];return createAnimationsFromSequence(e,t,i).forEach(({keyframes:a,transition:o},l)=>{let c;isMotionValue(l)?c=animateSingleValue(l,a.default,o.default):c=animateElements(l,a,o),n.push(c)}),new GroupPlaybackControls(n)}const createScopedAnimate=e=>{function t(i,n,s){let a;return isSequence(i)?a=animateSequence(i,n,e):isDOMKeyframes(n)?a=animateElements(i,n,s,e):a=animateSingleValue(i,n,s),e&&e.animations.push(a),a}return t};function useAnimate(){const e=useConstant(()=>({current:null,animations:[]})),t=useConstant(()=>createScopedAnimate(e));return useUnmountEffect(()=>{e.animations.forEach(i=>i.stop())}),[e,t]}function getOriginIndex(e,t){if(e==="first")return 0;{const i=t-1;return e==="last"?i:i/2}}function stagger(e=.1,{startDelay:t=0,from:i=0,ease:n}={}){return(s,a)=>{const o=typeof i=="number"?i:getOriginIndex(i,a),l=Math.abs(o-s);let c=e*l;if(n){const u=a*e;c=easingDefinitionToFunction(n)(c/u)*u}return t+c}}const FooterBackgroundAnimation=({isMobile:e,isLogoHovered:t,maskUrl:i})=>{const[n]=React.useState("https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"),[s,a]=React.useState("initial"),o=React.useRef(null),l=React.useRef(null),c=useMotionValue(45),u=useTransform(c,f=>`${f}% center`);return React.useEffect(()=>{if(t)a("visible");else{a("exit");const f=setTimeout(()=>{a("initial")},800);return()=>clearTimeout(f)}},[t]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("video",{ref:o,src:n,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-screen gf-object-cover gf-opacity-0"},"video-flowers"),jsxRuntime.jsx(AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(motion.div,{animate:s,variants:{initial:{maskPosition:"45%",opacity:0},visible:{maskPosition:"10%",opacity:1},exit:{maskPosition:"-60%",opacity:0,transition:{duration:1.2,ease:[0,.77,.3,1],opacity:{delay:.4}}}},transition:{duration:1,ease:[.22,.68,.88,.96],delay:.15,opacity:{times:[0,1,1,1]}},style:{maskImage:`linear-gradient(black, black), url('${i}')`,maskComposite:"exclude",maskSize:e?"1200% 200%":"820% 600%",maskPosition:u},className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-full gf-overflow-hidden gf-opacity-0",children:jsxRuntime.jsx("video",{ref:l,src:n,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-h-full gf-w-screen gf-object-cover",onCanPlayThrough:()=>{l.current&&l.current.play().catch(console.error)},onLoadStart:()=>{l.current&&l.current.play().catch(console.error)}},"video-flowers-animated")},"hovered")})]})},ScaleY=({children:e,triggerAnimation:t})=>{const i={animation:{scaleY:[0,1],opacity:[0,1],transition:{duration:.5,ease:cubicBezier(.84,0,.16,1),opacity:{duration:.2,ease:"easeInOut"},once:!0}},idle:{scaleY:1,opacity:1}};return jsxRuntime.jsx(motion.div,{animate:t?"animation":"idle",variants:i,style:{transformOrigin:"bottom"},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}),RollingText=React.forwardRef(({value:e,isHovered:t,className:i,delay:n},s)=>{const a=e.split(""),[o,l]=useAnimate(),c=()=>{l([[".gf-letter",{y:"-100%"},{duration:.5,delay:n?stagger(.014,{startDelay:n}):stagger(.014),ease:[.76,0,.24,1]}]])},u=()=>{l([[".gf-letter",{y:"0%"},{duration:.5,delay:n?stagger(.014,{startDelay:n}):stagger(.014),ease:[.76,0,.24,1]}]])};return React.useImperativeHandle(s,()=>({startAnimation:c,stopAnimation:u})),React.useEffect(()=>{t?c():u()},[t]),React.useEffect(()=>{const f=()=>{t||c()},d=()=>{t||u()},p=o.current;if(p)return p.addEventListener("mouseenter",f),p.addEventListener("mouseleave",d),()=>{p.removeEventListener("mouseenter",f),p.removeEventListener("mouseleave",d)}},[o,t]),jsxRuntime.jsx("div",{ref:o,children:jsxRuntime.jsx("span",{className:cn("gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",i),children:a.map((f,d)=>jsxRuntime.jsx("span",{"data-letter":f,className:"gf-letter gf-relative gf-h-5 gf-whitespace-pre gf-leading-5 after:gf-absolute after:gf-left-0 after:gf-top-full after:gf-h-5 after:gf-leading-5 after:gf-content-[attr(data-letter)]",children:f},`${f}-${d}`))})})});RollingText.displayName="RollingText";const FooterLinks=({title:e,links:t,hoveredIndex:i,onHover:n,className:s="gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:a="gf-flex gf-flex-col gf-gap-1",isRoutes:o=!1})=>jsxRuntime.jsxs("div",{className:s,children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",className:"gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",children:jsxRuntime.jsx("span",{children:e})}),jsxRuntime.jsx("ul",{className:a,children:Object.values(t).map((l,c)=>l.link&&jsxRuntime.jsx("li",{className:o?"gf-w-fit":"",onMouseEnter:()=>{n==null||n(c)},onMouseLeave:()=>{n==null||n(null)},children:jsxRuntime.jsxs(Typography,{as:"a",href:l.link,target:"_blank",size:"h4",weight:"regular",className:`gf-cursor-pointer gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit ${o?"gf-flex gf-w-fit gf-gap-0.5 gf-items-end gf-transition-colors gf-duration-500 gf-ease-in-out":""}`,children:[l.inputAsset&&jsxRuntime.jsx(RollingText,{value:l.inputAsset||"",isHovered:i===c}),o&&l.inputChain&&jsxRuntime.jsx(RollingText,{delay:.1,className:"gf-text-xs gf-italic gf-translate-y-[0.6px]",value:l.inputChain,isHovered:i===c}),jsxRuntime.jsx(RollingText,{delay:.15,value:l.title,isHovered:i===c}),o&&l.chain&&jsxRuntime.jsx(RollingText,{delay:.3,className:"gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",value:l.chain,isHovered:i===c})]})},c))})]}),MaskURL="data:image/svg+xml,%3csvg%20width='3956'%20height='906'%20viewBox='0%200%203956%20906'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='3956'%20height='906'%20fill='url(%23paint0_linear_579_2)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_579_2'%20x1='1465.5'%20y1='731.406'%20x2='2604.91'%20y2='227.235'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0'/%3e%3cstop%20offset='0.115385'/%3e%3cstop%20offset='0.88'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Footer=({className:e,network:t="mainnet",maskUrl:i=MaskURL,...n})=>{const[s,a]=React.useState(!1),[o,l]=React.useState(null),c=useClientOnly(),u=t&&t==="testnet"?"https://testnet.garden.finance":"https://app.garden.finance",f="https://garden.finance",d={Products:{swap:{title:"Swap",link:t&&t==="testnet"?`${u}/?input-chain=bitcoin_testnet&input-asset=BTC`:`${u}/?input-chain=bitcoin&input-asset=BTC`,isExternal:!0,icon:jsxRuntime.jsx(SwapHorizontalIcon,{})},stake:{title:"Stake",link:t&&t==="testnet"?void 0:`${u}/stake`,isExternal:!0,icon:jsxRuntime.jsx(StakeIcon,{})},explorer:{title:"Explorer",link:t&&t==="testnet"?"https://testnet-explorer.garden.finance/":"https://explorer.garden.finance/",isExternal:!0,icon:jsxRuntime.jsx(SearchIconThin,{})}},Resources:{blog:{title:"Blog",link:`${f}/blog`,isExternal:!0,icon:jsxRuntime.jsx(BlogIcon,{})},brandkit:{title:"Media kit",link:"https://drive.google.com/drive/folders/1ZRAxs6jwhO6vLkadb9XOG7XqOQ4XLr0t?usp=sharing",isExternal:!0,icon:jsxRuntime.jsx(BrandKitIcon,{})},analytics:{title:"Analytics",link:"https://dune.com/garden_finance/gardenfinance",isExternal:!0,icon:null},Audits:{title:"Audits",link:"https://github.com/gardenfi/audits",isExternal:!0,icon:null}},Developers:{docs:{title:"Docs",link:"https://docs.garden.finance/",isExternal:!0,icon:jsxRuntime.jsx(DraftIcon,{})},api:{title:"API",link:"https://docs.garden.finance/developers/api/overview",isExternal:!0,icon:jsxRuntime.jsx(APIIcon,{})},sdk:{title:"SDK",link:"https://docs.garden.finance/developers/sdk/overview",isExternal:!0,icon:jsxRuntime.jsx(SDKIcon,{})}}},p={btcToSol:{title:"BTC to SOL",link:f+"/routes/bridge-btc-to-sol",chain:"Solana",isExternal:!0},btcToEth:{title:"BTC to ETH",link:f+"/routes/bridge-btc-to-eth",chain:"Ethereum",isExternal:!0},btcToUsdc:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-arbitrum",chain:"Arbitrum",isExternal:!0},btctoUsdcEth:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-ethereum",chain:"Ethereum",isExternal:!0},btcToWbtc:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-ethereum",chain:"Ethereum",isExternal:!0},btcTocbBtc:{title:"BTC to cbBtc",link:f+"/routes/bridge-btc-to-cbbtc-base",chain:"Base",isExternal:!0},btcToSui:{title:"BTC to SUI",link:f+"/routes/bridge-btc-to-sui",chain:"Sui",isExternal:!0},btcToWbtcUni:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-unichain",chain:"Unichain",isExternal:!0},btcToBnb:{title:"BTC to BNB",link:f+"/routes/bridge-btc-to-bnb",chain:"BNB Chain",isExternal:!0},cbBtcBaseTocbBtcSolana:{title:" to cbBtc",link:f+"/routes/bridge-cbbtc-base-to-cbbtc-solana",inputAsset:"cbBtc",inputChain:"Base",chain:"Solana",isExternal:!0},usdcBnbToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-bnb-to-btc",inputAsset:"USDC",inputChain:"BNB Chain",chain:"Bitcoin",isExternal:!0}},b={discord:"https://discord.gg/7feudTFMXB",x:"https://x.com/gardenfi"},{Products:C,Resources:y,Developers:R}=d;return jsxRuntime.jsxs("footer",{className:cn("gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",e,s?"gf-text-white":"gf-text-dark-grey"),...n,children:[jsxRuntime.jsxs("div",{className:"gf-z-30 gf-w-full gf-max-w-screen-2xl",children:[jsxRuntime.jsxs("div",{className:"gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6",children:[jsxRuntime.jsx(GardenIcon,{onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),className:"gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",onClick:m=>m.preventDefault()}),jsxRuntime.jsxs("div",{className:"gf-flex gf-items-center gf-gap-4",children:[jsxRuntime.jsx(XIcon,{onClick:()=>{c&&window.open(b.x,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"}),jsxRuntime.jsx(DiscordIcon,{onClick:()=>{c&&window.open(b.discord,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"})]})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-max-w-screen-2xl gf-flex-col-reverse gf-items-start gf-justify-between gf-gap-6 md:gf-flex-row",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-flex-col sm:gf-flex-row gf-gap-6 gf-items-start gf-justify-between sm:gf-gap-3 md:gf-w-fit",children:[jsxRuntime.jsx("div",{className:"gf-w-full md:gf-hidden",children:jsxRuntime.jsx(FooterLinks,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-2"})}),jsxRuntime.jsx("div",{className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",children:jsxRuntime.jsx(FooterLinks,{title:"Routes",links:p,hoveredIndex:o,onHover:l,className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 md:gf-grid-cols-2 md:gf-grid-rows-2",isRoutes:!0})})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-items-start gf-justify-between gf-gap-3 md:gf-w-fit md:gf-gap-16",children:[jsxRuntime.jsx(FooterLinks,{title:"Products",links:C,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"}),jsxRuntime.jsx(FooterLinks,{title:"Developers",links:R,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-flex-col gf-gap-1"}),jsxRuntime.jsx("div",{className:"gf-hidden md:gf-flex",children:jsxRuntime.jsx(FooterLinks,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-1"})})]})]})]}),jsxRuntime.jsxs("div",{className:"gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center",children:[jsxRuntime.jsx("div",{className:`gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${s?"gf-bg-white":"gf-bg-dark-grey"}`}),jsxRuntime.jsxs("div",{className:"gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4",children:[jsxRuntime.jsx("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6",children:jsxRuntime.jsxs(Typography,{size:"h5",className:"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",weight:"regular",children:[jsxRuntime.jsx(CopyrightsIcon,{}),jsxRuntime.jsx("span",{children:"Garden"}),jsxRuntime.jsx("span",{children:"2025"})]})}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6",children:[jsxRuntime.jsx(Typography,{size:"h5",as:"a",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/privacy.pdf",target:"_blank",children:"Privacy Policy"}),jsxRuntime.jsx(Typography,{as:"a",size:"h5",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/terms.pdf",target:"_blank",children:"Terms of Service"})]})]})]})]}),jsxRuntime.jsx(FooterBackgroundAnimation,{isMobile:!1,isLogoHovered:s,maskUrl:i})]})};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var build={exports:{}};(()=>{var e={181:(s,a,o)=>{var l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt,p=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,b=typeof self=="object"&&self&&self.Object===Object&&self,C=p||b||Function("return this")(),y=Object.prototype.toString,R=Math.max,m=Math.min,x=function(){return C.Date.now()};function g(E){var M=typeof E;return!!E&&(M=="object"||M=="function")}function S(E){if(typeof E=="number")return E;if(function(_){return typeof _=="symbol"||function(I){return!!I&&typeof I=="object"}(_)&&y.call(_)=="[object Symbol]"}(E))return NaN;if(g(E)){var M=typeof E.valueOf=="function"?E.valueOf():E;E=g(M)?M+"":M}if(typeof E!="string")return E===0?E:+E;E=E.replace(l,"");var L=u.test(E);return L||f.test(E)?d(E.slice(2),L?2:8):c.test(E)?NaN:+E}s.exports=function(E,M,L){var _,I,$,z,O,N,K=0,B=!1,A=!1,j=!0;if(typeof E!="function")throw new TypeError("Expected a function");function P(q){var Y=_,ee=I;return _=I=void 0,K=q,z=E.apply(ee,Y)}function T(q){var Y=q-N;return N===void 0||Y>=M||Y<0||A&&q-K>=$}function k(){var q=x();if(T(q))return V(q);O=setTimeout(k,function(Y){var ee=M-(Y-N);return A?m(ee,$-(Y-K)):ee}(q))}function V(q){return O=void 0,j&&_?P(q):(_=I=void 0,z)}function W(){var q=x(),Y=T(q);if(_=arguments,I=this,N=q,Y){if(O===void 0)return function(ee){return K=ee,O=setTimeout(k,M),B?P(ee):z}(N);if(A)return O=setTimeout(k,M),P(N)}return O===void 0&&(O=setTimeout(k,M)),z}return M=S(M)||0,g(L)&&(B=!!L.leading,$=(A="maxWait"in L)?R(S(L.maxWait)||0,M):$,j="trailing"in L?!!L.trailing:j),W.cancel=function(){O!==void 0&&clearTimeout(O),K=0,_=N=I=O=void 0},W.flush=function(){return O===void 0?z:V(x())},W}},858:(s,a,o)=>{var l="Expected a function",c=NaN,u="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,C=parseInt,y=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,R=typeof self=="object"&&self&&self.Object===Object&&self,m=y||R||Function("return this")(),x=Object.prototype.toString,g=Math.max,S=Math.min,E=function(){return m.Date.now()};function M(_){var I=typeof _;return!!_&&(I=="object"||I=="function")}function L(_){if(typeof _=="number")return _;if(function(z){return typeof z=="symbol"||function(O){return!!O&&typeof O=="object"}(z)&&x.call(z)==u}(_))return c;if(M(_)){var I=typeof _.valueOf=="function"?_.valueOf():_;_=M(I)?I+"":I}if(typeof _!="string")return _===0?_:+_;_=_.replace(f,"");var $=p.test(_);return $||b.test(_)?C(_.slice(2),$?2:8):d.test(_)?c:+_}s.exports=function(_,I,$){var z=!0,O=!0;if(typeof _!="function")throw new TypeError(l);return M($)&&(z="leading"in $?!!$.leading:z,O="trailing"in $?!!$.trailing:O),function(N,K,B){var A,j,P,T,k,V,W=0,q=!1,Y=!1,ee=!0;if(typeof N!="function")throw new TypeError(l);function re(se){var fe=A,ie=j;return A=j=void 0,W=se,T=N.apply(ie,fe)}function ce(se){var fe=se-V;return V===void 0||fe>=K||fe<0||Y&&se-W>=P}function he(){var se=E();if(ce(se))return me(se);k=setTimeout(he,function(fe){var ie=K-(fe-V);return Y?S(ie,P-(fe-W)):ie}(se))}function me(se){return k=void 0,ee&&A?re(se):(A=j=void 0,T)}function pe(){var se=E(),fe=ce(se);if(A=arguments,j=this,V=se,fe){if(k===void 0)return function(ie){return W=ie,k=setTimeout(he,K),q?re(ie):T}(V);if(Y)return k=setTimeout(he,K),re(V)}return k===void 0&&(k=setTimeout(he,K)),T}return K=L(K)||0,M(B)&&(q=!!B.leading,P=(Y="maxWait"in B)?g(L(B.maxWait)||0,K):P,ee="trailing"in B?!!B.trailing:ee),pe.cancel=function(){k!==void 0&&clearTimeout(k),W=0,A=V=j=k=void 0},pe.flush=function(){return k===void 0?T:me(E())},pe}(_,I,{leading:z,maxWait:I,trailing:O})}},694:(s,a,o)=>{var l=o(925);function c(){}function u(){}u.resetWarningCache=c,s.exports=function(){function f(b,C,y,R,m,x){if(x!==l){var g=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 g.name="Invariant Violation",g}}function d(){return f}f.isRequired=f;var p={array:f,bigint:f,bool:f,func:f,number:f,object:f,string:f,symbol:f,any:f,arrayOf:d,element:f,elementType:f,instanceOf:d,node:f,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:u,resetWarningCache:c};return p.PropTypes=p,p}},556:(s,a,o)=>{s.exports=o(694)()},925:s=>{s.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function i(s){var a=t[s];if(a!==void 0)return a.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,i),o.exports}i.n=s=>{var a=s&&s.__esModule?()=>s.default:()=>s;return i.d(a,{a}),a},i.d=(s,a)=>{for(var o in a)i.o(a,o)&&!i.o(s,o)&&Object.defineProperty(s,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=(s,a)=>Object.prototype.hasOwnProperty.call(s,a),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var n={};(()=>{i.r(n),i.d(n,{LazyLoadComponent:()=>ye,LazyLoadImage:()=>He,trackWindowScroll:()=>q});const s=React;var a=i.n(s),o=i(556);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function c(U){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},c(U)}function u(U,F){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(U);F&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(U,D).enumerable})),G.push.apply(G,H)}return G}function f(U,F,G){return(F=p(F))in U?Object.defineProperty(U,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):U[F]=G,U}function d(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,p(H.key),H)}}function p(U){var F=function(G,H){if(c(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(c(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return c(F)=="symbol"?F:F+""}function b(U,F,G){return F=y(F),function(H,D){if(D&&(c(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}(H)}(U,C()?Reflect.construct(F,G||[],y(U).constructor):F.apply(U,G))}function C(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(C=function(){return!!U})()}function y(U){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},y(U)}function R(U,F){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},R(U,F)}var m=function(U){U.forEach(function(F){F.isIntersecting&&F.target.onVisible()})},x={},g=function(U){function F(D){var Z;if(function(Q,te){if(!(Q instanceof te))throw new TypeError("Cannot call a class as a function")}(this,F),(Z=b(this,F,[D])).supportsObserver=!D.scrollPosition&&D.useIntersectionObserver&&l(),Z.supportsObserver){var J=D.threshold;Z.observer=function(Q){return x[Q]=x[Q]||new IntersectionObserver(m,{rootMargin:Q+"px"}),x[Q]}(J)}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&&R(D,Z)}(F,U),G=F,H=[{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(),J=this.placeholder.style,Q=parseInt(J.getPropertyValue("margin-left"),10)||0,te=parseInt(J.getPropertyValue("margin-top"),10)||0;return{bottom:D.y+Z.bottom+te,left:D.x+Z.left+Q,right:D.x+Z.right+Q,top:D.y+Z.top+te}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var D=this.props,Z=D.scrollPosition,J=D.threshold,Q=this.getPlaceholderBoundingBox(Z),te=Z.y+window.innerHeight,ne=Z.x,le=Z.x+window.innerWidth,ae=Z.y;return ae-J<=Q.bottom&&te+J>=Q.top&&ne-J<=Q.right&&le+J>=Q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var D=this,Z=this.props,J=Z.className,Q=Z.height,te=Z.placeholder,ne=Z.style,le=Z.width;if(te&&typeof te.type!="function")return a().cloneElement(te,{ref:function(oe){return D.placeholder=oe}});var ae=function(oe){for(var de=1;de<arguments.length;de++){var ue=arguments[de]!=null?arguments[de]:{};de%2?u(Object(ue),!0).forEach(function(ge){f(oe,ge,ue[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(ue)):u(Object(ue)).forEach(function(ge){Object.defineProperty(oe,ge,Object.getOwnPropertyDescriptor(ue,ge))})}return oe}({display:"inline-block"},ne);return le!==void 0&&(ae.width=le),Q!==void 0&&(ae.height=Q),a().createElement("span",{className:J,ref:function(oe){return D.placeholder=oe},style:ae},te)}}],H&&d(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);g.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])},g.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const S=g;var E=i(181),M=i.n(E),L=i(858),_=i.n(L),I=function(U){var F=getComputedStyle(U,null);return F.getPropertyValue("overflow")+F.getPropertyValue("overflow-y")+F.getPropertyValue("overflow-x")};const $=function(U){if(!(U instanceof HTMLElement))return window;for(var F=U;F&&F instanceof HTMLElement;){if(/(scroll|auto)/.test(I(F)))return F;F=F.parentNode}return window};function z(U){return z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},z(U)}var O=["delayMethod","delayTime"];function N(){return N=Object.assign?Object.assign.bind():function(U){for(var F=1;F<arguments.length;F++){var G=arguments[F];for(var H in G)({}).hasOwnProperty.call(G,H)&&(U[H]=G[H])}return U},N.apply(null,arguments)}function K(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,B(H.key),H)}}function B(U){var F=function(G,H){if(z(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(z(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return z(F)=="symbol"?F:F+""}function A(U,F,G){return F=T(F),j(U,P()?Reflect.construct(F,G||[],T(U).constructor):F.apply(U,G))}function j(U,F){if(F&&(z(F)=="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}(U)}function P(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(P=function(){return!!U})()}function T(U){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},T(U)}function k(U,F){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},k(U,F)}var V=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},W=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const q=function(U){var F=function(G){function H(J){var Q;if(function(ne,le){if(!(ne instanceof le))throw new TypeError("Cannot call a class as a function")}(this,H),(Q=A(this,H,[J])).useIntersectionObserver=J.useIntersectionObserver&&l(),Q.useIntersectionObserver)return j(Q);var te=Q.onChangeScroll.bind(Q);return J.delayMethod==="debounce"?Q.delayedScroll=M()(te,J.delayTime):J.delayMethod==="throttle"&&(Q.delayedScroll=_()(te,J.delayTime)),Q.state={scrollPosition:{x:V(),y:W()}},Q.baseComponentRef=a().createRef(),Q}return function(J,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");J.prototype=Object.create(Q&&Q.prototype,{constructor:{value:J,writable:!0,configurable:!0}}),Object.defineProperty(J,"prototype",{writable:!1}),Q&&k(J,Q)}(H,G),D=H,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:V(),y:W()}})}},{key:"render",value:function(){var J=this.props,Q=(J.delayMethod,J.delayTime,function(ne,le){if(ne==null)return{};var ae,oe,de=function(ge,ke){if(ge==null)return{};var Be={};for(var Oe in ge)if({}.hasOwnProperty.call(ge,Oe)){if(ke.indexOf(Oe)>=0)continue;Be[Oe]=ge[Oe]}return Be}(ne,le);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(ne);for(oe=0;oe<ue.length;oe++)ae=ue[oe],le.indexOf(ae)>=0||{}.propertyIsEnumerable.call(ne,ae)&&(de[ae]=ne[ae])}return de}(J,O)),te=this.useIntersectionObserver?null:this.state.scrollPosition;return a().createElement(U,N({forwardRef:this.baseComponentRef,scrollPosition:te},Q))}}],Z&&K(D.prototype,Z),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,Z}(a().Component);return F.propTypes={delayMethod:o.PropTypes.oneOf(["debounce","throttle"]),delayTime:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool},F.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},F};function Y(U){return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},Y(U)}function ee(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,re(H.key),H)}}function re(U){var F=function(G,H){if(Y(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(Y(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return Y(F)=="symbol"?F:F+""}function ce(U,F,G){return F=me(F),function(H,D){if(D&&(Y(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}(H)}(U,he()?Reflect.construct(F,G||[],me(U).constructor):F.apply(U,G))}function he(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(he=function(){return!!U})()}function me(U){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},me(U)}function pe(U,F){return pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},pe(U,F)}var se=function(U){function F(D){return function(Z,J){if(!(Z instanceof J))throw new TypeError("Cannot call a class as a function")}(this,F),ce(this,F,[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&&pe(D,Z)}(F,U),G=F,(H=[{key:"render",value:function(){return a().createElement(S,this.props)}}])&&ee(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);const fe=q(se);function ie(U){return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},ie(U)}function X(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,Ee(H.key),H)}}function Ee(U){var F=function(G,H){if(ie(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(ie(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return ie(F)=="symbol"?F:F+""}function Le(U,F,G){return F=Ce(F),function(H,D){if(D&&(ie(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}(H)}(U,be()?Reflect.construct(F,G||[],Ce(U).constructor):F.apply(U,G))}function be(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(be=function(){return!!U})()}function Ce(U){return Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},Ce(U)}function Pe(U,F){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},Pe(U,F)}var ve=function(U){function F(D){var Z;(function(le,ae){if(!(le instanceof ae))throw new TypeError("Cannot call a class as a function")})(this,F),Z=Le(this,F,[D]);var J=D.afterLoad,Q=D.beforeLoad,te=D.scrollPosition,ne=D.visibleByDefault;return Z.state={visible:ne},ne&&(Q(),J()),Z.onVisible=Z.onVisible.bind(Z),Z.isScrollTracked=!!(te&&Number.isFinite(te.x)&&te.x>=0&&Number.isFinite(te.y)&&te.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&&Pe(D,Z)}(F,U),G=F,(H=[{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,J=D.delayMethod,Q=D.delayTime,te=D.height,ne=D.placeholder,le=D.scrollPosition,ae=D.style,oe=D.threshold,de=D.useIntersectionObserver,ue=D.width;return this.isScrollTracked||de&&l()?a().createElement(S,{className:Z,height:te,onVisible:this.onVisible,placeholder:ne,scrollPosition:le,style:ae,threshold:oe,useIntersectionObserver:de,width:ue}):a().createElement(fe,{className:Z,delayMethod:J,delayTime:Q,height:te,onVisible:this.onVisible,placeholder:ne,style:ae,threshold:oe,width:ue})}}])&&X(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);ve.propTypes={afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool},ve.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const ye=ve;function xe(U){return xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},xe(U)}var we=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function Se(U,F){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(U);F&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(U,D).enumerable})),G.push.apply(G,H)}return G}function Te(U){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?Se(Object(G),!0).forEach(function(H){Re(U,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(G)):Se(Object(G)).forEach(function(H){Object.defineProperty(U,H,Object.getOwnPropertyDescriptor(G,H))})}return U}function Re(U,F,G){return(F=je(F))in U?Object.defineProperty(U,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):U[F]=G,U}function Me(){return Me=Object.assign?Object.assign.bind():function(U){for(var F=1;F<arguments.length;F++){var G=arguments[F];for(var H in G)({}).hasOwnProperty.call(G,H)&&(U[H]=G[H])}return U},Me.apply(null,arguments)}function _e(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,je(H.key),H)}}function je(U){var F=function(G,H){if(xe(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(xe(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return xe(F)=="symbol"?F:F+""}function Ve(U,F,G){return F=Ae(F),function(H,D){if(D&&(xe(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}(H)}(U,De()?Reflect.construct(F,G||[],Ae(U).constructor):F.apply(U,G))}function De(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(De=function(){return!!U})()}function Ae(U){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},Ae(U)}function Ie(U,F){return Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},Ie(U,F)}var Fe=function(U){function F(D){var Z;return function(J,Q){if(!(J instanceof Q))throw new TypeError("Cannot call a class as a function")}(this,F),(Z=Ve(this,F,[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)}(F,U),G=F,H=[{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(J,Q){if(J==null)return{};var te,ne,le=function(oe,de){if(oe==null)return{};var ue={};for(var ge in oe)if({}.hasOwnProperty.call(oe,ge)){if(de.indexOf(ge)>=0)continue;ue[ge]=oe[ge]}return ue}(J,Q);if(Object.getOwnPropertySymbols){var ae=Object.getOwnPropertySymbols(J);for(ne=0;ne<ae.length;ne++)te=ae[ne],Q.indexOf(te)>=0||{}.propertyIsEnumerable.call(J,te)&&(le[te]=J[te])}return le}(D,we));return a().createElement("img",Me({},Z,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var D=this.props,Z=D.beforeLoad,J=D.className,Q=D.delayMethod,te=D.delayTime,ne=D.height,le=D.placeholder,ae=D.scrollPosition,oe=D.style,de=D.threshold,ue=D.useIntersectionObserver,ge=D.visibleByDefault,ke=D.width;return a().createElement(ye,{beforeLoad:Z,className:J,delayMethod:Q,delayTime:te,height:ne,placeholder:le,scrollPosition:ae,style:oe,threshold:de,useIntersectionObserver:ue,visibleByDefault:ge,width:ke},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(D){var Z=this.props,J=Z.effect,Q=Z.height,te=Z.placeholderSrc,ne=Z.width,le=Z.wrapperClassName,ae=Z.wrapperProps,oe=this.state.loaded,de=oe?" lazy-load-image-loaded":"",ue=oe||!te?{}:{backgroundImage:"url(".concat(te,")"),backgroundSize:"100% 100%"};return a().createElement("span",Me({className:le+" lazy-load-image-background "+J+de,style:Te(Te({},ue),{},{color:"transparent",display:"inline-block",height:Q,width:ne})},ae),D)}},{key:"render",value:function(){var D=this.props,Z=D.effect,J=D.placeholderSrc,Q=D.visibleByDefault,te=D.wrapperClassName,ne=D.wrapperProps,le=this.getLazyLoadImage();return(Z||J)&&!Q||te||ne?this.getWrappedLazyLoadImage(le):le}}],H&&_e(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(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=n})();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:n,className:s,thumbnailClassName:a})=>{const[o,l]=React.useState(!1),[c,u]=React.useState(e??placeholderUrl);React.useEffect(()=>{u(e??placeholderUrl)},[e]);const f=()=>{u(placeholderUrl)};return jsxRuntime.jsx(Opacity,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:jsxRuntime.jsxs("div",{className:cn(s,"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:n,effect:"blur",src:c,onLoad:()=>l(!0),onError:f})}),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:n})]})]})})},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:n,logo:s})=>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:s}),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:n}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]})]})]});var lottie$1={exports:{}};(function(module,exports){typeof navigator<"u"&&function(e,t){module.exports=t()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var i,n=e.length,s;for(i=0;i<n;i+=1){s=e[i].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t.prototype[a]=s[a])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].pause()},resume:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].resume()},setRate:function(i){var n,s=this.audios.length;for(n=0;n<s;n+=1)this.audios[n].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(i,n){var s=0,a=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(s=0;s<n;s+=1)a.push(o);return a}function t(i,n){return i==="float32"?new Float32Array(n):i==="int16"?new Int16Array(n):i==="uint8c"?new Uint8ClampedArray(n):e(i,n)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(i){return typeof i}:_typeof$6=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,i=e.length;for(t=0;t<i;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var i=createSizedArray(e.length),n,s=e.length;for(n=0;n<s;n+=1)i[n]=Math.abs(e[n]);return i}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,i,n){this.type=e,this.currentTime=t,this.totalTime=i,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,i,n){this.type=e,this.currentLoop=i,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,i){this.type=e,this.firstFrame=t,this.totalFrames=i}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,t,i){var n,s,a,o,l,c,u,f;switch(o=Math.floor(e*6),l=e*6-o,c=i*(1-t),u=i*(1-l*t),f=i*(1-(1-l)*t),o%6){case 0:n=i,s=f,a=c;break;case 1:n=u,s=i,a=c;break;case 2:n=c,s=i,a=f;break;case 3:n=c,s=u,a=i;break;case 4:n=f,s=c,a=i;break;case 5:n=i,s=c,a=u;break}return[n,s,a]}function RGBtoHSV(e,t,i){var n=Math.max(e,t,i),s=Math.min(e,t,i),a=n-s,o,l=n===0?0:a/n,c=n/255;switch(n){case s:o=0;break;case e:o=t-i+a*(t<i?6:0),o/=6*a;break;case t:o=i-e+a*2,o/=6*a;break;case i:o=e-t+a*4,o/=6*a;break}return[o,l,c]}function addSaturationToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[1]+=t,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[2]+=t,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[0]+=t/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var e=[],t,i;for(t=0;t<256;t+=1)i=t.toString(16),e[t]=i.length===1?"0"+i:i;return function(n,s,a){return n<0&&(n=0),s<0&&(s=0),a<0&&(a=0),"#"+e[n]+e[s]+e[a]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(i){return typeof i}:_typeof$5=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$5(e)}var dataManager=function(){var e=1,t=[],i,n,s={onmessage:function(){},postMessage:function(b){i({data:b})}},a={postMessage:function(b){s.onmessage({data:b})}};function o(p){if(window.Worker&&window.Blob&&getWebWorker()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",p.toString()],{type:"text/javascript"}),C=URL.createObjectURL(b);return new Worker(C)}return i=p,s}function l(){n||(n=o(function(b){function C(){function R(B,A){var j,P,T=B.length,k,V,W,q;for(P=0;P<T;P+=1)if(j=B[P],"ks"in j&&!j.completed){if(j.completed=!0,j.hasMask){var Y=j.masksProperties;for(V=Y.length,k=0;k<V;k+=1)if(Y[k].pt.k.i)E(Y[k].pt.k);else for(q=Y[k].pt.k.length,W=0;W<q;W+=1)Y[k].pt.k[W].s&&E(Y[k].pt.k[W].s[0]),Y[k].pt.k[W].e&&E(Y[k].pt.k[W].e[0])}j.ty===0?(j.layers=g(j.refId,A),R(j.layers,A)):j.ty===4?S(j.shapes):j.ty===5&&N(j)}}function m(B,A){if(B){var j=0,P=B.length;for(j=0;j<P;j+=1)B[j].t===1&&(B[j].data.layers=g(B[j].data.refId,A),R(B[j].data.layers,A))}}function x(B,A){for(var j=0,P=A.length;j<P;){if(A[j].id===B)return A[j];j+=1}return null}function g(B,A){var j=x(B,A);return j?j.layers.__used?JSON.parse(JSON.stringify(j.layers)):(j.layers.__used=!0,j.layers):null}function S(B){var A,j=B.length,P,T;for(A=j-1;A>=0;A-=1)if(B[A].ty==="sh")if(B[A].ks.k.i)E(B[A].ks.k);else for(T=B[A].ks.k.length,P=0;P<T;P+=1)B[A].ks.k[P].s&&E(B[A].ks.k[P].s[0]),B[A].ks.k[P].e&&E(B[A].ks.k[P].e[0]);else B[A].ty==="gr"&&S(B[A].it)}function E(B){var A,j=B.i.length;for(A=0;A<j;A+=1)B.i[A][0]+=B.v[A][0],B.i[A][1]+=B.v[A][1],B.o[A][0]+=B.v[A][0],B.o[A][1]+=B.v[A][1]}function M(B,A){var j=A?A.split("."):[100,100,100];return B[0]>j[0]?!0:j[0]>B[0]?!1:B[1]>j[1]?!0:j[1]>B[1]?!1:B[2]>j[2]?!0:j[2]>B[2]?!1:null}var L=function(){var B=[4,4,14];function A(P){var T=P.t.d;P.t.d={k:[{s:T,t:0}]}}function j(P){var T,k=P.length;for(T=0;T<k;T+=1)P[T].ty===5&&A(P[T])}return function(P){if(M(B,P.v)&&(j(P.layers),P.assets)){var T,k=P.assets.length;for(T=0;T<k;T+=1)P.assets[T].layers&&j(P.assets[T].layers)}}}(),_=function(){var B=[4,7,99];return function(A){if(A.chars&&!M(B,A.v)){var j,P=A.chars.length;for(j=0;j<P;j+=1){var T=A.chars[j];T.data&&T.data.shapes&&(S(T.data.shapes),T.data.ip=0,T.data.op=99999,T.data.st=0,T.data.sr=1,T.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},A.chars[j].t||(T.data.shapes.push({ty:"no"}),T.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),I=function(){var B=[5,7,15];function A(P){var T=P.t.p;typeof T.a=="number"&&(T.a={a:0,k:T.a}),typeof T.p=="number"&&(T.p={a:0,k:T.p}),typeof T.r=="number"&&(T.r={a:0,k:T.r})}function j(P){var T,k=P.length;for(T=0;T<k;T+=1)P[T].ty===5&&A(P[T])}return function(P){if(M(B,P.v)&&(j(P.layers),P.assets)){var T,k=P.assets.length;for(T=0;T<k;T+=1)P.assets[T].layers&&j(P.assets[T].layers)}}}(),$=function(){var B=[4,1,9];function A(P){var T,k=P.length,V,W;for(T=0;T<k;T+=1)if(P[T].ty==="gr")A(P[T].it);else if(P[T].ty==="fl"||P[T].ty==="st")if(P[T].c.k&&P[T].c.k[0].i)for(W=P[T].c.k.length,V=0;V<W;V+=1)P[T].c.k[V].s&&(P[T].c.k[V].s[0]/=255,P[T].c.k[V].s[1]/=255,P[T].c.k[V].s[2]/=255,P[T].c.k[V].s[3]/=255),P[T].c.k[V].e&&(P[T].c.k[V].e[0]/=255,P[T].c.k[V].e[1]/=255,P[T].c.k[V].e[2]/=255,P[T].c.k[V].e[3]/=255);else P[T].c.k[0]/=255,P[T].c.k[1]/=255,P[T].c.k[2]/=255,P[T].c.k[3]/=255}function j(P){var T,k=P.length;for(T=0;T<k;T+=1)P[T].ty===4&&A(P[T].shapes)}return function(P){if(M(B,P.v)&&(j(P.layers),P.assets)){var T,k=P.assets.length;for(T=0;T<k;T+=1)P.assets[T].layers&&j(P.assets[T].layers)}}}(),z=function(){var B=[4,4,18];function A(P){var T,k=P.length,V,W;for(T=k-1;T>=0;T-=1)if(P[T].ty==="sh")if(P[T].ks.k.i)P[T].ks.k.c=P[T].closed;else for(W=P[T].ks.k.length,V=0;V<W;V+=1)P[T].ks.k[V].s&&(P[T].ks.k[V].s[0].c=P[T].closed),P[T].ks.k[V].e&&(P[T].ks.k[V].e[0].c=P[T].closed);else P[T].ty==="gr"&&A(P[T].it)}function j(P){var T,k,V=P.length,W,q,Y,ee;for(k=0;k<V;k+=1){if(T=P[k],T.hasMask){var re=T.masksProperties;for(q=re.length,W=0;W<q;W+=1)if(re[W].pt.k.i)re[W].pt.k.c=re[W].cl;else for(ee=re[W].pt.k.length,Y=0;Y<ee;Y+=1)re[W].pt.k[Y].s&&(re[W].pt.k[Y].s[0].c=re[W].cl),re[W].pt.k[Y].e&&(re[W].pt.k[Y].e[0].c=re[W].cl)}T.ty===4&&A(T.shapes)}}return function(P){if(M(B,P.v)&&(j(P.layers),P.assets)){var T,k=P.assets.length;for(T=0;T<k;T+=1)P.assets[T].layers&&j(P.assets[T].layers)}}}();function O(B){B.__complete||($(B),L(B),_(B),I(B),z(B),R(B.layers,B.assets),m(B.chars,B.assets),B.__complete=!0)}function N(B){B.t.a.length===0&&"m"in B.t.p}var K={};return K.completeData=O,K.checkColors=$,K.checkChars=_,K.checkPathProperties=I,K.checkShapes=z,K.completeLayers=R,K}if(a.dataManager||(a.dataManager=C()),a.assetLoader||(a.assetLoader=function(){function R(x){var g=x.getResponseHeader("content-type");return g&&x.responseType==="json"&&g.indexOf("json")!==-1||x.response&&_typeof$5(x.response)==="object"?x.response:x.response&&typeof x.response=="string"?JSON.parse(x.response):x.responseText?JSON.parse(x.responseText):null}function m(x,g,S,E){var M,L=new XMLHttpRequest;try{L.responseType="json"}catch{}L.onreadystatechange=function(){if(L.readyState===4)if(L.status===200)M=R(L),S(M);else try{M=R(L),S(M)}catch(_){E&&E(_)}};try{L.open(["G","E","T"].join(""),x,!0)}catch{L.open(["G","E","T"].join(""),g+"/"+x,!0)}L.send()}return{load:m}}()),b.data.type==="loadAnimation")a.assetLoader.load(b.data.path,b.data.fullPath,function(R){a.dataManager.completeData(R),a.postMessage({id:b.data.id,payload:R,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var y=b.data.animation;a.dataManager.completeData(y),a.postMessage({id:b.data.id,payload:y,status:"success"})}else b.data.type==="loadData"&&a.assetLoader.load(b.data.path,b.data.fullPath,function(R){a.postMessage({id:b.data.id,payload:R,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})})}),n.onmessage=function(p){var b=p.data,C=b.id,y=t[C];t[C]=null,b.status==="success"?y.onComplete(b.payload):y.onError&&y.onError()})}function c(p,b){e+=1;var C="processId_"+e;return t[C]={onComplete:p,onError:b},C}function u(p,b,C){l();var y=c(b,C);n.postMessage({type:"loadAnimation",path:p,fullPath:window.location.origin+window.location.pathname,id:y})}function f(p,b,C){l();var y=c(b,C);n.postMessage({type:"loadData",path:p,fullPath:window.location.origin+window.location.pathname,id:y})}function d(p,b,C){l();var y=c(b,C);n.postMessage({type:"complete",animation:p,id:y})}return{loadAnimation:u,loadData:f,completeAnimation:d}}(),ImagePreloader=function(){var e=function(){var m=createTag("canvas");m.width=1,m.height=1;var x=m.getContext("2d");return x.fillStyle="rgba(0,0,0,0)",x.fillRect(0,0,1,1),m}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(m,x,g){var S="";if(m.e)S=m.p;else if(x){var E=m.p;E.indexOf("images/")!==-1&&(E=E.split("/")[1]),S=x+E}else S=g,S+=m.u?m.u:"",S+=m.p;return S}function s(m){var x=0,g=setInterval((function(){var S=m.getBBox();(S.width||x>500)&&(this._imageLoaded(),clearInterval(g)),x+=1}).bind(this),50)}function a(m){var x=n(m,this.assetsPath,this.path),g=createNS("image");isSafari?this.testImageLoaded(g):g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),g.setAttributeNS("http://www.w3.org/1999/xlink","href",x),this._elementHelper.append?this._elementHelper.append(g):this._elementHelper.appendChild(g);var S={img:g,assetData:m};return S}function o(m){var x=n(m,this.assetsPath,this.path),g=createTag("img");g.crossOrigin="anonymous",g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),g.src=x;var S={img:g,assetData:m};return S}function l(m){var x={assetData:m},g=n(m,this.assetsPath,this.path);return dataManager.loadData(g,(function(S){x.img=S,this._footageLoaded()}).bind(this),(function(){x.img={},this._footageLoaded()}).bind(this)),x}function c(m,x){this.imagesLoadedCb=x;var g,S=m.length;for(g=0;g<S;g+=1)m[g].layers||(!m[g].t||m[g].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(m[g]))):m[g].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(m[g]))))}function u(m){this.path=m||""}function f(m){this.assetsPath=m||""}function d(m){for(var x=0,g=this.images.length;x<g;){if(this.images[x].assetData===m)return this.images[x].img;x+=1}return null}function p(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function C(){return this.totalFootages===this.loadedFootagesCount}function y(m,x){m==="svg"?(this._elementHelper=x,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function R(){this._imageLoaded=t.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=l.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return R.prototype={loadAssets:c,setAssetsPath:f,setPath:u,loadedImages:b,loadedFootages:C,destroy:p,getAsset:d,createImgData:o,createImageData:a,imageLoaded:t,footageLoaded:i,setCacheType:y},R}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,i){if(this._cbs[t])for(var n=this._cbs[t],s=0;s<n.length;s+=1)n[s](i)},addEventListener:function(t,i){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(i),(function(){this.removeEventListener(t,i)}).bind(this)},removeEventListener:function(t,i){if(!i)this._cbs[t]=null;else if(this._cbs[t]){for(var n=0,s=this._cbs[t].length;n<s;)this._cbs[t][n]===i&&(this._cbs[t].splice(n,1),n-=1,s-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var i=t.split(`\r
66
- `),n={},s,a=0,o=0;o<i.length;o+=1)s=i[o].split(":"),s.length===2&&(n[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return n}return function(t){for(var i=[],n=0;n<t.length;n+=1){var s=t[n],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(t[n].cm)}catch{try{a.payload=e(t[n].cm)}catch{a.payload={name:t[n].cm}}}i.push(a)}return i}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(i){for(var n=0,s=this.compositions.length;n<s;){if(this.compositions[n].data&&this.compositions[n].data.nm===i)return this.compositions[n].prepareFrame&&this.compositions[n].data.xt&&this.compositions[n].prepareFrame(this.currentFrame),this.compositions[n].compInterface;n+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(t,i){renderers[t]=i};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(i){return typeof i}:_typeof$4=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var i=getRenderer(t);this.renderer=new i(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var i={wrapper:e,animationData:t},n=e.attributes;i.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",i.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var s=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";s==="false"?i.loop=!1:s==="true"?i.loop=!0:s!==""&&(i.loop=parseInt(s,10));var a=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:n.getNamedItem("bm-autoplay")?n.getNamedItem("bm-autoplay").value:!0;i.autoplay=a!=="false",i.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"";var o=n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"";o==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,i,n=t.length,s=e.layers,a,o=s.length;for(a=0;a<o;a+=1)for(i=0;i<n;){if(t[i].id===s[a].id){t[i]=s[a];break}i+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(n=e.assets.length,i=0;i<n;i+=1)this.animationData.assets.push(e.assets[i]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var i=typeof e=="number"?e:void 0,n=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(i,n)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,i=0;i<this.markers.length;i+=1)if(t=this.markers[i],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,i){if(!(i&&this.name!==i)){var n=Number(e);if(isNaN(n)){var s=this.getMarkerData(e);s&&this.goToAndStop(s.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,i){if(!(i&&this.name!==i)){var n=Number(e);if(isNaN(n)){var s=this.getMarkerData(e);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(n,t,i);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var t=this.currentRawFrame+e*this.frameModifier,i=!1;t>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(i=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(i=!0,t=0)):this.setCurrentRawFrameValue(t),i&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?i=e:this.currentRawFrame+this.firstFrame>t&&(i=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var i,n=e.length;for(i=0;i<n;i+=1)this.segments.push(e[i])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var i=e.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),t=this.assetsPath+i}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,i=this.assets.length;t<i;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,i){try{var n=this.renderer.getElementByPath(e);n.updateDocumentData(t,i)}catch{}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],i=0,n=0,s=0,a=!0,o=!1;function l(A){for(var j=0,P=A.target;j<n;)t[j].animation===P&&(t.splice(j,1),j-=1,n-=1,P.isPaused||d()),j+=1}function c(A,j){if(!A)return null;for(var P=0;P<n;){if(t[P].elem===A&&t[P].elem!==null)return t[P].animation;P+=1}var T=new AnimationItem;return p(T,A),T.setData(A,j),T}function u(){var A,j=t.length,P=[];for(A=0;A<j;A+=1)P.push(t[A].animation);return P}function f(){s+=1,$()}function d(){s-=1}function p(A,j){A.addEventListener("destroy",l),A.addEventListener("_active",f),A.addEventListener("_idle",d),t.push({elem:j,animation:A}),n+=1}function b(A){var j=new AnimationItem;return p(j,null),j.setParams(A),j}function C(A,j){var P;for(P=0;P<n;P+=1)t[P].animation.setSpeed(A,j)}function y(A,j){var P;for(P=0;P<n;P+=1)t[P].animation.setDirection(A,j)}function R(A){var j;for(j=0;j<n;j+=1)t[j].animation.play(A)}function m(A){var j=A-i,P;for(P=0;P<n;P+=1)t[P].animation.advanceTime(j);i=A,s&&!o?window.requestAnimationFrame(m):a=!0}function x(A){i=A,window.requestAnimationFrame(m)}function g(A){var j;for(j=0;j<n;j+=1)t[j].animation.pause(A)}function S(A,j,P){var T;for(T=0;T<n;T+=1)t[T].animation.goToAndStop(A,j,P)}function E(A){var j;for(j=0;j<n;j+=1)t[j].animation.stop(A)}function M(A){var j;for(j=0;j<n;j+=1)t[j].animation.togglePause(A)}function L(A){var j;for(j=n-1;j>=0;j-=1)t[j].animation.destroy(A)}function _(A,j,P){var T=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),k,V=T.length;for(k=0;k<V;k+=1)P&&T[k].setAttribute("data-bm-type",P),c(T[k],A);if(j&&V===0){P||(P="svg");var W=document.getElementsByTagName("body")[0];W.innerText="";var q=createTag("div");q.style.width="100%",q.style.height="100%",q.setAttribute("data-bm-type",P),W.appendChild(q),c(q,A)}}function I(){var A;for(A=0;A<n;A+=1)t[A].animation.resize()}function $(){!o&&s&&a&&(window.requestAnimationFrame(x),a=!1)}function z(){o=!0}function O(){o=!1,$()}function N(A,j){var P;for(P=0;P<n;P+=1)t[P].animation.setVolume(A,j)}function K(A){var j;for(j=0;j<n;j+=1)t[j].animation.mute(A)}function B(A){var j;for(j=0;j<n;j+=1)t[j].animation.unmute(A)}return e.registerAnimation=c,e.loadAnimation=b,e.setSpeed=C,e.setDirection=y,e.play=R,e.pause=g,e.stop=E,e.togglePause=M,e.searchAnimations=_,e.resize=I,e.goToAndStop=S,e.destroy=L,e.freeze=z,e.unfreeze=O,e.setVolume=N,e.mute=K,e.unmute=B,e.getRegisteredAnimations=u,e}(),BezierFactory=function(){var e={};e.getBezierEasing=i;var t={};function i(x,g,S,E,M){var L=M||("bez_"+x+"_"+g+"_"+S+"_"+E).replace(/\./g,"p");if(t[L])return t[L];var _=new m([x,g,S,E]);return t[L]=_,_}var n=4,s=.001,a=1e-7,o=10,l=11,c=1/(l-1),u=typeof Float32Array=="function";function f(x,g){return 1-3*g+3*x}function d(x,g){return 3*g-6*x}function p(x){return 3*x}function b(x,g,S){return((f(g,S)*x+d(g,S))*x+p(g))*x}function C(x,g,S){return 3*f(g,S)*x*x+2*d(g,S)*x+p(g)}function y(x,g,S,E,M){var L,_,I=0;do _=g+(S-g)/2,L=b(_,E,M)-x,L>0?S=_:g=_;while(Math.abs(L)>a&&++I<o);return _}function R(x,g,S,E){for(var M=0;M<n;++M){var L=C(g,S,E);if(L===0)return g;var _=b(g,S,E)-x;g-=_/L}return g}function m(x){this._p=x,this._mSampleValues=u?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return m.prototype={get:function(g){var S=this._p[0],E=this._p[1],M=this._p[2],L=this._p[3];return this._precomputed||this._precompute(),S===E&&M===L?g:g===0?0:g===1?1:b(this._getTForX(g),E,L)},_precompute:function(){var g=this._p[0],S=this._p[1],E=this._p[2],M=this._p[3];this._precomputed=!0,(g!==S||E!==M)&&this._calcSampleValues()},_calcSampleValues:function(){for(var g=this._p[0],S=this._p[2],E=0;E<l;++E)this._mSampleValues[E]=b(E*c,g,S)},_getTForX:function(g){for(var S=this._p[0],E=this._p[2],M=this._mSampleValues,L=0,_=1,I=l-1;_!==I&&M[_]<=g;++_)L+=c;--_;var $=(g-M[_])/(M[_+1]-M[_]),z=L+$*c,O=C(z,S,E);return O>=s?R(g,z,S,E):O===0?z:y(g,L,L+c,S,E)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,i){var n=0,s=e,a=createSizedArray(s),o={newElement:l,release:c};function l(){var u;return n?(n-=1,u=a[n]):u=t(),u}function c(u){n===s&&(a=pooling.double(a),s*=2),i&&i(u),a[n]=u,n+=1}return o}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(i){var n,s=i.lengths.length;for(n=0;n<s;n+=1)bezierLengthPool.release(i.lengths[n]);i.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(p,b,C,y,R,m){var x=p*y+b*R+C*m-R*y-m*p-C*b;return x>-.001&&x<.001}function i(p,b,C,y,R,m,x,g,S){if(C===0&&m===0&&S===0)return t(p,b,y,R,x,g);var E=e.sqrt(e.pow(y-p,2)+e.pow(R-b,2)+e.pow(m-C,2)),M=e.sqrt(e.pow(x-p,2)+e.pow(g-b,2)+e.pow(S-C,2)),L=e.sqrt(e.pow(x-y,2)+e.pow(g-R,2)+e.pow(S-m,2)),_;return E>M?E>L?_=E-M-L:_=L-M-E:L>M?_=L-M-E:_=M-E-L,_>-1e-4&&_<1e-4}var n=function(){return function(p,b,C,y){var R=getDefaultCurveSegments(),m,x,g,S,E,M=0,L,_=[],I=[],$=bezierLengthPool.newElement();for(g=C.length,m=0;m<R;m+=1){for(E=m/(R-1),L=0,x=0;x<g;x+=1)S=bmPow(1-E,3)*p[x]+3*bmPow(1-E,2)*E*C[x]+3*(1-E)*bmPow(E,2)*y[x]+bmPow(E,3)*b[x],_[x]=S,I[x]!==null&&(L+=bmPow(_[x]-I[x],2)),I[x]=_[x];L&&(L=bmSqrt(L),M+=L),$.percents[m]=E,$.lengths[m]=M}return $.addedLength=M,$}}();function s(p){var b=segmentsLengthPool.newElement(),C=p.c,y=p.v,R=p.o,m=p.i,x,g=p._length,S=b.lengths,E=0;for(x=0;x<g-1;x+=1)S[x]=n(y[x],y[x+1],R[x],m[x+1]),E+=S[x].addedLength;return C&&g&&(S[x]=n(y[x],y[0],R[x],m[0]),E+=S[x].addedLength),b.totalLength=E,b}function a(p){this.segmentLength=0,this.points=new Array(p)}function o(p,b){this.partialLength=p,this.point=b}var l=function(){var p={};return function(b,C,y,R){var m=(b[0]+"_"+b[1]+"_"+C[0]+"_"+C[1]+"_"+y[0]+"_"+y[1]+"_"+R[0]+"_"+R[1]).replace(/\./g,"p");if(!p[m]){var x=getDefaultCurveSegments(),g,S,E,M,L,_=0,I,$,z=null;b.length===2&&(b[0]!==C[0]||b[1]!==C[1])&&t(b[0],b[1],C[0],C[1],b[0]+y[0],b[1]+y[1])&&t(b[0],b[1],C[0],C[1],C[0]+R[0],C[1]+R[1])&&(x=2);var O=new a(x);for(E=y.length,g=0;g<x;g+=1){for($=createSizedArray(E),L=g/(x-1),I=0,S=0;S<E;S+=1)M=bmPow(1-L,3)*b[S]+3*bmPow(1-L,2)*L*(b[S]+y[S])+3*(1-L)*bmPow(L,2)*(C[S]+R[S])+bmPow(L,3)*C[S],$[S]=M,z!==null&&(I+=bmPow($[S]-z[S],2));I=bmSqrt(I),_+=I,O.points[g]=new o(I,$),z=$}O.segmentLength=_,p[m]=O}return p[m]}}();function c(p,b){var C=b.percents,y=b.lengths,R=C.length,m=bmFloor((R-1)*p),x=p*b.addedLength,g=0;if(m===R-1||m===0||x===y[m])return C[m];for(var S=y[m]>x?-1:1,E=!0;E;)if(y[m]<=x&&y[m+1]>x?(g=(x-y[m])/(y[m+1]-y[m]),E=!1):m+=S,m<0||m>=R-1){if(m===R-1)return C[m];E=!1}return C[m]+(C[m+1]-C[m])*g}function u(p,b,C,y,R,m){var x=c(R,m),g=1-x,S=e.round((g*g*g*p[0]+(x*g*g+g*x*g+g*g*x)*C[0]+(x*x*g+g*x*x+x*g*x)*y[0]+x*x*x*b[0])*1e3)/1e3,E=e.round((g*g*g*p[1]+(x*g*g+g*x*g+g*g*x)*C[1]+(x*x*g+g*x*x+x*g*x)*y[1]+x*x*x*b[1])*1e3)/1e3;return[S,E]}var f=createTypedArray("float32",8);function d(p,b,C,y,R,m,x){R<0?R=0:R>1&&(R=1);var g=c(R,x);m=m>1?1:m;var S=c(m,x),E,M=p.length,L=1-g,_=1-S,I=L*L*L,$=g*L*L*3,z=g*g*L*3,O=g*g*g,N=L*L*_,K=g*L*_+L*g*_+L*L*S,B=g*g*_+L*g*S+g*L*S,A=g*g*S,j=L*_*_,P=g*_*_+L*S*_+L*_*S,T=g*S*_+L*S*S+g*_*S,k=g*S*S,V=_*_*_,W=S*_*_+_*S*_+_*_*S,q=S*S*_+_*S*S+S*_*S,Y=S*S*S;for(E=0;E<M;E+=1)f[E*4]=e.round((I*p[E]+$*C[E]+z*y[E]+O*b[E])*1e3)/1e3,f[E*4+1]=e.round((N*p[E]+K*C[E]+B*y[E]+A*b[E])*1e3)/1e3,f[E*4+2]=e.round((j*p[E]+P*C[E]+T*y[E]+k*b[E])*1e3)/1e3,f[E*4+3]=e.round((V*p[E]+W*C[E]+q*y[E]+Y*b[E])*1e3)/1e3;return f}return{getSegmentsLength:s,getNewSegment:d,getPointInSegment:u,buildBezierData:l,pointOnLine2D:t,pointOnLine3D:i}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var i=this.offsetTime,n;this.propType==="multidimensional"&&(n=createTypedArray("float32",this.pv.length));for(var s=t.lastIndex,a=s,o=this.keyframes.length-1,l=!0,c,u,f;l;){if(c=this.keyframes[a],u=this.keyframes[a+1],a===o-1&&e>=u.t-i){c.h&&(c=u),s=0;break}if(u.t-i>e){s=a;break}a<o-1?a+=1:(s=0,l=!1)}f=this.keyframesMetadata[a]||{};var d,p,b,C,y,R,m=u.t-i,x=c.t-i,g;if(c.to){f.bezierData||(f.bezierData=bez.buildBezierData(c.s,u.s||c.e,c.to,c.ti));var S=f.bezierData;if(e>=m||e<x){var E=e>=m?S.points.length-1:0;for(p=S.points[E].point.length,d=0;d<p;d+=1)n[d]=S.points[E].point[d]}else{f.__fnct?R=f.__fnct:(R=BezierFactory.getBezierEasing(c.o.x,c.o.y,c.i.x,c.i.y,c.n).get,f.__fnct=R),b=R((e-x)/(m-x));var M=S.segmentLength*b,L,_=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastAddedLength:0;for(y=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastPoint:0,l=!0,C=S.points.length;l;){if(_+=S.points[y].partialLength,M===0||b===0||y===S.points.length-1){for(p=S.points[y].point.length,d=0;d<p;d+=1)n[d]=S.points[y].point[d];break}else if(M>=_&&M<_+S.points[y+1].partialLength){for(L=(M-_)/S.points[y+1].partialLength,p=S.points[y].point.length,d=0;d<p;d+=1)n[d]=S.points[y].point[d]+(S.points[y+1].point[d]-S.points[y].point[d])*L;break}y<C-1?y+=1:l=!1}t._lastPoint=y,t._lastAddedLength=_-S.points[y].partialLength,t._lastKeyframeIndex=a}}else{var I,$,z,O,N;if(o=c.s.length,g=u.s||c.e,this.sh&&c.h!==1)if(e>=m)n[0]=g[0],n[1]=g[1],n[2]=g[2];else if(e<=x)n[0]=c.s[0],n[1]=c.s[1],n[2]=c.s[2];else{var K=createQuaternion(c.s),B=createQuaternion(g),A=(e-x)/(m-x);quaternionToEuler(n,slerp(K,B,A))}else for(a=0;a<o;a+=1)c.h!==1&&(e>=m?b=1:e<x?b=0:(c.o.x.constructor===Array?(f.__fnct||(f.__fnct=[]),f.__fnct[a]?R=f.__fnct[a]:(I=c.o.x[a]===void 0?c.o.x[0]:c.o.x[a],$=c.o.y[a]===void 0?c.o.y[0]:c.o.y[a],z=c.i.x[a]===void 0?c.i.x[0]:c.i.x[a],O=c.i.y[a]===void 0?c.i.y[0]:c.i.y[a],R=BezierFactory.getBezierEasing(I,$,z,O).get,f.__fnct[a]=R)):f.__fnct?R=f.__fnct:(I=c.o.x,$=c.o.y,z=c.i.x,O=c.i.y,R=BezierFactory.getBezierEasing(I,$,z,O).get,c.keyframeMetadata=R),b=R((e-x)/(m-x)))),g=u.s||c.e,N=c.h===1?c.s[a]:c.s[a]+(g[a]-c.s[a])*b,this.propType==="multidimensional"?n[a]=N:n=N}return t.lastIndex=s,n}function slerp(e,t,i){var n=[],s=e[0],a=e[1],o=e[2],l=e[3],c=t[0],u=t[1],f=t[2],d=t[3],p,b,C,y,R;return b=s*c+a*u+o*f+l*d,b<0&&(b=-b,c=-c,u=-u,f=-f,d=-d),1-b>1e-6?(p=Math.acos(b),C=Math.sin(p),y=Math.sin((1-i)*p)/C,R=Math.sin(i*p)/C):(y=1-i,R=i),n[0]=y*s+R*c,n[1]=y*a+R*u,n[2]=y*o+R*f,n[3]=y*l+R*d,n}function quaternionToEuler(e,t){var i=t[0],n=t[1],s=t[2],a=t[3],o=Math.atan2(2*n*a-2*i*s,1-2*n*n-2*s*s),l=Math.asin(2*i*n+2*s*a),c=Math.atan2(2*i*a-2*n*s,1-2*i*i-2*s*s);e[0]=o/degToRads,e[1]=l/degToRads,e[2]=c/degToRads}function createQuaternion(e){var t=e[0]*degToRads,i=e[1]*degToRads,n=e[2]*degToRads,s=Math.cos(t/2),a=Math.cos(i/2),o=Math.cos(n/2),l=Math.sin(t/2),c=Math.sin(i/2),u=Math.sin(n/2),f=s*a*o-l*c*u,d=l*c*o+s*a*u,p=l*a*o+s*c*u,b=s*c*o-l*a*u;return[d,p,b,f]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&e>=i||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var i=0,n=this.v.length;i<n;)t=e[i]*this.mult,mathAbs(this.v[i]-t)>1e-5&&(this.v[i]=t,this._mdf=!0),i+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)i=this.effectsSequence[e](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,i,n){this.propType="unidimensional",this.mult=i||1,this.data=t,this.v=i?t.k*i:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,i,n){this.propType="multidimensional",this.mult=i||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s,a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=t.k[s]*this.mult,this.pv[s]=t.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,i,n){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=i||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,i,n){this.propType="multidimensional";var s,a=t.k.length,o,l,c,u;for(s=0;s<a-1;s+=1)t.k[s].to&&t.k[s].s&&t.k[s+1]&&t.k[s+1].s&&(o=t.k[s].s,l=t.k[s+1].s,c=t.k[s].to,u=t.k[s].ti,(o.length===2&&!(o[0]===l[0]&&o[1]===l[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],o[0]+c[0],o[1]+c[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],l[0]+u[0],l[1]+u[1])||o.length===3&&!(o[0]===l[0]&&o[1]===l[1]&&o[2]===l[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],o[0]+c[0],o[1]+c[1],o[2]+c[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],l[0]+u[0],l[1]+u[1],l[2]+u[2]))&&(t.k[s].to=null,t.k[s].ti=null),o[0]===l[0]&&o[1]===l[1]&&c[0]===0&&c[1]===0&&u[0]===0&&u[1]===0&&(o.length===2||o[2]===l[2]&&c[2]===0&&u[2]===0)&&(t.k[s].to=null,t.k[s].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=e,this.container=n,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var f=t.k[0].s.length;for(this.v=createTypedArray("float32",f),this.pv=createTypedArray("float32",f),s=0;s<f;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",f)},this.addEffect=addEffect}var PropertyFactory=function(){function e(i,n,s,a,o){n.sid&&(n=i.globalData.slotManager.getProp(n));var l;if(!n.k.length)l=new ValueProperty(i,n,a,o);else if(typeof n.k[0]=="number")l=new MultiDimensionalProperty(i,n,a,o);else switch(s){case 0:l=new KeyframedValueProperty(i,n,a,o);break;case 1:l=new KeyframedMultidimensionalProperty(i,n,a,o);break}return l.effectsSequence.length&&o.addDynamicProperty(l),l}var t={getProp:e};return t}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,i=this.dynamicProperties.length;for(t=0;t<i;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var i=0;i<t;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,i,n,s){var a;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[n]||a[n]&&!s)&&(a[n]=pointPool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,i,n,s,a,o,l){this.setXYAt(e,t,"v",o,l),this.setXYAt(i,n,"o",o,l),this.setXYAt(s,a,"i",o,l)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,i=this.o,n=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],i[0][0],i[0][1],0,!1),s=1);var a=this._length-1,o=this._length,l;for(l=s;l<o;l+=1)e.setTripleAt(t[a][0],t[a][1],n[a][0],n[a][1],i[a][0],i[a][1],l,!1),a-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(s){var a=s._length,o;for(o=0;o<a;o+=1)pointPool.release(s.v[o]),pointPool.release(s.i[o]),pointPool.release(s.o[o]),s.v[o]=null,s.i[o]=null,s.o[o]=null;s._length=0,s.c=!1}function i(s){var a=n.newElement(),o,l=s._length===void 0?s.v.length:s._length;for(a.setLength(l),a.c=s.c,o=0;o<l;o+=1)a.setTripleAt(s.v[o][0],s.v[o][1],s.o[o][0],s.o[o][1],s.i[o][0],s.i[o][1],o);return a}var n=poolFactory(4,e,t);return n.clone=i,n}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:s,release:a},t=0,i=4,n=createSizedArray(i);function s(){var o;return t?(t-=1,o=n[t]):o=new ShapeCollection,o}function a(o){var l,c=o._length;for(l=0;l<c;l+=1)shapePool.release(o.shapes[l]);o._length=0,t===i&&(n=pooling.double(n),i*=2),n[t]=o,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(m,x,g){var S=g.lastIndex,E,M,L,_,I,$,z,O,N,K=this.keyframes;if(m<K[0].t-this.offsetTime)E=K[0].s[0],L=!0,S=0;else if(m>=K[K.length-1].t-this.offsetTime)E=K[K.length-1].s?K[K.length-1].s[0]:K[K.length-2].e[0],L=!0;else{for(var B=S,A=K.length-1,j=!0,P,T,k;j&&(P=K[B],T=K[B+1],!(T.t-this.offsetTime>m));)B<A-1?B+=1:j=!1;if(k=this.keyframesMetadata[B]||{},L=P.h===1,S=B,!L){if(m>=T.t-this.offsetTime)O=1;else if(m<P.t-this.offsetTime)O=0;else{var V;k.__fnct?V=k.__fnct:(V=BezierFactory.getBezierEasing(P.o.x,P.o.y,P.i.x,P.i.y).get,k.__fnct=V),O=V((m-(P.t-this.offsetTime))/(T.t-this.offsetTime-(P.t-this.offsetTime)))}M=T.s?T.s[0]:P.e[0]}E=P.s[0]}for($=x._length,z=E.i[0].length,g.lastIndex=S,_=0;_<$;_+=1)for(I=0;I<z;I+=1)N=L?E.i[_][I]:E.i[_][I]+(M.i[_][I]-E.i[_][I])*O,x.i[_][I]=N,N=L?E.o[_][I]:E.o[_][I]+(M.o[_][I]-E.o[_][I])*O,x.o[_][I]=N,N=L?E.v[_][I]:E.v[_][I]+(M.v[_][I]-E.v[_][I])*O,x.v[_][I]=N}function i(){var m=this.comp.renderedFrame-this.offsetTime,x=this.keyframes[0].t-this.offsetTime,g=this.keyframes[this.keyframes.length-1].t-this.offsetTime,S=this._caching.lastFrame;return S!==e&&(S<x&&m<x||S>g&&m>g)||(this._caching.lastIndex=S<m?this._caching.lastIndex:0,this.interpolateShape(m,this.pv,this._caching)),this._caching.lastFrame=m,this.pv}function n(){this.paths=this.localShapeCollection}function s(m,x){if(m._length!==x._length||m.c!==x.c)return!1;var g,S=m._length;for(g=0;g<S;g+=1)if(m.v[g][0]!==x.v[g][0]||m.v[g][1]!==x.v[g][1]||m.o[g][0]!==x.o[g][0]||m.o[g][1]!==x.o[g][1]||m.i[g][0]!==x.i[g][0]||m.i[g][1]!==x.i[g][1])return!1;return!0}function a(m){s(this.v,m)||(this.v=shapePool.clone(m),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var m;this.kf?m=this.pv:this.data.ks?m=this.data.ks.k:m=this.data.pt.k;var x,g=this.effectsSequence.length;for(x=0;x<g;x+=1)m=this.effectsSequence[x](m);this.setVValue(m),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function l(m,x,g){this.propType="shape",this.comp=m.comp,this.container=m,this.elem=m,this.data=x,this.k=!1,this.kf=!1,this._mdf=!1;var S=g===3?x.pt.k:x.ks.k;this.v=shapePool.clone(S),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function c(m){this.effectsSequence.push(m),this.container.addDynamicProperty(this)}l.prototype.interpolateShape=t,l.prototype.getValue=o,l.prototype.setVValue=a,l.prototype.addEffect=c;function u(m,x,g){this.propType="shape",this.comp=m.comp,this.elem=m,this.container=m,this.offsetTime=m.data.st,this.keyframes=g===3?x.pt.k:x.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var S=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,S),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[i.bind(this)]}u.prototype.getValue=o,u.prototype.interpolateShape=t,u.prototype.setVValue=a,u.prototype.addEffect=c;var f=function(){var m=roundCorner;function x(g,S){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=S.d,this.elem=g,this.comp=g.comp,this.frameId=-1,this.initDynamicPropertyContainer(g),this.p=PropertyFactory.getProp(g,S.p,1,0,this),this.s=PropertyFactory.getProp(g,S.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return x.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var S=this.p.v[0],E=this.p.v[1],M=this.s.v[0]/2,L=this.s.v[1]/2,_=this.d!==3,I=this.v;I.v[0][0]=S,I.v[0][1]=E-L,I.v[1][0]=_?S+M:S-M,I.v[1][1]=E,I.v[2][0]=S,I.v[2][1]=E+L,I.v[3][0]=_?S-M:S+M,I.v[3][1]=E,I.i[0][0]=_?S-M*m:S+M*m,I.i[0][1]=E-L,I.i[1][0]=_?S+M:S-M,I.i[1][1]=E-L*m,I.i[2][0]=_?S+M*m:S-M*m,I.i[2][1]=E+L,I.i[3][0]=_?S-M:S+M,I.i[3][1]=E+L*m,I.o[0][0]=_?S+M*m:S-M*m,I.o[0][1]=E-L,I.o[1][0]=_?S+M:S-M,I.o[1][1]=E+L*m,I.o[2][0]=_?S-M*m:S+M*m,I.o[2][1]=E+L,I.o[3][0]=_?S-M:S+M,I.o[3][1]=E-L*m}},extendPrototype([DynamicPropertyContainer],x),x}(),d=function(){function m(x,g){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=x,this.comp=x.comp,this.data=g,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(x),g.sy===1?(this.ir=PropertyFactory.getProp(x,g.ir,0,0,this),this.is=PropertyFactory.getProp(x,g.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(x,g.pt,0,0,this),this.p=PropertyFactory.getProp(x,g.p,1,0,this),this.r=PropertyFactory.getProp(x,g.r,0,degToRads,this),this.or=PropertyFactory.getProp(x,g.or,0,0,this),this.os=PropertyFactory.getProp(x,g.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return m.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var g=Math.floor(this.pt.v)*2,S=Math.PI*2/g,E=!0,M=this.or.v,L=this.ir.v,_=this.os.v,I=this.is.v,$=2*Math.PI*M/(g*2),z=2*Math.PI*L/(g*2),O,N,K,B,A=-Math.PI/2;A+=this.r.v;var j=this.data.d===3?-1:1;for(this.v._length=0,O=0;O<g;O+=1){N=E?M:L,K=E?_:I,B=E?$:z;var P=N*Math.cos(A),T=N*Math.sin(A),k=P===0&&T===0?0:T/Math.sqrt(P*P+T*T),V=P===0&&T===0?0:-P/Math.sqrt(P*P+T*T);P+=+this.p.v[0],T+=+this.p.v[1],this.v.setTripleAt(P,T,P-k*B*K*j,T-V*B*K*j,P+k*B*K*j,T+V*B*K*j,O,!0),E=!E,A+=S*j}},convertPolygonToPath:function(){var g=Math.floor(this.pt.v),S=Math.PI*2/g,E=this.or.v,M=this.os.v,L=2*Math.PI*E/(g*4),_,I=-Math.PI*.5,$=this.data.d===3?-1:1;for(I+=this.r.v,this.v._length=0,_=0;_<g;_+=1){var z=E*Math.cos(I),O=E*Math.sin(I),N=z===0&&O===0?0:O/Math.sqrt(z*z+O*O),K=z===0&&O===0?0:-z/Math.sqrt(z*z+O*O);z+=+this.p.v[0],O+=+this.p.v[1],this.v.setTripleAt(z,O,z-N*L*M*$,O-K*L*M*$,z+N*L*M*$,O+K*L*M*$,_,!0),I+=S*$}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],m),m}(),p=function(){function m(x,g){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=x,this.comp=x.comp,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(x),this.p=PropertyFactory.getProp(x,g.p,1,0,this),this.s=PropertyFactory.getProp(x,g.s,1,0,this),this.r=PropertyFactory.getProp(x,g.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return m.prototype={convertRectToPath:function(){var g=this.p.v[0],S=this.p.v[1],E=this.s.v[0]/2,M=this.s.v[1]/2,L=bmMin(E,M,this.r.v),_=L*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(g+E,S-M+L,g+E,S-M+L,g+E,S-M+_,0,!0),this.v.setTripleAt(g+E,S+M-L,g+E,S+M-_,g+E,S+M-L,1,!0),L!==0?(this.v.setTripleAt(g+E-L,S+M,g+E-L,S+M,g+E-_,S+M,2,!0),this.v.setTripleAt(g-E+L,S+M,g-E+_,S+M,g-E+L,S+M,3,!0),this.v.setTripleAt(g-E,S+M-L,g-E,S+M-L,g-E,S+M-_,4,!0),this.v.setTripleAt(g-E,S-M+L,g-E,S-M+_,g-E,S-M+L,5,!0),this.v.setTripleAt(g-E+L,S-M,g-E+L,S-M,g-E+_,S-M,6,!0),this.v.setTripleAt(g+E-L,S-M,g+E-_,S-M,g+E-L,S-M,7,!0)):(this.v.setTripleAt(g-E,S+M,g-E+_,S+M,g-E,S+M,2),this.v.setTripleAt(g-E,S-M,g-E,S-M+_,g-E,S-M,3))):(this.v.setTripleAt(g+E,S-M+L,g+E,S-M+_,g+E,S-M+L,0,!0),L!==0?(this.v.setTripleAt(g+E-L,S-M,g+E-L,S-M,g+E-_,S-M,1,!0),this.v.setTripleAt(g-E+L,S-M,g-E+_,S-M,g-E+L,S-M,2,!0),this.v.setTripleAt(g-E,S-M+L,g-E,S-M+L,g-E,S-M+_,3,!0),this.v.setTripleAt(g-E,S+M-L,g-E,S+M-_,g-E,S+M-L,4,!0),this.v.setTripleAt(g-E+L,S+M,g-E+L,S+M,g-E+_,S+M,5,!0),this.v.setTripleAt(g+E-L,S+M,g+E-_,S+M,g+E-L,S+M,6,!0),this.v.setTripleAt(g+E,S+M-L,g+E,S+M-L,g+E,S+M-_,7,!0)):(this.v.setTripleAt(g-E,S-M,g-E+_,S-M,g-E,S-M,1,!0),this.v.setTripleAt(g-E,S+M,g-E,S+M-_,g-E,S+M,2,!0),this.v.setTripleAt(g+E,S+M,g+E-_,S+M,g+E,S+M,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],m),m}();function b(m,x,g){var S;if(g===3||g===4){var E=g===3?x.pt:x.ks,M=E.k;M.length?S=new u(m,x,g):S=new l(m,x,g)}else g===5?S=new p(m,x):g===6?S=new f(m,x):g===7&&(S=new d(m,x));return S.k&&m.addDynamicProperty(S),S}function C(){return l}function y(){return u}var R={};return R.getShapeProp=b,R.getConstructorFunction=C,R.getKeyframedConstructorFunction=y,R}();/*!
65
+ `),()=>{document.head.removeChild(f)}},[t]),jsxRuntime.jsx(PopChildMeasure,{isPresent:t,childRef:n,sizeRef:s,children:React__namespace.cloneElement(e,{ref:n})})}const PresenceChild=({children:e,initial:t,isPresent:i,onExitComplete:n,custom:s,presenceAffectsLayout:a,mode:o})=>{const l=useConstant(newChildrenMap),c=React.useId(),u=React.useMemo(()=>({id:c,initial:t,isPresent:i,custom:s,onExitComplete:f=>{l.set(f,!0);for(const d of l.values())if(!d)return;n&&n()},register:f=>(l.set(f,!1),()=>l.delete(f))}),a?[Math.random()]:[i]);return React.useMemo(()=>{l.forEach((f,d)=>l.set(d,!1))},[i]),React__namespace.useEffect(()=>{!i&&!l.size&&n&&n()},[i]),o==="popLayout"&&(e=jsxRuntime.jsx(PopChild,{isPresent:i,children:e})),jsxRuntime.jsx(PresenceContext.Provider,{value:u,children:e})};function newChildrenMap(){return new Map}const getChildKey=e=>e.key||"";function onlyElements(e){const t=[];return React.Children.forEach(e,i=>{React.isValidElement(i)&&t.push(i)}),t}const AnimatePresence=({children:e,exitBeforeEnter:t,custom:i,initial:n=!0,onExitComplete:s,presenceAffectsLayout:a=!0,mode:o="sync"})=>{invariant(!t,"Replace exitBeforeEnter with mode='wait'");const l=React.useMemo(()=>onlyElements(e),[e]),c=l.map(getChildKey),u=React.useRef(!0),f=React.useRef(l),d=useConstant(()=>new Map),[p,b]=React.useState(l),[y,C]=React.useState(l);useIsomorphicLayoutEffect(()=>{u.current=!1,f.current=l;for(let x=0;x<y.length;x++){const g=getChildKey(y[x]);c.includes(g)?d.delete(g):d.get(g)!==!0&&d.set(g,!1)}},[y,c.length,c.join("-")]);const R=[];if(l!==p){let x=[...l];for(let g=0;g<y.length;g++){const S=y[g],E=getChildKey(S);c.includes(E)||(x.splice(g,0,S),R.push(S))}o==="wait"&&R.length&&(x=R),C(onlyElements(x)),b(l);return}process.env.NODE_ENV!=="production"&&o==="wait"&&y.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:m}=React.useContext(LayoutGroupContext);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:y.map(x=>{const g=getChildKey(x),S=l===y||c.includes(g),E=()=>{if(d.has(g))d.set(g,!0);else return;let M=!0;d.forEach(L=>{L||(M=!1)}),M&&(m==null||m(),C(f.current),s&&s())};return jsxRuntime.jsx(PresenceChild,{isPresent:S,initial:!u.current||n?void 0:!1,custom:S?void 0:i,presenceAffectsLayout:a,mode:o,onExitComplete:S?void 0:E,children:x},g)})})};function useMotionValue(e){const t=useConstant(()=>motionValue(e)),{isStatic:i}=React.useContext(MotionConfigContext);if(i){const[,n]=React.useState(e);React.useEffect(()=>t.on("change",n),[])}return t}function useCombineMotionValues(e,t){const i=useMotionValue(t()),n=()=>i.set(t());return n(),useIsomorphicLayoutEffect(()=>{const s=()=>frame.preRender(n,!1,!0),a=e.map(o=>o.on("change",s));return()=>{a.forEach(o=>o()),cancelFrame(n)}}),i}const isCustomValueType=e=>e&&typeof e=="object"&&e.mix,getMixer=e=>isCustomValueType(e)?e.mix:void 0;function transform(...e){const t=!Array.isArray(e[0]),i=t?0:-1,n=e[0+i],s=e[1+i],a=e[2+i],o=e[3+i],l=interpolate(s,a,{mixer:getMixer(a[0]),...o});return t?l(n):l}function useComputed(e){collectMotionValues.current=[],e();const t=useCombineMotionValues(collectMotionValues.current,e);return collectMotionValues.current=void 0,t}function useTransform(e,t,i,n){if(typeof e=="function")return useComputed(e);const s=typeof t=="function"?t:transform(t,i,n);return Array.isArray(e)?useListTransform(e,s):useListTransform([e],([a])=>s(a))}function useListTransform(e,t){const i=useConstant(()=>[]);return useCombineMotionValues(e,()=>{i.length=0;const n=e.length;for(let s=0;s<n;s++)i[s]=e[s].get();return t(i)})}function resolveElements(e,t,i){var n;if(typeof e=="string"){let s=document;t&&(invariant(!!t.current,"Scope provided, but no element detected."),s=t.current),i?((n=i[e])!==null&&n!==void 0||(i[e]=s.querySelectorAll(e)),e=i[e]):e=s.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function useUnmountEffect(e){return React.useEffect(()=>()=>e(),[])}function isDOMKeyframes(e){return typeof e=="object"&&!Array.isArray(e)}function createVisualElement(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=isSVGElement(e)?new SVGVisualElement(t):new HTMLVisualElement(t);i.mount(e),visualElementStore.set(e,i)}function createGeneratorEasing(e,t=100){const i=spring({keyframes:[0,t],...e}),n=Math.min(calcGeneratorDuration(i),maxGeneratorDuration);return{type:"keyframes",ease:s=>i.next(n*s).value/t,duration:millisecondsToSeconds(n)}}function calcNextTime(e,t,i,n){var s;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?i:(s=n.get(t))!==null&&s!==void 0?s:e}const wrap=(e,t,i)=>{const n=t-e;return((i-e)%n+n)%n+e};function getEasingForSegment(e,t){return isEasingArray(e)?e[wrap(0,e.length,t)]:e}function eraseKeyframes(e,t,i){for(let n=0;n<e.length;n++){const s=e[n];s.at>t&&s.at<i&&(removeItem(e,s),n--)}}function addKeyframes(e,t,i,n,s,a){eraseKeyframes(e,s,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:mixNumber$1(s,a,n[o]),easing:getEasingForSegment(i,o)})}function compareByTime(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const defaultSegmentEasing="easeInOut";function createAnimationsFromSequence(e,{defaultTransition:t={},...i}={},n){const s=t.duration||.3,a=new Map,o=new Map,l={},c=new Map;let u=0,f=0,d=0;for(let p=0;p<e.length;p++){const b=e[p];if(typeof b=="string"){c.set(b,f);continue}else if(!Array.isArray(b)){c.set(b.name,calcNextTime(f,b.at,u,c));continue}let[y,C,R={}]=b;R.at!==void 0&&(f=calcNextTime(f,R.at,u,c));let m=0;const x=(g,S,E,M=0,L=0)=>{const _=keyframesAsList(g),{delay:I=0,times:$=defaultOffset(_),type:z="keyframes",...O}=S;let{ease:N=t.ease||"easeOut",duration:K}=S;const B=typeof I=="function"?I(M,L):I,A=_.length;if(A<=2&&z==="spring"){let k=100;if(A===2&&isNumberKeyframesArray(_)){const q=_[1]-_[0];k=Math.abs(q)}const j={...O};K!==void 0&&(j.duration=secondsToMilliseconds(K));const W=createGeneratorEasing(j,k);N=W.ease,K=W.duration}K??(K=s);const V=f+B,P=V+K;$.length===1&&$[0]===0&&($[1]=1);const T=$.length-_.length;T>0&&fillOffset($,T),_.length===1&&_.unshift(null),addKeyframes(E,_,N,$,V,P),m=Math.max(B+K,m),d=Math.max(P,d)};if(isMotionValue(y)){const g=getSubjectSequence(y,o);x(C,R,getValueSequence("default",g))}else{const g=resolveElements(y,n,l),S=g.length;for(let E=0;E<S;E++){C=C,R=R;const M=g[E],L=getSubjectSequence(M,o);for(const _ in C)x(C[_],getValueTransition(R,_),getValueSequence(_,L),E,S)}}u=f,f+=m}return o.forEach((p,b)=>{for(const y in p){const C=p[y];C.sort(compareByTime);const R=[],m=[],x=[];for(let S=0;S<C.length;S++){const{at:E,value:M,easing:L}=C[S];R.push(M),m.push(progress(0,d,E)),x.push(L||"easeOut")}m[0]!==0&&(m.unshift(0),R.unshift(R[0]),x.unshift(defaultSegmentEasing)),m[m.length-1]!==1&&(m.push(1),R.push(null)),a.has(b)||a.set(b,{keyframes:{},transition:{}});const g=a.get(b);g.keyframes[y]=R,g.transition[y]={...t,duration:d,ease:x,times:m,...i}}}),a}function getSubjectSequence(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function getValueSequence(e,t){return t[e]||(t[e]=[]),t[e]}function keyframesAsList(e){return Array.isArray(e)?e:[e]}function getValueTransition(e,t){return e[t]?{...e,...e[t]}:{...e}}const isNumber=e=>typeof e=="number",isNumberKeyframesArray=e=>e.every(isNumber);function animateElements(e,t,i,n){const s=resolveElements(e,n),a=s.length;invariant(!!a,"No valid element provided.");const o=[];for(let l=0;l<a;l++){const c=s[l];visualElementStore.has(c)||createVisualElement(c);const u=visualElementStore.get(c),f={...i};typeof f.delay=="function"&&(f.delay=f.delay(l,a)),o.push(...animateTarget(u,{...t,transition:f},{}))}return new GroupPlaybackControls(o)}const isSequence=e=>Array.isArray(e)&&Array.isArray(e[0]);function animateSequence(e,t,i){const n=[];return createAnimationsFromSequence(e,t,i).forEach(({keyframes:a,transition:o},l)=>{let c;isMotionValue(l)?c=animateSingleValue(l,a.default,o.default):c=animateElements(l,a,o),n.push(c)}),new GroupPlaybackControls(n)}const createScopedAnimate=e=>{function t(i,n,s){let a;return isSequence(i)?a=animateSequence(i,n,e):isDOMKeyframes(n)?a=animateElements(i,n,s,e):a=animateSingleValue(i,n,s),e&&e.animations.push(a),a}return t};function useAnimate(){const e=useConstant(()=>({current:null,animations:[]})),t=useConstant(()=>createScopedAnimate(e));return useUnmountEffect(()=>{e.animations.forEach(i=>i.stop())}),[e,t]}function getOriginIndex(e,t){if(e==="first")return 0;{const i=t-1;return e==="last"?i:i/2}}function stagger(e=.1,{startDelay:t=0,from:i=0,ease:n}={}){return(s,a)=>{const o=typeof i=="number"?i:getOriginIndex(i,a),l=Math.abs(o-s);let c=e*l;if(n){const u=a*e;c=easingDefinitionToFunction(n)(c/u)*u}return t+c}}const FooterBackgroundAnimation=({isMobile:e,isLogoHovered:t,maskUrl:i})=>{const[n]=React.useState("https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"),[s,a]=React.useState("initial"),o=React.useRef(null),l=React.useRef(null),c=useMotionValue(45),u=useTransform(c,f=>`${f}% center`);return React.useEffect(()=>{if(t)a("visible");else{a("exit");const f=setTimeout(()=>{a("initial")},800);return()=>clearTimeout(f)}},[t]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("video",{ref:o,src:n,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-screen gf-object-cover gf-opacity-0"},"video-flowers"),jsxRuntime.jsx(AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(motion.div,{animate:s,variants:{initial:{maskPosition:"45%",opacity:0},visible:{maskPosition:"10%",opacity:1},exit:{maskPosition:"-60%",opacity:0,transition:{duration:1.2,ease:[0,.77,.3,1],opacity:{delay:.4}}}},transition:{duration:1,ease:[.22,.68,.88,.96],delay:.15,opacity:{times:[0,1,1,1]}},style:{maskImage:`linear-gradient(black, black), url('${i}')`,maskComposite:"exclude",maskSize:e?"1200% 200%":"820% 600%",maskPosition:u},className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-full gf-overflow-hidden gf-opacity-0",children:jsxRuntime.jsx("video",{ref:l,src:n,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-h-full gf-w-screen gf-object-cover",onCanPlayThrough:()=>{l.current&&l.current.play().catch(console.error)},onLoadStart:()=>{l.current&&l.current.play().catch(console.error)}},"video-flowers-animated")},"hovered")})]})},ScaleY=({children:e,triggerAnimation:t})=>{const i={animation:{scaleY:[0,1],opacity:[0,1],transition:{duration:.5,ease:cubicBezier(.84,0,.16,1),opacity:{duration:.2,ease:"easeInOut"},once:!0}},idle:{scaleY:1,opacity:1}};return jsxRuntime.jsx(motion.div,{animate:t?"animation":"idle",variants:i,style:{transformOrigin:"bottom"},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}),RollingText=React.forwardRef(({value:e,isHovered:t,className:i,delay:n},s)=>{const a=e.split(""),[o,l]=useAnimate(),c=()=>{l([[".gf-letter",{y:"-100%"},{duration:.5,delay:n?stagger(.014,{startDelay:n}):stagger(.014),ease:[.76,0,.24,1]}]])},u=()=>{l([[".gf-letter",{y:"0%"},{duration:.5,delay:n?stagger(.014,{startDelay:n}):stagger(.014),ease:[.76,0,.24,1]}]])};return React.useImperativeHandle(s,()=>({startAnimation:c,stopAnimation:u})),React.useEffect(()=>{t?c():u()},[t]),React.useEffect(()=>{const f=()=>{t||c()},d=()=>{t||u()},p=o.current;if(p)return p.addEventListener("mouseenter",f),p.addEventListener("mouseleave",d),()=>{p.removeEventListener("mouseenter",f),p.removeEventListener("mouseleave",d)}},[o,t]),jsxRuntime.jsx("div",{ref:o,children:jsxRuntime.jsx("span",{className:cn("gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",i),children:a.map((f,d)=>jsxRuntime.jsx("span",{"data-letter":f,className:"gf-letter gf-relative gf-h-5 gf-whitespace-pre gf-leading-5 after:gf-absolute after:gf-left-0 after:gf-top-full after:gf-h-5 after:gf-leading-5 after:gf-content-[attr(data-letter)]",children:f},`${f}-${d}`))})})});RollingText.displayName="RollingText";const FooterLinks=({title:e,links:t,hoveredIndex:i,onHover:n,className:s="gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:a="gf-flex gf-flex-col gf-gap-1",isRoutes:o=!1})=>jsxRuntime.jsxs("div",{className:s,children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",className:"gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",children:jsxRuntime.jsx("span",{children:e})}),jsxRuntime.jsx("ul",{className:a,children:Object.values(t).map((l,c)=>l.link&&jsxRuntime.jsx("li",{className:o?"gf-w-fit":"",onMouseEnter:()=>{n==null||n(c)},onMouseLeave:()=>{n==null||n(null)},children:jsxRuntime.jsxs(Typography,{as:"a",href:l.link,target:"_blank",size:"h4",weight:"regular",className:`gf-cursor-pointer gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit ${o?"gf-flex gf-w-fit gf-gap-0.5 gf-items-end gf-transition-colors gf-duration-500 gf-ease-in-out":""}`,children:[l.inputAsset&&jsxRuntime.jsx(RollingText,{value:l.inputAsset||"",isHovered:i===c}),o&&l.inputChain&&jsxRuntime.jsx(RollingText,{delay:.1,className:"gf-text-xs gf-italic gf-translate-y-[0.6px]",value:l.inputChain,isHovered:i===c}),jsxRuntime.jsx(RollingText,{delay:.15,value:l.title,isHovered:i===c}),o&&l.chain&&jsxRuntime.jsx(RollingText,{delay:.3,className:"gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",value:l.chain,isHovered:i===c})]})},c))})]}),MaskURL="data:image/svg+xml,%3csvg%20width='3956'%20height='906'%20viewBox='0%200%203956%20906'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='3956'%20height='906'%20fill='url(%23paint0_linear_579_2)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_579_2'%20x1='1465.5'%20y1='731.406'%20x2='2604.91'%20y2='227.235'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0'/%3e%3cstop%20offset='0.115385'/%3e%3cstop%20offset='0.88'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Footer=({className:e,network:t="mainnet",maskUrl:i=MaskURL,...n})=>{const[s,a]=React.useState(!1),[o,l]=React.useState(null),c=useClientOnly(),u=t&&t==="testnet"?"https://testnet.garden.finance":"https://app.garden.finance",f="https://garden.finance",d={Products:{swap:{title:"Swap",link:t&&t==="testnet"?`${u}/?input-chain=bitcoin_testnet&input-asset=BTC`:`${u}/?input-chain=bitcoin&input-asset=BTC`,isExternal:!0},stake:{title:"Stake",link:t&&t==="testnet"?void 0:`${u}/stake`,isExternal:!0},explorer:{title:"Explorer",link:t&&t==="testnet"?"https://testnet-explorer.garden.finance/":"https://explorer.garden.finance/",isExternal:!0}},Resources:{blog:{title:"Blog",link:`${f}/blog`,isExternal:!0},faq:{title:"FAQs",link:`${f}/faq`,isExternal:!0},brandKit:{title:"Brand kit",link:`${f}/brand-kit`,isExternal:!0},analytics:{title:"Analytics",link:"https://dune.com/garden_finance/gardenfinance",isExternal:!0},Audits:{title:"Audits",link:"https://github.com/gardenfi/audits",isExternal:!0}},Developers:{docs:{title:"Docs",link:"https://docs.garden.finance/",isExternal:!0},api:{title:"API",link:"https://docs.garden.finance/developers/api/overview",isExternal:!0},sdk:{title:"SDK",link:"https://docs.garden.finance/developers/sdk/overview",isExternal:!0}}},p={btcToSol:{title:"BTC to SOL",link:f+"/routes/bridge-btc-to-sol",chain:"Solana",isExternal:!0},btcToEth:{title:"BTC to ETH",link:f+"/routes/bridge-btc-to-eth",chain:"Ethereum",isExternal:!0},btcToUsdc:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-arbitrum",chain:"Arbitrum",isExternal:!0},btctoUsdcEth:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-ethereum",chain:"Ethereum",isExternal:!0},btcToWbtc:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-ethereum",chain:"Ethereum",isExternal:!0},btcTocbBtc:{title:"BTC to cbBtc",link:f+"/routes/bridge-btc-to-cbbtc-base",chain:"Base",isExternal:!0},btcToSui:{title:"BTC to SUI",link:f+"/routes/bridge-btc-to-sui",chain:"Sui",isExternal:!0},btcToWbtcUni:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-unichain",chain:"Unichain",isExternal:!0},btcToBnb:{title:"BTC to BNB",link:f+"/routes/bridge-btc-to-bnb",chain:"BNB Chain",isExternal:!0},cbBtcBaseTocbBtcSolana:{title:" to cbBtc",link:f+"/routes/bridge-cbbtc-base-to-cbbtc-solana",inputAsset:"cbBtc",inputChain:"Base",chain:"Solana",isExternal:!0},usdcBnbToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-bnb-to-btc",inputAsset:"USDC",inputChain:"BNB Chain",chain:"Bitcoin",isExternal:!0}},b={discord:"https://discord.gg/7feudTFMXB",x:"https://x.com/gardenfi"},{Products:y,Resources:C,Developers:R}=d;return jsxRuntime.jsxs("footer",{className:cn("gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",e,s?"gf-text-white":"gf-text-dark-grey"),...n,children:[jsxRuntime.jsxs("div",{className:"gf-z-30 gf-w-full gf-max-w-screen-2xl",children:[jsxRuntime.jsxs("div",{className:"gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6",children:[jsxRuntime.jsx(GardenIcon,{onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),className:"gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",onClick:m=>m.preventDefault()}),jsxRuntime.jsxs("div",{className:"gf-flex gf-items-center gf-gap-4",children:[jsxRuntime.jsx(XIcon,{onClick:()=>{c&&window.open(b.x,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"}),jsxRuntime.jsx(DiscordIcon,{onClick:()=>{c&&window.open(b.discord,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"})]})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-max-w-screen-2xl gf-flex-col-reverse gf-items-start gf-justify-between gf-gap-6 md:gf-flex-row",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-flex-col sm:gf-flex-row gf-gap-6 gf-items-start gf-justify-between sm:gf-gap-3 md:gf-w-fit",children:[jsxRuntime.jsx("div",{className:"gf-w-full md:gf-hidden",children:jsxRuntime.jsx(FooterLinks,{title:"Resources",links:C,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-2"})}),jsxRuntime.jsx("div",{className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",children:jsxRuntime.jsx(FooterLinks,{title:"Routes",links:p,hoveredIndex:o,onHover:l,className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 md:gf-grid-cols-2 md:gf-grid-rows-2",isRoutes:!0})})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-items-start gf-justify-between gf-gap-3 md:gf-w-fit md:gf-gap-16",children:[jsxRuntime.jsx(FooterLinks,{title:"Products",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"}),jsxRuntime.jsx(FooterLinks,{title:"Developers",links:R,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-flex-col gf-gap-1"}),jsxRuntime.jsx("div",{className:"gf-hidden md:gf-flex",children:jsxRuntime.jsx(FooterLinks,{title:"Resources",links:C,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-1"})})]})]})]}),jsxRuntime.jsxs("div",{className:"gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center",children:[jsxRuntime.jsx("div",{className:`gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${s?"gf-bg-white":"gf-bg-dark-grey"}`}),jsxRuntime.jsxs("div",{className:"gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4",children:[jsxRuntime.jsx("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6",children:jsxRuntime.jsxs(Typography,{size:"h5",className:"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",weight:"regular",children:[jsxRuntime.jsx(CopyrightsIcon,{}),jsxRuntime.jsx("span",{children:"Garden"}),jsxRuntime.jsx("span",{children:"2025"})]})}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6",children:[jsxRuntime.jsx(Typography,{size:"h5",as:"a",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/privacy.pdf",target:"_blank",children:"Privacy Policy"}),jsxRuntime.jsx(Typography,{as:"a",size:"h5",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/terms.pdf",target:"_blank",children:"Terms of Service"})]})]})]})]}),jsxRuntime.jsx(FooterBackgroundAnimation,{isMobile:!1,isLogoHovered:s,maskUrl:i})]})};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var build={exports:{}};(()=>{var e={181:(s,a,o)=>{var l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt,p=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,b=typeof self=="object"&&self&&self.Object===Object&&self,y=p||b||Function("return this")(),C=Object.prototype.toString,R=Math.max,m=Math.min,x=function(){return y.Date.now()};function g(E){var M=typeof E;return!!E&&(M=="object"||M=="function")}function S(E){if(typeof E=="number")return E;if(function(_){return typeof _=="symbol"||function(I){return!!I&&typeof I=="object"}(_)&&C.call(_)=="[object Symbol]"}(E))return NaN;if(g(E)){var M=typeof E.valueOf=="function"?E.valueOf():E;E=g(M)?M+"":M}if(typeof E!="string")return E===0?E:+E;E=E.replace(l,"");var L=u.test(E);return L||f.test(E)?d(E.slice(2),L?2:8):c.test(E)?NaN:+E}s.exports=function(E,M,L){var _,I,$,z,O,N,K=0,B=!1,A=!1,V=!0;if(typeof E!="function")throw new TypeError("Expected a function");function P(q){var X=_,ee=I;return _=I=void 0,K=q,z=E.apply(ee,X)}function T(q){var X=q-N;return N===void 0||X>=M||X<0||A&&q-K>=$}function k(){var q=x();if(T(q))return j(q);O=setTimeout(k,function(X){var ee=M-(X-N);return A?m(ee,$-(X-K)):ee}(q))}function j(q){return O=void 0,V&&_?P(q):(_=I=void 0,z)}function W(){var q=x(),X=T(q);if(_=arguments,I=this,N=q,X){if(O===void 0)return function(ee){return K=ee,O=setTimeout(k,M),B?P(ee):z}(N);if(A)return O=setTimeout(k,M),P(N)}return O===void 0&&(O=setTimeout(k,M)),z}return M=S(M)||0,g(L)&&(B=!!L.leading,$=(A="maxWait"in L)?R(S(L.maxWait)||0,M):$,V="trailing"in L?!!L.trailing:V),W.cancel=function(){O!==void 0&&clearTimeout(O),K=0,_=N=I=O=void 0},W.flush=function(){return O===void 0?z:j(x())},W}},858:(s,a,o)=>{var l="Expected a function",c=NaN,u="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,y=parseInt,C=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,R=typeof self=="object"&&self&&self.Object===Object&&self,m=C||R||Function("return this")(),x=Object.prototype.toString,g=Math.max,S=Math.min,E=function(){return m.Date.now()};function M(_){var I=typeof _;return!!_&&(I=="object"||I=="function")}function L(_){if(typeof _=="number")return _;if(function(z){return typeof z=="symbol"||function(O){return!!O&&typeof O=="object"}(z)&&x.call(z)==u}(_))return c;if(M(_)){var I=typeof _.valueOf=="function"?_.valueOf():_;_=M(I)?I+"":I}if(typeof _!="string")return _===0?_:+_;_=_.replace(f,"");var $=p.test(_);return $||b.test(_)?y(_.slice(2),$?2:8):d.test(_)?c:+_}s.exports=function(_,I,$){var z=!0,O=!0;if(typeof _!="function")throw new TypeError(l);return M($)&&(z="leading"in $?!!$.leading:z,O="trailing"in $?!!$.trailing:O),function(N,K,B){var A,V,P,T,k,j,W=0,q=!1,X=!1,ee=!0;if(typeof N!="function")throw new TypeError(l);function re(se){var fe=A,ie=V;return A=V=void 0,W=se,T=N.apply(ie,fe)}function ce(se){var fe=se-j;return j===void 0||fe>=K||fe<0||X&&se-W>=P}function he(){var se=E();if(ce(se))return me(se);k=setTimeout(he,function(fe){var ie=K-(fe-j);return X?S(ie,P-(fe-W)):ie}(se))}function me(se){return k=void 0,ee&&A?re(se):(A=V=void 0,T)}function pe(){var se=E(),fe=ce(se);if(A=arguments,V=this,j=se,fe){if(k===void 0)return function(ie){return W=ie,k=setTimeout(he,K),q?re(ie):T}(j);if(X)return k=setTimeout(he,K),re(j)}return k===void 0&&(k=setTimeout(he,K)),T}return K=L(K)||0,M(B)&&(q=!!B.leading,P=(X="maxWait"in B)?g(L(B.maxWait)||0,K):P,ee="trailing"in B?!!B.trailing:ee),pe.cancel=function(){k!==void 0&&clearTimeout(k),W=0,A=j=V=k=void 0},pe.flush=function(){return k===void 0?T:me(E())},pe}(_,I,{leading:z,maxWait:I,trailing:O})}},694:(s,a,o)=>{var l=o(925);function c(){}function u(){}u.resetWarningCache=c,s.exports=function(){function f(b,y,C,R,m,x){if(x!==l){var g=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 g.name="Invariant Violation",g}}function d(){return f}f.isRequired=f;var p={array:f,bigint:f,bool:f,func:f,number:f,object:f,string:f,symbol:f,any:f,arrayOf:d,element:f,elementType:f,instanceOf:d,node:f,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:u,resetWarningCache:c};return p.PropTypes=p,p}},556:(s,a,o)=>{s.exports=o(694)()},925:s=>{s.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function i(s){var a=t[s];if(a!==void 0)return a.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,i),o.exports}i.n=s=>{var a=s&&s.__esModule?()=>s.default:()=>s;return i.d(a,{a}),a},i.d=(s,a)=>{for(var o in a)i.o(a,o)&&!i.o(s,o)&&Object.defineProperty(s,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=(s,a)=>Object.prototype.hasOwnProperty.call(s,a),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var n={};(()=>{i.r(n),i.d(n,{LazyLoadComponent:()=>Ce,LazyLoadImage:()=>He,trackWindowScroll:()=>q});const s=React;var a=i.n(s),o=i(556);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function c(U){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},c(U)}function u(U,F){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(U);F&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(U,D).enumerable})),G.push.apply(G,H)}return G}function f(U,F,G){return(F=p(F))in U?Object.defineProperty(U,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):U[F]=G,U}function d(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,p(H.key),H)}}function p(U){var F=function(G,H){if(c(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(c(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return c(F)=="symbol"?F:F+""}function b(U,F,G){return F=C(F),function(H,D){if(D&&(c(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}(H)}(U,y()?Reflect.construct(F,G||[],C(U).constructor):F.apply(U,G))}function y(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(y=function(){return!!U})()}function C(U){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},C(U)}function R(U,F){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},R(U,F)}var m=function(U){U.forEach(function(F){F.isIntersecting&&F.target.onVisible()})},x={},g=function(U){function F(D){var Z;if(function(Q,te){if(!(Q instanceof te))throw new TypeError("Cannot call a class as a function")}(this,F),(Z=b(this,F,[D])).supportsObserver=!D.scrollPosition&&D.useIntersectionObserver&&l(),Z.supportsObserver){var J=D.threshold;Z.observer=function(Q){return x[Q]=x[Q]||new IntersectionObserver(m,{rootMargin:Q+"px"}),x[Q]}(J)}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&&R(D,Z)}(F,U),G=F,H=[{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(),J=this.placeholder.style,Q=parseInt(J.getPropertyValue("margin-left"),10)||0,te=parseInt(J.getPropertyValue("margin-top"),10)||0;return{bottom:D.y+Z.bottom+te,left:D.x+Z.left+Q,right:D.x+Z.right+Q,top:D.y+Z.top+te}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var D=this.props,Z=D.scrollPosition,J=D.threshold,Q=this.getPlaceholderBoundingBox(Z),te=Z.y+window.innerHeight,ne=Z.x,le=Z.x+window.innerWidth,ae=Z.y;return ae-J<=Q.bottom&&te+J>=Q.top&&ne-J<=Q.right&&le+J>=Q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var D=this,Z=this.props,J=Z.className,Q=Z.height,te=Z.placeholder,ne=Z.style,le=Z.width;if(te&&typeof te.type!="function")return a().cloneElement(te,{ref:function(oe){return D.placeholder=oe}});var ae=function(oe){for(var de=1;de<arguments.length;de++){var ue=arguments[de]!=null?arguments[de]:{};de%2?u(Object(ue),!0).forEach(function(ge){f(oe,ge,ue[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(ue)):u(Object(ue)).forEach(function(ge){Object.defineProperty(oe,ge,Object.getOwnPropertyDescriptor(ue,ge))})}return oe}({display:"inline-block"},ne);return le!==void 0&&(ae.width=le),Q!==void 0&&(ae.height=Q),a().createElement("span",{className:J,ref:function(oe){return D.placeholder=oe},style:ae},te)}}],H&&d(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);g.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])},g.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const S=g;var E=i(181),M=i.n(E),L=i(858),_=i.n(L),I=function(U){var F=getComputedStyle(U,null);return F.getPropertyValue("overflow")+F.getPropertyValue("overflow-y")+F.getPropertyValue("overflow-x")};const $=function(U){if(!(U instanceof HTMLElement))return window;for(var F=U;F&&F instanceof HTMLElement;){if(/(scroll|auto)/.test(I(F)))return F;F=F.parentNode}return window};function z(U){return z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},z(U)}var O=["delayMethod","delayTime"];function N(){return N=Object.assign?Object.assign.bind():function(U){for(var F=1;F<arguments.length;F++){var G=arguments[F];for(var H in G)({}).hasOwnProperty.call(G,H)&&(U[H]=G[H])}return U},N.apply(null,arguments)}function K(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,B(H.key),H)}}function B(U){var F=function(G,H){if(z(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(z(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return z(F)=="symbol"?F:F+""}function A(U,F,G){return F=T(F),V(U,P()?Reflect.construct(F,G||[],T(U).constructor):F.apply(U,G))}function V(U,F){if(F&&(z(F)=="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}(U)}function P(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(P=function(){return!!U})()}function T(U){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},T(U)}function k(U,F){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},k(U,F)}var j=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},W=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const q=function(U){var F=function(G){function H(J){var Q;if(function(ne,le){if(!(ne instanceof le))throw new TypeError("Cannot call a class as a function")}(this,H),(Q=A(this,H,[J])).useIntersectionObserver=J.useIntersectionObserver&&l(),Q.useIntersectionObserver)return V(Q);var te=Q.onChangeScroll.bind(Q);return J.delayMethod==="debounce"?Q.delayedScroll=M()(te,J.delayTime):J.delayMethod==="throttle"&&(Q.delayedScroll=_()(te,J.delayTime)),Q.state={scrollPosition:{x:j(),y:W()}},Q.baseComponentRef=a().createRef(),Q}return function(J,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");J.prototype=Object.create(Q&&Q.prototype,{constructor:{value:J,writable:!0,configurable:!0}}),Object.defineProperty(J,"prototype",{writable:!1}),Q&&k(J,Q)}(H,G),D=H,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:j(),y:W()}})}},{key:"render",value:function(){var J=this.props,Q=(J.delayMethod,J.delayTime,function(ne,le){if(ne==null)return{};var ae,oe,de=function(ge,ke){if(ge==null)return{};var Be={};for(var Oe in ge)if({}.hasOwnProperty.call(ge,Oe)){if(ke.indexOf(Oe)>=0)continue;Be[Oe]=ge[Oe]}return Be}(ne,le);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(ne);for(oe=0;oe<ue.length;oe++)ae=ue[oe],le.indexOf(ae)>=0||{}.propertyIsEnumerable.call(ne,ae)&&(de[ae]=ne[ae])}return de}(J,O)),te=this.useIntersectionObserver?null:this.state.scrollPosition;return a().createElement(U,N({forwardRef:this.baseComponentRef,scrollPosition:te},Q))}}],Z&&K(D.prototype,Z),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,Z}(a().Component);return F.propTypes={delayMethod:o.PropTypes.oneOf(["debounce","throttle"]),delayTime:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool},F.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},F};function X(U){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},X(U)}function ee(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,re(H.key),H)}}function re(U){var F=function(G,H){if(X(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(X(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return X(F)=="symbol"?F:F+""}function ce(U,F,G){return F=me(F),function(H,D){if(D&&(X(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}(H)}(U,he()?Reflect.construct(F,G||[],me(U).constructor):F.apply(U,G))}function he(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(he=function(){return!!U})()}function me(U){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},me(U)}function pe(U,F){return pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},pe(U,F)}var se=function(U){function F(D){return function(Z,J){if(!(Z instanceof J))throw new TypeError("Cannot call a class as a function")}(this,F),ce(this,F,[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&&pe(D,Z)}(F,U),G=F,(H=[{key:"render",value:function(){return a().createElement(S,this.props)}}])&&ee(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);const fe=q(se);function ie(U){return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},ie(U)}function Y(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,Ee(H.key),H)}}function Ee(U){var F=function(G,H){if(ie(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(ie(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return ie(F)=="symbol"?F:F+""}function Le(U,F,G){return F=ye(F),function(H,D){if(D&&(ie(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}(H)}(U,be()?Reflect.construct(F,G||[],ye(U).constructor):F.apply(U,G))}function be(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(be=function(){return!!U})()}function ye(U){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},ye(U)}function Pe(U,F){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},Pe(U,F)}var ve=function(U){function F(D){var Z;(function(le,ae){if(!(le instanceof ae))throw new TypeError("Cannot call a class as a function")})(this,F),Z=Le(this,F,[D]);var J=D.afterLoad,Q=D.beforeLoad,te=D.scrollPosition,ne=D.visibleByDefault;return Z.state={visible:ne},ne&&(Q(),J()),Z.onVisible=Z.onVisible.bind(Z),Z.isScrollTracked=!!(te&&Number.isFinite(te.x)&&te.x>=0&&Number.isFinite(te.y)&&te.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&&Pe(D,Z)}(F,U),G=F,(H=[{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,J=D.delayMethod,Q=D.delayTime,te=D.height,ne=D.placeholder,le=D.scrollPosition,ae=D.style,oe=D.threshold,de=D.useIntersectionObserver,ue=D.width;return this.isScrollTracked||de&&l()?a().createElement(S,{className:Z,height:te,onVisible:this.onVisible,placeholder:ne,scrollPosition:le,style:ae,threshold:oe,useIntersectionObserver:de,width:ue}):a().createElement(fe,{className:Z,delayMethod:J,delayTime:Q,height:te,onVisible:this.onVisible,placeholder:ne,style:ae,threshold:oe,width:ue})}}])&&Y(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);ve.propTypes={afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool},ve.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const Ce=ve;function xe(U){return xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},xe(U)}var we=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function Se(U,F){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(U);F&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(U,D).enumerable})),G.push.apply(G,H)}return G}function Te(U){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?Se(Object(G),!0).forEach(function(H){Re(U,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(G)):Se(Object(G)).forEach(function(H){Object.defineProperty(U,H,Object.getOwnPropertyDescriptor(G,H))})}return U}function Re(U,F,G){return(F=Ve(F))in U?Object.defineProperty(U,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):U[F]=G,U}function Me(){return Me=Object.assign?Object.assign.bind():function(U){for(var F=1;F<arguments.length;F++){var G=arguments[F];for(var H in G)({}).hasOwnProperty.call(G,H)&&(U[H]=G[H])}return U},Me.apply(null,arguments)}function _e(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,Ve(H.key),H)}}function Ve(U){var F=function(G,H){if(xe(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(xe(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return xe(F)=="symbol"?F:F+""}function je(U,F,G){return F=Ae(F),function(H,D){if(D&&(xe(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}(H)}(U,De()?Reflect.construct(F,G||[],Ae(U).constructor):F.apply(U,G))}function De(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(De=function(){return!!U})()}function Ae(U){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},Ae(U)}function Ie(U,F){return Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},Ie(U,F)}var Fe=function(U){function F(D){var Z;return function(J,Q){if(!(J instanceof Q))throw new TypeError("Cannot call a class as a function")}(this,F),(Z=je(this,F,[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)}(F,U),G=F,H=[{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(J,Q){if(J==null)return{};var te,ne,le=function(oe,de){if(oe==null)return{};var ue={};for(var ge in oe)if({}.hasOwnProperty.call(oe,ge)){if(de.indexOf(ge)>=0)continue;ue[ge]=oe[ge]}return ue}(J,Q);if(Object.getOwnPropertySymbols){var ae=Object.getOwnPropertySymbols(J);for(ne=0;ne<ae.length;ne++)te=ae[ne],Q.indexOf(te)>=0||{}.propertyIsEnumerable.call(J,te)&&(le[te]=J[te])}return le}(D,we));return a().createElement("img",Me({},Z,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var D=this.props,Z=D.beforeLoad,J=D.className,Q=D.delayMethod,te=D.delayTime,ne=D.height,le=D.placeholder,ae=D.scrollPosition,oe=D.style,de=D.threshold,ue=D.useIntersectionObserver,ge=D.visibleByDefault,ke=D.width;return a().createElement(Ce,{beforeLoad:Z,className:J,delayMethod:Q,delayTime:te,height:ne,placeholder:le,scrollPosition:ae,style:oe,threshold:de,useIntersectionObserver:ue,visibleByDefault:ge,width:ke},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(D){var Z=this.props,J=Z.effect,Q=Z.height,te=Z.placeholderSrc,ne=Z.width,le=Z.wrapperClassName,ae=Z.wrapperProps,oe=this.state.loaded,de=oe?" lazy-load-image-loaded":"",ue=oe||!te?{}:{backgroundImage:"url(".concat(te,")"),backgroundSize:"100% 100%"};return a().createElement("span",Me({className:le+" lazy-load-image-background "+J+de,style:Te(Te({},ue),{},{color:"transparent",display:"inline-block",height:Q,width:ne})},ae),D)}},{key:"render",value:function(){var D=this.props,Z=D.effect,J=D.placeholderSrc,Q=D.visibleByDefault,te=D.wrapperClassName,ne=D.wrapperProps,le=this.getLazyLoadImage();return(Z||J)&&!Q||te||ne?this.getWrappedLazyLoadImage(le):le}}],H&&_e(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(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=n})();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:n,className:s,thumbnailClassName:a})=>{const[o,l]=React.useState(!1),[c,u]=React.useState(e??placeholderUrl);React.useEffect(()=>{u(e??placeholderUrl)},[e]);const f=()=>{u(placeholderUrl)};return jsxRuntime.jsx(Opacity,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:jsxRuntime.jsxs("div",{className:cn(s,"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:n,effect:"blur",src:c,onLoad:()=>l(!0),onError:f})}),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:n})]})]})})},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:n,logo:s})=>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:s}),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:n}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]})]})]});var lottie$1={exports:{}};(function(module,exports){typeof navigator<"u"&&function(e,t){module.exports=t()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var i,n=e.length,s;for(i=0;i<n;i+=1){s=e[i].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t.prototype[a]=s[a])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].pause()},resume:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].resume()},setRate:function(i){var n,s=this.audios.length;for(n=0;n<s;n+=1)this.audios[n].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(i,n){var s=0,a=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(s=0;s<n;s+=1)a.push(o);return a}function t(i,n){return i==="float32"?new Float32Array(n):i==="int16"?new Int16Array(n):i==="uint8c"?new Uint8ClampedArray(n):e(i,n)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(i){return typeof i}:_typeof$6=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,i=e.length;for(t=0;t<i;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var i=createSizedArray(e.length),n,s=e.length;for(n=0;n<s;n+=1)i[n]=Math.abs(e[n]);return i}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,i,n){this.type=e,this.currentTime=t,this.totalTime=i,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,i,n){this.type=e,this.currentLoop=i,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,i){this.type=e,this.firstFrame=t,this.totalFrames=i}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,t,i){var n,s,a,o,l,c,u,f;switch(o=Math.floor(e*6),l=e*6-o,c=i*(1-t),u=i*(1-l*t),f=i*(1-(1-l)*t),o%6){case 0:n=i,s=f,a=c;break;case 1:n=u,s=i,a=c;break;case 2:n=c,s=i,a=f;break;case 3:n=c,s=u,a=i;break;case 4:n=f,s=c,a=i;break;case 5:n=i,s=c,a=u;break}return[n,s,a]}function RGBtoHSV(e,t,i){var n=Math.max(e,t,i),s=Math.min(e,t,i),a=n-s,o,l=n===0?0:a/n,c=n/255;switch(n){case s:o=0;break;case e:o=t-i+a*(t<i?6:0),o/=6*a;break;case t:o=i-e+a*2,o/=6*a;break;case i:o=e-t+a*4,o/=6*a;break}return[o,l,c]}function addSaturationToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[1]+=t,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[2]+=t,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[0]+=t/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var e=[],t,i;for(t=0;t<256;t+=1)i=t.toString(16),e[t]=i.length===1?"0"+i:i;return function(n,s,a){return n<0&&(n=0),s<0&&(s=0),a<0&&(a=0),"#"+e[n]+e[s]+e[a]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(i){return typeof i}:_typeof$5=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$5(e)}var dataManager=function(){var e=1,t=[],i,n,s={onmessage:function(){},postMessage:function(b){i({data:b})}},a={postMessage:function(b){s.onmessage({data:b})}};function o(p){if(window.Worker&&window.Blob&&getWebWorker()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",p.toString()],{type:"text/javascript"}),y=URL.createObjectURL(b);return new Worker(y)}return i=p,s}function l(){n||(n=o(function(b){function y(){function R(B,A){var V,P,T=B.length,k,j,W,q;for(P=0;P<T;P+=1)if(V=B[P],"ks"in V&&!V.completed){if(V.completed=!0,V.hasMask){var X=V.masksProperties;for(j=X.length,k=0;k<j;k+=1)if(X[k].pt.k.i)E(X[k].pt.k);else for(q=X[k].pt.k.length,W=0;W<q;W+=1)X[k].pt.k[W].s&&E(X[k].pt.k[W].s[0]),X[k].pt.k[W].e&&E(X[k].pt.k[W].e[0])}V.ty===0?(V.layers=g(V.refId,A),R(V.layers,A)):V.ty===4?S(V.shapes):V.ty===5&&N(V)}}function m(B,A){if(B){var V=0,P=B.length;for(V=0;V<P;V+=1)B[V].t===1&&(B[V].data.layers=g(B[V].data.refId,A),R(B[V].data.layers,A))}}function x(B,A){for(var V=0,P=A.length;V<P;){if(A[V].id===B)return A[V];V+=1}return null}function g(B,A){var V=x(B,A);return V?V.layers.__used?JSON.parse(JSON.stringify(V.layers)):(V.layers.__used=!0,V.layers):null}function S(B){var A,V=B.length,P,T;for(A=V-1;A>=0;A-=1)if(B[A].ty==="sh")if(B[A].ks.k.i)E(B[A].ks.k);else for(T=B[A].ks.k.length,P=0;P<T;P+=1)B[A].ks.k[P].s&&E(B[A].ks.k[P].s[0]),B[A].ks.k[P].e&&E(B[A].ks.k[P].e[0]);else B[A].ty==="gr"&&S(B[A].it)}function E(B){var A,V=B.i.length;for(A=0;A<V;A+=1)B.i[A][0]+=B.v[A][0],B.i[A][1]+=B.v[A][1],B.o[A][0]+=B.v[A][0],B.o[A][1]+=B.v[A][1]}function M(B,A){var V=A?A.split("."):[100,100,100];return B[0]>V[0]?!0:V[0]>B[0]?!1:B[1]>V[1]?!0:V[1]>B[1]?!1:B[2]>V[2]?!0:V[2]>B[2]?!1:null}var L=function(){var B=[4,4,14];function A(P){var T=P.t.d;P.t.d={k:[{s:T,t:0}]}}function V(P){var T,k=P.length;for(T=0;T<k;T+=1)P[T].ty===5&&A(P[T])}return function(P){if(M(B,P.v)&&(V(P.layers),P.assets)){var T,k=P.assets.length;for(T=0;T<k;T+=1)P.assets[T].layers&&V(P.assets[T].layers)}}}(),_=function(){var B=[4,7,99];return function(A){if(A.chars&&!M(B,A.v)){var V,P=A.chars.length;for(V=0;V<P;V+=1){var T=A.chars[V];T.data&&T.data.shapes&&(S(T.data.shapes),T.data.ip=0,T.data.op=99999,T.data.st=0,T.data.sr=1,T.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},A.chars[V].t||(T.data.shapes.push({ty:"no"}),T.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),I=function(){var B=[5,7,15];function A(P){var T=P.t.p;typeof T.a=="number"&&(T.a={a:0,k:T.a}),typeof T.p=="number"&&(T.p={a:0,k:T.p}),typeof T.r=="number"&&(T.r={a:0,k:T.r})}function V(P){var T,k=P.length;for(T=0;T<k;T+=1)P[T].ty===5&&A(P[T])}return function(P){if(M(B,P.v)&&(V(P.layers),P.assets)){var T,k=P.assets.length;for(T=0;T<k;T+=1)P.assets[T].layers&&V(P.assets[T].layers)}}}(),$=function(){var B=[4,1,9];function A(P){var T,k=P.length,j,W;for(T=0;T<k;T+=1)if(P[T].ty==="gr")A(P[T].it);else if(P[T].ty==="fl"||P[T].ty==="st")if(P[T].c.k&&P[T].c.k[0].i)for(W=P[T].c.k.length,j=0;j<W;j+=1)P[T].c.k[j].s&&(P[T].c.k[j].s[0]/=255,P[T].c.k[j].s[1]/=255,P[T].c.k[j].s[2]/=255,P[T].c.k[j].s[3]/=255),P[T].c.k[j].e&&(P[T].c.k[j].e[0]/=255,P[T].c.k[j].e[1]/=255,P[T].c.k[j].e[2]/=255,P[T].c.k[j].e[3]/=255);else P[T].c.k[0]/=255,P[T].c.k[1]/=255,P[T].c.k[2]/=255,P[T].c.k[3]/=255}function V(P){var T,k=P.length;for(T=0;T<k;T+=1)P[T].ty===4&&A(P[T].shapes)}return function(P){if(M(B,P.v)&&(V(P.layers),P.assets)){var T,k=P.assets.length;for(T=0;T<k;T+=1)P.assets[T].layers&&V(P.assets[T].layers)}}}(),z=function(){var B=[4,4,18];function A(P){var T,k=P.length,j,W;for(T=k-1;T>=0;T-=1)if(P[T].ty==="sh")if(P[T].ks.k.i)P[T].ks.k.c=P[T].closed;else for(W=P[T].ks.k.length,j=0;j<W;j+=1)P[T].ks.k[j].s&&(P[T].ks.k[j].s[0].c=P[T].closed),P[T].ks.k[j].e&&(P[T].ks.k[j].e[0].c=P[T].closed);else P[T].ty==="gr"&&A(P[T].it)}function V(P){var T,k,j=P.length,W,q,X,ee;for(k=0;k<j;k+=1){if(T=P[k],T.hasMask){var re=T.masksProperties;for(q=re.length,W=0;W<q;W+=1)if(re[W].pt.k.i)re[W].pt.k.c=re[W].cl;else for(ee=re[W].pt.k.length,X=0;X<ee;X+=1)re[W].pt.k[X].s&&(re[W].pt.k[X].s[0].c=re[W].cl),re[W].pt.k[X].e&&(re[W].pt.k[X].e[0].c=re[W].cl)}T.ty===4&&A(T.shapes)}}return function(P){if(M(B,P.v)&&(V(P.layers),P.assets)){var T,k=P.assets.length;for(T=0;T<k;T+=1)P.assets[T].layers&&V(P.assets[T].layers)}}}();function O(B){B.__complete||($(B),L(B),_(B),I(B),z(B),R(B.layers,B.assets),m(B.chars,B.assets),B.__complete=!0)}function N(B){B.t.a.length===0&&"m"in B.t.p}var K={};return K.completeData=O,K.checkColors=$,K.checkChars=_,K.checkPathProperties=I,K.checkShapes=z,K.completeLayers=R,K}if(a.dataManager||(a.dataManager=y()),a.assetLoader||(a.assetLoader=function(){function R(x){var g=x.getResponseHeader("content-type");return g&&x.responseType==="json"&&g.indexOf("json")!==-1||x.response&&_typeof$5(x.response)==="object"?x.response:x.response&&typeof x.response=="string"?JSON.parse(x.response):x.responseText?JSON.parse(x.responseText):null}function m(x,g,S,E){var M,L=new XMLHttpRequest;try{L.responseType="json"}catch{}L.onreadystatechange=function(){if(L.readyState===4)if(L.status===200)M=R(L),S(M);else try{M=R(L),S(M)}catch(_){E&&E(_)}};try{L.open(["G","E","T"].join(""),x,!0)}catch{L.open(["G","E","T"].join(""),g+"/"+x,!0)}L.send()}return{load:m}}()),b.data.type==="loadAnimation")a.assetLoader.load(b.data.path,b.data.fullPath,function(R){a.dataManager.completeData(R),a.postMessage({id:b.data.id,payload:R,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var C=b.data.animation;a.dataManager.completeData(C),a.postMessage({id:b.data.id,payload:C,status:"success"})}else b.data.type==="loadData"&&a.assetLoader.load(b.data.path,b.data.fullPath,function(R){a.postMessage({id:b.data.id,payload:R,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})})}),n.onmessage=function(p){var b=p.data,y=b.id,C=t[y];t[y]=null,b.status==="success"?C.onComplete(b.payload):C.onError&&C.onError()})}function c(p,b){e+=1;var y="processId_"+e;return t[y]={onComplete:p,onError:b},y}function u(p,b,y){l();var C=c(b,y);n.postMessage({type:"loadAnimation",path:p,fullPath:window.location.origin+window.location.pathname,id:C})}function f(p,b,y){l();var C=c(b,y);n.postMessage({type:"loadData",path:p,fullPath:window.location.origin+window.location.pathname,id:C})}function d(p,b,y){l();var C=c(b,y);n.postMessage({type:"complete",animation:p,id:C})}return{loadAnimation:u,loadData:f,completeAnimation:d}}(),ImagePreloader=function(){var e=function(){var m=createTag("canvas");m.width=1,m.height=1;var x=m.getContext("2d");return x.fillStyle="rgba(0,0,0,0)",x.fillRect(0,0,1,1),m}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(m,x,g){var S="";if(m.e)S=m.p;else if(x){var E=m.p;E.indexOf("images/")!==-1&&(E=E.split("/")[1]),S=x+E}else S=g,S+=m.u?m.u:"",S+=m.p;return S}function s(m){var x=0,g=setInterval((function(){var S=m.getBBox();(S.width||x>500)&&(this._imageLoaded(),clearInterval(g)),x+=1}).bind(this),50)}function a(m){var x=n(m,this.assetsPath,this.path),g=createNS("image");isSafari?this.testImageLoaded(g):g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),g.setAttributeNS("http://www.w3.org/1999/xlink","href",x),this._elementHelper.append?this._elementHelper.append(g):this._elementHelper.appendChild(g);var S={img:g,assetData:m};return S}function o(m){var x=n(m,this.assetsPath,this.path),g=createTag("img");g.crossOrigin="anonymous",g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),g.src=x;var S={img:g,assetData:m};return S}function l(m){var x={assetData:m},g=n(m,this.assetsPath,this.path);return dataManager.loadData(g,(function(S){x.img=S,this._footageLoaded()}).bind(this),(function(){x.img={},this._footageLoaded()}).bind(this)),x}function c(m,x){this.imagesLoadedCb=x;var g,S=m.length;for(g=0;g<S;g+=1)m[g].layers||(!m[g].t||m[g].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(m[g]))):m[g].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(m[g]))))}function u(m){this.path=m||""}function f(m){this.assetsPath=m||""}function d(m){for(var x=0,g=this.images.length;x<g;){if(this.images[x].assetData===m)return this.images[x].img;x+=1}return null}function p(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function y(){return this.totalFootages===this.loadedFootagesCount}function C(m,x){m==="svg"?(this._elementHelper=x,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function R(){this._imageLoaded=t.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=l.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return R.prototype={loadAssets:c,setAssetsPath:f,setPath:u,loadedImages:b,loadedFootages:y,destroy:p,getAsset:d,createImgData:o,createImageData:a,imageLoaded:t,footageLoaded:i,setCacheType:C},R}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,i){if(this._cbs[t])for(var n=this._cbs[t],s=0;s<n.length;s+=1)n[s](i)},addEventListener:function(t,i){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(i),(function(){this.removeEventListener(t,i)}).bind(this)},removeEventListener:function(t,i){if(!i)this._cbs[t]=null;else if(this._cbs[t]){for(var n=0,s=this._cbs[t].length;n<s;)this._cbs[t][n]===i&&(this._cbs[t].splice(n,1),n-=1,s-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var i=t.split(`\r
66
+ `),n={},s,a=0,o=0;o<i.length;o+=1)s=i[o].split(":"),s.length===2&&(n[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return n}return function(t){for(var i=[],n=0;n<t.length;n+=1){var s=t[n],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(t[n].cm)}catch{try{a.payload=e(t[n].cm)}catch{a.payload={name:t[n].cm}}}i.push(a)}return i}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(i){for(var n=0,s=this.compositions.length;n<s;){if(this.compositions[n].data&&this.compositions[n].data.nm===i)return this.compositions[n].prepareFrame&&this.compositions[n].data.xt&&this.compositions[n].prepareFrame(this.currentFrame),this.compositions[n].compInterface;n+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(t,i){renderers[t]=i};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(i){return typeof i}:_typeof$4=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var i=getRenderer(t);this.renderer=new i(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var i={wrapper:e,animationData:t},n=e.attributes;i.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",i.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var s=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";s==="false"?i.loop=!1:s==="true"?i.loop=!0:s!==""&&(i.loop=parseInt(s,10));var a=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:n.getNamedItem("bm-autoplay")?n.getNamedItem("bm-autoplay").value:!0;i.autoplay=a!=="false",i.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"";var o=n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"";o==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,i,n=t.length,s=e.layers,a,o=s.length;for(a=0;a<o;a+=1)for(i=0;i<n;){if(t[i].id===s[a].id){t[i]=s[a];break}i+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(n=e.assets.length,i=0;i<n;i+=1)this.animationData.assets.push(e.assets[i]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var i=typeof e=="number"?e:void 0,n=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(i,n)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,i=0;i<this.markers.length;i+=1)if(t=this.markers[i],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,i){if(!(i&&this.name!==i)){var n=Number(e);if(isNaN(n)){var s=this.getMarkerData(e);s&&this.goToAndStop(s.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,i){if(!(i&&this.name!==i)){var n=Number(e);if(isNaN(n)){var s=this.getMarkerData(e);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(n,t,i);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var t=this.currentRawFrame+e*this.frameModifier,i=!1;t>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(i=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(i=!0,t=0)):this.setCurrentRawFrameValue(t),i&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?i=e:this.currentRawFrame+this.firstFrame>t&&(i=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var i,n=e.length;for(i=0;i<n;i+=1)this.segments.push(e[i])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var i=e.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),t=this.assetsPath+i}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,i=this.assets.length;t<i;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,i){try{var n=this.renderer.getElementByPath(e);n.updateDocumentData(t,i)}catch{}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],i=0,n=0,s=0,a=!0,o=!1;function l(A){for(var V=0,P=A.target;V<n;)t[V].animation===P&&(t.splice(V,1),V-=1,n-=1,P.isPaused||d()),V+=1}function c(A,V){if(!A)return null;for(var P=0;P<n;){if(t[P].elem===A&&t[P].elem!==null)return t[P].animation;P+=1}var T=new AnimationItem;return p(T,A),T.setData(A,V),T}function u(){var A,V=t.length,P=[];for(A=0;A<V;A+=1)P.push(t[A].animation);return P}function f(){s+=1,$()}function d(){s-=1}function p(A,V){A.addEventListener("destroy",l),A.addEventListener("_active",f),A.addEventListener("_idle",d),t.push({elem:V,animation:A}),n+=1}function b(A){var V=new AnimationItem;return p(V,null),V.setParams(A),V}function y(A,V){var P;for(P=0;P<n;P+=1)t[P].animation.setSpeed(A,V)}function C(A,V){var P;for(P=0;P<n;P+=1)t[P].animation.setDirection(A,V)}function R(A){var V;for(V=0;V<n;V+=1)t[V].animation.play(A)}function m(A){var V=A-i,P;for(P=0;P<n;P+=1)t[P].animation.advanceTime(V);i=A,s&&!o?window.requestAnimationFrame(m):a=!0}function x(A){i=A,window.requestAnimationFrame(m)}function g(A){var V;for(V=0;V<n;V+=1)t[V].animation.pause(A)}function S(A,V,P){var T;for(T=0;T<n;T+=1)t[T].animation.goToAndStop(A,V,P)}function E(A){var V;for(V=0;V<n;V+=1)t[V].animation.stop(A)}function M(A){var V;for(V=0;V<n;V+=1)t[V].animation.togglePause(A)}function L(A){var V;for(V=n-1;V>=0;V-=1)t[V].animation.destroy(A)}function _(A,V,P){var T=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),k,j=T.length;for(k=0;k<j;k+=1)P&&T[k].setAttribute("data-bm-type",P),c(T[k],A);if(V&&j===0){P||(P="svg");var W=document.getElementsByTagName("body")[0];W.innerText="";var q=createTag("div");q.style.width="100%",q.style.height="100%",q.setAttribute("data-bm-type",P),W.appendChild(q),c(q,A)}}function I(){var A;for(A=0;A<n;A+=1)t[A].animation.resize()}function $(){!o&&s&&a&&(window.requestAnimationFrame(x),a=!1)}function z(){o=!0}function O(){o=!1,$()}function N(A,V){var P;for(P=0;P<n;P+=1)t[P].animation.setVolume(A,V)}function K(A){var V;for(V=0;V<n;V+=1)t[V].animation.mute(A)}function B(A){var V;for(V=0;V<n;V+=1)t[V].animation.unmute(A)}return e.registerAnimation=c,e.loadAnimation=b,e.setSpeed=y,e.setDirection=C,e.play=R,e.pause=g,e.stop=E,e.togglePause=M,e.searchAnimations=_,e.resize=I,e.goToAndStop=S,e.destroy=L,e.freeze=z,e.unfreeze=O,e.setVolume=N,e.mute=K,e.unmute=B,e.getRegisteredAnimations=u,e}(),BezierFactory=function(){var e={};e.getBezierEasing=i;var t={};function i(x,g,S,E,M){var L=M||("bez_"+x+"_"+g+"_"+S+"_"+E).replace(/\./g,"p");if(t[L])return t[L];var _=new m([x,g,S,E]);return t[L]=_,_}var n=4,s=.001,a=1e-7,o=10,l=11,c=1/(l-1),u=typeof Float32Array=="function";function f(x,g){return 1-3*g+3*x}function d(x,g){return 3*g-6*x}function p(x){return 3*x}function b(x,g,S){return((f(g,S)*x+d(g,S))*x+p(g))*x}function y(x,g,S){return 3*f(g,S)*x*x+2*d(g,S)*x+p(g)}function C(x,g,S,E,M){var L,_,I=0;do _=g+(S-g)/2,L=b(_,E,M)-x,L>0?S=_:g=_;while(Math.abs(L)>a&&++I<o);return _}function R(x,g,S,E){for(var M=0;M<n;++M){var L=y(g,S,E);if(L===0)return g;var _=b(g,S,E)-x;g-=_/L}return g}function m(x){this._p=x,this._mSampleValues=u?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return m.prototype={get:function(g){var S=this._p[0],E=this._p[1],M=this._p[2],L=this._p[3];return this._precomputed||this._precompute(),S===E&&M===L?g:g===0?0:g===1?1:b(this._getTForX(g),E,L)},_precompute:function(){var g=this._p[0],S=this._p[1],E=this._p[2],M=this._p[3];this._precomputed=!0,(g!==S||E!==M)&&this._calcSampleValues()},_calcSampleValues:function(){for(var g=this._p[0],S=this._p[2],E=0;E<l;++E)this._mSampleValues[E]=b(E*c,g,S)},_getTForX:function(g){for(var S=this._p[0],E=this._p[2],M=this._mSampleValues,L=0,_=1,I=l-1;_!==I&&M[_]<=g;++_)L+=c;--_;var $=(g-M[_])/(M[_+1]-M[_]),z=L+$*c,O=y(z,S,E);return O>=s?R(g,z,S,E):O===0?z:C(g,L,L+c,S,E)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,i){var n=0,s=e,a=createSizedArray(s),o={newElement:l,release:c};function l(){var u;return n?(n-=1,u=a[n]):u=t(),u}function c(u){n===s&&(a=pooling.double(a),s*=2),i&&i(u),a[n]=u,n+=1}return o}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(i){var n,s=i.lengths.length;for(n=0;n<s;n+=1)bezierLengthPool.release(i.lengths[n]);i.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(p,b,y,C,R,m){var x=p*C+b*R+y*m-R*C-m*p-y*b;return x>-.001&&x<.001}function i(p,b,y,C,R,m,x,g,S){if(y===0&&m===0&&S===0)return t(p,b,C,R,x,g);var E=e.sqrt(e.pow(C-p,2)+e.pow(R-b,2)+e.pow(m-y,2)),M=e.sqrt(e.pow(x-p,2)+e.pow(g-b,2)+e.pow(S-y,2)),L=e.sqrt(e.pow(x-C,2)+e.pow(g-R,2)+e.pow(S-m,2)),_;return E>M?E>L?_=E-M-L:_=L-M-E:L>M?_=L-M-E:_=M-E-L,_>-1e-4&&_<1e-4}var n=function(){return function(p,b,y,C){var R=getDefaultCurveSegments(),m,x,g,S,E,M=0,L,_=[],I=[],$=bezierLengthPool.newElement();for(g=y.length,m=0;m<R;m+=1){for(E=m/(R-1),L=0,x=0;x<g;x+=1)S=bmPow(1-E,3)*p[x]+3*bmPow(1-E,2)*E*y[x]+3*(1-E)*bmPow(E,2)*C[x]+bmPow(E,3)*b[x],_[x]=S,I[x]!==null&&(L+=bmPow(_[x]-I[x],2)),I[x]=_[x];L&&(L=bmSqrt(L),M+=L),$.percents[m]=E,$.lengths[m]=M}return $.addedLength=M,$}}();function s(p){var b=segmentsLengthPool.newElement(),y=p.c,C=p.v,R=p.o,m=p.i,x,g=p._length,S=b.lengths,E=0;for(x=0;x<g-1;x+=1)S[x]=n(C[x],C[x+1],R[x],m[x+1]),E+=S[x].addedLength;return y&&g&&(S[x]=n(C[x],C[0],R[x],m[0]),E+=S[x].addedLength),b.totalLength=E,b}function a(p){this.segmentLength=0,this.points=new Array(p)}function o(p,b){this.partialLength=p,this.point=b}var l=function(){var p={};return function(b,y,C,R){var m=(b[0]+"_"+b[1]+"_"+y[0]+"_"+y[1]+"_"+C[0]+"_"+C[1]+"_"+R[0]+"_"+R[1]).replace(/\./g,"p");if(!p[m]){var x=getDefaultCurveSegments(),g,S,E,M,L,_=0,I,$,z=null;b.length===2&&(b[0]!==y[0]||b[1]!==y[1])&&t(b[0],b[1],y[0],y[1],b[0]+C[0],b[1]+C[1])&&t(b[0],b[1],y[0],y[1],y[0]+R[0],y[1]+R[1])&&(x=2);var O=new a(x);for(E=C.length,g=0;g<x;g+=1){for($=createSizedArray(E),L=g/(x-1),I=0,S=0;S<E;S+=1)M=bmPow(1-L,3)*b[S]+3*bmPow(1-L,2)*L*(b[S]+C[S])+3*(1-L)*bmPow(L,2)*(y[S]+R[S])+bmPow(L,3)*y[S],$[S]=M,z!==null&&(I+=bmPow($[S]-z[S],2));I=bmSqrt(I),_+=I,O.points[g]=new o(I,$),z=$}O.segmentLength=_,p[m]=O}return p[m]}}();function c(p,b){var y=b.percents,C=b.lengths,R=y.length,m=bmFloor((R-1)*p),x=p*b.addedLength,g=0;if(m===R-1||m===0||x===C[m])return y[m];for(var S=C[m]>x?-1:1,E=!0;E;)if(C[m]<=x&&C[m+1]>x?(g=(x-C[m])/(C[m+1]-C[m]),E=!1):m+=S,m<0||m>=R-1){if(m===R-1)return y[m];E=!1}return y[m]+(y[m+1]-y[m])*g}function u(p,b,y,C,R,m){var x=c(R,m),g=1-x,S=e.round((g*g*g*p[0]+(x*g*g+g*x*g+g*g*x)*y[0]+(x*x*g+g*x*x+x*g*x)*C[0]+x*x*x*b[0])*1e3)/1e3,E=e.round((g*g*g*p[1]+(x*g*g+g*x*g+g*g*x)*y[1]+(x*x*g+g*x*x+x*g*x)*C[1]+x*x*x*b[1])*1e3)/1e3;return[S,E]}var f=createTypedArray("float32",8);function d(p,b,y,C,R,m,x){R<0?R=0:R>1&&(R=1);var g=c(R,x);m=m>1?1:m;var S=c(m,x),E,M=p.length,L=1-g,_=1-S,I=L*L*L,$=g*L*L*3,z=g*g*L*3,O=g*g*g,N=L*L*_,K=g*L*_+L*g*_+L*L*S,B=g*g*_+L*g*S+g*L*S,A=g*g*S,V=L*_*_,P=g*_*_+L*S*_+L*_*S,T=g*S*_+L*S*S+g*_*S,k=g*S*S,j=_*_*_,W=S*_*_+_*S*_+_*_*S,q=S*S*_+_*S*S+S*_*S,X=S*S*S;for(E=0;E<M;E+=1)f[E*4]=e.round((I*p[E]+$*y[E]+z*C[E]+O*b[E])*1e3)/1e3,f[E*4+1]=e.round((N*p[E]+K*y[E]+B*C[E]+A*b[E])*1e3)/1e3,f[E*4+2]=e.round((V*p[E]+P*y[E]+T*C[E]+k*b[E])*1e3)/1e3,f[E*4+3]=e.round((j*p[E]+W*y[E]+q*C[E]+X*b[E])*1e3)/1e3;return f}return{getSegmentsLength:s,getNewSegment:d,getPointInSegment:u,buildBezierData:l,pointOnLine2D:t,pointOnLine3D:i}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var i=this.offsetTime,n;this.propType==="multidimensional"&&(n=createTypedArray("float32",this.pv.length));for(var s=t.lastIndex,a=s,o=this.keyframes.length-1,l=!0,c,u,f;l;){if(c=this.keyframes[a],u=this.keyframes[a+1],a===o-1&&e>=u.t-i){c.h&&(c=u),s=0;break}if(u.t-i>e){s=a;break}a<o-1?a+=1:(s=0,l=!1)}f=this.keyframesMetadata[a]||{};var d,p,b,y,C,R,m=u.t-i,x=c.t-i,g;if(c.to){f.bezierData||(f.bezierData=bez.buildBezierData(c.s,u.s||c.e,c.to,c.ti));var S=f.bezierData;if(e>=m||e<x){var E=e>=m?S.points.length-1:0;for(p=S.points[E].point.length,d=0;d<p;d+=1)n[d]=S.points[E].point[d]}else{f.__fnct?R=f.__fnct:(R=BezierFactory.getBezierEasing(c.o.x,c.o.y,c.i.x,c.i.y,c.n).get,f.__fnct=R),b=R((e-x)/(m-x));var M=S.segmentLength*b,L,_=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastAddedLength:0;for(C=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastPoint:0,l=!0,y=S.points.length;l;){if(_+=S.points[C].partialLength,M===0||b===0||C===S.points.length-1){for(p=S.points[C].point.length,d=0;d<p;d+=1)n[d]=S.points[C].point[d];break}else if(M>=_&&M<_+S.points[C+1].partialLength){for(L=(M-_)/S.points[C+1].partialLength,p=S.points[C].point.length,d=0;d<p;d+=1)n[d]=S.points[C].point[d]+(S.points[C+1].point[d]-S.points[C].point[d])*L;break}C<y-1?C+=1:l=!1}t._lastPoint=C,t._lastAddedLength=_-S.points[C].partialLength,t._lastKeyframeIndex=a}}else{var I,$,z,O,N;if(o=c.s.length,g=u.s||c.e,this.sh&&c.h!==1)if(e>=m)n[0]=g[0],n[1]=g[1],n[2]=g[2];else if(e<=x)n[0]=c.s[0],n[1]=c.s[1],n[2]=c.s[2];else{var K=createQuaternion(c.s),B=createQuaternion(g),A=(e-x)/(m-x);quaternionToEuler(n,slerp(K,B,A))}else for(a=0;a<o;a+=1)c.h!==1&&(e>=m?b=1:e<x?b=0:(c.o.x.constructor===Array?(f.__fnct||(f.__fnct=[]),f.__fnct[a]?R=f.__fnct[a]:(I=c.o.x[a]===void 0?c.o.x[0]:c.o.x[a],$=c.o.y[a]===void 0?c.o.y[0]:c.o.y[a],z=c.i.x[a]===void 0?c.i.x[0]:c.i.x[a],O=c.i.y[a]===void 0?c.i.y[0]:c.i.y[a],R=BezierFactory.getBezierEasing(I,$,z,O).get,f.__fnct[a]=R)):f.__fnct?R=f.__fnct:(I=c.o.x,$=c.o.y,z=c.i.x,O=c.i.y,R=BezierFactory.getBezierEasing(I,$,z,O).get,c.keyframeMetadata=R),b=R((e-x)/(m-x)))),g=u.s||c.e,N=c.h===1?c.s[a]:c.s[a]+(g[a]-c.s[a])*b,this.propType==="multidimensional"?n[a]=N:n=N}return t.lastIndex=s,n}function slerp(e,t,i){var n=[],s=e[0],a=e[1],o=e[2],l=e[3],c=t[0],u=t[1],f=t[2],d=t[3],p,b,y,C,R;return b=s*c+a*u+o*f+l*d,b<0&&(b=-b,c=-c,u=-u,f=-f,d=-d),1-b>1e-6?(p=Math.acos(b),y=Math.sin(p),C=Math.sin((1-i)*p)/y,R=Math.sin(i*p)/y):(C=1-i,R=i),n[0]=C*s+R*c,n[1]=C*a+R*u,n[2]=C*o+R*f,n[3]=C*l+R*d,n}function quaternionToEuler(e,t){var i=t[0],n=t[1],s=t[2],a=t[3],o=Math.atan2(2*n*a-2*i*s,1-2*n*n-2*s*s),l=Math.asin(2*i*n+2*s*a),c=Math.atan2(2*i*a-2*n*s,1-2*i*i-2*s*s);e[0]=o/degToRads,e[1]=l/degToRads,e[2]=c/degToRads}function createQuaternion(e){var t=e[0]*degToRads,i=e[1]*degToRads,n=e[2]*degToRads,s=Math.cos(t/2),a=Math.cos(i/2),o=Math.cos(n/2),l=Math.sin(t/2),c=Math.sin(i/2),u=Math.sin(n/2),f=s*a*o-l*c*u,d=l*c*o+s*a*u,p=l*a*o+s*c*u,b=s*c*o-l*a*u;return[d,p,b,f]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&e>=i||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var i=0,n=this.v.length;i<n;)t=e[i]*this.mult,mathAbs(this.v[i]-t)>1e-5&&(this.v[i]=t,this._mdf=!0),i+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)i=this.effectsSequence[e](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,i,n){this.propType="unidimensional",this.mult=i||1,this.data=t,this.v=i?t.k*i:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,i,n){this.propType="multidimensional",this.mult=i||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s,a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=t.k[s]*this.mult,this.pv[s]=t.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,i,n){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=i||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,i,n){this.propType="multidimensional";var s,a=t.k.length,o,l,c,u;for(s=0;s<a-1;s+=1)t.k[s].to&&t.k[s].s&&t.k[s+1]&&t.k[s+1].s&&(o=t.k[s].s,l=t.k[s+1].s,c=t.k[s].to,u=t.k[s].ti,(o.length===2&&!(o[0]===l[0]&&o[1]===l[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],o[0]+c[0],o[1]+c[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],l[0]+u[0],l[1]+u[1])||o.length===3&&!(o[0]===l[0]&&o[1]===l[1]&&o[2]===l[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],o[0]+c[0],o[1]+c[1],o[2]+c[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],l[0]+u[0],l[1]+u[1],l[2]+u[2]))&&(t.k[s].to=null,t.k[s].ti=null),o[0]===l[0]&&o[1]===l[1]&&c[0]===0&&c[1]===0&&u[0]===0&&u[1]===0&&(o.length===2||o[2]===l[2]&&c[2]===0&&u[2]===0)&&(t.k[s].to=null,t.k[s].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=e,this.container=n,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var f=t.k[0].s.length;for(this.v=createTypedArray("float32",f),this.pv=createTypedArray("float32",f),s=0;s<f;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",f)},this.addEffect=addEffect}var PropertyFactory=function(){function e(i,n,s,a,o){n.sid&&(n=i.globalData.slotManager.getProp(n));var l;if(!n.k.length)l=new ValueProperty(i,n,a,o);else if(typeof n.k[0]=="number")l=new MultiDimensionalProperty(i,n,a,o);else switch(s){case 0:l=new KeyframedValueProperty(i,n,a,o);break;case 1:l=new KeyframedMultidimensionalProperty(i,n,a,o);break}return l.effectsSequence.length&&o.addDynamicProperty(l),l}var t={getProp:e};return t}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,i=this.dynamicProperties.length;for(t=0;t<i;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var i=0;i<t;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,i,n,s){var a;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[n]||a[n]&&!s)&&(a[n]=pointPool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,i,n,s,a,o,l){this.setXYAt(e,t,"v",o,l),this.setXYAt(i,n,"o",o,l),this.setXYAt(s,a,"i",o,l)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,i=this.o,n=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],i[0][0],i[0][1],0,!1),s=1);var a=this._length-1,o=this._length,l;for(l=s;l<o;l+=1)e.setTripleAt(t[a][0],t[a][1],n[a][0],n[a][1],i[a][0],i[a][1],l,!1),a-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(s){var a=s._length,o;for(o=0;o<a;o+=1)pointPool.release(s.v[o]),pointPool.release(s.i[o]),pointPool.release(s.o[o]),s.v[o]=null,s.i[o]=null,s.o[o]=null;s._length=0,s.c=!1}function i(s){var a=n.newElement(),o,l=s._length===void 0?s.v.length:s._length;for(a.setLength(l),a.c=s.c,o=0;o<l;o+=1)a.setTripleAt(s.v[o][0],s.v[o][1],s.o[o][0],s.o[o][1],s.i[o][0],s.i[o][1],o);return a}var n=poolFactory(4,e,t);return n.clone=i,n}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:s,release:a},t=0,i=4,n=createSizedArray(i);function s(){var o;return t?(t-=1,o=n[t]):o=new ShapeCollection,o}function a(o){var l,c=o._length;for(l=0;l<c;l+=1)shapePool.release(o.shapes[l]);o._length=0,t===i&&(n=pooling.double(n),i*=2),n[t]=o,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(m,x,g){var S=g.lastIndex,E,M,L,_,I,$,z,O,N,K=this.keyframes;if(m<K[0].t-this.offsetTime)E=K[0].s[0],L=!0,S=0;else if(m>=K[K.length-1].t-this.offsetTime)E=K[K.length-1].s?K[K.length-1].s[0]:K[K.length-2].e[0],L=!0;else{for(var B=S,A=K.length-1,V=!0,P,T,k;V&&(P=K[B],T=K[B+1],!(T.t-this.offsetTime>m));)B<A-1?B+=1:V=!1;if(k=this.keyframesMetadata[B]||{},L=P.h===1,S=B,!L){if(m>=T.t-this.offsetTime)O=1;else if(m<P.t-this.offsetTime)O=0;else{var j;k.__fnct?j=k.__fnct:(j=BezierFactory.getBezierEasing(P.o.x,P.o.y,P.i.x,P.i.y).get,k.__fnct=j),O=j((m-(P.t-this.offsetTime))/(T.t-this.offsetTime-(P.t-this.offsetTime)))}M=T.s?T.s[0]:P.e[0]}E=P.s[0]}for($=x._length,z=E.i[0].length,g.lastIndex=S,_=0;_<$;_+=1)for(I=0;I<z;I+=1)N=L?E.i[_][I]:E.i[_][I]+(M.i[_][I]-E.i[_][I])*O,x.i[_][I]=N,N=L?E.o[_][I]:E.o[_][I]+(M.o[_][I]-E.o[_][I])*O,x.o[_][I]=N,N=L?E.v[_][I]:E.v[_][I]+(M.v[_][I]-E.v[_][I])*O,x.v[_][I]=N}function i(){var m=this.comp.renderedFrame-this.offsetTime,x=this.keyframes[0].t-this.offsetTime,g=this.keyframes[this.keyframes.length-1].t-this.offsetTime,S=this._caching.lastFrame;return S!==e&&(S<x&&m<x||S>g&&m>g)||(this._caching.lastIndex=S<m?this._caching.lastIndex:0,this.interpolateShape(m,this.pv,this._caching)),this._caching.lastFrame=m,this.pv}function n(){this.paths=this.localShapeCollection}function s(m,x){if(m._length!==x._length||m.c!==x.c)return!1;var g,S=m._length;for(g=0;g<S;g+=1)if(m.v[g][0]!==x.v[g][0]||m.v[g][1]!==x.v[g][1]||m.o[g][0]!==x.o[g][0]||m.o[g][1]!==x.o[g][1]||m.i[g][0]!==x.i[g][0]||m.i[g][1]!==x.i[g][1])return!1;return!0}function a(m){s(this.v,m)||(this.v=shapePool.clone(m),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var m;this.kf?m=this.pv:this.data.ks?m=this.data.ks.k:m=this.data.pt.k;var x,g=this.effectsSequence.length;for(x=0;x<g;x+=1)m=this.effectsSequence[x](m);this.setVValue(m),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function l(m,x,g){this.propType="shape",this.comp=m.comp,this.container=m,this.elem=m,this.data=x,this.k=!1,this.kf=!1,this._mdf=!1;var S=g===3?x.pt.k:x.ks.k;this.v=shapePool.clone(S),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function c(m){this.effectsSequence.push(m),this.container.addDynamicProperty(this)}l.prototype.interpolateShape=t,l.prototype.getValue=o,l.prototype.setVValue=a,l.prototype.addEffect=c;function u(m,x,g){this.propType="shape",this.comp=m.comp,this.elem=m,this.container=m,this.offsetTime=m.data.st,this.keyframes=g===3?x.pt.k:x.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var S=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,S),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[i.bind(this)]}u.prototype.getValue=o,u.prototype.interpolateShape=t,u.prototype.setVValue=a,u.prototype.addEffect=c;var f=function(){var m=roundCorner;function x(g,S){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=S.d,this.elem=g,this.comp=g.comp,this.frameId=-1,this.initDynamicPropertyContainer(g),this.p=PropertyFactory.getProp(g,S.p,1,0,this),this.s=PropertyFactory.getProp(g,S.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return x.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var S=this.p.v[0],E=this.p.v[1],M=this.s.v[0]/2,L=this.s.v[1]/2,_=this.d!==3,I=this.v;I.v[0][0]=S,I.v[0][1]=E-L,I.v[1][0]=_?S+M:S-M,I.v[1][1]=E,I.v[2][0]=S,I.v[2][1]=E+L,I.v[3][0]=_?S-M:S+M,I.v[3][1]=E,I.i[0][0]=_?S-M*m:S+M*m,I.i[0][1]=E-L,I.i[1][0]=_?S+M:S-M,I.i[1][1]=E-L*m,I.i[2][0]=_?S+M*m:S-M*m,I.i[2][1]=E+L,I.i[3][0]=_?S-M:S+M,I.i[3][1]=E+L*m,I.o[0][0]=_?S+M*m:S-M*m,I.o[0][1]=E-L,I.o[1][0]=_?S+M:S-M,I.o[1][1]=E+L*m,I.o[2][0]=_?S-M*m:S+M*m,I.o[2][1]=E+L,I.o[3][0]=_?S-M:S+M,I.o[3][1]=E-L*m}},extendPrototype([DynamicPropertyContainer],x),x}(),d=function(){function m(x,g){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=x,this.comp=x.comp,this.data=g,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(x),g.sy===1?(this.ir=PropertyFactory.getProp(x,g.ir,0,0,this),this.is=PropertyFactory.getProp(x,g.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(x,g.pt,0,0,this),this.p=PropertyFactory.getProp(x,g.p,1,0,this),this.r=PropertyFactory.getProp(x,g.r,0,degToRads,this),this.or=PropertyFactory.getProp(x,g.or,0,0,this),this.os=PropertyFactory.getProp(x,g.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return m.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var g=Math.floor(this.pt.v)*2,S=Math.PI*2/g,E=!0,M=this.or.v,L=this.ir.v,_=this.os.v,I=this.is.v,$=2*Math.PI*M/(g*2),z=2*Math.PI*L/(g*2),O,N,K,B,A=-Math.PI/2;A+=this.r.v;var V=this.data.d===3?-1:1;for(this.v._length=0,O=0;O<g;O+=1){N=E?M:L,K=E?_:I,B=E?$:z;var P=N*Math.cos(A),T=N*Math.sin(A),k=P===0&&T===0?0:T/Math.sqrt(P*P+T*T),j=P===0&&T===0?0:-P/Math.sqrt(P*P+T*T);P+=+this.p.v[0],T+=+this.p.v[1],this.v.setTripleAt(P,T,P-k*B*K*V,T-j*B*K*V,P+k*B*K*V,T+j*B*K*V,O,!0),E=!E,A+=S*V}},convertPolygonToPath:function(){var g=Math.floor(this.pt.v),S=Math.PI*2/g,E=this.or.v,M=this.os.v,L=2*Math.PI*E/(g*4),_,I=-Math.PI*.5,$=this.data.d===3?-1:1;for(I+=this.r.v,this.v._length=0,_=0;_<g;_+=1){var z=E*Math.cos(I),O=E*Math.sin(I),N=z===0&&O===0?0:O/Math.sqrt(z*z+O*O),K=z===0&&O===0?0:-z/Math.sqrt(z*z+O*O);z+=+this.p.v[0],O+=+this.p.v[1],this.v.setTripleAt(z,O,z-N*L*M*$,O-K*L*M*$,z+N*L*M*$,O+K*L*M*$,_,!0),I+=S*$}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],m),m}(),p=function(){function m(x,g){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=x,this.comp=x.comp,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(x),this.p=PropertyFactory.getProp(x,g.p,1,0,this),this.s=PropertyFactory.getProp(x,g.s,1,0,this),this.r=PropertyFactory.getProp(x,g.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return m.prototype={convertRectToPath:function(){var g=this.p.v[0],S=this.p.v[1],E=this.s.v[0]/2,M=this.s.v[1]/2,L=bmMin(E,M,this.r.v),_=L*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(g+E,S-M+L,g+E,S-M+L,g+E,S-M+_,0,!0),this.v.setTripleAt(g+E,S+M-L,g+E,S+M-_,g+E,S+M-L,1,!0),L!==0?(this.v.setTripleAt(g+E-L,S+M,g+E-L,S+M,g+E-_,S+M,2,!0),this.v.setTripleAt(g-E+L,S+M,g-E+_,S+M,g-E+L,S+M,3,!0),this.v.setTripleAt(g-E,S+M-L,g-E,S+M-L,g-E,S+M-_,4,!0),this.v.setTripleAt(g-E,S-M+L,g-E,S-M+_,g-E,S-M+L,5,!0),this.v.setTripleAt(g-E+L,S-M,g-E+L,S-M,g-E+_,S-M,6,!0),this.v.setTripleAt(g+E-L,S-M,g+E-_,S-M,g+E-L,S-M,7,!0)):(this.v.setTripleAt(g-E,S+M,g-E+_,S+M,g-E,S+M,2),this.v.setTripleAt(g-E,S-M,g-E,S-M+_,g-E,S-M,3))):(this.v.setTripleAt(g+E,S-M+L,g+E,S-M+_,g+E,S-M+L,0,!0),L!==0?(this.v.setTripleAt(g+E-L,S-M,g+E-L,S-M,g+E-_,S-M,1,!0),this.v.setTripleAt(g-E+L,S-M,g-E+_,S-M,g-E+L,S-M,2,!0),this.v.setTripleAt(g-E,S-M+L,g-E,S-M+L,g-E,S-M+_,3,!0),this.v.setTripleAt(g-E,S+M-L,g-E,S+M-_,g-E,S+M-L,4,!0),this.v.setTripleAt(g-E+L,S+M,g-E+L,S+M,g-E+_,S+M,5,!0),this.v.setTripleAt(g+E-L,S+M,g+E-_,S+M,g+E-L,S+M,6,!0),this.v.setTripleAt(g+E,S+M-L,g+E,S+M-L,g+E,S+M-_,7,!0)):(this.v.setTripleAt(g-E,S-M,g-E+_,S-M,g-E,S-M,1,!0),this.v.setTripleAt(g-E,S+M,g-E,S+M-_,g-E,S+M,2,!0),this.v.setTripleAt(g+E,S+M,g+E-_,S+M,g+E,S+M,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],m),m}();function b(m,x,g){var S;if(g===3||g===4){var E=g===3?x.pt:x.ks,M=E.k;M.length?S=new u(m,x,g):S=new l(m,x,g)}else g===5?S=new p(m,x):g===6?S=new f(m,x):g===7&&(S=new d(m,x));return S.k&&m.addDynamicProperty(S),S}function y(){return l}function C(){return u}var R={};return R.getShapeProp=b,R.getConstructorFunction=y,R.getKeyframedConstructorFunction=C,R}();/*!
67
67
  Transformation Matrix v2.0
68
68
  (c) Epistemex 2014-2015
69
69
  www.epistemex.com
70
70
  By Ken Fyrstenberg
71
71
  Contributions by leeoniya.
72
72
  License: MIT, header required.
73
- */var Matrix=function(){var e=Math.cos,t=Math.sin,i=Math.tan,n=Math.round;function s(){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(P){if(P===0)return this;var T=e(P),k=t(P);return this._t(T,-k,0,0,k,T,0,0,0,0,1,0,0,0,0,1)}function o(P){if(P===0)return this;var T=e(P),k=t(P);return this._t(1,0,0,0,0,T,-k,0,0,k,T,0,0,0,0,1)}function l(P){if(P===0)return this;var T=e(P),k=t(P);return this._t(T,0,k,0,0,1,0,0,-k,0,T,0,0,0,0,1)}function c(P){if(P===0)return this;var T=e(P),k=t(P);return this._t(T,-k,0,0,k,T,0,0,0,0,1,0,0,0,0,1)}function u(P,T){return this._t(1,T,P,1,0,0)}function f(P,T){return this.shear(i(P),i(T))}function d(P,T){var k=e(T),V=t(T);return this._t(k,V,0,0,-V,k,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(P),1,0,0,0,0,1,0,0,0,0,1)._t(k,-V,0,0,V,k,0,0,0,0,1,0,0,0,0,1)}function p(P,T,k){return!k&&k!==0&&(k=1),P===1&&T===1&&k===1?this:this._t(P,0,0,0,0,T,0,0,0,0,k,0,0,0,0,1)}function b(P,T,k,V,W,q,Y,ee,re,ce,he,me,pe,se,fe,ie){return this.props[0]=P,this.props[1]=T,this.props[2]=k,this.props[3]=V,this.props[4]=W,this.props[5]=q,this.props[6]=Y,this.props[7]=ee,this.props[8]=re,this.props[9]=ce,this.props[10]=he,this.props[11]=me,this.props[12]=pe,this.props[13]=se,this.props[14]=fe,this.props[15]=ie,this}function C(P,T,k){return k=k||0,P!==0||T!==0||k!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,P,T,k,1):this}function y(P,T,k,V,W,q,Y,ee,re,ce,he,me,pe,se,fe,ie){var X=this.props;if(P===1&&T===0&&k===0&&V===0&&W===0&&q===1&&Y===0&&ee===0&&re===0&&ce===0&&he===1&&me===0)return X[12]=X[12]*P+X[15]*pe,X[13]=X[13]*q+X[15]*se,X[14]=X[14]*he+X[15]*fe,X[15]*=ie,this._identityCalculated=!1,this;var Ee=X[0],Le=X[1],be=X[2],Ce=X[3],Pe=X[4],ve=X[5],ye=X[6],xe=X[7],we=X[8],Se=X[9],Te=X[10],Re=X[11],Me=X[12],_e=X[13],je=X[14],Ve=X[15];return X[0]=Ee*P+Le*W+be*re+Ce*pe,X[1]=Ee*T+Le*q+be*ce+Ce*se,X[2]=Ee*k+Le*Y+be*he+Ce*fe,X[3]=Ee*V+Le*ee+be*me+Ce*ie,X[4]=Pe*P+ve*W+ye*re+xe*pe,X[5]=Pe*T+ve*q+ye*ce+xe*se,X[6]=Pe*k+ve*Y+ye*he+xe*fe,X[7]=Pe*V+ve*ee+ye*me+xe*ie,X[8]=we*P+Se*W+Te*re+Re*pe,X[9]=we*T+Se*q+Te*ce+Re*se,X[10]=we*k+Se*Y+Te*he+Re*fe,X[11]=we*V+Se*ee+Te*me+Re*ie,X[12]=Me*P+_e*W+je*re+Ve*pe,X[13]=Me*T+_e*q+je*ce+Ve*se,X[14]=Me*k+_e*Y+je*he+Ve*fe,X[15]=Me*V+_e*ee+je*me+Ve*ie,this._identityCalculated=!1,this}function R(P){var T=P.props;return this.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])}function m(){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 x(P){for(var T=0;T<16;){if(P.props[T]!==this.props[T])return!1;T+=1}return!0}function g(P){var T;for(T=0;T<16;T+=1)P.props[T]=this.props[T];return P}function S(P){var T;for(T=0;T<16;T+=1)this.props[T]=P[T]}function E(P,T,k){return{x:P*this.props[0]+T*this.props[4]+k*this.props[8]+this.props[12],y:P*this.props[1]+T*this.props[5]+k*this.props[9]+this.props[13],z:P*this.props[2]+T*this.props[6]+k*this.props[10]+this.props[14]}}function M(P,T,k){return P*this.props[0]+T*this.props[4]+k*this.props[8]+this.props[12]}function L(P,T,k){return P*this.props[1]+T*this.props[5]+k*this.props[9]+this.props[13]}function _(P,T,k){return P*this.props[2]+T*this.props[6]+k*this.props[10]+this.props[14]}function I(){var P=this.props[0]*this.props[5]-this.props[1]*this.props[4],T=this.props[5]/P,k=-this.props[1]/P,V=-this.props[4]/P,W=this.props[0]/P,q=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/P,Y=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/P,ee=new Matrix;return ee.props[0]=T,ee.props[1]=k,ee.props[4]=V,ee.props[5]=W,ee.props[12]=q,ee.props[13]=Y,ee}function $(P){var T=this.getInverseMatrix();return T.applyToPointArray(P[0],P[1],P[2]||0)}function z(P){var T,k=P.length,V=[];for(T=0;T<k;T+=1)V[T]=$(P[T]);return V}function O(P,T,k){var V=createTypedArray("float32",6);if(this.isIdentity())V[0]=P[0],V[1]=P[1],V[2]=T[0],V[3]=T[1],V[4]=k[0],V[5]=k[1];else{var W=this.props[0],q=this.props[1],Y=this.props[4],ee=this.props[5],re=this.props[12],ce=this.props[13];V[0]=P[0]*W+P[1]*Y+re,V[1]=P[0]*q+P[1]*ee+ce,V[2]=T[0]*W+T[1]*Y+re,V[3]=T[0]*q+T[1]*ee+ce,V[4]=k[0]*W+k[1]*Y+re,V[5]=k[0]*q+k[1]*ee+ce}return V}function N(P,T,k){var V;return this.isIdentity()?V=[P,T,k]:V=[P*this.props[0]+T*this.props[4]+k*this.props[8]+this.props[12],P*this.props[1]+T*this.props[5]+k*this.props[9]+this.props[13],P*this.props[2]+T*this.props[6]+k*this.props[10]+this.props[14]],V}function K(P,T){if(this.isIdentity())return P+","+T;var k=this.props;return Math.round((P*k[0]+T*k[4]+k[12])*100)/100+","+Math.round((P*k[1]+T*k[5]+k[13])*100)/100}function B(){for(var P=0,T=this.props,k="matrix3d(",V=1e4;P<16;)k+=n(T[P]*V)/V,k+=P===15?")":",",P+=1;return k}function A(P){var T=1e4;return P<1e-6&&P>0||P>-1e-6&&P<0?n(P*T)/T:P}function j(){var P=this.props,T=A(P[0]),k=A(P[1]),V=A(P[4]),W=A(P[5]),q=A(P[12]),Y=A(P[13]);return"matrix("+T+","+k+","+V+","+W+","+q+","+Y+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=o,this.rotateY=l,this.rotateZ=c,this.skew=f,this.skewFromAxis=d,this.shear=u,this.scale=p,this.setTransform=b,this.translate=C,this.transform=y,this.multiply=R,this.applyToPoint=E,this.applyToX=M,this.applyToY=L,this.applyToZ=_,this.applyToPointArray=N,this.applyToTriplePoints=O,this.applyToPointStringified=K,this.toCSS=B,this.to2dCSS=j,this.clone=g,this.cloneFromProps=S,this.equals=x,this.inversePoints=z,this.inversePoint=$,this.getInverseMatrix=I,this._t=this.transform,this.isIdentity=m,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 n=t[i].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[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=n;function i(s,a){t[s]||(t[s]=a)}function n(s,a,o){return new t[s](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,n,s){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=[],l,c=a.length,u;for(l=0;l<c;l+=1)if(u=a[l],!(u.e*s<n||u.s*s>n+i)){var f,d;u.s*s<=n?f=0:f=(u.s*s-n)/i,u.e*s>=n+i?d=1:d=(u.e*s-n)/i,o.push([f,d])}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 n=this.o.v%360/360;if(n<0&&(n+=1),this.s.v>1?t=1+n:this.s.v<0?t=0+n:t=this.s.v+n,this.e.v>1?i=1+n:this.e.v<0?i=0+n:i=this.e.v+n,t>i){var s=t;t=i,i=s}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,l=this.shapes.length,c,u,f,d,p,b=0;if(i===t)for(o=0;o<l;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<l;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var C=[],y,R;for(o=0;o<l;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,u=a._length,p=0,!y.shape._mdf&&y.pathsData.length)p=y.totalShapeLength;else{for(f=this.releasePathsData(y.pathsData),c=0;c<u;c+=1)d=bez.getSegmentsLength(a.shapes[c]),f.push(d),p+=d.totalLength;y.totalShapeLength=p,y.pathsData=f}b+=p,y.shape._mdf=!0}var m=t,x=i,g=0,S;for(o=l-1;o>=0;o-=1)if(y=this.shapes[o],y.shape._mdf){for(R=y.localShapeCollection,R.releaseShapes(),this.m===2&&l>1?(S=this.calculateShapeEdges(t,i,y.totalShapeLength,g,b),g+=y.totalShapeLength):S=[[m,x]],u=S.length,c=0;c<u;c+=1){m=S[c][0],x=S[c][1],C.length=0,x<=1?C.push({s:y.totalShapeLength*m,e:y.totalShapeLength*x}):m>=1?C.push({s:y.totalShapeLength*(m-1),e:y.totalShapeLength*(x-1)}):(C.push({s:y.totalShapeLength*m,e:y.totalShapeLength}),C.push({s:0,e:y.totalShapeLength*(x-1)}));var E=this.addShapes(y,C[0]);if(C[0].s!==C[0].e){if(C.length>1){var M=y.shape.paths.shapes[y.shape.paths._length-1];if(M.c){var L=E.pop();this.addPaths(E,R),E=this.addShapes(y,C[1],L)}else this.addPaths(E,R),E=this.addShapes(y,C[1])}this.addPaths(E,R)}}y.shape.paths=R}}},TrimModifier.prototype.addPaths=function(e,t){var i,n=e.length;for(i=0;i<n;i+=1)t.addShape(e[i])},TrimModifier.prototype.addSegment=function(e,t,i,n,s,a,o){s.setXYAt(t[0],t[1],"o",a),s.setXYAt(i[0],i[1],"i",a+1),o&&s.setXYAt(e[0],e[1],"v",a),s.setXYAt(n[0],n[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,i,n){t.setXYAt(e[1],e[5],"o",i),t.setXYAt(e[2],e[6],"i",i+1),n&&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 n=e.pathsData,s=e.shape.paths.shapes,a,o=e.shape.paths._length,l,c,u=0,f,d,p,b,C=[],y,R=!0;for(i?(d=i._length,y=i._length):(i=shapePool.newElement(),d=0,y=0),C.push(i),a=0;a<o;a+=1){for(p=n[a].lengths,i.c=s[a].c,c=s[a].c?p.length:p.length+1,l=1;l<c;l+=1)if(f=p[l-1],u+f.addedLength<t.s)u+=f.addedLength,i.c=!1;else if(u>t.e){i.c=!1;break}else t.s<=u&&t.e>=u+f.addedLength?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[l],s[a].v[l],i,d,R),R=!1):(b=bez.getNewSegment(s[a].v[l-1],s[a].v[l],s[a].o[l-1],s[a].i[l],(t.s-u)/f.addedLength,(t.e-u)/f.addedLength,p[l-1]),this.addSegmentFromArray(b,i,d,R),R=!1,i.c=!1),u+=f.addedLength,d+=1;if(s[a].c&&p.length){if(f=p[l-1],u<=t.e){var m=p[l-1].addedLength;t.s<=u&&t.e>=u+m?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[0],s[a].v[0],i,d,R),R=!1):(b=bez.getNewSegment(s[a].v[l-1],s[a].v[0],s[a].o[l-1],s[a].i[0],(t.s-u)/m,(t.e-u)/m,p[l-1]),this.addSegmentFromArray(b,i,d,R),R=!1,i.c=!1)}else i.c=!1;u+=f.addedLength,d+=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)),u>t.e)break;a<o-1&&(i=shapePool.newElement(),R=!0,C.push(i),d=0)}return C};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,n=[0,0],s=e._length,a=0;for(a=0;a<s;a+=1)n[0]+=e.v[a][0],n[1]+=e.v[a][1];n[0]/=s,n[1]/=s;var o=shapePool.newElement();o.c=e.c;var l,c,u,f,d,p;for(a=0;a<s;a+=1)l=e.v[a][0]+(n[0]-e.v[a][0])*i,c=e.v[a][1]+(n[1]-e.v[a][1])*i,u=e.o[a][0]+(n[0]-e.o[a][0])*-i,f=e.o[a][1]+(n[1]-e.o[a][1])*-i,d=e.i[a][0]+(n[0]-e.i[a][0])*-i,p=e.i[a][1]+(n[1]-e.i[a][1])*-i,o.setTripleAt(l,c,u,f,d,p,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,i,n=this.shapes.length,s,a,o=this.amount.v;if(o!==0){var l,c;for(i=0;i<n;i+=1){if(l=this.shapes[i],c=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(c.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,a=l.shape.paths._length,s=0;s<a;s+=1)c.addShape(this.processPath(t[s],o));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(c){var u=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||u,this.a&&c.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&c.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&c.skewFromAxis(-this.sk.v,this.sa.v),this.r?c.rotate(-this.r.v):c.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?c.translate(this.px.v,this.py.v,-this.pz.v):c.translate(this.px.v,this.py.v,0):c.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(c){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||c){var u;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 f,d;if(u=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(f=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/u,0),d=this.p.getValueAtTime(this.p.keyframes[0].t/u,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(f=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/u,0),d=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/u,0)):(f=this.p.pv,d=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/u,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){f=[],d=[];var p=this.px,b=this.py;p._caching.lastFrame+p.offsetTime<=p.keyframes[0].t?(f[0]=p.getValueAtTime((p.keyframes[0].t+.01)/u,0),f[1]=b.getValueAtTime((b.keyframes[0].t+.01)/u,0),d[0]=p.getValueAtTime(p.keyframes[0].t/u,0),d[1]=b.getValueAtTime(b.keyframes[0].t/u,0)):p._caching.lastFrame+p.offsetTime>=p.keyframes[p.keyframes.length-1].t?(f[0]=p.getValueAtTime(p.keyframes[p.keyframes.length-1].t/u,0),f[1]=b.getValueAtTime(b.keyframes[b.keyframes.length-1].t/u,0),d[0]=p.getValueAtTime((p.keyframes[p.keyframes.length-1].t-.01)/u,0),d[1]=b.getValueAtTime((b.keyframes[b.keyframes.length-1].t-.01)/u,0)):(f=[p.pv,b.pv],d[0]=p.getValueAtTime((p._caching.lastFrame+p.offsetTime-.01)/u,p.offsetTime),d[1]=b.getValueAtTime((b._caching.lastFrame+b.offsetTime-.01)/u,b.offsetTime))}else d=e,f=d;this.v.rotate(-Math.atan2(f[1]-d[1],f[0]-d[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 n(){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 s(){}function a(c){this._addDynamicProperty(c),this.elem.addDynamicProperty(c),this._isDirty=!0}function o(c,u,f){if(this.elem=c,this.frameId=-1,this.propType="transform",this.data=u,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(f||c),u.p&&u.p.s?(this.px=PropertyFactory.getProp(c,u.p.x,0,0,this),this.py=PropertyFactory.getProp(c,u.p.y,0,0,this),u.p.z&&(this.pz=PropertyFactory.getProp(c,u.p.z,0,0,this))):this.p=PropertyFactory.getProp(c,u.p||{k:[0,0,0]},1,0,this),u.rx){if(this.rx=PropertyFactory.getProp(c,u.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(c,u.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(c,u.rz,0,degToRads,this),u.or.k[0].ti){var d,p=u.or.k.length;for(d=0;d<p;d+=1)u.or.k[d].to=null,u.or.k[d].ti=null}this.or=PropertyFactory.getProp(c,u.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(c,u.r||{k:0},0,degToRads,this);u.sk&&(this.sk=PropertyFactory.getProp(c,u.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(c,u.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(c,u.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(c,u.s||{k:[100,100,100]},1,.01,this),u.o?this.o=PropertyFactory.getProp(c,u.o,0,.01,c):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}o.prototype={applyToMatrix:t,getValue:i,precalculateMatrix:n,autoOrient:s},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function l(c,u,f){return new o(c,u,f)}return{getTransformProperty:l}}();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,n,s,a){var o=a?-1:1,l=n.s.v[0]+(1-n.s.v[0])*(1-s),c=n.s.v[1]+(1-n.s.v[1])*(1-s);e.translate(n.p.v[0]*o*s,n.p.v[1]*o*s,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*o*s),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),i.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),i.scale(a?1/l:l,a?1/c:c),i.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,i,n){for(this.elem=e,this.arr=t,this.pos=i,this.elemsData=n,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,n=e.length;for(i=0;i<n;i+=1)e[i]._render=t,e[i].ty==="gr"&&this.changeGroupRender(e[i].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,i,n,s,a,o=!1;if(this._mdf||e){var l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.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,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}a=0;var u;for(n=0;n<=this._groups.length-1;n+=1){if(u=a<l,this._groups[n]._render=u,this.changeGroupRender(this._groups[n].it,u),!u){var f=this.elemsData[n].it,d=f[f.length-1];d.transform.op.v!==0?(d.transform.op._mdf=!0,d.transform.op.v=0):d.transform.op._mdf=!1}a+=1}this._currentCopies=l;var p=this.o.v,b=p%1,C=p>0?Math.floor(p):Math.ceil(p),y=this.pMatrix.props,R=this.rMatrix.props,m=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var x=0;if(p>0){for(;x<C;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,b,!1),x+=b)}else if(p<0){for(;x>C;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-b,!0),x-=b)}n=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var g,S;a;){if(t=this.elemsData[n].it,i=t[t.length-1].transform.mProps.v.props,S=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)*(n/(this._currentCopies-1)),x!==0){for((n!==0&&s===1||n!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(R[0],R[1],R[2],R[3],R[4],R[5],R[6],R[7],R[8],R[9],R[10],R[11],R[12],R[13],R[14],R[15]),this.matrix.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]),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]),g=0;g<S;g+=1)i[g]=this.matrix.props[g];this.matrix.reset()}else for(this.matrix.reset(),g=0;g<S;g+=1)i[g]=this.matrix.props[g];x+=1,a-=1,n+=s}}else for(a=this._currentCopies,n=0,s=1;a;)t=this.elemsData[n].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,n+=s;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 n,s=e._length,a,o,l,c,u,f,d=0,p,b,C,y,R,m;for(n=0;n<s;n+=1)a=e.v[n],l=e.o[n],o=e.i[n],a[0]===l[0]&&a[1]===l[1]&&a[0]===o[0]&&a[1]===o[1]?(n===0||n===s-1)&&!e.c?(i.setTripleAt(a[0],a[1],l[0],l[1],o[0],o[1],d),d+=1):(n===0?c=e.v[s-1]:c=e.v[n-1],u=Math.sqrt(Math.pow(a[0]-c[0],2)+Math.pow(a[1]-c[1],2)),f=u?Math.min(u/2,t)/u:0,R=a[0]+(c[0]-a[0])*f,p=R,m=a[1]-(a[1]-c[1])*f,b=m,C=p-(p-a[0])*roundCorner,y=b-(b-a[1])*roundCorner,i.setTripleAt(p,b,C,y,R,m,d),d+=1,n===s-1?c=e.v[0]:c=e.v[n+1],u=Math.sqrt(Math.pow(a[0]-c[0],2)+Math.pow(a[1]-c[1],2)),f=u?Math.min(u/2,t)/u:0,C=a[0]+(c[0]-a[0])*f,p=C,y=a[1]+(c[1]-a[1])*f,b=y,R=p-(p-a[0])*roundCorner,m=b-(b-a[1])*roundCorner,i.setTripleAt(p,b,C,y,R,m,d),d+=1):(i.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],d),d+=1);return i},RoundCornersModifier.prototype.processShapes=function(e){var t,i,n=this.shapes.length,s,a,o=this.rd.v;if(o!==0){var l,c;for(i=0;i<n;i+=1){if(l=this.shapes[i],c=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(c.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,a=l.shape.paths._length,s=0;s<a;s+=1)c.addShape(this.processPath(t[s],o));l.shape.paths=l.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 n=t*t-4*e*i;if(n<0)return[];var s=-t/(2*e);if(n===0)return[s];var a=Math.sqrt(n)/(2*e);return[s-a,s+a]}function polynomialCoefficients(e,t,i,n){return[-e+3*t-3*i+n,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,n,s){s&&pointEqual(e,t)&&(t=lerpPoint(e,n,1/3)),s&&pointEqual(i,n)&&(i=lerpPoint(e,n,2/3));var a=polynomialCoefficients(e[0],t[0],i[0],n[0]),o=polynomialCoefficients(e[1],t[1],i[1],n[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,n]}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 n=Math.sqrt(i);return floatZero(n)?n>0&&n<1?[t]:[]:[t-n,t+n].filter(function(s){return s>0&&s<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),n=lerpPoint(this.points[2],this.points[3],e),s=lerpPoint(t,i,e),a=lerpPoint(i,n,e),o=lerpPoint(s,a,e);return[new PolynomialBezier(this.points[0],t,s,o,!0),new PolynomialBezier(o,a,n,this.points[3],!0)]};function extrema(e,t){var i=e.points[0][t],n=e.points[e.points.length-1][t];if(i>n){var s=n;n=i,i=s}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 l=e.point(a[o])[t];l<i?i=l:l>n&&(n=l)}return{min:i,max:n}}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 n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.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,n,s,a){if(boxIntersect(e,t)){if(i>=a||e.width<=n&&e.height<=n&&t.width<=n&&t.height<=n){s.push([e.t,t.t]);return}var o=splitData(e),l=splitData(t);intersectsImpl(o[0],l[0],i+1,n,s,a),intersectsImpl(o[0],l[1],i+1,n,s,a),intersectsImpl(o[1],l[0],i+1,n,s,a),intersectsImpl(o[1],l[1],i+1,n,s,a)}}PolynomialBezier.prototype.intersections=function(e,t,i){t===void 0&&(t=2),i===void 0&&(i=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,i),n},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,n){var s=[e[0],e[1],1],a=[t[0],t[1],1],o=[i[0],i[1],1],l=[n[0],n[1],1],c=crossProduct(crossProduct(s,a),crossProduct(o,l));return floatZero(c[2])?null:[c[0]/c[2],c[1]/c[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,n,s,a,o){var l=i-Math.PI/2,c=i+Math.PI/2,u=t[0]+Math.cos(i)*n*s,f=t[1]-Math.sin(i)*n*s;e.setTripleAt(u,f,u+Math.cos(l)*a,f-Math.sin(l)*a,u+Math.cos(c)*o,f-Math.sin(c)*o,e.length())}function getPerpendicularVector(e,t){var i=[t[0]-e[0],t[1]-e[1]],n=-Math.PI*.5,s=[Math.cos(n)*i[0]-Math.sin(n)*i[1],Math.sin(n)*i[0]+Math.cos(n)*i[1]];return s}function getProjectingAngle(e,t){var i=t===0?e.length()-1:t-1,n=(t+1)%e.length(),s=e.v[i],a=e.v[n],o=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(e,t,i,n,s,a,o){var l=getProjectingAngle(t,i),c=t.v[i%t._length],u=t.v[i===0?t._length-1:i-1],f=t.v[(i+1)%t._length],d=a===2?Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)):0,p=a===2?Math.sqrt(Math.pow(c[0]-f[0],2)+Math.pow(c[1]-f[1],2)):0;setPoint(e,t.v[i%t._length],l,o,n,p/((s+1)*2),d/((s+1)*2))}function zigZagSegment(e,t,i,n,s,a){for(var o=0;o<n;o+=1){var l=(o+1)/(n+1),c=s===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,u=t.normalAngle(l),f=t.point(l);setPoint(e,f,u,a,i,c/((n+1)*2),c/((n+1)*2)),a=-a}return a}ZigZagModifier.prototype.processPath=function(e,t,i,n){var s=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(s-=1),s===0)return a;var o=-1,l=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,i,n,o);for(var c=0;c<s;c+=1)o=zigZagSegment(a,l,t,i,n,-o),c===s-1&&!e.c?l=null:l=PolynomialBezier.shapeSegment(e,(c+1)%s),zigZagCorner(a,e,c+1,t,i,n,o);return a},ZigZagModifier.prototype.processShapes=function(e){var t,i,n=this.shapes.length,s,a,o=this.amplitude.v,l=Math.max(0,Math.round(this.frequency.v)),c=this.pointsType.v;if(o!==0){var u,f;for(i=0;i<n;i+=1){if(u=this.shapes[i],f=u.localShapeCollection,!(!u.shape._mdf&&!this._mdf&&!e))for(f.releaseShapes(),u.shape._mdf=!0,t=u.shape.paths.shapes,a=u.shape.paths._length,s=0;s<a;s+=1)f.addShape(this.processPath(t[s],o,l,c));u.shape.paths=u.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,i){var n=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,n,i),polarOffset(t,n,i)]}function offsetSegment(e,t){var i,n,s,a,o,l,c;c=linearOffset(e.points[0],e.points[1],t),i=c[0],n=c[1],c=linearOffset(e.points[1],e.points[2],t),s=c[0],a=c[1],c=linearOffset(e.points[2],e.points[3],t),o=c[0],l=c[1];var u=lineIntersection(i,n,s,a);u===null&&(u=n);var f=lineIntersection(o,l,s,a);return f===null&&(f=o),new PolynomialBezier(i,u,f,l)}function joinLines(e,t,i,n,s){var a=t.points[3],o=i.points[0];if(n===3||pointEqual(a,o))return a;if(n===2){var l=-t.tangentAngle(1),c=-i.tangentAngle(0)+Math.PI,u=lineIntersection(a,polarOffset(a,l+Math.PI/2,100),o,polarOffset(o,l+Math.PI/2,100)),f=u?pointDistance(u,a):pointDistance(a,o)/2,d=polarOffset(a,l,2*f*roundCorner);return e.setXYAt(d[0],d[1],"o",e.length()-1),d=polarOffset(o,c,2*f*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],d[0],d[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],C=lineIntersection(p,a,o,b);return C&&pointDistance(C,a)<s?(e.setTripleAt(C[0],C[1],C[0],C[1],C[0],C[1],e.length()),C):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(),n=t.slice(),s=getIntersection(e[e.length-1],t[0]);return s&&(i[e.length-1]=e[e.length-1].split(s[0])[0],n[0]=t[0].split(s[1])[1]),e.length>1&&t.length>1&&(s=getIntersection(e[0],t[t.length-1]),s)?[[e[0].split(s[0])[0]],[t[t.length-1].split(s[1])[1]]]:[i,n]}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(),n,s,a,o;if(i.length===0)return[offsetSegment(e,t)];if(i.length===1||floatEqual(i[1],1))return a=e.split(i[0]),n=a[0],s=a[1],[offsetSegment(n,t),offsetSegment(s,t)];a=e.split(i[0]),n=a[0];var l=(i[1]-i[0])/(1-i[0]);return a=a[1].split(l),o=a[0],s=a[1],[offsetSegment(n,t),offsetSegment(o,t),offsetSegment(s,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,n){var s=shapePool.newElement();s.c=e.c;var a=e.length();e.c||(a-=1);var o,l,c,u=[];for(o=0;o<a;o+=1)c=PolynomialBezier.shapeSegment(e,o),u.push(offsetSegmentSplit(c,t));if(!e.c)for(o=a-1;o>=0;o-=1)c=PolynomialBezier.shapeSegmentInverted(e,o),u.push(offsetSegmentSplit(c,t));u=pruneIntersections(u);var f=null,d=null;for(o=0;o<u.length;o+=1){var p=u[o];for(d&&(f=joinLines(s,d,p[0],i,n)),d=p[p.length-1],l=0;l<p.length;l+=1)c=p[l],f&&pointEqual(c.points[0],f)?s.setXYAt(c.points[1][0],c.points[1][1],"o",s.length()-1):s.setTripleAt(c.points[0][0],c.points[0][1],c.points[1][0],c.points[1][1],c.points[0][0],c.points[0][1],s.length()),s.setTripleAt(c.points[3][0],c.points[3][1],c.points[3][0],c.points[3][1],c.points[2][0],c.points[2][1],s.length()),f=c.points[3]}return u.length&&joinLines(s,d,u[0][0],i,n),s},OffsetPathModifier.prototype.processShapes=function(e){var t,i,n=this.shapes.length,s,a,o=this.amount.v,l=this.miterLimit.v,c=this.lineJoin;if(o!==0){var u,f;for(i=0;i<n;i+=1){if(u=this.shapes[i],f=u.localShapeCollection,!(!u.shape._mdf&&!this._mdf&&!e))for(f.releaseShapes(),u.shape._mdf=!0,t=u.shape.paths.shapes,a=u.shape.paths._length,s=0;s<a;s+=1)f.addShape(this.processPath(t[s],o,c,l));u.shape.paths=u.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],i="normal",n="normal",s=t.length,a,o=0;o<s;o+=1)switch(a=t[o].toLowerCase(),a){case"italic":n="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:n,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 n=127988,s=917631,a=917601,o=917626,l=65039,c=8205,u=127462,f=127487,d=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function p(A){var j=A.split(","),P,T=j.length,k=[];for(P=0;P<T;P+=1)j[P]!=="sans-serif"&&j[P]!=="monospace"&&k.push(j[P]);return k.join(",")}function b(A,j){var P=createTag("span");P.setAttribute("aria-hidden",!0),P.style.fontFamily=j;var T=createTag("span");T.innerText="giItT1WQy@!-/#",P.style.position="absolute",P.style.left="-10000px",P.style.top="-10000px",P.style.fontSize="300px",P.style.fontVariant="normal",P.style.fontStyle="normal",P.style.fontWeight="normal",P.style.letterSpacing="0",P.appendChild(T),document.body.appendChild(P);var k=T.offsetWidth;return T.style.fontFamily=p(A)+", "+j,{node:T,w:k,parent:P}}function C(){var A,j=this.fonts.length,P,T,k=j;for(A=0;A<j;A+=1)this.fonts[A].loaded?k-=1:this.fonts[A].fOrigin==="n"||this.fonts[A].origin===0?this.fonts[A].loaded=!0:(P=this.fonts[A].monoCase.node,T=this.fonts[A].monoCase.w,P.offsetWidth!==T?(k-=1,this.fonts[A].loaded=!0):(P=this.fonts[A].sansCase.node,T=this.fonts[A].sansCase.w,P.offsetWidth!==T&&(k-=1,this.fonts[A].loaded=!0)),this.fonts[A].loaded&&(this.fonts[A].sansCase.parent.parentNode.removeChild(this.fonts[A].sansCase.parent),this.fonts[A].monoCase.parent.parentNode.removeChild(this.fonts[A].monoCase.parent)));k!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function y(A,j){var P=document.body&&j?"svg":"canvas",T,k=getFontProperties(A);if(P==="svg"){var V=createNS("text");V.style.fontSize="100px",V.setAttribute("font-family",A.fFamily),V.setAttribute("font-style",k.style),V.setAttribute("font-weight",k.weight),V.textContent="1",A.fClass?(V.style.fontFamily="inherit",V.setAttribute("class",A.fClass)):V.style.fontFamily=A.fFamily,j.appendChild(V),T=V}else{var W=new OffscreenCanvas(500,500).getContext("2d");W.font=k.style+" "+k.weight+" 100px "+A.fFamily,T=W}function q(Y){return P==="svg"?(T.textContent=Y,T.getComputedTextLength()):T.measureText(Y).width}return{measureText:q}}function R(A,j){if(!A){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=A.list;return}if(!document.body){this.isLoaded=!0,A.list.forEach(function(he){he.helper=y(he),he.cache={}}),this.fonts=A.list;return}var P=A.list,T,k=P.length,V=k;for(T=0;T<k;T+=1){var W=!0,q,Y;if(P[T].loaded=!1,P[T].monoCase=b(P[T].fFamily,"monospace"),P[T].sansCase=b(P[T].fFamily,"sans-serif"),!P[T].fPath)P[T].loaded=!0,V-=1;else if(P[T].fOrigin==="p"||P[T].origin===3){if(q=document.querySelectorAll('style[f-forigin="p"][f-family="'+P[T].fFamily+'"], style[f-origin="3"][f-family="'+P[T].fFamily+'"]'),q.length>0&&(W=!1),W){var ee=createTag("style");ee.setAttribute("f-forigin",P[T].fOrigin),ee.setAttribute("f-origin",P[T].origin),ee.setAttribute("f-family",P[T].fFamily),ee.type="text/css",ee.innerText="@font-face {font-family: "+P[T].fFamily+"; font-style: normal; src: url('"+P[T].fPath+"');}",j.appendChild(ee)}}else if(P[T].fOrigin==="g"||P[T].origin===1){for(q=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Y=0;Y<q.length;Y+=1)q[Y].href.indexOf(P[T].fPath)!==-1&&(W=!1);if(W){var re=createTag("link");re.setAttribute("f-forigin",P[T].fOrigin),re.setAttribute("f-origin",P[T].origin),re.type="text/css",re.rel="stylesheet",re.href=P[T].fPath,document.body.appendChild(re)}}else if(P[T].fOrigin==="t"||P[T].origin===2){for(q=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Y=0;Y<q.length;Y+=1)P[T].fPath===q[Y].src&&(W=!1);if(W){var ce=createTag("link");ce.setAttribute("f-forigin",P[T].fOrigin),ce.setAttribute("f-origin",P[T].origin),ce.setAttribute("rel","stylesheet"),ce.setAttribute("href",P[T].fPath),j.appendChild(ce)}}P[T].helper=y(P[T],j),P[T].cache={},this.fonts.push(P[T])}V===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function m(A){if(A){this.chars||(this.chars=[]);var j,P=A.length,T,k=this.chars.length,V;for(j=0;j<P;j+=1){for(T=0,V=!1;T<k;)this.chars[T].style===A[j].style&&this.chars[T].fFamily===A[j].fFamily&&this.chars[T].ch===A[j].ch&&(V=!0),T+=1;V||(this.chars.push(A[j]),k+=1)}}}function x(A,j,P){for(var T=0,k=this.chars.length;T<k;){if(this.chars[T].ch===A&&this.chars[T].style===j&&this.chars[T].fFamily===P)return this.chars[T];T+=1}return(typeof A=="string"&&A.charCodeAt(0)!==13||!A)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",A,j,P)),t}function g(A,j,P){var T=this.getFontByName(j),k=A;if(!T.cache[k]){var V=T.helper;if(A===" "){var W=V.measureText("|"+A+"|"),q=V.measureText("||");T.cache[k]=(W-q)/100}else T.cache[k]=V.measureText(A)/100}return T.cache[k]*P}function S(A){for(var j=0,P=this.fonts.length;j<P;){if(this.fonts[j].fName===A)return this.fonts[j];j+=1}return this.fonts[0]}function E(A){var j=0,P=A.charCodeAt(0);if(P>=55296&&P<=56319){var T=A.charCodeAt(1);T>=56320&&T<=57343&&(j=(P-55296)*1024+T-56320+65536)}return j}function M(A,j){var P=A.toString(16)+j.toString(16);return d.indexOf(P)!==-1}function L(A){return A===c}function _(A){return A===l}function I(A){var j=E(A);return j>=u&&j<=f}function $(A){return I(A.substr(0,2))&&I(A.substr(2,2))}function z(A){return i.indexOf(A)!==-1}function O(A,j){var P=E(A.substr(j,2));if(P!==n)return!1;var T=0;for(j+=2;T<5;){if(P=E(A.substr(j,2)),P<a||P>o)return!1;T+=1,j+=2}return E(A.substr(j,2))===s}function N(){this.isLoaded=!0}var K=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)};K.isModifier=M,K.isZeroWidthJoiner=L,K.isFlagEmoji=$,K.isRegionalCode=I,K.isCombinedCharacter=z,K.isRegionalFlag=O,K.isVariationSelector=_,K.BLACK_FLAG_CODE_POINT=n;var B={addChars:m,addFonts:R,getCharData:x,getFontByName:S,measureText:g,checkLoadedFonts:C,setIsLoaded:N};return K.prototype=B,K}();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 n,s=i.length,a;for(n=0;n<s;n+=1)a=new GroupEffect(i[n],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,n=this.data.ef.length,s,a=this.data.ef;for(i=0;i<n;i+=1){switch(s=null,a[i].ty){case 0:s=new SliderEffect(a[i],t,this);break;case 1:s=new AngleEffect(a[i],t,this);break;case 2:s=new ColorEffect(a[i],t,this);break;case 3:s=new PointEffect(a[i],t,this);break;case 4:case 7:s=new CheckboxEffect(a[i],t,this);break;case 10:s=new LayerIndexEffect(a[i],t,this);break;case 11:s=new MaskIndexEffect(a[i],t,this);break;case 5:s=new EffectsManager(a[i],t);break;default:s=new NoValueEffect(a[i]);break}s&&this.effectElements.push(s)}};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"),n=t("effects"),s=t("shape"),a=t("text"),o=t("comp");this.layerInterface=i(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var l=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(l),this.data.ty===0||this.data.xt?this.compInterface=o(this):this.data.ty===4?(this.layerInterface.shapeInterface=s(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,n){this.globalData=i,this.comp=n,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 n,s=this.dynamicProperties.length;for(n=0;n<s;n+=1)(i||this._isParent&&this.dynamicProperties[n].propType==="transform")&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._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 n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),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,n;for(this.completeLayers=!0,t=i-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t],n.ip-n.st<=e-this.layers[t].st&&n.op-n.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,n,s=this.layers.length;for(t=0;t<i;t+=1)for(n=0;n<s;){if(this.layers[n].id===e[t].id){this.layers[n]=e[t];break}n+=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 n=this.elements,s=this.layers,a=0,o=s.length;a<o;)s[a].ind==t&&(!n[a]||n[a]===!0?(this.buildItem(a),this.addPendingElement(e)):(i.push(n[a]),n[a].setAsParent(),s[a].parent!==void 0?this.buildElementParenting(e,s[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 n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},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 n,s=this.elements.length;for(n=0;n<s;n+=1)if(this.elements[n].data.nm===t){i=this.elements[n];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,n=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<s;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,i.cloneFromProps(t),n=0;n<s;n+=1)i.multiply(this.hierarchy[n].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 n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),t=1;t<i;t+=1){var s=this.localTransforms[t].matrix;n.multiply(s)}n.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,n=t.length;for(i=0;i<n;i+=1)this.localTransforms.push(t[i])}}},globalToLocal:function(t){var i=[];i.push(this.finalTransform);for(var n=!0,s=this.comp;n;)s.finalTransform?(s.data.hasMask&&i.splice(0,0,s.finalTransform),s=s.comp):n=!1;var a,o=i.length,l;for(a=0;a<o;a+=1)l=i[a].mat.applyToPointArray(0,0,0),t=[t[0]-l[0],t[1]-l[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 n=this.globalData.defs,s,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,l=this.masksProperties,c=0,u=[],f,d,p=createElementID(),b,C,y,R,m="clipPath",x="clip-path";for(s=0;s<a;s+=1)if((l[s].mode!=="a"&&l[s].mode!=="n"||l[s].inv||l[s].o.k!==100||l[s].o.x)&&(m="mask",x="mask"),(l[s].mode==="s"||l[s].mode==="i")&&c===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),u.push(b)):b=null,o=createNS("path"),l[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,l[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[s],3),elem:o,lastPath:""},n.appendChild(o);else{c+=1,o.setAttribute("fill",l[s].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var g;if(l[s].x.k!==0?(m="mask",x="mask",R=PropertyFactory.getProp(this.element,l[s].x,0,null,this.element),g=createElementID(),C=createNS("filter"),C.setAttribute("id",g),y=createNS("feMorphology"),y.setAttribute("operator","erode"),y.setAttribute("in","SourceGraphic"),y.setAttribute("radius","0"),C.appendChild(y),n.appendChild(C),o.setAttribute("stroke",l[s].mode==="s"?"#000000":"#ffffff")):(y=null,R=null),this.storedData[s]={elem:o,x:R,expan:y,lastPath:"",lastOperator:"",filterId:g,lastRadius:0},l[s].mode==="i"){d=u.length;var S=createNS("g");for(f=0;f<d;f+=1)S.appendChild(u[f]);var E=createNS("mask");E.setAttribute("mask-type","alpha"),E.setAttribute("id",p+"_"+c),E.appendChild(o),n.appendChild(E),S.setAttribute("mask","url("+getLocationHref()+"#"+p+"_"+c+")"),u.length=0,u.push(S)}else u.push(o);l[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,l[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[s],3),invRect:b},this.viewData[s].prop.k||this.drawPath(l[s],this.viewData[s].prop.v,this.viewData[s])}for(this.maskElement=createNS(m),a=u.length,s=0;s<a;s+=1)this.maskElement.appendChild(u[s]);c>0&&(this.maskElement.setAttribute("id",p),this.element.maskedElement.setAttribute(x,"url("+getLocationHref()+"#"+p+")"),n.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,n=this.masksProperties.length;for(i=0;i<n;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 s=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+")")),s.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 n=" M"+t.v[0][0]+","+t.v[0][1],s,a;for(a=t._length,s=1;s<a;s+=1)n+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[s][0]+","+t.i[s][1]+" "+t.v[s][0]+","+t.v[s][1];if(t.c&&a>1&&(n+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),i.lastPath!==n){var o="";i.elem&&(t.c&&(o=e.inv?this.solidPath+n:n),i.elem.setAttribute("d",o)),i.lastPath=n}},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(n,s){var a=createNS("filter");return a.setAttribute("id",n),s!==!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 n=createNS("feColorMatrix");return n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),n}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",n=e.data.ef?e.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),o=0;this.filters=[];var l;for(t=0;t<n;t+=1){l=null;var c=e.data.ef[t].ty;if(registeredEffects$1[c]){var u=registeredEffects$1[c].effect;l=new u(a,e.effectsManager.effectElements[t],e,idPrefix+o,i),i=idPrefix+o,registeredEffects$1[c].countsAsEffect&&(o+=1)}l&&this.filters.push(l)}o&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),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,n=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n};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 n=createNS("clipPath"),s=createNS("path");s.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(n.setAttribute("id",a),n.appendChild(s),this.globalData.defs.appendChild(n),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,n,s,a,o;if(t===1||t===3){var l=createNS("mask");l.setAttribute("id",i),l.setAttribute("mask-type",t===3?"luminance":"alpha"),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(a),this.globalData.defs.appendChild(l),!featureSupport.maskType&&t===1&&(l.setAttribute("mask-type","luminance"),n=createElementID(),s=filtersFactory.createFilter(n),this.globalData.defs.appendChild(s),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),o.appendChild(a),l.appendChild(o),o.setAttribute("filter","url("+getLocationHref()+"#"+n+")"))}else if(t===2){var c=createNS("mask");c.setAttribute("id",i),c.setAttribute("mask-type","alpha");var u=createNS("g");c.appendChild(u),n=createElementID(),s=filtersFactory.createFilter(n);var f=createNS("feComponentTransfer");f.setAttribute("in","SourceGraphic"),s.appendChild(f);var d=createNS("feFuncA");d.setAttribute("type","table"),d.setAttribute("tableValues","1.0 0.0"),f.appendChild(d),this.globalData.defs.appendChild(s);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"),u.setAttribute("filter","url("+getLocationHref()+"#"+n+")"),u.appendChild(p),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),u.appendChild(a),featureSupport.maskType||(c.setAttribute("mask-type","luminance"),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),u.appendChild(p),o.appendChild(this.layerElement),u.appendChild(o)),this.globalData.defs.appendChild(c)}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,n,s){this.initFrame(),this.initBaseData(i,n,s),this.initTransform(i,n,s),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,n=this.shapeModifiers.length;for(i=0;i<n;i+=1)this.shapeModifiers[i].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var i=0,n=this.shapeModifiers.length;i<n;)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 n;for(t=i-1;t>=0&&(n=this.shapeModifiers[t].processShapes(this._isFirstFrame),!n);t-=1);}},searchProcessedElement:function(t){for(var i=this.processedElements,n=0,s=i.length;n<s;){if(i[n].elem===t)return i[n].pos;n+=1}return 0},addProcessedElement:function(t,i){for(var n=this.processedElements,s=n.length;s;)if(s-=1,n[s].elem===t){n[s].pos=i;return}n.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 n=0,s=e.length;n<s;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=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,n){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(n);var s,a=t.length||0,o;for(s=0;s<a;s+=1)o=PropertyFactory.getProp(e,t[s].v,0,0,this),this.k=o.k||this.k,this.dataProps[s]={n:t[s].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 n=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",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,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,n=this.o.length/2,s;i<n;){if(s=Math.abs(e[i*4]-e[t*4+i*2]),s>.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,n,s;for(t=0;t<i;t+=1)n=t%4===0?100:255,s=Math.round(this.prop.v[t]*n),this.c[t]!==s&&(this.c[t]=s,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=this.data.p*4;t<i;t+=1)n=t%2===0?100:1,s=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==s&&(this.o[t-this.data.p*4]=s,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(),n=createNS(t.t===1?"linearGradient":"radialGradient");n.setAttribute("id",i),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var s=[],a,o,l;for(l=t.g.p*4,o=0;o<l;o+=4)a=createNS("stop"),n.appendChild(a),s.push(a);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=n,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var i,n,s,a=createNS("mask"),o=createNS("path");a.appendChild(o);var l=createElementID(),c=createElementID();a.setAttribute("id",c);var u=createNS(e.t===1?"linearGradient":"radialGradient");u.setAttribute("id",l),u.setAttribute("spreadMethod","pad"),u.setAttribute("gradientUnits","userSpaceOnUse"),s=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var f=this.stops;for(n=e.g.p*4;n<s;n+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),u.appendChild(i),f.push(i);o.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+l+")"),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=u,this.ms=a,this.ost=f,this.maskId=c,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,n,s){if(i===0)return"";var a=t.o,o=t.i,l=t.v,c,u=" M"+s.applyToPointStringified(l[0][0],l[0][1]);for(c=1;c<i;c+=1)u+=" C"+s.applyToPointStringified(a[c-1][0],a[c-1][1])+" "+s.applyToPointStringified(o[c][0],o[c][1])+" "+s.applyToPointStringified(l[c][0],l[c][1]);return n&&i&&(u+=" C"+s.applyToPointStringified(a[c-1][0],a[c-1][1])+" "+s.applyToPointStringified(o[0][0],o[0][1])+" "+s.applyToPointStringified(l[0][0],l[0][1]),u+="z"),u},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,i={createRenderFunction:n};function n(d){switch(d.ty){case"fl":return l;case"gf":return u;case"gs":return c;case"st":return f;case"sh":case"el":case"rc":case"sr":return o;case"tr":return s;case"no":return a;default:return null}}function s(d,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(d,p,b){var C,y,R,m,x,g,S=p.styles.length,E=p.lvl,M,L,_,I;for(g=0;g<S;g+=1){if(m=p.sh._mdf||b,p.styles[g].lvl<E){for(L=t.reset(),_=E-p.styles[g].lvl,I=p.transformers.length-1;!m&&_>0;)m=p.transformers[I].mProps._mdf||m,_-=1,I-=1;if(m)for(_=E-p.styles[g].lvl,I=p.transformers.length-1;_>0;)L.multiply(p.transformers[I].mProps.v),_-=1,I-=1}else L=e;if(M=p.sh.paths,y=M._length,m){for(R="",C=0;C<y;C+=1)x=M.shapes[C],x&&x._length&&(R+=buildShapeString(x,x._length,x.c,L));p.caches[g]=R}else R=p.caches[g];p.styles[g].d+=d.hd===!0?"":R,p.styles[g]._mdf=m||p.styles[g]._mdf}}function l(d,p,b){var C=p.style;(p.c._mdf||b)&&C.pElem.setAttribute("fill","rgb("+bmFloor(p.c.v[0])+","+bmFloor(p.c.v[1])+","+bmFloor(p.c.v[2])+")"),(p.o._mdf||b)&&C.pElem.setAttribute("fill-opacity",p.o.v)}function c(d,p,b){u(d,p,b),f(d,p,b)}function u(d,p,b){var C=p.gf,y=p.g._hasOpacity,R=p.s.v,m=p.e.v;if(p.o._mdf||b){var x=d.ty==="gf"?"fill-opacity":"stroke-opacity";p.style.pElem.setAttribute(x,p.o.v)}if(p.s._mdf||b){var g=d.t===1?"x1":"cx",S=g==="x1"?"y1":"cy";C.setAttribute(g,R[0]),C.setAttribute(S,R[1]),y&&!p.g._collapsable&&(p.of.setAttribute(g,R[0]),p.of.setAttribute(S,R[1]))}var E,M,L,_;if(p.g._cmdf||b){E=p.cst;var I=p.g.c;for(L=E.length,M=0;M<L;M+=1)_=E[M],_.setAttribute("offset",I[M*4]+"%"),_.setAttribute("stop-color","rgb("+I[M*4+1]+","+I[M*4+2]+","+I[M*4+3]+")")}if(y&&(p.g._omdf||b)){var $=p.g.o;for(p.g._collapsable?E=p.cst:E=p.ost,L=E.length,M=0;M<L;M+=1)_=E[M],p.g._collapsable||_.setAttribute("offset",$[M*2]+"%"),_.setAttribute("stop-opacity",$[M*2+1])}if(d.t===1)(p.e._mdf||b)&&(C.setAttribute("x2",m[0]),C.setAttribute("y2",m[1]),y&&!p.g._collapsable&&(p.of.setAttribute("x2",m[0]),p.of.setAttribute("y2",m[1])));else{var z;if((p.s._mdf||p.e._mdf||b)&&(z=Math.sqrt(Math.pow(R[0]-m[0],2)+Math.pow(R[1]-m[1],2)),C.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(R[0]-m[0],2)+Math.pow(R[1]-m[1],2)));var O=Math.atan2(m[1]-R[1],m[0]-R[0]),N=p.h.v;N>=1?N=.99:N<=-1&&(N=-.99);var K=z*N,B=Math.cos(O+p.a.v)*K+R[0],A=Math.sin(O+p.a.v)*K+R[1];C.setAttribute("fx",B),C.setAttribute("fy",A),y&&!p.g._collapsable&&(p.of.setAttribute("fx",B),p.of.setAttribute("fy",A))}}}function f(d,p,b){var C=p.style,y=p.d;y&&(y._mdf||b)&&y.dashStr&&(C.pElem.setAttribute("stroke-dasharray",y.dashStr),C.pElem.setAttribute("stroke-dashoffset",y.dashoffset[0])),p.c&&(p.c._mdf||b)&&C.pElem.setAttribute("stroke","rgb("+bmFloor(p.c.v[0])+","+bmFloor(p.c.v[1])+","+bmFloor(p.c.v[2])+")"),(p.o._mdf||b)&&C.pElem.setAttribute("stroke-opacity",p.o.v),(p.w._mdf||b)&&(C.pElem.setAttribute("stroke-width",p.w.v),C.msElem&&C.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,n,s=this.stylesList.length,a,o=[],l=!1;for(n=0;n<s;n+=1){for(a=this.stylesList[n],l=!1,o.length=0,e=0;e<t;e+=1)i=this.shapes[e],i.styles.indexOf(a)!==-1&&(o.push(i),l=i._isAnimated||l);o.length>1&&l&&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,n=new SVGStyleData(e,t),s=n.pElem;if(e.ty==="st")i=new SVGStrokeStyleData(this,e,n);else if(e.ty==="fl")i=new SVGFillStyleData(this,e,n);else if(e.ty==="gf"||e.ty==="gs"){var a=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new a(this,e,n),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else e.ty==="no"&&(i=new SVGNoStyleData(this,e,n));return(e.ty==="st"||e.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),s.setAttribute("fill-opacity","0"),e.lj===1&&s.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&s.setAttribute("fill-rule","evenodd"),e.ln&&s.setAttribute("id",e.ln),e.cl&&s.setAttribute("class",e.cl),e.bm&&(s.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),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),n=new SVGTransformData(i,i.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,i){var n=4;e.ty==="rc"?n=5:e.ty==="el"?n=6:e.ty==="sr"&&(n=7);var s=ShapePropertyFactory.getShapeProp(this,e,n,this),a=new SVGShapeData(t,i,s);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var i=0,n=this.animatedContents.length;i<n;){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,n=this.stylesList.length;for(i=0;i<n;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,n,s,a,o){var l=[].concat(a),c,u=e.length-1,f,d,p=[],b=[],C,y,R;for(c=u;c>=0;c-=1){if(R=this.searchProcessedElement(e[c]),R?t[c]=i[R-1]:e[c]._render=o,e[c].ty==="fl"||e[c].ty==="st"||e[c].ty==="gf"||e[c].ty==="gs"||e[c].ty==="no")R?t[c].style.closed=!1:t[c]=this.createStyleElement(e[c],s),e[c]._render&&t[c].style.pElem.parentNode!==n&&n.appendChild(t[c].style.pElem),p.push(t[c].style);else if(e[c].ty==="gr"){if(!R)t[c]=this.createGroupElement(e[c]);else for(d=t[c].it.length,f=0;f<d;f+=1)t[c].prevViewData[f]=t[c].it[f];this.searchShapes(e[c].it,t[c].it,t[c].prevViewData,t[c].gr,s+1,l,o),e[c]._render&&t[c].gr.parentNode!==n&&n.appendChild(t[c].gr)}else e[c].ty==="tr"?(R||(t[c]=this.createTransformElement(e[c],n)),C=t[c].transform,l.push(C)):e[c].ty==="sh"||e[c].ty==="rc"||e[c].ty==="el"||e[c].ty==="sr"?(R||(t[c]=this.createShapeElement(e[c],l,s)),this.setElementStyles(t[c])):e[c].ty==="tm"||e[c].ty==="rd"||e[c].ty==="ms"||e[c].ty==="pb"||e[c].ty==="zz"||e[c].ty==="op"?(R?(y=t[c],y.closed=!1):(y=ShapeModifiers.getModifier(e[c].ty),y.init(this,e[c]),t[c]=y,this.shapeModifiers.push(y)),b.push(y)):e[c].ty==="rp"&&(R?(y=t[c],y.closed=!0):(y=ShapeModifiers.getModifier(e[c].ty),t[c]=y,y.init(this,e,c,t),this.shapeModifiers.push(y),o=!1),b.push(y));this.addProcessedElement(e[c],c+1)}for(u=p.length,c=0;c<u;c+=1)p[c].closed=!0;for(u=b.length,c=0;c<u;c+=1)b[c].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,n,s,a){this.o=e,this.sw=t,this.sc=i,this.fc=n,this.m=s,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!i,fc:!!n,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,i,n,s,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!==n&&(this.fc=n,this._mdf.fc=!0,o=!0),this.m!==s&&(this.m=s,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 n,s=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;n<s;n+=1)i!==this.keysIndex?a=this.effectsSequence[n](a,a.t):a=this.effectsSequence[n](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,n=e.length;i<=n-1&&!(i===n-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,n=e.length,s,a,o=!1,l=!1,c="";i<n;)o=l,l=!1,s=e.charCodeAt(i),c=e.charAt(i),FontManager.isCombinedCharacter(s)?o=!0:s>=55296&&s<=56319?FontManager.isRegionalFlag(e,i)?c=e.substr(i,14):(a=e.charCodeAt(i+1),a>=56320&&a<=57343&&(FontManager.isModifier(s,a)?(c=e.substr(i,2),o=!0):FontManager.isFlagEmoji(e.substr(i,4))?c=e.substr(i,4):c=e.substr(i,2))):s>56319?(a=e.charCodeAt(i+1),FontManager.isVariationSelector(s)&&(o=!0)):FontManager.isZeroWidthJoiner(s)&&(o=!0,l=!0),o?(t[t.length-1]+=c,o=!1):t.push(c),i+=c.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,i=this.data,n=[],s,a,o,l=0,c,u=i.m.g,f=0,d=0,p=0,b=[],C=0,y=0,R,m,x=t.getFontByName(e.f),g,S=0,E=getFontProperties(x);e.fWeight=E.weight,e.fStyle=E.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var M=e.tr/1e3*e.finalSize,L;if(e.sz)for(var _=!0,I=e.sz[0],$=e.sz[1],z,O;_;){O=this.buildFinalText(e.t),z=0,C=0,a=O.length,M=e.tr/1e3*e.finalSize;var N=-1;for(s=0;s<a;s+=1)L=O[s].charCodeAt(0),o=!1,O[s]===" "?N=s:(L===13||L===3)&&(C=0,o=!0,z+=e.finalLineHeight||e.finalSize*1.2),t.chars?(g=t.getCharData(O[s],x.fStyle,x.fFamily),S=o?0:g.w*e.finalSize/100):S=t.measureText(O[s],e.f,e.finalSize),C+S>I&&O[s]!==" "?(N===-1?a+=1:s=N,z+=e.finalLineHeight||e.finalSize*1.2,O.splice(s,N===s?1:0,"\r"),N=-1,C=0):(C+=S,C+=M);z+=x.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&$<z?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=O,a=e.finalText.length,_=!1)}C=-M,S=0;var K=0,B;for(s=0;s<a;s+=1)if(o=!1,B=e.finalText[s],L=B.charCodeAt(0),L===13||L===3?(K=0,b.push(C),y=C>y?C:y,C=-2*M,c="",o=!0,p+=1):c=B,t.chars?(g=t.getCharData(B,x.fStyle,t.getFontByName(e.f).fFamily),S=o?0:g.w*e.finalSize/100):S=t.measureText(c,e.f,e.finalSize),B===" "?K+=S+M:(C+=S+M+K,K=0),n.push({l:S,an:S,add:f,n:o,anIndexes:[],val:c,line:p,animatorJustifyOffset:0}),u==2){if(f+=S,c===""||c===" "||s===a-1){for((c===""||c===" ")&&(f-=S);d<=s;)n[d].an=f,n[d].ind=l,n[d].extra=S,d+=1;l+=1,f=0}}else if(u==3){if(f+=S,c===""||s===a-1){for(c===""&&(f-=S);d<=s;)n[d].an=f,n[d].ind=l,n[d].extra=S,d+=1;f=0,l+=1}}else n[l].ind=l,n[l].extra=0,l+=1;if(e.l=n,y=C>y?C:y,b.push(C),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 A=i.a,j,P;m=A.length;var T,k,V=[];for(R=0;R<m;R+=1){for(j=A[R],j.a.sc&&(e.strokeColorAnim=!0),j.a.sw&&(e.strokeWidthAnim=!0),(j.a.fc||j.a.fh||j.a.fs||j.a.fb)&&(e.fillColorAnim=!0),k=0,T=j.s.b,s=0;s<a;s+=1)P=n[s],P.anIndexes[R]=k,(T==1&&P.val!==""||T==2&&P.val!==""&&P.val!==" "||T==3&&(P.n||P.val==" "||s==a-1)||T==4&&(P.n||s==a-1))&&(j.s.rn===1&&V.push(k),k+=1);i.a[R].s.totalChars=k;var W=-1,q;if(j.s.rn===1)for(s=0;s<a;s+=1)P=n[s],W!=P.anIndexes[R]&&(W=P.anIndexes[R],q=V.splice(Math.floor(Math.random()*V.length),1)[0]),P.anIndexes[R]=q}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=x.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 n(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()}n.prototype={getMult:function(o){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var l=0,c=0,u=1,f=1;this.ne.v>0?l=this.ne.v/100:c=-this.ne.v/100,this.xe.v>0?u=1-this.xe.v/100:f=1+this.xe.v/100;var d=BezierFactory.getBezierEasing(l,c,u,f).get,p=0,b=this.finalS,C=this.finalE,y=this.data.sh;if(y===2)C===b?p=o>=C?1:0:p=e(0,t(.5/(C-b)+(o-b)/(C-b),1)),p=d(p);else if(y===3)C===b?p=o>=C?0:1:p=1-e(0,t(.5/(C-b)+(o-b)/(C-b),1)),p=d(p);else if(y===4)C===b?p=0:(p=e(0,t(.5/(C-b)+(o-b)/(C-b),1)),p<.5?p*=2:p=1-2*(p-.5)),p=d(p);else if(y===5){if(C===b)p=0;else{var R=C-b;o=t(e(0,o+.5-b),C-b);var m=-R/2+o,x=R/2;p=Math.sqrt(1-m*m/(x*x))}p=d(p)}else y===6?(C===b?p=0:(o=t(e(0,o+.5-b),C-b),p=(1+Math.cos(Math.PI+Math.PI*2*o/(C-b)))/2),p=d(p)):(o>=i(b)&&(o-b<0?p=e(0,t(t(C,1)-(b-o),1)):p=e(0,t(C-o,1))),p=d(p));if(this.sm.v!==100){var g=this.sm.v*.01;g===0&&(g=1e-8);var S=.5-g*.5;p<S?p=0:(p=(p-S)/g,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 l=this.data.r===2?1:100/this.data.totalChars,c=this.o.v/l,u=this.s.v/l+c,f=this.e.v/l+c;if(u>f){var d=u;u=f,f=d}this.finalS=u,this.finalE=f}},extendPrototype([DynamicPropertyContainer],n);function s(a,o,l){return new n(a,o)}return{getTextSelectorProp:s}}();function TextAnimatorDataProperty(e,t,i){var n={propType:!1},s=PropertyFactory.getProp,a=t.a;this.a={r:a.r?s(e,a.r,0,degToRads,i):n,rx:a.rx?s(e,a.rx,0,degToRads,i):n,ry:a.ry?s(e,a.ry,0,degToRads,i):n,sk:a.sk?s(e,a.sk,0,degToRads,i):n,sa:a.sa?s(e,a.sa,0,degToRads,i):n,s:a.s?s(e,a.s,1,.01,i):n,a:a.a?s(e,a.a,1,0,i):n,o:a.o?s(e,a.o,0,.01,i):n,p:a.p?s(e,a.p,1,0,i):n,sw:a.sw?s(e,a.sw,0,0,i):n,sc:a.sc?s(e,a.sc,1,0,i):n,fc:a.fc?s(e,a.fc,1,0,i):n,fh:a.fh?s(e,a.fh,0,0,i):n,fs:a.fs?s(e,a.fs,0,.01,i):n,fb:a.fb?s(e,a.fb,0,.01,i):n,t:a.t?s(e,a.t,0,0,i):n},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,n=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:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(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=n(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,n=this._animatorsData,s=this._textData,a=this.mHelper,o=this._renderType,l=this.renderedLetters.length,c,u,f,d,p=e.l,b,C,y,R,m,x,g,S,E,M,L,_,I,$,z;if(this._hasMaskedPath){if(z=this._pathData.m,!this._pathData.n||this._pathData._mdf){var O=z.v;this._pathData.r.v&&(O=O.reverse()),b={tLength:0,segments:[]},d=O._length-1;var N;for(_=0,f=0;f<d;f+=1)N=bez.buildBezierData(O.v[f],O.v[f+1],[O.o[f][0]-O.v[f][0],O.o[f][1]-O.v[f][1]],[O.i[f+1][0]-O.v[f+1][0],O.i[f+1][1]-O.v[f+1][1]]),b.tLength+=N.segmentLength,b.segments.push(N),_+=N.segmentLength;f=d,z.v.c&&(N=bez.buildBezierData(O.v[f],O.v[0],[O.o[f][0]-O.v[f][0],O.o[f][1]-O.v[f][1]],[O.i[0][0]-O.v[0][0],O.i[0][1]-O.v[0][1]]),b.tLength+=N.segmentLength,b.segments.push(N),_+=N.segmentLength),this._pathData.pi=b}if(b=this._pathData.pi,C=this._pathData.f.v,g=0,x=1,R=0,m=!0,M=b.segments,C<0&&z.v.c)for(b.tLength<Math.abs(C)&&(C=-Math.abs(C)%b.tLength),g=M.length-1,E=M[g].points,x=E.length-1;C<0;)C+=E[x].partialLength,x-=1,x<0&&(g-=1,E=M[g].points,x=E.length-1);E=M[g].points,S=E[x-1],y=E[x],L=y.partialLength}d=p.length,c=0,u=0;var K=e.finalSize*1.2*.714,B=!0,A,j,P,T,k;T=n.length;var V,W=-1,q,Y,ee,re=C,ce=g,he=x,me=-1,pe,se,fe,ie,X,Ee,Le,be,Ce="",Pe=this.defaultPropsArray,ve;if(e.j===2||e.j===1){var ye=0,xe=0,we=e.j===2?-.5:-1,Se=0,Te=!0;for(f=0;f<d;f+=1)if(p[f].n){for(ye&&(ye+=xe);Se<f;)p[Se].animatorJustifyOffset=ye,Se+=1;ye=0,Te=!0}else{for(P=0;P<T;P+=1)A=n[P].a,A.t.propType&&(Te&&e.j===2&&(xe+=A.t.v*we),j=n[P].s,V=j.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),V.length?ye+=A.t.v*V[0]*we:ye+=A.t.v*V*we);Te=!1}for(ye&&(ye+=xe);Se<f;)p[Se].animatorJustifyOffset=ye,Se+=1}for(f=0;f<d;f+=1){if(a.reset(),pe=1,p[f].n)c=0,u+=e.yOffset,u+=B?1:0,C=re,B=!1,this._hasMaskedPath&&(g=ce,x=he,E=M[g].points,S=E[x-1],y=E[x],L=y.partialLength,R=0),Ce="",be="",Ee="",ve="",Pe=this.defaultPropsArray;else{if(this._hasMaskedPath){if(me!==p[f].line){switch(e.j){case 1:C+=_-e.lineWidths[p[f].line];break;case 2:C+=(_-e.lineWidths[p[f].line])/2;break}me=p[f].line}W!==p[f].ind&&(p[W]&&(C+=p[W].extra),C+=p[f].an/2,W=p[f].ind),C+=i[0]*p[f].an*.005;var Re=0;for(P=0;P<T;P+=1)A=n[P].a,A.p.propType&&(j=n[P].s,V=j.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),V.length?Re+=A.p.v[0]*V[0]:Re+=A.p.v[0]*V),A.a.propType&&(j=n[P].s,V=j.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),V.length?Re+=A.a.v[0]*V[0]:Re+=A.a.v[0]*V);for(m=!0,this._pathData.a.v&&(C=p[0].an*.5+(_-this._pathData.f.v-p[0].an*.5-p[p.length-1].an*.5)*W/(d-1),C+=this._pathData.f.v);m;)R+L>=C+Re||!E?(I=(C+Re-R)/y.partialLength,Y=S.point[0]+(y.point[0]-S.point[0])*I,ee=S.point[1]+(y.point[1]-S.point[1])*I,a.translate(-i[0]*p[f].an*.005,-(i[1]*K)*.01),m=!1):E&&(R+=y.partialLength,x+=1,x>=E.length&&(x=0,g+=1,M[g]?E=M[g].points:z.v.c?(x=0,g=0,E=M[g].points):(R-=y.partialLength,E=null)),E&&(S=y,y=E[x],L=y.partialLength));q=p[f].an/2-p[f].add,a.translate(-q,0,0)}else q=p[f].an/2-p[f].add,a.translate(-q,0,0),a.translate(-i[0]*p[f].an*.005,-i[1]*K*.01,0);for(P=0;P<T;P+=1)A=n[P].a,A.t.propType&&(j=n[P].s,V=j.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),(c!==0||e.j!==0)&&(this._hasMaskedPath?V.length?C+=A.t.v*V[0]:C+=A.t.v*V:V.length?c+=A.t.v*V[0]:c+=A.t.v*V));for(e.strokeWidthAnim&&(fe=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&&(ie=[e.fc[0],e.fc[1],e.fc[2]]),P=0;P<T;P+=1)A=n[P].a,A.a.propType&&(j=n[P].s,V=j.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),V.length?a.translate(-A.a.v[0]*V[0],-A.a.v[1]*V[1],A.a.v[2]*V[2]):a.translate(-A.a.v[0]*V,-A.a.v[1]*V,A.a.v[2]*V));for(P=0;P<T;P+=1)A=n[P].a,A.s.propType&&(j=n[P].s,V=j.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),V.length?a.scale(1+(A.s.v[0]-1)*V[0],1+(A.s.v[1]-1)*V[1],1):a.scale(1+(A.s.v[0]-1)*V,1+(A.s.v[1]-1)*V,1));for(P=0;P<T;P+=1){if(A=n[P].a,j=n[P].s,V=j.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),A.sk.propType&&(V.length?a.skewFromAxis(-A.sk.v*V[0],A.sa.v*V[1]):a.skewFromAxis(-A.sk.v*V,A.sa.v*V)),A.r.propType&&(V.length?a.rotateZ(-A.r.v*V[2]):a.rotateZ(-A.r.v*V)),A.ry.propType&&(V.length?a.rotateY(A.ry.v*V[1]):a.rotateY(A.ry.v*V)),A.rx.propType&&(V.length?a.rotateX(A.rx.v*V[0]):a.rotateX(A.rx.v*V)),A.o.propType&&(V.length?pe+=(A.o.v*V[0]-pe)*V[0]:pe+=(A.o.v*V-pe)*V),e.strokeWidthAnim&&A.sw.propType&&(V.length?fe+=A.sw.v*V[0]:fe+=A.sw.v*V),e.strokeColorAnim&&A.sc.propType)for(X=0;X<3;X+=1)V.length?se[X]+=(A.sc.v[X]-se[X])*V[0]:se[X]+=(A.sc.v[X]-se[X])*V;if(e.fillColorAnim&&e.fc){if(A.fc.propType)for(X=0;X<3;X+=1)V.length?ie[X]+=(A.fc.v[X]-ie[X])*V[0]:ie[X]+=(A.fc.v[X]-ie[X])*V;A.fh.propType&&(V.length?ie=addHueToRGB(ie,A.fh.v*V[0]):ie=addHueToRGB(ie,A.fh.v*V)),A.fs.propType&&(V.length?ie=addSaturationToRGB(ie,A.fs.v*V[0]):ie=addSaturationToRGB(ie,A.fs.v*V)),A.fb.propType&&(V.length?ie=addBrightnessToRGB(ie,A.fb.v*V[0]):ie=addBrightnessToRGB(ie,A.fb.v*V))}}for(P=0;P<T;P+=1)A=n[P].a,A.p.propType&&(j=n[P].s,V=j.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),this._hasMaskedPath?V.length?a.translate(0,A.p.v[1]*V[0],-A.p.v[2]*V[1]):a.translate(0,A.p.v[1]*V,-A.p.v[2]*V):V.length?a.translate(A.p.v[0]*V[0],A.p.v[1]*V[1],-A.p.v[2]*V[2]):a.translate(A.p.v[0]*V,A.p.v[1]*V,-A.p.v[2]*V));if(e.strokeWidthAnim&&(Ee=fe<0?0:fe),e.strokeColorAnim&&(Le="rgb("+Math.round(se[0]*255)+","+Math.round(se[1]*255)+","+Math.round(se[2]*255)+")"),e.fillColorAnim&&e.fc&&(be="rgb("+Math.round(ie[0]*255)+","+Math.round(ie[1]*255)+","+Math.round(ie[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-e.ls),a.translate(0,i[1]*K*.01+u,0),this._pathData.p.v){$=(y.point[1]-S.point[1])/(y.point[0]-S.point[0]);var Me=Math.atan($)*180/Math.PI;y.point[0]<S.point[0]&&(Me+=180),a.rotate(-Me*Math.PI/180)}a.translate(Y,ee,0),C-=i[0]*p[f].an*.005,p[f+1]&&W!==p[f+1].ind&&(C+=p[f].an/2,C+=e.tr*.001*e.finalSize)}else{switch(a.translate(c,u,0),e.ps&&a.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:a.translate(p[f].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[p[f].line]),0,0);break;case 2:a.translate(p[f].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[p[f].line])/2,0,0);break}a.translate(0,-e.ls),a.translate(q,0,0),a.translate(i[0]*p[f].an*.005,i[1]*K*.01,0),c+=p[f].l+e.tr*.001*e.finalSize}o==="html"?Ce=a.toCSS():o==="svg"?Ce=a.to2dCSS():Pe=[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]],ve=pe}l<=f?(k=new LetterProps(ve,Ee,Le,be,Ce,Pe),this.renderedLetters.push(k),l+=1,this.lettersChangedFlag=!0):(k=this.renderedLetters[f],this.lettersChangedFlag=k.update(ve,Ee,Le,be,Ce,Pe)||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,n=t.length,s,a="";for(i=0;i<n;i+=1)t[i].ty==="sh"&&(s=t[i].ks.k,a+=buildShapeString(s,s.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,n,s){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(n,s,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,n=[],s="";t<i;)e[t]==="\r"||e[t]===""?(n.push(s),s=""):s+=e[t],t+=1;return n.push(s),n},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var i=e.shapes[0];if(i.it){var n=i.it[i.it.length-1];n.s&&(n.s.k[0]=t,n.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 n=this.globalData.fontManager.getFontByName(i.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var s=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",i.t);var o=i.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var c,u=this.mHelper,f="",d=this.data.singleShape,p=0,b=0,C=!0,y=i.tr*.001*i.finalSize;if(d&&!l&&!i.sz){var R=this.textContainer,m="start";switch(i.j){case 1:m="end";break;case 2:m="middle";break;default:m="start";break}R.setAttribute("text-anchor",m),R.setAttribute("letter-spacing",y);var x=this.buildTextContents(i.finalText);for(t=x.length,b=i.ps?i.ps[1]+i.ascent:0,e=0;e<t;e+=1)c=this.textSpans[e].span||createNS("tspan"),c.textContent=x[e],c.setAttribute("x",0),c.setAttribute("y",b),c.style.display="inherit",R.appendChild(c),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=c,b+=i.finalLineHeight;this.layerElement.appendChild(R)}else{var g=this.textSpans.length,S;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!d||e===0){if(c=g>e?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(c.setAttribute("stroke-linecap","butt"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=c,l){var E=createNS("g");c.appendChild(E),this.textSpans[e].childSpan=E}this.textSpans[e].span=c,this.layerElement.appendChild(c)}c.style.display="inherit"}if(u.reset(),d&&(o[e].n&&(p=-y,b+=i.yOffset,b+=C?1:0,C=!1),this.applyTextPropertiesToMatrix(i,u,o[e].line,p,b),p+=o[e].l||0,p+=y),l){S=this.globalData.fontManager.getCharData(i.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var M;if(S.t===1)M=new SVGCompElement(S.data,this.globalData,this);else{var L=emptyShapeData;S.data&&S.data.shapes&&(L=this.buildShapeData(S.data,i.finalSize)),M=new SVGShapeElement(L,this.globalData,this)}if(this.textSpans[e].glyph){var _=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(_.layerElement),_.destroy()}this.textSpans[e].glyph=M,M._debug=!0,M.prepareFrame(0),M.renderFrame(),this.textSpans[e].childSpan.appendChild(M.layerElement),S.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else d&&c.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),c.textContent=o[e].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}d&&c&&c.setAttribute("d",f)}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,n=this.textProperty.currentData.l;t=n.length;var s,a,o;for(e=0;e<t;e+=1)n[e].n||(s=i[e],a=this.textSpans[e].span,o=this.textSpans[e].glyph,o&&o.renderFrame(),s._mdf.m&&a.setAttribute("transform",s.m),s._mdf.o&&a.setAttribute("opacity",s.o),s._mdf.sw&&a.setAttribute("stroke-width",s.sw),s._mdf.sc&&a.setAttribute("stroke",s.sc),s._mdf.fc&&a.setAttribute("fill",s.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"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var s=createElementID();i.setAttribute("id",s),i.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),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 n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(n===-1)return;if(!this.elements[n]||this.elements[n]===!0)this.buildItem(n),this.addPendingElement(i);else{var s=t[n],a=s.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 n="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,s=this.elements[n],a=s.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 n=0,s;n<t;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement()&&(s=this.elements[n].getBaseElement()),n+=1;s?this.layerElement.insertBefore(i,s):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,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=n-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 n=createNS("title"),s=createElementID();n.setAttribute("id",s),n.textContent=t.title,this.svgElement.appendChild(n),i+=s}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 l=createNS("defs");this.svgElement.appendChild(l);var c=createNS("g");this.svgElement.appendChild(c),this.layerElement=c,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:l,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,n=t.length,s="_";for(i=0;i<n;i+=1)s+=t[i].transform.key+"_";var a=this.sequences[s];return a||(a={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[s]=a,this.sequenceList.push(a)),a},processSequence:function(t,i){for(var n=0,s=t.transforms.length,a=i;n<s&&!i;){if(t.transforms[n].transform.mProps._mdf){a=!0;break}n+=1}if(a)for(t.finalTransform.reset(),n=s-1;n>=0;n-=1)t.finalTransform.multiply(t.transforms[n].transform.mProps.v);t._mdf=a},processSequences:function(t){var i,n=this.sequenceList.length;for(i=0;i<n;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,n=null,s=null;function a(){var c=createNS("svg"),u=createNS("filter"),f=createNS("feColorMatrix");return u.setAttribute("id",t),f.setAttribute("type","matrix"),f.setAttribute("color-interpolation-filters","sRGB"),f.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"),u.appendChild(f),c.appendChild(u),c.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(c.style.display="none"),c}function o(){i||(s=a(),document.body.appendChild(s),i=createTag("canvas"),n=i.getContext("2d"),n.filter="url(#"+t+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}function l(c){return i||o(),i.width=c.width,i.height=c.height,n.filter="url(#"+t+")",i}return{load:o,get:l}};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 n;for(t=0;t<i;t+=1){n=null;var s=e.data.ef[t].ty;if(registeredEffects[s]){var a=registeredEffects[s].effect;n=new a(e.effectsManager.effectElements[t],e)}n&&this.filters.push(n)}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,n=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n};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,n=this.masksProperties.length,s=!1;for(i=0;i<n;i+=1)this.masksProperties[i].mode!=="n"&&(s=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,i,n=this.masksProperties.length,s,a,o;for(t.beginPath(),i=0;i<n;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,s=e.applyToPointArray(o.v[0][0],o.v[0][1],0),t.moveTo(s[0],s[1]);var l,c=o._length;for(l=1;l<c;l+=1)a=e.applyToTriplePoints(o.o[l-1],o.i[l],o.v[l]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=e.applyToTriplePoints(o.o[l-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 n=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(n),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 n=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(n.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var s=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=s.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(s,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,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;t.ty==="rc"?s=5:t.ty==="el"?s=6:t.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,s,e);var a,o=i.length,l;for(a=0;a<o;a+=1)i[a].closed||(l={transforms:n.addTransformSequence(i[a].transforms),trNodes:[]},this.styledShapes.push(l),i[a].elements.push(l))}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},n={};if(e.ty==="fl"||e.ty==="st"?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(i.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.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),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(i.wi=n.w.v),e.d){var s=new DashProperty(this,e.d,"canvas",this);n.d=s,n.d.k||(i.da=n.d.dashArray,i.do=n.d.dashoffset[0])}}else i.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(i),n.style=i,n},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,n,s){var a,o=e.length-1,l,c,u=[],f=[],d,p,b,C=[].concat(s);for(a=o;a>=0;a-=1){if(d=this.searchProcessedElement(e[a]),d?t[a]=i[d-1]:e[a]._shouldRender=n,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")d?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],C),u.push(t[a].style);else if(e[a].ty==="gr"){if(!d)t[a]=this.createGroupElement(e[a]);else for(c=t[a].it.length,l=0;l<c;l+=1)t[a].prevViewData[l]=t[a].it[l];this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,n,C)}else e[a].ty==="tr"?(d||(b=this.createTransformElement(e[a]),t[a]=b),C.push(t[a]),this.addTransformToStyleList(t[a])):e[a].ty==="sh"||e[a].ty==="rc"||e[a].ty==="el"||e[a].ty==="sr"?d||(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"?(d?(p=t[a],p.closed=!1):(p=ShapeModifiers.getModifier(e[a].ty),p.init(this,e[a]),t[a]=p,this.shapeModifiers.push(p)),f.push(p)):e[a].ty==="rp"&&(d?(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),n=!1),f.push(p));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(u),o=f.length,a=0;a<o;a+=1)f[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,n,s,a,o,l,c=this.globalData.renderer,u=this.globalData.canvasContext,f,d;for(e=0;e<t;e+=1)if(d=this.stylesList[e],f=d.type,!((f==="st"||f==="gs")&&d.wi===0||!d.data._shouldRender||d.coOp===0||this.globalData.currentGlobalAlpha===0)){for(c.save(),o=d.elements,f==="st"||f==="gs"?(c.ctxStrokeStyle(f==="st"?d.co:d.grd),c.ctxLineWidth(d.wi),c.ctxLineCap(d.lc),c.ctxLineJoin(d.lj),c.ctxMiterLimit(d.ml||0)):c.ctxFillStyle(f==="fl"?d.co:d.grd),c.ctxOpacity(d.coOp),f!=="st"&&f!=="gs"&&u.beginPath(),c.ctxTransform(d.preTransforms.finalTransform.props),n=o.length,i=0;i<n;i+=1){for((f==="st"||f==="gs")&&(u.beginPath(),d.da&&(u.setLineDash(d.da),u.lineDashOffset=d.do)),l=o[i].trNodes,a=l.length,s=0;s<a;s+=1)l[s].t==="m"?u.moveTo(l[s].p[0],l[s].p[1]):l[s].t==="c"?u.bezierCurveTo(l[s].pts[0],l[s].pts[1],l[s].pts[2],l[s].pts[3],l[s].pts[4],l[s].pts[5]):u.closePath();(f==="st"||f==="gs")&&(c.ctxStroke(),d.da&&u.setLineDash(this.dashResetter))}f!=="st"&&f!=="gs"&&this.globalData.renderer.ctxFill(d.r),c.restore()}},CVShapeElement.prototype.renderShape=function(e,t,i,n){var s,a=t.length-1,o;for(o=e,s=a;s>=0;s-=1)t[s].ty==="tr"?(o=i[s].transform,this.renderShapeTransform(e,o)):t[s].ty==="sh"||t[s].ty==="el"||t[s].ty==="rc"||t[s].ty==="sr"?this.renderPath(t[s],i[s]):t[s].ty==="fl"?this.renderFill(t[s],i[s],o):t[s].ty==="st"?this.renderStroke(t[s],i[s],o):t[s].ty==="gf"||t[s].ty==="gs"?this.renderGradientFill(t[s],i[s],o):t[s].ty==="gr"?this.renderShape(o,t[s].it,i[s].it):t[s].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var i=e.trNodes,n=t.paths,s,a,o,l=n._length;i.length=0;var c=e.transforms.finalTransform;for(o=0;o<l;o+=1){var u=n.shapes[o];if(u&&u.v){for(a=u._length,s=1;s<a;s+=1)s===1&&i.push({t:"m",p:c.applyToPointArray(u.v[0][0],u.v[0][1],0)}),i.push({t:"c",pts:c.applyToTriplePoints(u.o[s-1],u.i[s],u.v[s])});a===1&&i.push({t:"m",p:c.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&a&&(i.push({t:"c",pts:c.applyToTriplePoints(u.o[s-1],u.i[0],u.v[0])}),i.push({t:"z"}))}}e.trNodes=i}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var i,n=t.styledShapes.length;for(i=0;i<n;i+=1)this.renderStyledShape(t.styledShapes[i],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,i){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,i){var n=t.style,s;if(!n.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,l=t.e.v;if(e.t===1)s=a.createLinearGradient(o[0],o[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),u=Math.atan2(l[1]-o[1],l[0]-o[0]),f=t.h.v;f>=1?f=.99:f<=-1&&(f=-.99);var d=c*f,p=Math.cos(u+t.a.v)*d+o[0],b=Math.sin(u+t.a.v)*d+o[1];s=a.createRadialGradient(p,b,0,o[0],o[1],c)}var C,y=e.g.p,R=t.g.c,m=1;for(C=0;C<y;C+=1)t.g._hasOpacity&&t.g._collapsable&&(m=t.g.o[C*2+1]),s.addColorStop(R[C*4]/100,"rgba("+R[C*4+1]+","+R[C*4+2]+","+R[C*4+3]+","+m+")");n.grd=s}n.coOp=t.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(e,t,i){var n=t.style,s=t.d;s&&(s._mdf||this._isFirstFrame)&&(n.da=s.dashArray,n.do=s.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*i.opacity),(t.w._mdf||this._isFirstFrame)&&(n.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 n=this.globalData.fontManager.getFontByName(e.f),s,a,o=e.l,l=this.mHelper;this.stroke=i,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var c,u,f,d,p,b,C,y,R,m,x=this.data.singleShape,g=e.tr*.001*e.finalSize,S=0,E=0,M=!0,L=0;for(s=0;s<a;s+=1){c=this.globalData.fontManager.getCharData(e.finalText[s],n.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),u=c&&c.data||{},l.reset(),x&&o[s].n&&(S=-g,E+=e.yOffset,E+=M?1:0,M=!1),p=u.shapes?u.shapes[0].it:[],C=p.length,l.scale(e.finalSize/100,e.finalSize/100),x&&this.applyTextPropertiesToMatrix(e,l,o[s].line,S,E),R=createSizedArray(C-1);var _=0;for(b=0;b<C;b+=1)if(p[b].ty==="sh"){for(d=p[b].ks.k.i.length,y=p[b].ks.k,m=[],f=1;f<d;f+=1)f===1&&m.push(l.applyToX(y.v[0][0],y.v[0][1],0),l.applyToY(y.v[0][0],y.v[0][1],0)),m.push(l.applyToX(y.o[f-1][0],y.o[f-1][1],0),l.applyToY(y.o[f-1][0],y.o[f-1][1],0),l.applyToX(y.i[f][0],y.i[f][1],0),l.applyToY(y.i[f][0],y.i[f][1],0),l.applyToX(y.v[f][0],y.v[f][1],0),l.applyToY(y.v[f][0],y.v[f][1],0));m.push(l.applyToX(y.o[f-1][0],y.o[f-1][1],0),l.applyToY(y.o[f-1][0],y.o[f-1][1],0),l.applyToX(y.i[0][0],y.i[0][1],0),l.applyToY(y.i[0][0],y.i[0][1],0),l.applyToX(y.v[0][0],y.v[0][1],0),l.applyToY(y.v[0][0],y.v[0][1],0)),R[_]=m,_+=1}x&&(S+=o[s].l,S+=g),this.textSpans[L]?this.textSpans[L].elem=R:this.textSpans[L]={elem:R},L+=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,n,s,a,o,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;i=c.length;var u,f=null,d=null,p=null,b,C,y=this.globalData.renderer;for(t=0;t<i;t+=1)if(!c[t].n){if(u=l[t],u&&(y.save(),y.ctxTransform(u.p),y.ctxOpacity(u.o)),this.fill){for(u&&u.fc?f!==u.fc&&(y.ctxFillStyle(u.fc),f=u.fc):f!==this.values.fill&&(f=this.values.fill,y.ctxFillStyle(this.values.fill)),b=this.textSpans[t].elem,s=b.length,this.globalData.canvasContext.beginPath(),n=0;n<s;n+=1)for(C=b[n],o=C.length,this.globalData.canvasContext.moveTo(C[0],C[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(C[a],C[a+1],C[a+2],C[a+3],C[a+4],C[a+5]);this.globalData.canvasContext.closePath(),y.ctxFill()}if(this.stroke){for(u&&u.sw?p!==u.sw&&(p=u.sw,y.ctxLineWidth(u.sw)):p!==this.values.sWidth&&(p=this.values.sWidth,y.ctxLineWidth(this.values.sWidth)),u&&u.sc?d!==u.sc&&(d=u.sc,y.ctxStrokeStyle(u.sc)):d!==this.values.stroke&&(d=this.values.stroke,y.ctxStrokeStyle(this.values.stroke)),b=this.textSpans[t].elem,s=b.length,this.globalData.canvasContext.beginPath(),n=0;n<s;n+=1)for(C=b[n],o=C.length,this.globalData.canvasContext.moveTo(C[0],C[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(C[a],C[a+1],C[a+2],C[a+3],C[a+4],C[a+5]);this.globalData.canvasContext.closePath(),y.ctxStroke()}u&&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,n=this.img.height,s=i/n,a=this.assetData.w/this.assetData.h,o,l,c=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>a&&c==="xMidYMid slice"||s<a&&c!=="xMidYMid slice"?(l=n,o=l*a):(o=i,l=o/a),t.drawImage(this.img,(i-o)/2,(n-l)/2,o,l,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,n){this.canvasContext.fillRect(e,t,i,n)},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,n;e?(i=e,n=t,this.canvasContext.canvas.width=i,this.canvasContext.canvas.height=n):(this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,n=this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=n*this.renderConfig.dpr);var s,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),l=o[1]||"meet",c=o[0]||"xMidYMid",u=c.substr(0,4),f=c.substr(4);s=i/n,a=this.transformCanvas.w/this.transformCanvas.h,a>s&&l==="meet"||a<s&&l==="slice"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr)),u==="xMid"&&(a<s&&l==="meet"||a>s&&l==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:u==="xMax"&&(a<s&&l==="meet"||a>s&&l==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,f==="YMid"&&(a>s&&l==="meet"||a<s&&l==="slice")?this.transformCanvas.ty=(n-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:f==="YMax"&&(a>s&&l==="meet"||a<s&&l==="slice")?this.transformCanvas.ty=(n-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=n/(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,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=n-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=n-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,n,s=this.cTr.props;for(n=0;n<16;n+=1)s[n]=i[n];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],n;for(n=0;n<16;n+=1)i.transform[n]=t[n];this.cArrPos+=1;var s=this.stack[this.cArrPos];s.opacity=i.opacity,s.fillStyle=i.fillStyle,s.strokeStyle=i.strokeStyle,s.lineWidth=i.lineWidth,s.lineCap=i.lineCap,s.lineJoin=i.lineJoin,s.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,n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,i,n)},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,n=e.length;for(i=0;i<n;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,n=e.transformers,s,a=i._length,o,l,c,u;if(!(a<=1)){for(s=0;s<a-1;s+=1)o=this.getTransformedPoint(n,i.v[s]),l=this.getTransformedPoint(n,i.o[s]),c=this.getTransformedPoint(n,i.i[s+1]),u=this.getTransformedPoint(n,i.v[s+1]),this.checkBounds(o,l,c,u,t);i.c&&(o=this.getTransformedPoint(n,i.v[s]),l=this.getTransformedPoint(n,i.o[s]),c=this.getTransformedPoint(n,i.i[0]),u=this.getTransformedPoint(n,i.v[0]),this.checkBounds(o,l,c,u,t))}},HShapeElement.prototype.checkBounds=function(e,t,i,n,s){this.getBoundsOfCurve(e,t,i,n);var a=this.shapeBoundingBox;s.x=bmMin(a.left,s.x),s.xMax=bmMax(a.right,s.xMax),s.y=bmMin(a.top,s.y),s.yMax=bmMax(a.bottom,s.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,n){for(var s=[[e[0],n[0]],[e[1],n[1]]],a,o,l,c,u,f,d,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*n[p],l=3*t[p]-3*e[p],o|=0,a|=0,l|=0,a===0&&o===0||(a===0?(c=-l/o,c>0&&c<1&&s[p].push(this.calculateF(c,e,t,i,n,p))):(u=o*o-4*l*a,u>=0&&(f=(-o+bmSqrt(u))/(2*a),f>0&&f<1&&s[p].push(this.calculateF(f,e,t,i,n,p)),d=(-o-bmSqrt(u))/(2*a),d>0&&d<1&&s[p].push(this.calculateF(d,e,t,i,n,p)))));this.shapeBoundingBox.left=bmMin.apply(null,s[0]),this.shapeBoundingBox.top=bmMin.apply(null,s[1]),this.shapeBoundingBox.right=bmMax.apply(null,s[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,s[1])},HShapeElement.prototype.calculateF=function(e,t,i,n,s,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*i[a]+3*(1-e)*bmPow(e,2)*n[a]+bmPow(e,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var i,n=e.length;for(i=0;i<n;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 n=0;n<e.keyframes.length;n+=1){var s=e.keyframes[n].s;s>i&&(i=s)}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 n=this.shapeCont.style,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=s,n.webkitTransform=s}}};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 n=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",n.fClass)this.innerElem.className=n.fClass;else{t.fontFamily=n.fFamily;var s=e.fWeight,a=e.fStyle;t.fontStyle=a,t.fontWeight=s}var o,l,c=e.l;l=c.length;var u,f,d,p=this.mHelper,b,C="",y=0;for(o=0;o<l;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[y]?u=this.textPaths[y]:(u=createNS("path"),u.setAttribute("stroke-linecap",lineCapEnum[1]),u.setAttribute("stroke-linejoin",lineJoinEnum[2]),u.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[y]?(f=this.textSpans[y],d=f.children[0]):(f=createTag("div"),f.style.lineHeight=0,d=createNS("svg"),d.appendChild(u),styleDiv(f)))):this.isMasked?u=this.textPaths[y]?this.textPaths[y]:createNS("text"):this.textSpans[y]?(f=this.textSpans[y],u=this.textPaths[y]):(f=createTag("span"),styleDiv(f),u=createTag("span"),styleDiv(u),f.appendChild(u)),this.globalData.fontManager.chars){var R=this.globalData.fontManager.getCharData(e.finalText[o],n.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),m;if(R?m=R.data:m=null,p.reset(),m&&m.shapes&&m.shapes.length&&(b=m.shapes[0].it,p.scale(e.finalSize/100,e.finalSize/100),C=this.createPathShape(p,b),u.setAttribute("d",C)),this.isMasked)this.innerElem.appendChild(u);else{if(this.innerElem.appendChild(f),m&&m.shapes){document.body.appendChild(d);var x=d.getBBox();d.setAttribute("width",x.width+2),d.setAttribute("height",x.height+2),d.setAttribute("viewBox",x.x-1+" "+(x.y-1)+" "+(x.width+2)+" "+(x.height+2));var g=d.style,S="translate("+(x.x-1)+"px,"+(x.y-1)+"px)";g.transform=S,g.webkitTransform=S,c[o].yOffset=x.y-1}else d.setAttribute("width",1),d.setAttribute("height",1);f.appendChild(d)}}else if(u.textContent=c[o].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(u);else{this.innerElem.appendChild(f);var E=u.style,M="translate3d(0,"+-e.finalSize/1.2+"px,0)";E.transform=M,E.webkitTransform=M}this.isMasked?this.textSpans[y]=u:this.textSpans[y]=f,this.textSpans[y].style.display="block",this.textPaths[y]=u,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,n,s=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;n=o.length;var l,c,u;for(i=0;i<n;i+=1)o[i].n?s+=1:(c=this.textSpans[i],u=this.textPaths[i],l=a[s],s+=1,l._mdf.m&&(this.isMasked?c.setAttribute("transform",l.m):(c.style.webkitTransform=l.m,c.style.transform=l.m)),c.style.opacity=l.o,l.sw&&l._mdf.sw&&u.setAttribute("stroke-width",l.sw),l.sc&&l._mdf.sc&&u.setAttribute("stroke",l.sc),l.fc&&l._mdf.fc&&(u.setAttribute("fill",l.fc),u.style.color=l.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var f=this.innerElem.getBBox();this.currentBBox.w!==f.width&&(this.currentBBox.w=f.width,this.svgElement.setAttribute("width",f.width)),this.currentBBox.h!==f.height&&(this.currentBBox.h=f.height,this.svgElement.setAttribute("height",f.height));var d=1;if(this.currentBBox.w!==f.width+d*2||this.currentBBox.h!==f.height+d*2||this.currentBBox.x!==f.x-d||this.currentBBox.y!==f.y-d){this.currentBBox.w=f.width+d*2,this.currentBBox.h=f.height+d*2,this.currentBBox.x=f.x-d,this.currentBBox.y=f.y-d,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 n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var s,a=e.ks.or.k.length;for(s=0;s<a;s+=1)e.ks.or.k[s].to=null,e.ks.or.k[s].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(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,n,s;for(e=0;e<t;e+=1)if(i=this.comp.threeDElements[e],i.type==="3d"){n=i.perspectiveElem.style,s=i.container.style;var a=this.pe.v+"px",o="0px 0px 0px",l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=a,n.webkitPerspective=a,s.transformOrigin=o,s.mozTransformOrigin=o,s.webkitTransformOrigin=o,n.transform=l,n.webkitTransform=l}},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 n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.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 s;this.p?s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:s=[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(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),o=[s[0]/a,s[1]/a,s[2]/a],l=Math.sqrt(o[2]*o[2]+o[0]*o[0]),c=Math.atan2(o[1],l),u=Math.atan2(o[0],-o[2]);this.mat.rotateY(u).rotateX(-c)}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 f=!this._prevMat.equals(this.mat);if((f||this.pe._mdf)&&this.comp.threeDElements){i=this.comp.threeDElements.length;var d,p,b;for(t=0;t<i;t+=1)if(d=this.comp.threeDElements[t],d.type==="3d"){if(f){var C=this.mat.toCSS();b=d.container.style,b.transform=C,b.webkitTransform=C}this.pe._mdf&&(p=d.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 n=this.layers[t];if(!n.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(i,t);else{for(var s=0,a,o,l;s<t;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement&&(o=this.elements[s],l=this.layers[s].ddd?this.getThreeDContainerByPos(s):o.getBaseElement(),a=l||a),s+=1;a?(!n.ddd||!this.supports3d)&&this.layerElement.insertBefore(i,a):(!n.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"),n,s;styleDiv(i);var a=createTag("div");if(styleDiv(a),t==="3d"){n=i.style,n.width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var o="50% 50%";n.webkitTransformOrigin=o,n.mozTransformOrigin=o,n.transformOrigin=o,s=a.style;var l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=l,s.webkitTransform=l}i.appendChild(a);var c={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(c),c},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,i,n="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(n!=="3d"&&(n="3d",i=this.createThreeDContainer(e,"3d")),i.endPos=Math.max(i.endPos,e)):(n!=="2d"&&(n="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,n=this.threeDElements.length;i<n;){if(t<=this.threeDElements[i].endPos){for(var s=this.threeDElements[i].startPos,a;s<t;)this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s].getBaseElement()),s+=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,n=t.style;n.width=e.w+"px",n.height=e.h+"px",this.resizerElem=t,styleDiv(t),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),i.appendChild(t),n.overflow="hidden";var s=createNS("svg");s.setAttribute("width","1"),s.setAttribute("height","1"),styleDiv(s),this.resizerElem.appendChild(s);var a=createNS("defs");s.appendChild(a),this.data=e,this.setupGlobalData(e,s),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,n=this.globalData.compSize.w/this.globalData.compSize.h,s,a,o,l;n>i?(s=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,o=0,l=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(s=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,o=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,l=0);var c=this.resizerElem.style;c.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+o+","+l+",0,1)",c.transform=c.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,n=this.threeDElements.length;for(i=0;i<n;i+=1){var s=this.threeDElements[i].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",s.perspective=s.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,i=e.length,n=createTag("div");for(t=0;t<i;t+=1)if(e[t].xt){var s=this.createComp(e[t],n,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}};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,n;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(e,n):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 n=0,s=e.layers.length;n<s;){if(e.layers[n].nm===i||e.layers[n].ind===i)return e.elements[n].layerInterface;n+=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,n=256,s=6,a=52,o="random",l=t.pow(n,s),c=t.pow(2,a),u=c*2,f=n-1,d;function p(g,S,E){var M=[];S=S===!0?{entropy:!0}:S||{};var L=R(y(S.entropy?[g,x(e)]:g===null?m():g,3),M),_=new b(M),I=function(){for(var z=_.g(s),O=l,N=0;z<c;)z=(z+N)*n,O*=n,N=_.g(1);for(;z>=u;)z/=2,O/=2,N>>>=1;return(z+N)/O};return I.int32=function(){return _.g(4)|0},I.quick=function(){return _.g(4)/4294967296},I.double=I,R(x(_.S),e),(S.pass||E||function($,z,O,N){return N&&(N.S&&C(N,_),$.state=function(){return C(_,{})}),O?(t[o]=$,z):$})(I,L,"global"in S?S.global:this==t,S.state)}t["seed"+o]=p;function b(g){var S,E=g.length,M=this,L=0,_=M.i=M.j=0,I=M.S=[];for(E||(g=[E++]);L<n;)I[L]=L++;for(L=0;L<n;L++)I[L]=I[_=f&_+g[L%E]+(S=I[L])],I[_]=S;M.g=function($){for(var z,O=0,N=M.i,K=M.j,B=M.S;$--;)z=B[N=f&N+1],O=O*n+B[f&(B[N]=B[K=f&K+z])+(B[K]=z)];return M.i=N,M.j=K,O}}function C(g,S){return S.i=g.i,S.j=g.j,S.S=g.S.slice(),S}function y(g,S){var E=[],M=_typeof$2(g),L;if(S&&M=="object")for(L in g)try{E.push(y(g[L],S-1))}catch{}return E.length?E:M=="string"?g:g+"\0"}function R(g,S){for(var E=g+"",M,L=0;L<E.length;)S[f&L]=f&(M^=S[f&L]*19)+E.charCodeAt(L++);return x(S)}function m(){try{var g=new Uint8Array(n);return(i.crypto||i.msCrypto).getRandomValues(g),x(g)}catch{var S=i.navigator,E=S&&S.plugins;return[+new Date,i,E,i.screen,x(e)]}}function x(g){return String.fromCharCode.apply(0,g)}R(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,n=e.length,s=[];for(i=0;i<n;i+=1)s[i]=-e[i];return s}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),n=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(n,t)||i==="string"||n==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,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 s=0,a=e.length,o=t.length,l=[];s<a||s<o;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?l[s]=e[s]+t[s]:l[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return l}return 0}var add=sum;function sub(e,t){var i=_typeof$1(e),n=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(n,t))return i==="string"&&(e=parseInt(e,10)),n==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,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 s=0,a=e.length,o=t.length,l=[];s<a||s<o;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?l[s]=e[s]-t[s]:l[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return l}return 0}function mul(e,t){var i=_typeof$1(e),n=_typeof$1(t),s;if(isNumerable(i,e)&&isNumerable(n,t))return e*t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(n,t)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e[a]*t;return s}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e*t[a];return s}return 0}function div(e,t){var i=_typeof$1(e),n=_typeof$1(t),s;if(isNumerable(i,e)&&isNumerable(n,t))return e/t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(n,t)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e[a]/t;return s}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e/t[a];return s}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 n=i;i=t,t=n}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,n=Math.min(e.length,t.length),s=0;for(i=0;i<n;i+=1)s+=Math.pow(t[i]-e[i],2);return Math.sqrt(s)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],i=e[1],n=e[2],s=Math.max(t,i,n),a=Math.min(t,i,n),o,l,c=(s+a)/2;if(s===a)o=0,l=0;else{var u=s-a;switch(l=c>.5?u/(2-s-a):u/(s+a),s){case t:o=(i-n)/u+(i<n?6:0);break;case i:o=(n-t)/u+2;break;case n:o=(t-i)/u+4;break}o/=6}return[o,l,c,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],n=e[2],s,a,o;if(i===0)s=n,o=n,a=n;else{var l=n<.5?n*(1+i):n+i-n*i,c=2*n-l;s=hue2rgb(c,l,t+1/3),a=hue2rgb(c,l,t),o=hue2rgb(c,l,t-1/3)}return[s,a,o,e[3]]}function linear(e,t,i,n,s){if((n===void 0||s===void 0)&&(n=t,s=i,t=0,i=1),i<t){var a=i;i=t,t=a}if(e<=t)return n;if(e>=i)return s;var o=i===t?0:(e-t)/(i-t);if(!n.length)return n+(s-n)*o;var l,c=n.length,u=createTypedArray("float32",c);for(l=0;l<c;l+=1)u[l]=n[l]+(s[l]-n[l])*o;return u}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var i,n=t.length;e||(e=createTypedArray("float32",n));var s=createTypedArray("float32",n),a=BMMath.random();for(i=0;i<n;i+=1)s[i]=e[i]+a*(t[i]-e[i]);return s}e===void 0&&(e=0);var o=BMMath.random();return e+o*(t-e)}function createPath(e,t,i,n){var s,a=e.length,o=shapePool.newElement();o.setPathData(!!n,a);var l=[0,0],c,u;for(s=0;s<a;s+=1)c=t&&t[s]?t[s]:l,u=i&&i[s]?i[s]:l,o.setTripleAt(e[s][0],e[s][1],u[0]+e[s][0],u[1]+e[s][1],c[0]+e[s][0],c[1]+e[s][1],s,!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 n,s,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);t=5;var l=Math.floor(time*t);for(n=0,s=0;n<l;){for(s=0;s<a;s+=1)o[s]+=-i+i*2*BMMath.random();n+=1}var c=time*t,u=c-Math.floor(c),f=createTypedArray("float32",a);if(a>1){for(s=0;s<a;s+=1)f[s]=this.pv[s]+o[s]+(-i+i*2*BMMath.random())*u;return f}return this.pv+o[0]+(-i+i*2*BMMath.random())*u}).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]],n=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,s=-Math.atan2(i[1],i[2])/degToRads;return[s,n,0]}function easeOut(e,t,i,n,s){return applyEase(easeOutBez,e,t,i,n,s)}function easeIn(e,t,i,n,s){return applyEase(easeInBez,e,t,i,n,s)}function ease(e,t,i,n,s){return applyEase(easeInOutBez,e,t,i,n,s)}function applyEase(e,t,i,n,s,a){s===void 0?(s=i,a=n):t=(t-i)/(n-i),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(s)){var l,c=s.length,u=createTypedArray("float32",c);for(l=0;l<c;l+=1)u[l]=(a[l]-s[l])*o+s[l];return u}return(a-s)*o+s}function nearestKey(e){var t,i=data.k.length,n,s;if(!data.k.length||typeof data.k[0]=="number")n=0,s=0;else if(n=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)n=1,s=data.k[0].t;else{for(t=0;t<i-1;t+=1)if(e===data.k[t].t){n=t+1,s=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?(n=t+2,s=data.k[t+1].t):(n=t+1,s=data.k[t].t);break}n===-1&&(n=t+1,s=data.k[t].t)}var a={};return a.index=n,a.time=s/elem.comp.globalData.frameRate,a}function key(e){var t,i,n;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 s=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=s.length,i=0;i<n;i+=1)t[i]=s[i],t.value[i]=s[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 n=0,s=[];function a(){n+=1}function o(){n-=1,n===0&&c()}function l(u){s.indexOf(u)===-1&&s.push(u)}function c(){var u,f=s.length;for(u=0;u<f;u+=1)s[u].release();s.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=l}return e}(),MaskManagerInterface=function(){function e(i,n){this._mask=i,this._data=n}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(n){var s=createSizedArray(n.viewData.length),a,o=n.viewData.length;for(a=0;a<o;a+=1)s[a]=new e(n.viewData[a],n.masksProperties[a]);var l=function(u){for(a=0;a<o;){if(n.masksProperties[a].nm===u)return s[a];a+=1}return null};return l};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,l,c){Object.defineProperty(o,"velocity",{get:function(){return l.getVelocityAtTime(l.comp.currentFrame)}}),o.numKeys=l.keyframes?l.keyframes.length:0,o.key=function(u){if(!o.numKeys)return 0;var f="";"s"in l.keyframes[u-1]?f=l.keyframes[u-1].s:"e"in l.keyframes[u-2]?f=l.keyframes[u-2].e:f=l.keyframes[u-2].s;var d=c==="unidimensional"?new Number(f):Object.assign({},f);return d.time=l.keyframes[u-1].t/l.elem.comp.globalData.frameRate,d.value=c==="unidimensional"?f[0]:f,d},o.valueAtTime=l.getValueAtTime,o.speedAtTime=l.getSpeedAtTime,o.velocityAtTime=l.getVelocityAtTime,o.propertyGroup=l.propertyGroup}function n(o){(!o||!("pv"in o))&&(o=e);var l=1/o.mult,c=o.pv*l,u=new Number(c);return u.value=c,i(u,o,"unidimensional"),function(){return o.k&&o.getValue(),c=o.v*l,u.value!==c&&(u=new Number(c),u.value=c,i(u,o,"unidimensional")),u}}function s(o){(!o||!("pv"in o))&&(o=t);var l=1/o.mult,c=o.data&&o.data.l||o.pv.length,u=createTypedArray("float32",c),f=createTypedArray("float32",c);return u.value=f,i(u,o,"multidimensional"),function(){o.k&&o.getValue();for(var d=0;d<c;d+=1)f[d]=o.v[d]*l,u[d]=f[d];return u}}function a(){return e}return function(o){return o?o.propType==="unidimensional"?n(o):s(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,n,s,a;return e.p?a=ExpressionPropertyInterface(e.p):(i=ExpressionPropertyInterface(e.px),n=ExpressionPropertyInterface(e.py),e.pz&&(s=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[i(),n(),s?s():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(u){var f=new Matrix;if(u!==void 0){var d=this._elem.finalTransform.mProp.getValueAtTime(u);d.clone(f)}else{var p=this._elem.finalTransform.mProp;p.applyToMatrix(f)}return f}function t(u,f){var d=this.getMatrix(f);return d.props[12]=0,d.props[13]=0,d.props[14]=0,this.applyPoint(d,u)}function i(u,f){var d=this.getMatrix(f);return this.applyPoint(d,u)}function n(u,f){var d=this.getMatrix(f);return d.props[12]=0,d.props[13]=0,d.props[14]=0,this.invertPoint(d,u)}function s(u,f){var d=this.getMatrix(f);return this.invertPoint(d,u)}function a(u,f){if(this._elem.hierarchy&&this._elem.hierarchy.length){var d,p=this._elem.hierarchy.length;for(d=0;d<p;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(u)}return u.applyToPointArray(f[0],f[1],f[2]||0)}function o(u,f){if(this._elem.hierarchy&&this._elem.hierarchy.length){var d,p=this._elem.hierarchy.length;for(d=0;d<p;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(u)}return u.inversePoint(f)}function l(u){var f=new Matrix;if(f.reset(),this._elem.finalTransform.mProp.applyToMatrix(f),this._elem.hierarchy&&this._elem.hierarchy.length){var d,p=this._elem.hierarchy.length;for(d=0;d<p;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(f);return f.inversePoint(u)}return f.inversePoint(u)}function c(){return[1,1,1,1]}return function(u){var f;function d(y){b.mask=new MaskManagerInterface(y,u)}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 f;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=s,b.fromWorldVec=n,b.toComp=i,b.fromComp=l,b.sampleImage=c,b.sourceRectAtTime=u.sourceRectAtTime.bind(u),b._elem=u,f=TransformExpressionInterface(u.finalTransform.mProp);var C=getDescriptor(f,"anchorPoint");return Object.defineProperties(b,{hasParent:{get:function(){return u.hierarchy.length}},parent:{get:function(){return u.hierarchy[0].layerInterface}},rotation:getDescriptor(f,"rotation"),scale:getDescriptor(f,"scale"),position:getDescriptor(f,"position"),opacity:getDescriptor(f,"opacity"),anchorPoint:C,anchor_point:C,transform:{get:function(){return f}},active:{get:function(){return u.isInRange}}}),b.startTime=u.data.st,b.index=u.data.ind,b.source=u.data.refId,b.height=u.data.ty===0?u.data.h:100,b.width=u.data.ty===0?u.data.w:100,b.inPoint=u.data.ip/u.comp.globalData.frameRate,b.outPoint=u.data.op/u.comp.globalData.frameRate,b._name=u.data.nm,b.registerMaskInterface=d,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 n(s){return s=s===void 0?1:s,s<=0?i:t(s-1)}return n}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(s,a){if(s.effectsManager){var o=[],l=s.data.ef,c,u=s.effectsManager.effectElements.length;for(c=0;c<u;c+=1)o.push(i(l[c],s.effectsManager.effectElements[c],a,s));var f=s.data.ef||[],d=function(b){for(c=0,u=f.length;c<u;){if(b===f[c].nm||b===f[c].mn||b===f[c].ix)return o[c];c+=1}return null};return Object.defineProperty(d,"numProperties",{get:function(){return f.length}}),d}return null}function i(s,a,o,l){function c(b){for(var C=s.ef,y=0,R=C.length;y<R;){if(b===C[y].nm||b===C[y].mn||b===C[y].ix)return C[y].ty===5?f[y]:f[y]();y+=1}throw new Error}var u=propertyGroupFactory(c,o),f=[],d,p=s.ef.length;for(d=0;d<p;d+=1)s.ef[d].ty===5?f.push(i(s.ef[d],a.effectElements[d],a.effectElements[d].propertyGroup,l)):f.push(n(a.effectElements[d],s.ef[d].ty,l,u));return s.mn==="ADBE Color Control"&&Object.defineProperty(c,"color",{get:function(){return f[0]()}}),Object.defineProperties(c,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:u}}),c.enabled=s.en!==0,c.active=c.enabled,c}function n(s,a,o,l){var c=ExpressionPropertyInterface(s.p);function u(){return a===10?o.comp.compInterface(s.p.v):c()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",l)),u}return e}(),ShapePathInterface=function(){return function(t,i,n){var s=i.sh;function a(l){return l==="Shape"||l==="shape"||l==="Path"||l==="path"||l==="ADBE Vector Shape"||l===2?a.path:null}var o=propertyGroupFactory(a,n);return s.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(a,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:n}}),a}}(),ShapeExpressionInterface=function(){function e(C,y,R){var m=[],x,g=C?C.length:0;for(x=0;x<g;x+=1)C[x].ty==="gr"?m.push(i(C[x],y[x],R)):C[x].ty==="fl"?m.push(n(C[x],y[x],R)):C[x].ty==="st"?m.push(o(C[x],y[x],R)):C[x].ty==="tm"?m.push(l(C[x],y[x],R)):C[x].ty==="tr"||(C[x].ty==="el"?m.push(u(C[x],y[x],R)):C[x].ty==="sr"?m.push(f(C[x],y[x],R)):C[x].ty==="sh"?m.push(ShapePathInterface(C[x],y[x],R)):C[x].ty==="rc"?m.push(d(C[x],y[x],R)):C[x].ty==="rd"?m.push(p(C[x],y[x],R)):C[x].ty==="rp"?m.push(b(C[x],y[x],R)):C[x].ty==="gf"?m.push(s(C[x],y[x],R)):m.push(a(C[x],y[x])));return m}function t(C,y,R){var m,x=function(E){for(var M=0,L=m.length;M<L;){if(m[M]._name===E||m[M].mn===E||m[M].propertyIndex===E||m[M].ix===E||m[M].ind===E)return m[M];M+=1}return typeof E=="number"?m[E-1]:null};x.propertyGroup=propertyGroupFactory(x,R),m=e(C.it,y.it,x.propertyGroup),x.numProperties=m.length;var g=c(C.it[C.it.length-1],y.it[y.it.length-1],x.propertyGroup);return x.transform=g,x.propertyIndex=C.cix,x._name=C.nm,x}function i(C,y,R){var m=function(E){switch(E){case"ADBE Vectors Group":case"Contents":case 2:return m.content;default:return m.transform}};m.propertyGroup=propertyGroupFactory(m,R);var x=t(C,y,m.propertyGroup),g=c(C.it[C.it.length-1],y.it[y.it.length-1],m.propertyGroup);return m.content=x,m.transform=g,Object.defineProperty(m,"_name",{get:function(){return C.nm}}),m.numProperties=C.np,m.propertyIndex=C.ix,m.nm=C.nm,m.mn=C.mn,m}function n(C,y,R){function m(x){return x==="Color"||x==="color"?m.color:x==="Opacity"||x==="opacity"?m.opacity:null}return Object.defineProperties(m,{color:{get:ExpressionPropertyInterface(y.c)},opacity:{get:ExpressionPropertyInterface(y.o)},_name:{value:C.nm},mn:{value:C.mn}}),y.c.setGroupProperty(PropertyInterface("Color",R)),y.o.setGroupProperty(PropertyInterface("Opacity",R)),m}function s(C,y,R){function m(x){return x==="Start Point"||x==="start point"?m.startPoint:x==="End Point"||x==="end point"?m.endPoint:x==="Opacity"||x==="opacity"?m.opacity:null}return Object.defineProperties(m,{startPoint:{get:ExpressionPropertyInterface(y.s)},endPoint:{get:ExpressionPropertyInterface(y.e)},opacity:{get:ExpressionPropertyInterface(y.o)},type:{get:function(){return"a"}},_name:{value:C.nm},mn:{value:C.mn}}),y.s.setGroupProperty(PropertyInterface("Start Point",R)),y.e.setGroupProperty(PropertyInterface("End Point",R)),y.o.setGroupProperty(PropertyInterface("Opacity",R)),m}function a(){function C(){return null}return C}function o(C,y,R){var m=propertyGroupFactory(L,R),x=propertyGroupFactory(M,m);function g(_){Object.defineProperty(M,C.d[_].nm,{get:ExpressionPropertyInterface(y.d.dataProps[_].p)})}var S,E=C.d?C.d.length:0,M={};for(S=0;S<E;S+=1)g(S),y.d.dataProps[S].p.setGroupProperty(x);function L(_){return _==="Color"||_==="color"?L.color:_==="Opacity"||_==="opacity"?L.opacity:_==="Stroke Width"||_==="stroke width"?L.strokeWidth:null}return Object.defineProperties(L,{color:{get:ExpressionPropertyInterface(y.c)},opacity:{get:ExpressionPropertyInterface(y.o)},strokeWidth:{get:ExpressionPropertyInterface(y.w)},dash:{get:function(){return M}},_name:{value:C.nm},mn:{value:C.mn}}),y.c.setGroupProperty(PropertyInterface("Color",m)),y.o.setGroupProperty(PropertyInterface("Opacity",m)),y.w.setGroupProperty(PropertyInterface("Stroke Width",m)),L}function l(C,y,R){function m(g){return g===C.e.ix||g==="End"||g==="end"?m.end:g===C.s.ix?m.start:g===C.o.ix?m.offset:null}var x=propertyGroupFactory(m,R);return m.propertyIndex=C.ix,y.s.setGroupProperty(PropertyInterface("Start",x)),y.e.setGroupProperty(PropertyInterface("End",x)),y.o.setGroupProperty(PropertyInterface("Offset",x)),m.propertyIndex=C.ix,m.propertyGroup=R,Object.defineProperties(m,{start:{get:ExpressionPropertyInterface(y.s)},end:{get:ExpressionPropertyInterface(y.e)},offset:{get:ExpressionPropertyInterface(y.o)},_name:{value:C.nm}}),m.mn=C.mn,m}function c(C,y,R){function m(g){return C.a.ix===g||g==="Anchor Point"?m.anchorPoint:C.o.ix===g||g==="Opacity"?m.opacity:C.p.ix===g||g==="Position"?m.position:C.r.ix===g||g==="Rotation"||g==="ADBE Vector Rotation"?m.rotation:C.s.ix===g||g==="Scale"?m.scale:C.sk&&C.sk.ix===g||g==="Skew"?m.skew:C.sa&&C.sa.ix===g||g==="Skew Axis"?m.skewAxis:null}var x=propertyGroupFactory(m,R);return y.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",x)),y.transform.mProps.p.setGroupProperty(PropertyInterface("Position",x)),y.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",x)),y.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",x)),y.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",x)),y.transform.mProps.sk&&(y.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",x)),y.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",x))),y.transform.op.setGroupProperty(PropertyInterface("Opacity",x)),Object.defineProperties(m,{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:C.nm}}),m.ty="tr",m.mn=C.mn,m.propertyGroup=R,m}function u(C,y,R){function m(S){return C.p.ix===S?m.position:C.s.ix===S?m.size:null}var x=propertyGroupFactory(m,R);m.propertyIndex=C.ix;var g=y.sh.ty==="tm"?y.sh.prop:y.sh;return g.s.setGroupProperty(PropertyInterface("Size",x)),g.p.setGroupProperty(PropertyInterface("Position",x)),Object.defineProperties(m,{size:{get:ExpressionPropertyInterface(g.s)},position:{get:ExpressionPropertyInterface(g.p)},_name:{value:C.nm}}),m.mn=C.mn,m}function f(C,y,R){function m(S){return C.p.ix===S?m.position:C.r.ix===S?m.rotation:C.pt.ix===S?m.points:C.or.ix===S||S==="ADBE Vector Star Outer Radius"?m.outerRadius:C.os.ix===S?m.outerRoundness:C.ir&&(C.ir.ix===S||S==="ADBE Vector Star Inner Radius")?m.innerRadius:C.is&&C.is.ix===S?m.innerRoundness:null}var x=propertyGroupFactory(m,R),g=y.sh.ty==="tm"?y.sh.prop:y.sh;return m.propertyIndex=C.ix,g.or.setGroupProperty(PropertyInterface("Outer Radius",x)),g.os.setGroupProperty(PropertyInterface("Outer Roundness",x)),g.pt.setGroupProperty(PropertyInterface("Points",x)),g.p.setGroupProperty(PropertyInterface("Position",x)),g.r.setGroupProperty(PropertyInterface("Rotation",x)),C.ir&&(g.ir.setGroupProperty(PropertyInterface("Inner Radius",x)),g.is.setGroupProperty(PropertyInterface("Inner Roundness",x))),Object.defineProperties(m,{position:{get:ExpressionPropertyInterface(g.p)},rotation:{get:ExpressionPropertyInterface(g.r)},points:{get:ExpressionPropertyInterface(g.pt)},outerRadius:{get:ExpressionPropertyInterface(g.or)},outerRoundness:{get:ExpressionPropertyInterface(g.os)},innerRadius:{get:ExpressionPropertyInterface(g.ir)},innerRoundness:{get:ExpressionPropertyInterface(g.is)},_name:{value:C.nm}}),m.mn=C.mn,m}function d(C,y,R){function m(S){return C.p.ix===S?m.position:C.r.ix===S?m.roundness:C.s.ix===S||S==="Size"||S==="ADBE Vector Rect Size"?m.size:null}var x=propertyGroupFactory(m,R),g=y.sh.ty==="tm"?y.sh.prop:y.sh;return m.propertyIndex=C.ix,g.p.setGroupProperty(PropertyInterface("Position",x)),g.s.setGroupProperty(PropertyInterface("Size",x)),g.r.setGroupProperty(PropertyInterface("Rotation",x)),Object.defineProperties(m,{position:{get:ExpressionPropertyInterface(g.p)},roundness:{get:ExpressionPropertyInterface(g.r)},size:{get:ExpressionPropertyInterface(g.s)},_name:{value:C.nm}}),m.mn=C.mn,m}function p(C,y,R){function m(S){return C.r.ix===S||S==="Round Corners 1"?m.radius:null}var x=propertyGroupFactory(m,R),g=y;return m.propertyIndex=C.ix,g.rd.setGroupProperty(PropertyInterface("Radius",x)),Object.defineProperties(m,{radius:{get:ExpressionPropertyInterface(g.rd)},_name:{value:C.nm}}),m.mn=C.mn,m}function b(C,y,R){function m(S){return C.c.ix===S||S==="Copies"?m.copies:C.o.ix===S||S==="Offset"?m.offset:null}var x=propertyGroupFactory(m,R),g=y;return m.propertyIndex=C.ix,g.c.setGroupProperty(PropertyInterface("Copies",x)),g.o.setGroupProperty(PropertyInterface("Offset",x)),Object.defineProperties(m,{copies:{get:ExpressionPropertyInterface(g.c)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:C.nm}}),m.mn=C.mn,m}return function(C,y,R){var m;function x(S){if(typeof S=="number")return S=S===void 0?1:S,S===0?R:m[S-1];for(var E=0,M=m.length;E<M;){if(m[E]._name===S)return m[E];E+=1}return null}function g(){return R}return x.propertyGroup=propertyGroupFactory(x,g),m=e(C,y,x.propertyGroup),x.numProperties=m.length,x._name="Contents",x}}(),TextExpressionInterface=function(){return function(e){var t;function i(n){switch(n){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){e.textProperty.getValue();var s=e.textProperty.currentData.t;return(!t||s!==t.value)&&(t=new String(s),t.value=s||new String(s),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(n){var s="",a=n.getFootageData();function o(){return s="",a=n.getFootageData(),l}function l(c){if(a[c])return s=c,a=a[c],_typeof(a)==="object"?l:a;var u=c.indexOf(s);if(u!==-1){var f=parseInt(c.substr(u+s.length),10);return a=a[f],_typeof(a)==="object"?l:a}return""}return o},t=function(n){function s(a){return a==="Outline"?s.outlineInterface():null}return s._name="Outline",s.outlineInterface=e(n),s};return function(i){function n(s){return s==="Data"?n.dataInterface:null}return n._name="Data",n.dataInterface=t(i),n}}(),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,l,c){l.x&&(c.k=!0,c.x=!0,c.initiateExpression=ExpressionManager.initiateExpression,c.effectsSequence.push(c.initiateExpression(o,l,c).bind(c)))}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 l=-.01,c=this.getValueAtTime(o),u=this.getValueAtTime(o+l),f=0;if(c.length){var d;for(d=0;d<c.length;d+=1)f+=Math.pow(u[d]-c[d],2);f=Math.sqrt(f)*100}else f=0;return f}function n(o){if(this.vel!==void 0)return this.vel;var l=-.001,c=this.getValueAtTime(o),u=this.getValueAtTime(o+l),f;if(c.length){f=createTypedArray("float32",c.length);var d;for(d=0;d<c.length;d+=1)f[d]=(u[d]-c[d])/l}else f=(u-c)/l;return f}function s(){return this.pv}function a(o){this.propertyGroup=o}return{searchExpressions:e,getSpeedAtTime:i,getVelocityAtTime:n,getValueAtTime:t,getStaticValueAtTime:s,setGroupProperty:a}}();function addPropertyDecorator(){function e(p,b,C){if(!this.k||!this.keyframes)return this.pv;p=p?p.toLowerCase():"";var y=this.comp.renderedFrame,R=this.keyframes,m=R[R.length-1].t;if(y<=m)return this.pv;var x,g;C?(b?x=Math.abs(m-this.elem.comp.globalData.frameRate*b):x=Math.max(0,m-this.elem.data.ip),g=m-x):((!b||b>R.length-1)&&(b=R.length-1),g=R[R.length-1-b].t,x=m-g);var S,E,M;if(p==="pingpong"){var L=Math.floor((y-g)/x);if(L%2!==0)return this.getValueAtTime((x-(y-g)%x+g)/this.comp.globalData.frameRate,0)}else if(p==="offset"){var _=this.getValueAtTime(g/this.comp.globalData.frameRate,0),I=this.getValueAtTime(m/this.comp.globalData.frameRate,0),$=this.getValueAtTime(((y-g)%x+g)/this.comp.globalData.frameRate,0),z=Math.floor((y-g)/x);if(this.pv.length){for(M=new Array(_.length),E=M.length,S=0;S<E;S+=1)M[S]=(I[S]-_[S])*z+$[S];return M}return(I-_)*z+$}else if(p==="continue"){var O=this.getValueAtTime(m/this.comp.globalData.frameRate,0),N=this.getValueAtTime((m-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(O.length),E=M.length,S=0;S<E;S+=1)M[S]=O[S]+(O[S]-N[S])*((y-m)/this.comp.globalData.frameRate)/5e-4;return M}return O+(O-N)*((y-m)/.001)}return this.getValueAtTime(((y-g)%x+g)/this.comp.globalData.frameRate,0)}function t(p,b,C){if(!this.k)return this.pv;p=p?p.toLowerCase():"";var y=this.comp.renderedFrame,R=this.keyframes,m=R[0].t;if(y>=m)return this.pv;var x,g;C?(b?x=Math.abs(this.elem.comp.globalData.frameRate*b):x=Math.max(0,this.elem.data.op-m),g=m+x):((!b||b>R.length-1)&&(b=R.length-1),g=R[b].t,x=g-m);var S,E,M;if(p==="pingpong"){var L=Math.floor((m-y)/x);if(L%2===0)return this.getValueAtTime(((m-y)%x+m)/this.comp.globalData.frameRate,0)}else if(p==="offset"){var _=this.getValueAtTime(m/this.comp.globalData.frameRate,0),I=this.getValueAtTime(g/this.comp.globalData.frameRate,0),$=this.getValueAtTime((x-(m-y)%x+m)/this.comp.globalData.frameRate,0),z=Math.floor((m-y)/x)+1;if(this.pv.length){for(M=new Array(_.length),E=M.length,S=0;S<E;S+=1)M[S]=$[S]-(I[S]-_[S])*z;return M}return $-(I-_)*z}else if(p==="continue"){var O=this.getValueAtTime(m/this.comp.globalData.frameRate,0),N=this.getValueAtTime((m+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(O.length),E=M.length,S=0;S<E;S+=1)M[S]=O[S]+(O[S]-N[S])*(m-y)/.001;return M}return O+(O-N)*(m-y)/.001}return this.getValueAtTime((x-((m-y)%x+m))/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 C=this.comp.renderedFrame/this.comp.globalData.frameRate,y=C-p,R=C+p,m=b>1?(R-y)/(b-1):1,x=0,g=0,S;this.pv.length?S=createTypedArray("float32",this.pv.length):S=0;for(var E;x<b;){if(E=this.getValueAtTime(y+x*m),this.pv.length)for(g=0;g<this.pv.length;g+=1)S[g]+=E[g];else S+=E;x+=1}if(this.pv.length)for(g=0;g<this.pv.length;g+=1)S[g]/=b;else S/=b;return S}function n(p){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var b=this._transformCachingAtTime.v;if(b.cloneFromProps(this.pre.props),this.appliedTransformations<1){var C=this.a.getValueAtTime(p);b.translate(-C[0]*this.a.mult,-C[1]*this.a.mult,C[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 R=this.sk.getValueAtTime(p),m=this.sa.getValueAtTime(p);b.skewFromAxis(-R*this.sk.mult,m*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var x=this.r.getValueAtTime(p);b.rotate(-x*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var g=this.rz.getValueAtTime(p),S=this.ry.getValueAtTime(p),E=this.rx.getValueAtTime(p),M=this.or.getValueAtTime(p);b.rotateZ(-g*this.rz.mult).rotateY(S*this.ry.mult).rotateX(E*this.rx.mult).rotateZ(-M[2]*this.or.mult).rotateY(M[1]*this.or.mult).rotateX(M[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var L=this.px.getValueAtTime(p),_=this.py.getValueAtTime(p);if(this.data.p.z){var I=this.pz.getValueAtTime(p);b.translate(L*this.px.mult,_*this.py.mult,-I*this.pz.mult)}else b.translate(L*this.px.mult,_*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 s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(p,b,C){var y=a(p,b,C);return y.dynamicProperties.length?y.getValueAtTime=n.bind(y):y.getValueAtTime=s.bind(y),y.setGroupProperty=expressionHelpers.setGroupProperty,y};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(p,b,C,y,R){var m=o(p,b,C,y,R);m.kf?m.getValueAtTime=expressionHelpers.getValueAtTime.bind(m):m.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(m),m.setGroupProperty=expressionHelpers.setGroupProperty,m.loopOut=e,m.loopIn=t,m.smooth=i,m.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(m),m.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(m),m.numKeys=b.a===1?b.k.length:0,m.propertyIndex=b.ix;var x=0;return C!==0&&(x=createTypedArray("float32",b.a===1?b.k[0].s.length:b.k.length)),m._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:x},expressionHelpers.searchExpressions(p,b,m),m.k&&R.addDynamicProperty(m),m};function l(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 c=ShapePropertyFactory.getConstructorFunction(),u=ShapePropertyFactory.getKeyframedConstructorFunction();function f(){}f.prototype={vertices:function(b,C){this.k&&this.getValue();var y=this.v;C!==void 0&&(y=this.getValueAtTime(C,0));var R,m=y._length,x=y[b],g=y.v,S=createSizedArray(m);for(R=0;R<m;R+=1)b==="i"||b==="o"?S[R]=[x[R][0]-g[R][0],x[R][1]-g[R][1]]:S[R]=[x[R][0],x[R][1]];return S},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,C){var y=this.v;C!==void 0&&(y=this.getValueAtTime(C,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(y));for(var R=this._segmentsLength,m=R.lengths,x=R.totalLength*b,g=0,S=m.length,E=0,M;g<S;){if(E+m[g].addedLength>x){var L=g,_=y.c&&g===S-1?0:g+1,I=(x-E)/m[g].addedLength;M=bez.getPointInSegment(y.v[L],y.v[_],y.o[L],y.i[_],I,m[g]);break}else E+=m[g].addedLength;g+=1}return M||(M=y.c?[y.v[0][0],y.v[0][1]]:[y.v[y._length-1][0],y.v[y._length-1][1]]),M},vectorOnPath:function(b,C,y){b==1?b=this.v.c:b==0&&(b=.999);var R=this.pointOnPath(b,C),m=this.pointOnPath(b+.001,C),x=m[0]-R[0],g=m[1]-R[1],S=Math.sqrt(Math.pow(x,2)+Math.pow(g,2));if(S===0)return[0,0];var E=y==="tangent"?[x/S,g/S]:[-g/S,x/S];return E},tangentOnPath:function(b,C){return this.vectorOnPath(b,C,"tangent")},normalOnPath:function(b,C){return this.vectorOnPath(b,C,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([f],c),extendPrototype([f],u),u.prototype.getValueAtTime=l,u.prototype.initiateExpression=ExpressionManager.initiateExpression;var d=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(p,b,C,y,R){var m=d(p,b,C,y,R);return m.propertyIndex=b.ix,m.lock=!1,C===3?expressionHelpers.searchExpressions(p,b.pt,m):C===4&&expressionHelpers.searchExpressions(p,b.ks,m),m.k&&p.addDynamicProperty(m),m}}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 n=this.calculateExpression(i);if(t.t!==n){var s={};return this.copyData(s,t),s.t=n.toString(),s.__complete=!1,s}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 n=createNS("feMerge");n.setAttribute("result",t);var s,a;for(a=0;a<i.length;a+=1)s=createNS("feMergeNode"),s.setAttribute("in",i[a]),n.appendChild(s),n.appendChild(s);return n}};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,n,s){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",n+"_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",n+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(n,[s,n+"_tint_1",n+"_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,n=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+n+" 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,n){this.filterManager=t;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",n),e.appendChild(s),this.matrixFilter=s}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,n,s;for(this.filterManager.effectElements[1].p.v===1?(s=this.elem.maskManager.masksProperties.length,n=0):(n=this.filterManager.effectElements[0].p.v-1,s=n+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),n;n<s;n+=1)t=createNS("path"),i.appendChild(t),this.paths.push({p:t,m:n});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 l=createNS("g");for(l.setAttribute("mask","url("+getLocationHref()+"#"+o+")");e[0];)l.appendChild(e[0]);this.elem.layerElement.appendChild(l),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,n,s;for(t=0;t<i;t+=1)if(this.paths[t].m!==-1&&(n=this.elem.maskManager.viewData[this.paths[t].m],s=this.paths[t].p,(e||this.filterManager._mdf||n.prop._mdf)&&s.setAttribute("d",n.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||n.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,l=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,c=s.getTotalLength();a="0 0 0 "+c*o+" ";var u=c*(l-o),f=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(u/f),p;for(p=0;p<d;p+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+c*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;s.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,n){this.filterManager=t;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.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(s);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var l=createNS("feFuncG");l.setAttribute("type","table"),a.appendChild(l),this.feFuncG=l;var c=createNS("feFuncB");c.setAttribute("type","table"),a.appendChild(c),this.feFuncB=c,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,n=this.filterManager.effectElements[2].p.v,s=n[0]+" "+i[0]+" "+t[0],a=n[1]+" "+i[1]+" "+t[1],o=n[2]+" "+i[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}};function SVGProLevelsFilter(e,t,i,n){this.filterManager=t;var s=this.filterManager.effectElements,a=createNS("feComponentTransfer");(s[10].p.k||s[10].p.v!==0||s[11].p.k||s[11].p.v!==1||s[12].p.k||s[12].p.v!==1||s[13].p.k||s[13].p.v!==0||s[14].p.k||s[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(s[17].p.k||s[17].p.v!==0||s[18].p.k||s[18].p.v!==1||s[19].p.k||s[19].p.v!==1||s[20].p.k||s[20].p.v!==0||s[21].p.k||s[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(s[24].p.k||s[24].p.v!==0||s[25].p.k||s[25].p.v!==1||s[26].p.k||s[26].p.v!==1||s[27].p.k||s[27].p.v!==0||s[28].p.k||s[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(s[31].p.k||s[31].p.v!==0||s[32].p.k||s[32].p.v!==1||s[33].p.k||s[33].p.v!==1||s[34].p.k||s[34].p.v!==0||s[35].p.k||s[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)),(s[3].p.k||s[3].p.v!==0||s[4].p.k||s[4].p.v!==1||s[5].p.k||s[5].p.v!==1||s[6].p.k||s[6].p.v!==0||s[7].p.k||s[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),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,n,s){for(var a=0,o=256,l,c=Math.min(e,t),u=Math.max(e,t),f=Array.call(null,{length:o}),d,p=0,b=s-n,C=t-e;a<=256;)l=a/256,l<=c?d=C<0?s:n:l>=u?d=C<0?n:s:d=n+b*Math.pow((l-e)/C,1/i),f[p]=d,p+=1,a+=256/(o-1);return f.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,n,s){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 l=createNS("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",n+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,e.appendChild(l);var c=createNS("feOffset");c.setAttribute("dx","25"),c.setAttribute("dy","0"),c.setAttribute("in",n+"_drop_shadow_1"),c.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=c,e.appendChild(c);var u=createNS("feFlood");u.setAttribute("flood-color","#00ff00"),u.setAttribute("flood-opacity","1"),u.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=u,e.appendChild(u);var f=createNS("feComposite");f.setAttribute("in",n+"_drop_shadow_3"),f.setAttribute("in2",n+"_drop_shadow_2"),f.setAttribute("operator","in"),f.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(f);var d=this.createMergeNode(n,[n+"_drop_shadow_4",s]);e.appendChild(d)}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,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=i*Math.cos(n),a=i*Math.sin(n);this.feOffset.setAttribute("dx",s),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 n=i.children,s=0,a=n.length;s<a&&n[s]!==e.layerElement;)s+=1;var o;s<=a-2&&(o=n[s+1]);var l=createNS("use");l.setAttribute("href","#"+t),o?i.insertBefore(l,o):i.appendChild(l)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var i=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var s=e.globalData.defs;s.appendChild(n);var a=createNS("symbol");a.setAttribute("id",i),this.replaceInParent(t,i),a.appendChild(t.layerElement),s.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+i),n.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,n=t.length;i<n;)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,n){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("result",n),e.appendChild(s),this.feGaussianBlur=s}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,i=this.filterManager.effectElements[0].p.v*t,n=this.filterManager.effectElements[1].p.v,s=n==3?0:i,a=n==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",s+" "+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,n=t[1].p.v,s=t[2].p.v===1,a=t[3].p.v,o=s?a:t[4].p.v,l=t[5].p.v,c=t[6].p.v,u=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(-u*degToRads),this.matrix.skewFromAxis(-l*degToRads,(c+90)*degToRads),this.matrix.translate(n[0],n[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 n,s,a,o,l=[],c=!0,u=!1;try{if(a=(i=i.call(e)).next,t!==0)for(;!(c=(n=a.call(i)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(f){u=!0,s=f}finally{try{if(!c&&i.return!=null&&(o=i.return(),Object(o)!==o))return}finally{if(u)throw s}}return l}}function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,n)}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(n){_defineProperty(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}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={},n=Object.keys(e),s,a;for(a=0;a<n.length;a++)s=n[a],!(t.indexOf(s)>=0)&&(i[s]=e[s]);return i}function _objectWithoutProperties(e,t){if(e==null)return{};var i=_objectWithoutPropertiesLoose(e,t),n,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s<a.length;s++)n=a[s],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}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,n=new Array(t);i<t;i++)n[i]=e[i];return n}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
74
- 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 n=i.call(e,t||"default");if(typeof n!="object")return n;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 n=t.animationData,s=t.loop,a=t.autoplay,o=t.initialSegment,l=t.onComplete,c=t.onLoopComplete,u=t.onEnterFrame,f=t.onSegmentStart,d=t.onConfigReady,p=t.onDataReady,b=t.onDataFailed,C=t.onLoadedImages,y=t.onDOMLoaded,R=t.onDestroy;t.lottieRef,t.renderer,t.name,t.assetsPath,t.rendererSettings;var m=_objectWithoutProperties(t,_excluded$1),x=React.useState(!1),g=_slicedToArray(x,2),S=g[0],E=g[1],M=React.useRef(),L=React.useRef(null),_=function(){var W;(W=M.current)===null||W===void 0||W.play()},I=function(){var W;(W=M.current)===null||W===void 0||W.stop()},$=function(){var W;(W=M.current)===null||W===void 0||W.pause()},z=function(W){var q;(q=M.current)===null||q===void 0||q.setSpeed(W)},O=function(W,q){var Y;(Y=M.current)===null||Y===void 0||Y.goToAndPlay(W,q)},N=function(W,q){var Y;(Y=M.current)===null||Y===void 0||Y.goToAndStop(W,q)},K=function(W){var q;(q=M.current)===null||q===void 0||q.setDirection(W)},B=function(W,q){var Y;(Y=M.current)===null||Y===void 0||Y.playSegments(W,q)},A=function(W){var q;(q=M.current)===null||q===void 0||q.setSubframe(W)},j=function(W){var q;return(q=M.current)===null||q===void 0?void 0:q.getDuration(W)},P=function(){var W;(W=M.current)===null||W===void 0||W.destroy(),M.current=void 0},T=function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},q;if(L.current){(q=M.current)===null||q===void 0||q.destroy();var Y=_objectSpread2(_objectSpread2(_objectSpread2({},t),W),{},{container:L.current});return M.current=lottie.loadAnimation(Y),E(!!M.current),function(){var ee;(ee=M.current)===null||ee===void 0||ee.destroy(),M.current=void 0}}};React.useEffect(function(){var V=T();return function(){return V==null?void 0:V()}},[n,s]),React.useEffect(function(){M.current&&(M.current.autoplay=!!a)},[a]),React.useEffect(function(){if(M.current){if(!o){M.current.resetSegments(!0);return}!Array.isArray(o)||!o.length||((M.current.currentRawFrame<o[0]||M.current.currentRawFrame>o[1])&&(M.current.currentRawFrame=o[0]),M.current.setSegment(o[0],o[1]))}},[o]),React.useEffect(function(){var V=[{name:"complete",handler:l},{name:"loopComplete",handler:c},{name:"enterFrame",handler:u},{name:"segmentStart",handler:f},{name:"config_ready",handler:d},{name:"data_ready",handler:p},{name:"data_failed",handler:b},{name:"loaded_images",handler:C},{name:"DOMLoaded",handler:y},{name:"destroy",handler:R}],W=V.filter(function(Y){return Y.handler!=null});if(W.length){var q=W.map(function(Y){var ee;return(ee=M.current)===null||ee===void 0||ee.addEventListener(Y.name,Y.handler),function(){var re;(re=M.current)===null||re===void 0||re.removeEventListener(Y.name,Y.handler)}});return function(){q.forEach(function(Y){return Y()})}}},[l,c,u,f,d,p,b,C,y,R]);var k=React.createElement("div",_objectSpread2({style:i,ref:L},m));return{View:k,play:_,stop:I,pause:$,setSpeed:z,goToAndStop:N,goToAndPlay:O,setDirection:K,playSegments:B,setSubframe:A,getDuration:j,destroy:P,animationContainerRef:L,animationLoaded:S,animationItem:M.current}};function getContainerVisibility(e){var t=e.getBoundingClientRect(),i=t.top,n=t.height,s=window.innerHeight-i,a=window.innerHeight+n;return s/a}function getContainerCursorPosition(e,t,i){var n=e.getBoundingClientRect(),s=n.top,a=n.left,o=n.width,l=n.height,c=(t-a)/o,u=(i-s)/l;return{x:c,y:u}}var useInitInteractivity=function e(t){var i=t.wrapperRef,n=t.animationItem,s=t.mode,a=t.actions;React.useEffect(function(){var o=i.current;if(!(!o||!n||!a.length)){n.stop();var l=function(){var f=null,d=function(){var b=getContainerVisibility(o),C=a.find(function(R){var m=R.visibility;return m&&b>=m[0]&&b<=m[1]});if(C){if(C.type==="seek"&&C.visibility&&C.frames.length===2){var y=C.frames[0]+Math.ceil((b-C.visibility[0])/(C.visibility[1]-C.visibility[0])*C.frames[1]);//! goToAndStop must be relative to the start of the current segment
75
- n.goToAndStop(y-n.firstFrame-1,!0)}C.type==="loop"&&(f===null||f!==C.frames||n.isPaused)&&(n.playSegments(C.frames,!0),f=C.frames),C.type==="play"&&n.isPaused&&(n.resetSegments(!0),n.play()),C.type==="stop"&&n.goToAndStop(C.frames[0]-n.firstFrame-1,!0)}};return document.addEventListener("scroll",d),function(){document.removeEventListener("scroll",d)}},c=function(){var f=function(C,y){var R=C,m=y;if(R!==-1&&m!==-1){var x=getContainerCursorPosition(o,R,m);R=x.x,m=x.y}var g=a.find(function(M){var L=M.position;return L&&Array.isArray(L.x)&&Array.isArray(L.y)?R>=L.x[0]&&R<=L.x[1]&&m>=L.y[0]&&m<=L.y[1]:L&&!Number.isNaN(L.x)&&!Number.isNaN(L.y)?R===L.x&&m===L.y:!1});if(g){if(g.type==="seek"&&g.position&&Array.isArray(g.position.x)&&Array.isArray(g.position.y)&&g.frames.length===2){var S=(R-g.position.x[0])/(g.position.x[1]-g.position.x[0]),E=(m-g.position.y[0])/(g.position.y[1]-g.position.y[0]);n.playSegments(g.frames,!0),n.goToAndStop(Math.ceil((S+E)/2*(g.frames[1]-g.frames[0])),!0)}g.type==="loop"&&n.playSegments(g.frames,!0),g.type==="play"&&(n.isPaused&&n.resetSegments(!1),n.playSegments(g.frames)),g.type==="stop"&&n.goToAndStop(g.frames[0],!0)}},d=function(C){f(C.clientX,C.clientY)},p=function(){f(-1,-1)};return o.addEventListener("mousemove",d),o.addEventListener("mouseout",p),function(){o.removeEventListener("mousemove",d),o.removeEventListener("mouseout",p)}};switch(s){case"scroll":return l();case"cursor":return c()}}},[s,n])},useLottieInteractivity=function e(t){var i=t.actions,n=t.mode,s=t.lottieObj,a=s.animationItem,o=s.View,l=s.animationContainerRef;return useInitInteractivity({actions:i,animationItem:a,mode:n,wrapperRef:l}),o},_excluded=["style","interactivity"],Lottie=function e(t){var i,n,s,a=t.style,o=t.interactivity,l=_objectWithoutProperties(t,_excluded),c=useLottie(l,a),u=c.View,f=c.play,d=c.stop,p=c.pause,b=c.setSpeed,C=c.goToAndStop,y=c.goToAndPlay,R=c.setDirection,m=c.playSegments,x=c.setSubframe,g=c.getDuration,S=c.destroy,E=c.animationContainerRef,M=c.animationLoaded,L=c.animationItem;return React.useEffect(function(){t.lottieRef&&(t.lottieRef.current={play:f,stop:d,pause:p,setSpeed:b,goToAndPlay:y,goToAndStop:C,setDirection:R,playSegments:m,setSubframe:x,getDuration:g,destroy:S,animationContainerRef:E,animationLoaded:M,animationItem:L})},[(i=t.lottieRef)===null||i===void 0?void 0:i.current]),useLottieInteractivity({lottieObj:{View:u,play:f,stop:d,pause:p,setSpeed:b,goToAndStop:C,goToAndPlay:y,setDirection:R,playSegments:m,setSubframe:x,getDuration:g,destroy:S,animationContainerRef:E,animationLoaded:M,animationItem:L},actions:(n=o==null?void 0:o.actions)!==null&&n!==void 0?n:[],mode:(s=o==null?void 0:o.mode)!==null&&s!==void 0?s:"scroll"})};const index_es=Object.freeze(Object.defineProperty({__proto__:null,LottiePlayer:lottie,default:Lottie,useLottie,useLottieInteractivity},Symbol.toStringTag,{value:"Module"}));exports.APIIcon=APIIcon,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.ArrowSyncIcon=ArrowSyncIcon,exports.ArrowUpwardIcon=ArrowUpwardIcon,exports.BTCLogo=BTCLogo,exports.BlogCard=BlogCard,exports.BlogIcon=BlogIcon,exports.BottomSheet=BottomSheet,exports.BrandKitIcon=BrandKitIcon,exports.Button=Button,exports.Camelot=Camelot,exports.CancelIcon=CancelIcon,exports.CatalogLogo=CatalogLogo,exports.ChainflipIcon=ChainflipIcon,exports.CheckBox=CheckBox$1,exports.CheckCircleIcon=CheckCircleIcon,exports.CheckIcon=CheckIcon,exports.Checked=Checked,exports.Chip=Chip,exports.ClientOnly=ClientOnly,exports.ClockIcon=ClockIcon,exports.CloseIcon=CloseIcon,exports.CodeBlockIcon=CodeBlockIcon,exports.Coinbase=Coinbase,exports.CompareArrowsIcon=CompareArrowsIcon,exports.ConsoleIcon=ConsoleIcon,exports.Container=Container,exports.CopyIcon=CopyIcon,exports.CopyrightsIcon=CopyrightsIcon,exports.DLCBTC=DLCBTC,exports.Debridge=Debridge,exports.DeleteIcon=DeleteIcon,exports.DiscordIcon=DiscordIcon,exports.Dodo=Dodo,exports.DollarChipIcon=DollarChipIcon,exports.DraftIcon=DraftIcon,exports.EditIcon=EditIcon,exports.EncryptedIcon=EncryptedIcon,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.GardenIcon=GardenIcon,exports.GardenIconOutline=GardenIconOutline,exports.GardenLogo=GardenLogo,exports.GardenLogoText=GardenLogoText,exports.GardenStrokeIcon=GardenStrokeIcon,exports.GasStationIcon=GasStationIcon,exports.GiftBoxIcon=GiftBoxIcon,exports.GradientScroll=GradientScroll,exports.HorizontalSwap=HorizontalSwap,exports.HubIcon=HubIcon,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.NFTIcon=NFTIcon,exports.Opacity=Opacity,exports.OpenInFullIcon=OpenInFullIcon,exports.OpenInNewIcon=OpenInNewIcon,exports.OtterSecIcon=OtterSecIcon,exports.PageInfoIcon=PageInfoIcon,exports.PancakeSwap=PancakeSwap,exports.PasskeyIcon=PasskeyIcon,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.RaiseHandIcon=RaiseHandIcon,exports.ReferralIcon=ReferralIcon,exports.RelayLinkIcon=RelayLinkIcon,exports.RemoveIcon=RemoveIcon,exports.RollingText=RollingText,exports.Rotate360Icon=Rotate360Icon,exports.RoutingIcon=RoutingIcon,exports.RowInfoIcon=RowInfoIcon,exports.SDKIcon=SDKIcon,exports.ScaleY=ScaleY,exports.SearchIcon=SearchIcon,exports.SearchIconThin=SearchIconThin,exports.Share=Share,exports.Shine=Shine,exports.Sidebar=Sidebar,exports.Solv=Solv,exports.StakeIcon=StakeIcon,exports.StarIcon=StarIcon,exports.SwapHorizontalIcon=SwapHorizontalIcon,exports.SwellBTC=SwellBTC,exports.ThorswapIcon=ThorswapIcon,exports.TimerIcon=TimerIcon,exports.TokenInfo=TokenInfo,exports.TokenNetworkLogos=TokenNetworkLogos,exports.TraderJoe=TraderJoe,exports.TrailOfBits=TrailOfBits,exports.TrustWallet=TrustWallet,exports.Typography=Typography,exports.Unchecked=Unchecked,exports.Vertex=Vertex,exports.WalletConnect=WalletConnect,exports.WalletIcon=WalletIcon,exports.WalletIconRose=WalletIconRose,exports.WarningIcon=WarningIcon,exports.XIcon=XIcon,exports.XSolidIcon=XSolidIcon,exports.ZellicIcon=ZellicIcon,Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})});
73
+ */var Matrix=function(){var e=Math.cos,t=Math.sin,i=Math.tan,n=Math.round;function s(){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(P){if(P===0)return this;var T=e(P),k=t(P);return this._t(T,-k,0,0,k,T,0,0,0,0,1,0,0,0,0,1)}function o(P){if(P===0)return this;var T=e(P),k=t(P);return this._t(1,0,0,0,0,T,-k,0,0,k,T,0,0,0,0,1)}function l(P){if(P===0)return this;var T=e(P),k=t(P);return this._t(T,0,k,0,0,1,0,0,-k,0,T,0,0,0,0,1)}function c(P){if(P===0)return this;var T=e(P),k=t(P);return this._t(T,-k,0,0,k,T,0,0,0,0,1,0,0,0,0,1)}function u(P,T){return this._t(1,T,P,1,0,0)}function f(P,T){return this.shear(i(P),i(T))}function d(P,T){var k=e(T),j=t(T);return this._t(k,j,0,0,-j,k,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(P),1,0,0,0,0,1,0,0,0,0,1)._t(k,-j,0,0,j,k,0,0,0,0,1,0,0,0,0,1)}function p(P,T,k){return!k&&k!==0&&(k=1),P===1&&T===1&&k===1?this:this._t(P,0,0,0,0,T,0,0,0,0,k,0,0,0,0,1)}function b(P,T,k,j,W,q,X,ee,re,ce,he,me,pe,se,fe,ie){return this.props[0]=P,this.props[1]=T,this.props[2]=k,this.props[3]=j,this.props[4]=W,this.props[5]=q,this.props[6]=X,this.props[7]=ee,this.props[8]=re,this.props[9]=ce,this.props[10]=he,this.props[11]=me,this.props[12]=pe,this.props[13]=se,this.props[14]=fe,this.props[15]=ie,this}function y(P,T,k){return k=k||0,P!==0||T!==0||k!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,P,T,k,1):this}function C(P,T,k,j,W,q,X,ee,re,ce,he,me,pe,se,fe,ie){var Y=this.props;if(P===1&&T===0&&k===0&&j===0&&W===0&&q===1&&X===0&&ee===0&&re===0&&ce===0&&he===1&&me===0)return Y[12]=Y[12]*P+Y[15]*pe,Y[13]=Y[13]*q+Y[15]*se,Y[14]=Y[14]*he+Y[15]*fe,Y[15]*=ie,this._identityCalculated=!1,this;var Ee=Y[0],Le=Y[1],be=Y[2],ye=Y[3],Pe=Y[4],ve=Y[5],Ce=Y[6],xe=Y[7],we=Y[8],Se=Y[9],Te=Y[10],Re=Y[11],Me=Y[12],_e=Y[13],Ve=Y[14],je=Y[15];return Y[0]=Ee*P+Le*W+be*re+ye*pe,Y[1]=Ee*T+Le*q+be*ce+ye*se,Y[2]=Ee*k+Le*X+be*he+ye*fe,Y[3]=Ee*j+Le*ee+be*me+ye*ie,Y[4]=Pe*P+ve*W+Ce*re+xe*pe,Y[5]=Pe*T+ve*q+Ce*ce+xe*se,Y[6]=Pe*k+ve*X+Ce*he+xe*fe,Y[7]=Pe*j+ve*ee+Ce*me+xe*ie,Y[8]=we*P+Se*W+Te*re+Re*pe,Y[9]=we*T+Se*q+Te*ce+Re*se,Y[10]=we*k+Se*X+Te*he+Re*fe,Y[11]=we*j+Se*ee+Te*me+Re*ie,Y[12]=Me*P+_e*W+Ve*re+je*pe,Y[13]=Me*T+_e*q+Ve*ce+je*se,Y[14]=Me*k+_e*X+Ve*he+je*fe,Y[15]=Me*j+_e*ee+Ve*me+je*ie,this._identityCalculated=!1,this}function R(P){var T=P.props;return this.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])}function m(){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 x(P){for(var T=0;T<16;){if(P.props[T]!==this.props[T])return!1;T+=1}return!0}function g(P){var T;for(T=0;T<16;T+=1)P.props[T]=this.props[T];return P}function S(P){var T;for(T=0;T<16;T+=1)this.props[T]=P[T]}function E(P,T,k){return{x:P*this.props[0]+T*this.props[4]+k*this.props[8]+this.props[12],y:P*this.props[1]+T*this.props[5]+k*this.props[9]+this.props[13],z:P*this.props[2]+T*this.props[6]+k*this.props[10]+this.props[14]}}function M(P,T,k){return P*this.props[0]+T*this.props[4]+k*this.props[8]+this.props[12]}function L(P,T,k){return P*this.props[1]+T*this.props[5]+k*this.props[9]+this.props[13]}function _(P,T,k){return P*this.props[2]+T*this.props[6]+k*this.props[10]+this.props[14]}function I(){var P=this.props[0]*this.props[5]-this.props[1]*this.props[4],T=this.props[5]/P,k=-this.props[1]/P,j=-this.props[4]/P,W=this.props[0]/P,q=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/P,X=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/P,ee=new Matrix;return ee.props[0]=T,ee.props[1]=k,ee.props[4]=j,ee.props[5]=W,ee.props[12]=q,ee.props[13]=X,ee}function $(P){var T=this.getInverseMatrix();return T.applyToPointArray(P[0],P[1],P[2]||0)}function z(P){var T,k=P.length,j=[];for(T=0;T<k;T+=1)j[T]=$(P[T]);return j}function O(P,T,k){var j=createTypedArray("float32",6);if(this.isIdentity())j[0]=P[0],j[1]=P[1],j[2]=T[0],j[3]=T[1],j[4]=k[0],j[5]=k[1];else{var W=this.props[0],q=this.props[1],X=this.props[4],ee=this.props[5],re=this.props[12],ce=this.props[13];j[0]=P[0]*W+P[1]*X+re,j[1]=P[0]*q+P[1]*ee+ce,j[2]=T[0]*W+T[1]*X+re,j[3]=T[0]*q+T[1]*ee+ce,j[4]=k[0]*W+k[1]*X+re,j[5]=k[0]*q+k[1]*ee+ce}return j}function N(P,T,k){var j;return this.isIdentity()?j=[P,T,k]:j=[P*this.props[0]+T*this.props[4]+k*this.props[8]+this.props[12],P*this.props[1]+T*this.props[5]+k*this.props[9]+this.props[13],P*this.props[2]+T*this.props[6]+k*this.props[10]+this.props[14]],j}function K(P,T){if(this.isIdentity())return P+","+T;var k=this.props;return Math.round((P*k[0]+T*k[4]+k[12])*100)/100+","+Math.round((P*k[1]+T*k[5]+k[13])*100)/100}function B(){for(var P=0,T=this.props,k="matrix3d(",j=1e4;P<16;)k+=n(T[P]*j)/j,k+=P===15?")":",",P+=1;return k}function A(P){var T=1e4;return P<1e-6&&P>0||P>-1e-6&&P<0?n(P*T)/T:P}function V(){var P=this.props,T=A(P[0]),k=A(P[1]),j=A(P[4]),W=A(P[5]),q=A(P[12]),X=A(P[13]);return"matrix("+T+","+k+","+j+","+W+","+q+","+X+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=o,this.rotateY=l,this.rotateZ=c,this.skew=f,this.skewFromAxis=d,this.shear=u,this.scale=p,this.setTransform=b,this.translate=y,this.transform=C,this.multiply=R,this.applyToPoint=E,this.applyToX=M,this.applyToY=L,this.applyToZ=_,this.applyToPointArray=N,this.applyToTriplePoints=O,this.applyToPointStringified=K,this.toCSS=B,this.to2dCSS=V,this.clone=g,this.cloneFromProps=S,this.equals=x,this.inversePoints=z,this.inversePoint=$,this.getInverseMatrix=I,this._t=this.transform,this.isIdentity=m,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 n=t[i].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[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=n;function i(s,a){t[s]||(t[s]=a)}function n(s,a,o){return new t[s](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,n,s){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=[],l,c=a.length,u;for(l=0;l<c;l+=1)if(u=a[l],!(u.e*s<n||u.s*s>n+i)){var f,d;u.s*s<=n?f=0:f=(u.s*s-n)/i,u.e*s>=n+i?d=1:d=(u.e*s-n)/i,o.push([f,d])}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 n=this.o.v%360/360;if(n<0&&(n+=1),this.s.v>1?t=1+n:this.s.v<0?t=0+n:t=this.s.v+n,this.e.v>1?i=1+n:this.e.v<0?i=0+n:i=this.e.v+n,t>i){var s=t;t=i,i=s}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,l=this.shapes.length,c,u,f,d,p,b=0;if(i===t)for(o=0;o<l;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<l;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var y=[],C,R;for(o=0;o<l;o+=1)if(C=this.shapes[o],!C.shape._mdf&&!this._mdf&&!e&&this.m!==2)C.shape.paths=C.localShapeCollection;else{if(a=C.shape.paths,u=a._length,p=0,!C.shape._mdf&&C.pathsData.length)p=C.totalShapeLength;else{for(f=this.releasePathsData(C.pathsData),c=0;c<u;c+=1)d=bez.getSegmentsLength(a.shapes[c]),f.push(d),p+=d.totalLength;C.totalShapeLength=p,C.pathsData=f}b+=p,C.shape._mdf=!0}var m=t,x=i,g=0,S;for(o=l-1;o>=0;o-=1)if(C=this.shapes[o],C.shape._mdf){for(R=C.localShapeCollection,R.releaseShapes(),this.m===2&&l>1?(S=this.calculateShapeEdges(t,i,C.totalShapeLength,g,b),g+=C.totalShapeLength):S=[[m,x]],u=S.length,c=0;c<u;c+=1){m=S[c][0],x=S[c][1],y.length=0,x<=1?y.push({s:C.totalShapeLength*m,e:C.totalShapeLength*x}):m>=1?y.push({s:C.totalShapeLength*(m-1),e:C.totalShapeLength*(x-1)}):(y.push({s:C.totalShapeLength*m,e:C.totalShapeLength}),y.push({s:0,e:C.totalShapeLength*(x-1)}));var E=this.addShapes(C,y[0]);if(y[0].s!==y[0].e){if(y.length>1){var M=C.shape.paths.shapes[C.shape.paths._length-1];if(M.c){var L=E.pop();this.addPaths(E,R),E=this.addShapes(C,y[1],L)}else this.addPaths(E,R),E=this.addShapes(C,y[1])}this.addPaths(E,R)}}C.shape.paths=R}}},TrimModifier.prototype.addPaths=function(e,t){var i,n=e.length;for(i=0;i<n;i+=1)t.addShape(e[i])},TrimModifier.prototype.addSegment=function(e,t,i,n,s,a,o){s.setXYAt(t[0],t[1],"o",a),s.setXYAt(i[0],i[1],"i",a+1),o&&s.setXYAt(e[0],e[1],"v",a),s.setXYAt(n[0],n[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,i,n){t.setXYAt(e[1],e[5],"o",i),t.setXYAt(e[2],e[6],"i",i+1),n&&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 n=e.pathsData,s=e.shape.paths.shapes,a,o=e.shape.paths._length,l,c,u=0,f,d,p,b,y=[],C,R=!0;for(i?(d=i._length,C=i._length):(i=shapePool.newElement(),d=0,C=0),y.push(i),a=0;a<o;a+=1){for(p=n[a].lengths,i.c=s[a].c,c=s[a].c?p.length:p.length+1,l=1;l<c;l+=1)if(f=p[l-1],u+f.addedLength<t.s)u+=f.addedLength,i.c=!1;else if(u>t.e){i.c=!1;break}else t.s<=u&&t.e>=u+f.addedLength?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[l],s[a].v[l],i,d,R),R=!1):(b=bez.getNewSegment(s[a].v[l-1],s[a].v[l],s[a].o[l-1],s[a].i[l],(t.s-u)/f.addedLength,(t.e-u)/f.addedLength,p[l-1]),this.addSegmentFromArray(b,i,d,R),R=!1,i.c=!1),u+=f.addedLength,d+=1;if(s[a].c&&p.length){if(f=p[l-1],u<=t.e){var m=p[l-1].addedLength;t.s<=u&&t.e>=u+m?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[0],s[a].v[0],i,d,R),R=!1):(b=bez.getNewSegment(s[a].v[l-1],s[a].v[0],s[a].o[l-1],s[a].i[0],(t.s-u)/m,(t.e-u)/m,p[l-1]),this.addSegmentFromArray(b,i,d,R),R=!1,i.c=!1)}else i.c=!1;u+=f.addedLength,d+=1}if(i._length&&(i.setXYAt(i.v[C][0],i.v[C][1],"i",C),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),u>t.e)break;a<o-1&&(i=shapePool.newElement(),R=!0,y.push(i),d=0)}return y};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,n=[0,0],s=e._length,a=0;for(a=0;a<s;a+=1)n[0]+=e.v[a][0],n[1]+=e.v[a][1];n[0]/=s,n[1]/=s;var o=shapePool.newElement();o.c=e.c;var l,c,u,f,d,p;for(a=0;a<s;a+=1)l=e.v[a][0]+(n[0]-e.v[a][0])*i,c=e.v[a][1]+(n[1]-e.v[a][1])*i,u=e.o[a][0]+(n[0]-e.o[a][0])*-i,f=e.o[a][1]+(n[1]-e.o[a][1])*-i,d=e.i[a][0]+(n[0]-e.i[a][0])*-i,p=e.i[a][1]+(n[1]-e.i[a][1])*-i,o.setTripleAt(l,c,u,f,d,p,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,i,n=this.shapes.length,s,a,o=this.amount.v;if(o!==0){var l,c;for(i=0;i<n;i+=1){if(l=this.shapes[i],c=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(c.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,a=l.shape.paths._length,s=0;s<a;s+=1)c.addShape(this.processPath(t[s],o));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(c){var u=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||u,this.a&&c.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&c.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&c.skewFromAxis(-this.sk.v,this.sa.v),this.r?c.rotate(-this.r.v):c.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?c.translate(this.px.v,this.py.v,-this.pz.v):c.translate(this.px.v,this.py.v,0):c.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(c){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||c){var u;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 f,d;if(u=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(f=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/u,0),d=this.p.getValueAtTime(this.p.keyframes[0].t/u,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(f=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/u,0),d=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/u,0)):(f=this.p.pv,d=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/u,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){f=[],d=[];var p=this.px,b=this.py;p._caching.lastFrame+p.offsetTime<=p.keyframes[0].t?(f[0]=p.getValueAtTime((p.keyframes[0].t+.01)/u,0),f[1]=b.getValueAtTime((b.keyframes[0].t+.01)/u,0),d[0]=p.getValueAtTime(p.keyframes[0].t/u,0),d[1]=b.getValueAtTime(b.keyframes[0].t/u,0)):p._caching.lastFrame+p.offsetTime>=p.keyframes[p.keyframes.length-1].t?(f[0]=p.getValueAtTime(p.keyframes[p.keyframes.length-1].t/u,0),f[1]=b.getValueAtTime(b.keyframes[b.keyframes.length-1].t/u,0),d[0]=p.getValueAtTime((p.keyframes[p.keyframes.length-1].t-.01)/u,0),d[1]=b.getValueAtTime((b.keyframes[b.keyframes.length-1].t-.01)/u,0)):(f=[p.pv,b.pv],d[0]=p.getValueAtTime((p._caching.lastFrame+p.offsetTime-.01)/u,p.offsetTime),d[1]=b.getValueAtTime((b._caching.lastFrame+b.offsetTime-.01)/u,b.offsetTime))}else d=e,f=d;this.v.rotate(-Math.atan2(f[1]-d[1],f[0]-d[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 n(){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 s(){}function a(c){this._addDynamicProperty(c),this.elem.addDynamicProperty(c),this._isDirty=!0}function o(c,u,f){if(this.elem=c,this.frameId=-1,this.propType="transform",this.data=u,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(f||c),u.p&&u.p.s?(this.px=PropertyFactory.getProp(c,u.p.x,0,0,this),this.py=PropertyFactory.getProp(c,u.p.y,0,0,this),u.p.z&&(this.pz=PropertyFactory.getProp(c,u.p.z,0,0,this))):this.p=PropertyFactory.getProp(c,u.p||{k:[0,0,0]},1,0,this),u.rx){if(this.rx=PropertyFactory.getProp(c,u.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(c,u.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(c,u.rz,0,degToRads,this),u.or.k[0].ti){var d,p=u.or.k.length;for(d=0;d<p;d+=1)u.or.k[d].to=null,u.or.k[d].ti=null}this.or=PropertyFactory.getProp(c,u.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(c,u.r||{k:0},0,degToRads,this);u.sk&&(this.sk=PropertyFactory.getProp(c,u.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(c,u.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(c,u.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(c,u.s||{k:[100,100,100]},1,.01,this),u.o?this.o=PropertyFactory.getProp(c,u.o,0,.01,c):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}o.prototype={applyToMatrix:t,getValue:i,precalculateMatrix:n,autoOrient:s},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function l(c,u,f){return new o(c,u,f)}return{getTransformProperty:l}}();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,n,s,a){var o=a?-1:1,l=n.s.v[0]+(1-n.s.v[0])*(1-s),c=n.s.v[1]+(1-n.s.v[1])*(1-s);e.translate(n.p.v[0]*o*s,n.p.v[1]*o*s,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*o*s),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),i.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),i.scale(a?1/l:l,a?1/c:c),i.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,i,n){for(this.elem=e,this.arr=t,this.pos=i,this.elemsData=n,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,n=e.length;for(i=0;i<n;i+=1)e[i]._render=t,e[i].ty==="gr"&&this.changeGroupRender(e[i].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,i,n,s,a,o=!1;if(this._mdf||e){var l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.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,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}a=0;var u;for(n=0;n<=this._groups.length-1;n+=1){if(u=a<l,this._groups[n]._render=u,this.changeGroupRender(this._groups[n].it,u),!u){var f=this.elemsData[n].it,d=f[f.length-1];d.transform.op.v!==0?(d.transform.op._mdf=!0,d.transform.op.v=0):d.transform.op._mdf=!1}a+=1}this._currentCopies=l;var p=this.o.v,b=p%1,y=p>0?Math.floor(p):Math.ceil(p),C=this.pMatrix.props,R=this.rMatrix.props,m=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var x=0;if(p>0){for(;x<y;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,b,!1),x+=b)}else if(p<0){for(;x>y;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-b,!0),x-=b)}n=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var g,S;a;){if(t=this.elemsData[n].it,i=t[t.length-1].transform.mProps.v.props,S=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)*(n/(this._currentCopies-1)),x!==0){for((n!==0&&s===1||n!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(R[0],R[1],R[2],R[3],R[4],R[5],R[6],R[7],R[8],R[9],R[10],R[11],R[12],R[13],R[14],R[15]),this.matrix.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]),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),g=0;g<S;g+=1)i[g]=this.matrix.props[g];this.matrix.reset()}else for(this.matrix.reset(),g=0;g<S;g+=1)i[g]=this.matrix.props[g];x+=1,a-=1,n+=s}}else for(a=this._currentCopies,n=0,s=1;a;)t=this.elemsData[n].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,n+=s;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 n,s=e._length,a,o,l,c,u,f,d=0,p,b,y,C,R,m;for(n=0;n<s;n+=1)a=e.v[n],l=e.o[n],o=e.i[n],a[0]===l[0]&&a[1]===l[1]&&a[0]===o[0]&&a[1]===o[1]?(n===0||n===s-1)&&!e.c?(i.setTripleAt(a[0],a[1],l[0],l[1],o[0],o[1],d),d+=1):(n===0?c=e.v[s-1]:c=e.v[n-1],u=Math.sqrt(Math.pow(a[0]-c[0],2)+Math.pow(a[1]-c[1],2)),f=u?Math.min(u/2,t)/u:0,R=a[0]+(c[0]-a[0])*f,p=R,m=a[1]-(a[1]-c[1])*f,b=m,y=p-(p-a[0])*roundCorner,C=b-(b-a[1])*roundCorner,i.setTripleAt(p,b,y,C,R,m,d),d+=1,n===s-1?c=e.v[0]:c=e.v[n+1],u=Math.sqrt(Math.pow(a[0]-c[0],2)+Math.pow(a[1]-c[1],2)),f=u?Math.min(u/2,t)/u:0,y=a[0]+(c[0]-a[0])*f,p=y,C=a[1]+(c[1]-a[1])*f,b=C,R=p-(p-a[0])*roundCorner,m=b-(b-a[1])*roundCorner,i.setTripleAt(p,b,y,C,R,m,d),d+=1):(i.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],d),d+=1);return i},RoundCornersModifier.prototype.processShapes=function(e){var t,i,n=this.shapes.length,s,a,o=this.rd.v;if(o!==0){var l,c;for(i=0;i<n;i+=1){if(l=this.shapes[i],c=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(c.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,a=l.shape.paths._length,s=0;s<a;s+=1)c.addShape(this.processPath(t[s],o));l.shape.paths=l.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 n=t*t-4*e*i;if(n<0)return[];var s=-t/(2*e);if(n===0)return[s];var a=Math.sqrt(n)/(2*e);return[s-a,s+a]}function polynomialCoefficients(e,t,i,n){return[-e+3*t-3*i+n,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,n,s){s&&pointEqual(e,t)&&(t=lerpPoint(e,n,1/3)),s&&pointEqual(i,n)&&(i=lerpPoint(e,n,2/3));var a=polynomialCoefficients(e[0],t[0],i[0],n[0]),o=polynomialCoefficients(e[1],t[1],i[1],n[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,n]}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 n=Math.sqrt(i);return floatZero(n)?n>0&&n<1?[t]:[]:[t-n,t+n].filter(function(s){return s>0&&s<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),n=lerpPoint(this.points[2],this.points[3],e),s=lerpPoint(t,i,e),a=lerpPoint(i,n,e),o=lerpPoint(s,a,e);return[new PolynomialBezier(this.points[0],t,s,o,!0),new PolynomialBezier(o,a,n,this.points[3],!0)]};function extrema(e,t){var i=e.points[0][t],n=e.points[e.points.length-1][t];if(i>n){var s=n;n=i,i=s}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 l=e.point(a[o])[t];l<i?i=l:l>n&&(n=l)}return{min:i,max:n}}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 n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.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,n,s,a){if(boxIntersect(e,t)){if(i>=a||e.width<=n&&e.height<=n&&t.width<=n&&t.height<=n){s.push([e.t,t.t]);return}var o=splitData(e),l=splitData(t);intersectsImpl(o[0],l[0],i+1,n,s,a),intersectsImpl(o[0],l[1],i+1,n,s,a),intersectsImpl(o[1],l[0],i+1,n,s,a),intersectsImpl(o[1],l[1],i+1,n,s,a)}}PolynomialBezier.prototype.intersections=function(e,t,i){t===void 0&&(t=2),i===void 0&&(i=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,i),n},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,n){var s=[e[0],e[1],1],a=[t[0],t[1],1],o=[i[0],i[1],1],l=[n[0],n[1],1],c=crossProduct(crossProduct(s,a),crossProduct(o,l));return floatZero(c[2])?null:[c[0]/c[2],c[1]/c[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,n,s,a,o){var l=i-Math.PI/2,c=i+Math.PI/2,u=t[0]+Math.cos(i)*n*s,f=t[1]-Math.sin(i)*n*s;e.setTripleAt(u,f,u+Math.cos(l)*a,f-Math.sin(l)*a,u+Math.cos(c)*o,f-Math.sin(c)*o,e.length())}function getPerpendicularVector(e,t){var i=[t[0]-e[0],t[1]-e[1]],n=-Math.PI*.5,s=[Math.cos(n)*i[0]-Math.sin(n)*i[1],Math.sin(n)*i[0]+Math.cos(n)*i[1]];return s}function getProjectingAngle(e,t){var i=t===0?e.length()-1:t-1,n=(t+1)%e.length(),s=e.v[i],a=e.v[n],o=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(e,t,i,n,s,a,o){var l=getProjectingAngle(t,i),c=t.v[i%t._length],u=t.v[i===0?t._length-1:i-1],f=t.v[(i+1)%t._length],d=a===2?Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)):0,p=a===2?Math.sqrt(Math.pow(c[0]-f[0],2)+Math.pow(c[1]-f[1],2)):0;setPoint(e,t.v[i%t._length],l,o,n,p/((s+1)*2),d/((s+1)*2))}function zigZagSegment(e,t,i,n,s,a){for(var o=0;o<n;o+=1){var l=(o+1)/(n+1),c=s===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,u=t.normalAngle(l),f=t.point(l);setPoint(e,f,u,a,i,c/((n+1)*2),c/((n+1)*2)),a=-a}return a}ZigZagModifier.prototype.processPath=function(e,t,i,n){var s=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(s-=1),s===0)return a;var o=-1,l=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,i,n,o);for(var c=0;c<s;c+=1)o=zigZagSegment(a,l,t,i,n,-o),c===s-1&&!e.c?l=null:l=PolynomialBezier.shapeSegment(e,(c+1)%s),zigZagCorner(a,e,c+1,t,i,n,o);return a},ZigZagModifier.prototype.processShapes=function(e){var t,i,n=this.shapes.length,s,a,o=this.amplitude.v,l=Math.max(0,Math.round(this.frequency.v)),c=this.pointsType.v;if(o!==0){var u,f;for(i=0;i<n;i+=1){if(u=this.shapes[i],f=u.localShapeCollection,!(!u.shape._mdf&&!this._mdf&&!e))for(f.releaseShapes(),u.shape._mdf=!0,t=u.shape.paths.shapes,a=u.shape.paths._length,s=0;s<a;s+=1)f.addShape(this.processPath(t[s],o,l,c));u.shape.paths=u.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,i){var n=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,n,i),polarOffset(t,n,i)]}function offsetSegment(e,t){var i,n,s,a,o,l,c;c=linearOffset(e.points[0],e.points[1],t),i=c[0],n=c[1],c=linearOffset(e.points[1],e.points[2],t),s=c[0],a=c[1],c=linearOffset(e.points[2],e.points[3],t),o=c[0],l=c[1];var u=lineIntersection(i,n,s,a);u===null&&(u=n);var f=lineIntersection(o,l,s,a);return f===null&&(f=o),new PolynomialBezier(i,u,f,l)}function joinLines(e,t,i,n,s){var a=t.points[3],o=i.points[0];if(n===3||pointEqual(a,o))return a;if(n===2){var l=-t.tangentAngle(1),c=-i.tangentAngle(0)+Math.PI,u=lineIntersection(a,polarOffset(a,l+Math.PI/2,100),o,polarOffset(o,l+Math.PI/2,100)),f=u?pointDistance(u,a):pointDistance(a,o)/2,d=polarOffset(a,l,2*f*roundCorner);return e.setXYAt(d[0],d[1],"o",e.length()-1),d=polarOffset(o,c,2*f*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],d[0],d[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],y=lineIntersection(p,a,o,b);return y&&pointDistance(y,a)<s?(e.setTripleAt(y[0],y[1],y[0],y[1],y[0],y[1],e.length()),y):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(),n=t.slice(),s=getIntersection(e[e.length-1],t[0]);return s&&(i[e.length-1]=e[e.length-1].split(s[0])[0],n[0]=t[0].split(s[1])[1]),e.length>1&&t.length>1&&(s=getIntersection(e[0],t[t.length-1]),s)?[[e[0].split(s[0])[0]],[t[t.length-1].split(s[1])[1]]]:[i,n]}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(),n,s,a,o;if(i.length===0)return[offsetSegment(e,t)];if(i.length===1||floatEqual(i[1],1))return a=e.split(i[0]),n=a[0],s=a[1],[offsetSegment(n,t),offsetSegment(s,t)];a=e.split(i[0]),n=a[0];var l=(i[1]-i[0])/(1-i[0]);return a=a[1].split(l),o=a[0],s=a[1],[offsetSegment(n,t),offsetSegment(o,t),offsetSegment(s,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,n){var s=shapePool.newElement();s.c=e.c;var a=e.length();e.c||(a-=1);var o,l,c,u=[];for(o=0;o<a;o+=1)c=PolynomialBezier.shapeSegment(e,o),u.push(offsetSegmentSplit(c,t));if(!e.c)for(o=a-1;o>=0;o-=1)c=PolynomialBezier.shapeSegmentInverted(e,o),u.push(offsetSegmentSplit(c,t));u=pruneIntersections(u);var f=null,d=null;for(o=0;o<u.length;o+=1){var p=u[o];for(d&&(f=joinLines(s,d,p[0],i,n)),d=p[p.length-1],l=0;l<p.length;l+=1)c=p[l],f&&pointEqual(c.points[0],f)?s.setXYAt(c.points[1][0],c.points[1][1],"o",s.length()-1):s.setTripleAt(c.points[0][0],c.points[0][1],c.points[1][0],c.points[1][1],c.points[0][0],c.points[0][1],s.length()),s.setTripleAt(c.points[3][0],c.points[3][1],c.points[3][0],c.points[3][1],c.points[2][0],c.points[2][1],s.length()),f=c.points[3]}return u.length&&joinLines(s,d,u[0][0],i,n),s},OffsetPathModifier.prototype.processShapes=function(e){var t,i,n=this.shapes.length,s,a,o=this.amount.v,l=this.miterLimit.v,c=this.lineJoin;if(o!==0){var u,f;for(i=0;i<n;i+=1){if(u=this.shapes[i],f=u.localShapeCollection,!(!u.shape._mdf&&!this._mdf&&!e))for(f.releaseShapes(),u.shape._mdf=!0,t=u.shape.paths.shapes,a=u.shape.paths._length,s=0;s<a;s+=1)f.addShape(this.processPath(t[s],o,c,l));u.shape.paths=u.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],i="normal",n="normal",s=t.length,a,o=0;o<s;o+=1)switch(a=t[o].toLowerCase(),a){case"italic":n="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:n,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 n=127988,s=917631,a=917601,o=917626,l=65039,c=8205,u=127462,f=127487,d=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function p(A){var V=A.split(","),P,T=V.length,k=[];for(P=0;P<T;P+=1)V[P]!=="sans-serif"&&V[P]!=="monospace"&&k.push(V[P]);return k.join(",")}function b(A,V){var P=createTag("span");P.setAttribute("aria-hidden",!0),P.style.fontFamily=V;var T=createTag("span");T.innerText="giItT1WQy@!-/#",P.style.position="absolute",P.style.left="-10000px",P.style.top="-10000px",P.style.fontSize="300px",P.style.fontVariant="normal",P.style.fontStyle="normal",P.style.fontWeight="normal",P.style.letterSpacing="0",P.appendChild(T),document.body.appendChild(P);var k=T.offsetWidth;return T.style.fontFamily=p(A)+", "+V,{node:T,w:k,parent:P}}function y(){var A,V=this.fonts.length,P,T,k=V;for(A=0;A<V;A+=1)this.fonts[A].loaded?k-=1:this.fonts[A].fOrigin==="n"||this.fonts[A].origin===0?this.fonts[A].loaded=!0:(P=this.fonts[A].monoCase.node,T=this.fonts[A].monoCase.w,P.offsetWidth!==T?(k-=1,this.fonts[A].loaded=!0):(P=this.fonts[A].sansCase.node,T=this.fonts[A].sansCase.w,P.offsetWidth!==T&&(k-=1,this.fonts[A].loaded=!0)),this.fonts[A].loaded&&(this.fonts[A].sansCase.parent.parentNode.removeChild(this.fonts[A].sansCase.parent),this.fonts[A].monoCase.parent.parentNode.removeChild(this.fonts[A].monoCase.parent)));k!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function C(A,V){var P=document.body&&V?"svg":"canvas",T,k=getFontProperties(A);if(P==="svg"){var j=createNS("text");j.style.fontSize="100px",j.setAttribute("font-family",A.fFamily),j.setAttribute("font-style",k.style),j.setAttribute("font-weight",k.weight),j.textContent="1",A.fClass?(j.style.fontFamily="inherit",j.setAttribute("class",A.fClass)):j.style.fontFamily=A.fFamily,V.appendChild(j),T=j}else{var W=new OffscreenCanvas(500,500).getContext("2d");W.font=k.style+" "+k.weight+" 100px "+A.fFamily,T=W}function q(X){return P==="svg"?(T.textContent=X,T.getComputedTextLength()):T.measureText(X).width}return{measureText:q}}function R(A,V){if(!A){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=A.list;return}if(!document.body){this.isLoaded=!0,A.list.forEach(function(he){he.helper=C(he),he.cache={}}),this.fonts=A.list;return}var P=A.list,T,k=P.length,j=k;for(T=0;T<k;T+=1){var W=!0,q,X;if(P[T].loaded=!1,P[T].monoCase=b(P[T].fFamily,"monospace"),P[T].sansCase=b(P[T].fFamily,"sans-serif"),!P[T].fPath)P[T].loaded=!0,j-=1;else if(P[T].fOrigin==="p"||P[T].origin===3){if(q=document.querySelectorAll('style[f-forigin="p"][f-family="'+P[T].fFamily+'"], style[f-origin="3"][f-family="'+P[T].fFamily+'"]'),q.length>0&&(W=!1),W){var ee=createTag("style");ee.setAttribute("f-forigin",P[T].fOrigin),ee.setAttribute("f-origin",P[T].origin),ee.setAttribute("f-family",P[T].fFamily),ee.type="text/css",ee.innerText="@font-face {font-family: "+P[T].fFamily+"; font-style: normal; src: url('"+P[T].fPath+"');}",V.appendChild(ee)}}else if(P[T].fOrigin==="g"||P[T].origin===1){for(q=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),X=0;X<q.length;X+=1)q[X].href.indexOf(P[T].fPath)!==-1&&(W=!1);if(W){var re=createTag("link");re.setAttribute("f-forigin",P[T].fOrigin),re.setAttribute("f-origin",P[T].origin),re.type="text/css",re.rel="stylesheet",re.href=P[T].fPath,document.body.appendChild(re)}}else if(P[T].fOrigin==="t"||P[T].origin===2){for(q=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),X=0;X<q.length;X+=1)P[T].fPath===q[X].src&&(W=!1);if(W){var ce=createTag("link");ce.setAttribute("f-forigin",P[T].fOrigin),ce.setAttribute("f-origin",P[T].origin),ce.setAttribute("rel","stylesheet"),ce.setAttribute("href",P[T].fPath),V.appendChild(ce)}}P[T].helper=C(P[T],V),P[T].cache={},this.fonts.push(P[T])}j===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function m(A){if(A){this.chars||(this.chars=[]);var V,P=A.length,T,k=this.chars.length,j;for(V=0;V<P;V+=1){for(T=0,j=!1;T<k;)this.chars[T].style===A[V].style&&this.chars[T].fFamily===A[V].fFamily&&this.chars[T].ch===A[V].ch&&(j=!0),T+=1;j||(this.chars.push(A[V]),k+=1)}}}function x(A,V,P){for(var T=0,k=this.chars.length;T<k;){if(this.chars[T].ch===A&&this.chars[T].style===V&&this.chars[T].fFamily===P)return this.chars[T];T+=1}return(typeof A=="string"&&A.charCodeAt(0)!==13||!A)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",A,V,P)),t}function g(A,V,P){var T=this.getFontByName(V),k=A;if(!T.cache[k]){var j=T.helper;if(A===" "){var W=j.measureText("|"+A+"|"),q=j.measureText("||");T.cache[k]=(W-q)/100}else T.cache[k]=j.measureText(A)/100}return T.cache[k]*P}function S(A){for(var V=0,P=this.fonts.length;V<P;){if(this.fonts[V].fName===A)return this.fonts[V];V+=1}return this.fonts[0]}function E(A){var V=0,P=A.charCodeAt(0);if(P>=55296&&P<=56319){var T=A.charCodeAt(1);T>=56320&&T<=57343&&(V=(P-55296)*1024+T-56320+65536)}return V}function M(A,V){var P=A.toString(16)+V.toString(16);return d.indexOf(P)!==-1}function L(A){return A===c}function _(A){return A===l}function I(A){var V=E(A);return V>=u&&V<=f}function $(A){return I(A.substr(0,2))&&I(A.substr(2,2))}function z(A){return i.indexOf(A)!==-1}function O(A,V){var P=E(A.substr(V,2));if(P!==n)return!1;var T=0;for(V+=2;T<5;){if(P=E(A.substr(V,2)),P<a||P>o)return!1;T+=1,V+=2}return E(A.substr(V,2))===s}function N(){this.isLoaded=!0}var K=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)};K.isModifier=M,K.isZeroWidthJoiner=L,K.isFlagEmoji=$,K.isRegionalCode=I,K.isCombinedCharacter=z,K.isRegionalFlag=O,K.isVariationSelector=_,K.BLACK_FLAG_CODE_POINT=n;var B={addChars:m,addFonts:R,getCharData:x,getFontByName:S,measureText:g,checkLoadedFonts:y,setIsLoaded:N};return K.prototype=B,K}();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 n,s=i.length,a;for(n=0;n<s;n+=1)a=new GroupEffect(i[n],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,n=this.data.ef.length,s,a=this.data.ef;for(i=0;i<n;i+=1){switch(s=null,a[i].ty){case 0:s=new SliderEffect(a[i],t,this);break;case 1:s=new AngleEffect(a[i],t,this);break;case 2:s=new ColorEffect(a[i],t,this);break;case 3:s=new PointEffect(a[i],t,this);break;case 4:case 7:s=new CheckboxEffect(a[i],t,this);break;case 10:s=new LayerIndexEffect(a[i],t,this);break;case 11:s=new MaskIndexEffect(a[i],t,this);break;case 5:s=new EffectsManager(a[i],t);break;default:s=new NoValueEffect(a[i]);break}s&&this.effectElements.push(s)}};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"),n=t("effects"),s=t("shape"),a=t("text"),o=t("comp");this.layerInterface=i(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var l=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(l),this.data.ty===0||this.data.xt?this.compInterface=o(this):this.data.ty===4?(this.layerInterface.shapeInterface=s(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,n){this.globalData=i,this.comp=n,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 n,s=this.dynamicProperties.length;for(n=0;n<s;n+=1)(i||this._isParent&&this.dynamicProperties[n].propType==="transform")&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._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 n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),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,n;for(this.completeLayers=!0,t=i-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t],n.ip-n.st<=e-this.layers[t].st&&n.op-n.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,n,s=this.layers.length;for(t=0;t<i;t+=1)for(n=0;n<s;){if(this.layers[n].id===e[t].id){this.layers[n]=e[t];break}n+=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 n=this.elements,s=this.layers,a=0,o=s.length;a<o;)s[a].ind==t&&(!n[a]||n[a]===!0?(this.buildItem(a),this.addPendingElement(e)):(i.push(n[a]),n[a].setAsParent(),s[a].parent!==void 0?this.buildElementParenting(e,s[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 n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},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 n,s=this.elements.length;for(n=0;n<s;n+=1)if(this.elements[n].data.nm===t){i=this.elements[n];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,n=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<s;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,i.cloneFromProps(t),n=0;n<s;n+=1)i.multiply(this.hierarchy[n].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 n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),t=1;t<i;t+=1){var s=this.localTransforms[t].matrix;n.multiply(s)}n.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,n=t.length;for(i=0;i<n;i+=1)this.localTransforms.push(t[i])}}},globalToLocal:function(t){var i=[];i.push(this.finalTransform);for(var n=!0,s=this.comp;n;)s.finalTransform?(s.data.hasMask&&i.splice(0,0,s.finalTransform),s=s.comp):n=!1;var a,o=i.length,l;for(a=0;a<o;a+=1)l=i[a].mat.applyToPointArray(0,0,0),t=[t[0]-l[0],t[1]-l[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 n=this.globalData.defs,s,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,l=this.masksProperties,c=0,u=[],f,d,p=createElementID(),b,y,C,R,m="clipPath",x="clip-path";for(s=0;s<a;s+=1)if((l[s].mode!=="a"&&l[s].mode!=="n"||l[s].inv||l[s].o.k!==100||l[s].o.x)&&(m="mask",x="mask"),(l[s].mode==="s"||l[s].mode==="i")&&c===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),u.push(b)):b=null,o=createNS("path"),l[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,l[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[s],3),elem:o,lastPath:""},n.appendChild(o);else{c+=1,o.setAttribute("fill",l[s].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var g;if(l[s].x.k!==0?(m="mask",x="mask",R=PropertyFactory.getProp(this.element,l[s].x,0,null,this.element),g=createElementID(),y=createNS("filter"),y.setAttribute("id",g),C=createNS("feMorphology"),C.setAttribute("operator","erode"),C.setAttribute("in","SourceGraphic"),C.setAttribute("radius","0"),y.appendChild(C),n.appendChild(y),o.setAttribute("stroke",l[s].mode==="s"?"#000000":"#ffffff")):(C=null,R=null),this.storedData[s]={elem:o,x:R,expan:C,lastPath:"",lastOperator:"",filterId:g,lastRadius:0},l[s].mode==="i"){d=u.length;var S=createNS("g");for(f=0;f<d;f+=1)S.appendChild(u[f]);var E=createNS("mask");E.setAttribute("mask-type","alpha"),E.setAttribute("id",p+"_"+c),E.appendChild(o),n.appendChild(E),S.setAttribute("mask","url("+getLocationHref()+"#"+p+"_"+c+")"),u.length=0,u.push(S)}else u.push(o);l[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,l[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[s],3),invRect:b},this.viewData[s].prop.k||this.drawPath(l[s],this.viewData[s].prop.v,this.viewData[s])}for(this.maskElement=createNS(m),a=u.length,s=0;s<a;s+=1)this.maskElement.appendChild(u[s]);c>0&&(this.maskElement.setAttribute("id",p),this.element.maskedElement.setAttribute(x,"url("+getLocationHref()+"#"+p+")"),n.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,n=this.masksProperties.length;for(i=0;i<n;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 s=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+")")),s.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 n=" M"+t.v[0][0]+","+t.v[0][1],s,a;for(a=t._length,s=1;s<a;s+=1)n+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[s][0]+","+t.i[s][1]+" "+t.v[s][0]+","+t.v[s][1];if(t.c&&a>1&&(n+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),i.lastPath!==n){var o="";i.elem&&(t.c&&(o=e.inv?this.solidPath+n:n),i.elem.setAttribute("d",o)),i.lastPath=n}},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(n,s){var a=createNS("filter");return a.setAttribute("id",n),s!==!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 n=createNS("feColorMatrix");return n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),n}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",n=e.data.ef?e.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),o=0;this.filters=[];var l;for(t=0;t<n;t+=1){l=null;var c=e.data.ef[t].ty;if(registeredEffects$1[c]){var u=registeredEffects$1[c].effect;l=new u(a,e.effectsManager.effectElements[t],e,idPrefix+o,i),i=idPrefix+o,registeredEffects$1[c].countsAsEffect&&(o+=1)}l&&this.filters.push(l)}o&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),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,n=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n};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 n=createNS("clipPath"),s=createNS("path");s.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(n.setAttribute("id",a),n.appendChild(s),this.globalData.defs.appendChild(n),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,n,s,a,o;if(t===1||t===3){var l=createNS("mask");l.setAttribute("id",i),l.setAttribute("mask-type",t===3?"luminance":"alpha"),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(a),this.globalData.defs.appendChild(l),!featureSupport.maskType&&t===1&&(l.setAttribute("mask-type","luminance"),n=createElementID(),s=filtersFactory.createFilter(n),this.globalData.defs.appendChild(s),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),o.appendChild(a),l.appendChild(o),o.setAttribute("filter","url("+getLocationHref()+"#"+n+")"))}else if(t===2){var c=createNS("mask");c.setAttribute("id",i),c.setAttribute("mask-type","alpha");var u=createNS("g");c.appendChild(u),n=createElementID(),s=filtersFactory.createFilter(n);var f=createNS("feComponentTransfer");f.setAttribute("in","SourceGraphic"),s.appendChild(f);var d=createNS("feFuncA");d.setAttribute("type","table"),d.setAttribute("tableValues","1.0 0.0"),f.appendChild(d),this.globalData.defs.appendChild(s);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"),u.setAttribute("filter","url("+getLocationHref()+"#"+n+")"),u.appendChild(p),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),u.appendChild(a),featureSupport.maskType||(c.setAttribute("mask-type","luminance"),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),u.appendChild(p),o.appendChild(this.layerElement),u.appendChild(o)),this.globalData.defs.appendChild(c)}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,n,s){this.initFrame(),this.initBaseData(i,n,s),this.initTransform(i,n,s),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,n=this.shapeModifiers.length;for(i=0;i<n;i+=1)this.shapeModifiers[i].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var i=0,n=this.shapeModifiers.length;i<n;)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 n;for(t=i-1;t>=0&&(n=this.shapeModifiers[t].processShapes(this._isFirstFrame),!n);t-=1);}},searchProcessedElement:function(t){for(var i=this.processedElements,n=0,s=i.length;n<s;){if(i[n].elem===t)return i[n].pos;n+=1}return 0},addProcessedElement:function(t,i){for(var n=this.processedElements,s=n.length;s;)if(s-=1,n[s].elem===t){n[s].pos=i;return}n.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 n=0,s=e.length;n<s;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=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,n){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(n);var s,a=t.length||0,o;for(s=0;s<a;s+=1)o=PropertyFactory.getProp(e,t[s].v,0,0,this),this.k=o.k||this.k,this.dataProps[s]={n:t[s].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 n=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",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,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,n=this.o.length/2,s;i<n;){if(s=Math.abs(e[i*4]-e[t*4+i*2]),s>.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,n,s;for(t=0;t<i;t+=1)n=t%4===0?100:255,s=Math.round(this.prop.v[t]*n),this.c[t]!==s&&(this.c[t]=s,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=this.data.p*4;t<i;t+=1)n=t%2===0?100:1,s=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==s&&(this.o[t-this.data.p*4]=s,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(),n=createNS(t.t===1?"linearGradient":"radialGradient");n.setAttribute("id",i),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var s=[],a,o,l;for(l=t.g.p*4,o=0;o<l;o+=4)a=createNS("stop"),n.appendChild(a),s.push(a);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=n,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var i,n,s,a=createNS("mask"),o=createNS("path");a.appendChild(o);var l=createElementID(),c=createElementID();a.setAttribute("id",c);var u=createNS(e.t===1?"linearGradient":"radialGradient");u.setAttribute("id",l),u.setAttribute("spreadMethod","pad"),u.setAttribute("gradientUnits","userSpaceOnUse"),s=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var f=this.stops;for(n=e.g.p*4;n<s;n+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),u.appendChild(i),f.push(i);o.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+l+")"),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=u,this.ms=a,this.ost=f,this.maskId=c,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,n,s){if(i===0)return"";var a=t.o,o=t.i,l=t.v,c,u=" M"+s.applyToPointStringified(l[0][0],l[0][1]);for(c=1;c<i;c+=1)u+=" C"+s.applyToPointStringified(a[c-1][0],a[c-1][1])+" "+s.applyToPointStringified(o[c][0],o[c][1])+" "+s.applyToPointStringified(l[c][0],l[c][1]);return n&&i&&(u+=" C"+s.applyToPointStringified(a[c-1][0],a[c-1][1])+" "+s.applyToPointStringified(o[0][0],o[0][1])+" "+s.applyToPointStringified(l[0][0],l[0][1]),u+="z"),u},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,i={createRenderFunction:n};function n(d){switch(d.ty){case"fl":return l;case"gf":return u;case"gs":return c;case"st":return f;case"sh":case"el":case"rc":case"sr":return o;case"tr":return s;case"no":return a;default:return null}}function s(d,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(d,p,b){var y,C,R,m,x,g,S=p.styles.length,E=p.lvl,M,L,_,I;for(g=0;g<S;g+=1){if(m=p.sh._mdf||b,p.styles[g].lvl<E){for(L=t.reset(),_=E-p.styles[g].lvl,I=p.transformers.length-1;!m&&_>0;)m=p.transformers[I].mProps._mdf||m,_-=1,I-=1;if(m)for(_=E-p.styles[g].lvl,I=p.transformers.length-1;_>0;)L.multiply(p.transformers[I].mProps.v),_-=1,I-=1}else L=e;if(M=p.sh.paths,C=M._length,m){for(R="",y=0;y<C;y+=1)x=M.shapes[y],x&&x._length&&(R+=buildShapeString(x,x._length,x.c,L));p.caches[g]=R}else R=p.caches[g];p.styles[g].d+=d.hd===!0?"":R,p.styles[g]._mdf=m||p.styles[g]._mdf}}function l(d,p,b){var y=p.style;(p.c._mdf||b)&&y.pElem.setAttribute("fill","rgb("+bmFloor(p.c.v[0])+","+bmFloor(p.c.v[1])+","+bmFloor(p.c.v[2])+")"),(p.o._mdf||b)&&y.pElem.setAttribute("fill-opacity",p.o.v)}function c(d,p,b){u(d,p,b),f(d,p,b)}function u(d,p,b){var y=p.gf,C=p.g._hasOpacity,R=p.s.v,m=p.e.v;if(p.o._mdf||b){var x=d.ty==="gf"?"fill-opacity":"stroke-opacity";p.style.pElem.setAttribute(x,p.o.v)}if(p.s._mdf||b){var g=d.t===1?"x1":"cx",S=g==="x1"?"y1":"cy";y.setAttribute(g,R[0]),y.setAttribute(S,R[1]),C&&!p.g._collapsable&&(p.of.setAttribute(g,R[0]),p.of.setAttribute(S,R[1]))}var E,M,L,_;if(p.g._cmdf||b){E=p.cst;var I=p.g.c;for(L=E.length,M=0;M<L;M+=1)_=E[M],_.setAttribute("offset",I[M*4]+"%"),_.setAttribute("stop-color","rgb("+I[M*4+1]+","+I[M*4+2]+","+I[M*4+3]+")")}if(C&&(p.g._omdf||b)){var $=p.g.o;for(p.g._collapsable?E=p.cst:E=p.ost,L=E.length,M=0;M<L;M+=1)_=E[M],p.g._collapsable||_.setAttribute("offset",$[M*2]+"%"),_.setAttribute("stop-opacity",$[M*2+1])}if(d.t===1)(p.e._mdf||b)&&(y.setAttribute("x2",m[0]),y.setAttribute("y2",m[1]),C&&!p.g._collapsable&&(p.of.setAttribute("x2",m[0]),p.of.setAttribute("y2",m[1])));else{var z;if((p.s._mdf||p.e._mdf||b)&&(z=Math.sqrt(Math.pow(R[0]-m[0],2)+Math.pow(R[1]-m[1],2)),y.setAttribute("r",z),C&&!p.g._collapsable&&p.of.setAttribute("r",z)),p.e._mdf||p.h._mdf||p.a._mdf||b){z||(z=Math.sqrt(Math.pow(R[0]-m[0],2)+Math.pow(R[1]-m[1],2)));var O=Math.atan2(m[1]-R[1],m[0]-R[0]),N=p.h.v;N>=1?N=.99:N<=-1&&(N=-.99);var K=z*N,B=Math.cos(O+p.a.v)*K+R[0],A=Math.sin(O+p.a.v)*K+R[1];y.setAttribute("fx",B),y.setAttribute("fy",A),C&&!p.g._collapsable&&(p.of.setAttribute("fx",B),p.of.setAttribute("fy",A))}}}function f(d,p,b){var y=p.style,C=p.d;C&&(C._mdf||b)&&C.dashStr&&(y.pElem.setAttribute("stroke-dasharray",C.dashStr),y.pElem.setAttribute("stroke-dashoffset",C.dashoffset[0])),p.c&&(p.c._mdf||b)&&y.pElem.setAttribute("stroke","rgb("+bmFloor(p.c.v[0])+","+bmFloor(p.c.v[1])+","+bmFloor(p.c.v[2])+")"),(p.o._mdf||b)&&y.pElem.setAttribute("stroke-opacity",p.o.v),(p.w._mdf||b)&&(y.pElem.setAttribute("stroke-width",p.w.v),y.msElem&&y.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,n,s=this.stylesList.length,a,o=[],l=!1;for(n=0;n<s;n+=1){for(a=this.stylesList[n],l=!1,o.length=0,e=0;e<t;e+=1)i=this.shapes[e],i.styles.indexOf(a)!==-1&&(o.push(i),l=i._isAnimated||l);o.length>1&&l&&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,n=new SVGStyleData(e,t),s=n.pElem;if(e.ty==="st")i=new SVGStrokeStyleData(this,e,n);else if(e.ty==="fl")i=new SVGFillStyleData(this,e,n);else if(e.ty==="gf"||e.ty==="gs"){var a=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new a(this,e,n),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else e.ty==="no"&&(i=new SVGNoStyleData(this,e,n));return(e.ty==="st"||e.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),s.setAttribute("fill-opacity","0"),e.lj===1&&s.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&s.setAttribute("fill-rule","evenodd"),e.ln&&s.setAttribute("id",e.ln),e.cl&&s.setAttribute("class",e.cl),e.bm&&(s.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),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),n=new SVGTransformData(i,i.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,i){var n=4;e.ty==="rc"?n=5:e.ty==="el"?n=6:e.ty==="sr"&&(n=7);var s=ShapePropertyFactory.getShapeProp(this,e,n,this),a=new SVGShapeData(t,i,s);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var i=0,n=this.animatedContents.length;i<n;){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,n=this.stylesList.length;for(i=0;i<n;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,n,s,a,o){var l=[].concat(a),c,u=e.length-1,f,d,p=[],b=[],y,C,R;for(c=u;c>=0;c-=1){if(R=this.searchProcessedElement(e[c]),R?t[c]=i[R-1]:e[c]._render=o,e[c].ty==="fl"||e[c].ty==="st"||e[c].ty==="gf"||e[c].ty==="gs"||e[c].ty==="no")R?t[c].style.closed=!1:t[c]=this.createStyleElement(e[c],s),e[c]._render&&t[c].style.pElem.parentNode!==n&&n.appendChild(t[c].style.pElem),p.push(t[c].style);else if(e[c].ty==="gr"){if(!R)t[c]=this.createGroupElement(e[c]);else for(d=t[c].it.length,f=0;f<d;f+=1)t[c].prevViewData[f]=t[c].it[f];this.searchShapes(e[c].it,t[c].it,t[c].prevViewData,t[c].gr,s+1,l,o),e[c]._render&&t[c].gr.parentNode!==n&&n.appendChild(t[c].gr)}else e[c].ty==="tr"?(R||(t[c]=this.createTransformElement(e[c],n)),y=t[c].transform,l.push(y)):e[c].ty==="sh"||e[c].ty==="rc"||e[c].ty==="el"||e[c].ty==="sr"?(R||(t[c]=this.createShapeElement(e[c],l,s)),this.setElementStyles(t[c])):e[c].ty==="tm"||e[c].ty==="rd"||e[c].ty==="ms"||e[c].ty==="pb"||e[c].ty==="zz"||e[c].ty==="op"?(R?(C=t[c],C.closed=!1):(C=ShapeModifiers.getModifier(e[c].ty),C.init(this,e[c]),t[c]=C,this.shapeModifiers.push(C)),b.push(C)):e[c].ty==="rp"&&(R?(C=t[c],C.closed=!0):(C=ShapeModifiers.getModifier(e[c].ty),t[c]=C,C.init(this,e,c,t),this.shapeModifiers.push(C),o=!1),b.push(C));this.addProcessedElement(e[c],c+1)}for(u=p.length,c=0;c<u;c+=1)p[c].closed=!0;for(u=b.length,c=0;c<u;c+=1)b[c].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,n,s,a){this.o=e,this.sw=t,this.sc=i,this.fc=n,this.m=s,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!i,fc:!!n,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,i,n,s,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!==n&&(this.fc=n,this._mdf.fc=!0,o=!0),this.m!==s&&(this.m=s,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 n,s=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;n<s;n+=1)i!==this.keysIndex?a=this.effectsSequence[n](a,a.t):a=this.effectsSequence[n](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,n=e.length;i<=n-1&&!(i===n-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,n=e.length,s,a,o=!1,l=!1,c="";i<n;)o=l,l=!1,s=e.charCodeAt(i),c=e.charAt(i),FontManager.isCombinedCharacter(s)?o=!0:s>=55296&&s<=56319?FontManager.isRegionalFlag(e,i)?c=e.substr(i,14):(a=e.charCodeAt(i+1),a>=56320&&a<=57343&&(FontManager.isModifier(s,a)?(c=e.substr(i,2),o=!0):FontManager.isFlagEmoji(e.substr(i,4))?c=e.substr(i,4):c=e.substr(i,2))):s>56319?(a=e.charCodeAt(i+1),FontManager.isVariationSelector(s)&&(o=!0)):FontManager.isZeroWidthJoiner(s)&&(o=!0,l=!0),o?(t[t.length-1]+=c,o=!1):t.push(c),i+=c.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,i=this.data,n=[],s,a,o,l=0,c,u=i.m.g,f=0,d=0,p=0,b=[],y=0,C=0,R,m,x=t.getFontByName(e.f),g,S=0,E=getFontProperties(x);e.fWeight=E.weight,e.fStyle=E.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var M=e.tr/1e3*e.finalSize,L;if(e.sz)for(var _=!0,I=e.sz[0],$=e.sz[1],z,O;_;){O=this.buildFinalText(e.t),z=0,y=0,a=O.length,M=e.tr/1e3*e.finalSize;var N=-1;for(s=0;s<a;s+=1)L=O[s].charCodeAt(0),o=!1,O[s]===" "?N=s:(L===13||L===3)&&(y=0,o=!0,z+=e.finalLineHeight||e.finalSize*1.2),t.chars?(g=t.getCharData(O[s],x.fStyle,x.fFamily),S=o?0:g.w*e.finalSize/100):S=t.measureText(O[s],e.f,e.finalSize),y+S>I&&O[s]!==" "?(N===-1?a+=1:s=N,z+=e.finalLineHeight||e.finalSize*1.2,O.splice(s,N===s?1:0,"\r"),N=-1,y=0):(y+=S,y+=M);z+=x.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&$<z?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=O,a=e.finalText.length,_=!1)}y=-M,S=0;var K=0,B;for(s=0;s<a;s+=1)if(o=!1,B=e.finalText[s],L=B.charCodeAt(0),L===13||L===3?(K=0,b.push(y),C=y>C?y:C,y=-2*M,c="",o=!0,p+=1):c=B,t.chars?(g=t.getCharData(B,x.fStyle,t.getFontByName(e.f).fFamily),S=o?0:g.w*e.finalSize/100):S=t.measureText(c,e.f,e.finalSize),B===" "?K+=S+M:(y+=S+M+K,K=0),n.push({l:S,an:S,add:f,n:o,anIndexes:[],val:c,line:p,animatorJustifyOffset:0}),u==2){if(f+=S,c===""||c===" "||s===a-1){for((c===""||c===" ")&&(f-=S);d<=s;)n[d].an=f,n[d].ind=l,n[d].extra=S,d+=1;l+=1,f=0}}else if(u==3){if(f+=S,c===""||s===a-1){for(c===""&&(f-=S);d<=s;)n[d].an=f,n[d].ind=l,n[d].extra=S,d+=1;f=0,l+=1}}else n[l].ind=l,n[l].extra=0,l+=1;if(e.l=n,C=y>C?y:C,b.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=C,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 A=i.a,V,P;m=A.length;var T,k,j=[];for(R=0;R<m;R+=1){for(V=A[R],V.a.sc&&(e.strokeColorAnim=!0),V.a.sw&&(e.strokeWidthAnim=!0),(V.a.fc||V.a.fh||V.a.fs||V.a.fb)&&(e.fillColorAnim=!0),k=0,T=V.s.b,s=0;s<a;s+=1)P=n[s],P.anIndexes[R]=k,(T==1&&P.val!==""||T==2&&P.val!==""&&P.val!==" "||T==3&&(P.n||P.val==" "||s==a-1)||T==4&&(P.n||s==a-1))&&(V.s.rn===1&&j.push(k),k+=1);i.a[R].s.totalChars=k;var W=-1,q;if(V.s.rn===1)for(s=0;s<a;s+=1)P=n[s],W!=P.anIndexes[R]&&(W=P.anIndexes[R],q=j.splice(Math.floor(Math.random()*j.length),1)[0]),P.anIndexes[R]=q}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=x.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 n(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()}n.prototype={getMult:function(o){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var l=0,c=0,u=1,f=1;this.ne.v>0?l=this.ne.v/100:c=-this.ne.v/100,this.xe.v>0?u=1-this.xe.v/100:f=1+this.xe.v/100;var d=BezierFactory.getBezierEasing(l,c,u,f).get,p=0,b=this.finalS,y=this.finalE,C=this.data.sh;if(C===2)y===b?p=o>=y?1:0:p=e(0,t(.5/(y-b)+(o-b)/(y-b),1)),p=d(p);else if(C===3)y===b?p=o>=y?0:1:p=1-e(0,t(.5/(y-b)+(o-b)/(y-b),1)),p=d(p);else if(C===4)y===b?p=0:(p=e(0,t(.5/(y-b)+(o-b)/(y-b),1)),p<.5?p*=2:p=1-2*(p-.5)),p=d(p);else if(C===5){if(y===b)p=0;else{var R=y-b;o=t(e(0,o+.5-b),y-b);var m=-R/2+o,x=R/2;p=Math.sqrt(1-m*m/(x*x))}p=d(p)}else C===6?(y===b?p=0:(o=t(e(0,o+.5-b),y-b),p=(1+Math.cos(Math.PI+Math.PI*2*o/(y-b)))/2),p=d(p)):(o>=i(b)&&(o-b<0?p=e(0,t(t(y,1)-(b-o),1)):p=e(0,t(y-o,1))),p=d(p));if(this.sm.v!==100){var g=this.sm.v*.01;g===0&&(g=1e-8);var S=.5-g*.5;p<S?p=0:(p=(p-S)/g,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 l=this.data.r===2?1:100/this.data.totalChars,c=this.o.v/l,u=this.s.v/l+c,f=this.e.v/l+c;if(u>f){var d=u;u=f,f=d}this.finalS=u,this.finalE=f}},extendPrototype([DynamicPropertyContainer],n);function s(a,o,l){return new n(a,o)}return{getTextSelectorProp:s}}();function TextAnimatorDataProperty(e,t,i){var n={propType:!1},s=PropertyFactory.getProp,a=t.a;this.a={r:a.r?s(e,a.r,0,degToRads,i):n,rx:a.rx?s(e,a.rx,0,degToRads,i):n,ry:a.ry?s(e,a.ry,0,degToRads,i):n,sk:a.sk?s(e,a.sk,0,degToRads,i):n,sa:a.sa?s(e,a.sa,0,degToRads,i):n,s:a.s?s(e,a.s,1,.01,i):n,a:a.a?s(e,a.a,1,0,i):n,o:a.o?s(e,a.o,0,.01,i):n,p:a.p?s(e,a.p,1,0,i):n,sw:a.sw?s(e,a.sw,0,0,i):n,sc:a.sc?s(e,a.sc,1,0,i):n,fc:a.fc?s(e,a.fc,1,0,i):n,fh:a.fh?s(e,a.fh,0,0,i):n,fs:a.fs?s(e,a.fs,0,.01,i):n,fb:a.fb?s(e,a.fb,0,.01,i):n,t:a.t?s(e,a.t,0,0,i):n},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,n=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:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(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=n(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,n=this._animatorsData,s=this._textData,a=this.mHelper,o=this._renderType,l=this.renderedLetters.length,c,u,f,d,p=e.l,b,y,C,R,m,x,g,S,E,M,L,_,I,$,z;if(this._hasMaskedPath){if(z=this._pathData.m,!this._pathData.n||this._pathData._mdf){var O=z.v;this._pathData.r.v&&(O=O.reverse()),b={tLength:0,segments:[]},d=O._length-1;var N;for(_=0,f=0;f<d;f+=1)N=bez.buildBezierData(O.v[f],O.v[f+1],[O.o[f][0]-O.v[f][0],O.o[f][1]-O.v[f][1]],[O.i[f+1][0]-O.v[f+1][0],O.i[f+1][1]-O.v[f+1][1]]),b.tLength+=N.segmentLength,b.segments.push(N),_+=N.segmentLength;f=d,z.v.c&&(N=bez.buildBezierData(O.v[f],O.v[0],[O.o[f][0]-O.v[f][0],O.o[f][1]-O.v[f][1]],[O.i[0][0]-O.v[0][0],O.i[0][1]-O.v[0][1]]),b.tLength+=N.segmentLength,b.segments.push(N),_+=N.segmentLength),this._pathData.pi=b}if(b=this._pathData.pi,y=this._pathData.f.v,g=0,x=1,R=0,m=!0,M=b.segments,y<0&&z.v.c)for(b.tLength<Math.abs(y)&&(y=-Math.abs(y)%b.tLength),g=M.length-1,E=M[g].points,x=E.length-1;y<0;)y+=E[x].partialLength,x-=1,x<0&&(g-=1,E=M[g].points,x=E.length-1);E=M[g].points,S=E[x-1],C=E[x],L=C.partialLength}d=p.length,c=0,u=0;var K=e.finalSize*1.2*.714,B=!0,A,V,P,T,k;T=n.length;var j,W=-1,q,X,ee,re=y,ce=g,he=x,me=-1,pe,se,fe,ie,Y,Ee,Le,be,ye="",Pe=this.defaultPropsArray,ve;if(e.j===2||e.j===1){var Ce=0,xe=0,we=e.j===2?-.5:-1,Se=0,Te=!0;for(f=0;f<d;f+=1)if(p[f].n){for(Ce&&(Ce+=xe);Se<f;)p[Se].animatorJustifyOffset=Ce,Se+=1;Ce=0,Te=!0}else{for(P=0;P<T;P+=1)A=n[P].a,A.t.propType&&(Te&&e.j===2&&(xe+=A.t.v*we),V=n[P].s,j=V.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),j.length?Ce+=A.t.v*j[0]*we:Ce+=A.t.v*j*we);Te=!1}for(Ce&&(Ce+=xe);Se<f;)p[Se].animatorJustifyOffset=Ce,Se+=1}for(f=0;f<d;f+=1){if(a.reset(),pe=1,p[f].n)c=0,u+=e.yOffset,u+=B?1:0,y=re,B=!1,this._hasMaskedPath&&(g=ce,x=he,E=M[g].points,S=E[x-1],C=E[x],L=C.partialLength,R=0),ye="",be="",Ee="",ve="",Pe=this.defaultPropsArray;else{if(this._hasMaskedPath){if(me!==p[f].line){switch(e.j){case 1:y+=_-e.lineWidths[p[f].line];break;case 2:y+=(_-e.lineWidths[p[f].line])/2;break}me=p[f].line}W!==p[f].ind&&(p[W]&&(y+=p[W].extra),y+=p[f].an/2,W=p[f].ind),y+=i[0]*p[f].an*.005;var Re=0;for(P=0;P<T;P+=1)A=n[P].a,A.p.propType&&(V=n[P].s,j=V.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),j.length?Re+=A.p.v[0]*j[0]:Re+=A.p.v[0]*j),A.a.propType&&(V=n[P].s,j=V.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),j.length?Re+=A.a.v[0]*j[0]:Re+=A.a.v[0]*j);for(m=!0,this._pathData.a.v&&(y=p[0].an*.5+(_-this._pathData.f.v-p[0].an*.5-p[p.length-1].an*.5)*W/(d-1),y+=this._pathData.f.v);m;)R+L>=y+Re||!E?(I=(y+Re-R)/C.partialLength,X=S.point[0]+(C.point[0]-S.point[0])*I,ee=S.point[1]+(C.point[1]-S.point[1])*I,a.translate(-i[0]*p[f].an*.005,-(i[1]*K)*.01),m=!1):E&&(R+=C.partialLength,x+=1,x>=E.length&&(x=0,g+=1,M[g]?E=M[g].points:z.v.c?(x=0,g=0,E=M[g].points):(R-=C.partialLength,E=null)),E&&(S=C,C=E[x],L=C.partialLength));q=p[f].an/2-p[f].add,a.translate(-q,0,0)}else q=p[f].an/2-p[f].add,a.translate(-q,0,0),a.translate(-i[0]*p[f].an*.005,-i[1]*K*.01,0);for(P=0;P<T;P+=1)A=n[P].a,A.t.propType&&(V=n[P].s,j=V.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),(c!==0||e.j!==0)&&(this._hasMaskedPath?j.length?y+=A.t.v*j[0]:y+=A.t.v*j:j.length?c+=A.t.v*j[0]:c+=A.t.v*j));for(e.strokeWidthAnim&&(fe=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&&(ie=[e.fc[0],e.fc[1],e.fc[2]]),P=0;P<T;P+=1)A=n[P].a,A.a.propType&&(V=n[P].s,j=V.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),j.length?a.translate(-A.a.v[0]*j[0],-A.a.v[1]*j[1],A.a.v[2]*j[2]):a.translate(-A.a.v[0]*j,-A.a.v[1]*j,A.a.v[2]*j));for(P=0;P<T;P+=1)A=n[P].a,A.s.propType&&(V=n[P].s,j=V.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),j.length?a.scale(1+(A.s.v[0]-1)*j[0],1+(A.s.v[1]-1)*j[1],1):a.scale(1+(A.s.v[0]-1)*j,1+(A.s.v[1]-1)*j,1));for(P=0;P<T;P+=1){if(A=n[P].a,V=n[P].s,j=V.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),A.sk.propType&&(j.length?a.skewFromAxis(-A.sk.v*j[0],A.sa.v*j[1]):a.skewFromAxis(-A.sk.v*j,A.sa.v*j)),A.r.propType&&(j.length?a.rotateZ(-A.r.v*j[2]):a.rotateZ(-A.r.v*j)),A.ry.propType&&(j.length?a.rotateY(A.ry.v*j[1]):a.rotateY(A.ry.v*j)),A.rx.propType&&(j.length?a.rotateX(A.rx.v*j[0]):a.rotateX(A.rx.v*j)),A.o.propType&&(j.length?pe+=(A.o.v*j[0]-pe)*j[0]:pe+=(A.o.v*j-pe)*j),e.strokeWidthAnim&&A.sw.propType&&(j.length?fe+=A.sw.v*j[0]:fe+=A.sw.v*j),e.strokeColorAnim&&A.sc.propType)for(Y=0;Y<3;Y+=1)j.length?se[Y]+=(A.sc.v[Y]-se[Y])*j[0]:se[Y]+=(A.sc.v[Y]-se[Y])*j;if(e.fillColorAnim&&e.fc){if(A.fc.propType)for(Y=0;Y<3;Y+=1)j.length?ie[Y]+=(A.fc.v[Y]-ie[Y])*j[0]:ie[Y]+=(A.fc.v[Y]-ie[Y])*j;A.fh.propType&&(j.length?ie=addHueToRGB(ie,A.fh.v*j[0]):ie=addHueToRGB(ie,A.fh.v*j)),A.fs.propType&&(j.length?ie=addSaturationToRGB(ie,A.fs.v*j[0]):ie=addSaturationToRGB(ie,A.fs.v*j)),A.fb.propType&&(j.length?ie=addBrightnessToRGB(ie,A.fb.v*j[0]):ie=addBrightnessToRGB(ie,A.fb.v*j))}}for(P=0;P<T;P+=1)A=n[P].a,A.p.propType&&(V=n[P].s,j=V.getMult(p[f].anIndexes[P],s.a[P].s.totalChars),this._hasMaskedPath?j.length?a.translate(0,A.p.v[1]*j[0],-A.p.v[2]*j[1]):a.translate(0,A.p.v[1]*j,-A.p.v[2]*j):j.length?a.translate(A.p.v[0]*j[0],A.p.v[1]*j[1],-A.p.v[2]*j[2]):a.translate(A.p.v[0]*j,A.p.v[1]*j,-A.p.v[2]*j));if(e.strokeWidthAnim&&(Ee=fe<0?0:fe),e.strokeColorAnim&&(Le="rgb("+Math.round(se[0]*255)+","+Math.round(se[1]*255)+","+Math.round(se[2]*255)+")"),e.fillColorAnim&&e.fc&&(be="rgb("+Math.round(ie[0]*255)+","+Math.round(ie[1]*255)+","+Math.round(ie[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-e.ls),a.translate(0,i[1]*K*.01+u,0),this._pathData.p.v){$=(C.point[1]-S.point[1])/(C.point[0]-S.point[0]);var Me=Math.atan($)*180/Math.PI;C.point[0]<S.point[0]&&(Me+=180),a.rotate(-Me*Math.PI/180)}a.translate(X,ee,0),y-=i[0]*p[f].an*.005,p[f+1]&&W!==p[f+1].ind&&(y+=p[f].an/2,y+=e.tr*.001*e.finalSize)}else{switch(a.translate(c,u,0),e.ps&&a.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:a.translate(p[f].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[p[f].line]),0,0);break;case 2:a.translate(p[f].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[p[f].line])/2,0,0);break}a.translate(0,-e.ls),a.translate(q,0,0),a.translate(i[0]*p[f].an*.005,i[1]*K*.01,0),c+=p[f].l+e.tr*.001*e.finalSize}o==="html"?ye=a.toCSS():o==="svg"?ye=a.to2dCSS():Pe=[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]],ve=pe}l<=f?(k=new LetterProps(ve,Ee,Le,be,ye,Pe),this.renderedLetters.push(k),l+=1,this.lettersChangedFlag=!0):(k=this.renderedLetters[f],this.lettersChangedFlag=k.update(ve,Ee,Le,be,ye,Pe)||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,n=t.length,s,a="";for(i=0;i<n;i+=1)t[i].ty==="sh"&&(s=t[i].ks.k,a+=buildShapeString(s,s.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,n,s){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(n,s,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,n=[],s="";t<i;)e[t]==="\r"||e[t]===""?(n.push(s),s=""):s+=e[t],t+=1;return n.push(s),n},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var i=e.shapes[0];if(i.it){var n=i.it[i.it.length-1];n.s&&(n.s.k[0]=t,n.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 n=this.globalData.fontManager.getFontByName(i.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var s=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",i.t);var o=i.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var c,u=this.mHelper,f="",d=this.data.singleShape,p=0,b=0,y=!0,C=i.tr*.001*i.finalSize;if(d&&!l&&!i.sz){var R=this.textContainer,m="start";switch(i.j){case 1:m="end";break;case 2:m="middle";break;default:m="start";break}R.setAttribute("text-anchor",m),R.setAttribute("letter-spacing",C);var x=this.buildTextContents(i.finalText);for(t=x.length,b=i.ps?i.ps[1]+i.ascent:0,e=0;e<t;e+=1)c=this.textSpans[e].span||createNS("tspan"),c.textContent=x[e],c.setAttribute("x",0),c.setAttribute("y",b),c.style.display="inherit",R.appendChild(c),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=c,b+=i.finalLineHeight;this.layerElement.appendChild(R)}else{var g=this.textSpans.length,S;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!d||e===0){if(c=g>e?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(c.setAttribute("stroke-linecap","butt"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=c,l){var E=createNS("g");c.appendChild(E),this.textSpans[e].childSpan=E}this.textSpans[e].span=c,this.layerElement.appendChild(c)}c.style.display="inherit"}if(u.reset(),d&&(o[e].n&&(p=-C,b+=i.yOffset,b+=y?1:0,y=!1),this.applyTextPropertiesToMatrix(i,u,o[e].line,p,b),p+=o[e].l||0,p+=C),l){S=this.globalData.fontManager.getCharData(i.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var M;if(S.t===1)M=new SVGCompElement(S.data,this.globalData,this);else{var L=emptyShapeData;S.data&&S.data.shapes&&(L=this.buildShapeData(S.data,i.finalSize)),M=new SVGShapeElement(L,this.globalData,this)}if(this.textSpans[e].glyph){var _=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(_.layerElement),_.destroy()}this.textSpans[e].glyph=M,M._debug=!0,M.prepareFrame(0),M.renderFrame(),this.textSpans[e].childSpan.appendChild(M.layerElement),S.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else d&&c.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),c.textContent=o[e].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}d&&c&&c.setAttribute("d",f)}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,n=this.textProperty.currentData.l;t=n.length;var s,a,o;for(e=0;e<t;e+=1)n[e].n||(s=i[e],a=this.textSpans[e].span,o=this.textSpans[e].glyph,o&&o.renderFrame(),s._mdf.m&&a.setAttribute("transform",s.m),s._mdf.o&&a.setAttribute("opacity",s.o),s._mdf.sw&&a.setAttribute("stroke-width",s.sw),s._mdf.sc&&a.setAttribute("stroke",s.sc),s._mdf.fc&&a.setAttribute("fill",s.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"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var s=createElementID();i.setAttribute("id",s),i.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),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 n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(n===-1)return;if(!this.elements[n]||this.elements[n]===!0)this.buildItem(n),this.addPendingElement(i);else{var s=t[n],a=s.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 n="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,s=this.elements[n],a=s.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 n=0,s;n<t;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement()&&(s=this.elements[n].getBaseElement()),n+=1;s?this.layerElement.insertBefore(i,s):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,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=n-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 n=createNS("title"),s=createElementID();n.setAttribute("id",s),n.textContent=t.title,this.svgElement.appendChild(n),i+=s}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 l=createNS("defs");this.svgElement.appendChild(l);var c=createNS("g");this.svgElement.appendChild(c),this.layerElement=c,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:l,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,n=t.length,s="_";for(i=0;i<n;i+=1)s+=t[i].transform.key+"_";var a=this.sequences[s];return a||(a={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[s]=a,this.sequenceList.push(a)),a},processSequence:function(t,i){for(var n=0,s=t.transforms.length,a=i;n<s&&!i;){if(t.transforms[n].transform.mProps._mdf){a=!0;break}n+=1}if(a)for(t.finalTransform.reset(),n=s-1;n>=0;n-=1)t.finalTransform.multiply(t.transforms[n].transform.mProps.v);t._mdf=a},processSequences:function(t){var i,n=this.sequenceList.length;for(i=0;i<n;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,n=null,s=null;function a(){var c=createNS("svg"),u=createNS("filter"),f=createNS("feColorMatrix");return u.setAttribute("id",t),f.setAttribute("type","matrix"),f.setAttribute("color-interpolation-filters","sRGB"),f.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"),u.appendChild(f),c.appendChild(u),c.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(c.style.display="none"),c}function o(){i||(s=a(),document.body.appendChild(s),i=createTag("canvas"),n=i.getContext("2d"),n.filter="url(#"+t+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}function l(c){return i||o(),i.width=c.width,i.height=c.height,n.filter="url(#"+t+")",i}return{load:o,get:l}};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 n;for(t=0;t<i;t+=1){n=null;var s=e.data.ef[t].ty;if(registeredEffects[s]){var a=registeredEffects[s].effect;n=new a(e.effectsManager.effectElements[t],e)}n&&this.filters.push(n)}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,n=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n};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,n=this.masksProperties.length,s=!1;for(i=0;i<n;i+=1)this.masksProperties[i].mode!=="n"&&(s=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,i,n=this.masksProperties.length,s,a,o;for(t.beginPath(),i=0;i<n;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,s=e.applyToPointArray(o.v[0][0],o.v[0][1],0),t.moveTo(s[0],s[1]);var l,c=o._length;for(l=1;l<c;l+=1)a=e.applyToTriplePoints(o.o[l-1],o.i[l],o.v[l]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=e.applyToTriplePoints(o.o[l-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 n=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(n),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 n=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(n.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var s=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=s.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(s,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,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;t.ty==="rc"?s=5:t.ty==="el"?s=6:t.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,s,e);var a,o=i.length,l;for(a=0;a<o;a+=1)i[a].closed||(l={transforms:n.addTransformSequence(i[a].transforms),trNodes:[]},this.styledShapes.push(l),i[a].elements.push(l))}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},n={};if(e.ty==="fl"||e.ty==="st"?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(i.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.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),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(i.wi=n.w.v),e.d){var s=new DashProperty(this,e.d,"canvas",this);n.d=s,n.d.k||(i.da=n.d.dashArray,i.do=n.d.dashoffset[0])}}else i.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(i),n.style=i,n},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,n,s){var a,o=e.length-1,l,c,u=[],f=[],d,p,b,y=[].concat(s);for(a=o;a>=0;a-=1){if(d=this.searchProcessedElement(e[a]),d?t[a]=i[d-1]:e[a]._shouldRender=n,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")d?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],y),u.push(t[a].style);else if(e[a].ty==="gr"){if(!d)t[a]=this.createGroupElement(e[a]);else for(c=t[a].it.length,l=0;l<c;l+=1)t[a].prevViewData[l]=t[a].it[l];this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,n,y)}else e[a].ty==="tr"?(d||(b=this.createTransformElement(e[a]),t[a]=b),y.push(t[a]),this.addTransformToStyleList(t[a])):e[a].ty==="sh"||e[a].ty==="rc"||e[a].ty==="el"||e[a].ty==="sr"?d||(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"?(d?(p=t[a],p.closed=!1):(p=ShapeModifiers.getModifier(e[a].ty),p.init(this,e[a]),t[a]=p,this.shapeModifiers.push(p)),f.push(p)):e[a].ty==="rp"&&(d?(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),n=!1),f.push(p));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(u),o=f.length,a=0;a<o;a+=1)f[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,n,s,a,o,l,c=this.globalData.renderer,u=this.globalData.canvasContext,f,d;for(e=0;e<t;e+=1)if(d=this.stylesList[e],f=d.type,!((f==="st"||f==="gs")&&d.wi===0||!d.data._shouldRender||d.coOp===0||this.globalData.currentGlobalAlpha===0)){for(c.save(),o=d.elements,f==="st"||f==="gs"?(c.ctxStrokeStyle(f==="st"?d.co:d.grd),c.ctxLineWidth(d.wi),c.ctxLineCap(d.lc),c.ctxLineJoin(d.lj),c.ctxMiterLimit(d.ml||0)):c.ctxFillStyle(f==="fl"?d.co:d.grd),c.ctxOpacity(d.coOp),f!=="st"&&f!=="gs"&&u.beginPath(),c.ctxTransform(d.preTransforms.finalTransform.props),n=o.length,i=0;i<n;i+=1){for((f==="st"||f==="gs")&&(u.beginPath(),d.da&&(u.setLineDash(d.da),u.lineDashOffset=d.do)),l=o[i].trNodes,a=l.length,s=0;s<a;s+=1)l[s].t==="m"?u.moveTo(l[s].p[0],l[s].p[1]):l[s].t==="c"?u.bezierCurveTo(l[s].pts[0],l[s].pts[1],l[s].pts[2],l[s].pts[3],l[s].pts[4],l[s].pts[5]):u.closePath();(f==="st"||f==="gs")&&(c.ctxStroke(),d.da&&u.setLineDash(this.dashResetter))}f!=="st"&&f!=="gs"&&this.globalData.renderer.ctxFill(d.r),c.restore()}},CVShapeElement.prototype.renderShape=function(e,t,i,n){var s,a=t.length-1,o;for(o=e,s=a;s>=0;s-=1)t[s].ty==="tr"?(o=i[s].transform,this.renderShapeTransform(e,o)):t[s].ty==="sh"||t[s].ty==="el"||t[s].ty==="rc"||t[s].ty==="sr"?this.renderPath(t[s],i[s]):t[s].ty==="fl"?this.renderFill(t[s],i[s],o):t[s].ty==="st"?this.renderStroke(t[s],i[s],o):t[s].ty==="gf"||t[s].ty==="gs"?this.renderGradientFill(t[s],i[s],o):t[s].ty==="gr"?this.renderShape(o,t[s].it,i[s].it):t[s].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var i=e.trNodes,n=t.paths,s,a,o,l=n._length;i.length=0;var c=e.transforms.finalTransform;for(o=0;o<l;o+=1){var u=n.shapes[o];if(u&&u.v){for(a=u._length,s=1;s<a;s+=1)s===1&&i.push({t:"m",p:c.applyToPointArray(u.v[0][0],u.v[0][1],0)}),i.push({t:"c",pts:c.applyToTriplePoints(u.o[s-1],u.i[s],u.v[s])});a===1&&i.push({t:"m",p:c.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&a&&(i.push({t:"c",pts:c.applyToTriplePoints(u.o[s-1],u.i[0],u.v[0])}),i.push({t:"z"}))}}e.trNodes=i}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var i,n=t.styledShapes.length;for(i=0;i<n;i+=1)this.renderStyledShape(t.styledShapes[i],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,i){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,i){var n=t.style,s;if(!n.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,l=t.e.v;if(e.t===1)s=a.createLinearGradient(o[0],o[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),u=Math.atan2(l[1]-o[1],l[0]-o[0]),f=t.h.v;f>=1?f=.99:f<=-1&&(f=-.99);var d=c*f,p=Math.cos(u+t.a.v)*d+o[0],b=Math.sin(u+t.a.v)*d+o[1];s=a.createRadialGradient(p,b,0,o[0],o[1],c)}var y,C=e.g.p,R=t.g.c,m=1;for(y=0;y<C;y+=1)t.g._hasOpacity&&t.g._collapsable&&(m=t.g.o[y*2+1]),s.addColorStop(R[y*4]/100,"rgba("+R[y*4+1]+","+R[y*4+2]+","+R[y*4+3]+","+m+")");n.grd=s}n.coOp=t.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(e,t,i){var n=t.style,s=t.d;s&&(s._mdf||this._isFirstFrame)&&(n.da=s.dashArray,n.do=s.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*i.opacity),(t.w._mdf||this._isFirstFrame)&&(n.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 n=this.globalData.fontManager.getFontByName(e.f),s,a,o=e.l,l=this.mHelper;this.stroke=i,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var c,u,f,d,p,b,y,C,R,m,x=this.data.singleShape,g=e.tr*.001*e.finalSize,S=0,E=0,M=!0,L=0;for(s=0;s<a;s+=1){c=this.globalData.fontManager.getCharData(e.finalText[s],n.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),u=c&&c.data||{},l.reset(),x&&o[s].n&&(S=-g,E+=e.yOffset,E+=M?1:0,M=!1),p=u.shapes?u.shapes[0].it:[],y=p.length,l.scale(e.finalSize/100,e.finalSize/100),x&&this.applyTextPropertiesToMatrix(e,l,o[s].line,S,E),R=createSizedArray(y-1);var _=0;for(b=0;b<y;b+=1)if(p[b].ty==="sh"){for(d=p[b].ks.k.i.length,C=p[b].ks.k,m=[],f=1;f<d;f+=1)f===1&&m.push(l.applyToX(C.v[0][0],C.v[0][1],0),l.applyToY(C.v[0][0],C.v[0][1],0)),m.push(l.applyToX(C.o[f-1][0],C.o[f-1][1],0),l.applyToY(C.o[f-1][0],C.o[f-1][1],0),l.applyToX(C.i[f][0],C.i[f][1],0),l.applyToY(C.i[f][0],C.i[f][1],0),l.applyToX(C.v[f][0],C.v[f][1],0),l.applyToY(C.v[f][0],C.v[f][1],0));m.push(l.applyToX(C.o[f-1][0],C.o[f-1][1],0),l.applyToY(C.o[f-1][0],C.o[f-1][1],0),l.applyToX(C.i[0][0],C.i[0][1],0),l.applyToY(C.i[0][0],C.i[0][1],0),l.applyToX(C.v[0][0],C.v[0][1],0),l.applyToY(C.v[0][0],C.v[0][1],0)),R[_]=m,_+=1}x&&(S+=o[s].l,S+=g),this.textSpans[L]?this.textSpans[L].elem=R:this.textSpans[L]={elem:R},L+=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,n,s,a,o,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;i=c.length;var u,f=null,d=null,p=null,b,y,C=this.globalData.renderer;for(t=0;t<i;t+=1)if(!c[t].n){if(u=l[t],u&&(C.save(),C.ctxTransform(u.p),C.ctxOpacity(u.o)),this.fill){for(u&&u.fc?f!==u.fc&&(C.ctxFillStyle(u.fc),f=u.fc):f!==this.values.fill&&(f=this.values.fill,C.ctxFillStyle(this.values.fill)),b=this.textSpans[t].elem,s=b.length,this.globalData.canvasContext.beginPath(),n=0;n<s;n+=1)for(y=b[n],o=y.length,this.globalData.canvasContext.moveTo(y[0],y[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(y[a],y[a+1],y[a+2],y[a+3],y[a+4],y[a+5]);this.globalData.canvasContext.closePath(),C.ctxFill()}if(this.stroke){for(u&&u.sw?p!==u.sw&&(p=u.sw,C.ctxLineWidth(u.sw)):p!==this.values.sWidth&&(p=this.values.sWidth,C.ctxLineWidth(this.values.sWidth)),u&&u.sc?d!==u.sc&&(d=u.sc,C.ctxStrokeStyle(u.sc)):d!==this.values.stroke&&(d=this.values.stroke,C.ctxStrokeStyle(this.values.stroke)),b=this.textSpans[t].elem,s=b.length,this.globalData.canvasContext.beginPath(),n=0;n<s;n+=1)for(y=b[n],o=y.length,this.globalData.canvasContext.moveTo(y[0],y[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(y[a],y[a+1],y[a+2],y[a+3],y[a+4],y[a+5]);this.globalData.canvasContext.closePath(),C.ctxStroke()}u&&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,n=this.img.height,s=i/n,a=this.assetData.w/this.assetData.h,o,l,c=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>a&&c==="xMidYMid slice"||s<a&&c!=="xMidYMid slice"?(l=n,o=l*a):(o=i,l=o/a),t.drawImage(this.img,(i-o)/2,(n-l)/2,o,l,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,n){this.canvasContext.fillRect(e,t,i,n)},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,n;e?(i=e,n=t,this.canvasContext.canvas.width=i,this.canvasContext.canvas.height=n):(this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,n=this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=n*this.renderConfig.dpr);var s,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),l=o[1]||"meet",c=o[0]||"xMidYMid",u=c.substr(0,4),f=c.substr(4);s=i/n,a=this.transformCanvas.w/this.transformCanvas.h,a>s&&l==="meet"||a<s&&l==="slice"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr)),u==="xMid"&&(a<s&&l==="meet"||a>s&&l==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:u==="xMax"&&(a<s&&l==="meet"||a>s&&l==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,f==="YMid"&&(a>s&&l==="meet"||a<s&&l==="slice")?this.transformCanvas.ty=(n-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:f==="YMax"&&(a>s&&l==="meet"||a<s&&l==="slice")?this.transformCanvas.ty=(n-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=n/(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,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=n-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=n-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,n,s=this.cTr.props;for(n=0;n<16;n+=1)s[n]=i[n];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],n;for(n=0;n<16;n+=1)i.transform[n]=t[n];this.cArrPos+=1;var s=this.stack[this.cArrPos];s.opacity=i.opacity,s.fillStyle=i.fillStyle,s.strokeStyle=i.strokeStyle,s.lineWidth=i.lineWidth,s.lineCap=i.lineCap,s.lineJoin=i.lineJoin,s.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,n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,i,n)},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,n=e.length;for(i=0;i<n;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,n=e.transformers,s,a=i._length,o,l,c,u;if(!(a<=1)){for(s=0;s<a-1;s+=1)o=this.getTransformedPoint(n,i.v[s]),l=this.getTransformedPoint(n,i.o[s]),c=this.getTransformedPoint(n,i.i[s+1]),u=this.getTransformedPoint(n,i.v[s+1]),this.checkBounds(o,l,c,u,t);i.c&&(o=this.getTransformedPoint(n,i.v[s]),l=this.getTransformedPoint(n,i.o[s]),c=this.getTransformedPoint(n,i.i[0]),u=this.getTransformedPoint(n,i.v[0]),this.checkBounds(o,l,c,u,t))}},HShapeElement.prototype.checkBounds=function(e,t,i,n,s){this.getBoundsOfCurve(e,t,i,n);var a=this.shapeBoundingBox;s.x=bmMin(a.left,s.x),s.xMax=bmMax(a.right,s.xMax),s.y=bmMin(a.top,s.y),s.yMax=bmMax(a.bottom,s.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,n){for(var s=[[e[0],n[0]],[e[1],n[1]]],a,o,l,c,u,f,d,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*n[p],l=3*t[p]-3*e[p],o|=0,a|=0,l|=0,a===0&&o===0||(a===0?(c=-l/o,c>0&&c<1&&s[p].push(this.calculateF(c,e,t,i,n,p))):(u=o*o-4*l*a,u>=0&&(f=(-o+bmSqrt(u))/(2*a),f>0&&f<1&&s[p].push(this.calculateF(f,e,t,i,n,p)),d=(-o-bmSqrt(u))/(2*a),d>0&&d<1&&s[p].push(this.calculateF(d,e,t,i,n,p)))));this.shapeBoundingBox.left=bmMin.apply(null,s[0]),this.shapeBoundingBox.top=bmMin.apply(null,s[1]),this.shapeBoundingBox.right=bmMax.apply(null,s[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,s[1])},HShapeElement.prototype.calculateF=function(e,t,i,n,s,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*i[a]+3*(1-e)*bmPow(e,2)*n[a]+bmPow(e,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var i,n=e.length;for(i=0;i<n;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 n=0;n<e.keyframes.length;n+=1){var s=e.keyframes[n].s;s>i&&(i=s)}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 n=this.shapeCont.style,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=s,n.webkitTransform=s}}};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 n=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",n.fClass)this.innerElem.className=n.fClass;else{t.fontFamily=n.fFamily;var s=e.fWeight,a=e.fStyle;t.fontStyle=a,t.fontWeight=s}var o,l,c=e.l;l=c.length;var u,f,d,p=this.mHelper,b,y="",C=0;for(o=0;o<l;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[C]?u=this.textPaths[C]:(u=createNS("path"),u.setAttribute("stroke-linecap",lineCapEnum[1]),u.setAttribute("stroke-linejoin",lineJoinEnum[2]),u.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[C]?(f=this.textSpans[C],d=f.children[0]):(f=createTag("div"),f.style.lineHeight=0,d=createNS("svg"),d.appendChild(u),styleDiv(f)))):this.isMasked?u=this.textPaths[C]?this.textPaths[C]:createNS("text"):this.textSpans[C]?(f=this.textSpans[C],u=this.textPaths[C]):(f=createTag("span"),styleDiv(f),u=createTag("span"),styleDiv(u),f.appendChild(u)),this.globalData.fontManager.chars){var R=this.globalData.fontManager.getCharData(e.finalText[o],n.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),m;if(R?m=R.data:m=null,p.reset(),m&&m.shapes&&m.shapes.length&&(b=m.shapes[0].it,p.scale(e.finalSize/100,e.finalSize/100),y=this.createPathShape(p,b),u.setAttribute("d",y)),this.isMasked)this.innerElem.appendChild(u);else{if(this.innerElem.appendChild(f),m&&m.shapes){document.body.appendChild(d);var x=d.getBBox();d.setAttribute("width",x.width+2),d.setAttribute("height",x.height+2),d.setAttribute("viewBox",x.x-1+" "+(x.y-1)+" "+(x.width+2)+" "+(x.height+2));var g=d.style,S="translate("+(x.x-1)+"px,"+(x.y-1)+"px)";g.transform=S,g.webkitTransform=S,c[o].yOffset=x.y-1}else d.setAttribute("width",1),d.setAttribute("height",1);f.appendChild(d)}}else if(u.textContent=c[o].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(u);else{this.innerElem.appendChild(f);var E=u.style,M="translate3d(0,"+-e.finalSize/1.2+"px,0)";E.transform=M,E.webkitTransform=M}this.isMasked?this.textSpans[C]=u:this.textSpans[C]=f,this.textSpans[C].style.display="block",this.textPaths[C]=u,C+=1}for(;C<this.textSpans.length;)this.textSpans[C].style.display="none",C+=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,n,s=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;n=o.length;var l,c,u;for(i=0;i<n;i+=1)o[i].n?s+=1:(c=this.textSpans[i],u=this.textPaths[i],l=a[s],s+=1,l._mdf.m&&(this.isMasked?c.setAttribute("transform",l.m):(c.style.webkitTransform=l.m,c.style.transform=l.m)),c.style.opacity=l.o,l.sw&&l._mdf.sw&&u.setAttribute("stroke-width",l.sw),l.sc&&l._mdf.sc&&u.setAttribute("stroke",l.sc),l.fc&&l._mdf.fc&&(u.setAttribute("fill",l.fc),u.style.color=l.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var f=this.innerElem.getBBox();this.currentBBox.w!==f.width&&(this.currentBBox.w=f.width,this.svgElement.setAttribute("width",f.width)),this.currentBBox.h!==f.height&&(this.currentBBox.h=f.height,this.svgElement.setAttribute("height",f.height));var d=1;if(this.currentBBox.w!==f.width+d*2||this.currentBBox.h!==f.height+d*2||this.currentBBox.x!==f.x-d||this.currentBBox.y!==f.y-d){this.currentBBox.w=f.width+d*2,this.currentBBox.h=f.height+d*2,this.currentBBox.x=f.x-d,this.currentBBox.y=f.y-d,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 n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var s,a=e.ks.or.k.length;for(s=0;s<a;s+=1)e.ks.or.k[s].to=null,e.ks.or.k[s].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(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,n,s;for(e=0;e<t;e+=1)if(i=this.comp.threeDElements[e],i.type==="3d"){n=i.perspectiveElem.style,s=i.container.style;var a=this.pe.v+"px",o="0px 0px 0px",l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=a,n.webkitPerspective=a,s.transformOrigin=o,s.mozTransformOrigin=o,s.webkitTransformOrigin=o,n.transform=l,n.webkitTransform=l}},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 n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.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 s;this.p?s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:s=[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(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),o=[s[0]/a,s[1]/a,s[2]/a],l=Math.sqrt(o[2]*o[2]+o[0]*o[0]),c=Math.atan2(o[1],l),u=Math.atan2(o[0],-o[2]);this.mat.rotateY(u).rotateX(-c)}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 f=!this._prevMat.equals(this.mat);if((f||this.pe._mdf)&&this.comp.threeDElements){i=this.comp.threeDElements.length;var d,p,b;for(t=0;t<i;t+=1)if(d=this.comp.threeDElements[t],d.type==="3d"){if(f){var y=this.mat.toCSS();b=d.container.style,b.transform=y,b.webkitTransform=y}this.pe._mdf&&(p=d.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 n=this.layers[t];if(!n.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(i,t);else{for(var s=0,a,o,l;s<t;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement&&(o=this.elements[s],l=this.layers[s].ddd?this.getThreeDContainerByPos(s):o.getBaseElement(),a=l||a),s+=1;a?(!n.ddd||!this.supports3d)&&this.layerElement.insertBefore(i,a):(!n.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"),n,s;styleDiv(i);var a=createTag("div");if(styleDiv(a),t==="3d"){n=i.style,n.width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var o="50% 50%";n.webkitTransformOrigin=o,n.mozTransformOrigin=o,n.transformOrigin=o,s=a.style;var l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=l,s.webkitTransform=l}i.appendChild(a);var c={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(c),c},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,i,n="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(n!=="3d"&&(n="3d",i=this.createThreeDContainer(e,"3d")),i.endPos=Math.max(i.endPos,e)):(n!=="2d"&&(n="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,n=this.threeDElements.length;i<n;){if(t<=this.threeDElements[i].endPos){for(var s=this.threeDElements[i].startPos,a;s<t;)this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s].getBaseElement()),s+=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,n=t.style;n.width=e.w+"px",n.height=e.h+"px",this.resizerElem=t,styleDiv(t),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),i.appendChild(t),n.overflow="hidden";var s=createNS("svg");s.setAttribute("width","1"),s.setAttribute("height","1"),styleDiv(s),this.resizerElem.appendChild(s);var a=createNS("defs");s.appendChild(a),this.data=e,this.setupGlobalData(e,s),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,n=this.globalData.compSize.w/this.globalData.compSize.h,s,a,o,l;n>i?(s=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,o=0,l=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(s=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,o=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,l=0);var c=this.resizerElem.style;c.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+o+","+l+",0,1)",c.transform=c.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,n=this.threeDElements.length;for(i=0;i<n;i+=1){var s=this.threeDElements[i].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",s.perspective=s.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,i=e.length,n=createTag("div");for(t=0;t<i;t+=1)if(e[t].xt){var s=this.createComp(e[t],n,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}};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,n;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(e,n):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 n=0,s=e.layers.length;n<s;){if(e.layers[n].nm===i||e.layers[n].ind===i)return e.elements[n].layerInterface;n+=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,n=256,s=6,a=52,o="random",l=t.pow(n,s),c=t.pow(2,a),u=c*2,f=n-1,d;function p(g,S,E){var M=[];S=S===!0?{entropy:!0}:S||{};var L=R(C(S.entropy?[g,x(e)]:g===null?m():g,3),M),_=new b(M),I=function(){for(var z=_.g(s),O=l,N=0;z<c;)z=(z+N)*n,O*=n,N=_.g(1);for(;z>=u;)z/=2,O/=2,N>>>=1;return(z+N)/O};return I.int32=function(){return _.g(4)|0},I.quick=function(){return _.g(4)/4294967296},I.double=I,R(x(_.S),e),(S.pass||E||function($,z,O,N){return N&&(N.S&&y(N,_),$.state=function(){return y(_,{})}),O?(t[o]=$,z):$})(I,L,"global"in S?S.global:this==t,S.state)}t["seed"+o]=p;function b(g){var S,E=g.length,M=this,L=0,_=M.i=M.j=0,I=M.S=[];for(E||(g=[E++]);L<n;)I[L]=L++;for(L=0;L<n;L++)I[L]=I[_=f&_+g[L%E]+(S=I[L])],I[_]=S;M.g=function($){for(var z,O=0,N=M.i,K=M.j,B=M.S;$--;)z=B[N=f&N+1],O=O*n+B[f&(B[N]=B[K=f&K+z])+(B[K]=z)];return M.i=N,M.j=K,O}}function y(g,S){return S.i=g.i,S.j=g.j,S.S=g.S.slice(),S}function C(g,S){var E=[],M=_typeof$2(g),L;if(S&&M=="object")for(L in g)try{E.push(C(g[L],S-1))}catch{}return E.length?E:M=="string"?g:g+"\0"}function R(g,S){for(var E=g+"",M,L=0;L<E.length;)S[f&L]=f&(M^=S[f&L]*19)+E.charCodeAt(L++);return x(S)}function m(){try{var g=new Uint8Array(n);return(i.crypto||i.msCrypto).getRandomValues(g),x(g)}catch{var S=i.navigator,E=S&&S.plugins;return[+new Date,i,E,i.screen,x(e)]}}function x(g){return String.fromCharCode.apply(0,g)}R(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,n=e.length,s=[];for(i=0;i<n;i+=1)s[i]=-e[i];return s}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),n=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(n,t)||i==="string"||n==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,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 s=0,a=e.length,o=t.length,l=[];s<a||s<o;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?l[s]=e[s]+t[s]:l[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return l}return 0}var add=sum;function sub(e,t){var i=_typeof$1(e),n=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(n,t))return i==="string"&&(e=parseInt(e,10)),n==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,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 s=0,a=e.length,o=t.length,l=[];s<a||s<o;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?l[s]=e[s]-t[s]:l[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return l}return 0}function mul(e,t){var i=_typeof$1(e),n=_typeof$1(t),s;if(isNumerable(i,e)&&isNumerable(n,t))return e*t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(n,t)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e[a]*t;return s}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e*t[a];return s}return 0}function div(e,t){var i=_typeof$1(e),n=_typeof$1(t),s;if(isNumerable(i,e)&&isNumerable(n,t))return e/t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(n,t)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e[a]/t;return s}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e/t[a];return s}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 n=i;i=t,t=n}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,n=Math.min(e.length,t.length),s=0;for(i=0;i<n;i+=1)s+=Math.pow(t[i]-e[i],2);return Math.sqrt(s)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],i=e[1],n=e[2],s=Math.max(t,i,n),a=Math.min(t,i,n),o,l,c=(s+a)/2;if(s===a)o=0,l=0;else{var u=s-a;switch(l=c>.5?u/(2-s-a):u/(s+a),s){case t:o=(i-n)/u+(i<n?6:0);break;case i:o=(n-t)/u+2;break;case n:o=(t-i)/u+4;break}o/=6}return[o,l,c,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],n=e[2],s,a,o;if(i===0)s=n,o=n,a=n;else{var l=n<.5?n*(1+i):n+i-n*i,c=2*n-l;s=hue2rgb(c,l,t+1/3),a=hue2rgb(c,l,t),o=hue2rgb(c,l,t-1/3)}return[s,a,o,e[3]]}function linear(e,t,i,n,s){if((n===void 0||s===void 0)&&(n=t,s=i,t=0,i=1),i<t){var a=i;i=t,t=a}if(e<=t)return n;if(e>=i)return s;var o=i===t?0:(e-t)/(i-t);if(!n.length)return n+(s-n)*o;var l,c=n.length,u=createTypedArray("float32",c);for(l=0;l<c;l+=1)u[l]=n[l]+(s[l]-n[l])*o;return u}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var i,n=t.length;e||(e=createTypedArray("float32",n));var s=createTypedArray("float32",n),a=BMMath.random();for(i=0;i<n;i+=1)s[i]=e[i]+a*(t[i]-e[i]);return s}e===void 0&&(e=0);var o=BMMath.random();return e+o*(t-e)}function createPath(e,t,i,n){var s,a=e.length,o=shapePool.newElement();o.setPathData(!!n,a);var l=[0,0],c,u;for(s=0;s<a;s+=1)c=t&&t[s]?t[s]:l,u=i&&i[s]?i[s]:l,o.setTripleAt(e[s][0],e[s][1],u[0]+e[s][0],u[1]+e[s][1],c[0]+e[s][0],c[1]+e[s][1],s,!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 n,s,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);t=5;var l=Math.floor(time*t);for(n=0,s=0;n<l;){for(s=0;s<a;s+=1)o[s]+=-i+i*2*BMMath.random();n+=1}var c=time*t,u=c-Math.floor(c),f=createTypedArray("float32",a);if(a>1){for(s=0;s<a;s+=1)f[s]=this.pv[s]+o[s]+(-i+i*2*BMMath.random())*u;return f}return this.pv+o[0]+(-i+i*2*BMMath.random())*u}).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]],n=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,s=-Math.atan2(i[1],i[2])/degToRads;return[s,n,0]}function easeOut(e,t,i,n,s){return applyEase(easeOutBez,e,t,i,n,s)}function easeIn(e,t,i,n,s){return applyEase(easeInBez,e,t,i,n,s)}function ease(e,t,i,n,s){return applyEase(easeInOutBez,e,t,i,n,s)}function applyEase(e,t,i,n,s,a){s===void 0?(s=i,a=n):t=(t-i)/(n-i),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(s)){var l,c=s.length,u=createTypedArray("float32",c);for(l=0;l<c;l+=1)u[l]=(a[l]-s[l])*o+s[l];return u}return(a-s)*o+s}function nearestKey(e){var t,i=data.k.length,n,s;if(!data.k.length||typeof data.k[0]=="number")n=0,s=0;else if(n=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)n=1,s=data.k[0].t;else{for(t=0;t<i-1;t+=1)if(e===data.k[t].t){n=t+1,s=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?(n=t+2,s=data.k[t+1].t):(n=t+1,s=data.k[t].t);break}n===-1&&(n=t+1,s=data.k[t].t)}var a={};return a.index=n,a.time=s/elem.comp.globalData.frameRate,a}function key(e){var t,i,n;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 s=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=s.length,i=0;i<n;i+=1)t[i]=s[i],t.value[i]=s[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 n=0,s=[];function a(){n+=1}function o(){n-=1,n===0&&c()}function l(u){s.indexOf(u)===-1&&s.push(u)}function c(){var u,f=s.length;for(u=0;u<f;u+=1)s[u].release();s.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=l}return e}(),MaskManagerInterface=function(){function e(i,n){this._mask=i,this._data=n}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(n){var s=createSizedArray(n.viewData.length),a,o=n.viewData.length;for(a=0;a<o;a+=1)s[a]=new e(n.viewData[a],n.masksProperties[a]);var l=function(u){for(a=0;a<o;){if(n.masksProperties[a].nm===u)return s[a];a+=1}return null};return l};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,l,c){Object.defineProperty(o,"velocity",{get:function(){return l.getVelocityAtTime(l.comp.currentFrame)}}),o.numKeys=l.keyframes?l.keyframes.length:0,o.key=function(u){if(!o.numKeys)return 0;var f="";"s"in l.keyframes[u-1]?f=l.keyframes[u-1].s:"e"in l.keyframes[u-2]?f=l.keyframes[u-2].e:f=l.keyframes[u-2].s;var d=c==="unidimensional"?new Number(f):Object.assign({},f);return d.time=l.keyframes[u-1].t/l.elem.comp.globalData.frameRate,d.value=c==="unidimensional"?f[0]:f,d},o.valueAtTime=l.getValueAtTime,o.speedAtTime=l.getSpeedAtTime,o.velocityAtTime=l.getVelocityAtTime,o.propertyGroup=l.propertyGroup}function n(o){(!o||!("pv"in o))&&(o=e);var l=1/o.mult,c=o.pv*l,u=new Number(c);return u.value=c,i(u,o,"unidimensional"),function(){return o.k&&o.getValue(),c=o.v*l,u.value!==c&&(u=new Number(c),u.value=c,i(u,o,"unidimensional")),u}}function s(o){(!o||!("pv"in o))&&(o=t);var l=1/o.mult,c=o.data&&o.data.l||o.pv.length,u=createTypedArray("float32",c),f=createTypedArray("float32",c);return u.value=f,i(u,o,"multidimensional"),function(){o.k&&o.getValue();for(var d=0;d<c;d+=1)f[d]=o.v[d]*l,u[d]=f[d];return u}}function a(){return e}return function(o){return o?o.propType==="unidimensional"?n(o):s(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,n,s,a;return e.p?a=ExpressionPropertyInterface(e.p):(i=ExpressionPropertyInterface(e.px),n=ExpressionPropertyInterface(e.py),e.pz&&(s=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[i(),n(),s?s():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(u){var f=new Matrix;if(u!==void 0){var d=this._elem.finalTransform.mProp.getValueAtTime(u);d.clone(f)}else{var p=this._elem.finalTransform.mProp;p.applyToMatrix(f)}return f}function t(u,f){var d=this.getMatrix(f);return d.props[12]=0,d.props[13]=0,d.props[14]=0,this.applyPoint(d,u)}function i(u,f){var d=this.getMatrix(f);return this.applyPoint(d,u)}function n(u,f){var d=this.getMatrix(f);return d.props[12]=0,d.props[13]=0,d.props[14]=0,this.invertPoint(d,u)}function s(u,f){var d=this.getMatrix(f);return this.invertPoint(d,u)}function a(u,f){if(this._elem.hierarchy&&this._elem.hierarchy.length){var d,p=this._elem.hierarchy.length;for(d=0;d<p;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(u)}return u.applyToPointArray(f[0],f[1],f[2]||0)}function o(u,f){if(this._elem.hierarchy&&this._elem.hierarchy.length){var d,p=this._elem.hierarchy.length;for(d=0;d<p;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(u)}return u.inversePoint(f)}function l(u){var f=new Matrix;if(f.reset(),this._elem.finalTransform.mProp.applyToMatrix(f),this._elem.hierarchy&&this._elem.hierarchy.length){var d,p=this._elem.hierarchy.length;for(d=0;d<p;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(f);return f.inversePoint(u)}return f.inversePoint(u)}function c(){return[1,1,1,1]}return function(u){var f;function d(C){b.mask=new MaskManagerInterface(C,u)}function p(C){b.effect=C}function b(C){switch(C){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 f;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=s,b.fromWorldVec=n,b.toComp=i,b.fromComp=l,b.sampleImage=c,b.sourceRectAtTime=u.sourceRectAtTime.bind(u),b._elem=u,f=TransformExpressionInterface(u.finalTransform.mProp);var y=getDescriptor(f,"anchorPoint");return Object.defineProperties(b,{hasParent:{get:function(){return u.hierarchy.length}},parent:{get:function(){return u.hierarchy[0].layerInterface}},rotation:getDescriptor(f,"rotation"),scale:getDescriptor(f,"scale"),position:getDescriptor(f,"position"),opacity:getDescriptor(f,"opacity"),anchorPoint:y,anchor_point:y,transform:{get:function(){return f}},active:{get:function(){return u.isInRange}}}),b.startTime=u.data.st,b.index=u.data.ind,b.source=u.data.refId,b.height=u.data.ty===0?u.data.h:100,b.width=u.data.ty===0?u.data.w:100,b.inPoint=u.data.ip/u.comp.globalData.frameRate,b.outPoint=u.data.op/u.comp.globalData.frameRate,b._name=u.data.nm,b.registerMaskInterface=d,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 n(s){return s=s===void 0?1:s,s<=0?i:t(s-1)}return n}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(s,a){if(s.effectsManager){var o=[],l=s.data.ef,c,u=s.effectsManager.effectElements.length;for(c=0;c<u;c+=1)o.push(i(l[c],s.effectsManager.effectElements[c],a,s));var f=s.data.ef||[],d=function(b){for(c=0,u=f.length;c<u;){if(b===f[c].nm||b===f[c].mn||b===f[c].ix)return o[c];c+=1}return null};return Object.defineProperty(d,"numProperties",{get:function(){return f.length}}),d}return null}function i(s,a,o,l){function c(b){for(var y=s.ef,C=0,R=y.length;C<R;){if(b===y[C].nm||b===y[C].mn||b===y[C].ix)return y[C].ty===5?f[C]:f[C]();C+=1}throw new Error}var u=propertyGroupFactory(c,o),f=[],d,p=s.ef.length;for(d=0;d<p;d+=1)s.ef[d].ty===5?f.push(i(s.ef[d],a.effectElements[d],a.effectElements[d].propertyGroup,l)):f.push(n(a.effectElements[d],s.ef[d].ty,l,u));return s.mn==="ADBE Color Control"&&Object.defineProperty(c,"color",{get:function(){return f[0]()}}),Object.defineProperties(c,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:u}}),c.enabled=s.en!==0,c.active=c.enabled,c}function n(s,a,o,l){var c=ExpressionPropertyInterface(s.p);function u(){return a===10?o.comp.compInterface(s.p.v):c()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",l)),u}return e}(),ShapePathInterface=function(){return function(t,i,n){var s=i.sh;function a(l){return l==="Shape"||l==="shape"||l==="Path"||l==="path"||l==="ADBE Vector Shape"||l===2?a.path:null}var o=propertyGroupFactory(a,n);return s.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(a,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:n}}),a}}(),ShapeExpressionInterface=function(){function e(y,C,R){var m=[],x,g=y?y.length:0;for(x=0;x<g;x+=1)y[x].ty==="gr"?m.push(i(y[x],C[x],R)):y[x].ty==="fl"?m.push(n(y[x],C[x],R)):y[x].ty==="st"?m.push(o(y[x],C[x],R)):y[x].ty==="tm"?m.push(l(y[x],C[x],R)):y[x].ty==="tr"||(y[x].ty==="el"?m.push(u(y[x],C[x],R)):y[x].ty==="sr"?m.push(f(y[x],C[x],R)):y[x].ty==="sh"?m.push(ShapePathInterface(y[x],C[x],R)):y[x].ty==="rc"?m.push(d(y[x],C[x],R)):y[x].ty==="rd"?m.push(p(y[x],C[x],R)):y[x].ty==="rp"?m.push(b(y[x],C[x],R)):y[x].ty==="gf"?m.push(s(y[x],C[x],R)):m.push(a(y[x],C[x])));return m}function t(y,C,R){var m,x=function(E){for(var M=0,L=m.length;M<L;){if(m[M]._name===E||m[M].mn===E||m[M].propertyIndex===E||m[M].ix===E||m[M].ind===E)return m[M];M+=1}return typeof E=="number"?m[E-1]:null};x.propertyGroup=propertyGroupFactory(x,R),m=e(y.it,C.it,x.propertyGroup),x.numProperties=m.length;var g=c(y.it[y.it.length-1],C.it[C.it.length-1],x.propertyGroup);return x.transform=g,x.propertyIndex=y.cix,x._name=y.nm,x}function i(y,C,R){var m=function(E){switch(E){case"ADBE Vectors Group":case"Contents":case 2:return m.content;default:return m.transform}};m.propertyGroup=propertyGroupFactory(m,R);var x=t(y,C,m.propertyGroup),g=c(y.it[y.it.length-1],C.it[C.it.length-1],m.propertyGroup);return m.content=x,m.transform=g,Object.defineProperty(m,"_name",{get:function(){return y.nm}}),m.numProperties=y.np,m.propertyIndex=y.ix,m.nm=y.nm,m.mn=y.mn,m}function n(y,C,R){function m(x){return x==="Color"||x==="color"?m.color:x==="Opacity"||x==="opacity"?m.opacity:null}return Object.defineProperties(m,{color:{get:ExpressionPropertyInterface(C.c)},opacity:{get:ExpressionPropertyInterface(C.o)},_name:{value:y.nm},mn:{value:y.mn}}),C.c.setGroupProperty(PropertyInterface("Color",R)),C.o.setGroupProperty(PropertyInterface("Opacity",R)),m}function s(y,C,R){function m(x){return x==="Start Point"||x==="start point"?m.startPoint:x==="End Point"||x==="end point"?m.endPoint:x==="Opacity"||x==="opacity"?m.opacity:null}return Object.defineProperties(m,{startPoint:{get:ExpressionPropertyInterface(C.s)},endPoint:{get:ExpressionPropertyInterface(C.e)},opacity:{get:ExpressionPropertyInterface(C.o)},type:{get:function(){return"a"}},_name:{value:y.nm},mn:{value:y.mn}}),C.s.setGroupProperty(PropertyInterface("Start Point",R)),C.e.setGroupProperty(PropertyInterface("End Point",R)),C.o.setGroupProperty(PropertyInterface("Opacity",R)),m}function a(){function y(){return null}return y}function o(y,C,R){var m=propertyGroupFactory(L,R),x=propertyGroupFactory(M,m);function g(_){Object.defineProperty(M,y.d[_].nm,{get:ExpressionPropertyInterface(C.d.dataProps[_].p)})}var S,E=y.d?y.d.length:0,M={};for(S=0;S<E;S+=1)g(S),C.d.dataProps[S].p.setGroupProperty(x);function L(_){return _==="Color"||_==="color"?L.color:_==="Opacity"||_==="opacity"?L.opacity:_==="Stroke Width"||_==="stroke width"?L.strokeWidth:null}return Object.defineProperties(L,{color:{get:ExpressionPropertyInterface(C.c)},opacity:{get:ExpressionPropertyInterface(C.o)},strokeWidth:{get:ExpressionPropertyInterface(C.w)},dash:{get:function(){return M}},_name:{value:y.nm},mn:{value:y.mn}}),C.c.setGroupProperty(PropertyInterface("Color",m)),C.o.setGroupProperty(PropertyInterface("Opacity",m)),C.w.setGroupProperty(PropertyInterface("Stroke Width",m)),L}function l(y,C,R){function m(g){return g===y.e.ix||g==="End"||g==="end"?m.end:g===y.s.ix?m.start:g===y.o.ix?m.offset:null}var x=propertyGroupFactory(m,R);return m.propertyIndex=y.ix,C.s.setGroupProperty(PropertyInterface("Start",x)),C.e.setGroupProperty(PropertyInterface("End",x)),C.o.setGroupProperty(PropertyInterface("Offset",x)),m.propertyIndex=y.ix,m.propertyGroup=R,Object.defineProperties(m,{start:{get:ExpressionPropertyInterface(C.s)},end:{get:ExpressionPropertyInterface(C.e)},offset:{get:ExpressionPropertyInterface(C.o)},_name:{value:y.nm}}),m.mn=y.mn,m}function c(y,C,R){function m(g){return y.a.ix===g||g==="Anchor Point"?m.anchorPoint:y.o.ix===g||g==="Opacity"?m.opacity:y.p.ix===g||g==="Position"?m.position:y.r.ix===g||g==="Rotation"||g==="ADBE Vector Rotation"?m.rotation:y.s.ix===g||g==="Scale"?m.scale:y.sk&&y.sk.ix===g||g==="Skew"?m.skew:y.sa&&y.sa.ix===g||g==="Skew Axis"?m.skewAxis:null}var x=propertyGroupFactory(m,R);return C.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",x)),C.transform.mProps.p.setGroupProperty(PropertyInterface("Position",x)),C.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",x)),C.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",x)),C.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",x)),C.transform.mProps.sk&&(C.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",x)),C.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",x))),C.transform.op.setGroupProperty(PropertyInterface("Opacity",x)),Object.defineProperties(m,{opacity:{get:ExpressionPropertyInterface(C.transform.mProps.o)},position:{get:ExpressionPropertyInterface(C.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(C.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(C.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(C.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(C.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(C.transform.mProps.sa)},_name:{value:y.nm}}),m.ty="tr",m.mn=y.mn,m.propertyGroup=R,m}function u(y,C,R){function m(S){return y.p.ix===S?m.position:y.s.ix===S?m.size:null}var x=propertyGroupFactory(m,R);m.propertyIndex=y.ix;var g=C.sh.ty==="tm"?C.sh.prop:C.sh;return g.s.setGroupProperty(PropertyInterface("Size",x)),g.p.setGroupProperty(PropertyInterface("Position",x)),Object.defineProperties(m,{size:{get:ExpressionPropertyInterface(g.s)},position:{get:ExpressionPropertyInterface(g.p)},_name:{value:y.nm}}),m.mn=y.mn,m}function f(y,C,R){function m(S){return y.p.ix===S?m.position:y.r.ix===S?m.rotation:y.pt.ix===S?m.points:y.or.ix===S||S==="ADBE Vector Star Outer Radius"?m.outerRadius:y.os.ix===S?m.outerRoundness:y.ir&&(y.ir.ix===S||S==="ADBE Vector Star Inner Radius")?m.innerRadius:y.is&&y.is.ix===S?m.innerRoundness:null}var x=propertyGroupFactory(m,R),g=C.sh.ty==="tm"?C.sh.prop:C.sh;return m.propertyIndex=y.ix,g.or.setGroupProperty(PropertyInterface("Outer Radius",x)),g.os.setGroupProperty(PropertyInterface("Outer Roundness",x)),g.pt.setGroupProperty(PropertyInterface("Points",x)),g.p.setGroupProperty(PropertyInterface("Position",x)),g.r.setGroupProperty(PropertyInterface("Rotation",x)),y.ir&&(g.ir.setGroupProperty(PropertyInterface("Inner Radius",x)),g.is.setGroupProperty(PropertyInterface("Inner Roundness",x))),Object.defineProperties(m,{position:{get:ExpressionPropertyInterface(g.p)},rotation:{get:ExpressionPropertyInterface(g.r)},points:{get:ExpressionPropertyInterface(g.pt)},outerRadius:{get:ExpressionPropertyInterface(g.or)},outerRoundness:{get:ExpressionPropertyInterface(g.os)},innerRadius:{get:ExpressionPropertyInterface(g.ir)},innerRoundness:{get:ExpressionPropertyInterface(g.is)},_name:{value:y.nm}}),m.mn=y.mn,m}function d(y,C,R){function m(S){return y.p.ix===S?m.position:y.r.ix===S?m.roundness:y.s.ix===S||S==="Size"||S==="ADBE Vector Rect Size"?m.size:null}var x=propertyGroupFactory(m,R),g=C.sh.ty==="tm"?C.sh.prop:C.sh;return m.propertyIndex=y.ix,g.p.setGroupProperty(PropertyInterface("Position",x)),g.s.setGroupProperty(PropertyInterface("Size",x)),g.r.setGroupProperty(PropertyInterface("Rotation",x)),Object.defineProperties(m,{position:{get:ExpressionPropertyInterface(g.p)},roundness:{get:ExpressionPropertyInterface(g.r)},size:{get:ExpressionPropertyInterface(g.s)},_name:{value:y.nm}}),m.mn=y.mn,m}function p(y,C,R){function m(S){return y.r.ix===S||S==="Round Corners 1"?m.radius:null}var x=propertyGroupFactory(m,R),g=C;return m.propertyIndex=y.ix,g.rd.setGroupProperty(PropertyInterface("Radius",x)),Object.defineProperties(m,{radius:{get:ExpressionPropertyInterface(g.rd)},_name:{value:y.nm}}),m.mn=y.mn,m}function b(y,C,R){function m(S){return y.c.ix===S||S==="Copies"?m.copies:y.o.ix===S||S==="Offset"?m.offset:null}var x=propertyGroupFactory(m,R),g=C;return m.propertyIndex=y.ix,g.c.setGroupProperty(PropertyInterface("Copies",x)),g.o.setGroupProperty(PropertyInterface("Offset",x)),Object.defineProperties(m,{copies:{get:ExpressionPropertyInterface(g.c)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:y.nm}}),m.mn=y.mn,m}return function(y,C,R){var m;function x(S){if(typeof S=="number")return S=S===void 0?1:S,S===0?R:m[S-1];for(var E=0,M=m.length;E<M;){if(m[E]._name===S)return m[E];E+=1}return null}function g(){return R}return x.propertyGroup=propertyGroupFactory(x,g),m=e(y,C,x.propertyGroup),x.numProperties=m.length,x._name="Contents",x}}(),TextExpressionInterface=function(){return function(e){var t;function i(n){switch(n){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){e.textProperty.getValue();var s=e.textProperty.currentData.t;return(!t||s!==t.value)&&(t=new String(s),t.value=s||new String(s),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(n){var s="",a=n.getFootageData();function o(){return s="",a=n.getFootageData(),l}function l(c){if(a[c])return s=c,a=a[c],_typeof(a)==="object"?l:a;var u=c.indexOf(s);if(u!==-1){var f=parseInt(c.substr(u+s.length),10);return a=a[f],_typeof(a)==="object"?l:a}return""}return o},t=function(n){function s(a){return a==="Outline"?s.outlineInterface():null}return s._name="Outline",s.outlineInterface=e(n),s};return function(i){function n(s){return s==="Data"?n.dataInterface:null}return n._name="Data",n.dataInterface=t(i),n}}(),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,l,c){l.x&&(c.k=!0,c.x=!0,c.initiateExpression=ExpressionManager.initiateExpression,c.effectsSequence.push(c.initiateExpression(o,l,c).bind(c)))}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 l=-.01,c=this.getValueAtTime(o),u=this.getValueAtTime(o+l),f=0;if(c.length){var d;for(d=0;d<c.length;d+=1)f+=Math.pow(u[d]-c[d],2);f=Math.sqrt(f)*100}else f=0;return f}function n(o){if(this.vel!==void 0)return this.vel;var l=-.001,c=this.getValueAtTime(o),u=this.getValueAtTime(o+l),f;if(c.length){f=createTypedArray("float32",c.length);var d;for(d=0;d<c.length;d+=1)f[d]=(u[d]-c[d])/l}else f=(u-c)/l;return f}function s(){return this.pv}function a(o){this.propertyGroup=o}return{searchExpressions:e,getSpeedAtTime:i,getVelocityAtTime:n,getValueAtTime:t,getStaticValueAtTime:s,setGroupProperty:a}}();function addPropertyDecorator(){function e(p,b,y){if(!this.k||!this.keyframes)return this.pv;p=p?p.toLowerCase():"";var C=this.comp.renderedFrame,R=this.keyframes,m=R[R.length-1].t;if(C<=m)return this.pv;var x,g;y?(b?x=Math.abs(m-this.elem.comp.globalData.frameRate*b):x=Math.max(0,m-this.elem.data.ip),g=m-x):((!b||b>R.length-1)&&(b=R.length-1),g=R[R.length-1-b].t,x=m-g);var S,E,M;if(p==="pingpong"){var L=Math.floor((C-g)/x);if(L%2!==0)return this.getValueAtTime((x-(C-g)%x+g)/this.comp.globalData.frameRate,0)}else if(p==="offset"){var _=this.getValueAtTime(g/this.comp.globalData.frameRate,0),I=this.getValueAtTime(m/this.comp.globalData.frameRate,0),$=this.getValueAtTime(((C-g)%x+g)/this.comp.globalData.frameRate,0),z=Math.floor((C-g)/x);if(this.pv.length){for(M=new Array(_.length),E=M.length,S=0;S<E;S+=1)M[S]=(I[S]-_[S])*z+$[S];return M}return(I-_)*z+$}else if(p==="continue"){var O=this.getValueAtTime(m/this.comp.globalData.frameRate,0),N=this.getValueAtTime((m-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(O.length),E=M.length,S=0;S<E;S+=1)M[S]=O[S]+(O[S]-N[S])*((C-m)/this.comp.globalData.frameRate)/5e-4;return M}return O+(O-N)*((C-m)/.001)}return this.getValueAtTime(((C-g)%x+g)/this.comp.globalData.frameRate,0)}function t(p,b,y){if(!this.k)return this.pv;p=p?p.toLowerCase():"";var C=this.comp.renderedFrame,R=this.keyframes,m=R[0].t;if(C>=m)return this.pv;var x,g;y?(b?x=Math.abs(this.elem.comp.globalData.frameRate*b):x=Math.max(0,this.elem.data.op-m),g=m+x):((!b||b>R.length-1)&&(b=R.length-1),g=R[b].t,x=g-m);var S,E,M;if(p==="pingpong"){var L=Math.floor((m-C)/x);if(L%2===0)return this.getValueAtTime(((m-C)%x+m)/this.comp.globalData.frameRate,0)}else if(p==="offset"){var _=this.getValueAtTime(m/this.comp.globalData.frameRate,0),I=this.getValueAtTime(g/this.comp.globalData.frameRate,0),$=this.getValueAtTime((x-(m-C)%x+m)/this.comp.globalData.frameRate,0),z=Math.floor((m-C)/x)+1;if(this.pv.length){for(M=new Array(_.length),E=M.length,S=0;S<E;S+=1)M[S]=$[S]-(I[S]-_[S])*z;return M}return $-(I-_)*z}else if(p==="continue"){var O=this.getValueAtTime(m/this.comp.globalData.frameRate,0),N=this.getValueAtTime((m+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(O.length),E=M.length,S=0;S<E;S+=1)M[S]=O[S]+(O[S]-N[S])*(m-C)/.001;return M}return O+(O-N)*(m-C)/.001}return this.getValueAtTime((x-((m-C)%x+m))/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 y=this.comp.renderedFrame/this.comp.globalData.frameRate,C=y-p,R=y+p,m=b>1?(R-C)/(b-1):1,x=0,g=0,S;this.pv.length?S=createTypedArray("float32",this.pv.length):S=0;for(var E;x<b;){if(E=this.getValueAtTime(C+x*m),this.pv.length)for(g=0;g<this.pv.length;g+=1)S[g]+=E[g];else S+=E;x+=1}if(this.pv.length)for(g=0;g<this.pv.length;g+=1)S[g]/=b;else S/=b;return S}function n(p){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var b=this._transformCachingAtTime.v;if(b.cloneFromProps(this.pre.props),this.appliedTransformations<1){var y=this.a.getValueAtTime(p);b.translate(-y[0]*this.a.mult,-y[1]*this.a.mult,y[2]*this.a.mult)}if(this.appliedTransformations<2){var C=this.s.getValueAtTime(p);b.scale(C[0]*this.s.mult,C[1]*this.s.mult,C[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var R=this.sk.getValueAtTime(p),m=this.sa.getValueAtTime(p);b.skewFromAxis(-R*this.sk.mult,m*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var x=this.r.getValueAtTime(p);b.rotate(-x*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var g=this.rz.getValueAtTime(p),S=this.ry.getValueAtTime(p),E=this.rx.getValueAtTime(p),M=this.or.getValueAtTime(p);b.rotateZ(-g*this.rz.mult).rotateY(S*this.ry.mult).rotateX(E*this.rx.mult).rotateZ(-M[2]*this.or.mult).rotateY(M[1]*this.or.mult).rotateX(M[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var L=this.px.getValueAtTime(p),_=this.py.getValueAtTime(p);if(this.data.p.z){var I=this.pz.getValueAtTime(p);b.translate(L*this.px.mult,_*this.py.mult,-I*this.pz.mult)}else b.translate(L*this.px.mult,_*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 s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(p,b,y){var C=a(p,b,y);return C.dynamicProperties.length?C.getValueAtTime=n.bind(C):C.getValueAtTime=s.bind(C),C.setGroupProperty=expressionHelpers.setGroupProperty,C};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(p,b,y,C,R){var m=o(p,b,y,C,R);m.kf?m.getValueAtTime=expressionHelpers.getValueAtTime.bind(m):m.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(m),m.setGroupProperty=expressionHelpers.setGroupProperty,m.loopOut=e,m.loopIn=t,m.smooth=i,m.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(m),m.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(m),m.numKeys=b.a===1?b.k.length:0,m.propertyIndex=b.ix;var x=0;return y!==0&&(x=createTypedArray("float32",b.a===1?b.k[0].s.length:b.k.length)),m._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:x},expressionHelpers.searchExpressions(p,b,m),m.k&&R.addDynamicProperty(m),m};function l(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 c=ShapePropertyFactory.getConstructorFunction(),u=ShapePropertyFactory.getKeyframedConstructorFunction();function f(){}f.prototype={vertices:function(b,y){this.k&&this.getValue();var C=this.v;y!==void 0&&(C=this.getValueAtTime(y,0));var R,m=C._length,x=C[b],g=C.v,S=createSizedArray(m);for(R=0;R<m;R+=1)b==="i"||b==="o"?S[R]=[x[R][0]-g[R][0],x[R][1]-g[R][1]]:S[R]=[x[R][0],x[R][1]];return S},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,y){var C=this.v;y!==void 0&&(C=this.getValueAtTime(y,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(C));for(var R=this._segmentsLength,m=R.lengths,x=R.totalLength*b,g=0,S=m.length,E=0,M;g<S;){if(E+m[g].addedLength>x){var L=g,_=C.c&&g===S-1?0:g+1,I=(x-E)/m[g].addedLength;M=bez.getPointInSegment(C.v[L],C.v[_],C.o[L],C.i[_],I,m[g]);break}else E+=m[g].addedLength;g+=1}return M||(M=C.c?[C.v[0][0],C.v[0][1]]:[C.v[C._length-1][0],C.v[C._length-1][1]]),M},vectorOnPath:function(b,y,C){b==1?b=this.v.c:b==0&&(b=.999);var R=this.pointOnPath(b,y),m=this.pointOnPath(b+.001,y),x=m[0]-R[0],g=m[1]-R[1],S=Math.sqrt(Math.pow(x,2)+Math.pow(g,2));if(S===0)return[0,0];var E=C==="tangent"?[x/S,g/S]:[-g/S,x/S];return E},tangentOnPath:function(b,y){return this.vectorOnPath(b,y,"tangent")},normalOnPath:function(b,y){return this.vectorOnPath(b,y,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([f],c),extendPrototype([f],u),u.prototype.getValueAtTime=l,u.prototype.initiateExpression=ExpressionManager.initiateExpression;var d=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(p,b,y,C,R){var m=d(p,b,y,C,R);return m.propertyIndex=b.ix,m.lock=!1,y===3?expressionHelpers.searchExpressions(p,b.pt,m):y===4&&expressionHelpers.searchExpressions(p,b.ks,m),m.k&&p.addDynamicProperty(m),m}}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 n=this.calculateExpression(i);if(t.t!==n){var s={};return this.copyData(s,t),s.t=n.toString(),s.__complete=!1,s}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 n=createNS("feMerge");n.setAttribute("result",t);var s,a;for(a=0;a<i.length;a+=1)s=createNS("feMergeNode"),s.setAttribute("in",i[a]),n.appendChild(s),n.appendChild(s);return n}};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,n,s){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",n+"_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",n+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(n,[s,n+"_tint_1",n+"_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,n=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+n+" 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,n){this.filterManager=t;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",n),e.appendChild(s),this.matrixFilter=s}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,n,s;for(this.filterManager.effectElements[1].p.v===1?(s=this.elem.maskManager.masksProperties.length,n=0):(n=this.filterManager.effectElements[0].p.v-1,s=n+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),n;n<s;n+=1)t=createNS("path"),i.appendChild(t),this.paths.push({p:t,m:n});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 l=createNS("g");for(l.setAttribute("mask","url("+getLocationHref()+"#"+o+")");e[0];)l.appendChild(e[0]);this.elem.layerElement.appendChild(l),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,n,s;for(t=0;t<i;t+=1)if(this.paths[t].m!==-1&&(n=this.elem.maskManager.viewData[this.paths[t].m],s=this.paths[t].p,(e||this.filterManager._mdf||n.prop._mdf)&&s.setAttribute("d",n.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||n.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,l=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,c=s.getTotalLength();a="0 0 0 "+c*o+" ";var u=c*(l-o),f=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(u/f),p;for(p=0;p<d;p+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+c*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;s.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,n){this.filterManager=t;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.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(s);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var l=createNS("feFuncG");l.setAttribute("type","table"),a.appendChild(l),this.feFuncG=l;var c=createNS("feFuncB");c.setAttribute("type","table"),a.appendChild(c),this.feFuncB=c,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,n=this.filterManager.effectElements[2].p.v,s=n[0]+" "+i[0]+" "+t[0],a=n[1]+" "+i[1]+" "+t[1],o=n[2]+" "+i[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}};function SVGProLevelsFilter(e,t,i,n){this.filterManager=t;var s=this.filterManager.effectElements,a=createNS("feComponentTransfer");(s[10].p.k||s[10].p.v!==0||s[11].p.k||s[11].p.v!==1||s[12].p.k||s[12].p.v!==1||s[13].p.k||s[13].p.v!==0||s[14].p.k||s[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(s[17].p.k||s[17].p.v!==0||s[18].p.k||s[18].p.v!==1||s[19].p.k||s[19].p.v!==1||s[20].p.k||s[20].p.v!==0||s[21].p.k||s[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(s[24].p.k||s[24].p.v!==0||s[25].p.k||s[25].p.v!==1||s[26].p.k||s[26].p.v!==1||s[27].p.k||s[27].p.v!==0||s[28].p.k||s[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(s[31].p.k||s[31].p.v!==0||s[32].p.k||s[32].p.v!==1||s[33].p.k||s[33].p.v!==1||s[34].p.k||s[34].p.v!==0||s[35].p.k||s[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)),(s[3].p.k||s[3].p.v!==0||s[4].p.k||s[4].p.v!==1||s[5].p.k||s[5].p.v!==1||s[6].p.k||s[6].p.v!==0||s[7].p.k||s[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),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,n,s){for(var a=0,o=256,l,c=Math.min(e,t),u=Math.max(e,t),f=Array.call(null,{length:o}),d,p=0,b=s-n,y=t-e;a<=256;)l=a/256,l<=c?d=y<0?s:n:l>=u?d=y<0?n:s:d=n+b*Math.pow((l-e)/y,1/i),f[p]=d,p+=1,a+=256/(o-1);return f.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,n,s){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 l=createNS("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",n+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,e.appendChild(l);var c=createNS("feOffset");c.setAttribute("dx","25"),c.setAttribute("dy","0"),c.setAttribute("in",n+"_drop_shadow_1"),c.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=c,e.appendChild(c);var u=createNS("feFlood");u.setAttribute("flood-color","#00ff00"),u.setAttribute("flood-opacity","1"),u.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=u,e.appendChild(u);var f=createNS("feComposite");f.setAttribute("in",n+"_drop_shadow_3"),f.setAttribute("in2",n+"_drop_shadow_2"),f.setAttribute("operator","in"),f.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(f);var d=this.createMergeNode(n,[n+"_drop_shadow_4",s]);e.appendChild(d)}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,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=i*Math.cos(n),a=i*Math.sin(n);this.feOffset.setAttribute("dx",s),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 n=i.children,s=0,a=n.length;s<a&&n[s]!==e.layerElement;)s+=1;var o;s<=a-2&&(o=n[s+1]);var l=createNS("use");l.setAttribute("href","#"+t),o?i.insertBefore(l,o):i.appendChild(l)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var i=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var s=e.globalData.defs;s.appendChild(n);var a=createNS("symbol");a.setAttribute("id",i),this.replaceInParent(t,i),a.appendChild(t.layerElement),s.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+i),n.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,n=t.length;i<n;)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,n){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("result",n),e.appendChild(s),this.feGaussianBlur=s}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,i=this.filterManager.effectElements[0].p.v*t,n=this.filterManager.effectElements[1].p.v,s=n==3?0:i,a=n==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",s+" "+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,n=t[1].p.v,s=t[2].p.v===1,a=t[3].p.v,o=s?a:t[4].p.v,l=t[5].p.v,c=t[6].p.v,u=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(-u*degToRads),this.matrix.skewFromAxis(-l*degToRads,(c+90)*degToRads),this.matrix.translate(n[0],n[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 n,s,a,o,l=[],c=!0,u=!1;try{if(a=(i=i.call(e)).next,t!==0)for(;!(c=(n=a.call(i)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(f){u=!0,s=f}finally{try{if(!c&&i.return!=null&&(o=i.return(),Object(o)!==o))return}finally{if(u)throw s}}return l}}function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,n)}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(n){_defineProperty(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}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={},n=Object.keys(e),s,a;for(a=0;a<n.length;a++)s=n[a],!(t.indexOf(s)>=0)&&(i[s]=e[s]);return i}function _objectWithoutProperties(e,t){if(e==null)return{};var i=_objectWithoutPropertiesLoose(e,t),n,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s<a.length;s++)n=a[s],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}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,n=new Array(t);i<t;i++)n[i]=e[i];return n}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
74
+ 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 n=i.call(e,t||"default");if(typeof n!="object")return n;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 n=t.animationData,s=t.loop,a=t.autoplay,o=t.initialSegment,l=t.onComplete,c=t.onLoopComplete,u=t.onEnterFrame,f=t.onSegmentStart,d=t.onConfigReady,p=t.onDataReady,b=t.onDataFailed,y=t.onLoadedImages,C=t.onDOMLoaded,R=t.onDestroy;t.lottieRef,t.renderer,t.name,t.assetsPath,t.rendererSettings;var m=_objectWithoutProperties(t,_excluded$1),x=React.useState(!1),g=_slicedToArray(x,2),S=g[0],E=g[1],M=React.useRef(),L=React.useRef(null),_=function(){var W;(W=M.current)===null||W===void 0||W.play()},I=function(){var W;(W=M.current)===null||W===void 0||W.stop()},$=function(){var W;(W=M.current)===null||W===void 0||W.pause()},z=function(W){var q;(q=M.current)===null||q===void 0||q.setSpeed(W)},O=function(W,q){var X;(X=M.current)===null||X===void 0||X.goToAndPlay(W,q)},N=function(W,q){var X;(X=M.current)===null||X===void 0||X.goToAndStop(W,q)},K=function(W){var q;(q=M.current)===null||q===void 0||q.setDirection(W)},B=function(W,q){var X;(X=M.current)===null||X===void 0||X.playSegments(W,q)},A=function(W){var q;(q=M.current)===null||q===void 0||q.setSubframe(W)},V=function(W){var q;return(q=M.current)===null||q===void 0?void 0:q.getDuration(W)},P=function(){var W;(W=M.current)===null||W===void 0||W.destroy(),M.current=void 0},T=function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},q;if(L.current){(q=M.current)===null||q===void 0||q.destroy();var X=_objectSpread2(_objectSpread2(_objectSpread2({},t),W),{},{container:L.current});return M.current=lottie.loadAnimation(X),E(!!M.current),function(){var ee;(ee=M.current)===null||ee===void 0||ee.destroy(),M.current=void 0}}};React.useEffect(function(){var j=T();return function(){return j==null?void 0:j()}},[n,s]),React.useEffect(function(){M.current&&(M.current.autoplay=!!a)},[a]),React.useEffect(function(){if(M.current){if(!o){M.current.resetSegments(!0);return}!Array.isArray(o)||!o.length||((M.current.currentRawFrame<o[0]||M.current.currentRawFrame>o[1])&&(M.current.currentRawFrame=o[0]),M.current.setSegment(o[0],o[1]))}},[o]),React.useEffect(function(){var j=[{name:"complete",handler:l},{name:"loopComplete",handler:c},{name:"enterFrame",handler:u},{name:"segmentStart",handler:f},{name:"config_ready",handler:d},{name:"data_ready",handler:p},{name:"data_failed",handler:b},{name:"loaded_images",handler:y},{name:"DOMLoaded",handler:C},{name:"destroy",handler:R}],W=j.filter(function(X){return X.handler!=null});if(W.length){var q=W.map(function(X){var ee;return(ee=M.current)===null||ee===void 0||ee.addEventListener(X.name,X.handler),function(){var re;(re=M.current)===null||re===void 0||re.removeEventListener(X.name,X.handler)}});return function(){q.forEach(function(X){return X()})}}},[l,c,u,f,d,p,b,y,C,R]);var k=React.createElement("div",_objectSpread2({style:i,ref:L},m));return{View:k,play:_,stop:I,pause:$,setSpeed:z,goToAndStop:N,goToAndPlay:O,setDirection:K,playSegments:B,setSubframe:A,getDuration:V,destroy:P,animationContainerRef:L,animationLoaded:S,animationItem:M.current}};function getContainerVisibility(e){var t=e.getBoundingClientRect(),i=t.top,n=t.height,s=window.innerHeight-i,a=window.innerHeight+n;return s/a}function getContainerCursorPosition(e,t,i){var n=e.getBoundingClientRect(),s=n.top,a=n.left,o=n.width,l=n.height,c=(t-a)/o,u=(i-s)/l;return{x:c,y:u}}var useInitInteractivity=function e(t){var i=t.wrapperRef,n=t.animationItem,s=t.mode,a=t.actions;React.useEffect(function(){var o=i.current;if(!(!o||!n||!a.length)){n.stop();var l=function(){var f=null,d=function(){var b=getContainerVisibility(o),y=a.find(function(R){var m=R.visibility;return m&&b>=m[0]&&b<=m[1]});if(y){if(y.type==="seek"&&y.visibility&&y.frames.length===2){var C=y.frames[0]+Math.ceil((b-y.visibility[0])/(y.visibility[1]-y.visibility[0])*y.frames[1]);//! goToAndStop must be relative to the start of the current segment
75
+ n.goToAndStop(C-n.firstFrame-1,!0)}y.type==="loop"&&(f===null||f!==y.frames||n.isPaused)&&(n.playSegments(y.frames,!0),f=y.frames),y.type==="play"&&n.isPaused&&(n.resetSegments(!0),n.play()),y.type==="stop"&&n.goToAndStop(y.frames[0]-n.firstFrame-1,!0)}};return document.addEventListener("scroll",d),function(){document.removeEventListener("scroll",d)}},c=function(){var f=function(y,C){var R=y,m=C;if(R!==-1&&m!==-1){var x=getContainerCursorPosition(o,R,m);R=x.x,m=x.y}var g=a.find(function(M){var L=M.position;return L&&Array.isArray(L.x)&&Array.isArray(L.y)?R>=L.x[0]&&R<=L.x[1]&&m>=L.y[0]&&m<=L.y[1]:L&&!Number.isNaN(L.x)&&!Number.isNaN(L.y)?R===L.x&&m===L.y:!1});if(g){if(g.type==="seek"&&g.position&&Array.isArray(g.position.x)&&Array.isArray(g.position.y)&&g.frames.length===2){var S=(R-g.position.x[0])/(g.position.x[1]-g.position.x[0]),E=(m-g.position.y[0])/(g.position.y[1]-g.position.y[0]);n.playSegments(g.frames,!0),n.goToAndStop(Math.ceil((S+E)/2*(g.frames[1]-g.frames[0])),!0)}g.type==="loop"&&n.playSegments(g.frames,!0),g.type==="play"&&(n.isPaused&&n.resetSegments(!1),n.playSegments(g.frames)),g.type==="stop"&&n.goToAndStop(g.frames[0],!0)}},d=function(y){f(y.clientX,y.clientY)},p=function(){f(-1,-1)};return o.addEventListener("mousemove",d),o.addEventListener("mouseout",p),function(){o.removeEventListener("mousemove",d),o.removeEventListener("mouseout",p)}};switch(s){case"scroll":return l();case"cursor":return c()}}},[s,n])},useLottieInteractivity=function e(t){var i=t.actions,n=t.mode,s=t.lottieObj,a=s.animationItem,o=s.View,l=s.animationContainerRef;return useInitInteractivity({actions:i,animationItem:a,mode:n,wrapperRef:l}),o},_excluded=["style","interactivity"],Lottie=function e(t){var i,n,s,a=t.style,o=t.interactivity,l=_objectWithoutProperties(t,_excluded),c=useLottie(l,a),u=c.View,f=c.play,d=c.stop,p=c.pause,b=c.setSpeed,y=c.goToAndStop,C=c.goToAndPlay,R=c.setDirection,m=c.playSegments,x=c.setSubframe,g=c.getDuration,S=c.destroy,E=c.animationContainerRef,M=c.animationLoaded,L=c.animationItem;return React.useEffect(function(){t.lottieRef&&(t.lottieRef.current={play:f,stop:d,pause:p,setSpeed:b,goToAndPlay:C,goToAndStop:y,setDirection:R,playSegments:m,setSubframe:x,getDuration:g,destroy:S,animationContainerRef:E,animationLoaded:M,animationItem:L})},[(i=t.lottieRef)===null||i===void 0?void 0:i.current]),useLottieInteractivity({lottieObj:{View:u,play:f,stop:d,pause:p,setSpeed:b,goToAndStop:y,goToAndPlay:C,setDirection:R,playSegments:m,setSubframe:x,getDuration:g,destroy:S,animationContainerRef:E,animationLoaded:M,animationItem:L},actions:(n=o==null?void 0:o.actions)!==null&&n!==void 0?n:[],mode:(s=o==null?void 0:o.mode)!==null&&s!==void 0?s:"scroll"})};const index_es=Object.freeze(Object.defineProperty({__proto__:null,LottiePlayer:lottie,default:Lottie,useLottie,useLottieInteractivity},Symbol.toStringTag,{value:"Module"}));exports.APIIcon=APIIcon,exports.AddIcon=AddIcon,exports.ArbitrumLogo=ArbitrumLogo,exports.ArrowDownwardIcon=ArrowDownwardIcon,exports.ArrowEastIcon=ArrowEastIcon,exports.ArrowInwardIcon=ArrowInwardIcon,exports.ArrowLeftIcon=ArrowLeftIcon,exports.ArrowNorthEastIcon=ArrowNorthEastIcon,exports.ArrowNorthWestIcon=ArrowNorthWestIcon,exports.ArrowRightIcon=ArrowRightIcon,exports.ArrowSouthEastIcon=ArrowSouthEastIcon,exports.ArrowSouthWestIcon=ArrowSouthWestIcon,exports.ArrowSyncIcon=ArrowSyncIcon,exports.ArrowUpwardIcon=ArrowUpwardIcon,exports.BTCLogo=BTCLogo,exports.BlogCard=BlogCard,exports.BlogIcon=BlogIcon,exports.BottomSheet=BottomSheet,exports.BrandKitIcon=BrandKitIcon,exports.Button=Button,exports.Camelot=Camelot,exports.CancelIcon=CancelIcon,exports.CatalogLogo=CatalogLogo,exports.ChainflipIcon=ChainflipIcon,exports.CheckBox=CheckBox$1,exports.CheckCircleIcon=CheckCircleIcon,exports.CheckIcon=CheckIcon,exports.Checked=Checked,exports.Chip=Chip,exports.ClientOnly=ClientOnly,exports.ClockIcon=ClockIcon,exports.CloseIcon=CloseIcon,exports.CodeBlockIcon=CodeBlockIcon,exports.Coinbase=Coinbase,exports.CompareArrowsIcon=CompareArrowsIcon,exports.ConsoleIcon=ConsoleIcon,exports.Container=Container,exports.CopyIcon=CopyIcon,exports.CopyrightsIcon=CopyrightsIcon,exports.DLCBTC=DLCBTC,exports.Debridge=Debridge,exports.DeleteIcon=DeleteIcon,exports.DiscordIcon=DiscordIcon,exports.Dodo=Dodo,exports.DollarChipIcon=DollarChipIcon,exports.DraftIcon=DraftIcon,exports.EditIcon=EditIcon,exports.EncryptedIcon=EncryptedIcon,exports.EthereumLogo=EthereumLogo,exports.ExchangeIcon=ExchangeIcon,exports.FaqIcon=FaqIcon,exports.FeesIcon=FeesIcon,exports.FingerprintIcon=FingerprintIcon,exports.FolderIcon=FolderIcon,exports.Footer=Footer,exports.GMX=GMX,exports.GMXLogo=GMXLogo,exports.GardenDocs=GardenDocs,exports.GardenExplorer=GardenExplorer,exports.GardenExplorerAlt=GardenExplorerAlt,exports.GardenFullLogo=GardenFullLogo,exports.GardenIcon=GardenIcon,exports.GardenIconOutline=GardenIconOutline,exports.GardenLogo=GardenLogo,exports.GardenLogoText=GardenLogoText,exports.GardenStrokeIcon=GardenStrokeIcon,exports.GasStationIcon=GasStationIcon,exports.GiftBoxIcon=GiftBoxIcon,exports.GradientScroll=GradientScroll,exports.HorizontalSwap=HorizontalSwap,exports.HubIcon=HubIcon,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.NFTIcon=NFTIcon,exports.Opacity=Opacity,exports.OpenInFullIcon=OpenInFullIcon,exports.OpenInNewIcon=OpenInNewIcon,exports.OtterSecIcon=OtterSecIcon,exports.PageInfoIcon=PageInfoIcon,exports.PancakeSwap=PancakeSwap,exports.PasskeyIcon=PasskeyIcon,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.RaiseHandIcon=RaiseHandIcon,exports.ReferralIcon=ReferralIcon,exports.RelayLinkIcon=RelayLinkIcon,exports.RemoveIcon=RemoveIcon,exports.RollingText=RollingText,exports.Rotate360Icon=Rotate360Icon,exports.RoutingIcon=RoutingIcon,exports.RowInfoIcon=RowInfoIcon,exports.SDKIcon=SDKIcon,exports.ScaleY=ScaleY,exports.SearchIcon=SearchIcon,exports.SearchIconThin=SearchIconThin,exports.Share=Share,exports.Shine=Shine,exports.Sidebar=Sidebar,exports.Solv=Solv,exports.StakeIcon=StakeIcon,exports.StarIcon=StarIcon,exports.SwapHorizontalIcon=SwapHorizontalIcon,exports.SwellBTC=SwellBTC,exports.ThorswapIcon=ThorswapIcon,exports.TimerIcon=TimerIcon,exports.TokenInfo=TokenInfo,exports.TokenNetworkLogos=TokenNetworkLogos,exports.TraderJoe=TraderJoe,exports.TrailOfBits=TrailOfBits,exports.TrustWallet=TrustWallet,exports.Typography=Typography,exports.Unchecked=Unchecked,exports.Vertex=Vertex,exports.WalletConnect=WalletConnect,exports.WalletIcon=WalletIcon,exports.WalletIconRose=WalletIconRose,exports.WarningIcon=WarningIcon,exports.XIcon=XIcon,exports.XSolidIcon=XSolidIcon,exports.ZellicIcon=ZellicIcon,Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})});